From 47bfdc613bb56680d6488829a1e5a7b3d6a5e195 Mon Sep 17 00:00:00 2001 From: StevenWdV Date: Wed, 3 Aug 2022 17:16:19 +0200 Subject: [PATCH] Update dependencies --- dist/setup.js | 2 +- package-lock.json | 932 ++++++++++++++++++++++++++++------------------ package.json | 23 +- 3 files changed, 576 insertions(+), 381 deletions(-) diff --git a/dist/setup.js b/dist/setup.js index 65202c6..5187cd0 100644 --- a/dist/setup.js +++ b/dist/setup.js @@ -1 +1 @@ -(()=>{var e={5265:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.issue=t.issueCommand=void 0;const i=o(r(2037)),a=r(4570);function c(e,t,r){const n=new u(e,t,r);process.stdout.write(n.toString()+i.EOL)}t.issueCommand=c,t.issue=function(e,t=""){c(e,{},t)};class u{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${t=s,a.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+=`::${function(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}(this.message)}`,e}}},2225:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const a=r(5265),c=r(3108),u=r(4570),l=o(r(2037)),d=o(r(1017)),h=r(1526);var f;function p(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&!1===t.trimWhitespace?r:r.trim()}function m(e,t={}){a.issueCommand("error",u.toCommandProperties(t),e instanceof Error?e.toString():e)}function g(e){a.issue("group",e)}function y(){a.issue("endgroup")}!function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"}(f=t.ExitCode||(t.ExitCode={})),t.exportVariable=function(e,t){const r=u.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_",n=`${e}<<${t}${l.EOL}${r}${l.EOL}${t}`;c.issueCommand("ENV",n)}else a.issueCommand("set-env",{name:e},r)},t.setSecret=function(e){a.issueCommand("add-mask",{},e)},t.addPath=function(e){process.env.GITHUB_PATH?c.issueCommand("PATH",e):a.issueCommand("add-path",{},e),process.env.PATH=`${e}${d.delimiter}${process.env.PATH}`},t.getInput=p,t.getMultilineInput=function(e,t){return p(e,t).split("\n").filter((e=>""!==e))},t.getBooleanInput=function(e,t){const r=p(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},t.setOutput=function(e,t){process.stdout.write(l.EOL),a.issueCommand("set-output",{name:e},t)},t.setCommandEcho=function(e){a.issue("echo",e?"on":"off")},t.setFailed=function(e){process.exitCode=f.Failure,m(e)},t.isDebug=function(){return"1"===process.env.RUNNER_DEBUG},t.debug=function(e){a.issueCommand("debug",{},e)},t.error=m,t.warning=function(e,t={}){a.issueCommand("warning",u.toCommandProperties(t),e instanceof Error?e.toString():e)},t.notice=function(e,t={}){a.issueCommand("notice",u.toCommandProperties(t),e instanceof Error?e.toString():e)},t.info=function(e){process.stdout.write(e+l.EOL)},t.startGroup=g,t.endGroup=y,t.group=function(e,t){return i(this,void 0,void 0,(function*(){let r;g(e);try{r=yield t()}finally{y()}return r}))},t.saveState=function(e,t){a.issueCommand("save-state",{name:e},t)},t.getState=function(e){return process.env[`STATE_${e}`]||""},t.getIDToken=function(e){return i(this,void 0,void 0,(function*(){return yield h.OidcClient.getIDToken(e)}))};var v=r(7410);Object.defineProperty(t,"summary",{enumerable:!0,get:function(){return v.summary}});var w=r(7410);Object.defineProperty(t,"markdownSummary",{enumerable:!0,get:function(){return w.markdownSummary}})},3108:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.issueCommand=void 0;const i=o(r(7147)),a=o(r(2037)),c=r(4570);t.issueCommand=function(e,t){const r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!i.existsSync(r))throw new Error(`Missing file at path: ${r}`);i.appendFileSync(r,`${c.toCommandValue(t)}${a.EOL}`,{encoding:"utf8"})}},1526:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.OidcClient=void 0;const s=r(4635),o=r(2429),i=r(2225);class a{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new s.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(a.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return n(this,void 0,void 0,(function*(){const r=a.createHttpClient(),n=yield r.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),s=null===(t=n.result)||void 0===t?void 0:t.value;if(!s)throw new Error("Response json body do not have ID Token field");return s}))}static getIDToken(e){return n(this,void 0,void 0,(function*(){try{let t=a.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),i.debug(`ID token url is ${t}`);const r=yield a.getCall(t);return i.setSecret(r),r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=a},7410:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const s=r(2037),o=r(7147),{access:i,appendFile:a,writeFile:c}=o.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const u=new class{constructor(){this._buffer=""}filePath(){return n(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const e=process.env[t.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield i(e,o.constants.R_OK|o.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return n(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?c:a;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return n(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(s.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),s=this.wrap(r,n);return this.addRaw(s).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:s}=e,o=t?"th":"td",i=Object.assign(Object.assign({},n&&{colspan:n}),s&&{rowspan:s});return this.wrap(o,r,i)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:s}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),s&&{height:s}),i=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(i).addEOL()}addHeading(e,t){const r=`h${t}`,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",s=this.wrap(n,e);return this.addRaw(s).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};t.markdownSummary=u,t.summary=u},4570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toCommandProperties=t.toCommandValue=void 0,t.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)},t.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}},27:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getExecOutput=t.exec=void 0;const a=r(1576),c=o(r(4171));function u(e,t,r){return i(this,void 0,void 0,(function*(){const n=c.argStringToArray(e);if(0===n.length)throw new Error("Parameter 'commandLine' cannot be null or empty.");const s=n[0];return t=n.slice(1).concat(t||[]),new c.ToolRunner(s,t,r).exec()}))}t.exec=u,t.getExecOutput=function(e,t,r){var n,s;return i(this,void 0,void 0,(function*(){let o="",i="";const c=new a.StringDecoder("utf8"),l=new a.StringDecoder("utf8"),d=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,h=null===(s=null==r?void 0:r.listeners)||void 0===s?void 0:s.stderr,f=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout:e=>{o+=c.write(e),d&&d(e)},stderr:e=>{i+=l.write(e),h&&h(e)}}),p=yield u(e,t,Object.assign(Object.assign({},r),{listeners:f}));return o+=c.end(),i+=l.end(),{exitCode:p,stdout:o,stderr:i}}))}},4171:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.argStringToArray=t.ToolRunner=void 0;const a=o(r(2037)),c=o(r(2361)),u=o(r(2081)),l=o(r(1017)),d=o(r(484)),h=o(r(7564)),f=r(9512),p="win32"===process.platform;class m extends c.EventEmitter{constructor(e,t,r){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=t||[],this.options=r||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,t){const r=this._getSpawnFileName(),n=this._getSpawnArgs(e);let s=t?"":"[command]";if(p)if(this._isCmdFile()){s+=r;for(const e of n)s+=` ${e}`}else if(e.windowsVerbatimArguments){s+=`"${r}"`;for(const e of n)s+=` ${e}`}else{s+=this._windowsQuoteCmdArg(r);for(const e of n)s+=` ${this._windowsQuoteCmdArg(e)}`}else{s+=r;for(const e of n)s+=` ${e}`}return s}_processLineBuffer(e,t,r){try{let n=t+e.toString(),s=n.indexOf(a.EOL);for(;s>-1;)r(n.substring(0,s)),n=n.substring(s+a.EOL.length),s=n.indexOf(a.EOL);return n}catch(e){return this._debug(`error processing line. Failed with error ${e}`),""}}_getSpawnFileName(){return p&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(p&&this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const r of this.args)t+=" ",t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r);return t+='"',[t]}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=!1;for(const n of e)if(t.some((e=>e===n))){r=!0;break}if(!r)return e;let n='"',s=!0;for(let t=e.length;t>0;t--)n+=e[t-1],s&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(s=!0,n+='"'):s=!1;return n+='"',n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-1]?(r=!0,t+="\\"):r=!1;return t+='"',t.split("").reverse().join("")}_cloneExecOptions(e){const t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){e=e||{};const r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r}exec(){return i(this,void 0,void 0,(function*(){return!h.isRooted(this.toolPath)&&(this.toolPath.includes("/")||p&&this.toolPath.includes("\\"))&&(this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield d.which(this.toolPath,!0),new Promise(((e,t)=>i(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(const e of this.args)this._debug(` ${e}`);const r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+a.EOL);const n=new g(r,this.toolPath);if(n.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield h.exists(this.options.cwd)))return t(new Error(`The cwd: ${this.options.cwd} does not exist!`));const s=this._getSpawnFileName(),o=u.spawn(s,this._getSpawnArgs(r),this._getSpawnOptions(this.options,s));let i="";o.stdout&&o.stdout.on("data",(e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),i=this._processLineBuffer(e,i,(e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)}))}));let c="";if(o.stderr&&o.stderr.on("data",(e=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),o.on("error",(e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()})),o.on("exit",(e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete()})),o.on("close",(e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()})),n.on("done",((r,n)=>{i.length>0&&this.emit("stdline",i),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(n)})),this.options.input){if(!o.stdin)throw new Error("child process missing stdin");o.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=m,t.argStringToArray=function(e){const t=[];let r=!1,n=!1,s="";function o(e){n&&'"'!==e&&(s+="\\"),s+=e,n=!1}for(let i=0;i0&&(t.push(s),s=""):n?o(a):r=!r}return s.length>0&&t.push(s.trim()),t};class g extends c.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=f.setTimeout(g.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=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}`):0===this.processExitCode||this.options.ignoreReturnCode?this.processStderr&&this.options.failOnStdErr&&(e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)):e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}}},2429:function(e,t){"use strict";var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0,t.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}},t.BearerCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}},t.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}},4635:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const a=o(r(3685)),c=o(r(5687)),u=o(r(7960)),l=o(r(6149));var d,h,f;!function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"}(d=t.HttpCodes||(t.HttpCodes={})),function(e){e.Accept="accept",e.ContentType="content-type"}(h=t.Headers||(t.Headers={})),function(e){e.ApplicationJson="application/json"}(f=t.MediaTypes||(t.MediaTypes={})),t.getProxyUrl=function(e){const t=u.getProxyUrl(new URL(e));return t?t.href:""};const p=[d.MovedPermanently,d.ResourceMoved,d.SeeOther,d.TemporaryRedirect,d.PermanentRedirect],m=[d.BadGateway,d.ServiceUnavailable,d.GatewayTimeout],g=["OPTIONS","GET","DELETE","HEAD"];class y extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,y.prototype)}}t.HttpClientError=y;class v{constructor(e){this.message=e}readBody(){return i(this,void 0,void 0,(function*(){return new Promise((e=>i(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])})),this.message.on("end",(()=>{e(t.toString())}))}))))}))}}t.HttpClientResponse=v,t.isHttps=function(e){return"https:"===new URL(e).protocol},t.HttpClient=class{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries))}options(e,t){return i(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return i(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return i(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return i(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return i(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e,t={}){return i(this,void 0,void 0,(function*(){t[h.Accept]=this._getExistingOrDefaultHeader(t,h.Accept,f.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[h.Accept]=this._getExistingOrDefaultHeader(r,h.Accept,f.ApplicationJson),r[h.ContentType]=this._getExistingOrDefaultHeader(r,h.ContentType,f.ApplicationJson);const s=yield this.post(e,n,r);return this._processResponse(s,this.requestOptions)}))}putJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[h.Accept]=this._getExistingOrDefaultHeader(r,h.Accept,f.ApplicationJson),r[h.ContentType]=this._getExistingOrDefaultHeader(r,h.ContentType,f.ApplicationJson);const s=yield this.put(e,n,r);return this._processResponse(s,this.requestOptions)}))}patchJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[h.Accept]=this._getExistingOrDefaultHeader(r,h.Accept,f.ApplicationJson),r[h.ContentType]=this._getExistingOrDefaultHeader(r,h.ContentType,f.ApplicationJson);const s=yield this.patch(e,n,r);return this._processResponse(s,this.requestOptions)}))}request(e,t,r,n){return i(this,void 0,void 0,(function*(){if(this._disposed)throw new Error("Client has already been disposed.");const s=new URL(t);let o=this._prepareRequest(e,s,n);const i=this._allowRetries&&g.includes(e)?this._maxRetries+1:1;let a,c=0;do{if(a=yield this.requestRaw(o,r),a&&a.message&&a.message.statusCode===d.Unauthorized){let e;for(const t of this.handlers)if(t.canHandleAuthentication(a)){e=t;break}return e?e.handleAuthentication(this,o,r):a}let t=this._maxRedirects;for(;a.message.statusCode&&p.includes(a.message.statusCode)&&this._allowRedirects&&t>0;){const i=a.message.headers.location;if(!i)break;const c=new URL(i);if("https:"===s.protocol&&s.protocol!==c.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.");if(yield a.readBody(),c.hostname!==s.hostname)for(const e in n)"authorization"===e.toLowerCase()&&delete n[e];o=this._prepareRequest(e,c,n),a=yield this.requestRaw(o,r),t--}if(!a.message.statusCode||!m.includes(a.message.statusCode))return a;c+=1,c{this.requestRawWithCallback(e,t,(function(e,t){e?n(e):t?r(t):n(new Error("Unknown error"))}))}))}))}requestRawWithCallback(e,t,r){"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let n=!1;function s(e,t){n||(n=!0,r(e,t))}const o=e.httpModule.request(e.options,(e=>{s(void 0,new v(e))}));let i;o.on("socket",(e=>{i=e})),o.setTimeout(this._socketTimeout||18e4,(()=>{i&&i.end(),s(new Error(`Request timeout: ${e.options.path}`))})),o.on("error",(function(e){s(e)})),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(function(){o.end()})),t.pipe(o)):o.end()}getAgent(e){const t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const s="https:"===n.parsedUrl.protocol;n.httpModule=s?c:a;const o=s?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(const e of this.handlers)e.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r}_getAgent(e){let t;const r=u.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;const s="https:"===e.protocol;let o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||a.globalAgent.maxSockets),r&&r.hostname){const e={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const i="https:"===r.protocol;n=s?i?l.httpsOverHttps:l.httpsOverHttp:i?l.httpOverHttps:l.httpOverHttp,t=n(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:o};t=s?new c.Agent(e):new a.Agent(e),this._agent=t}return t||(t=s?c.globalAgent:a.globalAgent),s&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){e=Math.min(10,e);const t=5*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,n)=>i(this,void 0,void 0,(function*(){const s=e.message.statusCode||0,o={statusCode:s,result:null,headers:{}};let i,a;s===d.NotFound&&r(o);try{a=yield e.readBody(),a&&a.length>0&&(i=t&&t.deserializeDates?JSON.parse(a,(function(e,t){if("string"==typeof t){const e=new Date(t);if(!isNaN(e.valueOf()))return e}return t})):JSON.parse(a),o.result=i),o.headers=e.message.headers}catch(e){}if(s>299){let e;e=i&&i.message?i.message:a&&a.length>0?a:`Failed request: (${s})`;const t=new y(e,s);t.result=o.result,n(t)}else r(o)}))))}))}};const w=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})},7960:(e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;const t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=Number(e.port):"http:"===e.protocol?r=80:"https:"===e.protocol&&(r=443);const n=[e.hostname.toUpperCase()];"number"==typeof r&&n.push(`${n[0]}:${r}`);for(const e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(n.some((t=>t===e)))return!0;return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.checkBypass=t.getProxyUrl=void 0,t.getProxyUrl=function(e){const t="https:"===e.protocol;if(r(e))return;const n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return n?new URL(n):void 0},t.checkBypass=r},7564:function(e,t,r){"use strict";var n,s=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&s(t,e,r);return o(t,e),t},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rename=t.readlink=t.readdir=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const c=i(r(7147)),u=i(r(1017));function l(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid()}n=c.promises,t.chmod=n.chmod,t.copyFile=n.copyFile,t.lstat=n.lstat,t.mkdir=n.mkdir,t.readdir=n.readdir,t.readlink=n.readlink,t.rename=n.rename,t.rmdir=n.rmdir,t.stat=n.stat,t.symlink=n.symlink,t.unlink=n.unlink,t.IS_WINDOWS="win32"===process.platform,t.exists=function(e){return a(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if("ENOENT"===e.code)return!1;throw e}return!0}))},t.isDirectory=function(e,r=!1){return a(this,void 0,void 0,(function*(){return(r?yield t.stat(e):yield t.lstat(e)).isDirectory()}))},t.isRooted=function(e){if(!(e=function(e){return e=e||"",t.IS_WINDOWS?(e=e.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):e.replace(/\/\/+/g,"/")}(e)))throw new Error('isRooted() parameter "p" cannot be empty');return t.IS_WINDOWS?e.startsWith("\\")||/^[A-Z]:/i.test(e):e.startsWith("/")},t.tryGetExecutablePath=function(e,r){return a(this,void 0,void 0,(function*(){let n;try{n=yield t.stat(e)}catch(t){"ENOENT"!==t.code&&console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}if(n&&n.isFile())if(t.IS_WINDOWS){const t=u.extname(e).toUpperCase();if(r.some((e=>e.toUpperCase()===t)))return e}else if(l(n))return e;const s=e;for(const o of r){e=s+o,n=void 0;try{n=yield t.stat(e)}catch(t){"ENOENT"!==t.code&&console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}if(n&&n.isFile()){if(t.IS_WINDOWS){try{const r=u.dirname(e),n=u.basename(e).toUpperCase();for(const s of yield t.readdir(r))if(n===s.toUpperCase()){e=u.join(r,s);break}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}if(l(n))return e}}return""}))},t.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}},484:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const a=r(9491),c=o(r(2081)),u=o(r(1017)),l=r(3837),d=o(r(7564)),h=l.promisify(c.exec),f=l.promisify(c.execFile);function p(e){return i(this,void 0,void 0,(function*(){if(d.IS_WINDOWS){if(/[*"<>|]/.test(e))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=d.getCmdPath();(yield d.isDirectory(e,!0))?yield h(`${t} /s /c "rd /s /q "%inputPath%""`,{env:{inputPath:e}}):yield h(`${t} /s /c "del /f /a "%inputPath%""`,{env:{inputPath:e}})}catch(e){if("ENOENT"!==e.code)throw e}try{yield d.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield d.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield f("rm",["-rf",`${e}`]):yield d.unlink(e)}}))}function m(e){return i(this,void 0,void 0,(function*(){a.ok(e,"a path argument must be provided"),yield d.mkdir(e,{recursive:!0})}))}function g(e){return i(this,void 0,void 0,(function*(){if(!e)throw new Error("parameter 'tool' is required");const t=[];if(d.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(d.isRooted(e)){const r=yield d.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(u.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(u.delimiter))e&&r.push(e);const n=[];for(const s of r){const r=yield d.tryGetExecutablePath(u.join(s,e),t);r&&n.push(r)}return n}))}function y(e,t,r,n){return i(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield m(t);const s=yield d.readdir(e);for(const o of s){const s=`${e}/${o}`,i=`${t}/${o}`;(yield d.lstat(s)).isDirectory()?yield y(s,i,r,n):yield v(s,i,n)}yield d.chmod(t,(yield d.stat(e)).mode)}))}function v(e,t,r){return i(this,void 0,void 0,(function*(){if((yield d.lstat(e)).isSymbolicLink()){try{yield d.lstat(t),yield d.unlink(t)}catch(e){"EPERM"===e.code&&(yield d.chmod(t,"0666"),yield d.unlink(t))}const r=yield d.readlink(e);yield d.symlink(r,t,d.IS_WINDOWS?"junction":null)}else(yield d.exists(t))&&!r||(yield d.copyFile(e,t))}))}t.cp=function(e,t,r={}){return i(this,void 0,void 0,(function*(){const{force:n,recursive:s,copySourceDirectory:o}=function(e){return{force:null==e.force||e.force,recursive:Boolean(e.recursive),copySourceDirectory:null==e.copySourceDirectory||Boolean(e.copySourceDirectory)}}(r),i=(yield d.exists(t))?yield d.stat(t):null;if(i&&i.isFile()&&!n)return;const a=i&&i.isDirectory()&&o?u.join(t,u.basename(e)):t;if(!(yield d.exists(e)))throw new Error(`no such file or directory: ${e}`);if((yield d.stat(e)).isDirectory()){if(!s)throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield y(e,a,0,n)}else{if(""===u.relative(e,a))throw new Error(`'${a}' and '${e}' are the same file`);yield v(e,a,n)}}))},t.mv=function(e,t,r={}){return i(this,void 0,void 0,(function*(){if(yield d.exists(t)){let n=!0;if((yield d.isDirectory(t))&&(t=u.join(t,u.basename(e)),n=yield d.exists(t)),n){if(null!=r.force&&!r.force)throw new Error("Destination already exists");yield p(t)}}yield m(u.dirname(t)),yield d.rename(e,t)}))},t.rmRF=p,t.mkdirP=m,t.which=function e(t,r){return i(this,void 0,void 0,(function*(){if(!t)throw new Error("parameter 'tool' is required");if(r){const r=yield e(t,!1);if(!r)throw d.IS_WINDOWS?new Error(`Unable to locate executable file: ${t}. 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.`):new Error(`Unable to locate executable file: ${t}. 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.`);return r}const n=yield g(t);return n&&n.length>0?n[0]:""}))},t.findInPath=g},3361:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t._readLinuxVersionFile=t._getOsVersion=t._findMatch=void 0;const a=o(r(6625)),c=r(2225),u=r(2037),l=r(2081),d=r(7147);t._findMatch=function(t,r,n,s){return i(this,void 0,void 0,(function*(){const o=u.platform();let i,l,d;for(const i of n){const n=i.version;if(c.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||i.stable===r)&&(d=i.files.find((t=>{c.debug(`${t.arch}===${s} && ${t.platform}===${o}`);let r=t.arch===s&&t.platform===o;if(r&&t.platform_version){const n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version)}return r})),d)){c.debug(`matched ${i.version}`),l=i;break}}return l&&d&&(i=Object.assign({},l),i.files=[d]),i}))},t._getOsVersion=function(){const t=u.platform();let r="";if("darwin"===t)r=l.execSync("sw_vers -productVersion").toString();else if("linux"===t){const t=e.exports._readLinuxVersionFile();if(t){const e=t.split("\n");for(const t of e){const e=t.split("=");if(2===e.length&&("VERSION_ID"===e[0].trim()||"DISTRIB_RELEASE"===e[0].trim())){r=e[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return r},t._readLinuxVersionFile=function(){const e="/etc/lsb-release",t="/etc/os-release";let r="";return d.existsSync(e)?r=d.readFileSync(e).toString():d.existsSync(t)&&(r=d.readFileSync(t).toString()),r}},1804:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.RetryHelper=void 0;const a=o(r(2225));t.RetryHelper=class{constructor(e,t,r){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(t),this.maxSeconds=Math.floor(r),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,t){return i(this,void 0,void 0,(function*(){let r=1;for(;rsetTimeout(t,1e3*e)))}))}}},4392:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateVersions=t.isExplicitVersion=t.findFromManifest=t.getManifestFromRepo=t.findAllVersions=t.find=t.cacheFile=t.cacheDir=t.extractZip=t.extractXar=t.extractTar=t.extract7z=t.downloadTool=t.HTTPError=void 0;const c=o(r(2225)),u=o(r(484)),l=o(r(7147)),d=o(r(3361)),h=o(r(2037)),f=o(r(1017)),p=o(r(4635)),m=o(r(6625)),g=o(r(2781)),y=o(r(3837)),v=r(9491),w=a(r(1171)),E=r(27),b=r(1804);class O extends Error{constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}t.HTTPError=O;const _="win32"===process.platform,T="darwin"===process.platform;function R(e,t){const r=[];t=t||h.arch();const n=f.join(I(),e);if(l.existsSync(n)){const e=l.readdirSync(n);for(const s of e)if(x(s)){const e=f.join(n,s,t||"");l.existsSync(e)&&l.existsSync(`${e}.complete`)&&r.push(s)}}return r}function C(e){return i(this,void 0,void 0,(function*(){return e||(e=f.join(P(),w.default())),yield u.mkdirP(e),e}))}function S(e,t,r){return i(this,void 0,void 0,(function*(){const n=f.join(I(),e,m.clean(t)||t,r||"");c.debug(`destination ${n}`);const s=`${n}.complete`;return yield u.rmRF(n),yield u.rmRF(s),yield u.mkdirP(n),n}))}function k(e,t,r){const n=`${f.join(I(),e,m.clean(t)||t,r||"")}.complete`;l.writeFileSync(n,""),c.debug("finished caching tool")}function x(e){const t=m.clean(e)||"";c.debug(`isExplicit: ${t}`);const r=null!=m.valid(t);return c.debug(`explicit? ${r}`),r}function A(e,t){let r="";c.debug(`evaluating ${e.length} versions`);for(let n=(e=e.sort(((e,t)=>m.gt(e,t)?1:-1))).length-1;n>=0;n--){const s=e[n];if(m.satisfies(s,t)){r=s;break}}return r?c.debug(`matched: ${r}`):c.debug("match not found"),r}function I(){const e=process.env.RUNNER_TOOL_CACHE||"";return v.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function P(){const e=process.env.RUNNER_TEMP||"";return v.ok(e,"Expected RUNNER_TEMP to be defined"),e}function N(e,t){const r=global[e];return void 0!==r?r:t}t.downloadTool=function(e,t,r,n){return i(this,void 0,void 0,(function*(){t=t||f.join(P(),w.default()),yield u.mkdirP(f.dirname(t)),c.debug(`Downloading ${e}`),c.debug(`Destination ${t}`);const s=N("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=N("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),a=new b.RetryHelper(3,s,o);return yield a.execute((()=>i(this,void 0,void 0,(function*(){return yield function(e,t,r,n){return i(this,void 0,void 0,(function*(){if(l.existsSync(t))throw new Error(`Destination file path ${t} already exists`);const s=new p.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(c.debug("set auth"),void 0===n&&(n={}),n.authorization=r);const o=yield s.get(e,n);if(200!==o.message.statusCode){const t=new O(o.message.statusCode);throw c.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t}const i=y.promisify(g.pipeline),a=N("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>o.message))();let d=!1;try{return yield i(a,l.createWriteStream(t)),c.debug("download complete"),d=!0,t}finally{if(!d){c.debug("download failed");try{yield u.rmRF(t)}catch(e){c.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,n)}))),(e=>!(e instanceof O&&e.httpStatusCode&&e.httpStatusCode<500&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},t.extract7z=function(e,t,r){return i(this,void 0,void 0,(function*(){v.ok(_,"extract7z() not supported on current OS"),v.ok(e,'parameter "file" is required'),t=yield C(t);const n=process.cwd();if(process.chdir(t),r)try{const t=["x",c.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],s={silent:!0};yield E.exec(`"${r}"`,t,s)}finally{process.chdir(n)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${f.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Source '${e.replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Target '${t.replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`],s={silent:!0};try{const e=yield u.which("powershell",!0);yield E.exec(`"${e}"`,r,s)}finally{process.chdir(n)}}return t}))},t.extractTar=function(e,t,r="xz"){return i(this,void 0,void 0,(function*(){if(!e)throw new Error("parameter 'file' is required");t=yield C(t),c.debug("Checking tar --version");let n="";yield E.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}}),c.debug(n.trim());const s=n.toUpperCase().includes("GNU TAR");let o;o=r instanceof Array?r:[r],c.isDebug()&&!r.includes("v")&&o.push("-v");let i=t,a=e;return _&&s&&(o.push("--force-local"),i=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),s&&(o.push("--warning=no-unknown-keyword"),o.push("--overwrite")),o.push("-C",i,"-f",a),yield E.exec("tar",o),t}))},t.extractXar=function(e,t,r=[]){return i(this,void 0,void 0,(function*(){let n;v.ok(T,"extractXar() not supported on current OS"),v.ok(e,'parameter "file" is required'),t=yield C(t),n=r instanceof Array?r:[r],n.push("-x","-C",t,"-f",e),c.isDebug()&&n.push("-v");const s=yield u.which("xar",!0);var o;return yield E.exec(`"${s}"`,(o=n,Array.from(new Set(o)))),t}))},t.extractZip=function(e,t){return i(this,void 0,void 0,(function*(){if(!e)throw new Error("parameter 'file' is required");return t=yield C(t),_?yield function(e,t){return i(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield u.which("pwsh",!1);if(s){const e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];c.debug(`Using pwsh at path: ${s}`),yield E.exec(`"${s}"`,e)}else{const e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],t=yield u.which("powershell",!0);c.debug(`Using powershell at path: ${t}`),yield E.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return i(this,void 0,void 0,(function*(){const r=yield u.which("unzip",!0),n=[e];c.isDebug()||n.unshift("-q"),n.unshift("-o"),yield E.exec(`"${r}"`,n,{cwd:t})}))}(e,t),t}))},t.cacheDir=function(e,t,r,n){return i(this,void 0,void 0,(function*(){if(r=m.clean(r)||r,n=n||h.arch(),c.debug(`Caching tool ${t} ${r} ${n}`),c.debug(`source dir: ${e}`),!l.statSync(e).isDirectory())throw new Error("sourceDir is not a directory");const s=yield S(t,r,n);for(const t of l.readdirSync(e)){const r=f.join(e,t);yield u.cp(r,s,{recursive:!0})}return k(t,r,n),s}))},t.cacheFile=function(e,t,r,n,s){return i(this,void 0,void 0,(function*(){if(n=m.clean(n)||n,s=s||h.arch(),c.debug(`Caching tool ${r} ${n} ${s}`),c.debug(`source file: ${e}`),!l.statSync(e).isFile())throw new Error("sourceFile is not a file");const o=yield S(r,n,s),i=f.join(o,t);return c.debug(`destination file ${i}`),yield u.cp(e,i),k(r,n,s),o}))},t.find=function(e,t,r){if(!e)throw new Error("toolName parameter is required");if(!t)throw new Error("versionSpec parameter is required");r=r||h.arch(),x(t)||(t=A(R(e,r),t));let n="";if(t){t=m.clean(t)||"";const s=f.join(I(),e,t,r);c.debug(`checking cache: ${s}`),l.existsSync(s)&&l.existsSync(`${s}.complete`)?(c.debug(`Found tool in cache ${e} ${t} ${r}`),n=s):c.debug("not found")}return n},t.findAllVersions=R,t.getManifestFromRepo=function(e,t,r,n="master"){return i(this,void 0,void 0,(function*(){let s=[];const o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,i=new p.HttpClient("tool-cache"),a={};r&&(c.debug("set auth"),a.authorization=r);const u=yield i.getJson(o,a);if(!u.result)return s;let l="";for(const e of u.result.tree)if("versions-manifest.json"===e.path){l=e.url;break}a.accept="application/vnd.github.VERSION.raw";let d=yield(yield i.get(l,a)).readBody();if(d){d=d.replace(/^\uFEFF/,"");try{s=JSON.parse(d)}catch(e){c.debug("Invalid json")}}return s}))},t.findFromManifest=function(e,t,r,n=h.arch()){return i(this,void 0,void 0,(function*(){return yield d._findMatch(e,t,r,n)}))},t.isExplicitVersion=x,t.evaluateVersions=A},1513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(3593))},3593:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=r(7147),o=n(r(5158)).default("@kwsites/file-exists");t.exists=function(e,r=t.READABLE){return function(e,t,r){o("checking %s",e);try{const n=s.statSync(e);return n.isFile()&&t?(o("[OK] path represents a file"),!0):n.isDirectory()&&r?(o("[OK] path represents a directory"),!0):(o("[FAIL] path represents something other than a file or directory"),!1)}catch(e){if("ENOENT"===e.code)return o("[FAIL] path is not accessible: %o",e),!1;throw o("[FATAL] %o",e),e}}(e,(r&t.FILE)>0,(r&t.FOLDER)>0)},t.FILE=1,t.FOLDER=2,t.READABLE=t.FILE+t.FOLDER},2443:(e,t)=>{"use strict";function r(){let e,t,r="pending";return{promise:new Promise(((r,n)=>{e=r,t=n})),done(t){"pending"===r&&(r="resolved",e(t))},fail(e){"pending"===r&&(r="rejected",t(e))},get fulfilled(){return"pending"!==r},get status(){return r}}}Object.defineProperty(t,"__esModule",{value:!0}),t.createDeferred=t.deferred=void 0,t.deferred=r,t.createDeferred=r,t.default=r},1227:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(s=n))})),t.splice(s,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2447)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2447:(e,t,r)=>{e.exports=function(e){function t(e){let r,s,o,i=null;function a(...e){if(!a.enabled)return;const n=a,s=Number(new Date),o=s-(r||s);n.diff=o,n.prev=r,n.curr=s,r=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,s)=>{if("%%"===r)return"%";i++;const o=t.formatters[s];if("function"==typeof o){const t=e[i];r=o.call(n,t),e.splice(i,1),i--}return r})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),s=n.length;for(r=0;r{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(1227):e.exports=r(39)},39:(e,t,r)=>{const n=r(6224),s=r(3837);t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=r(2130);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e}),{}),e.exports=r(2447)(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts)}},6560:e=>{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),s=t.indexOf("--");return-1!==n&&(-1===s||n{var t=1e3,r=60*t,n=60*r,s=24*n;function o(e,t,r,n){var s=t>=1.5*r;return Math.round(e/r)+" "+n+(s?"s":"")}e.exports=function(e,i){i=i||{};var a,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var i=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*n;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===u&&isFinite(e))return i.long?(a=e,(c=Math.abs(a))>=s?o(a,c,s,"day"):c>=n?o(a,c,n,"hour"):c>=r?o(a,c,r,"minute"):c>=t?o(a,c,t,"second"):a+" ms"):function(e){var o=Math.abs(e);return o>=s?Math.round(e/s)+"d":o>=n?Math.round(e/n)+"h":o>=r?Math.round(e/r)+"m":o>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6625:(e,t)=>{var r;t=e.exports=d,r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var n=Number.MAX_SAFE_INTEGER||9007199254740991,s=t.re=[],o=t.src=[],i=t.tokens={},a=0;function c(e){i[e]=a++}c("NUMERICIDENTIFIER"),o[i.NUMERICIDENTIFIER]="0|[1-9]\\d*",c("NUMERICIDENTIFIERLOOSE"),o[i.NUMERICIDENTIFIERLOOSE]="[0-9]+",c("NONNUMERICIDENTIFIER"),o[i.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",c("MAINVERSION"),o[i.MAINVERSION]="("+o[i.NUMERICIDENTIFIER]+")\\.("+o[i.NUMERICIDENTIFIER]+")\\.("+o[i.NUMERICIDENTIFIER]+")",c("MAINVERSIONLOOSE"),o[i.MAINVERSIONLOOSE]="("+o[i.NUMERICIDENTIFIERLOOSE]+")\\.("+o[i.NUMERICIDENTIFIERLOOSE]+")\\.("+o[i.NUMERICIDENTIFIERLOOSE]+")",c("PRERELEASEIDENTIFIER"),o[i.PRERELEASEIDENTIFIER]="(?:"+o[i.NUMERICIDENTIFIER]+"|"+o[i.NONNUMERICIDENTIFIER]+")",c("PRERELEASEIDENTIFIERLOOSE"),o[i.PRERELEASEIDENTIFIERLOOSE]="(?:"+o[i.NUMERICIDENTIFIERLOOSE]+"|"+o[i.NONNUMERICIDENTIFIER]+")",c("PRERELEASE"),o[i.PRERELEASE]="(?:-("+o[i.PRERELEASEIDENTIFIER]+"(?:\\."+o[i.PRERELEASEIDENTIFIER]+")*))",c("PRERELEASELOOSE"),o[i.PRERELEASELOOSE]="(?:-?("+o[i.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+o[i.PRERELEASEIDENTIFIERLOOSE]+")*))",c("BUILDIDENTIFIER"),o[i.BUILDIDENTIFIER]="[0-9A-Za-z-]+",c("BUILD"),o[i.BUILD]="(?:\\+("+o[i.BUILDIDENTIFIER]+"(?:\\."+o[i.BUILDIDENTIFIER]+")*))",c("FULL"),c("FULLPLAIN"),o[i.FULLPLAIN]="v?"+o[i.MAINVERSION]+o[i.PRERELEASE]+"?"+o[i.BUILD]+"?",o[i.FULL]="^"+o[i.FULLPLAIN]+"$",c("LOOSEPLAIN"),o[i.LOOSEPLAIN]="[v=\\s]*"+o[i.MAINVERSIONLOOSE]+o[i.PRERELEASELOOSE]+"?"+o[i.BUILD]+"?",c("LOOSE"),o[i.LOOSE]="^"+o[i.LOOSEPLAIN]+"$",c("GTLT"),o[i.GTLT]="((?:<|>)?=?)",c("XRANGEIDENTIFIERLOOSE"),o[i.XRANGEIDENTIFIERLOOSE]=o[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",c("XRANGEIDENTIFIER"),o[i.XRANGEIDENTIFIER]=o[i.NUMERICIDENTIFIER]+"|x|X|\\*",c("XRANGEPLAIN"),o[i.XRANGEPLAIN]="[v=\\s]*("+o[i.XRANGEIDENTIFIER]+")(?:\\.("+o[i.XRANGEIDENTIFIER]+")(?:\\.("+o[i.XRANGEIDENTIFIER]+")(?:"+o[i.PRERELEASE]+")?"+o[i.BUILD]+"?)?)?",c("XRANGEPLAINLOOSE"),o[i.XRANGEPLAINLOOSE]="[v=\\s]*("+o[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[i.XRANGEIDENTIFIERLOOSE]+")(?:"+o[i.PRERELEASELOOSE]+")?"+o[i.BUILD]+"?)?)?",c("XRANGE"),o[i.XRANGE]="^"+o[i.GTLT]+"\\s*"+o[i.XRANGEPLAIN]+"$",c("XRANGELOOSE"),o[i.XRANGELOOSE]="^"+o[i.GTLT]+"\\s*"+o[i.XRANGEPLAINLOOSE]+"$",c("COERCE"),o[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",c("COERCERTL"),s[i.COERCERTL]=new RegExp(o[i.COERCE],"g"),c("LONETILDE"),o[i.LONETILDE]="(?:~>?)",c("TILDETRIM"),o[i.TILDETRIM]="(\\s*)"+o[i.LONETILDE]+"\\s+",s[i.TILDETRIM]=new RegExp(o[i.TILDETRIM],"g"),c("TILDE"),o[i.TILDE]="^"+o[i.LONETILDE]+o[i.XRANGEPLAIN]+"$",c("TILDELOOSE"),o[i.TILDELOOSE]="^"+o[i.LONETILDE]+o[i.XRANGEPLAINLOOSE]+"$",c("LONECARET"),o[i.LONECARET]="(?:\\^)",c("CARETTRIM"),o[i.CARETTRIM]="(\\s*)"+o[i.LONECARET]+"\\s+",s[i.CARETTRIM]=new RegExp(o[i.CARETTRIM],"g"),c("CARET"),o[i.CARET]="^"+o[i.LONECARET]+o[i.XRANGEPLAIN]+"$",c("CARETLOOSE"),o[i.CARETLOOSE]="^"+o[i.LONECARET]+o[i.XRANGEPLAINLOOSE]+"$",c("COMPARATORLOOSE"),o[i.COMPARATORLOOSE]="^"+o[i.GTLT]+"\\s*("+o[i.LOOSEPLAIN]+")$|^$",c("COMPARATOR"),o[i.COMPARATOR]="^"+o[i.GTLT]+"\\s*("+o[i.FULLPLAIN]+")$|^$",c("COMPARATORTRIM"),o[i.COMPARATORTRIM]="(\\s*)"+o[i.GTLT]+"\\s*("+o[i.LOOSEPLAIN]+"|"+o[i.XRANGEPLAIN]+")",s[i.COMPARATORTRIM]=new RegExp(o[i.COMPARATORTRIM],"g"),c("HYPHENRANGE"),o[i.HYPHENRANGE]="^\\s*("+o[i.XRANGEPLAIN]+")\\s+-\\s+("+o[i.XRANGEPLAIN]+")\\s*$",c("HYPHENRANGELOOSE"),o[i.HYPHENRANGELOOSE]="^\\s*("+o[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+o[i.XRANGEPLAINLOOSE]+")\\s*$",c("STAR"),o[i.STAR]="(<|>)?=?\\s*\\*";for(var u=0;u256)return null;if(!(t.loose?s[i.LOOSE]:s[i.FULL]).test(e))return null;try{return new d(e,t)}catch(e){return null}}function d(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof d))return new d(e,t);r("SemVer",e,t),this.options=t,this.loose=!!t.loose;var o=e.trim().match(t.loose?s[i.LOOSE]:s[i.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new d(e,r).inc(t,n).version}catch(e){return null}},t.diff=function(e,t){if(y(e,t))return null;var r=l(e),n=l(t),s="";if(r.prerelease.length||n.prerelease.length){s="pre";var o="prerelease"}for(var i in r)if(("major"===i||"minor"===i||"patch"===i)&&r[i]!==n[i])return s+i;return o},t.compareIdentifiers=f;var h=/^[0-9]+$/;function f(e,t){var r=h.test(e),n=h.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e0}function g(e,t,r){return p(e,t,r)<0}function y(e,t,r){return 0===p(e,t,r)}function v(e,t,r){return 0!==p(e,t,r)}function w(e,t,r){return p(e,t,r)>=0}function E(e,t,r){return p(e,t,r)<=0}function b(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return y(e,r,n);case"!=":return v(e,r,n);case">":return m(e,r,n);case">=":return w(e,r,n);case"<":return g(e,r,n);case"<=":return E(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}function O(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof O){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof O))return new O(e,t);r("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===_?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}t.rcompareIdentifiers=function(e,t){return f(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=p,t.compareLoose=function(e,t){return p(e,t,!0)},t.compareBuild=function(e,t,r){var n=new d(e,r),s=new d(t,r);return n.compare(s)||n.compareBuild(s)},t.rcompare=function(e,t,r){return p(t,e,r)},t.sort=function(e,r){return e.sort((function(e,n){return t.compareBuild(e,n,r)}))},t.rsort=function(e,r){return e.sort((function(e,n){return t.compareBuild(n,e,r)}))},t.gt=m,t.lt=g,t.eq=y,t.neq=v,t.gte=w,t.lte=E,t.cmp=b,t.Comparator=O;var _={};function T(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof T)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new T(e.raw,t);if(e instanceof O)return new T(e.value,t);if(!(this instanceof T))return new T(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function R(e,t){for(var r=!0,n=e.slice(),s=n.pop();r&&n.length;)r=n.every((function(e){return s.intersects(e,t)})),s=n.pop();return r}function C(e){return!e||"x"===e.toLowerCase()||"*"===e}function S(e,t,r,n,s,o,i,a,c,u,l,d,h){return((t=C(r)?"":C(n)?">="+r+".0.0":C(s)?">="+r+"."+n+".0":">="+t)+" "+(a=C(c)?"":C(u)?"<"+(+c+1)+".0.0":C(l)?"<"+c+"."+(+u+1)+".0":d?"<="+c+"."+u+"."+l+"-"+d:"<="+a)).trim()}function k(e,t,n){for(var s=0;s0){var o=e[s].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function x(e,t,r){try{t=new T(t,r)}catch(e){return!1}return t.test(e)}function A(e,t,r,n){var s,o,i,a,c;switch(e=new d(e,n),t=new T(t,n),r){case">":s=m,o=E,i=g,a=">",c=">=";break;case"<":s=g,o=w,i=m,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(x(e,t,n))return!1;for(var u=0;u=0.0.0")),h=h||e,f=f||e,s(e.semver,h.semver,n)?h=e:i(e.semver,f.semver,n)&&(f=e)})),h.operator===a||h.operator===c)return!1;if((!f.operator||f.operator===a)&&o(e,f.semver))return!1;if(f.operator===c&&i(e,f.semver))return!1}return!0}O.prototype.parse=function(e){var t=this.options.loose?s[i.COMPARATORLOOSE]:s[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new d(r[2],this.options.loose):this.semver=_},O.prototype.toString=function(){return this.value},O.prototype.test=function(e){if(r("Comparator.test",e,this.options.loose),this.semver===_||e===_)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return b(e,this.operator,this.semver,this.options)},O.prototype.intersects=function(e,t){if(!(e instanceof O))throw new TypeError("a Comparator is required");var r;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new T(e.value,t),x(this.value,r,t));if(""===e.operator)return""===e.value||(r=new T(this.value,t),x(e.semver,r,t));var n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),s=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=b(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=b(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||s||o&&i||a||c},t.Range=T,T.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},T.prototype.toString=function(){return this.range},T.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?s[i.HYPHENRANGELOOSE]:s[i.HYPHENRANGE];e=e.replace(n,S),r("hyphen replace",e),e=e.replace(s[i.COMPARATORTRIM],"$1$2$3"),r("comparator trim",e,s[i.COMPARATORTRIM]),e=(e=(e=e.replace(s[i.TILDETRIM],"$1~")).replace(s[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var o=t?s[i.COMPARATORLOOSE]:s[i.COMPARATOR],a=e.split(" ").map((function(e){return function(e,t){return r("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){r("caret",e,t);var n=t.loose?s[i.CARETLOOSE]:s[i.CARET];return e.replace(n,(function(t,n,s,o,i){var a;return r("caret",e,t,n,s,o,i),C(n)?a="":C(s)?a=">="+n+".0.0 <"+(+n+1)+".0.0":C(o)?a="0"===n?">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0":">="+n+"."+s+".0 <"+(+n+1)+".0.0":i?(r("replaceCaret pr",i),a="0"===n?"0"===s?">="+n+"."+s+"."+o+"-"+i+" <"+n+"."+s+"."+(+o+1):">="+n+"."+s+"."+o+"-"+i+" <"+n+"."+(+s+1)+".0":">="+n+"."+s+"."+o+"-"+i+" <"+(+n+1)+".0.0"):(r("no pr"),a="0"===n?"0"===s?">="+n+"."+s+"."+o+" <"+n+"."+s+"."+(+o+1):">="+n+"."+s+"."+o+" <"+n+"."+(+s+1)+".0":">="+n+"."+s+"."+o+" <"+(+n+1)+".0.0"),r("caret return",a),a}))}(e,t)})).join(" ")}(e,t),r("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var n=t.loose?s[i.TILDELOOSE]:s[i.TILDE];return e.replace(n,(function(t,n,s,o,i){var a;return r("tilde",e,t,n,s,o,i),C(n)?a="":C(s)?a=">="+n+".0.0 <"+(+n+1)+".0.0":C(o)?a=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0":i?(r("replaceTilde pr",i),a=">="+n+"."+s+"."+o+"-"+i+" <"+n+"."+(+s+1)+".0"):a=">="+n+"."+s+"."+o+" <"+n+"."+(+s+1)+".0",r("tilde return",a),a}))}(e,t)})).join(" ")}(e,t),r("tildes",e),e=function(e,t){return r("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var n=t.loose?s[i.XRANGELOOSE]:s[i.XRANGE];return e.replace(n,(function(n,s,o,i,a,c){r("xRange",e,n,s,o,i,a,c);var u=C(o),l=u||C(i),d=l||C(a),h=d;return"="===s&&h&&(s=""),c=t.includePrerelease?"-0":"",u?n=">"===s||"<"===s?"<0.0.0-0":"*":s&&h?(l&&(i=0),a=0,">"===s?(s=">=",l?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===s&&(s="<",l?o=+o+1:i=+i+1),n=s+o+"."+i+"."+a+c):l?n=">="+o+".0.0"+c+" <"+(+o+1)+".0.0"+c:d&&(n=">="+o+"."+i+".0"+c+" <"+o+"."+(+i+1)+".0"+c),r("xRange return",n),n}))}(e,t)})).join(" ")}(e,t),r("xrange",e),e=function(e,t){return r("replaceStars",e,t),e.trim().replace(s[i.STAR],"")}(e,t),r("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(o)}))),a.map((function(e){return new O(e,this.options)}),this)},T.prototype.intersects=function(e,t){if(!(e instanceof T))throw new TypeError("a Range is required");return this.set.some((function(r){return R(r,t)&&e.set.some((function(e){return R(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new T(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},T.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}for(var t=0;t":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":r&&!m(r,t)||(r=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return r&&e.test(r)?r:null},t.validRange=function(e,t){try{return new T(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,r){return A(e,t,"<",r)},t.gtr=function(e,t,r){return A(e,t,">",r)},t.outside=A,t.prerelease=function(e,t){var r=l(e,t);return r&&r.prerelease.length?r.prerelease:null},t.intersects=function(e,t,r){return e=new T(e,r),t=new T(t,r),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;var r=null;if((t=t||{}).rtl){for(var n;(n=s[i.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&n.index+n[0].length===r.index+r[0].length||(r=n),s[i.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;s[i.COERCERTL].lastIndex=-1}else r=e.match(s[i.COERCE]);return null===r?null:l(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}},6998:(e,t,r)=>{var n,s,o,i,a,c,u,l,d,h=Object.create,f=Object.defineProperty,p=Object.defineProperties,m=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_=(e,t)=>{for(var r in t||(t={}))E.call(t,r)&&O(e,r,t[r]);if(v)for(var r of v(t))b.call(t,r)&&O(e,r,t[r]);return e},T=(e,t)=>p(e,g(t)),R=e=>f(e,"__esModule",{value:!0}),C=(e,t)=>function(){return e&&(t=(0,e[y(e)[0]])(e=0)),t},S=(e,t)=>{for(var r in t)f(e,r,{get:t[r],enumerable:!0})},k=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of y(t))E.call(e,s)||!r&&"default"===s||f(e,s,{get:()=>t[s],enumerable:!(n=m(t,s))||n.enumerable});return e},x=(e=>(t,r)=>e&&e.get(t)||(r=k(R({}),t,1),e&&e.set(t,r),r))("undefined"!=typeof WeakMap?new WeakMap:0),A=(e,t,r)=>new Promise(((n,s)=>{var o=e=>{try{a(r.next(e))}catch(e){s(e)}},i=e=>{try{a(r.throw(e))}catch(e){s(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,i);a((r=r.apply(e,t)).next())})),I=C({"src/lib/errors/git-error.ts"(){n=class extends Error{constructor(e,t){super(t),this.task=e,Object.setPrototypeOf(this,new.target.prototype)}}}}),P=C({"src/lib/errors/git-response-error.ts"(){I(),s=class extends n{constructor(e,t){super(void 0,t||String(e)),this.git=e}}}}),N=C({"src/lib/errors/git-construct-error.ts"(){I(),o=class extends n{constructor(e,t){super(void 0,t),this.config=e}}}}),L=C({"src/lib/errors/git-plugin-error.ts"(){I(),i=class extends n{constructor(e,t,r){super(e,r),this.task=e,this.plugin=t,Object.setPrototypeOf(this,new.target.prototype)}}}}),$=C({"src/lib/errors/task-configuration-error.ts"(){I(),a=class extends n{constructor(e){super(void 0,e)}}}});function M(e){return"function"==typeof e?e:l}function j(e){return"function"==typeof e&&e!==l}function D(e,t){const r=e.indexOf(t);return r<=0?[e,""]:[e.substr(0,r),e.substr(r+1)]}function F(e,t=0){return q(e)&&e.length>t?e[t]:void 0}function U(e,t=0){if(q(e)&&e.length>t)return e[e.length-1-t]}function q(e){return!(!e||"number"!=typeof e.length)}function B(e="",t=!0,r="\n"){return e.split(r).reduce(((e,r)=>{const n=t?r.trim():r;return n&&e.push(n),e}),[])}function G(e,t){return B(e,!0).map((e=>t(e)))}function H(e){return(0,c.exists)(e,c.FOLDER)}function V(e,t){return Array.isArray(e)?e.includes(t)||e.push(t):e.add(t),t}function z(e,t){return Array.isArray(e)&&!e.includes(t)&&e.push(t),e}function W(e,t){if(Array.isArray(e)){const r=e.indexOf(t);r>=0&&e.splice(r,1)}else e.delete(t);return t}function X(e){return Array.isArray(e)?e:[e]}function Y(e){return X(e).map(String)}function J(e,t=0){if(null==e)return t;const r=parseInt(e,10);return isNaN(r)?t:r}function K(e,t){const r=[];for(let n=0,s=e.length;nt in e?{[t]:e[t]}:{})))}function ee(e=0){return new Promise((t=>setTimeout(t,e)))}var te,re,ne,se,oe,ie=C({"src/lib/utils/util.ts"(){c=r(1513),u="\0",l=()=>{},d=Object.prototype.toString.call.bind(Object.prototype.toString)}});function ae(e,t,r){return t(e)?e:arguments.length>2?r:void 0}function ce(e,t){return/number|string|boolean/.test(typeof e)&&(!t||!t.includes(typeof e))}function ue(e){return!!e&&"[object Object]"===d(e)}function le(e){return"function"==typeof e}var de,he,fe,pe,me,ge=C({"src/lib/utils/argument-filters.ts"(){ie(),te=e=>Array.isArray(e),re=e=>"string"==typeof e,ne=e=>Array.isArray(e)&&e.every(re),se=e=>re(e)||Array.isArray(e)&&e.every(re),oe=e=>null!=e&&!"number|boolean|function".includes(typeof e)&&(Array.isArray(e)||"string"==typeof e||"number"==typeof e.length)}}),ye=C({"src/lib/utils/exit-codes.ts"(){de=(e=>(e[e.SUCCESS=0]="SUCCESS",e[e.ERROR=1]="ERROR",e[e.UNCLEAN=128]="UNCLEAN",e))(de||{})}}),ve=C({"src/lib/utils/git-output-streams.ts"(){he=class{constructor(e,t){this.stdOut=e,this.stdErr=t}asStrings(){return new he(this.stdOut.toString("utf8"),this.stdErr.toString("utf8"))}}}}),we=C({"src/lib/utils/line-parser.ts"(){fe=class{constructor(e,t){this.matches=[],this.parse=(e,t)=>(this.resetMatches(),!!this._regExp.every(((t,r)=>this.addMatch(t,r,e(r))))&&!1!==this.useMatches(t,this.prepareMatches())),this._regExp=Array.isArray(e)?e:[e],t&&(this.useMatches=t)}useMatches(e,t){throw new Error("LineParser:useMatches not implemented")}resetMatches(){this.matches.length=0}prepareMatches(){return this.matches}addMatch(e,t,r){const n=r&&e.exec(r);return n&&this.pushMatch(t,n),!!n}pushMatch(e,t){this.matches.push(...t.slice(1))}},pe=class extends fe{addMatch(e,t,r){return/^remote:\s/.test(String(r))&&super.addMatch(e,t,r)}pushMatch(e,t){(e>0||t.length>1)&&super.pushMatch(e,t)}}}});function Ee(...e){const t=process.cwd(),r=Object.assign(_({baseDir:t},me),...e.filter((e=>"object"==typeof e&&e)));return r.baseDir=r.baseDir||t,r}var be=C({"src/lib/utils/simple-git-options.ts"(){me={binary:"git",maxConcurrentProcesses:5,config:[]}}});function Oe(e,t=[]){return ue(e)?Object.keys(e).reduce(((t,r)=>{const n=e[r];return ce(n,["boolean"])?t.push(r+"="+n):t.push(r),t}),t):t}function _e(e,t=0,r=!1){const n=[];for(let r=0,s=t<0?e.length:t;r{for(let n=B(r),s=0,o=n.length;s{if(!(s+e>=o))return n[s+e]};t.some((({parse:t})=>t(r,e)))}})),e}var xe=C({"src/lib/utils/task-parser.ts"(){ie()}}),Ae={};S(Ae,{ExitCodes:()=>de,GitOutputStreams:()=>he,LineParser:()=>fe,NOOP:()=>l,NULL:()=>u,RemoteLineParser:()=>pe,append:()=>V,appendTaskOptions:()=>Oe,asArray:()=>X,asFunction:()=>M,asNumber:()=>J,asStringArray:()=>Y,bufferToString:()=>Q,callTaskParser:()=>Se,createInstanceConfig:()=>Ee,delay:()=>ee,filterArray:()=>te,filterFunction:()=>le,filterHasLength:()=>oe,filterPlainObject:()=>ue,filterPrimitives:()=>ce,filterString:()=>re,filterStringArray:()=>ne,filterStringOrStringArray:()=>se,filterType:()=>ae,first:()=>F,folderExists:()=>H,forEachLineWithContent:()=>G,getTrailingOptions:()=>_e,including:()=>z,isUserFunction:()=>j,last:()=>U,objectToString:()=>d,parseStringResponse:()=>ke,pick:()=>Z,prefixedArray:()=>K,remove:()=>W,splitOn:()=>D,toLinesWithContent:()=>B,trailingFunctionArgument:()=>Re,trailingOptionsArgument:()=>Te});var Ie,Pe,Ne,Le=C({"src/lib/utils/index.ts"(){ge(),ye(),ve(),we(),be(),Ce(),xe(),ie()}}),$e={};function Me(e){switch(e){case"bare":return De();case"root":return je()}return{commands:["rev-parse","--is-inside-work-tree"],format:"utf-8",onError:Pe,parser:Ne}}function je(){return{commands:["rev-parse","--git-dir"],format:"utf-8",onError:Pe,parser:e=>/^\.(git)?$/.test(e.trim())}}function De(){return{commands:["rev-parse","--is-bare-repository"],format:"utf-8",onError:Pe,parser:Ne}}S($e,{CheckRepoActions:()=>Ie,checkIsBareRepoTask:()=>De,checkIsRepoRootTask:()=>je,checkIsRepoTask:()=>Me});var Fe,Ue,qe,Be,Ge,He=C({"src/lib/tasks/check-is-repo.ts"(){Le(),Ie=(e=>(e.BARE="bare",e.IN_TREE="tree",e.IS_REPO_ROOT="root",e))(Ie||{}),Pe=({exitCode:e},t,r,n)=>{if(128===e&&function(e){return/(Not a git repository|Kein Git-Repository)/i.test(String(e))}(t))return r(Buffer.from("false"));n(t)},Ne=e=>"true"===e.trim()}}),Ve=C({"src/lib/responses/CleanSummary.ts"(){Le(),Fe=class{constructor(e){this.dryRun=e,this.paths=[],this.files=[],this.folders=[]}},Ue=/^[a-z]+\s*/i,qe=/^[a-z]+\s+[a-z]+\s*/i,Be=/\/$/}}),ze={};function We(e){return{commands:Ge,format:"empty",parser:e}}function Xe(e){return{commands:Ge,format:"empty",parser(){throw"string"==typeof e?new a(e):e}}}function Ye(e,t=!1){return{commands:e,format:"utf-8",parser:e=>t?String(e).trim():e}}function Je(e){return{commands:e,format:"buffer",parser:e=>e}}function Ke(e){return"buffer"===e.format}function Qe(e){return"empty"===e.format||!e.commands.length}S(ze,{EMPTY_COMMANDS:()=>Ge,adhocExecTask:()=>We,configurationErrorTask:()=>Xe,isBufferTask:()=>Ke,isEmptyTask:()=>Qe,straightThroughBufferTask:()=>Je,straightThroughStringTask:()=>Ye});var Ze,et,tt,rt,nt,st=C({"src/lib/tasks/task.ts"(){$(),Ge=[]}}),ot={};function it(e,t){const{cleanMode:r,options:n,valid:s}=function(e){let t,r=[],n={cleanMode:!1,options:!0};return e.replace(/[^a-z]i/g,"").split("").forEach((e=>{var s;!function(e){return"f"===e||"n"===e}(e)?n.options=n.options&&(s=r[r.length]=`-${e}`,/^-[a-z]$/i.test(s)&&nt.has(s.charAt(1))):(t=e,n.cleanMode=!0)})),{cleanMode:t,options:r,valid:n}}(e);return r?s.options?(n.push(...t),n.some(ut)?Xe(Ze):at(r,n)):Xe(tt+JSON.stringify(e)):Xe(et)}function at(e,t){return{commands:["clean",`-${e}`,...t],format:"utf-8",parser:t=>function(e,t){const r=new Fe(e),n=e?qe:Ue;return B(t).forEach((e=>{const t=e.replace(n,"");r.paths.push(t),(Be.test(t)?r.folders:r.files).push(t)})),r}("n"===e,t)}}function ct(e){return Array.isArray(e)&&e.every((e=>nt.has(e)))}function ut(e){return/^-[^\-]/.test(e)?e.indexOf("i")>0:"--interactive"===e}S(ot,{CONFIG_ERROR_INTERACTIVE_MODE:()=>Ze,CONFIG_ERROR_MODE_REQUIRED:()=>et,CONFIG_ERROR_UNKNOWN_OPTION:()=>tt,CleanOptions:()=>rt,cleanTask:()=>at,cleanWithOptionsTask:()=>it,isCleanOptionsArray:()=>ct});var lt,dt=C({"src/lib/tasks/clean.ts"(){Ve(),Le(),st(),Ze="Git clean interactive mode is not supported",et='Git clean mode parameter ("n" or "f") is required',tt="Git clean unknown option found in: ",rt=(e=>(e.DRY_RUN="n",e.FORCE="f",e.IGNORED_INCLUDED="x",e.IGNORED_ONLY="X",e.EXCLUDING="e",e.QUIET="q",e.RECURSIVE="d",e))(rt||{}),nt=new Set(["i",...Y(Object.values(rt))])}});function*ht(e,t=null){const r=e.split("\0");for(let e=0,n=r.length-1;eObject.assign(e,this.values[t])),{})),this._all}addFile(e){if(!(e in this.values)){const t=U(this.files);this.values[e]=t?Object.create(this.values[t]):{},this.files.push(e)}return this.values[e]}addValue(e,t,r){const n=this.addFile(e);n.hasOwnProperty(t)?Array.isArray(n[t])?n[t].push(r):n[t]=[n[t],r]:n[t]=r,this._all=void 0}}}});function mt(e,t){return"string"==typeof e&&ft.hasOwnProperty(e)?e:t}var gt,yt,vt,wt,Et=C({"src/lib/tasks/config.ts"(){pt(),Le(),ft=(e=>(e.system="system",e.global="global",e.local="local",e.worktree="worktree",e))(ft||{})}});function bt(...e){return(new wt).param(...e)}var Ot,_t,Tt=C({"src/lib/tasks/grep.ts"(){Le(),st(),gt=["-h"],yt=Symbol("grepQuery"),wt=class{constructor(){this[vt]=[]}*[(vt=yt,Symbol.iterator)](){for(const e of this[yt])yield e}and(...e){return e.length&&this[yt].push("--and","(",...K(e,"-e"),")"),this}param(...e){return this[yt].push(...K(e,"-e")),this}}}}),Rt={};function Ct(e,t){const r=["reset"];return kt(e)&&r.push(`--${e}`),r.push(...t),Ye(r)}function St(e){if(kt(e))return e;switch(typeof e){case"string":case"undefined":return"soft"}}function kt(e){return _t.includes(e)}S(Rt,{ResetMode:()=>Ot,getResetMode:()=>St,resetTask:()=>Ct});var xt=C({"src/lib/tasks/reset.ts"(){st(),Ot=(e=>(e.MIXED="mixed",e.SOFT="soft",e.HARD="hard",e.MERGE="merge",e.KEEP="keep",e))(Ot||{}),_t=Array.from(Object.values(Ot))}}),At={};S(At,{CheckRepoActions:()=>Ie,CleanOptions:()=>rt,GitConfigScope:()=>ft,GitConstructError:()=>o,GitError:()=>n,GitPluginError:()=>i,GitResponseError:()=>s,ResetMode:()=>Ot,TaskConfigurationError:()=>a,grepQueryBuilder:()=>bt});var It,Pt,Nt=C({"src/lib/api.ts"(){N(),I(),L(),P(),$(),He(),dt(),Et(),Tt(),xt()}}),Lt=C({"src/lib/plugins/command-config-prefixing-plugin.ts"(){Le()}});var $t=C({"src/lib/plugins/completion-detection.plugin.ts"(){It=r(2443),Le(),Pt=(0,It.deferred)().promise}});function Mt(e){return!(!e.exitCode||!e.stdErr.length)}function jt(e){return Buffer.concat([...e.stdOut,...e.stdErr])}function Dt(e=!1,t=Mt,r=jt){return(n,s)=>!e&&n||!t(s)?n:r(s)}function Ft(e){return{type:"task.error",action(t,r){const s=e(t.error,{stdErr:r.stdErr,stdOut:r.stdOut,exitCode:r.exitCode});return Buffer.isBuffer(s)?{error:new n(void 0,s.toString("utf-8"))}:{error:s}}}}var Ut,qt,Bt=C({"src/lib/plugins/error-detection.plugin.ts"(){I()}}),Gt=C({"src/lib/plugins/plugin-store.ts"(){Le(),Ut=class{constructor(){this.plugins=new Set}add(e){const t=[];return X(e).forEach((e=>e&&this.plugins.add(V(t,e)))),()=>{t.forEach((e=>this.plugins.delete(e)))}}exec(e,t,r){let n=t;const s=Object.freeze(Object.create(r));for(const t of this.plugins)t.type===e&&(n=t.action(n,s));return n}}}}),Ht=C({"src/lib/plugins/progress-monitor-plugin.ts"(){Le()}}),Vt=C({"src/lib/plugins/simple-git-plugin.ts"(){}}),zt=C({"src/lib/plugins/spawn-options-plugin.ts"(){Le()}}),Wt=C({"src/lib/plugins/timout-plugin.ts"(){L()}}),Xt=C({"src/lib/plugins/index.ts"(){Lt(),$t(),Bt(),Gt(),Ht(),Vt(),zt(),Wt()}});function Yt(e,t,r){return t&&String(t).replace(/\s*/,"")?(n,...s)=>{e(`%s ${n}`,t,...s),r&&r(n,...s)}:r?(t,...n)=>{e(t,...n),r(t,...n)}:e}function Jt(e,t,r,n=function(){return(0,qt.default)("simple-git")}()){const s=e&&`[${e}]`||"",o=[],i="string"==typeof t?n.extend(t):t,a=function(e,t,{namespace:r}){if("string"==typeof e)return e;const n=t&&t.namespace||"";return n.startsWith(r)?n.substr(r.length+1):n||r}(ae(t,re),i,n);return function t(r){const o=r&&`[${r}]`||"",a=i&&Yt(i,o)||l,u=Yt(n,`${s} ${o}`,a);return Object.assign(i?a:u,{label:e,sibling:c,info:u,step:t})}(r);function c(t,r){return V(o,Jt(e,a.replace(/^[^:]+/,t),r,n))}}var Kt,Qt,Zt,er,tr=C({"src/lib/git-logger.ts"(){var e;e=r(5158),qt=k(R(f(null!=e?h(w(e)):{},"default",e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),Le(),qt.default.formatters.L=e=>String(oe(e)?e.length:"-"),qt.default.formatters.B=e=>Buffer.isBuffer(e)?e.toString("utf8"):d(e)}}),rr=C({"src/lib/runners/tasks-pending-queue.ts"(){I(),tr(),(Qt=Kt=class{constructor(e="GitExecutor"){this.logLabel=e,this._queue=new Map}withProgress(e){return this._queue.get(e)}createProgress(e){const t=Kt.getName(e.commands[0]);return{task:e,logger:Jt(this.logLabel,t),name:t}}push(e){const t=this.createProgress(e);return t.logger("Adding task to the queue, commands = %o",e.commands),this._queue.set(e,t),t}fatal(e){for(const[t,{logger:r}]of Array.from(this._queue.entries()))t===e.task?(r.info("Failed %o",e),r("Fatal exception, any as-yet un-started tasks run through this executor will not be attempted")):r.info("A fatal exception occurred in a previous task, the queue has been purged: %o",e.message),this.complete(t);if(0!==this._queue.size)throw new Error(`Queue size should be zero after fatal: ${this._queue.size}`)}complete(e){this.withProgress(e)&&this._queue.delete(e)}attempt(e){const t=this.withProgress(e);if(!t)throw new n(void 0,"TasksPendingQueue: attempt called for an unknown task");return t.logger("Starting task"),t}static getName(e="empty"){return`task:${e}:${++Kt.counter}`}}).counter=0}});function nr(e,t){return{method:F(e.commands)||"",commands:t}}function sr(e,t,r,n){return s=>{r("%s received %L bytes",t,s),n("%B",s),e.push(s)}}var or,ir=C({"src/lib/runners/git-executor-chain.ts"(){Zt=r(2081),I(),st(),Le(),rr(),er=class{constructor(e,t,r){this._executor=e,this._scheduler=t,this._plugins=r,this._chain=Promise.resolve(),this._queue=new Qt}get binary(){return this._executor.binary}get cwd(){return this._cwd||this._executor.cwd}set cwd(e){this._cwd=e}get env(){return this._executor.env}get outputHandler(){return this._executor.outputHandler}chain(){return this}push(e){return this._queue.push(e),this._chain=this._chain.then((()=>this.attemptTask(e)))}attemptTask(e){return A(this,null,(function*(){const t=yield this._scheduler.next(),r=()=>this._queue.complete(e);try{const{logger:n}=this._queue.attempt(e);return yield Qe(e)?this.attemptEmptyTask(e,n):this.attemptRemoteTask(e,n)}catch(t){throw this.onFatalException(e,t)}finally{r(),t()}}))}onFatalException(e,t){const r=t instanceof n?Object.assign(t,{task:e}):new n(e,t&&String(t));return this._chain=Promise.resolve(),this._queue.fatal(r),r}attemptRemoteTask(e,t){return A(this,null,(function*(){const r=this._plugins.exec("spawn.args",[...e.commands],nr(e,e.commands)),n=yield this.gitResponse(e,this.binary,r,this.outputHandler,t.step("SPAWN")),s=yield this.handleTaskData(e,r,n,t.step("HANDLE"));return t("passing response to task's parser as a %s",e.format),Ke(e)?Se(e.parser,s):Se(e.parser,s.asStrings())}))}attemptEmptyTask(e,t){return A(this,null,(function*(){return t("empty task bypassing child process to call to task's parser"),e.parser(this)}))}handleTaskData(e,t,r,n){const{exitCode:s,rejection:o,stdOut:i,stdErr:a}=r;return new Promise(((c,u)=>{n("Preparing to handle process response exitCode=%d stdOut=",s);const{error:l}=this._plugins.exec("task.error",{error:o},_(_({},nr(e,t)),r));return l&&e.onError?(n.info("exitCode=%s handling with custom error handler"),e.onError(r,l,(e=>{n.info("custom error handler treated as success"),n("custom error returned a %s",d(e)),c(new he(Array.isArray(e)?Buffer.concat(e):e,Buffer.concat(a)))}),u)):l?(n.info("handling as error: exitCode=%s stdErr=%s rejection=%o",s,a.length,o),u(l)):(n.info("retrieving task output complete"),void c(new he(Buffer.concat(i),Buffer.concat(a))))}))}gitResponse(e,t,r,n,s){return A(this,null,(function*(){const o=s.sibling("output"),i=this._plugins.exec("spawn.options",{cwd:this.cwd,env:this.env,windowsHide:!0},nr(e,e.commands));return new Promise((a=>{const c=[],u=[];let l;s.info("%s %o",t,r),s("%O",i);const d=(0,Zt.spawn)(t,r,i);d.stdout.on("data",sr(c,"stdOut",s,o.step("stdOut"))),d.stderr.on("data",sr(u,"stdErr",s,o.step("stdErr"))),d.on("error",function(e,t){return r=>{t("[ERROR] child process exception %o",r),e.push(Buffer.from(String(r.stack),"ascii"))}}(u,s)),n&&(s("Passing child process stdOut/stdErr to custom outputHandler"),n(t,d.stdout,d.stderr,[...r])),this._plugins.exec("spawn.after",void 0,T(_({},nr(e,r)),{spawned:d,close(e,t){a({stdOut:c,stdErr:u,exitCode:e,rejection:l||t})},kill(e){d.killed||(l=e,d.kill("SIGINT"))}}))}))}))}}}}),ar={};S(ar,{GitExecutor:()=>or});var cr=C({"src/lib/runners/git-executor.ts"(){ir(),or=class{constructor(e="git",t,r,n){this.binary=e,this.cwd=t,this._scheduler=r,this._plugins=n,this._chain=new er(this,this._scheduler,this._plugins)}chain(){return new er(this,this._scheduler,this._plugins)}push(e){return this._chain.push(e)}}}});var ur=C({"src/lib/task-callback.ts"(){P(),Le()}});function lr(e,t){return We((r=>{if(!H(e))throw new Error(`Git.cwd: cannot change to non-directory "${e}"`);return(t||r).cwd=e}))}var dr,hr=C({"src/lib/tasks/change-working-directory.ts"(){Le(),st()}});function fr(e){return ke({author:null,branch:"",commit:"",root:!1,summary:{changes:0,insertions:0,deletions:0}},dr,e)}var pr=C({"src/lib/parsers/parse-commit.ts"(){Le(),dr=[new fe(/^\[([^\s]+)( \([^)]+\))? ([^\]]+)/,((e,[t,r,n])=>{e.branch=t,e.commit=n,e.root=!!r})),new fe(/\s*Author:\s(.+)/i,((e,[t])=>{const r=t.split("<"),n=r.pop();n&&n.includes("@")&&(e.author={email:n.substr(0,n.length-1),name:r.join("<").trim()})})),new fe(/(\d+)[^,]*(?:,\s*(\d+)[^,]*)(?:,\s*(\d+))/g,((e,[t,r,n])=>{e.summary.changes=parseInt(t,10)||0,e.summary.insertions=parseInt(r,10)||0,e.summary.deletions=parseInt(n,10)||0})),new fe(/^(\d+)[^,]*(?:,\s*(\d+)[^(]+\(([+-]))?/,((e,[t,r,n])=>{e.summary.changes=parseInt(t,10)||0;const s=parseInt(r,10)||0;"-"===n?e.summary.deletions=s:"+"===n&&(e.summary.insertions=s)}))]}}),mr={};function gr(e,t,r){return{commands:["-c","core.abbrev=40","commit",...K(e,"-m"),...t,...r],format:"utf-8",parser:fr}}function yr(){return{commit(e,...t){const r=Re(arguments),n=function(e){return!se(e)&&Xe("git.commit: requires the commit message to be supplied as a string/string[]")}(e)||gr(X(e),X(ae(t[0],se,[])),[...ae(t[1],te,[]),..._e(arguments,0,!0)]);return this._runTask(n,r)}}}S(mr,{commitTask:()=>gr,default:()=>yr});var vr,wr,Er,br,Or=C({"src/lib/tasks/commit.ts"(){pr(),Le(),st()}}),_r=C({"src/lib/tasks/hash-object.ts"(){st()}}),Tr=C({"src/lib/responses/InitSummary.ts"(){vr=class{constructor(e,t,r,n){this.bare=e,this.path=t,this.existing=r,this.gitDir=n}},wr=/^Init.+ repository in (.+)$/,Er=/^Rein.+ in (.+)$/}});var Rr,Cr,Sr=C({"src/lib/tasks/init.ts"(){Tr(),br="--bare"}}),kr=C({"src/lib/responses/DiffSummary.ts"(){Rr=class{constructor(){this.changed=0,this.deletions=0,this.insertions=0,this.files=[]}}}});function xr(e){const t=e.trim().split("\n"),r=new Rr;!function(e,t){(t||"").trim().split(", ").forEach((function(t){const r=/(\d+)\s([a-z]+)/.exec(t);r&&function(e,t,r){const n=/([a-z]+?)s?\b/.exec(t);n&&Cr[n[1]]&&Cr[n[1]](e,r)}(e,r[2],parseInt(r[1],10))}))}(r,t.pop());for(let e=0,n=t.length;e ([0-9.]+) ([a-z]+)$/);return!!r&&(t.push({file:r[1].trim(),before:+r[2],after:+r[3],binary:!0}),!0)}var Pr,Nr,Lr,$r,Mr=C({"src/lib/parsers/parse-diff-summary.ts"(){kr(),Cr={file(e,t){e.changed=t},deletion(e,t){e.deletions=t},insertion(e,t){e.insertions=t}}}});function jr(e=Lr,t=$r){return function(r){const n=B(r,!0,Pr).map((function(r){const n=r.trim().split(Nr),s=function(e,t){return t.reduce(((t,r,n)=>(t[r]=e[n]||"",t)),Object.create({diff:null}))}(n[0].trim().split(e),t);return n.length>1&&n[1].trim()&&(s.diff=xr(n[1])),s}));return{all:n,latest:n.length&&n[0]||null,total:n.length}}}var Dr,Fr=C({"src/lib/parsers/parse-list-log-summary.ts"(){Le(),Mr(),Pr="òòòòòò ",Nr=" òò",Lr=" ò ",$r=["hash","date","message","refs","author_name","author_email"]}});function Ur(e={},t=[]){const r=ae(e.splitter,re,Lr),n=!ce(e.format)&&e.format?e.format:{hash:"%H",date:!1===e.strictDate?"%ai":"%aI",message:"%s",refs:"%D",body:e.multiLine?"%B":"%b",author_name:!1!==e.mailMap?"%aN":"%an",author_email:!1!==e.mailMap?"%aE":"%ae"},[s,o]=function(e,t){const r=[],n=[];return Object.keys(e).forEach((t=>{r.push(t),n.push(String(e[t]))})),[r,n.join(t)]}(n,r),i=[],a=[`--pretty=format:${Pr}${o}${Nr}`,...t],c=e.n||e["max-count"]||e.maxCount;if(c&&a.push(`--max-count=${c}`),e.from&&e.to){const t=!1!==e.symmetric?"...":"..";i.push(`${e.from}${t}${e.to}`)}var u;return re(e.file)&&i.push("--follow",e.file),Oe((u=e,Object.keys(u).reduce(((e,t)=>(t in Dr||(e[t]=u[t]),e)),{})),a),{fields:s,splitter:r,commands:[...a,...i]}}var qr,Br,Gr,Hr,Vr,zr=C({"src/lib/tasks/log.ts"(){Fr(),Le(),st(),Dr=(e=>(e[e["--pretty"]=0]="--pretty",e[e["max-count"]=1]="max-count",e[e.maxCount=2]="maxCount",e[e.n=3]="n",e[e.file=4]="file",e[e.format=5]="format",e[e.from=6]="from",e[e.to=7]="to",e[e.splitter=8]="splitter",e[e.symmetric=9]="symmetric",e[e.mailMap=10]="mailMap",e[e.multiLine=11]="multiLine",e[e.strictDate=12]="strictDate",e))(Dr||{})}}),Wr=C({"src/lib/responses/MergeSummary.ts"(){qr=class{constructor(e,t=null,r){this.reason=e,this.file=t,this.meta=r}toString(){return`${this.file}:${this.reason}`}},Br=class{constructor(){this.conflicts=[],this.merges=[],this.result="success"}get failed(){return this.conflicts.length>0}get reason(){return this.result}toString(){return this.conflicts.length?`CONFLICTS: ${this.conflicts.join(", ")}`:"OK"}}}}),Xr=C({"src/lib/responses/PullSummary.ts"(){Gr=class{constructor(){this.remoteMessages={all:[]},this.created=[],this.deleted=[],this.files=[],this.deletions={},this.insertions={},this.summary={changes:0,deletions:0,insertions:0}}},Hr=class{constructor(){this.remote="",this.hash={local:"",remote:""},this.branch={local:"",remote:""},this.message=""}toString(){return this.message}}}});function Yr(e){return e.objects=e.objects||{compressing:0,counting:0,enumerating:0,packReused:0,reused:{count:0,delta:0},total:{count:0,delta:0}}}function Jr(e){const t=/^\s*(\d+)/.exec(e),r=/delta (\d+)/i.exec(e);return{count:J(t&&t[1]||"0"),delta:J(r&&r[1]||"0")}}var Kr,Qr,Zr=C({"src/lib/parsers/parse-remote-objects.ts"(){Le(),Vr=[new pe(/^remote:\s*(enumerating|counting|compressing) objects: (\d+),/i,((e,[t,r])=>{const n=t.toLowerCase(),s=Yr(e.remoteMessages);Object.assign(s,{[n]:J(r)})})),new pe(/^remote:\s*(enumerating|counting|compressing) objects: \d+% \(\d+\/(\d+)\),/i,((e,[t,r])=>{const n=t.toLowerCase(),s=Yr(e.remoteMessages);Object.assign(s,{[n]:J(r)})})),new pe(/total ([^,]+), reused ([^,]+), pack-reused (\d+)/i,((e,[t,r,n])=>{const s=Yr(e.remoteMessages);s.total=Jr(t),s.reused=Jr(r),s.packReused=J(n)}))]}});function en(e,t){return ke({remoteMessages:new Qr},Kr,t)}var tn,rn,nn,sn,on,an,cn,un,ln,dn=C({"src/lib/parsers/parse-remote-messages.ts"(){Le(),Zr(),Kr=[new pe(/^remote:\s*(.+)$/,((e,[t])=>(e.remoteMessages.all.push(t.trim()),!1))),...Vr,new pe([/create a (?:pull|merge) request/i,/\s(https?:\/\/\S+)$/],((e,[t])=>{e.remoteMessages.pullRequestUrl=t})),new pe([/found (\d+) vulnerabilities.+\(([^)]+)\)/i,/\s(https?:\/\/\S+)$/],((e,[t,r,n])=>{e.remoteMessages.vulnerabilities={count:J(t),summary:r,url:n}}))],Qr=class{constructor(){this.all=[]}}}}),hn=C({"src/lib/parsers/parse-pull.ts"(){Xr(),Le(),dn(),tn=/(\d+)\D+((\d+)\D+\(\+\))?(\D+(\d+)\D+\(-\))?/,rn=/^(create|delete) mode \d+ (.+)/,nn=[new fe(/^\s*(.+?)\s+\|\s+\d+\s*(\+*)(-*)/,((e,[t,r,n])=>{e.files.push(t),r&&(e.insertions[t]=r.length),n&&(e.deletions[t]=n.length)})),new fe(tn,((e,[t,,r,,n])=>(void 0!==r||void 0!==n)&&(e.summary.changes=+t||0,e.summary.insertions=+r||0,e.summary.deletions=+n||0,!0))),new fe(rn,((e,[t,r])=>{V(e.files,r),V("create"===t?e.created:e.deleted,r)}))],sn=[new fe(/^from\s(.+)$/i,((e,[t])=>{e.remote=t})),new fe(/^fatal:\s(.+)$/,((e,[t])=>{e.message=t})),new fe(/([a-z0-9]+)\.\.([a-z0-9]+)\s+(\S+)\s+->\s+(\S+)$/,((e,[t,r,n,s])=>{e.branch.local=n,e.hash.local=t,e.branch.remote=s,e.hash.remote=r}))],on=(e,t)=>ke(new Gr,nn,e,t),an=(e,t)=>Object.assign(new Gr,on(e,t),en(0,t))}}),fn=C({"src/lib/parsers/parse-merge.ts"(){Wr(),Le(),hn(),cn=[new fe(/^Auto-merging\s+(.+)$/,((e,[t])=>{e.merges.push(t)})),new fe(/^CONFLICT\s+\((.+)\): Merge conflict in (.+)$/,((e,[t,r])=>{e.conflicts.push(new qr(t,r))})),new fe(/^CONFLICT\s+\((.+\/delete)\): (.+) deleted in (.+) and/,((e,[t,r,n])=>{e.conflicts.push(new qr(t,r,{deleteRef:n}))})),new fe(/^CONFLICT\s+\((.+)\):/,((e,[t])=>{e.conflicts.push(new qr(t,null))})),new fe(/^Automatic merge failed;\s+(.+)$/,((e,[t])=>{e.result=t}))],un=(e,t)=>Object.assign(ln(e,t),an(e,t)),ln=e=>ke(new Br,cn,e)}});function pn(e){return e.length?{commands:["merge",...e],format:"utf-8",parser(e,t){const r=un(e,t);if(r.failed)throw new s(r);return r}}:Xe("Git.merge requires at least one option")}var mn,gn,yn,vn=C({"src/lib/tasks/merge.ts"(){P(),fn(),st()}}),wn=C({"src/lib/parsers/parse-push.ts"(){Le(),dn(),mn=[new fe(/^Pushing to (.+)$/,((e,[t])=>{e.repo=t})),new fe(/^updating local tracking ref '(.+)'/,((e,[t])=>{e.ref=T(_({},e.ref||{}),{local:t})})),new fe(/^[*-=]\s+([^:]+):(\S+)\s+\[(.+)]$/,((e,[t,r,n])=>{e.pushed.push(function(e,t,r){const n=r.includes("deleted"),s=r.includes("tag")||/^refs\/tags/.test(e),o=!r.includes("new");return{deleted:n,tag:s,branch:!s,new:!o,alreadyUpdated:o,local:e,remote:t}}(t,r,n))})),new fe(/^Branch '([^']+)' set up to track remote branch '([^']+)' from '([^']+)'/,((e,[t,r,n])=>{e.branch=T(_({},e.branch||{}),{local:t,remote:r,remoteName:n})})),new fe(/^([^:]+):(\S+)\s+([a-z0-9]+)\.\.([a-z0-9]+)$/,((e,[t,r,n,s])=>{e.update={head:{local:t,remote:r},hash:{from:n,to:s}}}))],gn=(e,t)=>{const r=yn(e,t),n=en(0,t);return _(_({},r),n)},yn=(e,t)=>ke({pushed:[]},mn,e,t)}}),En={};function bn(e={},t){return V(t,"--tags"),On(e,t)}function On(e={},t){const r=["push",...t];return e.branch&&r.splice(1,0,e.branch),e.remote&&r.splice(1,0,e.remote),W(r,"-v"),V(r,"--verbose"),V(r,"--porcelain"),{commands:r,format:"utf-8",parser:gn}}S(En,{pushTagsTask:()=>bn,pushTask:()=>On});var _n,Tn,Rn,Cn,Sn,kn=C({"src/lib/tasks/push.ts"(){wn(),Le()}}),xn=C({"src/lib/responses/FileStatusSummary.ts"(){_n=/^(.+) -> (.+)$/,Tn=class{constructor(e,t,r){if(this.path=e,this.index=t,this.working_dir=r,t+r==="R"){const t=_n.exec(e)||[null,e,e];this.from=t[1]||"",this.path=t[2]||""}}}}});function An(e){const[t,r]=e.split(u);return{from:r||t,to:t}}function In(e,t,r){return[`${e}${t}`,r]}function Pn(e,...t){return t.map((t=>In(e,t,((e,t)=>V(e.conflicted,t)))))}function Nn(e,t){const r=t.trim();switch(" "){case r.charAt(2):return n(r.charAt(0),r.charAt(1),r.substr(3));case r.charAt(1):return n(" ",r.charAt(0),r.substr(2));default:return}function n(t,r,n){const s=`${t}${r}`,o=Cn.get(s);o&&o(e,n),"##"!==s&&"!!"!==s&&e.files.push(new Tn(n.replace(/\0.+$/,""),t,r))}}var Ln,$n,Mn=C({"src/lib/responses/StatusSummary.ts"(){Le(),xn(),Rn=class{constructor(){this.not_added=[],this.conflicted=[],this.created=[],this.deleted=[],this.ignored=void 0,this.modified=[],this.renamed=[],this.files=[],this.staged=[],this.ahead=0,this.behind=0,this.current=null,this.tracking=null,this.detached=!1,this.isClean=()=>!this.files.length}},Cn=new Map([In(" ","A",((e,t)=>V(e.created,t))),In(" ","D",((e,t)=>V(e.deleted,t))),In(" ","M",((e,t)=>V(e.modified,t))),In("A"," ",((e,t)=>V(e.created,t)&&V(e.staged,t))),In("A","M",((e,t)=>V(e.created,t)&&V(e.staged,t)&&V(e.modified,t))),In("D"," ",((e,t)=>V(e.deleted,t)&&V(e.staged,t))),In("M"," ",((e,t)=>V(e.modified,t)&&V(e.staged,t))),In("M","M",((e,t)=>V(e.modified,t)&&V(e.staged,t))),In("R"," ",((e,t)=>{V(e.renamed,An(t))})),In("R","M",((e,t)=>{const r=An(t);V(e.renamed,r),V(e.modified,r.to)})),In("!","!",((e,t)=>{V(e.ignored=e.ignored||[],t)})),In("?","?",((e,t)=>V(e.not_added,t))),...Pn("A","A","U"),...Pn("D","D","U"),...Pn("U","A","D","U"),["##",(e,t)=>{let r;r=/ahead (\d+)/.exec(t),e.ahead=r&&+r[1]||0,r=/behind (\d+)/.exec(t),e.behind=r&&+r[1]||0,r=/^(.+?(?=(?:\.{3}|\s|$)))/.exec(t),e.current=r&&r[1],r=/\.{3}(\S*)/.exec(t),e.tracking=r&&r[1],r=/\son\s([\S]+)$/.exec(t),e.current=r&&r[1]||e.current,e.detached=/\(no branch\)/.test(t)}]]),Sn=function(e){const t=e.split(u),r=new Rn;for(let e=0,n=t.length;e$n});var Fn,Un,qn,Bn=C({"src/lib/simple-git-api.ts"(){ur(),hr(),Or(),Et(),Tt(),_r(),Sr(),zr(),vn(),kn(),jn(),st(),Le(),$n=class{constructor(e){this._executor=e}_runTask(e,t){const r=this._executor.chain(),n=r.push(e);return t&&function(e,t,r=l){t.then((e=>{r(null,e)}),(t=>{(null==t?void 0:t.task)===e&&r(t instanceof s?function(e){let t=e=>{console.warn(`simple-git deprecation notice: accessing GitResponseError.${e} should be GitResponseError.git.${e}, this will no longer be available in version 3`),t=l};return Object.create(e,Object.getOwnPropertyNames(e.git).reduce((function(r,n){return n in e||(r[n]={enumerable:!1,configurable:!1,get:()=>(t(n),e.git[n])}),r}),{}))}(t):t,void 0)}))}(e,n,t),Object.create(this,{then:{value:n.then.bind(n)},catch:{value:n.catch.bind(n)},_executor:{value:r}})}add(e){return this._runTask(Ye(["add",...X(e)]),Re(arguments))}cwd(e){const t=Re(arguments);return"string"==typeof e?this._runTask(lr(e,this._executor),t):"string"==typeof(null==e?void 0:e.path)?this._runTask(lr(e.path,e.root&&this._executor||void 0),t):this._runTask(Xe("Git.cwd: workingDirectory must be supplied as a string"),t)}hashObject(e,t){return this._runTask(function(e,t){const r=["hash-object",e];return t&&r.push("-w"),Ye(r,!0)}(e,!0===t),Re(arguments))}init(e){return this._runTask(function(e=!1,t,r){const n=["init",...r];return e&&!n.includes(br)&&n.splice(1,0,br),{commands:n,format:"utf-8",parser:e=>function(e,t,r){const n=String(r).trim();let s;if(s=wr.exec(n))return new vr(e,t,!1,s[1]);if(s=Er.exec(n))return new vr(e,t,!0,s[1]);let o="";const i=n.split(" ");for(;i.length;)if("in"===i.shift()){o=i.join(" ");break}return new vr(e,t,/^re/i.test(n),o)}(n.includes("--bare"),t,e)}}(!0===e,this._executor.cwd,_e(arguments)),Re(arguments))}merge(){return this._runTask(pn(_e(arguments)),Re(arguments))}mergeFromTo(e,t){return re(e)&&re(t)?this._runTask(pn([e,t,..._e(arguments)]),Re(arguments,!1)):this._runTask(Xe("Git.mergeFromTo requires that the 'remote' and 'branch' arguments are supplied as strings"))}outputHandler(e){return this._executor.outputHandler=e,this}push(){const e=On({remote:ae(arguments[0],re),branch:ae(arguments[1],re)},_e(arguments));return this._runTask(e,Re(arguments))}stash(){return this._runTask(Ye(["stash",..._e(arguments)]),Re(arguments))}status(){return this._runTask({format:"utf-8",commands:["status","--porcelain","-b","-u","--null",..._e(arguments).filter((e=>!Ln.includes(e)))],parser:e=>Sn(e)},Re(arguments))}},Object.assign($n.prototype,yr(),{addConfig(e,t,...r){return this._runTask(function(e,t,r,n){const s=["config",`--${n}`];return r&&s.push("--add"),s.push(e,t),{commands:s,format:"utf-8",parser:e=>e}}(e,t,!0===r[0],mt(r[1],"local")),Re(arguments))},getConfig(e,t){return this._runTask(function(e,t){const r=["config","--null","--show-origin","--get-all",e];return t&&r.splice(1,0,`--${t}`),{commands:r,format:"utf-8",parser:t=>function(e,t){let r=null;const n=[],s=new Map;for(const o of ht(e,t))o.key===t&&(n.push(r=o.value),s.has(o.file)||s.set(o.file,[]),s.get(o.file).push(r));return{key:t,paths:Array.from(s.keys()),scopes:s,value:r,values:n}}(t,e)}}(e,mt(t,void 0)),Re(arguments))},listConfig(...e){return this._runTask(function(e){const t=["config","--list","--show-origin","--null"];return e&&t.push(`--${e}`),{commands:t,format:"utf-8",parser:e=>function(e){const t=new lt;for(const r of ht(e))t.addValue(r.file,String(r.key),r.value);return t}(e)}}(mt(e[0],void 0)),Re(arguments))}},{grep(e){const t=Re(arguments),r=_e(arguments);for(const e of gt)if(r.includes(e))return this._runTask(Xe(`git.grep: use of "${e}" is not supported.`),t);"string"==typeof e&&(e=bt().param(e));const n=["grep","--null","-n","--full-name",...r,...e];return this._runTask({commands:n,format:"utf-8",parser:e=>function(e){const t=new Set,r={};return G(e,(e=>{const[n,s,o]=e.split(u);t.add(n),(r[n]=r[n]||[]).push({line:J(s),path:n,preview:o})})),{paths:t,results:r}}(e)},t)}},{log(...e){const t=Re(arguments),r=function(e,t){return re(e)&&re(t)&&Xe("git.log(string, string) should be replaced with git.log({ from: string, to: string })")}(...e)||(s=(n=Ur(Te(arguments),ae(arguments[0],te))).splitter,o=n.fields,i=n.commands,{commands:["log",...i],format:"utf-8",parser:jr(s,o)});var n,s,o,i;return this._runTask(r,t)}})}}),Gn={};S(Gn,{Scheduler:()=>qn});var Hn=C({"src/lib/runners/scheduler.ts"(){Le(),Fn=r(2443),tr(),Un=(()=>{let e=0;return()=>{e++;const{promise:t,done:r}=(0,Fn.createDeferred)();return{promise:t,done:r,id:e}}})(),qn=class{constructor(e=2){this.concurrency=e,this.logger=Jt("","scheduler"),this.pending=[],this.running=[],this.logger("Constructed, concurrency=%s",e)}schedule(){if(!this.pending.length||this.running.length>=this.concurrency)return void this.logger("Schedule attempt ignored, pending=%s running=%s concurrency=%s",this.pending.length,this.running.length,this.concurrency);const e=V(this.running,this.pending.shift());this.logger("Attempting id=%s",e.id),e.done((()=>{this.logger("Completing id=",e.id),W(this.running,e),this.schedule()}))}next(){const{promise:e,id:t}=V(this.pending,Un());return this.logger("Scheduling id=%s",t),this.schedule(),e}}}}),Vn={};function zn(e,t){return Ye(["apply",...t,...e])}S(Vn,{applyPatchTask:()=>zn});var Wn,Xn,Yn,Jn,Kn=C({"src/lib/tasks/apply-patch.ts"(){st()}}),Qn=C({"src/lib/responses/BranchDeleteSummary.ts"(){Wn=class{constructor(){this.all=[],this.branches={},this.errors=[]}get success(){return!this.errors.length}}}});function Zn(e,t){return 1===t&&Xn.test(e)}var es,ts,rs=C({"src/lib/parsers/parse-branch-delete.ts"(){Qn(),Le(),Xn=/^error[^']+'([^']+)'/m,Yn=[new fe(/(\S+)\s+\(\S+\s([^)]+)\)/,((e,[t,r])=>{const n=function(e,t){return{branch:e,hash:t,success:!0}}(t,r);e.all.push(n),e.branches[t]=n})),new fe(Xn,((e,[t])=>{const r=function(e){return{branch:e,hash:null,success:!1}}(t);e.errors.push(r),e.all.push(r),e.branches[t]=r}))],Jn=(e,t)=>ke(new Wn,Yn,e,t)}}),ns=C({"src/lib/responses/BranchSummary.ts"(){es=class{constructor(){this.all=[],this.branches={},this.current="",this.detached=!1}push(e,t,r,n,s){e&&(this.detached=t,this.current=r),this.all.push(r),this.branches[r]={current:e,name:r,commit:n,label:s}}}}});function ss(e){return ke(new es,ts,e)}var os=C({"src/lib/parsers/parse-branch.ts"(){ns(),Le(),ts=[new fe(/^(\*\s)?\((?:HEAD )?detached (?:from|at) (\S+)\)\s+([a-z0-9]+)\s(.*)$/,((e,[t,r,n,s])=>{e.push(!!t,!0,r,n,s)})),new fe(/^(\*\s)?(\S+)\s+([a-z0-9]+)\s?(.*)$/s,((e,[t,r,n,s])=>{e.push(!!t,!1,r,n,s)}))]}}),is={};function as(e){const t=["-d","-D","--delete"];return e.some((e=>t.includes(e)))}function cs(e){const t=as(e),r=["branch",...e];return 1===r.length&&r.push("-a"),r.includes("-v")||r.splice(1,0,"-v"),{format:"utf-8",commands:r,parser:(e,r)=>t?Jn(e,r).all[0]:ss(e)}}function us(){return{format:"utf-8",commands:["branch","-v"],parser:ss}}function ls(e,t=!1){return{format:"utf-8",commands:["branch","-v",t?"-D":"-d",...e],parser:(e,t)=>Jn(e,t),onError({exitCode:e,stdOut:t},r,n,s){if(!Zn(String(r),e))return s(r);n(t)}}}function ds(e,t=!1){const r={format:"utf-8",commands:["branch","-v",t?"-D":"-d",e],parser:(t,r)=>Jn(t,r).branches[e],onError({exitCode:e,stdErr:t,stdOut:n},o,i,a){if(!Zn(String(o),e))return a(o);throw new s(r.parser(Q(n),Q(t)),String(o))}};return r}S(is,{branchLocalTask:()=>us,branchTask:()=>cs,containsDeleteBranchCommand:()=>as,deleteBranchTask:()=>ds,deleteBranchesTask:()=>ls});var hs,fs=C({"src/lib/tasks/branch.ts"(){P(),rs(),os(),Le()}}),ps=C({"src/lib/responses/CheckIgnore.ts"(){hs=e=>e.split(/\n/g).map((e=>e.trim())).filter((e=>!!e))}}),ms={};function gs(e){return{commands:["check-ignore",...e],format:"utf-8",parser:hs}}S(ms,{checkIgnoreTask:()=>gs});var ys=C({"src/lib/tasks/check-ignore.ts"(){ps()}}),vs={};function ws(e){return/^--upload-pack(=|$)/.test(e)}function Es(e,t,r){const n=["clone",...r];return re(e)&&n.push(e),re(t)&&n.push(t),n.find(ws)?Xe("git.fetch: potential exploit argument blocked."):Ye(n)}function bs(e,t,r){return V(r,"--mirror"),Es(e,t,r)}S(vs,{cloneMirrorTask:()=>bs,cloneTask:()=>Es});var Os=C({"src/lib/tasks/clone.ts"(){st(),Le()}}),_s={};function Ts(e){return{commands:["diff","--stat=4096",...e],format:"utf-8",parser:e=>xr(e)}}S(_s,{diffSummaryTask:()=>Ts});var Rs,Cs=C({"src/lib/tasks/diff.ts"(){Mr()}});function Ss(e,t){return ke({raw:e,remote:null,branches:[],tags:[]},Rs,e,t)}var ks=C({"src/lib/parsers/parse-fetch.ts"(){Le(),Rs=[new fe(/From (.+)$/,((e,[t])=>{e.remote=t})),new fe(/\* \[new branch]\s+(\S+)\s*-> (.+)$/,((e,[t,r])=>{e.branches.push({name:t,tracking:r})})),new fe(/\* \[new tag]\s+(\S+)\s*-> (.+)$/,((e,[t,r])=>{e.tags.push({name:t,tracking:r})}))]}}),xs={};function As(e){return/^--upload-pack(=|$)/.test(e)}function Is(e,t,r){const n=["fetch",...r];return e&&t&&n.push(e,t),n.find(As)?Xe("git.fetch: potential exploit argument blocked."):{commands:n,format:"utf-8",parser:Ss}}S(xs,{fetchTask:()=>Is});var Ps,Ns=C({"src/lib/tasks/fetch.ts"(){ks(),st()}});function Ls(e){return ke({moves:[]},Ps,e)}var $s=C({"src/lib/parsers/parse-move.ts"(){Le(),Ps=[new fe(/^Renaming (.+) to (.+)$/,((e,[t,r])=>{e.moves.push({from:t,to:r})}))]}}),Ms={};function js(e,t){return{commands:["mv","-v",...X(e),t],format:"utf-8",parser:Ls}}S(Ms,{moveTask:()=>js});var Ds=C({"src/lib/tasks/move.ts"(){$s(),Le()}}),Fs={};function Us(e,t,r){const n=["pull",...r];return e&&t&&n.splice(1,0,e,t),{commands:n,format:"utf-8",parser:(e,t)=>an(e,t),onError(e,t,r,n){const o=function(e,t){const r=ke(new Hr,sn,e,t);return r.message&&r}(Q(e.stdOut),Q(e.stdErr));if(o)return n(new s(o));n(t)}}}S(Fs,{pullTask:()=>Us});var qs=C({"src/lib/tasks/pull.ts"(){P(),hn(),Le()}});function Bs(e){const t={};return Hs(e,(([e])=>t[e]={name:e})),Object.values(t)}function Gs(e){const t={};return Hs(e,(([e,r,n])=>{t.hasOwnProperty(e)||(t[e]={name:e,refs:{fetch:"",push:""}}),n&&r&&(t[e].refs[n.replace(/[^a-z]/g,"")]=r)})),Object.values(t)}function Hs(e,t){G(e,(e=>t(e.split(/\s+/))))}var Vs=C({"src/lib/responses/GetRemoteSummary.ts"(){Le()}}),zs={};function Ws(e,t,r=[]){return Ye(["remote","add",...r,e,t])}function Xs(e){const t=["remote"];return e&&t.push("-v"),{commands:t,format:"utf-8",parser:e?Gs:Bs}}function Ys(e=[]){const t=[...e];return"ls-remote"!==t[0]&&t.unshift("ls-remote"),Ye(t)}function Js(e=[]){const t=[...e];return"remote"!==t[0]&&t.unshift("remote"),Ye(t)}function Ks(e){return Ye(["remote","remove",e])}S(zs,{addRemoteTask:()=>Ws,getRemotesTask:()=>Xs,listRemotesTask:()=>Ys,remoteTask:()=>Js,removeRemoteTask:()=>Ks});var Qs=C({"src/lib/tasks/remote.ts"(){Vs(),st()}}),Zs={};function eo(e={},t){const r=Ur(e),n=jr(r.splitter,r.fields);return{commands:["stash","list",...r.commands,...t],format:"utf-8",parser:n}}S(Zs,{stashListTask:()=>eo});var to=C({"src/lib/tasks/stash-list.ts"(){Fr(),zr()}}),ro={};function no(e,t){return oo(["add",e,t])}function so(e){return oo(["init",...e])}function oo(e){const t=[...e];return"submodule"!==t[0]&&t.unshift("submodule"),Ye(t)}function io(e){return oo(["update",...e])}S(ro,{addSubModuleTask:()=>no,initSubModuleTask:()=>so,subModuleTask:()=>oo,updateSubModuleTask:()=>io});var ao,co,uo=C({"src/lib/tasks/sub-module.ts"(){st()}});function lo(e,t){return e===t?0:e>t?1:-1}function ho(e){return e.trim()}function fo(e){return"string"==typeof e&&parseInt(e.replace(/^\D+/g,""),10)||0}var po=C({"src/lib/responses/TagList.ts"(){ao=class{constructor(e,t){this.all=e,this.latest=t}},co=function(e,t=!1){const r=e.split("\n").map(ho).filter(Boolean);t||r.sort((function(e,t){const r=e.split("."),n=t.split(".");if(1===r.length||1===n.length)return function(e,t){const r=isNaN(e);return r!==isNaN(t)?r?1:-1:r?lo(e,t):0}(fo(r[0]),fo(n[0]));for(let e=0,t=Math.max(r.length,n.length);ee.indexOf(".")>=0));return new ao(r,n)}}}),mo={};function go(e=[]){const t=e.some((e=>/^--sort=/.test(e)));return{format:"utf-8",commands:["tag","-l",...e],parser:e=>co(e,t)}}function yo(e){return{format:"utf-8",commands:["tag",e],parser:()=>({name:e})}}function vo(e,t){return{format:"utf-8",commands:["tag","-a","-m",t,e],parser:()=>({name:e})}}S(mo,{addAnnotatedTagTask:()=>vo,addTagTask:()=>yo,tagListTask:()=>go});var wo,Eo,bo,Oo=C({"src/lib/tasks/tag.ts"(){po()}}),_o=(wo={"src/git.js"(e,t){var{GitExecutor:r}=(cr(),x(ar)),{SimpleGitApi:n}=(Bn(),x(Dn)),{Scheduler:s}=(Hn(),x(Gn)),{configurationErrorTask:o}=(st(),x(ze)),{asArray:i,filterArray:a,filterPrimitives:c,filterString:u,filterStringOrStringArray:l,filterType:d,getTrailingOptions:h,trailingFunctionArgument:f,trailingOptionsArgument:p}=(Le(),x(Ae)),{applyPatchTask:m}=(Kn(),x(Vn)),{branchTask:g,branchLocalTask:y,deleteBranchesTask:v,deleteBranchTask:w}=(fs(),x(is)),{checkIgnoreTask:E}=(ys(),x(ms)),{checkIsRepoTask:b}=(He(),x($e)),{cloneTask:O,cloneMirrorTask:_}=(Os(),x(vs)),{cleanWithOptionsTask:T,isCleanOptionsArray:R}=(dt(),x(ot)),{commitTask:C}=(Or(),x(mr)),{diffSummaryTask:S}=(Cs(),x(_s)),{fetchTask:k}=(Ns(),x(xs)),{moveTask:A}=(Ds(),x(Ms)),{pullTask:I}=(qs(),x(Fs)),{pushTagsTask:P}=(kn(),x(En)),{addRemoteTask:N,getRemotesTask:L,listRemotesTask:$,remoteTask:M,removeRemoteTask:j}=(Qs(),x(zs)),{getResetMode:D,resetTask:F}=(xt(),x(Rt)),{stashListTask:U}=(to(),x(Zs)),{addSubModuleTask:q,initSubModuleTask:B,subModuleTask:G,updateSubModuleTask:H}=(uo(),x(ro)),{addAnnotatedTagTask:V,addTagTask:z,tagListTask:W}=(Oo(),x(mo)),{straightThroughBufferTask:X,straightThroughStringTask:Y}=(st(),x(ze));function J(e,t){this._executor=new r(e.binary,e.baseDir,new s(e.maxConcurrentProcesses),t)}function K(e,t,r,n){return"string"!=typeof r?o(`git.${e}() requires a string 'repoPath'`):t(r,d(n,u),h(arguments))}(J.prototype=Object.create(n.prototype)).constructor=J,J.prototype.customBinary=function(e){return this._executor.binary=e,this},J.prototype.env=function(e,t){return 1===arguments.length&&"object"==typeof e?this._executor.env=e:(this._executor.env=this._executor.env||{})[e]=t,this},J.prototype.stashList=function(e){return this._runTask(U(p(arguments)||{},a(e)&&e||[]),f(arguments))},J.prototype.clone=function(){return this._runTask(K("clone",O,...arguments),f(arguments))},J.prototype.mirror=function(){return this._runTask(K("mirror",_,...arguments),f(arguments))},J.prototype.mv=function(e,t){return this._runTask(A(e,t),f(arguments))},J.prototype.checkoutLatestTag=function(e){var t=this;return this.pull((function(){t.tags((function(r,n){t.checkout(n.latest,e)}))}))},J.prototype.pull=function(e,t,r,n){return this._runTask(I(d(e,u),d(t,u),h(arguments)),f(arguments))},J.prototype.fetch=function(e,t){return this._runTask(k(d(e,u),d(t,u),h(arguments)),f(arguments))},J.prototype.silent=function(e){return console.warn("simple-git deprecation notice: git.silent: logging should be configured using the `debug` library / `DEBUG` environment variable, this will be an error in version 3"),this},J.prototype.tags=function(e,t){return this._runTask(W(h(arguments)),f(arguments))},J.prototype.rebase=function(){return this._runTask(Y(["rebase",...h(arguments)]),f(arguments))},J.prototype.reset=function(e){return this._runTask(F(D(e),h(arguments)),f(arguments))},J.prototype.revert=function(e){const t=f(arguments);return"string"!=typeof e?this._runTask(o("Commit must be a string"),t):this._runTask(Y(["revert",...h(arguments,0,!0),e]),t)},J.prototype.addTag=function(e){const t="string"==typeof e?z(e):o("Git.addTag requires a tag name");return this._runTask(t,f(arguments))},J.prototype.addAnnotatedTag=function(e,t){return this._runTask(V(e,t),f(arguments))},J.prototype.checkout=function(){const e=["checkout",...h(arguments,!0)];return this._runTask(Y(e),f(arguments))},J.prototype.checkoutBranch=function(e,t,r){return this.checkout(["-b",e,t],f(arguments))},J.prototype.checkoutLocalBranch=function(e,t){return this.checkout(["-b",e],f(arguments))},J.prototype.deleteLocalBranch=function(e,t,r){return this._runTask(w(e,"boolean"==typeof t&&t),f(arguments))},J.prototype.deleteLocalBranches=function(e,t,r){return this._runTask(v(e,"boolean"==typeof t&&t),f(arguments))},J.prototype.branch=function(e,t){return this._runTask(g(h(arguments)),f(arguments))},J.prototype.branchLocal=function(e){return this._runTask(y(),f(arguments))},J.prototype.raw=function(e){const t=!Array.isArray(e),r=[].slice.call(t?arguments:e,0);for(let e=0;e[...t,...e]}}(n.config)),r.add(function({onClose:e=!0,onExit:t=50}={}){function r(e,t,r){!1!==e&&(!0===e?t.promise:t.promise.then((()=>ee(e)))).then(r.done)}return{type:"spawn.after",action(n,s){return A(this,arguments,(function*(n,{spawned:s,close:o}){var i,a;const c=function(){let n=-1;const s={close:(0,It.deferred)(),closeTimeout:(0,It.deferred)(),exit:(0,It.deferred)(),exitTimeout:(0,It.deferred)()},o=Promise.race([!1===e?Pt:s.closeTimeout.promise,!1===t?Pt:s.exitTimeout.promise]);return r(e,s.close,s.closeTimeout),r(t,s.exit,s.exitTimeout),{close(e){n=e,s.close.done()},exit(e){n=e,s.exit.done()},get exitCode(){return n},result:o}}();let u=!0,l=()=>{u=!1};null==(i=s.stdout)||i.on("data",l),null==(a=s.stderr)||a.on("data",l),s.on("error",l),s.on("close",(e=>c.close(e))),s.on("exit",(e=>c.exit(e)));try{yield c.result,u&&(yield ee(50)),o(c.exitCode)}catch(e){o(c.exitCode,e)}}))}}}(n.completion)),n.progress&&r.add(function(e){const t="--progress",r=["checkout","clone","fetch","pull","push"];return[{type:"spawn.args",action:(e,n)=>r.includes(n.method)?z(e,t):e},{type:"spawn.after",action(r,n){var s;n.commands.includes(t)&&(null==(s=n.spawned.stderr)||s.on("data",(t=>{const r=/^([\s\S]+?):\s*(\d+)% \((\d+)\/(\d+)\)/.exec(t.toString("utf8"));var s;r&&e({method:n.method,stage:(s=r[1],String(s.toLowerCase().split(" ",1))||"unknown"),progress:J(r[2]),processed:J(r[3]),total:J(r[4])})})))}}]}(n.progress)),n.timeout&&r.add(function({block:e}){if(e>0)return{type:"spawn.after",action(t,r){var n,s;let o;function a(){o&&clearTimeout(o),o=setTimeout(u,e)}function c(){var e,t;null==(e=r.spawned.stdout)||e.off("data",a),null==(t=r.spawned.stderr)||t.off("data",a),r.spawned.off("exit",c),r.spawned.off("close",c),o&&clearTimeout(o)}function u(){c(),r.kill(new i(void 0,"timeout","block timeout reached"))}null==(n=r.spawned.stdout)||n.on("data",a),null==(s=r.spawned.stderr)||s.on("data",a),r.spawned.on("exit",c),r.spawned.on("close",c),a()}}}(n.timeout)),n.spawnOptions&&r.add(function(e){const t=Z(e,["uid","gid"]);return{type:"spawn.options",action:e=>_(_({},t),e)}}(n.spawnOptions)),r.add(Ft(Dt(!0))),n.errors&&r.add(Ft(n.errors)),new bo(n,r)}S(To,{esModuleFactory:()=>Ro,gitExportFactory:()=>Co,gitInstanceFactory:()=>So});var ko,xo,Ao=C({"src/lib/git-factory.ts"(){Nt(),Xt(),Le(),bo=_o()}}),Io={};function Po(...e){let t,r=Promise.resolve();try{t=So(...e)}catch(e){r=Promise.reject(e)}function n(){return i}function o(){return r}const i=[...ko,...xo].reduce(((e,i)=>{const a=xo.includes(i),c=a?(u=i,l=t,function(...e){if("function"==typeof e[e.length])throw new TypeError("Promise interface requires that handlers are not supplied inline, trailing function not allowed in call to "+u);return r.then((function(){return new Promise((function(t,r){e.push(((e,n)=>{if(e)return r((o=e)instanceof Error?o:"string"==typeof o?new Error(o):new s(o));var o;t(n)})),l[u].apply(l,e)}))}))}):function(e,t,r){return(...n)=>(t[e](...n),r)}(i,t,e);var u,l;const d=a?o:n;return Object.defineProperty(e,i,{enumerable:!1,configurable:!1,value:t?c:d}),e}),{});return i}S(Io,{gitP:()=>Po});var No=C({"src/lib/runners/promise-wrapped.ts"(){P(),Ao(),ko=["customBinary","env","outputHandler","silent"],xo=["add","addAnnotatedTag","addConfig","addRemote","addTag","applyPatch","binaryCatFile","branch","branchLocal","catFile","checkIgnore","checkIsRepo","checkout","checkoutBranch","checkoutLatestTag","checkoutLocalBranch","clean","clone","commit","cwd","deleteLocalBranch","deleteLocalBranches","diff","diffSummary","exec","fetch","getRemotes","init","listConfig","listRemote","log","merge","mergeFromTo","mirror","mv","pull","push","pushTags","raw","rebase","remote","removeRemote","reset","revert","revparse","rm","rmKeepLocal","show","stash","stashList","status","subModule","submoduleAdd","submoduleInit","submoduleUpdate","tag","tags","updateServerInfo"]}}),{gitP:Lo}=(No(),x(Io)),{esModuleFactory:$o,gitInstanceFactory:Mo,gitExportFactory:jo}=(Ao(),x(To));e.exports=$o(jo(Mo,{gitP:Lo}))},2130:(e,t,r)=>{"use strict";const n=r(2037),s=r(6224),o=r(6560),{env:i}=process;let a;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===a)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===a)return 0;const r=a||0;if("dumb"===i.TERM)return r;if("win32"===process.platform){const e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||"codeship"===i.CI_NAME?1:r;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:r}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?a=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(a=1),"FORCE_COLOR"in i&&(a="true"===i.FORCE_COLOR?1:"false"===i.FORCE_COLOR?0:0===i.FORCE_COLOR.length?1:Math.min(parseInt(i.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(u(e,e&&e.isTTY))},stdout:c(u(!0,s.isatty(1))),stderr:c(u(!0,s.isatty(2)))}},6473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUrls=void 0,t.getUrls={fasm1(e,t){const r=(e.alt?[e.alt,e.name]:[e.name]).map((e=>{const r=e.replace(/\./g,"");return{windows:parseInt(r)r.map((t=>e+t))))},fasmg(e){const t=(e.alt?[e.alt,e.name]:[e.name]).map((e=>`fasmg.${e}.zip`));return["https://flatassembler.net/"].flatMap((e=>t.map((t=>e+t))))},fasmarm(e,t){const r=["FASMARM_full.ZIP"];return"windows"===t&&r.unshift("FASMARM_win32.ZIP"),["https://arm.flatassembler.net/"].flatMap((e=>r.map((t=>e+t))))}}},9872:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.downloadVersion=t.downloadVersionArchive=t.HttpError=t.HashMismatchError=t.MissingHashError=t.DownloadError=t.downloadUrl=t.hashFile=t.getMatchingVersions=void 0;const a=i(r(6005)),c=i(r(7561)),u=r(6402),l=o(r(2225)),d=o(r(4392)),h=r(6473),f=r(679);async function p(e){const t=c.default.createReadStream(e),r=a.default.createHash("BLAKE2b512").setEncoding("hex");return await(0,u.pipeline)(t,r),r.read()}async function m(e,t,r,n){if("https:"!==e.protocol&&!r&&!t)throw new y(e);let s;try{s=await d.downloadTool(e.href,n)}catch(t){throw t instanceof d.HTTPError?new w(e,t.httpStatusCode,{cause:t}):t}if(r){const t=await p(s);if(!(0,f.equalsIgnoreCase)(t,r))throw c.default.unlinkSync(s),new v(e,r,t)}return s}t.getMatchingVersions=function(e,t,r){if(t=t.toLowerCase(),["latest","*"].includes(t))return e.versions;if(t.endsWith(".*")){const r=t.slice(0,-2);return e.versions.filter((e=>e.name.toLowerCase().startsWith(r)&&[".",void 0].includes(e.name[r.length])))}{const n=e.versions.find((e=>e.name.toLowerCase()===t));if(!n)return"never"===r?[]:["secure","insecure"].includes(r)?[{name:t,allowInsecure:"insecure"===r,userProvided:!0}]:[{name:t,hashes:new Proxy({},{get:()=>r}),userProvided:!0}];if("secure"!==r){if("insecure"===r)return[{...n,allowInsecure:!0}];if(r)return[{...n,hashes:new Proxy({},{get:()=>r}),userProvided:!0}]}return[n]}},t.hashFile=p,t.downloadUrl=m;class g extends Error{url;constructor(e,t,r){super(t,r),this.url=e}}t.DownloadError=g;class y extends g{constructor(e,t){super(e,`no hash found for insecure URL ${e.href}`,t)}}t.MissingHashError=y;class v extends g{constructor(e,t,r,n){super(e,`expected hash ${t} but got ${r} for ${e.href}`,n)}}t.HashMismatchError=v;class w extends g{httpStatusCode;constructor(e,t,r){super(e,`HTTP error${void 0!==t?` (${t})`:""} while downloading ${e.href}`,r),this.httpStatusCode=t}}async function E(e,t,r,n){const s=`${e} ${t.name} for ${r}`,o=(t.hashes||{})[r];let i=!1,a=!1;const c=h.getUrls[e](t,r).map((e=>new URL(e)));for(const e of c){l.debug(`trying ${e.href}`);try{return{path:await m(e,!!t.allowInsecure,o,n),url:e}}catch(e){if(e instanceof y){a=!0,l.warning(`${e.message} for ${s}; not using this file`);continue}if(e instanceof v){a=!0,l.warning(`${e.message} for ${s}${t.userProvided?"":"you may want to report this to the setup-fasm action maintainer"}; not using this file`);continue}if(e instanceof w){void 0!==e.httpStatusCode&&(i||=404!==e.httpStatusCode),(404===e.httpStatusCode?l.debug:l.warning)(`${e.message} for ${s}`);continue}throw e}}return l.warning(`all attempts at downloading ${s} failed; `+(a?"some hash problems were encountered":i?"some servers seem to have problems with the requests":`${e} ${t.name} not found for ${r}`)),null}t.HttpError=w,t.downloadVersionArchive=E;const b="ia32";t.downloadVersion=async function(e,t,r,n=!1){const s=`${e}-${r}-${t.name}`,o=d.find(s,"0.0.0",b);if(o){if(l.debug("found cached"),!t.dynamic||n)return o;l.debug("but may be updated")}const i=await E(e,t,r);if(!i)return null;let{path:a,url:u}=i;u.pathname.toLowerCase().endsWith(".zip")&&!a.endsWith(".zip")&&c.default.renameSync(a,a=`${a}.zip`);const h=u.pathname.toLowerCase().endsWith(".zip")?d.extractZip:d.extractTar,f=await h(a);return c.default.unlinkSync(a),await d.cacheDir(f,s,"0.0.0",b),f}},4470:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=r(6005),c=i(r(7561)),u=i(r(2286)),l=i(r(612)),d=i(r(9411)),h=i(r(7742)),f=i(r(6465)),p=i(r(7261)),m=o(r(2225)),g=i(r(6998)),y=r(9872),v=new URL("https://raw.githubusercontent.com/stevenwdv/fasm-versions/v1/fasm_versions.json"),w=new URL("https://github.com/tgrysztar/fasmg.git"),E={aix:"unix",android:"linux",cygwin:"windows",freebsd:"unix",haiku:"unix",linux:"linux",netbsd:"unix",openbsd:"unix",sunos:"unix",win32:"windows"};function b(e,t,r,n,s){const o=c.default.readdirSync(n),i=1===o.length&&c.default.statSync(d.default.join(n,o[0])).isDirectory()?d.default.join(n,o[0]):n;m.addPath(i);{const t=[".x64","",".exe",".o"].map((t=>`${{fasm1:"fasm",fasmg:"fasmg",fasmarm:"fasmarm"}[e]}${t}`));for(const e of t){const t=d.default.join(i,e),r=c.default.statSync(t,{throwIfNoEntry:!1});r?.isFile()&&c.default.chmodSync(t,73|r.mode)}}if(s){const e=d.default.join(i,"INCLUDE");c.default.statSync(e,{throwIfNoEntry:!1})?.isDirectory()&&_(e)}m.setOutput("path",i),m.setOutput("edition",e),m.setOutput("version",r),m.setOutput("platform",t),m.info(`successfully installed ${e} ${r} for ${t} to ${i}`)}async function O(e,t,r){m.startGroup("downloading fasm g packages");const n=d.default.join(h.default.env.RUNNER_TEMP||l.default.tmpdir(),(0,a.randomUUID)());await(0,g.default)().clone(w.href,n,["--filter=blob:none","--sparse","--no-checkout"]).cwd(n).checkout(e??"HEAD").raw("sparse-checkout","add","--cone","packages"),m.debug("checked out fasm g packages repository");const s=d.default.join(n,"packages");if(!c.default.statSync(s,{throwIfNoEntry:!1})?.isDirectory())throw new Error("cannot find fasm g packages directory");m.setOutput("fasmg-packages",s),r&&_(s);for(const e of t){const t=d.default.join(s,e);if(!c.default.statSync(s,{throwIfNoEntry:!1})?.isDirectory())throw new Error(`fasm g package ${e} not found`);const r=d.default.join(t,"include");c.default.statSync(r,{throwIfNoEntry:!1})?.isDirectory()?_(r):_(t)}m.endGroup(),m.info(`successfully installed fasm g packages to ${s}`)}function _(e){m.debug(`adding to include: ${e}`);let t=h.default.env.INCLUDE??"";t&&(t+=";"),t+=e,m.exportVariable("INCLUDE",t)}(async()=>{try{await async function(){const e=m.getInput("edition").toLowerCase(),t=m.getInput("version").toLowerCase(),r=m.getInput("download-unknown").toLowerCase(),n=m.getBooleanInput("assume-dynamic-unchanged"),s=m.getInput("fasmg-download-packages"),o=m.getInput("fasmg-include-packages").toLowerCase().split(/,\s*/).filter((e=>e)),i=m.getBooleanInput("set-include-envvar");if("fasmg"!==e&&("false"!==s.toLowerCase()||o.length))return void m.setFailed("fasm g packages option set but requested edition is not fasmg");if(o.length&&"false"===s.toLowerCase())return void m.setFailed("fasmg-include-packages set without fasmg-download-packages");m.debug("downloading version list");const a=(await new Promise(((e,t)=>{u.default.get(v,(r=>{200!==r.statusCode?t(new Error(`failed to download ${v.href}: HTTP ${r.statusCode} ${r.statusMessage}`)):e(f.default.json(r))})).on("error",(e=>t(new Error(`failed to download ${v.href}`,{cause:e}))))}))).editions[e];if(!a)return void m.setFailed(`requested edition '${e}' not found`);const c=e,d=(0,y.getMatchingVersions)(a,t,r);if(!d.length)return void m.setFailed(`requested version '${t}' not found for edition ${c}`);const h=l.default.platform();if("darwin"===h)return void m.setFailed("macOS does not support ELF binaries, so fasm is not available");let p=E[h];p||(m.warning(`unknown current platform ${h}, trying unix`),p="unix");let g=10;for(const e of d){m.startGroup(`using ${e.name}`);let t=await(0,y.downloadVersion)(c,e,p,n);if(t||"linux"!==p||(m.debug("no linux version found, trying unix instead"),t=await(0,y.downloadVersion)(c,e,"unix",n),t&&(p="unix")),m.endGroup(),t)return b(c,p,e.name,t,i),void("fasmg"===c&&"false"!==s.toLowerCase()&&await O("true"===s.toLowerCase()?null:s,o,i));if(!--g)return void m.setFailed("maximum number of versions to try exceeded")}m.setFailed(`could not download ${e} ${t} for ${p}`)}()}catch(e){m.setFailed(p.default.inspect(e))}})()},679:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equalsIgnoreCase=void 0,t.equalsIgnoreCase=function(e,t){return e.toLowerCase()===t.toLowerCase()}},6149:(e,t,r)=>{e.exports=r(5468)},5468:(e,t,r)=>{"use strict";r(1808);var n,s=r(4404),o=r(3685),i=r(5687),a=r(2361),c=(r(9491),r(3837));function u(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||o.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",(function(e,r,n,s){for(var o=d(r,n,s),i=0,a=t.requests.length;i=this.maxSockets?s.requests.push(o):s.createSocket(o,(function(t){function r(){s.emit("free",t,o)}function n(e){s.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n)}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t)}))},u.prototype.createSocket=function(e,t){var r=this,s={};r.sockets.push(s);var o=h({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(o.localAddress=e.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),n("making CONNECT request");var i=r.request(o);function a(o,a,c){var u;return i.removeAllListeners(),a.removeAllListeners(),200!==o.statusCode?(n("tunneling socket could not be established, statusCode=%d",o.statusCode),a.destroy(),(u=new Error("tunneling socket could not be established, statusCode="+o.statusCode)).code="ECONNRESET",e.request.emit("error",u),void r.removeSocket(s)):c.length>0?(n("got illegal response body from proxy"),a.destroy(),(u=new Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",u),void r.removeSocket(s)):(n("tunneling connection has established"),r.sockets[r.sockets.indexOf(s)]=a,t(a))}i.useChunkedEncodingByDefault=!1,i.once("response",(function(e){e.upgrade=!0})),i.once("upgrade",(function(e,t,r){process.nextTick((function(){a(e,t,r)}))})),i.once("connect",a),i.once("error",(function(t){i.removeAllListeners(),n("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var o=new Error("tunneling socket could not be established, cause="+t.message);o.code="ECONNRESET",e.request.emit("error",o),r.removeSocket(s)})),i.end()},u.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,(function(e){r.request.onSocket(e)}))}},n=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:function(){},t.debug=n},5327:e=>{for(var t=[],r=0;r<256;++r)t[r]=(r+256).toString(16).substr(1);e.exports=function(e,r){var n=r||0,s=t;return[s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]]].join("")}},556:(e,t,r)=>{var n=r(6113);e.exports=function(){return n.randomBytes(16)}},1171:(e,t,r)=>{var n=r(556),s=r(5327);e.exports=function(e,t,r){var o=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||n)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;a<16;++a)t[o+a]=i[a];return t||s(i)}},9491:e=>{"use strict";e.exports=require("assert")},2081:e=>{"use strict";e.exports=require("child_process")},6113:e=>{"use strict";e.exports=require("crypto")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},1808:e=>{"use strict";e.exports=require("net")},6005:e=>{"use strict";e.exports=require("node:crypto")},7561:e=>{"use strict";e.exports=require("node:fs")},2286:e=>{"use strict";e.exports=require("node:https")},612:e=>{"use strict";e.exports=require("node:os")},9411:e=>{"use strict";e.exports=require("node:path")},7742:e=>{"use strict";e.exports=require("node:process")},6465:e=>{"use strict";e.exports=require("node:stream/consumers")},6402:e=>{"use strict";e.exports=require("node:stream/promises")},7261:e=>{"use strict";e.exports=require("node:util")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},1576:e=>{"use strict";e.exports=require("string_decoder")},9512:e=>{"use strict";e.exports=require("timers")},4404:e=>{"use strict";e.exports=require("tls")},6224:e=>{"use strict";e.exports=require("tty")},3837:e=>{"use strict";e.exports=require("util")}},t={};!function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}(4470)})(); \ No newline at end of file +(()=>{var e={5265:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.issue=t.issueCommand=void 0;const i=o(r(2037)),a=r(4570);function c(e,t,r){const n=new u(e,t,r);process.stdout.write(n.toString()+i.EOL)}t.issueCommand=c,t.issue=function(e,t=""){c(e,{},t)};class u{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${t=s,a.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+=`::${function(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}(this.message)}`,e}}},2225:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const a=r(5265),c=r(3108),u=r(4570),l=o(r(2037)),d=o(r(1017)),h=r(1526);var f;function p(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&!1===t.trimWhitespace?r:r.trim()}function m(e,t={}){a.issueCommand("error",u.toCommandProperties(t),e instanceof Error?e.toString():e)}function g(e){a.issue("group",e)}function y(){a.issue("endgroup")}!function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"}(f=t.ExitCode||(t.ExitCode={})),t.exportVariable=function(e,t){const r=u.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_",n=`${e}<<${t}${l.EOL}${r}${l.EOL}${t}`;c.issueCommand("ENV",n)}else a.issueCommand("set-env",{name:e},r)},t.setSecret=function(e){a.issueCommand("add-mask",{},e)},t.addPath=function(e){process.env.GITHUB_PATH?c.issueCommand("PATH",e):a.issueCommand("add-path",{},e),process.env.PATH=`${e}${d.delimiter}${process.env.PATH}`},t.getInput=p,t.getMultilineInput=function(e,t){return p(e,t).split("\n").filter((e=>""!==e))},t.getBooleanInput=function(e,t){const r=p(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},t.setOutput=function(e,t){process.stdout.write(l.EOL),a.issueCommand("set-output",{name:e},t)},t.setCommandEcho=function(e){a.issue("echo",e?"on":"off")},t.setFailed=function(e){process.exitCode=f.Failure,m(e)},t.isDebug=function(){return"1"===process.env.RUNNER_DEBUG},t.debug=function(e){a.issueCommand("debug",{},e)},t.error=m,t.warning=function(e,t={}){a.issueCommand("warning",u.toCommandProperties(t),e instanceof Error?e.toString():e)},t.notice=function(e,t={}){a.issueCommand("notice",u.toCommandProperties(t),e instanceof Error?e.toString():e)},t.info=function(e){process.stdout.write(e+l.EOL)},t.startGroup=g,t.endGroup=y,t.group=function(e,t){return i(this,void 0,void 0,(function*(){let r;g(e);try{r=yield t()}finally{y()}return r}))},t.saveState=function(e,t){a.issueCommand("save-state",{name:e},t)},t.getState=function(e){return process.env[`STATE_${e}`]||""},t.getIDToken=function(e){return i(this,void 0,void 0,(function*(){return yield h.OidcClient.getIDToken(e)}))};var v=r(7410);Object.defineProperty(t,"summary",{enumerable:!0,get:function(){return v.summary}});var w=r(7410);Object.defineProperty(t,"markdownSummary",{enumerable:!0,get:function(){return w.markdownSummary}});var E=r(6340);Object.defineProperty(t,"toPosixPath",{enumerable:!0,get:function(){return E.toPosixPath}}),Object.defineProperty(t,"toWin32Path",{enumerable:!0,get:function(){return E.toWin32Path}}),Object.defineProperty(t,"toPlatformPath",{enumerable:!0,get:function(){return E.toPlatformPath}})},3108:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.issueCommand=void 0;const i=o(r(7147)),a=o(r(2037)),c=r(4570);t.issueCommand=function(e,t){const r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!i.existsSync(r))throw new Error(`Missing file at path: ${r}`);i.appendFileSync(r,`${c.toCommandValue(t)}${a.EOL}`,{encoding:"utf8"})}},1526:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.OidcClient=void 0;const s=r(4635),o=r(2429),i=r(2225);class a{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new s.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(a.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return n(this,void 0,void 0,(function*(){const r=a.createHttpClient(),n=yield r.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),s=null===(t=n.result)||void 0===t?void 0:t.value;if(!s)throw new Error("Response json body do not have ID Token field");return s}))}static getIDToken(e){return n(this,void 0,void 0,(function*(){try{let t=a.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),i.debug(`ID token url is ${t}`);const r=yield a.getCall(t);return i.setSecret(r),r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=a},6340:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const i=o(r(1017));t.toPosixPath=function(e){return e.replace(/[\\]/g,"/")},t.toWin32Path=function(e){return e.replace(/[/]/g,"\\")},t.toPlatformPath=function(e){return e.replace(/[/\\]/g,i.sep)}},7410:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const s=r(2037),o=r(7147),{access:i,appendFile:a,writeFile:c}=o.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const u=new class{constructor(){this._buffer=""}filePath(){return n(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const e=process.env[t.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield i(e,o.constants.R_OK|o.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return n(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?c:a;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return n(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(s.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),s=this.wrap(r,n);return this.addRaw(s).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:s}=e,o=t?"th":"td",i=Object.assign(Object.assign({},n&&{colspan:n}),s&&{rowspan:s});return this.wrap(o,r,i)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:s}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),s&&{height:s}),i=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(i).addEOL()}addHeading(e,t){const r=`h${t}`,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",s=this.wrap(n,e);return this.addRaw(s).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};t.markdownSummary=u,t.summary=u},4570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toCommandProperties=t.toCommandValue=void 0,t.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)},t.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}},27:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getExecOutput=t.exec=void 0;const a=r(1576),c=o(r(4171));function u(e,t,r){return i(this,void 0,void 0,(function*(){const n=c.argStringToArray(e);if(0===n.length)throw new Error("Parameter 'commandLine' cannot be null or empty.");const s=n[0];return t=n.slice(1).concat(t||[]),new c.ToolRunner(s,t,r).exec()}))}t.exec=u,t.getExecOutput=function(e,t,r){var n,s;return i(this,void 0,void 0,(function*(){let o="",i="";const c=new a.StringDecoder("utf8"),l=new a.StringDecoder("utf8"),d=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,h=null===(s=null==r?void 0:r.listeners)||void 0===s?void 0:s.stderr,f=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout:e=>{o+=c.write(e),d&&d(e)},stderr:e=>{i+=l.write(e),h&&h(e)}}),p=yield u(e,t,Object.assign(Object.assign({},r),{listeners:f}));return o+=c.end(),i+=l.end(),{exitCode:p,stdout:o,stderr:i}}))}},4171:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.argStringToArray=t.ToolRunner=void 0;const a=o(r(2037)),c=o(r(2361)),u=o(r(2081)),l=o(r(1017)),d=o(r(484)),h=o(r(7564)),f=r(9512),p="win32"===process.platform;class m extends c.EventEmitter{constructor(e,t,r){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=t||[],this.options=r||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,t){const r=this._getSpawnFileName(),n=this._getSpawnArgs(e);let s=t?"":"[command]";if(p)if(this._isCmdFile()){s+=r;for(const e of n)s+=` ${e}`}else if(e.windowsVerbatimArguments){s+=`"${r}"`;for(const e of n)s+=` ${e}`}else{s+=this._windowsQuoteCmdArg(r);for(const e of n)s+=` ${this._windowsQuoteCmdArg(e)}`}else{s+=r;for(const e of n)s+=` ${e}`}return s}_processLineBuffer(e,t,r){try{let n=t+e.toString(),s=n.indexOf(a.EOL);for(;s>-1;)r(n.substring(0,s)),n=n.substring(s+a.EOL.length),s=n.indexOf(a.EOL);return n}catch(e){return this._debug(`error processing line. Failed with error ${e}`),""}}_getSpawnFileName(){return p&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(p&&this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const r of this.args)t+=" ",t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r);return t+='"',[t]}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=!1;for(const n of e)if(t.some((e=>e===n))){r=!0;break}if(!r)return e;let n='"',s=!0;for(let t=e.length;t>0;t--)n+=e[t-1],s&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(s=!0,n+='"'):s=!1;return n+='"',n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-1]?(r=!0,t+="\\"):r=!1;return t+='"',t.split("").reverse().join("")}_cloneExecOptions(e){const t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){e=e||{};const r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r}exec(){return i(this,void 0,void 0,(function*(){return!h.isRooted(this.toolPath)&&(this.toolPath.includes("/")||p&&this.toolPath.includes("\\"))&&(this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield d.which(this.toolPath,!0),new Promise(((e,t)=>i(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(const e of this.args)this._debug(` ${e}`);const r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+a.EOL);const n=new g(r,this.toolPath);if(n.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield h.exists(this.options.cwd)))return t(new Error(`The cwd: ${this.options.cwd} does not exist!`));const s=this._getSpawnFileName(),o=u.spawn(s,this._getSpawnArgs(r),this._getSpawnOptions(this.options,s));let i="";o.stdout&&o.stdout.on("data",(e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),i=this._processLineBuffer(e,i,(e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)}))}));let c="";if(o.stderr&&o.stderr.on("data",(e=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),o.on("error",(e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()})),o.on("exit",(e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete()})),o.on("close",(e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()})),n.on("done",((r,n)=>{i.length>0&&this.emit("stdline",i),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(n)})),this.options.input){if(!o.stdin)throw new Error("child process missing stdin");o.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=m,t.argStringToArray=function(e){const t=[];let r=!1,n=!1,s="";function o(e){n&&'"'!==e&&(s+="\\"),s+=e,n=!1}for(let i=0;i0&&(t.push(s),s=""):n?o(a):r=!r}return s.length>0&&t.push(s.trim()),t};class g extends c.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=f.setTimeout(g.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=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}`):0===this.processExitCode||this.options.ignoreReturnCode?this.processStderr&&this.options.failOnStdErr&&(e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)):e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}}},2429:function(e,t){"use strict";var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0,t.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}},t.BearerCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}},t.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}},4635:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const a=o(r(3685)),c=o(r(5687)),u=o(r(7960)),l=o(r(6149));var d,h,f;!function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"}(d=t.HttpCodes||(t.HttpCodes={})),function(e){e.Accept="accept",e.ContentType="content-type"}(h=t.Headers||(t.Headers={})),function(e){e.ApplicationJson="application/json"}(f=t.MediaTypes||(t.MediaTypes={})),t.getProxyUrl=function(e){const t=u.getProxyUrl(new URL(e));return t?t.href:""};const p=[d.MovedPermanently,d.ResourceMoved,d.SeeOther,d.TemporaryRedirect,d.PermanentRedirect],m=[d.BadGateway,d.ServiceUnavailable,d.GatewayTimeout],g=["OPTIONS","GET","DELETE","HEAD"];class y extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,y.prototype)}}t.HttpClientError=y;class v{constructor(e){this.message=e}readBody(){return i(this,void 0,void 0,(function*(){return new Promise((e=>i(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])})),this.message.on("end",(()=>{e(t.toString())}))}))))}))}}t.HttpClientResponse=v,t.isHttps=function(e){return"https:"===new URL(e).protocol},t.HttpClient=class{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries))}options(e,t){return i(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return i(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return i(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return i(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return i(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e,t={}){return i(this,void 0,void 0,(function*(){t[h.Accept]=this._getExistingOrDefaultHeader(t,h.Accept,f.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[h.Accept]=this._getExistingOrDefaultHeader(r,h.Accept,f.ApplicationJson),r[h.ContentType]=this._getExistingOrDefaultHeader(r,h.ContentType,f.ApplicationJson);const s=yield this.post(e,n,r);return this._processResponse(s,this.requestOptions)}))}putJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[h.Accept]=this._getExistingOrDefaultHeader(r,h.Accept,f.ApplicationJson),r[h.ContentType]=this._getExistingOrDefaultHeader(r,h.ContentType,f.ApplicationJson);const s=yield this.put(e,n,r);return this._processResponse(s,this.requestOptions)}))}patchJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[h.Accept]=this._getExistingOrDefaultHeader(r,h.Accept,f.ApplicationJson),r[h.ContentType]=this._getExistingOrDefaultHeader(r,h.ContentType,f.ApplicationJson);const s=yield this.patch(e,n,r);return this._processResponse(s,this.requestOptions)}))}request(e,t,r,n){return i(this,void 0,void 0,(function*(){if(this._disposed)throw new Error("Client has already been disposed.");const s=new URL(t);let o=this._prepareRequest(e,s,n);const i=this._allowRetries&&g.includes(e)?this._maxRetries+1:1;let a,c=0;do{if(a=yield this.requestRaw(o,r),a&&a.message&&a.message.statusCode===d.Unauthorized){let e;for(const t of this.handlers)if(t.canHandleAuthentication(a)){e=t;break}return e?e.handleAuthentication(this,o,r):a}let t=this._maxRedirects;for(;a.message.statusCode&&p.includes(a.message.statusCode)&&this._allowRedirects&&t>0;){const i=a.message.headers.location;if(!i)break;const c=new URL(i);if("https:"===s.protocol&&s.protocol!==c.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.");if(yield a.readBody(),c.hostname!==s.hostname)for(const e in n)"authorization"===e.toLowerCase()&&delete n[e];o=this._prepareRequest(e,c,n),a=yield this.requestRaw(o,r),t--}if(!a.message.statusCode||!m.includes(a.message.statusCode))return a;c+=1,c{this.requestRawWithCallback(e,t,(function(e,t){e?n(e):t?r(t):n(new Error("Unknown error"))}))}))}))}requestRawWithCallback(e,t,r){"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let n=!1;function s(e,t){n||(n=!0,r(e,t))}const o=e.httpModule.request(e.options,(e=>{s(void 0,new v(e))}));let i;o.on("socket",(e=>{i=e})),o.setTimeout(this._socketTimeout||18e4,(()=>{i&&i.end(),s(new Error(`Request timeout: ${e.options.path}`))})),o.on("error",(function(e){s(e)})),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(function(){o.end()})),t.pipe(o)):o.end()}getAgent(e){const t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const s="https:"===n.parsedUrl.protocol;n.httpModule=s?c:a;const o=s?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(const e of this.handlers)e.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r}_getAgent(e){let t;const r=u.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;const s="https:"===e.protocol;let o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||a.globalAgent.maxSockets),r&&r.hostname){const e={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const i="https:"===r.protocol;n=s?i?l.httpsOverHttps:l.httpsOverHttp:i?l.httpOverHttps:l.httpOverHttp,t=n(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:o};t=s?new c.Agent(e):new a.Agent(e),this._agent=t}return t||(t=s?c.globalAgent:a.globalAgent),s&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){e=Math.min(10,e);const t=5*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,n)=>i(this,void 0,void 0,(function*(){const s=e.message.statusCode||0,o={statusCode:s,result:null,headers:{}};let i,a;s===d.NotFound&&r(o);try{a=yield e.readBody(),a&&a.length>0&&(i=t&&t.deserializeDates?JSON.parse(a,(function(e,t){if("string"==typeof t){const e=new Date(t);if(!isNaN(e.valueOf()))return e}return t})):JSON.parse(a),o.result=i),o.headers=e.message.headers}catch(e){}if(s>299){let e;e=i&&i.message?i.message:a&&a.length>0?a:`Failed request: (${s})`;const t=new y(e,s);t.result=o.result,n(t)}else r(o)}))))}))}};const w=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})},7960:(e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;const t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=Number(e.port):"http:"===e.protocol?r=80:"https:"===e.protocol&&(r=443);const n=[e.hostname.toUpperCase()];"number"==typeof r&&n.push(`${n[0]}:${r}`);for(const e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(n.some((t=>t===e)))return!0;return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.checkBypass=t.getProxyUrl=void 0,t.getProxyUrl=function(e){const t="https:"===e.protocol;if(r(e))return;const n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return n?new URL(n):void 0},t.checkBypass=r},7564:function(e,t,r){"use strict";var n,s=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&s(t,e,r);return o(t,e),t},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rename=t.readlink=t.readdir=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const c=i(r(7147)),u=i(r(1017));function l(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid()}n=c.promises,t.chmod=n.chmod,t.copyFile=n.copyFile,t.lstat=n.lstat,t.mkdir=n.mkdir,t.readdir=n.readdir,t.readlink=n.readlink,t.rename=n.rename,t.rmdir=n.rmdir,t.stat=n.stat,t.symlink=n.symlink,t.unlink=n.unlink,t.IS_WINDOWS="win32"===process.platform,t.exists=function(e){return a(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if("ENOENT"===e.code)return!1;throw e}return!0}))},t.isDirectory=function(e,r=!1){return a(this,void 0,void 0,(function*(){return(r?yield t.stat(e):yield t.lstat(e)).isDirectory()}))},t.isRooted=function(e){if(!(e=function(e){return e=e||"",t.IS_WINDOWS?(e=e.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):e.replace(/\/\/+/g,"/")}(e)))throw new Error('isRooted() parameter "p" cannot be empty');return t.IS_WINDOWS?e.startsWith("\\")||/^[A-Z]:/i.test(e):e.startsWith("/")},t.tryGetExecutablePath=function(e,r){return a(this,void 0,void 0,(function*(){let n;try{n=yield t.stat(e)}catch(t){"ENOENT"!==t.code&&console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}if(n&&n.isFile())if(t.IS_WINDOWS){const t=u.extname(e).toUpperCase();if(r.some((e=>e.toUpperCase()===t)))return e}else if(l(n))return e;const s=e;for(const o of r){e=s+o,n=void 0;try{n=yield t.stat(e)}catch(t){"ENOENT"!==t.code&&console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}if(n&&n.isFile()){if(t.IS_WINDOWS){try{const r=u.dirname(e),n=u.basename(e).toUpperCase();for(const s of yield t.readdir(r))if(n===s.toUpperCase()){e=u.join(r,s);break}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}if(l(n))return e}}return""}))},t.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}},484:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const a=r(9491),c=o(r(2081)),u=o(r(1017)),l=r(3837),d=o(r(7564)),h=l.promisify(c.exec),f=l.promisify(c.execFile);function p(e){return i(this,void 0,void 0,(function*(){if(d.IS_WINDOWS){if(/[*"<>|]/.test(e))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=d.getCmdPath();(yield d.isDirectory(e,!0))?yield h(`${t} /s /c "rd /s /q "%inputPath%""`,{env:{inputPath:e}}):yield h(`${t} /s /c "del /f /a "%inputPath%""`,{env:{inputPath:e}})}catch(e){if("ENOENT"!==e.code)throw e}try{yield d.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield d.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield f("rm",["-rf",`${e}`]):yield d.unlink(e)}}))}function m(e){return i(this,void 0,void 0,(function*(){a.ok(e,"a path argument must be provided"),yield d.mkdir(e,{recursive:!0})}))}function g(e){return i(this,void 0,void 0,(function*(){if(!e)throw new Error("parameter 'tool' is required");const t=[];if(d.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(d.isRooted(e)){const r=yield d.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(u.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(u.delimiter))e&&r.push(e);const n=[];for(const s of r){const r=yield d.tryGetExecutablePath(u.join(s,e),t);r&&n.push(r)}return n}))}function y(e,t,r,n){return i(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield m(t);const s=yield d.readdir(e);for(const o of s){const s=`${e}/${o}`,i=`${t}/${o}`;(yield d.lstat(s)).isDirectory()?yield y(s,i,r,n):yield v(s,i,n)}yield d.chmod(t,(yield d.stat(e)).mode)}))}function v(e,t,r){return i(this,void 0,void 0,(function*(){if((yield d.lstat(e)).isSymbolicLink()){try{yield d.lstat(t),yield d.unlink(t)}catch(e){"EPERM"===e.code&&(yield d.chmod(t,"0666"),yield d.unlink(t))}const r=yield d.readlink(e);yield d.symlink(r,t,d.IS_WINDOWS?"junction":null)}else(yield d.exists(t))&&!r||(yield d.copyFile(e,t))}))}t.cp=function(e,t,r={}){return i(this,void 0,void 0,(function*(){const{force:n,recursive:s,copySourceDirectory:o}=function(e){return{force:null==e.force||e.force,recursive:Boolean(e.recursive),copySourceDirectory:null==e.copySourceDirectory||Boolean(e.copySourceDirectory)}}(r),i=(yield d.exists(t))?yield d.stat(t):null;if(i&&i.isFile()&&!n)return;const a=i&&i.isDirectory()&&o?u.join(t,u.basename(e)):t;if(!(yield d.exists(e)))throw new Error(`no such file or directory: ${e}`);if((yield d.stat(e)).isDirectory()){if(!s)throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield y(e,a,0,n)}else{if(""===u.relative(e,a))throw new Error(`'${a}' and '${e}' are the same file`);yield v(e,a,n)}}))},t.mv=function(e,t,r={}){return i(this,void 0,void 0,(function*(){if(yield d.exists(t)){let n=!0;if((yield d.isDirectory(t))&&(t=u.join(t,u.basename(e)),n=yield d.exists(t)),n){if(null!=r.force&&!r.force)throw new Error("Destination already exists");yield p(t)}}yield m(u.dirname(t)),yield d.rename(e,t)}))},t.rmRF=p,t.mkdirP=m,t.which=function e(t,r){return i(this,void 0,void 0,(function*(){if(!t)throw new Error("parameter 'tool' is required");if(r){const r=yield e(t,!1);if(!r)throw d.IS_WINDOWS?new Error(`Unable to locate executable file: ${t}. 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.`):new Error(`Unable to locate executable file: ${t}. 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.`);return r}const n=yield g(t);return n&&n.length>0?n[0]:""}))},t.findInPath=g},3361:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t._readLinuxVersionFile=t._getOsVersion=t._findMatch=void 0;const a=o(r(6625)),c=r(2225),u=r(2037),l=r(2081),d=r(7147);t._findMatch=function(t,r,n,s){return i(this,void 0,void 0,(function*(){const o=u.platform();let i,l,d;for(const i of n){const n=i.version;if(c.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||i.stable===r)&&(d=i.files.find((t=>{c.debug(`${t.arch}===${s} && ${t.platform}===${o}`);let r=t.arch===s&&t.platform===o;if(r&&t.platform_version){const n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version)}return r})),d)){c.debug(`matched ${i.version}`),l=i;break}}return l&&d&&(i=Object.assign({},l),i.files=[d]),i}))},t._getOsVersion=function(){const t=u.platform();let r="";if("darwin"===t)r=l.execSync("sw_vers -productVersion").toString();else if("linux"===t){const t=e.exports._readLinuxVersionFile();if(t){const e=t.split("\n");for(const t of e){const e=t.split("=");if(2===e.length&&("VERSION_ID"===e[0].trim()||"DISTRIB_RELEASE"===e[0].trim())){r=e[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return r},t._readLinuxVersionFile=function(){const e="/etc/lsb-release",t="/etc/os-release";let r="";return d.existsSync(e)?r=d.readFileSync(e).toString():d.existsSync(t)&&(r=d.readFileSync(t).toString()),r}},1804:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.RetryHelper=void 0;const a=o(r(2225));t.RetryHelper=class{constructor(e,t,r){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(t),this.maxSeconds=Math.floor(r),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,t){return i(this,void 0,void 0,(function*(){let r=1;for(;rsetTimeout(t,1e3*e)))}))}}},4392:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateVersions=t.isExplicitVersion=t.findFromManifest=t.getManifestFromRepo=t.findAllVersions=t.find=t.cacheFile=t.cacheDir=t.extractZip=t.extractXar=t.extractTar=t.extract7z=t.downloadTool=t.HTTPError=void 0;const c=o(r(2225)),u=o(r(484)),l=o(r(7147)),d=o(r(3361)),h=o(r(2037)),f=o(r(1017)),p=o(r(4635)),m=o(r(6625)),g=o(r(2781)),y=o(r(3837)),v=r(9491),w=a(r(1171)),E=r(27),b=r(1804);class O extends Error{constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}t.HTTPError=O;const _="win32"===process.platform,T="darwin"===process.platform;function R(e,t){const r=[];t=t||h.arch();const n=f.join(I(),e);if(l.existsSync(n)){const e=l.readdirSync(n);for(const s of e)if(x(s)){const e=f.join(n,s,t||"");l.existsSync(e)&&l.existsSync(`${e}.complete`)&&r.push(s)}}return r}function C(e){return i(this,void 0,void 0,(function*(){return e||(e=f.join(P(),w.default())),yield u.mkdirP(e),e}))}function S(e,t,r){return i(this,void 0,void 0,(function*(){const n=f.join(I(),e,m.clean(t)||t,r||"");c.debug(`destination ${n}`);const s=`${n}.complete`;return yield u.rmRF(n),yield u.rmRF(s),yield u.mkdirP(n),n}))}function k(e,t,r){const n=`${f.join(I(),e,m.clean(t)||t,r||"")}.complete`;l.writeFileSync(n,""),c.debug("finished caching tool")}function x(e){const t=m.clean(e)||"";c.debug(`isExplicit: ${t}`);const r=null!=m.valid(t);return c.debug(`explicit? ${r}`),r}function A(e,t){let r="";c.debug(`evaluating ${e.length} versions`);for(let n=(e=e.sort(((e,t)=>m.gt(e,t)?1:-1))).length-1;n>=0;n--){const s=e[n];if(m.satisfies(s,t)){r=s;break}}return r?c.debug(`matched: ${r}`):c.debug("match not found"),r}function I(){const e=process.env.RUNNER_TOOL_CACHE||"";return v.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function P(){const e=process.env.RUNNER_TEMP||"";return v.ok(e,"Expected RUNNER_TEMP to be defined"),e}function N(e,t){const r=global[e];return void 0!==r?r:t}t.downloadTool=function(e,t,r,n){return i(this,void 0,void 0,(function*(){t=t||f.join(P(),w.default()),yield u.mkdirP(f.dirname(t)),c.debug(`Downloading ${e}`),c.debug(`Destination ${t}`);const s=N("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=N("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),a=new b.RetryHelper(3,s,o);return yield a.execute((()=>i(this,void 0,void 0,(function*(){return yield function(e,t,r,n){return i(this,void 0,void 0,(function*(){if(l.existsSync(t))throw new Error(`Destination file path ${t} already exists`);const s=new p.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(c.debug("set auth"),void 0===n&&(n={}),n.authorization=r);const o=yield s.get(e,n);if(200!==o.message.statusCode){const t=new O(o.message.statusCode);throw c.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t}const i=y.promisify(g.pipeline),a=N("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>o.message))();let d=!1;try{return yield i(a,l.createWriteStream(t)),c.debug("download complete"),d=!0,t}finally{if(!d){c.debug("download failed");try{yield u.rmRF(t)}catch(e){c.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,n)}))),(e=>!(e instanceof O&&e.httpStatusCode&&e.httpStatusCode<500&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},t.extract7z=function(e,t,r){return i(this,void 0,void 0,(function*(){v.ok(_,"extract7z() not supported on current OS"),v.ok(e,'parameter "file" is required'),t=yield C(t);const n=process.cwd();if(process.chdir(t),r)try{const t=["x",c.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],s={silent:!0};yield E.exec(`"${r}"`,t,s)}finally{process.chdir(n)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${f.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Source '${e.replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Target '${t.replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`],s={silent:!0};try{const e=yield u.which("powershell",!0);yield E.exec(`"${e}"`,r,s)}finally{process.chdir(n)}}return t}))},t.extractTar=function(e,t,r="xz"){return i(this,void 0,void 0,(function*(){if(!e)throw new Error("parameter 'file' is required");t=yield C(t),c.debug("Checking tar --version");let n="";yield E.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}}),c.debug(n.trim());const s=n.toUpperCase().includes("GNU TAR");let o;o=r instanceof Array?r:[r],c.isDebug()&&!r.includes("v")&&o.push("-v");let i=t,a=e;return _&&s&&(o.push("--force-local"),i=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),s&&(o.push("--warning=no-unknown-keyword"),o.push("--overwrite")),o.push("-C",i,"-f",a),yield E.exec("tar",o),t}))},t.extractXar=function(e,t,r=[]){return i(this,void 0,void 0,(function*(){let n;v.ok(T,"extractXar() not supported on current OS"),v.ok(e,'parameter "file" is required'),t=yield C(t),n=r instanceof Array?r:[r],n.push("-x","-C",t,"-f",e),c.isDebug()&&n.push("-v");const s=yield u.which("xar",!0);var o;return yield E.exec(`"${s}"`,(o=n,Array.from(new Set(o)))),t}))},t.extractZip=function(e,t){return i(this,void 0,void 0,(function*(){if(!e)throw new Error("parameter 'file' is required");return t=yield C(t),_?yield function(e,t){return i(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield u.which("pwsh",!1);if(s){const e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];c.debug(`Using pwsh at path: ${s}`),yield E.exec(`"${s}"`,e)}else{const e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],t=yield u.which("powershell",!0);c.debug(`Using powershell at path: ${t}`),yield E.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return i(this,void 0,void 0,(function*(){const r=yield u.which("unzip",!0),n=[e];c.isDebug()||n.unshift("-q"),n.unshift("-o"),yield E.exec(`"${r}"`,n,{cwd:t})}))}(e,t),t}))},t.cacheDir=function(e,t,r,n){return i(this,void 0,void 0,(function*(){if(r=m.clean(r)||r,n=n||h.arch(),c.debug(`Caching tool ${t} ${r} ${n}`),c.debug(`source dir: ${e}`),!l.statSync(e).isDirectory())throw new Error("sourceDir is not a directory");const s=yield S(t,r,n);for(const t of l.readdirSync(e)){const r=f.join(e,t);yield u.cp(r,s,{recursive:!0})}return k(t,r,n),s}))},t.cacheFile=function(e,t,r,n,s){return i(this,void 0,void 0,(function*(){if(n=m.clean(n)||n,s=s||h.arch(),c.debug(`Caching tool ${r} ${n} ${s}`),c.debug(`source file: ${e}`),!l.statSync(e).isFile())throw new Error("sourceFile is not a file");const o=yield S(r,n,s),i=f.join(o,t);return c.debug(`destination file ${i}`),yield u.cp(e,i),k(r,n,s),o}))},t.find=function(e,t,r){if(!e)throw new Error("toolName parameter is required");if(!t)throw new Error("versionSpec parameter is required");r=r||h.arch(),x(t)||(t=A(R(e,r),t));let n="";if(t){t=m.clean(t)||"";const s=f.join(I(),e,t,r);c.debug(`checking cache: ${s}`),l.existsSync(s)&&l.existsSync(`${s}.complete`)?(c.debug(`Found tool in cache ${e} ${t} ${r}`),n=s):c.debug("not found")}return n},t.findAllVersions=R,t.getManifestFromRepo=function(e,t,r,n="master"){return i(this,void 0,void 0,(function*(){let s=[];const o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,i=new p.HttpClient("tool-cache"),a={};r&&(c.debug("set auth"),a.authorization=r);const u=yield i.getJson(o,a);if(!u.result)return s;let l="";for(const e of u.result.tree)if("versions-manifest.json"===e.path){l=e.url;break}a.accept="application/vnd.github.VERSION.raw";let d=yield(yield i.get(l,a)).readBody();if(d){d=d.replace(/^\uFEFF/,"");try{s=JSON.parse(d)}catch(e){c.debug("Invalid json")}}return s}))},t.findFromManifest=function(e,t,r,n=h.arch()){return i(this,void 0,void 0,(function*(){return yield d._findMatch(e,t,r,n)}))},t.isExplicitVersion=x,t.evaluateVersions=A},1513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(3593))},3593:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=r(7147),o=n(r(5158)).default("@kwsites/file-exists");t.exists=function(e,r=t.READABLE){return function(e,t,r){o("checking %s",e);try{const n=s.statSync(e);return n.isFile()&&t?(o("[OK] path represents a file"),!0):n.isDirectory()&&r?(o("[OK] path represents a directory"),!0):(o("[FAIL] path represents something other than a file or directory"),!1)}catch(e){if("ENOENT"===e.code)return o("[FAIL] path is not accessible: %o",e),!1;throw o("[FATAL] %o",e),e}}(e,(r&t.FILE)>0,(r&t.FOLDER)>0)},t.FILE=1,t.FOLDER=2,t.READABLE=t.FILE+t.FOLDER},2443:(e,t)=>{"use strict";function r(){let e,t,r="pending";return{promise:new Promise(((r,n)=>{e=r,t=n})),done(t){"pending"===r&&(r="resolved",e(t))},fail(e){"pending"===r&&(r="rejected",t(e))},get fulfilled(){return"pending"!==r},get status(){return r}}}Object.defineProperty(t,"__esModule",{value:!0}),t.createDeferred=t.deferred=void 0,t.deferred=r,t.createDeferred=r,t.default=r},1227:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(s=n))})),t.splice(s,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2447)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2447:(e,t,r)=>{e.exports=function(e){function t(e){let r,s,o,i=null;function a(...e){if(!a.enabled)return;const n=a,s=Number(new Date),o=s-(r||s);n.diff=o,n.prev=r,n.curr=s,r=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,s)=>{if("%%"===r)return"%";i++;const o=t.formatters[s];if("function"==typeof o){const t=e[i];r=o.call(n,t),e.splice(i,1),i--}return r})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),s=n.length;for(r=0;r{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(1227):e.exports=r(39)},39:(e,t,r)=>{const n=r(6224),s=r(3837);t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=r(2130);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e}),{}),e.exports=r(2447)(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,s.inspect(e,this.inspectOpts)}},6560:e=>{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),s=t.indexOf("--");return-1!==n&&(-1===s||n{var t=1e3,r=60*t,n=60*r,s=24*n;function o(e,t,r,n){var s=t>=1.5*r;return Math.round(e/r)+" "+n+(s?"s":"")}e.exports=function(e,i){i=i||{};var a,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var i=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*n;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===u&&isFinite(e))return i.long?(a=e,(c=Math.abs(a))>=s?o(a,c,s,"day"):c>=n?o(a,c,n,"hour"):c>=r?o(a,c,r,"minute"):c>=t?o(a,c,t,"second"):a+" ms"):function(e){var o=Math.abs(e);return o>=s?Math.round(e/s)+"d":o>=n?Math.round(e/n)+"h":o>=r?Math.round(e/r)+"m":o>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6625:(e,t)=>{var r;t=e.exports=d,r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var n=Number.MAX_SAFE_INTEGER||9007199254740991,s=t.re=[],o=t.src=[],i=t.tokens={},a=0;function c(e){i[e]=a++}c("NUMERICIDENTIFIER"),o[i.NUMERICIDENTIFIER]="0|[1-9]\\d*",c("NUMERICIDENTIFIERLOOSE"),o[i.NUMERICIDENTIFIERLOOSE]="[0-9]+",c("NONNUMERICIDENTIFIER"),o[i.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",c("MAINVERSION"),o[i.MAINVERSION]="("+o[i.NUMERICIDENTIFIER]+")\\.("+o[i.NUMERICIDENTIFIER]+")\\.("+o[i.NUMERICIDENTIFIER]+")",c("MAINVERSIONLOOSE"),o[i.MAINVERSIONLOOSE]="("+o[i.NUMERICIDENTIFIERLOOSE]+")\\.("+o[i.NUMERICIDENTIFIERLOOSE]+")\\.("+o[i.NUMERICIDENTIFIERLOOSE]+")",c("PRERELEASEIDENTIFIER"),o[i.PRERELEASEIDENTIFIER]="(?:"+o[i.NUMERICIDENTIFIER]+"|"+o[i.NONNUMERICIDENTIFIER]+")",c("PRERELEASEIDENTIFIERLOOSE"),o[i.PRERELEASEIDENTIFIERLOOSE]="(?:"+o[i.NUMERICIDENTIFIERLOOSE]+"|"+o[i.NONNUMERICIDENTIFIER]+")",c("PRERELEASE"),o[i.PRERELEASE]="(?:-("+o[i.PRERELEASEIDENTIFIER]+"(?:\\."+o[i.PRERELEASEIDENTIFIER]+")*))",c("PRERELEASELOOSE"),o[i.PRERELEASELOOSE]="(?:-?("+o[i.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+o[i.PRERELEASEIDENTIFIERLOOSE]+")*))",c("BUILDIDENTIFIER"),o[i.BUILDIDENTIFIER]="[0-9A-Za-z-]+",c("BUILD"),o[i.BUILD]="(?:\\+("+o[i.BUILDIDENTIFIER]+"(?:\\."+o[i.BUILDIDENTIFIER]+")*))",c("FULL"),c("FULLPLAIN"),o[i.FULLPLAIN]="v?"+o[i.MAINVERSION]+o[i.PRERELEASE]+"?"+o[i.BUILD]+"?",o[i.FULL]="^"+o[i.FULLPLAIN]+"$",c("LOOSEPLAIN"),o[i.LOOSEPLAIN]="[v=\\s]*"+o[i.MAINVERSIONLOOSE]+o[i.PRERELEASELOOSE]+"?"+o[i.BUILD]+"?",c("LOOSE"),o[i.LOOSE]="^"+o[i.LOOSEPLAIN]+"$",c("GTLT"),o[i.GTLT]="((?:<|>)?=?)",c("XRANGEIDENTIFIERLOOSE"),o[i.XRANGEIDENTIFIERLOOSE]=o[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",c("XRANGEIDENTIFIER"),o[i.XRANGEIDENTIFIER]=o[i.NUMERICIDENTIFIER]+"|x|X|\\*",c("XRANGEPLAIN"),o[i.XRANGEPLAIN]="[v=\\s]*("+o[i.XRANGEIDENTIFIER]+")(?:\\.("+o[i.XRANGEIDENTIFIER]+")(?:\\.("+o[i.XRANGEIDENTIFIER]+")(?:"+o[i.PRERELEASE]+")?"+o[i.BUILD]+"?)?)?",c("XRANGEPLAINLOOSE"),o[i.XRANGEPLAINLOOSE]="[v=\\s]*("+o[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[i.XRANGEIDENTIFIERLOOSE]+")(?:"+o[i.PRERELEASELOOSE]+")?"+o[i.BUILD]+"?)?)?",c("XRANGE"),o[i.XRANGE]="^"+o[i.GTLT]+"\\s*"+o[i.XRANGEPLAIN]+"$",c("XRANGELOOSE"),o[i.XRANGELOOSE]="^"+o[i.GTLT]+"\\s*"+o[i.XRANGEPLAINLOOSE]+"$",c("COERCE"),o[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",c("COERCERTL"),s[i.COERCERTL]=new RegExp(o[i.COERCE],"g"),c("LONETILDE"),o[i.LONETILDE]="(?:~>?)",c("TILDETRIM"),o[i.TILDETRIM]="(\\s*)"+o[i.LONETILDE]+"\\s+",s[i.TILDETRIM]=new RegExp(o[i.TILDETRIM],"g"),c("TILDE"),o[i.TILDE]="^"+o[i.LONETILDE]+o[i.XRANGEPLAIN]+"$",c("TILDELOOSE"),o[i.TILDELOOSE]="^"+o[i.LONETILDE]+o[i.XRANGEPLAINLOOSE]+"$",c("LONECARET"),o[i.LONECARET]="(?:\\^)",c("CARETTRIM"),o[i.CARETTRIM]="(\\s*)"+o[i.LONECARET]+"\\s+",s[i.CARETTRIM]=new RegExp(o[i.CARETTRIM],"g"),c("CARET"),o[i.CARET]="^"+o[i.LONECARET]+o[i.XRANGEPLAIN]+"$",c("CARETLOOSE"),o[i.CARETLOOSE]="^"+o[i.LONECARET]+o[i.XRANGEPLAINLOOSE]+"$",c("COMPARATORLOOSE"),o[i.COMPARATORLOOSE]="^"+o[i.GTLT]+"\\s*("+o[i.LOOSEPLAIN]+")$|^$",c("COMPARATOR"),o[i.COMPARATOR]="^"+o[i.GTLT]+"\\s*("+o[i.FULLPLAIN]+")$|^$",c("COMPARATORTRIM"),o[i.COMPARATORTRIM]="(\\s*)"+o[i.GTLT]+"\\s*("+o[i.LOOSEPLAIN]+"|"+o[i.XRANGEPLAIN]+")",s[i.COMPARATORTRIM]=new RegExp(o[i.COMPARATORTRIM],"g"),c("HYPHENRANGE"),o[i.HYPHENRANGE]="^\\s*("+o[i.XRANGEPLAIN]+")\\s+-\\s+("+o[i.XRANGEPLAIN]+")\\s*$",c("HYPHENRANGELOOSE"),o[i.HYPHENRANGELOOSE]="^\\s*("+o[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+o[i.XRANGEPLAINLOOSE]+")\\s*$",c("STAR"),o[i.STAR]="(<|>)?=?\\s*\\*";for(var u=0;u256)return null;if(!(t.loose?s[i.LOOSE]:s[i.FULL]).test(e))return null;try{return new d(e,t)}catch(e){return null}}function d(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof d))return new d(e,t);r("SemVer",e,t),this.options=t,this.loose=!!t.loose;var o=e.trim().match(t.loose?s[i.LOOSE]:s[i.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new d(e,r).inc(t,n).version}catch(e){return null}},t.diff=function(e,t){if(y(e,t))return null;var r=l(e),n=l(t),s="";if(r.prerelease.length||n.prerelease.length){s="pre";var o="prerelease"}for(var i in r)if(("major"===i||"minor"===i||"patch"===i)&&r[i]!==n[i])return s+i;return o},t.compareIdentifiers=f;var h=/^[0-9]+$/;function f(e,t){var r=h.test(e),n=h.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e0}function g(e,t,r){return p(e,t,r)<0}function y(e,t,r){return 0===p(e,t,r)}function v(e,t,r){return 0!==p(e,t,r)}function w(e,t,r){return p(e,t,r)>=0}function E(e,t,r){return p(e,t,r)<=0}function b(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return y(e,r,n);case"!=":return v(e,r,n);case">":return m(e,r,n);case">=":return w(e,r,n);case"<":return g(e,r,n);case"<=":return E(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}function O(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof O){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof O))return new O(e,t);r("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===_?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}t.rcompareIdentifiers=function(e,t){return f(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=p,t.compareLoose=function(e,t){return p(e,t,!0)},t.compareBuild=function(e,t,r){var n=new d(e,r),s=new d(t,r);return n.compare(s)||n.compareBuild(s)},t.rcompare=function(e,t,r){return p(t,e,r)},t.sort=function(e,r){return e.sort((function(e,n){return t.compareBuild(e,n,r)}))},t.rsort=function(e,r){return e.sort((function(e,n){return t.compareBuild(n,e,r)}))},t.gt=m,t.lt=g,t.eq=y,t.neq=v,t.gte=w,t.lte=E,t.cmp=b,t.Comparator=O;var _={};function T(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof T)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new T(e.raw,t);if(e instanceof O)return new T(e.value,t);if(!(this instanceof T))return new T(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function R(e,t){for(var r=!0,n=e.slice(),s=n.pop();r&&n.length;)r=n.every((function(e){return s.intersects(e,t)})),s=n.pop();return r}function C(e){return!e||"x"===e.toLowerCase()||"*"===e}function S(e,t,r,n,s,o,i,a,c,u,l,d,h){return((t=C(r)?"":C(n)?">="+r+".0.0":C(s)?">="+r+"."+n+".0":">="+t)+" "+(a=C(c)?"":C(u)?"<"+(+c+1)+".0.0":C(l)?"<"+c+"."+(+u+1)+".0":d?"<="+c+"."+u+"."+l+"-"+d:"<="+a)).trim()}function k(e,t,n){for(var s=0;s0){var o=e[s].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function x(e,t,r){try{t=new T(t,r)}catch(e){return!1}return t.test(e)}function A(e,t,r,n){var s,o,i,a,c;switch(e=new d(e,n),t=new T(t,n),r){case">":s=m,o=E,i=g,a=">",c=">=";break;case"<":s=g,o=w,i=m,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(x(e,t,n))return!1;for(var u=0;u=0.0.0")),h=h||e,f=f||e,s(e.semver,h.semver,n)?h=e:i(e.semver,f.semver,n)&&(f=e)})),h.operator===a||h.operator===c)return!1;if((!f.operator||f.operator===a)&&o(e,f.semver))return!1;if(f.operator===c&&i(e,f.semver))return!1}return!0}O.prototype.parse=function(e){var t=this.options.loose?s[i.COMPARATORLOOSE]:s[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new d(r[2],this.options.loose):this.semver=_},O.prototype.toString=function(){return this.value},O.prototype.test=function(e){if(r("Comparator.test",e,this.options.loose),this.semver===_||e===_)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return b(e,this.operator,this.semver,this.options)},O.prototype.intersects=function(e,t){if(!(e instanceof O))throw new TypeError("a Comparator is required");var r;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new T(e.value,t),x(this.value,r,t));if(""===e.operator)return""===e.value||(r=new T(this.value,t),x(e.semver,r,t));var n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),s=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=b(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=b(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||s||o&&i||a||c},t.Range=T,T.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},T.prototype.toString=function(){return this.range},T.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?s[i.HYPHENRANGELOOSE]:s[i.HYPHENRANGE];e=e.replace(n,S),r("hyphen replace",e),e=e.replace(s[i.COMPARATORTRIM],"$1$2$3"),r("comparator trim",e,s[i.COMPARATORTRIM]),e=(e=(e=e.replace(s[i.TILDETRIM],"$1~")).replace(s[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var o=t?s[i.COMPARATORLOOSE]:s[i.COMPARATOR],a=e.split(" ").map((function(e){return function(e,t){return r("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){r("caret",e,t);var n=t.loose?s[i.CARETLOOSE]:s[i.CARET];return e.replace(n,(function(t,n,s,o,i){var a;return r("caret",e,t,n,s,o,i),C(n)?a="":C(s)?a=">="+n+".0.0 <"+(+n+1)+".0.0":C(o)?a="0"===n?">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0":">="+n+"."+s+".0 <"+(+n+1)+".0.0":i?(r("replaceCaret pr",i),a="0"===n?"0"===s?">="+n+"."+s+"."+o+"-"+i+" <"+n+"."+s+"."+(+o+1):">="+n+"."+s+"."+o+"-"+i+" <"+n+"."+(+s+1)+".0":">="+n+"."+s+"."+o+"-"+i+" <"+(+n+1)+".0.0"):(r("no pr"),a="0"===n?"0"===s?">="+n+"."+s+"."+o+" <"+n+"."+s+"."+(+o+1):">="+n+"."+s+"."+o+" <"+n+"."+(+s+1)+".0":">="+n+"."+s+"."+o+" <"+(+n+1)+".0.0"),r("caret return",a),a}))}(e,t)})).join(" ")}(e,t),r("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var n=t.loose?s[i.TILDELOOSE]:s[i.TILDE];return e.replace(n,(function(t,n,s,o,i){var a;return r("tilde",e,t,n,s,o,i),C(n)?a="":C(s)?a=">="+n+".0.0 <"+(+n+1)+".0.0":C(o)?a=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0":i?(r("replaceTilde pr",i),a=">="+n+"."+s+"."+o+"-"+i+" <"+n+"."+(+s+1)+".0"):a=">="+n+"."+s+"."+o+" <"+n+"."+(+s+1)+".0",r("tilde return",a),a}))}(e,t)})).join(" ")}(e,t),r("tildes",e),e=function(e,t){return r("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var n=t.loose?s[i.XRANGELOOSE]:s[i.XRANGE];return e.replace(n,(function(n,s,o,i,a,c){r("xRange",e,n,s,o,i,a,c);var u=C(o),l=u||C(i),d=l||C(a),h=d;return"="===s&&h&&(s=""),c=t.includePrerelease?"-0":"",u?n=">"===s||"<"===s?"<0.0.0-0":"*":s&&h?(l&&(i=0),a=0,">"===s?(s=">=",l?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===s&&(s="<",l?o=+o+1:i=+i+1),n=s+o+"."+i+"."+a+c):l?n=">="+o+".0.0"+c+" <"+(+o+1)+".0.0"+c:d&&(n=">="+o+"."+i+".0"+c+" <"+o+"."+(+i+1)+".0"+c),r("xRange return",n),n}))}(e,t)})).join(" ")}(e,t),r("xrange",e),e=function(e,t){return r("replaceStars",e,t),e.trim().replace(s[i.STAR],"")}(e,t),r("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(o)}))),a.map((function(e){return new O(e,this.options)}),this)},T.prototype.intersects=function(e,t){if(!(e instanceof T))throw new TypeError("a Range is required");return this.set.some((function(r){return R(r,t)&&e.set.some((function(e){return R(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new T(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},T.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}for(var t=0;t":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":r&&!m(r,t)||(r=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return r&&e.test(r)?r:null},t.validRange=function(e,t){try{return new T(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,r){return A(e,t,"<",r)},t.gtr=function(e,t,r){return A(e,t,">",r)},t.outside=A,t.prerelease=function(e,t){var r=l(e,t);return r&&r.prerelease.length?r.prerelease:null},t.intersects=function(e,t,r){return e=new T(e,r),t=new T(t,r),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;var r=null;if((t=t||{}).rtl){for(var n;(n=s[i.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&n.index+n[0].length===r.index+r[0].length||(r=n),s[i.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;s[i.COERCERTL].lastIndex=-1}else r=e.match(s[i.COERCE]);return null===r?null:l(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}},6998:(e,t,r)=>{var n,s,o,i,a,c,u,l,d,h=Object.create,f=Object.defineProperty,p=Object.defineProperties,m=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,O=(e,t,r)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_=(e,t)=>{for(var r in t||(t={}))E.call(t,r)&&O(e,r,t[r]);if(v)for(var r of v(t))b.call(t,r)&&O(e,r,t[r]);return e},T=(e,t)=>p(e,g(t)),R=e=>f(e,"__esModule",{value:!0}),C=(e,t)=>function(){return e&&(t=(0,e[y(e)[0]])(e=0)),t},S=(e,t)=>{for(var r in t)f(e,r,{get:t[r],enumerable:!0})},k=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of y(t))E.call(e,s)||!r&&"default"===s||f(e,s,{get:()=>t[s],enumerable:!(n=m(t,s))||n.enumerable});return e},x=(e=>(t,r)=>e&&e.get(t)||(r=k(R({}),t,1),e&&e.set(t,r),r))("undefined"!=typeof WeakMap?new WeakMap:0),A=(e,t,r)=>new Promise(((n,s)=>{var o=e=>{try{a(r.next(e))}catch(e){s(e)}},i=e=>{try{a(r.throw(e))}catch(e){s(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,i);a((r=r.apply(e,t)).next())})),I=C({"src/lib/errors/git-error.ts"(){n=class extends Error{constructor(e,t){super(t),this.task=e,Object.setPrototypeOf(this,new.target.prototype)}}}}),P=C({"src/lib/errors/git-response-error.ts"(){I(),s=class extends n{constructor(e,t){super(void 0,t||String(e)),this.git=e}}}}),N=C({"src/lib/errors/git-construct-error.ts"(){I(),o=class extends n{constructor(e,t){super(void 0,t),this.config=e}}}}),L=C({"src/lib/errors/git-plugin-error.ts"(){I(),i=class extends n{constructor(e,t,r){super(e,r),this.task=e,this.plugin=t,Object.setPrototypeOf(this,new.target.prototype)}}}}),$=C({"src/lib/errors/task-configuration-error.ts"(){I(),a=class extends n{constructor(e){super(void 0,e)}}}});function M(e){return"function"==typeof e?e:l}function j(e){return"function"==typeof e&&e!==l}function D(e,t){const r=e.indexOf(t);return r<=0?[e,""]:[e.substr(0,r),e.substr(r+1)]}function F(e,t=0){return q(e)&&e.length>t?e[t]:void 0}function U(e,t=0){if(q(e)&&e.length>t)return e[e.length-1-t]}function q(e){return!(!e||"number"!=typeof e.length)}function B(e="",t=!0,r="\n"){return e.split(r).reduce(((e,r)=>{const n=t?r.trim():r;return n&&e.push(n),e}),[])}function G(e,t){return B(e,!0).map((e=>t(e)))}function H(e){return(0,c.exists)(e,c.FOLDER)}function V(e,t){return Array.isArray(e)?e.includes(t)||e.push(t):e.add(t),t}function z(e,t){return Array.isArray(e)&&!e.includes(t)&&e.push(t),e}function W(e,t){if(Array.isArray(e)){const r=e.indexOf(t);r>=0&&e.splice(r,1)}else e.delete(t);return t}function X(e){return Array.isArray(e)?e:[e]}function Y(e){return X(e).map(String)}function J(e,t=0){if(null==e)return t;const r=parseInt(e,10);return isNaN(r)?t:r}function K(e,t){const r=[];for(let n=0,s=e.length;nt in e?{[t]:e[t]}:{})))}function ee(e=0){return new Promise((t=>setTimeout(t,e)))}var te,re,ne,se,oe,ie=C({"src/lib/utils/util.ts"(){c=r(1513),u="\0",l=()=>{},d=Object.prototype.toString.call.bind(Object.prototype.toString)}});function ae(e,t,r){return t(e)?e:arguments.length>2?r:void 0}function ce(e,t){return/number|string|boolean/.test(typeof e)&&(!t||!t.includes(typeof e))}function ue(e){return!!e&&"[object Object]"===d(e)}function le(e){return"function"==typeof e}var de,he,fe,pe,me,ge=C({"src/lib/utils/argument-filters.ts"(){ie(),te=e=>Array.isArray(e),re=e=>"string"==typeof e,ne=e=>Array.isArray(e)&&e.every(re),se=e=>re(e)||Array.isArray(e)&&e.every(re),oe=e=>null!=e&&!"number|boolean|function".includes(typeof e)&&(Array.isArray(e)||"string"==typeof e||"number"==typeof e.length)}}),ye=C({"src/lib/utils/exit-codes.ts"(){de=(e=>(e[e.SUCCESS=0]="SUCCESS",e[e.ERROR=1]="ERROR",e[e.UNCLEAN=128]="UNCLEAN",e))(de||{})}}),ve=C({"src/lib/utils/git-output-streams.ts"(){he=class{constructor(e,t){this.stdOut=e,this.stdErr=t}asStrings(){return new he(this.stdOut.toString("utf8"),this.stdErr.toString("utf8"))}}}}),we=C({"src/lib/utils/line-parser.ts"(){fe=class{constructor(e,t){this.matches=[],this.parse=(e,t)=>(this.resetMatches(),!!this._regExp.every(((t,r)=>this.addMatch(t,r,e(r))))&&!1!==this.useMatches(t,this.prepareMatches())),this._regExp=Array.isArray(e)?e:[e],t&&(this.useMatches=t)}useMatches(e,t){throw new Error("LineParser:useMatches not implemented")}resetMatches(){this.matches.length=0}prepareMatches(){return this.matches}addMatch(e,t,r){const n=r&&e.exec(r);return n&&this.pushMatch(t,n),!!n}pushMatch(e,t){this.matches.push(...t.slice(1))}},pe=class extends fe{addMatch(e,t,r){return/^remote:\s/.test(String(r))&&super.addMatch(e,t,r)}pushMatch(e,t){(e>0||t.length>1)&&super.pushMatch(e,t)}}}});function Ee(...e){const t=process.cwd(),r=Object.assign(_({baseDir:t},me),...e.filter((e=>"object"==typeof e&&e)));return r.baseDir=r.baseDir||t,r}var be=C({"src/lib/utils/simple-git-options.ts"(){me={binary:"git",maxConcurrentProcesses:5,config:[]}}});function Oe(e,t=[]){return ue(e)?Object.keys(e).reduce(((t,r)=>{const n=e[r];return ce(n,["boolean"])?t.push(r+"="+n):t.push(r),t}),t):t}function _e(e,t=0,r=!1){const n=[];for(let r=0,s=t<0?e.length:t;r{for(let s=B(r,n),o=0,i=s.length;o{if(!(o+e>=i))return s[o+e]};t.some((({parse:t})=>t(r,e)))}})),e}var xe=C({"src/lib/utils/task-parser.ts"(){ie()}}),Ae={};S(Ae,{ExitCodes:()=>de,GitOutputStreams:()=>he,LineParser:()=>fe,NOOP:()=>l,NULL:()=>u,RemoteLineParser:()=>pe,append:()=>V,appendTaskOptions:()=>Oe,asArray:()=>X,asFunction:()=>M,asNumber:()=>J,asStringArray:()=>Y,bufferToString:()=>Q,callTaskParser:()=>Se,createInstanceConfig:()=>Ee,delay:()=>ee,filterArray:()=>te,filterFunction:()=>le,filterHasLength:()=>oe,filterPlainObject:()=>ue,filterPrimitives:()=>ce,filterString:()=>re,filterStringArray:()=>ne,filterStringOrStringArray:()=>se,filterType:()=>ae,first:()=>F,folderExists:()=>H,forEachLineWithContent:()=>G,getTrailingOptions:()=>_e,including:()=>z,isUserFunction:()=>j,last:()=>U,objectToString:()=>d,parseStringResponse:()=>ke,pick:()=>Z,prefixedArray:()=>K,remove:()=>W,splitOn:()=>D,toLinesWithContent:()=>B,trailingFunctionArgument:()=>Re,trailingOptionsArgument:()=>Te});var Ie,Pe,Ne,Le=C({"src/lib/utils/index.ts"(){ge(),ye(),ve(),we(),be(),Ce(),xe(),ie()}}),$e={};function Me(e){switch(e){case"bare":return De();case"root":return je()}return{commands:["rev-parse","--is-inside-work-tree"],format:"utf-8",onError:Pe,parser:Ne}}function je(){return{commands:["rev-parse","--git-dir"],format:"utf-8",onError:Pe,parser:e=>/^\.(git)?$/.test(e.trim())}}function De(){return{commands:["rev-parse","--is-bare-repository"],format:"utf-8",onError:Pe,parser:Ne}}S($e,{CheckRepoActions:()=>Ie,checkIsBareRepoTask:()=>De,checkIsRepoRootTask:()=>je,checkIsRepoTask:()=>Me});var Fe,Ue,qe,Be,Ge,He=C({"src/lib/tasks/check-is-repo.ts"(){Le(),Ie=(e=>(e.BARE="bare",e.IN_TREE="tree",e.IS_REPO_ROOT="root",e))(Ie||{}),Pe=({exitCode:e},t,r,n)=>{if(128===e&&function(e){return/(Not a git repository|Kein Git-Repository)/i.test(String(e))}(t))return r(Buffer.from("false"));n(t)},Ne=e=>"true"===e.trim()}}),Ve=C({"src/lib/responses/CleanSummary.ts"(){Le(),Fe=class{constructor(e){this.dryRun=e,this.paths=[],this.files=[],this.folders=[]}},Ue=/^[a-z]+\s*/i,qe=/^[a-z]+\s+[a-z]+\s*/i,Be=/\/$/}}),ze={};function We(e){return{commands:Ge,format:"empty",parser:e}}function Xe(e){return{commands:Ge,format:"empty",parser(){throw"string"==typeof e?new a(e):e}}}function Ye(e,t=!1){return{commands:e,format:"utf-8",parser:e=>t?String(e).trim():e}}function Je(e){return{commands:e,format:"buffer",parser:e=>e}}function Ke(e){return"buffer"===e.format}function Qe(e){return"empty"===e.format||!e.commands.length}S(ze,{EMPTY_COMMANDS:()=>Ge,adhocExecTask:()=>We,configurationErrorTask:()=>Xe,isBufferTask:()=>Ke,isEmptyTask:()=>Qe,straightThroughBufferTask:()=>Je,straightThroughStringTask:()=>Ye});var Ze,et,tt,rt,nt,st=C({"src/lib/tasks/task.ts"(){$(),Ge=[]}}),ot={};function it(e,t){const{cleanMode:r,options:n,valid:s}=function(e){let t,r=[],n={cleanMode:!1,options:!0};return e.replace(/[^a-z]i/g,"").split("").forEach((e=>{var s;!function(e){return"f"===e||"n"===e}(e)?n.options=n.options&&(s=r[r.length]=`-${e}`,/^-[a-z]$/i.test(s)&&nt.has(s.charAt(1))):(t=e,n.cleanMode=!0)})),{cleanMode:t,options:r,valid:n}}(e);return r?s.options?(n.push(...t),n.some(ut)?Xe(Ze):at(r,n)):Xe(tt+JSON.stringify(e)):Xe(et)}function at(e,t){return{commands:["clean",`-${e}`,...t],format:"utf-8",parser:t=>function(e,t){const r=new Fe(e),n=e?qe:Ue;return B(t).forEach((e=>{const t=e.replace(n,"");r.paths.push(t),(Be.test(t)?r.folders:r.files).push(t)})),r}("n"===e,t)}}function ct(e){return Array.isArray(e)&&e.every((e=>nt.has(e)))}function ut(e){return/^-[^\-]/.test(e)?e.indexOf("i")>0:"--interactive"===e}S(ot,{CONFIG_ERROR_INTERACTIVE_MODE:()=>Ze,CONFIG_ERROR_MODE_REQUIRED:()=>et,CONFIG_ERROR_UNKNOWN_OPTION:()=>tt,CleanOptions:()=>rt,cleanTask:()=>at,cleanWithOptionsTask:()=>it,isCleanOptionsArray:()=>ct});var lt,dt=C({"src/lib/tasks/clean.ts"(){Ve(),Le(),st(),Ze="Git clean interactive mode is not supported",et='Git clean mode parameter ("n" or "f") is required',tt="Git clean unknown option found in: ",rt=(e=>(e.DRY_RUN="n",e.FORCE="f",e.IGNORED_INCLUDED="x",e.IGNORED_ONLY="X",e.EXCLUDING="e",e.QUIET="q",e.RECURSIVE="d",e))(rt||{}),nt=new Set(["i",...Y(Object.values(rt))])}});function*ht(e,t=null){const r=e.split("\0");for(let e=0,n=r.length-1;eObject.assign(e,this.values[t])),{})),this._all}addFile(e){if(!(e in this.values)){const t=U(this.files);this.values[e]=t?Object.create(this.values[t]):{},this.files.push(e)}return this.values[e]}addValue(e,t,r){const n=this.addFile(e);n.hasOwnProperty(t)?Array.isArray(n[t])?n[t].push(r):n[t]=[n[t],r]:n[t]=r,this._all=void 0}}}});function mt(e,t){return"string"==typeof e&&ft.hasOwnProperty(e)?e:t}var gt,yt,vt,wt,Et=C({"src/lib/tasks/config.ts"(){pt(),Le(),ft=(e=>(e.system="system",e.global="global",e.local="local",e.worktree="worktree",e))(ft||{})}});function bt(...e){return(new wt).param(...e)}var Ot,_t,Tt=C({"src/lib/tasks/grep.ts"(){Le(),st(),gt=["-h"],yt=Symbol("grepQuery"),wt=class{constructor(){this[vt]=[]}*[(vt=yt,Symbol.iterator)](){for(const e of this[yt])yield e}and(...e){return e.length&&this[yt].push("--and","(",...K(e,"-e"),")"),this}param(...e){return this[yt].push(...K(e,"-e")),this}}}}),Rt={};function Ct(e,t){const r=["reset"];return kt(e)&&r.push(`--${e}`),r.push(...t),Ye(r)}function St(e){if(kt(e))return e;switch(typeof e){case"string":case"undefined":return"soft"}}function kt(e){return _t.includes(e)}S(Rt,{ResetMode:()=>Ot,getResetMode:()=>St,resetTask:()=>Ct});var xt=C({"src/lib/tasks/reset.ts"(){st(),Ot=(e=>(e.MIXED="mixed",e.SOFT="soft",e.HARD="hard",e.MERGE="merge",e.KEEP="keep",e))(Ot||{}),_t=Array.from(Object.values(Ot))}}),At={};S(At,{CheckRepoActions:()=>Ie,CleanOptions:()=>rt,GitConfigScope:()=>ft,GitConstructError:()=>o,GitError:()=>n,GitPluginError:()=>i,GitResponseError:()=>s,ResetMode:()=>Ot,TaskConfigurationError:()=>a,grepQueryBuilder:()=>bt});var It,Pt,Nt=C({"src/lib/api.ts"(){N(),I(),L(),P(),$(),He(),dt(),Et(),Tt(),xt()}}),Lt=C({"src/lib/plugins/command-config-prefixing-plugin.ts"(){Le()}});var $t=C({"src/lib/plugins/completion-detection.plugin.ts"(){It=r(2443),Le(),Pt=(0,It.deferred)().promise}});function Mt(e){return!(!e.exitCode||!e.stdErr.length)}function jt(e){return Buffer.concat([...e.stdOut,...e.stdErr])}function Dt(e=!1,t=Mt,r=jt){return(n,s)=>!e&&n||!t(s)?n:r(s)}function Ft(e){return{type:"task.error",action(t,r){const s=e(t.error,{stdErr:r.stdErr,stdOut:r.stdOut,exitCode:r.exitCode});return Buffer.isBuffer(s)?{error:new n(void 0,s.toString("utf-8"))}:{error:s}}}}var Ut,qt,Bt=C({"src/lib/plugins/error-detection.plugin.ts"(){I()}}),Gt=C({"src/lib/plugins/plugin-store.ts"(){Le(),Ut=class{constructor(){this.plugins=new Set}add(e){const t=[];return X(e).forEach((e=>e&&this.plugins.add(V(t,e)))),()=>{t.forEach((e=>this.plugins.delete(e)))}}exec(e,t,r){let n=t;const s=Object.freeze(Object.create(r));for(const t of this.plugins)t.type===e&&(n=t.action(n,s));return n}}}}),Ht=C({"src/lib/plugins/progress-monitor-plugin.ts"(){Le()}}),Vt=C({"src/lib/plugins/simple-git-plugin.ts"(){}}),zt=C({"src/lib/plugins/spawn-options-plugin.ts"(){Le()}}),Wt=C({"src/lib/plugins/timout-plugin.ts"(){L()}}),Xt=C({"src/lib/plugins/index.ts"(){Lt(),$t(),Bt(),Gt(),Ht(),Vt(),zt(),Wt()}});function Yt(e,t,r){return t&&String(t).replace(/\s*/,"")?(n,...s)=>{e(`%s ${n}`,t,...s),r&&r(n,...s)}:r?(t,...n)=>{e(t,...n),r(t,...n)}:e}function Jt(e,t,r,n=function(){return(0,qt.default)("simple-git")}()){const s=e&&`[${e}]`||"",o=[],i="string"==typeof t?n.extend(t):t,a=function(e,t,{namespace:r}){if("string"==typeof e)return e;const n=t&&t.namespace||"";return n.startsWith(r)?n.substr(r.length+1):n||r}(ae(t,re),i,n);return function t(r){const o=r&&`[${r}]`||"",a=i&&Yt(i,o)||l,u=Yt(n,`${s} ${o}`,a);return Object.assign(i?a:u,{label:e,sibling:c,info:u,step:t})}(r);function c(t,r){return V(o,Jt(e,a.replace(/^[^:]+/,t),r,n))}}var Kt,Qt,Zt,er,tr=C({"src/lib/git-logger.ts"(){var e;e=r(5158),qt=k(R(f(null!=e?h(w(e)):{},"default",e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),Le(),qt.default.formatters.L=e=>String(oe(e)?e.length:"-"),qt.default.formatters.B=e=>Buffer.isBuffer(e)?e.toString("utf8"):d(e)}}),rr=C({"src/lib/runners/tasks-pending-queue.ts"(){I(),tr(),(Qt=Kt=class{constructor(e="GitExecutor"){this.logLabel=e,this._queue=new Map}withProgress(e){return this._queue.get(e)}createProgress(e){const t=Kt.getName(e.commands[0]);return{task:e,logger:Jt(this.logLabel,t),name:t}}push(e){const t=this.createProgress(e);return t.logger("Adding task to the queue, commands = %o",e.commands),this._queue.set(e,t),t}fatal(e){for(const[t,{logger:r}]of Array.from(this._queue.entries()))t===e.task?(r.info("Failed %o",e),r("Fatal exception, any as-yet un-started tasks run through this executor will not be attempted")):r.info("A fatal exception occurred in a previous task, the queue has been purged: %o",e.message),this.complete(t);if(0!==this._queue.size)throw new Error(`Queue size should be zero after fatal: ${this._queue.size}`)}complete(e){this.withProgress(e)&&this._queue.delete(e)}attempt(e){const t=this.withProgress(e);if(!t)throw new n(void 0,"TasksPendingQueue: attempt called for an unknown task");return t.logger("Starting task"),t}static getName(e="empty"){return`task:${e}:${++Kt.counter}`}}).counter=0}});function nr(e,t){return{method:F(e.commands)||"",commands:t}}function sr(e,t,r,n){return s=>{r("%s received %L bytes",t,s),n("%B",s),e.push(s)}}var or,ir=C({"src/lib/runners/git-executor-chain.ts"(){Zt=r(2081),I(),st(),Le(),rr(),er=class{constructor(e,t,r){this._executor=e,this._scheduler=t,this._plugins=r,this._chain=Promise.resolve(),this._queue=new Qt}get binary(){return this._executor.binary}get cwd(){return this._cwd||this._executor.cwd}set cwd(e){this._cwd=e}get env(){return this._executor.env}get outputHandler(){return this._executor.outputHandler}chain(){return this}push(e){return this._queue.push(e),this._chain=this._chain.then((()=>this.attemptTask(e)))}attemptTask(e){return A(this,null,(function*(){const t=yield this._scheduler.next(),r=()=>this._queue.complete(e);try{const{logger:n}=this._queue.attempt(e);return yield Qe(e)?this.attemptEmptyTask(e,n):this.attemptRemoteTask(e,n)}catch(t){throw this.onFatalException(e,t)}finally{r(),t()}}))}onFatalException(e,t){const r=t instanceof n?Object.assign(t,{task:e}):new n(e,t&&String(t));return this._chain=Promise.resolve(),this._queue.fatal(r),r}attemptRemoteTask(e,t){return A(this,null,(function*(){const r=this._plugins.exec("spawn.args",[...e.commands],nr(e,e.commands)),n=yield this.gitResponse(e,this.binary,r,this.outputHandler,t.step("SPAWN")),s=yield this.handleTaskData(e,r,n,t.step("HANDLE"));return t("passing response to task's parser as a %s",e.format),Ke(e)?Se(e.parser,s):Se(e.parser,s.asStrings())}))}attemptEmptyTask(e,t){return A(this,null,(function*(){return t("empty task bypassing child process to call to task's parser"),e.parser(this)}))}handleTaskData(e,t,r,n){const{exitCode:s,rejection:o,stdOut:i,stdErr:a}=r;return new Promise(((c,u)=>{n("Preparing to handle process response exitCode=%d stdOut=",s);const{error:l}=this._plugins.exec("task.error",{error:o},_(_({},nr(e,t)),r));return l&&e.onError?(n.info("exitCode=%s handling with custom error handler"),e.onError(r,l,(e=>{n.info("custom error handler treated as success"),n("custom error returned a %s",d(e)),c(new he(Array.isArray(e)?Buffer.concat(e):e,Buffer.concat(a)))}),u)):l?(n.info("handling as error: exitCode=%s stdErr=%s rejection=%o",s,a.length,o),u(l)):(n.info("retrieving task output complete"),void c(new he(Buffer.concat(i),Buffer.concat(a))))}))}gitResponse(e,t,r,n,s){return A(this,null,(function*(){const o=s.sibling("output"),i=this._plugins.exec("spawn.options",{cwd:this.cwd,env:this.env,windowsHide:!0},nr(e,e.commands));return new Promise((a=>{const c=[],u=[];let l;s.info("%s %o",t,r),s("%O",i);const d=(0,Zt.spawn)(t,r,i);d.stdout.on("data",sr(c,"stdOut",s,o.step("stdOut"))),d.stderr.on("data",sr(u,"stdErr",s,o.step("stdErr"))),d.on("error",function(e,t){return r=>{t("[ERROR] child process exception %o",r),e.push(Buffer.from(String(r.stack),"ascii"))}}(u,s)),n&&(s("Passing child process stdOut/stdErr to custom outputHandler"),n(t,d.stdout,d.stderr,[...r])),this._plugins.exec("spawn.after",void 0,T(_({},nr(e,r)),{spawned:d,close(e,t){a({stdOut:c,stdErr:u,exitCode:e,rejection:l||t})},kill(e){d.killed||(l=e,d.kill("SIGINT"))}}))}))}))}}}}),ar={};S(ar,{GitExecutor:()=>or});var cr=C({"src/lib/runners/git-executor.ts"(){ir(),or=class{constructor(e="git",t,r,n){this.binary=e,this.cwd=t,this._scheduler=r,this._plugins=n,this._chain=new er(this,this._scheduler,this._plugins)}chain(){return new er(this,this._scheduler,this._plugins)}push(e){return this._chain.push(e)}}}});var ur=C({"src/lib/task-callback.ts"(){P(),Le()}});function lr(e,t){return We((r=>{if(!H(e))throw new Error(`Git.cwd: cannot change to non-directory "${e}"`);return(t||r).cwd=e}))}var dr,hr=C({"src/lib/tasks/change-working-directory.ts"(){Le(),st()}});function fr(e){return ke({author:null,branch:"",commit:"",root:!1,summary:{changes:0,insertions:0,deletions:0}},dr,e)}var pr=C({"src/lib/parsers/parse-commit.ts"(){Le(),dr=[new fe(/^\[([^\s]+)( \([^)]+\))? ([^\]]+)/,((e,[t,r,n])=>{e.branch=t,e.commit=n,e.root=!!r})),new fe(/\s*Author:\s(.+)/i,((e,[t])=>{const r=t.split("<"),n=r.pop();n&&n.includes("@")&&(e.author={email:n.substr(0,n.length-1),name:r.join("<").trim()})})),new fe(/(\d+)[^,]*(?:,\s*(\d+)[^,]*)(?:,\s*(\d+))/g,((e,[t,r,n])=>{e.summary.changes=parseInt(t,10)||0,e.summary.insertions=parseInt(r,10)||0,e.summary.deletions=parseInt(n,10)||0})),new fe(/^(\d+)[^,]*(?:,\s*(\d+)[^(]+\(([+-]))?/,((e,[t,r,n])=>{e.summary.changes=parseInt(t,10)||0;const s=parseInt(r,10)||0;"-"===n?e.summary.deletions=s:"+"===n&&(e.summary.insertions=s)}))]}}),mr={};function gr(e,t,r){return{commands:["-c","core.abbrev=40","commit",...K(e,"-m"),...t,...r],format:"utf-8",parser:fr}}function yr(){return{commit(e,...t){const r=Re(arguments),n=function(e){return!se(e)&&Xe("git.commit: requires the commit message to be supplied as a string/string[]")}(e)||gr(X(e),X(ae(t[0],se,[])),[...ae(t[1],te,[]),..._e(arguments,0,!0)]);return this._runTask(n,r)}}}S(mr,{commitTask:()=>gr,default:()=>yr});var vr,wr,Er,br,Or=C({"src/lib/tasks/commit.ts"(){pr(),Le(),st()}}),_r=C({"src/lib/tasks/hash-object.ts"(){st()}}),Tr=C({"src/lib/responses/InitSummary.ts"(){vr=class{constructor(e,t,r,n){this.bare=e,this.path=t,this.existing=r,this.gitDir=n}},wr=/^Init.+ repository in (.+)$/,Er=/^Rein.+ in (.+)$/}});var Rr,Cr=C({"src/lib/tasks/init.ts"(){Tr(),br="--bare"}});function Sr(e){for(let t=0;tke(new xr,t,e,!1)}var Dr,Fr,Ur,qr,Br=C({"src/lib/parsers/parse-diff-summary.ts"(){$r(),Mr(),Le(),Ar=[new fe(/(.+)\s+\|\s+(\d+)(\s+[+\-]+)?$/,((e,[t,r,n=""])=>{e.files.push({file:t.trim(),changes:J(r),insertions:n.replace(/[^+]/g,"").length,deletions:n.replace(/[^-]/g,"").length,binary:!1})})),new fe(/(.+) \|\s+Bin ([0-9.]+) -> ([0-9.]+) ([a-z]+)/,((e,[t,r,n])=>{e.files.push({file:t.trim(),before:J(r),after:J(n),binary:!0})})),new fe(/(\d+) files? changed\s*((?:, \d+ [^,]+){0,2})/,((e,[t,r])=>{const n=/(\d+) i/.exec(r),s=/(\d+) d/.exec(r);e.changed=J(t),e.insertions=J(null==n?void 0:n[1]),e.deletions=J(null==s?void 0:s[1])}))],Ir=[new fe(/(\d+)\t(\d+)\t(.+)$/,((e,[t,r,n])=>{const s=J(t),o=J(r);e.changed++,e.insertions+=s,e.deletions+=o,e.files.push({file:n,changes:s+o,insertions:s,deletions:o,binary:!1})})),new fe(/-\t-\t(.+)$/,((e,[t])=>{e.changed++,e.files.push({file:t,after:0,before:0,binary:!0})}))],Pr=[new fe(/(.+)$/,((e,[t])=>{e.changed++,e.files.push({file:t,changes:0,insertions:0,deletions:0,binary:!1})}))],Nr=[new fe(/([ACDMRTUXB])\s*(.+)$/,((e,[t,r])=>{e.changed++,e.files.push({file:r,changes:0,insertions:0,deletions:0,binary:!1})}))],Lr={"":Ar,"--stat":Ar,"--numstat":Ir,"--name-status":Nr,"--name-only":Pr}}});function Gr(e=Ur,t=qr,r=""){const n=jr(r);return function(r){const s=B(r,!0,Dr).map((function(r){const s=r.trim().split(Fr),o=function(e,t){return t.reduce(((t,r,n)=>(t[r]=e[n]||"",t)),Object.create({diff:null}))}(s[0].trim().split(e),t);return s.length>1&&s[1].trim()&&(o.diff=n(s[1])),o}));return{all:s,latest:s.length&&s[0]||null,total:s.length}}}var Hr=C({"src/lib/parsers/parse-list-log-summary.ts"(){Le(),Br(),$r(),Dr="òòòòòò ",Fr=" òò",Ur=" ò ",qr=["hash","date","message","refs","author_name","author_email"]}}),Vr={};function zr(e){let t=Sr(e);const r=["diff"];return""===t&&(t="--stat",r.push("--stat=4096")),r.push(...e),Wr(r)||{commands:r,format:"utf-8",parser:jr(t)}}function Wr(e){const t=e.filter(kr);return t.length>1?Xe(`Summary flags are mutually exclusive - pick one of ${t.join(",")}`):t.length&&e.includes("-z")?Xe(`Summary flag ${t} parsing is not compatible with null termination option '-z'`):void 0}S(Vr,{diffSummaryTask:()=>zr,validateLogFormatConfig:()=>Wr});var Xr,Yr=C({"src/lib/tasks/diff.ts"(){$r(),Br(),st()}});function Jr(e={},t=[]){const r=ae(e.splitter,re,Ur),n=!ce(e.format)&&e.format?e.format:{hash:"%H",date:!1===e.strictDate?"%ai":"%aI",message:"%s",refs:"%D",body:e.multiLine?"%B":"%b",author_name:!1!==e.mailMap?"%aN":"%an",author_email:!1!==e.mailMap?"%aE":"%ae"},[s,o]=function(e,t){const r=[],n=[];return Object.keys(e).forEach((t=>{r.push(t),n.push(String(e[t]))})),[r,n.join(t)]}(n,r),i=[],a=[`--pretty=format:${Dr}${o}${Fr}`,...t],c=e.n||e["max-count"]||e.maxCount;if(c&&a.push(`--max-count=${c}`),e.from&&e.to){const t=!1!==e.symmetric?"...":"..";i.push(`${e.from}${t}${e.to}`)}var u;return re(e.file)&&i.push("--follow",e.file),Oe((u=e,Object.keys(u).reduce(((e,t)=>(t in Xr||(e[t]=u[t]),e)),{})),a),{fields:s,splitter:r,commands:[...a,...i]}}var Kr,Qr,Zr,en,tn,rn=C({"src/lib/tasks/log.ts"(){$r(),Hr(),Le(),st(),Yr(),Xr=(e=>(e[e["--pretty"]=0]="--pretty",e[e["max-count"]=1]="max-count",e[e.maxCount=2]="maxCount",e[e.n=3]="n",e[e.file=4]="file",e[e.format=5]="format",e[e.from=6]="from",e[e.to=7]="to",e[e.splitter=8]="splitter",e[e.symmetric=9]="symmetric",e[e.mailMap=10]="mailMap",e[e.multiLine=11]="multiLine",e[e.strictDate=12]="strictDate",e))(Xr||{})}}),nn=C({"src/lib/responses/MergeSummary.ts"(){Kr=class{constructor(e,t=null,r){this.reason=e,this.file=t,this.meta=r}toString(){return`${this.file}:${this.reason}`}},Qr=class{constructor(){this.conflicts=[],this.merges=[],this.result="success"}get failed(){return this.conflicts.length>0}get reason(){return this.result}toString(){return this.conflicts.length?`CONFLICTS: ${this.conflicts.join(", ")}`:"OK"}}}}),sn=C({"src/lib/responses/PullSummary.ts"(){Zr=class{constructor(){this.remoteMessages={all:[]},this.created=[],this.deleted=[],this.files=[],this.deletions={},this.insertions={},this.summary={changes:0,deletions:0,insertions:0}}},en=class{constructor(){this.remote="",this.hash={local:"",remote:""},this.branch={local:"",remote:""},this.message=""}toString(){return this.message}}}});function on(e){return e.objects=e.objects||{compressing:0,counting:0,enumerating:0,packReused:0,reused:{count:0,delta:0},total:{count:0,delta:0}}}function an(e){const t=/^\s*(\d+)/.exec(e),r=/delta (\d+)/i.exec(e);return{count:J(t&&t[1]||"0"),delta:J(r&&r[1]||"0")}}var cn,un,ln=C({"src/lib/parsers/parse-remote-objects.ts"(){Le(),tn=[new pe(/^remote:\s*(enumerating|counting|compressing) objects: (\d+),/i,((e,[t,r])=>{const n=t.toLowerCase(),s=on(e.remoteMessages);Object.assign(s,{[n]:J(r)})})),new pe(/^remote:\s*(enumerating|counting|compressing) objects: \d+% \(\d+\/(\d+)\),/i,((e,[t,r])=>{const n=t.toLowerCase(),s=on(e.remoteMessages);Object.assign(s,{[n]:J(r)})})),new pe(/total ([^,]+), reused ([^,]+), pack-reused (\d+)/i,((e,[t,r,n])=>{const s=on(e.remoteMessages);s.total=an(t),s.reused=an(r),s.packReused=J(n)}))]}});function dn(e,t){return ke({remoteMessages:new un},cn,t)}var hn,fn,pn,mn,gn,yn,vn,wn,En,bn=C({"src/lib/parsers/parse-remote-messages.ts"(){Le(),ln(),cn=[new pe(/^remote:\s*(.+)$/,((e,[t])=>(e.remoteMessages.all.push(t.trim()),!1))),...tn,new pe([/create a (?:pull|merge) request/i,/\s(https?:\/\/\S+)$/],((e,[t])=>{e.remoteMessages.pullRequestUrl=t})),new pe([/found (\d+) vulnerabilities.+\(([^)]+)\)/i,/\s(https?:\/\/\S+)$/],((e,[t,r,n])=>{e.remoteMessages.vulnerabilities={count:J(t),summary:r,url:n}}))],un=class{constructor(){this.all=[]}}}}),On=C({"src/lib/parsers/parse-pull.ts"(){sn(),Le(),bn(),hn=/(\d+)\D+((\d+)\D+\(\+\))?(\D+(\d+)\D+\(-\))?/,fn=/^(create|delete) mode \d+ (.+)/,pn=[new fe(/^\s*(.+?)\s+\|\s+\d+\s*(\+*)(-*)/,((e,[t,r,n])=>{e.files.push(t),r&&(e.insertions[t]=r.length),n&&(e.deletions[t]=n.length)})),new fe(hn,((e,[t,,r,,n])=>(void 0!==r||void 0!==n)&&(e.summary.changes=+t||0,e.summary.insertions=+r||0,e.summary.deletions=+n||0,!0))),new fe(fn,((e,[t,r])=>{V(e.files,r),V("create"===t?e.created:e.deleted,r)}))],mn=[new fe(/^from\s(.+)$/i,((e,[t])=>{e.remote=t})),new fe(/^fatal:\s(.+)$/,((e,[t])=>{e.message=t})),new fe(/([a-z0-9]+)\.\.([a-z0-9]+)\s+(\S+)\s+->\s+(\S+)$/,((e,[t,r,n,s])=>{e.branch.local=n,e.hash.local=t,e.branch.remote=s,e.hash.remote=r}))],gn=(e,t)=>ke(new Zr,pn,[e,t]),yn=(e,t)=>Object.assign(new Zr,gn(e,t),dn(0,t))}}),_n=C({"src/lib/parsers/parse-merge.ts"(){nn(),Le(),On(),vn=[new fe(/^Auto-merging\s+(.+)$/,((e,[t])=>{e.merges.push(t)})),new fe(/^CONFLICT\s+\((.+)\): Merge conflict in (.+)$/,((e,[t,r])=>{e.conflicts.push(new Kr(t,r))})),new fe(/^CONFLICT\s+\((.+\/delete)\): (.+) deleted in (.+) and/,((e,[t,r,n])=>{e.conflicts.push(new Kr(t,r,{deleteRef:n}))})),new fe(/^CONFLICT\s+\((.+)\):/,((e,[t])=>{e.conflicts.push(new Kr(t,null))})),new fe(/^Automatic merge failed;\s+(.+)$/,((e,[t])=>{e.result=t}))],wn=(e,t)=>Object.assign(En(e,t),yn(e,t)),En=e=>ke(new Qr,vn,e)}});function Tn(e){return e.length?{commands:["merge",...e],format:"utf-8",parser(e,t){const r=wn(e,t);if(r.failed)throw new s(r);return r}}:Xe("Git.merge requires at least one option")}var Rn,Cn,Sn,kn=C({"src/lib/tasks/merge.ts"(){P(),_n(),st()}}),xn=C({"src/lib/parsers/parse-push.ts"(){Le(),bn(),Rn=[new fe(/^Pushing to (.+)$/,((e,[t])=>{e.repo=t})),new fe(/^updating local tracking ref '(.+)'/,((e,[t])=>{e.ref=T(_({},e.ref||{}),{local:t})})),new fe(/^[*-=]\s+([^:]+):(\S+)\s+\[(.+)]$/,((e,[t,r,n])=>{e.pushed.push(function(e,t,r){const n=r.includes("deleted"),s=r.includes("tag")||/^refs\/tags/.test(e),o=!r.includes("new");return{deleted:n,tag:s,branch:!s,new:!o,alreadyUpdated:o,local:e,remote:t}}(t,r,n))})),new fe(/^Branch '([^']+)' set up to track remote branch '([^']+)' from '([^']+)'/,((e,[t,r,n])=>{e.branch=T(_({},e.branch||{}),{local:t,remote:r,remoteName:n})})),new fe(/^([^:]+):(\S+)\s+([a-z0-9]+)\.\.([a-z0-9]+)$/,((e,[t,r,n,s])=>{e.update={head:{local:t,remote:r},hash:{from:n,to:s}}}))],Cn=(e,t)=>{const r=Sn(e,t),n=dn(0,t);return _(_({},r),n)},Sn=(e,t)=>ke({pushed:[]},Rn,[e,t])}}),An={};function In(e={},t){return V(t,"--tags"),Pn(e,t)}function Pn(e={},t){const r=["push",...t];return e.branch&&r.splice(1,0,e.branch),e.remote&&r.splice(1,0,e.remote),W(r,"-v"),V(r,"--verbose"),V(r,"--porcelain"),{commands:r,format:"utf-8",parser:Cn}}S(An,{pushTagsTask:()=>In,pushTask:()=>Pn});var Nn,Ln,$n,Mn,jn,Dn=C({"src/lib/tasks/push.ts"(){xn(),Le()}}),Fn=C({"src/lib/responses/FileStatusSummary.ts"(){Nn=/^(.+) -> (.+)$/,Ln=class{constructor(e,t,r){if(this.path=e,this.index=t,this.working_dir=r,t+r==="R"){const t=Nn.exec(e)||[null,e,e];this.from=t[1]||"",this.path=t[2]||""}}}}});function Un(e){const[t,r]=e.split(u);return{from:r||t,to:t}}function qn(e,t,r){return[`${e}${t}`,r]}function Bn(e,...t){return t.map((t=>qn(e,t,((e,t)=>V(e.conflicted,t)))))}function Gn(e,t){const r=t.trim();switch(" "){case r.charAt(2):return n(r.charAt(0),r.charAt(1),r.substr(3));case r.charAt(1):return n(" ",r.charAt(0),r.substr(2));default:return}function n(t,r,n){const s=`${t}${r}`,o=Mn.get(s);o&&o(e,n),"##"!==s&&"!!"!==s&&e.files.push(new Ln(n.replace(/\0.+$/,""),t,r))}}var Hn,Vn,zn=C({"src/lib/responses/StatusSummary.ts"(){Le(),Fn(),$n=class{constructor(){this.not_added=[],this.conflicted=[],this.created=[],this.deleted=[],this.ignored=void 0,this.modified=[],this.renamed=[],this.files=[],this.staged=[],this.ahead=0,this.behind=0,this.current=null,this.tracking=null,this.detached=!1,this.isClean=()=>!this.files.length}},Mn=new Map([qn(" ","A",((e,t)=>V(e.created,t))),qn(" ","D",((e,t)=>V(e.deleted,t))),qn(" ","M",((e,t)=>V(e.modified,t))),qn("A"," ",((e,t)=>V(e.created,t)&&V(e.staged,t))),qn("A","M",((e,t)=>V(e.created,t)&&V(e.staged,t)&&V(e.modified,t))),qn("D"," ",((e,t)=>V(e.deleted,t)&&V(e.staged,t))),qn("M"," ",((e,t)=>V(e.modified,t)&&V(e.staged,t))),qn("M","M",((e,t)=>V(e.modified,t)&&V(e.staged,t))),qn("R"," ",((e,t)=>{V(e.renamed,Un(t))})),qn("R","M",((e,t)=>{const r=Un(t);V(e.renamed,r),V(e.modified,r.to)})),qn("!","!",((e,t)=>{V(e.ignored=e.ignored||[],t)})),qn("?","?",((e,t)=>V(e.not_added,t))),...Bn("A","A","U"),...Bn("D","D","U"),...Bn("U","A","D","U"),["##",(e,t)=>{let r;r=/ahead (\d+)/.exec(t),e.ahead=r&&+r[1]||0,r=/behind (\d+)/.exec(t),e.behind=r&&+r[1]||0,r=/^(.+?(?=(?:\.{3}|\s|$)))/.exec(t),e.current=r&&r[1],r=/\.{3}(\S*)/.exec(t),e.tracking=r&&r[1],r=/\son\s([\S]+)$/.exec(t),e.current=r&&r[1]||e.current,e.detached=/\(no branch\)/.test(t)}]]),jn=function(e){const t=e.split(u),r=new $n;for(let e=0,n=t.length;eVn});var Yn,Jn,Kn,Qn=C({"src/lib/simple-git-api.ts"(){ur(),hr(),Or(),Et(),Tt(),_r(),Cr(),rn(),kn(),Dn(),Wn(),st(),Le(),Vn=class{constructor(e){this._executor=e}_runTask(e,t){const r=this._executor.chain(),n=r.push(e);return t&&function(e,t,r=l){t.then((e=>{r(null,e)}),(t=>{(null==t?void 0:t.task)===e&&r(t instanceof s?function(e){let t=e=>{console.warn(`simple-git deprecation notice: accessing GitResponseError.${e} should be GitResponseError.git.${e}, this will no longer be available in version 3`),t=l};return Object.create(e,Object.getOwnPropertyNames(e.git).reduce((function(r,n){return n in e||(r[n]={enumerable:!1,configurable:!1,get:()=>(t(n),e.git[n])}),r}),{}))}(t):t,void 0)}))}(e,n,t),Object.create(this,{then:{value:n.then.bind(n)},catch:{value:n.catch.bind(n)},_executor:{value:r}})}add(e){return this._runTask(Ye(["add",...X(e)]),Re(arguments))}cwd(e){const t=Re(arguments);return"string"==typeof e?this._runTask(lr(e,this._executor),t):"string"==typeof(null==e?void 0:e.path)?this._runTask(lr(e.path,e.root&&this._executor||void 0),t):this._runTask(Xe("Git.cwd: workingDirectory must be supplied as a string"),t)}hashObject(e,t){return this._runTask(function(e,t){const r=["hash-object",e];return t&&r.push("-w"),Ye(r,!0)}(e,!0===t),Re(arguments))}init(e){return this._runTask(function(e=!1,t,r){const n=["init",...r];return e&&!n.includes(br)&&n.splice(1,0,br),{commands:n,format:"utf-8",parser:e=>function(e,t,r){const n=String(r).trim();let s;if(s=wr.exec(n))return new vr(e,t,!1,s[1]);if(s=Er.exec(n))return new vr(e,t,!0,s[1]);let o="";const i=n.split(" ");for(;i.length;)if("in"===i.shift()){o=i.join(" ");break}return new vr(e,t,/^re/i.test(n),o)}(n.includes("--bare"),t,e)}}(!0===e,this._executor.cwd,_e(arguments)),Re(arguments))}merge(){return this._runTask(Tn(_e(arguments)),Re(arguments))}mergeFromTo(e,t){return re(e)&&re(t)?this._runTask(Tn([e,t,..._e(arguments)]),Re(arguments,!1)):this._runTask(Xe("Git.mergeFromTo requires that the 'remote' and 'branch' arguments are supplied as strings"))}outputHandler(e){return this._executor.outputHandler=e,this}push(){const e=Pn({remote:ae(arguments[0],re),branch:ae(arguments[1],re)},_e(arguments));return this._runTask(e,Re(arguments))}stash(){return this._runTask(Ye(["stash",..._e(arguments)]),Re(arguments))}status(){return this._runTask({format:"utf-8",commands:["status","--porcelain","-b","-u","--null",..._e(arguments).filter((e=>!Hn.includes(e)))],parser:e=>jn(e)},Re(arguments))}},Object.assign(Vn.prototype,yr(),{addConfig(e,t,...r){return this._runTask(function(e,t,r,n){const s=["config",`--${n}`];return r&&s.push("--add"),s.push(e,t),{commands:s,format:"utf-8",parser:e=>e}}(e,t,!0===r[0],mt(r[1],"local")),Re(arguments))},getConfig(e,t){return this._runTask(function(e,t){const r=["config","--null","--show-origin","--get-all",e];return t&&r.splice(1,0,`--${t}`),{commands:r,format:"utf-8",parser:t=>function(e,t){let r=null;const n=[],s=new Map;for(const o of ht(e,t))o.key===t&&(n.push(r=o.value),s.has(o.file)||s.set(o.file,[]),s.get(o.file).push(r));return{key:t,paths:Array.from(s.keys()),scopes:s,value:r,values:n}}(t,e)}}(e,mt(t,void 0)),Re(arguments))},listConfig(...e){return this._runTask(function(e){const t=["config","--list","--show-origin","--null"];return e&&t.push(`--${e}`),{commands:t,format:"utf-8",parser:e=>function(e){const t=new lt;for(const r of ht(e))t.addValue(r.file,String(r.key),r.value);return t}(e)}}(mt(e[0],void 0)),Re(arguments))}},{grep(e){const t=Re(arguments),r=_e(arguments);for(const e of gt)if(r.includes(e))return this._runTask(Xe(`git.grep: use of "${e}" is not supported.`),t);"string"==typeof e&&(e=bt().param(e));const n=["grep","--null","-n","--full-name",...r,...e];return this._runTask({commands:n,format:"utf-8",parser:e=>function(e){const t=new Set,r={};return G(e,(e=>{const[n,s,o]=e.split(u);t.add(n),(r[n]=r[n]||[]).push({line:J(s),path:n,preview:o})})),{paths:t,results:r}}(e)},t)}},{log(...e){const t=Re(arguments),r=Jr(Te(arguments),ae(arguments[0],te)),n=function(e,t){return re(e)&&re(t)&&Xe("git.log(string, string) should be replaced with git.log({ from: string, to: string })")}(...e)||Wr(r.commands)||function(e){return function(e,t,r){const n=Gr(e,t,Sr(r));return{commands:["log",...r],format:"utf-8",parser:n}}(e.splitter,e.fields,e.commands)}(r);return this._runTask(n,t)}})}}),Zn={};S(Zn,{Scheduler:()=>Kn});var es=C({"src/lib/runners/scheduler.ts"(){Le(),Yn=r(2443),tr(),Jn=(()=>{let e=0;return()=>{e++;const{promise:t,done:r}=(0,Yn.createDeferred)();return{promise:t,done:r,id:e}}})(),Kn=class{constructor(e=2){this.concurrency=e,this.logger=Jt("","scheduler"),this.pending=[],this.running=[],this.logger("Constructed, concurrency=%s",e)}schedule(){if(!this.pending.length||this.running.length>=this.concurrency)return void this.logger("Schedule attempt ignored, pending=%s running=%s concurrency=%s",this.pending.length,this.running.length,this.concurrency);const e=V(this.running,this.pending.shift());this.logger("Attempting id=%s",e.id),e.done((()=>{this.logger("Completing id=",e.id),W(this.running,e),this.schedule()}))}next(){const{promise:e,id:t}=V(this.pending,Jn());return this.logger("Scheduling id=%s",t),this.schedule(),e}}}}),ts={};function rs(e,t){return Ye(["apply",...t,...e])}S(ts,{applyPatchTask:()=>rs});var ns,ss,os,is,as=C({"src/lib/tasks/apply-patch.ts"(){st()}}),cs=C({"src/lib/responses/BranchDeleteSummary.ts"(){ns=class{constructor(){this.all=[],this.branches={},this.errors=[]}get success(){return!this.errors.length}}}});function us(e,t){return 1===t&&ss.test(e)}var ls,ds,hs=C({"src/lib/parsers/parse-branch-delete.ts"(){cs(),Le(),ss=/^error[^']+'([^']+)'/m,os=[new fe(/(\S+)\s+\(\S+\s([^)]+)\)/,((e,[t,r])=>{const n=function(e,t){return{branch:e,hash:t,success:!0}}(t,r);e.all.push(n),e.branches[t]=n})),new fe(ss,((e,[t])=>{const r=function(e){return{branch:e,hash:null,success:!1}}(t);e.errors.push(r),e.all.push(r),e.branches[t]=r}))],is=(e,t)=>ke(new ns,os,[e,t])}}),fs=C({"src/lib/responses/BranchSummary.ts"(){ls=class{constructor(){this.all=[],this.branches={},this.current="",this.detached=!1}push(e,t,r,n,s){"*"===e&&(this.detached=t,this.current=r),this.all.push(r),this.branches[r]={current:"*"===e,linkedWorkTree:"+"===e,name:r,commit:n,label:s}}}}});function ps(e){return e?e.charAt(0):""}function ms(e){return ke(new ls,ds,e)}var gs=C({"src/lib/parsers/parse-branch.ts"(){fs(),Le(),ds=[new fe(/^([*+]\s)?\((?:HEAD )?detached (?:from|at) (\S+)\)\s+([a-z0-9]+)\s(.*)$/,((e,[t,r,n,s])=>{e.push(ps(t),!0,r,n,s)})),new fe(/^([*+]\s)?(\S+)\s+([a-z0-9]+)\s?(.*)$/s,((e,[t,r,n,s])=>{e.push(ps(t),!1,r,n,s)}))]}}),ys={};function vs(e){const t=["-d","-D","--delete"];return e.some((e=>t.includes(e)))}function ws(e){const t=vs(e),r=["branch",...e];return 1===r.length&&r.push("-a"),r.includes("-v")||r.splice(1,0,"-v"),{format:"utf-8",commands:r,parser:(e,r)=>t?is(e,r).all[0]:ms(e)}}function Es(){return{format:"utf-8",commands:["branch","-v"],parser:ms}}function bs(e,t=!1){return{format:"utf-8",commands:["branch","-v",t?"-D":"-d",...e],parser:(e,t)=>is(e,t),onError({exitCode:e,stdOut:t},r,n,s){if(!us(String(r),e))return s(r);n(t)}}}function Os(e,t=!1){const r={format:"utf-8",commands:["branch","-v",t?"-D":"-d",e],parser:(t,r)=>is(t,r).branches[e],onError({exitCode:e,stdErr:t,stdOut:n},o,i,a){if(!us(String(o),e))return a(o);throw new s(r.parser(Q(n),Q(t)),String(o))}};return r}S(ys,{branchLocalTask:()=>Es,branchTask:()=>ws,containsDeleteBranchCommand:()=>vs,deleteBranchTask:()=>Os,deleteBranchesTask:()=>bs});var _s,Ts=C({"src/lib/tasks/branch.ts"(){P(),hs(),gs(),Le()}}),Rs=C({"src/lib/responses/CheckIgnore.ts"(){_s=e=>e.split(/\n/g).map((e=>e.trim())).filter((e=>!!e))}}),Cs={};function Ss(e){return{commands:["check-ignore",...e],format:"utf-8",parser:_s}}S(Cs,{checkIgnoreTask:()=>Ss});var ks=C({"src/lib/tasks/check-ignore.ts"(){Rs()}}),xs={};function As(e){return/^--upload-pack(=|$)/.test(e)}function Is(e,t,r){const n=["clone",...r];return re(e)&&n.push(e),re(t)&&n.push(t),n.find(As)?Xe("git.fetch: potential exploit argument blocked."):Ye(n)}function Ps(e,t,r){return V(r,"--mirror"),Is(e,t,r)}S(xs,{cloneMirrorTask:()=>Ps,cloneTask:()=>Is});var Ns,Ls=C({"src/lib/tasks/clone.ts"(){st(),Le()}});function $s(e,t){return ke({raw:e,remote:null,branches:[],tags:[],updated:[],deleted:[]},Ns,[e,t])}var Ms=C({"src/lib/parsers/parse-fetch.ts"(){Le(),Ns=[new fe(/From (.+)$/,((e,[t])=>{e.remote=t})),new fe(/\* \[new branch]\s+(\S+)\s*-> (.+)$/,((e,[t,r])=>{e.branches.push({name:t,tracking:r})})),new fe(/\* \[new tag]\s+(\S+)\s*-> (.+)$/,((e,[t,r])=>{e.tags.push({name:t,tracking:r})})),new fe(/- \[deleted]\s+\S+\s*-> (.+)$/,((e,[t])=>{e.deleted.push({tracking:t})})),new fe(/\s*([^.]+)\.\.(\S+)\s+(\S+)\s*-> (.+)$/,((e,[t,r,n,s])=>{e.updated.push({name:n,tracking:s,to:r,from:t})}))]}}),js={};function Ds(e){return/^--upload-pack(=|$)/.test(e)}function Fs(e,t,r){const n=["fetch",...r];return e&&t&&n.push(e,t),n.find(Ds)?Xe("git.fetch: potential exploit argument blocked."):{commands:n,format:"utf-8",parser:$s}}S(js,{fetchTask:()=>Fs});var Us,qs=C({"src/lib/tasks/fetch.ts"(){Ms(),st()}});function Bs(e){return ke({moves:[]},Us,e)}var Gs=C({"src/lib/parsers/parse-move.ts"(){Le(),Us=[new fe(/^Renaming (.+) to (.+)$/,((e,[t,r])=>{e.moves.push({from:t,to:r})}))]}}),Hs={};function Vs(e,t){return{commands:["mv","-v",...X(e),t],format:"utf-8",parser:Bs}}S(Hs,{moveTask:()=>Vs});var zs=C({"src/lib/tasks/move.ts"(){Gs(),Le()}}),Ws={};function Xs(e,t,r){const n=["pull",...r];return e&&t&&n.splice(1,0,e,t),{commands:n,format:"utf-8",parser:(e,t)=>yn(e,t),onError(e,t,r,n){const o=function(e,t){const r=ke(new en,mn,[e,t]);return r.message&&r}(Q(e.stdOut),Q(e.stdErr));if(o)return n(new s(o));n(t)}}}S(Ws,{pullTask:()=>Xs});var Ys=C({"src/lib/tasks/pull.ts"(){P(),On(),Le()}});function Js(e){const t={};return Qs(e,(([e])=>t[e]={name:e})),Object.values(t)}function Ks(e){const t={};return Qs(e,(([e,r,n])=>{t.hasOwnProperty(e)||(t[e]={name:e,refs:{fetch:"",push:""}}),n&&r&&(t[e].refs[n.replace(/[^a-z]/g,"")]=r)})),Object.values(t)}function Qs(e,t){G(e,(e=>t(e.split(/\s+/))))}var Zs=C({"src/lib/responses/GetRemoteSummary.ts"(){Le()}}),eo={};function to(e,t,r=[]){return Ye(["remote","add",...r,e,t])}function ro(e){const t=["remote"];return e&&t.push("-v"),{commands:t,format:"utf-8",parser:e?Ks:Js}}function no(e=[]){const t=[...e];return"ls-remote"!==t[0]&&t.unshift("ls-remote"),Ye(t)}function so(e=[]){const t=[...e];return"remote"!==t[0]&&t.unshift("remote"),Ye(t)}function oo(e){return Ye(["remote","remove",e])}S(eo,{addRemoteTask:()=>to,getRemotesTask:()=>ro,listRemotesTask:()=>no,remoteTask:()=>so,removeRemoteTask:()=>oo});var io=C({"src/lib/tasks/remote.ts"(){Zs(),st()}}),ao={};function co(e={},t){const r=Jr(e),n=["stash","list",...r.commands,...t],s=Gr(r.splitter,r.fields,Sr(n));return Wr(n)||{commands:n,format:"utf-8",parser:s}}S(ao,{stashListTask:()=>co});var uo=C({"src/lib/tasks/stash-list.ts"(){$r(),Hr(),Yr(),rn()}}),lo={};function ho(e,t){return po(["add",e,t])}function fo(e){return po(["init",...e])}function po(e){const t=[...e];return"submodule"!==t[0]&&t.unshift("submodule"),Ye(t)}function mo(e){return po(["update",...e])}S(lo,{addSubModuleTask:()=>ho,initSubModuleTask:()=>fo,subModuleTask:()=>po,updateSubModuleTask:()=>mo});var go,yo,vo=C({"src/lib/tasks/sub-module.ts"(){st()}});function wo(e,t){return e===t?0:e>t?1:-1}function Eo(e){return e.trim()}function bo(e){return"string"==typeof e&&parseInt(e.replace(/^\D+/g,""),10)||0}var Oo=C({"src/lib/responses/TagList.ts"(){go=class{constructor(e,t){this.all=e,this.latest=t}},yo=function(e,t=!1){const r=e.split("\n").map(Eo).filter(Boolean);t||r.sort((function(e,t){const r=e.split("."),n=t.split(".");if(1===r.length||1===n.length)return function(e,t){const r=isNaN(e);return r!==isNaN(t)?r?1:-1:r?wo(e,t):0}(bo(r[0]),bo(n[0]));for(let e=0,t=Math.max(r.length,n.length);ee.indexOf(".")>=0));return new go(r,n)}}}),_o={};function To(e=[]){const t=e.some((e=>/^--sort=/.test(e)));return{format:"utf-8",commands:["tag","-l",...e],parser:e=>yo(e,t)}}function Ro(e){return{format:"utf-8",commands:["tag",e],parser:()=>({name:e})}}function Co(e,t){return{format:"utf-8",commands:["tag","-a","-m",t,e],parser:()=>({name:e})}}S(_o,{addAnnotatedTagTask:()=>Co,addTagTask:()=>Ro,tagListTask:()=>To});var So,ko,xo,Ao=C({"src/lib/tasks/tag.ts"(){Oo()}}),Io=(So={"src/git.js"(e,t){var{GitExecutor:r}=(cr(),x(ar)),{SimpleGitApi:n}=(Qn(),x(Xn)),{Scheduler:s}=(es(),x(Zn)),{configurationErrorTask:o}=(st(),x(ze)),{asArray:i,filterArray:a,filterPrimitives:c,filterString:u,filterStringOrStringArray:l,filterType:d,getTrailingOptions:h,trailingFunctionArgument:f,trailingOptionsArgument:p}=(Le(),x(Ae)),{applyPatchTask:m}=(as(),x(ts)),{branchTask:g,branchLocalTask:y,deleteBranchesTask:v,deleteBranchTask:w}=(Ts(),x(ys)),{checkIgnoreTask:E}=(ks(),x(Cs)),{checkIsRepoTask:b}=(He(),x($e)),{cloneTask:O,cloneMirrorTask:_}=(Ls(),x(xs)),{cleanWithOptionsTask:T,isCleanOptionsArray:R}=(dt(),x(ot)),{commitTask:C}=(Or(),x(mr)),{diffSummaryTask:S}=(Yr(),x(Vr)),{fetchTask:k}=(qs(),x(js)),{moveTask:A}=(zs(),x(Hs)),{pullTask:I}=(Ys(),x(Ws)),{pushTagsTask:P}=(Dn(),x(An)),{addRemoteTask:N,getRemotesTask:L,listRemotesTask:$,remoteTask:M,removeRemoteTask:j}=(io(),x(eo)),{getResetMode:D,resetTask:F}=(xt(),x(Rt)),{stashListTask:U}=(uo(),x(ao)),{addSubModuleTask:q,initSubModuleTask:B,subModuleTask:G,updateSubModuleTask:H}=(vo(),x(lo)),{addAnnotatedTagTask:V,addTagTask:z,tagListTask:W}=(Ao(),x(_o)),{straightThroughBufferTask:X,straightThroughStringTask:Y}=(st(),x(ze));function J(e,t){this._executor=new r(e.binary,e.baseDir,new s(e.maxConcurrentProcesses),t)}function K(e,t,r,n){return"string"!=typeof r?o(`git.${e}() requires a string 'repoPath'`):t(r,d(n,u),h(arguments))}(J.prototype=Object.create(n.prototype)).constructor=J,J.prototype.customBinary=function(e){return this._executor.binary=e,this},J.prototype.env=function(e,t){return 1===arguments.length&&"object"==typeof e?this._executor.env=e:(this._executor.env=this._executor.env||{})[e]=t,this},J.prototype.stashList=function(e){return this._runTask(U(p(arguments)||{},a(e)&&e||[]),f(arguments))},J.prototype.clone=function(){return this._runTask(K("clone",O,...arguments),f(arguments))},J.prototype.mirror=function(){return this._runTask(K("mirror",_,...arguments),f(arguments))},J.prototype.mv=function(e,t){return this._runTask(A(e,t),f(arguments))},J.prototype.checkoutLatestTag=function(e){var t=this;return this.pull((function(){t.tags((function(r,n){t.checkout(n.latest,e)}))}))},J.prototype.pull=function(e,t,r,n){return this._runTask(I(d(e,u),d(t,u),h(arguments)),f(arguments))},J.prototype.fetch=function(e,t){return this._runTask(k(d(e,u),d(t,u),h(arguments)),f(arguments))},J.prototype.silent=function(e){return console.warn("simple-git deprecation notice: git.silent: logging should be configured using the `debug` library / `DEBUG` environment variable, this will be an error in version 3"),this},J.prototype.tags=function(e,t){return this._runTask(W(h(arguments)),f(arguments))},J.prototype.rebase=function(){return this._runTask(Y(["rebase",...h(arguments)]),f(arguments))},J.prototype.reset=function(e){return this._runTask(F(D(e),h(arguments)),f(arguments))},J.prototype.revert=function(e){const t=f(arguments);return"string"!=typeof e?this._runTask(o("Commit must be a string"),t):this._runTask(Y(["revert",...h(arguments,0,!0),e]),t)},J.prototype.addTag=function(e){const t="string"==typeof e?z(e):o("Git.addTag requires a tag name");return this._runTask(t,f(arguments))},J.prototype.addAnnotatedTag=function(e,t){return this._runTask(V(e,t),f(arguments))},J.prototype.checkout=function(){const e=["checkout",...h(arguments,!0)];return this._runTask(Y(e),f(arguments))},J.prototype.checkoutBranch=function(e,t,r){return this.checkout(["-b",e,t],f(arguments))},J.prototype.checkoutLocalBranch=function(e,t){return this.checkout(["-b",e],f(arguments))},J.prototype.deleteLocalBranch=function(e,t,r){return this._runTask(w(e,"boolean"==typeof t&&t),f(arguments))},J.prototype.deleteLocalBranches=function(e,t,r){return this._runTask(v(e,"boolean"==typeof t&&t),f(arguments))},J.prototype.branch=function(e,t){return this._runTask(g(h(arguments)),f(arguments))},J.prototype.branchLocal=function(e){return this._runTask(y(),f(arguments))},J.prototype.raw=function(e){const t=!Array.isArray(e),r=[].slice.call(t?arguments:e,0);for(let e=0;e[...t,...e]}}(n.config)),r.add(function({onClose:e=!0,onExit:t=50}={}){function r(e,t,r){!1!==e&&(!0===e?t.promise:t.promise.then((()=>ee(e)))).then(r.done)}return{type:"spawn.after",action(n,s){return A(this,arguments,(function*(n,{spawned:s,close:o}){var i,a;const c=function(){let n=-1;const s={close:(0,It.deferred)(),closeTimeout:(0,It.deferred)(),exit:(0,It.deferred)(),exitTimeout:(0,It.deferred)()},o=Promise.race([!1===e?Pt:s.closeTimeout.promise,!1===t?Pt:s.exitTimeout.promise]);return r(e,s.close,s.closeTimeout),r(t,s.exit,s.exitTimeout),{close(e){n=e,s.close.done()},exit(e){n=e,s.exit.done()},get exitCode(){return n},result:o}}();let u=!0,l=()=>{u=!1};null==(i=s.stdout)||i.on("data",l),null==(a=s.stderr)||a.on("data",l),s.on("error",l),s.on("close",(e=>c.close(e))),s.on("exit",(e=>c.exit(e)));try{yield c.result,u&&(yield ee(50)),o(c.exitCode)}catch(e){o(c.exitCode,e)}}))}}}(n.completion)),n.progress&&r.add(function(e){const t="--progress",r=["checkout","clone","fetch","pull","push"];return[{type:"spawn.args",action:(e,n)=>r.includes(n.method)?z(e,t):e},{type:"spawn.after",action(r,n){var s;n.commands.includes(t)&&(null==(s=n.spawned.stderr)||s.on("data",(t=>{const r=/^([\s\S]+?):\s*(\d+)% \((\d+)\/(\d+)\)/.exec(t.toString("utf8"));var s;r&&e({method:n.method,stage:(s=r[1],String(s.toLowerCase().split(" ",1))||"unknown"),progress:J(r[2]),processed:J(r[3]),total:J(r[4])})})))}}]}(n.progress)),n.timeout&&r.add(function({block:e}){if(e>0)return{type:"spawn.after",action(t,r){var n,s;let o;function a(){o&&clearTimeout(o),o=setTimeout(u,e)}function c(){var e,t;null==(e=r.spawned.stdout)||e.off("data",a),null==(t=r.spawned.stderr)||t.off("data",a),r.spawned.off("exit",c),r.spawned.off("close",c),o&&clearTimeout(o)}function u(){c(),r.kill(new i(void 0,"timeout","block timeout reached"))}null==(n=r.spawned.stdout)||n.on("data",a),null==(s=r.spawned.stderr)||s.on("data",a),r.spawned.on("exit",c),r.spawned.on("close",c),a()}}}(n.timeout)),n.spawnOptions&&r.add(function(e){const t=Z(e,["uid","gid"]);return{type:"spawn.options",action:e=>_(_({},t),e)}}(n.spawnOptions)),r.add(Ft(Dt(!0))),n.errors&&r.add(Ft(n.errors)),new xo(n,r)}S(Po,{esModuleFactory:()=>No,gitExportFactory:()=>Lo,gitInstanceFactory:()=>$o});var Mo,jo,Do=C({"src/lib/git-factory.ts"(){Nt(),Xt(),Le(),xo=Io()}}),Fo={};function Uo(...e){let t,r=Promise.resolve();try{t=$o(...e)}catch(e){r=Promise.reject(e)}function n(){return i}function o(){return r}const i=[...Mo,...jo].reduce(((e,i)=>{const a=jo.includes(i),c=a?(u=i,l=t,function(...e){if("function"==typeof e[e.length])throw new TypeError("Promise interface requires that handlers are not supplied inline, trailing function not allowed in call to "+u);return r.then((function(){return new Promise((function(t,r){e.push(((e,n)=>{if(e)return r((o=e)instanceof Error?o:"string"==typeof o?new Error(o):new s(o));var o;t(n)})),l[u].apply(l,e)}))}))}):function(e,t,r){return(...n)=>(t[e](...n),r)}(i,t,e);var u,l;const d=a?o:n;return Object.defineProperty(e,i,{enumerable:!1,configurable:!1,value:t?c:d}),e}),{});return i}S(Fo,{gitP:()=>Uo});var qo=C({"src/lib/runners/promise-wrapped.ts"(){P(),Do(),Mo=["customBinary","env","outputHandler","silent"],jo=["add","addAnnotatedTag","addConfig","addRemote","addTag","applyPatch","binaryCatFile","branch","branchLocal","catFile","checkIgnore","checkIsRepo","checkout","checkoutBranch","checkoutLatestTag","checkoutLocalBranch","clean","clone","commit","cwd","deleteLocalBranch","deleteLocalBranches","diff","diffSummary","exec","fetch","getRemotes","init","listConfig","listRemote","log","merge","mergeFromTo","mirror","mv","pull","push","pushTags","raw","rebase","remote","removeRemote","reset","revert","revparse","rm","rmKeepLocal","show","stash","stashList","status","subModule","submoduleAdd","submoduleInit","submoduleUpdate","tag","tags","updateServerInfo"]}}),{gitP:Bo}=(qo(),x(Fo)),{esModuleFactory:Go,gitInstanceFactory:Ho,gitExportFactory:Vo}=(Do(),x(Po)),zo=Go(Vo(Ho));e.exports=Object.assign(zo,{gitP:Bo,simpleGit:zo})},2130:(e,t,r)=>{"use strict";const n=r(2037),s=r(6224),o=r(6560),{env:i}=process;let a;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===a)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===a)return 0;const r=a||0;if("dumb"===i.TERM)return r;if("win32"===process.platform){const e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||"codeship"===i.CI_NAME?1:r;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:r}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?a=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(a=1),"FORCE_COLOR"in i&&(a="true"===i.FORCE_COLOR?1:"false"===i.FORCE_COLOR?0:0===i.FORCE_COLOR.length?1:Math.min(parseInt(i.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(u(e,e&&e.isTTY))},stdout:c(u(!0,s.isatty(1))),stderr:c(u(!0,s.isatty(2)))}},6473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUrls=void 0,t.getUrls={fasm1(e,t){const r=(e.alt?[e.alt,e.name]:[e.name]).map((e=>{const r=e.replace(/\./g,"");return{windows:parseInt(r)r.map((t=>e+t))))},fasmg(e){const t=(e.alt?[e.alt,e.name]:[e.name]).map((e=>`fasmg.${e}.zip`));return["https://flatassembler.net/"].flatMap((e=>t.map((t=>e+t))))},fasmarm(e,t){const r=["FASMARM_full.ZIP"];return"windows"===t&&r.unshift("FASMARM_win32.ZIP"),["https://arm.flatassembler.net/"].flatMap((e=>r.map((t=>e+t))))}}},9872:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.downloadVersion=t.downloadVersionArchive=t.HttpError=t.HashMismatchError=t.MissingHashError=t.DownloadError=t.downloadUrl=t.hashFile=t.getMatchingVersions=void 0;const a=i(r(6005)),c=i(r(7561)),u=r(6402),l=o(r(2225)),d=o(r(4392)),h=r(6473),f=r(679);async function p(e){const t=c.default.createReadStream(e),r=a.default.createHash("BLAKE2b512").setEncoding("hex");return await(0,u.pipeline)(t,r),r.read()}async function m(e,t,r,n){if("https:"!==e.protocol&&!r&&!t)throw new y(e);let s;try{s=await d.downloadTool(e.href,n)}catch(t){throw t instanceof d.HTTPError?new w(e,t.httpStatusCode,{cause:t}):t}if(r){const t=await p(s);if(!(0,f.equalsIgnoreCase)(t,r))throw c.default.unlinkSync(s),new v(e,r,t)}return s}t.getMatchingVersions=function(e,t,r){if(t=t.toLowerCase(),["latest","*"].includes(t))return e.versions;if(t.endsWith(".*")){const r=t.slice(0,-2);return e.versions.filter((e=>e.name.toLowerCase().startsWith(r)&&[".",void 0].includes(e.name[r.length])))}{const n=e.versions.find((e=>e.name.toLowerCase()===t));if(!n)return"never"===r?[]:["secure","insecure"].includes(r)?[{name:t,allowInsecure:"insecure"===r,userProvided:!0}]:[{name:t,hashes:new Proxy({},{get:()=>r}),userProvided:!0}];if("secure"!==r){if("insecure"===r)return[{...n,allowInsecure:!0}];if(r)return[{...n,hashes:new Proxy({},{get:()=>r}),userProvided:!0}]}return[n]}},t.hashFile=p,t.downloadUrl=m;class g extends Error{url;constructor(e,t,r){super(t,r),this.url=e}}t.DownloadError=g;class y extends g{constructor(e,t){super(e,`no hash found for insecure URL ${e.href}`,t)}}t.MissingHashError=y;class v extends g{constructor(e,t,r,n){super(e,`expected hash ${t} but got ${r} for ${e.href}`,n)}}t.HashMismatchError=v;class w extends g{httpStatusCode;constructor(e,t,r){super(e,`HTTP error${void 0!==t?` (${t})`:""} while downloading ${e.href}`,r),this.httpStatusCode=t}}async function E(e,t,r,n){const s=`${e} ${t.name} for ${r}`,o=(t.hashes||{})[r];let i=!1,a=!1;const c=h.getUrls[e](t,r).map((e=>new URL(e)));for(const e of c){l.debug(`trying ${e.href}`);try{return{path:await m(e,!!t.allowInsecure,o,n),url:e}}catch(e){if(e instanceof y){a=!0,l.warning(`${e.message} for ${s}; not using this file`);continue}if(e instanceof v){a=!0,l.warning(`${e.message} for ${s}${t.userProvided?"":"you may want to report this to the setup-fasm action maintainer"}; not using this file`);continue}if(e instanceof w){void 0!==e.httpStatusCode&&(i||=404!==e.httpStatusCode),(404===e.httpStatusCode?l.debug:l.warning)(`${e.message} for ${s}`);continue}throw e}}return l.warning(`all attempts at downloading ${s} failed; `+(a?"some hash problems were encountered":i?"some servers seem to have problems with the requests":`${e} ${t.name} not found for ${r}`)),null}t.HttpError=w,t.downloadVersionArchive=E;const b="ia32";t.downloadVersion=async function(e,t,r,n=!1){const s=`${e}-${r}-${t.name}`,o=d.find(s,"0.0.0",b);if(o){if(l.debug("found cached"),!t.dynamic||n)return o;l.debug("but may be updated")}const i=await E(e,t,r);if(!i)return null;let{path:a,url:u}=i;u.pathname.toLowerCase().endsWith(".zip")&&!a.endsWith(".zip")&&c.default.renameSync(a,a=`${a}.zip`);const h=u.pathname.toLowerCase().endsWith(".zip")?d.extractZip:d.extractTar,f=await h(a);return c.default.unlinkSync(a),await d.cacheDir(f,s,"0.0.0",b),f}},4470:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=r(6005),c=i(r(7561)),u=i(r(2286)),l=i(r(612)),d=i(r(9411)),h=i(r(7742)),f=i(r(6465)),p=i(r(7261)),m=o(r(2225)),g=i(r(6998)),y=r(9872),v=new URL("https://raw.githubusercontent.com/stevenwdv/fasm-versions/v1/fasm_versions.json"),w=new URL("https://github.com/tgrysztar/fasmg.git"),E={aix:"unix",android:"linux",cygwin:"windows",freebsd:"unix",haiku:"unix",linux:"linux",netbsd:"unix",openbsd:"unix",sunos:"unix",win32:"windows"};function b(e,t,r,n,s){const o=c.default.readdirSync(n),i=1===o.length&&c.default.statSync(d.default.join(n,o[0])).isDirectory()?d.default.join(n,o[0]):n;m.addPath(i);{const t=[".x64","",".exe",".o"].map((t=>`${{fasm1:"fasm",fasmg:"fasmg",fasmarm:"fasmarm"}[e]}${t}`));for(const e of t){const t=d.default.join(i,e),r=c.default.statSync(t,{throwIfNoEntry:!1});r?.isFile()&&c.default.chmodSync(t,73|r.mode)}}if(s){const e=d.default.join(i,"INCLUDE");c.default.statSync(e,{throwIfNoEntry:!1})?.isDirectory()&&_(e)}m.setOutput("path",i),m.setOutput("edition",e),m.setOutput("version",r),m.setOutput("platform",t),m.info(`successfully installed ${e} ${r} for ${t} to ${i}`)}async function O(e,t,r){m.startGroup("downloading fasm g packages");const n=d.default.join(h.default.env.RUNNER_TEMP||l.default.tmpdir(),(0,a.randomUUID)());await(0,g.default)().clone(w.href,n,["--filter=blob:none","--sparse","--no-checkout"]).cwd(n).checkout(e??"HEAD").raw("sparse-checkout","add","--cone","packages"),m.debug("checked out fasm g packages repository");const s=d.default.join(n,"packages");if(!c.default.statSync(s,{throwIfNoEntry:!1})?.isDirectory())throw new Error("cannot find fasm g packages directory");m.setOutput("fasmg-packages",s),r&&_(s);for(const e of t){const t=d.default.join(s,e);if(!c.default.statSync(s,{throwIfNoEntry:!1})?.isDirectory())throw new Error(`fasm g package ${e} not found`);const r=d.default.join(t,"include");c.default.statSync(r,{throwIfNoEntry:!1})?.isDirectory()?_(r):_(t)}m.endGroup(),m.info(`successfully installed fasm g packages to ${s}`)}function _(e){m.debug(`adding to include: ${e}`);let t=h.default.env.INCLUDE??"";t&&(t+=";"),t+=e,m.exportVariable("INCLUDE",t)}(async()=>{try{await async function(){const e=m.getInput("edition").toLowerCase(),t=m.getInput("version").toLowerCase(),r=m.getInput("download-unknown").toLowerCase(),n=m.getBooleanInput("assume-dynamic-unchanged"),s=m.getInput("fasmg-download-packages"),o=m.getInput("fasmg-include-packages").toLowerCase().split(/,\s*/).filter((e=>e)),i=m.getBooleanInput("set-include-envvar");if("fasmg"!==e&&("false"!==s.toLowerCase()||o.length))return void m.setFailed("fasm g packages option set but requested edition is not fasmg");if(o.length&&"false"===s.toLowerCase())return void m.setFailed("fasmg-include-packages set without fasmg-download-packages");m.debug("downloading version list");const a=(await new Promise(((e,t)=>{u.default.get(v,(r=>{200!==r.statusCode?t(new Error(`failed to download ${v.href}: HTTP ${r.statusCode} ${r.statusMessage}`)):e(f.default.json(r))})).on("error",(e=>t(new Error(`failed to download ${v.href}`,{cause:e}))))}))).editions[e];if(!a)return void m.setFailed(`requested edition '${e}' not found`);const c=e,d=(0,y.getMatchingVersions)(a,t,r);if(!d.length)return void m.setFailed(`requested version '${t}' not found for edition ${c}`);const h=l.default.platform();if("darwin"===h)return void m.setFailed("macOS does not support ELF binaries, so fasm is not available");let p=E[h];p||(m.warning(`unknown current platform ${h}, trying unix`),p="unix");let g=10;for(const e of d){m.startGroup(`using ${e.name}`);let t=await(0,y.downloadVersion)(c,e,p,n);if(t||"linux"!==p||(m.debug("no linux version found, trying unix instead"),t=await(0,y.downloadVersion)(c,e,"unix",n),t&&(p="unix")),m.endGroup(),t)return b(c,p,e.name,t,i),void("fasmg"===c&&"false"!==s.toLowerCase()&&await O("true"===s.toLowerCase()?null:s,o,i));if(!--g)return void m.setFailed("maximum number of versions to try exceeded")}m.setFailed(`could not download ${e} ${t} for ${p}`)}()}catch(e){m.setFailed(p.default.inspect(e))}})()},679:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equalsIgnoreCase=void 0,t.equalsIgnoreCase=function(e,t){return e.toLowerCase()===t.toLowerCase()}},6149:(e,t,r)=>{e.exports=r(5468)},5468:(e,t,r)=>{"use strict";r(1808);var n,s=r(4404),o=r(3685),i=r(5687),a=r(2361),c=(r(9491),r(3837));function u(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||o.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",(function(e,r,n,s){for(var o=d(r,n,s),i=0,a=t.requests.length;i=this.maxSockets?s.requests.push(o):s.createSocket(o,(function(t){function r(){s.emit("free",t,o)}function n(e){s.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n)}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t)}))},u.prototype.createSocket=function(e,t){var r=this,s={};r.sockets.push(s);var o=h({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(o.localAddress=e.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),n("making CONNECT request");var i=r.request(o);function a(o,a,c){var u;return i.removeAllListeners(),a.removeAllListeners(),200!==o.statusCode?(n("tunneling socket could not be established, statusCode=%d",o.statusCode),a.destroy(),(u=new Error("tunneling socket could not be established, statusCode="+o.statusCode)).code="ECONNRESET",e.request.emit("error",u),void r.removeSocket(s)):c.length>0?(n("got illegal response body from proxy"),a.destroy(),(u=new Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",u),void r.removeSocket(s)):(n("tunneling connection has established"),r.sockets[r.sockets.indexOf(s)]=a,t(a))}i.useChunkedEncodingByDefault=!1,i.once("response",(function(e){e.upgrade=!0})),i.once("upgrade",(function(e,t,r){process.nextTick((function(){a(e,t,r)}))})),i.once("connect",a),i.once("error",(function(t){i.removeAllListeners(),n("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var o=new Error("tunneling socket could not be established, cause="+t.message);o.code="ECONNRESET",e.request.emit("error",o),r.removeSocket(s)})),i.end()},u.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,(function(e){r.request.onSocket(e)}))}},n=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:function(){},t.debug=n},5327:e=>{for(var t=[],r=0;r<256;++r)t[r]=(r+256).toString(16).substr(1);e.exports=function(e,r){var n=r||0,s=t;return[s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],"-",s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]],s[e[n++]]].join("")}},556:(e,t,r)=>{var n=r(6113);e.exports=function(){return n.randomBytes(16)}},1171:(e,t,r)=>{var n=r(556),s=r(5327);e.exports=function(e,t,r){var o=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||n)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;a<16;++a)t[o+a]=i[a];return t||s(i)}},9491:e=>{"use strict";e.exports=require("assert")},2081:e=>{"use strict";e.exports=require("child_process")},6113:e=>{"use strict";e.exports=require("crypto")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},1808:e=>{"use strict";e.exports=require("net")},6005:e=>{"use strict";e.exports=require("node:crypto")},7561:e=>{"use strict";e.exports=require("node:fs")},2286:e=>{"use strict";e.exports=require("node:https")},612:e=>{"use strict";e.exports=require("node:os")},9411:e=>{"use strict";e.exports=require("node:path")},7742:e=>{"use strict";e.exports=require("node:process")},6465:e=>{"use strict";e.exports=require("node:stream/consumers")},6402:e=>{"use strict";e.exports=require("node:stream/promises")},7261:e=>{"use strict";e.exports=require("node:util")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},1576:e=>{"use strict";e.exports=require("string_decoder")},9512:e=>{"use strict";e.exports=require("timers")},4404:e=>{"use strict";e.exports=require("tls")},6224:e=>{"use strict";e.exports=require("tty")},3837:e=>{"use strict";e.exports=require("util")}},t={};!function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}(4470)})(); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6a225ee..c3d77b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,32 +9,32 @@ "version": "1.1.0", "license": "MIT", "dependencies": { - "@actions/core": "^1.8.2", + "@actions/core": "^1.9.0", "@actions/tool-cache": "^2.0.1", "fasm-versions": "github:stevenwdv/fasm-versions#v1", - "simple-git": "^3.7.1" + "simple-git": "^3.11.0" }, "devDependencies": { - "@types/node": "^17.0.38", + "@types/node": "^16.11.47", "@types/webpack": "^5.28.0", - "@typescript-eslint/eslint-plugin": "^5.27.0", - "@typescript-eslint/parser": "^5.27.0", - "eslint": "^8.16.0", + "@typescript-eslint/eslint-plugin": "^5.32.0", + "@typescript-eslint/parser": "^5.32.0", + "eslint": "^8.21.0", "husky": "^8.0.1", - "ts-loader": "^9.3.0", - "ts-node": "^10.8.1", - "typescript": "^4.7.3", - "webpack": "^5.73.0", + "ts-loader": "^9.3.1", + "ts-node": "^10.9.1", + "typescript": "^4.7.4", + "webpack": "^5.74.0", "webpack-cli": "^4.10.0" + }, + "engines": { + "node": ">=16" } }, - "../../Users/Steven/source/repos/fasm-version": { - "extraneous": true - }, "node_modules/@actions/core": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.8.2.tgz", - "integrity": "sha512-FXcBL7nyik8K5ODeCKlxi+vts7torOkoDAKfeh61EAkAy1HAvwn9uVzZBY0f15YcQTcZZ2/iSGBFHEuioZWfDA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.9.0.tgz", + "integrity": "sha512-5pbM693Ih59ZdUhgk+fts+bUWTnIdHV3kwOSr+QIoFHMLg7Gzhwm0cifDY/AG68ekEJAkHnQVpcy4f6GjmzBCA==", "dependencies": { "@actions/http-client": "^2.0.1" } @@ -115,9 +115,9 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.9.5", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", - "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz", + "integrity": "sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==", "dev": true, "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", @@ -128,6 +128,16 @@ "node": ">=10.10.0" } }, + "node_modules/@humanwhocodes/gitignore-to-minimatch": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz", + "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, "node_modules/@humanwhocodes/object-schema": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", @@ -135,12 +145,12 @@ "dev": true }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", "dev": true, "dependencies": { - "@jridgewell/set-array": "^1.0.0", + "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", "@jridgewell/trace-mapping": "^0.3.9" }, @@ -149,18 +159,18 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", - "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", - "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", "dev": true, "engines": { "node": ">=6.0.0" @@ -177,9 +187,9 @@ } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.13", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", - "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==", + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", "dev": true }, "node_modules/@jridgewell/trace-mapping": { @@ -241,33 +251,33 @@ } }, "node_modules/@tsconfig/node10": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", - "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", "dev": true }, "node_modules/@tsconfig/node12": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", - "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", "dev": true }, "node_modules/@tsconfig/node14": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", - "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", "dev": true }, "node_modules/@tsconfig/node16": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", - "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.3.tgz", + "integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==", "dev": true }, "node_modules/@types/eslint": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.2.tgz", - "integrity": "sha512-Z1nseZON+GEnFjJc04sv4NSALGjhFwy6K0HXt7qsn5ArfAKtb63dXNJHf+1YW6IpOIYRBGUbu3GwJdj8DGnCjA==", + "version": "8.4.5", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.5.tgz", + "integrity": "sha512-dhsC09y1gpJWnK+Ff4SGvCuSnk9DaU0BJZSzOwa6GVSg65XtTugLBITDAAzRU5duGBoXBHpdR/9jHGxJjNflJQ==", "dev": true, "dependencies": { "@types/estree": "*", @@ -275,9 +285,9 @@ } }, "node_modules/@types/eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", + "version": "3.7.4", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.4.tgz", + "integrity": "sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==", "dev": true, "dependencies": { "@types/eslint": "*", @@ -297,9 +307,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "17.0.38", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.38.tgz", - "integrity": "sha512-5jY9RhV7c0Z4Jy09G+NIDTsCZ5G0L5n+Z+p+Y7t5VJHM30bgwzSjVtlcBxqAj+6L/swIlvtOSzr8rBk/aNyV2g==", + "version": "16.11.47", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.47.tgz", + "integrity": "sha512-fpP+jk2zJ4VW66+wAMFoBJlx1bxmBKx4DUFf68UHgdGCOuyUTDlLWqsaNPJh7xhNDykyJ9eIzAygilP/4WoN8g==", "dev": true }, "node_modules/@types/webpack": { @@ -314,14 +324,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.27.0.tgz", - "integrity": "sha512-DDrIA7GXtmHXr1VCcx9HivA39eprYBIFxbQEHI6NyraRDxCGpxAFiYQAT/1Y0vh1C+o2vfBiy4IuPoXxtTZCAQ==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.32.0.tgz", + "integrity": "sha512-CHLuz5Uz7bHP2WgVlvoZGhf0BvFakBJKAD/43Ty0emn4wXWv5k01ND0C0fHcl/Im8Td2y/7h44E9pca9qAu2ew==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.27.0", - "@typescript-eslint/type-utils": "5.27.0", - "@typescript-eslint/utils": "5.27.0", + "@typescript-eslint/scope-manager": "5.32.0", + "@typescript-eslint/type-utils": "5.32.0", + "@typescript-eslint/utils": "5.32.0", "debug": "^4.3.4", "functional-red-black-tree": "^1.0.1", "ignore": "^5.2.0", @@ -362,14 +372,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.27.0.tgz", - "integrity": "sha512-8oGjQF46c52l7fMiPPvX4It3u3V3JipssqDfHQ2hcR0AeR8Zge+OYyKUCm5b70X72N1qXt0qgHenwN6Gc2SXZA==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.32.0.tgz", + "integrity": "sha512-IxRtsehdGV9GFQ35IGm5oKKR2OGcazUoiNBxhRV160iF9FoyuXxjY+rIqs1gfnd+4eL98OjeGnMpE7RF/NBb3A==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.27.0", - "@typescript-eslint/types": "5.27.0", - "@typescript-eslint/typescript-estree": "5.27.0", + "@typescript-eslint/scope-manager": "5.32.0", + "@typescript-eslint/types": "5.32.0", + "@typescript-eslint/typescript-estree": "5.32.0", "debug": "^4.3.4" }, "engines": { @@ -389,13 +399,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.27.0.tgz", - "integrity": "sha512-VnykheBQ/sHd1Vt0LJ1JLrMH1GzHO+SzX6VTXuStISIsvRiurue/eRkTqSrG0CexHQgKG8shyJfR4o5VYioB9g==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.32.0.tgz", + "integrity": "sha512-KyAE+tUON0D7tNz92p1uetRqVJiiAkeluvwvZOqBmW9z2XApmk5WSMV9FrzOroAcVxJZB3GfUwVKr98Dr/OjOg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.27.0", - "@typescript-eslint/visitor-keys": "5.27.0" + "@typescript-eslint/types": "5.32.0", + "@typescript-eslint/visitor-keys": "5.32.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -406,12 +416,12 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.27.0.tgz", - "integrity": "sha512-vpTvRRchaf628Hb/Xzfek+85o//zEUotr1SmexKvTfs7czXfYjXVT/a5yDbpzLBX1rhbqxjDdr1Gyo0x1Fc64g==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.32.0.tgz", + "integrity": "sha512-0gSsIhFDduBz3QcHJIp3qRCvVYbqzHg8D6bHFsDMrm0rURYDj+skBK2zmYebdCp+4nrd9VWd13egvhYFJj/wZg==", "dev": true, "dependencies": { - "@typescript-eslint/utils": "5.27.0", + "@typescript-eslint/utils": "5.32.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -432,9 +442,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.27.0.tgz", - "integrity": "sha512-lY6C7oGm9a/GWhmUDOs3xAVRz4ty/XKlQ2fOLr8GAIryGn0+UBOoJDWyHer3UgrHkenorwvBnphhP+zPmzmw0A==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.32.0.tgz", + "integrity": "sha512-EBUKs68DOcT/EjGfzywp+f8wG9Zw6gj6BjWu7KV/IYllqKJFPlZlLSYw/PTvVyiRw50t6wVbgv4p9uE2h6sZrQ==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -445,13 +455,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.27.0.tgz", - "integrity": "sha512-QywPMFvgZ+MHSLRofLI7BDL+UczFFHyj0vF5ibeChDAJgdTV8k4xgEwF0geFhVlPc1p8r70eYewzpo6ps+9LJQ==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.32.0.tgz", + "integrity": "sha512-ZVAUkvPk3ITGtCLU5J4atCw9RTxK+SRc6hXqLtllC2sGSeMFWN+YwbiJR9CFrSFJ3w4SJfcWtDwNb/DmUIHdhg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.27.0", - "@typescript-eslint/visitor-keys": "5.27.0", + "@typescript-eslint/types": "5.32.0", + "@typescript-eslint/visitor-keys": "5.32.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -487,15 +497,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.27.0.tgz", - "integrity": "sha512-nZvCrkIJppym7cIbP3pOwIkAefXOmfGPnCM0LQfzNaKxJHI6VjI8NC662uoiPlaf5f6ymkTy9C3NQXev2mdXmA==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.32.0.tgz", + "integrity": "sha512-W7lYIAI5Zlc5K082dGR27Fczjb3Q57ECcXefKU/f0ajM5ToM0P+N9NmJWip8GmGu/g6QISNT+K6KYB+iSHjXCQ==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.27.0", - "@typescript-eslint/types": "5.27.0", - "@typescript-eslint/typescript-estree": "5.27.0", + "@typescript-eslint/scope-manager": "5.32.0", + "@typescript-eslint/types": "5.32.0", + "@typescript-eslint/typescript-estree": "5.32.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" }, @@ -511,12 +521,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.27.0.tgz", - "integrity": "sha512-46cYrteA2MrIAjv9ai44OQDUoCZyHeGIc4lsjCUX2WT6r4C+kidz1bNiR4017wHOPUythYeH+Sc7/cFP97KEAA==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.32.0.tgz", + "integrity": "sha512-S54xOHZgfThiZ38/ZGTgB2rqx51CMJ5MCfVT2IplK4Q7hgzGfe0nLzLCcenDnc/cSjP568hdeKfeDcBgqNHD/g==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.27.0", + "@typescript-eslint/types": "5.32.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -722,9 +732,9 @@ "dev": true }, "node_modules/acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -859,9 +869,9 @@ } }, "node_modules/browserslist": { - "version": "4.20.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", - "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz", + "integrity": "sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==", "dev": true, "funding": [ { @@ -874,11 +884,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001332", - "electron-to-chromium": "^1.4.118", - "escalade": "^3.1.1", - "node-releases": "^2.0.3", - "picocolors": "^1.0.0" + "caniuse-lite": "^1.0.30001370", + "electron-to-chromium": "^1.4.202", + "node-releases": "^2.0.6", + "update-browserslist-db": "^1.0.5" }, "bin": { "browserslist": "cli.js" @@ -903,9 +912,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001344", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001344.tgz", - "integrity": "sha512-0ZFjnlCaXNOAYcV7i+TtdKBp0L/3XEU2MF/x6Du1lrh+SRX4IfzIVL4HNJg5pB2PmFb8rszIGyOvsZnqqRoc2g==", + "version": "1.0.30001373", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001373.tgz", + "integrity": "sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ==", "dev": true, "funding": [ { @@ -976,9 +985,9 @@ "dev": true }, "node_modules/colorette": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", - "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", + "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", "dev": true }, "node_modules/commander": { @@ -1069,15 +1078,15 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.143", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.143.tgz", - "integrity": "sha512-2hIgvu0+pDfXIqmVmV5X6iwMjQ2KxDsWKwM+oI1fABEOy/Dqmll0QJRmIQ3rm+XaoUa/qKrmy5h7LSTFQ6Ldzg==", + "version": "1.4.210", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.210.tgz", + "integrity": "sha512-kSiX4tuyZijV7Cz0MWVmGT8K2siqaOA4Z66K5dCttPPRh0HicOcOAEj1KlC8O8J1aOS/1M8rGofOzksLKaHWcQ==", "dev": true }, "node_modules/enhanced-resolve": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", - "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz", + "integrity": "sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ==", "dev": true, "dependencies": { "graceful-fs": "^4.2.4", @@ -1127,13 +1136,14 @@ } }, "node_modules/eslint": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.16.0.tgz", - "integrity": "sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.21.0.tgz", + "integrity": "sha512-/XJ1+Qurf1T9G2M5IHrsjp+xrGT73RZf23xA1z5wB1ZzzEAWSZKvRwhWxTFp1rvkvCfwcvAUNAP31bhKTTGfDA==", "dev": true, "dependencies": { "@eslint/eslintrc": "^1.3.0", - "@humanwhocodes/config-array": "^0.9.2", + "@humanwhocodes/config-array": "^0.10.4", + "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -1143,14 +1153,17 @@ "eslint-scope": "^7.1.1", "eslint-utils": "^3.0.0", "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.2", + "espree": "^9.3.3", "esquery": "^1.4.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", "functional-red-black-tree": "^1.0.1", "glob-parent": "^6.0.1", "globals": "^13.15.0", + "globby": "^11.1.0", + "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", @@ -1250,17 +1263,20 @@ } }, "node_modules/espree": { - "version": "9.3.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz", - "integrity": "sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==", + "version": "9.3.3", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.3.tgz", + "integrity": "sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng==", "dev": true, "dependencies": { - "acorn": "^8.7.1", + "acorn": "^8.8.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^3.3.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/esquery": { @@ -1335,7 +1351,6 @@ "node_modules/fasm-versions": { "version": "1.0.0", "resolved": "git+ssh://git@github.com/stevenwdv/fasm-versions.git#c9ef2b37feea850ffbac2f8a21c262f3f9e0af53", - "integrity": "sha512-2yJD/+qBhElK1/axUV9LE6oa/MO5yEc1Cn0yBv0tZmkRIsRziMOCadd9MeFqz1725+ez1dq40mbwyGeoEKAEgA==", "license": "MIT" }, "node_modules/fast-deep-equal": { @@ -1385,10 +1400,13 @@ "dev": true }, "node_modules/fastest-levenshtein": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", - "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", - "dev": true + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "dev": true, + "engines": { + "node": ">= 4.9.1" + } }, "node_modules/fastq": { "version": "1.13.0", @@ -1424,16 +1442,19 @@ } }, "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, "dependencies": { - "locate-path": "^5.0.0", + "locate-path": "^6.0.0", "path-exists": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/flat-cache": { @@ -1450,9 +1471,9 @@ } }, "node_modules/flatted": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", - "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.6.tgz", + "integrity": "sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ==", "dev": true }, "node_modules/fs.realpath": { @@ -1512,9 +1533,9 @@ "dev": true }, "node_modules/globals": { - "version": "13.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.15.0.tgz", - "integrity": "sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==", + "version": "13.17.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", + "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -1552,6 +1573,12 @@ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", "dev": true }, + "node_modules/grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true + }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -1826,15 +1853,18 @@ } }, "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "dependencies": { - "p-locate": "^4.1.0" + "p-locate": "^5.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/lodash.merge": { @@ -1940,9 +1970,9 @@ "dev": true }, "node_modules/node-releases": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", - "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", + "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", "dev": true }, "node_modules/once": { @@ -1972,30 +2002,33 @@ } }, "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "dependencies": { - "p-try": "^2.0.0" + "yocto-queue": "^0.1.0" }, "engines": { - "node": ">=6" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "dependencies": { - "p-limit": "^2.2.0" + "p-limit": "^3.0.2" }, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/p-try": { @@ -2091,6 +2124,58 @@ "node": ">=8" } }, + "node_modules/pkg-dir/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -2163,12 +2248,12 @@ } }, "node_modules/resolve": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", - "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", "dev": true, "dependencies": { - "is-core-module": "^2.8.1", + "is-core-module": "^2.9.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -2346,17 +2431,17 @@ } }, "node_modules/simple-git": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.7.1.tgz", - "integrity": "sha512-+Osjtsumbtew2y9to0pOYjNzSIr4NkKGBg7Po5SUtjQhaJf2QBmiTX/9E9cv9rmc7oUiSGFIB9e7ys5ibnT9+A==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.11.0.tgz", + "integrity": "sha512-XULamN/hxviH/ABjDbxJqUTpH59Pn3fHRtwZZZ6v7KWTLE3wKl6CLB0SPXFfzjalQ5hUp+R5DWX2X8rKm4crvw==", "dependencies": { "@kwsites/file-exists": "^1.1.1", "@kwsites/promise-deferred": "^1.1.1", - "debug": "^4.3.3" + "debug": "^4.3.4" }, "funding": { "type": "github", - "url": "https://github.com/sponsors/steveukx/" + "url": "https://github.com/steveukx/git-js?sponsor=1" } }, "node_modules/slash": { @@ -2445,9 +2530,9 @@ } }, "node_modules/terser": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.0.tgz", - "integrity": "sha512-JC6qfIEkPBd9j1SMO3Pfn+A6w2kQV54tv+ABQLgZr7dA3k/DL/OBoYSWxzVpZev3J+bUHXfr55L8Mox7AaNo6g==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.2", @@ -2463,15 +2548,15 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz", - "integrity": "sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.3.tgz", + "integrity": "sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ==", "dev": true, "dependencies": { + "@jridgewell/trace-mapping": "^0.3.7", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.0", - "source-map": "^0.6.1", "terser": "^5.7.2" }, "engines": { @@ -2499,7 +2584,7 @@ "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, "node_modules/to-regex-range": { @@ -2515,9 +2600,9 @@ } }, "node_modules/ts-loader": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.3.0.tgz", - "integrity": "sha512-2kLLAdAD+FCKijvGKi9sS0OzoqxLCF3CxHpok7rVgCZ5UldRzH0TkbwG9XECKjBzHsAewntC5oDaI/FwKzEUog==", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.3.1.tgz", + "integrity": "sha512-OkyShkcZTsTwyS3Kt7a4rsT/t2qvEVQuKCTg4LJmpj9fhFR7ukGdZwV6Qq3tRUkqcXtfGpPR7+hFKHCG/0d3Lw==", "dev": true, "dependencies": { "chalk": "^4.1.0", @@ -2549,9 +2634,9 @@ } }, "node_modules/ts-node": { - "version": "10.8.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.8.1.tgz", - "integrity": "sha512-Wwsnao4DQoJsN034wePSg5nZiw4YKXf56mPIAeD6wVmiv+RytNSWqc2f3fKvcUoV+Yn2+yocD71VOfQHbmVX4g==", + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", "dev": true, "dependencies": { "@cspotcode/source-map-support": "^0.8.0", @@ -2645,9 +2730,9 @@ } }, "node_modules/typescript": { - "version": "4.7.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.3.tgz", - "integrity": "sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==", + "version": "4.7.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -2657,6 +2742,32 @@ "node": ">=4.2.0" } }, + "node_modules/update-browserslist-db": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz", + "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist-lint": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -2688,9 +2799,9 @@ "dev": true }, "node_modules/watchpack": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", - "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", + "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", "dev": true, "dependencies": { "glob-to-regexp": "^0.4.1", @@ -2701,9 +2812,9 @@ } }, "node_modules/webpack": { - "version": "5.73.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", - "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", + "version": "5.74.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", + "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -2711,11 +2822,11 @@ "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/wasm-edit": "1.11.1", "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", + "acorn": "^8.7.1", "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.3", + "enhanced-resolve": "^5.10.0", "es-module-lexer": "^0.9.0", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -2728,7 +2839,7 @@ "schema-utils": "^3.1.0", "tapable": "^2.1.1", "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", + "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" }, "bin": { @@ -2858,7 +2969,7 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, "node_modules/yallist": { @@ -2875,13 +2986,25 @@ "engines": { "node": ">=6" } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } } }, "dependencies": { "@actions/core": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.8.2.tgz", - "integrity": "sha512-FXcBL7nyik8K5ODeCKlxi+vts7torOkoDAKfeh61EAkAy1HAvwn9uVzZBY0f15YcQTcZZ2/iSGBFHEuioZWfDA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.9.0.tgz", + "integrity": "sha512-5pbM693Ih59ZdUhgk+fts+bUWTnIdHV3kwOSr+QIoFHMLg7Gzhwm0cifDY/AG68ekEJAkHnQVpcy4f6GjmzBCA==", "requires": { "@actions/http-client": "^2.0.1" } @@ -2953,9 +3076,9 @@ } }, "@humanwhocodes/config-array": { - "version": "0.9.5", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", - "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.4.tgz", + "integrity": "sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==", "dev": true, "requires": { "@humanwhocodes/object-schema": "^1.2.1", @@ -2963,6 +3086,12 @@ "minimatch": "^3.0.4" } }, + "@humanwhocodes/gitignore-to-minimatch": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz", + "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==", + "dev": true + }, "@humanwhocodes/object-schema": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", @@ -2970,26 +3099,26 @@ "dev": true }, "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", "dev": true, "requires": { - "@jridgewell/set-array": "^1.0.0", + "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", "@jridgewell/trace-mapping": "^0.3.9" } }, "@jridgewell/resolve-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", - "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", "dev": true }, "@jridgewell/set-array": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", - "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", "dev": true }, "@jridgewell/source-map": { @@ -3003,9 +3132,9 @@ } }, "@jridgewell/sourcemap-codec": { - "version": "1.4.13", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", - "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==", + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", "dev": true }, "@jridgewell/trace-mapping": { @@ -3058,33 +3187,33 @@ } }, "@tsconfig/node10": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", - "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", "dev": true }, "@tsconfig/node12": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", - "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", "dev": true }, "@tsconfig/node14": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", - "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", "dev": true }, "@tsconfig/node16": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", - "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.3.tgz", + "integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==", "dev": true }, "@types/eslint": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.2.tgz", - "integrity": "sha512-Z1nseZON+GEnFjJc04sv4NSALGjhFwy6K0HXt7qsn5ArfAKtb63dXNJHf+1YW6IpOIYRBGUbu3GwJdj8DGnCjA==", + "version": "8.4.5", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.5.tgz", + "integrity": "sha512-dhsC09y1gpJWnK+Ff4SGvCuSnk9DaU0BJZSzOwa6GVSg65XtTugLBITDAAzRU5duGBoXBHpdR/9jHGxJjNflJQ==", "dev": true, "requires": { "@types/estree": "*", @@ -3092,9 +3221,9 @@ } }, "@types/eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g==", + "version": "3.7.4", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.4.tgz", + "integrity": "sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==", "dev": true, "requires": { "@types/eslint": "*", @@ -3114,9 +3243,9 @@ "dev": true }, "@types/node": { - "version": "17.0.38", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.38.tgz", - "integrity": "sha512-5jY9RhV7c0Z4Jy09G+NIDTsCZ5G0L5n+Z+p+Y7t5VJHM30bgwzSjVtlcBxqAj+6L/swIlvtOSzr8rBk/aNyV2g==", + "version": "16.11.47", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.47.tgz", + "integrity": "sha512-fpP+jk2zJ4VW66+wAMFoBJlx1bxmBKx4DUFf68UHgdGCOuyUTDlLWqsaNPJh7xhNDykyJ9eIzAygilP/4WoN8g==", "dev": true }, "@types/webpack": { @@ -3131,14 +3260,14 @@ } }, "@typescript-eslint/eslint-plugin": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.27.0.tgz", - "integrity": "sha512-DDrIA7GXtmHXr1VCcx9HivA39eprYBIFxbQEHI6NyraRDxCGpxAFiYQAT/1Y0vh1C+o2vfBiy4IuPoXxtTZCAQ==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.32.0.tgz", + "integrity": "sha512-CHLuz5Uz7bHP2WgVlvoZGhf0BvFakBJKAD/43Ty0emn4wXWv5k01ND0C0fHcl/Im8Td2y/7h44E9pca9qAu2ew==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.27.0", - "@typescript-eslint/type-utils": "5.27.0", - "@typescript-eslint/utils": "5.27.0", + "@typescript-eslint/scope-manager": "5.32.0", + "@typescript-eslint/type-utils": "5.32.0", + "@typescript-eslint/utils": "5.32.0", "debug": "^4.3.4", "functional-red-black-tree": "^1.0.1", "ignore": "^5.2.0", @@ -3159,52 +3288,52 @@ } }, "@typescript-eslint/parser": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.27.0.tgz", - "integrity": "sha512-8oGjQF46c52l7fMiPPvX4It3u3V3JipssqDfHQ2hcR0AeR8Zge+OYyKUCm5b70X72N1qXt0qgHenwN6Gc2SXZA==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.32.0.tgz", + "integrity": "sha512-IxRtsehdGV9GFQ35IGm5oKKR2OGcazUoiNBxhRV160iF9FoyuXxjY+rIqs1gfnd+4eL98OjeGnMpE7RF/NBb3A==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.27.0", - "@typescript-eslint/types": "5.27.0", - "@typescript-eslint/typescript-estree": "5.27.0", + "@typescript-eslint/scope-manager": "5.32.0", + "@typescript-eslint/types": "5.32.0", + "@typescript-eslint/typescript-estree": "5.32.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.27.0.tgz", - "integrity": "sha512-VnykheBQ/sHd1Vt0LJ1JLrMH1GzHO+SzX6VTXuStISIsvRiurue/eRkTqSrG0CexHQgKG8shyJfR4o5VYioB9g==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.32.0.tgz", + "integrity": "sha512-KyAE+tUON0D7tNz92p1uetRqVJiiAkeluvwvZOqBmW9z2XApmk5WSMV9FrzOroAcVxJZB3GfUwVKr98Dr/OjOg==", "dev": true, "requires": { - "@typescript-eslint/types": "5.27.0", - "@typescript-eslint/visitor-keys": "5.27.0" + "@typescript-eslint/types": "5.32.0", + "@typescript-eslint/visitor-keys": "5.32.0" } }, "@typescript-eslint/type-utils": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.27.0.tgz", - "integrity": "sha512-vpTvRRchaf628Hb/Xzfek+85o//zEUotr1SmexKvTfs7czXfYjXVT/a5yDbpzLBX1rhbqxjDdr1Gyo0x1Fc64g==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.32.0.tgz", + "integrity": "sha512-0gSsIhFDduBz3QcHJIp3qRCvVYbqzHg8D6bHFsDMrm0rURYDj+skBK2zmYebdCp+4nrd9VWd13egvhYFJj/wZg==", "dev": true, "requires": { - "@typescript-eslint/utils": "5.27.0", + "@typescript-eslint/utils": "5.32.0", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.27.0.tgz", - "integrity": "sha512-lY6C7oGm9a/GWhmUDOs3xAVRz4ty/XKlQ2fOLr8GAIryGn0+UBOoJDWyHer3UgrHkenorwvBnphhP+zPmzmw0A==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.32.0.tgz", + "integrity": "sha512-EBUKs68DOcT/EjGfzywp+f8wG9Zw6gj6BjWu7KV/IYllqKJFPlZlLSYw/PTvVyiRw50t6wVbgv4p9uE2h6sZrQ==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.27.0.tgz", - "integrity": "sha512-QywPMFvgZ+MHSLRofLI7BDL+UczFFHyj0vF5ibeChDAJgdTV8k4xgEwF0geFhVlPc1p8r70eYewzpo6ps+9LJQ==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.32.0.tgz", + "integrity": "sha512-ZVAUkvPk3ITGtCLU5J4atCw9RTxK+SRc6hXqLtllC2sGSeMFWN+YwbiJR9CFrSFJ3w4SJfcWtDwNb/DmUIHdhg==", "dev": true, "requires": { - "@typescript-eslint/types": "5.27.0", - "@typescript-eslint/visitor-keys": "5.27.0", + "@typescript-eslint/types": "5.32.0", + "@typescript-eslint/visitor-keys": "5.32.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -3224,26 +3353,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.27.0.tgz", - "integrity": "sha512-nZvCrkIJppym7cIbP3pOwIkAefXOmfGPnCM0LQfzNaKxJHI6VjI8NC662uoiPlaf5f6ymkTy9C3NQXev2mdXmA==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.32.0.tgz", + "integrity": "sha512-W7lYIAI5Zlc5K082dGR27Fczjb3Q57ECcXefKU/f0ajM5ToM0P+N9NmJWip8GmGu/g6QISNT+K6KYB+iSHjXCQ==", "dev": true, "requires": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.27.0", - "@typescript-eslint/types": "5.27.0", - "@typescript-eslint/typescript-estree": "5.27.0", + "@typescript-eslint/scope-manager": "5.32.0", + "@typescript-eslint/types": "5.32.0", + "@typescript-eslint/typescript-estree": "5.32.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" } }, "@typescript-eslint/visitor-keys": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.27.0.tgz", - "integrity": "sha512-46cYrteA2MrIAjv9ai44OQDUoCZyHeGIc4lsjCUX2WT6r4C+kidz1bNiR4017wHOPUythYeH+Sc7/cFP97KEAA==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.32.0.tgz", + "integrity": "sha512-S54xOHZgfThiZ38/ZGTgB2rqx51CMJ5MCfVT2IplK4Q7hgzGfe0nLzLCcenDnc/cSjP568hdeKfeDcBgqNHD/g==", "dev": true, "requires": { - "@typescript-eslint/types": "5.27.0", + "@typescript-eslint/types": "5.32.0", "eslint-visitor-keys": "^3.3.0" } }, @@ -3429,9 +3558,9 @@ "dev": true }, "acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", "dev": true }, "acorn-import-assertions": { @@ -3532,16 +3661,15 @@ } }, "browserslist": { - "version": "4.20.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", - "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz", + "integrity": "sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001332", - "electron-to-chromium": "^1.4.118", - "escalade": "^3.1.1", - "node-releases": "^2.0.3", - "picocolors": "^1.0.0" + "caniuse-lite": "^1.0.30001370", + "electron-to-chromium": "^1.4.202", + "node-releases": "^2.0.6", + "update-browserslist-db": "^1.0.5" } }, "buffer-from": { @@ -3557,9 +3685,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001344", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001344.tgz", - "integrity": "sha512-0ZFjnlCaXNOAYcV7i+TtdKBp0L/3XEU2MF/x6Du1lrh+SRX4IfzIVL4HNJg5pB2PmFb8rszIGyOvsZnqqRoc2g==", + "version": "1.0.30001373", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001373.tgz", + "integrity": "sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ==", "dev": true }, "chalk": { @@ -3605,9 +3733,9 @@ "dev": true }, "colorette": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", - "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", + "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", "dev": true }, "commander": { @@ -3678,15 +3806,15 @@ } }, "electron-to-chromium": { - "version": "1.4.143", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.143.tgz", - "integrity": "sha512-2hIgvu0+pDfXIqmVmV5X6iwMjQ2KxDsWKwM+oI1fABEOy/Dqmll0QJRmIQ3rm+XaoUa/qKrmy5h7LSTFQ6Ldzg==", + "version": "1.4.210", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.210.tgz", + "integrity": "sha512-kSiX4tuyZijV7Cz0MWVmGT8K2siqaOA4Z66K5dCttPPRh0HicOcOAEj1KlC8O8J1aOS/1M8rGofOzksLKaHWcQ==", "dev": true }, "enhanced-resolve": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz", - "integrity": "sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow==", + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz", + "integrity": "sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ==", "dev": true, "requires": { "graceful-fs": "^4.2.4", @@ -3718,13 +3846,14 @@ "dev": true }, "eslint": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.16.0.tgz", - "integrity": "sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.21.0.tgz", + "integrity": "sha512-/XJ1+Qurf1T9G2M5IHrsjp+xrGT73RZf23xA1z5wB1ZzzEAWSZKvRwhWxTFp1rvkvCfwcvAUNAP31bhKTTGfDA==", "dev": true, "requires": { "@eslint/eslintrc": "^1.3.0", - "@humanwhocodes/config-array": "^0.9.2", + "@humanwhocodes/config-array": "^0.10.4", + "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -3734,14 +3863,17 @@ "eslint-scope": "^7.1.1", "eslint-utils": "^3.0.0", "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.2", + "espree": "^9.3.3", "esquery": "^1.4.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", "functional-red-black-tree": "^1.0.1", "glob-parent": "^6.0.1", "globals": "^13.15.0", + "globby": "^11.1.0", + "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", @@ -3812,12 +3944,12 @@ "dev": true }, "espree": { - "version": "9.3.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz", - "integrity": "sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==", + "version": "9.3.3", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.3.tgz", + "integrity": "sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng==", "dev": true, "requires": { - "acorn": "^8.7.1", + "acorn": "^8.8.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^3.3.0" } @@ -3876,8 +4008,7 @@ }, "fasm-versions": { "version": "git+ssh://git@github.com/stevenwdv/fasm-versions.git#c9ef2b37feea850ffbac2f8a21c262f3f9e0af53", - "integrity": "sha512-2yJD/+qBhElK1/axUV9LE6oa/MO5yEc1Cn0yBv0tZmkRIsRziMOCadd9MeFqz1725+ez1dq40mbwyGeoEKAEgA==", - "from": "fasm-versions@github:stevenwdv/fasm-versions#c9ef2b37feea850ffbac2f8a21c262f3f9e0af53" + "from": "fasm-versions@github:stevenwdv/fasm-versions#v1" }, "fast-deep-equal": { "version": "3.1.3", @@ -3922,9 +4053,9 @@ "dev": true }, "fastest-levenshtein": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", - "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", "dev": true }, "fastq": { @@ -3955,12 +4086,12 @@ } }, "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, "requires": { - "locate-path": "^5.0.0", + "locate-path": "^6.0.0", "path-exists": "^4.0.0" } }, @@ -3975,9 +4106,9 @@ } }, "flatted": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", - "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.6.tgz", + "integrity": "sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ==", "dev": true }, "fs.realpath": { @@ -4028,9 +4159,9 @@ "dev": true }, "globals": { - "version": "13.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.15.0.tgz", - "integrity": "sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==", + "version": "13.17.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", + "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -4056,6 +4187,12 @@ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", "dev": true }, + "grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true + }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -4254,12 +4391,12 @@ "dev": true }, "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "requires": { - "p-locate": "^4.1.0" + "p-locate": "^5.0.0" } }, "lodash.merge": { @@ -4347,9 +4484,9 @@ "dev": true }, "node-releases": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", - "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", + "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", "dev": true }, "once": { @@ -4376,21 +4513,21 @@ } }, "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "requires": { - "p-try": "^2.0.0" + "yocto-queue": "^0.1.0" } }, "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "requires": { - "p-limit": "^2.2.0" + "p-limit": "^3.0.2" } }, "p-try": { @@ -4457,6 +4594,45 @@ "dev": true, "requires": { "find-up": "^4.0.0" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + } } }, "prelude-ls": { @@ -4502,12 +4678,12 @@ "dev": true }, "resolve": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", - "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", "dev": true, "requires": { - "is-core-module": "^2.8.1", + "is-core-module": "^2.9.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -4615,13 +4791,13 @@ "dev": true }, "simple-git": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.7.1.tgz", - "integrity": "sha512-+Osjtsumbtew2y9to0pOYjNzSIr4NkKGBg7Po5SUtjQhaJf2QBmiTX/9E9cv9rmc7oUiSGFIB9e7ys5ibnT9+A==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.11.0.tgz", + "integrity": "sha512-XULamN/hxviH/ABjDbxJqUTpH59Pn3fHRtwZZZ6v7KWTLE3wKl6CLB0SPXFfzjalQ5hUp+R5DWX2X8rKm4crvw==", "requires": { "@kwsites/file-exists": "^1.1.1", "@kwsites/promise-deferred": "^1.1.1", - "debug": "^4.3.3" + "debug": "^4.3.4" } }, "slash": { @@ -4683,9 +4859,9 @@ "dev": true }, "terser": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.0.tgz", - "integrity": "sha512-JC6qfIEkPBd9j1SMO3Pfn+A6w2kQV54tv+ABQLgZr7dA3k/DL/OBoYSWxzVpZev3J+bUHXfr55L8Mox7AaNo6g==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "dev": true, "requires": { "@jridgewell/source-map": "^0.3.2", @@ -4695,22 +4871,22 @@ } }, "terser-webpack-plugin": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz", - "integrity": "sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.3.tgz", + "integrity": "sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ==", "dev": true, "requires": { + "@jridgewell/trace-mapping": "^0.3.7", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.0", - "source-map": "^0.6.1", "terser": "^5.7.2" } }, "text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, "to-regex-range": { @@ -4723,9 +4899,9 @@ } }, "ts-loader": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.3.0.tgz", - "integrity": "sha512-2kLLAdAD+FCKijvGKi9sS0OzoqxLCF3CxHpok7rVgCZ5UldRzH0TkbwG9XECKjBzHsAewntC5oDaI/FwKzEUog==", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.3.1.tgz", + "integrity": "sha512-OkyShkcZTsTwyS3Kt7a4rsT/t2qvEVQuKCTg4LJmpj9fhFR7ukGdZwV6Qq3tRUkqcXtfGpPR7+hFKHCG/0d3Lw==", "dev": true, "requires": { "chalk": "^4.1.0", @@ -4746,9 +4922,9 @@ } }, "ts-node": { - "version": "10.8.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.8.1.tgz", - "integrity": "sha512-Wwsnao4DQoJsN034wePSg5nZiw4YKXf56mPIAeD6wVmiv+RytNSWqc2f3fKvcUoV+Yn2+yocD71VOfQHbmVX4g==", + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", "dev": true, "requires": { "@cspotcode/source-map-support": "^0.8.0", @@ -4802,11 +4978,21 @@ "dev": true }, "typescript": { - "version": "4.7.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.3.tgz", - "integrity": "sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==", + "version": "4.7.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", "dev": true }, + "update-browserslist-db": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz", + "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==", + "dev": true, + "requires": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + } + }, "uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -4834,9 +5020,9 @@ "dev": true }, "watchpack": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", - "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", + "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", "dev": true, "requires": { "glob-to-regexp": "^0.4.1", @@ -4844,9 +5030,9 @@ } }, "webpack": { - "version": "5.73.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", - "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", + "version": "5.74.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", + "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", @@ -4854,11 +5040,11 @@ "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/wasm-edit": "1.11.1", "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", + "acorn": "^8.7.1", "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.9.3", + "enhanced-resolve": "^5.10.0", "es-module-lexer": "^0.9.0", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -4871,7 +5057,7 @@ "schema-utils": "^3.1.0", "tapable": "^2.1.1", "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", + "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" } }, @@ -4943,7 +5129,7 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, "yallist": { @@ -4957,6 +5143,12 @@ "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true } } } diff --git a/package.json b/package.json index 6bea646..4fd6e17 100644 --- a/package.json +++ b/package.json @@ -14,23 +14,26 @@ "sideEffects": [ "./src/setup.ts" ], + "engines": { + "node": ">=16" + }, "dependencies": { - "@actions/core": "^1.8.2", + "@actions/core": "^1.9.0", "@actions/tool-cache": "^2.0.1", "fasm-versions": "github:stevenwdv/fasm-versions#v1", - "simple-git": "^3.7.1" + "simple-git": "^3.11.0" }, "devDependencies": { - "@types/node": "^17.0.38", + "@types/node": "^16.11.47", "@types/webpack": "^5.28.0", - "@typescript-eslint/eslint-plugin": "^5.27.0", - "@typescript-eslint/parser": "^5.27.0", - "eslint": "^8.16.0", + "@typescript-eslint/eslint-plugin": "^5.32.0", + "@typescript-eslint/parser": "^5.32.0", + "eslint": "^8.21.0", "husky": "^8.0.1", - "ts-loader": "^9.3.0", - "ts-node": "^10.8.1", - "typescript": "^4.7.3", - "webpack": "^5.73.0", + "ts-loader": "^9.3.1", + "ts-node": "^10.9.1", + "typescript": "^4.7.4", + "webpack": "^5.74.0", "webpack-cli": "^4.10.0" } }