setup-cpp/dist/modern/setup-cpp.js.map

1 line
1.7 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"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","d","g","replace","toUpperCase","required","Error","trimWhitespace","trim","v","issueCommand","p","toCommandProperties","toString","E","issue","y","ExitCode","Success","Failure","exportVariable","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","addPath","GITHUB_PATH","PATH","delimiter","getInput","getMultilineInput","split","filter","getBooleanInput","TypeError","setOutput","GITHUB_OUTPUT","stdout","write","EOL","setCommandEcho","setFailed","exitCode","isDebug","RUNNER_DEBUG","debug","startGroup","endGroup","group","saveState","GITHUB_STATE","getState","getIDToken","m","OidcClient","enumerable","get","w","summary","markdownSummary","x","toPosixPath","toWin32Path","toPlatformPath","constructor","command","properties","message","length","hasOwnProperty","String","stringify","title","file","line","startLine","endLine","col","startColumn","endColumn","existsSync","appendFileSync","encoding","default","random","rng","Uint8Array","k","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","b","_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","R","lte","O","cmp","T","coerce","$","Comparator","C","Range","A","satisfies","_","toComparators","P","maxSatisfying","N","minSatisfying","L","minVersion","D","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","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","X","long","years","one","other","months","weeks","days","hours","minutes","seconds","narrow","short","K","z","W","__esModule","Y","Q","eE","ignoreErrors","J","chdir","disabled","em","eT","Z","errno","syscall","spawnargs","ee","eL","original","et","eO","eN","hookChildProcess","er","maxBuffer","tR","getBufferedLength","tT","bufferedData","getBufferedValue","tC","tA","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","eR","e$","eC","eB","eH","eV","eX","openSync","readSync","closeSync","eA","e_","eP","forceShell","comspec","verifyENOENT","notFoundError","spawnSync","verifyENOENTSync","status","_parse","eK","eD","ek","execPath","ej","eU","Reflect","ownKeys","getOwnPropertyDescriptor","eM","eG","WeakMap","eF","displayName","throw","callCount","ez","eW","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","e7","e5","tt","tr","reallyExit","kill","pid","tn","ti","to","ts","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","ta","$c309fbd013dc8108$var$unload","tu","tc","th","tp","te","$c309fbd013dc8108$exports","equal","td","alwaysLast","unload","tl","$c309fbd013dc8108$var$emit","$c309fbd013dc8108$var$load","tm","tf","$c309fbd013dc8108$var$processEmit","tg","SIGTERM","e9","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","t$","setEncoding","promisify","pipeline","tO","buffer","MaxBufferError","t_","$49305ea51cd6b834$exports","bind","tP","objectMode","isEmpty","tN","tL","$e5c63f8808e0b3f4$var$getStreamPromise","tv","handleInput","getSpawnedResult","makeAllStream","validateInputSync","tG","tF","tD","mergePromise","getSpawnedPromise","tq","$0027b27f27767077$var$normalizeArgs","tX","tK","tz","tB","joinCommand","parseCommand","getEscapedCommand","tJ","$637f925507bbaf15$var$handleArguments","stripFinalNewline","extendEnv","preferLocal","localDir","reject","windowsHide","tZ","$637f925507bbaf15$var$handleOutput","isBuffer","t0","$637f925507bbaf15$var$execa","tW","tQ","tx","ChildProcess","tH","tV","tw","tb","tE","cancel","ty","tj","tk","tU","tM","tY","execArgv","nodePath","nodeOptions","systemdrive","t4","t3","SUDO_USER","t8","t7","label","sent","trys","ops","return","t9","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","rd","pkg","updateCheckInterval","distTag","alwaysRun","t5","rp","repeat","padEnd","t6","isTTY","shouldNotifyInNpmScript","rh","rf","rg","ry","rw","rb","nf","rx","rS","rI","rR","rE","r_","rP","rA","rC","rN","rk","rD","rL","rj","rU","rM","r$","rF","rB","rH","rV","rG","rT","_enoent","rq","charCodeAt","rK","rX","rY","rW","rQ","rJ","rz","r0","r1","r5","r6","r3","getRealtimeSignal","r4","r2","r8","normalizeSignal","r7","getSignalByName","r9","getSignalByNumber","nt","findSignalByNumber","nr","nn","ni","rZ","ns","na","nl","no","nd","np","nh","nm","ng","nv","nE","nx","nw","nR","nS","nu","nb","ny","nO","nI","nT","n$","nA","nC","n_","nP","nN","nc","nL","nD","nk","nj","nG","nM","nB","nH","nq","nV","nX","nK","nz","nF","nY","nW","nQ","nJ","nZ","n0","nU","n1","n2","n4","n6","n5","n8","n3","n7","ie","it","ir","ii","io","is","n9","ia","il","ic","iu","ip","ih","im","ig","iv","iE","iy","rO","iw","ix","iI","iR","iO","iT","i$","iC","getPrototypeOf","iA","i_","Function","iP","iN","iL","iD","ignoreNonConfigurable","ik","iM","iU","ij","iG","iF","iB","iH","iV","fromEntries","iq","iX","iK","iz","iW","iY","iQ","iJ","iZ","i0","i2","i1","i4","i3","i6","i5","i8","i7","i9","oe","ot","createWriteStream","or","pipeStdout","pipeStderr","pipeAll","oi","inputFile","oo","os","createReadStream","oa","ol","oc","ou","od","op","of","oh","om","og","ov","oE","oy","ow","ox","ob","oS","oI","oR","templates","expressions","template","oO","oT","debuglog","enabled","o$","padStart","oC","getHours","getMinutes","getSeconds","getMilliseconds","oA","verbose","o_","fileURLToPath","oP","oN","oL","aborted","oD","oj","oU","oG","oF","release","oB","oH","oV","oM","oq","oK","shouldEscapeSpace","shouldAddOnlyIfNotDefined","oz","oQ","oW","oJ","oY","o0","oZ","oX","pathExists","o1","o4","o3","o6","o5","posix","o8","o7","o9","source","se","st","sr","sn","o2","so","ss","sa","sl","DEBIAN_FRONTEND","su","sd","flatMap","repositories","sc","binDir","si","sf","sp","sh","sm","sv","rv","tmpdir","sg","NONINTERACTIVE","sE","sy","sw","sx","SystemRoot","ALLUSERSPROFILE","ChocolateyInstall","sb","sS","TMP","TEMP","Path","sI","sR","sO","sT","s$","sC","sA","s_","sN","sP","matchAll","sF","sU","sB","sH","sV","sq","sX","sK","sz","sW","sY","sQ","sG","s3","s2","sZ","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","s6","httpStatusCode","new","target","sL","HTTPError","s5","s8","s7","ai","readdirSync","ar","s9","ao","ae","at","an","RUNNER_TOOL_CACHE","RUNNER_TEMP","as","downloadTool","sM","authorization","statusMessage","extract7z","sJ","sD","extractTar","extractXar","extractZip","cacheDir","cacheFile","findAllVersions","getManifestFromRepo","tree","url","accept","findFromManifest","isExplicitVersion","evaluateVersions","ac","retryAsPromised","TimeoutError","au","previous","ad","$current","backoffBase","backoffExponent","report","toLocaleTimeString","current","ap","af","binRelativeDir","binFileName","extractedFolderName","extractFunction","installDir","ah","am","ag","av","aE","ay","aw","al","aa","addExeExt","ax","ab","isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey","aS","aI","aR","aO","aT","getKeyIndex","_getKeyIndexFromMatchingKey","_getKeyIndexForMany","_getKeyIndexForSingle","canTransformKey","shouldCloneArguments","shouldUpdateOnAdd","shouldUpdateOnChange","shouldUpdateOnHit","orderByLru","updateAsyncCache","a$","isMemoized","fn","cache","aC","aA","a_","aL","aP","localeCompare","aD","ak","aj","aU","aM","aG","llvm","clangtidy","clangformat","ninja","cmake","gcovr","conan","meson","kcov","task","doxygen","gcc","aF","pip","python","aB","nala","aH","aV","bin","az","a9","aX","setupActionsPython","aq","aK","aW","aQ","aY","aJ","aZ","a0","a1","a2","a3","execFile","a6","a8","a4","getUbuntuVersion","a5","a7","lr","le","findIndex","ln","li","lo","ls","la","ll","lc","lu","lp","lh","releaseName","fileSuffix","lm","lg","lv","lE","ld","ly","lf","lw","lx","lS","lI","lR","lO","lb","lT","l$","lC","lA","l_","lP","lN","lL","lD","lk","lj","lU","lG","lB","lV","lF","lH","aN","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","lX","lq","lM","lK","lZ","lJ","l1","l2","l0","lQ","l6","l3","l5","l4","l8","lY","l7","l9","ce","ct","lz","cr","cn","ProgramFiles","ci","co","cs","ca","cl","cc","win32","win64","x86_64","cu","cf","cd","ch","cm","cg","cv","cE","cy","cw","addShExt","addShRelativePrefix","cx","cb","cR","vcpkg","bazel","opencppcoverage","choco","brew","powershell","ccache","sccache","graphviz","cppcheck","msvc","vcvarsall","make","sevenzip","cS","cI","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.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/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.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+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.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/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/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.1/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-fd61ca5b164aabc9.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 $d7DIX$os = require(\"os\");\nvar $d7DIX$path = require(\"path\");\nvar $d7DIX$fs = require(\"fs\");\nvar $d7DIX$crypto = require(\"crypto\");\nvar $d7DIX$http = require(\"http\");\nvar $d7DIX$https = require(\"https\");\nrequire(\"net\");\nvar $d7DIX$tls = require(\"tls\");\nvar $d7DIX$events = require(\"events\");\nvar $d7DIX$assert = require(\"assert\");\nvar $d7DIX$util = require(\"util\");\nvar $d7DIX$nodefs = require(\"node:fs\");\nvar $d7DIX$child_process = require(\"child_process\");\nvar $d7DIX$string_decoder = require(\"string_decoder\");\nvar $d7DIX$timers = require(\"timers\");\nvar $d7DIX$buffer = require(\"buffer\");\nvar $d7DIX$stream = require(\"stream\");\nvar $d7DIX$process = require(\"process\");\nvar $d7DIX$nodebuffer = require(\"node:buffer\");\nvar $d7DIX$nodepath = require(\"node:path\");\nvar $d7DIX$nodechild_process = require(\"node:child_process\");\nvar $d7DIX$nodeprocess = require(\"node:process\");\nvar $d7DIX$nodeurl = require(\"node:url\");\nvar $d7DIX$nodeos = require(\"node:os\");\nvar $d7DIX$nodeutil = require(\"node:util\");\nvar $d7DIX$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(\"dTX7a\", function(module, exports) {\n\"use strict\";\n\nvar $gjIAX = parcelRequire(\"gjIAX\");\nconst $a1ee445651e00d7a$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $gjIAX.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$gjIAX.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 $a1ee445651e00d7a$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 = !!$a1ee445651e00d7a$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 $a1ee445651e00d7a$var$env && $a1ee445651e00d7a$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 !!$a1ee445651e00d7a$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $a1ee445651e00d7a$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 = !!($a1ee445651e00d7a$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($a1ee445651e00d7a$var$env.BUILD_ID || // Jenkins, Cloudbees\n$a1ee445651e00d7a$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$a1ee445651e00d7a$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$a1ee445651e00d7a$var$env.CI_APP_ID || // Appflow\n$a1ee445651e00d7a$var$env.CI_BUILD_ID || // Appflow\n$a1ee445651e00d7a$var$env.CI_BUILD_NUMBER || // Appflow\n$a1ee445651e00d7a$var$env.CI_NAME || // Codeship and others\n$a1ee445651e00d7a$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$a1ee445651e00d7a$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $a1ee445651e00d7a$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$a1ee445651e00d7a$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 $a1ee445651e00d7a$var$env[obj.env] && $a1ee445651e00d7a$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$a1ee445651e00d7a$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $a1ee445651e00d7a$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRequire.register(\"gjIAX\", 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(\"ER74K\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $59a05e0535061862$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $59a05e0535061862$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $59a05e0535061862$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $59a05e0535061862$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $59a05e0535061862$export$a80b3bd66acc52ff);\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\nfunction $59a05e0535061862$export$a3bc9b8ed74fc(err) {\n return (0, $dTX7a.GITHUB_ACTIONS) ? $lcRzN.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$491112666e282270(msg) {\n return (0, $dTX7a.GITHUB_ACTIONS) ? $lcRzN.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$b31f6ae88848cf15(msg) {\n return (0, $dTX7a.GITHUB_ACTIONS) ? $lcRzN.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$a80b3bd66acc52ff(msg) {\n return (0, $dTX7a.GITHUB_ACTIONS) ? $lcRzN.info(msg) : console.log(msg);\n}\n\n});\nparcelRequire.register(\"lcRzN\", function(module, exports) {\n\"use strict\";\nvar $f704471fd4196e44$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 $f704471fd4196e44$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 $f704471fd4196e44$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)) $f704471fd4196e44$var$__createBinding(result, mod, k);\n }\n $f704471fd4196e44$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $f704471fd4196e44$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 $17SLf = parcelRequire(\"17SLf\");\n\nvar $7PXQQ = parcelRequire(\"7PXQQ\");\n\nvar $6L1x9 = parcelRequire(\"6L1x9\");\n\nconst $f704471fd4196e44$var$os = $f704471fd4196e44$var$__importStar($d7DIX$os);\n\nconst $f704471fd4196e44$var$path = $f704471fd4196e44$var$__importStar($d7DIX$path);\n\nvar $5n2X4 = parcelRequire(\"5n2X4\");\n/**\n * The code to exit an action\n */ var $f704471fd4196e44$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})($f704471fd4196e44$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 $f704471fd4196e44$var$exportVariable(name, val) {\n const convertedVal = $6L1x9.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $7PXQQ.issueFileCommand(\"ENV\", $7PXQQ.prepareKeyValueMessage(name, val));\n $17SLf.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $f704471fd4196e44$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $f704471fd4196e44$var$setSecret(secret) {\n $17SLf.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $f704471fd4196e44$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $f704471fd4196e44$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $7PXQQ.issueFileCommand(\"PATH\", inputPath);\n else $17SLf.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$f704471fd4196e44$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $f704471fd4196e44$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 $f704471fd4196e44$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 = $f704471fd4196e44$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 $f704471fd4196e44$var$getMultilineInput(name, options) {\n const inputs = $f704471fd4196e44$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 = $f704471fd4196e44$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 $f704471fd4196e44$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 = $f704471fd4196e44$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 = $f704471fd4196e44$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 $f704471fd4196e44$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $7PXQQ.issueFileCommand(\"OUTPUT\", $7PXQQ.prepareKeyValueMessage(name, value));\n process.stdout.write($f704471fd4196e44$var$os.EOL);\n $17SLf.issueCommand(\"set-output\", {\n name: name\n }, $6L1x9.toCommandValue(value));\n}\nmodule.exports.setOutput = $f704471fd4196e44$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 $f704471fd4196e44$var$setCommandEcho(enabled) {\n $17SLf.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $f704471fd4196e44$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 $f704471fd4196e44$var$setFailed(message) {\n process.exitCode = $f704471fd4196e44$var$ExitCode.Failure;\n $f704471fd4196e44$var$error(message);\n}\nmodule.exports.setFailed = $f704471fd4196e44$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $f704471fd4196e44$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $f704471fd4196e44$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $f704471fd4196e44$var$debug(message) {\n $17SLf.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $f704471fd4196e44$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 $f704471fd4196e44$var$error(message, properties = {}) {\n $17SLf.issueCommand(\"error\", $6L1x9.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $f704471fd4196e44$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 $f704471fd4196e44$var$warning(message, properties = {}) {\n $17SLf.issueCommand(\"warning\", $6L1x9.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $f704471fd4196e44$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 $f704471fd4196e44$var$notice(message, properties = {}) {\n $17SLf.issueCommand(\"notice\", $6L1x9.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $f704471fd4196e44$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $f704471fd4196e44$var$info(message) {\n process.stdout.write(message + $f704471fd4196e44$var$os.EOL);\n}\nmodule.exports.info = $f704471fd4196e44$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 $f704471fd4196e44$var$startGroup(name) {\n $17SLf.issue(\"group\", name);\n}\nmodule.exports.startGroup = $f704471fd4196e44$var$startGroup;\n/**\n * End an output group.\n */ function $f704471fd4196e44$var$endGroup() {\n $17SLf.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $f704471fd4196e44$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 $f704471fd4196e44$var$group(name, fn) {\n return $f704471fd4196e44$var$__awaiter(this, void 0, void 0, function*() {\n $f704471fd4196e44$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $f704471fd4196e44$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $f704471fd4196e44$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 $f704471fd4196e44$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $7PXQQ.issueFileCommand(\"STATE\", $7PXQQ.prepareKeyValueMessage(name, value));\n $17SLf.issueCommand(\"save-state\", {\n name: name\n }, $6L1x9.toCommandValue(value));\n}\nmodule.exports.saveState = $f704471fd4196e44$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 $f704471fd4196e44$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $f704471fd4196e44$var$getState;\nfunction $f704471fd4196e44$var$getIDToken(aud) {\n return $f704471fd4196e44$var$__awaiter(this, void 0, void 0, function*() {\n return yield $5n2X4.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $f704471fd4196e44$var$getIDToken;\n\nvar $4rwlm = parcelRequire(\"4rwlm\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $4rwlm.summary;\n }\n});\n\nvar $4rwlm = parcelRequire(\"4rwlm\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $4rwlm.markdownSummary;\n }\n});\n\nvar $3jp5d = parcelRequire(\"3jp5d\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $3jp5d.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $3jp5d.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $3jp5d.toPlatformPath;\n }\n});\n\n});\nparcelRequire.register(\"17SLf\", function(module, exports) {\n\"use strict\";\nvar $0d20ec4afd568906$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 $0d20ec4afd568906$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 $0d20ec4afd568906$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)) $0d20ec4afd568906$var$__createBinding(result, mod, k);\n }\n $0d20ec4afd568906$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 $0d20ec4afd568906$var$os = $0d20ec4afd568906$var$__importStar($d7DIX$os);\n\nvar $6L1x9 = parcelRequire(\"6L1x9\");\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 $0d20ec4afd568906$var$issueCommand(command, properties, message) {\n const cmd = new $0d20ec4afd568906$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $0d20ec4afd568906$var$os.EOL);\n}\nmodule.exports.issueCommand = $0d20ec4afd568906$var$issueCommand;\nfunction $0d20ec4afd568906$var$issue(name, message = \"\") {\n $0d20ec4afd568906$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $0d20ec4afd568906$var$issue;\nconst $0d20ec4afd568906$var$CMD_STRING = \"::\";\nclass $0d20ec4afd568906$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 = $0d20ec4afd568906$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}=${$0d20ec4afd568906$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$0d20ec4afd568906$var$CMD_STRING}${$0d20ec4afd568906$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $0d20ec4afd568906$var$escapeData(s) {\n return $6L1x9.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $0d20ec4afd568906$var$escapeProperty(s) {\n return $6L1x9.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRequire.register(\"6L1x9\", 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 $4eb8526c1d3a2985$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 = $4eb8526c1d3a2985$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 $4eb8526c1d3a2985$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 = $4eb8526c1d3a2985$var$toCommandProperties;\n\n});\n\n\nparcelRequire.register(\"7PXQQ\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $5b4bb907da67ab2d$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 $5b4bb907da67ab2d$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 $5b4bb907da67ab2d$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)) $5b4bb907da67ab2d$var$__createBinding(result, mod, k);\n }\n $5b4bb907da67ab2d$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 $5b4bb907da67ab2d$var$fs = $5b4bb907da67ab2d$var$__importStar($d7DIX$fs);\n\nconst $5b4bb907da67ab2d$var$os = $5b4bb907da67ab2d$var$__importStar($d7DIX$os);\n\nvar $4dndm = parcelRequire(\"4dndm\");\n\nvar $6L1x9 = parcelRequire(\"6L1x9\");\nfunction $5b4bb907da67ab2d$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 (!$5b4bb907da67ab2d$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $5b4bb907da67ab2d$var$fs.appendFileSync(filePath, `${$6L1x9.toCommandValue(message)}${$5b4bb907da67ab2d$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $5b4bb907da67ab2d$var$issueFileCommand;\nfunction $5b4bb907da67ab2d$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$4dndm.default()}`;\n const convertedValue = $6L1x9.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}${$5b4bb907da67ab2d$var$os.EOL}${convertedValue}${$5b4bb907da67ab2d$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $5b4bb907da67ab2d$var$prepareKeyValueMessage;\n\n});\nparcelRequire.register(\"4dndm\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $311a623cba3d6708$export$2e2bcd8739ae039);\n\nvar $5SVBN = parcelRequire(\"5SVBN\");\n\nvar $38Etc = parcelRequire(\"38Etc\");\nfunction $311a623cba3d6708$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $5SVBN.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, $38Etc.default)(rnds);\n}\nvar $311a623cba3d6708$export$2e2bcd8739ae039 = $311a623cba3d6708$var$v4;\n\n});\nparcelRequire.register(\"5SVBN\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $448eaec0ed646784$export$2e2bcd8739ae039);\n\nconst $448eaec0ed646784$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $448eaec0ed646784$var$poolPtr = $448eaec0ed646784$var$rnds8Pool.length;\nfunction $448eaec0ed646784$export$2e2bcd8739ae039() {\n if ($448eaec0ed646784$var$poolPtr > $448eaec0ed646784$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($d7DIX$crypto))).randomFillSync($448eaec0ed646784$var$rnds8Pool);\n $448eaec0ed646784$var$poolPtr = 0;\n }\n return $448eaec0ed646784$var$rnds8Pool.slice($448eaec0ed646784$var$poolPtr, $448eaec0ed646784$var$poolPtr += 16);\n}\n\n});\n\nparcelRequire.register(\"38Etc\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $249182ed347396a3$export$2e2bcd8739ae039);\n\nvar $f9HAa = parcelRequire(\"f9HAa\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $249182ed347396a3$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$249182ed347396a3$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $249182ed347396a3$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 = ($249182ed347396a3$var$byteToHex[arr[offset + 0]] + $249182ed347396a3$var$byteToHex[arr[offset + 1]] + $249182ed347396a3$var$byteToHex[arr[offset + 2]] + $249182ed347396a3$var$byteToHex[arr[offset + 3]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 4]] + $249182ed347396a3$var$byteToHex[arr[offset + 5]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 6]] + $249182ed347396a3$var$byteToHex[arr[offset + 7]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 8]] + $249182ed347396a3$var$byteToHex[arr[offset + 9]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 10]] + $249182ed347396a3$var$byteToHex[arr[offset + 11]] + $249182ed347396a3$var$byteToHex[arr[offset + 12]] + $249182ed347396a3$var$byteToHex[arr[offset + 13]] + $249182ed347396a3$var$byteToHex[arr[offset + 14]] + $249182ed347396a3$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, $f9HAa.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $249182ed347396a3$export$2e2bcd8739ae039 = $249182ed347396a3$var$stringify;\n\n});\nparcelRequire.register(\"f9HAa\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $b08980d5911a1fe8$export$2e2bcd8739ae039);\n\nvar $bpRYF = parcelRequire(\"bpRYF\");\nfunction $b08980d5911a1fe8$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $bpRYF.default).test(uuid);\n}\nvar $b08980d5911a1fe8$export$2e2bcd8739ae039 = $b08980d5911a1fe8$var$validate;\n\n});\nparcelRequire.register(\"bpRYF\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $0225185c16cb00a7$export$2e2bcd8739ae039);\nvar $0225185c16cb00a7$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\n\nparcelRequire.register(\"5n2X4\", function(module, exports) {\n\"use strict\";\nvar $3e9163e31345998a$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 $3bels = parcelRequire(\"3bels\");\n\nvar $8GCMm = parcelRequire(\"8GCMm\");\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\nclass $3e9163e31345998a$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $3bels.HttpClient(\"actions/oidc-client\", [\n new $8GCMm.BearerCredentialHandler($3e9163e31345998a$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 $3e9163e31345998a$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $3e9163e31345998a$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 $3e9163e31345998a$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $3e9163e31345998a$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $lcRzN.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $3e9163e31345998a$var$OidcClient.getCall(id_token_url);\n $lcRzN.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 = $3e9163e31345998a$var$OidcClient;\n\n});\nparcelRequire.register(\"3bels\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $250d86cb9ce65094$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 $250d86cb9ce65094$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 $250d86cb9ce65094$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)) $250d86cb9ce65094$var$__createBinding(result, mod, k);\n }\n $250d86cb9ce65094$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $250d86cb9ce65094$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 $250d86cb9ce65094$var$http = $250d86cb9ce65094$var$__importStar($d7DIX$http);\n\nconst $250d86cb9ce65094$var$https = $250d86cb9ce65094$var$__importStar($d7DIX$https);\n\nconst $250d86cb9ce65094$var$pm = $250d86cb9ce65094$var$__importStar((parcelRequire(\"ht6Lg\")));\n\nconst $250d86cb9ce65094$var$tunnel = $250d86cb9ce65094$var$__importStar((parcelRequire(\"eYDoL\")));\nvar $250d86cb9ce65094$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})($250d86cb9ce65094$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $250d86cb9ce65094$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($250d86cb9ce65094$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $250d86cb9ce65094$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($250d86cb9ce65094$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 $250d86cb9ce65094$var$getProxyUrl(serverUrl) {\n const proxyUrl = $250d86cb9ce65094$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $250d86cb9ce65094$var$getProxyUrl;\nconst $250d86cb9ce65094$var$HttpRedirectCodes = [\n $250d86cb9ce65094$var$HttpCodes.MovedPermanently,\n $250d86cb9ce65094$var$HttpCodes.ResourceMoved,\n $250d86cb9ce65094$var$HttpCodes.SeeOther,\n $250d86cb9ce65094$var$HttpCodes.TemporaryRedirect,\n $250d86cb9ce65094$var$HttpCodes.PermanentRedirect\n];\nconst $250d86cb9ce65094$var$HttpResponseRetryCodes = [\n $250d86cb9ce65094$var$HttpCodes.BadGateway,\n $250d86cb9ce65094$var$HttpCodes.ServiceUnavailable,\n $250d86cb9ce65094$var$HttpCodes.GatewayTimeout\n];\nconst $250d86cb9ce65094$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $250d86cb9ce65094$var$ExponentialBackoffCeiling = 10;\nconst $250d86cb9ce65094$var$ExponentialBackoffTimeSlice = 5;\nclass $250d86cb9ce65094$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $250d86cb9ce65094$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $250d86cb9ce65094$var$HttpClientError;\nclass $250d86cb9ce65094$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$250d86cb9ce65094$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 = $250d86cb9ce65094$var$HttpClientResponse;\nfunction $250d86cb9ce65094$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $250d86cb9ce65094$var$isHttps;\nclass $250d86cb9ce65094$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 $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $250d86cb9ce65094$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 $250d86cb9ce65094$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 $250d86cb9ce65094$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 $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $250d86cb9ce65094$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 $250d86cb9ce65094$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 $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$250d86cb9ce65094$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.Accept, $250d86cb9ce65094$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 $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$250d86cb9ce65094$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.Accept, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n additionalHeaders[$250d86cb9ce65094$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.ContentType, $250d86cb9ce65094$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 $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$250d86cb9ce65094$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.Accept, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n additionalHeaders[$250d86cb9ce65094$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.ContentType, $250d86cb9ce65094$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 $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$250d86cb9ce65094$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.Accept, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n additionalHeaders[$250d86cb9ce65094$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.ContentType, $250d86cb9ce65094$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 $250d86cb9ce65094$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 && $250d86cb9ce65094$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 === $250d86cb9ce65094$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 && $250d86cb9ce65094$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 || !$250d86cb9ce65094$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 $250d86cb9ce65094$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 $250d86cb9ce65094$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 ? $250d86cb9ce65094$var$https : $250d86cb9ce65094$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({}, $250d86cb9ce65094$var$lowercaseKeys(this.requestOptions.headers), $250d86cb9ce65094$var$lowercaseKeys(headers || {}));\n return $250d86cb9ce65094$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $250d86cb9ce65094$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $250d86cb9ce65094$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 || $250d86cb9ce65094$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 ? $250d86cb9ce65094$var$tunnel.httpsOverHttps : $250d86cb9ce65094$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $250d86cb9ce65094$var$tunnel.httpOverHttps : $250d86cb9ce65094$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 $250d86cb9ce65094$var$https.Agent(options) : new $250d86cb9ce65094$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 ? $250d86cb9ce65094$var$https.globalAgent : $250d86cb9ce65094$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 $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($250d86cb9ce65094$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $250d86cb9ce65094$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$250d86cb9ce65094$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 === $250d86cb9ce65094$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 $250d86cb9ce65094$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $250d86cb9ce65094$var$HttpClient;\nconst $250d86cb9ce65094$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRequire.register(\"ht6Lg\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $cb7a63bcb554e710$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($cb7a63bcb554e710$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 = $cb7a63bcb554e710$var$getProxyUrl;\nfunction $cb7a63bcb554e710$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($cb7a63bcb554e710$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 = $cb7a63bcb554e710$var$checkBypass;\nfunction $cb7a63bcb554e710$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(\"eYDoL\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"gBbBa\"));\n\n});\nparcelRequire.register(\"gBbBa\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $c159194268ce8bad$export$25cbd437c61a3835, (v) => $c159194268ce8bad$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $c159194268ce8bad$export$c06e3df7111bae43, (v) => $c159194268ce8bad$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $c159194268ce8bad$export$5d50e36ef656139f, (v) => $c159194268ce8bad$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $c159194268ce8bad$export$212d6605025321cc, (v) => $c159194268ce8bad$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $c159194268ce8bad$export$1c9f709888824e05, (v) => $c159194268ce8bad$export$1c9f709888824e05 = v);\nvar $c159194268ce8bad$export$25cbd437c61a3835;\nvar $c159194268ce8bad$export$c06e3df7111bae43;\nvar $c159194268ce8bad$export$5d50e36ef656139f;\nvar $c159194268ce8bad$export$212d6605025321cc;\nvar $c159194268ce8bad$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$c159194268ce8bad$export$25cbd437c61a3835 = $c159194268ce8bad$var$httpOverHttp;\n$c159194268ce8bad$export$c06e3df7111bae43 = $c159194268ce8bad$var$httpsOverHttp;\n$c159194268ce8bad$export$5d50e36ef656139f = $c159194268ce8bad$var$httpOverHttps;\n$c159194268ce8bad$export$212d6605025321cc = $c159194268ce8bad$var$httpsOverHttps;\nfunction $c159194268ce8bad$var$httpOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$http.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$http.request;\n agent.createSocket = $c159194268ce8bad$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$https.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$https.request;\n agent.createSocket = $c159194268ce8bad$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $c159194268ce8bad$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $d7DIX$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $c159194268ce8bad$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$d7DIX$util.inherits($c159194268ce8bad$var$TunnelingAgent, $d7DIX$events.EventEmitter);\n$c159194268ce8bad$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $c159194268ce8bad$var$mergeOptions({\n request: req\n }, self.options, $c159194268ce8bad$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$c159194268ce8bad$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $c159194268ce8bad$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 $c159194268ce8bad$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 $c159194268ce8bad$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 $c159194268ce8bad$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 $c159194268ce8bad$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 $c159194268ce8bad$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$c159194268ce8bad$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 $c159194268ce8bad$var$createSecureSocket(options, cb) {\n var self = this;\n $c159194268ce8bad$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $c159194268ce8bad$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 = $d7DIX$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $c159194268ce8bad$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 $c159194268ce8bad$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 $c159194268ce8bad$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $c159194268ce8bad$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 $c159194268ce8bad$var$debug = function() {};\n$c159194268ce8bad$export$1c9f709888824e05 = $c159194268ce8bad$var$debug; // for test\n\n});\n\n\n\nparcelRequire.register(\"8GCMm\", function(module, exports) {\n\"use strict\";\nvar $653053af826140b7$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 $653053af826140b7$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 $653053af826140b7$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $653053af826140b7$var$BasicCredentialHandler;\nclass $653053af826140b7$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 $653053af826140b7$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $653053af826140b7$var$BearerCredentialHandler;\nclass $653053af826140b7$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 $653053af826140b7$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $653053af826140b7$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRequire.register(\"4rwlm\", function(module, exports) {\n\"use strict\";\nvar $33c2c5c61b0fac44$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: $33c2c5c61b0fac44$var$access, appendFile: $33c2c5c61b0fac44$var$appendFile, writeFile: $33c2c5c61b0fac44$var$writeFile } = $d7DIX$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 $33c2c5c61b0fac44$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 $33c2c5c61b0fac44$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 $33c2c5c61b0fac44$var$access(pathFromEnv, $d7DIX$fs.constants.R_OK | $d7DIX$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 $33c2c5c61b0fac44$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 ? $33c2c5c61b0fac44$var$writeFile : $33c2c5c61b0fac44$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 $33c2c5c61b0fac44$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($d7DIX$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 $33c2c5c61b0fac44$var$_summary = new $33c2c5c61b0fac44$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $33c2c5c61b0fac44$var$_summary;\nmodule.exports.summary = $33c2c5c61b0fac44$var$_summary;\n\n});\n\nparcelRequire.register(\"3jp5d\", function(module, exports) {\n\"use strict\";\nvar $26969a68354991ee$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 $26969a68354991ee$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 $26969a68354991ee$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)) $26969a68354991ee$var$__createBinding(result, mod, k);\n }\n $26969a68354991ee$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 $26969a68354991ee$var$path = $26969a68354991ee$var$__importStar($d7DIX$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 $26969a68354991ee$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $26969a68354991ee$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 $26969a68354991ee$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $26969a68354991ee$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 $26969a68354991ee$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $26969a68354991ee$var$path.sep);\n}\nmodule.exports.toPlatformPath = $26969a68354991ee$var$toPlatformPath;\n\n});\n\n\n\nparcelRequire.register(\"fXZh0\", function(module, exports) {\n\nvar $b9fbe5501defe232$var$$parcel$__dirname = $d7DIX$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($b9fbe5501defe232$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(\"25uEY\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $ggaxg = parcelRequire(\"ggaxg\");\n\nvar $crMMK = parcelRequire(\"crMMK\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $1853d4d27a1c8507$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 $1853d4d27a1c8507$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 $1853d4d27a1c8507$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $1853d4d27a1c8507$var$timeDeltaFactory,\n addLocale: $1853d4d27a1c8507$var$addLocale,\n defaultConfig: $1853d4d27a1c8507$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 $1853d4d27a1c8507$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 $1853d4d27a1c8507$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $1853d4d27a1c8507$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $1853d4d27a1c8507$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 $1853d4d27a1c8507$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 $1853d4d27a1c8507$var$format(firstDate, secondDate, config) {\n $1853d4d27a1c8507$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 = $1853d4d27a1c8507$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($1853d4d27a1c8507$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 $1853d4d27a1c8507$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($1853d4d27a1c8507$var$hasLocale(locale)) return;\n if ($crMMK && autoload) $1853d4d27a1c8507$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 $1853d4d27a1c8507$var$hasLocale(localeId) {\n return Boolean($1853d4d27a1c8507$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $1853d4d27a1c8507$var$requireLocale(localeId) {\n try {\n $1853d4d27a1c8507$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 $1853d4d27a1c8507$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $1853d4d27a1c8507$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 $1853d4d27a1c8507$var$pluralize(unit, value, config) {\n const unitTypeData = $1853d4d27a1c8507$var$getLocaleDataForUnitType(config);\n const unitString = $ggaxg.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 $1853d4d27a1c8507$var$getLocaleDataForUnitType(config) {\n const localeData = $1853d4d27a1c8507$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 = $1853d4d27a1c8507$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 $1853d4d27a1c8507$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRequire.register(\"ggaxg\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"fXZh0\"));\n\n});\n\nparcelRequire.register(\"crMMK\", 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(\"496bk\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $8MEeD = parcelRequire(\"8MEeD\");\n\nvar $krFuT = parcelRequire(\"krFuT\");\n\nvar $91BVH = parcelRequire(\"91BVH\");\n\nvar $jjFHx = parcelRequire(\"jjFHx\");\n\nvar $96FHJ = parcelRequire(\"96FHJ\");\n\nvar $hs40t = parcelRequire(\"hs40t\");\n\nvar $sgP24 = parcelRequire(\"sgP24\");\n\nvar $lXx7g = parcelRequire(\"lXx7g\");\n\nvar $7LXew = parcelRequire(\"7LXew\");\n\nvar $cb77f = parcelRequire(\"cb77f\");\n\nvar $jbLll = parcelRequire(\"jbLll\");\n\nvar $gHQtL = parcelRequire(\"gHQtL\");\n\nvar $hu5MC = parcelRequire(\"hu5MC\");\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\n\nvar $di27V = parcelRequire(\"di27V\");\n\nvar $fq0G6 = parcelRequire(\"fq0G6\");\n\nvar $6tKWG = parcelRequire(\"6tKWG\");\n\nvar $lVAUC = parcelRequire(\"lVAUC\");\n\nvar $l0FT7 = parcelRequire(\"l0FT7\");\n\nvar $heBVO = parcelRequire(\"heBVO\");\n\nvar $dUk4A = parcelRequire(\"dUk4A\");\n\nvar $auxRs = parcelRequire(\"auxRs\");\n\nvar $5fQ99 = parcelRequire(\"5fQ99\");\n\nvar $hbNec = parcelRequire(\"hbNec\");\n\nvar $hIjqP = parcelRequire(\"hIjqP\");\n\nvar $6bQRv = parcelRequire(\"6bQRv\");\n\nvar $1wZKb = parcelRequire(\"1wZKb\");\n\nvar $1G6Y8 = parcelRequire(\"1G6Y8\");\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\n\nvar $02l67 = parcelRequire(\"02l67\");\n\nvar $ecqgW = parcelRequire(\"ecqgW\");\n\nvar $ekdWz = parcelRequire(\"ekdWz\");\n\nvar $30suU = parcelRequire(\"30suU\");\n\nvar $50mz4 = parcelRequire(\"50mz4\");\n\nvar $kQjey = parcelRequire(\"kQjey\");\n\nvar $lhmHa = parcelRequire(\"lhmHa\");\n\nvar $jsEJo = parcelRequire(\"jsEJo\");\n\nvar $iKCt7 = parcelRequire(\"iKCt7\");\n\nvar $j8uK3 = parcelRequire(\"j8uK3\");\n\nvar $bgiFn = parcelRequire(\"bgiFn\");\n\nvar $d3ksB = parcelRequire(\"d3ksB\");\nmodule.exports = {\n parse: $96FHJ,\n valid: $hs40t,\n clean: $sgP24,\n inc: $lXx7g,\n diff: $7LXew,\n major: $cb77f,\n minor: $jbLll,\n patch: $gHQtL,\n prerelease: $hu5MC,\n compare: $4JoNL,\n rcompare: $di27V,\n compareLoose: $fq0G6,\n compareBuild: $6tKWG,\n sort: $lVAUC,\n rsort: $l0FT7,\n gt: $heBVO,\n lt: $dUk4A,\n eq: $auxRs,\n neq: $5fQ99,\n gte: $hbNec,\n lte: $hIjqP,\n cmp: $6bQRv,\n coerce: $1wZKb,\n Comparator: $1G6Y8,\n Range: $f7uHw,\n satisfies: $02l67,\n toComparators: $ecqgW,\n maxSatisfying: $ekdWz,\n minSatisfying: $30suU,\n minVersion: $50mz4,\n validRange: $kQjey,\n outside: $lhmHa,\n gtr: $jsEJo,\n ltr: $iKCt7,\n intersects: $j8uK3,\n simplifyRange: $bgiFn,\n subset: $d3ksB,\n SemVer: $91BVH,\n re: $8MEeD.re,\n src: $8MEeD.src,\n tokens: $8MEeD.t,\n SEMVER_SPEC_VERSION: $krFuT.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $krFuT.RELEASE_TYPES,\n compareIdentifiers: $jjFHx.compareIdentifiers,\n rcompareIdentifiers: $jjFHx.rcompareIdentifiers\n};\n\n});\nparcelRequire.register(\"8MEeD\", function(module, exports) {\n\nvar $krFuT = parcelRequire(\"krFuT\");\nvar $66520448defbe866$require$MAX_SAFE_COMPONENT_LENGTH = $krFuT.MAX_SAFE_COMPONENT_LENGTH;\nvar $66520448defbe866$require$MAX_SAFE_BUILD_LENGTH = $krFuT.MAX_SAFE_BUILD_LENGTH;\n\nvar $jDVdQ = parcelRequire(\"jDVdQ\");\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 $66520448defbe866$require$MAX_SAFE_COMPONENT_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $66520448defbe866$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 $jDVdQ(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,\"}${$66520448defbe866$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$66520448defbe866$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$66520448defbe866$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(\"krFuT\", 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 $ee2684bbe57c5f9c$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $ee2684bbe57c5f9c$var$MAX_LENGTH = 256;\nconst $ee2684bbe57c5f9c$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $ee2684bbe57c5f9c$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 $ee2684bbe57c5f9c$var$MAX_SAFE_BUILD_LENGTH = $ee2684bbe57c5f9c$var$MAX_LENGTH - 6;\nconst $ee2684bbe57c5f9c$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $ee2684bbe57c5f9c$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $ee2684bbe57c5f9c$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $ee2684bbe57c5f9c$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $ee2684bbe57c5f9c$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $ee2684bbe57c5f9c$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $ee2684bbe57c5f9c$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRequire.register(\"jDVdQ\", function(module, exports) {\nconst $e4ce0c04359ec02d$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 = $e4ce0c04359ec02d$var$debug;\n\n});\n\n\nparcelRequire.register(\"91BVH\", function(module, exports) {\n\nvar $jDVdQ = parcelRequire(\"jDVdQ\");\n\nvar $krFuT = parcelRequire(\"krFuT\");\nvar $6921a11add515a81$require$MAX_LENGTH = $krFuT.MAX_LENGTH;\nvar $6921a11add515a81$require$MAX_SAFE_INTEGER = $krFuT.MAX_SAFE_INTEGER;\n\nvar $8MEeD = parcelRequire(\"8MEeD\");\nvar $6921a11add515a81$require$re = $8MEeD.safeRe;\nvar $6921a11add515a81$require$t = $8MEeD.t;\n\nvar $iQUJC = parcelRequire(\"iQUJC\");\n\nvar $jjFHx = parcelRequire(\"jjFHx\");\nvar $6921a11add515a81$require$compareIdentifiers = $jjFHx.compareIdentifiers;\nclass $6921a11add515a81$var$SemVer {\n constructor(version, options){\n options = $iQUJC(options);\n if (version instanceof $6921a11add515a81$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 > $6921a11add515a81$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$6921a11add515a81$require$MAX_LENGTH} characters`);\n $jDVdQ(\"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 ? $6921a11add515a81$require$re[$6921a11add515a81$require$t.LOOSE] : $6921a11add515a81$require$re[$6921a11add515a81$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 > $6921a11add515a81$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $6921a11add515a81$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $6921a11add515a81$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 < $6921a11add515a81$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 $jDVdQ(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $6921a11add515a81$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $6921a11add515a81$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 $6921a11add515a81$var$SemVer)) other = new $6921a11add515a81$var$SemVer(other, this.options);\n return $6921a11add515a81$require$compareIdentifiers(this.major, other.major) || $6921a11add515a81$require$compareIdentifiers(this.minor, other.minor) || $6921a11add515a81$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $6921a11add515a81$var$SemVer)) other = new $6921a11add515a81$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 $jDVdQ(\"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 $6921a11add515a81$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $6921a11add515a81$var$SemVer)) other = new $6921a11add515a81$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $jDVdQ(\"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 $6921a11add515a81$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 ($6921a11add515a81$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 = $6921a11add515a81$var$SemVer;\n\n});\nparcelRequire.register(\"iQUJC\", function(module, exports) {\n// parse out just the options we care about\nconst $038aba303b605e49$var$looseOption = Object.freeze({\n loose: true\n});\nconst $038aba303b605e49$var$emptyOpts = Object.freeze({});\nconst $038aba303b605e49$var$parseOptions = (options)=>{\n if (!options) return $038aba303b605e49$var$emptyOpts;\n if (typeof options !== \"object\") return $038aba303b605e49$var$looseOption;\n return options;\n};\nmodule.exports = $038aba303b605e49$var$parseOptions;\n\n});\n\nparcelRequire.register(\"jjFHx\", function(module, exports) {\nconst $e10023a8f48a15c9$var$numeric = /^[0-9]+$/;\nconst $e10023a8f48a15c9$var$compareIdentifiers = (a, b)=>{\n const anum = $e10023a8f48a15c9$var$numeric.test(a);\n const bnum = $e10023a8f48a15c9$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 $e10023a8f48a15c9$var$rcompareIdentifiers = (a, b)=>$e10023a8f48a15c9$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $e10023a8f48a15c9$var$compareIdentifiers,\n rcompareIdentifiers: $e10023a8f48a15c9$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRequire.register(\"96FHJ\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\nconst $6a15062f1e5c4c1b$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $91BVH) return version;\n try {\n return new $91BVH(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $6a15062f1e5c4c1b$var$parse;\n\n});\n\nparcelRequire.register(\"hs40t\", function(module, exports) {\n\nvar $96FHJ = parcelRequire(\"96FHJ\");\nconst $cb4828d9cac0c190$var$valid = (version, options)=>{\n const v = $96FHJ(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $cb4828d9cac0c190$var$valid;\n\n});\n\nparcelRequire.register(\"sgP24\", function(module, exports) {\n\nvar $96FHJ = parcelRequire(\"96FHJ\");\nconst $054faa28b79c8bf9$var$clean = (version, options)=>{\n const s = $96FHJ(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $054faa28b79c8bf9$var$clean;\n\n});\n\nparcelRequire.register(\"lXx7g\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\nconst $ffc8cbd133f2888b$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 $91BVH(version instanceof $91BVH ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $ffc8cbd133f2888b$var$inc;\n\n});\n\nparcelRequire.register(\"7LXew\", function(module, exports) {\n\nvar $96FHJ = parcelRequire(\"96FHJ\");\nconst $5a8adead6c8fd825$var$diff = (version1, version2)=>{\n const v1 = $96FHJ(version1, null, true);\n const v2 = $96FHJ(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 = $5a8adead6c8fd825$var$diff;\n\n});\n\nparcelRequire.register(\"cb77f\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\nconst $8ddc082e45ea1ccd$var$major = (a, loose)=>new $91BVH(a, loose).major;\nmodule.exports = $8ddc082e45ea1ccd$var$major;\n\n});\n\nparcelRequire.register(\"jbLll\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\nconst $039ae645510a1398$var$minor = (a, loose)=>new $91BVH(a, loose).minor;\nmodule.exports = $039ae645510a1398$var$minor;\n\n});\n\nparcelRequire.register(\"gHQtL\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\nconst $c2995ec01ffd2084$var$patch = (a, loose)=>new $91BVH(a, loose).patch;\nmodule.exports = $c2995ec01ffd2084$var$patch;\n\n});\n\nparcelRequire.register(\"hu5MC\", function(module, exports) {\n\nvar $96FHJ = parcelRequire(\"96FHJ\");\nconst $cba9b9725e8f6445$var$prerelease = (version, options)=>{\n const parsed = $96FHJ(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $cba9b9725e8f6445$var$prerelease;\n\n});\n\nparcelRequire.register(\"4JoNL\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\nconst $371e9a7bce98f44a$var$compare = (a, b, loose)=>new $91BVH(a, loose).compare(new $91BVH(b, loose));\nmodule.exports = $371e9a7bce98f44a$var$compare;\n\n});\n\nparcelRequire.register(\"di27V\", function(module, exports) {\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\nconst $9ace9b2ad04fac1b$var$rcompare = (a, b, loose)=>$4JoNL(b, a, loose);\nmodule.exports = $9ace9b2ad04fac1b$var$rcompare;\n\n});\n\nparcelRequire.register(\"fq0G6\", function(module, exports) {\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\nconst $b399cf5fd0abdc75$var$compareLoose = (a, b)=>$4JoNL(a, b, true);\nmodule.exports = $b399cf5fd0abdc75$var$compareLoose;\n\n});\n\nparcelRequire.register(\"6tKWG\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\nconst $4b79dde257bf9181$var$compareBuild = (a, b, loose)=>{\n const versionA = new $91BVH(a, loose);\n const versionB = new $91BVH(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $4b79dde257bf9181$var$compareBuild;\n\n});\n\nparcelRequire.register(\"lVAUC\", function(module, exports) {\n\nvar $6tKWG = parcelRequire(\"6tKWG\");\nconst $ff6b8dd2cac3d46f$var$sort = (list, loose)=>list.sort((a, b)=>$6tKWG(a, b, loose));\nmodule.exports = $ff6b8dd2cac3d46f$var$sort;\n\n});\n\nparcelRequire.register(\"l0FT7\", function(module, exports) {\n\nvar $6tKWG = parcelRequire(\"6tKWG\");\nconst $f4ba17276d3db532$var$rsort = (list, loose)=>list.sort((a, b)=>$6tKWG(b, a, loose));\nmodule.exports = $f4ba17276d3db532$var$rsort;\n\n});\n\nparcelRequire.register(\"heBVO\", function(module, exports) {\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\nconst $c8c12adc7653bb5b$var$gt = (a, b, loose)=>$4JoNL(a, b, loose) > 0;\nmodule.exports = $c8c12adc7653bb5b$var$gt;\n\n});\n\nparcelRequire.register(\"dUk4A\", function(module, exports) {\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\nconst $a200136ab4eaaa1e$var$lt = (a, b, loose)=>$4JoNL(a, b, loose) < 0;\nmodule.exports = $a200136ab4eaaa1e$var$lt;\n\n});\n\nparcelRequire.register(\"auxRs\", function(module, exports) {\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\nconst $7a36f8d5081798d2$var$eq = (a, b, loose)=>$4JoNL(a, b, loose) === 0;\nmodule.exports = $7a36f8d5081798d2$var$eq;\n\n});\n\nparcelRequire.register(\"5fQ99\", function(module, exports) {\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\nconst $3d36cdac5e87418d$var$neq = (a, b, loose)=>$4JoNL(a, b, loose) !== 0;\nmodule.exports = $3d36cdac5e87418d$var$neq;\n\n});\n\nparcelRequire.register(\"hbNec\", function(module, exports) {\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\nconst $c839a66de62b141a$var$gte = (a, b, loose)=>$4JoNL(a, b, loose) >= 0;\nmodule.exports = $c839a66de62b141a$var$gte;\n\n});\n\nparcelRequire.register(\"hIjqP\", function(module, exports) {\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\nconst $ce559e6fffb86616$var$lte = (a, b, loose)=>$4JoNL(a, b, loose) <= 0;\nmodule.exports = $ce559e6fffb86616$var$lte;\n\n});\n\nparcelRequire.register(\"6bQRv\", function(module, exports) {\n\nvar $auxRs = parcelRequire(\"auxRs\");\n\nvar $5fQ99 = parcelRequire(\"5fQ99\");\n\nvar $heBVO = parcelRequire(\"heBVO\");\n\nvar $hbNec = parcelRequire(\"hbNec\");\n\nvar $dUk4A = parcelRequire(\"dUk4A\");\n\nvar $hIjqP = parcelRequire(\"hIjqP\");\nconst $481cc66e0bc547cb$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 $auxRs(a, b, loose);\n case \"!=\":\n return $5fQ99(a, b, loose);\n case \">\":\n return $heBVO(a, b, loose);\n case \">=\":\n return $hbNec(a, b, loose);\n case \"<\":\n return $dUk4A(a, b, loose);\n case \"<=\":\n return $hIjqP(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $481cc66e0bc547cb$var$cmp;\n\n});\n\nparcelRequire.register(\"1wZKb\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\n\nvar $96FHJ = parcelRequire(\"96FHJ\");\n\nvar $8MEeD = parcelRequire(\"8MEeD\");\nvar $11d8aca890c1c06a$require$re = $8MEeD.safeRe;\nvar $11d8aca890c1c06a$require$t = $8MEeD.t;\nconst $11d8aca890c1c06a$var$coerce = (version, options)=>{\n if (version instanceof $91BVH) 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($11d8aca890c1c06a$require$re[$11d8aca890c1c06a$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 = $11d8aca890c1c06a$require$re[$11d8aca890c1c06a$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 $11d8aca890c1c06a$require$re[$11d8aca890c1c06a$require$t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n $11d8aca890c1c06a$require$re[$11d8aca890c1c06a$require$t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return $96FHJ(`${match[2]}.${match[3] || \"0\"}.${match[4] || \"0\"}`, options);\n};\nmodule.exports = $11d8aca890c1c06a$var$coerce;\n\n});\n\nparcelRequire.register(\"1G6Y8\", function(module, exports) {\nconst $138f1e9045c1796a$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $138f1e9045c1796a$var$Comparator {\n static get ANY() {\n return $138f1e9045c1796a$var$ANY;\n }\n constructor(comp, options){\n options = $iQUJC(options);\n if (comp instanceof $138f1e9045c1796a$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $jDVdQ(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $138f1e9045c1796a$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $jDVdQ(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $138f1e9045c1796a$require$re[$138f1e9045c1796a$require$t.COMPARATORLOOSE] : $138f1e9045c1796a$require$re[$138f1e9045c1796a$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 = $138f1e9045c1796a$var$ANY;\n else this.semver = new $91BVH(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $jDVdQ(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $138f1e9045c1796a$var$ANY || version === $138f1e9045c1796a$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $91BVH(version, this.options);\n } catch (er) {\n return false;\n }\n return $6bQRv(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $138f1e9045c1796a$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $f7uHw(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $f7uHw(this.value, options).test(comp.semver);\n }\n options = $iQUJC(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 ($6bQRv(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($6bQRv(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $138f1e9045c1796a$var$Comparator;\n\nvar $iQUJC = parcelRequire(\"iQUJC\");\n\nvar $8MEeD = parcelRequire(\"8MEeD\");\nvar $138f1e9045c1796a$require$re = $8MEeD.safeRe;\nvar $138f1e9045c1796a$require$t = $8MEeD.t;\n\nvar $6bQRv = parcelRequire(\"6bQRv\");\n\nvar $jDVdQ = parcelRequire(\"jDVdQ\");\n\nvar $91BVH = parcelRequire(\"91BVH\");\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\n\n});\nparcelRequire.register(\"f7uHw\", function(module, exports) {\n// hoisted class for cyclic dependency\nclass $b01f530ed24bc047$var$Range {\n constructor(range, options){\n options = $iQUJC(options);\n if (range instanceof $b01f530ed24bc047$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $b01f530ed24bc047$var$Range(range.raw, options);\n }\n if (range instanceof $1G6Y8) {\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)=>!$b01f530ed24bc047$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 && $b01f530ed24bc047$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 && $b01f530ed24bc047$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $b01f530ed24bc047$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $b01f530ed24bc047$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 ? $b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.HYPHENRANGELOOSE] : $b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.HYPHENRANGE];\n range = range.replace(hr, $b01f530ed24bc047$var$hyphenReplace(this.options.includePrerelease));\n $jDVdQ(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.COMPARATORTRIM], $b01f530ed24bc047$require$comparatorTrimReplace);\n $jDVdQ(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.TILDETRIM], $b01f530ed24bc047$require$tildeTrimReplace);\n $jDVdQ(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.CARETTRIM], $b01f530ed24bc047$require$caretTrimReplace);\n $jDVdQ(\"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)=>$b01f530ed24bc047$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$b01f530ed24bc047$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 $jDVdQ(\"loose invalid filter\", comp, this.options);\n return !!comp.match($b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.COMPARATORLOOSE]);\n });\n $jDVdQ(\"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 $1G6Y8(comp, this.options));\n for (const comp of comparators){\n if ($b01f530ed24bc047$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 $b01f530ed24bc047$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $b01f530ed24bc047$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $b01f530ed24bc047$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $b01f530ed24bc047$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 $91BVH(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($b01f530ed24bc047$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $b01f530ed24bc047$var$Range;\n\nvar $l6u7r = parcelRequire(\"l6u7r\");\nconst $b01f530ed24bc047$var$cache = new $l6u7r({\n max: 1000\n});\n\nvar $iQUJC = parcelRequire(\"iQUJC\");\n\nvar $1G6Y8 = parcelRequire(\"1G6Y8\");\n\nvar $jDVdQ = parcelRequire(\"jDVdQ\");\n\nvar $91BVH = parcelRequire(\"91BVH\");\n\nvar $8MEeD = parcelRequire(\"8MEeD\");\nvar $b01f530ed24bc047$require$re = $8MEeD.safeRe;\nvar $b01f530ed24bc047$require$t = $8MEeD.t;\nvar $b01f530ed24bc047$require$comparatorTrimReplace = $8MEeD.comparatorTrimReplace;\nvar $b01f530ed24bc047$require$tildeTrimReplace = $8MEeD.tildeTrimReplace;\nvar $b01f530ed24bc047$require$caretTrimReplace = $8MEeD.caretTrimReplace;\n\nvar $krFuT = parcelRequire(\"krFuT\");\nvar $b01f530ed24bc047$require$FLAG_INCLUDE_PRERELEASE = $krFuT.FLAG_INCLUDE_PRERELEASE;\nvar $b01f530ed24bc047$require$FLAG_LOOSE = $krFuT.FLAG_LOOSE;\nconst $b01f530ed24bc047$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $b01f530ed24bc047$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $b01f530ed24bc047$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 $b01f530ed24bc047$var$parseComparator = (comp, options)=>{\n $jDVdQ(\"comp\", comp, options);\n comp = $b01f530ed24bc047$var$replaceCarets(comp, options);\n $jDVdQ(\"caret\", comp);\n comp = $b01f530ed24bc047$var$replaceTildes(comp, options);\n $jDVdQ(\"tildes\", comp);\n comp = $b01f530ed24bc047$var$replaceXRanges(comp, options);\n $jDVdQ(\"xrange\", comp);\n comp = $b01f530ed24bc047$var$replaceStars(comp, options);\n $jDVdQ(\"stars\", comp);\n return comp;\n};\nconst $b01f530ed24bc047$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 $b01f530ed24bc047$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$b01f530ed24bc047$var$replaceTilde(c, options)).join(\" \");\n};\nconst $b01f530ed24bc047$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.TILDELOOSE] : $b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $jDVdQ(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($b01f530ed24bc047$var$isX(M)) ret = \"\";\n else if ($b01f530ed24bc047$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($b01f530ed24bc047$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 $jDVdQ(\"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 $jDVdQ(\"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 $b01f530ed24bc047$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$b01f530ed24bc047$var$replaceCaret(c, options)).join(\" \");\n};\nconst $b01f530ed24bc047$var$replaceCaret = (comp, options)=>{\n $jDVdQ(\"caret\", comp, options);\n const r = options.loose ? $b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.CARETLOOSE] : $b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $jDVdQ(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($b01f530ed24bc047$var$isX(M)) ret = \"\";\n else if ($b01f530ed24bc047$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($b01f530ed24bc047$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 $jDVdQ(\"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 $jDVdQ(\"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 $jDVdQ(\"caret return\", ret);\n return ret;\n });\n};\nconst $b01f530ed24bc047$var$replaceXRanges = (comp, options)=>{\n $jDVdQ(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$b01f530ed24bc047$var$replaceXRange(c, options)).join(\" \");\n};\nconst $b01f530ed24bc047$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.XRANGELOOSE] : $b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $jDVdQ(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $b01f530ed24bc047$var$isX(M);\n const xm = xM || $b01f530ed24bc047$var$isX(m);\n const xp = xm || $b01f530ed24bc047$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 $jDVdQ(\"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 $b01f530ed24bc047$var$replaceStars = (comp, options)=>{\n $jDVdQ(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($b01f530ed24bc047$require$re[$b01f530ed24bc047$require$t.STAR], \"\");\n};\nconst $b01f530ed24bc047$var$replaceGTE0 = (comp, options)=>{\n $jDVdQ(\"replaceGTE0\", comp, options);\n return comp.trim().replace($b01f530ed24bc047$require$re[options.includePrerelease ? $b01f530ed24bc047$require$t.GTE0PRE : $b01f530ed24bc047$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 $b01f530ed24bc047$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb)=>{\n if ($b01f530ed24bc047$var$isX(fM)) from = \"\";\n else if ($b01f530ed24bc047$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($b01f530ed24bc047$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($b01f530ed24bc047$var$isX(tM)) to = \"\";\n else if ($b01f530ed24bc047$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($b01f530ed24bc047$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 $b01f530ed24bc047$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 $jDVdQ(set[i].semver);\n if (set[i].semver === $1G6Y8.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(\"l6u7r\", function(module, exports) {\n\"use strict\";\n\nvar $hDmTp = parcelRequire(\"hDmTp\");\nconst $f5d185890bd7fcf1$var$MAX = Symbol(\"max\");\nconst $f5d185890bd7fcf1$var$LENGTH = Symbol(\"length\");\nconst $f5d185890bd7fcf1$var$LENGTH_CALCULATOR = Symbol(\"lengthCalculator\");\nconst $f5d185890bd7fcf1$var$ALLOW_STALE = Symbol(\"allowStale\");\nconst $f5d185890bd7fcf1$var$MAX_AGE = Symbol(\"maxAge\");\nconst $f5d185890bd7fcf1$var$DISPOSE = Symbol(\"dispose\");\nconst $f5d185890bd7fcf1$var$NO_DISPOSE_ON_SET = Symbol(\"noDisposeOnSet\");\nconst $f5d185890bd7fcf1$var$LRU_LIST = Symbol(\"lruList\");\nconst $f5d185890bd7fcf1$var$CACHE = Symbol(\"cache\");\nconst $f5d185890bd7fcf1$var$UPDATE_AGE_ON_GET = Symbol(\"updateAgeOnGet\");\nconst $f5d185890bd7fcf1$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 $f5d185890bd7fcf1$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[$f5d185890bd7fcf1$var$MAX] = options.max || Infinity;\n const lc = options.length || $f5d185890bd7fcf1$var$naiveLength;\n this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR] = typeof lc !== \"function\" ? $f5d185890bd7fcf1$var$naiveLength : lc;\n this[$f5d185890bd7fcf1$var$ALLOW_STALE] = options.stale || false;\n if (options.maxAge && typeof options.maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n this[$f5d185890bd7fcf1$var$MAX_AGE] = options.maxAge || 0;\n this[$f5d185890bd7fcf1$var$DISPOSE] = options.dispose;\n this[$f5d185890bd7fcf1$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;\n this[$f5d185890bd7fcf1$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[$f5d185890bd7fcf1$var$MAX] = mL || Infinity;\n $f5d185890bd7fcf1$var$trim(this);\n }\n get max() {\n return this[$f5d185890bd7fcf1$var$MAX];\n }\n set allowStale(allowStale) {\n this[$f5d185890bd7fcf1$var$ALLOW_STALE] = !!allowStale;\n }\n get allowStale() {\n return this[$f5d185890bd7fcf1$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[$f5d185890bd7fcf1$var$MAX_AGE] = mA;\n $f5d185890bd7fcf1$var$trim(this);\n }\n get maxAge() {\n return this[$f5d185890bd7fcf1$var$MAX_AGE];\n }\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator(lC) {\n if (typeof lC !== \"function\") lC = $f5d185890bd7fcf1$var$naiveLength;\n if (lC !== this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR]) {\n this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR] = lC;\n this[$f5d185890bd7fcf1$var$LENGTH] = 0;\n this[$f5d185890bd7fcf1$var$LRU_LIST].forEach((hit)=>{\n hit.length = this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR](hit.value, hit.key);\n this[$f5d185890bd7fcf1$var$LENGTH] += hit.length;\n });\n }\n $f5d185890bd7fcf1$var$trim(this);\n }\n get lengthCalculator() {\n return this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR];\n }\n get length() {\n return this[$f5d185890bd7fcf1$var$LENGTH];\n }\n get itemCount() {\n return this[$f5d185890bd7fcf1$var$LRU_LIST].length;\n }\n rforEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$f5d185890bd7fcf1$var$LRU_LIST].tail; walker !== null;){\n const prev = walker.prev;\n $f5d185890bd7fcf1$var$forEachStep(this, fn, walker, thisp);\n walker = prev;\n }\n }\n forEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$f5d185890bd7fcf1$var$LRU_LIST].head; walker !== null;){\n const next = walker.next;\n $f5d185890bd7fcf1$var$forEachStep(this, fn, walker, thisp);\n walker = next;\n }\n }\n keys() {\n return this[$f5d185890bd7fcf1$var$LRU_LIST].toArray().map((k)=>k.key);\n }\n values() {\n return this[$f5d185890bd7fcf1$var$LRU_LIST].toArray().map((k)=>k.value);\n }\n reset() {\n if (this[$f5d185890bd7fcf1$var$DISPOSE] && this[$f5d185890bd7fcf1$var$LRU_LIST] && this[$f5d185890bd7fcf1$var$LRU_LIST].length) this[$f5d185890bd7fcf1$var$LRU_LIST].forEach((hit)=>this[$f5d185890bd7fcf1$var$DISPOSE](hit.key, hit.value));\n this[$f5d185890bd7fcf1$var$CACHE] = new Map() // hash of items by key\n ;\n this[$f5d185890bd7fcf1$var$LRU_LIST] = new $hDmTp() // list of items in order of use recency\n ;\n this[$f5d185890bd7fcf1$var$LENGTH] = 0 // length of items in the list\n ;\n }\n dump() {\n return this[$f5d185890bd7fcf1$var$LRU_LIST].map((hit)=>$f5d185890bd7fcf1$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[$f5d185890bd7fcf1$var$LRU_LIST];\n }\n set(key, value, maxAge) {\n maxAge = maxAge || this[$f5d185890bd7fcf1$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[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR](value, key);\n if (this[$f5d185890bd7fcf1$var$CACHE].has(key)) {\n if (len > this[$f5d185890bd7fcf1$var$MAX]) {\n $f5d185890bd7fcf1$var$del(this, this[$f5d185890bd7fcf1$var$CACHE].get(key));\n return false;\n }\n const node = this[$f5d185890bd7fcf1$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[$f5d185890bd7fcf1$var$DISPOSE]) {\n if (!this[$f5d185890bd7fcf1$var$NO_DISPOSE_ON_SET]) this[$f5d185890bd7fcf1$var$DISPOSE](key, item.value);\n }\n item.now = now;\n item.maxAge = maxAge;\n item.value = value;\n this[$f5d185890bd7fcf1$var$LENGTH] += len - item.length;\n item.length = len;\n this.get(key);\n $f5d185890bd7fcf1$var$trim(this);\n return true;\n }\n const hit = new $f5d185890bd7fcf1$var$Entry(key, value, len, now, maxAge);\n // oversized objects fall out of cache automatically.\n if (hit.length > this[$f5d185890bd7fcf1$var$MAX]) {\n if (this[$f5d185890bd7fcf1$var$DISPOSE]) this[$f5d185890bd7fcf1$var$DISPOSE](key, value);\n return false;\n }\n this[$f5d185890bd7fcf1$var$LENGTH] += hit.length;\n this[$f5d185890bd7fcf1$var$LRU_LIST].unshift(hit);\n this[$f5d185890bd7fcf1$var$CACHE].set(key, this[$f5d185890bd7fcf1$var$LRU_LIST].head);\n $f5d185890bd7fcf1$var$trim(this);\n return true;\n }\n has(key) {\n if (!this[$f5d185890bd7fcf1$var$CACHE].has(key)) return false;\n const hit = this[$f5d185890bd7fcf1$var$CACHE].get(key).value;\n return !$f5d185890bd7fcf1$var$isStale(this, hit);\n }\n get(key) {\n return $f5d185890bd7fcf1$var$get(this, key, true);\n }\n peek(key) {\n return $f5d185890bd7fcf1$var$get(this, key, false);\n }\n pop() {\n const node = this[$f5d185890bd7fcf1$var$LRU_LIST].tail;\n if (!node) return null;\n $f5d185890bd7fcf1$var$del(this, node);\n return node.value;\n }\n del(key) {\n $f5d185890bd7fcf1$var$del(this, this[$f5d185890bd7fcf1$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[$f5d185890bd7fcf1$var$CACHE].forEach((value, key)=>$f5d185890bd7fcf1$var$get(this, key, false));\n }\n}\nconst $f5d185890bd7fcf1$var$get = (self, key, doUse)=>{\n const node = self[$f5d185890bd7fcf1$var$CACHE].get(key);\n if (node) {\n const hit = node.value;\n if ($f5d185890bd7fcf1$var$isStale(self, hit)) {\n $f5d185890bd7fcf1$var$del(self, node);\n if (!self[$f5d185890bd7fcf1$var$ALLOW_STALE]) return undefined;\n } else if (doUse) {\n if (self[$f5d185890bd7fcf1$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();\n self[$f5d185890bd7fcf1$var$LRU_LIST].unshiftNode(node);\n }\n return hit.value;\n }\n};\nconst $f5d185890bd7fcf1$var$isStale = (self, hit)=>{\n if (!hit || !hit.maxAge && !self[$f5d185890bd7fcf1$var$MAX_AGE]) return false;\n const diff = Date.now() - hit.now;\n return hit.maxAge ? diff > hit.maxAge : self[$f5d185890bd7fcf1$var$MAX_AGE] && diff > self[$f5d185890bd7fcf1$var$MAX_AGE];\n};\nconst $f5d185890bd7fcf1$var$trim = (self)=>{\n if (self[$f5d185890bd7fcf1$var$LENGTH] > self[$f5d185890bd7fcf1$var$MAX]) for(let walker = self[$f5d185890bd7fcf1$var$LRU_LIST].tail; self[$f5d185890bd7fcf1$var$LENGTH] > self[$f5d185890bd7fcf1$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 $f5d185890bd7fcf1$var$del(self, walker);\n walker = prev;\n }\n};\nconst $f5d185890bd7fcf1$var$del = (self, node)=>{\n if (node) {\n const hit = node.value;\n if (self[$f5d185890bd7fcf1$var$DISPOSE]) self[$f5d185890bd7fcf1$var$DISPOSE](hit.key, hit.value);\n self[$f5d185890bd7fcf1$var$LENGTH] -= hit.length;\n self[$f5d185890bd7fcf1$var$CACHE].delete(hit.key);\n self[$f5d185890bd7fcf1$var$LRU_LIST].removeNode(node);\n }\n};\nclass $f5d185890bd7fcf1$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 $f5d185890bd7fcf1$var$forEachStep = (self, fn, node, thisp)=>{\n let hit = node.value;\n if ($f5d185890bd7fcf1$var$isStale(self, hit)) {\n $f5d185890bd7fcf1$var$del(self, node);\n if (!self[$f5d185890bd7fcf1$var$ALLOW_STALE]) hit = undefined;\n }\n if (hit) fn.call(thisp, hit.value, hit.key, self);\n};\nmodule.exports = $f5d185890bd7fcf1$var$LRUCache;\n\n});\nparcelRequire.register(\"hDmTp\", function(module, exports) {\n\"use strict\";\nmodule.exports = $cd67d63788a88f0d$var$Yallist;\n$cd67d63788a88f0d$var$Yallist.Node = $cd67d63788a88f0d$var$Node;\n$cd67d63788a88f0d$var$Yallist.create = $cd67d63788a88f0d$var$Yallist;\nfunction $cd67d63788a88f0d$var$Yallist(list) {\n var self = this;\n if (!(self instanceof $cd67d63788a88f0d$var$Yallist)) self = new $cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$var$Yallist.prototype.push = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$cd67d63788a88f0d$var$push(this, arguments[i]);\n return this.length;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.unshift = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$cd67d63788a88f0d$var$unshift(this, arguments[i]);\n return this.length;\n};\n$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$var$Yallist.prototype.map = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $cd67d63788a88f0d$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$cd67d63788a88f0d$var$Yallist.prototype.mapReverse = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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$cd67d63788a88f0d$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 $cd67d63788a88f0d$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$cd67d63788a88f0d$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 $cd67d63788a88f0d$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$cd67d63788a88f0d$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 = $cd67d63788a88f0d$var$insert(this, walker, nodes[i]);\n return ret;\n};\n$cd67d63788a88f0d$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 $cd67d63788a88f0d$var$insert(self, node, value) {\n var inserted = node === self.head ? new $cd67d63788a88f0d$var$Node(value, null, node, self) : new $cd67d63788a88f0d$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 $cd67d63788a88f0d$var$push(self, item) {\n self.tail = new $cd67d63788a88f0d$var$Node(item, self.tail, null, self);\n if (!self.head) self.head = self.tail;\n self.length++;\n}\nfunction $cd67d63788a88f0d$var$unshift(self, item) {\n self.head = new $cd67d63788a88f0d$var$Node(item, null, self.head, self);\n if (!self.tail) self.tail = self.head;\n self.length++;\n}\nfunction $cd67d63788a88f0d$var$Node(value, prev, next, list) {\n if (!(this instanceof $cd67d63788a88f0d$var$Node)) return new $cd67d63788a88f0d$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(\"hSPNO\"))($cd67d63788a88f0d$var$Yallist);\n} catch (er) {}\n\n});\nparcelRequire.register(\"hSPNO\", 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(\"02l67\", function(module, exports) {\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\nconst $00708d9aad22f84b$var$satisfies = (version, range, options)=>{\n try {\n range = new $f7uHw(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $00708d9aad22f84b$var$satisfies;\n\n});\n\nparcelRequire.register(\"ecqgW\", function(module, exports) {\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\n// Mostly just for testing and legacy API reasons\nconst $a56690caed01c973$var$toComparators = (range, options)=>new $f7uHw(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $a56690caed01c973$var$toComparators;\n\n});\n\nparcelRequire.register(\"ekdWz\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\nconst $a6ddbfe2bf8add36$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $f7uHw(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 $91BVH(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $a6ddbfe2bf8add36$var$maxSatisfying;\n\n});\n\nparcelRequire.register(\"30suU\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\nconst $23077a37ab94fd60$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $f7uHw(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 $91BVH(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $23077a37ab94fd60$var$minSatisfying;\n\n});\n\nparcelRequire.register(\"50mz4\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\n\nvar $heBVO = parcelRequire(\"heBVO\");\nconst $3a4e74b7a2fc6cdd$var$minVersion = (range, loose)=>{\n range = new $f7uHw(range, loose);\n let minver = new $91BVH(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $91BVH(\"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 $91BVH(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 || $heBVO(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 || $heBVO(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $3a4e74b7a2fc6cdd$var$minVersion;\n\n});\n\nparcelRequire.register(\"kQjey\", function(module, exports) {\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\nconst $f2c7956839d6ce28$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 $f7uHw(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $f2c7956839d6ce28$var$validRange;\n\n});\n\nparcelRequire.register(\"lhmHa\", function(module, exports) {\n\nvar $91BVH = parcelRequire(\"91BVH\");\n\nvar $1G6Y8 = parcelRequire(\"1G6Y8\");\nconst { ANY: $f7dcca49fab49419$var$ANY } = $1G6Y8;\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\n\nvar $02l67 = parcelRequire(\"02l67\");\n\nvar $heBVO = parcelRequire(\"heBVO\");\n\nvar $dUk4A = parcelRequire(\"dUk4A\");\n\nvar $hIjqP = parcelRequire(\"hIjqP\");\n\nvar $hbNec = parcelRequire(\"hbNec\");\nconst $f7dcca49fab49419$var$outside = (version, range, hilo, options)=>{\n version = new $91BVH(version, options);\n range = new $f7uHw(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $heBVO;\n ltefn = $hIjqP;\n ltfn = $dUk4A;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $dUk4A;\n ltefn = $hbNec;\n ltfn = $heBVO;\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 ($02l67(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 === $f7dcca49fab49419$var$ANY) comparator = new $1G6Y8(\">=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 = $f7dcca49fab49419$var$outside;\n\n});\n\nparcelRequire.register(\"jsEJo\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $lhmHa = parcelRequire(\"lhmHa\");\nconst $e2b03a3736d1de4a$var$gtr = (version, range, options)=>$lhmHa(version, range, \">\", options);\nmodule.exports = $e2b03a3736d1de4a$var$gtr;\n\n});\n\nparcelRequire.register(\"iKCt7\", function(module, exports) {\n\nvar $lhmHa = parcelRequire(\"lhmHa\");\n// Determine if version is less than all the versions possible in the range\nconst $da6a5cf2563ea9c3$var$ltr = (version, range, options)=>$lhmHa(version, range, \"<\", options);\nmodule.exports = $da6a5cf2563ea9c3$var$ltr;\n\n});\n\nparcelRequire.register(\"j8uK3\", function(module, exports) {\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\nconst $dee69c5f01f1cfb5$var$intersects = (r1, r2, options)=>{\n r1 = new $f7uHw(r1, options);\n r2 = new $f7uHw(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $dee69c5f01f1cfb5$var$intersects;\n\n});\n\nparcelRequire.register(\"bgiFn\", 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 $02l67 = parcelRequire(\"02l67\");\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$4JoNL(a, b, options));\n for (const version of v){\n const included = $02l67(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(\"d3ksB\", function(module, exports) {\n\nvar $f7uHw = parcelRequire(\"f7uHw\");\n\nvar $1G6Y8 = parcelRequire(\"1G6Y8\");\nconst { ANY: $0273cc1556793b87$var$ANY } = $1G6Y8;\n\nvar $02l67 = parcelRequire(\"02l67\");\n\nvar $4JoNL = parcelRequire(\"4JoNL\");\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 $0273cc1556793b87$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $f7uHw(sub, options);\n dom = new $f7uHw(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $0273cc1556793b87$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 $0273cc1556793b87$var$minimumVersionWithPreRelease = [\n new $1G6Y8(\">=0.0.0-0\")\n];\nconst $0273cc1556793b87$var$minimumVersion = [\n new $1G6Y8(\">=0.0.0\")\n];\nconst $0273cc1556793b87$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $0273cc1556793b87$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $0273cc1556793b87$var$ANY) return true;\n else if (options.includePrerelease) sub = $0273cc1556793b87$var$minimumVersionWithPreRelease;\n else sub = $0273cc1556793b87$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $0273cc1556793b87$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $0273cc1556793b87$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 = $0273cc1556793b87$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $0273cc1556793b87$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 = $4JoNL(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 && !$02l67(eq, String(gt), options)) return null;\n if (lt && !$02l67(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$02l67(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 = $0273cc1556793b87$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$02l67(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 = $0273cc1556793b87$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$02l67(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 $0273cc1556793b87$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $4JoNL(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 $0273cc1556793b87$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $4JoNL(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $0273cc1556793b87$var$subset;\n\n});\n\n\nparcelRequire.register(\"ceI0e\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $c4a4e66c88c6a351$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $c4a4e66c88c6a351$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $c4a4e66c88c6a351$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $d7DIX$path.dirname);\n$parcel$export(module.exports, \"join\", () => $d7DIX$path.join);\n\n\nvar $9ag04 = parcelRequire(\"9ag04\");\n\nvar $923E2 = parcelRequire(\"923E2\");\nfunction $c4a4e66c88c6a351$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 $c4a4e66c88c6a351$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 $c4a4e66c88c6a351$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $d7DIX$path.basename)(e) : (0, $d7DIX$path.basename)(e, (0, $d7DIX$path.extname)(e));\n}\nfunction $c4a4e66c88c6a351$export$873fead74fe2f1ff(e) {\n return (0, $d7DIX$path.normalize)(e).replace(RegExp((0, $9ag04.default)((0, $d7DIX$path.sep)) + \"$\"), \"\");\n}\nfunction $c4a4e66c88c6a351$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $c4a4e66c88c6a351$export$3e333f8cb13439c(e, a) {\n const r = (0, $d7DIX$path.extname)(e), s = `${a}${(0, $d7DIX$path.basename)(e, r)}${r}`;\n return (0, $d7DIX$path.join)((0, $d7DIX$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $d7DIX$path.extname)(e), s = `${(0, $d7DIX$path.basename)(e, r)}${a}${r}`;\n return (0, $d7DIX$path.join)((0, $d7DIX$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $c4a4e66c88c6a351$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $c4a4e66c88c6a351$export$19c5468f88f6e968(e) {\n const a = (0, $d7DIX$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $c4a4e66c88c6a351$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($923E2)))(e, a);\n}\nfunction $c4a4e66c88c6a351$export$7d0573375890d05c(e, a) {\n const r = (0, $d7DIX$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $d7DIX$path.sep)) || r === (0, $d7DIX$path.resolve)(e));\n}\nvar $c4a4e66c88c6a351$var$O = {}, $c4a4e66c88c6a351$var$R = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$R, \"name\", ()=>$c4a4e66c88c6a351$export$a8ff84c12d48cfa6);\nvar $c4a4e66c88c6a351$var$A = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$A, \"normalizeTrim\", ()=>$c4a4e66c88c6a351$export$873fead74fe2f1ff);\nvar $c4a4e66c88c6a351$var$I = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$I, \"addExeExt\", ()=>$c4a4e66c88c6a351$export$2d20c564cade3c93);\nvar $c4a4e66c88c6a351$var$T = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$T, \"addNamePrefix\", ()=>$c4a4e66c88c6a351$export$3e333f8cb13439c);\nvar $c4a4e66c88c6a351$var$_ = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$_, \"addNameSuffix\", ()=>$c4a4e66c88c6a351$export$3b60a3e9bd1aef9d);\nvar $c4a4e66c88c6a351$var$k = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$k, \"addShExt\", ()=>$c4a4e66c88c6a351$export$609be29b80b555e1);\nvar $c4a4e66c88c6a351$var$M = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$M, \"addShRelativePrefix\", ()=>$c4a4e66c88c6a351$export$e1f23f8d3e53fe6);\nvar $c4a4e66c88c6a351$var$W = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$W, \"removeExt\", ()=>$c4a4e66c88c6a351$export$19c5468f88f6e968);\nvar $c4a4e66c88c6a351$var$q = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$q, \"replaceExt\", ()=>$c4a4e66c88c6a351$export$e9c34737ac8e53d2);\nvar $c4a4e66c88c6a351$var$B = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$B, \"isPathInside\", ()=>$c4a4e66c88c6a351$export$7d0573375890d05c), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$R), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$A), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$I), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$T), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$_), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$k), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$M), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$W), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$q), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$B);\n\n});\nparcelRequire.register(\"9ag04\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $6ac1758338af6957$export$2e2bcd8739ae039);\nfunction $6ac1758338af6957$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 its 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(\"923E2\", function(module, exports) {\n\"use strict\";\n\nfunction $693720bda980a8cc$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $d7DIX$path.basename(npath, $d7DIX$path.extname(npath)) + ext;\n var nFilepath = $d7DIX$path.join($d7DIX$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 ($693720bda980a8cc$var$startsWithSingleDot(npath)) return \".\" + $d7DIX$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $693720bda980a8cc$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $d7DIX$path.sep || first2chars === \"./\";\n}\nmodule.exports = $693720bda980a8cc$var$replaceExt;\n\n});\n\n\nparcelRequire.register(\"a3PNV\", function(module, exports) {\nmodule.exports = $75325e6c99dba15d$var$isexe;\n$75325e6c99dba15d$var$isexe.sync = $75325e6c99dba15d$var$sync;\n\nfunction $75325e6c99dba15d$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 $75325e6c99dba15d$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $75325e6c99dba15d$var$checkPathExt(path, options);\n}\nfunction $75325e6c99dba15d$var$isexe(path, options, cb) {\n $d7DIX$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $75325e6c99dba15d$var$checkStat(stat, path, options));\n });\n}\nfunction $75325e6c99dba15d$var$sync(path, options) {\n return $75325e6c99dba15d$var$checkStat($d7DIX$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRequire.register(\"7gw6J\", function(module, exports) {\nmodule.exports = $54a2eef118d51a70$var$isexe;\n$54a2eef118d51a70$var$isexe.sync = $54a2eef118d51a70$var$sync;\n\nfunction $54a2eef118d51a70$var$isexe(path, options, cb) {\n $d7DIX$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $54a2eef118d51a70$var$checkStat(stat, options));\n });\n}\nfunction $54a2eef118d51a70$var$sync(path, options) {\n return $54a2eef118d51a70$var$checkStat($d7DIX$fs.statSync(path), options);\n}\nfunction $54a2eef118d51a70$var$checkStat(stat, options) {\n return stat.isFile() && $54a2eef118d51a70$var$checkMode(stat, options);\n}\nfunction $54a2eef118d51a70$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(\"1YMV0\", 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(\"awj79\", function(module, exports) {\n\"use strict\";\nvar $7a8bb83d1ba056f9$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($7a8bb83d1ba056f9$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRequire.register(\"dOmbL\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $a0e12815be477d21$export$f8b9fb4db095815b);\n\nasync function $a0e12815be477d21$export$f8b9fb4db095815b(path) {\n try {\n await (0, $d7DIX$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $a0e12815be477d21$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($d7DIX$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRequire.register(\"fcBgE\", function(module, exports) {\n\"use strict\";\nvar $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$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)) $b114e28ec2b1dab2$var$__createBinding(result, mod, k);\n }\n $b114e28ec2b1dab2$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$path = $b114e28ec2b1dab2$var$__importStar($d7DIX$path);\n\nconst $b114e28ec2b1dab2$var$ioUtil = $b114e28ec2b1dab2$var$__importStar((parcelRequire(\"ejt9m\")));\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 $b114e28ec2b1dab2$var$cp(source, dest, options = {}) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $b114e28ec2b1dab2$var$readCopyOptions(options);\n const destStat = (yield $b114e28ec2b1dab2$var$ioUtil.exists(dest)) ? yield $b114e28ec2b1dab2$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 ? $b114e28ec2b1dab2$var$path.join(dest, $b114e28ec2b1dab2$var$path.basename(source)) : dest;\n if (!(yield $b114e28ec2b1dab2$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$mv(source, dest, options = {}) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $b114e28ec2b1dab2$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $b114e28ec2b1dab2$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $b114e28ec2b1dab2$var$path.join(dest, $b114e28ec2b1dab2$var$path.basename(source));\n destExists = yield $b114e28ec2b1dab2$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $b114e28ec2b1dab2$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $b114e28ec2b1dab2$var$mkdirP($b114e28ec2b1dab2$var$path.dirname(dest));\n yield $b114e28ec2b1dab2$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $b114e28ec2b1dab2$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $b114e28ec2b1dab2$var$rmRF(inputPath) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if ($b114e28ec2b1dab2$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 $b114e28ec2b1dab2$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 = $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$mkdirP(fsPath) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok(fsPath, \"a path argument must be provided\");\n yield $b114e28ec2b1dab2$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$which(tool, check) {\n return $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$which(tool, false);\n if (!result) {\n if ($b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$findInPath(tool) {\n return $b114e28ec2b1dab2$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 ($b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($b114e28ec2b1dab2$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($b114e28ec2b1dab2$var$ioUtil.isRooted(tool)) {\n const filePath = yield $b114e28ec2b1dab2$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($b114e28ec2b1dab2$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($b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$ioUtil.tryGetExecutablePath($b114e28ec2b1dab2$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $b114e28ec2b1dab2$var$findInPath;\nfunction $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$mkdirP(destDir);\n const files = yield $b114e28ec2b1dab2$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $b114e28ec2b1dab2$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $b114e28ec2b1dab2$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $b114e28ec2b1dab2$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $b114e28ec2b1dab2$var$ioUtil.chmod(destDir, (yield $b114e28ec2b1dab2$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $b114e28ec2b1dab2$var$copyFile(srcFile, destFile, force) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $b114e28ec2b1dab2$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $b114e28ec2b1dab2$var$ioUtil.lstat(destFile);\n yield $b114e28ec2b1dab2$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $b114e28ec2b1dab2$var$ioUtil.chmod(destFile, \"0666\");\n yield $b114e28ec2b1dab2$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 $b114e28ec2b1dab2$var$ioUtil.readlink(srcFile);\n yield $b114e28ec2b1dab2$var$ioUtil.symlink(symlinkFull, destFile, $b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $b114e28ec2b1dab2$var$ioUtil.exists(destFile)) || force) yield $b114e28ec2b1dab2$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRequire.register(\"ejt9m\", function(module, exports) {\n\"use strict\";\nvar $a6b97397ae88c6aa$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 $a6b97397ae88c6aa$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 $a6b97397ae88c6aa$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)) $a6b97397ae88c6aa$var$__createBinding(result, mod, k);\n }\n $a6b97397ae88c6aa$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $a6b97397ae88c6aa$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 $a6b97397ae88c6aa$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 $a6b97397ae88c6aa$var$fs = $a6b97397ae88c6aa$var$__importStar($d7DIX$fs);\n\nconst $a6b97397ae88c6aa$var$path = $a6b97397ae88c6aa$var$__importStar($d7DIX$path);\n$a6b97397ae88c6aa$var$_a = $a6b97397ae88c6aa$var$fs.promises, module.exports.chmod = $a6b97397ae88c6aa$var$_a.chmod, module.exports.copyFile = $a6b97397ae88c6aa$var$_a.copyFile, module.exports.lstat = $a6b97397ae88c6aa$var$_a.lstat, module.exports.mkdir = $a6b97397ae88c6aa$var$_a.mkdir, module.exports.open = $a6b97397ae88c6aa$var$_a.open, module.exports.readdir = $a6b97397ae88c6aa$var$_a.readdir, module.exports.readlink = $a6b97397ae88c6aa$var$_a.readlink, module.exports.rename = $a6b97397ae88c6aa$var$_a.rename, module.exports.rm = $a6b97397ae88c6aa$var$_a.rm, module.exports.rmdir = $a6b97397ae88c6aa$var$_a.rmdir, module.exports.stat = $a6b97397ae88c6aa$var$_a.stat, module.exports.symlink = $a6b97397ae88c6aa$var$_a.symlink, module.exports.unlink = $a6b97397ae88c6aa$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 = $a6b97397ae88c6aa$var$fs.constants.O_RDONLY;\nfunction $a6b97397ae88c6aa$var$exists(fsPath) {\n return $a6b97397ae88c6aa$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 = $a6b97397ae88c6aa$var$exists;\nfunction $a6b97397ae88c6aa$var$isDirectory(fsPath, useStat = false) {\n return $a6b97397ae88c6aa$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 = $a6b97397ae88c6aa$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 $a6b97397ae88c6aa$var$isRooted(p) {\n p = $a6b97397ae88c6aa$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 = $a6b97397ae88c6aa$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 $a6b97397ae88c6aa$var$tryGetExecutablePath(filePath, extensions) {\n return $a6b97397ae88c6aa$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 = $a6b97397ae88c6aa$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($a6b97397ae88c6aa$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 = $a6b97397ae88c6aa$var$path.dirname(filePath);\n const upperName = $a6b97397ae88c6aa$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $a6b97397ae88c6aa$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 ($a6b97397ae88c6aa$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $a6b97397ae88c6aa$var$tryGetExecutablePath;\nfunction $a6b97397ae88c6aa$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 $a6b97397ae88c6aa$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 $a6b97397ae88c6aa$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $a6b97397ae88c6aa$var$getCmdPath;\n\n});\n\n\nparcelRequire.register(\"ktIRP\", function(module, exports) {\n\"use strict\";\nvar $ee8951c0913480f3$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 $ee8951c0913480f3$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 $ee8951c0913480f3$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)) $ee8951c0913480f3$var$__createBinding(result, mod, k);\n }\n $ee8951c0913480f3$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ee8951c0913480f3$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 $ee8951c0913480f3$var$semver = $ee8951c0913480f3$var$__importStar((parcelRequire(\"aNgTs\")));\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\n\n\nfunction $ee8951c0913480f3$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $ee8951c0913480f3$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $d7DIX$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $lcRzN.debug(`check ${version} satisfies ${versionSpec}`);\n if ($ee8951c0913480f3$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $lcRzN.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 = $ee8951c0913480f3$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $lcRzN.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 = $ee8951c0913480f3$var$_findMatch;\nfunction $ee8951c0913480f3$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 = $d7DIX$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $d7DIX$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 = $ee8951c0913480f3$var$_getOsVersion;\nfunction $ee8951c0913480f3$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($d7DIX$fs.existsSync(lsbReleaseFile)) contents = $d7DIX$fs.readFileSync(lsbReleaseFile).toString();\n else if ($d7DIX$fs.existsSync(osReleaseFile)) contents = $d7DIX$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $ee8951c0913480f3$var$_readLinuxVersionFile;\n\n});\nparcelRequire.register(\"aNgTs\", 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;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar 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.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\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] = \"\\\\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\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] = LETTERDASHNUMBER + \"+\";\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\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(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\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(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\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(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\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(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]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace 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.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\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 ? safeRe[t.LOOSE] : safeRe[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 ? safeRe[t.LOOSE] : safeRe[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 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 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 ? safeRe[t.COMPARATORLOOSE] : safeRe[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 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 based on boolean or ||\n this.set = this.raw.split(\"||\").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: \" + this.raw);\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 // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[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(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 ? safeRe[t.COMPARATORLOOSE] : safeRe[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 ? safeRe[t.TILDELOOSE] : safeRe[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 ? safeRe[t.CARETLOOSE] : safeRe[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 ? safeRe[t.XRANGELOOSE] : safeRe[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(safeRe[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(safeRe[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 = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[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(\"dGCqI\", function(module, exports) {\n\nvar $fVQSr = parcelRequire(\"fVQSr\");\n\nvar $3MZit = parcelRequire(\"3MZit\");\nfunction $9f6d01fe1d33d468$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 || $fVQSr)();\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 || $3MZit(rnds);\n}\nmodule.exports = $9f6d01fe1d33d468$var$v4;\n\n});\nparcelRequire.register(\"fVQSr\", 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 $d7DIX$crypto.randomBytes(16);\n};\n\n});\n\nparcelRequire.register(\"3MZit\", 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 $2c25671a93697bfe$var$byteToHex = [];\nfor(var $2c25671a93697bfe$var$i = 0; $2c25671a93697bfe$var$i < 256; ++$2c25671a93697bfe$var$i)$2c25671a93697bfe$var$byteToHex[$2c25671a93697bfe$var$i] = ($2c25671a93697bfe$var$i + 0x100).toString(16).substr(1);\nfunction $2c25671a93697bfe$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $2c25671a93697bfe$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 = $2c25671a93697bfe$var$bytesToUuid;\n\n});\n\n\nparcelRequire.register(\"jlr6Q\", function(module, exports) {\n\"use strict\";\nvar $e15501dac30ed2d7$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 $e15501dac30ed2d7$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 $e15501dac30ed2d7$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)) $e15501dac30ed2d7$var$__createBinding(result, mod, k);\n }\n $e15501dac30ed2d7$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $e15501dac30ed2d7$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 $e15501dac30ed2d7$var$tr = $e15501dac30ed2d7$var$__importStar((parcelRequire(\"jbxr5\")));\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 $e15501dac30ed2d7$var$exec(commandLine, args, options) {\n return $e15501dac30ed2d7$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $e15501dac30ed2d7$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 $e15501dac30ed2d7$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $e15501dac30ed2d7$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 $e15501dac30ed2d7$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $e15501dac30ed2d7$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 $d7DIX$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $d7DIX$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 $e15501dac30ed2d7$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 = $e15501dac30ed2d7$var$getExecOutput;\n\n});\nparcelRequire.register(\"jbxr5\", function(module, exports) {\n\"use strict\";\nvar $df78fb148e5cacf0$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 $df78fb148e5cacf0$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 $df78fb148e5cacf0$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)) $df78fb148e5cacf0$var$__createBinding(result, mod, k);\n }\n $df78fb148e5cacf0$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $df78fb148e5cacf0$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 $df78fb148e5cacf0$var$os = $df78fb148e5cacf0$var$__importStar($d7DIX$os);\n\nconst $df78fb148e5cacf0$var$events = $df78fb148e5cacf0$var$__importStar($d7DIX$events);\n\nconst $df78fb148e5cacf0$var$child = $df78fb148e5cacf0$var$__importStar($d7DIX$child_process);\n\nconst $df78fb148e5cacf0$var$path = $df78fb148e5cacf0$var$__importStar($d7DIX$path);\n\nconst $df78fb148e5cacf0$var$io = $df78fb148e5cacf0$var$__importStar((parcelRequire(\"fcBgE\")));\n\nconst $df78fb148e5cacf0$var$ioUtil = $df78fb148e5cacf0$var$__importStar((parcelRequire(\"ejt9m\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $df78fb148e5cacf0$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 $df78fb148e5cacf0$var$ToolRunner extends $df78fb148e5cacf0$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 ($df78fb148e5cacf0$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($df78fb148e5cacf0$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 + $df78fb148e5cacf0$var$os.EOL.length);\n n = s.indexOf($df78fb148e5cacf0$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 ($df78fb148e5cacf0$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($df78fb148e5cacf0$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 $df78fb148e5cacf0$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$df78fb148e5cacf0$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $df78fb148e5cacf0$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 = $df78fb148e5cacf0$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 $df78fb148e5cacf0$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$df78fb148e5cacf0$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) + $df78fb148e5cacf0$var$os.EOL);\n const state = new $df78fb148e5cacf0$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $df78fb148e5cacf0$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 = $df78fb148e5cacf0$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 = $df78fb148e5cacf0$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 $df78fb148e5cacf0$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 = $df78fb148e5cacf0$var$argStringToArray;\nclass $df78fb148e5cacf0$var$ExecState extends $df78fb148e5cacf0$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 = $d7DIX$timers.setTimeout($df78fb148e5cacf0$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(\"5fF9z\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.62d0ce0e.js\")).then(()=>parcelRequire(\"4kQHk\"));\n\n});\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $ggaxg = parcelRequire(\"ggaxg\");\nvar $77f70800b555d1e7$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"fXZh0\"));\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($77f70800b555d1e7$exports);\n\n\nvar $4ba97ccf92dfb41c$exports = {};\n\n$4ba97ccf92dfb41c$exports = (parcelRequire(\"25uEY\"));\n\n\nvar $498ff720bdcc9abb$exports = {};\n$498ff720bdcc9abb$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 $3bf27a0c0259fd00$exports = {};\n\"use strict\";\n\nconst $3bf27a0c0259fd00$var$homeDirectory = $d7DIX$os.homedir();\n$3bf27a0c0259fd00$exports = (pathWithTilde)=>{\n if (typeof pathWithTilde !== \"string\") throw new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n return $3bf27a0c0259fd00$var$homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, $3bf27a0c0259fd00$var$homeDirectory) : pathWithTilde;\n};\n\n\n\n\n\n\n\n\n\n\n\n\nfunction $10cabb0a78322e0c$var$e(e) {\n return e && e.__esModule ? e.default : e;\n}\nfunction $10cabb0a78322e0c$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 $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$n(e, t || {}, (e, t)=>{\n e ? o(e) : r(t);\n });\n });\n }\n $10cabb0a78322e0c$var$W(e, t || {}, (e, n)=>{\n e && (\"EACCES\" === e.code || t && t.ignoreErrors) && (e = null, n = !1), r(e, n);\n });\n}\nfunction $10cabb0a78322e0c$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 = $10cabb0a78322e0c$var$D.sync(e.command, {\n path: n[$10cabb0a78322e0c$var$J({\n env: n\n })],\n pathExt: t ? (0, $d7DIX$path.delimiter) : void 0\n });\n } catch (e) {} finally{\n i && process.chdir(r);\n }\n return s && (s = (0, $d7DIX$path.resolve)(o ? e.options.cwd : \"\", s)), s;\n}\nfunction $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$i(e, t) {\n return $10cabb0a78322e0c$var$ue && 1 === e && !t.file ? $10cabb0a78322e0c$var$o(t.original, \"spawn\") : null;\n}\nfunction $10cabb0a78322e0c$var$s(e, t, n) {\n const r = $10cabb0a78322e0c$var$Q(e, t, n), o = (0, $d7DIX$child_process.spawn)(r.command, r.args, r.options);\n return $10cabb0a78322e0c$var$le.hookChildProcess(o, r), o;\n}\nasync function $10cabb0a78322e0c$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 = $10cabb0a78322e0c$var$ct(t);\n return await new Promise((t, o)=>{\n const i = (e)=>{\n e && r.getBufferedLength() <= $10cabb0a78322e0c$var$lt.MAX_LENGTH && (e.bufferedData = r.getBufferedValue()), o(e);\n };\n (async ()=>{\n try {\n await $10cabb0a78322e0c$var$pt(e, r), t();\n } catch (e) {\n i(e);\n }\n })(), r.on(\"data\", ()=>{\n r.getBufferedLength() > n && i(new $10cabb0a78322e0c$var$mt);\n });\n }), r.getBufferedValue();\n}\nfunction $10cabb0a78322e0c$export$7683bf1311d8252() {\n return null !== $10cabb0a78322e0c$var$e($10cabb0a78322e0c$var$D).sync(\"sudo\", {\n nothrow: !0\n });\n}\nfunction $10cabb0a78322e0c$export$e3140dc7d0c35e48() {\n return 0 === process.getuid?.() || !!process.env.CI;\n}\nfunction $10cabb0a78322e0c$export$316200228f28b8ce() {\n return $10cabb0a78322e0c$export$e3140dc7d0c35e48() && $10cabb0a78322e0c$export$7683bf1311d8252();\n}\nfunction $10cabb0a78322e0c$export$d976d47922ae9667(e) {\n return $10cabb0a78322e0c$export$316200228f28b8ce() ? \"sudo \" + e : e;\n}\nfunction $10cabb0a78322e0c$export$58f152936f209932(t, n = [], r = {\n stdio: \"inherit\",\n shell: !0\n}) {\n return $10cabb0a78322e0c$export$316200228f28b8ce() ? $10cabb0a78322e0c$var$e($10cabb0a78322e0c$var$Z).commandSync(\"sudo \" + [\n t,\n ...n\n ].map((e)=>`'${e}'`).join(\" \"), r) : $10cabb0a78322e0c$var$e($10cabb0a78322e0c$var$Z).sync(t, n, r);\n}\nfunction $10cabb0a78322e0c$export$351270479e2eef26(t, n = [], r = {\n stdio: \"inherit\",\n shell: !0\n}) {\n return $10cabb0a78322e0c$export$316200228f28b8ce() ? $10cabb0a78322e0c$var$e($10cabb0a78322e0c$var$Z).command(\"sudo \" + [\n t,\n ...n\n ].map((e)=>`'${e}'`).join(\" \"), r) : $10cabb0a78322e0c$var$e($10cabb0a78322e0c$var$Z)(t, n, r);\n}\nfunction $10cabb0a78322e0c$export$fc970ed23da99565() {\n return \"win32\" === process.platform ? $10cabb0a78322e0c$export$36ad181701cee597() : $10cabb0a78322e0c$export$e3140dc7d0c35e48();\n}\nvar $10cabb0a78322e0c$var$$ = \"undefined\" != typeof globalThis ? globalThis : \"undefined\" != typeof self ? self : \"undefined\" != typeof window ? window : \"undefined\" != typeof $parcel$global ? $parcel$global : {}, $10cabb0a78322e0c$var$B = {}, $10cabb0a78322e0c$var$k = {}, $10cabb0a78322e0c$var$M = $10cabb0a78322e0c$var$$.parcelRequireb51e;\nnull == $10cabb0a78322e0c$var$M && (($10cabb0a78322e0c$var$M = (e)=>{\n if (e in $10cabb0a78322e0c$var$B) return $10cabb0a78322e0c$var$B[e].exports;\n if (e in $10cabb0a78322e0c$var$k) {\n var t = $10cabb0a78322e0c$var$k[e];\n delete $10cabb0a78322e0c$var$k[e];\n var n = {\n id: e,\n exports: {}\n };\n return $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$k[e] = t;\n}, $10cabb0a78322e0c$var$$.parcelRequireb51e = $10cabb0a78322e0c$var$M), $10cabb0a78322e0c$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, $d7DIX$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, $d7DIX$fs.statSync)(e), e, t);\n}), $10cabb0a78322e0c$var$M.register(\"e1CjR\", (e, t)=>{\n function n(e, t, n) {\n (0, $d7DIX$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, $d7DIX$fs.statSync)(e), t);\n}), $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$U = {};\n$10cabb0a78322e0c$var$t($10cabb0a78322e0c$var$U, \"hasSudo\", ()=>$10cabb0a78322e0c$export$7683bf1311d8252), $10cabb0a78322e0c$var$t($10cabb0a78322e0c$var$U, \"isRoot\", ()=>$10cabb0a78322e0c$export$e3140dc7d0c35e48), $10cabb0a78322e0c$var$t($10cabb0a78322e0c$var$U, \"isSudo\", ()=>$10cabb0a78322e0c$export$316200228f28b8ce), $10cabb0a78322e0c$var$t($10cabb0a78322e0c$var$U, \"prependSudo\", ()=>$10cabb0a78322e0c$export$d976d47922ae9667), $10cabb0a78322e0c$var$t($10cabb0a78322e0c$var$U, \"execRootSync\", ()=>$10cabb0a78322e0c$export$58f152936f209932), $10cabb0a78322e0c$var$t($10cabb0a78322e0c$var$U, \"execRoot\", ()=>$10cabb0a78322e0c$export$351270479e2eef26);\nvar $10cabb0a78322e0c$var$D = {};\nconst $10cabb0a78322e0c$var$F = \"win32\" === process.platform || \"cygwin\" === process.env.OSTYPE || \"msys\" === process.env.OSTYPE, $10cabb0a78322e0c$var$H = $10cabb0a78322e0c$var$F ? \";\" : \":\";\nvar $10cabb0a78322e0c$var$W, $10cabb0a78322e0c$var$K = {};\n$10cabb0a78322e0c$var$W = \"win32\" === process.platform || $10cabb0a78322e0c$var$$.TESTING_WINDOWS ? $10cabb0a78322e0c$var$M(\"djkmR\") : $10cabb0a78322e0c$var$M(\"e1CjR\"), $10cabb0a78322e0c$var$K = $10cabb0a78322e0c$var$n, $10cabb0a78322e0c$var$n.sync = (e, t)=>{\n try {\n return $10cabb0a78322e0c$var$W.sync(e, t || {});\n } catch (e) {\n if (t && t.ignoreErrors || \"EACCES\" === e.code) return !1;\n throw e;\n }\n};\nconst $10cabb0a78322e0c$var$X = (e)=>Object.assign(Error(\"not found: \" + e), {\n code: \"ENOENT\"\n }), $10cabb0a78322e0c$var$V = (e, t)=>{\n const n = t.colon || $10cabb0a78322e0c$var$H, r = e.match(/\\//) || $10cabb0a78322e0c$var$F && e.match(/\\\\/) ? [\n \"\"\n ] : [\n ...$10cabb0a78322e0c$var$F ? [\n process.cwd()\n ] : [],\n ...(t.path || process.env.PATH || \"\").split(n)\n ], o = $10cabb0a78322e0c$var$F ? t.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\", i = $10cabb0a78322e0c$var$F ? o.split(n) : [\n \"\"\n ];\n return $10cabb0a78322e0c$var$F && -1 !== e.indexOf(\".\") && \"\" !== i[0] && i.unshift(\"\"), {\n pathEnv: r,\n pathExt: i,\n pathExtExe: o\n };\n}, $10cabb0a78322e0c$var$q = (e, t, n)=>{\n \"function\" == typeof t && (n = t, t = {}), t || (t = {});\n const { pathEnv: r, pathExt: o, pathExtExe: i } = $10cabb0a78322e0c$var$V(e, t), s = [], a = (n)=>new Promise((o, i)=>{\n if (n === r.length) return t.all && s.length ? o(s) : i($10cabb0a78322e0c$var$X(e));\n const a = r[n], d = /^\".*\"$/.test(a) ? a.slice(1, -1) : a, l = (0, $d7DIX$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 $10cabb0a78322e0c$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$10cabb0a78322e0c$var$D = $10cabb0a78322e0c$var$q, $10cabb0a78322e0c$var$q.sync = (e, t)=>{\n t = t || {};\n const { pathEnv: n, pathExt: r, pathExtExe: o } = $10cabb0a78322e0c$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, $d7DIX$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 ($10cabb0a78322e0c$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 $10cabb0a78322e0c$var$X(e);\n};\nvar $10cabb0a78322e0c$var$Y, $10cabb0a78322e0c$var$Z = {}, $10cabb0a78322e0c$var$z = {}, $10cabb0a78322e0c$var$Q = {}, $10cabb0a78322e0c$var$J = {};\nconst $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$te, $10cabb0a78322e0c$var$ne;\n($10cabb0a78322e0c$var$J = $10cabb0a78322e0c$var$ee).default = $10cabb0a78322e0c$var$ee, $10cabb0a78322e0c$var$Y = (e)=>$10cabb0a78322e0c$var$r(e) || $10cabb0a78322e0c$var$r(e, !0);\nconst $10cabb0a78322e0c$var$re = /([()\\][%!^\"`<>&|;, *?])/g;\n$10cabb0a78322e0c$var$te = (e)=>e.replace($10cabb0a78322e0c$var$re, \"^$1\"), $10cabb0a78322e0c$var$ne = (e, t)=>(e = (e = `\"${e = (e = (e = \"\" + e).replace(/(\\\\*)\"/g, '$1$1\\\\\"')).replace(/(\\\\*)$/, \"$1$1\")}\"`).replace($10cabb0a78322e0c$var$re, \"^$1\"), t && (e = e.replace($10cabb0a78322e0c$var$re, \"^$1\")), e);\nvar $10cabb0a78322e0c$var$oe, $10cabb0a78322e0c$var$ie, $10cabb0a78322e0c$var$se;\n$10cabb0a78322e0c$var$ie = /^#!(.*)/, $10cabb0a78322e0c$var$oe = (e = \"\")=>{\n const t = e.match($10cabb0a78322e0c$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}, $10cabb0a78322e0c$var$se = (e)=>{\n const t = Buffer.alloc(150);\n let n;\n try {\n n = (0, $d7DIX$fs.openSync)(e, \"r\"), (0, $d7DIX$fs.readSync)(n, t, 0, 150, 0), (0, $d7DIX$fs.closeSync)(n);\n } catch (e) {}\n return $10cabb0a78322e0c$var$oe(\"\" + t);\n};\nconst $10cabb0a78322e0c$var$ae = \"win32\" === process.platform, $10cabb0a78322e0c$var$ce = /\\.(?:com|exe)$/i, $10cabb0a78322e0c$var$de = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n$10cabb0a78322e0c$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 (!$10cabb0a78322e0c$var$ae) return e;\n const t = ((e)=>{\n e.file = $10cabb0a78322e0c$var$Y(e);\n const t = e.file && $10cabb0a78322e0c$var$se(e.file);\n return t ? (e.args.unshift(e.file), e.command = t, $10cabb0a78322e0c$var$Y(e)) : e.file;\n })(e), n = !$10cabb0a78322e0c$var$ce.test(t);\n if (e.options.forceShell || n) {\n const n = $10cabb0a78322e0c$var$de.test(t);\n e.command = (0, $d7DIX$path.normalize)(e.command), e.command = $10cabb0a78322e0c$var$te(e.command), e.args = e.args.map((e)=>$10cabb0a78322e0c$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 $10cabb0a78322e0c$var$le = {};\nconst $10cabb0a78322e0c$var$ue = \"win32\" === process.platform;\nvar $10cabb0a78322e0c$var$pe;\n$10cabb0a78322e0c$var$le = {\n hookChildProcess (e, t) {\n if (!$10cabb0a78322e0c$var$ue) return;\n const n = e.emit;\n e.emit = function(r, o) {\n if (\"exit\" === r) {\n const r = $10cabb0a78322e0c$var$i(o, t);\n if (r) return n.call(e, \"error\", r);\n }\n return n.apply(e, arguments);\n };\n },\n verifyENOENT: $10cabb0a78322e0c$var$i,\n verifyENOENTSync (e, t) {\n return $10cabb0a78322e0c$var$ue && 1 === e && !t.file ? $10cabb0a78322e0c$var$o(t.original, \"spawnSync\") : null;\n },\n notFoundError: $10cabb0a78322e0c$var$o\n}, ($10cabb0a78322e0c$var$z = $10cabb0a78322e0c$var$s).spawn = $10cabb0a78322e0c$var$s, $10cabb0a78322e0c$var$z.sync = (e, t, n)=>{\n const r = $10cabb0a78322e0c$var$Q(e, t, n), o = (0, $d7DIX$child_process.spawnSync)(r.command, r.args, r.options);\n return o.error = o.error || $10cabb0a78322e0c$var$le.verifyENOENTSync(o.status, r), o;\n}, $10cabb0a78322e0c$var$z._parse = $10cabb0a78322e0c$var$Q, $10cabb0a78322e0c$var$z._enoent = $10cabb0a78322e0c$var$le, $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$me = {};\nconst $10cabb0a78322e0c$var$fe = (e)=>{\n let t;\n e = {\n cwd: process.cwd(),\n path: process.env[$10cabb0a78322e0c$var$J()],\n execPath: process.execPath,\n ...e\n };\n let n = (0, $d7DIX$path.resolve)(e.cwd);\n const r = [];\n for(; t !== n;)r.push((0, $d7DIX$path.join)(n, \"node_modules/.bin\")), t = n, n = (0, $d7DIX$path.resolve)(n, \"..\");\n const o = (0, $d7DIX$path.resolve)(e.cwd, e.execPath, \"..\");\n return r.push(o), r.concat(e.path).join((0, $d7DIX$path.delimiter));\n};\n($10cabb0a78322e0c$var$me = $10cabb0a78322e0c$var$fe).default = $10cabb0a78322e0c$var$fe, $10cabb0a78322e0c$var$me.env = (e)=>{\n const t = {\n ...(e = {\n env: process.env,\n ...e\n }).env\n }, n = $10cabb0a78322e0c$var$J({\n env: t\n });\n return e.path = t[n], t[n] = $10cabb0a78322e0c$var$me(e), t;\n};\nvar $10cabb0a78322e0c$var$ge = {}, $10cabb0a78322e0c$var$he = {};\nconst $10cabb0a78322e0c$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($10cabb0a78322e0c$var$he = $10cabb0a78322e0c$var$ye).default = $10cabb0a78322e0c$var$ye;\nconst $10cabb0a78322e0c$var$be = new WeakMap, $10cabb0a78322e0c$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 ($10cabb0a78322e0c$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 $10cabb0a78322e0c$var$he(i, e), $10cabb0a78322e0c$var$be.set(i, r), i;\n};\n($10cabb0a78322e0c$var$ge = $10cabb0a78322e0c$var$ve).default = $10cabb0a78322e0c$var$ve, $10cabb0a78322e0c$var$ge.callCount = (e)=>{\n if (!$10cabb0a78322e0c$var$be.has(e)) throw Error(`The given function \\`${e.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $10cabb0a78322e0c$var$be.get(e);\n};\nvar $10cabb0a78322e0c$var$Se, $10cabb0a78322e0c$var$xe = {};\nObject.defineProperty($10cabb0a78322e0c$var$xe, \"__esModule\", {\n value: !0\n}), $10cabb0a78322e0c$var$xe.signalsByNumber = $10cabb0a78322e0c$var$xe.signalsByName = void 0;\nvar $10cabb0a78322e0c$var$we = {};\nObject.defineProperty($10cabb0a78322e0c$var$we, \"__esModule\", {\n value: !0\n}), $10cabb0a78322e0c$var$we.getSignals = void 0;\nvar $10cabb0a78322e0c$var$Ee = {};\nObject.defineProperty($10cabb0a78322e0c$var$Ee, \"__esModule\", {\n value: !0\n}), $10cabb0a78322e0c$var$Ee.SIGNALS = void 0, $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$Ie = {};\nObject.defineProperty($10cabb0a78322e0c$var$Ie, \"__esModule\", {\n value: !0\n}), $10cabb0a78322e0c$var$Ie.SIGRTMAX = $10cabb0a78322e0c$var$Ie.getRealtimeSignals = void 0, $10cabb0a78322e0c$var$Ie.getRealtimeSignals = ()=>Array.from({\n length: $10cabb0a78322e0c$var$Ge - $10cabb0a78322e0c$var$Ce + 1\n }, $10cabb0a78322e0c$var$Te);\nconst $10cabb0a78322e0c$var$Te = (e, t)=>({\n name: \"SIGRT\" + (t + 1),\n number: $10cabb0a78322e0c$var$Ce + t,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n }), $10cabb0a78322e0c$var$Ce = 34, $10cabb0a78322e0c$var$Ge = 64;\n$10cabb0a78322e0c$var$Ie.SIGRTMAX = $10cabb0a78322e0c$var$Ge, $10cabb0a78322e0c$var$we.getSignals = ()=>{\n const e = (0, $10cabb0a78322e0c$var$Ie.getRealtimeSignals)();\n return [\n ...$10cabb0a78322e0c$var$Ee.SIGNALS,\n ...e\n ].map($10cabb0a78322e0c$var$Pe);\n};\nconst $10cabb0a78322e0c$var$Pe = ({ name: e, number: t, description: n, action: r, forced: o = !1, standard: i })=>{\n const { signals: { [e]: s } } = (0, $d7DIX$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}, $10cabb0a78322e0c$var$Oe = (0, $10cabb0a78322e0c$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$10cabb0a78322e0c$var$xe.signalsByName = $10cabb0a78322e0c$var$Oe;\nconst $10cabb0a78322e0c$var$Ae = (()=>{\n const e = (0, $10cabb0a78322e0c$var$we.getSignals)(), t = Array.from({\n length: $10cabb0a78322e0c$var$Ie.SIGRTMAX + 1\n }, (t, n)=>((e, t)=>{\n const n = ((e, t)=>{\n const n = t.find(({ name: t })=>(0, $d7DIX$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$10cabb0a78322e0c$var$xe.signalsByNumber = $10cabb0a78322e0c$var$Ae;\nvar $10cabb0a78322e0c$var$Re = $10cabb0a78322e0c$var$xe.signalsByName;\n$10cabb0a78322e0c$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 : $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$Ne = {};\nconst $10cabb0a78322e0c$var$_e = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n], $10cabb0a78322e0c$var$je = (e)=>{\n if (!e) return;\n const { stdio: t } = e;\n if (void 0 === t) return $10cabb0a78322e0c$var$_e.map((t)=>e[t]);\n if (((e)=>$10cabb0a78322e0c$var$_e.some((t)=>void 0 !== e[t]))(e)) throw Error(\"It's not possible to provide `stdio` in combination with one of \" + $10cabb0a78322e0c$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, $10cabb0a78322e0c$var$_e.length)\n }, (e, n)=>t[n]);\n};\n($10cabb0a78322e0c$var$Ne = $10cabb0a78322e0c$var$je).node = (e)=>{\n const t = $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$Le, $10cabb0a78322e0c$var$$e = {}, $10cabb0a78322e0c$var$Be = $10cabb0a78322e0c$var$$.process;\nconst $10cabb0a78322e0c$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 ($10cabb0a78322e0c$var$ke($10cabb0a78322e0c$var$Be)) {\n var $10cabb0a78322e0c$var$Me, $10cabb0a78322e0c$var$Ue = $d7DIX$assert, $10cabb0a78322e0c$var$De = $10cabb0a78322e0c$var$M(\"4c98W\"), $10cabb0a78322e0c$var$Fe = /^win/i.test($10cabb0a78322e0c$var$Be.platform), $10cabb0a78322e0c$var$He = $d7DIX$events;\n \"function\" != typeof $10cabb0a78322e0c$var$He && ($10cabb0a78322e0c$var$He = $10cabb0a78322e0c$var$He.EventEmitter), $10cabb0a78322e0c$var$Be.__signal_exit_emitter__ ? $10cabb0a78322e0c$var$Me = $10cabb0a78322e0c$var$Be.__signal_exit_emitter__ : (($10cabb0a78322e0c$var$Me = $10cabb0a78322e0c$var$Be.__signal_exit_emitter__ = new $10cabb0a78322e0c$var$He).count = 0, $10cabb0a78322e0c$var$Me.emitted = {}), $10cabb0a78322e0c$var$Me.infinite || ($10cabb0a78322e0c$var$Me.setMaxListeners(1 / 0), $10cabb0a78322e0c$var$Me.infinite = !0), $10cabb0a78322e0c$var$$e = (e, t)=>{\n if (!$10cabb0a78322e0c$var$ke($10cabb0a78322e0c$var$$.process)) return ()=>{};\n $10cabb0a78322e0c$var$Ue.equal(typeof e, \"function\", \"a callback must be provided for exit handler\"), !1 === $10cabb0a78322e0c$var$Ve && $10cabb0a78322e0c$var$qe();\n var n = \"exit\";\n return t && t.alwaysLast && (n = \"afterexit\"), $10cabb0a78322e0c$var$Me.on(n, e), ()=>{\n $10cabb0a78322e0c$var$Me.removeListener(n, e), 0 === $10cabb0a78322e0c$var$Me.listeners(\"exit\").length && 0 === $10cabb0a78322e0c$var$Me.listeners(\"afterexit\").length && $10cabb0a78322e0c$var$We();\n };\n };\n var $10cabb0a78322e0c$var$We = ()=>{\n $10cabb0a78322e0c$var$Ve && $10cabb0a78322e0c$var$ke($10cabb0a78322e0c$var$$.process) && ($10cabb0a78322e0c$var$Ve = !1, $10cabb0a78322e0c$var$De.forEach((e)=>{\n try {\n $10cabb0a78322e0c$var$Be.removeListener(e, $10cabb0a78322e0c$var$Xe[e]);\n } catch (e) {}\n }), $10cabb0a78322e0c$var$Be.emit = $10cabb0a78322e0c$var$ze, $10cabb0a78322e0c$var$Be.reallyExit = $10cabb0a78322e0c$var$Ye, $10cabb0a78322e0c$var$Me.count -= 1);\n };\n $10cabb0a78322e0c$var$$e.unload = $10cabb0a78322e0c$var$We;\n var $10cabb0a78322e0c$var$Ke = (e, t, n)=>{\n $10cabb0a78322e0c$var$Me.emitted[e] || ($10cabb0a78322e0c$var$Me.emitted[e] = !0, $10cabb0a78322e0c$var$Me.emit(e, t, n));\n }, $10cabb0a78322e0c$var$Xe = {};\n $10cabb0a78322e0c$var$De.forEach((e)=>{\n $10cabb0a78322e0c$var$Xe[e] = ()=>{\n $10cabb0a78322e0c$var$ke($10cabb0a78322e0c$var$$.process) && $10cabb0a78322e0c$var$Be.listeners(e).length === $10cabb0a78322e0c$var$Me.count && ($10cabb0a78322e0c$var$We(), $10cabb0a78322e0c$var$Ke(\"exit\", null, e), $10cabb0a78322e0c$var$Ke(\"afterexit\", null, e), $10cabb0a78322e0c$var$Fe && \"SIGHUP\" === e && (e = \"SIGINT\"), $10cabb0a78322e0c$var$Be.kill($10cabb0a78322e0c$var$Be.pid, e));\n };\n }), $10cabb0a78322e0c$var$$e.signals = ()=>$10cabb0a78322e0c$var$De;\n var $10cabb0a78322e0c$var$Ve = !1, $10cabb0a78322e0c$var$qe = ()=>{\n !$10cabb0a78322e0c$var$Ve && $10cabb0a78322e0c$var$ke($10cabb0a78322e0c$var$$.process) && ($10cabb0a78322e0c$var$Ve = !0, $10cabb0a78322e0c$var$Me.count += 1, $10cabb0a78322e0c$var$De = $10cabb0a78322e0c$var$De.filter((e)=>{\n try {\n return $10cabb0a78322e0c$var$Be.on(e, $10cabb0a78322e0c$var$Xe[e]), !0;\n } catch (e) {\n return !1;\n }\n }), $10cabb0a78322e0c$var$Be.emit = $10cabb0a78322e0c$var$Qe, $10cabb0a78322e0c$var$Be.reallyExit = $10cabb0a78322e0c$var$Ze);\n };\n $10cabb0a78322e0c$var$$e.load = $10cabb0a78322e0c$var$qe;\n var $10cabb0a78322e0c$var$Ye = $10cabb0a78322e0c$var$Be.reallyExit, $10cabb0a78322e0c$var$Ze = (e)=>{\n $10cabb0a78322e0c$var$ke($10cabb0a78322e0c$var$$.process) && ($10cabb0a78322e0c$var$Be.exitCode = e || 0, $10cabb0a78322e0c$var$Ke(\"exit\", $10cabb0a78322e0c$var$Be.exitCode, null), $10cabb0a78322e0c$var$Ke(\"afterexit\", $10cabb0a78322e0c$var$Be.exitCode, null), $10cabb0a78322e0c$var$Ye.call($10cabb0a78322e0c$var$Be, $10cabb0a78322e0c$var$Be.exitCode));\n }, $10cabb0a78322e0c$var$ze = $10cabb0a78322e0c$var$Be.emit, $10cabb0a78322e0c$var$Qe = function(e, t) {\n if (\"exit\" === e && $10cabb0a78322e0c$var$ke($10cabb0a78322e0c$var$$.process)) {\n void 0 !== t && ($10cabb0a78322e0c$var$Be.exitCode = t);\n var n = $10cabb0a78322e0c$var$ze.apply(this, arguments);\n return $10cabb0a78322e0c$var$Ke(\"exit\", $10cabb0a78322e0c$var$Be.exitCode, null), $10cabb0a78322e0c$var$Ke(\"afterexit\", $10cabb0a78322e0c$var$Be.exitCode, null), n;\n }\n return $10cabb0a78322e0c$var$ze.apply(this, arguments);\n };\n} else $10cabb0a78322e0c$var$$e = ()=>()=>{};\nconst $10cabb0a78322e0c$var$Je = (e)=>e === (0, $d7DIX$os.constants).signals.SIGTERM || \"string\" == typeof e && \"SIGTERM\" === e.toUpperCase();\nvar $10cabb0a78322e0c$var$et, $10cabb0a78322e0c$var$tt = ($10cabb0a78322e0c$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)=>$10cabb0a78322e0c$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 = $10cabb0a78322e0c$var$$e(()=>{\n e.kill();\n });\n return r.finally(()=>{\n o();\n });\n }\n}).spawnedKill, $10cabb0a78322e0c$var$nt = $10cabb0a78322e0c$var$Le.spawnedCancel, $10cabb0a78322e0c$var$rt = $10cabb0a78322e0c$var$Le.setupTimeout, $10cabb0a78322e0c$var$ot = $10cabb0a78322e0c$var$Le.validateTimeout, $10cabb0a78322e0c$var$it = $10cabb0a78322e0c$var$Le.setExitHandler, $10cabb0a78322e0c$var$st = {};\nconst $10cabb0a78322e0c$var$at = (e)=>null !== e && \"object\" == typeof e && \"function\" == typeof e.pipe;\n$10cabb0a78322e0c$var$at.writable = (e)=>$10cabb0a78322e0c$var$at(e) && !1 !== e.writable && \"function\" == typeof e._write && \"object\" == typeof e._writableState, $10cabb0a78322e0c$var$at.readable = (e)=>$10cabb0a78322e0c$var$at(e) && !1 !== e.readable && \"function\" == typeof e._read && \"object\" == typeof e._readableState, $10cabb0a78322e0c$var$at.duplex = (e)=>$10cabb0a78322e0c$var$at.writable(e) && $10cabb0a78322e0c$var$at.readable(e), $10cabb0a78322e0c$var$at.transform = (e)=>$10cabb0a78322e0c$var$at.duplex(e) && \"function\" == typeof e._transform, $10cabb0a78322e0c$var$st = $10cabb0a78322e0c$var$at;\nvar $10cabb0a78322e0c$var$ct, $10cabb0a78322e0c$var$dt = {}, $10cabb0a78322e0c$var$lt = (0, $d7DIX$buffer.constants), $10cabb0a78322e0c$var$ut = (0, $d7DIX$stream.PassThrough);\n$10cabb0a78322e0c$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 $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$pt = (0, $d7DIX$util.promisify)((0, $d7DIX$stream.pipeline));\nclass $10cabb0a78322e0c$var$mt extends Error {\n constructor(){\n super(\"maxBuffer exceeded\"), this.name = \"MaxBufferError\";\n }\n}\n($10cabb0a78322e0c$var$dt = $10cabb0a78322e0c$var$a).buffer = (e, t)=>$10cabb0a78322e0c$var$a(e, {\n ...t,\n encoding: \"buffer\"\n }), $10cabb0a78322e0c$var$dt.array = (e, t)=>$10cabb0a78322e0c$var$a(e, {\n ...t,\n array: !0\n }), $10cabb0a78322e0c$var$dt.MaxBufferError = $10cabb0a78322e0c$var$mt;\nvar $10cabb0a78322e0c$var$ft, $10cabb0a78322e0c$var$gt = (0, $d7DIX$stream.PassThrough);\n$10cabb0a78322e0c$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 $10cabb0a78322e0c$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 $10cabb0a78322e0c$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}, $10cabb0a78322e0c$var$yt = (e, { encoding: t, buffer: n, maxBuffer: r })=>{\n if (e && n) return t ? $10cabb0a78322e0c$var$dt(e, {\n encoding: t,\n maxBuffer: r\n }) : $10cabb0a78322e0c$var$dt.buffer(e, {\n maxBuffer: r\n });\n};\nvar $10cabb0a78322e0c$var$bt, $10cabb0a78322e0c$var$vt = ($10cabb0a78322e0c$var$et = {\n handleInput (e, t) {\n void 0 !== t && void 0 !== e.stdin && ($10cabb0a78322e0c$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 = $10cabb0a78322e0c$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 = $10cabb0a78322e0c$var$yt(e, {\n encoding: r,\n buffer: o,\n maxBuffer: i\n }), c = $10cabb0a78322e0c$var$yt(t, {\n encoding: r,\n buffer: o,\n maxBuffer: i\n }), d = $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$ht(e, a),\n $10cabb0a78322e0c$var$ht(t, c),\n $10cabb0a78322e0c$var$ht(n, d)\n ]);\n }\n },\n validateInputSync ({ input: e }) {\n if ($10cabb0a78322e0c$var$st(e)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n }\n}).handleInput, $10cabb0a78322e0c$var$St = $10cabb0a78322e0c$var$et.getSpawnedResult, $10cabb0a78322e0c$var$xt = $10cabb0a78322e0c$var$et.makeAllStream, $10cabb0a78322e0c$var$wt = $10cabb0a78322e0c$var$et.validateInputSync;\nconst $10cabb0a78322e0c$var$Et = (async ()=>{})().constructor.prototype, $10cabb0a78322e0c$var$It = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((e)=>[\n e,\n Reflect.getOwnPropertyDescriptor($10cabb0a78322e0c$var$Et, e)\n ]);\nvar $10cabb0a78322e0c$var$Tt, $10cabb0a78322e0c$var$Ct = ($10cabb0a78322e0c$var$bt = {\n mergePromise (e, t) {\n for (const [n, r] of $10cabb0a78322e0c$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, $10cabb0a78322e0c$var$Gt = $10cabb0a78322e0c$var$bt.getSpawnedPromise;\nconst $10cabb0a78322e0c$var$Pt = (e, t = [])=>Array.isArray(t) ? [\n e,\n ...t\n ] : [\n e\n ], $10cabb0a78322e0c$var$Ot = /^[\\w.-]+$/, $10cabb0a78322e0c$var$At = /\"/g, $10cabb0a78322e0c$var$Rt = / +/g;\nvar $10cabb0a78322e0c$var$Nt = ($10cabb0a78322e0c$var$Tt = {\n joinCommand (e, t) {\n return $10cabb0a78322e0c$var$Pt(e, t).join(\" \");\n },\n getEscapedCommand (e, t) {\n return $10cabb0a78322e0c$var$Pt(e, t).map((e)=>((e)=>\"string\" != typeof e || $10cabb0a78322e0c$var$Ot.test(e) ? e : `\"${e.replace($10cabb0a78322e0c$var$At, '\\\\\"')}\"`)(e)).join(\" \");\n },\n parseCommand (e) {\n const t = [];\n for (const n of e.trim().split($10cabb0a78322e0c$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, $10cabb0a78322e0c$var$_t = $10cabb0a78322e0c$var$Tt.parseCommand, $10cabb0a78322e0c$var$jt = $10cabb0a78322e0c$var$Tt.getEscapedCommand;\nconst $10cabb0a78322e0c$var$Lt = (e, t, n = {})=>{\n const r = $10cabb0a78322e0c$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 ? $10cabb0a78322e0c$var$me.env({\n env: i,\n cwd: r,\n execPath: o\n }) : i;\n })(n), n.stdio = $10cabb0a78322e0c$var$Ne(n), \"win32\" === process.platform && \"cmd\" === (0, $d7DIX$path.basename)(e, \".exe\") && t.unshift(\"/q\"), {\n file: e,\n args: t,\n options: n,\n parsed: r\n };\n}, $10cabb0a78322e0c$var$$t = (e, t, n)=>\"string\" == typeof t || Buffer.isBuffer(t) ? e.stripFinalNewline ? $10cabb0a78322e0c$var$pe(t) : t : void 0 === n ? void 0 : \"\", $10cabb0a78322e0c$var$Bt = (e, t, n)=>{\n const r = $10cabb0a78322e0c$var$Lt(e, t, n), o = $10cabb0a78322e0c$var$Nt(e, t), i = $10cabb0a78322e0c$var$jt(e, t);\n let s;\n $10cabb0a78322e0c$var$ot(r.options);\n try {\n s = (0, $d7DIX$child_process.spawn)(r.file, r.args, r.options);\n } catch (e) {\n const t = new (0, $d7DIX$child_process.ChildProcess), n = Promise.reject($10cabb0a78322e0c$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 $10cabb0a78322e0c$var$Ct(t, n);\n }\n const a = $10cabb0a78322e0c$var$Gt(s), c = $10cabb0a78322e0c$var$rt(s, r.options, a), d = $10cabb0a78322e0c$var$it(s, r.options, c), l = {\n isCanceled: !1\n };\n s.kill = $10cabb0a78322e0c$var$tt.bind(null, s.kill.bind(s)), s.cancel = $10cabb0a78322e0c$var$nt.bind(null, s, l);\n const u = $10cabb0a78322e0c$var$ge(async ()=>{\n const [{ error: e, exitCode: t, signal: n, timedOut: a }, c, u, p] = await $10cabb0a78322e0c$var$St(s, r.options, d), m = $10cabb0a78322e0c$var$$t(r.options, c), f = $10cabb0a78322e0c$var$$t(r.options, u), g = $10cabb0a78322e0c$var$$t(r.options, p);\n if (e || 0 !== t || null !== n) {\n const c = $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$vt(s, r.options.input), s.all = $10cabb0a78322e0c$var$xt(s, r.options), $10cabb0a78322e0c$var$Ct(s, u);\n};\n($10cabb0a78322e0c$var$Z = $10cabb0a78322e0c$var$Bt).sync = (e, t, n)=>{\n const r = $10cabb0a78322e0c$var$Lt(e, t, n), o = $10cabb0a78322e0c$var$Nt(e, t), i = $10cabb0a78322e0c$var$jt(e, t);\n let s;\n $10cabb0a78322e0c$var$wt(r.options);\n try {\n s = (0, $d7DIX$child_process.spawnSync)(r.file, r.args, r.options);\n } catch (e) {\n throw $10cabb0a78322e0c$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 = $10cabb0a78322e0c$var$$t(r.options, s.stdout, s.error), c = $10cabb0a78322e0c$var$$t(r.options, s.stderr, s.error);\n if (s.error || 0 !== s.status || null !== s.signal) {\n const e = $10cabb0a78322e0c$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}, $10cabb0a78322e0c$var$Z.command = (e, t)=>{\n const [n, ...r] = $10cabb0a78322e0c$var$_t(e);\n return $10cabb0a78322e0c$var$Bt(n, r, t);\n}, $10cabb0a78322e0c$var$Z.commandSync = (e, t)=>{\n const [n, ...r] = $10cabb0a78322e0c$var$_t(e);\n return $10cabb0a78322e0c$var$Bt.sync(n, r, t);\n}, $10cabb0a78322e0c$var$Z.node = (e, t, n = {})=>{\n t && !Array.isArray(t) && \"object\" == typeof t && (n = t, t = []);\n const r = $10cabb0a78322e0c$var$Ne.node(n), o = process.execArgv.filter((e)=>!e.startsWith(\"--inspect\")), { nodePath: i = process.execPath, nodeOptions: s = o } = n;\n return $10cabb0a78322e0c$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 $10cabb0a78322e0c$var$kt = {};\n$10cabb0a78322e0c$var$t($10cabb0a78322e0c$var$kt, \"isAdminWindows\", ()=>$10cabb0a78322e0c$export$36ad181701cee597), $10cabb0a78322e0c$var$t($10cabb0a78322e0c$var$kt, \"isAdminPosix\", ()=>$10cabb0a78322e0c$export$2ebf12717e6b5bb8), $10cabb0a78322e0c$var$t($10cabb0a78322e0c$var$kt, \"isAdmin\", ()=>$10cabb0a78322e0c$export$fc970ed23da99565);\nconst $10cabb0a78322e0c$export$36ad181701cee597 = async ()=>{\n if (\"win32\" !== (0, ($parcel$interopDefault($d7DIX$process))).platform) return !1;\n try {\n return await $10cabb0a78322e0c$var$e($10cabb0a78322e0c$var$Z)(\"fsutil\", [\n \"dirty\",\n \"query\",\n (0, ($parcel$interopDefault($d7DIX$process))).env.systemdrive ?? \"\"\n ]), !0;\n } catch (t) {\n return \"ENOENT\" === t.code && (async ()=>{\n try {\n return await $10cabb0a78322e0c$var$e($10cabb0a78322e0c$var$Z)(\"fltmc\"), !0;\n } catch {\n return !1;\n }\n })();\n }\n}, $10cabb0a78322e0c$export$2ebf12717e6b5bb8 = $10cabb0a78322e0c$export$e3140dc7d0c35e48;\n\n\nfunction $cc03115747abd396$export$8312d9eeba321950(path) {\n if ((0, $10cabb0a78322e0c$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $d7DIX$path.join)(\"/Users/\", process.env.SUDO_USER, path);\n else return (0, $d7DIX$path.join)(\"/home/\", process.env.SUDO_USER, path);\n } else return (0, (/*@__PURE__*/$parcel$interopDefault($3bf27a0c0259fd00$exports)))(`~/${path}`);\n}\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nvar $4fe3cd2ecda1db90$exports = {};\n\"use strict\";\n\n\nvar $496bk = parcelRequire(\"496bk\");\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 $4fe3cd2ecda1db90$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 $4fe3cd2ecda1db90$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 $4fe3cd2ecda1db90$var$packageJson = $d7DIX$process.env.npm_package_json;\nvar $4fe3cd2ecda1db90$var$userAgent = $d7DIX$process.env.npm_config_user_agent;\nvar $4fe3cd2ecda1db90$var$isNpm6 = Boolean($4fe3cd2ecda1db90$var$userAgent && $4fe3cd2ecda1db90$var$userAgent.startsWith(\"npm\"));\nvar $4fe3cd2ecda1db90$var$isNpm7 = Boolean($4fe3cd2ecda1db90$var$packageJson && $4fe3cd2ecda1db90$var$packageJson.endsWith(\"package.json\"));\nvar $4fe3cd2ecda1db90$var$isNpm = $4fe3cd2ecda1db90$var$isNpm6 || $4fe3cd2ecda1db90$var$isNpm7;\nvar $4fe3cd2ecda1db90$var$isYarn = Boolean($4fe3cd2ecda1db90$var$userAgent && $4fe3cd2ecda1db90$var$userAgent.startsWith(\"yarn\"));\nvar $4fe3cd2ecda1db90$var$isNpmOrYarn = $4fe3cd2ecda1db90$var$isNpm || $4fe3cd2ecda1db90$var$isYarn;\nvar $4fe3cd2ecda1db90$var$homeDirectory = $d7DIX$os.homedir();\nvar $4fe3cd2ecda1db90$var$configDir = process.env.XDG_CONFIG_HOME || $d7DIX$path.join($4fe3cd2ecda1db90$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $4fe3cd2ecda1db90$var$getConfigFile = function(packageName) {\n return $d7DIX$path.join($4fe3cd2ecda1db90$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $4fe3cd2ecda1db90$var$createConfigDir = function() {\n if (!$d7DIX$fs.existsSync($4fe3cd2ecda1db90$var$configDir)) $d7DIX$fs.mkdirSync($4fe3cd2ecda1db90$var$configDir, {\n recursive: true\n });\n};\nvar $4fe3cd2ecda1db90$var$getLastUpdate = function(packageName) {\n var configFile = $4fe3cd2ecda1db90$var$getConfigFile(packageName);\n try {\n if (!$d7DIX$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($d7DIX$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $4fe3cd2ecda1db90$var$saveLastUpdate = function(packageName) {\n var configFile = $4fe3cd2ecda1db90$var$getConfigFile(packageName);\n $d7DIX$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $4fe3cd2ecda1db90$var$getDistVersion = function(packageName, distTag) {\n return $4fe3cd2ecda1db90$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $4fe3cd2ecda1db90$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 $d7DIX$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 $4fe3cd2ecda1db90$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 $4fe3cd2ecda1db90$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $4fe3cd2ecda1db90$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $4fe3cd2ecda1db90$var$createConfigDir();\n lastUpdateCheck = $4fe3cd2ecda1db90$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 $4fe3cd2ecda1db90$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $4fe3cd2ecda1db90$var$saveLastUpdate(pkg.name);\n if ($496bk.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 $4fe3cd2ecda1db90$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 $4fe3cd2ecda1db90$var$simpleUpdateNotifier = function(args) {\n return $4fe3cd2ecda1db90$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $4fe3cd2ecda1db90$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $4fe3cd2ecda1db90$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 $4fe3cd2ecda1db90$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($4fe3cd2ecda1db90$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$4fe3cd2ecda1db90$exports = $4fe3cd2ecda1db90$var$simpleUpdateNotifier;\n\n\nvar $276f0975e227ff36$exports = {};\n$276f0975e227ff36$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.30.1\"}');\n\n\nasync function $cb87868918740ed3$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($4fe3cd2ecda1db90$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($276f0975e227ff36$exports)))\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nfunction $2fdf9153abf9f994$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $2fdf9153abf9f994$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 $2fdf9153abf9f994$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 = $2fdf9153abf9f994$var$toArr(opts.string);\n opts.boolean = $2fdf9153abf9f994$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $2fdf9153abf9f994$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 $2fdf9153abf9f994$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 $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\nvar $a144cf96e3e9a15c$exports = {};\nconst $a144cf96e3e9a15c$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $a144cf96e3e9a15c$var$COLON = $a144cf96e3e9a15c$var$isWindows ? \";\" : \":\";\nvar $ff1862185d1397df$exports = {};\n\nvar $ff1862185d1397df$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $ff1862185d1397df$var$core = (parcelRequire(\"a3PNV\"));\nelse $ff1862185d1397df$var$core = (parcelRequire(\"7gw6J\"));\n$ff1862185d1397df$exports = $ff1862185d1397df$var$isexe;\n$ff1862185d1397df$var$isexe.sync = $ff1862185d1397df$var$sync;\nfunction $ff1862185d1397df$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 $ff1862185d1397df$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $ff1862185d1397df$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 $ff1862185d1397df$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $ff1862185d1397df$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 $a144cf96e3e9a15c$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $a144cf96e3e9a15c$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $a144cf96e3e9a15c$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(/\\//) || $a144cf96e3e9a15c$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$a144cf96e3e9a15c$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $a144cf96e3e9a15c$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $a144cf96e3e9a15c$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($a144cf96e3e9a15c$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 $a144cf96e3e9a15c$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 } = $a144cf96e3e9a15c$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($a144cf96e3e9a15c$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $d7DIX$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 $ff1862185d1397df$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 $a144cf96e3e9a15c$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $a144cf96e3e9a15c$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 = $d7DIX$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 = $ff1862185d1397df$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 $a144cf96e3e9a15c$var$getNotFoundError(cmd);\n};\n$a144cf96e3e9a15c$exports = $a144cf96e3e9a15c$var$which;\n$a144cf96e3e9a15c$var$which.sync = $a144cf96e3e9a15c$var$whichSync;\n\n\nvar $875a6e6d11e2ed2f$exports = {};\n\"use strict\";\n\n\nvar $c7dd3a41c12bbb5b$exports = {};\n\"use strict\";\n\nvar $3a725e5932cc672a$exports = {};\n\"use strict\";\n\nvar $a819f7a726783acc$exports = {};\n\"use strict\";\n\n\nvar $21a0412ea0df2284$exports = {};\n\"use strict\";\nconst $21a0412ea0df2284$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$21a0412ea0df2284$exports = $21a0412ea0df2284$var$pathKey;\n// TODO: Remove this for the next major release\n$21a0412ea0df2284$exports.default = $21a0412ea0df2284$var$pathKey;\n\n\nfunction $a819f7a726783acc$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 = $a144cf96e3e9a15c$exports.sync(parsed.command, {\n path: env[$21a0412ea0df2284$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $d7DIX$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 = $d7DIX$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $a819f7a726783acc$var$resolveCommand(parsed) {\n return $a819f7a726783acc$var$resolveCommandAttempt(parsed) || $a819f7a726783acc$var$resolveCommandAttempt(parsed, true);\n}\n$a819f7a726783acc$exports = $a819f7a726783acc$var$resolveCommand;\n\n\nvar $1384d7bdf71358ff$export$ae50443ffc990749;\nvar $1384d7bdf71358ff$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $1384d7bdf71358ff$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $1384d7bdf71358ff$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($1384d7bdf71358ff$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $1384d7bdf71358ff$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($1384d7bdf71358ff$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($1384d7bdf71358ff$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$1384d7bdf71358ff$export$ae50443ffc990749 = $1384d7bdf71358ff$var$escapeCommand;\n$1384d7bdf71358ff$export$6ea29ee575e3f5ff = $1384d7bdf71358ff$var$escapeArgument;\n\n\nvar $10624ba8b1855359$exports = {};\n\"use strict\";\n\nvar $a029f1528dbf601b$exports = {};\n\"use strict\";\nvar $8262b66a7385d3da$exports = {};\n\"use strict\";\n$8262b66a7385d3da$exports = /^#!(.*)/;\n\n\n$a029f1528dbf601b$exports = (string = \"\")=>{\n const match = string.match($8262b66a7385d3da$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 $10624ba8b1855359$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 = $d7DIX$fs.openSync(command, \"r\");\n $d7DIX$fs.readSync(fd, buffer, 0, size, 0);\n $d7DIX$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $a029f1528dbf601b$exports(buffer.toString());\n}\n$10624ba8b1855359$exports = $10624ba8b1855359$var$readShebang;\n\n\nconst $3a725e5932cc672a$var$isWin = process.platform === \"win32\";\nconst $3a725e5932cc672a$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $3a725e5932cc672a$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $3a725e5932cc672a$var$detectShebang(parsed) {\n parsed.file = $a819f7a726783acc$exports(parsed);\n const shebang = parsed.file && $10624ba8b1855359$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $a819f7a726783acc$exports(parsed);\n }\n return parsed.file;\n}\nfunction $3a725e5932cc672a$var$parseNonShell(parsed) {\n if (!$3a725e5932cc672a$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $3a725e5932cc672a$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$3a725e5932cc672a$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 = $3a725e5932cc672a$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 = $d7DIX$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $1384d7bdf71358ff$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$1384d7bdf71358ff$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 $3a725e5932cc672a$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 : $3a725e5932cc672a$var$parseNonShell(parsed);\n}\n$3a725e5932cc672a$exports = $3a725e5932cc672a$var$parse;\n\n\nvar $04034165e615e404$exports = {};\n\"use strict\";\nconst $04034165e615e404$var$isWin = process.platform === \"win32\";\nfunction $04034165e615e404$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 $04034165e615e404$var$hookChildProcess(cp, parsed) {\n if (!$04034165e615e404$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 = $04034165e615e404$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 $04034165e615e404$var$verifyENOENT(status, parsed) {\n if ($04034165e615e404$var$isWin && status === 1 && !parsed.file) return $04034165e615e404$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $04034165e615e404$var$verifyENOENTSync(status, parsed) {\n if ($04034165e615e404$var$isWin && status === 1 && !parsed.file) return $04034165e615e404$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$04034165e615e404$exports = {\n hookChildProcess: $04034165e615e404$var$hookChildProcess,\n verifyENOENT: $04034165e615e404$var$verifyENOENT,\n verifyENOENTSync: $04034165e615e404$var$verifyENOENTSync,\n notFoundError: $04034165e615e404$var$notFoundError\n};\n\n\nfunction $c7dd3a41c12bbb5b$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $3a725e5932cc672a$exports(command, args, options);\n // Spawn the child process\n const spawned = $d7DIX$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 $04034165e615e404$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $c7dd3a41c12bbb5b$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $3a725e5932cc672a$exports(command, args, options);\n // Spawn the child process\n const result = $d7DIX$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 || $04034165e615e404$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$c7dd3a41c12bbb5b$exports = $c7dd3a41c12bbb5b$var$spawn;\n$c7dd3a41c12bbb5b$exports.spawn = $c7dd3a41c12bbb5b$var$spawn;\n$c7dd3a41c12bbb5b$exports.sync = $c7dd3a41c12bbb5b$var$spawnSync;\n$c7dd3a41c12bbb5b$exports._parse = $3a725e5932cc672a$exports;\n$c7dd3a41c12bbb5b$exports._enoent = $04034165e615e404$exports;\n\n\nvar $c6c34cab6d11f47e$exports = {};\n\"use strict\";\n$c6c34cab6d11f47e$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 $020b45bf5d462a46$exports = {};\n\"use strict\";\n\n\nconst $020b45bf5d462a46$var$npmRunPath = (options)=>{\n options = {\n cwd: process.cwd(),\n path: process.env[$21a0412ea0df2284$exports()],\n execPath: process.execPath,\n ...options\n };\n let previous;\n let cwdPath = $d7DIX$path.resolve(options.cwd);\n const result = [];\n while(previous !== cwdPath){\n result.push($d7DIX$path.join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = $d7DIX$path.resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used\n const execPathDir = $d7DIX$path.resolve(options.cwd, options.execPath, \"..\");\n result.push(execPathDir);\n return result.concat(options.path).join($d7DIX$path.delimiter);\n};\n$020b45bf5d462a46$exports = $020b45bf5d462a46$var$npmRunPath;\n// TODO: Remove this for the next major release\n$020b45bf5d462a46$exports.default = $020b45bf5d462a46$var$npmRunPath;\n$020b45bf5d462a46$exports.env = (options)=>{\n options = {\n env: process.env,\n ...options\n };\n const env = {\n ...options.env\n };\n const path = $21a0412ea0df2284$exports({\n env: env\n });\n options.path = env[path];\n env[path] = $020b45bf5d462a46$exports(options);\n return env;\n};\n\n\nvar $f1134ba5c844ad01$exports = {};\n\"use strict\";\nvar $a3a2a3f28e4966ed$exports = {};\n\"use strict\";\nconst $a3a2a3f28e4966ed$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$a3a2a3f28e4966ed$exports = $a3a2a3f28e4966ed$var$mimicFn;\n// TODO: Remove this for the next major release\n$a3a2a3f28e4966ed$exports.default = $a3a2a3f28e4966ed$var$mimicFn;\n\n\nconst $f1134ba5c844ad01$var$calledFunctions = new WeakMap();\nconst $f1134ba5c844ad01$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 $f1134ba5c844ad01$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 $a3a2a3f28e4966ed$exports(onetime, function_);\n $f1134ba5c844ad01$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$f1134ba5c844ad01$exports = $f1134ba5c844ad01$var$onetime;\n// TODO: Remove this for the next major release\n$f1134ba5c844ad01$exports.default = $f1134ba5c844ad01$var$onetime;\n$f1134ba5c844ad01$exports.callCount = (function_)=>{\n if (!$f1134ba5c844ad01$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $f1134ba5c844ad01$var$calledFunctions.get(function_);\n};\n\n\nvar $fe0749d2cd50e67f$exports = {};\n\"use strict\";\nvar $d3295d2905495902$exports = {};\n\"use strict\";\nObject.defineProperty($d3295d2905495902$exports, \"__esModule\", {\n value: true\n});\n$d3295d2905495902$exports.signalsByNumber = $d3295d2905495902$exports.signalsByName = void 0;\n\nvar $0e9b315178036cad$exports = {};\n\"use strict\";\nObject.defineProperty($0e9b315178036cad$exports, \"__esModule\", {\n value: true\n});\n$0e9b315178036cad$exports.getSignals = void 0;\n\nvar $f18406d95ca9d0c1$exports = {};\n\"use strict\";\nObject.defineProperty($f18406d95ca9d0c1$exports, \"__esModule\", {\n value: true\n});\n$f18406d95ca9d0c1$exports.SIGNALS = void 0;\nconst $f18406d95ca9d0c1$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$f18406d95ca9d0c1$exports.SIGNALS = $f18406d95ca9d0c1$var$SIGNALS;\n\n\nvar $261fa5710718787b$exports = {};\n\"use strict\";\nObject.defineProperty($261fa5710718787b$exports, \"__esModule\", {\n value: true\n});\n$261fa5710718787b$exports.SIGRTMAX = $261fa5710718787b$exports.getRealtimeSignals = void 0;\nconst $261fa5710718787b$var$getRealtimeSignals = function() {\n const length = $261fa5710718787b$var$SIGRTMAX - $261fa5710718787b$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $261fa5710718787b$var$getRealtimeSignal);\n};\n$261fa5710718787b$exports.getRealtimeSignals = $261fa5710718787b$var$getRealtimeSignals;\nconst $261fa5710718787b$var$getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: $261fa5710718787b$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n };\n};\nconst $261fa5710718787b$var$SIGRTMIN = 34;\nconst $261fa5710718787b$var$SIGRTMAX = 64;\n$261fa5710718787b$exports.SIGRTMAX = $261fa5710718787b$var$SIGRTMAX;\n\n\nconst $0e9b315178036cad$var$getSignals = function() {\n const realtimeSignals = (0, $261fa5710718787b$exports.getRealtimeSignals)();\n const signals = [\n ...$f18406d95ca9d0c1$exports.SIGNALS,\n ...realtimeSignals\n ].map($0e9b315178036cad$var$normalizeSignal);\n return signals;\n};\n$0e9b315178036cad$exports.getSignals = $0e9b315178036cad$var$getSignals;\nconst $0e9b315178036cad$var$normalizeSignal = function({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard }) {\n const { signals: { [name]: constantSignal } } = $d7DIX$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 $d3295d2905495902$var$getSignalsByName = function() {\n const signals = (0, $0e9b315178036cad$exports.getSignals)();\n return signals.reduce($d3295d2905495902$var$getSignalByName, {});\n};\nconst $d3295d2905495902$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 $d3295d2905495902$var$signalsByName = $d3295d2905495902$var$getSignalsByName();\n$d3295d2905495902$exports.signalsByName = $d3295d2905495902$var$signalsByName;\nconst $d3295d2905495902$var$getSignalsByNumber = function() {\n const signals = (0, $0e9b315178036cad$exports.getSignals)();\n const length = $261fa5710718787b$exports.SIGRTMAX + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$d3295d2905495902$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $d3295d2905495902$var$getSignalByNumber = function(number, signals) {\n const signal = $d3295d2905495902$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 $d3295d2905495902$var$findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name: name })=>$d7DIX$os.constants.signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $d3295d2905495902$var$signalsByNumber = $d3295d2905495902$var$getSignalsByNumber();\n$d3295d2905495902$exports.signalsByNumber = $d3295d2905495902$var$signalsByNumber;\n\n\nvar $fe0749d2cd50e67f$require$signalsByName = $d3295d2905495902$exports.signalsByName;\nconst $fe0749d2cd50e67f$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 $fe0749d2cd50e67f$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 : $fe0749d2cd50e67f$require$signalsByName[signal].description;\n const errorCode = error && error.code;\n const prefix = $fe0749d2cd50e67f$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$fe0749d2cd50e67f$exports = $fe0749d2cd50e67f$var$makeError;\n\n\nvar $c678cc3f77a5df8f$exports = {};\n\"use strict\";\nconst $c678cc3f77a5df8f$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $c678cc3f77a5df8f$var$hasAlias = (options)=>$c678cc3f77a5df8f$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $c678cc3f77a5df8f$var$normalizeStdio = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $c678cc3f77a5df8f$var$aliases.map((alias)=>options[alias]);\n if ($c678cc3f77a5df8f$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$c678cc3f77a5df8f$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, $c678cc3f77a5df8f$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\n$c678cc3f77a5df8f$exports = $c678cc3f77a5df8f$var$normalizeStdio;\n// `ipc` is pushed unless it is already present\n$c678cc3f77a5df8f$exports.node = (options)=>{\n const stdio = $c678cc3f77a5df8f$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 $5add7917bf680282$exports = {};\n\"use strict\";\n\nvar $7a0875ae79160463$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 $7a0875ae79160463$var$process = $parcel$global.process;\nconst $7a0875ae79160463$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 (!$7a0875ae79160463$var$processOk($7a0875ae79160463$var$process)) $7a0875ae79160463$exports = function() {\n return function() {};\n};\nelse {\n var $7a0875ae79160463$var$assert = $d7DIX$assert;\n var $7a0875ae79160463$var$signals = (parcelRequire(\"1YMV0\"));\n var $7a0875ae79160463$var$isWin = /^win/i.test($7a0875ae79160463$var$process.platform);\n var $7a0875ae79160463$var$EE = $d7DIX$events;\n /* istanbul ignore if */ if (typeof $7a0875ae79160463$var$EE !== \"function\") $7a0875ae79160463$var$EE = $7a0875ae79160463$var$EE.EventEmitter;\n var $7a0875ae79160463$var$emitter;\n if ($7a0875ae79160463$var$process.__signal_exit_emitter__) $7a0875ae79160463$var$emitter = $7a0875ae79160463$var$process.__signal_exit_emitter__;\n else {\n $7a0875ae79160463$var$emitter = $7a0875ae79160463$var$process.__signal_exit_emitter__ = new $7a0875ae79160463$var$EE();\n $7a0875ae79160463$var$emitter.count = 0;\n $7a0875ae79160463$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 (!$7a0875ae79160463$var$emitter.infinite) {\n $7a0875ae79160463$var$emitter.setMaxListeners(Infinity);\n $7a0875ae79160463$var$emitter.infinite = true;\n }\n $7a0875ae79160463$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($parcel$global.process)) return function() {};\n $7a0875ae79160463$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($7a0875ae79160463$var$loaded === false) $7a0875ae79160463$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $7a0875ae79160463$var$emitter.removeListener(ev, cb);\n if ($7a0875ae79160463$var$emitter.listeners(\"exit\").length === 0 && $7a0875ae79160463$var$emitter.listeners(\"afterexit\").length === 0) $7a0875ae79160463$var$unload();\n };\n $7a0875ae79160463$var$emitter.on(ev, cb);\n return remove;\n };\n var $7a0875ae79160463$var$unload = function unload() {\n if (!$7a0875ae79160463$var$loaded || !$7a0875ae79160463$var$processOk($parcel$global.process)) return;\n $7a0875ae79160463$var$loaded = false;\n $7a0875ae79160463$var$signals.forEach(function(sig) {\n try {\n $7a0875ae79160463$var$process.removeListener(sig, $7a0875ae79160463$var$sigListeners[sig]);\n } catch (er) {}\n });\n $7a0875ae79160463$var$process.emit = $7a0875ae79160463$var$originalProcessEmit;\n $7a0875ae79160463$var$process.reallyExit = $7a0875ae79160463$var$originalProcessReallyExit;\n $7a0875ae79160463$var$emitter.count -= 1;\n };\n $7a0875ae79160463$exports.unload = $7a0875ae79160463$var$unload;\n var $7a0875ae79160463$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($7a0875ae79160463$var$emitter.emitted[event]) return;\n $7a0875ae79160463$var$emitter.emitted[event] = true;\n $7a0875ae79160463$var$emitter.emit(event, code, signal);\n };\n // { <signal>: <listener fn>, ... }\n var $7a0875ae79160463$var$sigListeners = {};\n $7a0875ae79160463$var$signals.forEach(function(sig) {\n $7a0875ae79160463$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$7a0875ae79160463$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 = $7a0875ae79160463$var$process.listeners(sig);\n if (listeners.length === $7a0875ae79160463$var$emitter.count) {\n $7a0875ae79160463$var$unload();\n $7a0875ae79160463$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($7a0875ae79160463$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 */ $7a0875ae79160463$var$process.kill($7a0875ae79160463$var$process.pid, sig);\n }\n };\n });\n $7a0875ae79160463$exports.signals = function() {\n return $7a0875ae79160463$var$signals;\n };\n var $7a0875ae79160463$var$loaded = false;\n var $7a0875ae79160463$var$load = function load() {\n if ($7a0875ae79160463$var$loaded || !$7a0875ae79160463$var$processOk($parcel$global.process)) return;\n $7a0875ae79160463$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 $7a0875ae79160463$var$emitter.count += 1;\n $7a0875ae79160463$var$signals = $7a0875ae79160463$var$signals.filter(function(sig) {\n try {\n $7a0875ae79160463$var$process.on(sig, $7a0875ae79160463$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $7a0875ae79160463$var$process.emit = $7a0875ae79160463$var$processEmit;\n $7a0875ae79160463$var$process.reallyExit = $7a0875ae79160463$var$processReallyExit;\n };\n $7a0875ae79160463$exports.load = $7a0875ae79160463$var$load;\n var $7a0875ae79160463$var$originalProcessReallyExit = $7a0875ae79160463$var$process.reallyExit;\n var $7a0875ae79160463$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($parcel$global.process)) return;\n $7a0875ae79160463$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $7a0875ae79160463$var$emit(\"exit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"afterexit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ $7a0875ae79160463$var$originalProcessReallyExit.call($7a0875ae79160463$var$process, $7a0875ae79160463$var$process.exitCode);\n };\n var $7a0875ae79160463$var$originalProcessEmit = $7a0875ae79160463$var$process.emit;\n var $7a0875ae79160463$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $7a0875ae79160463$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $7a0875ae79160463$var$process.exitCode = arg;\n var ret = $7a0875ae79160463$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"exit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"afterexit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $7a0875ae79160463$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $5add7917bf680282$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst $5add7917bf680282$var$spawnedKill = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $5add7917bf680282$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $5add7917bf680282$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$5add7917bf680282$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $5add7917bf680282$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 $5add7917bf680282$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>{\n return $5add7917bf680282$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\nconst $5add7917bf680282$var$isSigterm = (signal)=>{\n return signal === $d7DIX$os.constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\n};\nconst $5add7917bf680282$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $5add7917bf680282$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 $5add7917bf680282$var$spawnedCancel = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $5add7917bf680282$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 $5add7917bf680282$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 $5add7917bf680282$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 $5add7917bf680282$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 $5add7917bf680282$var$setExitHandler = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = $7a0875ae79160463$exports(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n$5add7917bf680282$exports = {\n spawnedKill: $5add7917bf680282$var$spawnedKill,\n spawnedCancel: $5add7917bf680282$var$spawnedCancel,\n setupTimeout: $5add7917bf680282$var$setupTimeout,\n validateTimeout: $5add7917bf680282$var$validateTimeout,\n setExitHandler: $5add7917bf680282$var$setExitHandler\n};\n\n\nvar $875a6e6d11e2ed2f$require$spawnedKill = $5add7917bf680282$exports.spawnedKill;\nvar $875a6e6d11e2ed2f$require$spawnedCancel = $5add7917bf680282$exports.spawnedCancel;\nvar $875a6e6d11e2ed2f$require$setupTimeout = $5add7917bf680282$exports.setupTimeout;\nvar $875a6e6d11e2ed2f$require$validateTimeout = $5add7917bf680282$exports.validateTimeout;\nvar $875a6e6d11e2ed2f$require$setExitHandler = $5add7917bf680282$exports.setExitHandler;\nvar $0af9692fa471673a$exports = {};\n\"use strict\";\nvar $a742a541a3a7aca9$exports = {};\n\"use strict\";\nconst $a742a541a3a7aca9$var$isStream = (stream)=>stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n$a742a541a3a7aca9$var$isStream.writable = (stream)=>$a742a541a3a7aca9$var$isStream(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n$a742a541a3a7aca9$var$isStream.readable = (stream)=>$a742a541a3a7aca9$var$isStream(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n$a742a541a3a7aca9$var$isStream.duplex = (stream)=>$a742a541a3a7aca9$var$isStream.writable(stream) && $a742a541a3a7aca9$var$isStream.readable(stream);\n$a742a541a3a7aca9$var$isStream.transform = (stream)=>$a742a541a3a7aca9$var$isStream.duplex(stream) && typeof stream._transform === \"function\";\n$a742a541a3a7aca9$exports = $a742a541a3a7aca9$var$isStream;\n\n\nvar $51bb95e1718a9e99$exports = {};\n\"use strict\";\n\nvar $51bb95e1718a9e99$require$BufferConstants = $d7DIX$buffer.constants;\n\n\nvar $51bb95e1718a9e99$require$promisify = $d7DIX$util.promisify;\nvar $4d91ceac3d29e594$exports = {};\n\"use strict\";\n\nvar $4d91ceac3d29e594$require$PassThroughStream = $d7DIX$stream.PassThrough;\n$4d91ceac3d29e594$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 $4d91ceac3d29e594$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 $51bb95e1718a9e99$var$streamPipelinePromisified = $51bb95e1718a9e99$require$promisify($d7DIX$stream.pipeline);\nclass $51bb95e1718a9e99$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $51bb95e1718a9e99$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 = $4d91ceac3d29e594$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $51bb95e1718a9e99$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $51bb95e1718a9e99$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 $51bb95e1718a9e99$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$51bb95e1718a9e99$exports = $51bb95e1718a9e99$var$getStream;\n$51bb95e1718a9e99$exports.buffer = (stream, options)=>$51bb95e1718a9e99$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$51bb95e1718a9e99$exports.array = (stream, options)=>$51bb95e1718a9e99$var$getStream(stream, {\n ...options,\n array: true\n });\n$51bb95e1718a9e99$exports.MaxBufferError = $51bb95e1718a9e99$var$MaxBufferError;\n\n\nvar $50d0883357807da8$exports = {};\n\"use strict\";\n\nvar $50d0883357807da8$require$PassThrough = $d7DIX$stream.PassThrough;\n$50d0883357807da8$exports = function() {\n var sources = [];\n var output = new $50d0883357807da8$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 $0af9692fa471673a$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 ($a742a541a3a7aca9$exports(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\n// `all` interleaves `stdout` and `stderr`\nconst $0af9692fa471673a$var$makeAllStream = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = $50d0883357807da8$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 $0af9692fa471673a$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 $0af9692fa471673a$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return $51bb95e1718a9e99$exports(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return $51bb95e1718a9e99$exports.buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst $0af9692fa471673a$var$getSpawnedResult = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $0af9692fa471673a$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $0af9692fa471673a$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $0af9692fa471673a$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 $0af9692fa471673a$var$getBufferedData(stdout, stdoutPromise),\n $0af9692fa471673a$var$getBufferedData(stderr, stderrPromise),\n $0af9692fa471673a$var$getBufferedData(all, allPromise)\n ]);\n }\n};\nconst $0af9692fa471673a$var$validateInputSync = ({ input: input })=>{\n if ($a742a541a3a7aca9$exports(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n};\n$0af9692fa471673a$exports = {\n handleInput: $0af9692fa471673a$var$handleInput,\n makeAllStream: $0af9692fa471673a$var$makeAllStream,\n getSpawnedResult: $0af9692fa471673a$var$getSpawnedResult,\n validateInputSync: $0af9692fa471673a$var$validateInputSync\n};\n\n\nvar $875a6e6d11e2ed2f$require$handleInput = $0af9692fa471673a$exports.handleInput;\nvar $875a6e6d11e2ed2f$require$getSpawnedResult = $0af9692fa471673a$exports.getSpawnedResult;\nvar $875a6e6d11e2ed2f$require$makeAllStream = $0af9692fa471673a$exports.makeAllStream;\nvar $875a6e6d11e2ed2f$require$validateInputSync = $0af9692fa471673a$exports.validateInputSync;\nvar $095266db841971ea$exports = {};\n\"use strict\";\nconst $095266db841971ea$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $095266db841971ea$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($095266db841971ea$var$nativePromisePrototype, property)\n ]);\n// The return value is a mixin of `childProcess` and `Promise`\nconst $095266db841971ea$var$mergePromise = (spawned, promise)=>{\n for (const [property, descriptor] of $095266db841971ea$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 $095266db841971ea$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$095266db841971ea$exports = {\n mergePromise: $095266db841971ea$var$mergePromise,\n getSpawnedPromise: $095266db841971ea$var$getSpawnedPromise\n};\n\n\nvar $875a6e6d11e2ed2f$require$mergePromise = $095266db841971ea$exports.mergePromise;\nvar $875a6e6d11e2ed2f$require$getSpawnedPromise = $095266db841971ea$exports.getSpawnedPromise;\nvar $0e4224b860f141fe$exports = {};\n\"use strict\";\nconst $0e4224b860f141fe$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $0e4224b860f141fe$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $0e4224b860f141fe$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $0e4224b860f141fe$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $0e4224b860f141fe$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($0e4224b860f141fe$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $0e4224b860f141fe$var$joinCommand = (file, args)=>{\n return $0e4224b860f141fe$var$normalizeArgs(file, args).join(\" \");\n};\nconst $0e4224b860f141fe$var$getEscapedCommand = (file, args)=>{\n return $0e4224b860f141fe$var$normalizeArgs(file, args).map((arg)=>$0e4224b860f141fe$var$escapeArg(arg)).join(\" \");\n};\nconst $0e4224b860f141fe$var$SPACES_REGEXP = / +/g;\n// Handle `execa.command()`\nconst $0e4224b860f141fe$var$parseCommand = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($0e4224b860f141fe$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$0e4224b860f141fe$exports = {\n joinCommand: $0e4224b860f141fe$var$joinCommand,\n getEscapedCommand: $0e4224b860f141fe$var$getEscapedCommand,\n parseCommand: $0e4224b860f141fe$var$parseCommand\n};\n\n\nvar $875a6e6d11e2ed2f$require$joinCommand = $0e4224b860f141fe$exports.joinCommand;\nvar $875a6e6d11e2ed2f$require$parseCommand = $0e4224b860f141fe$exports.parseCommand;\nvar $875a6e6d11e2ed2f$require$getEscapedCommand = $0e4224b860f141fe$exports.getEscapedCommand;\nconst $875a6e6d11e2ed2f$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $875a6e6d11e2ed2f$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 $020b45bf5d462a46$exports.env({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $875a6e6d11e2ed2f$var$handleArguments = (file, args, options = {})=>{\n const parsed = $c7dd3a41c12bbb5b$exports._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $875a6e6d11e2ed2f$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 = $875a6e6d11e2ed2f$var$getEnv(options);\n options.stdio = $c678cc3f77a5df8f$exports(options);\n if (process.platform === \"win32\" && $d7DIX$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 $875a6e6d11e2ed2f$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 $c6c34cab6d11f47e$exports(value);\n return value;\n};\nconst $875a6e6d11e2ed2f$var$execa = (file, args, options)=>{\n const parsed = $875a6e6d11e2ed2f$var$handleArguments(file, args, options);\n const command = $875a6e6d11e2ed2f$require$joinCommand(file, args);\n const escapedCommand = $875a6e6d11e2ed2f$require$getEscapedCommand(file, args);\n $875a6e6d11e2ed2f$require$validateTimeout(parsed.options);\n let spawned;\n try {\n spawned = $d7DIX$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 $d7DIX$child_process.ChildProcess();\n const errorPromise = Promise.reject($fe0749d2cd50e67f$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 $875a6e6d11e2ed2f$require$mergePromise(dummySpawned, errorPromise);\n }\n const spawnedPromise = $875a6e6d11e2ed2f$require$getSpawnedPromise(spawned);\n const timedPromise = $875a6e6d11e2ed2f$require$setupTimeout(spawned, parsed.options, spawnedPromise);\n const processDone = $875a6e6d11e2ed2f$require$setExitHandler(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = $875a6e6d11e2ed2f$require$spawnedKill.bind(null, spawned.kill.bind(spawned));\n spawned.cancel = $875a6e6d11e2ed2f$require$spawnedCancel.bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await $875a6e6d11e2ed2f$require$getSpawnedResult(spawned, parsed.options, processDone);\n const stdout = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, stderrResult);\n const all = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = $fe0749d2cd50e67f$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 = $f1134ba5c844ad01$exports(handlePromise);\n $875a6e6d11e2ed2f$require$handleInput(spawned, parsed.options.input);\n spawned.all = $875a6e6d11e2ed2f$require$makeAllStream(spawned, parsed.options);\n return $875a6e6d11e2ed2f$require$mergePromise(spawned, handlePromiseOnce);\n};\n$875a6e6d11e2ed2f$exports = $875a6e6d11e2ed2f$var$execa;\n$875a6e6d11e2ed2f$exports.sync = (file, args, options)=>{\n const parsed = $875a6e6d11e2ed2f$var$handleArguments(file, args, options);\n const command = $875a6e6d11e2ed2f$require$joinCommand(file, args);\n const escapedCommand = $875a6e6d11e2ed2f$require$getEscapedCommand(file, args);\n $875a6e6d11e2ed2f$require$validateInputSync(parsed.options);\n let result;\n try {\n result = $d7DIX$child_process.spawnSync(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n throw $fe0749d2cd50e67f$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 = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = $fe0749d2cd50e67f$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$875a6e6d11e2ed2f$exports.command = (command, options)=>{\n const [file, ...args] = $875a6e6d11e2ed2f$require$parseCommand(command);\n return $875a6e6d11e2ed2f$var$execa(file, args, options);\n};\n$875a6e6d11e2ed2f$exports.commandSync = (command, options)=>{\n const [file, ...args] = $875a6e6d11e2ed2f$require$parseCommand(command);\n return $875a6e6d11e2ed2f$var$execa.sync(file, args, options);\n};\n$875a6e6d11e2ed2f$exports.node = (scriptPath, args, options = {})=>{\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = $c678cc3f77a5df8f$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 $875a6e6d11e2ed2f$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 $76ba8439ed485bee$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 $76ba8439ed485bee$export$7683bf1311d8252() {\n return null !== (0, (/*@__PURE__*/$parcel$interopDefault($a144cf96e3e9a15c$exports))).sync(\"sudo\", {\n nothrow: !0\n });\n}\nfunction $76ba8439ed485bee$export$e3140dc7d0c35e48() {\n return 0 === process.getuid?.() || !!process.env.CI;\n}\nfunction $76ba8439ed485bee$export$316200228f28b8ce() {\n return $76ba8439ed485bee$export$e3140dc7d0c35e48() && $76ba8439ed485bee$export$7683bf1311d8252();\n}\nfunction $76ba8439ed485bee$export$d976d47922ae9667(n) {\n return $76ba8439ed485bee$export$316200228f28b8ce() ? \"sudo \" + n : n;\n}\nfunction $76ba8439ed485bee$export$58f152936f209932(n, o = [], e = {\n stdio: \"inherit\",\n shell: !0\n}) {\n return $76ba8439ed485bee$export$316200228f28b8ce() ? (0, (/*@__PURE__*/$parcel$interopDefault($875a6e6d11e2ed2f$exports))).commandSync(\"sudo \" + [\n n,\n ...o\n ].map((n)=>`'${n}'`).join(\" \"), e) : (0, (/*@__PURE__*/$parcel$interopDefault($875a6e6d11e2ed2f$exports))).sync(n, o, e);\n}\nfunction $76ba8439ed485bee$export$351270479e2eef26(n, o = [], e = {\n stdio: \"inherit\",\n shell: !0\n}) {\n return $76ba8439ed485bee$export$316200228f28b8ce() ? (0, (/*@__PURE__*/$parcel$interopDefault($875a6e6d11e2ed2f$exports))).command(\"sudo \" + [\n n,\n ...o\n ].map((n)=>`'${n}'`).join(\" \"), e) : (0, (/*@__PURE__*/$parcel$interopDefault($875a6e6d11e2ed2f$exports)))(n, o, e);\n}\nfunction $76ba8439ed485bee$export$fc970ed23da99565() {\n return \"win32\" === process.platform ? $76ba8439ed485bee$export$36ad181701cee597() : $76ba8439ed485bee$export$e3140dc7d0c35e48();\n}\nvar $76ba8439ed485bee$var$d = {};\n$76ba8439ed485bee$var$n($76ba8439ed485bee$var$d, \"hasSudo\", ()=>$76ba8439ed485bee$export$7683bf1311d8252), $76ba8439ed485bee$var$n($76ba8439ed485bee$var$d, \"isRoot\", ()=>$76ba8439ed485bee$export$e3140dc7d0c35e48), $76ba8439ed485bee$var$n($76ba8439ed485bee$var$d, \"isSudo\", ()=>$76ba8439ed485bee$export$316200228f28b8ce), $76ba8439ed485bee$var$n($76ba8439ed485bee$var$d, \"prependSudo\", ()=>$76ba8439ed485bee$export$d976d47922ae9667), $76ba8439ed485bee$var$n($76ba8439ed485bee$var$d, \"execRootSync\", ()=>$76ba8439ed485bee$export$58f152936f209932), $76ba8439ed485bee$var$n($76ba8439ed485bee$var$d, \"execRoot\", ()=>$76ba8439ed485bee$export$351270479e2eef26);\nvar $76ba8439ed485bee$var$m = {};\n$76ba8439ed485bee$var$n($76ba8439ed485bee$var$m, \"isAdminWindows\", ()=>$76ba8439ed485bee$export$36ad181701cee597), $76ba8439ed485bee$var$n($76ba8439ed485bee$var$m, \"isAdminPosix\", ()=>$76ba8439ed485bee$export$2ebf12717e6b5bb8), $76ba8439ed485bee$var$n($76ba8439ed485bee$var$m, \"isAdmin\", ()=>$76ba8439ed485bee$export$fc970ed23da99565);\nconst $76ba8439ed485bee$export$36ad181701cee597 = async ()=>{\n if (\"win32\" !== process.platform) return !1;\n try {\n return await (0, (/*@__PURE__*/$parcel$interopDefault($875a6e6d11e2ed2f$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($875a6e6d11e2ed2f$exports)))(\"fltmc\"), !0;\n } catch {\n return !1;\n }\n })();\n }\n}, $76ba8439ed485bee$export$2ebf12717e6b5bb8 = $76ba8439ed485bee$export$e3140dc7d0c35e48;\n\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\n\nfunction $2ab7bac94b4dccca$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 $ac6213fd5778797d$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 $377ad15e76cc6af3$export$62a298cbef08d65c(options = {}) {\n const { cwd: cwd = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(), path: path_ = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).env[(0, $ac6213fd5778797d$export$2e2bcd8739ae039)()], execPath: execPath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath } = options;\n let previous;\n const cwdString = cwd instanceof URL ? (0, ($parcel$interopDefault($d7DIX$nodeurl))).fileURLToPath(cwd) : cwd;\n let cwdPath = (0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdString);\n const result = [];\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($d7DIX$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used.\n result.push((0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdString, execPath, \"..\"));\n return [\n ...result,\n path_\n ].join((0, ($parcel$interopDefault($d7DIX$nodepath))).delimiter);\n}\nfunction $377ad15e76cc6af3$export$340e1fbaac04248b({ env: env = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).env, ...options } = {}) {\n env = {\n ...env\n };\n const path = (0, $ac6213fd5778797d$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[path];\n env[path] = $377ad15e76cc6af3$export$62a298cbef08d65c(options);\n return env;\n}\n\n\nconst $aaee6e25a3997d84$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 (!$aaee6e25a3997d84$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 $aaee6e25a3997d84$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 $aaee6e25a3997d84$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $aaee6e25a3997d84$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $aaee6e25a3997d84$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $aaee6e25a3997d84$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 $aaee6e25a3997d84$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $aaee6e25a3997d84$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\", $aaee6e25a3997d84$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$aaee6e25a3997d84$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $aaee6e25a3997d84$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$aaee6e25a3997d84$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $aaee6e25a3997d84$var$changePrototype(to, from);\n $aaee6e25a3997d84$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $7b1fd4cd812d5227$var$calledFunctions = new WeakMap();\nconst $7b1fd4cd812d5227$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 $7b1fd4cd812d5227$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, $aaee6e25a3997d84$export$2e2bcd8739ae039)(onetime, function_);\n $7b1fd4cd812d5227$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$7b1fd4cd812d5227$var$onetime.callCount = (function_)=>{\n if (!$7b1fd4cd812d5227$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $7b1fd4cd812d5227$var$calledFunctions.get(function_);\n};\nvar $7b1fd4cd812d5227$export$2e2bcd8739ae039 = $7b1fd4cd812d5227$var$onetime;\n\n\n\nconst $431d023be48e6a32$export$e221a98f4fd84d36 = ()=>{\n const length = $431d023be48e6a32$export$dc8812f2f8882ff4 - $431d023be48e6a32$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $431d023be48e6a32$var$getRealtimeSignal);\n};\nconst $431d023be48e6a32$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $431d023be48e6a32$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $431d023be48e6a32$var$SIGRTMIN = 34;\nconst $431d023be48e6a32$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $b1a9bb7d4240f2b8$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 $d94c33523db6959d$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $431d023be48e6a32$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $b1a9bb7d4240f2b8$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($d94c33523db6959d$var$normalizeSignal);\n return signals;\n};\nconst $d94c33523db6959d$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $d7DIX$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 $fdad0395637cfe30$var$getSignalsByName = ()=>{\n const signals = (0, $d94c33523db6959d$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($fdad0395637cfe30$var$getSignalByName));\n};\nconst $fdad0395637cfe30$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 $fdad0395637cfe30$export$c3fcb39d6848c78d = $fdad0395637cfe30$var$getSignalsByName();\nconst $fdad0395637cfe30$var$getSignalsByNumber = ()=>{\n const signals = (0, $d94c33523db6959d$export$c50078d4faa171f0)();\n const length = (0, $431d023be48e6a32$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$fdad0395637cfe30$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $fdad0395637cfe30$var$getSignalByNumber = (number, signals)=>{\n const signal = $fdad0395637cfe30$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 $fdad0395637cfe30$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $d7DIX$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $fdad0395637cfe30$export$12f57f97a08d2468 = $fdad0395637cfe30$var$getSignalsByNumber();\n\n\nconst $8032d85e7907774f$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 $8032d85e7907774f$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, $fdad0395637cfe30$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $8032d85e7907774f$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 $8f67569ac89dd688$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $8f67569ac89dd688$var$hasAlias = (options)=>$8f67569ac89dd688$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $8f67569ac89dd688$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $8f67569ac89dd688$var$aliases.map((alias)=>options[alias]);\n if ($8f67569ac89dd688$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$8f67569ac89dd688$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, $8f67569ac89dd688$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $8f67569ac89dd688$export$889423b478ae2ba = (options)=>{\n const stdio = $8f67569ac89dd688$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 $20676f95373976d8$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $20676f95373976d8$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $20676f95373976d8$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $20676f95373976d8$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$20676f95373976d8$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $20676f95373976d8$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 $20676f95373976d8$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$20676f95373976d8$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $20676f95373976d8$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($d7DIX$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $20676f95373976d8$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $20676f95373976d8$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 $20676f95373976d8$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $20676f95373976d8$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 $20676f95373976d8$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 $20676f95373976d8$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 $20676f95373976d8$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 $20676f95373976d8$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($7a0875ae79160463$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $1b845941fd0b06aa$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $1b845941fd0b06aa$export$b58a61c52edb4f66(stream) {\n return $1b845941fd0b06aa$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $1b845941fd0b06aa$export$ac613ff475b69d05(stream) {\n return $1b845941fd0b06aa$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $1b845941fd0b06aa$export$f92d8ccfaec172d4(stream) {\n return $1b845941fd0b06aa$export$b58a61c52edb4f66(stream) && $1b845941fd0b06aa$export$ac613ff475b69d05(stream);\n}\nfunction $1b845941fd0b06aa$export$3053cdc6f2e088fd(stream) {\n return $1b845941fd0b06aa$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $fa9359749316c783$var$isExecaChildProcess = (target)=>target instanceof (0, $d7DIX$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $fa9359749316c783$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $d7DIX$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $1b845941fd0b06aa$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$fa9359749316c783$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $1b845941fd0b06aa$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 $fa9359749316c783$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $fa9359749316c783$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $fa9359749316c783$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $fa9359749316c783$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $f01023e574f93d07$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $f01023e574f93d07$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $f01023e574f93d07$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.readFileSync)(inputFile);\n};\nconst $f01023e574f93d07$export$7f2f9b6457412b41 = (options)=>{\n const input = $f01023e574f93d07$var$getInputSync(options);\n if ((0, $1b845941fd0b06aa$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $f01023e574f93d07$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $f01023e574f93d07$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.createReadStream)(inputFile);\n};\nconst $f01023e574f93d07$export$412508d679148d5c = (spawned, options)=>{\n const input = $f01023e574f93d07$var$getInput(options);\n if (input === undefined) return;\n if ((0, $1b845941fd0b06aa$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $f01023e574f93d07$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($50d0883357807da8$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 $f01023e574f93d07$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 $f01023e574f93d07$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($51bb95e1718a9e99$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($51bb95e1718a9e99$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $f01023e574f93d07$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $f01023e574f93d07$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $f01023e574f93d07$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $f01023e574f93d07$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 $f01023e574f93d07$var$getBufferedData(stdout, stdoutPromise),\n $f01023e574f93d07$var$getBufferedData(stderr, stderrPromise),\n $f01023e574f93d07$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $1758c2801846994d$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $1758c2801846994d$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($1758c2801846994d$var$nativePromisePrototype, property)\n ]);\nconst $1758c2801846994d$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $1758c2801846994d$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 $1758c2801846994d$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 $8ce568eb6882b236$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $8ce568eb6882b236$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $8ce568eb6882b236$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $8ce568eb6882b236$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $8ce568eb6882b236$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($8ce568eb6882b236$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $8ce568eb6882b236$export$ab3db8fe5ebf3a1 = (file, args)=>$8ce568eb6882b236$var$normalizeArgs(file, args).join(\" \");\nconst $8ce568eb6882b236$export$9d3099014bd914f8 = (file, args)=>$8ce568eb6882b236$var$normalizeArgs(file, args).map((arg)=>$8ce568eb6882b236$var$escapeArg(arg)).join(\" \");\nconst $8ce568eb6882b236$var$SPACES_REGEXP = / +/g;\nconst $8ce568eb6882b236$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($8ce568eb6882b236$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 $8ce568eb6882b236$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, $d7DIX$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $d7DIX$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 $8ce568eb6882b236$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 $8ce568eb6882b236$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($8ce568eb6882b236$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $8ce568eb6882b236$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)=>$8ce568eb6882b236$var$parseExpression(expression)) : [\n $8ce568eb6882b236$var$parseExpression(expression)\n ];\n return $8ce568eb6882b236$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $8ce568eb6882b236$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $8ce568eb6882b236$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 $a1a26e26c6ed219b$export$38bb3c1fbaa0bdcf = (0, $d7DIX$nodeutil.debuglog)(\"execa\").enabled;\nconst $a1a26e26c6ed219b$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $a1a26e26c6ed219b$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$a1a26e26c6ed219b$var$padField(date.getHours(), 2)}:${$a1a26e26c6ed219b$var$padField(date.getMinutes(), 2)}:${$a1a26e26c6ed219b$var$padField(date.getSeconds(), 2)}.${$a1a26e26c6ed219b$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $a1a26e26c6ed219b$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($d7DIX$nodeprocess))).stderr.write(`[${$a1a26e26c6ed219b$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $0793fb0b6d3aab2f$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $0793fb0b6d3aab2f$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($d7DIX$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $377ad15e76cc6af3$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $0793fb0b6d3aab2f$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($c7dd3a41c12bbb5b$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $0793fb0b6d3aab2f$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $a1a26e26c6ed219b$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $0793fb0b6d3aab2f$var$getEnv(options);\n options.stdio = (0, $8f67569ac89dd688$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($d7DIX$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($d7DIX$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 $0793fb0b6d3aab2f$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $d7DIX$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, $2ab7bac94b4dccca$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $0793fb0b6d3aab2f$export$db6b1668e3758717(file, args, options) {\n const parsed = $0793fb0b6d3aab2f$var$handleArguments(file, args, options);\n const command = (0, $8ce568eb6882b236$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $8ce568eb6882b236$export$9d3099014bd914f8)(file, args);\n (0, $a1a26e26c6ed219b$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $20676f95373976d8$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($d7DIX$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($d7DIX$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $8032d85e7907774f$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, $1758c2801846994d$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $1758c2801846994d$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $20676f95373976d8$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $20676f95373976d8$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $20676f95373976d8$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $20676f95373976d8$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, $f01023e574f93d07$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, stderrResult);\n const all = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $8032d85e7907774f$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, $7b1fd4cd812d5227$export$2e2bcd8739ae039)(handlePromise);\n (0, $f01023e574f93d07$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $f01023e574f93d07$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $fa9359749316c783$export$14becf8d91886424)(spawned);\n (0, $1758c2801846994d$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $0793fb0b6d3aab2f$export$28823a701bb5a12d(file, args, options) {\n const parsed = $0793fb0b6d3aab2f$var$handleArguments(file, args, options);\n const command = (0, $8ce568eb6882b236$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $8ce568eb6882b236$export$9d3099014bd914f8)(file, args);\n (0, $a1a26e26c6ed219b$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $f01023e574f93d07$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $8032d85e7907774f$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 = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $8032d85e7907774f$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 $0793fb0b6d3aab2f$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $0793fb0b6d3aab2f$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$0793fb0b6d3aab2f$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $0793fb0b6d3aab2f$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $0793fb0b6d3aab2f$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $8ce568eb6882b236$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $0793fb0b6d3aab2f$export$db6b1668e3758717(file, args, $0793fb0b6d3aab2f$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, $8ce568eb6882b236$export$4a6ee54de9b0f25d)(templates, expressions);\n return $0793fb0b6d3aab2f$export$28823a701bb5a12d(file, args, $0793fb0b6d3aab2f$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $0793fb0b6d3aab2f$export$3d8c2f653ac9d0b9 = $0793fb0b6d3aab2f$var$create$();\nfunction $0793fb0b6d3aab2f$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $8ce568eb6882b236$export$78bcee23e0849f6a)(command);\n return $0793fb0b6d3aab2f$export$db6b1668e3758717(file, args, options);\n}\nfunction $0793fb0b6d3aab2f$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $8ce568eb6882b236$export$78bcee23e0849f6a)(command);\n return $0793fb0b6d3aab2f$export$28823a701bb5a12d(file, args, options);\n}\nfunction $0793fb0b6d3aab2f$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $8f67569ac89dd688$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $0793fb0b6d3aab2f$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 $beaad862f625dcb6$var$powershell;\nfunction $beaad862f625dcb6$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $0793fb0b6d3aab2f$export$db6b1668e3758717($beaad862f625dcb6$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $beaad862f625dcb6$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $0793fb0b6d3aab2f$export$28823a701bb5a12d($beaad862f625dcb6$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $beaad862f625dcb6$export$4dfdd3964d242d20() {\n if ($beaad862f625dcb6$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($a144cf96e3e9a15c$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $beaad862f625dcb6$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($a144cf96e3e9a15c$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $beaad862f625dcb6$var$powershell = maybePowerShell;\n }\n if ($beaad862f625dcb6$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $beaad862f625dcb6$var$powershell;\n}\n\n\n\nvar $ff873c95cf07adf2$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $ff873c95cf07adf2$var$is_posix_os = $d7DIX$os.platform() !== \"win32\";\nconst $ff873c95cf07adf2$var$version = $d7DIX$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 $ff873c95cf07adf2$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $ff873c95cf07adf2$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$ff873c95cf07adf2$exports = function(given_path) {\n return $ff873c95cf07adf2$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $ff873c95cf07adf2$var$should_not_escape(...$ff873c95cf07adf2$var$windows_version_regex.exec($ff873c95cf07adf2$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\n\n\nfunction $cb3af52b672daafb$export$f9a3d10eb7c735af(path) {\n if ((process.platform === \"linux\" || process.platform === \"darwin\") && (0, $10cabb0a78322e0c$export$316200228f28b8ce)() && process.env.SUDO_USER !== undefined) {\n const isDirectory = (0, $d7DIX$fs.statSync)(path).isDirectory();\n (0, $10cabb0a78322e0c$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 $440f4387ee1a7906$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"awj79\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $440f4387ee1a7906$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($440f4387ee1a7906$exports);\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\nconst $85fd7153285bfba5$var$defaultAddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false\n};\nasync function $85fd7153285bfba5$export$f63d3080ce25e0fd(name, valGiven, options = $85fd7153285bfba5$var$defaultAddEnvOptions) {\n const val = $85fd7153285bfba5$var$escapeString(valGiven ?? \"\", options.shouldEscapeSpace);\n try {\n if (0, $dTX7a.GITHUB_ACTIONS) try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $lcRzN.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $lcRzN.exportVariable)(name, val);\n } catch (err) {\n (0, $ER74K.error)(err);\n await $85fd7153285bfba5$var$addEnvSystem(name, val, options);\n }\n else await $85fd7153285bfba5$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $ER74K.error)(err);\n (0, $lcRzN.setFailed)(`Failed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nfunction $85fd7153285bfba5$var$escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($ff873c95cf07adf2$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($440f4387ee1a7906$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\nasync function $85fd7153285bfba5$export$4c25481b843feb0b(path) {\n process.env.PATH = `${path}${0, $d7DIX$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $dTX7a.GITHUB_ACTIONS) try {\n (0, $lcRzN.addPath)(path);\n } catch (err) {\n (0, $ER74K.error)(err);\n await $85fd7153285bfba5$var$addPathSystem(path);\n }\n else await $85fd7153285bfba5$var$addPathSystem(path);\n } catch (err) {\n (0, $ER74K.error)(err);\n (0, $lcRzN.setFailed)(`Failed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nconst $85fd7153285bfba5$export$1bbbc3a810c5799d = (0, $cc03115747abd396$export$8312d9eeba321950)(\".cpprc\");\nasync function $85fd7153285bfba5$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven ?? \"\";\n switch(process.platform){\n case \"win32\":\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $lcRzN.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $beaad862f625dcb6$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $lcRzN.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $85fd7153285bfba5$export$bd1dffd792f43c41();\n if (options.shouldAddOnlyIfNotDefined) {\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $lcRzN.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}`);\n } else {\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $lcRzN.info)(`${name}=\"${val}\" was added to \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\nasync function $85fd7153285bfba5$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, $beaad862f625dcb6$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $lcRzN.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $85fd7153285bfba5$export$bd1dffd792f43c41();\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $lcRzN.info)(`\"${path}\" was added to \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}\"`);\n return;\n default:\n return;\n }\n}\n/* eslint-disable require-atomic-updates */ let $85fd7153285bfba5$var$setupCppInProfile_called = false;\nasync function $85fd7153285bfba5$export$bd1dffd792f43c41() {\n if ($85fd7153285bfba5$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, $dOmbL.pathExists)($85fd7153285bfba5$export$1bbbc3a810c5799d)) {\n const cpprc_content = (0, $d7DIX$fs.readFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, \"utf8\");\n if (cpprc_content.includes(source_cpprc_str)) // already executed setupCppInProfile\n return;\n }\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\n${source_cpprc_str}\\n`);\n (0, $lcRzN.info)(`Added ${source_cpprc_str} to ${$85fd7153285bfba5$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 \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}\" ]]; then source \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}\"; fi\\n`;\n try {\n // source cpprc in .profile\n const profile_path = (0, $cc03115747abd396$export$8312d9eeba321950)(\".profile\");\n (0, $d7DIX$fs.appendFileSync)(profile_path, source_cpprc_string);\n (0, $lcRzN.info)(`${source_cpprc_string} was added to ${profile_path}`);\n // source cpprc in .bashrc too\n const bashrc_path = (0, $cc03115747abd396$export$8312d9eeba321950)(\".bashrc\");\n (0, $d7DIX$fs.appendFileSync)(bashrc_path, source_cpprc_string);\n (0, $lcRzN.info)(`${source_cpprc_string} was added to ${bashrc_path}`);\n } catch (err) {\n (0, $ER74K.warning)(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n $85fd7153285bfba5$var$setupCppInProfile_called = true;\n}\nasync function $85fd7153285bfba5$export$ca46151966bee7ba() {\n if (await (0, $dOmbL.pathExists)($85fd7153285bfba5$export$1bbbc3a810c5799d)) {\n const entries = (0, $d7DIX$fs.readFileSync)($85fd7153285bfba5$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, $d7DIX$fs.writeFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, unique_entries.join(\"\\n\"));\n try {\n (0, $cb3af52b672daafb$export$f9a3d10eb7c735af)($85fd7153285bfba5$export$1bbbc3a810c5799d);\n } catch {\n // ignore\n }\n }\n}\n\n\nvar $44f23bb49826ca87$exports = {};\n\n\nvar $44f23bb49826ca87$require$join = $d7DIX$path.join;\nvar $44f23bb49826ca87$require$delimiter = $d7DIX$path.delimiter;\nvar $44f23bb49826ca87$require$sep = $d7DIX$path.sep;\nvar $44f23bb49826ca87$require$posix = $d7DIX$path.posix;\nconst $44f23bb49826ca87$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 $44f23bb49826ca87$var$rSlash = new RegExp(`[${$44f23bb49826ca87$require$posix.sep}${$44f23bb49826ca87$require$sep === $44f23bb49826ca87$require$posix.sep ? \"\" : $44f23bb49826ca87$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $44f23bb49826ca87$var$rRel = new RegExp(`^\\\\.${$44f23bb49826ca87$var$rSlash.source}`);\nconst $44f23bb49826ca87$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $44f23bb49826ca87$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $44f23bb49826ca87$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($44f23bb49826ca87$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$44f23bb49826ca87$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($44f23bb49826ca87$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 $44f23bb49826ca87$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $44f23bb49826ca87$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $44f23bb49826ca87$require$join(pathPart, cmd);\n};\nconst $44f23bb49826ca87$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $44f23bb49826ca87$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $44f23bb49826ca87$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $ff1862185d1397df$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 $44f23bb49826ca87$var$getNotFoundError(cmd);\n};\nconst $44f23bb49826ca87$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $44f23bb49826ca87$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $44f23bb49826ca87$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $ff1862185d1397df$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 $44f23bb49826ca87$var$getNotFoundError(cmd);\n};\n$44f23bb49826ca87$exports = $44f23bb49826ca87$var$which;\n$44f23bb49826ca87$var$which.sync = $44f23bb49826ca87$var$whichSync;\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\n\n\nvar $9ag04 = parcelRequire(\"9ag04\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nconst { appendFile: $f0410b58de32386f$var$appendFile } = (0, $d7DIX$fs.promises);\n/* eslint-disable require-atomic-updates */ let $f0410b58de32386f$var$didUpdate = false;\nlet $f0410b58de32386f$var$didInit = false;\nasync function $f0410b58de32386f$export$d73dc343f5abf26(packages, update = false) {\n const apt = $f0410b58de32386f$var$getApt();\n for (const { name: name, version: version } of packages)(0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via ${apt}`);\n process.env.DEBIAN_FRONTEND = \"noninteractive\";\n if (!$f0410b58de32386f$var$didUpdate || update) {\n $f0410b58de32386f$var$updateRepos(apt);\n $f0410b58de32386f$var$didUpdate = true;\n }\n if (!$f0410b58de32386f$var$didInit) {\n await $f0410b58de32386f$var$initApt(apt);\n $f0410b58de32386f$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, $76ba8439ed485bee$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n repo\n ]);\n $f0410b58de32386f$var$updateRepos(apt);\n }\n const aptArgs = await Promise.all(packages.map((pack)=>$f0410b58de32386f$var$getAptArg(pack.name, pack.version)));\n (0, $76ba8439ed485bee$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $f0410b58de32386f$var$getAptArg(name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $0793fb0b6d3aab2f$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $9ag04.default)(name)}-${(0, $9ag04.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, $0793fb0b6d3aab2f$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ]);\n if (showStdout.trim() === \"\") return `${name}=${version}`;\n } catch {\n // ignore\n }\n (0, $ER74K.warning)(`Failed to install ${name} ${version} via apt, trying without version`);\n }\n }\n return name;\n}\nfunction $f0410b58de32386f$var$getApt() {\n let apt;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\nfunction $f0410b58de32386f$var$updateRepos(apt) {\n (0, $76ba8439ed485bee$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 $f0410b58de32386f$var$initApt(apt) {\n (0, $76ba8439ed485bee$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 $f0410b58de32386f$export$11aa10c05ada0934([\n \"3B4FE6ACC0B21F32\",\n \"40976EAF437D05B5\"\n ], \"setup-cpp-ubuntu-archive.gpg\"),\n $f0410b58de32386f$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, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LANG\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LC_ALL\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }));\n await Promise.all(promises);\n}\nfunction $f0410b58de32386f$var$initGpg() {\n (0, $76ba8439ed485bee$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nasync function $f0410b58de32386f$export$11aa10c05ada0934(keys, name, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $dOmbL.pathExists)(fileName)) {\n $f0410b58de32386f$var$initGpg();\n await Promise.all(keys.map(async (key)=>{\n await (0, $76ba8439ed485bee$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, $76ba8439ed485bee$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }));\n }\n return fileName;\n } catch (err) {\n (0, $ER74K.warning)(`Failed to add apt key via server ${server}: ${err}`);\n return undefined;\n }\n}\nasync function $f0410b58de32386f$export$7fb1a688af1305f0(name, url) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $dOmbL.pathExists)(fileName)) {\n $f0410b58de32386f$var$initGpg();\n await $f0410b58de32386f$export$d73dc343f5abf26([\n {\n name: \"curl\"\n }\n ], undefined);\n (0, $76ba8439ed485bee$export$58f152936f209932)(\"bash\", [\n \"-c\",\n `curl -s ${url} | gpg --no-default-keyring --keyring gnupg-ring:${fileName} --import`\n ]);\n (0, $76ba8439ed485bee$export$58f152936f209932)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }\n return fileName;\n}\nasync function $f0410b58de32386f$export$6fe6436bd9f53d02(name, path) {\n if (0, $dTX7a.GITHUB_ACTIONS) return (0, $76ba8439ed485bee$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n \"40\"\n ]);\n else {\n await (0, $85fd7153285bfba5$export$bd1dffd792f43c41)();\n return $f0410b58de32386f$var$appendFile((0, $85fd7153285bfba5$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 $lcRzN = parcelRequire(\"lcRzN\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\nvar $fcBgE = parcelRequire(\"fcBgE\");\n\n\n/* eslint-disable require-atomic-updates */ let $b05e6e28215ee948$var$binDir;\nasync function $b05e6e28215ee948$export$c5eeb9c87a610a0e(_version, _setupDir, _arch) {\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n if (typeof $b05e6e28215ee948$var$binDir === \"string\") return {\n binDir: $b05e6e28215ee948$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $b05e6e28215ee948$var$binDir = (0, $ceI0e.dirname)(maybeBinDir);\n return {\n binDir: $b05e6e28215ee948$var$binDir\n };\n }\n // brew is not thread-safe\n const brewTempDirectory = (0, ($parcel$interopDefault($d7DIX$path))).join((0, $d7DIX$os.tmpdir)(), \"setup-cpp\", \"brew\");\n await (0, $fcBgE.mkdirP)(brewTempDirectory);\n (0, $0793fb0b6d3aab2f$export$28823a701bb5a12d)(\"curl\", [\n \"-LJO\",\n \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"\n ], {\n cwd: brewTempDirectory\n });\n const installSh = (0, $d7DIX$path.join)(brewTempDirectory, \"install.sh\");\n if (process.platform === \"linux\") {\n const installShContent = (0, $d7DIX$fs.readFileSync)(installSh, \"utf-8\");\n installShContent.replace(\"#!/bin/bash\", \"\");\n }\n (0, $0793fb0b6d3aab2f$export$28823a701bb5a12d)(\"/bin/bash\", [\n installSh\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n $b05e6e28215ee948$var$binDir = $b05e6e28215ee948$export$cba19b0564b654bf();\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)($b05e6e28215ee948$var$binDir);\n return {\n binDir: $b05e6e28215ee948$var$binDir\n };\n}\nfunction $b05e6e28215ee948$export$cba19b0564b654bf() {\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n else return \"/usr/local/bin/\";\n}\n\n\nlet $10ddbd636565d4da$var$hasBrew = false;\nasync function $10ddbd636565d4da$export$ce5d13d8a85cb784(name, version, extraArgs = []) {\n (0, $lcRzN.info)(`Installing ${name} ${version ?? \"\"} via brew`);\n if (!$10ddbd636565d4da$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $b05e6e28215ee948$export$c5eeb9c87a610a0e)(\"\", \"\", process.arch);\n $10ddbd636565d4da$var$hasBrew = true;\n }\n const binDir = (0, $b05e6e28215ee948$export$cba19b0564b654bf)();\n // brew is not thread-safe\n (0, $0793fb0b6d3aab2f$export$28823a701bb5a12d)((0, $ceI0e.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 $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\nlet $5540d46c90af649b$var$binDir;\nasync function $5540d46c90af649b$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 $5540d46c90af649b$var$binDir === \"string\") return {\n binDir: $5540d46c90af649b$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $5540d46c90af649b$var$binDir = (0, $ceI0e.dirname)(maybeBinDir);\n return {\n binDir: $5540d46c90af649b$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$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, $0793fb0b6d3aab2f$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, $85fd7153285bfba5$export$4c25481b843feb0b)(chocoPath);\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeChoco !== null) $5540d46c90af649b$var$binDir = (0, $ceI0e.dirname)(maybeChoco);\n else $5540d46c90af649b$var$binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $dOmbL.pathExists)($5540d46c90af649b$var$binDir)) return {\n binDir: $5540d46c90af649b$var$binDir\n };\n return undefined;\n}\n\n\n\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nlet $ca3ee4fd324ae5e9$var$hasChoco = false;\nasync function $ca3ee4fd324ae5e9$export$9f6912bc890040b2(name, version, args = []) {\n (0, $lcRzN.info)(`Installing ${name} ${version ?? \"\"} via chocolatey`);\n if (!$ca3ee4fd324ae5e9$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $5540d46c90af649b$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $ca3ee4fd324ae5e9$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, $0793fb0b6d3aab2f$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, $0793fb0b6d3aab2f$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, $ER74K.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, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\n\n\n\nlet $84785c71f430250a$var$isArchCache = undefined;\nfunction $84785c71f430250a$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($84785c71f430250a$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $84785c71f430250a$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $84785c71f430250a$var$isArchCache;\n}\n\n\n\nlet $3cbfee605ac1e082$var$hasDnfCache = undefined;\nfunction $3cbfee605ac1e082$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($3cbfee605ac1e082$var$hasDnfCache === undefined) $3cbfee605ac1e082$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $3cbfee605ac1e082$var$hasDnfCache;\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\nvar $ER74K = parcelRequire(\"ER74K\");\nfunction $7e2451edad050552$export$49d4f9ba8e0dd34f(name, version) {\n (0, $ER74K.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, $76ba8439ed485bee$export$58f152936f209932)(dnf, [\n \"-y\",\n \"install\",\n `${name}-${version}`\n ]);\n } catch (err) {\n (0, $ER74K.warning)(`${err.toString()}\\nInstalling the default version available via dnf`);\n (0, $76ba8439ed485bee$export$58f152936f209932)(dnf, [\n \"-y\",\n \"install\",\n name\n ]);\n }\n else (0, $76ba8439ed485bee$export$58f152936f209932)(dnf, [\n \"-y\",\n \"install\",\n name\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\n\n\n\nlet $7b55ac603b97ae6e$var$isUbuntuCache = undefined;\nfunction $7b55ac603b97ae6e$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($7b55ac603b97ae6e$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $7b55ac603b97ae6e$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $7b55ac603b97ae6e$var$isUbuntuCache;\n}\n\n\n\nasync function $8550ac0edfced131$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"dnf-plugins-core\", undefined);\n (0, $76ba8439ed485bee$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"bazel4\", undefined);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $f0410b58de32386f$export$7fb1a688af1305f0)(\"bazel-archive-keyring.gpg\", \"https://bazel.build/bazel-release.pub.gpg\");\n (0, $76ba8439ed485bee$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, $f0410b58de32386f$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 $ER74K = parcelRequire(\"ER74K\");\n\n/* eslint-disable require-atomic-updates */ let $6f126e8fe01fa080$var$didUpdate = false;\nlet $6f126e8fe01fa080$var$didInit = false;\nasync function $6f126e8fe01fa080$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via pacman`);\n const pacman = \"pacman\";\n // yay can't run as root, so skip update\n if (!$6f126e8fe01fa080$var$didUpdate && aur !== \"yay\") {\n (0, $76ba8439ed485bee$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $6f126e8fe01fa080$var$didUpdate = true;\n }\n // install base-devel\n if (!$6f126e8fe01fa080$var$didInit) {\n (0, $76ba8439ed485bee$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $6f126e8fe01fa080$var$didInit = true;\n }\n const runInstall = (arg)=>{\n return (0, $76ba8439ed485bee$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 $6f126e8fe01fa080$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, $ER74K.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 $6f126e8fe01fa080$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $6f126e8fe01fa080$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $0793fb0b6d3aab2f$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($6f126e8fe01fa080$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $ER74K.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\n\n\n\n\n\n\nfunction $37a450505a669dce$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"ccache\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"ccache\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$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 $b6359893e987d0a9$exports = {};\n\nvar $b6359893e987d0a9$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $b6359893e987d0a9$var$__createBinding = $b6359893e987d0a9$exports && $b6359893e987d0a9$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 $b6359893e987d0a9$var$__setModuleDefault = $b6359893e987d0a9$exports && $b6359893e987d0a9$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 $b6359893e987d0a9$var$__importStar = $b6359893e987d0a9$exports && $b6359893e987d0a9$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)) $b6359893e987d0a9$var$__createBinding(result, mod, k);\n }\n $b6359893e987d0a9$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $b6359893e987d0a9$var$__awaiter = $b6359893e987d0a9$exports && $b6359893e987d0a9$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 $b6359893e987d0a9$var$__importDefault = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($b6359893e987d0a9$exports, \"__esModule\", {\n value: true\n});\n$b6359893e987d0a9$exports.evaluateVersions = $b6359893e987d0a9$exports.isExplicitVersion = $b6359893e987d0a9$exports.findFromManifest = $b6359893e987d0a9$exports.getManifestFromRepo = $b6359893e987d0a9$exports.findAllVersions = $b6359893e987d0a9$exports.find = $b6359893e987d0a9$exports.cacheFile = $b6359893e987d0a9$exports.cacheDir = $b6359893e987d0a9$exports.extractZip = $b6359893e987d0a9$exports.extractXar = $b6359893e987d0a9$exports.extractTar = $b6359893e987d0a9$exports.extract7z = $b6359893e987d0a9$exports.downloadTool = $b6359893e987d0a9$exports.HTTPError = void 0;\n\nconst $b6359893e987d0a9$var$core = $b6359893e987d0a9$var$__importStar((parcelRequire(\"lcRzN\")));\n\nconst $b6359893e987d0a9$var$io = $b6359893e987d0a9$var$__importStar((parcelRequire(\"fcBgE\")));\n\nconst $b6359893e987d0a9$var$fs = $b6359893e987d0a9$var$__importStar($d7DIX$fs);\n\nconst $b6359893e987d0a9$var$mm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"ktIRP\")));\n\nconst $b6359893e987d0a9$var$os = $b6359893e987d0a9$var$__importStar($d7DIX$os);\n\nconst $b6359893e987d0a9$var$path = $b6359893e987d0a9$var$__importStar($d7DIX$path);\n\nconst $b6359893e987d0a9$var$httpm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"3bels\")));\n\nconst $b6359893e987d0a9$var$semver = $b6359893e987d0a9$var$__importStar((parcelRequire(\"aNgTs\")));\n\nconst $b6359893e987d0a9$var$stream = $b6359893e987d0a9$var$__importStar($d7DIX$stream);\n\nconst $b6359893e987d0a9$var$util = $b6359893e987d0a9$var$__importStar($d7DIX$util);\n\n\nconst $b6359893e987d0a9$var$v4_1 = $b6359893e987d0a9$var$__importDefault((parcelRequire(\"dGCqI\")));\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\nvar $339994c479086605$exports = {};\n\"use strict\";\nvar $339994c479086605$var$__createBinding = $339994c479086605$exports && $339994c479086605$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 $339994c479086605$var$__setModuleDefault = $339994c479086605$exports && $339994c479086605$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 $339994c479086605$var$__importStar = $339994c479086605$exports && $339994c479086605$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)) $339994c479086605$var$__createBinding(result, mod, k);\n }\n $339994c479086605$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $339994c479086605$var$__awaiter = $339994c479086605$exports && $339994c479086605$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($339994c479086605$exports, \"__esModule\", {\n value: true\n});\n$339994c479086605$exports.RetryHelper = void 0;\n\nconst $339994c479086605$var$core = $339994c479086605$var$__importStar((parcelRequire(\"lcRzN\")));\n/**\n * Internal class for retries\n */ class $339994c479086605$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 $339994c479086605$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 $339994c479086605$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $339994c479086605$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 $339994c479086605$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$339994c479086605$exports.RetryHelper = $339994c479086605$var$RetryHelper;\n\n\nclass $b6359893e987d0a9$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$b6359893e987d0a9$exports.HTTPError = $b6359893e987d0a9$var$HTTPError;\nconst $b6359893e987d0a9$var$IS_WINDOWS = process.platform === \"win32\";\nconst $b6359893e987d0a9$var$IS_MAC = process.platform === \"darwin\";\nconst $b6359893e987d0a9$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 $b6359893e987d0a9$var$downloadTool(url, dest, auth, headers) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getTempDirectory(), $b6359893e987d0a9$var$v4_1.default());\n yield $b6359893e987d0a9$var$io.mkdirP($b6359893e987d0a9$var$path.dirname(dest));\n $b6359893e987d0a9$var$core.debug(`Downloading ${url}`);\n $b6359893e987d0a9$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $b6359893e987d0a9$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $b6359893e987d0a9$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $339994c479086605$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n return yield $b6359893e987d0a9$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $b6359893e987d0a9$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$b6359893e987d0a9$exports.downloadTool = $b6359893e987d0a9$var$downloadTool;\nfunction $b6359893e987d0a9$var$downloadToolAttempt(url, dest, auth, headers) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if ($b6359893e987d0a9$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $b6359893e987d0a9$var$httpm.HttpClient($b6359893e987d0a9$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $b6359893e987d0a9$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 $b6359893e987d0a9$var$HTTPError(response.message.statusCode);\n $b6359893e987d0a9$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 = $b6359893e987d0a9$var$util.promisify($b6359893e987d0a9$var$stream.pipeline);\n const responseMessageFactory = $b6359893e987d0a9$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $b6359893e987d0a9$var$fs.createWriteStream(dest));\n $b6359893e987d0a9$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $b6359893e987d0a9$var$core.debug(\"download failed\");\n try {\n yield $b6359893e987d0a9$var$io.rmRF(dest);\n } catch (err) {\n $b6359893e987d0a9$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 $b6359893e987d0a9$var$extract7z(file, dest, _7zPath) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok($b6359893e987d0a9$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $d7DIX$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $b6359893e987d0a9$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 $jlr6Q.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$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 $b6359893e987d0a9$var$io.which(\"powershell\", true);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extract7z = $b6359893e987d0a9$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 $b6359893e987d0a9$var$extractTar(file, dest, flags = \"xz\") {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $b6359893e987d0a9$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $jlr6Q.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 $b6359893e987d0a9$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 ($b6359893e987d0a9$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($b6359893e987d0a9$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 $jlr6Q.exec(`tar`, args);\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extractTar = $b6359893e987d0a9$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 $b6359893e987d0a9$var$extractXar(file, dest, flags = []) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok($b6359893e987d0a9$var$IS_MAC, \"extractXar() not supported on current OS\");\n $d7DIX$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $b6359893e987d0a9$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 ($b6359893e987d0a9$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $b6359893e987d0a9$var$io.which(\"xar\", true);\n yield $jlr6Q.exec(`\"${xarPath}\"`, $b6359893e987d0a9$var$_unique(args));\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extractXar = $b6359893e987d0a9$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 $b6359893e987d0a9$var$extractZip(file, dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n if ($b6359893e987d0a9$var$IS_WINDOWS) yield $b6359893e987d0a9$var$extractZipWin(file, dest);\n else yield $b6359893e987d0a9$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extractZip = $b6359893e987d0a9$var$extractZip;\nfunction $b6359893e987d0a9$var$extractZipWin(file, dest) {\n return $b6359893e987d0a9$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 $b6359893e987d0a9$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 $b6359893e987d0a9$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $jlr6Q.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 $b6359893e987d0a9$var$io.which(\"powershell\", true);\n $b6359893e987d0a9$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $b6359893e987d0a9$var$extractZipNix(file, dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $b6359893e987d0a9$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$b6359893e987d0a9$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $jlr6Q.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 $b6359893e987d0a9$var$cacheDir(sourceDir, tool, version, arch) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n version = $b6359893e987d0a9$var$semver.clean(version) || version;\n arch = arch || $b6359893e987d0a9$var$os.arch();\n $b6359893e987d0a9$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $b6359893e987d0a9$var$core.debug(`source dir: ${sourceDir}`);\n if (!$b6359893e987d0a9$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $b6359893e987d0a9$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 $b6359893e987d0a9$var$fs.readdirSync(sourceDir)){\n const s = $b6359893e987d0a9$var$path.join(sourceDir, itemName);\n yield $b6359893e987d0a9$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $b6359893e987d0a9$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$b6359893e987d0a9$exports.cacheDir = $b6359893e987d0a9$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 $b6359893e987d0a9$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n version = $b6359893e987d0a9$var$semver.clean(version) || version;\n arch = arch || $b6359893e987d0a9$var$os.arch();\n $b6359893e987d0a9$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $b6359893e987d0a9$var$core.debug(`source file: ${sourceFile}`);\n if (!$b6359893e987d0a9$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $b6359893e987d0a9$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 = $b6359893e987d0a9$var$path.join(destFolder, targetFile);\n $b6359893e987d0a9$var$core.debug(`destination file ${destPath}`);\n yield $b6359893e987d0a9$var$io.cp(sourceFile, destPath);\n // write .complete\n $b6359893e987d0a9$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$b6359893e987d0a9$exports.cacheFile = $b6359893e987d0a9$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 $b6359893e987d0a9$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 || $b6359893e987d0a9$var$os.arch();\n // attempt to resolve an explicit version\n if (!$b6359893e987d0a9$var$isExplicitVersion(versionSpec)) {\n const localVersions = $b6359893e987d0a9$var$findAllVersions(toolName, arch);\n const match = $b6359893e987d0a9$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 = $b6359893e987d0a9$var$semver.clean(versionSpec) || \"\";\n const cachePath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $b6359893e987d0a9$var$core.debug(`checking cache: ${cachePath}`);\n if ($b6359893e987d0a9$var$fs.existsSync(cachePath) && $b6359893e987d0a9$var$fs.existsSync(`${cachePath}.complete`)) {\n $b6359893e987d0a9$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $b6359893e987d0a9$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$b6359893e987d0a9$exports.find = $b6359893e987d0a9$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 $b6359893e987d0a9$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $b6359893e987d0a9$var$os.arch();\n const toolPath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), toolName);\n if ($b6359893e987d0a9$var$fs.existsSync(toolPath)) {\n const children = $b6359893e987d0a9$var$fs.readdirSync(toolPath);\n for (const child of children)if ($b6359893e987d0a9$var$isExplicitVersion(child)) {\n const fullPath = $b6359893e987d0a9$var$path.join(toolPath, child, arch || \"\");\n if ($b6359893e987d0a9$var$fs.existsSync(fullPath) && $b6359893e987d0a9$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$b6359893e987d0a9$exports.findAllVersions = $b6359893e987d0a9$var$findAllVersions;\nfunction $b6359893e987d0a9$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $b6359893e987d0a9$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 $b6359893e987d0a9$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $b6359893e987d0a9$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 $b6359893e987d0a9$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$b6359893e987d0a9$exports.getManifestFromRepo = $b6359893e987d0a9$var$getManifestFromRepo;\nfunction $b6359893e987d0a9$var$findFromManifest(versionSpec, stable, manifest, archFilter = $b6359893e987d0a9$var$os.arch()) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $b6359893e987d0a9$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$b6359893e987d0a9$exports.findFromManifest = $b6359893e987d0a9$var$findFromManifest;\nfunction $b6359893e987d0a9$var$_createExtractFolder(dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getTempDirectory(), $b6359893e987d0a9$var$v4_1.default());\n yield $b6359893e987d0a9$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $b6359893e987d0a9$var$_createToolPath(tool, version, arch) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), tool, $b6359893e987d0a9$var$semver.clean(version) || version, arch || \"\");\n $b6359893e987d0a9$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $b6359893e987d0a9$var$io.rmRF(folderPath);\n yield $b6359893e987d0a9$var$io.rmRF(markerPath);\n yield $b6359893e987d0a9$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $b6359893e987d0a9$var$_completeToolPath(tool, version, arch) {\n const folderPath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), tool, $b6359893e987d0a9$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $b6359893e987d0a9$var$fs.writeFileSync(markerPath, \"\");\n $b6359893e987d0a9$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 $b6359893e987d0a9$var$isExplicitVersion(versionSpec) {\n const c = $b6359893e987d0a9$var$semver.clean(versionSpec) || \"\";\n $b6359893e987d0a9$var$core.debug(`isExplicit: ${c}`);\n const valid = $b6359893e987d0a9$var$semver.valid(c) != null;\n $b6359893e987d0a9$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$b6359893e987d0a9$exports.isExplicitVersion = $b6359893e987d0a9$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 $b6359893e987d0a9$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $b6359893e987d0a9$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($b6359893e987d0a9$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 = $b6359893e987d0a9$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $b6359893e987d0a9$var$core.debug(`matched: ${version}`);\n else $b6359893e987d0a9$var$core.debug(\"match not found\");\n return version;\n}\n$b6359893e987d0a9$exports.evaluateVersions = $b6359893e987d0a9$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $b6359893e987d0a9$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $d7DIX$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $b6359893e987d0a9$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $d7DIX$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $b6359893e987d0a9$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 $b6359893e987d0a9$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $hIjqP = parcelRequire(\"hIjqP\");\n\nvar $1wZKb = parcelRequire(\"1wZKb\");\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\n\n\n\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\nvar $ba82889b517d2eb4$exports = {};\n\"use strict\";\nObject.defineProperty($ba82889b517d2eb4$exports, \"__esModule\", {\n value: true\n});\n$ba82889b517d2eb4$exports.retryAsPromised = $ba82889b517d2eb4$exports.TimeoutError = void 0;\nclass $ba82889b517d2eb4$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$ba82889b517d2eb4$exports.TimeoutError = $ba82889b517d2eb4$var$TimeoutError;\nfunction $ba82889b517d2eb4$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 $ba82889b517d2eb4$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 $ba82889b517d2eb4$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 $ba82889b517d2eb4$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 $ba82889b517d2eb4$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $ba82889b517d2eb4$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$ba82889b517d2eb4$exports.retryAsPromised = $ba82889b517d2eb4$var$retryAsPromised;\n$ba82889b517d2eb4$exports.default = $ba82889b517d2eb4$var$retryAsPromised;\n\n\nlet $d81b351c18e56f74$var$didInit = false;\nasync function $d81b351c18e56f74$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $ER74K.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? (0, $d7DIX$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $ceI0e.join)((0, $d7DIX$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, $dTX7a.GITHUB_ACTIONS) try {\n const dir = (0, $b6359893e987d0a9$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $ceI0e.join)(dir, extractedFolderName);\n const binDir = (0, $ceI0e.join)(installDir, binRelativeDir);\n if (await (0, $dOmbL.pathExists)((0, $ceI0e.join)(binDir, binFileName))) {\n (0, $ER74K.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $85fd7153285bfba5$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, $ceI0e.join)(setupDir, extractedFolderName);\n const binDir = (0, $ceI0e.join)(installDir, binRelativeDir);\n const binFile = (0, $ceI0e.join)(binDir, binFileName);\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $dOmbL.pathExists)(binDir),\n (0, $dOmbL.pathExists)(binFile)\n ])).includes(false)) try {\n (0, $ER74K.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($ba82889b517d2eb4$exports)))(()=>{\n return (0, $b6359893e987d0a9$exports.downloadTool)(url);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $ER74K.info)(err)\n });\n if (!$d81b351c18e56f74$var$didInit) {\n (0, $ER74K.info)(`Installing extraction dependencies`);\n if (process.platform === \"linux\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"xz\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"unzip\");\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"tar\");\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"xz\");\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$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 $d81b351c18e56f74$var$didInit = true;\n }\n (0, $ER74K.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, $ER74K.info)(`Add ${binDir} to PATH`);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n // check if inside Github Actions. If so, cache the installation\n if ((0, $dTX7a.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") await (0, $b6359893e987d0a9$exports.cacheDir)(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\nvar $fcBgE = parcelRequire(\"fcBgE\");\n\n\n\n\n\n\n\n\n\nfunction $6285d3d29afbf608$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"p7zip\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"p7zip\", version);\n return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"p7zip-plugins\", version);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$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 $ER74K = parcelRequire(\"ER74K\");\n\n\nlet $4615baf4c3b031c2$var$sevenZip;\nasync function $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest) {\n await (0, $0793fb0b6d3aab2f$export$db6b1668e3758717)(await $4615baf4c3b031c2$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n (0, $cb3af52b672daafb$export$f9a3d10eb7c735af)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $4615baf4c3b031c2$var$getSevenZip() {\n if ($4615baf4c3b031c2$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $6285d3d29afbf608$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $4615baf4c3b031c2$var$sevenZip = \"7z\";\n }\n return $4615baf4c3b031c2$var$sevenZip;\n}\nfunction $4615baf4c3b031c2$export$7949938b2681a4f0(file, dest) {\n return $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest);\n}\nfunction $4615baf4c3b031c2$export$6411c5cbab21135b(file, dest) {\n return $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest);\n}\nasync function $4615baf4c3b031c2$export$2ab07ac150064014(file, dest, flags = [\n \"--strip-components=0\"\n]) {\n try {\n await (0, $fcBgE.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, $0793fb0b6d3aab2f$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, $ER74K.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n (0, $cb3af52b672daafb$export$f9a3d10eb7c735af)(dest);\n return dest;\n}\n\n\n/** Get the platform data for cmake */ function $cd6a37a8a2760b1d$var$getCmakePackageInfo(version, platform, arch) {\n const semVersion = (0, (/*@__PURE__*/$parcel$interopDefault($1wZKb)))(version) ?? version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($hIjqP)))(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, $ceI0e.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $4615baf4c3b031c2$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($hIjqP)))(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, $ceI0e.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $b6359893e987d0a9$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($hIjqP)))(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, $ceI0e.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $b6359893e987d0a9$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 $cd6a37a8a2760b1d$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"cmake\", version, $cd6a37a8a2760b1d$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n/* eslint-disable require-atomic-updates */ \nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n/**\n * @constant DEFAULT_OPTIONS_KEYS the default options keys\n */ var $f854d4009763317c$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 $f854d4009763317c$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 $f854d4009763317c$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 $f854d4009763317c$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 $f854d4009763317c$var$getCustomOptions(options) {\n var customOptions = {};\n /* eslint-disable no-restricted-syntax */ for(var key in options)if (!$f854d4009763317c$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 $f854d4009763317c$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 $f854d4009763317c$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 $f854d4009763317c$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 $f854d4009763317c$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: $f854d4009763317c$var$cloneArray(this.keys),\n size: this.size,\n values: $f854d4009763317c$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 $f854d4009763317c$export$2e2bcd8739ae039(fn, options) {\n if (options === void 0) options = {};\n if ($f854d4009763317c$var$isMemoized(fn)) return $f854d4009763317c$export$2e2bcd8739ae039(fn.fn, $f854d4009763317c$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 ? $f854d4009763317c$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 = $f854d4009763317c$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 }, $f854d4009763317c$var$getCustomOptions(options));\n var cache = new $f854d4009763317c$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 ? $f854d4009763317c$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 : $f854d4009763317c$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 $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\n\n// src/modules/https-utils.ts\n\n\nfunction $4292e7ca85c2347c$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $4292e7ca85c2347c$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $d7DIX$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($4292e7ca85c2347c$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 $4292e7ca85c2347c$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, $d7DIX$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $4292e7ca85c2347c$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $4292e7ca85c2347c$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $4292e7ca85c2347c$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $4292e7ca85c2347c$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $4292e7ca85c2347c$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 $4JoNL = parcelRequire(\"4JoNL\");\n\nvar $1wZKb = parcelRequire(\"1wZKb\");\n\nvar $hs40t = parcelRequire(\"hs40t\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nfunction $5683decf99cdafe6$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($4JoNL)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $5683decf99cdafe6$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 $5683decf99cdafe6$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, $4292e7ca85c2347c$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 $5683decf99cdafe6$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, $4292e7ca85c2347c$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 $5683decf99cdafe6$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $5683decf99cdafe6$export$5b54ecc7386538f(file, versionRegex = $5683decf99cdafe6$export$d7ab5e2d33b06cd5) {\n try {\n const execout = await (0, $jlr6Q.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 $5683decf99cdafe6$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $5683decf99cdafe6$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $5683decf99cdafe6$export$5b54ecc7386538f(givenFile, versionRegex);\n if (typeof givenVersion === \"string\" && typeof targetVersion === \"string\" && givenVersion !== \"\" && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($4JoNL)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $5683decf99cdafe6$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($hs40t)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($1wZKb)))(version);\n if (coercedVersion !== null) {\n (0, $ER74K.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $5683decf99cdafe6$export$b19007c0050a2fcc(version) {\n return parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $5683decf99cdafe6$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\n\n\nfunction $eac35b7c3e82d235$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 $0965eaed961dcb55$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 $0965eaed961dcb55$export$5fb1985a02d8f66f = {\n llvm: $0965eaed961dcb55$var$getLLVMDefault(),\n clangtidy: $0965eaed961dcb55$var$getLLVMDefault(),\n clangformat: $0965eaed961dcb55$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, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"1.9.6-1\" : \"1.9.7\",\n gcc: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"13.1.1-1\" : \"13\"\n};\nconst $0965eaed961dcb55$export$b0fc8ac572b39938 = {\n pip: \"22.3.1\",\n python: \"3.7.9\"\n};\nconst $0965eaed961dcb55$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 $dOmbL = parcelRequire(\"dOmbL\");\n\nasync function $ae5265b0f840d575$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $ae5265b0f840d575$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($d7DIX$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $ae5265b0f840d575$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, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, true);\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, true);\n } catch (err) {\n (0, $ER74K.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n return installInfo;\n}\n\nasync function $ae5265b0f840d575$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $ceI0e.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, $dTX7a.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $ER74K.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"5fF9z\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n const binDir = (0, $ceI0e.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $ER74K.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $ae5265b0f840d575$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n installInfo.bin = foundPython;\n }\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $ae5265b0f840d575$var$findPython(setupDir);\n const binDir = (0, $ceI0e.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $85fd7153285bfba5$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, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $0793fb0b6d3aab2f$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $ceI0e.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(brewPythonBin);\n break;\n }\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installInfo = (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"python3\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installInfo = await (0, $f0410b58de32386f$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 $ae5265b0f840d575$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 $ae5265b0f840d575$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $ceI0e.join)(binDir, (0, $ceI0e.addExeExt)(candidate));\n if (await (0, $dOmbL.pathExists)(pythonBinPath)) {\n if (await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pythonBinPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n const pythonBinPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$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, $5683decf99cdafe6$export$d1f0d32b896ba08)(pythonBinPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$findOrSetupPip(foundPython) {\n const maybePip = await $ae5265b0f840d575$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $ER74K.info)(\"pip was not found. Installing pip\");\n await $ae5265b0f840d575$var$setupPip(foundPython);\n return $ae5265b0f840d575$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $ae5265b0f840d575$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 $ae5265b0f840d575$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$isPipUptoDate(pip) {\n try {\n const pipPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$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, $5683decf99cdafe6$export$d1f0d32b896ba08)(pipPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$setupPip(foundPython) {\n const upgraded = await $ae5265b0f840d575$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n await $ae5265b0f840d575$var$setupPipSystem();\n // upgrade pip\n await $ae5265b0f840d575$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $ae5265b0f840d575$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $0793fb0b6d3aab2f$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $ER74K.info)(err1?.toString?.());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $0793fb0b6d3aab2f$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, $ER74K.info)(err2?.toString?.());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nfunction $ae5265b0f840d575$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, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"python-pip\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"python3-pip\");\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"python3-pip\"\n }\n ]);\n }\n throw new Error(`Could not install pip on ${process.platform}`);\n}\nasync function $ae5265b0f840d575$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, $jlr6Q.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, $ceI0e.join)(base_exec_prefix, \"Scripts\"), (0, $ceI0e.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $ceI0e.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $eac35b7c3e82d235$export$7a5d5c156e7dc406)(dirs);\n}\nconst $ae5265b0f840d575$export$4bf645347c3b7001 = (0, $f854d4009763317c$export$2e2bcd8739ae039)($ae5265b0f840d575$var$addPythonBaseExecPrefix_raw);\n\n\n\n\nfunction $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a(name, version, osVersion = null) {\n console.log(\"isDefault\", version, name, $cb3b5dc5a4eadeb1$var$isVersionDefault(version));\n if ($cb3b5dc5a4eadeb1$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $0965eaed961dcb55$export$1bb63c984aa6e760)) return $cb3b5dc5a4eadeb1$var$getDefaultLinuxVersion(osVersion, (0, $0965eaed961dcb55$export$1bb63c984aa6e760)[name]);\n else if ($cb3b5dc5a4eadeb1$var$isVersionDefault(version) && name in (0, $0965eaed961dcb55$export$5fb1985a02d8f66f)) return (0, $0965eaed961dcb55$export$5fb1985a02d8f66f)[name];\n else if (version === \"true\") return \"\";\n return version ?? \"\";\n}\nfunction $cb3b5dc5a4eadeb1$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $cb3b5dc5a4eadeb1$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 $cb3b5dc5a4eadeb1$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$cb3b5dc5a4eadeb1$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 $ER74K = parcelRequire(\"ER74K\");\nvar $41d8846c4231ef5c$exports = {};\n\"use strict\";\nObject.defineProperty($41d8846c4231ef5c$exports, \"__esModule\", {\n value: true\n});\n$41d8846c4231ef5c$exports.getUbuntuVersion = void 0;\n\nfunction $41d8846c4231ef5c$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $41d8846c4231ef5c$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $d7DIX$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($41d8846c4231ef5c$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 $41d8846c4231ef5c$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $41d8846c4231ef5c$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$41d8846c4231ef5c$exports.getUbuntuVersion = $41d8846c4231ef5c$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\n\n\n\nasync function $d6a4ad0ff65d0a5e$var$ubuntuVersion_raw() {\n try {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $d6a4ad0ff65d0a5e$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $41d8846c4231ef5c$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $d6a4ad0ff65d0a5e$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $ER74K.warning)(err.toString());\n return null;\n }\n}\nconst $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee = (0, $f854d4009763317c$export$2e2bcd8739ae039)($d6a4ad0ff65d0a5e$var$ubuntuVersion_raw);\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $d6a4ad0ff65d0a5e$var$detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($d7DIX$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 $cfebcec0830c9a7b$export$4020cb77ffa3ffac(name, version, upgrade = false) {\n return $cfebcec0830c9a7b$export$7c60aea099ad1c1d(await $cfebcec0830c9a7b$var$getPython(), name, version, upgrade);\n}\nasync function $cfebcec0830c9a7b$export$7c60aea099ad1c1d(givenPython, name, version, upgrade = false) {\n (0, $lcRzN.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, $0793fb0b6d3aab2f$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n \"pip\",\n \"install\",\n ...upgradeFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\"\n });\n const execPaths = await (0, $ae5265b0f840d575$export$4bf645347c3b7001)(givenPython);\n const binDir = await $cfebcec0830c9a7b$var$findBinDir(execPaths, name);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\nasync function $cfebcec0830c9a7b$var$getPython_raw() {\n const pythonBin = (await (0, $ae5265b0f840d575$export$2b0b68e9df3d4a02)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $cfebcec0830c9a7b$var$getPython = (0, $f854d4009763317c$export$2e2bcd8739ae039)($cfebcec0830c9a7b$var$getPython_raw);\nasync function $cfebcec0830c9a7b$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $dOmbL.pathExists)((0, $ceI0e.join)(dir, (0, $ceI0e.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($44f23bb49826ca87$exports))).sync((0, $ceI0e.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $ceI0e.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\n\n\nasync function $928be18130bb437a$export$249d0c7d779d362f(version, _setupDir, _arch) {\n await (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"setuptools\", \"\");\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $6f659008f4a1ac73$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $6f659008f4a1ac73$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"ccache\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$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 $6f659008f4a1ac73$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\n\n\n\n\n\nasync function $9f6a19f1eee9e3b6$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"graphviz\", version);\n return $9f6a19f1eee9e3b6$var$activateGraphviz();\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"graphviz\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"graphviz\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$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 $9f6a19f1eee9e3b6$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $85fd7153285bfba5$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 $dOmbL = parcelRequire(\"dOmbL\");\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $4b1f70d03c91cebd$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, $ceI0e.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $b6359893e987d0a9$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, $ceI0e.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $4615baf4c3b031c2$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 $4b1f70d03c91cebd$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($ba82889b517d2eb4$exports)))(()=>{\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $ER74K.info)(err)\n });\n const binDir = await $4b1f70d03c91cebd$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n const installationInfo = await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"doxygen\", undefined);\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $84785c71f430250a$export$d415ddb6702ec3a2)() || (0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"doxygen\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(`Unsupported linux distributions`);\n } else if ((0, $7b55ac603b97ae6e$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, $d81b351c18e56f74$export$334f77c9844c21f6)(\"doxygen\", version, $4b1f70d03c91cebd$var$getDoxygenPackageInfo, setupDir, arch);\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $ER74K.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(`Unsupported linux distributions`);\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $4b1f70d03c91cebd$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, $dOmbL.pathExists)((0, $ceI0e.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $85fd7153285bfba5$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 $cb77f = parcelRequire(\"cb77f\");\n\nvar $1wZKb = parcelRequire(\"1wZKb\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nasync function $1ebfc945e4f5b17a$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $jlr6Q.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim());\n else (0, $ER74K.error)(`SDKROOT not set`);\n } catch (e) {\n (0, $ER74K.error)(e);\n }\n}\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\n\n\n\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $bd769018416dc7f2$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $bd769018416dc7f2$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 $bd769018416dc7f2$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $bd769018416dc7f2$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, $ceI0e.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $4615baf4c3b031c2$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 $bd769018416dc7f2$export$405fab3de79b77b(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"g++\", version, $bd769018416dc7f2$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $ER74K.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $bd769018416dc7f2$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n installationInfo = (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"gcc\", version);\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"gcc-c++\", version);\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"libstdc++-devel\", undefined);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $f0410b58de32386f$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, $ER74K.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$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 $bd769018416dc7f2$var$activateGcc(version, installationInfo.binDir);\n return installationInfo;\n }\n return undefined;\n}\nasync function $bd769018416dc7f2$var$setupChocoMingw(version, arch) {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n if (arch === \"x64\" && await (0, $dOmbL.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n } else if (arch === \"ia32\" && await (0, $dOmbL.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n } else if (await (0, $dOmbL.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 $bd769018416dc7f2$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, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", (0, $ceI0e.addExeExt)(`${binDir}/gcc`)), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", (0, $ceI0e.addExeExt)(`${binDir}/g++`)));\n else {\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($cb77f)))((0, (/*@__PURE__*/$parcel$interopDefault($1wZKb)))(version) ?? version);\n if (majorVersion >= 5) {\n promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`));\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) promises.push((0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${majorVersion}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${majorVersion}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${majorVersion}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${majorVersion}`));\n } else {\n promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`));\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) promises.push((0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${version}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${version}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${version}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${version}`));\n }\n }\n promises.push((0, $1ebfc945e4f5b17a$export$28f5fd35e3005b7a)());\n if (0, $dTX7a.GITHUB_ACTIONS) await $bd769018416dc7f2$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $bd769018416dc7f2$var$addGccLoggingMatcher() {\n const matcherPath = (0, $ceI0e.join)($bd769018416dc7f2$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $hs40t = parcelRequire(\"hs40t\");\n\nvar $cb77f = parcelRequire(\"cb77f\");\nfunction $9e5689f497201ccc$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $9e5689f497201ccc$export$2a0488baf2a20c0f() {\n return (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\");\n}\nfunction $9e5689f497201ccc$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($hs40t)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($cb77f)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"GCOV\", gcov);\n}\n\n\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n/** Get the platform name Ninja uses in their download links */ function $c8e436f083063bf5$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 $c8e436f083063bf5$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $c8e436f083063bf5$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $ceI0e.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: (0, $4615baf4c3b031c2$export$6411c5cbab21135b),\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $c8e436f083063bf5$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"ninja\", version, $c8e436f083063bf5$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $a32e41fd6d9c05e4$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/kcov\");\nfunction $a32e41fd6d9c05e4$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, $ceI0e.addExeExt)(\"kcov\"),\n extractFunction: (0, $4615baf4c3b031c2$export$2ab07ac150064014)\n };\n}\nfunction $a32e41fd6d9c05e4$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, $ceI0e.addExeExt)(\"kcov\"),\n extractFunction: $a32e41fd6d9c05e4$var$buildKcov\n };\n}\nasync function $a32e41fd6d9c05e4$var$buildKcov(file, dest) {\n const out = await (0, $4615baf4c3b031c2$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n // build after extraction using CMake\n const cmake = await $a32e41fd6d9c05e4$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"libdwarf-devel\");\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"libcurl-devel\");\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$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($44f23bb49826ca87$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $ceI0e.join)($a32e41fd6d9c05e4$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $0793fb0b6d3aab2f$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $ER74K.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $ceI0e.join)(out, \"build\");\n await (0, $0793fb0b6d3aab2f$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, $0793fb0b6d3aab2f$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 $a32e41fd6d9c05e4$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $cd6a37a8a2760b1d$export$c28663a621f418ce)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), (0, $ceI0e.join)((0, $cc03115747abd396$export$8312d9eeba321950)(\"\"), \"cmake\"), \"\");\n cmake = (0, $ceI0e.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $c8e436f083063bf5$export$e6190f4bfe2ef71)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), (0, $ceI0e.join)((0, $cc03115747abd396$export$8312d9eeba321950)(\"\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $a32e41fd6d9c05e4$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $ER74K.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $5683decf99cdafe6$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $5683decf99cdafe6$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, $d81b351c18e56f74$export$334f77c9844c21f6)(\"kcov\", version, $a32e41fd6d9c05e4$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"binutils\");\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"kcov\", version, $a32e41fd6d9c05e4$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\n\n\n\nvar $hIjqP = parcelRequire(\"hIjqP\");\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nconst $83abdd9bf69b2f6a$export$aa5307f1aca77413 = (0, $5683decf99cdafe6$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 $83abdd9bf69b2f6a$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 $83abdd9bf69b2f6a$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 $83abdd9bf69b2f6a$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 $83abdd9bf69b2f6a$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 $83abdd9bf69b2f6a$var$MAX_UBUNTU = \"15.0.6\";\n//================================================\n// URL\n//================================================\n/** Gets a LLVM download URL for GitHub. */ function $83abdd9bf69b2f6a$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 $83abdd9bf69b2f6a$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 $83abdd9bf69b2f6a$var$getDarwinUrl(version) {\n if ($83abdd9bf69b2f6a$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($hIjqP)))(version, \"9.0.1\")) return $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n else return $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $83abdd9bf69b2f6a$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $83abdd9bf69b2f6a$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 (!$83abdd9bf69b2f6a$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $5683decf99cdafe6$export$deb1064c8260c54c)($83abdd9bf69b2f6a$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP) linuxVersion = $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP[$83abdd9bf69b2f6a$var$MAX_UBUNTU];\n (0, $ER74K.warning)(`Falling back to LLVM version ${$83abdd9bf69b2f6a$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($hIjqP)))(version, \"9.0.1\")) return $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n else return $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $83abdd9bf69b2f6a$var$getWin32Url(version) {\n if ($83abdd9bf69b2f6a$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($hIjqP)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($hIjqP)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $4292e7ca85c2347c$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $83abdd9bf69b2f6a$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $83abdd9bf69b2f6a$var$getDarwinUrl(version);\n case \"linux\":\n return $83abdd9bf69b2f6a$export$ae24f9682a44836b(version);\n case \"win32\":\n return $83abdd9bf69b2f6a$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $83abdd9bf69b2f6a$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $5683decf99cdafe6$export$4e4d3581f69a6d71)($83abdd9bf69b2f6a$export$aa5307f1aca77413, platform, version, $83abdd9bf69b2f6a$export$94df0e59ebebf4a7);\n (0, $ER74K.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $ceI0e.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $4615baf4c3b031c2$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $4615baf4c3b031c2$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n }\n };\n}\n\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $0213127e07869fde$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/llvm\");\nasync function $0213127e07869fde$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $0213127e07869fde$var$setupLLVMWithoutActivation(version, setupDir, arch);\n await $0213127e07869fde$export$6238b5ebfd6640e7(installationInfo.installDir ?? setupDir, version);\n return installationInfo;\n}\nlet $0213127e07869fde$var$installedDeps = false;\nasync function $0213127e07869fde$var$setupLLVMWithoutActivation(version, setupDir, arch) {\n const installationInfoPromise = (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"llvm\", version, (0, $83abdd9bf69b2f6a$export$f203993d12226a27), setupDir, arch);\n let depsPromise;\n if (!$0213127e07869fde$var$installedDeps) {\n depsPromise = $0213127e07869fde$var$setupLLVMDeps(arch, version);\n // eslint-disable-next-line require-atomic-updates\n $0213127e07869fde$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 $0213127e07869fde$var$setupLLVMDeps(arch, version) {\n if (process.platform === \"linux\") {\n // install llvm build dependencies\n await (0, $bd769018416dc7f2$export$405fab3de79b77b)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", arch) // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n ;\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n const majorVersion = parseInt(version.split(\".\")[0], 10);\n if (majorVersion <= 10) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $f0410b58de32386f$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 $0213127e07869fde$export$6238b5ebfd6640e7(directory, versionGiven) {\n const _version = (0, $5683decf99cdafe6$export$afd7401db249098f)(versionGiven);\n const lib = (0, $ceI0e.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, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory),\n // Setup LLVM as the compiler\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${lib}${(0, $d7DIX$path.delimiter)}${ld}`),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${lib}${(0, $d7DIX$path.delimiter)}${dyld}`),\n // compiler flags\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n // compiler paths\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", (0, $ceI0e.addExeExt)(`${directory}/bin/clang`)),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", (0, $ceI0e.addExeExt)(`${directory}/bin/clang++`)),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`),\n // os sdks\n (0, $1ebfc945e4f5b17a$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, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) promises.push((0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cc\", `${directory}/bin/clang`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cxx\", `${directory}/bin/clang++`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"clang\", `${directory}/bin/clang`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"clang++\", `${directory}/bin/clang++`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"lld\", `${directory}/bin/lld`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"ld.lld\", `${directory}/bin/ld.lld`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"llvm-ar\", `${directory}/bin/llvm-ar`));\n if (0, $dTX7a.GITHUB_ACTIONS) await $0213127e07869fde$var$addLLVMLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $0213127e07869fde$export$814ccfc953503728(version, setupDir, arch) {\n if (0, $dTX7a.GITHUB_ACTIONS) await $0213127e07869fde$var$addLLVMLoggingMatcher();\n return $0213127e07869fde$var$setupLLVMWithoutActivation(version, setupDir, arch);\n}\nasync function $0213127e07869fde$var$addLLVMLoggingMatcher() {\n const matcherPath = (0, $ceI0e.join)($0213127e07869fde$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $b2527beb3f2e4071$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"make\", version);\n await (0, $85fd7153285bfba5$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, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"make\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$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 $841211d84f4a44cd$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nvar $00a138dce9060d74$export$3c7cae5a162b1458;\nvar $00a138dce9060d74$export$704f0be24425353b;\nvar $00a138dce9060d74$export$f49c12d2898d28cb;\nvar $00a138dce9060d74$export$a6a3bfb882356813;\nvar $00a138dce9060d74$export$443b8bb890f5027e;\nvar $e91c9c96f9485e47$exports = {};\n\"use strict\";\nvar $e91c9c96f9485e47$var$__awaiter = $e91c9c96f9485e47$exports && $e91c9c96f9485e47$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 $e91c9c96f9485e47$var$__importStar = $e91c9c96f9485e47$exports && $e91c9c96f9485e47$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($e91c9c96f9485e47$exports, \"__esModule\", {\n value: true\n});\nvar $0f2824e699282834$exports = {};\n\"use strict\";\nvar $0f2824e699282834$var$__importStar = $0f2824e699282834$exports && $0f2824e699282834$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($0f2824e699282834$exports, \"__esModule\", {\n value: true\n});\n\nconst $0f2824e699282834$var$os = $0f2824e699282834$var$__importStar($d7DIX$os);\nvar $e153181efb642346$exports = {};\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty($e153181efb642346$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 $e153181efb642346$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$e153181efb642346$exports.toCommandValue = $e153181efb642346$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 $0f2824e699282834$var$issueCommand(command, properties, message) {\n const cmd = new $0f2824e699282834$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $0f2824e699282834$var$os.EOL);\n}\n$0f2824e699282834$exports.issueCommand = $0f2824e699282834$var$issueCommand;\nfunction $0f2824e699282834$var$issue(name, message = \"\") {\n $0f2824e699282834$var$issueCommand(name, {}, message);\n}\n$0f2824e699282834$exports.issue = $0f2824e699282834$var$issue;\nconst $0f2824e699282834$var$CMD_STRING = \"::\";\nclass $0f2824e699282834$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 = $0f2824e699282834$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}=${$0f2824e699282834$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$0f2824e699282834$var$CMD_STRING}${$0f2824e699282834$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $0f2824e699282834$var$escapeData(s) {\n return $e153181efb642346$exports.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $0f2824e699282834$var$escapeProperty(s) {\n return $e153181efb642346$exports.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n\nvar $10dc6346f010aa3e$exports = {};\n\"use strict\";\n// For internal use, subject to change.\nvar $10dc6346f010aa3e$var$__importStar = $10dc6346f010aa3e$exports && $10dc6346f010aa3e$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($10dc6346f010aa3e$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 $10dc6346f010aa3e$var$fs = $10dc6346f010aa3e$var$__importStar($d7DIX$fs);\n\nconst $10dc6346f010aa3e$var$os = $10dc6346f010aa3e$var$__importStar($d7DIX$os);\n\nfunction $10dc6346f010aa3e$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 (!$10dc6346f010aa3e$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $10dc6346f010aa3e$var$fs.appendFileSync(filePath, `${$e153181efb642346$exports.toCommandValue(message)}${$10dc6346f010aa3e$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\n$10dc6346f010aa3e$exports.issueCommand = $10dc6346f010aa3e$var$issueCommand;\n\n\n\n\nconst $e91c9c96f9485e47$var$os = $e91c9c96f9485e47$var$__importStar($d7DIX$os);\n\nconst $e91c9c96f9485e47$var$path = $e91c9c96f9485e47$var$__importStar($d7DIX$path);\n/**\n * The code to exit an action\n */ var $e91c9c96f9485e47$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})($e91c9c96f9485e47$var$ExitCode = $e91c9c96f9485e47$exports.ExitCode || ($e91c9c96f9485e47$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 $e91c9c96f9485e47$var$exportVariable(name, val) {\n const convertedVal = $e153181efb642346$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}${$e91c9c96f9485e47$var$os.EOL}${convertedVal}${$e91c9c96f9485e47$var$os.EOL}${delimiter}`;\n $10dc6346f010aa3e$exports.issueCommand(\"ENV\", commandValue);\n } else $0f2824e699282834$exports.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\n$e91c9c96f9485e47$exports.exportVariable = $e91c9c96f9485e47$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $e91c9c96f9485e47$var$setSecret(secret) {\n $0f2824e699282834$exports.issueCommand(\"add-mask\", {}, secret);\n}\n$e91c9c96f9485e47$exports.setSecret = $e91c9c96f9485e47$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $e91c9c96f9485e47$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $10dc6346f010aa3e$exports.issueCommand(\"PATH\", inputPath);\n else $0f2824e699282834$exports.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$e91c9c96f9485e47$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\n$e91c9c96f9485e47$exports.addPath = $e91c9c96f9485e47$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 $e91c9c96f9485e47$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$e91c9c96f9485e47$exports.getInput = $e91c9c96f9485e47$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 $e91c9c96f9485e47$var$setOutput(name, value) {\n $0f2824e699282834$exports.issueCommand(\"set-output\", {\n name: name\n }, value);\n}\n$e91c9c96f9485e47$exports.setOutput = $e91c9c96f9485e47$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 $e91c9c96f9485e47$var$setCommandEcho(enabled) {\n $0f2824e699282834$exports.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\n$e91c9c96f9485e47$exports.setCommandEcho = $e91c9c96f9485e47$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 $e91c9c96f9485e47$var$setFailed(message) {\n process.exitCode = $e91c9c96f9485e47$var$ExitCode.Failure;\n $e91c9c96f9485e47$var$error(message);\n}\n$e91c9c96f9485e47$exports.setFailed = $e91c9c96f9485e47$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $e91c9c96f9485e47$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\n$e91c9c96f9485e47$exports.isDebug = $e91c9c96f9485e47$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $e91c9c96f9485e47$var$debug(message) {\n $0f2824e699282834$exports.issueCommand(\"debug\", {}, message);\n}\n$e91c9c96f9485e47$exports.debug = $e91c9c96f9485e47$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n */ function $e91c9c96f9485e47$var$error(message) {\n $0f2824e699282834$exports.issue(\"error\", message instanceof Error ? message.toString() : message);\n}\n$e91c9c96f9485e47$exports.error = $e91c9c96f9485e47$var$error;\n/**\n * Adds an warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n */ function $e91c9c96f9485e47$var$warning(message) {\n $0f2824e699282834$exports.issue(\"warning\", message instanceof Error ? message.toString() : message);\n}\n$e91c9c96f9485e47$exports.warning = $e91c9c96f9485e47$var$warning;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $e91c9c96f9485e47$var$info(message) {\n process.stdout.write(message + $e91c9c96f9485e47$var$os.EOL);\n}\n$e91c9c96f9485e47$exports.info = $e91c9c96f9485e47$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 $e91c9c96f9485e47$var$startGroup(name) {\n $0f2824e699282834$exports.issue(\"group\", name);\n}\n$e91c9c96f9485e47$exports.startGroup = $e91c9c96f9485e47$var$startGroup;\n/**\n * End an output group.\n */ function $e91c9c96f9485e47$var$endGroup() {\n $0f2824e699282834$exports.issue(\"endgroup\");\n}\n$e91c9c96f9485e47$exports.endGroup = $e91c9c96f9485e47$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 $e91c9c96f9485e47$var$group(name, fn) {\n return $e91c9c96f9485e47$var$__awaiter(this, void 0, void 0, function*() {\n $e91c9c96f9485e47$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $e91c9c96f9485e47$var$endGroup();\n }\n return result;\n });\n}\n$e91c9c96f9485e47$exports.group = $e91c9c96f9485e47$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 $e91c9c96f9485e47$var$saveState(name, value) {\n $0f2824e699282834$exports.issueCommand(\"save-state\", {\n name: name\n }, value);\n}\n$e91c9c96f9485e47$exports.saveState = $e91c9c96f9485e47$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 $e91c9c96f9485e47$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\n$e91c9c96f9485e47$exports.getState = $e91c9c96f9485e47$var$getState;\n\n\n\n\n\n\nconst $00a138dce9060d74$var$PROGRAM_FILES_X86 = $d7DIX$process.env[\"ProgramFiles(x86)\"];\nconst $00a138dce9060d74$var$PROGRAM_FILES = [\n $d7DIX$process.env[\"ProgramFiles(x86)\"],\n $d7DIX$process.env[\"ProgramFiles\"]\n];\nconst $00a138dce9060d74$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\"\n];\nconst $00a138dce9060d74$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $00a138dce9060d74$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\nfunction $00a138dce9060d74$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($00a138dce9060d74$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $00a138dce9060d74$var$VsYearVersion) return $00a138dce9060d74$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$00a138dce9060d74$export$3c7cae5a162b1458 = $00a138dce9060d74$var$vsversion_to_versionnumber;\nfunction $00a138dce9060d74$var$vsversion_to_year(vsversion) {\n if (Object.keys($00a138dce9060d74$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($00a138dce9060d74$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$00a138dce9060d74$export$704f0be24425353b = $00a138dce9060d74$var$vsversion_to_year;\nconst $00a138dce9060d74$var$VSWHERE_PATH = `${$00a138dce9060d74$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\nfunction $00a138dce9060d74$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $d7DIX$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $e91c9c96f9485e47$exports.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$00a138dce9060d74$export$f49c12d2898d28cb = $00a138dce9060d74$var$findWithVswhere;\nfunction $00a138dce9060d74$var$findVcvarsall(vsversion) {\n const vsversion_number = $00a138dce9060d74$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 = $00a138dce9060d74$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $d7DIX$fs.existsSync(path)) {\n $e91c9c96f9485e47$exports.info(`Found with vswhere: ${path}`);\n return path;\n }\n $e91c9c96f9485e47$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 $00a138dce9060d74$var$vsversion_to_year(vsversion)\n ] : $00a138dce9060d74$var$YEARS;\n for (const prog_files of $00a138dce9060d74$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $00a138dce9060d74$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $e91c9c96f9485e47$exports.info(`Trying standard location: ${path}`);\n if ($d7DIX$fs.existsSync(path)) {\n $e91c9c96f9485e47$exports.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $e91c9c96f9485e47$exports.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$00a138dce9060d74$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($d7DIX$fs.existsSync(path)) {\n $e91c9c96f9485e47$exports.info(`Found VS 2015: ${path}`);\n return path;\n }\n $e91c9c96f9485e47$exports.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$00a138dce9060d74$export$a6a3bfb882356813 = $00a138dce9060d74$var$findVcvarsall;\nfunction $00a138dce9060d74$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $00a138dce9060d74$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 $00a138dce9060d74$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($d7DIX$process.platform != \"win32\") {\n $e91c9c96f9485e47$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 $d7DIX$process.env.PATH += $d7DIX$path.delimiter + $00a138dce9060d74$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 = `\"${$00a138dce9060d74$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $e91c9c96f9485e47$exports.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $d7DIX$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 $e91c9c96f9485e47$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 $e91c9c96f9485e47$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 ($00a138dce9060d74$var$isPathVariable(name)) new_value = $00a138dce9060d74$var$filterPathValue(new_value);\n $e91c9c96f9485e47$exports.exportVariable(name, new_value);\n }\n }\n $e91c9c96f9485e47$exports.endGroup();\n $e91c9c96f9485e47$exports.info(`Configured Developer Command Prompt`);\n}\n$00a138dce9060d74$export$443b8bb890f5027e = $00a138dce9060d74$var$setupMSVCDevCmd;\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\nfunction $ffa3775f67868b5f$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 $ffa3775f67868b5f$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $dOmbL.pathExists)(VCTargetsPath)) {\n (0, $ER74K.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath);\n }\n (0, $00a138dce9060d74$export$443b8bb890f5027e)($ffa3775f67868b5f$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $756746e991f4f289$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/msvc\");\nasync function $756746e991f4f289$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $00a138dce9060d74$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $ER74K.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $00a138dce9060d74$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $ER74K.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, $ca3ee4fd324ae5e9$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, $ca3ee4fd324ae5e9$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, $ca3ee4fd324ae5e9$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, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $ER74K.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $ER74K.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $ffa3775f67868b5f$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $dTX7a.GITHUB_ACTIONS) await $756746e991f4f289$var$addMSVCLoggingMatcher();\n}\nasync function $756746e991f4f289$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $ceI0e.join)($756746e991f4f289$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\nlet $24fc56c48fbaa7ba$var$binDir;\nasync function $24fc56c48fbaa7ba$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $24fc56c48fbaa7ba$var$binDir === \"string\") return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $24fc56c48fbaa7ba$var$binDir = (0, $ceI0e.dirname)(maybeBinDir);\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n }\n // https://github.com/volitank/nala#-installation\n const keyFileName = await (0, $f0410b58de32386f$export$7fb1a688af1305f0)(\"volian-archive-scar-unstable.gpg\", \"https://deb.volian.org/volian/scar.key\");\n (0, $76ba8439ed485bee$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, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $24fc56c48fbaa7ba$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n}\n\n\n\n\n\nasync function $54ef9c824222402f$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $54ef9c824222402f$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $54ef9c824222402f$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $772fce954f353e90$export$1ff6ad96ee130aba(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"powershell\", version, [\n \"--cask\"\n ]);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"curl\");\n (0, $76ba8439ed485bee$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, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"powershell\", version);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $76ba8439ed485bee$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $76ba8439ed485bee$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, $f0410b58de32386f$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 $bcbacc5f1ce862e1$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"sccache\", version);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n/** Get the platform name task uses in their download links */ function $19fb71dac36c98fd$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 $19fb71dac36c98fd$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 $19fb71dac36c98fd$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $19fb71dac36c98fd$var$getTaskPlatform(platform);\n const taskArch = $19fb71dac36c98fd$var$getTaskArch(arch);\n const isZip = platform === \"win32\";\n const extension = isZip ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $ceI0e.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? (0, $4615baf4c3b031c2$export$6411c5cbab21135b) : (0, $4615baf4c3b031c2$export$2ab07ac150064014),\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $19fb71dac36c98fd$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"task\", version, $19fb71dac36c98fd$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\nlet $6de10099eaeb725f$var$hasVCPKG = false;\nasync function $6de10099eaeb725f$export$490bdba4ef3e3f82(_version, setupDir, _arch) {\n if (!$6de10099eaeb725f$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"curl\");\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"zip\");\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"unzip\");\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"tar\");\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"git\");\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)(\"pkg-config\");\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$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, $dOmbL.pathExists)((0, $ceI0e.join)(setupDir, (0, $ceI0e.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $0793fb0b6d3aab2f$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $ceI0e.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $ER74K.notice)(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`);\n (0, $0793fb0b6d3aab2f$export$28823a701bb5a12d)((0, $ceI0e.addShExt)((0, $ceI0e.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n (0, $cb3af52b672daafb$export$f9a3d10eb7c735af)(setupDir);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(setupDir);\n // eslint-disable-next-line require-atomic-updates\n $6de10099eaeb725f$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $ceI0e.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\n\nasync function $f58f76cc72dbc50d$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages) {\n (0, $lcRzN.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, $ffa3775f67868b5f$export$5dcf571c91fc8369)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else {\n // get the setup function\n const setupFunction = $f58f76cc72dbc50d$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, $ceI0e.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(tool, version, osVersion), setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(tool, installationInfo));\n } catch (e) {\n // push error message to the logger\n (0, $ER74K.error)(e);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $lcRzN.endGroup)();\n return hasLLVM;\n} /** The setup functions */ \nconst $f58f76cc72dbc50d$export$18a3521ac7306af4 = {\n nala: (0, $24fc56c48fbaa7ba$export$d73cbe8caeff03c5),\n cmake: (0, $cd6a37a8a2760b1d$export$c28663a621f418ce),\n ninja: (0, $c8e436f083063bf5$export$e6190f4bfe2ef71),\n python: (0, $ae5265b0f840d575$export$2b0b68e9df3d4a02),\n vcpkg: (0, $6de10099eaeb725f$export$490bdba4ef3e3f82),\n bazel: (0, $8550ac0edfced131$export$a66bc93580b0a849),\n conan: (0, $928be18130bb437a$export$249d0c7d779d362f),\n meson: (0, $841211d84f4a44cd$export$f73905553f087748),\n gcovr: (0, $9e5689f497201ccc$export$b98d69f362caf61f),\n opencppcoverage: (0, $54ef9c824222402f$export$6aa28a97600a8ae3),\n llvm: (0, $0213127e07869fde$export$3016de7ae9d14988),\n gcc: (0, $bd769018416dc7f2$export$405fab3de79b77b),\n choco: (0, $5540d46c90af649b$export$b804d731cdad7ef9),\n brew: (0, $b05e6e28215ee948$export$c5eeb9c87a610a0e),\n powershell: (0, $772fce954f353e90$export$1ff6ad96ee130aba),\n ccache: (0, $37a450505a669dce$export$111263621bbb0768),\n sccache: (0, $bcbacc5f1ce862e1$export$b963b67cda80fdc),\n doxygen: (0, $4b1f70d03c91cebd$export$b6e6613a954051ee),\n graphviz: (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9),\n cppcheck: (0, $6f659008f4a1ac73$export$13d77464c548b5d3),\n clangtidy: (0, $0213127e07869fde$export$814ccfc953503728),\n clangformat: (0, $0213127e07869fde$export$814ccfc953503728),\n msvc: (0, $756746e991f4f289$export$a91ef0362c1a7298),\n vcvarsall: (0, $ffa3775f67868b5f$export$5dcf571c91fc8369),\n kcov: (0, $a32e41fd6d9c05e4$export$abb7c2ff987b1f6b),\n make: (0, $b2527beb3f2e4071$export$b0a9411329e2916),\n task: (0, $19fb71dac36c98fd$export$4456b3a3d3540077),\n sevenzip: (0, $6285d3d29afbf608$export$5fc39629e14c8173)\n};\nconst $f58f76cc72dbc50d$export$904054328df186b = Object.keys($f58f76cc72dbc50d$export$18a3521ac7306af4);\nconst $f58f76cc72dbc50d$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n ...$f58f76cc72dbc50d$export$904054328df186b\n];\n\n\nfunction $447038b429c54f91$export$7300a92932ee17a3(args) {\n return (0, $2fdf9153abf9f994$export$2e2bcd8739ae039)(args, {\n string: (0, $f58f76cc72dbc50d$export$7b388ca536128c6d),\n default: Object.fromEntries((0, $f58f76cc72dbc50d$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $447038b429c54f91$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $447038b429c54f91$export$f57ebcae4da846e4() {\n (0, $ER74K.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 $447038b429c54f91$export$fc4ce4d885cb1082(key) {\n const value = (0, $lcRzN.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $447038b429c54f91$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 $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $hs40t = parcelRequire(\"hs40t\");\n\n\n\n\n\n\n\nfunction $546e05b24c5c5b72$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($hs40t)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $ER74K.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 $546e05b24c5c5b72$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $546e05b24c5c5b72$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $lcRzN.startGroup)(`Installing ${compiler} ${version ?? \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $0213127e07869fde$export$3016de7ae9d14988)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $d7DIX$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $9e5689f497201ccc$export$2a0488baf2a20c0f)();\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = (0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = await (0, $bd769018416dc7f2$export$405fab3de79b77b)(gccVersion, (0, $d7DIX$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n await (0, $9e5689f497201ccc$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $447038b429c54f91$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, $756746e991f4f289$export$a91ef0362c1a7298)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $d7DIX$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $lcRzN.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", \"clang\"),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\")\n ]);\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $ER74K.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $lcRzN.endGroup)();\n}\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $0e55037d0c830549$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $dTX7a.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $cb87868918740ed3$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $447038b429c54f91$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $447038b429c54f91$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, $cc03115747abd396$export$8312d9eeba321950)(\"\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $4ba97ccf92dfb41c$exports.create({\n autoloadLocales: true\n });\n $4ba97ccf92dfb41c$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($498ff720bdcc9abb$exports))));\n $ggaxg.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($77f70800b555d1e7$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $cb3b5dc5a4eadeb1$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $ER74K.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $ER74K.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $6f126e8fe01fa080$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, $f58f76cc72dbc50d$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, $f58f76cc72dbc50d$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages);\n time2 = Date.now();\n (0, $ER74K.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, $546e05b24c5c5b72$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $ER74K.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n await (0, $85fd7153285bfba5$export$ca46151966bee7ba)();\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $ER74K.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, $ER74K.success)(tool));\n errorMessages.forEach((tool)=>(0, $ER74K.error)(tool));\n (0, $ER74K.info)(\"setup-cpp finished\");\n if (!(0, $dTX7a.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $ER74K.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $ER74K.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$0e55037d0c830549$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $ER74K.error)(\"main() panicked!\");\n (0, $ER74K.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,"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 its 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\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar 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.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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] = '\\\\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\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] = LETTERDASHNUMBER + '+'\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')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(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')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(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')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(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')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(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 // Replace all greedy whitespace 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.\n safeRe[i] = new RegExp(makeSafeRe(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 ? safeRe[t.LOOSE] : safeRe[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 ? safeRe[t.LOOSE] : safeRe[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 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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[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 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 based on boolean or ||\n this.set = this.raw.split('||').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: ' + this.raw)\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 // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[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(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 ? safeRe[t.COMPARATORLOOSE] : safeRe[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 ? safeRe[t.TILDELOOSE] : safeRe[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 ? safeRe[t.CARETLOOSE] : safeRe[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 ? safeRe[t.XRANGELOOSE] : safeRe[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(safeRe[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(safeRe[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 = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[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.62d0ce0e.js\"))).then(() => parcelRequire('4kQHk'));","#!/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.1\"\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(\n addEnv(\"LANG\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n addEnv(\"LC_ALL\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true })\n )\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\ntype AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n shouldEscapeSpace?: boolean\n /** If true, the variable will be only added if it is not defined */\n shouldAddOnlyIfNotDefined?: boolean\n}\n\nconst defaultAddEnvOptions: AddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false,\n}\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(\n name: string,\n valGiven: string | undefined,\n options: AddEnvOptions = defaultAddEnvOptions\n) {\n const val = escapeString(valGiven ?? \"\", options.shouldEscapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\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, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\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 if (options.shouldAddOnlyIfNotDefined) {\n appendFileSync(cpprc_path, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${cpprc_path}`)\n } else {\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n }\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":";G+MII,CAAAA,CAAA,CyBMAC,CAAA,CEFAC,CAAA,CcAAC,CAAA,CuCFAC,CAAA,CpDJAC,CAAA,CCAAC,CAAA,CEAAC,CAAA,C,GwC8NJ,CAAAC,CAAA,CE9MYC,CAAA,C,6oCvRlBZ,a,iBAIA,GAAM,CAAAN,CAAA,CAAMO,OAAA,CAAQC,GAApB,CAkEA,QAAS,CAAAP,EAAUJ,CAAG,QAEpB,QAAmB,EAAf,MAAO,CAAAA,CAAA,CAAyB,CAAC,CAACG,CAAG,CAACH,CAAA,CAAI,CAG1C,OAAS,CAAAA,CAAA,CAGJG,CAAG,CAACH,CAAA,CAAIW,GAAA,CAAI,EAAIR,CAAG,CAACH,CAAA,CAAIW,GAAA,CAAI,CAACC,QAAA,CAASZ,CAAA,CAAIY,QAAjD,EAGE,OAAS,CAAAZ,CAAA,CACJA,CAAA,CAAIa,GAAA,CAAIC,IAAA,CAAK,SAAUd,CAAC,EAC7B,MAAO,CAAC,CAACG,CAAG,CAACH,CAAA,CAAE,EACjB,EAEKe,MAAA,CAAOC,IAAA,CAAKhB,CAAA,EAAKiB,KAAA,CAAM,SAAUhB,CAAC,EACvC,MAAO,CAAAE,CAAG,CAACF,CAAA,CAAE,GAAKD,CAAG,CAACC,CAAA,CAAE,EAC1B,CACF,EAlFAc,MA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