mirror of https://github.com/aminya/setup-cpp
1 line
1.7 MiB
1 line
1.7 MiB
{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","l","c","process","env","includes","any","some","Object","keys","every","defineProperty","exports","value","map","constant","name","isPR","forEach","Array","isArray","pr","ne","isCI","CI","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","JSON","parse","GITHUB_ACTIONS","error","console","log","warning","notice","info","f","u","h","p","v","replace","toUpperCase","required","Error","trimWhitespace","trim","E","issueCommand","d","toCommandProperties","toString","y","issue","w","ExitCode","Success","Failure","exportVariable","toCommandValue","GITHUB_ENV","m","default","EOL","setSecret","addPath","GITHUB_PATH","PATH","delimiter","getInput","getMultilineInput","split","filter","getBooleanInput","TypeError","setOutput","stdout","write","setCommandEcho","setFailed","exitCode","isDebug","RUNNER_DEBUG","debug","startGroup","endGroup","group","saveState","getState","getIDToken","g","OidcClient","enumerable","get","x","summary","markdownSummary","b","toPosixPath","toWin32Path","toPlatformPath","constructor","command","properties","message","length","hasOwnProperty","String","stringify","title","file","line","startLine","endLine","col","startColumn","endColumn","existsSync","appendFileSync","encoding","random","rng","Uint8Array","D","randomFillSync","slice","push","substr","toLowerCase","test","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","catch","statusCode","result","encodeURIComponent","G","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","URL","href","setPrototypeOf","prototype","HttpClientError","readBody","Promise","Buffer","alloc","on","concat","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","options","request","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","setTimeout","end","path","pipe","getAgent","_getAgent","parsedUrl","host","port","parseInt","pathname","search","method","_mergeHeaders","agent","prepareRequest","assign","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","min","pow","deserializeDates","Date","isNaN","valueOf","reduce","startsWith","no_proxy","NO_PROXY","Number","endsWith","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","proxyOptions","defaultMaxSockets","requests","sockets","splice","onSocket","removeSocket","createSocket","call","getHeader","socket","servername","connect","indexOf","localAddress","arguments","defaultPort","inherits","EventEmitter","addRequest","emit","removeListener","removeAllListeners","code","useChunkedEncodingByDefault","once","upgrade","nextTick","stack","shift","NODE_DEBUG","unshift","apply","BasicCredentialHandler","Authorization","from","token","PersonalAccessTokenCredentialHandler","access","appendFile","writeFile","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","entries","join","overwrite","emptyBuffer","clear","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","create","pluralize","addLocale","require","numerous","locale","span","unitType","unitTypeLookupOrder","autoloadLocales","id","format","autoload","floor","Set","defaultConfig","versions","node","valid","clean","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","sort","rsort","gt","lt","eq","S","neq","I","gte","O","lte","R","cmp","T","coerce","C","Comparator","$","Range","_","satisfies","P","toComparators","A","maxSatisfying","N","minSatisfying","L","minVersion","k","validRange","outside","j","gtr","U","ltr","M","intersects","F","simplifyRange","B","subset","H","SemVer","re","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","safeRe","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","MAX_LENGTH","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","version","match","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTL","exec","index","lastIndex","Symbol","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","set","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","has","delete","values","pop","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","now","unshiftNode","maxAge","tail","prev","key","removeNode","stale","noDisposeOnSet","updateAgeOnGet","reset","allowStale","lengthCalculator","itemCount","rforEach","next","toArray","dump","dumpLru","peek","load","prune","list","Node","pushNode","forEachReverse","getReverse","mapReverse","reduceReverse","toArrayReverse","sliceReverse","reverse","iterator","add","issueFileCommand","prepareKeyValueMessage","GITHUB_OUTPUT","GITHUB_STATE","configurable","basename","extname","normalize","platform","dirname","relative","resolve","isSymbolicLink","isFile","pathExt","PATHEXT","stat","sync","statSync","mode","uid","gid","getuid","getgid","IS_WINDOWS","rm","force","recursive","retryDelay","ok","mkdir","isRooted","tryGetExecutablePath","lstat","unlink","chmod","readlink","symlink","exists","copyFile","cp","copySourceDirectory","isDirectory","readdir","mv","rename","rmRF","mkdirP","which","findInPath","open","rmdir","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","_findMatch","stable","files","find","arch","platform_version","_getOsVersion","execSync","_readLinuxVersionFile","readFileSync","randomBytes","argStringToArray","ToolRunner","getExecOutput","StringDecoder","listeners","stderr","toolPath","args","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","substring","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","cwd","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","spawn","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","input","stdin","charAt","done","timeout","_setResult","HandleTimeout","clearTimeout","then","abs","V","q","W","long","years","one","other","months","weeks","days","hours","minutes","seconds","narrow","short","z","X","K","__esModule","Y","Q","eE","ignoreErrors","J","chdir","disabled","em","eT","Z","errno","syscall","spawnargs","ee","eL","original","et","eR","eN","hookChildProcess","er","maxBuffer","tO","getBufferedLength","tT","bufferedData","getBufferedValue","t$","t_","en","nothrow","ei","eo","es","ea","stdio","shell","eI","commandSync","el","ec","t2","eu","ef","register","eh","OSTYPE","ev","eg","ey","TESTING_WINDOWS","ew","ex","colon","pathEnv","eb","pathExtExe","all","eS","eO","eC","e$","eB","eH","eV","eW","openSync","readSync","closeSync","e_","eP","eA","forceShell","comspec","verifyENOENT","notFoundError","spawnSync","verifyENOENTSync","status","_parse","ez","ek","eD","execPath","ej","eU","Reflect","ownKeys","getOwnPropertyDescriptor","eM","eG","WeakMap","eF","displayName","throw","callCount","eX","eK","signalsByNumber","signalsByName","eY","getSignals","eQ","number","action","description","standard","forced","eJ","e1","e0","eZ","SIGRTMAX","getRealtimeSignals","SIGNALS","e2","signals","supported","e3","e6","signal","escapedCommand","timedOut","isCanceled","killed","parsed","errorCode","signalDescription","Boolean","originalMessage","shortMessage","failed","e8","e9","e5","tt","tr","reallyExit","kill","pid","tn","ti","to","ts","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","ta","$c309fbd013dc8108$var$unload","tu","tc","th","td","te","$c309fbd013dc8108$exports","equal","tp","alwaysLast","unload","tl","$c309fbd013dc8108$var$emit","$c309fbd013dc8108$var$load","tm","tf","$c309fbd013dc8108$var$processEmit","tg","SIGTERM","e7","forceKillAfterTimeout","isFinite","unref","killSignal","finally","race","cleanup","detached","spawnedKill","spawnedCancel","setupTimeout","validateTimeout","setExitHandler","tI","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","tS","PassThrough","array","tC","setEncoding","promisify","pipeline","tR","buffer","MaxBufferError","tP","$49305ea51cd6b834$exports","bind","tA","objectMode","isEmpty","tN","tL","$e5c63f8808e0b3f4$var$getStreamPromise","tv","handleInput","getSpawnedResult","makeAllStream","validateInputSync","tG","tF","tk","mergePromise","getSpawnedPromise","tq","$0027b27f27767077$var$normalizeArgs","tW","tz","tX","tB","joinCommand","parseCommand","getEscapedCommand","tJ","$637f925507bbaf15$var$handleArguments","stripFinalNewline","extendEnv","preferLocal","localDir","reject","windowsHide","tZ","$637f925507bbaf15$var$handleOutput","isBuffer","t0","$637f925507bbaf15$var$execa","tK","tQ","tx","ChildProcess","tH","tV","tw","tb","tE","cancel","ty","tj","tD","tU","tM","tY","execArgv","nodePath","nodeOptions","systemdrive","t4","t3","SUDO_USER","t8","t9","label","sent","trys","ops","return","t7","npm_package_json","npm_config_user_agent","rt","rr","rn","ri","ro","homedir","rs","XDG_CONFIG_HOME","ra","rl","mkdirSync","rc","lastUpdateCheck","ru","writeFileSync","getTime","rp","pkg","updateCheckInterval","distTag","alwaysRun","t5","rd","repeat","padEnd","t6","isTTY","shouldNotifyInNpmScript","rh","rf","rg","ry","rw","rb","nf","rx","rS","rI","rO","rE","rP","rA","r_","r$","rN","rD","rk","rL","rj","rU","rM","rC","rF","rB","rH","rV","rG","rT","_enoent","rq","charCodeAt","rz","rW","rY","rK","rQ","rJ","rX","r0","r1","r5","r6","r3","getRealtimeSignal","r4","r2","r8","normalizeSignal","r9","getSignalByName","r7","getSignalByNumber","nt","findSignalByNumber","nr","nn","ni","rZ","ns","na","nl","no","np","nd","nh","nm","ng","nv","nE","nx","nw","nO","nS","nu","nb","ny","nR","nI","nT","nC","n_","n$","nP","nA","nN","nc","nL","nk","nD","nj","nG","nM","nB","nH","nq","nV","nW","nz","nX","nF","nY","nK","nQ","nJ","nZ","n0","nU","n1","n2","n4","n6","n5","n8","n3","n9","ie","it","ir","ii","io","is","n7","ia","il","ic","iu","ip","ih","im","ig","iv","iE","iy","rR","iw","ix","iI","iO","iR","iT","iC","i$","getPrototypeOf","i_","iP","Function","iA","iN","iL","ik","ignoreNonConfigurable","iD","iM","iU","ij","iG","iF","iB","iH","iV","fromEntries","iq","iW","iz","iX","iK","iY","iQ","iJ","iZ","i0","i2","i1","i4","i3","i6","i5","i8","i9","i7","oe","ot","createWriteStream","or","pipeStdout","pipeStderr","pipeAll","oi","inputFile","oo","os","createReadStream","oa","ol","oc","ou","op","od","of","oh","om","og","ov","oE","oy","ow","ox","ob","oS","oI","oO","templates","expressions","template","oR","oT","debuglog","enabled","oC","padStart","o$","getHours","getMinutes","getSeconds","getMilliseconds","o_","verbose","oP","fileURLToPath","oA","oN","oL","aborted","oD","oj","oU","oG","oF","release","oB","oH","oV","oM","oq","oz","oY","oX","oQ","oK","oZ","oJ","oW","pathExists","o0","o2","o4","o3","o6","posix","o5","o8","o9","source","o7","se","st","sr","o1","si","so","ss","sa","DEBIAN_FRONTEND","sc","su","flatMap","repositories","sl","binDir","sn","sd","sp","sf","sh","sg","rv","tmpdir","sm","NONINTERACTIVE","sv","sE","sy","sw","SystemRoot","ALLUSERSPROFILE","ChocolateyInstall","sx","sb","TMP","TEMP","Path","sS","sI","sO","sR","sT","sC","s$","s_","sA","sP","matchAll","sG","sj","sF","sB","sH","sV","sq","sW","sz","sX","sK","sY","sM","s4","s1","sJ","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","s3","httpStatusCode","new","target","sN","HTTPError","s6","s5","s8","an","readdirSync","at","s9","ai","s7","ae","ar","RUNNER_TOOL_CACHE","RUNNER_TEMP","ao","downloadTool","sU","authorization","statusMessage","extract7z","sQ","sL","extractTar","extractXar","extractZip","cacheDir","cacheFile","findAllVersions","getManifestFromRepo","tree","url","accept","findFromManifest","isExplicitVersion","evaluateVersions","al","retryAsPromised","TimeoutError","ac","previous","au","$current","backoffBase","backoffExponent","report","toLocaleTimeString","current","ap","ad","binRelativeDir","binFileName","extractedFolderName","extractFunction","installDir","af","ah","am","ag","av","aE","ay","aa","as","addExeExt","aw","ax","isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey","ab","aS","aI","aO","aR","getKeyIndex","_getKeyIndexFromMatchingKey","_getKeyIndexForMany","_getKeyIndexForSingle","canTransformKey","shouldCloneArguments","shouldUpdateOnAdd","shouldUpdateOnChange","shouldUpdateOnHit","orderByLru","updateAsyncCache","aT","isMemoized","fn","cache","aC","a$","a_","aN","aP","localeCompare","aL","ak","aD","aj","aU","aM","llvm","clangtidy","clangformat","ninja","cmake","gcovr","conan","meson","kcov","task","doxygen","gcc","aG","pip","python","aF","nala","aB","aH","bin","az","a9","aq","setupActionsPython","aV","aW","aX","aY","aK","aQ","aJ","aZ","a0","a1","a4","execFile","a3","a5","a2","getUbuntuVersion","a6","a8","le","a7","findIndex","lr","ln","li","lo","ls","la","ll","lc","lp","lf","releaseName","fileSuffix","lh","lm","lg","lv","lu","lE","ld","ly","lw","lb","lS","lI","lO","lx","lR","lT","lC","l$","l_","lP","lA","lN","lL","lk","lD","lj","lM","lF","lH","lG","lB","aA","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","lq","lV","lU","lW","lJ","lQ","l0","l1","lZ","lY","l3","l4","l6","l2","l5","lK","l8","l9","l7","ce","lz","ct","cr","ProgramFiles","cn","ci","co","cs","ca","cl","win32","win64","x86_64","cc","cd","cu","cf","ch","cm","cg","cv","cE","cy","addShExt","addShRelativePrefix","cw","cx","cI","vcpkg","bazel","opencppcoverage","choco","brew","powershell","ccache","sccache","graphviz","cppcheck","msvc","vcvarsall","make","sevenzip","cb","cS","cO","compiler","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","help","table","tools","documentation","coverage","architecture","SETUP_CPP_DIR","success","argv"],"sources":["../../<anon>","../../node_modules/.pnpm/ci-info@3.8.0/node_modules/ci-info/index.js","../../node_modules/.pnpm/ci-info@3.8.0/node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/core.ts","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/command.ts","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/utils.ts","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/file-command.ts","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v4.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/rng.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/stringify.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/validate.js","../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/regex.js","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/lib/index.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/src/index.ts","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/lib/proxy.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/src/proxy.ts","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","../../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/lib/auth.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/src/auth.ts","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/lib/summary.js","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/summary.ts","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/lib/path-utils.js","../../node_modules/.pnpm/@actions+core@1.9.1/node_modules/@actions/core/src/path-utils.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","../../node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","../../node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/index.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/internal/re.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/internal/constants.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/internal/debug.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/classes/semver.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/internal/parse-options.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/internal/identifiers.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/parse.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/valid.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/clean.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/inc.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/diff.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/major.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/minor.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/patch.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/prerelease.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/compare.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/rcompare.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/compare-loose.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/compare-build.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/sort.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/rsort.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/gt.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/lt.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/eq.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/neq.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/gte.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/lte.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/cmp.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/coerce.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/classes/comparator.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/classes/range.js","../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js","../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js","../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/satisfies.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/to-comparators.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/max-satisfying.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/min-satisfying.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/min-version.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/valid.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/outside.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/gtr.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/ltr.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/intersects.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/simplify.js","../../node_modules/.pnpm/semver@7.5.3/node_modules/semver/ranges/subset.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/core.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/command.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/utils.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/file-command.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/summary.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/summary.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/path-utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/path-utils.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/dist/index.node.mjs","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/name.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/normalize-trim.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-exe-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-suffix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/remove-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/replace-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/is-path-inside.ts","../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","../../node_modules/.pnpm/escape-string-regexp@1.0.5/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io.ts","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io-util.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io-util.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/semver@6.3.0/node_modules/semver/semver.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","../../node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/exec.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/lib/toolrunner.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/.pnpm/@parcel+runtime-js@2.9.3_@parcel+core@2.9.3/node_modules/@parcel/runtime-js/lib/runtime-7525fb9e0965da2c.js","../../src/main.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","../../node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","../../node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","../../packages/untildify-user/src/index.ts","../../node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/dist/index.node.mjs","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/src/root.ts","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/src/admin.ts","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/main.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/signals.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/core.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/realtime.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","../../node_modules/.pnpm/admina@0.1.1/node_modules/admina/src/is-admin.ts","../../src/check-updates.ts","../../node_modules/.pnpm/simple-update-notifier@2.0.0/node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","../../src/tool.ts","../../src/bazel/bazel.ts","../../src/utils/setup/setupAptPack.ts","../../node_modules/.pnpm/admina@0.1.3/node_modules/admina/dist/index.node.mjs","../../node_modules/.pnpm/admina@0.1.3/node_modules/admina/src/root.ts","../../node_modules/.pnpm/admina@0.1.3/node_modules/admina/src/admin.ts","../../node_modules/.pnpm/admina@0.1.3/node_modules/admina/src/is-admin.ts","../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js","../../node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/main.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/signals.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/signals.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/core.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/core.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/realtime.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/realtime.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","../../node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js","../../node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","../../src/utils/env/addEnv.ts","../../packages/exec-powershell/src/index.ts","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/index.js","../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/npm-run-path@5.1.0/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js","../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/realtime.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/signals.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/core.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/escape-path-with-spaces@1.0.2/node_modules/escape-path-with-spaces/index.js","../../packages/user-access/src/index.ts","../../node_modules/.pnpm/escape-quotes@1.0.2/node_modules/escape-quotes/lib/escape-quotes.js","../../node_modules/.pnpm/which@3.0.1/node_modules/which/lib/index.js","../../src/utils/setup/setupBrewPack.ts","../../src/brew/brew.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/env/isArch.ts","../../src/utils/env/hasDnf.ts","../../src/utils/setup/setupDnfPack.ts","../../src/utils/env/isUbuntu.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","../../src/utils/setup/setupBin.ts","../../node_modules/.pnpm/retry-as-promised@7.0.4/node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../src/python/python.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/dist/micro-memoize.esm.js","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/utils.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/Cache.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/index.ts","../../src/utils/setup/version.ts","../../node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/vcvarsall/vcvarsall.ts","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/lib.js","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $5KFgK$os = require(\"os\");\nvar $5KFgK$path = require(\"path\");\nvar $5KFgK$fs = require(\"fs\");\nvar $5KFgK$crypto = require(\"crypto\");\nvar $5KFgK$http = require(\"http\");\nvar $5KFgK$https = require(\"https\");\nrequire(\"net\");\nvar $5KFgK$tls = require(\"tls\");\nvar $5KFgK$events = require(\"events\");\nvar $5KFgK$assert = require(\"assert\");\nvar $5KFgK$util = require(\"util\");\nvar $5KFgK$nodefs = require(\"node:fs\");\nvar $5KFgK$child_process = require(\"child_process\");\nvar $5KFgK$string_decoder = require(\"string_decoder\");\nvar $5KFgK$timers = require(\"timers\");\nvar $5KFgK$buffer = require(\"buffer\");\nvar $5KFgK$stream = require(\"stream\");\nvar $5KFgK$process = require(\"process\");\nvar $5KFgK$nodebuffer = require(\"node:buffer\");\nvar $5KFgK$nodepath = require(\"node:path\");\nvar $5KFgK$nodechild_process = require(\"node:child_process\");\nvar $5KFgK$nodeprocess = require(\"node:process\");\nvar $5KFgK$nodeurl = require(\"node:url\");\nvar $5KFgK$nodeos = require(\"node:os\");\nvar $5KFgK$nodeutil = require(\"node:util\");\nvar $5KFgK$url = require(\"url\");\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\nvar $parcel$global =\ntypeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\nparcelRequire.register(\"2W4C2\", function(module, exports) {\n\"use strict\";\n\nvar $bIoxD = parcelRequire(\"bIoxD\");\nconst $2234937ab3398e07$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $bIoxD.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$bIoxD.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $2234937ab3398e07$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$2234937ab3398e07$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $2234937ab3398e07$var$env && $2234937ab3398e07$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$2234937ab3398e07$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $2234937ab3398e07$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($2234937ab3398e07$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($2234937ab3398e07$var$env.BUILD_ID || // Jenkins, Cloudbees\n$2234937ab3398e07$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$2234937ab3398e07$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$2234937ab3398e07$var$env.CI_APP_ID || // Appflow\n$2234937ab3398e07$var$env.CI_BUILD_ID || // Appflow\n$2234937ab3398e07$var$env.CI_BUILD_NUMBER || // Appflow\n$2234937ab3398e07$var$env.CI_NAME || // Codeship and others\n$2234937ab3398e07$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$2234937ab3398e07$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $2234937ab3398e07$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$2234937ab3398e07$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $2234937ab3398e07$var$env[obj.env] && $2234937ab3398e07$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$2234937ab3398e07$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $2234937ab3398e07$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRequire.register(\"bIoxD\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI\",\"pr\":\"SYSTEM_PULLREQUEST_PULLREQUESTID\"},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Shippable\",\"constant\":\"SHIPPABLE\",\"env\":\"SHIPPABLE\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Solano CI\",\"constant\":\"SOLANO\",\"env\":\"TDDIUM\",\"pr\":\"TDDIUM_PR_ID\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]}},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRequire.register(\"7Lz0k\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $435ca2a9418fec8e$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $435ca2a9418fec8e$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $435ca2a9418fec8e$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $435ca2a9418fec8e$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $435ca2a9418fec8e$export$a80b3bd66acc52ff);\n\nvar $9IqVj = parcelRequire(\"9IqVj\");\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\nfunction $435ca2a9418fec8e$export$a3bc9b8ed74fc(err) {\n return (0, $2W4C2.GITHUB_ACTIONS) ? $9IqVj.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$491112666e282270(msg) {\n return (0, $2W4C2.GITHUB_ACTIONS) ? $9IqVj.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$b31f6ae88848cf15(msg) {\n return (0, $2W4C2.GITHUB_ACTIONS) ? $9IqVj.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$a80b3bd66acc52ff(msg) {\n return (0, $2W4C2.GITHUB_ACTIONS) ? $9IqVj.info(msg) : console.log(msg);\n}\n\n});\nparcelRequire.register(\"9IqVj\", function(module, exports) {\n\"use strict\";\nvar $712d1b910dbd5a21$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $712d1b910dbd5a21$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $712d1b910dbd5a21$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $712d1b910dbd5a21$var$__createBinding(result, mod, k);\n }\n $712d1b910dbd5a21$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $712d1b910dbd5a21$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $6jKaV = parcelRequire(\"6jKaV\");\n\nvar $i1T7k = parcelRequire(\"i1T7k\");\n\nvar $bmZmX = parcelRequire(\"bmZmX\");\n\nconst $712d1b910dbd5a21$var$os = $712d1b910dbd5a21$var$__importStar($5KFgK$os);\n\nconst $712d1b910dbd5a21$var$path = $712d1b910dbd5a21$var$__importStar($5KFgK$path);\n\nvar $hZmcj = parcelRequire(\"hZmcj\");\n\nvar $1YxKR = parcelRequire(\"1YxKR\");\n/**\n * The code to exit an action\n */ var $712d1b910dbd5a21$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($712d1b910dbd5a21$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $712d1b910dbd5a21$var$exportVariable(name, val) {\n const convertedVal = $bmZmX.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) {\n const delimiter = `ghadelimiter_${$hZmcj.default()}`;\n // These should realistically never happen, but just in case someone finds a way to exploit uuid generation let's not allow keys or values that contain the delimiter.\n if (name.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedVal.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n const commandValue = `${name}<<${delimiter}${$712d1b910dbd5a21$var$os.EOL}${convertedVal}${$712d1b910dbd5a21$var$os.EOL}${delimiter}`;\n $i1T7k.issueCommand(\"ENV\", commandValue);\n } else $6jKaV.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $712d1b910dbd5a21$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $712d1b910dbd5a21$var$setSecret(secret) {\n $6jKaV.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $712d1b910dbd5a21$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $712d1b910dbd5a21$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $i1T7k.issueCommand(\"PATH\", inputPath);\n else $6jKaV.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$712d1b910dbd5a21$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $712d1b910dbd5a21$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $712d1b910dbd5a21$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $712d1b910dbd5a21$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $712d1b910dbd5a21$var$getMultilineInput(name, options) {\n const inputs = $712d1b910dbd5a21$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n return inputs;\n}\nmodule.exports.getMultilineInput = $712d1b910dbd5a21$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $712d1b910dbd5a21$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $712d1b910dbd5a21$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $712d1b910dbd5a21$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $712d1b910dbd5a21$var$setOutput(name, value) {\n process.stdout.write($712d1b910dbd5a21$var$os.EOL);\n $6jKaV.issueCommand(\"set-output\", {\n name: name\n }, value);\n}\nmodule.exports.setOutput = $712d1b910dbd5a21$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $712d1b910dbd5a21$var$setCommandEcho(enabled) {\n $6jKaV.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $712d1b910dbd5a21$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $712d1b910dbd5a21$var$setFailed(message) {\n process.exitCode = $712d1b910dbd5a21$var$ExitCode.Failure;\n $712d1b910dbd5a21$var$error(message);\n}\nmodule.exports.setFailed = $712d1b910dbd5a21$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $712d1b910dbd5a21$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $712d1b910dbd5a21$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $712d1b910dbd5a21$var$debug(message) {\n $6jKaV.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $712d1b910dbd5a21$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $712d1b910dbd5a21$var$error(message, properties = {}) {\n $6jKaV.issueCommand(\"error\", $bmZmX.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $712d1b910dbd5a21$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $712d1b910dbd5a21$var$warning(message, properties = {}) {\n $6jKaV.issueCommand(\"warning\", $bmZmX.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $712d1b910dbd5a21$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $712d1b910dbd5a21$var$notice(message, properties = {}) {\n $6jKaV.issueCommand(\"notice\", $bmZmX.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $712d1b910dbd5a21$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $712d1b910dbd5a21$var$info(message) {\n process.stdout.write(message + $712d1b910dbd5a21$var$os.EOL);\n}\nmodule.exports.info = $712d1b910dbd5a21$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $712d1b910dbd5a21$var$startGroup(name) {\n $6jKaV.issue(\"group\", name);\n}\nmodule.exports.startGroup = $712d1b910dbd5a21$var$startGroup;\n/**\n * End an output group.\n */ function $712d1b910dbd5a21$var$endGroup() {\n $6jKaV.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $712d1b910dbd5a21$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $712d1b910dbd5a21$var$group(name, fn) {\n return $712d1b910dbd5a21$var$__awaiter(this, void 0, void 0, function*() {\n $712d1b910dbd5a21$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $712d1b910dbd5a21$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $712d1b910dbd5a21$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $712d1b910dbd5a21$var$saveState(name, value) {\n $6jKaV.issueCommand(\"save-state\", {\n name: name\n }, value);\n}\nmodule.exports.saveState = $712d1b910dbd5a21$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $712d1b910dbd5a21$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $712d1b910dbd5a21$var$getState;\nfunction $712d1b910dbd5a21$var$getIDToken(aud) {\n return $712d1b910dbd5a21$var$__awaiter(this, void 0, void 0, function*() {\n return yield $1YxKR.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $712d1b910dbd5a21$var$getIDToken;\n\nvar $3sE6a = parcelRequire(\"3sE6a\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $3sE6a.summary;\n }\n});\n\nvar $3sE6a = parcelRequire(\"3sE6a\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $3sE6a.markdownSummary;\n }\n});\n\nvar $csQEQ = parcelRequire(\"csQEQ\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $csQEQ.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $csQEQ.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $csQEQ.toPlatformPath;\n }\n});\n\n});\nparcelRequire.register(\"6jKaV\", function(module, exports) {\n\"use strict\";\nvar $499855d77ee5114c$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $499855d77ee5114c$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $499855d77ee5114c$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $499855d77ee5114c$var$__createBinding(result, mod, k);\n }\n $499855d77ee5114c$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $499855d77ee5114c$var$os = $499855d77ee5114c$var$__importStar($5KFgK$os);\n\nvar $bmZmX = parcelRequire(\"bmZmX\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $499855d77ee5114c$var$issueCommand(command, properties, message) {\n const cmd = new $499855d77ee5114c$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $499855d77ee5114c$var$os.EOL);\n}\nmodule.exports.issueCommand = $499855d77ee5114c$var$issueCommand;\nfunction $499855d77ee5114c$var$issue(name, message = \"\") {\n $499855d77ee5114c$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $499855d77ee5114c$var$issue;\nconst $499855d77ee5114c$var$CMD_STRING = \"::\";\nclass $499855d77ee5114c$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $499855d77ee5114c$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$499855d77ee5114c$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$499855d77ee5114c$var$CMD_STRING}${$499855d77ee5114c$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $499855d77ee5114c$var$escapeData(s) {\n return $bmZmX.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $499855d77ee5114c$var$escapeProperty(s) {\n return $bmZmX.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRequire.register(\"bmZmX\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $84715a6bcf85608a$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $84715a6bcf85608a$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $84715a6bcf85608a$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $84715a6bcf85608a$var$toCommandProperties;\n\n});\n\n\nparcelRequire.register(\"i1T7k\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $d2031321def832d6$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $d2031321def832d6$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $d2031321def832d6$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $d2031321def832d6$var$__createBinding(result, mod, k);\n }\n $d2031321def832d6$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issueCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $d2031321def832d6$var$fs = $d2031321def832d6$var$__importStar($5KFgK$fs);\n\nconst $d2031321def832d6$var$os = $d2031321def832d6$var$__importStar($5KFgK$os);\n\nvar $bmZmX = parcelRequire(\"bmZmX\");\nfunction $d2031321def832d6$var$issueCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$d2031321def832d6$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $d2031321def832d6$var$fs.appendFileSync(filePath, `${$bmZmX.toCommandValue(message)}${$d2031321def832d6$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueCommand = $d2031321def832d6$var$issueCommand;\n\n});\n\nparcelRequire.register(\"hZmcj\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $d1895a237436f759$export$2e2bcd8739ae039);\n\nvar $fL4R4 = parcelRequire(\"fL4R4\");\n\nvar $dfDnF = parcelRequire(\"dfDnF\");\nfunction $d1895a237436f759$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $fL4R4.default))(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $dfDnF.default)(rnds);\n}\nvar $d1895a237436f759$export$2e2bcd8739ae039 = $d1895a237436f759$var$v4;\n\n});\nparcelRequire.register(\"fL4R4\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $b78f02e5de982783$export$2e2bcd8739ae039);\n\nconst $b78f02e5de982783$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $b78f02e5de982783$var$poolPtr = $b78f02e5de982783$var$rnds8Pool.length;\nfunction $b78f02e5de982783$export$2e2bcd8739ae039() {\n if ($b78f02e5de982783$var$poolPtr > $b78f02e5de982783$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($5KFgK$crypto))).randomFillSync($b78f02e5de982783$var$rnds8Pool);\n $b78f02e5de982783$var$poolPtr = 0;\n }\n return $b78f02e5de982783$var$rnds8Pool.slice($b78f02e5de982783$var$poolPtr, $b78f02e5de982783$var$poolPtr += 16);\n}\n\n});\n\nparcelRequire.register(\"dfDnF\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $9a5b393ed47b0e5c$export$2e2bcd8739ae039);\n\nvar $k6vAm = parcelRequire(\"k6vAm\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $9a5b393ed47b0e5c$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$9a5b393ed47b0e5c$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $9a5b393ed47b0e5c$var$stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = ($9a5b393ed47b0e5c$var$byteToHex[arr[offset + 0]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 1]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 2]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 3]] + \"-\" + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 4]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 5]] + \"-\" + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 6]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 7]] + \"-\" + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 8]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 9]] + \"-\" + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 10]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 11]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 12]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 13]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 14]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n if (!(0, $k6vAm.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $9a5b393ed47b0e5c$export$2e2bcd8739ae039 = $9a5b393ed47b0e5c$var$stringify;\n\n});\nparcelRequire.register(\"k6vAm\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $ea2cde650ba59bd3$export$2e2bcd8739ae039);\n\nvar $awO54 = parcelRequire(\"awO54\");\nfunction $ea2cde650ba59bd3$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $awO54.default).test(uuid);\n}\nvar $ea2cde650ba59bd3$export$2e2bcd8739ae039 = $ea2cde650ba59bd3$var$validate;\n\n});\nparcelRequire.register(\"awO54\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $7aa3bd89421916a3$export$2e2bcd8739ae039);\nvar $7aa3bd89421916a3$export$2e2bcd8739ae039 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\n\n});\n\n\n\n\nparcelRequire.register(\"1YxKR\", function(module, exports) {\n\"use strict\";\nvar $1705940c4367e6eb$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $6xPYX = parcelRequire(\"6xPYX\");\n\nvar $gRdnl = parcelRequire(\"gRdnl\");\n\nvar $9IqVj = parcelRequire(\"9IqVj\");\nclass $1705940c4367e6eb$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $6xPYX.HttpClient(\"actions/oidc-client\", [\n new $gRdnl.BearerCredentialHandler($1705940c4367e6eb$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $1705940c4367e6eb$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $1705940c4367e6eb$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $1705940c4367e6eb$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $1705940c4367e6eb$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $9IqVj.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $1705940c4367e6eb$var$OidcClient.getCall(id_token_url);\n $9IqVj.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $1705940c4367e6eb$var$OidcClient;\n\n});\nparcelRequire.register(\"6xPYX\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $4c3e25bf723c404d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $4c3e25bf723c404d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $4c3e25bf723c404d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $4c3e25bf723c404d$var$__createBinding(result, mod, k);\n }\n $4c3e25bf723c404d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $4c3e25bf723c404d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $4c3e25bf723c404d$var$http = $4c3e25bf723c404d$var$__importStar($5KFgK$http);\n\nconst $4c3e25bf723c404d$var$https = $4c3e25bf723c404d$var$__importStar($5KFgK$https);\n\nconst $4c3e25bf723c404d$var$pm = $4c3e25bf723c404d$var$__importStar((parcelRequire(\"1cTRj\")));\n\nconst $4c3e25bf723c404d$var$tunnel = $4c3e25bf723c404d$var$__importStar((parcelRequire(\"k1Uj2\")));\nvar $4c3e25bf723c404d$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($4c3e25bf723c404d$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $4c3e25bf723c404d$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($4c3e25bf723c404d$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $4c3e25bf723c404d$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($4c3e25bf723c404d$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $4c3e25bf723c404d$var$getProxyUrl(serverUrl) {\n const proxyUrl = $4c3e25bf723c404d$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $4c3e25bf723c404d$var$getProxyUrl;\nconst $4c3e25bf723c404d$var$HttpRedirectCodes = [\n $4c3e25bf723c404d$var$HttpCodes.MovedPermanently,\n $4c3e25bf723c404d$var$HttpCodes.ResourceMoved,\n $4c3e25bf723c404d$var$HttpCodes.SeeOther,\n $4c3e25bf723c404d$var$HttpCodes.TemporaryRedirect,\n $4c3e25bf723c404d$var$HttpCodes.PermanentRedirect\n];\nconst $4c3e25bf723c404d$var$HttpResponseRetryCodes = [\n $4c3e25bf723c404d$var$HttpCodes.BadGateway,\n $4c3e25bf723c404d$var$HttpCodes.ServiceUnavailable,\n $4c3e25bf723c404d$var$HttpCodes.GatewayTimeout\n];\nconst $4c3e25bf723c404d$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $4c3e25bf723c404d$var$ExponentialBackoffCeiling = 10;\nconst $4c3e25bf723c404d$var$ExponentialBackoffTimeSlice = 5;\nclass $4c3e25bf723c404d$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $4c3e25bf723c404d$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $4c3e25bf723c404d$var$HttpClientError;\nclass $4c3e25bf723c404d$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $4c3e25bf723c404d$var$HttpClientResponse;\nfunction $4c3e25bf723c404d$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $4c3e25bf723c404d$var$isHttps;\nclass $4c3e25bf723c404d$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ getJson(requestUrl, additionalHeaders = {}) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$4c3e25bf723c404d$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.Accept, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.Accept, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.ContentType, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.Accept, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.ContentType, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.Accept, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.ContentType, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ request(verb, requestUrl, data, headers) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && $4c3e25bf723c404d$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $4c3e25bf723c404d$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $4c3e25bf723c404d$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new Error(\"Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$4c3e25bf723c404d$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $4c3e25bf723c404d$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $4c3e25bf723c404d$var$https : $4c3e25bf723c404d$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $4c3e25bf723c404d$var$lowercaseKeys(this.requestOptions.headers), $4c3e25bf723c404d$var$lowercaseKeys(headers || {}));\n return $4c3e25bf723c404d$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $4c3e25bf723c404d$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $4c3e25bf723c404d$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $4c3e25bf723c404d$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }), {\n host: proxyUrl.hostname,\n port: proxyUrl.port\n })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $4c3e25bf723c404d$var$tunnel.httpsOverHttps : $4c3e25bf723c404d$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $4c3e25bf723c404d$var$tunnel.httpOverHttps : $4c3e25bf723c404d$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $4c3e25bf723c404d$var$https.Agent(options) : new $4c3e25bf723c404d$var$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $4c3e25bf723c404d$var$https.globalAgent : $4c3e25bf723c404d$var$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($4c3e25bf723c404d$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $4c3e25bf723c404d$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $4c3e25bf723c404d$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $4c3e25bf723c404d$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $4c3e25bf723c404d$var$HttpClient;\nconst $4c3e25bf723c404d$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRequire.register(\"1cTRj\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $0e123dd858e86df5$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($0e123dd858e86df5$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) return new URL(proxyVar);\n else return undefined;\n}\nmodule.exports.getProxyUrl = $0e123dd858e86df5$var$getProxyUrl;\nfunction $0e123dd858e86df5$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($0e123dd858e86df5$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $0e123dd858e86df5$var$checkBypass;\nfunction $0e123dd858e86df5$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\n\n});\n\nparcelRequire.register(\"k1Uj2\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"jrbfx\"));\n\n});\nparcelRequire.register(\"jrbfx\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $e26943dc429c359c$export$25cbd437c61a3835, (v) => $e26943dc429c359c$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $e26943dc429c359c$export$c06e3df7111bae43, (v) => $e26943dc429c359c$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $e26943dc429c359c$export$5d50e36ef656139f, (v) => $e26943dc429c359c$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $e26943dc429c359c$export$212d6605025321cc, (v) => $e26943dc429c359c$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $e26943dc429c359c$export$1c9f709888824e05, (v) => $e26943dc429c359c$export$1c9f709888824e05 = v);\nvar $e26943dc429c359c$export$25cbd437c61a3835;\nvar $e26943dc429c359c$export$c06e3df7111bae43;\nvar $e26943dc429c359c$export$5d50e36ef656139f;\nvar $e26943dc429c359c$export$212d6605025321cc;\nvar $e26943dc429c359c$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$e26943dc429c359c$export$25cbd437c61a3835 = $e26943dc429c359c$var$httpOverHttp;\n$e26943dc429c359c$export$c06e3df7111bae43 = $e26943dc429c359c$var$httpsOverHttp;\n$e26943dc429c359c$export$5d50e36ef656139f = $e26943dc429c359c$var$httpOverHttps;\n$e26943dc429c359c$export$212d6605025321cc = $e26943dc429c359c$var$httpsOverHttps;\nfunction $e26943dc429c359c$var$httpOverHttp(options) {\n var agent = new $e26943dc429c359c$var$TunnelingAgent(options);\n agent.request = $5KFgK$http.request;\n return agent;\n}\nfunction $e26943dc429c359c$var$httpsOverHttp(options) {\n var agent = new $e26943dc429c359c$var$TunnelingAgent(options);\n agent.request = $5KFgK$http.request;\n agent.createSocket = $e26943dc429c359c$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $e26943dc429c359c$var$httpOverHttps(options) {\n var agent = new $e26943dc429c359c$var$TunnelingAgent(options);\n agent.request = $5KFgK$https.request;\n return agent;\n}\nfunction $e26943dc429c359c$var$httpsOverHttps(options) {\n var agent = new $e26943dc429c359c$var$TunnelingAgent(options);\n agent.request = $5KFgK$https.request;\n agent.createSocket = $e26943dc429c359c$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $e26943dc429c359c$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $5KFgK$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $e26943dc429c359c$var$toOptions(host, port, localAddress);\n for(var i = 0, len = self.requests.length; i < len; ++i){\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\n$5KFgK$util.inherits($e26943dc429c359c$var$TunnelingAgent, $5KFgK$events.EventEmitter);\n$e26943dc429c359c$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $e26943dc429c359c$var$mergeOptions({\n request: req\n }, self.options, $e26943dc429c359c$var$toOptions(host, port, localAddress));\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on(\"free\", onFree);\n socket.on(\"close\", onCloseOrRemove);\n socket.on(\"agentRemove\", onCloseOrRemove);\n req.onSocket(socket);\n function onFree() {\n self.emit(\"free\", socket, options);\n }\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener(\"free\", onFree);\n socket.removeListener(\"close\", onCloseOrRemove);\n socket.removeListener(\"agentRemove\", onCloseOrRemove);\n }\n });\n};\n$e26943dc429c359c$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $e26943dc429c359c$var$mergeOptions({}, self.proxyOptions, {\n method: \"CONNECT\",\n path: options.host + \":\" + options.port,\n agent: false,\n headers: {\n host: options.host + \":\" + options.port\n }\n });\n if (options.localAddress) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $e26943dc429c359c$var$debug(\"making CONNECT request\");\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once(\"response\", onResponse); // for v0.6\n connectReq.once(\"upgrade\", onUpgrade); // for v0.6\n connectReq.once(\"connect\", onConnect); // for v0.7 or later\n connectReq.once(\"error\", onError);\n connectReq.end();\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $e26943dc429c359c$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, statusCode=\" + res.statusCode);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n $e26943dc429c359c$var$debug(\"got illegal response body from proxy\");\n socket.destroy();\n var error = new Error(\"got illegal response body from proxy\");\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n return;\n }\n $e26943dc429c359c$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $e26943dc429c359c$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$e26943dc429c359c$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n};\nfunction $e26943dc429c359c$var$createSecureSocket(options, cb) {\n var self = this;\n $e26943dc429c359c$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $e26943dc429c359c$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $5KFgK$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $e26943dc429c359c$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $e26943dc429c359c$var$mergeOptions(target) {\n for(var i = 1, len = arguments.length; i < len; ++i){\n var overrides = arguments[i];\n if (typeof overrides === \"object\") {\n var keys = Object.keys(overrides);\n for(var j = 0, keyLen = keys.length; j < keyLen; ++j){\n var k = keys[j];\n if (overrides[k] !== undefined) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $e26943dc429c359c$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $e26943dc429c359c$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $e26943dc429c359c$var$debug = function() {};\n$e26943dc429c359c$export$1c9f709888824e05 = $e26943dc429c359c$var$debug; // for test\n\n});\n\n\n\nparcelRequire.register(\"gRdnl\", function(module, exports) {\n\"use strict\";\nvar $c45bf8a936b75500$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $c45bf8a936b75500$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c45bf8a936b75500$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $c45bf8a936b75500$var$BasicCredentialHandler;\nclass $c45bf8a936b75500$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c45bf8a936b75500$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $c45bf8a936b75500$var$BearerCredentialHandler;\nclass $c45bf8a936b75500$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c45bf8a936b75500$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $c45bf8a936b75500$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRequire.register(\"3sE6a\", function(module, exports) {\n\"use strict\";\nvar $28531752977f8e2e$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $28531752977f8e2e$var$access, appendFile: $28531752977f8e2e$var$appendFile, writeFile: $28531752977f8e2e$var$writeFile } = $5KFgK$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $28531752977f8e2e$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $28531752977f8e2e$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $28531752977f8e2e$var$access(pathFromEnv, $5KFgK$fs.constants.R_OK | $5KFgK$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}</${tag}>`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise<Summary>} summary instance\n */ write(options) {\n return $28531752977f8e2e$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $28531752977f8e2e$var$writeFile : $28531752977f8e2e$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $28531752977f8e2e$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($5KFgK$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (<hr>) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (<br>) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $28531752977f8e2e$var$_summary = new $28531752977f8e2e$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $28531752977f8e2e$var$_summary;\nmodule.exports.summary = $28531752977f8e2e$var$_summary;\n\n});\n\nparcelRequire.register(\"csQEQ\", function(module, exports) {\n\"use strict\";\nvar $9130f24f335d7cad$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $9130f24f335d7cad$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $9130f24f335d7cad$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $9130f24f335d7cad$var$__createBinding(result, mod, k);\n }\n $9130f24f335d7cad$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $9130f24f335d7cad$var$path = $9130f24f335d7cad$var$__importStar($5KFgK$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $9130f24f335d7cad$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $9130f24f335d7cad$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $9130f24f335d7cad$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $9130f24f335d7cad$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $9130f24f335d7cad$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $9130f24f335d7cad$var$path.sep);\n}\nmodule.exports.toPlatformPath = $9130f24f335d7cad$var$toPlatformPath;\n\n});\n\n\n\nparcelRequire.register(\"9tC1p\", function(module, exports) {\n\nvar $6e6450cbaf4ae339$var$$parcel$__dirname = $5KFgK$path.resolve(__dirname, \"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */ function addLocale(locale, callable) {\n locales[locale] = callable;\n }\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($6e6450cbaf4ae339$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRequire.register(\"5cIV4\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $b9BRc = parcelRequire(\"b9BRc\");\n\nvar $ld0VC = parcelRequire(\"ld0VC\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $3ca0ead1ec065943$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $3ca0ead1ec065943$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $3ca0ead1ec065943$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $3ca0ead1ec065943$var$timeDeltaFactory,\n addLocale: $3ca0ead1ec065943$var$addLocale,\n defaultConfig: $3ca0ead1ec065943$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $3ca0ead1ec065943$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $3ca0ead1ec065943$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $3ca0ead1ec065943$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $3ca0ead1ec065943$var$defaultConfig, config || {});\n return {\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $3ca0ead1ec065943$var$format(firstDate, secondDate, options);\n }\n };\n}\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */ function $3ca0ead1ec065943$var$format(firstDate, secondDate, config) {\n $3ca0ead1ec065943$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $3ca0ead1ec065943$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($3ca0ead1ec065943$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\n}\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */ function $3ca0ead1ec065943$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($3ca0ead1ec065943$var$hasLocale(locale)) return;\n if ($ld0VC && autoload) $3ca0ead1ec065943$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $3ca0ead1ec065943$var$hasLocale(localeId) {\n return Boolean($3ca0ead1ec065943$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $3ca0ead1ec065943$var$requireLocale(localeId) {\n try {\n $3ca0ead1ec065943$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`);\n }\n}\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $3ca0ead1ec065943$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $3ca0ead1ec065943$var$timeUnits.some(function(unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\n}\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */ function $3ca0ead1ec065943$var$pluralize(unit, value, config) {\n const unitTypeData = $3ca0ead1ec065943$var$getLocaleDataForUnitType(config);\n const unitString = $b9BRc.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $3ca0ead1ec065943$var$getLocaleDataForUnitType(config) {\n const localeData = $3ca0ead1ec065943$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $3ca0ead1ec065943$var$arrayUnique(lookupOrder);\n let unitTypeData = null;\n lookupOrder.some(function(unitType) {\n if (\"undefined\" !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $3ca0ead1ec065943$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRequire.register(\"b9BRc\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"9tC1p\"));\n\n});\n\nparcelRequire.register(\"ld0VC\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRequire.register(\"bK4Or\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $9IVqy = parcelRequire(\"9IVqy\");\n\nvar $UHba5 = parcelRequire(\"UHba5\");\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\n\nvar $5qLwh = parcelRequire(\"5qLwh\");\n\nvar $5dEvy = parcelRequire(\"5dEvy\");\n\nvar $2lp21 = parcelRequire(\"2lp21\");\n\nvar $pWdoO = parcelRequire(\"pWdoO\");\n\nvar $eCKJI = parcelRequire(\"eCKJI\");\n\nvar $b84G3 = parcelRequire(\"b84G3\");\n\nvar $f8px2 = parcelRequire(\"f8px2\");\n\nvar $cNz4p = parcelRequire(\"cNz4p\");\n\nvar $dvnLi = parcelRequire(\"dvnLi\");\n\nvar $7Vuds = parcelRequire(\"7Vuds\");\n\nvar $95wpj = parcelRequire(\"95wpj\");\n\nvar $ckMxz = parcelRequire(\"ckMxz\");\n\nvar $1HbVF = parcelRequire(\"1HbVF\");\n\nvar $i4oGu = parcelRequire(\"i4oGu\");\n\nvar $lVqDa = parcelRequire(\"lVqDa\");\n\nvar $lKlgP = parcelRequire(\"lKlgP\");\n\nvar $PHT7O = parcelRequire(\"PHT7O\");\n\nvar $3Ynk7 = parcelRequire(\"3Ynk7\");\n\nvar $5AHRt = parcelRequire(\"5AHRt\");\n\nvar $8Ocxq = parcelRequire(\"8Ocxq\");\n\nvar $fVkWD = parcelRequire(\"fVkWD\");\n\nvar $kUX5G = parcelRequire(\"kUX5G\");\n\nvar $fLBkd = parcelRequire(\"fLBkd\");\n\nvar $8bUR0 = parcelRequire(\"8bUR0\");\n\nvar $hruVm = parcelRequire(\"hruVm\");\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\n\nvar $e0QXK = parcelRequire(\"e0QXK\");\n\nvar $iigPe = parcelRequire(\"iigPe\");\n\nvar $5WuDr = parcelRequire(\"5WuDr\");\n\nvar $6IKG8 = parcelRequire(\"6IKG8\");\n\nvar $1OrZn = parcelRequire(\"1OrZn\");\n\nvar $4DKgK = parcelRequire(\"4DKgK\");\n\nvar $DdbuN = parcelRequire(\"DdbuN\");\n\nvar $ck07n = parcelRequire(\"ck07n\");\n\nvar $hChct = parcelRequire(\"hChct\");\n\nvar $5zY3H = parcelRequire(\"5zY3H\");\n\nvar $e6lC5 = parcelRequire(\"e6lC5\");\n\nvar $73e5U = parcelRequire(\"73e5U\");\nmodule.exports = {\n parse: $5dEvy,\n valid: $2lp21,\n clean: $pWdoO,\n inc: $eCKJI,\n diff: $b84G3,\n major: $f8px2,\n minor: $cNz4p,\n patch: $dvnLi,\n prerelease: $7Vuds,\n compare: $95wpj,\n rcompare: $ckMxz,\n compareLoose: $1HbVF,\n compareBuild: $i4oGu,\n sort: $lVqDa,\n rsort: $lKlgP,\n gt: $PHT7O,\n lt: $3Ynk7,\n eq: $5AHRt,\n neq: $8Ocxq,\n gte: $fVkWD,\n lte: $kUX5G,\n cmp: $fLBkd,\n coerce: $8bUR0,\n Comparator: $hruVm,\n Range: $cEyzh,\n satisfies: $e0QXK,\n toComparators: $iigPe,\n maxSatisfying: $5WuDr,\n minSatisfying: $6IKG8,\n minVersion: $1OrZn,\n validRange: $4DKgK,\n outside: $DdbuN,\n gtr: $ck07n,\n ltr: $hChct,\n intersects: $5zY3H,\n simplifyRange: $e6lC5,\n subset: $73e5U,\n SemVer: $bWTSE,\n re: $9IVqy.re,\n src: $9IVqy.src,\n tokens: $9IVqy.t,\n SEMVER_SPEC_VERSION: $UHba5.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $UHba5.RELEASE_TYPES,\n compareIdentifiers: $5qLwh.compareIdentifiers,\n rcompareIdentifiers: $5qLwh.rcompareIdentifiers\n};\n\n});\nparcelRequire.register(\"9IVqy\", function(module, exports) {\n\nvar $UHba5 = parcelRequire(\"UHba5\");\nvar $7144c4fddd5e6ff2$require$MAX_SAFE_COMPONENT_LENGTH = $UHba5.MAX_SAFE_COMPONENT_LENGTH;\nvar $7144c4fddd5e6ff2$require$MAX_SAFE_BUILD_LENGTH = $UHba5.MAX_SAFE_BUILD_LENGTH;\n\nvar $7fNiu = parcelRequire(\"7fNiu\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $7144c4fddd5e6ff2$require$MAX_SAFE_COMPONENT_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $7144c4fddd5e6ff2$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $7fNiu(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken(\"LOOSEPLAIN\", `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken(\"XRANGEIDENTIFIERLOOSE\", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`);\ncreateToken(\"XRANGEIDENTIFIER\", `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCE\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$7144c4fddd5e6ff2$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$7144c4fddd5e6ff2$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$7144c4fddd5e6ff2$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken(\"COMPARATORLOOSE\", `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`);\ncreateToken(\"COMPARATOR\", `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`);\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken(\"COMPARATORTRIM\", `(\\\\s*)${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken(\"HYPHENRANGE\", `^\\\\s*(${src[t.XRANGEPLAIN]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\n// Star ranges basically just allow anything at all.\ncreateToken(\"STAR\", \"(<|>)?=?\\\\s*\\\\*\");\n// >=0.0.0 is like a star\ncreateToken(\"GTE0\", \"^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$\");\ncreateToken(\"GTE0PRE\", \"^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$\");\n\n});\nparcelRequire.register(\"UHba5\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $0aa6b988595fe416$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $0aa6b988595fe416$var$MAX_LENGTH = 256;\nconst $0aa6b988595fe416$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $0aa6b988595fe416$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $0aa6b988595fe416$var$MAX_SAFE_BUILD_LENGTH = $0aa6b988595fe416$var$MAX_LENGTH - 6;\nconst $0aa6b988595fe416$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $0aa6b988595fe416$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $0aa6b988595fe416$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $0aa6b988595fe416$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $0aa6b988595fe416$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $0aa6b988595fe416$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $0aa6b988595fe416$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRequire.register(\"7fNiu\", function(module, exports) {\nconst $54802c8a0b418cae$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $54802c8a0b418cae$var$debug;\n\n});\n\n\nparcelRequire.register(\"bWTSE\", function(module, exports) {\n\nvar $7fNiu = parcelRequire(\"7fNiu\");\n\nvar $UHba5 = parcelRequire(\"UHba5\");\nvar $8b30752ac72d2525$require$MAX_LENGTH = $UHba5.MAX_LENGTH;\nvar $8b30752ac72d2525$require$MAX_SAFE_INTEGER = $UHba5.MAX_SAFE_INTEGER;\n\nvar $9IVqy = parcelRequire(\"9IVqy\");\nvar $8b30752ac72d2525$require$re = $9IVqy.safeRe;\nvar $8b30752ac72d2525$require$t = $9IVqy.t;\n\nvar $g9Vla = parcelRequire(\"g9Vla\");\n\nvar $5qLwh = parcelRequire(\"5qLwh\");\nvar $8b30752ac72d2525$require$compareIdentifiers = $5qLwh.compareIdentifiers;\nclass $8b30752ac72d2525$var$SemVer {\n constructor(version, options){\n options = $g9Vla(options);\n if (version instanceof $8b30752ac72d2525$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $8b30752ac72d2525$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$8b30752ac72d2525$require$MAX_LENGTH} characters`);\n $7fNiu(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease;\n const m = version.trim().match(options.loose ? $8b30752ac72d2525$require$re[$8b30752ac72d2525$require$t.LOOSE] : $8b30752ac72d2525$require$re[$8b30752ac72d2525$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $8b30752ac72d2525$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $8b30752ac72d2525$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $8b30752ac72d2525$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $8b30752ac72d2525$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $7fNiu(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $8b30752ac72d2525$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $8b30752ac72d2525$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $8b30752ac72d2525$var$SemVer)) other = new $8b30752ac72d2525$var$SemVer(other, this.options);\n return $8b30752ac72d2525$require$compareIdentifiers(this.major, other.major) || $8b30752ac72d2525$require$compareIdentifiers(this.minor, other.minor) || $8b30752ac72d2525$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $8b30752ac72d2525$var$SemVer)) other = new $8b30752ac72d2525$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $7fNiu(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $8b30752ac72d2525$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $8b30752ac72d2525$var$SemVer)) other = new $8b30752ac72d2525$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $7fNiu(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $8b30752ac72d2525$require$compareIdentifiers(a, b);\n }while (++i);\n }\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc(release, identifier, identifierBase) {\n switch(release){\n case \"premajor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor = 0;\n this.major++;\n this.inc(\"pre\", identifier, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\n break;\n case \"prepatch\":\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0;\n this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case \"prerelease\":\n if (this.prerelease.length === 0) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\n case \"major\":\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\n this.minor = 0;\n this.patch = 0;\n this.prerelease = [];\n break;\n case \"minor\":\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) this.minor++;\n this.patch = 0;\n this.prerelease = [];\n break;\n case \"patch\":\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) this.patch++;\n this.prerelease = [];\n break;\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case \"pre\":\n {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($8b30752ac72d2525$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $8b30752ac72d2525$var$SemVer;\n\n});\nparcelRequire.register(\"g9Vla\", function(module, exports) {\n// parse out just the options we care about\nconst $bc39f7395d8a4640$var$looseOption = Object.freeze({\n loose: true\n});\nconst $bc39f7395d8a4640$var$emptyOpts = Object.freeze({});\nconst $bc39f7395d8a4640$var$parseOptions = (options)=>{\n if (!options) return $bc39f7395d8a4640$var$emptyOpts;\n if (typeof options !== \"object\") return $bc39f7395d8a4640$var$looseOption;\n return options;\n};\nmodule.exports = $bc39f7395d8a4640$var$parseOptions;\n\n});\n\nparcelRequire.register(\"5qLwh\", function(module, exports) {\nconst $3f443ddb959d34e8$var$numeric = /^[0-9]+$/;\nconst $3f443ddb959d34e8$var$compareIdentifiers = (a, b)=>{\n const anum = $3f443ddb959d34e8$var$numeric.test(a);\n const bnum = $3f443ddb959d34e8$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $3f443ddb959d34e8$var$rcompareIdentifiers = (a, b)=>$3f443ddb959d34e8$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $3f443ddb959d34e8$var$compareIdentifiers,\n rcompareIdentifiers: $3f443ddb959d34e8$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRequire.register(\"5dEvy\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\nconst $3ccd96b3f635667e$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $bWTSE) return version;\n try {\n return new $bWTSE(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $3ccd96b3f635667e$var$parse;\n\n});\n\nparcelRequire.register(\"2lp21\", function(module, exports) {\n\nvar $5dEvy = parcelRequire(\"5dEvy\");\nconst $1b50f5b68308ac11$var$valid = (version, options)=>{\n const v = $5dEvy(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $1b50f5b68308ac11$var$valid;\n\n});\n\nparcelRequire.register(\"pWdoO\", function(module, exports) {\n\nvar $5dEvy = parcelRequire(\"5dEvy\");\nconst $04df7e392844a510$var$clean = (version, options)=>{\n const s = $5dEvy(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $04df7e392844a510$var$clean;\n\n});\n\nparcelRequire.register(\"eCKJI\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\nconst $aa58de2bd592cda7$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $bWTSE(version instanceof $bWTSE ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $aa58de2bd592cda7$var$inc;\n\n});\n\nparcelRequire.register(\"b84G3\", function(module, exports) {\n\nvar $5dEvy = parcelRequire(\"5dEvy\");\nconst $81a411e701c4cd01$var$diff = (version1, version2)=>{\n const v1 = $5dEvy(version1, null, true);\n const v2 = $5dEvy(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $81a411e701c4cd01$var$diff;\n\n});\n\nparcelRequire.register(\"f8px2\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\nconst $b04b687dfcc25bf9$var$major = (a, loose)=>new $bWTSE(a, loose).major;\nmodule.exports = $b04b687dfcc25bf9$var$major;\n\n});\n\nparcelRequire.register(\"cNz4p\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\nconst $951543dbd7d01bf9$var$minor = (a, loose)=>new $bWTSE(a, loose).minor;\nmodule.exports = $951543dbd7d01bf9$var$minor;\n\n});\n\nparcelRequire.register(\"dvnLi\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\nconst $9d509a396e1aeb64$var$patch = (a, loose)=>new $bWTSE(a, loose).patch;\nmodule.exports = $9d509a396e1aeb64$var$patch;\n\n});\n\nparcelRequire.register(\"7Vuds\", function(module, exports) {\n\nvar $5dEvy = parcelRequire(\"5dEvy\");\nconst $5c554b91282d847b$var$prerelease = (version, options)=>{\n const parsed = $5dEvy(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $5c554b91282d847b$var$prerelease;\n\n});\n\nparcelRequire.register(\"95wpj\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\nconst $69ddb812af468500$var$compare = (a, b, loose)=>new $bWTSE(a, loose).compare(new $bWTSE(b, loose));\nmodule.exports = $69ddb812af468500$var$compare;\n\n});\n\nparcelRequire.register(\"ckMxz\", function(module, exports) {\n\nvar $95wpj = parcelRequire(\"95wpj\");\nconst $8fad0169d3ae6ff4$var$rcompare = (a, b, loose)=>$95wpj(b, a, loose);\nmodule.exports = $8fad0169d3ae6ff4$var$rcompare;\n\n});\n\nparcelRequire.register(\"1HbVF\", function(module, exports) {\n\nvar $95wpj = parcelRequire(\"95wpj\");\nconst $13c30f74dc9fa06b$var$compareLoose = (a, b)=>$95wpj(a, b, true);\nmodule.exports = $13c30f74dc9fa06b$var$compareLoose;\n\n});\n\nparcelRequire.register(\"i4oGu\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\nconst $d27bbf82cbf48db9$var$compareBuild = (a, b, loose)=>{\n const versionA = new $bWTSE(a, loose);\n const versionB = new $bWTSE(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $d27bbf82cbf48db9$var$compareBuild;\n\n});\n\nparcelRequire.register(\"lVqDa\", function(module, exports) {\n\nvar $i4oGu = parcelRequire(\"i4oGu\");\nconst $ff63942da2c18487$var$sort = (list, loose)=>list.sort((a, b)=>$i4oGu(a, b, loose));\nmodule.exports = $ff63942da2c18487$var$sort;\n\n});\n\nparcelRequire.register(\"lKlgP\", function(module, exports) {\n\nvar $i4oGu = parcelRequire(\"i4oGu\");\nconst $fd4e64b4cbf58a10$var$rsort = (list, loose)=>list.sort((a, b)=>$i4oGu(b, a, loose));\nmodule.exports = $fd4e64b4cbf58a10$var$rsort;\n\n});\n\nparcelRequire.register(\"PHT7O\", function(module, exports) {\n\nvar $95wpj = parcelRequire(\"95wpj\");\nconst $09b6ceccb45227ad$var$gt = (a, b, loose)=>$95wpj(a, b, loose) > 0;\nmodule.exports = $09b6ceccb45227ad$var$gt;\n\n});\n\nparcelRequire.register(\"3Ynk7\", function(module, exports) {\n\nvar $95wpj = parcelRequire(\"95wpj\");\nconst $2e4911429532ce6c$var$lt = (a, b, loose)=>$95wpj(a, b, loose) < 0;\nmodule.exports = $2e4911429532ce6c$var$lt;\n\n});\n\nparcelRequire.register(\"5AHRt\", function(module, exports) {\n\nvar $95wpj = parcelRequire(\"95wpj\");\nconst $4122567f9899657a$var$eq = (a, b, loose)=>$95wpj(a, b, loose) === 0;\nmodule.exports = $4122567f9899657a$var$eq;\n\n});\n\nparcelRequire.register(\"8Ocxq\", function(module, exports) {\n\nvar $95wpj = parcelRequire(\"95wpj\");\nconst $669cb810be05714a$var$neq = (a, b, loose)=>$95wpj(a, b, loose) !== 0;\nmodule.exports = $669cb810be05714a$var$neq;\n\n});\n\nparcelRequire.register(\"fVkWD\", function(module, exports) {\n\nvar $95wpj = parcelRequire(\"95wpj\");\nconst $b97c6d10789d6d3e$var$gte = (a, b, loose)=>$95wpj(a, b, loose) >= 0;\nmodule.exports = $b97c6d10789d6d3e$var$gte;\n\n});\n\nparcelRequire.register(\"kUX5G\", function(module, exports) {\n\nvar $95wpj = parcelRequire(\"95wpj\");\nconst $f3a6dfc8b0592f38$var$lte = (a, b, loose)=>$95wpj(a, b, loose) <= 0;\nmodule.exports = $f3a6dfc8b0592f38$var$lte;\n\n});\n\nparcelRequire.register(\"fLBkd\", function(module, exports) {\n\nvar $5AHRt = parcelRequire(\"5AHRt\");\n\nvar $8Ocxq = parcelRequire(\"8Ocxq\");\n\nvar $PHT7O = parcelRequire(\"PHT7O\");\n\nvar $fVkWD = parcelRequire(\"fVkWD\");\n\nvar $3Ynk7 = parcelRequire(\"3Ynk7\");\n\nvar $kUX5G = parcelRequire(\"kUX5G\");\nconst $b7a832c8958ca342$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $5AHRt(a, b, loose);\n case \"!=\":\n return $8Ocxq(a, b, loose);\n case \">\":\n return $PHT7O(a, b, loose);\n case \">=\":\n return $fVkWD(a, b, loose);\n case \"<\":\n return $3Ynk7(a, b, loose);\n case \"<=\":\n return $kUX5G(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $b7a832c8958ca342$var$cmp;\n\n});\n\nparcelRequire.register(\"8bUR0\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\n\nvar $5dEvy = parcelRequire(\"5dEvy\");\n\nvar $9IVqy = parcelRequire(\"9IVqy\");\nvar $5f6b73d0875d517c$require$re = $9IVqy.safeRe;\nvar $5f6b73d0875d517c$require$t = $9IVqy.t;\nconst $5f6b73d0875d517c$var$coerce = (version, options)=>{\n if (version instanceof $bWTSE) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match($5f6b73d0875d517c$require$re[$5f6b73d0875d517c$require$t.COERCE]);\n else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next;\n while((next = $5f6b73d0875d517c$require$re[$5f6b73d0875d517c$require$t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n $5f6b73d0875d517c$require$re[$5f6b73d0875d517c$require$t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n $5f6b73d0875d517c$require$re[$5f6b73d0875d517c$require$t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return $5dEvy(`${match[2]}.${match[3] || \"0\"}.${match[4] || \"0\"}`, options);\n};\nmodule.exports = $5f6b73d0875d517c$var$coerce;\n\n});\n\nparcelRequire.register(\"hruVm\", function(module, exports) {\nconst $cb2cf22e900962a4$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $cb2cf22e900962a4$var$Comparator {\n static get ANY() {\n return $cb2cf22e900962a4$var$ANY;\n }\n constructor(comp, options){\n options = $g9Vla(options);\n if (comp instanceof $cb2cf22e900962a4$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $7fNiu(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $cb2cf22e900962a4$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $7fNiu(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $cb2cf22e900962a4$require$re[$cb2cf22e900962a4$require$t.COMPARATORLOOSE] : $cb2cf22e900962a4$require$re[$cb2cf22e900962a4$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $cb2cf22e900962a4$var$ANY;\n else this.semver = new $bWTSE(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $7fNiu(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $cb2cf22e900962a4$var$ANY || version === $cb2cf22e900962a4$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $bWTSE(version, this.options);\n } catch (er) {\n return false;\n }\n return $fLBkd(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $cb2cf22e900962a4$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $cEyzh(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $cEyzh(this.value, options).test(comp.semver);\n }\n options = $g9Vla(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($fLBkd(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($fLBkd(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $cb2cf22e900962a4$var$Comparator;\n\nvar $g9Vla = parcelRequire(\"g9Vla\");\n\nvar $9IVqy = parcelRequire(\"9IVqy\");\nvar $cb2cf22e900962a4$require$re = $9IVqy.safeRe;\nvar $cb2cf22e900962a4$require$t = $9IVqy.t;\n\nvar $fLBkd = parcelRequire(\"fLBkd\");\n\nvar $7fNiu = parcelRequire(\"7fNiu\");\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\n\n});\nparcelRequire.register(\"cEyzh\", function(module, exports) {\n// hoisted class for cyclic dependency\nclass $936408f3ee6b1d6e$var$Range {\n constructor(range, options){\n options = $g9Vla(options);\n if (range instanceof $936408f3ee6b1d6e$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $936408f3ee6b1d6e$var$Range(range.raw, options);\n }\n if (range instanceof $hruVm) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.format();\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r))// throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter((c)=>c.length);\n if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0];\n this.set = this.set.filter((c)=>!$936408f3ee6b1d6e$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\n else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set)if (c.length === 1 && $936408f3ee6b1d6e$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.format();\n }\n format() {\n this.range = this.set.map((comps)=>comps.join(\" \").trim()).join(\"||\").trim();\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $936408f3ee6b1d6e$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $936408f3ee6b1d6e$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $936408f3ee6b1d6e$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.HYPHENRANGELOOSE] : $936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.HYPHENRANGE];\n range = range.replace(hr, $936408f3ee6b1d6e$var$hyphenReplace(this.options.includePrerelease));\n $7fNiu(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.COMPARATORTRIM], $936408f3ee6b1d6e$require$comparatorTrimReplace);\n $7fNiu(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.TILDETRIM], $936408f3ee6b1d6e$require$tildeTrimReplace);\n $7fNiu(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.CARETTRIM], $936408f3ee6b1d6e$require$caretTrimReplace);\n $7fNiu(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$936408f3ee6b1d6e$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$936408f3ee6b1d6e$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $7fNiu(\"loose invalid filter\", comp, this.options);\n return !!comp.match($936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.COMPARATORLOOSE]);\n });\n $7fNiu(\"range list\", rangeList);\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map();\n const comparators = rangeList.map((comp)=>new $hruVm(comp, this.options));\n for (const comp of comparators){\n if ($936408f3ee6b1d6e$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $936408f3ee6b1d6e$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $936408f3ee6b1d6e$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $936408f3ee6b1d6e$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $936408f3ee6b1d6e$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $bWTSE(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($936408f3ee6b1d6e$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $936408f3ee6b1d6e$var$Range;\n\nvar $7re4a = parcelRequire(\"7re4a\");\nconst $936408f3ee6b1d6e$var$cache = new $7re4a({\n max: 1000\n});\n\nvar $g9Vla = parcelRequire(\"g9Vla\");\n\nvar $hruVm = parcelRequire(\"hruVm\");\n\nvar $7fNiu = parcelRequire(\"7fNiu\");\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\n\nvar $9IVqy = parcelRequire(\"9IVqy\");\nvar $936408f3ee6b1d6e$require$re = $9IVqy.safeRe;\nvar $936408f3ee6b1d6e$require$t = $9IVqy.t;\nvar $936408f3ee6b1d6e$require$comparatorTrimReplace = $9IVqy.comparatorTrimReplace;\nvar $936408f3ee6b1d6e$require$tildeTrimReplace = $9IVqy.tildeTrimReplace;\nvar $936408f3ee6b1d6e$require$caretTrimReplace = $9IVqy.caretTrimReplace;\n\nvar $UHba5 = parcelRequire(\"UHba5\");\nvar $936408f3ee6b1d6e$require$FLAG_INCLUDE_PRERELEASE = $UHba5.FLAG_INCLUDE_PRERELEASE;\nvar $936408f3ee6b1d6e$require$FLAG_LOOSE = $UHba5.FLAG_LOOSE;\nconst $936408f3ee6b1d6e$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $936408f3ee6b1d6e$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $936408f3ee6b1d6e$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n};\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst $936408f3ee6b1d6e$var$parseComparator = (comp, options)=>{\n $7fNiu(\"comp\", comp, options);\n comp = $936408f3ee6b1d6e$var$replaceCarets(comp, options);\n $7fNiu(\"caret\", comp);\n comp = $936408f3ee6b1d6e$var$replaceTildes(comp, options);\n $7fNiu(\"tildes\", comp);\n comp = $936408f3ee6b1d6e$var$replaceXRanges(comp, options);\n $7fNiu(\"xrange\", comp);\n comp = $936408f3ee6b1d6e$var$replaceStars(comp, options);\n $7fNiu(\"stars\", comp);\n return comp;\n};\nconst $936408f3ee6b1d6e$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $936408f3ee6b1d6e$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$936408f3ee6b1d6e$var$replaceTilde(c, options)).join(\" \");\n};\nconst $936408f3ee6b1d6e$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.TILDELOOSE] : $936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $7fNiu(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($936408f3ee6b1d6e$var$isX(M)) ret = \"\";\n else if ($936408f3ee6b1d6e$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($936408f3ee6b1d6e$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $7fNiu(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $7fNiu(\"tilde return\", ret);\n return ret;\n });\n};\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $936408f3ee6b1d6e$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$936408f3ee6b1d6e$var$replaceCaret(c, options)).join(\" \");\n};\nconst $936408f3ee6b1d6e$var$replaceCaret = (comp, options)=>{\n $7fNiu(\"caret\", comp, options);\n const r = options.loose ? $936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.CARETLOOSE] : $936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $7fNiu(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($936408f3ee6b1d6e$var$isX(M)) ret = \"\";\n else if ($936408f3ee6b1d6e$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($936408f3ee6b1d6e$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $7fNiu(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $7fNiu(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $7fNiu(\"caret return\", ret);\n return ret;\n });\n};\nconst $936408f3ee6b1d6e$var$replaceXRanges = (comp, options)=>{\n $7fNiu(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$936408f3ee6b1d6e$var$replaceXRange(c, options)).join(\" \");\n};\nconst $936408f3ee6b1d6e$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.XRANGELOOSE] : $936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $7fNiu(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $936408f3ee6b1d6e$var$isX(M);\n const xm = xM || $936408f3ee6b1d6e$var$isX(m);\n const xp = xm || $936408f3ee6b1d6e$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? \"-0\" : \"\";\n if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = \">=\";\n if (xm) {\n M = +M + 1;\n m = 0;\n p = 0;\n } else {\n m = +m + 1;\n p = 0;\n }\n } else if (gtlt === \"<=\") {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = \"<\";\n if (xm) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $7fNiu(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $936408f3ee6b1d6e$var$replaceStars = (comp, options)=>{\n $7fNiu(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($936408f3ee6b1d6e$require$re[$936408f3ee6b1d6e$require$t.STAR], \"\");\n};\nconst $936408f3ee6b1d6e$var$replaceGTE0 = (comp, options)=>{\n $7fNiu(\"replaceGTE0\", comp, options);\n return comp.trim().replace($936408f3ee6b1d6e$require$re[options.includePrerelease ? $936408f3ee6b1d6e$require$t.GTE0PRE : $936408f3ee6b1d6e$require$t.GTE0], \"\");\n};\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst $936408f3ee6b1d6e$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb)=>{\n if ($936408f3ee6b1d6e$var$isX(fM)) from = \"\";\n else if ($936408f3ee6b1d6e$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($936408f3ee6b1d6e$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($936408f3ee6b1d6e$var$isX(tM)) to = \"\";\n else if ($936408f3ee6b1d6e$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($936408f3ee6b1d6e$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $936408f3ee6b1d6e$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\n }\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for(let i = 0; i < set.length; i++){\n $7fNiu(set[i].semver);\n if (set[i].semver === $hruVm.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRequire.register(\"7re4a\", function(module, exports) {\n\"use strict\";\n\nvar $c74VM = parcelRequire(\"c74VM\");\nconst $56a5f749c36676f0$var$MAX = Symbol(\"max\");\nconst $56a5f749c36676f0$var$LENGTH = Symbol(\"length\");\nconst $56a5f749c36676f0$var$LENGTH_CALCULATOR = Symbol(\"lengthCalculator\");\nconst $56a5f749c36676f0$var$ALLOW_STALE = Symbol(\"allowStale\");\nconst $56a5f749c36676f0$var$MAX_AGE = Symbol(\"maxAge\");\nconst $56a5f749c36676f0$var$DISPOSE = Symbol(\"dispose\");\nconst $56a5f749c36676f0$var$NO_DISPOSE_ON_SET = Symbol(\"noDisposeOnSet\");\nconst $56a5f749c36676f0$var$LRU_LIST = Symbol(\"lruList\");\nconst $56a5f749c36676f0$var$CACHE = Symbol(\"cache\");\nconst $56a5f749c36676f0$var$UPDATE_AGE_ON_GET = Symbol(\"updateAgeOnGet\");\nconst $56a5f749c36676f0$var$naiveLength = ()=>1;\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass $56a5f749c36676f0$var$LRUCache {\n constructor(options){\n if (typeof options === \"number\") options = {\n max: options\n };\n if (!options) options = {};\n if (options.max && (typeof options.max !== \"number\" || options.max < 0)) throw new TypeError(\"max must be a non-negative number\");\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[$56a5f749c36676f0$var$MAX] = options.max || Infinity;\n const lc = options.length || $56a5f749c36676f0$var$naiveLength;\n this[$56a5f749c36676f0$var$LENGTH_CALCULATOR] = typeof lc !== \"function\" ? $56a5f749c36676f0$var$naiveLength : lc;\n this[$56a5f749c36676f0$var$ALLOW_STALE] = options.stale || false;\n if (options.maxAge && typeof options.maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n this[$56a5f749c36676f0$var$MAX_AGE] = options.maxAge || 0;\n this[$56a5f749c36676f0$var$DISPOSE] = options.dispose;\n this[$56a5f749c36676f0$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;\n this[$56a5f749c36676f0$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;\n this.reset();\n }\n // resize the cache when the max changes.\n set max(mL) {\n if (typeof mL !== \"number\" || mL < 0) throw new TypeError(\"max must be a non-negative number\");\n this[$56a5f749c36676f0$var$MAX] = mL || Infinity;\n $56a5f749c36676f0$var$trim(this);\n }\n get max() {\n return this[$56a5f749c36676f0$var$MAX];\n }\n set allowStale(allowStale) {\n this[$56a5f749c36676f0$var$ALLOW_STALE] = !!allowStale;\n }\n get allowStale() {\n return this[$56a5f749c36676f0$var$ALLOW_STALE];\n }\n set maxAge(mA) {\n if (typeof mA !== \"number\") throw new TypeError(\"maxAge must be a non-negative number\");\n this[$56a5f749c36676f0$var$MAX_AGE] = mA;\n $56a5f749c36676f0$var$trim(this);\n }\n get maxAge() {\n return this[$56a5f749c36676f0$var$MAX_AGE];\n }\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator(lC) {\n if (typeof lC !== \"function\") lC = $56a5f749c36676f0$var$naiveLength;\n if (lC !== this[$56a5f749c36676f0$var$LENGTH_CALCULATOR]) {\n this[$56a5f749c36676f0$var$LENGTH_CALCULATOR] = lC;\n this[$56a5f749c36676f0$var$LENGTH] = 0;\n this[$56a5f749c36676f0$var$LRU_LIST].forEach((hit)=>{\n hit.length = this[$56a5f749c36676f0$var$LENGTH_CALCULATOR](hit.value, hit.key);\n this[$56a5f749c36676f0$var$LENGTH] += hit.length;\n });\n }\n $56a5f749c36676f0$var$trim(this);\n }\n get lengthCalculator() {\n return this[$56a5f749c36676f0$var$LENGTH_CALCULATOR];\n }\n get length() {\n return this[$56a5f749c36676f0$var$LENGTH];\n }\n get itemCount() {\n return this[$56a5f749c36676f0$var$LRU_LIST].length;\n }\n rforEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$56a5f749c36676f0$var$LRU_LIST].tail; walker !== null;){\n const prev = walker.prev;\n $56a5f749c36676f0$var$forEachStep(this, fn, walker, thisp);\n walker = prev;\n }\n }\n forEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$56a5f749c36676f0$var$LRU_LIST].head; walker !== null;){\n const next = walker.next;\n $56a5f749c36676f0$var$forEachStep(this, fn, walker, thisp);\n walker = next;\n }\n }\n keys() {\n return this[$56a5f749c36676f0$var$LRU_LIST].toArray().map((k)=>k.key);\n }\n values() {\n return this[$56a5f749c36676f0$var$LRU_LIST].toArray().map((k)=>k.value);\n }\n reset() {\n if (this[$56a5f749c36676f0$var$DISPOSE] && this[$56a5f749c36676f0$var$LRU_LIST] && this[$56a5f749c36676f0$var$LRU_LIST].length) this[$56a5f749c36676f0$var$LRU_LIST].forEach((hit)=>this[$56a5f749c36676f0$var$DISPOSE](hit.key, hit.value));\n this[$56a5f749c36676f0$var$CACHE] = new Map() // hash of items by key\n ;\n this[$56a5f749c36676f0$var$LRU_LIST] = new $c74VM() // list of items in order of use recency\n ;\n this[$56a5f749c36676f0$var$LENGTH] = 0 // length of items in the list\n ;\n }\n dump() {\n return this[$56a5f749c36676f0$var$LRU_LIST].map((hit)=>$56a5f749c36676f0$var$isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter((h)=>h);\n }\n dumpLru() {\n return this[$56a5f749c36676f0$var$LRU_LIST];\n }\n set(key, value, maxAge) {\n maxAge = maxAge || this[$56a5f749c36676f0$var$MAX_AGE];\n if (maxAge && typeof maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n const now = maxAge ? Date.now() : 0;\n const len = this[$56a5f749c36676f0$var$LENGTH_CALCULATOR](value, key);\n if (this[$56a5f749c36676f0$var$CACHE].has(key)) {\n if (len > this[$56a5f749c36676f0$var$MAX]) {\n $56a5f749c36676f0$var$del(this, this[$56a5f749c36676f0$var$CACHE].get(key));\n return false;\n }\n const node = this[$56a5f749c36676f0$var$CACHE].get(key);\n const item = node.value;\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[$56a5f749c36676f0$var$DISPOSE]) {\n if (!this[$56a5f749c36676f0$var$NO_DISPOSE_ON_SET]) this[$56a5f749c36676f0$var$DISPOSE](key, item.value);\n }\n item.now = now;\n item.maxAge = maxAge;\n item.value = value;\n this[$56a5f749c36676f0$var$LENGTH] += len - item.length;\n item.length = len;\n this.get(key);\n $56a5f749c36676f0$var$trim(this);\n return true;\n }\n const hit = new $56a5f749c36676f0$var$Entry(key, value, len, now, maxAge);\n // oversized objects fall out of cache automatically.\n if (hit.length > this[$56a5f749c36676f0$var$MAX]) {\n if (this[$56a5f749c36676f0$var$DISPOSE]) this[$56a5f749c36676f0$var$DISPOSE](key, value);\n return false;\n }\n this[$56a5f749c36676f0$var$LENGTH] += hit.length;\n this[$56a5f749c36676f0$var$LRU_LIST].unshift(hit);\n this[$56a5f749c36676f0$var$CACHE].set(key, this[$56a5f749c36676f0$var$LRU_LIST].head);\n $56a5f749c36676f0$var$trim(this);\n return true;\n }\n has(key) {\n if (!this[$56a5f749c36676f0$var$CACHE].has(key)) return false;\n const hit = this[$56a5f749c36676f0$var$CACHE].get(key).value;\n return !$56a5f749c36676f0$var$isStale(this, hit);\n }\n get(key) {\n return $56a5f749c36676f0$var$get(this, key, true);\n }\n peek(key) {\n return $56a5f749c36676f0$var$get(this, key, false);\n }\n pop() {\n const node = this[$56a5f749c36676f0$var$LRU_LIST].tail;\n if (!node) return null;\n $56a5f749c36676f0$var$del(this, node);\n return node.value;\n }\n del(key) {\n $56a5f749c36676f0$var$del(this, this[$56a5f749c36676f0$var$CACHE].get(key));\n }\n load(arr) {\n // reset the cache\n this.reset();\n const now = Date.now();\n // A previous serialized cache has the most recent items first\n for(let l = arr.length - 1; l >= 0; l--){\n const hit = arr[l];\n const expiresAt = hit.e || 0;\n if (expiresAt === 0) // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v);\n else {\n const maxAge = expiresAt - now;\n // dont add already expired items\n if (maxAge > 0) this.set(hit.k, hit.v, maxAge);\n }\n }\n }\n prune() {\n this[$56a5f749c36676f0$var$CACHE].forEach((value, key)=>$56a5f749c36676f0$var$get(this, key, false));\n }\n}\nconst $56a5f749c36676f0$var$get = (self, key, doUse)=>{\n const node = self[$56a5f749c36676f0$var$CACHE].get(key);\n if (node) {\n const hit = node.value;\n if ($56a5f749c36676f0$var$isStale(self, hit)) {\n $56a5f749c36676f0$var$del(self, node);\n if (!self[$56a5f749c36676f0$var$ALLOW_STALE]) return undefined;\n } else if (doUse) {\n if (self[$56a5f749c36676f0$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();\n self[$56a5f749c36676f0$var$LRU_LIST].unshiftNode(node);\n }\n return hit.value;\n }\n};\nconst $56a5f749c36676f0$var$isStale = (self, hit)=>{\n if (!hit || !hit.maxAge && !self[$56a5f749c36676f0$var$MAX_AGE]) return false;\n const diff = Date.now() - hit.now;\n return hit.maxAge ? diff > hit.maxAge : self[$56a5f749c36676f0$var$MAX_AGE] && diff > self[$56a5f749c36676f0$var$MAX_AGE];\n};\nconst $56a5f749c36676f0$var$trim = (self)=>{\n if (self[$56a5f749c36676f0$var$LENGTH] > self[$56a5f749c36676f0$var$MAX]) for(let walker = self[$56a5f749c36676f0$var$LRU_LIST].tail; self[$56a5f749c36676f0$var$LENGTH] > self[$56a5f749c36676f0$var$MAX] && walker !== null;){\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev;\n $56a5f749c36676f0$var$del(self, walker);\n walker = prev;\n }\n};\nconst $56a5f749c36676f0$var$del = (self, node)=>{\n if (node) {\n const hit = node.value;\n if (self[$56a5f749c36676f0$var$DISPOSE]) self[$56a5f749c36676f0$var$DISPOSE](hit.key, hit.value);\n self[$56a5f749c36676f0$var$LENGTH] -= hit.length;\n self[$56a5f749c36676f0$var$CACHE].delete(hit.key);\n self[$56a5f749c36676f0$var$LRU_LIST].removeNode(node);\n }\n};\nclass $56a5f749c36676f0$var$Entry {\n constructor(key, value, length, now, maxAge){\n this.key = key;\n this.value = value;\n this.length = length;\n this.now = now;\n this.maxAge = maxAge || 0;\n }\n}\nconst $56a5f749c36676f0$var$forEachStep = (self, fn, node, thisp)=>{\n let hit = node.value;\n if ($56a5f749c36676f0$var$isStale(self, hit)) {\n $56a5f749c36676f0$var$del(self, node);\n if (!self[$56a5f749c36676f0$var$ALLOW_STALE]) hit = undefined;\n }\n if (hit) fn.call(thisp, hit.value, hit.key, self);\n};\nmodule.exports = $56a5f749c36676f0$var$LRUCache;\n\n});\nparcelRequire.register(\"c74VM\", function(module, exports) {\n\"use strict\";\nmodule.exports = $8d19f6ac3d5912f1$var$Yallist;\n$8d19f6ac3d5912f1$var$Yallist.Node = $8d19f6ac3d5912f1$var$Node;\n$8d19f6ac3d5912f1$var$Yallist.create = $8d19f6ac3d5912f1$var$Yallist;\nfunction $8d19f6ac3d5912f1$var$Yallist(list) {\n var self = this;\n if (!(self instanceof $8d19f6ac3d5912f1$var$Yallist)) self = new $8d19f6ac3d5912f1$var$Yallist();\n self.tail = null;\n self.head = null;\n self.length = 0;\n if (list && typeof list.forEach === \"function\") list.forEach(function(item) {\n self.push(item);\n });\n else if (arguments.length > 0) for(var i = 0, l = arguments.length; i < l; i++)self.push(arguments[i]);\n return self;\n}\n$8d19f6ac3d5912f1$var$Yallist.prototype.removeNode = function(node) {\n if (node.list !== this) throw new Error(\"removing node which does not belong to this list\");\n var next = node.next;\n var prev = node.prev;\n if (next) next.prev = prev;\n if (prev) prev.next = next;\n if (node === this.head) this.head = next;\n if (node === this.tail) this.tail = prev;\n node.list.length--;\n node.next = null;\n node.prev = null;\n node.list = null;\n return next;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.unshiftNode = function(node) {\n if (node === this.head) return;\n if (node.list) node.list.removeNode(node);\n var head = this.head;\n node.list = this;\n node.next = head;\n if (head) head.prev = node;\n this.head = node;\n if (!this.tail) this.tail = node;\n this.length++;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.pushNode = function(node) {\n if (node === this.tail) return;\n if (node.list) node.list.removeNode(node);\n var tail = this.tail;\n node.list = this;\n node.prev = tail;\n if (tail) tail.next = node;\n this.tail = node;\n if (!this.head) this.head = node;\n this.length++;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.push = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$8d19f6ac3d5912f1$var$push(this, arguments[i]);\n return this.length;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.unshift = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$8d19f6ac3d5912f1$var$unshift(this, arguments[i]);\n return this.length;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.pop = function() {\n if (!this.tail) return undefined;\n var res = this.tail.value;\n this.tail = this.tail.prev;\n if (this.tail) this.tail.next = null;\n else this.head = null;\n this.length--;\n return res;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.shift = function() {\n if (!this.head) return undefined;\n var res = this.head.value;\n this.head = this.head.next;\n if (this.head) this.head.prev = null;\n else this.tail = null;\n this.length--;\n return res;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.forEach = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.head, i = 0; walker !== null; i++){\n fn.call(thisp, walker.value, i, this);\n walker = walker.next;\n }\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.forEachReverse = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.tail, i = this.length - 1; walker !== null; i--){\n fn.call(thisp, walker.value, i, this);\n walker = walker.prev;\n }\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.get = function(n) {\n for(var i = 0, walker = this.head; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.next;\n if (i === n && walker !== null) return walker.value;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.getReverse = function(n) {\n for(var i = 0, walker = this.tail; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.prev;\n if (i === n && walker !== null) return walker.value;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.map = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $8d19f6ac3d5912f1$var$Yallist();\n for(var walker = this.head; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.next;\n }\n return res;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.mapReverse = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $8d19f6ac3d5912f1$var$Yallist();\n for(var walker = this.tail; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.prev;\n }\n return res;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.reduce = function(fn, initial) {\n var acc;\n var walker = this.head;\n if (arguments.length > 1) acc = initial;\n else if (this.head) {\n walker = this.head.next;\n acc = this.head.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = 0; walker !== null; i++){\n acc = fn(acc, walker.value, i);\n walker = walker.next;\n }\n return acc;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.reduceReverse = function(fn, initial) {\n var acc;\n var walker = this.tail;\n if (arguments.length > 1) acc = initial;\n else if (this.tail) {\n walker = this.tail.prev;\n acc = this.tail.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = this.length - 1; walker !== null; i--){\n acc = fn(acc, walker.value, i);\n walker = walker.prev;\n }\n return acc;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.toArray = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.head; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.next;\n }\n return arr;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.toArrayReverse = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.tail; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.prev;\n }\n return arr;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.slice = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $8d19f6ac3d5912f1$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = 0, walker = this.head; walker !== null && i < from; i++)walker = walker.next;\n for(; walker !== null && i < to; i++, walker = walker.next)ret.push(walker.value);\n return ret;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.sliceReverse = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $8d19f6ac3d5912f1$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = this.length, walker = this.tail; walker !== null && i > to; i--)walker = walker.prev;\n for(; walker !== null && i > from; i--, walker = walker.prev)ret.push(walker.value);\n return ret;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {\n if (start > this.length) start = this.length - 1;\n if (start < 0) start = this.length + start;\n for(var i = 0, walker = this.head; walker !== null && i < start; i++)walker = walker.next;\n var ret = [];\n for(var i = 0; walker && i < deleteCount; i++){\n ret.push(walker.value);\n walker = this.removeNode(walker);\n }\n if (walker === null) walker = this.tail;\n if (walker !== this.head && walker !== this.tail) walker = walker.prev;\n for(var i = 0; i < nodes.length; i++)walker = $8d19f6ac3d5912f1$var$insert(this, walker, nodes[i]);\n return ret;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.reverse = function() {\n var head = this.head;\n var tail = this.tail;\n for(var walker = head; walker !== null; walker = walker.prev){\n var p = walker.prev;\n walker.prev = walker.next;\n walker.next = p;\n }\n this.head = tail;\n this.tail = head;\n return this;\n};\nfunction $8d19f6ac3d5912f1$var$insert(self, node, value) {\n var inserted = node === self.head ? new $8d19f6ac3d5912f1$var$Node(value, null, node, self) : new $8d19f6ac3d5912f1$var$Node(value, node, node.next, self);\n if (inserted.next === null) self.tail = inserted;\n if (inserted.prev === null) self.head = inserted;\n self.length++;\n return inserted;\n}\nfunction $8d19f6ac3d5912f1$var$push(self, item) {\n self.tail = new $8d19f6ac3d5912f1$var$Node(item, self.tail, null, self);\n if (!self.head) self.head = self.tail;\n self.length++;\n}\nfunction $8d19f6ac3d5912f1$var$unshift(self, item) {\n self.head = new $8d19f6ac3d5912f1$var$Node(item, null, self.head, self);\n if (!self.tail) self.tail = self.head;\n self.length++;\n}\nfunction $8d19f6ac3d5912f1$var$Node(value, prev, next, list) {\n if (!(this instanceof $8d19f6ac3d5912f1$var$Node)) return new $8d19f6ac3d5912f1$var$Node(value, prev, next, list);\n this.list = list;\n this.value = value;\n if (prev) {\n prev.next = this;\n this.prev = prev;\n } else this.prev = null;\n if (next) {\n next.prev = this;\n this.next = next;\n } else this.next = null;\n}\n\ntry {\n // add if support for Symbol.iterator is present\n (parcelRequire(\"eKYkK\"))($8d19f6ac3d5912f1$var$Yallist);\n} catch (er) {}\n\n});\nparcelRequire.register(\"eKYkK\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(Yallist) {\n Yallist.prototype[Symbol.iterator] = function*() {\n for(let walker = this.head; walker; walker = walker.next)yield walker.value;\n };\n};\n\n});\n\n\n\n\n\nparcelRequire.register(\"e0QXK\", function(module, exports) {\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\nconst $a33a26122c5c4c3b$var$satisfies = (version, range, options)=>{\n try {\n range = new $cEyzh(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $a33a26122c5c4c3b$var$satisfies;\n\n});\n\nparcelRequire.register(\"iigPe\", function(module, exports) {\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\n// Mostly just for testing and legacy API reasons\nconst $d516f5930faf1c24$var$toComparators = (range, options)=>new $cEyzh(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $d516f5930faf1c24$var$toComparators;\n\n});\n\nparcelRequire.register(\"5WuDr\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\nconst $453a220e35fc5b38$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $cEyzh(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $bWTSE(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $453a220e35fc5b38$var$maxSatisfying;\n\n});\n\nparcelRequire.register(\"6IKG8\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\nconst $4e4b0f8f4c6d8741$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $cEyzh(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $bWTSE(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $4e4b0f8f4c6d8741$var$minSatisfying;\n\n});\n\nparcelRequire.register(\"1OrZn\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\n\nvar $PHT7O = parcelRequire(\"PHT7O\");\nconst $15202bf8b9e2734e$var$minVersion = (range, loose)=>{\n range = new $cEyzh(range, loose);\n let minver = new $bWTSE(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $bWTSE(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $bWTSE(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $PHT7O(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $PHT7O(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $15202bf8b9e2734e$var$minVersion;\n\n});\n\nparcelRequire.register(\"4DKgK\", function(module, exports) {\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\nconst $360eb2023d18ff25$var$validRange = (range, options)=>{\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new $cEyzh(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $360eb2023d18ff25$var$validRange;\n\n});\n\nparcelRequire.register(\"DdbuN\", function(module, exports) {\n\nvar $bWTSE = parcelRequire(\"bWTSE\");\n\nvar $hruVm = parcelRequire(\"hruVm\");\nconst { ANY: $075ddec86e10c6e7$var$ANY } = $hruVm;\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\n\nvar $e0QXK = parcelRequire(\"e0QXK\");\n\nvar $PHT7O = parcelRequire(\"PHT7O\");\n\nvar $3Ynk7 = parcelRequire(\"3Ynk7\");\n\nvar $kUX5G = parcelRequire(\"kUX5G\");\n\nvar $fVkWD = parcelRequire(\"fVkWD\");\nconst $075ddec86e10c6e7$var$outside = (version, range, hilo, options)=>{\n version = new $bWTSE(version, options);\n range = new $cEyzh(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $PHT7O;\n ltefn = $kUX5G;\n ltfn = $3Ynk7;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $3Ynk7;\n ltefn = $fVkWD;\n ltfn = $PHT7O;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($e0QXK(version, range, options)) return false;\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $075ddec86e10c6e7$var$ANY) comparator = new $hruVm(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\n });\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) return false;\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $075ddec86e10c6e7$var$outside;\n\n});\n\nparcelRequire.register(\"ck07n\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $DdbuN = parcelRequire(\"DdbuN\");\nconst $8f8771b9ab9a2ee2$var$gtr = (version, range, options)=>$DdbuN(version, range, \">\", options);\nmodule.exports = $8f8771b9ab9a2ee2$var$gtr;\n\n});\n\nparcelRequire.register(\"hChct\", function(module, exports) {\n\nvar $DdbuN = parcelRequire(\"DdbuN\");\n// Determine if version is less than all the versions possible in the range\nconst $cd3353e4a62a9a6f$var$ltr = (version, range, options)=>$DdbuN(version, range, \"<\", options);\nmodule.exports = $cd3353e4a62a9a6f$var$ltr;\n\n});\n\nparcelRequire.register(\"5zY3H\", function(module, exports) {\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\nconst $40fecf0d6f509bd8$var$intersects = (r1, r2, options)=>{\n r1 = new $cEyzh(r1, options);\n r2 = new $cEyzh(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $40fecf0d6f509bd8$var$intersects;\n\n});\n\nparcelRequire.register(\"e6lC5\", function(module, exports) {\n// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\n\nvar $e0QXK = parcelRequire(\"e0QXK\");\n\nvar $95wpj = parcelRequire(\"95wpj\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$95wpj(a, b, options));\n for (const version of v){\n const included = $e0QXK(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else ranges.push(`${min} - ${max}`);\n }\n const simplified = ranges.join(\" || \");\n const original = typeof range.raw === \"string\" ? range.raw : String(range);\n return simplified.length < original.length ? simplified : range;\n};\n\n});\n\nparcelRequire.register(\"73e5U\", function(module, exports) {\n\nvar $cEyzh = parcelRequire(\"cEyzh\");\n\nvar $hruVm = parcelRequire(\"hruVm\");\nconst { ANY: $5223bf0752af5aa9$var$ANY } = $hruVm;\n\nvar $e0QXK = parcelRequire(\"e0QXK\");\n\nvar $95wpj = parcelRequire(\"95wpj\");\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\nconst $5223bf0752af5aa9$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $cEyzh(sub, options);\n dom = new $cEyzh(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $5223bf0752af5aa9$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) continue OUTER;\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) return false;\n }\n return true;\n};\nconst $5223bf0752af5aa9$var$minimumVersionWithPreRelease = [\n new $hruVm(\">=0.0.0-0\")\n];\nconst $5223bf0752af5aa9$var$minimumVersion = [\n new $hruVm(\">=0.0.0\")\n];\nconst $5223bf0752af5aa9$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $5223bf0752af5aa9$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $5223bf0752af5aa9$var$ANY) return true;\n else if (options.includePrerelease) sub = $5223bf0752af5aa9$var$minimumVersionWithPreRelease;\n else sub = $5223bf0752af5aa9$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $5223bf0752af5aa9$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $5223bf0752af5aa9$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $5223bf0752af5aa9$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $5223bf0752af5aa9$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $95wpj(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$e0QXK(eq, String(gt), options)) return null;\n if (lt && !$e0QXK(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$e0QXK(eq, String(c), options)) return false;\n }\n return true;\n }\n let higher, lower;\n let hasDomLT, hasDomGT;\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\n for (const c of dom){\n hasDomGT = hasDomGT || c.operator === \">\" || c.operator === \">=\";\n hasDomLT = hasDomLT || c.operator === \"<\" || c.operator === \"<=\";\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $5223bf0752af5aa9$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$e0QXK(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $5223bf0752af5aa9$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$e0QXK(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\n }\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $5223bf0752af5aa9$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $95wpj(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $5223bf0752af5aa9$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $95wpj(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $5223bf0752af5aa9$var$subset;\n\n});\n\n\nparcelRequire.register(\"i5trn\", function(module, exports) {\n\"use strict\";\nvar $d2af87e6e8d06ed8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $d2af87e6e8d06ed8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $d2af87e6e8d06ed8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $d2af87e6e8d06ed8$var$__createBinding(result, mod, k);\n }\n $d2af87e6e8d06ed8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $d2af87e6e8d06ed8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $gMlpL = parcelRequire(\"gMlpL\");\n\nvar $7kVRV = parcelRequire(\"7kVRV\");\n\nvar $9tsrd = parcelRequire(\"9tsrd\");\n\nconst $d2af87e6e8d06ed8$var$os = $d2af87e6e8d06ed8$var$__importStar($5KFgK$os);\n\nconst $d2af87e6e8d06ed8$var$path = $d2af87e6e8d06ed8$var$__importStar($5KFgK$path);\n\nvar $6dWjY = parcelRequire(\"6dWjY\");\n/**\n * The code to exit an action\n */ var $d2af87e6e8d06ed8$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($d2af87e6e8d06ed8$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $d2af87e6e8d06ed8$var$exportVariable(name, val) {\n const convertedVal = $9tsrd.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $7kVRV.issueFileCommand(\"ENV\", $7kVRV.prepareKeyValueMessage(name, val));\n $gMlpL.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $d2af87e6e8d06ed8$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $d2af87e6e8d06ed8$var$setSecret(secret) {\n $gMlpL.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $d2af87e6e8d06ed8$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $d2af87e6e8d06ed8$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $7kVRV.issueFileCommand(\"PATH\", inputPath);\n else $gMlpL.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$d2af87e6e8d06ed8$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $d2af87e6e8d06ed8$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $d2af87e6e8d06ed8$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $d2af87e6e8d06ed8$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $d2af87e6e8d06ed8$var$getMultilineInput(name, options) {\n const inputs = $d2af87e6e8d06ed8$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $d2af87e6e8d06ed8$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $d2af87e6e8d06ed8$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $d2af87e6e8d06ed8$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $d2af87e6e8d06ed8$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $d2af87e6e8d06ed8$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $7kVRV.issueFileCommand(\"OUTPUT\", $7kVRV.prepareKeyValueMessage(name, value));\n process.stdout.write($d2af87e6e8d06ed8$var$os.EOL);\n $gMlpL.issueCommand(\"set-output\", {\n name: name\n }, $9tsrd.toCommandValue(value));\n}\nmodule.exports.setOutput = $d2af87e6e8d06ed8$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $d2af87e6e8d06ed8$var$setCommandEcho(enabled) {\n $gMlpL.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $d2af87e6e8d06ed8$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $d2af87e6e8d06ed8$var$setFailed(message) {\n process.exitCode = $d2af87e6e8d06ed8$var$ExitCode.Failure;\n $d2af87e6e8d06ed8$var$error(message);\n}\nmodule.exports.setFailed = $d2af87e6e8d06ed8$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $d2af87e6e8d06ed8$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $d2af87e6e8d06ed8$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $d2af87e6e8d06ed8$var$debug(message) {\n $gMlpL.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $d2af87e6e8d06ed8$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $d2af87e6e8d06ed8$var$error(message, properties = {}) {\n $gMlpL.issueCommand(\"error\", $9tsrd.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $d2af87e6e8d06ed8$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $d2af87e6e8d06ed8$var$warning(message, properties = {}) {\n $gMlpL.issueCommand(\"warning\", $9tsrd.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $d2af87e6e8d06ed8$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $d2af87e6e8d06ed8$var$notice(message, properties = {}) {\n $gMlpL.issueCommand(\"notice\", $9tsrd.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $d2af87e6e8d06ed8$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $d2af87e6e8d06ed8$var$info(message) {\n process.stdout.write(message + $d2af87e6e8d06ed8$var$os.EOL);\n}\nmodule.exports.info = $d2af87e6e8d06ed8$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $d2af87e6e8d06ed8$var$startGroup(name) {\n $gMlpL.issue(\"group\", name);\n}\nmodule.exports.startGroup = $d2af87e6e8d06ed8$var$startGroup;\n/**\n * End an output group.\n */ function $d2af87e6e8d06ed8$var$endGroup() {\n $gMlpL.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $d2af87e6e8d06ed8$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $d2af87e6e8d06ed8$var$group(name, fn) {\n return $d2af87e6e8d06ed8$var$__awaiter(this, void 0, void 0, function*() {\n $d2af87e6e8d06ed8$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $d2af87e6e8d06ed8$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $d2af87e6e8d06ed8$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $d2af87e6e8d06ed8$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $7kVRV.issueFileCommand(\"STATE\", $7kVRV.prepareKeyValueMessage(name, value));\n $gMlpL.issueCommand(\"save-state\", {\n name: name\n }, $9tsrd.toCommandValue(value));\n}\nmodule.exports.saveState = $d2af87e6e8d06ed8$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $d2af87e6e8d06ed8$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $d2af87e6e8d06ed8$var$getState;\nfunction $d2af87e6e8d06ed8$var$getIDToken(aud) {\n return $d2af87e6e8d06ed8$var$__awaiter(this, void 0, void 0, function*() {\n return yield $6dWjY.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $d2af87e6e8d06ed8$var$getIDToken;\n\nvar $aYzS9 = parcelRequire(\"aYzS9\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $aYzS9.summary;\n }\n});\n\nvar $aYzS9 = parcelRequire(\"aYzS9\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $aYzS9.markdownSummary;\n }\n});\n\nvar $iGRwD = parcelRequire(\"iGRwD\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $iGRwD.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $iGRwD.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $iGRwD.toPlatformPath;\n }\n});\n\n});\nparcelRequire.register(\"gMlpL\", function(module, exports) {\n\"use strict\";\nvar $c371bd861ccfd3f1$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $c371bd861ccfd3f1$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $c371bd861ccfd3f1$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $c371bd861ccfd3f1$var$__createBinding(result, mod, k);\n }\n $c371bd861ccfd3f1$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $c371bd861ccfd3f1$var$os = $c371bd861ccfd3f1$var$__importStar($5KFgK$os);\n\nvar $9tsrd = parcelRequire(\"9tsrd\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $c371bd861ccfd3f1$var$issueCommand(command, properties, message) {\n const cmd = new $c371bd861ccfd3f1$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $c371bd861ccfd3f1$var$os.EOL);\n}\nmodule.exports.issueCommand = $c371bd861ccfd3f1$var$issueCommand;\nfunction $c371bd861ccfd3f1$var$issue(name, message = \"\") {\n $c371bd861ccfd3f1$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $c371bd861ccfd3f1$var$issue;\nconst $c371bd861ccfd3f1$var$CMD_STRING = \"::\";\nclass $c371bd861ccfd3f1$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $c371bd861ccfd3f1$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$c371bd861ccfd3f1$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$c371bd861ccfd3f1$var$CMD_STRING}${$c371bd861ccfd3f1$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $c371bd861ccfd3f1$var$escapeData(s) {\n return $9tsrd.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $c371bd861ccfd3f1$var$escapeProperty(s) {\n return $9tsrd.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRequire.register(\"9tsrd\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $6e5ce1a8c2d57f8c$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $6e5ce1a8c2d57f8c$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $6e5ce1a8c2d57f8c$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $6e5ce1a8c2d57f8c$var$toCommandProperties;\n\n});\n\n\nparcelRequire.register(\"7kVRV\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $55774a31bf7e3d67$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $55774a31bf7e3d67$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $55774a31bf7e3d67$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $55774a31bf7e3d67$var$__createBinding(result, mod, k);\n }\n $55774a31bf7e3d67$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $55774a31bf7e3d67$var$fs = $55774a31bf7e3d67$var$__importStar($5KFgK$fs);\n\nconst $55774a31bf7e3d67$var$os = $55774a31bf7e3d67$var$__importStar($5KFgK$os);\n\nvar $hZmcj = parcelRequire(\"hZmcj\");\n\nvar $9tsrd = parcelRequire(\"9tsrd\");\nfunction $55774a31bf7e3d67$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$55774a31bf7e3d67$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $55774a31bf7e3d67$var$fs.appendFileSync(filePath, `${$9tsrd.toCommandValue(message)}${$55774a31bf7e3d67$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $55774a31bf7e3d67$var$issueFileCommand;\nfunction $55774a31bf7e3d67$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$hZmcj.default()}`;\n const convertedValue = $9tsrd.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$55774a31bf7e3d67$var$os.EOL}${convertedValue}${$55774a31bf7e3d67$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $55774a31bf7e3d67$var$prepareKeyValueMessage;\n\n});\n\nparcelRequire.register(\"6dWjY\", function(module, exports) {\n\"use strict\";\nvar $48813258c02a96b7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $6xPYX = parcelRequire(\"6xPYX\");\n\nvar $gRdnl = parcelRequire(\"gRdnl\");\n\nvar $i5trn = parcelRequire(\"i5trn\");\nclass $48813258c02a96b7$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $6xPYX.HttpClient(\"actions/oidc-client\", [\n new $gRdnl.BearerCredentialHandler($48813258c02a96b7$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $48813258c02a96b7$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $48813258c02a96b7$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $48813258c02a96b7$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $48813258c02a96b7$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $i5trn.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $48813258c02a96b7$var$OidcClient.getCall(id_token_url);\n $i5trn.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $48813258c02a96b7$var$OidcClient;\n\n});\n\nparcelRequire.register(\"aYzS9\", function(module, exports) {\n\"use strict\";\nvar $7fdb557960f509b1$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $7fdb557960f509b1$var$access, appendFile: $7fdb557960f509b1$var$appendFile, writeFile: $7fdb557960f509b1$var$writeFile } = $5KFgK$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $7fdb557960f509b1$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $7fdb557960f509b1$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $7fdb557960f509b1$var$access(pathFromEnv, $5KFgK$fs.constants.R_OK | $5KFgK$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}</${tag}>`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise<Summary>} summary instance\n */ write(options) {\n return $7fdb557960f509b1$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $7fdb557960f509b1$var$writeFile : $7fdb557960f509b1$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $7fdb557960f509b1$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($5KFgK$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (<hr>) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (<br>) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $7fdb557960f509b1$var$_summary = new $7fdb557960f509b1$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $7fdb557960f509b1$var$_summary;\nmodule.exports.summary = $7fdb557960f509b1$var$_summary;\n\n});\n\nparcelRequire.register(\"iGRwD\", function(module, exports) {\n\"use strict\";\nvar $d9b5ab3cfca72500$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $d9b5ab3cfca72500$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $d9b5ab3cfca72500$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $d9b5ab3cfca72500$var$__createBinding(result, mod, k);\n }\n $d9b5ab3cfca72500$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $d9b5ab3cfca72500$var$path = $d9b5ab3cfca72500$var$__importStar($5KFgK$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $d9b5ab3cfca72500$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $d9b5ab3cfca72500$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $d9b5ab3cfca72500$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $d9b5ab3cfca72500$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $d9b5ab3cfca72500$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $d9b5ab3cfca72500$var$path.sep);\n}\nmodule.exports.toPlatformPath = $d9b5ab3cfca72500$var$toPlatformPath;\n\n});\n\n\nparcelRequire.register(\"eq4yW\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $80ef4f9dec652fe5$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $80ef4f9dec652fe5$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $80ef4f9dec652fe5$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $5KFgK$path.dirname);\n$parcel$export(module.exports, \"join\", () => $5KFgK$path.join);\n\n\nvar $3cGqJ = parcelRequire(\"3cGqJ\");\n\nvar $hf1mP = parcelRequire(\"hf1mP\");\nfunction $80ef4f9dec652fe5$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $80ef4f9dec652fe5$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $80ef4f9dec652fe5$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $5KFgK$path.basename)(e) : (0, $5KFgK$path.basename)(e, (0, $5KFgK$path.extname)(e));\n}\nfunction $80ef4f9dec652fe5$export$873fead74fe2f1ff(e) {\n return (0, $5KFgK$path.normalize)(e).replace(RegExp((0, $3cGqJ.default)((0, $5KFgK$path.sep)) + \"$\"), \"\");\n}\nfunction $80ef4f9dec652fe5$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $80ef4f9dec652fe5$export$3e333f8cb13439c(e, a) {\n const r = (0, $5KFgK$path.extname)(e), s = `${a}${(0, $5KFgK$path.basename)(e, r)}${r}`;\n return (0, $5KFgK$path.join)((0, $5KFgK$path.dirname)(e), s);\n}\nfunction $80ef4f9dec652fe5$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $5KFgK$path.extname)(e), s = `${(0, $5KFgK$path.basename)(e, r)}${a}${r}`;\n return (0, $5KFgK$path.join)((0, $5KFgK$path.dirname)(e), s);\n}\nfunction $80ef4f9dec652fe5$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $80ef4f9dec652fe5$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $80ef4f9dec652fe5$export$19c5468f88f6e968(e) {\n const a = (0, $5KFgK$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $80ef4f9dec652fe5$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($hf1mP)))(e, a);\n}\nfunction $80ef4f9dec652fe5$export$7d0573375890d05c(e, a) {\n const r = (0, $5KFgK$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $5KFgK$path.sep)) || r === (0, $5KFgK$path.resolve)(e));\n}\nvar $80ef4f9dec652fe5$var$O = {}, $80ef4f9dec652fe5$var$R = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$R, \"name\", ()=>$80ef4f9dec652fe5$export$a8ff84c12d48cfa6);\nvar $80ef4f9dec652fe5$var$A = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$A, \"normalizeTrim\", ()=>$80ef4f9dec652fe5$export$873fead74fe2f1ff);\nvar $80ef4f9dec652fe5$var$I = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$I, \"addExeExt\", ()=>$80ef4f9dec652fe5$export$2d20c564cade3c93);\nvar $80ef4f9dec652fe5$var$T = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$T, \"addNamePrefix\", ()=>$80ef4f9dec652fe5$export$3e333f8cb13439c);\nvar $80ef4f9dec652fe5$var$_ = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$_, \"addNameSuffix\", ()=>$80ef4f9dec652fe5$export$3b60a3e9bd1aef9d);\nvar $80ef4f9dec652fe5$var$k = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$k, \"addShExt\", ()=>$80ef4f9dec652fe5$export$609be29b80b555e1);\nvar $80ef4f9dec652fe5$var$M = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$M, \"addShRelativePrefix\", ()=>$80ef4f9dec652fe5$export$e1f23f8d3e53fe6);\nvar $80ef4f9dec652fe5$var$W = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$W, \"removeExt\", ()=>$80ef4f9dec652fe5$export$19c5468f88f6e968);\nvar $80ef4f9dec652fe5$var$q = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$q, \"replaceExt\", ()=>$80ef4f9dec652fe5$export$e9c34737ac8e53d2);\nvar $80ef4f9dec652fe5$var$B = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$B, \"isPathInside\", ()=>$80ef4f9dec652fe5$export$7d0573375890d05c), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$R), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$A), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$I), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$T), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$_), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$k), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$M), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$W), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$q), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$B);\n\n});\nparcelRequire.register(\"3cGqJ\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $255367cefa7c9949$export$2e2bcd8739ae039);\nfunction $255367cefa7c9949$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRequire.register(\"hf1mP\", function(module, exports) {\n\"use strict\";\n\nfunction $c8d4e5e53808513d$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $5KFgK$path.basename(npath, $5KFgK$path.extname(npath)) + ext;\n var nFilepath = $5KFgK$path.join($5KFgK$path.dirname(npath), nFileName);\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if ($c8d4e5e53808513d$var$startsWithSingleDot(npath)) return \".\" + $5KFgK$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $c8d4e5e53808513d$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $5KFgK$path.sep || first2chars === \"./\";\n}\nmodule.exports = $c8d4e5e53808513d$var$replaceExt;\n\n});\n\n\nparcelRequire.register(\"cCOdx\", function(module, exports) {\nmodule.exports = $930ffcc7b0b4091c$var$isexe;\n$930ffcc7b0b4091c$var$isexe.sync = $930ffcc7b0b4091c$var$sync;\n\nfunction $930ffcc7b0b4091c$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $930ffcc7b0b4091c$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $930ffcc7b0b4091c$var$checkPathExt(path, options);\n}\nfunction $930ffcc7b0b4091c$var$isexe(path, options, cb) {\n $5KFgK$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $930ffcc7b0b4091c$var$checkStat(stat, path, options));\n });\n}\nfunction $930ffcc7b0b4091c$var$sync(path, options) {\n return $930ffcc7b0b4091c$var$checkStat($5KFgK$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRequire.register(\"fHi41\", function(module, exports) {\nmodule.exports = $b6d8e24c35257dea$var$isexe;\n$b6d8e24c35257dea$var$isexe.sync = $b6d8e24c35257dea$var$sync;\n\nfunction $b6d8e24c35257dea$var$isexe(path, options, cb) {\n $5KFgK$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $b6d8e24c35257dea$var$checkStat(stat, options));\n });\n}\nfunction $b6d8e24c35257dea$var$sync(path, options) {\n return $b6d8e24c35257dea$var$checkStat($5KFgK$fs.statSync(path), options);\n}\nfunction $b6d8e24c35257dea$var$checkStat(stat, options) {\n return stat.isFile() && $b6d8e24c35257dea$var$checkMode(stat, options);\n}\nfunction $b6d8e24c35257dea$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRequire.register(\"5AOH8\", function(module, exports) {\n// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n \"SIGABRT\",\n \"SIGALRM\",\n \"SIGHUP\",\n \"SIGINT\",\n \"SIGTERM\"\n];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRequire.register(\"bmInQ\", function(module, exports) {\n\"use strict\";\nvar $84642d6a8df502e6$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($84642d6a8df502e6$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRequire.register(\"bOuKS\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $899c388f9a33e752$export$f8b9fb4db095815b);\n\nasync function $899c388f9a33e752$export$f8b9fb4db095815b(path) {\n try {\n await (0, $5KFgK$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $899c388f9a33e752$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($5KFgK$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRequire.register(\"jtqY0\", function(module, exports) {\n\"use strict\";\nvar $e2d5a4c8e218cc13$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $e2d5a4c8e218cc13$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $e2d5a4c8e218cc13$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $e2d5a4c8e218cc13$var$__createBinding(result, mod, k);\n }\n $e2d5a4c8e218cc13$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $e2d5a4c8e218cc13$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $e2d5a4c8e218cc13$var$path = $e2d5a4c8e218cc13$var$__importStar($5KFgK$path);\n\nconst $e2d5a4c8e218cc13$var$ioUtil = $e2d5a4c8e218cc13$var$__importStar((parcelRequire(\"cbIfL\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $e2d5a4c8e218cc13$var$cp(source, dest, options = {}) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $e2d5a4c8e218cc13$var$readCopyOptions(options);\n const destStat = (yield $e2d5a4c8e218cc13$var$ioUtil.exists(dest)) ? yield $e2d5a4c8e218cc13$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $e2d5a4c8e218cc13$var$path.join(dest, $e2d5a4c8e218cc13$var$path.basename(source)) : dest;\n if (!(yield $e2d5a4c8e218cc13$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $e2d5a4c8e218cc13$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $e2d5a4c8e218cc13$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($e2d5a4c8e218cc13$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $e2d5a4c8e218cc13$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $e2d5a4c8e218cc13$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $e2d5a4c8e218cc13$var$mv(source, dest, options = {}) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $e2d5a4c8e218cc13$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $e2d5a4c8e218cc13$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $e2d5a4c8e218cc13$var$path.join(dest, $e2d5a4c8e218cc13$var$path.basename(source));\n destExists = yield $e2d5a4c8e218cc13$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $e2d5a4c8e218cc13$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $e2d5a4c8e218cc13$var$mkdirP($e2d5a4c8e218cc13$var$path.dirname(dest));\n yield $e2d5a4c8e218cc13$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $e2d5a4c8e218cc13$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $e2d5a4c8e218cc13$var$rmRF(inputPath) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if ($e2d5a4c8e218cc13$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $e2d5a4c8e218cc13$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $e2d5a4c8e218cc13$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise<void>\n */ function $e2d5a4c8e218cc13$var$mkdirP(fsPath) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n $5KFgK$assert.ok(fsPath, \"a path argument must be provided\");\n yield $e2d5a4c8e218cc13$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $e2d5a4c8e218cc13$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise<string> path to tool\n */ function $e2d5a4c8e218cc13$var$which(tool, check) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $e2d5a4c8e218cc13$var$which(tool, false);\n if (!result) {\n if ($e2d5a4c8e218cc13$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`);\n else throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);\n }\n return result;\n }\n const matches = yield $e2d5a4c8e218cc13$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $e2d5a4c8e218cc13$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise<string[]> the paths of the tool\n */ function $e2d5a4c8e218cc13$var$findInPath(tool) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($e2d5a4c8e218cc13$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($e2d5a4c8e218cc13$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($e2d5a4c8e218cc13$var$ioUtil.isRooted(tool)) {\n const filePath = yield $e2d5a4c8e218cc13$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($e2d5a4c8e218cc13$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($e2d5a4c8e218cc13$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $e2d5a4c8e218cc13$var$ioUtil.tryGetExecutablePath($e2d5a4c8e218cc13$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $e2d5a4c8e218cc13$var$findInPath;\nfunction $e2d5a4c8e218cc13$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $e2d5a4c8e218cc13$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $e2d5a4c8e218cc13$var$mkdirP(destDir);\n const files = yield $e2d5a4c8e218cc13$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $e2d5a4c8e218cc13$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $e2d5a4c8e218cc13$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $e2d5a4c8e218cc13$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $e2d5a4c8e218cc13$var$ioUtil.chmod(destDir, (yield $e2d5a4c8e218cc13$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $e2d5a4c8e218cc13$var$copyFile(srcFile, destFile, force) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $e2d5a4c8e218cc13$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $e2d5a4c8e218cc13$var$ioUtil.lstat(destFile);\n yield $e2d5a4c8e218cc13$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $e2d5a4c8e218cc13$var$ioUtil.chmod(destFile, \"0666\");\n yield $e2d5a4c8e218cc13$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $e2d5a4c8e218cc13$var$ioUtil.readlink(srcFile);\n yield $e2d5a4c8e218cc13$var$ioUtil.symlink(symlinkFull, destFile, $e2d5a4c8e218cc13$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $e2d5a4c8e218cc13$var$ioUtil.exists(destFile)) || force) yield $e2d5a4c8e218cc13$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRequire.register(\"cbIfL\", function(module, exports) {\n\"use strict\";\nvar $8df8d6e1c0d055f9$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $8df8d6e1c0d055f9$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $8df8d6e1c0d055f9$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $8df8d6e1c0d055f9$var$__createBinding(result, mod, k);\n }\n $8df8d6e1c0d055f9$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $8df8d6e1c0d055f9$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $8df8d6e1c0d055f9$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $8df8d6e1c0d055f9$var$fs = $8df8d6e1c0d055f9$var$__importStar($5KFgK$fs);\n\nconst $8df8d6e1c0d055f9$var$path = $8df8d6e1c0d055f9$var$__importStar($5KFgK$path);\n$8df8d6e1c0d055f9$var$_a = $8df8d6e1c0d055f9$var$fs.promises, module.exports.chmod = $8df8d6e1c0d055f9$var$_a.chmod, module.exports.copyFile = $8df8d6e1c0d055f9$var$_a.copyFile, module.exports.lstat = $8df8d6e1c0d055f9$var$_a.lstat, module.exports.mkdir = $8df8d6e1c0d055f9$var$_a.mkdir, module.exports.open = $8df8d6e1c0d055f9$var$_a.open, module.exports.readdir = $8df8d6e1c0d055f9$var$_a.readdir, module.exports.readlink = $8df8d6e1c0d055f9$var$_a.readlink, module.exports.rename = $8df8d6e1c0d055f9$var$_a.rename, module.exports.rm = $8df8d6e1c0d055f9$var$_a.rm, module.exports.rmdir = $8df8d6e1c0d055f9$var$_a.rmdir, module.exports.stat = $8df8d6e1c0d055f9$var$_a.stat, module.exports.symlink = $8df8d6e1c0d055f9$var$_a.symlink, module.exports.unlink = $8df8d6e1c0d055f9$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $8df8d6e1c0d055f9$var$fs.constants.O_RDONLY;\nfunction $8df8d6e1c0d055f9$var$exists(fsPath) {\n return $8df8d6e1c0d055f9$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $8df8d6e1c0d055f9$var$exists;\nfunction $8df8d6e1c0d055f9$var$isDirectory(fsPath, useStat = false) {\n return $8df8d6e1c0d055f9$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $8df8d6e1c0d055f9$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $8df8d6e1c0d055f9$var$isRooted(p) {\n p = $8df8d6e1c0d055f9$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $8df8d6e1c0d055f9$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $8df8d6e1c0d055f9$var$tryGetExecutablePath(filePath, extensions) {\n return $8df8d6e1c0d055f9$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $8df8d6e1c0d055f9$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($8df8d6e1c0d055f9$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $8df8d6e1c0d055f9$var$path.dirname(filePath);\n const upperName = $8df8d6e1c0d055f9$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $8df8d6e1c0d055f9$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($8df8d6e1c0d055f9$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $8df8d6e1c0d055f9$var$tryGetExecutablePath;\nfunction $8df8d6e1c0d055f9$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $8df8d6e1c0d055f9$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $8df8d6e1c0d055f9$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $8df8d6e1c0d055f9$var$getCmdPath;\n\n});\n\n\nparcelRequire.register(\"d0IR9\", function(module, exports) {\n\"use strict\";\nvar $978e11fbaaeeeb1a$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $978e11fbaaeeeb1a$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $978e11fbaaeeeb1a$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $978e11fbaaeeeb1a$var$__createBinding(result, mod, k);\n }\n $978e11fbaaeeeb1a$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $978e11fbaaeeeb1a$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $978e11fbaaeeeb1a$var$semver = $978e11fbaaeeeb1a$var$__importStar((parcelRequire(\"df8HD\")));\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\n\n\nfunction $978e11fbaaeeeb1a$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $978e11fbaaeeeb1a$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $5KFgK$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $i5trn.debug(`check ${version} satisfies ${versionSpec}`);\n if ($978e11fbaaeeeb1a$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $i5trn.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $978e11fbaaeeeb1a$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $i5trn.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $978e11fbaaeeeb1a$var$_findMatch;\nfunction $978e11fbaaeeeb1a$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $5KFgK$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $5KFgK$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $978e11fbaaeeeb1a$var$_getOsVersion;\nfunction $978e11fbaaeeeb1a$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($5KFgK$fs.existsSync(lsbReleaseFile)) contents = $5KFgK$fs.readFileSync(lsbReleaseFile).toString();\n else if ($5KFgK$fs.existsSync(osReleaseFile)) contents = $5KFgK$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $978e11fbaaeeeb1a$var$_readLinuxVersionFile;\n\n});\nparcelRequire.register(\"df8HD\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"[0-9]+\";\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = \"[0-9A-Za-z-]+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) re[i] = new RegExp(src[i]);\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? re[t.LOOSE] : re[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\n// preminor will bump the version up to the next minor release, and immediately\n// down to pre-release. premajor and prepatch work the same way.\nSemVer.prototype.inc = function(release, identifier) {\n switch(release){\n case \"premajor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor = 0;\n this.major++;\n this.inc(\"pre\", identifier);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier);\n break;\n case \"prepatch\":\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0;\n this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case \"prerelease\":\n if (this.prerelease.length === 0) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\n case \"major\":\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\n this.minor = 0;\n this.patch = 0;\n this.prerelease = [];\n break;\n case \"minor\":\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) this.minor++;\n this.patch = 0;\n this.prerelease = [];\n break;\n case \"patch\":\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) this.patch++;\n this.prerelease = [];\n break;\n // This probably shouldn't be used publicly.\n // 1.0.0 \"pre\" would become 1.0.0-0 which is the wrong direction.\n case \"pre\":\n if (this.prerelease.length === 0) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First, split based on boolean or ||\n this.raw = range;\n this.set = range.split(/\\s*\\|\\|\\s*/).map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + range);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n range = range.trim();\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, re[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\n });\n}\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nfunction parseComparator(comp, options) {\n debug(\"comp\", comp, options);\n comp = replaceCarets(comp, options);\n debug(\"caret\", comp);\n comp = replaceTildes(comp, options);\n debug(\"tildes\", comp);\n comp = replaceXRanges(comp, options);\n debug(\"xrange\", comp);\n comp = replaceStars(comp, options);\n debug(\"stars\", comp);\n return comp;\n}\nfunction isX(id) {\n return !id || id.toLowerCase() === \"x\" || id === \"*\";\n}\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? \"-0\" : \"\";\n if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\n gtlt = \">=\";\n if (xm) {\n M = +M + 1;\n m = 0;\n p = 0;\n } else {\n m = +m + 1;\n p = 0;\n }\n } else if (gtlt === \"<=\") {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = \"<\";\n if (xm) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction replaceStars(comp, options) {\n debug(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[t.STAR], \"\");\n}\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\n }\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction satisfies(version, range, options) {\n try {\n range = new Range(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new SemVer(max, options);\n }\n }\n });\n return max;\n}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new SemVer(min, options);\n }\n }\n });\n return min;\n}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction validRange(range, options) {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = gt;\n ltefn = lte;\n ltfn = lt;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = lt;\n ltefn = gte;\n ltfn = gt;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\n });\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) return false;\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(re[t.COERCE]);\n else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n var next;\n while((next = re[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRequire.register(\"1NS6t\", function(module, exports) {\n\nvar $ghfRK = parcelRequire(\"ghfRK\");\n\nvar $1EsMF = parcelRequire(\"1EsMF\");\nfunction $150455dad8bf32ff$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $ghfRK)();\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80;\n // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $1EsMF(rnds);\n}\nmodule.exports = $150455dad8bf32ff$var$v4;\n\n});\nparcelRequire.register(\"ghfRK\", function(module, exports) {\n// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nmodule.exports = function nodeRNG() {\n return $5KFgK$crypto.randomBytes(16);\n};\n\n});\n\nparcelRequire.register(\"1EsMF\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $133fdac428963179$var$byteToHex = [];\nfor(var $133fdac428963179$var$i = 0; $133fdac428963179$var$i < 256; ++$133fdac428963179$var$i)$133fdac428963179$var$byteToHex[$133fdac428963179$var$i] = ($133fdac428963179$var$i + 0x100).toString(16).substr(1);\nfunction $133fdac428963179$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $133fdac428963179$var$byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return [\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $133fdac428963179$var$bytesToUuid;\n\n});\n\n\nparcelRequire.register(\"8hZvX\", function(module, exports) {\n\"use strict\";\nvar $608fa0c3ad4da96b$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $608fa0c3ad4da96b$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $608fa0c3ad4da96b$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $608fa0c3ad4da96b$var$__createBinding(result, mod, k);\n }\n $608fa0c3ad4da96b$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $608fa0c3ad4da96b$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $608fa0c3ad4da96b$var$tr = $608fa0c3ad4da96b$var$__importStar((parcelRequire(\"7IKJC\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise<number> exit code\n */ function $608fa0c3ad4da96b$var$exec(commandLine, args, options) {\n return $608fa0c3ad4da96b$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $608fa0c3ad4da96b$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $608fa0c3ad4da96b$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $608fa0c3ad4da96b$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise<ExecOutput> exit code, stdout, and stderr\n */ function $608fa0c3ad4da96b$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $608fa0c3ad4da96b$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $5KFgK$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $5KFgK$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $608fa0c3ad4da96b$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $608fa0c3ad4da96b$var$getExecOutput;\n\n});\nparcelRequire.register(\"7IKJC\", function(module, exports) {\n\"use strict\";\nvar $59f0e5025811f073$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $59f0e5025811f073$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $59f0e5025811f073$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $59f0e5025811f073$var$__createBinding(result, mod, k);\n }\n $59f0e5025811f073$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $59f0e5025811f073$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $59f0e5025811f073$var$os = $59f0e5025811f073$var$__importStar($5KFgK$os);\n\nconst $59f0e5025811f073$var$events = $59f0e5025811f073$var$__importStar($5KFgK$events);\n\nconst $59f0e5025811f073$var$child = $59f0e5025811f073$var$__importStar($5KFgK$child_process);\n\nconst $59f0e5025811f073$var$path = $59f0e5025811f073$var$__importStar($5KFgK$path);\n\nconst $59f0e5025811f073$var$io = $59f0e5025811f073$var$__importStar((parcelRequire(\"jtqY0\")));\n\nconst $59f0e5025811f073$var$ioUtil = $59f0e5025811f073$var$__importStar((parcelRequire(\"cbIfL\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $59f0e5025811f073$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $59f0e5025811f073$var$ToolRunner extends $59f0e5025811f073$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($59f0e5025811f073$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($59f0e5025811f073$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $59f0e5025811f073$var$os.EOL.length);\n n = s.indexOf($59f0e5025811f073$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($59f0e5025811f073$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($59f0e5025811f073$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $59f0e5025811f073$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$59f0e5025811f073$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $59f0e5025811f073$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $59f0e5025811f073$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $59f0e5025811f073$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$59f0e5025811f073$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $59f0e5025811f073$var$os.EOL);\n const state = new $59f0e5025811f073$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $59f0e5025811f073$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $59f0e5025811f073$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $59f0e5025811f073$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $59f0e5025811f073$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $59f0e5025811f073$var$argStringToArray;\nclass $59f0e5025811f073$var$ExecState extends $59f0e5025811f073$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $5KFgK$timers.setTimeout($59f0e5025811f073$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRequire.register(\"k3Q8W\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.72afcb6d.js\")).then(()=>parcelRequire(\"8MXq9\"));\n\n});\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $b9BRc = parcelRequire(\"b9BRc\");\nvar $121280b2d8e92425$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"9tC1p\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\";\n });\n}).call($121280b2d8e92425$exports);\n\n\nvar $971ea907f1c0ad0f$exports = {};\n\n$971ea907f1c0ad0f$exports = (parcelRequire(\"5cIV4\"));\n\n\nvar $4e91dcc66796d8e4$exports = {};\n$4e91dcc66796d8e4$exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n\n\n\nvar $adc9e3ad423b7cee$exports = {};\n\"use strict\";\n\nconst $adc9e3ad423b7cee$var$homeDirectory = $5KFgK$os.homedir();\n$adc9e3ad423b7cee$exports = (pathWithTilde)=>{\n if (typeof pathWithTilde !== \"string\") throw new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n return $adc9e3ad423b7cee$var$homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, $adc9e3ad423b7cee$var$homeDirectory) : pathWithTilde;\n};\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $742687c4282b4267$var$e(e) {\n return e && e.__esModule ? e.default : e;\n}\nfunction $742687c4282b4267$var$t(e, t, n, r) {\n Object.defineProperty(e, t, {\n get: n,\n set: r,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $742687c4282b4267$var$n(e, t, r) {\n if (\"function\" == typeof t && (r = t, t = {}), !r) {\n if (\"function\" != typeof Promise) throw new TypeError(\"callback not provided\");\n return new Promise((r, o)=>{\n $742687c4282b4267$var$n(e, t || {}, (e, t)=>{\n e ? o(e) : r(t);\n });\n });\n }\n $742687c4282b4267$var$W(e, t || {}, (e, n)=>{\n e && (\"EACCES\" === e.code || t && t.ignoreErrors) && (e = null, n = !1), r(e, n);\n });\n}\nfunction $742687c4282b4267$var$r(e, t) {\n const n = e.options.env || process.env, r = process.cwd(), o = null != e.options.cwd, i = o && void 0 !== process.chdir && !process.chdir.disabled;\n if (i) try {\n process.chdir(e.options.cwd);\n } catch (e) {}\n let s;\n try {\n s = $742687c4282b4267$var$D.sync(e.command, {\n path: n[$742687c4282b4267$var$J({\n env: n\n })],\n pathExt: t ? (0, $5KFgK$path.delimiter) : void 0\n });\n } catch (e) {} finally{\n i && process.chdir(r);\n }\n return s && (s = (0, $5KFgK$path.resolve)(o ? e.options.cwd : \"\", s)), s;\n}\nfunction $742687c4282b4267$var$o(e, t) {\n return Object.assign(Error(`${t} ${e.command} ENOENT`), {\n code: \"ENOENT\",\n errno: \"ENOENT\",\n syscall: `${t} ${e.command}`,\n path: e.command,\n spawnargs: e.args\n });\n}\nfunction $742687c4282b4267$var$i(e, t) {\n return $742687c4282b4267$var$ue && 1 === e && !t.file ? $742687c4282b4267$var$o(t.original, \"spawn\") : null;\n}\nfunction $742687c4282b4267$var$s(e, t, n) {\n const r = $742687c4282b4267$var$Q(e, t, n), o = (0, $5KFgK$child_process.spawn)(r.command, r.args, r.options);\n return $742687c4282b4267$var$le.hookChildProcess(o, r), o;\n}\nasync function $742687c4282b4267$var$a(e, t) {\n if (!e) throw Error(\"Expected a stream\");\n t = {\n maxBuffer: 1 / 0,\n ...t\n };\n const { maxBuffer: n } = t, r = $742687c4282b4267$var$ct(t);\n return await new Promise((t, o)=>{\n const i = (e)=>{\n e && r.getBufferedLength() <= $742687c4282b4267$var$lt.MAX_LENGTH && (e.bufferedData = r.getBufferedValue()), o(e);\n };\n (async ()=>{\n try {\n await $742687c4282b4267$var$pt(e, r), t();\n } catch (e) {\n i(e);\n }\n })(), r.on(\"data\", ()=>{\n r.getBufferedLength() > n && i(new $742687c4282b4267$var$mt);\n });\n }), r.getBufferedValue();\n}\nfunction $742687c4282b4267$export$7683bf1311d8252() {\n return null !== $742687c4282b4267$var$e($742687c4282b4267$var$D).sync(\"sudo\", {\n nothrow: !0\n });\n}\nfunction $742687c4282b4267$export$e3140dc7d0c35e48() {\n return 0 === process.getuid?.() || !!process.env.CI;\n}\nfunction $742687c4282b4267$export$316200228f28b8ce() {\n return $742687c4282b4267$export$e3140dc7d0c35e48() && $742687c4282b4267$export$7683bf1311d8252();\n}\nfunction $742687c4282b4267$export$d976d47922ae9667(e) {\n return $742687c4282b4267$export$316200228f28b8ce() ? \"sudo \" + e : e;\n}\nfunction $742687c4282b4267$export$58f152936f209932(t, n = [], r = {\n stdio: \"inherit\",\n shell: !0\n}) {\n return $742687c4282b4267$export$316200228f28b8ce() ? $742687c4282b4267$var$e($742687c4282b4267$var$Z).commandSync(\"sudo \" + [\n t,\n ...n\n ].map((e)=>`'${e}'`).join(\" \"), r) : $742687c4282b4267$var$e($742687c4282b4267$var$Z).sync(t, n, r);\n}\nfunction $742687c4282b4267$export$351270479e2eef26(t, n = [], r = {\n stdio: \"inherit\",\n shell: !0\n}) {\n return $742687c4282b4267$export$316200228f28b8ce() ? $742687c4282b4267$var$e($742687c4282b4267$var$Z).command(\"sudo \" + [\n t,\n ...n\n ].map((e)=>`'${e}'`).join(\" \"), r) : $742687c4282b4267$var$e($742687c4282b4267$var$Z)(t, n, r);\n}\nfunction $742687c4282b4267$export$fc970ed23da99565() {\n return \"win32\" === process.platform ? $742687c4282b4267$export$36ad181701cee597() : $742687c4282b4267$export$e3140dc7d0c35e48();\n}\nvar $742687c4282b4267$var$$ = \"undefined\" != typeof globalThis ? globalThis : \"undefined\" != typeof self ? self : \"undefined\" != typeof window ? window : \"undefined\" != typeof $parcel$global ? $parcel$global : {}, $742687c4282b4267$var$B = {}, $742687c4282b4267$var$k = {}, $742687c4282b4267$var$M = $742687c4282b4267$var$$.parcelRequireb51e;\nnull == $742687c4282b4267$var$M && (($742687c4282b4267$var$M = (e)=>{\n if (e in $742687c4282b4267$var$B) return $742687c4282b4267$var$B[e].exports;\n if (e in $742687c4282b4267$var$k) {\n var t = $742687c4282b4267$var$k[e];\n delete $742687c4282b4267$var$k[e];\n var n = {\n id: e,\n exports: {}\n };\n return $742687c4282b4267$var$B[e] = n, t.call(n.exports, n, n.exports), n.exports;\n }\n var r = Error(\"Cannot find module '\" + e + \"'\");\n throw r.code = \"MODULE_NOT_FOUND\", r;\n}).register = (e, t)=>{\n $742687c4282b4267$var$k[e] = t;\n}, $742687c4282b4267$var$$.parcelRequireb51e = $742687c4282b4267$var$M), $742687c4282b4267$var$M.register(\"djkmR\", (e, t)=>{\n function n(e, t, n) {\n return !(!e.isSymbolicLink() && !e.isFile()) && ((e, t)=>{\n var n = void 0 !== t.pathExt ? t.pathExt : process.env.PATHEXT;\n if (!n) return !0;\n if (-1 !== (n = n.split(\";\")).indexOf(\"\")) return !0;\n for(var r = 0; n.length > r; r++){\n var o = n[r].toLowerCase();\n if (o && e.substr(-o.length).toLowerCase() === o) return !0;\n }\n return !1;\n })(t, n);\n }\n function r(e, t, r) {\n (0, $5KFgK$fs.stat)(e, (o, i)=>{\n r(o, !o && n(i, e, t));\n });\n }\n e.exports = r, r.sync = (e, t)=>n((0, $5KFgK$fs.statSync)(e), e, t);\n}), $742687c4282b4267$var$M.register(\"e1CjR\", (e, t)=>{\n function n(e, t, n) {\n (0, $5KFgK$fs.stat)(e, (e, o)=>{\n n(e, !e && r(o, t));\n });\n }\n function r(e, t) {\n return e.isFile() && ((e, t)=>{\n var n = e.mode, r = e.uid, o = e.gid, i = 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), d = a | c;\n return n & parseInt(\"001\", 8) || n & c && o === s || n & a && r === i || n & d && 0 === i;\n })(e, t);\n }\n e.exports = n, n.sync = (e, t)=>r((0, $5KFgK$fs.statSync)(e), t);\n}), $742687c4282b4267$var$M.register(\"4c98W\", (e, t)=>{\n e.exports = [\n \"SIGABRT\",\n \"SIGALRM\",\n \"SIGHUP\",\n \"SIGINT\",\n \"SIGTERM\"\n ], \"win32\" !== process.platform && e.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\"), \"linux\" === process.platform && e.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n});\nvar $742687c4282b4267$var$U = {};\n$742687c4282b4267$var$t($742687c4282b4267$var$U, \"hasSudo\", ()=>$742687c4282b4267$export$7683bf1311d8252), $742687c4282b4267$var$t($742687c4282b4267$var$U, \"isRoot\", ()=>$742687c4282b4267$export$e3140dc7d0c35e48), $742687c4282b4267$var$t($742687c4282b4267$var$U, \"isSudo\", ()=>$742687c4282b4267$export$316200228f28b8ce), $742687c4282b4267$var$t($742687c4282b4267$var$U, \"prependSudo\", ()=>$742687c4282b4267$export$d976d47922ae9667), $742687c4282b4267$var$t($742687c4282b4267$var$U, \"execRootSync\", ()=>$742687c4282b4267$export$58f152936f209932), $742687c4282b4267$var$t($742687c4282b4267$var$U, \"execRoot\", ()=>$742687c4282b4267$export$351270479e2eef26);\nvar $742687c4282b4267$var$D = {};\nconst $742687c4282b4267$var$F = \"win32\" === process.platform || \"cygwin\" === process.env.OSTYPE || \"msys\" === process.env.OSTYPE, $742687c4282b4267$var$H = $742687c4282b4267$var$F ? \";\" : \":\";\nvar $742687c4282b4267$var$W, $742687c4282b4267$var$K = {};\n$742687c4282b4267$var$W = \"win32\" === process.platform || $742687c4282b4267$var$$.TESTING_WINDOWS ? $742687c4282b4267$var$M(\"djkmR\") : $742687c4282b4267$var$M(\"e1CjR\"), $742687c4282b4267$var$K = $742687c4282b4267$var$n, $742687c4282b4267$var$n.sync = (e, t)=>{\n try {\n return $742687c4282b4267$var$W.sync(e, t || {});\n } catch (e) {\n if (t && t.ignoreErrors || \"EACCES\" === e.code) return !1;\n throw e;\n }\n};\nconst $742687c4282b4267$var$X = (e)=>Object.assign(Error(\"not found: \" + e), {\n code: \"ENOENT\"\n }), $742687c4282b4267$var$V = (e, t)=>{\n const n = t.colon || $742687c4282b4267$var$H, r = e.match(/\\//) || $742687c4282b4267$var$F && e.match(/\\\\/) ? [\n \"\"\n ] : [\n ...$742687c4282b4267$var$F ? [\n process.cwd()\n ] : [],\n ...(t.path || process.env.PATH || \"\").split(n)\n ], o = $742687c4282b4267$var$F ? t.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\", i = $742687c4282b4267$var$F ? o.split(n) : [\n \"\"\n ];\n return $742687c4282b4267$var$F && -1 !== e.indexOf(\".\") && \"\" !== i[0] && i.unshift(\"\"), {\n pathEnv: r,\n pathExt: i,\n pathExtExe: o\n };\n}, $742687c4282b4267$var$q = (e, t, n)=>{\n \"function\" == typeof t && (n = t, t = {}), t || (t = {});\n const { pathEnv: r, pathExt: o, pathExtExe: i } = $742687c4282b4267$var$V(e, t), s = [], a = (n)=>new Promise((o, i)=>{\n if (n === r.length) return t.all && s.length ? o(s) : i($742687c4282b4267$var$X(e));\n const a = r[n], d = /^\".*\"$/.test(a) ? a.slice(1, -1) : a, l = (0, $5KFgK$path.join)(d, e), u = !d && /^\\.[\\\\\\/]/.test(e) ? e.slice(0, 2) + l : l;\n o(c(u, n, 0));\n }), c = (e, n, r)=>new Promise((d, l)=>{\n if (r === o.length) return d(a(n + 1));\n const u = o[r];\n $742687c4282b4267$var$K(e + u, {\n pathExt: i\n }, (o, i)=>{\n if (!o && i) {\n if (!t.all) return d(e + u);\n s.push(e + u);\n }\n return d(c(e, n, r + 1));\n });\n });\n return n ? a(0).then((e)=>n(null, e), n) : a(0);\n};\n$742687c4282b4267$var$D = $742687c4282b4267$var$q, $742687c4282b4267$var$q.sync = (e, t)=>{\n t = t || {};\n const { pathEnv: n, pathExt: r, pathExtExe: o } = $742687c4282b4267$var$V(e, t), i = [];\n for(let s = 0; n.length > s; s++){\n const a = n[s], c = /^\".*\"$/.test(a) ? a.slice(1, -1) : a, d = (0, $5KFgK$path.join)(c, e), l = !c && /^\\.[\\\\\\/]/.test(e) ? e.slice(0, 2) + d : d;\n for(let e = 0; r.length > e; e++){\n const n = l + r[e];\n try {\n if ($742687c4282b4267$var$K.sync(n, {\n pathExt: o\n })) {\n if (!t.all) return n;\n i.push(n);\n }\n } catch (e) {}\n }\n }\n if (t.all && i.length) return i;\n if (t.nothrow) return null;\n throw $742687c4282b4267$var$X(e);\n};\nvar $742687c4282b4267$var$Y, $742687c4282b4267$var$Z = {}, $742687c4282b4267$var$z = {}, $742687c4282b4267$var$Q = {}, $742687c4282b4267$var$J = {};\nconst $742687c4282b4267$var$ee = (e = {})=>{\n const t = e.env || process.env;\n return \"win32\" !== (e.platform || process.platform) ? \"PATH\" : Object.keys(t).reverse().find((e)=>\"PATH\" === e.toUpperCase()) || \"Path\";\n};\nvar $742687c4282b4267$var$te, $742687c4282b4267$var$ne;\n($742687c4282b4267$var$J = $742687c4282b4267$var$ee).default = $742687c4282b4267$var$ee, $742687c4282b4267$var$Y = (e)=>$742687c4282b4267$var$r(e) || $742687c4282b4267$var$r(e, !0);\nconst $742687c4282b4267$var$re = /([()\\][%!^\"`<>&|;, *?])/g;\n$742687c4282b4267$var$te = (e)=>e.replace($742687c4282b4267$var$re, \"^$1\"), $742687c4282b4267$var$ne = (e, t)=>(e = (e = `\"${e = (e = (e = \"\" + e).replace(/(\\\\*)\"/g, '$1$1\\\\\"')).replace(/(\\\\*)$/, \"$1$1\")}\"`).replace($742687c4282b4267$var$re, \"^$1\"), t && (e = e.replace($742687c4282b4267$var$re, \"^$1\")), e);\nvar $742687c4282b4267$var$oe, $742687c4282b4267$var$ie, $742687c4282b4267$var$se;\n$742687c4282b4267$var$ie = /^#!(.*)/, $742687c4282b4267$var$oe = (e = \"\")=>{\n const t = e.match($742687c4282b4267$var$ie);\n if (!t) return null;\n const [n, r] = t[0].replace(/#! ?/, \"\").split(\" \"), o = n.split(\"/\").pop();\n return \"env\" === o ? r : r ? `${o} ${r}` : o;\n}, $742687c4282b4267$var$se = (e)=>{\n const t = Buffer.alloc(150);\n let n;\n try {\n n = (0, $5KFgK$fs.openSync)(e, \"r\"), (0, $5KFgK$fs.readSync)(n, t, 0, 150, 0), (0, $5KFgK$fs.closeSync)(n);\n } catch (e) {}\n return $742687c4282b4267$var$oe(\"\" + t);\n};\nconst $742687c4282b4267$var$ae = \"win32\" === process.platform, $742687c4282b4267$var$ce = /\\.(?:com|exe)$/i, $742687c4282b4267$var$de = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n$742687c4282b4267$var$Q = (e, t, n)=>{\n t && !Array.isArray(t) && (n = t, t = null);\n const r = {\n command: e,\n args: t = t ? t.slice(0) : [],\n options: n = Object.assign({}, n),\n file: void 0,\n original: {\n command: e,\n args: t\n }\n };\n return n.shell ? r : ((e)=>{\n if (!$742687c4282b4267$var$ae) return e;\n const t = ((e)=>{\n e.file = $742687c4282b4267$var$Y(e);\n const t = e.file && $742687c4282b4267$var$se(e.file);\n return t ? (e.args.unshift(e.file), e.command = t, $742687c4282b4267$var$Y(e)) : e.file;\n })(e), n = !$742687c4282b4267$var$ce.test(t);\n if (e.options.forceShell || n) {\n const n = $742687c4282b4267$var$de.test(t);\n e.command = (0, $5KFgK$path.normalize)(e.command), e.command = $742687c4282b4267$var$te(e.command), e.args = e.args.map((e)=>$742687c4282b4267$var$ne(e, n));\n const r = [\n e.command\n ].concat(e.args).join(\" \");\n e.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${r}\"`\n ], e.command = process.env.comspec || \"cmd.exe\", e.options.windowsVerbatimArguments = !0;\n }\n return e;\n })(r);\n};\nvar $742687c4282b4267$var$le = {};\nconst $742687c4282b4267$var$ue = \"win32\" === process.platform;\nvar $742687c4282b4267$var$pe;\n$742687c4282b4267$var$le = {\n hookChildProcess (e, t) {\n if (!$742687c4282b4267$var$ue) return;\n const n = e.emit;\n e.emit = function(r, o) {\n if (\"exit\" === r) {\n const r = $742687c4282b4267$var$i(o, t);\n if (r) return n.call(e, \"error\", r);\n }\n return n.apply(e, arguments);\n };\n },\n verifyENOENT: $742687c4282b4267$var$i,\n verifyENOENTSync (e, t) {\n return $742687c4282b4267$var$ue && 1 === e && !t.file ? $742687c4282b4267$var$o(t.original, \"spawnSync\") : null;\n },\n notFoundError: $742687c4282b4267$var$o\n}, ($742687c4282b4267$var$z = $742687c4282b4267$var$s).spawn = $742687c4282b4267$var$s, $742687c4282b4267$var$z.sync = (e, t, n)=>{\n const r = $742687c4282b4267$var$Q(e, t, n), o = (0, $5KFgK$child_process.spawnSync)(r.command, r.args, r.options);\n return o.error = o.error || $742687c4282b4267$var$le.verifyENOENTSync(o.status, r), o;\n}, $742687c4282b4267$var$z._parse = $742687c4282b4267$var$Q, $742687c4282b4267$var$z._enoent = $742687c4282b4267$var$le, $742687c4282b4267$var$pe = (e)=>{\n const t = \"string\" == typeof e ? \"\\r\" : 13;\n return e[e.length - 1] === (\"string\" == typeof e ? \"\\n\" : 10) && (e = e.slice(0, e.length - 1)), e[e.length - 1] === t && (e = e.slice(0, e.length - 1)), e;\n};\nvar $742687c4282b4267$var$me = {};\nconst $742687c4282b4267$var$fe = (e)=>{\n let t;\n e = {\n cwd: process.cwd(),\n path: process.env[$742687c4282b4267$var$J()],\n execPath: process.execPath,\n ...e\n };\n let n = (0, $5KFgK$path.resolve)(e.cwd);\n const r = [];\n for(; t !== n;)r.push((0, $5KFgK$path.join)(n, \"node_modules/.bin\")), t = n, n = (0, $5KFgK$path.resolve)(n, \"..\");\n const o = (0, $5KFgK$path.resolve)(e.cwd, e.execPath, \"..\");\n return r.push(o), r.concat(e.path).join((0, $5KFgK$path.delimiter));\n};\n($742687c4282b4267$var$me = $742687c4282b4267$var$fe).default = $742687c4282b4267$var$fe, $742687c4282b4267$var$me.env = (e)=>{\n const t = {\n ...(e = {\n env: process.env,\n ...e\n }).env\n }, n = $742687c4282b4267$var$J({\n env: t\n });\n return e.path = t[n], t[n] = $742687c4282b4267$var$me(e), t;\n};\nvar $742687c4282b4267$var$ge = {}, $742687c4282b4267$var$he = {};\nconst $742687c4282b4267$var$ye = (e, t)=>{\n for (const n of Reflect.ownKeys(t))Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));\n return e;\n};\n($742687c4282b4267$var$he = $742687c4282b4267$var$ye).default = $742687c4282b4267$var$ye;\nconst $742687c4282b4267$var$be = new WeakMap, $742687c4282b4267$var$ve = (e, t = {})=>{\n if (\"function\" != typeof e) throw new TypeError(\"Expected a function\");\n let n, r = 0;\n const o = e.displayName || e.name || \"<anonymous>\", i = function(...s) {\n if ($742687c4282b4267$var$be.set(i, ++r), 1 === r) n = e.apply(this, s), e = null;\n else if (!0 === t.throw) throw Error(`Function \\`${o}\\` can only be called once`);\n return n;\n };\n return $742687c4282b4267$var$he(i, e), $742687c4282b4267$var$be.set(i, r), i;\n};\n($742687c4282b4267$var$ge = $742687c4282b4267$var$ve).default = $742687c4282b4267$var$ve, $742687c4282b4267$var$ge.callCount = (e)=>{\n if (!$742687c4282b4267$var$be.has(e)) throw Error(`The given function \\`${e.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $742687c4282b4267$var$be.get(e);\n};\nvar $742687c4282b4267$var$Se, $742687c4282b4267$var$xe = {};\nObject.defineProperty($742687c4282b4267$var$xe, \"__esModule\", {\n value: !0\n}), $742687c4282b4267$var$xe.signalsByNumber = $742687c4282b4267$var$xe.signalsByName = void 0;\nvar $742687c4282b4267$var$we = {};\nObject.defineProperty($742687c4282b4267$var$we, \"__esModule\", {\n value: !0\n}), $742687c4282b4267$var$we.getSignals = void 0;\nvar $742687c4282b4267$var$Ee = {};\nObject.defineProperty($742687c4282b4267$var$Ee, \"__esModule\", {\n value: !0\n}), $742687c4282b4267$var$Ee.SIGNALS = void 0, $742687c4282b4267$var$Ee.SIGNALS = [\n {\n name: \"SIGHUP\",\n number: 1,\n action: \"terminate\",\n description: \"Terminal closed\",\n standard: \"posix\"\n },\n {\n name: \"SIGINT\",\n number: 2,\n action: \"terminate\",\n description: \"User interruption with CTRL-C\",\n standard: \"ansi\"\n },\n {\n name: \"SIGQUIT\",\n number: 3,\n action: \"core\",\n description: \"User interruption with CTRL-\\\\\",\n standard: \"posix\"\n },\n {\n name: \"SIGILL\",\n number: 4,\n action: \"core\",\n description: \"Invalid machine instruction\",\n standard: \"ansi\"\n },\n {\n name: \"SIGTRAP\",\n number: 5,\n action: \"core\",\n description: \"Debugger breakpoint\",\n standard: \"posix\"\n },\n {\n name: \"SIGABRT\",\n number: 6,\n action: \"core\",\n description: \"Aborted\",\n standard: \"ansi\"\n },\n {\n name: \"SIGIOT\",\n number: 6,\n action: \"core\",\n description: \"Aborted\",\n standard: \"bsd\"\n },\n {\n name: \"SIGBUS\",\n number: 7,\n action: \"core\",\n description: \"Bus error due to misaligned, non-existing address or paging error\",\n standard: \"bsd\"\n },\n {\n name: \"SIGEMT\",\n number: 7,\n action: \"terminate\",\n description: \"Command should be emulated but is not implemented\",\n standard: \"other\"\n },\n {\n name: \"SIGFPE\",\n number: 8,\n action: \"core\",\n description: \"Floating point arithmetic error\",\n standard: \"ansi\"\n },\n {\n name: \"SIGKILL\",\n number: 9,\n action: \"terminate\",\n description: \"Forced termination\",\n standard: \"posix\",\n forced: !0\n },\n {\n name: \"SIGUSR1\",\n number: 10,\n action: \"terminate\",\n description: \"Application-specific signal\",\n standard: \"posix\"\n },\n {\n name: \"SIGSEGV\",\n number: 11,\n action: \"core\",\n description: \"Segmentation fault\",\n standard: \"ansi\"\n },\n {\n name: \"SIGUSR2\",\n number: 12,\n action: \"terminate\",\n description: \"Application-specific signal\",\n standard: \"posix\"\n },\n {\n name: \"SIGPIPE\",\n number: 13,\n action: \"terminate\",\n description: \"Broken pipe or socket\",\n standard: \"posix\"\n },\n {\n name: \"SIGALRM\",\n number: 14,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"posix\"\n },\n {\n name: \"SIGTERM\",\n number: 15,\n action: \"terminate\",\n description: \"Termination\",\n standard: \"ansi\"\n },\n {\n name: \"SIGSTKFLT\",\n number: 16,\n action: \"terminate\",\n description: \"Stack is empty or overflowed\",\n standard: \"other\"\n },\n {\n name: \"SIGCHLD\",\n number: 17,\n action: \"ignore\",\n description: \"Child process terminated, paused or unpaused\",\n standard: \"posix\"\n },\n {\n name: \"SIGCLD\",\n number: 17,\n action: \"ignore\",\n description: \"Child process terminated, paused or unpaused\",\n standard: \"other\"\n },\n {\n name: \"SIGCONT\",\n number: 18,\n action: \"unpause\",\n description: \"Unpaused\",\n standard: \"posix\",\n forced: !0\n },\n {\n name: \"SIGSTOP\",\n number: 19,\n action: \"pause\",\n description: \"Paused\",\n standard: \"posix\",\n forced: !0\n },\n {\n name: \"SIGTSTP\",\n number: 20,\n action: \"pause\",\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: \"posix\"\n },\n {\n name: \"SIGTTIN\",\n number: 21,\n action: \"pause\",\n description: \"Background process cannot read terminal input\",\n standard: \"posix\"\n },\n {\n name: \"SIGBREAK\",\n number: 21,\n action: \"terminate\",\n description: \"User interruption with CTRL-BREAK\",\n standard: \"other\"\n },\n {\n name: \"SIGTTOU\",\n number: 22,\n action: \"pause\",\n description: \"Background process cannot write to terminal output\",\n standard: \"posix\"\n },\n {\n name: \"SIGURG\",\n number: 23,\n action: \"ignore\",\n description: \"Socket received out-of-band data\",\n standard: \"bsd\"\n },\n {\n name: \"SIGXCPU\",\n number: 24,\n action: \"core\",\n description: \"Process timed out\",\n standard: \"bsd\"\n },\n {\n name: \"SIGXFSZ\",\n number: 25,\n action: \"core\",\n description: \"File too big\",\n standard: \"bsd\"\n },\n {\n name: \"SIGVTALRM\",\n number: 26,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"bsd\"\n },\n {\n name: \"SIGPROF\",\n number: 27,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"bsd\"\n },\n {\n name: \"SIGWINCH\",\n number: 28,\n action: \"ignore\",\n description: \"Terminal window size changed\",\n standard: \"bsd\"\n },\n {\n name: \"SIGIO\",\n number: 29,\n action: \"terminate\",\n description: \"I/O is available\",\n standard: \"other\"\n },\n {\n name: \"SIGPOLL\",\n number: 29,\n action: \"terminate\",\n description: \"Watched event\",\n standard: \"other\"\n },\n {\n name: \"SIGINFO\",\n number: 29,\n action: \"ignore\",\n description: \"Request for process information\",\n standard: \"other\"\n },\n {\n name: \"SIGPWR\",\n number: 30,\n action: \"terminate\",\n description: \"Device running out of power\",\n standard: \"systemv\"\n },\n {\n name: \"SIGSYS\",\n number: 31,\n action: \"core\",\n description: \"Invalid system call\",\n standard: \"other\"\n },\n {\n name: \"SIGUNUSED\",\n number: 31,\n action: \"terminate\",\n description: \"Invalid system call\",\n standard: \"other\"\n }\n];\nvar $742687c4282b4267$var$Ie = {};\nObject.defineProperty($742687c4282b4267$var$Ie, \"__esModule\", {\n value: !0\n}), $742687c4282b4267$var$Ie.SIGRTMAX = $742687c4282b4267$var$Ie.getRealtimeSignals = void 0, $742687c4282b4267$var$Ie.getRealtimeSignals = ()=>Array.from({\n length: $742687c4282b4267$var$Ge - $742687c4282b4267$var$Ce + 1\n }, $742687c4282b4267$var$Te);\nconst $742687c4282b4267$var$Te = (e, t)=>({\n name: \"SIGRT\" + (t + 1),\n number: $742687c4282b4267$var$Ce + t,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n }), $742687c4282b4267$var$Ce = 34, $742687c4282b4267$var$Ge = 64;\n$742687c4282b4267$var$Ie.SIGRTMAX = $742687c4282b4267$var$Ge, $742687c4282b4267$var$we.getSignals = ()=>{\n const e = (0, $742687c4282b4267$var$Ie.getRealtimeSignals)();\n return [\n ...$742687c4282b4267$var$Ee.SIGNALS,\n ...e\n ].map($742687c4282b4267$var$Pe);\n};\nconst $742687c4282b4267$var$Pe = ({ name: e, number: t, description: n, action: r, forced: o = !1, standard: i })=>{\n const { signals: { [e]: s } } = (0, $5KFgK$os.constants), a = void 0 !== s;\n return {\n name: e,\n number: a ? s : t,\n description: n,\n supported: a,\n action: r,\n forced: o,\n standard: i\n };\n}, $742687c4282b4267$var$Oe = (0, $742687c4282b4267$var$we.getSignals)().reduce((e, { name: t, number: n, description: r, supported: o, action: i, forced: s, standard: a })=>({\n ...e,\n [t]: {\n name: t,\n number: n,\n description: r,\n supported: o,\n action: i,\n forced: s,\n standard: a\n }\n }), {});\n$742687c4282b4267$var$xe.signalsByName = $742687c4282b4267$var$Oe;\nconst $742687c4282b4267$var$Ae = (()=>{\n const e = (0, $742687c4282b4267$var$we.getSignals)(), t = Array.from({\n length: $742687c4282b4267$var$Ie.SIGRTMAX + 1\n }, (t, n)=>((e, t)=>{\n const n = ((e, t)=>{\n const n = t.find(({ name: t })=>(0, $5KFgK$os.constants).signals[t] === e);\n return void 0 !== n ? n : t.find((t)=>t.number === e);\n })(e, t);\n if (void 0 === n) return {};\n const { name: r, description: o, supported: i, action: s, forced: a, standard: c } = n;\n return {\n [e]: {\n name: r,\n number: e,\n description: o,\n supported: i,\n action: s,\n forced: a,\n standard: c\n }\n };\n })(n, e));\n return Object.assign({}, ...t);\n})();\n$742687c4282b4267$var$xe.signalsByNumber = $742687c4282b4267$var$Ae;\nvar $742687c4282b4267$var$Re = $742687c4282b4267$var$xe.signalsByName;\n$742687c4282b4267$var$Se = ({ stdout: e, stderr: t, all: n, error: r, signal: o, exitCode: i, command: s, escapedCommand: a, timedOut: c, isCanceled: d, killed: l, parsed: { options: { timeout: u } } })=>{\n const p = void 0 === (o = null === o ? void 0 : o) ? void 0 : $742687c4282b4267$var$Re[o].description, m = (({ timedOut: e, timeout: t, errorCode: n, signal: r, signalDescription: o, exitCode: i, isCanceled: s })=>e ? `timed out after ${t} milliseconds` : s ? \"was canceled\" : void 0 !== n ? \"failed with \" + n : void 0 !== r ? `was killed with ${r} (${o})` : void 0 !== i ? \"failed with exit code \" + i : \"failed\")({\n timedOut: c,\n timeout: u,\n errorCode: r && r.code,\n signal: o,\n signalDescription: p,\n exitCode: i = null === i ? void 0 : i,\n isCanceled: d\n }), f = `Command ${m}: ${s}`, g = \"[object Error]\" === ({}).toString.call(r), h = g ? `${f}\\n${r.message}` : f, y = [\n h,\n t,\n e\n ].filter(Boolean).join(\"\\n\");\n return g ? (r.originalMessage = r.message, r.message = y) : r = Error(y), r.shortMessage = h, r.command = s, r.escapedCommand = a, r.exitCode = i, r.signal = o, r.signalDescription = p, r.stdout = e, r.stderr = t, void 0 !== n && (r.all = n), \"bufferedData\" in r && delete r.bufferedData, r.failed = !0, r.timedOut = !!c, r.isCanceled = d, r.killed = l && !c, r;\n};\nvar $742687c4282b4267$var$Ne = {};\nconst $742687c4282b4267$var$_e = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n], $742687c4282b4267$var$je = (e)=>{\n if (!e) return;\n const { stdio: t } = e;\n if (void 0 === t) return $742687c4282b4267$var$_e.map((t)=>e[t]);\n if (((e)=>$742687c4282b4267$var$_e.some((t)=>void 0 !== e[t]))(e)) throw Error(\"It's not possible to provide `stdio` in combination with one of \" + $742687c4282b4267$var$_e.map((e)=>`\\`${e}\\``).join(\", \"));\n if (\"string\" == typeof t) return t;\n if (!Array.isArray(t)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof t}\\``);\n return Array.from({\n length: Math.max(t.length, $742687c4282b4267$var$_e.length)\n }, (e, n)=>t[n]);\n};\n($742687c4282b4267$var$Ne = $742687c4282b4267$var$je).node = (e)=>{\n const t = $742687c4282b4267$var$je(e);\n return \"ipc\" === t ? \"ipc\" : void 0 === t || \"string\" == typeof t ? [\n t,\n t,\n t,\n \"ipc\"\n ] : t.includes(\"ipc\") ? t : [\n ...t,\n \"ipc\"\n ];\n};\nvar $742687c4282b4267$var$Le, $742687c4282b4267$var$$e = {}, $742687c4282b4267$var$Be = $742687c4282b4267$var$$.process;\nconst $742687c4282b4267$var$ke = (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;\nif ($742687c4282b4267$var$ke($742687c4282b4267$var$Be)) {\n var $742687c4282b4267$var$Me, $742687c4282b4267$var$Ue = $5KFgK$assert, $742687c4282b4267$var$De = $742687c4282b4267$var$M(\"4c98W\"), $742687c4282b4267$var$Fe = /^win/i.test($742687c4282b4267$var$Be.platform), $742687c4282b4267$var$He = $5KFgK$events;\n \"function\" != typeof $742687c4282b4267$var$He && ($742687c4282b4267$var$He = $742687c4282b4267$var$He.EventEmitter), $742687c4282b4267$var$Be.__signal_exit_emitter__ ? $742687c4282b4267$var$Me = $742687c4282b4267$var$Be.__signal_exit_emitter__ : (($742687c4282b4267$var$Me = $742687c4282b4267$var$Be.__signal_exit_emitter__ = new $742687c4282b4267$var$He).count = 0, $742687c4282b4267$var$Me.emitted = {}), $742687c4282b4267$var$Me.infinite || ($742687c4282b4267$var$Me.setMaxListeners(1 / 0), $742687c4282b4267$var$Me.infinite = !0), $742687c4282b4267$var$$e = (e, t)=>{\n if (!$742687c4282b4267$var$ke($742687c4282b4267$var$$.process)) return ()=>{};\n $742687c4282b4267$var$Ue.equal(typeof e, \"function\", \"a callback must be provided for exit handler\"), !1 === $742687c4282b4267$var$Ve && $742687c4282b4267$var$qe();\n var n = \"exit\";\n return t && t.alwaysLast && (n = \"afterexit\"), $742687c4282b4267$var$Me.on(n, e), ()=>{\n $742687c4282b4267$var$Me.removeListener(n, e), 0 === $742687c4282b4267$var$Me.listeners(\"exit\").length && 0 === $742687c4282b4267$var$Me.listeners(\"afterexit\").length && $742687c4282b4267$var$We();\n };\n };\n var $742687c4282b4267$var$We = ()=>{\n $742687c4282b4267$var$Ve && $742687c4282b4267$var$ke($742687c4282b4267$var$$.process) && ($742687c4282b4267$var$Ve = !1, $742687c4282b4267$var$De.forEach((e)=>{\n try {\n $742687c4282b4267$var$Be.removeListener(e, $742687c4282b4267$var$Xe[e]);\n } catch (e) {}\n }), $742687c4282b4267$var$Be.emit = $742687c4282b4267$var$ze, $742687c4282b4267$var$Be.reallyExit = $742687c4282b4267$var$Ye, $742687c4282b4267$var$Me.count -= 1);\n };\n $742687c4282b4267$var$$e.unload = $742687c4282b4267$var$We;\n var $742687c4282b4267$var$Ke = (e, t, n)=>{\n $742687c4282b4267$var$Me.emitted[e] || ($742687c4282b4267$var$Me.emitted[e] = !0, $742687c4282b4267$var$Me.emit(e, t, n));\n }, $742687c4282b4267$var$Xe = {};\n $742687c4282b4267$var$De.forEach((e)=>{\n $742687c4282b4267$var$Xe[e] = ()=>{\n $742687c4282b4267$var$ke($742687c4282b4267$var$$.process) && $742687c4282b4267$var$Be.listeners(e).length === $742687c4282b4267$var$Me.count && ($742687c4282b4267$var$We(), $742687c4282b4267$var$Ke(\"exit\", null, e), $742687c4282b4267$var$Ke(\"afterexit\", null, e), $742687c4282b4267$var$Fe && \"SIGHUP\" === e && (e = \"SIGINT\"), $742687c4282b4267$var$Be.kill($742687c4282b4267$var$Be.pid, e));\n };\n }), $742687c4282b4267$var$$e.signals = ()=>$742687c4282b4267$var$De;\n var $742687c4282b4267$var$Ve = !1, $742687c4282b4267$var$qe = ()=>{\n !$742687c4282b4267$var$Ve && $742687c4282b4267$var$ke($742687c4282b4267$var$$.process) && ($742687c4282b4267$var$Ve = !0, $742687c4282b4267$var$Me.count += 1, $742687c4282b4267$var$De = $742687c4282b4267$var$De.filter((e)=>{\n try {\n return $742687c4282b4267$var$Be.on(e, $742687c4282b4267$var$Xe[e]), !0;\n } catch (e) {\n return !1;\n }\n }), $742687c4282b4267$var$Be.emit = $742687c4282b4267$var$Qe, $742687c4282b4267$var$Be.reallyExit = $742687c4282b4267$var$Ze);\n };\n $742687c4282b4267$var$$e.load = $742687c4282b4267$var$qe;\n var $742687c4282b4267$var$Ye = $742687c4282b4267$var$Be.reallyExit, $742687c4282b4267$var$Ze = (e)=>{\n $742687c4282b4267$var$ke($742687c4282b4267$var$$.process) && ($742687c4282b4267$var$Be.exitCode = e || 0, $742687c4282b4267$var$Ke(\"exit\", $742687c4282b4267$var$Be.exitCode, null), $742687c4282b4267$var$Ke(\"afterexit\", $742687c4282b4267$var$Be.exitCode, null), $742687c4282b4267$var$Ye.call($742687c4282b4267$var$Be, $742687c4282b4267$var$Be.exitCode));\n }, $742687c4282b4267$var$ze = $742687c4282b4267$var$Be.emit, $742687c4282b4267$var$Qe = function(e, t) {\n if (\"exit\" === e && $742687c4282b4267$var$ke($742687c4282b4267$var$$.process)) {\n void 0 !== t && ($742687c4282b4267$var$Be.exitCode = t);\n var n = $742687c4282b4267$var$ze.apply(this, arguments);\n return $742687c4282b4267$var$Ke(\"exit\", $742687c4282b4267$var$Be.exitCode, null), $742687c4282b4267$var$Ke(\"afterexit\", $742687c4282b4267$var$Be.exitCode, null), n;\n }\n return $742687c4282b4267$var$ze.apply(this, arguments);\n };\n} else $742687c4282b4267$var$$e = ()=>()=>{};\nconst $742687c4282b4267$var$Je = (e)=>e === (0, $5KFgK$os.constants).signals.SIGTERM || \"string\" == typeof e && \"SIGTERM\" === e.toUpperCase();\nvar $742687c4282b4267$var$et, $742687c4282b4267$var$tt = ($742687c4282b4267$var$Le = {\n spawnedKill (e, t = \"SIGTERM\", n = {}) {\n const r = e(t);\n return ((e, t, n, r)=>{\n if (!((e, { forceKillAfterTimeout: t }, n)=>$742687c4282b4267$var$Je(e) && !1 !== t && n)(t, n, r)) return;\n const o = (({ forceKillAfterTimeout: e = !0 })=>{\n if (!0 === e) return 5e3;\n if (!Number.isFinite(e) || 0 > e) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${e}\\` (${typeof e})`);\n return e;\n })(n), i = setTimeout(()=>{\n e(\"SIGKILL\");\n }, o);\n i.unref && i.unref();\n })(e, t, n, r), r;\n },\n spawnedCancel (e, t) {\n e.kill() && (t.isCanceled = !0);\n },\n setupTimeout (e, { timeout: t, killSignal: n = \"SIGTERM\" }, r) {\n if (0 === t || void 0 === t) return r;\n let o;\n const i = new Promise((r, i)=>{\n o = setTimeout(()=>{\n ((e, t, n)=>{\n e.kill(t), n(Object.assign(Error(\"Timed out\"), {\n timedOut: !0,\n signal: t\n }));\n })(e, n, i);\n }, t);\n }), s = r.finally(()=>{\n clearTimeout(o);\n });\n return Promise.race([\n i,\n s\n ]);\n },\n validateTimeout ({ timeout: e }) {\n if (void 0 !== e && (!Number.isFinite(e) || 0 > e)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${e}\\` (${typeof e})`);\n },\n async setExitHandler (e, { cleanup: t, detached: n }, r) {\n if (!t || n) return r;\n const o = $742687c4282b4267$var$$e(()=>{\n e.kill();\n });\n return r.finally(()=>{\n o();\n });\n }\n}).spawnedKill, $742687c4282b4267$var$nt = $742687c4282b4267$var$Le.spawnedCancel, $742687c4282b4267$var$rt = $742687c4282b4267$var$Le.setupTimeout, $742687c4282b4267$var$ot = $742687c4282b4267$var$Le.validateTimeout, $742687c4282b4267$var$it = $742687c4282b4267$var$Le.setExitHandler, $742687c4282b4267$var$st = {};\nconst $742687c4282b4267$var$at = (e)=>null !== e && \"object\" == typeof e && \"function\" == typeof e.pipe;\n$742687c4282b4267$var$at.writable = (e)=>$742687c4282b4267$var$at(e) && !1 !== e.writable && \"function\" == typeof e._write && \"object\" == typeof e._writableState, $742687c4282b4267$var$at.readable = (e)=>$742687c4282b4267$var$at(e) && !1 !== e.readable && \"function\" == typeof e._read && \"object\" == typeof e._readableState, $742687c4282b4267$var$at.duplex = (e)=>$742687c4282b4267$var$at.writable(e) && $742687c4282b4267$var$at.readable(e), $742687c4282b4267$var$at.transform = (e)=>$742687c4282b4267$var$at.duplex(e) && \"function\" == typeof e._transform, $742687c4282b4267$var$st = $742687c4282b4267$var$at;\nvar $742687c4282b4267$var$ct, $742687c4282b4267$var$dt = {}, $742687c4282b4267$var$lt = (0, $5KFgK$buffer.constants), $742687c4282b4267$var$ut = (0, $5KFgK$stream.PassThrough);\n$742687c4282b4267$var$ct = (e)=>{\n e = {\n ...e\n };\n const { array: t } = e;\n let { encoding: n } = e;\n const r = \"buffer\" === n;\n let o = !1;\n t ? o = !(n || r) : n = n || \"utf8\", r && (n = null);\n const i = new $742687c4282b4267$var$ut({\n objectMode: o\n });\n n && i.setEncoding(n);\n let s = 0;\n const a = [];\n return i.on(\"data\", (e)=>{\n a.push(e), o ? s = a.length : s += e.length;\n }), i.getBufferedValue = ()=>t ? a : r ? Buffer.concat(a, s) : a.join(\"\"), i.getBufferedLength = ()=>s, i;\n};\nconst $742687c4282b4267$var$pt = (0, $5KFgK$util.promisify)((0, $5KFgK$stream.pipeline));\nclass $742687c4282b4267$var$mt extends Error {\n constructor(){\n super(\"maxBuffer exceeded\"), this.name = \"MaxBufferError\";\n }\n}\n($742687c4282b4267$var$dt = $742687c4282b4267$var$a).buffer = (e, t)=>$742687c4282b4267$var$a(e, {\n ...t,\n encoding: \"buffer\"\n }), $742687c4282b4267$var$dt.array = (e, t)=>$742687c4282b4267$var$a(e, {\n ...t,\n array: !0\n }), $742687c4282b4267$var$dt.MaxBufferError = $742687c4282b4267$var$mt;\nvar $742687c4282b4267$var$ft, $742687c4282b4267$var$gt = (0, $5KFgK$stream.PassThrough);\n$742687c4282b4267$var$ft = function() {\n function e(t) {\n return Array.isArray(t) ? (t.forEach(e), this) : (r.push(t), t.once(\"end\", n.bind(null, t)), t.once(\"error\", o.emit.bind(o, \"error\")), t.pipe(o, {\n end: !1\n }), this);\n }\n function t() {\n return 0 == r.length;\n }\n function n(e) {\n !(r = r.filter((t)=>t !== e)).length && o.readable && o.end();\n }\n var r = [], o = new $742687c4282b4267$var$gt({\n objectMode: !0\n });\n return o.setMaxListeners(0), o.add = e, o.isEmpty = t, o.on(\"unpipe\", n), [].slice.call(arguments).forEach(e), o;\n};\nconst $742687c4282b4267$var$ht = async (e, t)=>{\n if (e) {\n e.destroy();\n try {\n return await t;\n } catch (e) {\n return e.bufferedData;\n }\n }\n}, $742687c4282b4267$var$yt = (e, { encoding: t, buffer: n, maxBuffer: r })=>{\n if (e && n) return t ? $742687c4282b4267$var$dt(e, {\n encoding: t,\n maxBuffer: r\n }) : $742687c4282b4267$var$dt.buffer(e, {\n maxBuffer: r\n });\n};\nvar $742687c4282b4267$var$bt, $742687c4282b4267$var$vt = ($742687c4282b4267$var$et = {\n handleInput (e, t) {\n void 0 !== t && void 0 !== e.stdin && ($742687c4282b4267$var$st(t) ? t.pipe(e.stdin) : e.stdin.end(t));\n },\n makeAllStream (e, { all: t }) {\n if (!t || !e.stdout && !e.stderr) return;\n const n = $742687c4282b4267$var$ft();\n return e.stdout && n.add(e.stdout), e.stderr && n.add(e.stderr), n;\n },\n async getSpawnedResult ({ stdout: e, stderr: t, all: n }, { encoding: r, buffer: o, maxBuffer: i }, s) {\n const a = $742687c4282b4267$var$yt(e, {\n encoding: r,\n buffer: o,\n maxBuffer: i\n }), c = $742687c4282b4267$var$yt(t, {\n encoding: r,\n buffer: o,\n maxBuffer: i\n }), d = $742687c4282b4267$var$yt(n, {\n encoding: r,\n buffer: o,\n maxBuffer: 2 * i\n });\n try {\n return await Promise.all([\n s,\n a,\n c,\n d\n ]);\n } catch (r) {\n return Promise.all([\n {\n error: r,\n signal: r.signal,\n timedOut: r.timedOut\n },\n $742687c4282b4267$var$ht(e, a),\n $742687c4282b4267$var$ht(t, c),\n $742687c4282b4267$var$ht(n, d)\n ]);\n }\n },\n validateInputSync ({ input: e }) {\n if ($742687c4282b4267$var$st(e)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n }\n}).handleInput, $742687c4282b4267$var$St = $742687c4282b4267$var$et.getSpawnedResult, $742687c4282b4267$var$xt = $742687c4282b4267$var$et.makeAllStream, $742687c4282b4267$var$wt = $742687c4282b4267$var$et.validateInputSync;\nconst $742687c4282b4267$var$Et = (async ()=>{})().constructor.prototype, $742687c4282b4267$var$It = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((e)=>[\n e,\n Reflect.getOwnPropertyDescriptor($742687c4282b4267$var$Et, e)\n ]);\nvar $742687c4282b4267$var$Tt, $742687c4282b4267$var$Ct = ($742687c4282b4267$var$bt = {\n mergePromise (e, t) {\n for (const [n, r] of $742687c4282b4267$var$It){\n const o = \"function\" == typeof t ? (...e)=>Reflect.apply(r.value, t(), e) : r.value.bind(t);\n Reflect.defineProperty(e, n, {\n ...r,\n value: o\n });\n }\n return e;\n },\n getSpawnedPromise (e) {\n return new Promise((t, n)=>{\n e.on(\"exit\", (e, n)=>{\n t({\n exitCode: e,\n signal: n\n });\n }), e.on(\"error\", (e)=>{\n n(e);\n }), e.stdin && e.stdin.on(\"error\", (e)=>{\n n(e);\n });\n });\n }\n}).mergePromise, $742687c4282b4267$var$Gt = $742687c4282b4267$var$bt.getSpawnedPromise;\nconst $742687c4282b4267$var$Pt = (e, t = [])=>Array.isArray(t) ? [\n e,\n ...t\n ] : [\n e\n ], $742687c4282b4267$var$Ot = /^[\\w.-]+$/, $742687c4282b4267$var$At = /\"/g, $742687c4282b4267$var$Rt = / +/g;\nvar $742687c4282b4267$var$Nt = ($742687c4282b4267$var$Tt = {\n joinCommand (e, t) {\n return $742687c4282b4267$var$Pt(e, t).join(\" \");\n },\n getEscapedCommand (e, t) {\n return $742687c4282b4267$var$Pt(e, t).map((e)=>((e)=>\"string\" != typeof e || $742687c4282b4267$var$Ot.test(e) ? e : `\"${e.replace($742687c4282b4267$var$At, '\\\\\"')}\"`)(e)).join(\" \");\n },\n parseCommand (e) {\n const t = [];\n for (const n of e.trim().split($742687c4282b4267$var$Rt)){\n const e = t[t.length - 1];\n e && e.endsWith(\"\\\\\") ? t[t.length - 1] = `${e.slice(0, -1)} ${n}` : t.push(n);\n }\n return t;\n }\n}).joinCommand, $742687c4282b4267$var$_t = $742687c4282b4267$var$Tt.parseCommand, $742687c4282b4267$var$jt = $742687c4282b4267$var$Tt.getEscapedCommand;\nconst $742687c4282b4267$var$Lt = (e, t, n = {})=>{\n const r = $742687c4282b4267$var$z._parse(e, t, n);\n return e = r.command, t = r.args, (n = {\n maxBuffer: 1e8,\n buffer: !0,\n stripFinalNewline: !0,\n extendEnv: !0,\n preferLocal: !1,\n localDir: (n = r.options).cwd || process.cwd(),\n execPath: process.execPath,\n encoding: \"utf8\",\n reject: !0,\n cleanup: !0,\n all: !1,\n windowsHide: !0,\n ...n\n }).env = (({ env: e, extendEnv: t, preferLocal: n, localDir: r, execPath: o })=>{\n const i = t ? {\n ...process.env,\n ...e\n } : e;\n return n ? $742687c4282b4267$var$me.env({\n env: i,\n cwd: r,\n execPath: o\n }) : i;\n })(n), n.stdio = $742687c4282b4267$var$Ne(n), \"win32\" === process.platform && \"cmd\" === (0, $5KFgK$path.basename)(e, \".exe\") && t.unshift(\"/q\"), {\n file: e,\n args: t,\n options: n,\n parsed: r\n };\n}, $742687c4282b4267$var$$t = (e, t, n)=>\"string\" == typeof t || Buffer.isBuffer(t) ? e.stripFinalNewline ? $742687c4282b4267$var$pe(t) : t : void 0 === n ? void 0 : \"\", $742687c4282b4267$var$Bt = (e, t, n)=>{\n const r = $742687c4282b4267$var$Lt(e, t, n), o = $742687c4282b4267$var$Nt(e, t), i = $742687c4282b4267$var$jt(e, t);\n let s;\n $742687c4282b4267$var$ot(r.options);\n try {\n s = (0, $5KFgK$child_process.spawn)(r.file, r.args, r.options);\n } catch (e) {\n const t = new (0, $5KFgK$child_process.ChildProcess), n = Promise.reject($742687c4282b4267$var$Se({\n error: e,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: o,\n escapedCommand: i,\n parsed: r,\n timedOut: !1,\n isCanceled: !1,\n killed: !1\n }));\n return $742687c4282b4267$var$Ct(t, n);\n }\n const a = $742687c4282b4267$var$Gt(s), c = $742687c4282b4267$var$rt(s, r.options, a), d = $742687c4282b4267$var$it(s, r.options, c), l = {\n isCanceled: !1\n };\n s.kill = $742687c4282b4267$var$tt.bind(null, s.kill.bind(s)), s.cancel = $742687c4282b4267$var$nt.bind(null, s, l);\n const u = $742687c4282b4267$var$ge(async ()=>{\n const [{ error: e, exitCode: t, signal: n, timedOut: a }, c, u, p] = await $742687c4282b4267$var$St(s, r.options, d), m = $742687c4282b4267$var$$t(r.options, c), f = $742687c4282b4267$var$$t(r.options, u), g = $742687c4282b4267$var$$t(r.options, p);\n if (e || 0 !== t || null !== n) {\n const c = $742687c4282b4267$var$Se({\n error: e,\n exitCode: t,\n signal: n,\n stdout: m,\n stderr: f,\n all: g,\n command: o,\n escapedCommand: i,\n parsed: r,\n timedOut: a,\n isCanceled: l.isCanceled,\n killed: s.killed\n });\n if (!r.options.reject) return c;\n throw c;\n }\n return {\n command: o,\n escapedCommand: i,\n exitCode: 0,\n stdout: m,\n stderr: f,\n all: g,\n failed: !1,\n timedOut: !1,\n isCanceled: !1,\n killed: !1\n };\n });\n return $742687c4282b4267$var$vt(s, r.options.input), s.all = $742687c4282b4267$var$xt(s, r.options), $742687c4282b4267$var$Ct(s, u);\n};\n($742687c4282b4267$var$Z = $742687c4282b4267$var$Bt).sync = (e, t, n)=>{\n const r = $742687c4282b4267$var$Lt(e, t, n), o = $742687c4282b4267$var$Nt(e, t), i = $742687c4282b4267$var$jt(e, t);\n let s;\n $742687c4282b4267$var$wt(r.options);\n try {\n s = (0, $5KFgK$child_process.spawnSync)(r.file, r.args, r.options);\n } catch (e) {\n throw $742687c4282b4267$var$Se({\n error: e,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: o,\n escapedCommand: i,\n parsed: r,\n timedOut: !1,\n isCanceled: !1,\n killed: !1\n });\n }\n const a = $742687c4282b4267$var$$t(r.options, s.stdout, s.error), c = $742687c4282b4267$var$$t(r.options, s.stderr, s.error);\n if (s.error || 0 !== s.status || null !== s.signal) {\n const e = $742687c4282b4267$var$Se({\n stdout: a,\n stderr: c,\n error: s.error,\n signal: s.signal,\n exitCode: s.status,\n command: o,\n escapedCommand: i,\n parsed: r,\n timedOut: s.error && \"ETIMEDOUT\" === s.error.code,\n isCanceled: !1,\n killed: null !== s.signal\n });\n if (!r.options.reject) return e;\n throw e;\n }\n return {\n command: o,\n escapedCommand: i,\n exitCode: 0,\n stdout: a,\n stderr: c,\n failed: !1,\n timedOut: !1,\n isCanceled: !1,\n killed: !1\n };\n}, $742687c4282b4267$var$Z.command = (e, t)=>{\n const [n, ...r] = $742687c4282b4267$var$_t(e);\n return $742687c4282b4267$var$Bt(n, r, t);\n}, $742687c4282b4267$var$Z.commandSync = (e, t)=>{\n const [n, ...r] = $742687c4282b4267$var$_t(e);\n return $742687c4282b4267$var$Bt.sync(n, r, t);\n}, $742687c4282b4267$var$Z.node = (e, t, n = {})=>{\n t && !Array.isArray(t) && \"object\" == typeof t && (n = t, t = []);\n const r = $742687c4282b4267$var$Ne.node(n), o = process.execArgv.filter((e)=>!e.startsWith(\"--inspect\")), { nodePath: i = process.execPath, nodeOptions: s = o } = n;\n return $742687c4282b4267$var$Bt(i, [\n ...s,\n e,\n ...Array.isArray(t) ? t : []\n ], {\n ...n,\n stdin: void 0,\n stdout: void 0,\n stderr: void 0,\n stdio: r,\n shell: !1\n });\n};\nvar $742687c4282b4267$var$kt = {};\n$742687c4282b4267$var$t($742687c4282b4267$var$kt, \"isAdminWindows\", ()=>$742687c4282b4267$export$36ad181701cee597), $742687c4282b4267$var$t($742687c4282b4267$var$kt, \"isAdminPosix\", ()=>$742687c4282b4267$export$2ebf12717e6b5bb8), $742687c4282b4267$var$t($742687c4282b4267$var$kt, \"isAdmin\", ()=>$742687c4282b4267$export$fc970ed23da99565);\nconst $742687c4282b4267$export$36ad181701cee597 = async ()=>{\n if (\"win32\" !== (0, ($parcel$interopDefault($5KFgK$process))).platform) return !1;\n try {\n return await $742687c4282b4267$var$e($742687c4282b4267$var$Z)(\"fsutil\", [\n \"dirty\",\n \"query\",\n (0, ($parcel$interopDefault($5KFgK$process))).env.systemdrive ?? \"\"\n ]), !0;\n } catch (t) {\n return \"ENOENT\" === t.code && (async ()=>{\n try {\n return await $742687c4282b4267$var$e($742687c4282b4267$var$Z)(\"fltmc\"), !0;\n } catch {\n return !1;\n }\n })();\n }\n}, $742687c4282b4267$export$2ebf12717e6b5bb8 = $742687c4282b4267$export$e3140dc7d0c35e48;\n\n\nfunction $9affb3cfb96595a9$export$8312d9eeba321950(path) {\n if ((0, $742687c4282b4267$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $5KFgK$path.join)(\"/Users/\", process.env.SUDO_USER, path);\n else return (0, $5KFgK$path.join)(\"/home/\", process.env.SUDO_USER, path);\n } else return (0, (/*@__PURE__*/$parcel$interopDefault($adc9e3ad423b7cee$exports)))(`~/${path}`);\n}\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nvar $d113d4980aed7e26$exports = {};\n\"use strict\";\n\n\nvar $bK4Or = parcelRequire(\"bK4Or\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $d113d4980aed7e26$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $d113d4980aed7e26$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $d113d4980aed7e26$var$packageJson = $5KFgK$process.env.npm_package_json;\nvar $d113d4980aed7e26$var$userAgent = $5KFgK$process.env.npm_config_user_agent;\nvar $d113d4980aed7e26$var$isNpm6 = Boolean($d113d4980aed7e26$var$userAgent && $d113d4980aed7e26$var$userAgent.startsWith(\"npm\"));\nvar $d113d4980aed7e26$var$isNpm7 = Boolean($d113d4980aed7e26$var$packageJson && $d113d4980aed7e26$var$packageJson.endsWith(\"package.json\"));\nvar $d113d4980aed7e26$var$isNpm = $d113d4980aed7e26$var$isNpm6 || $d113d4980aed7e26$var$isNpm7;\nvar $d113d4980aed7e26$var$isYarn = Boolean($d113d4980aed7e26$var$userAgent && $d113d4980aed7e26$var$userAgent.startsWith(\"yarn\"));\nvar $d113d4980aed7e26$var$isNpmOrYarn = $d113d4980aed7e26$var$isNpm || $d113d4980aed7e26$var$isYarn;\nvar $d113d4980aed7e26$var$homeDirectory = $5KFgK$os.homedir();\nvar $d113d4980aed7e26$var$configDir = process.env.XDG_CONFIG_HOME || $5KFgK$path.join($d113d4980aed7e26$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $d113d4980aed7e26$var$getConfigFile = function(packageName) {\n return $5KFgK$path.join($d113d4980aed7e26$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $d113d4980aed7e26$var$createConfigDir = function() {\n if (!$5KFgK$fs.existsSync($d113d4980aed7e26$var$configDir)) $5KFgK$fs.mkdirSync($d113d4980aed7e26$var$configDir, {\n recursive: true\n });\n};\nvar $d113d4980aed7e26$var$getLastUpdate = function(packageName) {\n var configFile = $d113d4980aed7e26$var$getConfigFile(packageName);\n try {\n if (!$5KFgK$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($5KFgK$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $d113d4980aed7e26$var$saveLastUpdate = function(packageName) {\n var configFile = $d113d4980aed7e26$var$getConfigFile(packageName);\n $5KFgK$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $d113d4980aed7e26$var$getDistVersion = function(packageName, distTag) {\n return $d113d4980aed7e26$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $d113d4980aed7e26$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $5KFgK$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $d113d4980aed7e26$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $d113d4980aed7e26$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $d113d4980aed7e26$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $d113d4980aed7e26$var$createConfigDir();\n lastUpdateCheck = $d113d4980aed7e26$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $d113d4980aed7e26$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $d113d4980aed7e26$var$saveLastUpdate(pkg.name);\n if ($bK4Or.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $d113d4980aed7e26$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"┌\".concat(\"─\".repeat(width + 2), \"┐\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"│ \".concat(line.padEnd(width), \" │\"));\n }\n res.push(\"└\".concat(\"─\".repeat(width + 2), \"┘\"));\n return res.join(\"\\n\");\n};\nvar $d113d4980aed7e26$var$simpleUpdateNotifier = function(args) {\n return $d113d4980aed7e26$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $d113d4980aed7e26$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $d113d4980aed7e26$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $d113d4980aed7e26$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($d113d4980aed7e26$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$d113d4980aed7e26$exports = $d113d4980aed7e26$var$simpleUpdateNotifier;\n\n\nvar $f0b84108a873516c$exports = {};\n$f0b84108a873516c$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.30.0\"}');\n\n\nasync function $657b8b52854b1b18$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($d113d4980aed7e26$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($f0b84108a873516c$exports)))\n });\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nfunction $63fe5c2be456b1fb$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $63fe5c2be456b1fb$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $63fe5c2be456b1fb$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $63fe5c2be456b1fb$var$toArr(opts.string);\n opts.boolean = $63fe5c2be456b1fb$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $63fe5c2be456b1fb$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $63fe5c2be456b1fb$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\nvar $25a091d756ba0cd8$exports = {};\nconst $25a091d756ba0cd8$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $25a091d756ba0cd8$var$COLON = $25a091d756ba0cd8$var$isWindows ? \";\" : \":\";\nvar $bf8a7dcae1f165c2$exports = {};\n\nvar $bf8a7dcae1f165c2$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $bf8a7dcae1f165c2$var$core = (parcelRequire(\"cCOdx\"));\nelse $bf8a7dcae1f165c2$var$core = (parcelRequire(\"fHi41\"));\n$bf8a7dcae1f165c2$exports = $bf8a7dcae1f165c2$var$isexe;\n$bf8a7dcae1f165c2$var$isexe.sync = $bf8a7dcae1f165c2$var$sync;\nfunction $bf8a7dcae1f165c2$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $bf8a7dcae1f165c2$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $bf8a7dcae1f165c2$var$core(path, options || {}, function(er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === \"EACCES\" || options && options.ignoreErrors) {\n er = null;\n is = false;\n }\n }\n cb(er, is);\n });\n}\nfunction $bf8a7dcae1f165c2$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $bf8a7dcae1f165c2$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $25a091d756ba0cd8$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $25a091d756ba0cd8$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $25a091d756ba0cd8$var$COLON;\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || $25a091d756ba0cd8$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$25a091d756ba0cd8$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $25a091d756ba0cd8$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $25a091d756ba0cd8$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($25a091d756ba0cd8$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $25a091d756ba0cd8$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $25a091d756ba0cd8$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($25a091d756ba0cd8$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $5KFgK$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $bf8a7dcae1f165c2$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $25a091d756ba0cd8$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $25a091d756ba0cd8$var$getPathInfo(cmd, opt);\n const found = [];\n for(let i = 0; i < pathEnv.length; i++){\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $5KFgK$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $bf8a7dcae1f165c2$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $25a091d756ba0cd8$var$getNotFoundError(cmd);\n};\n$25a091d756ba0cd8$exports = $25a091d756ba0cd8$var$which;\n$25a091d756ba0cd8$var$which.sync = $25a091d756ba0cd8$var$whichSync;\n\n\nvar $70a83b2e1b96a64d$exports = {};\n\"use strict\";\n\n\nvar $35037cbcf60d645b$exports = {};\n\"use strict\";\n\nvar $0af1e65fb12a0d59$exports = {};\n\"use strict\";\n\nvar $f7aab8bf40bed33c$exports = {};\n\"use strict\";\n\n\nvar $b89c78a43b5ba1e0$exports = {};\n\"use strict\";\nconst $b89c78a43b5ba1e0$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$b89c78a43b5ba1e0$exports = $b89c78a43b5ba1e0$var$pathKey;\n// TODO: Remove this for the next major release\n$b89c78a43b5ba1e0$exports.default = $b89c78a43b5ba1e0$var$pathKey;\n\n\nfunction $f7aab8bf40bed33c$var$resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $25a091d756ba0cd8$exports.sync(parsed.command, {\n path: env[$b89c78a43b5ba1e0$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $5KFgK$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\n }\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) resolved = $5KFgK$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $f7aab8bf40bed33c$var$resolveCommand(parsed) {\n return $f7aab8bf40bed33c$var$resolveCommandAttempt(parsed) || $f7aab8bf40bed33c$var$resolveCommandAttempt(parsed, true);\n}\n$f7aab8bf40bed33c$exports = $f7aab8bf40bed33c$var$resolveCommand;\n\n\nvar $ce98266385a3f925$export$ae50443ffc990749;\nvar $ce98266385a3f925$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $ce98266385a3f925$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $ce98266385a3f925$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($ce98266385a3f925$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $ce98266385a3f925$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, \"$1$1\");\n // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($ce98266385a3f925$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($ce98266385a3f925$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$ce98266385a3f925$export$ae50443ffc990749 = $ce98266385a3f925$var$escapeCommand;\n$ce98266385a3f925$export$6ea29ee575e3f5ff = $ce98266385a3f925$var$escapeArgument;\n\n\nvar $7097fd39c059c8a0$exports = {};\n\"use strict\";\n\nvar $766d07f82bb79efe$exports = {};\n\"use strict\";\nvar $ab23f4a8e507b817$exports = {};\n\"use strict\";\n$ab23f4a8e507b817$exports = /^#!(.*)/;\n\n\n$766d07f82bb79efe$exports = (string = \"\")=>{\n const match = string.match($ab23f4a8e507b817$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $7097fd39c059c8a0$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $5KFgK$fs.openSync(command, \"r\");\n $5KFgK$fs.readSync(fd, buffer, 0, size, 0);\n $5KFgK$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $766d07f82bb79efe$exports(buffer.toString());\n}\n$7097fd39c059c8a0$exports = $7097fd39c059c8a0$var$readShebang;\n\n\nconst $0af1e65fb12a0d59$var$isWin = process.platform === \"win32\";\nconst $0af1e65fb12a0d59$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $0af1e65fb12a0d59$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $0af1e65fb12a0d59$var$detectShebang(parsed) {\n parsed.file = $f7aab8bf40bed33c$exports(parsed);\n const shebang = parsed.file && $7097fd39c059c8a0$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $f7aab8bf40bed33c$exports(parsed);\n }\n return parsed.file;\n}\nfunction $0af1e65fb12a0d59$var$parseNonShell(parsed) {\n if (!$0af1e65fb12a0d59$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $0af1e65fb12a0d59$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$0af1e65fb12a0d59$var$isExecutableRegExp.test(commandFile);\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = $0af1e65fb12a0d59$var$isCmdShimRegExp.test(commandFile);\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = $5KFgK$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $ce98266385a3f925$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$ce98266385a3f925$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\n parsed.command = process.env.comspec || \"cmd.exe\";\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n return parsed;\n}\nfunction $0af1e65fb12a0d59$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $0af1e65fb12a0d59$var$parseNonShell(parsed);\n}\n$0af1e65fb12a0d59$exports = $0af1e65fb12a0d59$var$parse;\n\n\nvar $b98496eebfc2bee4$exports = {};\n\"use strict\";\nconst $b98496eebfc2bee4$var$isWin = process.platform === \"win32\";\nfunction $b98496eebfc2bee4$var$notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: \"ENOENT\",\n errno: \"ENOENT\",\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args\n });\n}\nfunction $b98496eebfc2bee4$var$hookChildProcess(cp, parsed) {\n if (!$b98496eebfc2bee4$var$isWin) return;\n const originalEmit = cp.emit;\n cp.emit = function(name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === \"exit\") {\n const err = $b98496eebfc2bee4$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $b98496eebfc2bee4$var$verifyENOENT(status, parsed) {\n if ($b98496eebfc2bee4$var$isWin && status === 1 && !parsed.file) return $b98496eebfc2bee4$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $b98496eebfc2bee4$var$verifyENOENTSync(status, parsed) {\n if ($b98496eebfc2bee4$var$isWin && status === 1 && !parsed.file) return $b98496eebfc2bee4$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$b98496eebfc2bee4$exports = {\n hookChildProcess: $b98496eebfc2bee4$var$hookChildProcess,\n verifyENOENT: $b98496eebfc2bee4$var$verifyENOENT,\n verifyENOENTSync: $b98496eebfc2bee4$var$verifyENOENTSync,\n notFoundError: $b98496eebfc2bee4$var$notFoundError\n};\n\n\nfunction $35037cbcf60d645b$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $0af1e65fb12a0d59$exports(command, args, options);\n // Spawn the child process\n const spawned = $5KFgK$child_process.spawn(parsed.command, parsed.args, parsed.options);\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n $b98496eebfc2bee4$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $35037cbcf60d645b$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $0af1e65fb12a0d59$exports(command, args, options);\n // Spawn the child process\n const result = $5KFgK$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $b98496eebfc2bee4$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$35037cbcf60d645b$exports = $35037cbcf60d645b$var$spawn;\n$35037cbcf60d645b$exports.spawn = $35037cbcf60d645b$var$spawn;\n$35037cbcf60d645b$exports.sync = $35037cbcf60d645b$var$spawnSync;\n$35037cbcf60d645b$exports._parse = $0af1e65fb12a0d59$exports;\n$35037cbcf60d645b$exports._enoent = $b98496eebfc2bee4$exports;\n\n\nvar $de805666b9630fd4$exports = {};\n\"use strict\";\n$de805666b9630fd4$exports = (input)=>{\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, input.length - 1);\n if (input[input.length - 1] === CR) input = input.slice(0, input.length - 1);\n return input;\n};\n\n\nvar $a57f1e593a90c533$exports = {};\n\"use strict\";\n\n\nconst $a57f1e593a90c533$var$npmRunPath = (options)=>{\n options = {\n cwd: process.cwd(),\n path: process.env[$b89c78a43b5ba1e0$exports()],\n execPath: process.execPath,\n ...options\n };\n let previous;\n let cwdPath = $5KFgK$path.resolve(options.cwd);\n const result = [];\n while(previous !== cwdPath){\n result.push($5KFgK$path.join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = $5KFgK$path.resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used\n const execPathDir = $5KFgK$path.resolve(options.cwd, options.execPath, \"..\");\n result.push(execPathDir);\n return result.concat(options.path).join($5KFgK$path.delimiter);\n};\n$a57f1e593a90c533$exports = $a57f1e593a90c533$var$npmRunPath;\n// TODO: Remove this for the next major release\n$a57f1e593a90c533$exports.default = $a57f1e593a90c533$var$npmRunPath;\n$a57f1e593a90c533$exports.env = (options)=>{\n options = {\n env: process.env,\n ...options\n };\n const env = {\n ...options.env\n };\n const path = $b89c78a43b5ba1e0$exports({\n env: env\n });\n options.path = env[path];\n env[path] = $a57f1e593a90c533$exports(options);\n return env;\n};\n\n\nvar $08f783521984119f$exports = {};\n\"use strict\";\nvar $c95ca8475c863658$exports = {};\n\"use strict\";\nconst $c95ca8475c863658$var$mimicFn = (to, from)=>{\n for (const prop of Reflect.ownKeys(from))Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n return to;\n};\n$c95ca8475c863658$exports = $c95ca8475c863658$var$mimicFn;\n// TODO: Remove this for the next major release\n$c95ca8475c863658$exports.default = $c95ca8475c863658$var$mimicFn;\n\n\nconst $08f783521984119f$var$calledFunctions = new WeakMap();\nconst $08f783521984119f$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"<anonymous>\";\n const onetime = function(...arguments_) {\n $08f783521984119f$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n $c95ca8475c863658$exports(onetime, function_);\n $08f783521984119f$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$08f783521984119f$exports = $08f783521984119f$var$onetime;\n// TODO: Remove this for the next major release\n$08f783521984119f$exports.default = $08f783521984119f$var$onetime;\n$08f783521984119f$exports.callCount = (function_)=>{\n if (!$08f783521984119f$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $08f783521984119f$var$calledFunctions.get(function_);\n};\n\n\nvar $c5b2da1a08da1975$exports = {};\n\"use strict\";\nvar $bf71d47a3e230256$exports = {};\n\"use strict\";\nObject.defineProperty($bf71d47a3e230256$exports, \"__esModule\", {\n value: true\n});\n$bf71d47a3e230256$exports.signalsByNumber = $bf71d47a3e230256$exports.signalsByName = void 0;\n\nvar $8afd6e269afd20eb$exports = {};\n\"use strict\";\nObject.defineProperty($8afd6e269afd20eb$exports, \"__esModule\", {\n value: true\n});\n$8afd6e269afd20eb$exports.getSignals = void 0;\n\nvar $ad9615450c98a10e$exports = {};\n\"use strict\";\nObject.defineProperty($ad9615450c98a10e$exports, \"__esModule\", {\n value: true\n});\n$ad9615450c98a10e$exports.SIGNALS = void 0;\nconst $ad9615450c98a10e$var$SIGNALS = [\n {\n name: \"SIGHUP\",\n number: 1,\n action: \"terminate\",\n description: \"Terminal closed\",\n standard: \"posix\"\n },\n {\n name: \"SIGINT\",\n number: 2,\n action: \"terminate\",\n description: \"User interruption with CTRL-C\",\n standard: \"ansi\"\n },\n {\n name: \"SIGQUIT\",\n number: 3,\n action: \"core\",\n description: \"User interruption with CTRL-\\\\\",\n standard: \"posix\"\n },\n {\n name: \"SIGILL\",\n number: 4,\n action: \"core\",\n description: \"Invalid machine instruction\",\n standard: \"ansi\"\n },\n {\n name: \"SIGTRAP\",\n number: 5,\n action: \"core\",\n description: \"Debugger breakpoint\",\n standard: \"posix\"\n },\n {\n name: \"SIGABRT\",\n number: 6,\n action: \"core\",\n description: \"Aborted\",\n standard: \"ansi\"\n },\n {\n name: \"SIGIOT\",\n number: 6,\n action: \"core\",\n description: \"Aborted\",\n standard: \"bsd\"\n },\n {\n name: \"SIGBUS\",\n number: 7,\n action: \"core\",\n description: \"Bus error due to misaligned, non-existing address or paging error\",\n standard: \"bsd\"\n },\n {\n name: \"SIGEMT\",\n number: 7,\n action: \"terminate\",\n description: \"Command should be emulated but is not implemented\",\n standard: \"other\"\n },\n {\n name: \"SIGFPE\",\n number: 8,\n action: \"core\",\n description: \"Floating point arithmetic error\",\n standard: \"ansi\"\n },\n {\n name: \"SIGKILL\",\n number: 9,\n action: \"terminate\",\n description: \"Forced termination\",\n standard: \"posix\",\n forced: true\n },\n {\n name: \"SIGUSR1\",\n number: 10,\n action: \"terminate\",\n description: \"Application-specific signal\",\n standard: \"posix\"\n },\n {\n name: \"SIGSEGV\",\n number: 11,\n action: \"core\",\n description: \"Segmentation fault\",\n standard: \"ansi\"\n },\n {\n name: \"SIGUSR2\",\n number: 12,\n action: \"terminate\",\n description: \"Application-specific signal\",\n standard: \"posix\"\n },\n {\n name: \"SIGPIPE\",\n number: 13,\n action: \"terminate\",\n description: \"Broken pipe or socket\",\n standard: \"posix\"\n },\n {\n name: \"SIGALRM\",\n number: 14,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"posix\"\n },\n {\n name: \"SIGTERM\",\n number: 15,\n action: \"terminate\",\n description: \"Termination\",\n standard: \"ansi\"\n },\n {\n name: \"SIGSTKFLT\",\n number: 16,\n action: \"terminate\",\n description: \"Stack is empty or overflowed\",\n standard: \"other\"\n },\n {\n name: \"SIGCHLD\",\n number: 17,\n action: \"ignore\",\n description: \"Child process terminated, paused or unpaused\",\n standard: \"posix\"\n },\n {\n name: \"SIGCLD\",\n number: 17,\n action: \"ignore\",\n description: \"Child process terminated, paused or unpaused\",\n standard: \"other\"\n },\n {\n name: \"SIGCONT\",\n number: 18,\n action: \"unpause\",\n description: \"Unpaused\",\n standard: \"posix\",\n forced: true\n },\n {\n name: \"SIGSTOP\",\n number: 19,\n action: \"pause\",\n description: \"Paused\",\n standard: \"posix\",\n forced: true\n },\n {\n name: \"SIGTSTP\",\n number: 20,\n action: \"pause\",\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: \"posix\"\n },\n {\n name: \"SIGTTIN\",\n number: 21,\n action: \"pause\",\n description: \"Background process cannot read terminal input\",\n standard: \"posix\"\n },\n {\n name: \"SIGBREAK\",\n number: 21,\n action: \"terminate\",\n description: \"User interruption with CTRL-BREAK\",\n standard: \"other\"\n },\n {\n name: \"SIGTTOU\",\n number: 22,\n action: \"pause\",\n description: \"Background process cannot write to terminal output\",\n standard: \"posix\"\n },\n {\n name: \"SIGURG\",\n number: 23,\n action: \"ignore\",\n description: \"Socket received out-of-band data\",\n standard: \"bsd\"\n },\n {\n name: \"SIGXCPU\",\n number: 24,\n action: \"core\",\n description: \"Process timed out\",\n standard: \"bsd\"\n },\n {\n name: \"SIGXFSZ\",\n number: 25,\n action: \"core\",\n description: \"File too big\",\n standard: \"bsd\"\n },\n {\n name: \"SIGVTALRM\",\n number: 26,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"bsd\"\n },\n {\n name: \"SIGPROF\",\n number: 27,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"bsd\"\n },\n {\n name: \"SIGWINCH\",\n number: 28,\n action: \"ignore\",\n description: \"Terminal window size changed\",\n standard: \"bsd\"\n },\n {\n name: \"SIGIO\",\n number: 29,\n action: \"terminate\",\n description: \"I/O is available\",\n standard: \"other\"\n },\n {\n name: \"SIGPOLL\",\n number: 29,\n action: \"terminate\",\n description: \"Watched event\",\n standard: \"other\"\n },\n {\n name: \"SIGINFO\",\n number: 29,\n action: \"ignore\",\n description: \"Request for process information\",\n standard: \"other\"\n },\n {\n name: \"SIGPWR\",\n number: 30,\n action: \"terminate\",\n description: \"Device running out of power\",\n standard: \"systemv\"\n },\n {\n name: \"SIGSYS\",\n number: 31,\n action: \"core\",\n description: \"Invalid system call\",\n standard: \"other\"\n },\n {\n name: \"SIGUNUSED\",\n number: 31,\n action: \"terminate\",\n description: \"Invalid system call\",\n standard: \"other\"\n }\n];\n$ad9615450c98a10e$exports.SIGNALS = $ad9615450c98a10e$var$SIGNALS;\n\n\nvar $6858c417a9ad7f6c$exports = {};\n\"use strict\";\nObject.defineProperty($6858c417a9ad7f6c$exports, \"__esModule\", {\n value: true\n});\n$6858c417a9ad7f6c$exports.SIGRTMAX = $6858c417a9ad7f6c$exports.getRealtimeSignals = void 0;\nconst $6858c417a9ad7f6c$var$getRealtimeSignals = function() {\n const length = $6858c417a9ad7f6c$var$SIGRTMAX - $6858c417a9ad7f6c$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $6858c417a9ad7f6c$var$getRealtimeSignal);\n};\n$6858c417a9ad7f6c$exports.getRealtimeSignals = $6858c417a9ad7f6c$var$getRealtimeSignals;\nconst $6858c417a9ad7f6c$var$getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: $6858c417a9ad7f6c$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n };\n};\nconst $6858c417a9ad7f6c$var$SIGRTMIN = 34;\nconst $6858c417a9ad7f6c$var$SIGRTMAX = 64;\n$6858c417a9ad7f6c$exports.SIGRTMAX = $6858c417a9ad7f6c$var$SIGRTMAX;\n\n\nconst $8afd6e269afd20eb$var$getSignals = function() {\n const realtimeSignals = (0, $6858c417a9ad7f6c$exports.getRealtimeSignals)();\n const signals = [\n ...$ad9615450c98a10e$exports.SIGNALS,\n ...realtimeSignals\n ].map($8afd6e269afd20eb$var$normalizeSignal);\n return signals;\n};\n$8afd6e269afd20eb$exports.getSignals = $8afd6e269afd20eb$var$getSignals;\nconst $8afd6e269afd20eb$var$normalizeSignal = function({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard }) {\n const { signals: { [name]: constantSignal } } = $5KFgK$os.constants;\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\n\nconst $bf71d47a3e230256$var$getSignalsByName = function() {\n const signals = (0, $8afd6e269afd20eb$exports.getSignals)();\n return signals.reduce($bf71d47a3e230256$var$getSignalByName, {});\n};\nconst $bf71d47a3e230256$var$getSignalByName = function(signalByNameMemo, { name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard }) {\n return {\n ...signalByNameMemo,\n [name]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $bf71d47a3e230256$var$signalsByName = $bf71d47a3e230256$var$getSignalsByName();\n$bf71d47a3e230256$exports.signalsByName = $bf71d47a3e230256$var$signalsByName;\nconst $bf71d47a3e230256$var$getSignalsByNumber = function() {\n const signals = (0, $8afd6e269afd20eb$exports.getSignals)();\n const length = $6858c417a9ad7f6c$exports.SIGRTMAX + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$bf71d47a3e230256$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $bf71d47a3e230256$var$getSignalByNumber = function(number, signals) {\n const signal = $bf71d47a3e230256$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $bf71d47a3e230256$var$findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name: name })=>$5KFgK$os.constants.signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $bf71d47a3e230256$var$signalsByNumber = $bf71d47a3e230256$var$getSignalsByNumber();\n$bf71d47a3e230256$exports.signalsByNumber = $bf71d47a3e230256$var$signalsByNumber;\n\n\nvar $c5b2da1a08da1975$require$signalsByName = $bf71d47a3e230256$exports.signalsByName;\nconst $c5b2da1a08da1975$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $c5b2da1a08da1975$var$makeError = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : $c5b2da1a08da1975$require$signalsByName[signal].description;\n const errorCode = error && error.code;\n const prefix = $c5b2da1a08da1975$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n$c5b2da1a08da1975$exports = $c5b2da1a08da1975$var$makeError;\n\n\nvar $34684d08d10177ab$exports = {};\n\"use strict\";\nconst $34684d08d10177ab$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $34684d08d10177ab$var$hasAlias = (options)=>$34684d08d10177ab$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $34684d08d10177ab$var$normalizeStdio = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $34684d08d10177ab$var$aliases.map((alias)=>options[alias]);\n if ($34684d08d10177ab$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$34684d08d10177ab$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $34684d08d10177ab$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\n$34684d08d10177ab$exports = $34684d08d10177ab$var$normalizeStdio;\n// `ipc` is pushed unless it is already present\n$34684d08d10177ab$exports.node = (options)=>{\n const stdio = $34684d08d10177ab$var$normalizeStdio(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\nvar $769a574c3a976f01$exports = {};\n\"use strict\";\n\nvar $7274790eb12a7292$exports = {};\n// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar $7274790eb12a7292$var$process = $parcel$global.process;\nconst $7274790eb12a7292$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$7274790eb12a7292$var$processOk($7274790eb12a7292$var$process)) $7274790eb12a7292$exports = function() {\n return function() {};\n};\nelse {\n var $7274790eb12a7292$var$assert = $5KFgK$assert;\n var $7274790eb12a7292$var$signals = (parcelRequire(\"5AOH8\"));\n var $7274790eb12a7292$var$isWin = /^win/i.test($7274790eb12a7292$var$process.platform);\n var $7274790eb12a7292$var$EE = $5KFgK$events;\n /* istanbul ignore if */ if (typeof $7274790eb12a7292$var$EE !== \"function\") $7274790eb12a7292$var$EE = $7274790eb12a7292$var$EE.EventEmitter;\n var $7274790eb12a7292$var$emitter;\n if ($7274790eb12a7292$var$process.__signal_exit_emitter__) $7274790eb12a7292$var$emitter = $7274790eb12a7292$var$process.__signal_exit_emitter__;\n else {\n $7274790eb12a7292$var$emitter = $7274790eb12a7292$var$process.__signal_exit_emitter__ = new $7274790eb12a7292$var$EE();\n $7274790eb12a7292$var$emitter.count = 0;\n $7274790eb12a7292$var$emitter.emitted = {};\n }\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!$7274790eb12a7292$var$emitter.infinite) {\n $7274790eb12a7292$var$emitter.setMaxListeners(Infinity);\n $7274790eb12a7292$var$emitter.infinite = true;\n }\n $7274790eb12a7292$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$7274790eb12a7292$var$processOk($parcel$global.process)) return function() {};\n $7274790eb12a7292$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($7274790eb12a7292$var$loaded === false) $7274790eb12a7292$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $7274790eb12a7292$var$emitter.removeListener(ev, cb);\n if ($7274790eb12a7292$var$emitter.listeners(\"exit\").length === 0 && $7274790eb12a7292$var$emitter.listeners(\"afterexit\").length === 0) $7274790eb12a7292$var$unload();\n };\n $7274790eb12a7292$var$emitter.on(ev, cb);\n return remove;\n };\n var $7274790eb12a7292$var$unload = function unload() {\n if (!$7274790eb12a7292$var$loaded || !$7274790eb12a7292$var$processOk($parcel$global.process)) return;\n $7274790eb12a7292$var$loaded = false;\n $7274790eb12a7292$var$signals.forEach(function(sig) {\n try {\n $7274790eb12a7292$var$process.removeListener(sig, $7274790eb12a7292$var$sigListeners[sig]);\n } catch (er) {}\n });\n $7274790eb12a7292$var$process.emit = $7274790eb12a7292$var$originalProcessEmit;\n $7274790eb12a7292$var$process.reallyExit = $7274790eb12a7292$var$originalProcessReallyExit;\n $7274790eb12a7292$var$emitter.count -= 1;\n };\n $7274790eb12a7292$exports.unload = $7274790eb12a7292$var$unload;\n var $7274790eb12a7292$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($7274790eb12a7292$var$emitter.emitted[event]) return;\n $7274790eb12a7292$var$emitter.emitted[event] = true;\n $7274790eb12a7292$var$emitter.emit(event, code, signal);\n };\n // { <signal>: <listener fn>, ... }\n var $7274790eb12a7292$var$sigListeners = {};\n $7274790eb12a7292$var$signals.forEach(function(sig) {\n $7274790eb12a7292$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$7274790eb12a7292$var$processOk($parcel$global.process)) return;\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = $7274790eb12a7292$var$process.listeners(sig);\n if (listeners.length === $7274790eb12a7292$var$emitter.count) {\n $7274790eb12a7292$var$unload();\n $7274790eb12a7292$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $7274790eb12a7292$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($7274790eb12a7292$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $7274790eb12a7292$var$process.kill($7274790eb12a7292$var$process.pid, sig);\n }\n };\n });\n $7274790eb12a7292$exports.signals = function() {\n return $7274790eb12a7292$var$signals;\n };\n var $7274790eb12a7292$var$loaded = false;\n var $7274790eb12a7292$var$load = function load() {\n if ($7274790eb12a7292$var$loaded || !$7274790eb12a7292$var$processOk($parcel$global.process)) return;\n $7274790eb12a7292$var$loaded = true;\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n $7274790eb12a7292$var$emitter.count += 1;\n $7274790eb12a7292$var$signals = $7274790eb12a7292$var$signals.filter(function(sig) {\n try {\n $7274790eb12a7292$var$process.on(sig, $7274790eb12a7292$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $7274790eb12a7292$var$process.emit = $7274790eb12a7292$var$processEmit;\n $7274790eb12a7292$var$process.reallyExit = $7274790eb12a7292$var$processReallyExit;\n };\n $7274790eb12a7292$exports.load = $7274790eb12a7292$var$load;\n var $7274790eb12a7292$var$originalProcessReallyExit = $7274790eb12a7292$var$process.reallyExit;\n var $7274790eb12a7292$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$7274790eb12a7292$var$processOk($parcel$global.process)) return;\n $7274790eb12a7292$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $7274790eb12a7292$var$emit(\"exit\", $7274790eb12a7292$var$process.exitCode, null);\n /* istanbul ignore next */ $7274790eb12a7292$var$emit(\"afterexit\", $7274790eb12a7292$var$process.exitCode, null);\n /* istanbul ignore next */ $7274790eb12a7292$var$originalProcessReallyExit.call($7274790eb12a7292$var$process, $7274790eb12a7292$var$process.exitCode);\n };\n var $7274790eb12a7292$var$originalProcessEmit = $7274790eb12a7292$var$process.emit;\n var $7274790eb12a7292$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $7274790eb12a7292$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $7274790eb12a7292$var$process.exitCode = arg;\n var ret = $7274790eb12a7292$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $7274790eb12a7292$var$emit(\"exit\", $7274790eb12a7292$var$process.exitCode, null);\n /* istanbul ignore next */ $7274790eb12a7292$var$emit(\"afterexit\", $7274790eb12a7292$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $7274790eb12a7292$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $769a574c3a976f01$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst $769a574c3a976f01$var$spawnedKill = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $769a574c3a976f01$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $769a574c3a976f01$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$769a574c3a976f01$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $769a574c3a976f01$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $769a574c3a976f01$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>{\n return $769a574c3a976f01$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\nconst $769a574c3a976f01$var$isSigterm = (signal)=>{\n return signal === $5KFgK$os.constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\n};\nconst $769a574c3a976f01$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $769a574c3a976f01$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\n// `childProcess.cancel()`\nconst $769a574c3a976f01$var$spawnedCancel = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $769a574c3a976f01$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\n// `timeout` option handling\nconst $769a574c3a976f01$var$setupTimeout = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $769a574c3a976f01$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $769a574c3a976f01$var$validateTimeout = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\n// `cleanup` option handling\nconst $769a574c3a976f01$var$setExitHandler = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = $7274790eb12a7292$exports(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n$769a574c3a976f01$exports = {\n spawnedKill: $769a574c3a976f01$var$spawnedKill,\n spawnedCancel: $769a574c3a976f01$var$spawnedCancel,\n setupTimeout: $769a574c3a976f01$var$setupTimeout,\n validateTimeout: $769a574c3a976f01$var$validateTimeout,\n setExitHandler: $769a574c3a976f01$var$setExitHandler\n};\n\n\nvar $70a83b2e1b96a64d$require$spawnedKill = $769a574c3a976f01$exports.spawnedKill;\nvar $70a83b2e1b96a64d$require$spawnedCancel = $769a574c3a976f01$exports.spawnedCancel;\nvar $70a83b2e1b96a64d$require$setupTimeout = $769a574c3a976f01$exports.setupTimeout;\nvar $70a83b2e1b96a64d$require$validateTimeout = $769a574c3a976f01$exports.validateTimeout;\nvar $70a83b2e1b96a64d$require$setExitHandler = $769a574c3a976f01$exports.setExitHandler;\nvar $b0d5e2746bb5c96a$exports = {};\n\"use strict\";\nvar $ed67b9639b1dec43$exports = {};\n\"use strict\";\nconst $ed67b9639b1dec43$var$isStream = (stream)=>stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n$ed67b9639b1dec43$var$isStream.writable = (stream)=>$ed67b9639b1dec43$var$isStream(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n$ed67b9639b1dec43$var$isStream.readable = (stream)=>$ed67b9639b1dec43$var$isStream(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n$ed67b9639b1dec43$var$isStream.duplex = (stream)=>$ed67b9639b1dec43$var$isStream.writable(stream) && $ed67b9639b1dec43$var$isStream.readable(stream);\n$ed67b9639b1dec43$var$isStream.transform = (stream)=>$ed67b9639b1dec43$var$isStream.duplex(stream) && typeof stream._transform === \"function\";\n$ed67b9639b1dec43$exports = $ed67b9639b1dec43$var$isStream;\n\n\nvar $ae9d312d43a643b6$exports = {};\n\"use strict\";\n\nvar $ae9d312d43a643b6$require$BufferConstants = $5KFgK$buffer.constants;\n\n\nvar $ae9d312d43a643b6$require$promisify = $5KFgK$util.promisify;\nvar $3b66031bb5fa944b$exports = {};\n\"use strict\";\n\nvar $3b66031bb5fa944b$require$PassThroughStream = $5KFgK$stream.PassThrough;\n$3b66031bb5fa944b$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $3b66031bb5fa944b$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $ae9d312d43a643b6$var$streamPipelinePromisified = $ae9d312d43a643b6$require$promisify($5KFgK$stream.pipeline);\nclass $ae9d312d43a643b6$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $ae9d312d43a643b6$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $3b66031bb5fa944b$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $ae9d312d43a643b6$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $ae9d312d43a643b6$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $ae9d312d43a643b6$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$ae9d312d43a643b6$exports = $ae9d312d43a643b6$var$getStream;\n$ae9d312d43a643b6$exports.buffer = (stream, options)=>$ae9d312d43a643b6$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$ae9d312d43a643b6$exports.array = (stream, options)=>$ae9d312d43a643b6$var$getStream(stream, {\n ...options,\n array: true\n });\n$ae9d312d43a643b6$exports.MaxBufferError = $ae9d312d43a643b6$var$MaxBufferError;\n\n\nvar $45f2e6c6711de6aa$exports = {};\n\"use strict\";\n\nvar $45f2e6c6711de6aa$require$PassThrough = $5KFgK$stream.PassThrough;\n$45f2e6c6711de6aa$exports = function() {\n var sources = [];\n var output = new $45f2e6c6711de6aa$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\n }\n sources.push(source);\n source.once(\"end\", remove.bind(null, source));\n source.once(\"error\", output.emit.bind(output, \"error\"));\n source.pipe(output, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\n// `input` option\nconst $b0d5e2746bb5c96a$var$handleInput = (spawned, input)=>{\n // Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n // @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n if (input === undefined || spawned.stdin === undefined) return;\n if ($ed67b9639b1dec43$exports(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\n// `all` interleaves `stdout` and `stderr`\nconst $b0d5e2746bb5c96a$var$makeAllStream = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = $45f2e6c6711de6aa$exports();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $b0d5e2746bb5c96a$var$getBufferedData = async (stream, streamPromise)=>{\n if (!stream) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $b0d5e2746bb5c96a$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return $ae9d312d43a643b6$exports(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return $ae9d312d43a643b6$exports.buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst $b0d5e2746bb5c96a$var$getSpawnedResult = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $b0d5e2746bb5c96a$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $b0d5e2746bb5c96a$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $b0d5e2746bb5c96a$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $b0d5e2746bb5c96a$var$getBufferedData(stdout, stdoutPromise),\n $b0d5e2746bb5c96a$var$getBufferedData(stderr, stderrPromise),\n $b0d5e2746bb5c96a$var$getBufferedData(all, allPromise)\n ]);\n }\n};\nconst $b0d5e2746bb5c96a$var$validateInputSync = ({ input: input })=>{\n if ($ed67b9639b1dec43$exports(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n};\n$b0d5e2746bb5c96a$exports = {\n handleInput: $b0d5e2746bb5c96a$var$handleInput,\n makeAllStream: $b0d5e2746bb5c96a$var$makeAllStream,\n getSpawnedResult: $b0d5e2746bb5c96a$var$getSpawnedResult,\n validateInputSync: $b0d5e2746bb5c96a$var$validateInputSync\n};\n\n\nvar $70a83b2e1b96a64d$require$handleInput = $b0d5e2746bb5c96a$exports.handleInput;\nvar $70a83b2e1b96a64d$require$getSpawnedResult = $b0d5e2746bb5c96a$exports.getSpawnedResult;\nvar $70a83b2e1b96a64d$require$makeAllStream = $b0d5e2746bb5c96a$exports.makeAllStream;\nvar $70a83b2e1b96a64d$require$validateInputSync = $b0d5e2746bb5c96a$exports.validateInputSync;\nvar $e78d87ef19026490$exports = {};\n\"use strict\";\nconst $e78d87ef19026490$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $e78d87ef19026490$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($e78d87ef19026490$var$nativePromisePrototype, property)\n ]);\n// The return value is a mixin of `childProcess` and `Promise`\nconst $e78d87ef19026490$var$mergePromise = (spawned, promise)=>{\n for (const [property, descriptor] of $e78d87ef19026490$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n return spawned;\n};\n// Use promises instead of `child_process` events\nconst $e78d87ef19026490$var$getSpawnedPromise = (spawned)=>{\n return new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n};\n$e78d87ef19026490$exports = {\n mergePromise: $e78d87ef19026490$var$mergePromise,\n getSpawnedPromise: $e78d87ef19026490$var$getSpawnedPromise\n};\n\n\nvar $70a83b2e1b96a64d$require$mergePromise = $e78d87ef19026490$exports.mergePromise;\nvar $70a83b2e1b96a64d$require$getSpawnedPromise = $e78d87ef19026490$exports.getSpawnedPromise;\nvar $d43d60b4cb78c7f7$exports = {};\n\"use strict\";\nconst $d43d60b4cb78c7f7$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $d43d60b4cb78c7f7$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $d43d60b4cb78c7f7$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $d43d60b4cb78c7f7$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $d43d60b4cb78c7f7$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($d43d60b4cb78c7f7$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $d43d60b4cb78c7f7$var$joinCommand = (file, args)=>{\n return $d43d60b4cb78c7f7$var$normalizeArgs(file, args).join(\" \");\n};\nconst $d43d60b4cb78c7f7$var$getEscapedCommand = (file, args)=>{\n return $d43d60b4cb78c7f7$var$normalizeArgs(file, args).map((arg)=>$d43d60b4cb78c7f7$var$escapeArg(arg)).join(\" \");\n};\nconst $d43d60b4cb78c7f7$var$SPACES_REGEXP = / +/g;\n// Handle `execa.command()`\nconst $d43d60b4cb78c7f7$var$parseCommand = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($d43d60b4cb78c7f7$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\n$d43d60b4cb78c7f7$exports = {\n joinCommand: $d43d60b4cb78c7f7$var$joinCommand,\n getEscapedCommand: $d43d60b4cb78c7f7$var$getEscapedCommand,\n parseCommand: $d43d60b4cb78c7f7$var$parseCommand\n};\n\n\nvar $70a83b2e1b96a64d$require$joinCommand = $d43d60b4cb78c7f7$exports.joinCommand;\nvar $70a83b2e1b96a64d$require$parseCommand = $d43d60b4cb78c7f7$exports.parseCommand;\nvar $70a83b2e1b96a64d$require$getEscapedCommand = $d43d60b4cb78c7f7$exports.getEscapedCommand;\nconst $70a83b2e1b96a64d$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $70a83b2e1b96a64d$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...process.env,\n ...envOption\n } : envOption;\n if (preferLocal) return $a57f1e593a90c533$exports.env({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $70a83b2e1b96a64d$var$handleArguments = (file, args, options = {})=>{\n const parsed = $35037cbcf60d645b$exports._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $70a83b2e1b96a64d$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || process.cwd(),\n execPath: process.execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n ...options\n };\n options.env = $70a83b2e1b96a64d$var$getEnv(options);\n options.stdio = $34684d08d10177ab$exports(options);\n if (process.platform === \"win32\" && $5KFgK$path.basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $70a83b2e1b96a64d$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !Buffer.isBuffer(value)) // When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return $de805666b9630fd4$exports(value);\n return value;\n};\nconst $70a83b2e1b96a64d$var$execa = (file, args, options)=>{\n const parsed = $70a83b2e1b96a64d$var$handleArguments(file, args, options);\n const command = $70a83b2e1b96a64d$require$joinCommand(file, args);\n const escapedCommand = $70a83b2e1b96a64d$require$getEscapedCommand(file, args);\n $70a83b2e1b96a64d$require$validateTimeout(parsed.options);\n let spawned;\n try {\n spawned = $5KFgK$child_process.spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new $5KFgK$child_process.ChildProcess();\n const errorPromise = Promise.reject($c5b2da1a08da1975$exports({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n return $70a83b2e1b96a64d$require$mergePromise(dummySpawned, errorPromise);\n }\n const spawnedPromise = $70a83b2e1b96a64d$require$getSpawnedPromise(spawned);\n const timedPromise = $70a83b2e1b96a64d$require$setupTimeout(spawned, parsed.options, spawnedPromise);\n const processDone = $70a83b2e1b96a64d$require$setExitHandler(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = $70a83b2e1b96a64d$require$spawnedKill.bind(null, spawned.kill.bind(spawned));\n spawned.cancel = $70a83b2e1b96a64d$require$spawnedCancel.bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await $70a83b2e1b96a64d$require$getSpawnedResult(spawned, parsed.options, processDone);\n const stdout = $70a83b2e1b96a64d$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $70a83b2e1b96a64d$var$handleOutput(parsed.options, stderrResult);\n const all = $70a83b2e1b96a64d$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = $c5b2da1a08da1975$exports({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled,\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = $08f783521984119f$exports(handlePromise);\n $70a83b2e1b96a64d$require$handleInput(spawned, parsed.options.input);\n spawned.all = $70a83b2e1b96a64d$require$makeAllStream(spawned, parsed.options);\n return $70a83b2e1b96a64d$require$mergePromise(spawned, handlePromiseOnce);\n};\n$70a83b2e1b96a64d$exports = $70a83b2e1b96a64d$var$execa;\n$70a83b2e1b96a64d$exports.sync = (file, args, options)=>{\n const parsed = $70a83b2e1b96a64d$var$handleArguments(file, args, options);\n const command = $70a83b2e1b96a64d$require$joinCommand(file, args);\n const escapedCommand = $70a83b2e1b96a64d$require$getEscapedCommand(file, args);\n $70a83b2e1b96a64d$require$validateInputSync(parsed.options);\n let result;\n try {\n result = $5KFgK$child_process.spawnSync(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n throw $c5b2da1a08da1975$exports({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $70a83b2e1b96a64d$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $70a83b2e1b96a64d$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = $c5b2da1a08da1975$exports({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n};\n$70a83b2e1b96a64d$exports.command = (command, options)=>{\n const [file, ...args] = $70a83b2e1b96a64d$require$parseCommand(command);\n return $70a83b2e1b96a64d$var$execa(file, args, options);\n};\n$70a83b2e1b96a64d$exports.commandSync = (command, options)=>{\n const [file, ...args] = $70a83b2e1b96a64d$require$parseCommand(command);\n return $70a83b2e1b96a64d$var$execa.sync(file, args, options);\n};\n$70a83b2e1b96a64d$exports.node = (scriptPath, args, options = {})=>{\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = $34684d08d10177ab$exports.node(options);\n const defaultExecArgv = process.execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = process.execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $70a83b2e1b96a64d$var$execa(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n};\n\n\nfunction $82e3c690a2b766d9$var$n(n, o, e, r) {\n Object.defineProperty(n, o, {\n get: e,\n set: r,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $82e3c690a2b766d9$export$7683bf1311d8252() {\n return null !== (0, (/*@__PURE__*/$parcel$interopDefault($25a091d756ba0cd8$exports))).sync(\"sudo\", {\n nothrow: !0\n });\n}\nfunction $82e3c690a2b766d9$export$e3140dc7d0c35e48() {\n return 0 === process.getuid?.() || !!process.env.CI;\n}\nfunction $82e3c690a2b766d9$export$316200228f28b8ce() {\n return $82e3c690a2b766d9$export$e3140dc7d0c35e48() && $82e3c690a2b766d9$export$7683bf1311d8252();\n}\nfunction $82e3c690a2b766d9$export$d976d47922ae9667(n) {\n return $82e3c690a2b766d9$export$316200228f28b8ce() ? \"sudo \" + n : n;\n}\nfunction $82e3c690a2b766d9$export$58f152936f209932(n, o = [], e = {\n stdio: \"inherit\",\n shell: !0\n}) {\n return $82e3c690a2b766d9$export$316200228f28b8ce() ? (0, (/*@__PURE__*/$parcel$interopDefault($70a83b2e1b96a64d$exports))).commandSync(\"sudo \" + [\n n,\n ...o\n ].map((n)=>`'${n}'`).join(\" \"), e) : (0, (/*@__PURE__*/$parcel$interopDefault($70a83b2e1b96a64d$exports))).sync(n, o, e);\n}\nfunction $82e3c690a2b766d9$export$351270479e2eef26(n, o = [], e = {\n stdio: \"inherit\",\n shell: !0\n}) {\n return $82e3c690a2b766d9$export$316200228f28b8ce() ? (0, (/*@__PURE__*/$parcel$interopDefault($70a83b2e1b96a64d$exports))).command(\"sudo \" + [\n n,\n ...o\n ].map((n)=>`'${n}'`).join(\" \"), e) : (0, (/*@__PURE__*/$parcel$interopDefault($70a83b2e1b96a64d$exports)))(n, o, e);\n}\nfunction $82e3c690a2b766d9$export$fc970ed23da99565() {\n return \"win32\" === process.platform ? $82e3c690a2b766d9$export$36ad181701cee597() : $82e3c690a2b766d9$export$e3140dc7d0c35e48();\n}\nvar $82e3c690a2b766d9$var$d = {};\n$82e3c690a2b766d9$var$n($82e3c690a2b766d9$var$d, \"hasSudo\", ()=>$82e3c690a2b766d9$export$7683bf1311d8252), $82e3c690a2b766d9$var$n($82e3c690a2b766d9$var$d, \"isRoot\", ()=>$82e3c690a2b766d9$export$e3140dc7d0c35e48), $82e3c690a2b766d9$var$n($82e3c690a2b766d9$var$d, \"isSudo\", ()=>$82e3c690a2b766d9$export$316200228f28b8ce), $82e3c690a2b766d9$var$n($82e3c690a2b766d9$var$d, \"prependSudo\", ()=>$82e3c690a2b766d9$export$d976d47922ae9667), $82e3c690a2b766d9$var$n($82e3c690a2b766d9$var$d, \"execRootSync\", ()=>$82e3c690a2b766d9$export$58f152936f209932), $82e3c690a2b766d9$var$n($82e3c690a2b766d9$var$d, \"execRoot\", ()=>$82e3c690a2b766d9$export$351270479e2eef26);\nvar $82e3c690a2b766d9$var$m = {};\n$82e3c690a2b766d9$var$n($82e3c690a2b766d9$var$m, \"isAdminWindows\", ()=>$82e3c690a2b766d9$export$36ad181701cee597), $82e3c690a2b766d9$var$n($82e3c690a2b766d9$var$m, \"isAdminPosix\", ()=>$82e3c690a2b766d9$export$2ebf12717e6b5bb8), $82e3c690a2b766d9$var$n($82e3c690a2b766d9$var$m, \"isAdmin\", ()=>$82e3c690a2b766d9$export$fc970ed23da99565);\nconst $82e3c690a2b766d9$export$36ad181701cee597 = async ()=>{\n if (\"win32\" !== process.platform) return !1;\n try {\n return await (0, (/*@__PURE__*/$parcel$interopDefault($70a83b2e1b96a64d$exports)))(\"fsutil\", [\n \"dirty\",\n \"query\",\n process.env.systemdrive ?? \"\"\n ]), !0;\n } catch (n) {\n return \"ENOENT\" === n.code && (async ()=>{\n try {\n return await (0, (/*@__PURE__*/$parcel$interopDefault($70a83b2e1b96a64d$exports)))(\"fltmc\"), !0;\n } catch {\n return !1;\n }\n })();\n }\n}, $82e3c690a2b766d9$export$2ebf12717e6b5bb8 = $82e3c690a2b766d9$export$e3140dc7d0c35e48;\n\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n\n\n\nfunction $c7392f41763a188d$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $950ce51339d67d58$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nfunction $913e7d2d6f0db996$export$62a298cbef08d65c(options = {}) {\n const { cwd: cwd = (0, ($parcel$interopDefault($5KFgK$nodeprocess))).cwd(), path: path_ = (0, ($parcel$interopDefault($5KFgK$nodeprocess))).env[(0, $950ce51339d67d58$export$2e2bcd8739ae039)()], execPath: execPath = (0, ($parcel$interopDefault($5KFgK$nodeprocess))).execPath } = options;\n let previous;\n const cwdString = cwd instanceof URL ? (0, ($parcel$interopDefault($5KFgK$nodeurl))).fileURLToPath(cwd) : cwd;\n let cwdPath = (0, ($parcel$interopDefault($5KFgK$nodepath))).resolve(cwdString);\n const result = [];\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($5KFgK$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($5KFgK$nodepath))).resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used.\n result.push((0, ($parcel$interopDefault($5KFgK$nodepath))).resolve(cwdString, execPath, \"..\"));\n return [\n ...result,\n path_\n ].join((0, ($parcel$interopDefault($5KFgK$nodepath))).delimiter);\n}\nfunction $913e7d2d6f0db996$export$340e1fbaac04248b({ env: env = (0, ($parcel$interopDefault($5KFgK$nodeprocess))).env, ...options } = {}) {\n env = {\n ...env\n };\n const path = (0, $950ce51339d67d58$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[path];\n env[path] = $913e7d2d6f0db996$export$62a298cbef08d65c(options);\n return env;\n}\n\n\nconst $0fd4ab3c05c9b7a8$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$0fd4ab3c05c9b7a8$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $0fd4ab3c05c9b7a8$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $0fd4ab3c05c9b7a8$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $0fd4ab3c05c9b7a8$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $0fd4ab3c05c9b7a8$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $0fd4ab3c05c9b7a8$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $0fd4ab3c05c9b7a8$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $0fd4ab3c05c9b7a8$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $0fd4ab3c05c9b7a8$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$0fd4ab3c05c9b7a8$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $0fd4ab3c05c9b7a8$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$0fd4ab3c05c9b7a8$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $0fd4ab3c05c9b7a8$var$changePrototype(to, from);\n $0fd4ab3c05c9b7a8$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $907d562b73b0848f$var$calledFunctions = new WeakMap();\nconst $907d562b73b0848f$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"<anonymous>\";\n const onetime = function(...arguments_) {\n $907d562b73b0848f$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $0fd4ab3c05c9b7a8$export$2e2bcd8739ae039)(onetime, function_);\n $907d562b73b0848f$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$907d562b73b0848f$var$onetime.callCount = (function_)=>{\n if (!$907d562b73b0848f$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $907d562b73b0848f$var$calledFunctions.get(function_);\n};\nvar $907d562b73b0848f$export$2e2bcd8739ae039 = $907d562b73b0848f$var$onetime;\n\n\n\nconst $7488a5b407c67a2c$export$e221a98f4fd84d36 = ()=>{\n const length = $7488a5b407c67a2c$export$dc8812f2f8882ff4 - $7488a5b407c67a2c$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $7488a5b407c67a2c$var$getRealtimeSignal);\n};\nconst $7488a5b407c67a2c$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $7488a5b407c67a2c$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $7488a5b407c67a2c$var$SIGRTMIN = 34;\nconst $7488a5b407c67a2c$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $7890a39df8f2e461$export$a43bf6822cc694af = [\n {\n name: \"SIGHUP\",\n number: 1,\n action: \"terminate\",\n description: \"Terminal closed\",\n standard: \"posix\"\n },\n {\n name: \"SIGINT\",\n number: 2,\n action: \"terminate\",\n description: \"User interruption with CTRL-C\",\n standard: \"ansi\"\n },\n {\n name: \"SIGQUIT\",\n number: 3,\n action: \"core\",\n description: \"User interruption with CTRL-\\\\\",\n standard: \"posix\"\n },\n {\n name: \"SIGILL\",\n number: 4,\n action: \"core\",\n description: \"Invalid machine instruction\",\n standard: \"ansi\"\n },\n {\n name: \"SIGTRAP\",\n number: 5,\n action: \"core\",\n description: \"Debugger breakpoint\",\n standard: \"posix\"\n },\n {\n name: \"SIGABRT\",\n number: 6,\n action: \"core\",\n description: \"Aborted\",\n standard: \"ansi\"\n },\n {\n name: \"SIGIOT\",\n number: 6,\n action: \"core\",\n description: \"Aborted\",\n standard: \"bsd\"\n },\n {\n name: \"SIGBUS\",\n number: 7,\n action: \"core\",\n description: \"Bus error due to misaligned, non-existing address or paging error\",\n standard: \"bsd\"\n },\n {\n name: \"SIGEMT\",\n number: 7,\n action: \"terminate\",\n description: \"Command should be emulated but is not implemented\",\n standard: \"other\"\n },\n {\n name: \"SIGFPE\",\n number: 8,\n action: \"core\",\n description: \"Floating point arithmetic error\",\n standard: \"ansi\"\n },\n {\n name: \"SIGKILL\",\n number: 9,\n action: \"terminate\",\n description: \"Forced termination\",\n standard: \"posix\",\n forced: true\n },\n {\n name: \"SIGUSR1\",\n number: 10,\n action: \"terminate\",\n description: \"Application-specific signal\",\n standard: \"posix\"\n },\n {\n name: \"SIGSEGV\",\n number: 11,\n action: \"core\",\n description: \"Segmentation fault\",\n standard: \"ansi\"\n },\n {\n name: \"SIGUSR2\",\n number: 12,\n action: \"terminate\",\n description: \"Application-specific signal\",\n standard: \"posix\"\n },\n {\n name: \"SIGPIPE\",\n number: 13,\n action: \"terminate\",\n description: \"Broken pipe or socket\",\n standard: \"posix\"\n },\n {\n name: \"SIGALRM\",\n number: 14,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"posix\"\n },\n {\n name: \"SIGTERM\",\n number: 15,\n action: \"terminate\",\n description: \"Termination\",\n standard: \"ansi\"\n },\n {\n name: \"SIGSTKFLT\",\n number: 16,\n action: \"terminate\",\n description: \"Stack is empty or overflowed\",\n standard: \"other\"\n },\n {\n name: \"SIGCHLD\",\n number: 17,\n action: \"ignore\",\n description: \"Child process terminated, paused or unpaused\",\n standard: \"posix\"\n },\n {\n name: \"SIGCLD\",\n number: 17,\n action: \"ignore\",\n description: \"Child process terminated, paused or unpaused\",\n standard: \"other\"\n },\n {\n name: \"SIGCONT\",\n number: 18,\n action: \"unpause\",\n description: \"Unpaused\",\n standard: \"posix\",\n forced: true\n },\n {\n name: \"SIGSTOP\",\n number: 19,\n action: \"pause\",\n description: \"Paused\",\n standard: \"posix\",\n forced: true\n },\n {\n name: \"SIGTSTP\",\n number: 20,\n action: \"pause\",\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: \"posix\"\n },\n {\n name: \"SIGTTIN\",\n number: 21,\n action: \"pause\",\n description: \"Background process cannot read terminal input\",\n standard: \"posix\"\n },\n {\n name: \"SIGBREAK\",\n number: 21,\n action: \"terminate\",\n description: \"User interruption with CTRL-BREAK\",\n standard: \"other\"\n },\n {\n name: \"SIGTTOU\",\n number: 22,\n action: \"pause\",\n description: \"Background process cannot write to terminal output\",\n standard: \"posix\"\n },\n {\n name: \"SIGURG\",\n number: 23,\n action: \"ignore\",\n description: \"Socket received out-of-band data\",\n standard: \"bsd\"\n },\n {\n name: \"SIGXCPU\",\n number: 24,\n action: \"core\",\n description: \"Process timed out\",\n standard: \"bsd\"\n },\n {\n name: \"SIGXFSZ\",\n number: 25,\n action: \"core\",\n description: \"File too big\",\n standard: \"bsd\"\n },\n {\n name: \"SIGVTALRM\",\n number: 26,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"bsd\"\n },\n {\n name: \"SIGPROF\",\n number: 27,\n action: \"terminate\",\n description: \"Timeout or timer\",\n standard: \"bsd\"\n },\n {\n name: \"SIGWINCH\",\n number: 28,\n action: \"ignore\",\n description: \"Terminal window size changed\",\n standard: \"bsd\"\n },\n {\n name: \"SIGIO\",\n number: 29,\n action: \"terminate\",\n description: \"I/O is available\",\n standard: \"other\"\n },\n {\n name: \"SIGPOLL\",\n number: 29,\n action: \"terminate\",\n description: \"Watched event\",\n standard: \"other\"\n },\n {\n name: \"SIGINFO\",\n number: 29,\n action: \"ignore\",\n description: \"Request for process information\",\n standard: \"other\"\n },\n {\n name: \"SIGPWR\",\n number: 30,\n action: \"terminate\",\n description: \"Device running out of power\",\n standard: \"systemv\"\n },\n {\n name: \"SIGSYS\",\n number: 31,\n action: \"core\",\n description: \"Invalid system call\",\n standard: \"other\"\n },\n {\n name: \"SIGUNUSED\",\n number: 31,\n action: \"terminate\",\n description: \"Invalid system call\",\n standard: \"other\"\n }\n];\n\n\n\nconst $9f93231339bd7ff3$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $7488a5b407c67a2c$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $7890a39df8f2e461$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($9f93231339bd7ff3$var$normalizeSignal);\n return signals;\n};\nconst $9f93231339bd7ff3$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $5KFgK$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $96cfbc3dd322c62c$var$getSignalsByName = ()=>{\n const signals = (0, $9f93231339bd7ff3$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($96cfbc3dd322c62c$var$getSignalByName));\n};\nconst $96cfbc3dd322c62c$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $96cfbc3dd322c62c$export$c3fcb39d6848c78d = $96cfbc3dd322c62c$var$getSignalsByName();\nconst $96cfbc3dd322c62c$var$getSignalsByNumber = ()=>{\n const signals = (0, $9f93231339bd7ff3$export$c50078d4faa171f0)();\n const length = (0, $7488a5b407c67a2c$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$96cfbc3dd322c62c$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $96cfbc3dd322c62c$var$getSignalByNumber = (number, signals)=>{\n const signal = $96cfbc3dd322c62c$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $96cfbc3dd322c62c$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $5KFgK$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $96cfbc3dd322c62c$export$12f57f97a08d2468 = $96cfbc3dd322c62c$var$getSignalsByNumber();\n\n\nconst $1030b36c9e57d9d7$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $96cfbc3dd322c62c$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $1030b36c9e57d9d7$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $8eeb4d839e984fef$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $8eeb4d839e984fef$var$hasAlias = (options)=>$8eeb4d839e984fef$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $8eeb4d839e984fef$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $8eeb4d839e984fef$var$aliases.map((alias)=>options[alias]);\n if ($8eeb4d839e984fef$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$8eeb4d839e984fef$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $8eeb4d839e984fef$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $8eeb4d839e984fef$export$889423b478ae2ba = (options)=>{\n const stdio = $8eeb4d839e984fef$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $39506ca9f5cd4d8d$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $39506ca9f5cd4d8d$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $39506ca9f5cd4d8d$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $39506ca9f5cd4d8d$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$39506ca9f5cd4d8d$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $39506ca9f5cd4d8d$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $39506ca9f5cd4d8d$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$39506ca9f5cd4d8d$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $39506ca9f5cd4d8d$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($5KFgK$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $39506ca9f5cd4d8d$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $39506ca9f5cd4d8d$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $39506ca9f5cd4d8d$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $39506ca9f5cd4d8d$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $39506ca9f5cd4d8d$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $39506ca9f5cd4d8d$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $39506ca9f5cd4d8d$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $39506ca9f5cd4d8d$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($7274790eb12a7292$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $9c62e0616ba21007$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $9c62e0616ba21007$export$b58a61c52edb4f66(stream) {\n return $9c62e0616ba21007$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $9c62e0616ba21007$export$ac613ff475b69d05(stream) {\n return $9c62e0616ba21007$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $9c62e0616ba21007$export$f92d8ccfaec172d4(stream) {\n return $9c62e0616ba21007$export$b58a61c52edb4f66(stream) && $9c62e0616ba21007$export$ac613ff475b69d05(stream);\n}\nfunction $9c62e0616ba21007$export$3053cdc6f2e088fd(stream) {\n return $9c62e0616ba21007$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $796bb105c0d126a8$var$isExecaChildProcess = (target)=>target instanceof (0, $5KFgK$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $796bb105c0d126a8$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $5KFgK$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $9c62e0616ba21007$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$796bb105c0d126a8$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $9c62e0616ba21007$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $796bb105c0d126a8$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $796bb105c0d126a8$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $796bb105c0d126a8$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $796bb105c0d126a8$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $6d719b9b9aa83558$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $6d719b9b9aa83558$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $6d719b9b9aa83558$var$validateInputOptions(input);\n return (0, $5KFgK$nodefs.readFileSync)(inputFile);\n};\nconst $6d719b9b9aa83558$export$7f2f9b6457412b41 = (options)=>{\n const input = $6d719b9b9aa83558$var$getInputSync(options);\n if ((0, $9c62e0616ba21007$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $6d719b9b9aa83558$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $6d719b9b9aa83558$var$validateInputOptions(input);\n return (0, $5KFgK$nodefs.createReadStream)(inputFile);\n};\nconst $6d719b9b9aa83558$export$412508d679148d5c = (spawned, options)=>{\n const input = $6d719b9b9aa83558$var$getInput(options);\n if (input === undefined) return;\n if ((0, $9c62e0616ba21007$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $6d719b9b9aa83558$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($45f2e6c6711de6aa$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $6d719b9b9aa83558$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $6d719b9b9aa83558$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($ae9d312d43a643b6$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($ae9d312d43a643b6$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $6d719b9b9aa83558$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $6d719b9b9aa83558$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $6d719b9b9aa83558$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $6d719b9b9aa83558$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $6d719b9b9aa83558$var$getBufferedData(stdout, stdoutPromise),\n $6d719b9b9aa83558$var$getBufferedData(stderr, stderrPromise),\n $6d719b9b9aa83558$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $b8f354b73d7dc4bc$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $b8f354b73d7dc4bc$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($b8f354b73d7dc4bc$var$nativePromisePrototype, property)\n ]);\nconst $b8f354b73d7dc4bc$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $b8f354b73d7dc4bc$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $b8f354b73d7dc4bc$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $b715f882a790bd9d$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $b715f882a790bd9d$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $b715f882a790bd9d$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $b715f882a790bd9d$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $b715f882a790bd9d$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($b715f882a790bd9d$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $b715f882a790bd9d$export$ab3db8fe5ebf3a1 = (file, args)=>$b715f882a790bd9d$var$normalizeArgs(file, args).join(\" \");\nconst $b715f882a790bd9d$export$9d3099014bd914f8 = (file, args)=>$b715f882a790bd9d$var$normalizeArgs(file, args).map((arg)=>$b715f882a790bd9d$var$escapeArg(arg)).join(\" \");\nconst $b715f882a790bd9d$var$SPACES_REGEXP = / +/g;\nconst $b715f882a790bd9d$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($b715f882a790bd9d$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $b715f882a790bd9d$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $5KFgK$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $5KFgK$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $b715f882a790bd9d$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $b715f882a790bd9d$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($b715f882a790bd9d$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $b715f882a790bd9d$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$b715f882a790bd9d$var$parseExpression(expression)) : [\n $b715f882a790bd9d$var$parseExpression(expression)\n ];\n return $b715f882a790bd9d$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $b715f882a790bd9d$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $b715f882a790bd9d$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $0760d4b63133e0c0$export$38bb3c1fbaa0bdcf = (0, $5KFgK$nodeutil.debuglog)(\"execa\").enabled;\nconst $0760d4b63133e0c0$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $0760d4b63133e0c0$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$0760d4b63133e0c0$var$padField(date.getHours(), 2)}:${$0760d4b63133e0c0$var$padField(date.getMinutes(), 2)}:${$0760d4b63133e0c0$var$padField(date.getSeconds(), 2)}.${$0760d4b63133e0c0$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $0760d4b63133e0c0$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($5KFgK$nodeprocess))).stderr.write(`[${$0760d4b63133e0c0$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $3842d3f8db9a4507$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $3842d3f8db9a4507$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($5KFgK$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $913e7d2d6f0db996$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $3842d3f8db9a4507$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($35037cbcf60d645b$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $3842d3f8db9a4507$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($5KFgK$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($5KFgK$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $0760d4b63133e0c0$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $3842d3f8db9a4507$var$getEnv(options);\n options.stdio = (0, $8eeb4d839e984fef$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($5KFgK$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($5KFgK$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $3842d3f8db9a4507$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $5KFgK$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $c7392f41763a188d$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $3842d3f8db9a4507$export$db6b1668e3758717(file, args, options) {\n const parsed = $3842d3f8db9a4507$var$handleArguments(file, args, options);\n const command = (0, $b715f882a790bd9d$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $b715f882a790bd9d$export$9d3099014bd914f8)(file, args);\n (0, $0760d4b63133e0c0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $39506ca9f5cd4d8d$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($5KFgK$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($5KFgK$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $b8f354b73d7dc4bc$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $b8f354b73d7dc4bc$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $39506ca9f5cd4d8d$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $39506ca9f5cd4d8d$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $39506ca9f5cd4d8d$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $39506ca9f5cd4d8d$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $6d719b9b9aa83558$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $3842d3f8db9a4507$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $3842d3f8db9a4507$var$handleOutput(parsed.options, stderrResult);\n const all = $3842d3f8db9a4507$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $907d562b73b0848f$export$2e2bcd8739ae039)(handlePromise);\n (0, $6d719b9b9aa83558$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $6d719b9b9aa83558$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $796bb105c0d126a8$export$14becf8d91886424)(spawned);\n (0, $b8f354b73d7dc4bc$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $3842d3f8db9a4507$export$28823a701bb5a12d(file, args, options) {\n const parsed = $3842d3f8db9a4507$var$handleArguments(file, args, options);\n const command = (0, $b715f882a790bd9d$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $b715f882a790bd9d$export$9d3099014bd914f8)(file, args);\n (0, $0760d4b63133e0c0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $6d719b9b9aa83558$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($5KFgK$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $3842d3f8db9a4507$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $3842d3f8db9a4507$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $3842d3f8db9a4507$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $3842d3f8db9a4507$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$3842d3f8db9a4507$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $3842d3f8db9a4507$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $3842d3f8db9a4507$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $b715f882a790bd9d$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $3842d3f8db9a4507$export$db6b1668e3758717(file, args, $3842d3f8db9a4507$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $b715f882a790bd9d$export$4a6ee54de9b0f25d)(templates, expressions);\n return $3842d3f8db9a4507$export$28823a701bb5a12d(file, args, $3842d3f8db9a4507$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $3842d3f8db9a4507$export$3d8c2f653ac9d0b9 = $3842d3f8db9a4507$var$create$();\nfunction $3842d3f8db9a4507$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $b715f882a790bd9d$export$78bcee23e0849f6a)(command);\n return $3842d3f8db9a4507$export$db6b1668e3758717(file, args, options);\n}\nfunction $3842d3f8db9a4507$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $b715f882a790bd9d$export$78bcee23e0849f6a)(command);\n return $3842d3f8db9a4507$export$28823a701bb5a12d(file, args, options);\n}\nfunction $3842d3f8db9a4507$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $8eeb4d839e984fef$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($5KFgK$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($5KFgK$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $3842d3f8db9a4507$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\n/** The cached powershell path */ let $af61b3bdb9d49c0e$var$powershell;\nfunction $af61b3bdb9d49c0e$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $3842d3f8db9a4507$export$db6b1668e3758717($af61b3bdb9d49c0e$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $af61b3bdb9d49c0e$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $3842d3f8db9a4507$export$28823a701bb5a12d($af61b3bdb9d49c0e$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $af61b3bdb9d49c0e$export$4dfdd3964d242d20() {\n if ($af61b3bdb9d49c0e$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($25a091d756ba0cd8$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $af61b3bdb9d49c0e$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($25a091d756ba0cd8$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $af61b3bdb9d49c0e$var$powershell = maybePowerShell;\n }\n if ($af61b3bdb9d49c0e$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $af61b3bdb9d49c0e$var$powershell;\n}\n\n\n\nvar $a882d96569d48244$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $a882d96569d48244$var$is_posix_os = $5KFgK$os.platform() !== \"win32\";\nconst $a882d96569d48244$var$version = $5KFgK$os.release();\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst $a882d96569d48244$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $a882d96569d48244$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$a882d96569d48244$exports = function(given_path) {\n return $a882d96569d48244$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $a882d96569d48244$var$should_not_escape(...$a882d96569d48244$var$windows_version_regex.exec($a882d96569d48244$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\n\n\nfunction $e5f7accf26e93c4e$export$f9a3d10eb7c735af(path) {\n if ((process.platform === \"linux\" || process.platform === \"darwin\") && (0, $742687c4282b4267$export$316200228f28b8ce)() && process.env.SUDO_USER !== undefined) {\n const isDirectory = (0, $5KFgK$fs.statSync)(path).isDirectory();\n (0, $742687c4282b4267$export$58f152936f209932)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n process.env.SUDO_USER,\n path\n ], {\n cwd: path,\n stdio: \"inherit\",\n shell: true\n });\n }\n}\n\n\nvar $a2a617d992255ec5$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"bmInQ\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $a2a617d992255ec5$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($a2a617d992255ec5$exports);\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\nasync function $2f24a8df2529dc1c$export$f63d3080ce25e0fd(name, valGiven, shouldEscapeSpace = false) {\n const val = $2f24a8df2529dc1c$var$escapeString(valGiven ?? \"\", shouldEscapeSpace);\n try {\n if (0, $2W4C2.GITHUB_ACTIONS) try {\n (0, $i5trn.exportVariable)(name, val);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n await $2f24a8df2529dc1c$var$addEnvSystem(name, val);\n }\n else await $2f24a8df2529dc1c$var$addEnvSystem(name, val);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n (0, $i5trn.setFailed)(`Failed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nfunction $2f24a8df2529dc1c$var$escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($a882d96569d48244$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($a2a617d992255ec5$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\nasync function $2f24a8df2529dc1c$export$4c25481b843feb0b(path) {\n process.env.PATH = `${path}${0, $5KFgK$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $2W4C2.GITHUB_ACTIONS) try {\n (0, $i5trn.addPath)(path);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n await $2f24a8df2529dc1c$var$addPathSystem(path);\n }\n else await $2f24a8df2529dc1c$var$addPathSystem(path);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n (0, $i5trn.setFailed)(`Failed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nconst $2f24a8df2529dc1c$export$1bbbc3a810c5799d = (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\".cpprc\");\nasync function $2f24a8df2529dc1c$var$addEnvSystem(name, valGiven) {\n const val = valGiven ?? \"\";\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $af61b3bdb9d49c0e$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $i5trn.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $2f24a8df2529dc1c$export$bd1dffd792f43c41();\n (0, $5KFgK$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $i5trn.info)(`${name}=\"${val}\" was added to \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}`);\n return;\n default:\n }\n process.env[name] = val;\n}\nasync function $2f24a8df2529dc1c$var$addPathSystem(path) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $af61b3bdb9d49c0e$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $i5trn.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $2f24a8df2529dc1c$export$bd1dffd792f43c41();\n (0, $5KFgK$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $i5trn.info)(`\"${path}\" was added to \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}\"`);\n return;\n default:\n return;\n }\n}\n/* eslint-disable require-atomic-updates */ let $2f24a8df2529dc1c$var$setupCppInProfile_called = false;\nasync function $2f24a8df2529dc1c$export$bd1dffd792f43c41() {\n if ($2f24a8df2529dc1c$var$setupCppInProfile_called) return;\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\";\n if (await (0, $bOuKS.pathExists)($2f24a8df2529dc1c$export$1bbbc3a810c5799d)) {\n const cpprc_content = (0, $5KFgK$fs.readFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, \"utf8\");\n if (cpprc_content.includes(source_cpprc_str)) // already executed setupCppInProfile\n return;\n }\n (0, $5KFgK$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\n${source_cpprc_str}\\n`);\n (0, $i5trn.info)(`Added ${source_cpprc_str} to ${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}`);\n // source cpprc in bashrc/profile\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}\" ]]; then source \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}\"; fi\\n`;\n try {\n // source cpprc in .profile\n const profile_path = (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\".profile\");\n (0, $5KFgK$fs.appendFileSync)(profile_path, source_cpprc_string);\n (0, $i5trn.info)(`${source_cpprc_string} was added to ${profile_path}`);\n // source cpprc in .bashrc too\n const bashrc_path = (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\".bashrc\");\n (0, $5KFgK$fs.appendFileSync)(bashrc_path, source_cpprc_string);\n (0, $i5trn.info)(`${source_cpprc_string} was added to ${bashrc_path}`);\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n $2f24a8df2529dc1c$var$setupCppInProfile_called = true;\n}\nasync function $2f24a8df2529dc1c$export$ca46151966bee7ba() {\n if (await (0, $bOuKS.pathExists)($2f24a8df2529dc1c$export$1bbbc3a810c5799d)) {\n const entries = (0, $5KFgK$fs.readFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, \"utf-8\").split(\"\\n\");\n const unique_entries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n (0, $5KFgK$fs.writeFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, unique_entries.join(\"\\n\"));\n try {\n (0, $e5f7accf26e93c4e$export$f9a3d10eb7c735af)($2f24a8df2529dc1c$export$1bbbc3a810c5799d);\n } catch {\n // ignore\n }\n }\n}\n\n\nvar $69f9660769b2c54f$exports = {};\n\n\nvar $69f9660769b2c54f$require$join = $5KFgK$path.join;\nvar $69f9660769b2c54f$require$delimiter = $5KFgK$path.delimiter;\nvar $69f9660769b2c54f$require$sep = $5KFgK$path.sep;\nvar $69f9660769b2c54f$require$posix = $5KFgK$path.posix;\nconst $69f9660769b2c54f$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $69f9660769b2c54f$var$rSlash = new RegExp(`[${$69f9660769b2c54f$require$posix.sep}${$69f9660769b2c54f$require$sep === $69f9660769b2c54f$require$posix.sep ? \"\" : $69f9660769b2c54f$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $69f9660769b2c54f$var$rRel = new RegExp(`^\\\\.${$69f9660769b2c54f$var$rSlash.source}`);\nconst $69f9660769b2c54f$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $69f9660769b2c54f$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $69f9660769b2c54f$require$delimiter })=>{\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match($69f9660769b2c54f$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$69f9660769b2c54f$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($69f9660769b2c54f$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).reduce((acc, item)=>{\n acc.push(item);\n acc.push(item.toLowerCase());\n return acc;\n }, []);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $69f9660769b2c54f$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $69f9660769b2c54f$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $69f9660769b2c54f$require$join(pathPart, cmd);\n};\nconst $69f9660769b2c54f$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $69f9660769b2c54f$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $69f9660769b2c54f$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $bf8a7dcae1f165c2$exports(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $69f9660769b2c54f$var$getNotFoundError(cmd);\n};\nconst $69f9660769b2c54f$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $69f9660769b2c54f$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $69f9660769b2c54f$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $bf8a7dcae1f165c2$exports.sync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $69f9660769b2c54f$var$getNotFoundError(cmd);\n};\n$69f9660769b2c54f$exports = $69f9660769b2c54f$var$which;\n$69f9660769b2c54f$var$which.sync = $69f9660769b2c54f$var$whichSync;\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\n\n\nvar $3cGqJ = parcelRequire(\"3cGqJ\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nconst { appendFile: $c28d8ebe1e034757$var$appendFile } = (0, $5KFgK$fs.promises);\n/* eslint-disable require-atomic-updates */ let $c28d8ebe1e034757$var$didUpdate = false;\nlet $c28d8ebe1e034757$var$didInit = false;\nasync function $c28d8ebe1e034757$export$d73dc343f5abf26(packages, update = false) {\n const apt = $c28d8ebe1e034757$var$getApt();\n for (const { name: name, version: version } of packages)(0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via ${apt}`);\n process.env.DEBIAN_FRONTEND = \"noninteractive\";\n if (!$c28d8ebe1e034757$var$didUpdate || update) {\n $c28d8ebe1e034757$var$updateRepos(apt);\n $c28d8ebe1e034757$var$didUpdate = true;\n }\n if (!$c28d8ebe1e034757$var$didInit) {\n await $c28d8ebe1e034757$var$initApt(apt);\n $c28d8ebe1e034757$var$didInit = true;\n }\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>pack.repositories ?? []))\n ];\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories)// eslint-disable-next-line no-await-in-loop\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n repo\n ]);\n $c28d8ebe1e034757$var$updateRepos(apt);\n }\n const aptArgs = await Promise.all(packages.map((pack)=>$c28d8ebe1e034757$var$getAptArg(pack.name, pack.version)));\n (0, $82e3c690a2b766d9$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $c28d8ebe1e034757$var$getAptArg(name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $3cGqJ.default)(name)}-${(0, $3cGqJ.default)(version)}$`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n try {\n // check if apt-get show can find the version\n const { stdout: showStdout } = await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ]);\n if (showStdout.trim() === \"\") return `${name}=${version}`;\n } catch {\n // ignore\n }\n (0, $7Lz0k.warning)(`Failed to install ${name} ${version} via apt, trying without version`);\n }\n }\n return name;\n}\nfunction $c28d8ebe1e034757$var$getApt() {\n let apt;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\nfunction $c28d8ebe1e034757$var$updateRepos(apt) {\n (0, $82e3c690a2b766d9$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\"\n ] : [\n \"update\"\n ]);\n}\n/** Install apt utils and certificates (usually missing from docker containers) */ async function $c28d8ebe1e034757$var$initApt(apt) {\n (0, $82e3c690a2b766d9$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\"\n ]);\n const promises = [\n $c28d8ebe1e034757$export$11aa10c05ada0934([\n \"3B4FE6ACC0B21F32\",\n \"40976EAF437D05B5\"\n ], \"setup-cpp-ubuntu-archive.gpg\"),\n $c28d8ebe1e034757$export$11aa10c05ada0934([\n \"1E9377A2BA9EF27F\"\n ], \"launchpad-toolchain.gpg\")\n ];\n if (apt === \"nala\") // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LANG\", \"C.UTF-8\"), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LC_ALL\", \"C.UTF-8\"));\n await Promise.all(promises);\n}\nfunction $c28d8ebe1e034757$var$initGpg() {\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nasync function $c28d8ebe1e034757$export$11aa10c05ada0934(keys, name, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $bOuKS.pathExists)(fileName)) {\n $c28d8ebe1e034757$var$initGpg();\n await Promise.all(keys.map(async (key)=>{\n await (0, $82e3c690a2b766d9$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key\n ]);\n await (0, $82e3c690a2b766d9$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }));\n }\n return fileName;\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to add apt key via server ${server}: ${err}`);\n return undefined;\n }\n}\nasync function $c28d8ebe1e034757$export$7fb1a688af1305f0(name, url) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $bOuKS.pathExists)(fileName)) {\n $c28d8ebe1e034757$var$initGpg();\n await $c28d8ebe1e034757$export$d73dc343f5abf26([\n {\n name: \"curl\"\n }\n ], undefined);\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"bash\", [\n \"-c\",\n `curl -s ${url} | gpg --no-default-keyring --keyring gnupg-ring:${fileName} --import`\n ]);\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }\n return fileName;\n}\nasync function $c28d8ebe1e034757$export$6fe6436bd9f53d02(name, path) {\n if (0, $2W4C2.GITHUB_ACTIONS) return (0, $82e3c690a2b766d9$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n \"40\"\n ]);\n else {\n await (0, $2f24a8df2529dc1c$export$bd1dffd792f43c41)();\n return $c28d8ebe1e034757$var$appendFile((0, $2f24a8df2529dc1c$export$1bbbc3a810c5799d), `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`);\n }\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $i5trn = parcelRequire(\"i5trn\");\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\nvar $jtqY0 = parcelRequire(\"jtqY0\");\n\n\n/* eslint-disable require-atomic-updates */ let $7eeef95f58db9236$var$binDir;\nasync function $7eeef95f58db9236$export$c5eeb9c87a610a0e(_version, _setupDir, _arch) {\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n if (typeof $7eeef95f58db9236$var$binDir === \"string\") return {\n binDir: $7eeef95f58db9236$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $7eeef95f58db9236$var$binDir = (0, $eq4yW.dirname)(maybeBinDir);\n return {\n binDir: $7eeef95f58db9236$var$binDir\n };\n }\n // brew is not thread-safe\n const brewTempDirectory = (0, ($parcel$interopDefault($5KFgK$path))).join((0, $5KFgK$os.tmpdir)(), \"setup-cpp\", \"brew\");\n await (0, $jtqY0.mkdirP)(brewTempDirectory);\n (0, $3842d3f8db9a4507$export$28823a701bb5a12d)(\"curl\", [\n \"-LJO\",\n \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"\n ], {\n cwd: brewTempDirectory\n });\n const installSh = (0, $5KFgK$path.join)(brewTempDirectory, \"install.sh\");\n if (process.platform === \"linux\") {\n const installShContent = (0, $5KFgK$fs.readFileSync)(installSh, \"utf-8\");\n installShContent.replace(\"#!/bin/bash\", \"\");\n }\n (0, $3842d3f8db9a4507$export$28823a701bb5a12d)(\"/bin/bash\", [\n installSh\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n $7eeef95f58db9236$var$binDir = $7eeef95f58db9236$export$cba19b0564b654bf();\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)($7eeef95f58db9236$var$binDir);\n return {\n binDir: $7eeef95f58db9236$var$binDir\n };\n}\nfunction $7eeef95f58db9236$export$cba19b0564b654bf() {\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n else return \"/usr/local/bin/\";\n}\n\n\nlet $d04dcbafc5bebef1$var$hasBrew = false;\nasync function $d04dcbafc5bebef1$export$ce5d13d8a85cb784(name, version, extraArgs = []) {\n (0, $i5trn.info)(`Installing ${name} ${version ?? \"\"} via brew`);\n if (!$d04dcbafc5bebef1$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $7eeef95f58db9236$export$c5eeb9c87a610a0e)(\"\", \"\", process.arch);\n $d04dcbafc5bebef1$var$hasBrew = true;\n }\n const binDir = (0, $7eeef95f58db9236$export$cba19b0564b654bf)();\n // brew is not thread-safe\n (0, $3842d3f8db9a4507$export$28823a701bb5a12d)((0, $eq4yW.join)(binDir, \"brew\"), [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name,\n ...extraArgs\n ], {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\n/* eslint-disable require-atomic-updates */ \n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\nlet $9ccbddfd63a1d0a8$var$binDir;\nasync function $9ccbddfd63a1d0a8$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $9ccbddfd63a1d0a8$var$binDir === \"string\") return {\n binDir: $9ccbddfd63a1d0a8$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $9ccbddfd63a1d0a8$var$binDir = (0, $eq4yW.dirname)(maybeBinDir);\n return {\n binDir: $9ccbddfd63a1d0a8$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $3842d3f8db9a4507$export$28823a701bb5a12d)(powershell, [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\"\n ], {\n stdio: \"inherit\"\n });\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(chocoPath);\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeChoco !== null) $9ccbddfd63a1d0a8$var$binDir = (0, $eq4yW.dirname)(maybeChoco);\n else $9ccbddfd63a1d0a8$var$binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $bOuKS.pathExists)($9ccbddfd63a1d0a8$var$binDir)) return {\n binDir: $9ccbddfd63a1d0a8$var$binDir\n };\n return undefined;\n}\n\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nlet $953ade167c7bc14a$var$hasChoco = false;\nasync function $953ade167c7bc14a$export$9f6912bc890040b2(name, version, args = []) {\n (0, $i5trn.info)(`Installing ${name} ${version ?? \"\"} via chocolatey`);\n if (!$953ade167c7bc14a$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $9ccbddfd63a1d0a8$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $953ade167c7bc14a$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n delete env.TMP;\n delete env.TEMP;\n delete env.Path;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $3842d3f8db9a4507$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $3842d3f8db9a4507$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $7Lz0k.notice)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\n\n\n\nlet $9aeb5896658945db$var$isArchCache = undefined;\nfunction $9aeb5896658945db$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($9aeb5896658945db$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $9aeb5896658945db$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $9aeb5896658945db$var$isArchCache;\n}\n\n\n\nlet $3886c66546fd08fe$var$hasDnfCache = undefined;\nfunction $3886c66546fd08fe$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($3886c66546fd08fe$var$hasDnfCache === undefined) $3886c66546fd08fe$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $3886c66546fd08fe$var$hasDnfCache;\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nfunction $c19966177a67898f$export$49d4f9ba8e0dd34f(name, version) {\n (0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via dnf`);\n const dnf = \"dnf\";\n // if (!didUpdate) {\n // execRootSync(dnf, [\"-y\", \"check-update\"])\n // didUpdate = true\n // }\n if (version !== undefined && version !== \"\") try {\n (0, $82e3c690a2b766d9$export$58f152936f209932)(dnf, [\n \"-y\",\n \"install\",\n `${name}-${version}`\n ]);\n } catch (err) {\n (0, $7Lz0k.warning)(`${err.toString()}\\nInstalling the default version available via dnf`);\n (0, $82e3c690a2b766d9$export$58f152936f209932)(dnf, [\n \"-y\",\n \"install\",\n name\n ]);\n }\n else (0, $82e3c690a2b766d9$export$58f152936f209932)(dnf, [\n \"-y\",\n \"install\",\n name\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\n\n\n\nlet $20fc1212ead529fb$var$isUbuntuCache = undefined;\nfunction $20fc1212ead529fb$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($20fc1212ead529fb$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $20fc1212ead529fb$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $20fc1212ead529fb$var$isUbuntuCache;\n}\n\n\n\nasync function $a40e1fc0f7d6a0ef$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"dnf-plugins-core\", undefined);\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"bazel4\", undefined);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $c28d8ebe1e034757$export$7fb1a688af1305f0)(\"bazel-archive-keyring.gpg\", \"https://bazel.build/bazel-release.pub.gpg\");\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`\n ]);\n return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n/* eslint-disable require-atomic-updates */ let $8310f4b4d4fddda5$var$didUpdate = false;\nlet $8310f4b4d4fddda5$var$didInit = false;\nasync function $8310f4b4d4fddda5$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via pacman`);\n const pacman = \"pacman\";\n // yay can't run as root, so skip update\n if (!$8310f4b4d4fddda5$var$didUpdate && aur !== \"yay\") {\n (0, $82e3c690a2b766d9$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $8310f4b4d4fddda5$var$didUpdate = true;\n }\n // install base-devel\n if (!$8310f4b4d4fddda5$var$didInit) {\n (0, $82e3c690a2b766d9$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $8310f4b4d4fddda5$var$didInit = true;\n }\n const runInstall = (arg)=>{\n return (0, $82e3c690a2b766d9$export$58f152936f209932)(aur ?? pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $8310f4b4d4fddda5$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $7Lz0k.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $8310f4b4d4fddda5$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $8310f4b4d4fddda5$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($8310f4b4d4fddda5$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\n\n\n\n\n\n\nfunction $4e9e6c219ffcdbbf$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"ccache\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"ccache\", version);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $041d45f5b9f47c6d$exports = {};\n\nvar $041d45f5b9f47c6d$var$$parcel$__dirname = $5KFgK$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $041d45f5b9f47c6d$var$__createBinding = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $041d45f5b9f47c6d$var$__setModuleDefault = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $041d45f5b9f47c6d$var$__importStar = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $041d45f5b9f47c6d$var$__createBinding(result, mod, k);\n }\n $041d45f5b9f47c6d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $041d45f5b9f47c6d$var$__awaiter = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $041d45f5b9f47c6d$var$__importDefault = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($041d45f5b9f47c6d$exports, \"__esModule\", {\n value: true\n});\n$041d45f5b9f47c6d$exports.evaluateVersions = $041d45f5b9f47c6d$exports.isExplicitVersion = $041d45f5b9f47c6d$exports.findFromManifest = $041d45f5b9f47c6d$exports.getManifestFromRepo = $041d45f5b9f47c6d$exports.findAllVersions = $041d45f5b9f47c6d$exports.find = $041d45f5b9f47c6d$exports.cacheFile = $041d45f5b9f47c6d$exports.cacheDir = $041d45f5b9f47c6d$exports.extractZip = $041d45f5b9f47c6d$exports.extractXar = $041d45f5b9f47c6d$exports.extractTar = $041d45f5b9f47c6d$exports.extract7z = $041d45f5b9f47c6d$exports.downloadTool = $041d45f5b9f47c6d$exports.HTTPError = void 0;\n\nconst $041d45f5b9f47c6d$var$core = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"i5trn\")));\n\nconst $041d45f5b9f47c6d$var$io = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"jtqY0\")));\n\nconst $041d45f5b9f47c6d$var$fs = $041d45f5b9f47c6d$var$__importStar($5KFgK$fs);\n\nconst $041d45f5b9f47c6d$var$mm = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"d0IR9\")));\n\nconst $041d45f5b9f47c6d$var$os = $041d45f5b9f47c6d$var$__importStar($5KFgK$os);\n\nconst $041d45f5b9f47c6d$var$path = $041d45f5b9f47c6d$var$__importStar($5KFgK$path);\n\nconst $041d45f5b9f47c6d$var$httpm = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"6xPYX\")));\n\nconst $041d45f5b9f47c6d$var$semver = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"df8HD\")));\n\nconst $041d45f5b9f47c6d$var$stream = $041d45f5b9f47c6d$var$__importStar($5KFgK$stream);\n\nconst $041d45f5b9f47c6d$var$util = $041d45f5b9f47c6d$var$__importStar($5KFgK$util);\n\n\nconst $041d45f5b9f47c6d$var$v4_1 = $041d45f5b9f47c6d$var$__importDefault((parcelRequire(\"1NS6t\")));\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\nvar $116b96d3a48694b9$exports = {};\n\"use strict\";\nvar $116b96d3a48694b9$var$__createBinding = $116b96d3a48694b9$exports && $116b96d3a48694b9$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $116b96d3a48694b9$var$__setModuleDefault = $116b96d3a48694b9$exports && $116b96d3a48694b9$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $116b96d3a48694b9$var$__importStar = $116b96d3a48694b9$exports && $116b96d3a48694b9$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $116b96d3a48694b9$var$__createBinding(result, mod, k);\n }\n $116b96d3a48694b9$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $116b96d3a48694b9$var$__awaiter = $116b96d3a48694b9$exports && $116b96d3a48694b9$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($116b96d3a48694b9$exports, \"__esModule\", {\n value: true\n});\n$116b96d3a48694b9$exports.RetryHelper = void 0;\n\nconst $116b96d3a48694b9$var$core = $116b96d3a48694b9$var$__importStar((parcelRequire(\"i5trn\")));\n/**\n * Internal class for retries\n */ class $116b96d3a48694b9$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $116b96d3a48694b9$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $116b96d3a48694b9$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $116b96d3a48694b9$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $116b96d3a48694b9$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$116b96d3a48694b9$exports.RetryHelper = $116b96d3a48694b9$var$RetryHelper;\n\n\nclass $041d45f5b9f47c6d$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$041d45f5b9f47c6d$exports.HTTPError = $041d45f5b9f47c6d$var$HTTPError;\nconst $041d45f5b9f47c6d$var$IS_WINDOWS = process.platform === \"win32\";\nconst $041d45f5b9f47c6d$var$IS_MAC = process.platform === \"darwin\";\nconst $041d45f5b9f47c6d$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $041d45f5b9f47c6d$var$downloadTool(url, dest, auth, headers) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getTempDirectory(), $041d45f5b9f47c6d$var$v4_1.default());\n yield $041d45f5b9f47c6d$var$io.mkdirP($041d45f5b9f47c6d$var$path.dirname(dest));\n $041d45f5b9f47c6d$var$core.debug(`Downloading ${url}`);\n $041d45f5b9f47c6d$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $041d45f5b9f47c6d$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $041d45f5b9f47c6d$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $116b96d3a48694b9$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n return yield $041d45f5b9f47c6d$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $041d45f5b9f47c6d$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$041d45f5b9f47c6d$exports.downloadTool = $041d45f5b9f47c6d$var$downloadTool;\nfunction $041d45f5b9f47c6d$var$downloadToolAttempt(url, dest, auth, headers) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n if ($041d45f5b9f47c6d$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $041d45f5b9f47c6d$var$httpm.HttpClient($041d45f5b9f47c6d$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $041d45f5b9f47c6d$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $041d45f5b9f47c6d$var$HTTPError(response.message.statusCode);\n $041d45f5b9f47c6d$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $041d45f5b9f47c6d$var$util.promisify($041d45f5b9f47c6d$var$stream.pipeline);\n const responseMessageFactory = $041d45f5b9f47c6d$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $041d45f5b9f47c6d$var$fs.createWriteStream(dest));\n $041d45f5b9f47c6d$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $041d45f5b9f47c6d$var$core.debug(\"download failed\");\n try {\n yield $041d45f5b9f47c6d$var$io.rmRF(dest);\n } catch (err) {\n $041d45f5b9f47c6d$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $041d45f5b9f47c6d$var$extract7z(file, dest, _7zPath) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n $5KFgK$assert.ok($041d45f5b9f47c6d$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $5KFgK$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $041d45f5b9f47c6d$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $041d45f5b9f47c6d$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $8hZvX.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $041d45f5b9f47c6d$var$io.which(\"powershell\", true);\n yield $8hZvX.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$041d45f5b9f47c6d$exports.extract7z = $041d45f5b9f47c6d$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $041d45f5b9f47c6d$var$extractTar(file, dest, flags = \"xz\") {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $041d45f5b9f47c6d$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $041d45f5b9f47c6d$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $8hZvX.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $041d45f5b9f47c6d$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($041d45f5b9f47c6d$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($041d45f5b9f47c6d$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $8hZvX.exec(`tar`, args);\n return dest;\n });\n}\n$041d45f5b9f47c6d$exports.extractTar = $041d45f5b9f47c6d$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $041d45f5b9f47c6d$var$extractXar(file, dest, flags = []) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n $5KFgK$assert.ok($041d45f5b9f47c6d$var$IS_MAC, \"extractXar() not supported on current OS\");\n $5KFgK$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $041d45f5b9f47c6d$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($041d45f5b9f47c6d$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $041d45f5b9f47c6d$var$io.which(\"xar\", true);\n yield $8hZvX.exec(`\"${xarPath}\"`, $041d45f5b9f47c6d$var$_unique(args));\n return dest;\n });\n}\n$041d45f5b9f47c6d$exports.extractXar = $041d45f5b9f47c6d$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $041d45f5b9f47c6d$var$extractZip(file, dest) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $041d45f5b9f47c6d$var$_createExtractFolder(dest);\n if ($041d45f5b9f47c6d$var$IS_WINDOWS) yield $041d45f5b9f47c6d$var$extractZipWin(file, dest);\n else yield $041d45f5b9f47c6d$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$041d45f5b9f47c6d$exports.extractZip = $041d45f5b9f47c6d$var$extractZip;\nfunction $041d45f5b9f47c6d$var$extractZipWin(file, dest) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $041d45f5b9f47c6d$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $041d45f5b9f47c6d$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $8hZvX.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $041d45f5b9f47c6d$var$io.which(\"powershell\", true);\n $041d45f5b9f47c6d$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $8hZvX.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $041d45f5b9f47c6d$var$extractZipNix(file, dest) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $041d45f5b9f47c6d$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$041d45f5b9f47c6d$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $8hZvX.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $041d45f5b9f47c6d$var$cacheDir(sourceDir, tool, version, arch) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n version = $041d45f5b9f47c6d$var$semver.clean(version) || version;\n arch = arch || $041d45f5b9f47c6d$var$os.arch();\n $041d45f5b9f47c6d$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $041d45f5b9f47c6d$var$core.debug(`source dir: ${sourceDir}`);\n if (!$041d45f5b9f47c6d$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $041d45f5b9f47c6d$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $041d45f5b9f47c6d$var$fs.readdirSync(sourceDir)){\n const s = $041d45f5b9f47c6d$var$path.join(sourceDir, itemName);\n yield $041d45f5b9f47c6d$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $041d45f5b9f47c6d$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$041d45f5b9f47c6d$exports.cacheDir = $041d45f5b9f47c6d$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $041d45f5b9f47c6d$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n version = $041d45f5b9f47c6d$var$semver.clean(version) || version;\n arch = arch || $041d45f5b9f47c6d$var$os.arch();\n $041d45f5b9f47c6d$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $041d45f5b9f47c6d$var$core.debug(`source file: ${sourceFile}`);\n if (!$041d45f5b9f47c6d$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $041d45f5b9f47c6d$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $041d45f5b9f47c6d$var$path.join(destFolder, targetFile);\n $041d45f5b9f47c6d$var$core.debug(`destination file ${destPath}`);\n yield $041d45f5b9f47c6d$var$io.cp(sourceFile, destPath);\n // write .complete\n $041d45f5b9f47c6d$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$041d45f5b9f47c6d$exports.cacheFile = $041d45f5b9f47c6d$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $041d45f5b9f47c6d$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $041d45f5b9f47c6d$var$os.arch();\n // attempt to resolve an explicit version\n if (!$041d45f5b9f47c6d$var$isExplicitVersion(versionSpec)) {\n const localVersions = $041d45f5b9f47c6d$var$findAllVersions(toolName, arch);\n const match = $041d45f5b9f47c6d$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $041d45f5b9f47c6d$var$semver.clean(versionSpec) || \"\";\n const cachePath = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $041d45f5b9f47c6d$var$core.debug(`checking cache: ${cachePath}`);\n if ($041d45f5b9f47c6d$var$fs.existsSync(cachePath) && $041d45f5b9f47c6d$var$fs.existsSync(`${cachePath}.complete`)) {\n $041d45f5b9f47c6d$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $041d45f5b9f47c6d$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$041d45f5b9f47c6d$exports.find = $041d45f5b9f47c6d$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $041d45f5b9f47c6d$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $041d45f5b9f47c6d$var$os.arch();\n const toolPath = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getCacheDirectory(), toolName);\n if ($041d45f5b9f47c6d$var$fs.existsSync(toolPath)) {\n const children = $041d45f5b9f47c6d$var$fs.readdirSync(toolPath);\n for (const child of children)if ($041d45f5b9f47c6d$var$isExplicitVersion(child)) {\n const fullPath = $041d45f5b9f47c6d$var$path.join(toolPath, child, arch || \"\");\n if ($041d45f5b9f47c6d$var$fs.existsSync(fullPath) && $041d45f5b9f47c6d$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$041d45f5b9f47c6d$exports.findAllVersions = $041d45f5b9f47c6d$var$findAllVersions;\nfunction $041d45f5b9f47c6d$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $041d45f5b9f47c6d$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $041d45f5b9f47c6d$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $041d45f5b9f47c6d$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$041d45f5b9f47c6d$exports.getManifestFromRepo = $041d45f5b9f47c6d$var$getManifestFromRepo;\nfunction $041d45f5b9f47c6d$var$findFromManifest(versionSpec, stable, manifest, archFilter = $041d45f5b9f47c6d$var$os.arch()) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $041d45f5b9f47c6d$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$041d45f5b9f47c6d$exports.findFromManifest = $041d45f5b9f47c6d$var$findFromManifest;\nfunction $041d45f5b9f47c6d$var$_createExtractFolder(dest) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getTempDirectory(), $041d45f5b9f47c6d$var$v4_1.default());\n yield $041d45f5b9f47c6d$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $041d45f5b9f47c6d$var$_createToolPath(tool, version, arch) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getCacheDirectory(), tool, $041d45f5b9f47c6d$var$semver.clean(version) || version, arch || \"\");\n $041d45f5b9f47c6d$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $041d45f5b9f47c6d$var$io.rmRF(folderPath);\n yield $041d45f5b9f47c6d$var$io.rmRF(markerPath);\n yield $041d45f5b9f47c6d$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $041d45f5b9f47c6d$var$_completeToolPath(tool, version, arch) {\n const folderPath = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getCacheDirectory(), tool, $041d45f5b9f47c6d$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $041d45f5b9f47c6d$var$fs.writeFileSync(markerPath, \"\");\n $041d45f5b9f47c6d$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $041d45f5b9f47c6d$var$isExplicitVersion(versionSpec) {\n const c = $041d45f5b9f47c6d$var$semver.clean(versionSpec) || \"\";\n $041d45f5b9f47c6d$var$core.debug(`isExplicit: ${c}`);\n const valid = $041d45f5b9f47c6d$var$semver.valid(c) != null;\n $041d45f5b9f47c6d$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$041d45f5b9f47c6d$exports.isExplicitVersion = $041d45f5b9f47c6d$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $041d45f5b9f47c6d$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $041d45f5b9f47c6d$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($041d45f5b9f47c6d$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $041d45f5b9f47c6d$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $041d45f5b9f47c6d$var$core.debug(`matched: ${version}`);\n else $041d45f5b9f47c6d$var$core.debug(\"match not found\");\n return version;\n}\n$041d45f5b9f47c6d$exports.evaluateVersions = $041d45f5b9f47c6d$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $041d45f5b9f47c6d$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $5KFgK$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $041d45f5b9f47c6d$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $5KFgK$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $041d45f5b9f47c6d$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $041d45f5b9f47c6d$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $kUX5G = parcelRequire(\"kUX5G\");\n\nvar $8bUR0 = parcelRequire(\"8bUR0\");\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\n\n\n\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\nvar $ee5dd4b3889f5211$exports = {};\n\"use strict\";\nObject.defineProperty($ee5dd4b3889f5211$exports, \"__esModule\", {\n value: true\n});\n$ee5dd4b3889f5211$exports.retryAsPromised = $ee5dd4b3889f5211$exports.TimeoutError = void 0;\nclass $ee5dd4b3889f5211$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$ee5dd4b3889f5211$exports.TimeoutError = $ee5dd4b3889f5211$var$TimeoutError;\nfunction $ee5dd4b3889f5211$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $ee5dd4b3889f5211$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $ee5dd4b3889f5211$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $ee5dd4b3889f5211$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $ee5dd4b3889f5211$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $ee5dd4b3889f5211$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$ee5dd4b3889f5211$exports.retryAsPromised = $ee5dd4b3889f5211$var$retryAsPromised;\n$ee5dd4b3889f5211$exports.default = $ee5dd4b3889f5211$var$retryAsPromised;\n\n\nlet $7dbd062890ddcaab$var$didInit = false;\nasync function $7dbd062890ddcaab$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $7Lz0k.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? (0, $5KFgK$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $eq4yW.join)((0, $5KFgK$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $2W4C2.GITHUB_ACTIONS) try {\n const dir = (0, $041d45f5b9f47c6d$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $eq4yW.join)(dir, extractedFolderName);\n const binDir = (0, $eq4yW.join)(installDir, binRelativeDir);\n if (await (0, $bOuKS.pathExists)((0, $eq4yW.join)(binDir, binFileName))) {\n (0, $7Lz0k.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $eq4yW.join)(setupDir, extractedFolderName);\n const binDir = (0, $eq4yW.join)(installDir, binRelativeDir);\n const binFile = (0, $eq4yW.join)(binDir, binFileName);\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $bOuKS.pathExists)(binDir),\n (0, $bOuKS.pathExists)(binFile)\n ])).includes(false)) try {\n (0, $7Lz0k.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($ee5dd4b3889f5211$exports)))(()=>{\n return (0, $041d45f5b9f47c6d$exports.downloadTool)(url);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $7Lz0k.info)(err)\n });\n if (!$7dbd062890ddcaab$var$didInit) {\n (0, $7Lz0k.info)(`Installing extraction dependencies`);\n if (process.platform === \"linux\") {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"xz\")\n ]);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"unzip\");\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"tar\");\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"xz\");\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz-utils\"\n }\n ]);\n }\n // eslint-disable-next-line require-atomic-updates\n $7dbd062890ddcaab$var$didInit = true;\n }\n (0, $7Lz0k.info)(`Extracting ${downloaded} to ${setupDir}`);\n await extractFunction?.(downloaded, setupDir);\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`);\n }\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $7Lz0k.info)(`Add ${binDir} to PATH`);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n // check if inside Github Actions. If so, cache the installation\n if ((0, $2W4C2.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") await (0, $041d45f5b9f47c6d$exports.cacheDir)(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\nvar $jtqY0 = parcelRequire(\"jtqY0\");\n\n\n\n\n\n\n\n\n\nfunction $cbfc9bdff29968e3$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"p7zip\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"p7zip\", version);\n return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"p7zip-plugins\", version);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nlet $334bd34d50e00f0e$var$sevenZip;\nasync function $334bd34d50e00f0e$export$eecfe186811d4a20(file, dest) {\n await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(await $334bd34d50e00f0e$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n (0, $e5f7accf26e93c4e$export$f9a3d10eb7c735af)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $334bd34d50e00f0e$var$getSevenZip() {\n if ($334bd34d50e00f0e$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $cbfc9bdff29968e3$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $334bd34d50e00f0e$var$sevenZip = \"7z\";\n }\n return $334bd34d50e00f0e$var$sevenZip;\n}\nfunction $334bd34d50e00f0e$export$7949938b2681a4f0(file, dest) {\n return $334bd34d50e00f0e$export$eecfe186811d4a20(file, dest);\n}\nfunction $334bd34d50e00f0e$export$6411c5cbab21135b(file, dest) {\n return $334bd34d50e00f0e$export$eecfe186811d4a20(file, dest);\n}\nasync function $334bd34d50e00f0e$export$2ab07ac150064014(file, dest, flags = [\n \"--strip-components=0\"\n]) {\n try {\n await (0, $jtqY0.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $7Lz0k.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n (0, $e5f7accf26e93c4e$export$f9a3d10eb7c735af)(dest);\n return dest;\n}\n\n\n/** Get the platform data for cmake */ function $24ae2ed334e3fc9e$var$getCmakePackageInfo(version, platform, arch) {\n const semVersion = (0, (/*@__PURE__*/$parcel$interopDefault($8bUR0)))(version) ?? version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($kUX5G)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eq4yW.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $334bd34d50e00f0e$export$6411c5cbab21135b),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($kUX5G)))(semVersion, \"v3.19.1\");\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: (0, $eq4yW.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $041d45f5b9f47c6d$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($kUX5G)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eq4yW.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $041d45f5b9f47c6d$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nfunction $24ae2ed334e3fc9e$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"cmake\", version, $24ae2ed334e3fc9e$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n/* eslint-disable require-atomic-updates */ \nvar $8hZvX = parcelRequire(\"8hZvX\");\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n/**\n * @constant DEFAULT_OPTIONS_KEYS the default options keys\n */ var $66020ee02fe926ff$var$DEFAULT_OPTIONS_KEYS = {\n isEqual: true,\n isMatchingKey: true,\n isPromise: true,\n maxSize: true,\n onCacheAdd: true,\n onCacheChange: true,\n onCacheHit: true,\n transformKey: true\n};\n/**\n * @function slice\n *\n * @description\n * slice.call() pre-bound\n */ var $66020ee02fe926ff$var$slice = Array.prototype.slice;\n/**\n * @function cloneArray\n *\n * @description\n * clone the array-like object and return the new array\n *\n * @param arrayLike the array-like object to clone\n * @returns the clone as an array\n */ function $66020ee02fe926ff$var$cloneArray(arrayLike) {\n var length = arrayLike.length;\n if (!length) return [];\n if (length === 1) return [\n arrayLike[0]\n ];\n if (length === 2) return [\n arrayLike[0],\n arrayLike[1]\n ];\n if (length === 3) return [\n arrayLike[0],\n arrayLike[1],\n arrayLike[2]\n ];\n return $66020ee02fe926ff$var$slice.call(arrayLike, 0);\n}\n/**\n * @function getCustomOptions\n *\n * @description\n * get the custom options on the object passed\n *\n * @param options the memoization options passed\n * @returns the custom options passed\n */ function $66020ee02fe926ff$var$getCustomOptions(options) {\n var customOptions = {};\n /* eslint-disable no-restricted-syntax */ for(var key in options)if (!$66020ee02fe926ff$var$DEFAULT_OPTIONS_KEYS[key]) customOptions[key] = options[key];\n /* eslint-enable */ return customOptions;\n}\n/**\n * @function isMemoized\n *\n * @description\n * is the function passed already memoized\n *\n * @param fn the function to test\n * @returns is the function already memoized\n */ function $66020ee02fe926ff$var$isMemoized(fn) {\n return typeof fn === \"function\" && fn.isMemoized;\n}\n/**\n * @function isSameValueZero\n *\n * @description\n * are the objects equal based on SameValueZero equality\n *\n * @param object1 the first object to compare\n * @param object2 the second object to compare\n * @returns are the two objects equal\n */ function $66020ee02fe926ff$var$isSameValueZero(object1, object2) {\n // eslint-disable-next-line no-self-compare\n return object1 === object2 || object1 !== object1 && object2 !== object2;\n}\n/**\n * @function mergeOptions\n *\n * @description\n * merge the options into the target\n *\n * @param existingOptions the options provided\n * @param newOptions the options to include\n * @returns the merged options\n */ function $66020ee02fe926ff$var$mergeOptions(existingOptions, newOptions) {\n var target = {};\n /* eslint-disable no-restricted-syntax */ for(var key in existingOptions)target[key] = existingOptions[key];\n for(var key in newOptions)target[key] = newOptions[key];\n /* eslint-enable */ return target;\n}\n// utils\nvar $66020ee02fe926ff$var$Cache = /** @class */ function() {\n function Cache(options) {\n this.keys = [];\n this.values = [];\n this.options = options;\n var isMatchingKeyFunction = typeof options.isMatchingKey === \"function\";\n if (isMatchingKeyFunction) this.getKeyIndex = this._getKeyIndexFromMatchingKey;\n else if (options.maxSize > 1) this.getKeyIndex = this._getKeyIndexForMany;\n else this.getKeyIndex = this._getKeyIndexForSingle;\n this.canTransformKey = typeof options.transformKey === \"function\";\n this.shouldCloneArguments = this.canTransformKey || isMatchingKeyFunction;\n this.shouldUpdateOnAdd = typeof options.onCacheAdd === \"function\";\n this.shouldUpdateOnChange = typeof options.onCacheChange === \"function\";\n this.shouldUpdateOnHit = typeof options.onCacheHit === \"function\";\n }\n Object.defineProperty(Cache.prototype, \"size\", {\n /**\n * The number of cached [key,value] results.\n */ get: function() {\n return this.keys.length;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Cache.prototype, \"snapshot\", {\n /**\n * A copy of the cache at a moment in time. This is useful\n * to compare changes over time, since the cache mutates\n * internally for performance reasons.\n */ get: function() {\n return {\n keys: $66020ee02fe926ff$var$cloneArray(this.keys),\n size: this.size,\n values: $66020ee02fe926ff$var$cloneArray(this.values)\n };\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Gets the matching key index when a custom key matcher is used.\n */ Cache.prototype._getKeyIndexFromMatchingKey = function(keyToMatch) {\n var _a = this.options, isMatchingKey = _a.isMatchingKey, maxSize = _a.maxSize;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (isMatchingKey(keys[0], keyToMatch)) return 0;\n if (maxSize > 1) for(var index = 1; index < keysLength; index++){\n if (isMatchingKey(keys[index], keyToMatch)) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when multiple keys are used.\n */ Cache.prototype._getKeyIndexForMany = function(keyToMatch) {\n var isEqual = this.options.isEqual;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (keysLength === 1) return this._getKeyIndexForSingle(keyToMatch);\n var keyLength = keyToMatch.length;\n var existingKey;\n var argIndex;\n if (keyLength > 1) for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength) {\n argIndex = 0;\n for(; argIndex < keyLength; argIndex++){\n if (!isEqual(existingKey[argIndex], keyToMatch[argIndex])) break;\n }\n if (argIndex === keyLength) return index;\n }\n }\n else for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength && isEqual(existingKey[0], keyToMatch[0])) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when a single key is used.\n */ Cache.prototype._getKeyIndexForSingle = function(keyToMatch) {\n var keys = this.keys;\n if (!keys.length) return -1;\n var existingKey = keys[0];\n var length = existingKey.length;\n if (keyToMatch.length !== length) return -1;\n var isEqual = this.options.isEqual;\n if (length > 1) {\n for(var index = 0; index < length; index++){\n if (!isEqual(existingKey[index], keyToMatch[index])) return -1;\n }\n return 0;\n }\n return isEqual(existingKey[0], keyToMatch[0]) ? 0 : -1;\n };\n /**\n * Order the array based on a Least-Recently-Used basis.\n */ Cache.prototype.orderByLru = function(key, value, startingIndex) {\n var keys = this.keys;\n var values = this.values;\n var currentLength = keys.length;\n var index = startingIndex;\n while(index--){\n keys[index + 1] = keys[index];\n values[index + 1] = values[index];\n }\n keys[0] = key;\n values[0] = value;\n var maxSize = this.options.maxSize;\n if (currentLength === maxSize && startingIndex === currentLength) {\n keys.pop();\n values.pop();\n } else if (startingIndex >= maxSize) // eslint-disable-next-line no-multi-assign\n keys.length = values.length = maxSize;\n };\n /**\n * Update the promise method to auto-remove from cache if rejected, and\n * if resolved then fire cache hit / changed.\n */ Cache.prototype.updateAsyncCache = function(memoized) {\n var _this = this;\n var _a = this.options, onCacheChange = _a.onCacheChange, onCacheHit = _a.onCacheHit;\n var firstKey = this.keys[0];\n var firstValue = this.values[0];\n this.values[0] = firstValue.then(function(value) {\n if (_this.shouldUpdateOnHit) onCacheHit(_this, _this.options, memoized);\n if (_this.shouldUpdateOnChange) onCacheChange(_this, _this.options, memoized);\n return value;\n }, function(error) {\n var keyIndex = _this.getKeyIndex(firstKey);\n if (keyIndex !== -1) {\n _this.keys.splice(keyIndex, 1);\n _this.values.splice(keyIndex, 1);\n }\n throw error;\n });\n };\n return Cache;\n}();\nfunction $66020ee02fe926ff$export$2e2bcd8739ae039(fn, options) {\n if (options === void 0) options = {};\n if ($66020ee02fe926ff$var$isMemoized(fn)) return $66020ee02fe926ff$export$2e2bcd8739ae039(fn.fn, $66020ee02fe926ff$var$mergeOptions(fn.options, options));\n if (typeof fn !== \"function\") throw new TypeError(\"You must pass a function to `memoize`.\");\n var _a = options.isEqual, isEqual = _a === void 0 ? $66020ee02fe926ff$var$isSameValueZero : _a, isMatchingKey = options.isMatchingKey, _b = options.isPromise, isPromise = _b === void 0 ? false : _b, _c = options.maxSize, maxSize = _c === void 0 ? 1 : _c, onCacheAdd = options.onCacheAdd, onCacheChange = options.onCacheChange, onCacheHit = options.onCacheHit, transformKey = options.transformKey;\n var normalizedOptions = $66020ee02fe926ff$var$mergeOptions({\n isEqual: isEqual,\n isMatchingKey: isMatchingKey,\n isPromise: isPromise,\n maxSize: maxSize,\n onCacheAdd: onCacheAdd,\n onCacheChange: onCacheChange,\n onCacheHit: onCacheHit,\n transformKey: transformKey\n }, $66020ee02fe926ff$var$getCustomOptions(options));\n var cache = new $66020ee02fe926ff$var$Cache(normalizedOptions);\n var keys = cache.keys, values = cache.values, canTransformKey = cache.canTransformKey, shouldCloneArguments = cache.shouldCloneArguments, shouldUpdateOnAdd = cache.shouldUpdateOnAdd, shouldUpdateOnChange = cache.shouldUpdateOnChange, shouldUpdateOnHit = cache.shouldUpdateOnHit;\n var memoized = function() {\n var key = shouldCloneArguments ? $66020ee02fe926ff$var$cloneArray(arguments) : arguments;\n if (canTransformKey) key = transformKey(key);\n var keyIndex = keys.length ? cache.getKeyIndex(key) : -1;\n if (keyIndex !== -1) {\n if (shouldUpdateOnHit) onCacheHit(cache, normalizedOptions, memoized);\n if (keyIndex) {\n cache.orderByLru(keys[keyIndex], values[keyIndex], keyIndex);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n } else {\n var newValue = fn.apply(this, arguments);\n var newKey = shouldCloneArguments ? key : $66020ee02fe926ff$var$cloneArray(arguments);\n cache.orderByLru(newKey, newValue, keys.length);\n if (isPromise) cache.updateAsyncCache(memoized);\n if (shouldUpdateOnAdd) onCacheAdd(cache, normalizedOptions, memoized);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n return values[0];\n };\n memoized.cache = cache;\n memoized.fn = fn;\n memoized.isMemoized = true;\n memoized.options = normalizedOptions;\n return memoized;\n}\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\n\n\n\n\n\n\n// src/modules/https-utils.ts\n\n\nfunction $6f58ee7b2466571f$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $6f58ee7b2466571f$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $5KFgK$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($6f58ee7b2466571f$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $6f58ee7b2466571f$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $5KFgK$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $6f58ee7b2466571f$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $6f58ee7b2466571f$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $6f58ee7b2466571f$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $6f58ee7b2466571f$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $6f58ee7b2466571f$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $95wpj = parcelRequire(\"95wpj\");\n\nvar $8bUR0 = parcelRequire(\"8bUR0\");\n\nvar $2lp21 = parcelRequire(\"2lp21\");\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nfunction $9ae3c26b3cc5ff2a$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($95wpj)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $9ae3c26b3cc5ff2a$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $9ae3c26b3cc5ff2a$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version);\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && await (0, $6f58ee7b2466571f$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $9ae3c26b3cc5ff2a$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $6f58ee7b2466571f$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $9ae3c26b3cc5ff2a$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $9ae3c26b3cc5ff2a$export$5b54ecc7386538f(file, versionRegex = $9ae3c26b3cc5ff2a$export$d7ab5e2d33b06cd5) {\n try {\n const execout = await (0, $8hZvX.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = version_output.trim().match(versionRegex)?.[1];\n return version;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $9ae3c26b3cc5ff2a$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $9ae3c26b3cc5ff2a$export$5b54ecc7386538f(givenFile, versionRegex);\n if (typeof givenVersion === \"string\" && typeof targetVersion === \"string\" && givenVersion !== \"\" && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($95wpj)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $9ae3c26b3cc5ff2a$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2lp21)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($8bUR0)))(version);\n if (coercedVersion !== null) {\n (0, $7Lz0k.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $9ae3c26b3cc5ff2a$export$b19007c0050a2fcc(version) {\n return parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $9ae3c26b3cc5ff2a$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\n\n\nfunction $08fd6d4df420d4d5$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\nfunction $3d5441a36817773c$var$getLLVMDefault() {\n switch(process.platform){\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"15.0.6-ubuntu-18.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"15.0.4\";\n }\n}\nconst $3d5441a36817773c$export$5fb1985a02d8f66f = {\n llvm: $3d5441a36817773c$var$getLLVMDefault(),\n clangtidy: $3d5441a36817773c$var$getLLVMDefault(),\n clangformat: $3d5441a36817773c$var$getLLVMDefault(),\n ninja: \"1.11.1\",\n cmake: \"3.26.4\",\n gcovr: \"5.2\",\n conan: \"1.60.0\",\n meson: \"1.0.2\",\n kcov: \"41\",\n task: \"3.25.0\",\n doxygen: (0, $9aeb5896658945db$export$d415ddb6702ec3a2)() ? \"1.9.6-1\" : \"1.9.7\",\n gcc: (0, $9aeb5896658945db$export$d415ddb6702ec3a2)() ? \"13.1.1-1\" : \"13\"\n};\nconst $3d5441a36817773c$export$b0fc8ac572b39938 = {\n pip: \"22.3.1\",\n python: \"3.7.9\"\n};\nconst $3d5441a36817773c$export$1bb63c984aa6e760 = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\n llvm: {\n 22: \"15.0.6-ubuntu-18.04\",\n 20: \"15.0.6-ubuntu-18.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 22: \"15.0.6-ubuntu-18.04\",\n 20: \"15.0.6-ubuntu-18.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 22: \"15.0.6-ubuntu-18.04\",\n 20: \"15.0.6-ubuntu-18.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 22: \"5.2\",\n 20: \"5.2\",\n 18: \"5.0\"\n },\n meson: {\n 20: \"1.0.0\",\n 18: \"0.61.4\"\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\"\n },\n kcov: {\n 22: \"40\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n }\n};\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nasync function $29e5d8652dc51d70$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $29e5d8652dc51d70$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($5KFgK$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $29e5d8652dc51d70$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n // setup wheel and setuptools\n try {\n await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, true);\n await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, true);\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n return installInfo;\n}\n\nasync function $29e5d8652dc51d70$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $29e5d8652dc51d70$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $eq4yW.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $2W4C2.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $7Lz0k.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"k3Q8W\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $29e5d8652dc51d70$var$findPython(setupDir);\n const binDir = (0, $eq4yW.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $7Lz0k.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $29e5d8652dc51d70$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $29e5d8652dc51d70$var$findPython(setupDir);\n installInfo.bin = foundPython;\n }\n return installInfo;\n}\nasync function $29e5d8652dc51d70$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $29e5d8652dc51d70$var$findPython(setupDir);\n const binDir = (0, $eq4yW.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $eq4yW.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(brewPythonBin);\n break;\n }\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) installInfo = (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"python3\", version);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $29e5d8652dc51d70$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $29e5d8652dc51d70$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $eq4yW.join)(binDir, (0, $eq4yW.addExeExt)(candidate));\n if (await (0, $bOuKS.pathExists)(pythonBinPath)) {\n if (await (0, $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08)(pythonBinPath, (0, $3d5441a36817773c$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n const pythonBinPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports)))(candidate, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08)(pythonBinPath, (0, $3d5441a36817773c$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$findOrSetupPip(foundPython) {\n const maybePip = await $29e5d8652dc51d70$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $7Lz0k.info)(\"pip was not found. Installing pip\");\n await $29e5d8652dc51d70$var$setupPip(foundPython);\n return $29e5d8652dc51d70$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $29e5d8652dc51d70$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $29e5d8652dc51d70$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$isPipUptoDate(pip) {\n try {\n const pipPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports)))(pip, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && await (0, $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08)(pipPath, (0, $3d5441a36817773c$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$setupPip(foundPython) {\n const upgraded = await $29e5d8652dc51d70$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n await $29e5d8652dc51d70$var$setupPipSystem();\n // upgrade pip\n await $29e5d8652dc51d70$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $29e5d8652dc51d70$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $7Lz0k.info)(err1?.toString?.());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n (0, $7Lz0k.info)(err2?.toString?.());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nfunction $29e5d8652dc51d70$var$setupPipSystem() {\n if (process.platform === \"linux\") {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"python-pip\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"python3-pip\");\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"python3-pip\"\n }\n ]);\n }\n throw new Error(`Could not install pip on ${process.platform}`);\n}\nasync function $29e5d8652dc51d70$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $8hZvX.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $eq4yW.join)(base_exec_prefix, \"Scripts\"), (0, $eq4yW.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $eq4yW.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $08fd6d4df420d4d5$export$7a5d5c156e7dc406)(dirs);\n}\nconst $29e5d8652dc51d70$export$4bf645347c3b7001 = (0, $66020ee02fe926ff$export$2e2bcd8739ae039)($29e5d8652dc51d70$var$addPythonBaseExecPrefix_raw);\n\n\n\n\nfunction $83fde521434ac405$export$c506eb22e615ba4a(name, version, osVersion = null) {\n console.log(\"isDefault\", version, name, $83fde521434ac405$var$isVersionDefault(version));\n if ($83fde521434ac405$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $3d5441a36817773c$export$1bb63c984aa6e760)) return $83fde521434ac405$var$getDefaultLinuxVersion(osVersion, (0, $3d5441a36817773c$export$1bb63c984aa6e760)[name]);\n else if ($83fde521434ac405$var$isVersionDefault(version) && name in (0, $3d5441a36817773c$export$5fb1985a02d8f66f)) return (0, $3d5441a36817773c$export$5fb1985a02d8f66f)[name];\n else if (version === \"true\") return \"\";\n return version ?? \"\";\n}\nfunction $83fde521434ac405$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $83fde521434ac405$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $83fde521434ac405$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$83fde521434ac405$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n toolsInUse.forEach((tool)=>{\n opts[tool] = targetVersion;\n });\n return true;\n}\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nvar $0f9c36911484576c$exports = {};\n\"use strict\";\nObject.defineProperty($0f9c36911484576c$exports, \"__esModule\", {\n value: true\n});\n$0f9c36911484576c$exports.getUbuntuVersion = void 0;\n\nfunction $0f9c36911484576c$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $0f9c36911484576c$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $5KFgK$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($0f9c36911484576c$var$isSystemError(error) && error.code === \"ENOENT\") {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(\" \")}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function $0f9c36911484576c$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $0f9c36911484576c$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split(\"\\n\")){\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== \"Ubuntu\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$0f9c36911484576c$exports.getUbuntuVersion = $0f9c36911484576c$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\n\n\n\nasync function $7407b79f302e7dfb$var$ubuntuVersion_raw() {\n try {\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $7407b79f302e7dfb$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $0f9c36911484576c$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $7407b79f302e7dfb$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $7Lz0k.warning)(err.toString());\n return null;\n }\n}\nconst $7407b79f302e7dfb$export$49c9cf1111dfa0ee = (0, $66020ee02fe926ff$export$2e2bcd8739ae039)($7407b79f302e7dfb$var$ubuntuVersion_raw);\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $7407b79f302e7dfb$var$detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($5KFgK$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\nasync function $5d78454eba2028c3$export$4020cb77ffa3ffac(name, version, upgrade = false) {\n return $5d78454eba2028c3$export$7c60aea099ad1c1d(await $5d78454eba2028c3$var$getPython(), name, version, upgrade);\n}\nasync function $5d78454eba2028c3$export$7c60aea099ad1c1d(givenPython, name, version, upgrade = false) {\n (0, $i5trn.info)(`Installing ${name} ${version ?? \"\"} via pip`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade === true ? [\n \"--upgrade\"\n ] : [];\n (0, $3842d3f8db9a4507$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n \"pip\",\n \"install\",\n ...upgradeFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\"\n });\n const execPaths = await (0, $29e5d8652dc51d70$export$4bf645347c3b7001)(givenPython);\n const binDir = await $5d78454eba2028c3$var$findBinDir(execPaths, name);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\nasync function $5d78454eba2028c3$var$getPython_raw() {\n const pythonBin = (await (0, $29e5d8652dc51d70$export$2b0b68e9df3d4a02)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $5d78454eba2028c3$var$getPython = (0, $66020ee02fe926ff$export$2e2bcd8739ae039)($5d78454eba2028c3$var$getPython_raw);\nasync function $5d78454eba2028c3$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $bOuKS.pathExists)((0, $eq4yW.join)(dir, (0, $eq4yW.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync((0, $eq4yW.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $eq4yW.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\n\n\nasync function $ae75412612fe2e3e$export$249d0c7d779d362f(version, _setupDir, _arch) {\n await (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"setuptools\", \"\");\n return (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $e662e72f87137a41$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $e662e72f87137a41$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"ccache\", version);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $e662e72f87137a41$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n\n\n\n\n\n\n\nasync function $77fafcb29b09e6e7$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"graphviz\", version);\n return $77fafcb29b09e6e7$var$activateGraphviz();\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"graphviz\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"graphviz\", version);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $77fafcb29b09e6e7$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $c3138813a2f84b86$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eq4yW.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $041d45f5b9f47c6d$exports.extractTar),\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eq4yW.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $334bd34d50e00f0e$export$6411c5cbab21135b),\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $c3138813a2f84b86$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($ee5dd4b3889f5211$exports)))(()=>{\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $7Lz0k.info)(err)\n });\n const binDir = await $c3138813a2f84b86$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $77fafcb29b09e6e7$export$b885bd977caaafb9)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n const installationInfo = await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"doxygen\", undefined);\n await (0, $77fafcb29b09e6e7$export$b885bd977caaafb9)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $9aeb5896658945db$export$d415ddb6702ec3a2)() || (0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installationInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"doxygen\", version);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(`Unsupported linux distributions`);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"doxygen\", version, $c3138813a2f84b86$var$getDoxygenPackageInfo, setupDir, arch);\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $7Lz0k.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(`Unsupported linux distributions`);\n await (0, $77fafcb29b09e6e7$export$b885bd977caaafb9)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $c3138813a2f84b86$var$activateWinDoxygen() {\n switch(process.platform){\n case \"win32\":\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\"\n ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $bOuKS.pathExists)((0, $eq4yW.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $f8px2 = parcelRequire(\"f8px2\");\n\nvar $8bUR0 = parcelRequire(\"8bUR0\");\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nasync function $ce4a769f1296c7b8$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $8hZvX.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim());\n else (0, $7Lz0k.error)(`SDKROOT not set`);\n } catch (e) {\n (0, $7Lz0k.error)(e);\n }\n}\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\n\n\n\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $c5bcc6df675a953c$var$$parcel$__dirname = $5KFgK$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $c5bcc6df675a953c$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $c5bcc6df675a953c$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $c5bcc6df675a953c$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n ;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eq4yW.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $334bd34d50e00f0e$export$eecfe186811d4a20),\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`\n };\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\nasync function $c5bcc6df675a953c$export$405fab3de79b77b(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"g++\", version, $c5bcc6df675a953c$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $7Lz0k.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $c5bcc6df675a953c$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installationInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n installationInfo = (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"gcc\", version);\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"gcc-c++\", version);\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"libstdc++-devel\", undefined);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"gcc\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n },\n {\n name: \"g++\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n } else {\n (0, $7Lz0k.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"gcc-multilib\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n }\n break;\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) {\n await $c5bcc6df675a953c$var$activateGcc(version, installationInfo.binDir);\n return installationInfo;\n }\n return undefined;\n}\nasync function $c5bcc6df675a953c$var$setupChocoMingw(version, arch) {\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n if (arch === \"x64\" && await (0, $bOuKS.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n } else if (arch === \"ia32\" && await (0, $bOuKS.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n } else if (await (0, $bOuKS.pathExists)(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $c5bcc6df675a953c$var$activateGcc(version, binDir) {\n const promises = [];\n // Setup gcc as the compiler\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n if (process.platform === \"win32\") promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", (0, $eq4yW.addExeExt)(`${binDir}/gcc`)), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", (0, $eq4yW.addExeExt)(`${binDir}/g++`)));\n else {\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($f8px2)))((0, (/*@__PURE__*/$parcel$interopDefault($8bUR0)))(version) ?? version);\n if (majorVersion >= 5) {\n promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`));\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) promises.push((0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${majorVersion}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${majorVersion}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${majorVersion}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${majorVersion}`));\n } else {\n promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`));\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) promises.push((0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${version}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${version}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${version}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${version}`));\n }\n }\n promises.push((0, $ce4a769f1296c7b8$export$28f5fd35e3005b7a)());\n if (0, $2W4C2.GITHUB_ACTIONS) await $c5bcc6df675a953c$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $c5bcc6df675a953c$var$addGccLoggingMatcher() {\n const matcherPath = (0, $eq4yW.join)($c5bcc6df675a953c$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $bOuKS.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $2lp21 = parcelRequire(\"2lp21\");\n\nvar $f8px2 = parcelRequire(\"f8px2\");\nfunction $719e7985de30e2f2$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $719e7985de30e2f2$export$2a0488baf2a20c0f() {\n return (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\");\n}\nfunction $719e7985de30e2f2$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($2lp21)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($f8px2)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"GCOV\", gcov);\n}\n\n\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n/** Get the platform name Ninja uses in their download links */ function $b31f931d02d7e6cb$var$getNinjaPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"win\";\n case \"darwin\":\n return \"mac\";\n case \"linux\":\n return \"linux\";\n default:\n throw new Error(`Unsupported platform '${platform}'`);\n }\n}\n/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $b31f931d02d7e6cb$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $b31f931d02d7e6cb$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eq4yW.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: (0, $334bd34d50e00f0e$export$6411c5cbab21135b),\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $b31f931d02d7e6cb$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"ninja\", version, $b31f931d02d7e6cb$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $a36cf804c947131a$var$$parcel$__dirname = $5KFgK$path.resolve(__dirname, \"../../src/kcov\");\nfunction $a36cf804c947131a$var$getDownloadKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: (0, $eq4yW.addExeExt)(\"kcov\"),\n extractFunction: (0, $334bd34d50e00f0e$export$2ab07ac150064014)\n };\n}\nfunction $a36cf804c947131a$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $eq4yW.addExeExt)(\"kcov\"),\n extractFunction: $a36cf804c947131a$var$buildKcov\n };\n}\nasync function $a36cf804c947131a$var$buildKcov(file, dest) {\n const out = await (0, $334bd34d50e00f0e$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n // build after extraction using CMake\n const cmake = await $a36cf804c947131a$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"libdwarf-devel\");\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"libcurl-devel\");\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $eq4yW.join)($a36cf804c947131a$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $7Lz0k.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $eq4yW.join)(out, \"build\");\n await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $3842d3f8db9a4507$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $a36cf804c947131a$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $24ae2ed334e3fc9e$export$c28663a621f418ce)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), (0, $eq4yW.join)((0, $9affb3cfb96595a9$export$8312d9eeba321950)(\"\"), \"cmake\"), \"\");\n cmake = (0, $eq4yW.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $b31f931d02d7e6cb$export$e6190f4bfe2ef71)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), (0, $eq4yW.join)((0, $9affb3cfb96595a9$export$8312d9eeba321950)(\"\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $a36cf804c947131a$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $7Lz0k.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $9ae3c26b3cc5ff2a$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $9ae3c26b3cc5ff2a$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"kcov\", version, $a36cf804c947131a$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"binutils\");\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"kcov\", version, $a36cf804c947131a$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\n\n\n\nvar $kUX5G = parcelRequire(\"kUX5G\");\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\nconst $d306204283819841$export$aa5307f1aca77413 = (0, $9ae3c26b3cc5ff2a$export$cbd9528a83fbffa1)([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $d306204283819841$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $d306204283819841$var$DARWIN_MISSING = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\"\n]);\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */ const $d306204283819841$var$UBUNTU_RC = new Map();\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */ // TODO change based on ubuntu version\nconst $d306204283819841$var$UBUNTU_SUFFIX_MAP = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $d306204283819841$var$MAX_UBUNTU = \"15.0.6\";\n//================================================\n// URL\n//================================================\n/** Gets a LLVM download URL for GitHub. */ function $d306204283819841$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $d306204283819841$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $d306204283819841$var$getDarwinUrl(version) {\n if ($d306204283819841$var$DARWIN_MISSING.has(version)) return null;\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\";\n const prefix = \"clang+llvm-\";\n const suffix = `-x86_64${darwin}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($kUX5G)))(version, \"9.0.1\")) return $d306204283819841$var$getReleaseUrl(version, prefix, suffix);\n else return $d306204283819841$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $d306204283819841$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $d306204283819841$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$d306204283819841$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $9ae3c26b3cc5ff2a$export$deb1064c8260c54c)($d306204283819841$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $d306204283819841$var$UBUNTU_SUFFIX_MAP) linuxVersion = $d306204283819841$var$UBUNTU_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $d306204283819841$var$UBUNTU_SUFFIX_MAP[$d306204283819841$var$MAX_UBUNTU];\n (0, $7Lz0k.warning)(`Falling back to LLVM version ${$d306204283819841$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($kUX5G)))(version, \"9.0.1\")) return $d306204283819841$var$getReleaseUrl(version, prefix, suffix);\n else return $d306204283819841$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $d306204283819841$var$getWin32Url(version) {\n if ($d306204283819841$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($kUX5G)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($kUX5G)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $d306204283819841$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $6f58ee7b2466571f$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $d306204283819841$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $d306204283819841$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $d306204283819841$var$getDarwinUrl(version);\n case \"linux\":\n return $d306204283819841$export$ae24f9682a44836b(version);\n case \"win32\":\n return $d306204283819841$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $d306204283819841$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $9ae3c26b3cc5ff2a$export$4e4d3581f69a6d71)($d306204283819841$export$aa5307f1aca77413, platform, version, $d306204283819841$export$94df0e59ebebf4a7);\n (0, $7Lz0k.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $eq4yW.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $334bd34d50e00f0e$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $334bd34d50e00f0e$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n }\n };\n}\n\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $8f0f3adb296a989f$var$$parcel$__dirname = $5KFgK$path.resolve(__dirname, \"../../src/llvm\");\nasync function $8f0f3adb296a989f$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $8f0f3adb296a989f$var$setupLLVMWithoutActivation(version, setupDir, arch);\n await $8f0f3adb296a989f$export$6238b5ebfd6640e7(installationInfo.installDir ?? setupDir, version);\n return installationInfo;\n}\nlet $8f0f3adb296a989f$var$installedDeps = false;\nasync function $8f0f3adb296a989f$var$setupLLVMWithoutActivation(version, setupDir, arch) {\n const installationInfoPromise = (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"llvm\", version, (0, $d306204283819841$export$f203993d12226a27), setupDir, arch);\n let depsPromise;\n if (!$8f0f3adb296a989f$var$installedDeps) {\n depsPromise = $8f0f3adb296a989f$var$setupLLVMDeps(arch, version);\n // eslint-disable-next-line require-atomic-updates\n $8f0f3adb296a989f$var$installedDeps = true;\n } else depsPromise = Promise.resolve();\n // install LLVM and its dependencies in parallel\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [installationInfo, _] = await Promise.all([\n installationInfoPromise,\n depsPromise\n ]);\n return installationInfo;\n}\nasync function $8f0f3adb296a989f$var$setupLLVMDeps(arch, version) {\n if (process.platform === \"linux\") {\n // install llvm build dependencies\n await (0, $c5bcc6df675a953c$export$405fab3de79b77b)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), \"\", arch) // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n ;\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n const majorVersion = parseInt(version.split(\".\")[0], 10);\n if (majorVersion <= 10) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n // TODO: install libtinfo on other distros\n // await setupPacmanPack(\"ncurses\")\n }\n}\nasync function $8f0f3adb296a989f$export$6238b5ebfd6640e7(directory, versionGiven) {\n const _version = (0, $9ae3c26b3cc5ff2a$export$afd7401db249098f)(versionGiven);\n const lib = (0, $eq4yW.join)(directory, \"lib\");\n const ld = process.env.LD_LIBRARY_PATH ?? \"\";\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\";\n const promises = [\n // the output of this action\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory),\n // Setup LLVM as the compiler\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${lib}${(0, $5KFgK$path.delimiter)}${ld}`),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${lib}${(0, $5KFgK$path.delimiter)}${dyld}`),\n // compiler flags\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n // compiler paths\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", (0, $eq4yW.addExeExt)(`${directory}/bin/clang`)),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", (0, $eq4yW.addExeExt)(`${directory}/bin/clang++`)),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`),\n // os sdks\n (0, $ce4a769f1296c7b8$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // const llvmMajor = semverMajor(version)\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) promises.push((0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cc\", `${directory}/bin/clang`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cxx\", `${directory}/bin/clang++`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"clang\", `${directory}/bin/clang`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"clang++\", `${directory}/bin/clang++`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"lld\", `${directory}/bin/lld`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"ld.lld\", `${directory}/bin/ld.lld`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"llvm-ar\", `${directory}/bin/llvm-ar`));\n if (0, $2W4C2.GITHUB_ACTIONS) await $8f0f3adb296a989f$var$addLLVMLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $8f0f3adb296a989f$export$814ccfc953503728(version, setupDir, arch) {\n if (0, $2W4C2.GITHUB_ACTIONS) await $8f0f3adb296a989f$var$addLLVMLoggingMatcher();\n return $8f0f3adb296a989f$var$setupLLVMWithoutActivation(version, setupDir, arch);\n}\nasync function $8f0f3adb296a989f$var$addLLVMLoggingMatcher() {\n const matcherPath = (0, $eq4yW.join)($8f0f3adb296a989f$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $bOuKS.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $4834294045c34ca1$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"make\", version);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\");\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"make\", version);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nfunction $c8bc36ae575cf199$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nvar $a6c2efc6065d1e81$export$3c7cae5a162b1458;\nvar $a6c2efc6065d1e81$export$704f0be24425353b;\nvar $a6c2efc6065d1e81$export$f49c12d2898d28cb;\nvar $a6c2efc6065d1e81$export$a6a3bfb882356813;\nvar $a6c2efc6065d1e81$export$443b8bb890f5027e;\nvar $b6f7f3c53101fad4$exports = {};\n\"use strict\";\nvar $b6f7f3c53101fad4$var$__awaiter = $b6f7f3c53101fad4$exports && $b6f7f3c53101fad4$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $b6f7f3c53101fad4$var$__importStar = $b6f7f3c53101fad4$exports && $b6f7f3c53101fad4$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty($b6f7f3c53101fad4$exports, \"__esModule\", {\n value: true\n});\nvar $4f8b2694b9971fdb$exports = {};\n\"use strict\";\nvar $4f8b2694b9971fdb$var$__importStar = $4f8b2694b9971fdb$exports && $4f8b2694b9971fdb$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty($4f8b2694b9971fdb$exports, \"__esModule\", {\n value: true\n});\n\nconst $4f8b2694b9971fdb$var$os = $4f8b2694b9971fdb$var$__importStar($5KFgK$os);\nvar $b44069a3205bf547$exports = {};\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty($b44069a3205bf547$exports, \"__esModule\", {\n value: true\n});\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $b44069a3205bf547$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\n$b44069a3205bf547$exports.toCommandValue = $b44069a3205bf547$var$toCommandValue;\n\n\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $4f8b2694b9971fdb$var$issueCommand(command, properties, message) {\n const cmd = new $4f8b2694b9971fdb$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $4f8b2694b9971fdb$var$os.EOL);\n}\n$4f8b2694b9971fdb$exports.issueCommand = $4f8b2694b9971fdb$var$issueCommand;\nfunction $4f8b2694b9971fdb$var$issue(name, message = \"\") {\n $4f8b2694b9971fdb$var$issueCommand(name, {}, message);\n}\n$4f8b2694b9971fdb$exports.issue = $4f8b2694b9971fdb$var$issue;\nconst $4f8b2694b9971fdb$var$CMD_STRING = \"::\";\nclass $4f8b2694b9971fdb$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $4f8b2694b9971fdb$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$4f8b2694b9971fdb$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$4f8b2694b9971fdb$var$CMD_STRING}${$4f8b2694b9971fdb$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $4f8b2694b9971fdb$var$escapeData(s) {\n return $b44069a3205bf547$exports.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $4f8b2694b9971fdb$var$escapeProperty(s) {\n return $b44069a3205bf547$exports.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n\nvar $c96004b5d312cc41$exports = {};\n\"use strict\";\n// For internal use, subject to change.\nvar $c96004b5d312cc41$var$__importStar = $c96004b5d312cc41$exports && $c96004b5d312cc41$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty($c96004b5d312cc41$exports, \"__esModule\", {\n value: true\n});\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $c96004b5d312cc41$var$fs = $c96004b5d312cc41$var$__importStar($5KFgK$fs);\n\nconst $c96004b5d312cc41$var$os = $c96004b5d312cc41$var$__importStar($5KFgK$os);\n\nfunction $c96004b5d312cc41$var$issueCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$c96004b5d312cc41$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $c96004b5d312cc41$var$fs.appendFileSync(filePath, `${$b44069a3205bf547$exports.toCommandValue(message)}${$c96004b5d312cc41$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\n$c96004b5d312cc41$exports.issueCommand = $c96004b5d312cc41$var$issueCommand;\n\n\n\n\nconst $b6f7f3c53101fad4$var$os = $b6f7f3c53101fad4$var$__importStar($5KFgK$os);\n\nconst $b6f7f3c53101fad4$var$path = $b6f7f3c53101fad4$var$__importStar($5KFgK$path);\n/**\n * The code to exit an action\n */ var $b6f7f3c53101fad4$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($b6f7f3c53101fad4$var$ExitCode = $b6f7f3c53101fad4$exports.ExitCode || ($b6f7f3c53101fad4$exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $b6f7f3c53101fad4$var$exportVariable(name, val) {\n const convertedVal = $b44069a3205bf547$exports.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) {\n const delimiter = \"_GitHubActionsFileCommandDelimeter_\";\n const commandValue = `${name}<<${delimiter}${$b6f7f3c53101fad4$var$os.EOL}${convertedVal}${$b6f7f3c53101fad4$var$os.EOL}${delimiter}`;\n $c96004b5d312cc41$exports.issueCommand(\"ENV\", commandValue);\n } else $4f8b2694b9971fdb$exports.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\n$b6f7f3c53101fad4$exports.exportVariable = $b6f7f3c53101fad4$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $b6f7f3c53101fad4$var$setSecret(secret) {\n $4f8b2694b9971fdb$exports.issueCommand(\"add-mask\", {}, secret);\n}\n$b6f7f3c53101fad4$exports.setSecret = $b6f7f3c53101fad4$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $b6f7f3c53101fad4$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $c96004b5d312cc41$exports.issueCommand(\"PATH\", inputPath);\n else $4f8b2694b9971fdb$exports.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$b6f7f3c53101fad4$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\n$b6f7f3c53101fad4$exports.addPath = $b6f7f3c53101fad4$var$addPath;\n/**\n * Gets the value of an input. The value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $b6f7f3c53101fad4$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n return val.trim();\n}\n$b6f7f3c53101fad4$exports.getInput = $b6f7f3c53101fad4$var$getInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $b6f7f3c53101fad4$var$setOutput(name, value) {\n $4f8b2694b9971fdb$exports.issueCommand(\"set-output\", {\n name: name\n }, value);\n}\n$b6f7f3c53101fad4$exports.setOutput = $b6f7f3c53101fad4$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $b6f7f3c53101fad4$var$setCommandEcho(enabled) {\n $4f8b2694b9971fdb$exports.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\n$b6f7f3c53101fad4$exports.setCommandEcho = $b6f7f3c53101fad4$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $b6f7f3c53101fad4$var$setFailed(message) {\n process.exitCode = $b6f7f3c53101fad4$var$ExitCode.Failure;\n $b6f7f3c53101fad4$var$error(message);\n}\n$b6f7f3c53101fad4$exports.setFailed = $b6f7f3c53101fad4$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $b6f7f3c53101fad4$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\n$b6f7f3c53101fad4$exports.isDebug = $b6f7f3c53101fad4$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $b6f7f3c53101fad4$var$debug(message) {\n $4f8b2694b9971fdb$exports.issueCommand(\"debug\", {}, message);\n}\n$b6f7f3c53101fad4$exports.debug = $b6f7f3c53101fad4$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n */ function $b6f7f3c53101fad4$var$error(message) {\n $4f8b2694b9971fdb$exports.issue(\"error\", message instanceof Error ? message.toString() : message);\n}\n$b6f7f3c53101fad4$exports.error = $b6f7f3c53101fad4$var$error;\n/**\n * Adds an warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n */ function $b6f7f3c53101fad4$var$warning(message) {\n $4f8b2694b9971fdb$exports.issue(\"warning\", message instanceof Error ? message.toString() : message);\n}\n$b6f7f3c53101fad4$exports.warning = $b6f7f3c53101fad4$var$warning;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $b6f7f3c53101fad4$var$info(message) {\n process.stdout.write(message + $b6f7f3c53101fad4$var$os.EOL);\n}\n$b6f7f3c53101fad4$exports.info = $b6f7f3c53101fad4$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $b6f7f3c53101fad4$var$startGroup(name) {\n $4f8b2694b9971fdb$exports.issue(\"group\", name);\n}\n$b6f7f3c53101fad4$exports.startGroup = $b6f7f3c53101fad4$var$startGroup;\n/**\n * End an output group.\n */ function $b6f7f3c53101fad4$var$endGroup() {\n $4f8b2694b9971fdb$exports.issue(\"endgroup\");\n}\n$b6f7f3c53101fad4$exports.endGroup = $b6f7f3c53101fad4$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $b6f7f3c53101fad4$var$group(name, fn) {\n return $b6f7f3c53101fad4$var$__awaiter(this, void 0, void 0, function*() {\n $b6f7f3c53101fad4$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $b6f7f3c53101fad4$var$endGroup();\n }\n return result;\n });\n}\n$b6f7f3c53101fad4$exports.group = $b6f7f3c53101fad4$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $b6f7f3c53101fad4$var$saveState(name, value) {\n $4f8b2694b9971fdb$exports.issueCommand(\"save-state\", {\n name: name\n }, value);\n}\n$b6f7f3c53101fad4$exports.saveState = $b6f7f3c53101fad4$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $b6f7f3c53101fad4$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\n$b6f7f3c53101fad4$exports.getState = $b6f7f3c53101fad4$var$getState;\n\n\n\n\n\n\nconst $a6c2efc6065d1e81$var$PROGRAM_FILES_X86 = $5KFgK$process.env[\"ProgramFiles(x86)\"];\nconst $a6c2efc6065d1e81$var$PROGRAM_FILES = [\n $5KFgK$process.env[\"ProgramFiles(x86)\"],\n $5KFgK$process.env[\"ProgramFiles\"]\n];\nconst $a6c2efc6065d1e81$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\"\n];\nconst $a6c2efc6065d1e81$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $a6c2efc6065d1e81$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\nfunction $a6c2efc6065d1e81$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($a6c2efc6065d1e81$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $a6c2efc6065d1e81$var$VsYearVersion) return $a6c2efc6065d1e81$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$a6c2efc6065d1e81$export$3c7cae5a162b1458 = $a6c2efc6065d1e81$var$vsversion_to_versionnumber;\nfunction $a6c2efc6065d1e81$var$vsversion_to_year(vsversion) {\n if (Object.keys($a6c2efc6065d1e81$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($a6c2efc6065d1e81$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$a6c2efc6065d1e81$export$704f0be24425353b = $a6c2efc6065d1e81$var$vsversion_to_year;\nconst $a6c2efc6065d1e81$var$VSWHERE_PATH = `${$a6c2efc6065d1e81$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\nfunction $a6c2efc6065d1e81$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $5KFgK$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $b6f7f3c53101fad4$exports.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$a6c2efc6065d1e81$export$f49c12d2898d28cb = $a6c2efc6065d1e81$var$findWithVswhere;\nfunction $a6c2efc6065d1e81$var$findVcvarsall(vsversion) {\n const vsversion_number = $a6c2efc6065d1e81$var$vsversion_to_versionnumber(vsversion);\n let version_pattern;\n if (vsversion_number) {\n const upper_bound = vsversion_number.split(\".\")[0] + \".9\";\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`;\n } else version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $a6c2efc6065d1e81$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $5KFgK$fs.existsSync(path)) {\n $b6f7f3c53101fad4$exports.info(`Found with vswhere: ${path}`);\n return path;\n }\n $b6f7f3c53101fad4$exports.info(\"Not found with vswhere\");\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [\n $a6c2efc6065d1e81$var$vsversion_to_year(vsversion)\n ] : $a6c2efc6065d1e81$var$YEARS;\n for (const prog_files of $a6c2efc6065d1e81$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $a6c2efc6065d1e81$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $b6f7f3c53101fad4$exports.info(`Trying standard location: ${path}`);\n if ($5KFgK$fs.existsSync(path)) {\n $b6f7f3c53101fad4$exports.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $b6f7f3c53101fad4$exports.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$a6c2efc6065d1e81$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($5KFgK$fs.existsSync(path)) {\n $b6f7f3c53101fad4$exports.info(`Found VS 2015: ${path}`);\n return path;\n }\n $b6f7f3c53101fad4$exports.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$a6c2efc6065d1e81$export$a6a3bfb882356813 = $a6c2efc6065d1e81$var$findVcvarsall;\nfunction $a6c2efc6065d1e81$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $a6c2efc6065d1e81$var$filterPathValue(path) {\n let paths = path.split(\";\");\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index;\n }\n return paths.filter(unique).join(\";\");\n}\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */ function $a6c2efc6065d1e81$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($5KFgK$process.platform != \"win32\") {\n $b6f7f3c53101fad4$exports.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $5KFgK$process.env.PATH += $5KFgK$path.delimiter + $a6c2efc6065d1e81$var$VSWHERE_PATH;\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\"\n };\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) arch = arch_aliases[arch.toLowerCase()];\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n var args = [\n arch\n ];\n if (uwp == \"true\") args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre == \"true\") args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$a6c2efc6065d1e81$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $b6f7f3c53101fad4$exports.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $5KFgK$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\n const old_environment = cmd_output_parts[0].split(\"\\r\\n\");\n const vcvars_output = cmd_output_parts[1].split(\"\\r\\n\");\n const new_environment = cmd_output_parts[2].split(\"\\r\\n\");\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line)=>{\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\n\"));\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {};\n for (let string of old_environment){\n const [name, value] = string.split(\"=\");\n old_env_vars[name] = value;\n }\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n $b6f7f3c53101fad4$exports.startGroup(\"Environment variables\");\n for (let string of new_environment){\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes(\"=\")) continue;\n let [name, new_value] = string.split(\"=\");\n let old_value = old_env_vars[name];\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n $b6f7f3c53101fad4$exports.info(`Setting ${name}`);\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if ($a6c2efc6065d1e81$var$isPathVariable(name)) new_value = $a6c2efc6065d1e81$var$filterPathValue(new_value);\n $b6f7f3c53101fad4$exports.exportVariable(name, new_value);\n }\n }\n $b6f7f3c53101fad4$exports.endGroup();\n $b6f7f3c53101fad4$exports.info(`Configured Developer Command Prompt`);\n}\n$a6c2efc6065d1e81$export$443b8bb890f5027e = $a6c2efc6065d1e81$var$setupMSVCDevCmd;\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\nfunction $763bab32b32a381b$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $763bab32b32a381b$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $bOuKS.pathExists)(VCTargetsPath)) {\n (0, $7Lz0k.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath);\n }\n (0, $a6c2efc6065d1e81$export$443b8bb890f5027e)($763bab32b32a381b$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $f1e9ac818bcfac2d$var$$parcel$__dirname = $5KFgK$path.resolve(__dirname, \"../../src/msvc\");\nasync function $f1e9ac818bcfac2d$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $a6c2efc6065d1e81$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $7Lz0k.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $a6c2efc6065d1e81$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $7Lz0k.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"visualstudio2017buildtools\", \"15.9.41.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"visualstudio2019buildtools\", \"16.11.7.0\", []);\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\";\n } else if (version === \"17.0\") {\n toolset = undefined;\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $7Lz0k.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $7Lz0k.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $763bab32b32a381b$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $2W4C2.GITHUB_ACTIONS) await $f1e9ac818bcfac2d$var$addMSVCLoggingMatcher();\n}\nasync function $f1e9ac818bcfac2d$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $eq4yW.join)($f1e9ac818bcfac2d$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $bOuKS.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\nlet $47b09d5394f60110$var$binDir;\nasync function $47b09d5394f60110$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $47b09d5394f60110$var$binDir === \"string\") return {\n binDir: $47b09d5394f60110$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $47b09d5394f60110$var$binDir = (0, $eq4yW.dirname)(maybeBinDir);\n return {\n binDir: $47b09d5394f60110$var$binDir\n };\n }\n // https://github.com/volitank/nala#-installation\n const keyFileName = await (0, $c28d8ebe1e034757$export$7fb1a688af1305f0)(\"volian-archive-scar-unstable.gpg\", \"https://deb.volian.org/volian/scar.key\");\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`\n ]);\n try {\n if (version !== \"legacy\") await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $47b09d5394f60110$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $47b09d5394f60110$var$binDir\n };\n}\n\n\n\n\n\nasync function $e745c5614c81a652$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $e745c5614c81a652$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $e745c5614c81a652$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $f1a805d41b18128f$export$1ff6ad96ee130aba(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"powershell\", version, [\n \"--cask\"\n ]);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"curl\");\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"/bin/bash\", [\n \"-c\",\n `curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo`\n ]);\n return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"powershell\", version);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $82e3c690a2b766d9$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"packages-microsoft-prod.deb\"\n ]);\n // TODO Debian\n // const keyFileName = await addAptKeyViaDownload(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\nfunction $ba1fb1dd270764ec$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"sccache\", version);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n/** Get the platform name task uses in their download links */ function $8f33b7bb6ec530f2$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $8f33b7bb6ec530f2$var$getTaskArch(arch) {\n switch(arch){\n case \"x64\":\n return \"amd64\";\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\";\n default:\n return arch;\n }\n}\n/** Get the platform data for task */ function $8f33b7bb6ec530f2$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $8f33b7bb6ec530f2$var$getTaskPlatform(platform);\n const taskArch = $8f33b7bb6ec530f2$var$getTaskArch(arch);\n const isZip = platform === \"win32\";\n const extension = isZip ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eq4yW.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? (0, $334bd34d50e00f0e$export$6411c5cbab21135b) : (0, $334bd34d50e00f0e$export$2ab07ac150064014),\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $8f33b7bb6ec530f2$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"task\", version, $8f33b7bb6ec530f2$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\n\n\n\n\n\nlet $e224676da2c495f0$var$hasVCPKG = false;\nasync function $e224676da2c495f0$export$490bdba4ef3e3f82(_version, setupDir, _arch) {\n if (!$e224676da2c495f0$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"curl\");\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"zip\");\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"unzip\");\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"tar\");\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"git\");\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)(\"pkg-config\");\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n if (!await (0, $bOuKS.pathExists)((0, $eq4yW.join)(setupDir, (0, $eq4yW.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $3842d3f8db9a4507$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $eq4yW.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $7Lz0k.notice)(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`);\n (0, $3842d3f8db9a4507$export$28823a701bb5a12d)((0, $eq4yW.addShExt)((0, $eq4yW.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n (0, $e5f7accf26e93c4e$export$f9a3d10eb7c735af)(setupDir);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(setupDir);\n // eslint-disable-next-line require-atomic-updates\n $e224676da2c495f0$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $eq4yW.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\n\nasync function $890def45768c5f86$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages) {\n (0, $i5trn.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $763bab32b32a381b$export$5dcf571c91fc8369)((0, $83fde521434ac405$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else {\n // get the setup function\n const setupFunction = $890def45768c5f86$export$18a3521ac7306af4[tool];\n hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $eq4yW.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction((0, $83fde521434ac405$export$c506eb22e615ba4a)(tool, version, osVersion), setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(tool, installationInfo));\n } catch (e) {\n // push error message to the logger\n (0, $7Lz0k.error)(e);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $i5trn.endGroup)();\n return hasLLVM;\n} /** The setup functions */ \nconst $890def45768c5f86$export$18a3521ac7306af4 = {\n nala: (0, $47b09d5394f60110$export$d73cbe8caeff03c5),\n cmake: (0, $24ae2ed334e3fc9e$export$c28663a621f418ce),\n ninja: (0, $b31f931d02d7e6cb$export$e6190f4bfe2ef71),\n python: (0, $29e5d8652dc51d70$export$2b0b68e9df3d4a02),\n vcpkg: (0, $e224676da2c495f0$export$490bdba4ef3e3f82),\n bazel: (0, $a40e1fc0f7d6a0ef$export$a66bc93580b0a849),\n conan: (0, $ae75412612fe2e3e$export$249d0c7d779d362f),\n meson: (0, $c8bc36ae575cf199$export$f73905553f087748),\n gcovr: (0, $719e7985de30e2f2$export$b98d69f362caf61f),\n opencppcoverage: (0, $e745c5614c81a652$export$6aa28a97600a8ae3),\n llvm: (0, $8f0f3adb296a989f$export$3016de7ae9d14988),\n gcc: (0, $c5bcc6df675a953c$export$405fab3de79b77b),\n choco: (0, $9ccbddfd63a1d0a8$export$b804d731cdad7ef9),\n brew: (0, $7eeef95f58db9236$export$c5eeb9c87a610a0e),\n powershell: (0, $f1a805d41b18128f$export$1ff6ad96ee130aba),\n ccache: (0, $4e9e6c219ffcdbbf$export$111263621bbb0768),\n sccache: (0, $ba1fb1dd270764ec$export$b963b67cda80fdc),\n doxygen: (0, $c3138813a2f84b86$export$b6e6613a954051ee),\n graphviz: (0, $77fafcb29b09e6e7$export$b885bd977caaafb9),\n cppcheck: (0, $e662e72f87137a41$export$13d77464c548b5d3),\n clangtidy: (0, $8f0f3adb296a989f$export$814ccfc953503728),\n clangformat: (0, $8f0f3adb296a989f$export$814ccfc953503728),\n msvc: (0, $f1e9ac818bcfac2d$export$a91ef0362c1a7298),\n vcvarsall: (0, $763bab32b32a381b$export$5dcf571c91fc8369),\n kcov: (0, $a36cf804c947131a$export$abb7c2ff987b1f6b),\n make: (0, $4834294045c34ca1$export$b0a9411329e2916),\n task: (0, $8f33b7bb6ec530f2$export$4456b3a3d3540077),\n sevenzip: (0, $cbfc9bdff29968e3$export$5fc39629e14c8173)\n};\nconst $890def45768c5f86$export$904054328df186b = Object.keys($890def45768c5f86$export$18a3521ac7306af4);\nconst $890def45768c5f86$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n ...$890def45768c5f86$export$904054328df186b\n];\n\n\nfunction $3b3c42f0437fd719$export$7300a92932ee17a3(args) {\n return (0, $63fe5c2be456b1fb$export$2e2bcd8739ae039)(args, {\n string: (0, $890def45768c5f86$export$7b388ca536128c6d),\n default: Object.fromEntries((0, $890def45768c5f86$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $3b3c42f0437fd719$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $3b3c42f0437fd719$export$f57ebcae4da846e4() {\n (0, $7Lz0k.info)(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\\t the <compiler> to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n\n--$tool_name\\t pass \"true\" or pass the <version> you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`);\n console.table({\n \"compiler and analyzer\": {\n tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat`\n },\n \"build system\": {\n tools: `--cmake, --ninja, --meson, --make, --task, --bazel`\n },\n \"package manager\": {\n tools: `--vcpkg, --conan, --choco, --brew, --nala`\n },\n cache: {\n tools: `--cppcache, --sccache`\n },\n documentation: {\n tools: `--doxygen, --graphviz`\n },\n coverage: {\n tools: `--gcovr, --opencppcoverage, --kcov`\n },\n other: {\n tools: `--python, --powershell, --sevenzip`\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $3b3c42f0437fd719$export$fc4ce4d885cb1082(key) {\n const value = (0, $i5trn.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $3b3c42f0437fd719$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `✅ ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nvar $2lp21 = parcelRequire(\"2lp21\");\n\n\n\n\n\n\n\nfunction $bae5373454ac0a67$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2lp21)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $7Lz0k.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $bae5373454ac0a67$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $bae5373454ac0a67$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $i5trn.startGroup)(`Installing ${compiler} ${version ?? \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $8f0f3adb296a989f$export$3016de7ae9d14988)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $5KFgK$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $719e7985de30e2f2$export$2a0488baf2a20c0f)();\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = (0, $83fde521434ac405$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = await (0, $c5bcc6df675a953c$export$405fab3de79b77b)(gccVersion, (0, $5KFgK$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n await (0, $719e7985de30e2f2$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"gcc\", installationInfo));\n break;\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\":\n {\n const installationInfo = await (0, $f1e9ac818bcfac2d$export$a91ef0362c1a7298)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $5KFgK$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $i5trn.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", \"clang\"),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\")\n ]);\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $7Lz0k.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $i5trn.endGroup)();\n}\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $d7f2dd685904cea0$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $2W4C2.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $657b8b52854b1b18$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $3b3c42f0437fd719$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $3b3c42f0437fd719$export$f57ebcae4da846e4)();\n // cpu architecture\n const arch = opts.architecture ?? process.arch;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\"\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $971ea907f1c0ad0f$exports.create({\n autoloadLocales: true\n });\n $971ea907f1c0ad0f$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($4e91dcc66796d8e4$exports))));\n $b9BRc.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($121280b2d8e92425$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $83fde521434ac405$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $7Lz0k.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $7Lz0k.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n for (const tool of (0, $890def45768c5f86$export$904054328df186b)){\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $890def45768c5f86$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages);\n time2 = Date.now();\n (0, $7Lz0k.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $bae5373454ac0a67$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $7Lz0k.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n await (0, $2f24a8df2529dc1c$export$ca46151966bee7ba)();\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $7Lz0k.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n successMessages.forEach((tool)=>(0, $7Lz0k.success)(tool));\n errorMessages.forEach((tool)=>(0, $7Lz0k.error)(tool));\n (0, $7Lz0k.info)(\"setup-cpp finished\");\n if (!(0, $2W4C2.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $7Lz0k.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $7Lz0k.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$d7f2dd685904cea0$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $7Lz0k.error)(\"main() panicked!\");\n (0, $7Lz0k.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI\",\n \"pr\": \"SYSTEM_PULLREQUEST_PULLREQUESTID\"\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Shippable\",\n \"constant\": \"SHIPPABLE\",\n \"env\": \"SHIPPABLE\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Solano CI\",\n \"constant\": \"SOLANO\",\n \"env\": \"TDDIUM\",\n \"pr\": \"TDDIUM_PR_ID\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n }\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return GITHUB_ACTIONS ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,null,null,null,null,"import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;",null,null,null,null,null,null,"module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n",null,null,null,null,null,null,"(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH } = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_SAFE_COMPONENT_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '\\\\d+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\n}\nmodule.exports = parseOptions\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","const SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\n .split('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${this.raw}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0) {\n this.set = [first]\n } else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = memoOpts + ':' + range\n const cached = cache.get(memoKey)\n if (cached) {\n return cached\n }\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range)\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n let rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\n\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp\n .split(/\\s+/)\n .map((c) => replaceXRange(c, options))\n .join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<') {\n pr = '-0'\n }\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return `${from} ${to}`.trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin))) {\n minver = setMin\n }\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst { ANY } = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2, options)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let first = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max) {\n ranges.push(min)\n } else if (!max && min === v[0]) {\n ranges.push('*')\n } else if (!max) {\n ranges.push(`>=${min}`)\n } else if (min === v[0]) {\n ranges.push(`<=${max}`)\n } else {\n ranges.push(`${min} - ${max}`)\n }\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom) {\n return true\n }\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub) {\n continue OUTER\n }\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull) {\n return false\n }\n }\n return true\n}\n\nconst minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY) {\n return true\n } else if (options.includePrerelease) {\n sub = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\n }\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=') {\n gt = higherGT(gt, c, options)\n } else if (c.operator === '<' || c.operator === '<=') {\n lt = lowerLT(lt, c, options)\n } else {\n eqSet.add(c.semver)\n }\n }\n\n if (eqSet.size > 1) {\n return null\n }\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0) {\n return null\n } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {\n return null\n }\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options)) {\n return null\n }\n\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt) {\n return false\n }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt) {\n return false\n }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0) {\n return false\n }\n\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre) {\n return false\n }\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a) {\n return b\n }\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"import { basename, extname } from \"path\"\n\n/**\n * Get the name of the given file path.\n *\n * By default the file extension is included in the returned name. To remove the extension, set the second parameter to `false`.\n *\n * @example\n *\n * ```js\n * import { name } from \"patha\"\n *\n * name(\"path/to/file.md\") // gives \"file.md\"\n *\n * name(\"path/to/file.md\", false) // gives \"file\"\n * ```\n *\n * @param path The given file path\n * @param includeExtension If the name should include the file extension as well\n * @returns The base name without the extension\n */\nexport function name(path: string, includeExtension: boolean = true) {\n if (includeExtension) {\n return basename(path)\n } else {\n return basename(path, extname(path))\n }\n}\n","import { normalize, sep } from \"path\"\nimport escapeRegexp from \"escape-string-regexp\"\n\n/**\n * Normalizes the path and removes the trailing slashes.\n *\n * @example\n *\n * ```js\n * import { normalize, normalizeTrim } from \"patha\"\n *\n * normalizeTrim(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf\"\n *\n * normalize(\"/foo/bar//baz/asdf/hello/../\") // gives \"/foo/bar/baz/asdf/\"\n * ```\n *\n * @param path The given file path\n * @returns The normalized and trimmed file path\n */\nexport function normalizeTrim(path: string) {\n return normalize(path).replace(new RegExp(`${escapeRegexp(sep)}$`), \"\")\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @example\n *\n * ```js\n * import { addExeExt } from \"patha\"\n *\n * addExeExt(\"path/to/file-name\") // gives \"path/to/file-name.exe\" on Windows and \"path/to/file-name\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext Defaults to `.exe` on Windows\n * @param other_ext Defaults to `\"\"` On other platforms.\n */\nexport function addExeExt(name: string, win_ext = \".exe\", other_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a prefix to the start of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNamePrefix } from \"patha\"\n *\n * addNamePrefix(\"path/to/file-name.ext\", \"new-\") // gives \"path/to/new-file-name.ext\"\n * ```\n *\n * @param path The given file path\n * @param prefix The prefix to add to the start of the file name\n * @returns The path with a prefix added to its file name\n */\nexport function addNamePrefix(path: string, prefix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name prefix\n const NameWithPrefix = `${prefix}${nameWithoutExt}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithPrefix)\n}\n","import { basename, dirname, extname, join } from \"path\"\n\n/**\n * Adds a suffix to the end of the name of the given path\n *\n * @example\n *\n * ```js\n * import { addNameSuffix } from \"patha\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \"-old\") // gives \"path/to/file-name-old.ext\"\n *\n * addNameSuffix(\"path/to/file-name.ext\", \".test\") // gives \"path/to/file-name.test.ext\"\n * ```\n *\n * @param path The given file path\n * @param suffix The suffix to add to the end of the file name\n * @returns The path with a suffix added to its file name\n */\nexport function addNameSuffix(path: string, suffix: string) {\n // get the extension and the file name\n const ext = extname(path)\n const nameWithoutExt = basename(path, ext)\n\n // add the name suffix\n const NameWithSuffix = `${nameWithoutExt}${suffix}${ext}`\n\n // add the dirname back\n return join(dirname(path), NameWithSuffix)\n}\n","/**\n * Add a native shell extension to the given name.\n *\n * @example\n *\n * ```js\n * import { addShExt } from \"patha\"\n *\n * addShExt(\"path/to/file-name\") // gives \"path/to/file-name.cmd\" on Windows and \"path/to/file-name.sh\" on others\n *\n * addShExt(\"path/to/file-name\", \".bat\") // gives \"path/to/file-name.bat\" on Windows and \"path/to/file-name.sh\" on others\n * ```\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.cmd` on Windows\n * @param other_ext `.sh` On others.\n * @returns The file path with the shell extension added\n */\nexport function addShExt(name: string, win_ext = \".cmd\", other_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${other_ext}`\n}\n","/**\n * Prefix a `./` for unix shell and nothing for `cmd`.\n *\n * @example\n *\n * ```js\n * import { addShRelativePrefix } from \"patha\"\n *\n * addShRelativePrefix(\"some/file-name\") // gives \"some/file-name\" on Windows and \"./some/file-name\" on others.\n * ```\n *\n * @param path The given path\n * @returns The path with `./` added on Unix\n */\nexport function addShRelativePrefix(path: string) {\n if (process.platform === \"win32\") {\n return path\n }\n return `./${path}`\n}\n","import { extname } from \"path\"\n\n/**\n * Remove a path's extension.\n *\n * @example\n *\n * ```js\n * import { removeExt } from \"patha\"\n *\n * removeExt(\"some/dir/file.ext\") // gives \"some/dir/file\"\n * ```\n *\n * @param path The given path\n * @returns The path without its file extension\n */\nexport function removeExt(path: string) {\n const extensionLength = extname(path).length\n return path.slice(0, -extensionLength)\n}\n","import replaceExtOrig from \"replace-ext\"\n\n/**\n * Replaces the extension from path with extension and returns the updated path string.\n *\n * Does not replace the extension if path is not a string or is empty.\n *\n * @example\n *\n * ```js\n * import { replaceExt } from \"patha\"\n *\n * replaceExt(\"path/to/file.md\", \".html\") // gives \"path/to/file.html\"\n * ```\n *\n * @param path The given path\n * @param extension The extension to replace\n */\nexport function replaceExt(path: string, extension: string) {\n // TODO replaceExt should not change `/` to `\\\\` on Windows\n return replaceExtOrig(path, extension)\n}\n","import { relative, resolve, sep } from \"path\"\n\n/**\n * Check if a path is inside another path.\n *\n * Note that relative paths are resolved against `process.cwd()` to make them absolute.\n *\n * This function does not check if the paths exist and it only works with strings.\n *\n * @example\n *\n * ```js\n * import { isPathInside } from \"patha\"\n *\n * isPathInside(\"a/b/c\", \"a/b\")\n * //=> true\n *\n * isPathInside(\"a/b/c\", \"x/y\")\n * //=> false\n *\n * isPathInside(\"a/b/c\", \"a/b/c\")\n * //=> false\n *\n * isPathInside(\"/Users/some/dev/aa\", \"/Users/some\")\n * //=> true\n * ```\n */\nexport function isPathInside(childPath: string, parentPath: string): boolean {\n // copied from is-path-inside because the package uses node:path that can't be bundled for the browser\n\n const relation = relative(parentPath, childPath)\n\n return Boolean(relation && relation !== \"..\" && !relation.startsWith(`..${sep}`) && relation !== resolve(childPath))\n}\n","export default function escapeStringRegexp(string) {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when it’s always valid, and a `\\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n}\n","'use strict';\n\nvar path = require('path');\n\nfunction replaceExt(npath, ext) {\n if (typeof npath !== 'string') {\n return npath;\n }\n\n if (npath.length === 0) {\n return npath;\n }\n\n var nFileName = path.basename(npath, path.extname(npath)) + ext;\n var nFilepath = path.join(path.dirname(npath), nFileName);\n\n // Because `path.join` removes the head './' from the given path.\n // This removal can cause a problem when passing the result to `require` or\n // `import`.\n if (startsWithSingleDot(npath)) {\n return '.' + path.sep + nFilepath;\n }\n\n return nFilepath;\n}\n\nfunction startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === '.' + path.sep || first2chars === './';\n}\n\nmodule.exports = replaceExt;\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n 'SIGABRT',\n 'SIGALRM',\n 'SIGHUP',\n 'SIGINT',\n 'SIGTERM'\n]\n\nif (process.platform !== 'win32') {\n module.exports.push(\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n module.exports.push(\n 'SIGIO',\n 'SIGPOLL',\n 'SIGPWR',\n 'SIGSTKFLT',\n 'SIGUNUSED'\n )\n}\n","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '[0-9]+'\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.MAINVERSIONLOOSE] = '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')'\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[t.NUMERICIDENTIFIERLOOSE] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = '[0-9A-Za-z-]+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.BUILD] = '(?:\\\\+(' + src[t.BUILDIDENTIFIER] +\n '(?:\\\\.' + src[t.BUILDIDENTIFIER] + ')*))'\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.FULL] = '^' + src[t.FULLPLAIN] + '$'\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.GTLT] = '((?:<|>)?=?)'\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.COERCE] = '(^|[^\\\\d])' +\n '(\\\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' +\n '(?:\\\\.(\\\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' +\n '(?:\\\\.(\\\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' +\n '(?:$|[^\\\\d])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.COMPARATOR] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.FULLPLAIN] + ')$|^$'\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nvar comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n if (version.length > MAX_LENGTH) {\n return null\n }\n\n var r = options.loose ? re[t.LOOSE] : re[t.FULL]\n if (!r.test(version)) {\n return null\n }\n\n try {\n return new SemVer(version, options)\n } catch (er) {\n return null\n }\n}\n\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError('Invalid Version: ' + version)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError('Invalid Version: ' + version)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n}\n\nSemVer.prototype.format = function () {\n this.version = this.major + '.' + this.minor + '.' + this.patch\n if (this.prerelease.length) {\n this.version += '-' + this.prerelease.join('.')\n }\n return this.version\n}\n\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n var i = 0\n do {\n var a = this.prerelease[i]\n var b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n}\n\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n}\n\n// preminor will bump the version up to the next minor release, and immediately\n// down to pre-release. premajor and prepatch work the same way.\nSemVer.prototype.inc = function (release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier)\n this.inc('pre', identifier)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier)\n }\n this.inc('pre', identifier)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 \"pre\" would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0) {\n this.prerelease = [0]\n } else {\n var i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n this.prerelease.push(0)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = [identifier, 0]\n }\n } else {\n this.prerelease = [identifier, 0]\n }\n }\n break\n\n default:\n throw new Error('invalid increment argument: ' + release)\n }\n this.format()\n this.raw = this.version\n return this\n}\n\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return prefix + key\n }\n }\n }\n return defaultResult // may be undefined\n }\n}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError('Invalid operator: ' + op)\n }\n}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n}\n\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n var m = comp.match(r)\n\n if (!m) {\n throw new TypeError('Invalid comparator: ' + comp)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n}\n\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n}\n\nComparator.prototype.intersects = function (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First, split based on boolean or ||\n this.raw = range\n this.set = range.split(/\\s*\\|\\|\\s*/).map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + range)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n range = range.trim()\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, re[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ')\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n var compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nfunction parseComparator (comp, options) {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0'\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction replaceStars (comp, options) {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[t.STAR], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = '>=' + fM + '.0.0'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (var i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n}\n\nfunction testSet (set, version, options) {\n for (var i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n\nexports.satisfies = satisfies\nfunction satisfies (version, range, options) {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (v) {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (v) {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!minver || gt(minver, compver)) {\n minver = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error('Unexpected operation: ' + comparator.operator)\n }\n })\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction validRange (range, options) {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (comparator) {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction coerce (version, options) {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n var match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n var next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n",null,null,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.72afcb6d.js\"))).then(() => parcelRequire('8MXq9'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates\"\nimport { parseArgs, printHelp } from \"./cli-options\"\nimport { installCompiler } from \"./compilers\"\nimport { installTool, tools } from \"./tool\"\nimport { finalizeCpprc } from \"./utils/env/addEnv\"\nimport { isArch } from \"./utils/env/isArch\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack\"\nimport { syncVersions } from \"./versions/versions\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise<number> {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildifyUser(\"\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\n\n if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n for (const tool of tools) {\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages)\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n\n await finalizeCpprc()\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup-cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n info(\"setup-cpp finished\")\n\n if (!GITHUB_ACTIONS) {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\n await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\n\n// Run main\nmain(process.argv)\n .then((ret) => {\n process.exitCode = ret\n })\n .catch((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"admina\"\n\nexport function untildifyUser(path: string) {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER, path)\n } else {\n return join(\"/home/\", process.env.SUDO_USER, path)\n }\n } else {\n return untildify(`~/${path}`)\n }\n}\n","'use strict';\nconst os = require('os');\n\nconst homeDirectory = os.homedir();\n\nmodule.exports = pathWithTilde => {\n\tif (typeof pathWithTilde !== 'string') {\n\t\tthrow new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n\t}\n\n\treturn homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, homeDirectory) : pathWithTilde;\n};\n",null,"var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\nconst {constants: BufferConstants} = require('buffer');\nconst stream = require('stream');\nconst {promisify} = require('util');\nconst bufferStream = require('./buffer-stream');\n\nconst streamPipelinePromisified = promisify(stream.pipeline);\n\nclass MaxBufferError extends Error {\n\tconstructor() {\n\t\tsuper('maxBuffer exceeded');\n\t\tthis.name = 'MaxBufferError';\n\t}\n}\n\nasync function getStream(inputStream, options) {\n\tif (!inputStream) {\n\t\tthrow new Error('Expected a stream');\n\t}\n\n\toptions = {\n\t\tmaxBuffer: Infinity,\n\t\t...options\n\t};\n\n\tconst {maxBuffer} = options;\n\tconst stream = bufferStream(options);\n\n\tawait new Promise((resolve, reject) => {\n\t\tconst rejectPromise = error => {\n\t\t\t// Don't retrieve an oversized buffer.\n\t\t\tif (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n\t\t\t\terror.bufferedData = stream.getBufferedValue();\n\t\t\t}\n\n\t\t\treject(error);\n\t\t};\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tawait streamPipelinePromisified(inputStream, stream);\n\t\t\t\tresolve();\n\t\t\t} catch (error) {\n\t\t\t\trejectPromise(error);\n\t\t\t}\n\t\t})();\n\n\t\tstream.on('data', () => {\n\t\t\tif (stream.getBufferedLength() > maxBuffer) {\n\t\t\t\trejectPromise(new MaxBufferError());\n\t\t\t}\n\t\t});\n\t});\n\n\treturn stream.getBufferedValue();\n}\n\nmodule.exports = getStream;\nmodule.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});\nmodule.exports.array = (stream, options) => getStream(stream, {...options, array: true});\nmodule.exports.MaxBufferError = MaxBufferError;\n","import which from \"which\"\nimport execa from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\n): execa.ExecaSyncReturnValue<string> {\n if (isSudo()) {\n return execa.commandSync(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.sync(program, args, execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: execa.Options = { stdio: \"inherit\", shell: true }\n): execa.ExecaChildProcess<string> {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa(program, args, execOptions)\n }\n}\n","import { default as isAdminWindowsOrig } from \"./is-admin\"\nimport { isRoot } from \"./root\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n 'SIGABRT',\n 'SIGALRM',\n 'SIGHUP',\n 'SIGINT',\n 'SIGTERM'\n]\n\nif (process.platform !== 'win32') {\n module.exports.push(\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n module.exports.push(\n 'SIGIO',\n 'SIGPOLL',\n 'SIGPWR',\n 'SIGSTKFLT',\n 'SIGUNUSED'\n )\n}\n","const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n","'use strict';\n\nmodule.exports = input => {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\treturn input;\n};\n","'use strict';\nconst path = require('path');\nconst pathKey = require('path-key');\n\nconst npmRunPath = options => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\tpath: process.env[pathKey()],\n\t\texecPath: process.execPath,\n\t\t...options\n\t};\n\n\tlet previous;\n\tlet cwdPath = path.resolve(options.cwd);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used\n\tconst execPathDir = path.resolve(options.cwd, options.execPath, '..');\n\tresult.push(execPathDir);\n\n\treturn result.concat(options.path).join(path.delimiter);\n};\n\nmodule.exports = npmRunPath;\n// TODO: Remove this for the next major release\nmodule.exports.default = npmRunPath;\n\nmodule.exports.env = options => {\n\toptions = {\n\t\tenv: process.env,\n\t\t...options\n\t};\n\n\tconst env = {...options.env};\n\tconst path = pathKey({env});\n\n\toptions.path = env[path];\n\tenv[path] = module.exports(options);\n\n\treturn env;\n};\n","'use strict';\n\nconst mimicFn = (to, from) => {\n\tfor (const prop of Reflect.ownKeys(from)) {\n\t\tObject.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n\t}\n\n\treturn to;\n};\n\nmodule.exports = mimicFn;\n// TODO: Remove this for the next major release\nmodule.exports.default = mimicFn;\n","'use strict';\nconst mimicFn = require('mimic-fn');\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '<anonymous>';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFn(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nmodule.exports = onetime;\n// TODO: Remove this for the next major release\nmodule.exports.default = onetime;\n\nmodule.exports.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n","import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\n\n const { name, description, supported, action, forced, standard } = signal\n return {\n [number]: {\n name,\n number,\n description,\n supported,\n action,\n forced,\n standard,\n },\n }\n}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n","import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n","/* eslint-disable max-lines */\n// List of known process signals with information about them\nexport const SIGNALS = [\n {\n name: 'SIGHUP',\n number: 1,\n action: 'terminate',\n description: 'Terminal closed',\n standard: 'posix',\n },\n {\n name: 'SIGINT',\n number: 2,\n action: 'terminate',\n description: 'User interruption with CTRL-C',\n standard: 'ansi',\n },\n {\n name: 'SIGQUIT',\n number: 3,\n action: 'core',\n description: 'User interruption with CTRL-\\\\',\n standard: 'posix',\n },\n {\n name: 'SIGILL',\n number: 4,\n action: 'core',\n description: 'Invalid machine instruction',\n standard: 'ansi',\n },\n {\n name: 'SIGTRAP',\n number: 5,\n action: 'core',\n description: 'Debugger breakpoint',\n standard: 'posix',\n },\n {\n name: 'SIGABRT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'ansi',\n },\n {\n name: 'SIGIOT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'bsd',\n },\n {\n name: 'SIGBUS',\n number: 7,\n action: 'core',\n description:\n 'Bus error due to misaligned, non-existing address or paging error',\n standard: 'bsd',\n },\n {\n name: 'SIGEMT',\n number: 7,\n action: 'terminate',\n description: 'Command should be emulated but is not implemented',\n standard: 'other',\n },\n {\n name: 'SIGFPE',\n number: 8,\n action: 'core',\n description: 'Floating point arithmetic error',\n standard: 'ansi',\n },\n {\n name: 'SIGKILL',\n number: 9,\n action: 'terminate',\n description: 'Forced termination',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGUSR1',\n number: 10,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGSEGV',\n number: 11,\n action: 'core',\n description: 'Segmentation fault',\n standard: 'ansi',\n },\n {\n name: 'SIGUSR2',\n number: 12,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGPIPE',\n number: 13,\n action: 'terminate',\n description: 'Broken pipe or socket',\n standard: 'posix',\n },\n {\n name: 'SIGALRM',\n number: 14,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'posix',\n },\n {\n name: 'SIGTERM',\n number: 15,\n action: 'terminate',\n description: 'Termination',\n standard: 'ansi',\n },\n {\n name: 'SIGSTKFLT',\n number: 16,\n action: 'terminate',\n description: 'Stack is empty or overflowed',\n standard: 'other',\n },\n {\n name: 'SIGCHLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'posix',\n },\n {\n name: 'SIGCLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'other',\n },\n {\n name: 'SIGCONT',\n number: 18,\n action: 'unpause',\n description: 'Unpaused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGSTOP',\n number: 19,\n action: 'pause',\n description: 'Paused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGTSTP',\n number: 20,\n action: 'pause',\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: 'posix',\n },\n {\n name: 'SIGTTIN',\n number: 21,\n action: 'pause',\n description: 'Background process cannot read terminal input',\n standard: 'posix',\n },\n {\n name: 'SIGBREAK',\n number: 21,\n action: 'terminate',\n description: 'User interruption with CTRL-BREAK',\n standard: 'other',\n },\n {\n name: 'SIGTTOU',\n number: 22,\n action: 'pause',\n description: 'Background process cannot write to terminal output',\n standard: 'posix',\n },\n {\n name: 'SIGURG',\n number: 23,\n action: 'ignore',\n description: 'Socket received out-of-band data',\n standard: 'bsd',\n },\n {\n name: 'SIGXCPU',\n number: 24,\n action: 'core',\n description: 'Process timed out',\n standard: 'bsd',\n },\n {\n name: 'SIGXFSZ',\n number: 25,\n action: 'core',\n description: 'File too big',\n standard: 'bsd',\n },\n {\n name: 'SIGVTALRM',\n number: 26,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGPROF',\n number: 27,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGWINCH',\n number: 28,\n action: 'ignore',\n description: 'Terminal window size changed',\n standard: 'bsd',\n },\n {\n name: 'SIGIO',\n number: 29,\n action: 'terminate',\n description: 'I/O is available',\n standard: 'other',\n },\n {\n name: 'SIGPOLL',\n number: 29,\n action: 'terminate',\n description: 'Watched event',\n standard: 'other',\n },\n {\n name: 'SIGINFO',\n number: 29,\n action: 'ignore',\n description: 'Request for process information',\n standard: 'other',\n },\n {\n name: 'SIGPWR',\n number: 30,\n action: 'terminate',\n description: 'Device running out of power',\n standard: 'systemv',\n },\n {\n name: 'SIGSYS',\n number: 31,\n action: 'core',\n description: 'Invalid system call',\n standard: 'other',\n },\n {\n name: 'SIGUNUSED',\n number: 31,\n action: 'terminate',\n description: 'Invalid system call',\n standard: 'other',\n },\n]\n/* eslint-enable max-lines */\n","// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: SIGRTMIN + index,\n action: 'terminate',\n description: 'Application-specific signal (realtime)',\n standard: 'posix',\n }\n}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n","'use strict';\nconst {signalsByName} = require('human-signals');\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nconst makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}}\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n\nmodule.exports = makeError;\n","'use strict';\nconst aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nconst normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\nmodule.exports = normalizeStdio;\n\n// `ipc` is pushed unless it is already present\nmodule.exports.node = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { <signal>: <listener fn>, ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","'use strict';\nconst os = require('os');\nconst onExit = require('signal-exit');\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => {\n\treturn isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\n\nconst isSigterm = signal => {\n\treturn signal === os.constants.signals.SIGTERM ||\n\t\t(typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n};\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nconst spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nconst setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nconst validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nconst setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n\nmodule.exports = {\n\tspawnedKill,\n\tspawnedCancel,\n\tsetupTimeout,\n\tvalidateTimeout,\n\tsetExitHandler\n};\n","'use strict';\nconst path = require('path');\nconst childProcess = require('child_process');\nconst crossSpawn = require('cross-spawn');\nconst stripFinalNewline = require('strip-final-newline');\nconst npmRunPath = require('npm-run-path');\nconst onetime = require('onetime');\nconst makeError = require('./lib/error');\nconst normalizeStdio = require('./lib/stdio');\nconst {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} = require('./lib/kill');\nconst {handleInput, getSpawnedResult, makeAllStream, validateInputSync} = require('./lib/stream');\nconst {mergePromise, getSpawnedPromise} = require('./lib/promise');\nconst {joinCommand, parseCommand, getEscapedCommand} = require('./lib/command');\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPath.env({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\t...options\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nconst execa = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t}));\n\t\treturn mergePromise(dummySpawned, errorPromise);\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled,\n\t\t\t\tkilled: spawned.killed\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options.input);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\treturn mergePromise(spawned, handlePromiseOnce);\n};\n\nmodule.exports = execa;\n\nmodule.exports.sync = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false\n\t};\n};\n\nmodule.exports.command = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n};\n\nmodule.exports.commandSync = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa.sync(file, args, options);\n};\n\nmodule.exports.node = (scriptPath, args, options = {}) => {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdio.node(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : [])\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false\n\t\t}\n\t);\n};\n","'use strict';\n\nconst isStream = stream =>\n\tstream !== null &&\n\ttypeof stream === 'object' &&\n\ttypeof stream.pipe === 'function';\n\nisStream.writable = stream =>\n\tisStream(stream) &&\n\tstream.writable !== false &&\n\ttypeof stream._write === 'function' &&\n\ttypeof stream._writableState === 'object';\n\nisStream.readable = stream =>\n\tisStream(stream) &&\n\tstream.readable !== false &&\n\ttypeof stream._read === 'function' &&\n\ttypeof stream._readableState === 'object';\n\nisStream.duplex = stream =>\n\tisStream.writable(stream) &&\n\tisStream.readable(stream);\n\nisStream.transform = stream =>\n\tisStream.duplex(stream) &&\n\ttypeof stream._transform === 'function';\n\nmodule.exports = isStream;\n","'use strict';\nconst {PassThrough: PassThroughStream} = require('stream');\n\nmodule.exports = options => {\n\toptions = {...options};\n\n\tconst {array} = options;\n\tlet {encoding} = options;\n\tconst isBuffer = encoding === 'buffer';\n\tlet objectMode = false;\n\n\tif (array) {\n\t\tobjectMode = !(encoding || isBuffer);\n\t} else {\n\t\tencoding = encoding || 'utf8';\n\t}\n\n\tif (isBuffer) {\n\t\tencoding = null;\n\t}\n\n\tconst stream = new PassThroughStream({objectMode});\n\n\tif (encoding) {\n\t\tstream.setEncoding(encoding);\n\t}\n\n\tlet length = 0;\n\tconst chunks = [];\n\n\tstream.on('data', chunk => {\n\t\tchunks.push(chunk);\n\n\t\tif (objectMode) {\n\t\t\tlength = chunks.length;\n\t\t} else {\n\t\t\tlength += chunk.length;\n\t\t}\n\t});\n\n\tstream.getBufferedValue = () => {\n\t\tif (array) {\n\t\t\treturn chunks;\n\t\t}\n\n\t\treturn isBuffer ? Buffer.concat(chunks, length) : chunks.join('');\n\t};\n\n\tstream.getBufferedLength = () => length;\n\n\treturn stream;\n};\n","'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n","'use strict';\nconst isStream = require('is-stream');\nconst getStream = require('get-stream');\nconst mergeStream = require('merge-stream');\n\n// `input` option\nconst handleInput = (spawned, input) => {\n\t// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n\t// @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n\tif (input === undefined || spawned.stdin === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nconst makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\tif (!stream) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise)\n\t\t]);\n\t}\n};\n\nconst validateInputSync = ({input}) => {\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n};\n\nmodule.exports = {\n\thandleInput,\n\tmakeAllStream,\n\tgetSpawnedResult,\n\tvalidateInputSync\n};\n\n","'use strict';\n\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property)\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nconst mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function' ?\n\t\t\t(...args) => Reflect.apply(descriptor.value, promise(), args) :\n\t\t\tdescriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n\n\treturn spawned;\n};\n\n// Use promises instead of `child_process` events\nconst getSpawnedPromise = spawned => {\n\treturn new Promise((resolve, reject) => {\n\t\tspawned.on('exit', (exitCode, signal) => {\n\t\t\tresolve({exitCode, signal});\n\t\t});\n\n\t\tspawned.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\n\t\tif (spawned.stdin) {\n\t\t\tspawned.stdin.on('error', error => {\n\t\t\t\treject(error);\n\t\t\t});\n\t\t}\n\t});\n};\n\nmodule.exports = {\n\tmergePromise,\n\tgetSpawnedPromise\n};\n\n","'use strict';\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nconst joinCommand = (file, args) => {\n\treturn normalizeArgs(file, args).join(' ');\n};\n\nconst getEscapedCommand = (file, args) => {\n\treturn normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n};\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execa.command()`\nconst parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nmodule.exports = {\n\tjoinCommand,\n\tgetEscapedCommand,\n\tparseCommand\n};\n","// From `is-admin`: changed `node:proces` with `process` so that the code works on Deno and Node 12\n\n// cspell:disable\n\nimport process from \"process\"\nimport execa from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.30.0\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { Inputs, inputs } from \"./tool\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri<Record<Inputs, string | undefined> & { help: boolean }>(args, {\n string: inputs,\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function printHelp() {\n info(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\\t the <compiler> to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'\n\n--$tool_name\\t pass \"true\" or pass the <version> you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },\n \"build system\": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },\n \"package manager\": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },\n cache: { tools: `--cppcache, --sccache` },\n documentation: { tools: `--doxygen, --graphviz` },\n coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },\n other: { tools: `--python, --powershell, --sevenzip` },\n },\n [\"tools\"]\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record<Inputs, string | undefined> & {\n help: boolean\n }\n>\n\nexport function getSuccessMessage(tool: string, installationInfo: InstallationInfo | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport { join } from \"patha\"\nimport { setupBazel } from \"./bazel/bazel\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { setupCmake } from \"./cmake/cmake\"\nimport { setupConan } from \"./conan/conan\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck\"\nimport { setupDoxygen } from \"./doxygen/doxygen\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { setupClangTools, setupLLVM } from \"./llvm/llvm\"\nimport { setupMake } from \"./make/make\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPowershell } from \"./powershell/powershell\"\nimport { setupPython } from \"./python/python\"\nimport { setupSccache } from \"./sccache/sccache\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupTask } from \"./task/task\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { getVersion } from \"./versions/versions\"\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[]\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"llvm\" : tool)\n\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction(getVersion(tool, version, osVersion), setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n return hasLLVM\n} /** The setup functions */\n\nexport const setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n powershell: setupPowershell,\n ccache: setupCcache,\n sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangTools,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n/** The tools that can be installed */\n\nexport const tools = Object.keys(setups) as Array<ToolName>\n/** The possible inputs to the program */\n\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\"\n/** an array of possible inputs */\n\nexport const inputs: Array<Inputs> = [\"compiler\", \"architecture\", ...tools]\n","import { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return setupBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n setupDnfPack(\"dnf-plugins-core\", undefined)\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack(\"bazel4\", undefined)\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaDownload(\n \"bazel-archive-keyring.gpg\",\n \"https://bazel.build/bazel-release.pub.gpg\"\n )\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return setupAptPack([{ name: \"bazel\", version }], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRoot, execRootSync } from \"admina\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport which from \"which\"\nimport { pathExists } from \"path-exists\"\nimport { promises as fsPromises } from \"fs\"\nconst { appendFile } = fsPromises\nimport { execa } from \"execa\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { warning, info } from \"ci-log\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\nexport type AptPackage = {\n name: string\n version?: string\n repositories?: string[]\n}\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(packages: AptPackage[], update = false): Promise<InstallationInfo> {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\n\n process.env.DEBIAN_FRONTEND = \"noninteractive\"\n\n if (!didUpdate || update) {\n updateRepos(apt)\n didUpdate = true\n }\n\n if (!didInit) {\n await initApt(apt)\n didInit = true\n }\n\n const allRepositories = [...new Set(packages.flatMap((pack) => pack.repositories ?? []))]\n\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"-y\", repo])\n }\n\n updateRepos(apt)\n }\n\n const aptArgs = await Promise.all(packages.map((pack) => getAptArg(pack.name, pack.version)))\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getAptArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ])\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n try {\n // check if apt-get show can find the version\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`])\n if (showStdout.trim() === \"\") {\n return `${name}=${version}`\n }\n } catch {\n // ignore\n }\n warning(`Failed to install ${name} ${version} via apt, trying without version`)\n }\n }\n return name\n}\n\nfunction getApt() {\n let apt: string\n if (which.sync(\"nala\", { nothrow: true }) !== null) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n\nfunction updateRepos(apt: string) {\n execRootSync(apt, apt !== \"nala\" ? [\"update\", \"-y\"] : [\"update\"])\n}\n\n/** Install apt utils and certificates (usually missing from docker containers) */\nasync function initApt(apt: string) {\n execRootSync(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\",\n ])\n const promises: Promise<string | void>[] = [\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\"),\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\"),\n ]\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push(addEnv(\"LANG\", \"C.UTF-8\"), addEnv(\"LC_ALL\", \"C.UTF-8\"))\n }\n await Promise.all(promises)\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport async function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n\n await Promise.all(\n keys.map(async (key) => {\n await execRoot(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n await execRoot(\"chmod\", [\"644\", fileName])\n })\n )\n }\n return fileName\n } catch (err) {\n warning(`Failed to add apt key via server ${server}: ${err}`)\n return undefined\n }\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n await setupAptPack([{ name: \"curl\" }], undefined)\n execRootSync(\"bash\", [\"-c\", `curl -s ${url} | gpg --no-default-keyring --keyring gnupg-ring:${fileName} --import`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport async function updateAptAlternatives(name: string, path: string) {\n if (GITHUB_ACTIONS) {\n return execRoot(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n await setupCppInProfile()\n return appendFile(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`\n )\n }\n}\n",null,"import which from \"which\"\nimport execa from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\n): execa.ExecaSyncReturnValue<string> {\n if (isSudo()) {\n return execa.commandSync(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.sync(program, args, execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: execa.Options = { stdio: \"inherit\", shell: true }\n): execa.ExecaChildProcess<string> {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa(program, args, execOptions)\n }\n}\n","import { default as isAdminWindowsOrig } from \"./is-admin\"\nimport { isRoot } from \"./root\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n","// From `is-admin`: removed `node:proces` so that the code works on Deno and Node 12\n\n// cspell:disable\n\nimport execa from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n","const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","'use strict';\nconst path = require('path');\nconst childProcess = require('child_process');\nconst crossSpawn = require('cross-spawn');\nconst stripFinalNewline = require('strip-final-newline');\nconst npmRunPath = require('npm-run-path');\nconst onetime = require('onetime');\nconst makeError = require('./lib/error');\nconst normalizeStdio = require('./lib/stdio');\nconst {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} = require('./lib/kill');\nconst {handleInput, getSpawnedResult, makeAllStream, validateInputSync} = require('./lib/stream');\nconst {mergePromise, getSpawnedPromise} = require('./lib/promise');\nconst {joinCommand, parseCommand, getEscapedCommand} = require('./lib/command');\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPath.env({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\t...options\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nconst execa = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t}));\n\t\treturn mergePromise(dummySpawned, errorPromise);\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled,\n\t\t\t\tkilled: spawned.killed\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options.input);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\treturn mergePromise(spawned, handlePromiseOnce);\n};\n\nmodule.exports = execa;\n\nmodule.exports.sync = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false\n\t};\n};\n\nmodule.exports.command = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n};\n\nmodule.exports.commandSync = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa.sync(file, args, options);\n};\n\nmodule.exports.node = (scriptPath, args, options = {}) => {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdio.node(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : [])\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false\n\t\t}\n\t);\n};\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","'use strict';\n\nmodule.exports = input => {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\treturn input;\n};\n","'use strict';\nconst path = require('path');\nconst pathKey = require('path-key');\n\nconst npmRunPath = options => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\tpath: process.env[pathKey()],\n\t\texecPath: process.execPath,\n\t\t...options\n\t};\n\n\tlet previous;\n\tlet cwdPath = path.resolve(options.cwd);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used\n\tconst execPathDir = path.resolve(options.cwd, options.execPath, '..');\n\tresult.push(execPathDir);\n\n\treturn result.concat(options.path).join(path.delimiter);\n};\n\nmodule.exports = npmRunPath;\n// TODO: Remove this for the next major release\nmodule.exports.default = npmRunPath;\n\nmodule.exports.env = options => {\n\toptions = {\n\t\tenv: process.env,\n\t\t...options\n\t};\n\n\tconst env = {...options.env};\n\tconst path = pathKey({env});\n\n\toptions.path = env[path];\n\tenv[path] = module.exports(options);\n\n\treturn env;\n};\n","'use strict';\nconst mimicFn = require('mimic-fn');\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '<anonymous>';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFn(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nmodule.exports = onetime;\n// TODO: Remove this for the next major release\nmodule.exports.default = onetime;\n\nmodule.exports.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n","'use strict';\n\nconst mimicFn = (to, from) => {\n\tfor (const prop of Reflect.ownKeys(from)) {\n\t\tObject.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n\t}\n\n\treturn to;\n};\n\nmodule.exports = mimicFn;\n// TODO: Remove this for the next major release\nmodule.exports.default = mimicFn;\n","'use strict';\nconst {signalsByName} = require('human-signals');\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nconst makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}}\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n\nmodule.exports = makeError;\n",null,"import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\n\n const { name, description, supported, action, forced, standard } = signal\n return {\n [number]: {\n name,\n number,\n description,\n supported,\n action,\n forced,\n standard,\n },\n }\n}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n",null,"import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n",null,"/* eslint-disable max-lines */\n// List of known process signals with information about them\nexport const SIGNALS = [\n {\n name: 'SIGHUP',\n number: 1,\n action: 'terminate',\n description: 'Terminal closed',\n standard: 'posix',\n },\n {\n name: 'SIGINT',\n number: 2,\n action: 'terminate',\n description: 'User interruption with CTRL-C',\n standard: 'ansi',\n },\n {\n name: 'SIGQUIT',\n number: 3,\n action: 'core',\n description: 'User interruption with CTRL-\\\\',\n standard: 'posix',\n },\n {\n name: 'SIGILL',\n number: 4,\n action: 'core',\n description: 'Invalid machine instruction',\n standard: 'ansi',\n },\n {\n name: 'SIGTRAP',\n number: 5,\n action: 'core',\n description: 'Debugger breakpoint',\n standard: 'posix',\n },\n {\n name: 'SIGABRT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'ansi',\n },\n {\n name: 'SIGIOT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'bsd',\n },\n {\n name: 'SIGBUS',\n number: 7,\n action: 'core',\n description:\n 'Bus error due to misaligned, non-existing address or paging error',\n standard: 'bsd',\n },\n {\n name: 'SIGEMT',\n number: 7,\n action: 'terminate',\n description: 'Command should be emulated but is not implemented',\n standard: 'other',\n },\n {\n name: 'SIGFPE',\n number: 8,\n action: 'core',\n description: 'Floating point arithmetic error',\n standard: 'ansi',\n },\n {\n name: 'SIGKILL',\n number: 9,\n action: 'terminate',\n description: 'Forced termination',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGUSR1',\n number: 10,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGSEGV',\n number: 11,\n action: 'core',\n description: 'Segmentation fault',\n standard: 'ansi',\n },\n {\n name: 'SIGUSR2',\n number: 12,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGPIPE',\n number: 13,\n action: 'terminate',\n description: 'Broken pipe or socket',\n standard: 'posix',\n },\n {\n name: 'SIGALRM',\n number: 14,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'posix',\n },\n {\n name: 'SIGTERM',\n number: 15,\n action: 'terminate',\n description: 'Termination',\n standard: 'ansi',\n },\n {\n name: 'SIGSTKFLT',\n number: 16,\n action: 'terminate',\n description: 'Stack is empty or overflowed',\n standard: 'other',\n },\n {\n name: 'SIGCHLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'posix',\n },\n {\n name: 'SIGCLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'other',\n },\n {\n name: 'SIGCONT',\n number: 18,\n action: 'unpause',\n description: 'Unpaused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGSTOP',\n number: 19,\n action: 'pause',\n description: 'Paused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGTSTP',\n number: 20,\n action: 'pause',\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: 'posix',\n },\n {\n name: 'SIGTTIN',\n number: 21,\n action: 'pause',\n description: 'Background process cannot read terminal input',\n standard: 'posix',\n },\n {\n name: 'SIGBREAK',\n number: 21,\n action: 'terminate',\n description: 'User interruption with CTRL-BREAK',\n standard: 'other',\n },\n {\n name: 'SIGTTOU',\n number: 22,\n action: 'pause',\n description: 'Background process cannot write to terminal output',\n standard: 'posix',\n },\n {\n name: 'SIGURG',\n number: 23,\n action: 'ignore',\n description: 'Socket received out-of-band data',\n standard: 'bsd',\n },\n {\n name: 'SIGXCPU',\n number: 24,\n action: 'core',\n description: 'Process timed out',\n standard: 'bsd',\n },\n {\n name: 'SIGXFSZ',\n number: 25,\n action: 'core',\n description: 'File too big',\n standard: 'bsd',\n },\n {\n name: 'SIGVTALRM',\n number: 26,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGPROF',\n number: 27,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGWINCH',\n number: 28,\n action: 'ignore',\n description: 'Terminal window size changed',\n standard: 'bsd',\n },\n {\n name: 'SIGIO',\n number: 29,\n action: 'terminate',\n description: 'I/O is available',\n standard: 'other',\n },\n {\n name: 'SIGPOLL',\n number: 29,\n action: 'terminate',\n description: 'Watched event',\n standard: 'other',\n },\n {\n name: 'SIGINFO',\n number: 29,\n action: 'ignore',\n description: 'Request for process information',\n standard: 'other',\n },\n {\n name: 'SIGPWR',\n number: 30,\n action: 'terminate',\n description: 'Device running out of power',\n standard: 'systemv',\n },\n {\n name: 'SIGSYS',\n number: 31,\n action: 'core',\n description: 'Invalid system call',\n standard: 'other',\n },\n {\n name: 'SIGUNUSED',\n number: 31,\n action: 'terminate',\n description: 'Invalid system call',\n standard: 'other',\n },\n]\n/* eslint-enable max-lines */\n",null,"// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: SIGRTMIN + index,\n action: 'terminate',\n description: 'Application-specific signal (realtime)',\n standard: 'posix',\n }\n}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n","'use strict';\nconst aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nconst normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\nmodule.exports = normalizeStdio;\n\n// `ipc` is pushed unless it is already present\nmodule.exports.node = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","'use strict';\nconst os = require('os');\nconst onExit = require('signal-exit');\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => {\n\treturn isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\n\nconst isSigterm = signal => {\n\treturn signal === os.constants.signals.SIGTERM ||\n\t\t(typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n};\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nconst spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nconst setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nconst validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nconst setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n\nmodule.exports = {\n\tspawnedKill,\n\tspawnedCancel,\n\tsetupTimeout,\n\tvalidateTimeout,\n\tsetExitHandler\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { <signal>: <listener fn>, ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","'use strict';\nconst isStream = require('is-stream');\nconst getStream = require('get-stream');\nconst mergeStream = require('merge-stream');\n\n// `input` option\nconst handleInput = (spawned, input) => {\n\t// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n\t// @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n\tif (input === undefined || spawned.stdin === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nconst makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\tif (!stream) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise)\n\t\t]);\n\t}\n};\n\nconst validateInputSync = ({input}) => {\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n};\n\nmodule.exports = {\n\thandleInput,\n\tmakeAllStream,\n\tgetSpawnedResult,\n\tvalidateInputSync\n};\n\n","'use strict';\n\nconst isStream = stream =>\n\tstream !== null &&\n\ttypeof stream === 'object' &&\n\ttypeof stream.pipe === 'function';\n\nisStream.writable = stream =>\n\tisStream(stream) &&\n\tstream.writable !== false &&\n\ttypeof stream._write === 'function' &&\n\ttypeof stream._writableState === 'object';\n\nisStream.readable = stream =>\n\tisStream(stream) &&\n\tstream.readable !== false &&\n\ttypeof stream._read === 'function' &&\n\ttypeof stream._readableState === 'object';\n\nisStream.duplex = stream =>\n\tisStream.writable(stream) &&\n\tisStream.readable(stream);\n\nisStream.transform = stream =>\n\tisStream.duplex(stream) &&\n\ttypeof stream._transform === 'function';\n\nmodule.exports = isStream;\n","'use strict';\nconst {constants: BufferConstants} = require('buffer');\nconst stream = require('stream');\nconst {promisify} = require('util');\nconst bufferStream = require('./buffer-stream');\n\nconst streamPipelinePromisified = promisify(stream.pipeline);\n\nclass MaxBufferError extends Error {\n\tconstructor() {\n\t\tsuper('maxBuffer exceeded');\n\t\tthis.name = 'MaxBufferError';\n\t}\n}\n\nasync function getStream(inputStream, options) {\n\tif (!inputStream) {\n\t\tthrow new Error('Expected a stream');\n\t}\n\n\toptions = {\n\t\tmaxBuffer: Infinity,\n\t\t...options\n\t};\n\n\tconst {maxBuffer} = options;\n\tconst stream = bufferStream(options);\n\n\tawait new Promise((resolve, reject) => {\n\t\tconst rejectPromise = error => {\n\t\t\t// Don't retrieve an oversized buffer.\n\t\t\tif (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n\t\t\t\terror.bufferedData = stream.getBufferedValue();\n\t\t\t}\n\n\t\t\treject(error);\n\t\t};\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tawait streamPipelinePromisified(inputStream, stream);\n\t\t\t\tresolve();\n\t\t\t} catch (error) {\n\t\t\t\trejectPromise(error);\n\t\t\t}\n\t\t})();\n\n\t\tstream.on('data', () => {\n\t\t\tif (stream.getBufferedLength() > maxBuffer) {\n\t\t\t\trejectPromise(new MaxBufferError());\n\t\t\t}\n\t\t});\n\t});\n\n\treturn stream.getBufferedValue();\n}\n\nmodule.exports = getStream;\nmodule.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});\nmodule.exports.array = (stream, options) => getStream(stream, {...options, array: true});\nmodule.exports.MaxBufferError = MaxBufferError;\n","'use strict';\nconst {PassThrough: PassThroughStream} = require('stream');\n\nmodule.exports = options => {\n\toptions = {...options};\n\n\tconst {array} = options;\n\tlet {encoding} = options;\n\tconst isBuffer = encoding === 'buffer';\n\tlet objectMode = false;\n\n\tif (array) {\n\t\tobjectMode = !(encoding || isBuffer);\n\t} else {\n\t\tencoding = encoding || 'utf8';\n\t}\n\n\tif (isBuffer) {\n\t\tencoding = null;\n\t}\n\n\tconst stream = new PassThroughStream({objectMode});\n\n\tif (encoding) {\n\t\tstream.setEncoding(encoding);\n\t}\n\n\tlet length = 0;\n\tconst chunks = [];\n\n\tstream.on('data', chunk => {\n\t\tchunks.push(chunk);\n\n\t\tif (objectMode) {\n\t\t\tlength = chunks.length;\n\t\t} else {\n\t\t\tlength += chunk.length;\n\t\t}\n\t});\n\n\tstream.getBufferedValue = () => {\n\t\tif (array) {\n\t\t\treturn chunks;\n\t\t}\n\n\t\treturn isBuffer ? Buffer.concat(chunks, length) : chunks.join('');\n\t};\n\n\tstream.getBufferedLength = () => length;\n\n\treturn stream;\n};\n","'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n","'use strict';\n\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property)\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nconst mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function' ?\n\t\t\t(...args) => Reflect.apply(descriptor.value, promise(), args) :\n\t\t\tdescriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n\n\treturn spawned;\n};\n\n// Use promises instead of `child_process` events\nconst getSpawnedPromise = spawned => {\n\treturn new Promise((resolve, reject) => {\n\t\tspawned.on('exit', (exitCode, signal) => {\n\t\t\tresolve({exitCode, signal});\n\t\t});\n\n\t\tspawned.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\n\t\tif (spawned.stdin) {\n\t\t\tspawned.stdin.on('error', error => {\n\t\t\t\treject(error);\n\t\t\t});\n\t\t}\n\t});\n};\n\nmodule.exports = {\n\tmergePromise,\n\tgetSpawnedPromise\n};\n\n","'use strict';\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nconst joinCommand = (file, args) => {\n\treturn normalizeArgs(file, args).join(' ');\n};\n\nconst getEscapedCommand = (file, args) => {\n\treturn normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n};\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execa.command()`\nconst parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nmodule.exports = {\n\tjoinCommand,\n\tgetEscapedCommand,\n\tparseCommand\n};\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, readFileSync, writeFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\nimport { giveUserAccess } from \"user-access\"\nimport escapeQuote from \"escape-quotes\"\nimport { pathExists } from \"path-exists\"\n\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) {\n const val = escapeString(valGiven ?? \"\", shouldEscapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val)\n }\n } else {\n await addEnvSystem(name, val)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\nfunction escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, '\"', \"\\\\\")\n}\n\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addPath(path: string) {\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (GITHUB_ACTIONS) {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path)\n }\n } else {\n await addPathSystem(path)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nexport const cpprc_path = untildifyUser(\".cpprc\")\n\nasync function addEnvSystem(name: string, valGiven: string | undefined) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n\nasync function addPathSystem(path: string) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${cpprc_path}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\n/* eslint-disable require-atomic-updates */\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport async function setupCppInProfile() {\n if (setupCppInProfile_called) {\n return\n }\n\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\"\n\n if (await pathExists(cpprc_path)) {\n const cpprc_content = readFileSync(cpprc_path, \"utf8\")\n if (cpprc_content.includes(source_cpprc_str)) {\n // already executed setupCppInProfile\n return\n }\n }\n\n appendFileSync(cpprc_path, `\\n${source_cpprc_str}\\n`)\n info(`Added ${source_cpprc_str} to ${cpprc_path}`)\n\n // source cpprc in bashrc/profile\n\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${cpprc_path}\" ]]; then source \"${cpprc_path}\"; fi\\n`\n\n try {\n // source cpprc in .profile\n const profile_path = untildifyUser(\".profile\")\n appendFileSync(profile_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${profile_path}`)\n\n // source cpprc in .bashrc too\n const bashrc_path = untildifyUser(\".bashrc\")\n appendFileSync(bashrc_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${bashrc_path}`)\n } catch (err) {\n warning(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n\n setupCppInProfile_called = true\n}\n\nexport async function finalizeCpprc() {\n if (await pathExists(cpprc_path)) {\n const entries = readFileSync(cpprc_path, \"utf-8\").split(\"\\n\")\n\n const unique_entries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n writeFileSync(cpprc_path, unique_entries.join(\"\\n\"))\n\n try {\n giveUserAccess(cpprc_path)\n } catch {\n // ignore\n }\n }\n}\n","import * as execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" }\n): execa.ExecaChildProcess<string> {\n return execa.execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" }\n): execa.ExecaSyncReturnValue<string> {\n return execa.execaSync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPathEnv({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\tverbose: verboseDefault,\n\t\t...options,\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t}));\n\t\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n\t\t\t\tkilled: spawned.killed,\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null,\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false,\n\t};\n}\n\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(scriptPath, args, options = {}) {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdioNode(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv,\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : []),\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false,\n\t\t},\n\t);\n}\n","export default function stripFinalNewline(input) {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport url from 'node:url';\nimport pathKey from 'path-key';\n\nexport function npmRunPath(options = {}) {\n\tconst {\n\t\tcwd = process.cwd(),\n\t\tpath: path_ = process.env[pathKey()],\n\t\texecPath = process.execPath,\n\t} = options;\n\n\tlet previous;\n\tconst cwdString = cwd instanceof URL ? url.fileURLToPath(cwd) : cwd;\n\tlet cwdPath = path.resolve(cwdString);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used.\n\tresult.push(path.resolve(cwdString, execPath, '..'));\n\n\treturn [...result, path_].join(path.delimiter);\n}\n\nexport function npmRunPathEnv({env = process.env, ...options} = {}) {\n\tenv = {...env};\n\n\tconst path = pathKey({env});\n\toptions.path = env[path];\n\tenv[path] = npmRunPath(options);\n\n\treturn env;\n}\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from 'mimic-fn';\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '<anonymous>';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import {signalsByName} from 'human-signals';\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nexport const makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}},\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nexport const spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nexport const setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nexport const validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nexport const setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nexport const makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nexport const getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise),\n\t\t]);\n\t}\n};\n","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property),\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nexport const mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function'\n\t\t\t? (...args) => Reflect.apply(descriptor.value, promise(), args)\n\t\t\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","import { isSudo, execRootSync } from \"admina\"\nimport { statSync } from \"fs\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport function giveUserAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = statSync(path).isDirectory()\n execRootSync(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], {\n cwd: path,\n stdio: \"inherit\",\n shell: true,\n })\n }\n}\n","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","const isexe = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\n}) => {\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).reduce((acc, item) => {\n acc.push(item)\n acc.push(item.toLowerCase())\n return acc\n }, [])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexe.sync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport { execaSync } from \"execa\"\nimport { join } from \"patha\"\nimport which from \"which\"\nimport { getBrewPath, setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport async function setupBrewPack(\n name: string,\n version?: string,\n extraArgs: string[] = []\n): Promise<InstallationInfo> {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n const binDir = getBrewPath()\n\n // brew is not thread-safe\n execaSync(\n join(binDir, \"brew\"),\n [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs],\n {\n stdio: \"inherit\",\n }\n )\n\n return { binDir }\n}\n","import { execaSync } from \"execa\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { tmpdir } from \"os\"\nimport path, { join } from \"path\"\nimport { mkdirP } from \"@actions/io\"\nimport { readFileSync } from \"fs\"\nimport { addPath } from \"../utils/env/addEnv\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBrew(_version: string, _setupDir: string, _arch: string) {\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // brew is not thread-safe\n const brewTempDirectory = path.join(tmpdir(), \"setup-cpp\", \"brew\")\n await mkdirP(brewTempDirectory)\n\n execaSync(\"curl\", [\"-LJO\", \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"], {\n cwd: brewTempDirectory,\n })\n const installSh = join(brewTempDirectory, \"install.sh\")\n\n if (process.platform === \"linux\") {\n const installShContent = readFileSync(installSh, \"utf-8\")\n\n installShContent.replace(\"#!/bin/bash\", \"\")\n }\n\n execaSync(\"/bin/bash\", [installSh], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n binDir = getBrewPath()\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport function getBrewPath() {\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { addPath } from \"../env/addEnv\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { execaSync } from \"execa\"\nimport { info } from \"@actions/core\"\nimport { notice } from \"ci-log\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise<InstallationInfo> {\n info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n delete env.TMP\n delete env.TEMP\n delete env.Path\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n notice(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir)\n\n return { binDir }\n}\n","/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\n\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise<InstallationInfo | undefined> {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execaSync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" }\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n\n if (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\n\n// let didUpdate: boolean = false\n\n/** A function that installs a package using dnf */\nexport function setupDnfPack(name: string, version?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n\n const dnf = \"dnf\"\n\n // if (!didUpdate) {\n // execRootSync(dnf, [\"-y\", \"check-update\"])\n // didUpdate = true\n // }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(dnf, [\"-y\", \"install\", `${name}-${version}`])\n } catch (err) {\n warning(`${(err as Error).toString()}\\nInstalling the default version available via dnf`)\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n } else {\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise<InstallationInfo> {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit) {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\n}\n","import { extractTar } from \"@actions/tool-cache\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractZip } from \"../utils/setup/extract\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n",null,null,null,null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { info } from \"ci-log\"\n\nimport { tmpdir } from \"os\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The main binary file. */\n binFileName: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: {\n (file: string, dest: string): Promise<string> | Promise<void>\n }\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n bin?: string\n}\n\nlet didInit: boolean = false\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform, arch: string) => PackageInfo | Promise<PackageInfo>,\n setupDir: string,\n arch: string\n): Promise<InstallationInfo> {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch\n )\n\n // Restore from cache (if found).\n if (GITHUB_ACTIONS) {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (await pathExists(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n // download ane extract the package into the installation directory.\n if ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n return downloadTool(url)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) }\n )\n\n if (!didInit) {\n info(`Installing extraction dependencies`)\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"unzip\"), setupPacmanPack(\"tar\"), setupPacmanPack(\"xz\")])\n } else if (hasDnf()) {\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"xz\")\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz-utils\" }])\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n info(`Extracting ${downloaded} to ${setupDir}`)\n await extractFunction?.(downloaded, setupDir)\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { execa } from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { giveUserAccess } from \"user-access\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n giveUserAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using 7z\nexport function extractZip(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=0\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags], { stdio: \"inherit\" })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n giveUserAccess(dest)\n return dest\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n setupDnfPack(\"p7zip\", version)\n return setupDnfPack(\"p7zip-plugins\", version)\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"p7zip-full\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n await setupPipPack(\"setuptools\", \"\")\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python\"\nimport { addPath } from \"../env/addEnv\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { getVersion } from \"../../versions/versions\"\nimport { ubuntuVersion } from \"../env/ubuntu_version\"\nimport memoize from \"micro-memoize\"\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string, upgrade = false): Promise<InstallationInfo> {\n return setupPipPackWithPython(await getPython(), name, version, upgrade)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n upgrade = false\n): Promise<InstallationInfo> {\n info(`Installing ${name} ${version ?? \"\"} via pip`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade === true ? [\"--upgrade\"] : []\n\n execaSync(givenPython, [\"-m\", \"pip\", \"install\", ...upgradeFlag, nameAndVersion], {\n stdio: \"inherit\",\n })\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir)\n\n return { binDir }\n}\n\nasync function getPython_raw(): Promise<string> {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw)\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport assert from \"assert\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport memoize from \"micro-memoize\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { isBinUptoDate } from \"../utils/setup/version\"\nimport { unique } from \"../utils/std\"\nimport { MinVersions } from \"../versions/default_versions\"\nimport { pathExists } from \"path-exists\"\nimport { setupPipPackWithPython } from \"../utils/setup/setupPipPack\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n // setup wheel and setuptools\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, true)\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, true)\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n\n return installInfo\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string) {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = (await findPython(setupDir))!\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = (await findPython(setupDir))!\n installInfo.bin = foundPython\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const bin = (await findPython(setupDir))!\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await setupBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = setupDnfPack(\"python3\", version)\n } else if (isUbuntu()) {\n installInfo = await setupAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && (await isBinUptoDate(pipPath, MinVersions.pip!))) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n await setupPipSystem()\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error)?.toString?.())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error)?.toString?.())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nfunction setupPipSystem() {\n if (process.platform === \"linux\") {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n if (isArch()) {\n return setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n return setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"python3-pip\" }])\n }\n }\n throw new Error(`Could not install pip on ${process.platform}`)\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw)\n",null,null,null,null,"import { isUrlOnline } from \"is-url-online\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverValid from \"semver/functions/valid\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { info } from \"ci-log\"\n\n/**\n * Gets the specific versions supported by this action compatible with the supplied (specific or minimum) version in\n * descending order of release (e.g., `5.0.2`, `5.0.1`, and `5.0.0` for `5`).\n */\nexport function getSpecificVersions(versions: Set<string>, semversion: string): string[] {\n return Array.from(versions)\n .filter((v) => /^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion))\n .sort((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set<string> {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set<string>,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise<string | null>\n): Promise<[string, string]> {\n // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions\n )}`\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\n for (const specificVersion of getSpecificVersions(versions, version)) {\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion)\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions\n )}`\n )\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().match(versionRegex)?.[1]\n return version\n } catch (e) {\n console.error(e)\n return undefined\n }\n}\n\n/** Check if the given bin is up to date against the target version */\nexport async function isBinUptoDate(\n givenFile: string,\n targetVersion: string,\n versionRegex: RegExp = defaultVersionRegex\n) {\n const givenVersion = await getBinVersion(givenFile, versionRegex)\n if (\n typeof givenVersion === \"string\" &&\n typeof targetVersion === \"string\" &&\n givenVersion !== \"\" &&\n targetVersion !== \"\"\n ) {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n","// src/modules/https-utils.ts\nimport { request } from \"https\";\nfunction isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction requestWorks(url, method) {\n return new Promise((resolve) => {\n try {\n const req = request(url, { method }, (result) => {\n resolve(isStatusOK(result));\n });\n req.on(\"error\", (_error) => {\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\n\n// src/modules/isUrlString.ts\nimport { URL } from \"url\";\nvar isUrlString = (url) => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n try {\n new URL(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n\n// src/modules/isUrlOnline.ts\nvar isUrlOnline = async (url) => {\n const isUrl = isUrlString(url);\n if (!isUrl) {\n return false;\n }\n let response = await requestWorks(url, \"HEAD\");\n if (response) {\n return true;\n }\n response = await requestWorks(url, \"GET\");\n return !!response;\n};\n\n// src/modules/prependHttp.ts\nvar prependHttp = ({\n url,\n https = true\n}) => {\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) {\n return url;\n }\n return trimmedUrl.replace(\n /^(?!(?:\\w+:)?\\/\\/)/u,\n https ? \"https://\" : \"http://\"\n );\n};\nexport {\n isUrlOnline,\n isUrlString,\n prependHttp\n};\n","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { isArch } from \"../utils/env/isArch\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"15.0.6-ubuntu-18.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"15.0.4\"\n }\n}\n\nexport const DefaultVersions: Record<string, string | undefined> = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.11.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.26.4\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.2\", // https://pypi.org/project/gcovr/\n conan: \"1.60.0\", // https://github.com/conan-io/conan/releases\n meson: \"1.0.2\", // https://github.com/mesonbuild/meson/releases\n kcov: \"41\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.25.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.6-1\" : \"1.9.7\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: isArch() ? \"13.1.1-1\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n}\n\nexport const MinVersions: Record<string, string | undefined> = {\n pip: \"22.3.1\",\n python: \"3.7.9\",\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nexport const DefaultLinuxVersion: Record<string, Record<number, string> | undefined> = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\n llvm: {\n 22: \"15.0.6-ubuntu-18.04\",\n 20: \"15.0.6-ubuntu-18.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"15.0.6-ubuntu-18.04\",\n 20: \"15.0.6-ubuntu-18.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"15.0.6-ubuntu-18.04\",\n 20: \"15.0.6-ubuntu-18.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 22: \"5.2\",\n 20: \"5.2\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"1.0.0\",\n 18: \"0.61.4\",\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 22: \"40\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n","import { Opts } from \"../cli-options\"\nimport { Inputs } from \"../tool\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions\"\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined, osVersion: number[] | null = null) {\n console.log(\"isDefault\", version, name, isVersionDefault(version))\n if (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name]!\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record<number, string>) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n toolsInUse.forEach((tool) => {\n opts[tool] = targetVersion\n })\n\n return true\n}\n","import { warning } from \"ci-log\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\nimport os from \"os\"\nimport memoize from \"micro-memoize\"\n\nasync function ubuntuVersion_raw(): Promise<number[] | null> {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw)\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"cppcheck\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { addExeExt, join } from \"patha\"\nimport { extractTar, extractZip } from \"../utils/setup/extract\"\nimport { info, notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../versions/versions\"\n\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) }\n )\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n const installationInfo = await setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"doxygen\", version)\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([{ name: \"doxygen\", version }])\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n await setupAptPack([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]) {\n // eslint-disable-next-line no-await-in-loop\n if (await pathExists(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"graphviz\", version)\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"graphviz\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateGraphviz(): Promise<InstallationInfo> {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir)\n return { binDir }\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath, addEnv } from \"../utils/env/addEnv\"\n\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { join, addExeExt } from \"patha\"\nimport { warning, info } from \"ci-log\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extract7Zip } from \"../utils/setup/extract\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { pathExists } from \"path-exists\"\nimport { ExecaReturnValue } from \"execa\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": {\n releaseName: \"12.1.0-14.0.6-10.0.0-msvcrt-r3\",\n fileSuffix: \"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3\",\n },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record<string, MingwInfo | undefined>\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addExeExt(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = await setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = setupDnfPack(\"gcc\", version)\n setupDnfPack(\"gcc-c++\", version)\n setupDnfPack(\"libstdc++-devel\", undefined)\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"gcc\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n { name: \"g++\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"gcc-multilib\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] }])\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise<InstallationInfo | undefined> {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (await pathExists(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(version: string, binDir: string) {\n const promises: Promise<void | ExecaReturnValue<string>>[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n\n if (process.platform === \"win32\") {\n promises.push(addEnv(\"CC\", addExeExt(`${binDir}/gcc`)), addEnv(\"CXX\", addExeExt(`${binDir}/g++`)))\n } else {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`), addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`))\n\n if (isUbuntu()) {\n promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`)\n )\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`)\n )\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { error } from \"ci-log\"\n\nexport async function setupMacOSSDK() {\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim())\n } else {\n error(`SDKROOT not set`)\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { addEnv } from \"../utils/env/addEnv\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack\"\nimport semverValid from \"semver/functions/valid\"\nimport semverMajor from \"semver/functions/major\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\")\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov)\n}\n","import { execa } from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../versions/versions\"\nimport { extractTarByExe } from \"../utils/setup/extract\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version\"\nimport { info } from \"ci-log\"\nimport { untildifyUser } from \"untildify-user\"\nimport { setupNinja } from \"../ninja/ninja\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: extractTarByExe,\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addExeExt(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, [\"--strip-components=1\"])\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n setupDnfPack(\"libdwarf-devel\")\n setupDnfPack(\"libcurl-devel\")\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\n }\n\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"\"), \"cmake\"),\n \"\"\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), join(untildifyUser(\"\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n setupDnfPack(\"binutils\")\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { addExeExt } from \"patha\"\nimport { extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\n}\n","import { join, addExeExt } from \"patha\"\nimport { delimiter } from \"path\"\nimport { InstallationInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { info, warning } from \"ci-log\"\n\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { getVersion } from \"../versions/versions\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { getLLVMPackageInfo } from \"./llvm_url\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\nimport { pathExists } from \"path-exists\"\nimport { ExecaReturnValue } from \"execa\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir, version)\n return installationInfo\n}\n\nlet installedDeps = false\n\nasync function setupLLVMWithoutActivation(version: string, setupDir: string, arch: string) {\n const installationInfoPromise = setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n\n let depsPromise: Promise<void>\n if (!installedDeps) {\n depsPromise = setupLLVMDeps(arch, version)\n // eslint-disable-next-line require-atomic-updates\n installedDeps = true\n } else {\n depsPromise = Promise.resolve()\n }\n\n // install LLVM and its dependencies in parallel\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [installationInfo, _] = await Promise.all([installationInfoPromise, depsPromise])\n\n return installationInfo\n}\n\nasync function setupLLVMDeps(arch: string, version: string) {\n if (process.platform === \"linux\") {\n // install llvm build dependencies\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch) // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n\n if (isUbuntu()) {\n const majorVersion = parseInt(version.split(\".\")[0], 10)\n if (majorVersion <= 10) {\n await setupAptPack([{ name: \"libtinfo5\" }])\n } else {\n await setupAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n // TODO: install libtinfo on other distros\n // await setupPacmanPack(\"ncurses\")\n }\n}\n\nexport async function activateLLVM(directory: string, versionGiven: string) {\n const _version = semverCoerceIfInvalid(versionGiven)\n\n const lib = join(directory, \"lib\")\n\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const promises: Promise<void | ExecaReturnValue<string>>[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${lib}${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${lib}${delimiter}${dyld}`),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n\n // compiler paths\n addEnv(\"CC\", addExeExt(`${directory}/bin/clang`)),\n addEnv(\"CXX\", addExeExt(`${directory}/bin/clang++`)),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // const llvmMajor = semverMajor(version)\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n\n if (isUbuntu()) {\n promises.push(\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`),\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`),\n updateAptAlternatives(\"clang\", `${directory}/bin/clang`),\n updateAptAlternatives(\"clang++\", `${directory}/bin/clang++`),\n updateAptAlternatives(\"lld\", `${directory}/bin/lld`),\n updateAptAlternatives(\"ld.lld\", `${directory}/bin/ld.lld`),\n updateAptAlternatives(\"llvm-ar\", `${directory}/bin/llvm-ar`)\n )\n }\n\n if (GITHUB_ACTIONS) {\n await addLLVMLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\n/** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */\nexport async function setupClangTools(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n if (GITHUB_ACTIONS) {\n await addLLVMLoggingMatcher()\n }\n return setupLLVMWithoutActivation(version, setupDir, arch)\n}\n\nasync function addLLVMLoggingMatcher() {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import semverLte from \"semver/functions/lte\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version\"\nimport { info, warning } from \"ci-log\"\nimport { PackageInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\n\n//================================================\n// Version\n//================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set<string> = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\n \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set<string> = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n])\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map<string, string> = new Map()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_SUFFIX_MAP: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"15.0.6\"\n\n//================================================\n// URL\n//================================================\n\n/** Gets a LLVM download URL for GitHub. */\nfunction getGitHubUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`\n}\n\n/** Gets a LLVM download URL for https://releases.llvm.org. */\nfunction getReleaseUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://releases.llvm.org/${version}/${file}`\n}\n\n/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_MISSING.has(version)) {\n return null\n }\n\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\"\n const prefix = \"clang+llvm-\"\n const suffix = `-x86_64${darwin}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let linuxVersion: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n linuxVersion = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise<string | null> {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isUrlOnline(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise<string | null> {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise<PackageInfo> {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm version: ${specificVersion}`)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addExeExt(\"clang\"),\n extractFunction:\n platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, [\"--strip-components=1\"])\n },\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n await setupBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\")\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"make\", version)\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"make\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { vsversion_to_versionnumber, findVcvarsall } from \"msvc-dev-cmd/lib.js\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { join } from \"patha\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { info } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (VCTargetsPath !== undefined && (await pathExists(VCTargetsPath))) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath)\n }\n\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n if (uwp == 'true') {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre == 'true') {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, { shell: \"cmd\" }).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd",null,null,null,null,null,null,null,null,"import { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://github.com/volitank/nala#-installation\n const keyFileName = await addAptKeyViaDownload(\n \"volian-archive-scar-unstable.gpg\",\n \"https://deb.volian.org/volian/scar.key\"\n )\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await setupAptPack([{ name: \"nala\" }], true)\n } else {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupPowershell(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"powershell-core\", version)\n const binDir = \"C:/Program Files/PowerShell/7\"\n await addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"powershell\", version, [\"--cask\"])\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"powershell-bin\", version, \"yay\")\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo`,\n ])\n return setupDnfPack(\"powershell\", version)\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"curl\" }])\n const ubuntuVerSplitted = (await ubuntuVersion())!\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`\n\n execRootSync(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`,\n ])\n execRootSync(\"dpkg\", [\"-i\", \"packages-microsoft-prod.deb\"])\n\n // TODO Debian\n // const keyFileName = await addAptKeyViaDownload(\n // \"microsoft.asc\",\n // \"https://packages.microsoft.com/keys/microsoft.asc\"\n // )\n // execRootSync(\"/bin/bash\", [\n // \"-c\",\n // `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main\" > /etc/apt/sources.list.d/microsoft.list`,\n // ])\n\n return setupAptPack([{ name: \"powershell\", version }], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return setupBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addExeExt } from \"patha\"\nimport { extractTarByExe, extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const isZip = platform === \"win32\"\n const extension = isZip ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addExeExt(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? extractZip : extractTarByExe,\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise<InstallationInfo> {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { execaSync } from \"execa\"\nimport { notice } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { giveUserAccess } from \"user-access\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(_version: string, setupDir: string, _arch: string): Promise<InstallationInfo> {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n setupDnfPack(\"zip\")\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"git\")\n setupDnfPack(\"pkg-config\")\n } else if (isUbuntu()) {\n await setupAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`)\n }\n\n execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n giveUserAccess(setupDir)\n\n await addPath(setupDir)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { join } from \"path\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { getVersion } from \"./versions/versions\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[]\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch\n )\n\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion = getVersion(\"gcc\", version, osVersion)\n const installationInfo = await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n await activateGcovGCC(gccVersion)\n\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch\n )\n\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\"), addEnv(\"CXX\", \"clang++\")])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";G6NII,CAAAA,CAAA,CyBMAC,CAAA,CEFAC,CAAA,CcAAC,CAAA,CuCFAC,CAAA,CpDJAC,CAAA,CCAAC,CAAA,CEAAC,CAAA,C,GwC8NJ,CAAAC,CAAA,CE9MYC,CAAA,C,6oCrSlBZ,a,iBAIA,GAAM,CAAAN,CAAA,CAAMO,OAAA,CAAQC,GAApB,CAkEA,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5C,MAAO,CAAAD,CACT,GgBxBiD,CAC/C,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAGK2/C,EAAA,CAA6B,GAAI,CAAAjnC,GAAA,CAAI,CAAC,SAAU,SAAU,SAAS,EAGnEknC,EAAA,CAAiB,GAAI,CAAAlnC,GAAA,CAAI,CAC7B,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SAGA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAOKmnC,EAAA,CAAiC,GAAI,CAAAp/B,GAAA,GAQrCq/B,EAAA,CAA+C,CACnD,QAAS,gBACT,QAAS,GACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,eACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,sBAAuB,gBACvB,sBAAuB,gBACvB,SAAU,gBACV,sBAAuB,gBACvB,SAAU,gBAEV,SAAU,UACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,eACZ,EAGMC,EAAA,CAAqB,SAO3B,QAAS,CAAAC,GAAajgD,CAAe,CAAEC,CAAc,CAAEC,CAAc,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