From 83744a2f7895374871e375b509f7cb4328a21327 Mon Sep 17 00:00:00 2001 From: "d2l-github-action-tokens[bot]" <78449032+d2l-github-action-tokens[bot]@users.noreply.github.com> Date: Wed, 19 Jun 2024 09:53:41 +0000 Subject: [PATCH] Update Dependencies (#343) * Update Dependencies * Update Build (#344) Co-authored-by: d2l-github-action-tokens[bot] <78449032+d2l-github-action-tokens[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: d2l-github-action-tokens[bot] <78449032+d2l-github-action-tokens[bot]@users.noreply.github.com> --- dist/index.js | 4 +- package-lock.json | 406 +++++++++++++++++++++++----------------------- 2 files changed, 209 insertions(+), 201 deletions(-) diff --git a/dist/index.js b/dist/index.js index 29f1843..6bc57a9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,4 +1,4 @@ -import{createRequire as e}from"module";var t={7351:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const i=s(r(2037));const a=r(5278);function issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+i.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const A="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=A+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${A}${escapeData(this.message)}`;return e}}function escapeData(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});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(7351);const A=r(717);const c=r(5278);const l=s(r(2037));const u=s(r(1017));const d=r(8041);var g;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(g=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const r=c.toCommandValue(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){return A.issueFileCommand("ENV",A.prepareKeyValueMessage(e,t))}a.issueCommand("set-env",{name:e},r)}t.exportVariable=exportVariable;function setSecret(e){a.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){A.issueFileCommand("PATH",e)}else{a.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${u.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(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}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}t.getInput=getInput;function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return r}return r.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const r=["true","True","TRUE"];const n=["false","False","FALSE"];const o=getInput(e,t);if(r.includes(o))return true;if(n.includes(o))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const r=process.env["GITHUB_OUTPUT"]||"";if(r){return A.issueFileCommand("OUTPUT",A.prepareKeyValueMessage(e,t))}process.stdout.write(l.EOL);a.issueCommand("set-output",{name:e},c.toCommandValue(t))}t.setOutput=setOutput;function setCommandEcho(e){a.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=g.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){a.issueCommand("debug",{},e)}t.debug=debug;function error(e,t={}){a.issueCommand("error",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){a.issueCommand("warning",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){a.issueCommand("notice",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+l.EOL)}t.info=info;function startGroup(e){a.issue("group",e)}t.startGroup=startGroup;function endGroup(){a.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return i(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}t.group=group;function saveState(e,t){const r=process.env["GITHUB_STATE"]||"";if(r){return A.issueFileCommand("STATE",A.prepareKeyValueMessage(e,t))}a.issueCommand("save-state",{name:e},c.toCommandValue(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return i(this,void 0,void 0,(function*(){return yield d.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var f=r(1327);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return f.summary}});var h=r(1327);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return h.markdownSummary}});var p=r(2981);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return p.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return p.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return p.toPlatformPath}})},717:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const i=s(r(7147));const a=s(r(2037));const A=r(5840);const c=r(5278);function issueFileCommand(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"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const r=`ghadelimiter_${A.v4()}`;const n=c.toCommandValue(t);if(e.includes(r)){throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`)}if(n.includes(r)){throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`)}return`${e}<<${r}${a.EOL}${n}${a.EOL}${r}`}t.prepareKeyValueMessage=prepareKeyValueMessage},8041:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const o=r(6255);const s=r(5526);const i=r(2186);class OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new o.HttpClient("actions/oidc-client",[new s.BearerCredentialHandler(OidcClient.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=OidcClient.createHttpClient();const 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.message}`)}));const o=(t=n.result)===null||t===void 0?void 0:t.value;if(!o){throw new Error("Response json body do not have ID Token field")}return o}))}static getIDToken(e){return n(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}i.debug(`ID token url is ${t}`);const r=yield OidcClient.getCall(t);i.setSecret(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},2981:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const i=s(r(1017));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,i.sep)}t.toPlatformPath=toPlatformPath},1327:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const o=r(2037);const s=r(7147);const{access:i,appendFile:a,writeFile:A}=s.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";class Summary{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,s.constants.R_OK|s.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${n}>`}return`<${e}${n}>${t}`}write(e){return n(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const r=yield this.filePath();const n=t?A:a;yield n(r,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return n(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(o.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t});const n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=false){const r=t?"ol":"ul";const n=e.map((e=>this.wrap("li",e))).join("");const o=this.wrap(r,n);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:r,colspan:n,rowspan:o}=e;const s=t?"th":"td";const i=Object.assign(Object.assign({},n&&{colspan:n}),o&&{rowspan:o});return this.wrap(s,r,i)})).join("");return this.wrap("tr",t)})).join("");const 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:o}=r||{};const s=Object.assign(Object.assign({},n&&{width:n}),o&&{height:o});const i=this.wrap("img",null,Object.assign({src:e,alt:t},s));return this.addRaw(i).addEOL()}addHeading(e,t){const r=`h${t}`;const n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1";const o=this.wrap(n,e);return this.addRaw(o).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});const 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()}}const c=new Summary;t.markdownSummary=c;t.summary=c},5278:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},5526:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{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 false}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{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 false}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{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 false}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},6255:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,o)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const a=s(r(3685));const A=s(r(5687));const c=s(r(9835));const l=s(r(4294));const u=r(1773);var d;(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=d={}));var g;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(g||(t.Headers=g={}));var f;(function(e){e["ApplicationJson"]="application/json"})(f||(t.MediaTypes=f={}));function getProxyUrl(e){const t=c.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const h=[d.MovedPermanently,d.ResourceMoved,d.SeeOther,d.TemporaryRedirect,d.PermanentRedirect];const p=[d.BadGateway,d.ServiceUnavailable,d.GatewayTimeout];const E=["OPTIONS","GET","DELETE","HEAD"];const C=10;const m=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{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())}))}))))}))}readBodyBuffer(){return i(this,void 0,void 0,(function*(){return new Promise((e=>i(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,r){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){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[g.Accept]=this._getExistingOrDefaultHeader(t,g.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[g.Accept]=this._getExistingOrDefaultHeader(r,g.Accept,f.ApplicationJson);r[g.ContentType]=this._getExistingOrDefaultHeader(r,g.ContentType,f.ApplicationJson);const o=yield this.post(e,n,r);return this._processResponse(o,this.requestOptions)}))}putJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[g.Accept]=this._getExistingOrDefaultHeader(r,g.Accept,f.ApplicationJson);r[g.ContentType]=this._getExistingOrDefaultHeader(r,g.ContentType,f.ApplicationJson);const o=yield this.put(e,n,r);return this._processResponse(o,this.requestOptions)}))}patchJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[g.Accept]=this._getExistingOrDefaultHeader(r,g.Accept,f.ApplicationJson);r[g.ContentType]=this._getExistingOrDefaultHeader(r,g.ContentType,f.ApplicationJson);const o=yield this.patch(e,n,r);return this._processResponse(o,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 o=new URL(t);let s=this._prepareRequest(e,o,n);const i=this._allowRetries&&E.includes(e)?this._maxRetries+1:1;let a=0;let A;do{A=yield this.requestRaw(s,r);if(A&&A.message&&A.message.statusCode===d.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(A)){e=t;break}}if(e){return e.handleAuthentication(this,s,r)}else{return A}}let t=this._maxRedirects;while(A.message.statusCode&&h.includes(A.message.statusCode)&&this._allowRedirects&&t>0){const i=A.message.headers["location"];if(!i){break}const a=new URL(i);if(o.protocol==="https:"&&o.protocol!==a.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.")}yield A.readBody();if(a.hostname!==o.hostname){for(const e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}s=this._prepareRequest(e,a,n);A=yield this.requestRaw(s,r);t--}if(!A.message.statusCode||!p.includes(A.message.statusCode)){return A}a+=1;if(a{function callbackForResult(e,t){if(e){n(e)}else if(!t){n(new Error("Unknown error"))}else{r(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,r){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let n=false;function handleResult(e,t){if(!n){n=true;r(e,t)}}const o=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let s;o.on("socket",(e=>{s=e}));o.setTimeout(this._socketTimeout||3*6e4,(()=>{if(s){s.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));o.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){o.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){o.end()}));t.pipe(o)}else{o.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const r=c.getProxyUrl(t);const n=r&&r.hostname;if(!n){return}return this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const o=n.parsedUrl.protocol==="https:";n.httpModule=o?A:a;const s=o?443:80;n.options={};n.options.host=n.parsedUrl.hostname;n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):s;n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||"");n.options.method=e;n.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){n.options.headers["user-agent"]=this.userAgent}n.options.agent=this._getAgent(n.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(n.options)}}return n}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;if(this.requestOptions&&this.requestOptions.headers){n=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||n||r}_getAgent(e){let t;const r=c.getProxyUrl(e);const n=r&&r.hostname;if(this._keepAlive&&n){t=this._proxyAgent}if(!n){t=this._agent}if(t){return t}const o=e.protocol==="https:";let s=100;if(this.requestOptions){s=this.requestOptions.maxSockets||a.globalAgent.maxSockets}if(r&&r.hostname){const e={maxSockets:s,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=r.protocol==="https:";if(o){n=i?l.httpsOverHttps:l.httpsOverHttp}else{n=i?l.httpOverHttps:l.httpOverHttp}t=n(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:s};t=o?new A.Agent(e):new a.Agent(e);this._agent=t}if(o&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let r;if(this._keepAlive){r=this._proxyAgentDispatcher}if(r){return r}const n=e.protocol==="https:";r=new u.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`${t.username}:${t.password}`}));this._proxyAgentDispatcher=r;if(n&&this._ignoreSslError){r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:false})}return r}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){e=Math.min(C,e);const t=m*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 o=e.message.statusCode||0;const s={statusCode:o,result:null,headers:{}};if(o===d.NotFound){r(s)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let i;let a;try{a=yield e.readBody();if(a&&a.length>0){if(t&&t.deserializeDates){i=JSON.parse(a,dateTimeDeserializer)}else{i=JSON.parse(a)}s.result=i}s.headers=e.message.headers}catch(e){}if(o>299){let e;if(i&&i.message){e=i.message}else if(a&&a.length>0){e=a}else{e=`Failed request: (${o})`}const t=new HttpClientError(e,o);t.result=s.result;n(t)}else{r(s)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})},9835:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkBypass=t.getProxyUrl=void 0;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const r=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(r){try{return new URL(r)}catch(e){if(!r.startsWith("http://")&&!r.startsWith("https://"))return new URL(`http://${r}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){return false}let n;if(e.port){n=Number(e.port)}else if(e.protocol==="http:"){n=80}else if(e.protocol==="https:"){n=443}const o=[e.hostname.toUpperCase()];if(typeof n==="number"){o.push(`${o[0]}:${n}`)}for(const e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||o.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}t.checkBypass=checkBypass;function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}},6948:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthSchemeConfig=t.defaultSSOOIDCHttpAuthSchemeProvider=t.defaultSSOOIDCHttpAuthSchemeParametersProvider=void 0;const n=r(9963);const o=r(2390);const defaultSSOOIDCHttpAuthSchemeParametersProvider=async(e,t,r)=>({operation:(0,o.getSmithyContext)(t).operation,region:await(0,o.normalizeProvider)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});t.defaultSSOOIDCHttpAuthSchemeParametersProvider=defaultSSOOIDCHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function createSmithyApiNoAuthHttpAuthOption(e){return{schemeId:"smithy.api#noAuth"}}const defaultSSOOIDCHttpAuthSchemeProvider=e=>{const t=[];switch(e.operation){case"CreateToken":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"RegisterClient":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"StartDeviceAuthorization":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}default:{t.push(createAwsAuthSigv4HttpAuthOption(e))}}return t};t.defaultSSOOIDCHttpAuthSchemeProvider=defaultSSOOIDCHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=e=>{const t=(0,n.resolveAwsSdkSigV4Config)(e);return{...t}};t.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},7604:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultEndpointResolver=void 0;const n=r(3350);const o=r(5473);const s=r(1756);const defaultEndpointResolver=(e,t={})=>(0,o.resolveEndpoint)(s.ruleSet,{endpointParams:e,logger:t.logger});t.defaultEndpointResolver=defaultEndpointResolver;o.customEndpointFunctions.aws=n.awsEndpointFunctions},1756:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ruleSet=void 0;const r="required",n="fn",o="argv",s="ref";const i=true,a="isSet",A="booleanEquals",c="error",l="endpoint",u="tree",d="PartitionResult",g="getAttr",f={[r]:false,type:"String"},h={[r]:true,default:false,type:"Boolean"},p={[s]:"Endpoint"},E={[n]:A,[o]:[{[s]:"UseFIPS"},true]},C={[n]:A,[o]:[{[s]:"UseDualStack"},true]},m={},I={[n]:g,[o]:[{[s]:d},"supportsFIPS"]},y={[s]:d},Q={[n]:A,[o]:[true,{[n]:g,[o]:[y,"supportsDualStack"]}]},B=[E],v=[C],b=[{[s]:"Region"}];const w={version:"1.0",parameters:{Region:f,UseDualStack:h,UseFIPS:h,Endpoint:f},rules:[{conditions:[{[n]:a,[o]:[p]}],rules:[{conditions:B,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:v,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:p,properties:m,headers:m},type:l}],type:u},{conditions:[{[n]:a,[o]:b}],rules:[{conditions:[{[n]:"aws.partition",[o]:b,assign:d}],rules:[{conditions:[E,C],rules:[{conditions:[{[n]:A,[o]:[i,I]},Q],rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}],type:u},{conditions:B,rules:[{conditions:[{[n]:A,[o]:[I,i]}],rules:[{conditions:[{[n]:"stringEquals",[o]:[{[n]:g,[o]:[y,"name"]},"aws-us-gov"]}],endpoint:{url:"https://oidc.{Region}.amazonaws.com",properties:m,headers:m},type:l},{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS is enabled but this partition does not support FIPS",type:c}],type:u},{conditions:v,rules:[{conditions:[Q],rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"DualStack is enabled but this partition does not support DualStack",type:c}],type:u},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u}],type:u},{error:"Invalid Configuration: Missing Region",type:c}]};t.ruleSet=w},4527:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AccessDeniedException:()=>x,AuthorizationPendingException:()=>O,CreateTokenCommand:()=>je,CreateTokenRequestFilterSensitiveLog:()=>Ae,CreateTokenResponseFilterSensitiveLog:()=>ce,CreateTokenWithIAMCommand:()=>Ve,CreateTokenWithIAMRequestFilterSensitiveLog:()=>le,CreateTokenWithIAMResponseFilterSensitiveLog:()=>ue,ExpiredTokenException:()=>M,InternalServerException:()=>H,InvalidClientException:()=>G,InvalidClientMetadataException:()=>se,InvalidGrantException:()=>Y,InvalidRedirectUriException:()=>ae,InvalidRequestException:()=>q,InvalidRequestRegionException:()=>ne,InvalidScopeException:()=>W,RegisterClientCommand:()=>Je,RegisterClientResponseFilterSensitiveLog:()=>de,SSOOIDC:()=>Ke,SSOOIDCClient:()=>D,SSOOIDCServiceException:()=>F,SlowDownException:()=>K,StartDeviceAuthorizationCommand:()=>$e,StartDeviceAuthorizationRequestFilterSensitiveLog:()=>ge,UnauthorizedClientException:()=>X,UnsupportedGrantTypeException:()=>te,__Client:()=>B.Client});e.exports=__toCommonJS(a);var A=r(2545);var c=r(14);var l=r(5525);var u=r(4688);var d=r(3098);var g=r(5829);var f=r(2800);var h=r(2918);var p=r(6039);var E=r(6948);var C=__name((e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"sso-oauth"})),"resolveClientEndpointParameters");var m={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var I=r(5524);var y=r(8156);var Q=r(4418);var B=r(3570);var v=__name((e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider;let n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));if(r===-1){t.push(e)}else{t.splice(r,1,e)}},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider(){return r},setCredentials(e){n=e},credentials(){return n}}}),"getHttpAuthExtensionConfiguration");var b=__name((e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()})),"resolveHttpAuthRuntimeConfig");var w=__name((e=>e),"asPartial");var S=__name(((e,t)=>{const r={...w((0,y.getAwsRegionExtensionConfiguration)(e)),...w((0,B.getDefaultExtensionConfiguration)(e)),...w((0,Q.getHttpHandlerExtensionConfiguration)(e)),...w(v(e))};t.forEach((e=>e.configure(r)));return{...e,...(0,y.resolveAwsRegionExtensionConfiguration)(r),...(0,B.resolveDefaultRuntimeConfig)(r),...(0,Q.resolveHttpHandlerRuntimeConfig)(r),...b(r)}}),"resolveRuntimeExtensions");var R=class _SSOOIDCClient extends B.Client{constructor(...[e]){const t=(0,I.getRuntimeConfig)(e||{});const r=C(t);const n=(0,d.resolveRegionConfig)(r);const o=(0,h.resolveEndpointConfig)(n);const s=(0,p.resolveRetryConfig)(o);const i=(0,A.resolveHostHeaderConfig)(s);const a=(0,u.resolveUserAgentConfig)(i);const m=(0,E.resolveHttpAuthSchemeConfig)(a);const y=S(m,(e==null?void 0:e.extensions)||[]);super(y);this.config=y;this.middlewareStack.use((0,p.getRetryPlugin)(this.config));this.middlewareStack.use((0,f.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,A.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,c.getLoggerPlugin)(this.config));this.middlewareStack.use((0,l.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,u.getUserAgentPlugin)(this.config));this.middlewareStack.use((0,g.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()}));this.middlewareStack.use((0,g.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return E.defaultSSOOIDCHttpAuthSchemeParametersProvider}getIdentityProviderConfigProvider(){return async e=>new g.DefaultIdentityProviderConfig({"aws.auth#sigv4":e.credentials})}};__name(R,"SSOOIDCClient");var D=R;var k=r(1238);var N=class _SSOOIDCServiceException extends B.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,_SSOOIDCServiceException.prototype)}};__name(N,"SSOOIDCServiceException");var F=N;var T=class _AccessDeniedException extends F{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});this.name="AccessDeniedException";this.$fault="client";Object.setPrototypeOf(this,_AccessDeniedException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(T,"AccessDeniedException");var x=T;var P=class _AuthorizationPendingException extends F{constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});this.name="AuthorizationPendingException";this.$fault="client";Object.setPrototypeOf(this,_AuthorizationPendingException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(P,"AuthorizationPendingException");var O=P;var U=class _ExpiredTokenException extends F{constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});this.name="ExpiredTokenException";this.$fault="client";Object.setPrototypeOf(this,_ExpiredTokenException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(U,"ExpiredTokenException");var M=U;var L=class _InternalServerException extends F{constructor(e){super({name:"InternalServerException",$fault:"server",...e});this.name="InternalServerException";this.$fault="server";Object.setPrototypeOf(this,_InternalServerException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(L,"InternalServerException");var H=L;var j=class _InvalidClientException extends F{constructor(e){super({name:"InvalidClientException",$fault:"client",...e});this.name="InvalidClientException";this.$fault="client";Object.setPrototypeOf(this,_InvalidClientException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(j,"InvalidClientException");var G=j;var V=class _InvalidGrantException extends F{constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});this.name="InvalidGrantException";this.$fault="client";Object.setPrototypeOf(this,_InvalidGrantException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(V,"InvalidGrantException");var Y=V;var J=class _InvalidRequestException extends F{constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});this.name="InvalidRequestException";this.$fault="client";Object.setPrototypeOf(this,_InvalidRequestException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(J,"InvalidRequestException");var q=J;var $=class _InvalidScopeException extends F{constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});this.name="InvalidScopeException";this.$fault="client";Object.setPrototypeOf(this,_InvalidScopeException.prototype);this.error=e.error;this.error_description=e.error_description}};__name($,"InvalidScopeException");var W=$;var z=class _SlowDownException extends F{constructor(e){super({name:"SlowDownException",$fault:"client",...e});this.name="SlowDownException";this.$fault="client";Object.setPrototypeOf(this,_SlowDownException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(z,"SlowDownException");var K=z;var Z=class _UnauthorizedClientException extends F{constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});this.name="UnauthorizedClientException";this.$fault="client";Object.setPrototypeOf(this,_UnauthorizedClientException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(Z,"UnauthorizedClientException");var X=Z;var ee=class _UnsupportedGrantTypeException extends F{constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});this.name="UnsupportedGrantTypeException";this.$fault="client";Object.setPrototypeOf(this,_UnsupportedGrantTypeException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(ee,"UnsupportedGrantTypeException");var te=ee;var re=class _InvalidRequestRegionException extends F{constructor(e){super({name:"InvalidRequestRegionException",$fault:"client",...e});this.name="InvalidRequestRegionException";this.$fault="client";Object.setPrototypeOf(this,_InvalidRequestRegionException.prototype);this.error=e.error;this.error_description=e.error_description;this.endpoint=e.endpoint;this.region=e.region}};__name(re,"InvalidRequestRegionException");var ne=re;var oe=class _InvalidClientMetadataException extends F{constructor(e){super({name:"InvalidClientMetadataException",$fault:"client",...e});this.name="InvalidClientMetadataException";this.$fault="client";Object.setPrototypeOf(this,_InvalidClientMetadataException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(oe,"InvalidClientMetadataException");var se=oe;var ie=class _InvalidRedirectUriException extends F{constructor(e){super({name:"InvalidRedirectUriException",$fault:"client",...e});this.name="InvalidRedirectUriException";this.$fault="client";Object.setPrototypeOf(this,_InvalidRedirectUriException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(ie,"InvalidRedirectUriException");var ae=ie;var Ae=__name((e=>({...e,...e.clientSecret&&{clientSecret:B.SENSITIVE_STRING},...e.refreshToken&&{refreshToken:B.SENSITIVE_STRING},...e.codeVerifier&&{codeVerifier:B.SENSITIVE_STRING}})),"CreateTokenRequestFilterSensitiveLog");var ce=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING},...e.refreshToken&&{refreshToken:B.SENSITIVE_STRING},...e.idToken&&{idToken:B.SENSITIVE_STRING}})),"CreateTokenResponseFilterSensitiveLog");var le=__name((e=>({...e,...e.refreshToken&&{refreshToken:B.SENSITIVE_STRING},...e.assertion&&{assertion:B.SENSITIVE_STRING},...e.subjectToken&&{subjectToken:B.SENSITIVE_STRING},...e.codeVerifier&&{codeVerifier:B.SENSITIVE_STRING}})),"CreateTokenWithIAMRequestFilterSensitiveLog");var ue=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING},...e.refreshToken&&{refreshToken:B.SENSITIVE_STRING},...e.idToken&&{idToken:B.SENSITIVE_STRING}})),"CreateTokenWithIAMResponseFilterSensitiveLog");var de=__name((e=>({...e,...e.clientSecret&&{clientSecret:B.SENSITIVE_STRING}})),"RegisterClientResponseFilterSensitiveLog");var ge=__name((e=>({...e,...e.clientSecret&&{clientSecret:B.SENSITIVE_STRING}})),"StartDeviceAuthorizationRequestFilterSensitiveLog");var fe=r(9963);var he=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n={"content-type":"application/json"};r.bp("/token");let o;o=JSON.stringify((0,B.take)(e,{clientId:[],clientSecret:[],code:[],codeVerifier:[],deviceCode:[],grantType:[],redirectUri:[],refreshToken:[],scope:e=>(0,B._json)(e)}));r.m("POST").h(n).b(o);return r.build()}),"se_CreateTokenCommand");var pe=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n={"content-type":"application/json"};r.bp("/token");const o=(0,B.map)({[Le]:[,"t"]});let s;s=JSON.stringify((0,B.take)(e,{assertion:[],clientId:[],code:[],codeVerifier:[],grantType:[],redirectUri:[],refreshToken:[],requestedTokenType:[],scope:e=>(0,B._json)(e),subjectToken:[],subjectTokenType:[]}));r.m("POST").h(n).q(o).b(s);return r.build()}),"se_CreateTokenWithIAMCommand");var Ee=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n={"content-type":"application/json"};r.bp("/client/register");let o;o=JSON.stringify((0,B.take)(e,{clientName:[],clientType:[],entitledApplicationArn:[],grantTypes:e=>(0,B._json)(e),issuerUrl:[],redirectUris:e=>(0,B._json)(e),scopes:e=>(0,B._json)(e)}));r.m("POST").h(n).b(o);return r.build()}),"se_RegisterClientCommand");var Ce=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n={"content-type":"application/json"};r.bp("/device_authorization");let o;o=JSON.stringify((0,B.take)(e,{clientId:[],clientSecret:[],startUrl:[]}));r.m("POST").h(n).b(o);return r.build()}),"se_StartDeviceAuthorizationCommand");var me=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return Be(e,t)}const r=(0,B.map)({$metadata:Me(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,fe.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{accessToken:B.expectString,expiresIn:B.expectInt32,idToken:B.expectString,refreshToken:B.expectString,tokenType:B.expectString});Object.assign(r,o);return r}),"de_CreateTokenCommand");var Ie=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return Be(e,t)}const r=(0,B.map)({$metadata:Me(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,fe.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{accessToken:B.expectString,expiresIn:B.expectInt32,idToken:B.expectString,issuedTokenType:B.expectString,refreshToken:B.expectString,scope:B._json,tokenType:B.expectString});Object.assign(r,o);return r}),"de_CreateTokenWithIAMCommand");var ye=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return Be(e,t)}const r=(0,B.map)({$metadata:Me(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,fe.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{authorizationEndpoint:B.expectString,clientId:B.expectString,clientIdIssuedAt:B.expectLong,clientSecret:B.expectString,clientSecretExpiresAt:B.expectLong,tokenEndpoint:B.expectString});Object.assign(r,o);return r}),"de_RegisterClientCommand");var Qe=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return Be(e,t)}const r=(0,B.map)({$metadata:Me(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,fe.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{deviceCode:B.expectString,expiresIn:B.expectInt32,interval:B.expectInt32,userCode:B.expectString,verificationUri:B.expectString,verificationUriComplete:B.expectString});Object.assign(r,o);return r}),"de_StartDeviceAuthorizationCommand");var Be=__name((async(e,t)=>{const r={...e,body:await(0,fe.parseJsonErrorBody)(e.body,t)};const n=(0,fe.loadRestJsonErrorCode)(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.ssooidc#AccessDeniedException":throw await be(r,t);case"AuthorizationPendingException":case"com.amazonaws.ssooidc#AuthorizationPendingException":throw await we(r,t);case"ExpiredTokenException":case"com.amazonaws.ssooidc#ExpiredTokenException":throw await Se(r,t);case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await Re(r,t);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await De(r,t);case"InvalidGrantException":case"com.amazonaws.ssooidc#InvalidGrantException":throw await Ne(r,t);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await Fe(r,t);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await xe(r,t);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await Pe(r,t);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await Oe(r,t);case"UnsupportedGrantTypeException":case"com.amazonaws.ssooidc#UnsupportedGrantTypeException":throw await Ue(r,t);case"InvalidRequestRegionException":case"com.amazonaws.ssooidc#InvalidRequestRegionException":throw await Te(r,t);case"InvalidClientMetadataException":case"com.amazonaws.ssooidc#InvalidClientMetadataException":throw await ke(r,t);case"InvalidRedirectUriException":case"com.amazonaws.ssooidc#InvalidRedirectUriException":throw await _e(r,t);default:const o=r.body;return ve({output:e,parsedBody:o,errorCode:n})}}),"de_CommandError");var ve=(0,B.withBaseException)(F);var be=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new x({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_AccessDeniedExceptionRes");var we=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new O({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_AuthorizationPendingExceptionRes");var Se=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new M({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_ExpiredTokenExceptionRes");var Re=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new H({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InternalServerExceptionRes");var De=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new G({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidClientExceptionRes");var ke=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new se({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidClientMetadataExceptionRes");var Ne=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new Y({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidGrantExceptionRes");var _e=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new ae({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidRedirectUriExceptionRes");var Fe=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new q({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidRequestExceptionRes");var Te=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{endpoint:B.expectString,error:B.expectString,error_description:B.expectString,region:B.expectString});Object.assign(r,o);const s=new ne({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidRequestRegionExceptionRes");var xe=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new W({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidScopeExceptionRes");var Pe=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new K({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_SlowDownExceptionRes");var Oe=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new X({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_UnauthorizedClientExceptionRes");var Ue=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new te({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_UnsupportedGrantTypeExceptionRes");var Me=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var Le="aws_iam";var He=class _CreateTokenCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").f(Ae,ce).ser(he).de(me).build()){};__name(He,"CreateTokenCommand");var je=He;var Ge=class _CreateTokenWithIAMCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSSOOIDCService","CreateTokenWithIAM",{}).n("SSOOIDCClient","CreateTokenWithIAMCommand").f(le,ue).ser(pe).de(Ie).build()){};__name(Ge,"CreateTokenWithIAMCommand");var Ve=Ge;var Ye=class _RegisterClientCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSSOOIDCService","RegisterClient",{}).n("SSOOIDCClient","RegisterClientCommand").f(void 0,de).ser(Ee).de(ye).build()){};__name(Ye,"RegisterClientCommand");var Je=Ye;var qe=class _StartDeviceAuthorizationCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSSOOIDCService","StartDeviceAuthorization",{}).n("SSOOIDCClient","StartDeviceAuthorizationCommand").f(ge,void 0).ser(Ce).de(Qe).build()){};__name(qe,"StartDeviceAuthorizationCommand");var $e=qe;var We={CreateTokenCommand:je,CreateTokenWithIAMCommand:Ve,RegisterClientCommand:Je,StartDeviceAuthorizationCommand:$e};var ze=class _SSOOIDC extends D{};__name(ze,"SSOOIDC");var Ke=ze;(0,B.createAggregatedClient)(We,Ke);0&&0},5524:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(4351);const o=n.__importDefault(r(9722));const s=r(9963);const i=r(5531);const a=r(8095);const A=r(3098);const c=r(3081);const l=r(6039);const u=r(3461);const d=r(258);const g=r(8075);const f=r(4902);const h=r(8005);const p=r(3570);const E=r(2429);const C=r(3570);const getRuntimeConfig=e=>{(0,C.emitWarningIfUnsupportedVersion)(process.version);const t=(0,E.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>t().then(p.loadConfigsForDefaultMode);const r=(0,h.getRuntimeConfig)(e);(0,s.emitWarningIfUnsupportedVersion)(process.version);return{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??g.calculateBodyLength,credentialDefaultProvider:e?.credentialDefaultProvider??i.defaultProvider,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,a.defaultUserAgent)({serviceId:r.serviceId,clientVersion:o.default.version}),maxAttempts:e?.maxAttempts??(0,u.loadConfig)(l.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:e?.region??(0,u.loadConfig)(A.NODE_REGION_CONFIG_OPTIONS,A.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:d.NodeHttpHandler.create(e?.requestHandler??defaultConfigProvider),retryMode:e?.retryMode??(0,u.loadConfig)({...l.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||f.DEFAULT_RETRY_MODE}),sha256:e?.sha256??c.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??d.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,u.loadConfig)(A.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:e?.useFipsEndpoint??(0,u.loadConfig)(A.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};t.getRuntimeConfig=getRuntimeConfig},8005:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(9963);const o=r(5829);const s=r(3570);const i=r(4681);const a=r(5600);const A=r(1895);const c=r(6948);const l=r(7604);const getRuntimeConfig=e=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??a.fromBase64,base64Encoder:e?.base64Encoder??a.toBase64,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??l.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??c.defaultSSOOIDCHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new n.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new o.NoAuthSigner}],logger:e?.logger??new s.NoOpLogger,serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??i.parseUrl,utf8Decoder:e?.utf8Decoder??A.fromUtf8,utf8Encoder:e?.utf8Encoder??A.toUtf8});t.getRuntimeConfig=getRuntimeConfig},9344:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthSchemeConfig=t.defaultSSOHttpAuthSchemeProvider=t.defaultSSOHttpAuthSchemeParametersProvider=void 0;const n=r(9963);const o=r(2390);const defaultSSOHttpAuthSchemeParametersProvider=async(e,t,r)=>({operation:(0,o.getSmithyContext)(t).operation,region:await(0,o.normalizeProvider)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});t.defaultSSOHttpAuthSchemeParametersProvider=defaultSSOHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function createSmithyApiNoAuthHttpAuthOption(e){return{schemeId:"smithy.api#noAuth"}}const defaultSSOHttpAuthSchemeProvider=e=>{const t=[];switch(e.operation){case"GetRoleCredentials":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"ListAccountRoles":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"ListAccounts":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"Logout":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}default:{t.push(createAwsAuthSigv4HttpAuthOption(e))}}return t};t.defaultSSOHttpAuthSchemeProvider=defaultSSOHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=e=>{const t=(0,n.resolveAwsSdkSigV4Config)(e);return{...t}};t.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},898:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultEndpointResolver=void 0;const n=r(3350);const o=r(5473);const s=r(3341);const defaultEndpointResolver=(e,t={})=>(0,o.resolveEndpoint)(s.ruleSet,{endpointParams:e,logger:t.logger});t.defaultEndpointResolver=defaultEndpointResolver;o.customEndpointFunctions.aws=n.awsEndpointFunctions},3341:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ruleSet=void 0;const r="required",n="fn",o="argv",s="ref";const i=true,a="isSet",A="booleanEquals",c="error",l="endpoint",u="tree",d="PartitionResult",g="getAttr",f={[r]:false,type:"String"},h={[r]:true,default:false,type:"Boolean"},p={[s]:"Endpoint"},E={[n]:A,[o]:[{[s]:"UseFIPS"},true]},C={[n]:A,[o]:[{[s]:"UseDualStack"},true]},m={},I={[n]:g,[o]:[{[s]:d},"supportsFIPS"]},y={[s]:d},Q={[n]:A,[o]:[true,{[n]:g,[o]:[y,"supportsDualStack"]}]},B=[E],v=[C],b=[{[s]:"Region"}];const w={version:"1.0",parameters:{Region:f,UseDualStack:h,UseFIPS:h,Endpoint:f},rules:[{conditions:[{[n]:a,[o]:[p]}],rules:[{conditions:B,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:v,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:p,properties:m,headers:m},type:l}],type:u},{conditions:[{[n]:a,[o]:b}],rules:[{conditions:[{[n]:"aws.partition",[o]:b,assign:d}],rules:[{conditions:[E,C],rules:[{conditions:[{[n]:A,[o]:[i,I]},Q],rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}],type:u},{conditions:B,rules:[{conditions:[{[n]:A,[o]:[I,i]}],rules:[{conditions:[{[n]:"stringEquals",[o]:[{[n]:g,[o]:[y,"name"]},"aws-us-gov"]}],endpoint:{url:"https://portal.sso.{Region}.amazonaws.com",properties:m,headers:m},type:l},{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS is enabled but this partition does not support FIPS",type:c}],type:u},{conditions:v,rules:[{conditions:[Q],rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"DualStack is enabled but this partition does not support DualStack",type:c}],type:u},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u}],type:u},{error:"Invalid Configuration: Missing Region",type:c}]};t.ruleSet=w},2666:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{GetRoleCredentialsCommand:()=>Qe,GetRoleCredentialsRequestFilterSensitiveLog:()=>j,GetRoleCredentialsResponseFilterSensitiveLog:()=>V,InvalidRequestException:()=>x,ListAccountRolesCommand:()=>ve,ListAccountRolesRequestFilterSensitiveLog:()=>Y,ListAccountsCommand:()=>we,ListAccountsRequestFilterSensitiveLog:()=>J,LogoutCommand:()=>Re,LogoutRequestFilterSensitiveLog:()=>q,ResourceNotFoundException:()=>O,RoleCredentialsFilterSensitiveLog:()=>G,SSO:()=>Ne,SSOClient:()=>D,SSOServiceException:()=>F,TooManyRequestsException:()=>M,UnauthorizedException:()=>H,__Client:()=>B.Client,paginateListAccountRoles:()=>_e,paginateListAccounts:()=>Fe});e.exports=__toCommonJS(a);var A=r(2545);var c=r(14);var l=r(5525);var u=r(4688);var d=r(3098);var g=r(5829);var f=r(2800);var h=r(2918);var p=r(6039);var E=r(9344);var C=__name((e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"awsssoportal"})),"resolveClientEndpointParameters");var m={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var I=r(9756);var y=r(8156);var Q=r(4418);var B=r(3570);var v=__name((e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider;let n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));if(r===-1){t.push(e)}else{t.splice(r,1,e)}},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider(){return r},setCredentials(e){n=e},credentials(){return n}}}),"getHttpAuthExtensionConfiguration");var b=__name((e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()})),"resolveHttpAuthRuntimeConfig");var w=__name((e=>e),"asPartial");var S=__name(((e,t)=>{const r={...w((0,y.getAwsRegionExtensionConfiguration)(e)),...w((0,B.getDefaultExtensionConfiguration)(e)),...w((0,Q.getHttpHandlerExtensionConfiguration)(e)),...w(v(e))};t.forEach((e=>e.configure(r)));return{...e,...(0,y.resolveAwsRegionExtensionConfiguration)(r),...(0,B.resolveDefaultRuntimeConfig)(r),...(0,Q.resolveHttpHandlerRuntimeConfig)(r),...b(r)}}),"resolveRuntimeExtensions");var R=class _SSOClient extends B.Client{constructor(...[e]){const t=(0,I.getRuntimeConfig)(e||{});const r=C(t);const n=(0,d.resolveRegionConfig)(r);const o=(0,h.resolveEndpointConfig)(n);const s=(0,p.resolveRetryConfig)(o);const i=(0,A.resolveHostHeaderConfig)(s);const a=(0,u.resolveUserAgentConfig)(i);const m=(0,E.resolveHttpAuthSchemeConfig)(a);const y=S(m,(e==null?void 0:e.extensions)||[]);super(y);this.config=y;this.middlewareStack.use((0,p.getRetryPlugin)(this.config));this.middlewareStack.use((0,f.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,A.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,c.getLoggerPlugin)(this.config));this.middlewareStack.use((0,l.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,u.getUserAgentPlugin)(this.config));this.middlewareStack.use((0,g.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()}));this.middlewareStack.use((0,g.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return E.defaultSSOHttpAuthSchemeParametersProvider}getIdentityProviderConfigProvider(){return async e=>new g.DefaultIdentityProviderConfig({"aws.auth#sigv4":e.credentials})}};__name(R,"SSOClient");var D=R;var k=r(1238);var N=class _SSOServiceException extends B.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,_SSOServiceException.prototype)}};__name(N,"SSOServiceException");var F=N;var T=class _InvalidRequestException extends F{constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});this.name="InvalidRequestException";this.$fault="client";Object.setPrototypeOf(this,_InvalidRequestException.prototype)}};__name(T,"InvalidRequestException");var x=T;var P=class _ResourceNotFoundException extends F{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});this.name="ResourceNotFoundException";this.$fault="client";Object.setPrototypeOf(this,_ResourceNotFoundException.prototype)}};__name(P,"ResourceNotFoundException");var O=P;var U=class _TooManyRequestsException extends F{constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});this.name="TooManyRequestsException";this.$fault="client";Object.setPrototypeOf(this,_TooManyRequestsException.prototype)}};__name(U,"TooManyRequestsException");var M=U;var L=class _UnauthorizedException extends F{constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});this.name="UnauthorizedException";this.$fault="client";Object.setPrototypeOf(this,_UnauthorizedException.prototype)}};__name(L,"UnauthorizedException");var H=L;var j=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING}})),"GetRoleCredentialsRequestFilterSensitiveLog");var G=__name((e=>({...e,...e.secretAccessKey&&{secretAccessKey:B.SENSITIVE_STRING},...e.sessionToken&&{sessionToken:B.SENSITIVE_STRING}})),"RoleCredentialsFilterSensitiveLog");var V=__name((e=>({...e,...e.roleCredentials&&{roleCredentials:G(e.roleCredentials)}})),"GetRoleCredentialsResponseFilterSensitiveLog");var Y=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING}})),"ListAccountRolesRequestFilterSensitiveLog");var J=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING}})),"ListAccountsRequestFilterSensitiveLog");var q=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING}})),"LogoutRequestFilterSensitiveLog");var $=r(9963);var W=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n=(0,B.map)({},le,{[Ie]:e[de]});r.bp("/federation/credentials");const o=(0,B.map)({[me]:[,(0,B.expectNonNull)(e[Ce],`roleName`)],[ge]:[,(0,B.expectNonNull)(e[ue],`accountId`)]});let s;r.m("GET").h(n).q(o).b(s);return r.build()}),"se_GetRoleCredentialsCommand");var z=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n=(0,B.map)({},le,{[Ie]:e[de]});r.bp("/assignment/roles");const o=(0,B.map)({[Ee]:[,e[pe]],[he]:[()=>e.maxResults!==void 0,()=>e[fe].toString()],[ge]:[,(0,B.expectNonNull)(e[ue],`accountId`)]});let s;r.m("GET").h(n).q(o).b(s);return r.build()}),"se_ListAccountRolesCommand");var K=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n=(0,B.map)({},le,{[Ie]:e[de]});r.bp("/assignment/accounts");const o=(0,B.map)({[Ee]:[,e[pe]],[he]:[()=>e.maxResults!==void 0,()=>e[fe].toString()]});let s;r.m("GET").h(n).q(o).b(s);return r.build()}),"se_ListAccountsCommand");var Z=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n=(0,B.map)({},le,{[Ie]:e[de]});r.bp("/logout");let o;r.m("POST").h(n).b(o);return r.build()}),"se_LogoutCommand");var X=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return ne(e,t)}const r=(0,B.map)({$metadata:ce(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,$.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{roleCredentials:B._json});Object.assign(r,o);return r}),"de_GetRoleCredentialsCommand");var ee=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return ne(e,t)}const r=(0,B.map)({$metadata:ce(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,$.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{nextToken:B.expectString,roleList:B._json});Object.assign(r,o);return r}),"de_ListAccountRolesCommand");var te=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return ne(e,t)}const r=(0,B.map)({$metadata:ce(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,$.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{accountList:B._json,nextToken:B.expectString});Object.assign(r,o);return r}),"de_ListAccountsCommand");var re=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return ne(e,t)}const r=(0,B.map)({$metadata:ce(e)});await(0,B.collectBody)(e.body,t);return r}),"de_LogoutCommand");var ne=__name((async(e,t)=>{const r={...e,body:await(0,$.parseJsonErrorBody)(e.body,t)};const n=(0,$.loadRestJsonErrorCode)(e,r.body);switch(n){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await se(r,t);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await ie(r,t);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await ae(r,t);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Ae(r,t);default:const o=r.body;return oe({output:e,parsedBody:o,errorCode:n})}}),"de_CommandError");var oe=(0,B.withBaseException)(F);var se=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{message:B.expectString});Object.assign(r,o);const s=new x({$metadata:ce(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidRequestExceptionRes");var ie=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{message:B.expectString});Object.assign(r,o);const s=new O({$metadata:ce(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_ResourceNotFoundExceptionRes");var ae=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{message:B.expectString});Object.assign(r,o);const s=new M({$metadata:ce(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_TooManyRequestsExceptionRes");var Ae=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{message:B.expectString});Object.assign(r,o);const s=new H({$metadata:ce(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_UnauthorizedExceptionRes");var ce=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var le=__name((e=>e!==void 0&&e!==null&&e!==""&&(!Object.getOwnPropertyNames(e).includes("length")||e.length!=0)&&(!Object.getOwnPropertyNames(e).includes("size")||e.size!=0)),"isSerializableHeaderValue");var ue="accountId";var de="accessToken";var ge="account_id";var fe="maxResults";var he="max_result";var pe="nextToken";var Ee="next_token";var Ce="roleName";var me="role_name";var Ie="x-amz-sso_bearer_token";var ye=class _GetRoleCredentialsCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").f(j,V).ser(W).de(X).build()){};__name(ye,"GetRoleCredentialsCommand");var Qe=ye;var Be=class _ListAccountRolesCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("SWBPortalService","ListAccountRoles",{}).n("SSOClient","ListAccountRolesCommand").f(Y,void 0).ser(z).de(ee).build()){};__name(Be,"ListAccountRolesCommand");var ve=Be;var be=class _ListAccountsCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("SWBPortalService","ListAccounts",{}).n("SSOClient","ListAccountsCommand").f(J,void 0).ser(K).de(te).build()){};__name(be,"ListAccountsCommand");var we=be;var Se=class _LogoutCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("SWBPortalService","Logout",{}).n("SSOClient","LogoutCommand").f(q,void 0).ser(Z).de(re).build()){};__name(Se,"LogoutCommand");var Re=Se;var De={GetRoleCredentialsCommand:Qe,ListAccountRolesCommand:ve,ListAccountsCommand:we,LogoutCommand:Re};var ke=class _SSO extends D{};__name(ke,"SSO");var Ne=ke;(0,B.createAggregatedClient)(De,Ne);var _e=(0,g.createPaginator)(D,ve,"nextToken","nextToken","maxResults");var Fe=(0,g.createPaginator)(D,we,"nextToken","nextToken","maxResults");0&&0},9756:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(4351);const o=n.__importDefault(r(1092));const s=r(9963);const i=r(8095);const a=r(3098);const A=r(3081);const c=r(6039);const l=r(3461);const u=r(258);const d=r(8075);const g=r(4902);const f=r(4809);const h=r(3570);const p=r(2429);const E=r(3570);const getRuntimeConfig=e=>{(0,E.emitWarningIfUnsupportedVersion)(process.version);const t=(0,p.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>t().then(h.loadConfigsForDefaultMode);const r=(0,f.getRuntimeConfig)(e);(0,s.emitWarningIfUnsupportedVersion)(process.version);return{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??d.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,i.defaultUserAgent)({serviceId:r.serviceId,clientVersion:o.default.version}),maxAttempts:e?.maxAttempts??(0,l.loadConfig)(c.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:e?.region??(0,l.loadConfig)(a.NODE_REGION_CONFIG_OPTIONS,a.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:u.NodeHttpHandler.create(e?.requestHandler??defaultConfigProvider),retryMode:e?.retryMode??(0,l.loadConfig)({...c.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||g.DEFAULT_RETRY_MODE}),sha256:e?.sha256??A.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??u.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,l.loadConfig)(a.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:e?.useFipsEndpoint??(0,l.loadConfig)(a.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};t.getRuntimeConfig=getRuntimeConfig},4809:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(9963);const o=r(5829);const s=r(3570);const i=r(4681);const a=r(5600);const A=r(1895);const c=r(9344);const l=r(898);const getRuntimeConfig=e=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??a.fromBase64,base64Encoder:e?.base64Encoder??a.toBase64,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??l.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??c.defaultSSOHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new n.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new o.NoAuthSigner}],logger:e?.logger??new s.NoOpLogger,serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??i.parseUrl,utf8Decoder:e?.utf8Decoder??A.fromUtf8,utf8Encoder:e?.utf8Encoder??A.toUtf8});t.getRuntimeConfig=getRuntimeConfig},4195:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.STSClient=t.__Client=void 0;const n=r(2545);const o=r(14);const s=r(5525);const i=r(4688);const a=r(3098);const A=r(5829);const c=r(2800);const l=r(2918);const u=r(6039);const d=r(3570);Object.defineProperty(t,"__Client",{enumerable:true,get:function(){return d.Client}});const g=r(7145);const f=r(510);const h=r(3405);const p=r(2053);class STSClient extends d.Client{constructor(...[e]){const t=(0,h.getRuntimeConfig)(e||{});const r=(0,f.resolveClientEndpointParameters)(t);const d=(0,a.resolveRegionConfig)(r);const E=(0,l.resolveEndpointConfig)(d);const C=(0,u.resolveRetryConfig)(E);const m=(0,n.resolveHostHeaderConfig)(C);const I=(0,i.resolveUserAgentConfig)(m);const y=(0,g.resolveHttpAuthSchemeConfig)(I);const Q=(0,p.resolveRuntimeExtensions)(y,e?.extensions||[]);super(Q);this.config=Q;this.middlewareStack.use((0,u.getRetryPlugin)(this.config));this.middlewareStack.use((0,c.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,n.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,o.getLoggerPlugin)(this.config));this.middlewareStack.use((0,s.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,i.getUserAgentPlugin)(this.config));this.middlewareStack.use((0,A.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()}));this.middlewareStack.use((0,A.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return g.defaultSTSHttpAuthSchemeParametersProvider}getIdentityProviderConfigProvider(){return async e=>new A.DefaultIdentityProviderConfig({"aws.auth#sigv4":e.credentials})}}t.STSClient=STSClient},8527:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthRuntimeConfig=t.getHttpAuthExtensionConfiguration=void 0;const getHttpAuthExtensionConfiguration=e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider;let n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));if(r===-1){t.push(e)}else{t.splice(r,1,e)}},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider(){return r},setCredentials(e){n=e},credentials(){return n}}};t.getHttpAuthExtensionConfiguration=getHttpAuthExtensionConfiguration;const resolveHttpAuthRuntimeConfig=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});t.resolveHttpAuthRuntimeConfig=resolveHttpAuthRuntimeConfig},7145:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthSchemeConfig=t.resolveStsAuthConfig=t.defaultSTSHttpAuthSchemeProvider=t.defaultSTSHttpAuthSchemeParametersProvider=void 0;const n=r(9963);const o=r(2390);const s=r(4195);const defaultSTSHttpAuthSchemeParametersProvider=async(e,t,r)=>({operation:(0,o.getSmithyContext)(t).operation,region:await(0,o.normalizeProvider)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});t.defaultSTSHttpAuthSchemeParametersProvider=defaultSTSHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function createSmithyApiNoAuthHttpAuthOption(e){return{schemeId:"smithy.api#noAuth"}}const defaultSTSHttpAuthSchemeProvider=e=>{const t=[];switch(e.operation){case"AssumeRoleWithSAML":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"AssumeRoleWithWebIdentity":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}default:{t.push(createAwsAuthSigv4HttpAuthOption(e))}}return t};t.defaultSTSHttpAuthSchemeProvider=defaultSTSHttpAuthSchemeProvider;const resolveStsAuthConfig=e=>({...e,stsClientCtor:s.STSClient});t.resolveStsAuthConfig=resolveStsAuthConfig;const resolveHttpAuthSchemeConfig=e=>{const r=(0,t.resolveStsAuthConfig)(e);const o=(0,n.resolveAwsSdkSigV4Config)(r);return{...o}};t.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},510:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.commonParams=t.resolveClientEndpointParameters=void 0;const resolveClientEndpointParameters=e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,useGlobalEndpoint:e.useGlobalEndpoint??false,defaultSigningName:"sts"});t.resolveClientEndpointParameters=resolveClientEndpointParameters;t.commonParams={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}},1203:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultEndpointResolver=void 0;const n=r(3350);const o=r(5473);const s=r(6882);const defaultEndpointResolver=(e,t={})=>(0,o.resolveEndpoint)(s.ruleSet,{endpointParams:e,logger:t.logger});t.defaultEndpointResolver=defaultEndpointResolver;o.customEndpointFunctions.aws=n.awsEndpointFunctions},6882:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ruleSet=void 0;const r="required",n="type",o="fn",s="argv",i="ref";const a=false,A=true,c="booleanEquals",l="stringEquals",u="sigv4",d="sts",g="us-east-1",f="endpoint",h="https://sts.{Region}.{PartitionResult#dnsSuffix}",p="tree",E="error",C="getAttr",m={[r]:false,[n]:"String"},I={[r]:true,default:false,[n]:"Boolean"},y={[i]:"Endpoint"},Q={[o]:"isSet",[s]:[{[i]:"Region"}]},B={[i]:"Region"},v={[o]:"aws.partition",[s]:[B],assign:"PartitionResult"},b={[i]:"UseFIPS"},w={[i]:"UseDualStack"},S={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:u,signingName:d,signingRegion:g}]},headers:{}},R={},D={conditions:[{[o]:l,[s]:[B,"aws-global"]}],[f]:S,[n]:f},k={[o]:c,[s]:[b,true]},N={[o]:c,[s]:[w,true]},F={[o]:C,[s]:[{[i]:"PartitionResult"},"supportsFIPS"]},T={[i]:"PartitionResult"},x={[o]:c,[s]:[true,{[o]:C,[s]:[T,"supportsDualStack"]}]},P=[{[o]:"isSet",[s]:[y]}],O=[k],U=[N];const M={version:"1.0",parameters:{Region:m,UseDualStack:I,UseFIPS:I,Endpoint:m,UseGlobalEndpoint:I},rules:[{conditions:[{[o]:c,[s]:[{[i]:"UseGlobalEndpoint"},A]},{[o]:"not",[s]:P},Q,v,{[o]:c,[s]:[b,a]},{[o]:c,[s]:[w,a]}],rules:[{conditions:[{[o]:l,[s]:[B,"ap-northeast-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"ap-south-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"ap-southeast-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"ap-southeast-2"]}],endpoint:S,[n]:f},D,{conditions:[{[o]:l,[s]:[B,"ca-central-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-central-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-north-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-west-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-west-2"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-west-3"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"sa-east-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,g]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"us-east-2"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"us-west-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"us-west-2"]}],endpoint:S,[n]:f},{endpoint:{url:h,properties:{authSchemes:[{name:u,signingName:d,signingRegion:"{Region}"}]},headers:R},[n]:f}],[n]:p},{conditions:P,rules:[{conditions:O,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[n]:E},{conditions:U,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[n]:E},{endpoint:{url:y,properties:R,headers:R},[n]:f}],[n]:p},{conditions:[Q],rules:[{conditions:[v],rules:[{conditions:[k,N],rules:[{conditions:[{[o]:c,[s]:[A,F]},x],rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:R,headers:R},[n]:f}],[n]:p},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[n]:E}],[n]:p},{conditions:O,rules:[{conditions:[{[o]:c,[s]:[F,A]}],rules:[{conditions:[{[o]:l,[s]:[{[o]:C,[s]:[T,"name"]},"aws-us-gov"]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:R,headers:R},[n]:f},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:R,headers:R},[n]:f}],[n]:p},{error:"FIPS is enabled but this partition does not support FIPS",[n]:E}],[n]:p},{conditions:U,rules:[{conditions:[x],rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:R,headers:R},[n]:f}],[n]:p},{error:"DualStack is enabled but this partition does not support DualStack",[n]:E}],[n]:p},D,{endpoint:{url:h,properties:R,headers:R},[n]:f}],[n]:p}],[n]:p},{error:"Invalid Configuration: Missing Region",[n]:E}]};t.ruleSet=M},2209:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AssumeRoleCommand:()=>tr,AssumeRoleResponseFilterSensitiveLog:()=>N,AssumeRoleWithSAMLCommand:()=>sr,AssumeRoleWithSAMLRequestFilterSensitiveLog:()=>F,AssumeRoleWithSAMLResponseFilterSensitiveLog:()=>T,AssumeRoleWithWebIdentityCommand:()=>Ar,AssumeRoleWithWebIdentityRequestFilterSensitiveLog:()=>x,AssumeRoleWithWebIdentityResponseFilterSensitiveLog:()=>P,ClientInputEndpointParameters:()=>Rr.ClientInputEndpointParameters,CredentialsFilterSensitiveLog:()=>k,DecodeAuthorizationMessageCommand:()=>ur,ExpiredTokenException:()=>h,GetAccessKeyInfoCommand:()=>fr,GetCallerIdentityCommand:()=>Er,GetFederationTokenCommand:()=>Ir,GetFederationTokenResponseFilterSensitiveLog:()=>O,GetSessionTokenCommand:()=>Br,GetSessionTokenResponseFilterSensitiveLog:()=>U,IDPCommunicationErrorException:()=>S,IDPRejectedClaimException:()=>B,InvalidAuthorizationMessageException:()=>D,InvalidIdentityTokenException:()=>b,MalformedPolicyDocumentException:()=>E,PackedPolicyTooLargeException:()=>m,RegionDisabledException:()=>y,STS:()=>Sr,STSServiceException:()=>g,decorateDefaultCredentialProvider:()=>Or,getDefaultRoleAssumer:()=>xr,getDefaultRoleAssumerWithWebIdentity:()=>Pr});e.exports=__toCommonJS(a);__reExport(a,r(4195),e.exports);var A=r(2918);var c=r(1238);var l=r(510);var u=r(3570);var d=class _STSServiceException extends u.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,_STSServiceException.prototype)}};__name(d,"STSServiceException");var g=d;var f=class _ExpiredTokenException extends g{constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});this.name="ExpiredTokenException";this.$fault="client";Object.setPrototypeOf(this,_ExpiredTokenException.prototype)}};__name(f,"ExpiredTokenException");var h=f;var p=class _MalformedPolicyDocumentException extends g{constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});this.name="MalformedPolicyDocumentException";this.$fault="client";Object.setPrototypeOf(this,_MalformedPolicyDocumentException.prototype)}};__name(p,"MalformedPolicyDocumentException");var E=p;var C=class _PackedPolicyTooLargeException extends g{constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});this.name="PackedPolicyTooLargeException";this.$fault="client";Object.setPrototypeOf(this,_PackedPolicyTooLargeException.prototype)}};__name(C,"PackedPolicyTooLargeException");var m=C;var I=class _RegionDisabledException extends g{constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});this.name="RegionDisabledException";this.$fault="client";Object.setPrototypeOf(this,_RegionDisabledException.prototype)}};__name(I,"RegionDisabledException");var y=I;var Q=class _IDPRejectedClaimException extends g{constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});this.name="IDPRejectedClaimException";this.$fault="client";Object.setPrototypeOf(this,_IDPRejectedClaimException.prototype)}};__name(Q,"IDPRejectedClaimException");var B=Q;var v=class _InvalidIdentityTokenException extends g{constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});this.name="InvalidIdentityTokenException";this.$fault="client";Object.setPrototypeOf(this,_InvalidIdentityTokenException.prototype)}};__name(v,"InvalidIdentityTokenException");var b=v;var w=class _IDPCommunicationErrorException extends g{constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});this.name="IDPCommunicationErrorException";this.$fault="client";Object.setPrototypeOf(this,_IDPCommunicationErrorException.prototype)}};__name(w,"IDPCommunicationErrorException");var S=w;var R=class _InvalidAuthorizationMessageException extends g{constructor(e){super({name:"InvalidAuthorizationMessageException",$fault:"client",...e});this.name="InvalidAuthorizationMessageException";this.$fault="client";Object.setPrototypeOf(this,_InvalidAuthorizationMessageException.prototype)}};__name(R,"InvalidAuthorizationMessageException");var D=R;var k=__name((e=>({...e,...e.SecretAccessKey&&{SecretAccessKey:u.SENSITIVE_STRING}})),"CredentialsFilterSensitiveLog");var N=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"AssumeRoleResponseFilterSensitiveLog");var F=__name((e=>({...e,...e.SAMLAssertion&&{SAMLAssertion:u.SENSITIVE_STRING}})),"AssumeRoleWithSAMLRequestFilterSensitiveLog");var T=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"AssumeRoleWithSAMLResponseFilterSensitiveLog");var x=__name((e=>({...e,...e.WebIdentityToken&&{WebIdentityToken:u.SENSITIVE_STRING}})),"AssumeRoleWithWebIdentityRequestFilterSensitiveLog");var P=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"AssumeRoleWithWebIdentityResponseFilterSensitiveLog");var O=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"GetFederationTokenResponseFilterSensitiveLog");var U=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"GetSessionTokenResponseFilterSensitiveLog");var M=r(9963);var L=r(4418);var H=__name((async(e,t)=>{const r=We;let n;n=Zt({...de(e,t),[Ke]:Xe,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_AssumeRoleCommand");var j=__name((async(e,t)=>{const r=We;let n;n=Zt({...ge(e,t),[Ke]:rt,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_AssumeRoleWithSAMLCommand");var G=__name((async(e,t)=>{const r=We;let n;n=Zt({...fe(e,t),[Ke]:nt,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_AssumeRoleWithWebIdentityCommand");var V=__name((async(e,t)=>{const r=We;let n;n=Zt({...he(e,t),[Ke]:ct,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_DecodeAuthorizationMessageCommand");var Y=__name((async(e,t)=>{const r=We;let n;n=Zt({...pe(e,t),[Ke]:Et,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_GetAccessKeyInfoCommand");var J=__name((async(e,t)=>{const r=We;let n;n=Zt({...Ee(e,t),[Ke]:Ct,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_GetCallerIdentityCommand");var q=__name((async(e,t)=>{const r=We;let n;n=Zt({...Ce(e,t),[Ke]:mt,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_GetFederationTokenCommand");var $=__name((async(e,t)=>{const r=We;let n;n=Zt({...me(e,t),[Ke]:It,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_GetSessionTokenCommand");var W=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=Re(r.AssumeRoleResult,t);const o={$metadata:Je(e),...n};return o}),"de_AssumeRoleCommand");var z=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=De(r.AssumeRoleWithSAMLResult,t);const o={$metadata:Je(e),...n};return o}),"de_AssumeRoleWithSAMLCommand");var K=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=ke(r.AssumeRoleWithWebIdentityResult,t);const o={$metadata:Je(e),...n};return o}),"de_AssumeRoleWithWebIdentityCommand");var Z=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=_e(r.DecodeAuthorizationMessageResult,t);const o={$metadata:Je(e),...n};return o}),"de_DecodeAuthorizationMessageCommand");var X=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=xe(r.GetAccessKeyInfoResult,t);const o={$metadata:Je(e),...n};return o}),"de_GetAccessKeyInfoCommand");var ee=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=Pe(r.GetCallerIdentityResult,t);const o={$metadata:Je(e),...n};return o}),"de_GetCallerIdentityCommand");var te=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=Oe(r.GetFederationTokenResult,t);const o={$metadata:Je(e),...n};return o}),"de_GetFederationTokenCommand");var re=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=Ue(r.GetSessionTokenResult,t);const o={$metadata:Je(e),...n};return o}),"de_GetSessionTokenCommand");var ne=__name((async(e,t)=>{const r={...e,body:await(0,M.parseXmlErrorBody)(e.body,t)};const n=Xt(e,r.body);switch(n){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await oe(r,t);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await ce(r,t);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await le(r,t);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await ue(r,t);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await ie(r,t);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await Ae(r,t);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await se(r,t);case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await ae(r,t);default:const o=r.body;return qe({output:e,parsedBody:o.Error,errorCode:n})}}),"de_CommandError");var oe=__name((async(e,t)=>{const r=e.body;const n=Fe(r.Error,t);const o=new h({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_ExpiredTokenExceptionRes");var se=__name((async(e,t)=>{const r=e.body;const n=Me(r.Error,t);const o=new S({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_IDPCommunicationErrorExceptionRes");var ie=__name((async(e,t)=>{const r=e.body;const n=Le(r.Error,t);const o=new B({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_IDPRejectedClaimExceptionRes");var ae=__name((async(e,t)=>{const r=e.body;const n=He(r.Error,t);const o=new D({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_InvalidAuthorizationMessageExceptionRes");var Ae=__name((async(e,t)=>{const r=e.body;const n=je(r.Error,t);const o=new b({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_InvalidIdentityTokenExceptionRes");var ce=__name((async(e,t)=>{const r=e.body;const n=Ge(r.Error,t);const o=new E({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_MalformedPolicyDocumentExceptionRes");var le=__name((async(e,t)=>{const r=e.body;const n=Ve(r.Error,t);const o=new m({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_PackedPolicyTooLargeExceptionRes");var ue=__name((async(e,t)=>{const r=e.body;const n=Ye(r.Error,t);const o=new y({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_RegionDisabledExceptionRes");var de=__name(((e,t)=>{var r,n,o,s;const i={};if(e[Ft]!=null){i[Ft]=e[Ft]}if(e[Tt]!=null){i[Tt]=e[Tt]}if(e[wt]!=null){const n=Ie(e[wt],t);if(((r=e[wt])==null?void 0:r.length)===0){i.PolicyArns=[]}Object.entries(n).forEach((([e,t])=>{const r=`PolicyArns.${e}`;i[r]=t}))}if(e[bt]!=null){i[bt]=e[bt]}if(e[ut]!=null){i[ut]=e[ut]}if(e[Gt]!=null){const r=we(e[Gt],t);if(((n=e[Gt])==null?void 0:n.length)===0){i.Tags=[]}Object.entries(r).forEach((([e,t])=>{const r=`Tags.${e}`;i[r]=t}))}if(e[Yt]!=null){const r=be(e[Yt],t);if(((o=e[Yt])==null?void 0:o.length)===0){i.TransitiveTagKeys=[]}Object.entries(r).forEach((([e,t])=>{const r=`TransitiveTagKeys.${e}`;i[r]=t}))}if(e[gt]!=null){i[gt]=e[gt]}if(e[Lt]!=null){i[Lt]=e[Lt]}if(e[Vt]!=null){i[Vt]=e[Vt]}if(e[Mt]!=null){i[Mt]=e[Mt]}if(e[Dt]!=null){const r=Be(e[Dt],t);if(((s=e[Dt])==null?void 0:s.length)===0){i.ProvidedContexts=[]}Object.entries(r).forEach((([e,t])=>{const r=`ProvidedContexts.${e}`;i[r]=t}))}return i}),"se_AssumeRoleRequest");var ge=__name(((e,t)=>{var r;const n={};if(e[Ft]!=null){n[Ft]=e[Ft]}if(e[St]!=null){n[St]=e[St]}if(e[Ot]!=null){n[Ot]=e[Ot]}if(e[wt]!=null){const o=Ie(e[wt],t);if(((r=e[wt])==null?void 0:r.length)===0){n.PolicyArns=[]}Object.entries(o).forEach((([e,t])=>{const r=`PolicyArns.${e}`;n[r]=t}))}if(e[bt]!=null){n[bt]=e[bt]}if(e[ut]!=null){n[ut]=e[ut]}return n}),"se_AssumeRoleWithSAMLRequest");var fe=__name(((e,t)=>{var r;const n={};if(e[Ft]!=null){n[Ft]=e[Ft]}if(e[Tt]!=null){n[Tt]=e[Tt]}if(e[Wt]!=null){n[Wt]=e[Wt]}if(e[kt]!=null){n[kt]=e[kt]}if(e[wt]!=null){const o=Ie(e[wt],t);if(((r=e[wt])==null?void 0:r.length)===0){n.PolicyArns=[]}Object.entries(o).forEach((([e,t])=>{const r=`PolicyArns.${e}`;n[r]=t}))}if(e[bt]!=null){n[bt]=e[bt]}if(e[ut]!=null){n[ut]=e[ut]}return n}),"se_AssumeRoleWithWebIdentityRequest");var he=__name(((e,t)=>{const r={};if(e[ft]!=null){r[ft]=e[ft]}return r}),"se_DecodeAuthorizationMessageRequest");var pe=__name(((e,t)=>{const r={};if(e[Ze]!=null){r[Ze]=e[Ze]}return r}),"se_GetAccessKeyInfoRequest");var Ee=__name(((e,t)=>{const r={};return r}),"se_GetCallerIdentityRequest");var Ce=__name(((e,t)=>{var r,n;const o={};if(e[Bt]!=null){o[Bt]=e[Bt]}if(e[bt]!=null){o[bt]=e[bt]}if(e[wt]!=null){const n=Ie(e[wt],t);if(((r=e[wt])==null?void 0:r.length)===0){o.PolicyArns=[]}Object.entries(n).forEach((([e,t])=>{const r=`PolicyArns.${e}`;o[r]=t}))}if(e[ut]!=null){o[ut]=e[ut]}if(e[Gt]!=null){const r=we(e[Gt],t);if(((n=e[Gt])==null?void 0:n.length)===0){o.Tags=[]}Object.entries(r).forEach((([e,t])=>{const r=`Tags.${e}`;o[r]=t}))}return o}),"se_GetFederationTokenRequest");var me=__name(((e,t)=>{const r={};if(e[ut]!=null){r[ut]=e[ut]}if(e[Lt]!=null){r[Lt]=e[Lt]}if(e[Vt]!=null){r[Vt]=e[Vt]}return r}),"se_GetSessionTokenRequest");var Ie=__name(((e,t)=>{const r={};let n=1;for(const o of e){if(o===null){continue}const e=ye(o,t);Object.entries(e).forEach((([e,t])=>{r[`member.${n}.${e}`]=t}));n++}return r}),"se_policyDescriptorListType");var ye=__name(((e,t)=>{const r={};if(e[zt]!=null){r[zt]=e[zt]}return r}),"se_PolicyDescriptorType");var Qe=__name(((e,t)=>{const r={};if(e[Rt]!=null){r[Rt]=e[Rt]}if(e[At]!=null){r[At]=e[At]}return r}),"se_ProvidedContext");var Be=__name(((e,t)=>{const r={};let n=1;for(const o of e){if(o===null){continue}const e=Qe(o,t);Object.entries(e).forEach((([e,t])=>{r[`member.${n}.${e}`]=t}));n++}return r}),"se_ProvidedContextsListType");var ve=__name(((e,t)=>{const r={};if(e[Qt]!=null){r[Qt]=e[Qt]}if(e[$t]!=null){r[$t]=e[$t]}return r}),"se_Tag");var be=__name(((e,t)=>{const r={};let n=1;for(const t of e){if(t===null){continue}r[`member.${n}`]=t;n++}return r}),"se_tagKeyListType");var we=__name(((e,t)=>{const r={};let n=1;for(const o of e){if(o===null){continue}const e=ve(o,t);Object.entries(e).forEach((([e,t])=>{r[`member.${n}.${e}`]=t}));n++}return r}),"se_tagListType");var Se=__name(((e,t)=>{const r={};if(e[et]!=null){r[et]=(0,u.expectString)(e[et])}if(e[st]!=null){r[st]=(0,u.expectString)(e[st])}return r}),"de_AssumedRoleUser");var Re=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}if(e[tt]!=null){r[tt]=Se(e[tt],t)}if(e[Nt]!=null){r[Nt]=(0,u.strictParseInt32)(e[Nt])}if(e[Mt]!=null){r[Mt]=(0,u.expectString)(e[Mt])}return r}),"de_AssumeRoleResponse");var De=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}if(e[tt]!=null){r[tt]=Se(e[tt],t)}if(e[Nt]!=null){r[Nt]=(0,u.strictParseInt32)(e[Nt])}if(e[xt]!=null){r[xt]=(0,u.expectString)(e[xt])}if(e[Ht]!=null){r[Ht]=(0,u.expectString)(e[Ht])}if(e[yt]!=null){r[yt]=(0,u.expectString)(e[yt])}if(e[it]!=null){r[it]=(0,u.expectString)(e[it])}if(e[vt]!=null){r[vt]=(0,u.expectString)(e[vt])}if(e[Mt]!=null){r[Mt]=(0,u.expectString)(e[Mt])}return r}),"de_AssumeRoleWithSAMLResponse");var ke=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}if(e[Ut]!=null){r[Ut]=(0,u.expectString)(e[Ut])}if(e[tt]!=null){r[tt]=Se(e[tt],t)}if(e[Nt]!=null){r[Nt]=(0,u.strictParseInt32)(e[Nt])}if(e[_t]!=null){r[_t]=(0,u.expectString)(e[_t])}if(e[it]!=null){r[it]=(0,u.expectString)(e[it])}if(e[Mt]!=null){r[Mt]=(0,u.expectString)(e[Mt])}return r}),"de_AssumeRoleWithWebIdentityResponse");var Ne=__name(((e,t)=>{const r={};if(e[Ze]!=null){r[Ze]=(0,u.expectString)(e[Ze])}if(e[Pt]!=null){r[Pt]=(0,u.expectString)(e[Pt])}if(e[jt]!=null){r[jt]=(0,u.expectString)(e[jt])}if(e[dt]!=null){r[dt]=(0,u.expectNonNull)((0,u.parseRfc3339DateTimeWithOffset)(e[dt]))}return r}),"de_Credentials");var _e=__name(((e,t)=>{const r={};if(e[lt]!=null){r[lt]=(0,u.expectString)(e[lt])}return r}),"de_DecodeAuthorizationMessageResponse");var Fe=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_ExpiredTokenException");var Te=__name(((e,t)=>{const r={};if(e[pt]!=null){r[pt]=(0,u.expectString)(e[pt])}if(e[st]!=null){r[st]=(0,u.expectString)(e[st])}return r}),"de_FederatedUser");var xe=__name(((e,t)=>{const r={};if(e[ot]!=null){r[ot]=(0,u.expectString)(e[ot])}return r}),"de_GetAccessKeyInfoResponse");var Pe=__name(((e,t)=>{const r={};if(e[Jt]!=null){r[Jt]=(0,u.expectString)(e[Jt])}if(e[ot]!=null){r[ot]=(0,u.expectString)(e[ot])}if(e[st]!=null){r[st]=(0,u.expectString)(e[st])}return r}),"de_GetCallerIdentityResponse");var Oe=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}if(e[ht]!=null){r[ht]=Te(e[ht],t)}if(e[Nt]!=null){r[Nt]=(0,u.strictParseInt32)(e[Nt])}return r}),"de_GetFederationTokenResponse");var Ue=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}return r}),"de_GetSessionTokenResponse");var Me=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_IDPCommunicationErrorException");var Le=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_IDPRejectedClaimException");var He=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_InvalidAuthorizationMessageException");var je=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_InvalidIdentityTokenException");var Ge=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_MalformedPolicyDocumentException");var Ve=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_PackedPolicyTooLargeException");var Ye=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_RegionDisabledException");var Je=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var qe=(0,u.withBaseException)(g);var $e=__name((async(e,t,r,n,o)=>{const{hostname:s,protocol:i="https",port:a,path:A}=await e.endpoint();const c={protocol:i,hostname:s,port:a,method:"POST",path:A.endsWith("/")?A.slice(0,-1)+r:A+r,headers:t};if(n!==void 0){c.hostname=n}if(o!==void 0){c.body=o}return new L.HttpRequest(c)}),"buildHttpRpcRequest");var We={"content-type":"application/x-www-form-urlencoded"};var ze="2011-06-15";var Ke="Action";var Ze="AccessKeyId";var Xe="AssumeRole";var et="AssumedRoleId";var tt="AssumedRoleUser";var rt="AssumeRoleWithSAML";var nt="AssumeRoleWithWebIdentity";var ot="Account";var st="Arn";var it="Audience";var at="Credentials";var At="ContextAssertion";var ct="DecodeAuthorizationMessage";var lt="DecodedMessage";var ut="DurationSeconds";var dt="Expiration";var gt="ExternalId";var ft="EncodedMessage";var ht="FederatedUser";var pt="FederatedUserId";var Et="GetAccessKeyInfo";var Ct="GetCallerIdentity";var mt="GetFederationToken";var It="GetSessionToken";var yt="Issuer";var Qt="Key";var Bt="Name";var vt="NameQualifier";var bt="Policy";var wt="PolicyArns";var St="PrincipalArn";var Rt="ProviderArn";var Dt="ProvidedContexts";var kt="ProviderId";var Nt="PackedPolicySize";var _t="Provider";var Ft="RoleArn";var Tt="RoleSessionName";var xt="Subject";var Pt="SecretAccessKey";var Ot="SAMLAssertion";var Ut="SubjectFromWebIdentityToken";var Mt="SourceIdentity";var Lt="SerialNumber";var Ht="SubjectType";var jt="SessionToken";var Gt="Tags";var Vt="TokenCode";var Yt="TransitiveTagKeys";var Jt="UserId";var qt="Version";var $t="Value";var Wt="WebIdentityToken";var zt="arn";var Kt="message";var Zt=__name((e=>Object.entries(e).map((([e,t])=>(0,u.extendedEncodeURIComponent)(e)+"="+(0,u.extendedEncodeURIComponent)(t))).join("&")),"buildFormUrlencodedString");var Xt=__name(((e,t)=>{var r;if(((r=t.Error)==null?void 0:r.Code)!==void 0){return t.Error.Code}if(e.statusCode==404){return"NotFound"}}),"loadQueryErrorCode");var er=class _AssumeRoleCommand extends(u.Command.classBuilder().ep({...l.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").f(void 0,N).ser(H).de(W).build()){};__name(er,"AssumeRoleCommand");var tr=er;var rr=r(510);var nr=class _AssumeRoleWithSAMLCommand extends(u.Command.classBuilder().ep({...rr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithSAML",{}).n("STSClient","AssumeRoleWithSAMLCommand").f(F,T).ser(j).de(z).build()){};__name(nr,"AssumeRoleWithSAMLCommand");var sr=nr;var ir=r(510);var ar=class _AssumeRoleWithWebIdentityCommand extends(u.Command.classBuilder().ep({...ir.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").f(x,P).ser(G).de(K).build()){};__name(ar,"AssumeRoleWithWebIdentityCommand");var Ar=ar;var cr=r(510);var lr=class _DecodeAuthorizationMessageCommand extends(u.Command.classBuilder().ep({...cr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","DecodeAuthorizationMessage",{}).n("STSClient","DecodeAuthorizationMessageCommand").f(void 0,void 0).ser(V).de(Z).build()){};__name(lr,"DecodeAuthorizationMessageCommand");var ur=lr;var dr=r(510);var gr=class _GetAccessKeyInfoCommand extends(u.Command.classBuilder().ep({...dr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","GetAccessKeyInfo",{}).n("STSClient","GetAccessKeyInfoCommand").f(void 0,void 0).ser(Y).de(X).build()){};__name(gr,"GetAccessKeyInfoCommand");var fr=gr;var hr=r(510);var pr=class _GetCallerIdentityCommand extends(u.Command.classBuilder().ep({...hr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","GetCallerIdentity",{}).n("STSClient","GetCallerIdentityCommand").f(void 0,void 0).ser(J).de(ee).build()){};__name(pr,"GetCallerIdentityCommand");var Er=pr;var Cr=r(510);var mr=class _GetFederationTokenCommand extends(u.Command.classBuilder().ep({...Cr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","GetFederationToken",{}).n("STSClient","GetFederationTokenCommand").f(void 0,O).ser(q).de(te).build()){};__name(mr,"GetFederationTokenCommand");var Ir=mr;var yr=r(510);var Qr=class _GetSessionTokenCommand extends(u.Command.classBuilder().ep({...yr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","GetSessionToken",{}).n("STSClient","GetSessionTokenCommand").f(void 0,U).ser($).de(re).build()){};__name(Qr,"GetSessionTokenCommand");var Br=Qr;var vr=r(4195);var br={AssumeRoleCommand:tr,AssumeRoleWithSAMLCommand:sr,AssumeRoleWithWebIdentityCommand:Ar,DecodeAuthorizationMessageCommand:ur,GetAccessKeyInfoCommand:fr,GetCallerIdentityCommand:Er,GetFederationTokenCommand:Ir,GetSessionTokenCommand:Br};var wr=class _STS extends vr.STSClient{};__name(wr,"STS");var Sr=wr;(0,u.createAggregatedClient)(br,Sr);var Rr=r(510);var Dr="us-east-1";var kr=__name((async(e,t,r)=>{var n;const o=typeof e==="function"?await e():e;const s=typeof t==="function"?await t():t;(n=r==null?void 0:r.debug)==null?void 0:n.call(r,"@aws-sdk/client-sts::resolveRegion","accepting first of:",`${o} (provider)`,`${s} (parent client)`,`${Dr} (STS default)`);return o??s??Dr}),"resolveRegion");var Nr=__name(((e,t)=>{let r;let n;return async(o,s)=>{var i,a,A;n=o;if(!r){const{logger:o=((i=e==null?void 0:e.parentClientConfig)==null?void 0:i.logger),region:s,requestHandler:c=((a=e==null?void 0:e.parentClientConfig)==null?void 0:a.requestHandler),credentialProviderLogger:l}=e;const u=await kr(s,(A=e==null?void 0:e.parentClientConfig)==null?void 0:A.region,l);r=new t({credentialDefaultProvider:()=>async()=>n,region:u,requestHandler:c,logger:o})}const{Credentials:c}=await r.send(new tr(s));if(!c||!c.AccessKeyId||!c.SecretAccessKey){throw new Error(`Invalid response from STS.assumeRole call with role ${s.RoleArn}`)}return{accessKeyId:c.AccessKeyId,secretAccessKey:c.SecretAccessKey,sessionToken:c.SessionToken,expiration:c.Expiration,credentialScope:c.CredentialScope}}}),"getDefaultRoleAssumer");var _r=__name(((e,t)=>{let r;return async n=>{var o,s,i;if(!r){const{logger:n=((o=e==null?void 0:e.parentClientConfig)==null?void 0:o.logger),region:a,requestHandler:A=((s=e==null?void 0:e.parentClientConfig)==null?void 0:s.requestHandler),credentialProviderLogger:c}=e;const l=await kr(a,(i=e==null?void 0:e.parentClientConfig)==null?void 0:i.region,c);r=new t({region:l,requestHandler:A,logger:n})}const{Credentials:a}=await r.send(new Ar(n));if(!a||!a.AccessKeyId||!a.SecretAccessKey){throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${n.RoleArn}`)}return{accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration,credentialScope:a.CredentialScope}}}),"getDefaultRoleAssumerWithWebIdentity");var Fr=r(4195);var Tr=__name(((e,t)=>{var r;if(!t)return e;else return r=class extends e{constructor(e){super(e);for(const e of t){this.middlewareStack.use(e)}}},__name(r,"CustomizableSTSClient"),r}),"getCustomizableStsClientCtor");var xr=__name(((e={},t)=>Nr(e,Tr(Fr.STSClient,t))),"getDefaultRoleAssumer");var Pr=__name(((e={},t)=>_r(e,Tr(Fr.STSClient,t))),"getDefaultRoleAssumerWithWebIdentity");var Or=__name((e=>t=>e({roleAssumer:xr(t),roleAssumerWithWebIdentity:Pr(t),...t})),"decorateDefaultCredentialProvider");0&&0},3405:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(4351);const o=n.__importDefault(r(7947));const s=r(9963);const i=r(5531);const a=r(8095);const A=r(3098);const c=r(5829);const l=r(3081);const u=r(6039);const d=r(3461);const g=r(258);const f=r(8075);const h=r(4902);const p=r(2642);const E=r(3570);const C=r(2429);const m=r(3570);const getRuntimeConfig=e=>{(0,m.emitWarningIfUnsupportedVersion)(process.version);const t=(0,C.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>t().then(E.loadConfigsForDefaultMode);const r=(0,p.getRuntimeConfig)(e);(0,s.emitWarningIfUnsupportedVersion)(process.version);return{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??f.calculateBodyLength,credentialDefaultProvider:e?.credentialDefaultProvider??i.defaultProvider,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,a.defaultUserAgent)({serviceId:r.serviceId,clientVersion:o.default.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4")||(async e=>await(0,i.defaultProvider)(e?.__config||{})()),signer:new s.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new c.NoAuthSigner}],maxAttempts:e?.maxAttempts??(0,d.loadConfig)(u.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:e?.region??(0,d.loadConfig)(A.NODE_REGION_CONFIG_OPTIONS,A.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:g.NodeHttpHandler.create(e?.requestHandler??defaultConfigProvider),retryMode:e?.retryMode??(0,d.loadConfig)({...u.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||h.DEFAULT_RETRY_MODE}),sha256:e?.sha256??l.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??g.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,d.loadConfig)(A.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:e?.useFipsEndpoint??(0,d.loadConfig)(A.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};t.getRuntimeConfig=getRuntimeConfig},2642:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(9963);const o=r(5829);const s=r(3570);const i=r(4681);const a=r(5600);const A=r(1895);const c=r(7145);const l=r(1203);const getRuntimeConfig=e=>({apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??a.fromBase64,base64Encoder:e?.base64Encoder??a.toBase64,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??l.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??c.defaultSTSHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new n.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new o.NoAuthSigner}],logger:e?.logger??new s.NoOpLogger,serviceId:e?.serviceId??"STS",urlParser:e?.urlParser??i.parseUrl,utf8Decoder:e?.utf8Decoder??A.fromUtf8,utf8Encoder:e?.utf8Encoder??A.toUtf8});t.getRuntimeConfig=getRuntimeConfig},2053:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveRuntimeExtensions=void 0;const n=r(8156);const o=r(4418);const s=r(3570);const i=r(8527);const asPartial=e=>e;const resolveRuntimeExtensions=(e,t)=>{const r={...asPartial((0,n.getAwsRegionExtensionConfiguration)(e)),...asPartial((0,s.getDefaultExtensionConfiguration)(e)),...asPartial((0,o.getHttpHandlerExtensionConfiguration)(e)),...asPartial((0,i.getHttpAuthExtensionConfiguration)(e))};t.forEach((e=>e.configure(r)));return{...e,...(0,n.resolveAwsRegionExtensionConfiguration)(r),...(0,s.resolveDefaultRuntimeConfig)(r),...(0,o.resolveHttpHandlerRuntimeConfig)(r),...(0,i.resolveHttpAuthRuntimeConfig)(r)}};t.resolveRuntimeExtensions=resolveRuntimeExtensions},1949:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthSchemeConfig=t.defaultTimestreamWriteHttpAuthSchemeProvider=t.defaultTimestreamWriteHttpAuthSchemeParametersProvider=void 0;const n=r(9963);const o=r(2390);const defaultTimestreamWriteHttpAuthSchemeParametersProvider=async(e,t,r)=>({operation:(0,o.getSmithyContext)(t).operation,region:await(0,o.normalizeProvider)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});t.defaultTimestreamWriteHttpAuthSchemeParametersProvider=defaultTimestreamWriteHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"timestream",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}const defaultTimestreamWriteHttpAuthSchemeProvider=e=>{const t=[];switch(e.operation){default:{t.push(createAwsAuthSigv4HttpAuthOption(e))}}return t};t.defaultTimestreamWriteHttpAuthSchemeProvider=defaultTimestreamWriteHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=e=>{const t=(0,n.resolveAwsSdkSigV4Config)(e);return{...t}};t.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},2245:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultEndpointResolver=void 0;const n=r(3350);const o=r(5473);const s=r(5191);const defaultEndpointResolver=(e,t={})=>(0,o.resolveEndpoint)(s.ruleSet,{endpointParams:e,logger:t.logger});t.defaultEndpointResolver=defaultEndpointResolver;o.customEndpointFunctions.aws=n.awsEndpointFunctions},5191:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ruleSet=void 0;const r="required",n="fn",o="argv",s="ref";const i=true,a="isSet",A="booleanEquals",c="error",l="endpoint",u="tree",d="PartitionResult",g="getAttr",f={[r]:false,type:"String"},h={[r]:true,default:false,type:"Boolean"},p={[s]:"Endpoint"},E={[n]:A,[o]:[{[s]:"UseFIPS"},true]},C={[n]:A,[o]:[{[s]:"UseDualStack"},true]},m={},I={[n]:g,[o]:[{[s]:d},"supportsFIPS"]},y={[s]:d},Q={[n]:A,[o]:[true,{[n]:g,[o]:[y,"supportsDualStack"]}]},B=[E],v=[C],b=[{[s]:"Region"}];const w={version:"1.0",parameters:{Region:f,UseDualStack:h,UseFIPS:h,Endpoint:f},rules:[{conditions:[{[n]:a,[o]:[p]}],rules:[{conditions:B,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:v,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:p,properties:m,headers:m},type:l}],type:u},{conditions:[{[n]:a,[o]:b}],rules:[{conditions:[{[n]:"aws.partition",[o]:b,assign:d}],rules:[{conditions:[E,C],rules:[{conditions:[{[n]:A,[o]:[i,I]},Q],rules:[{endpoint:{url:"https://ingest.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}],type:u},{conditions:B,rules:[{conditions:[{[n]:A,[o]:[I,i]}],rules:[{conditions:[{[n]:"stringEquals",[o]:[{[n]:g,[o]:[y,"name"]},"aws-us-gov"]}],endpoint:{url:"https://ingest.timestream.{Region}.amazonaws.com",properties:m,headers:m},type:l},{endpoint:{url:"https://ingest.timestream-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS is enabled but this partition does not support FIPS",type:c}],type:u},{conditions:v,rules:[{conditions:[Q],rules:[{endpoint:{url:"https://ingest.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"DualStack is enabled but this partition does not support DualStack",type:c}],type:u},{endpoint:{url:"https://ingest.timestream.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u}],type:u},{error:"Invalid Configuration: Missing Region",type:c}]};t.ruleSet=w},3484:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AccessDeniedException:()=>D,BatchLoadDataFormat:()=>k,BatchLoadStatus:()=>N,ConflictException:()=>U,CreateBatchLoadTaskCommand:()=>kt,CreateBatchLoadTaskRequestFilterSensitiveLog:()=>ne,CreateDatabaseCommand:()=>_t,CreateTableCommand:()=>Tt,DeleteDatabaseCommand:()=>Pt,DeleteTableCommand:()=>Ut,DescribeBatchLoadTaskCommand:()=>Lt,DescribeDatabaseCommand:()=>jt,DescribeEndpointsCommand:()=>It,DescribeTableCommand:()=>Vt,DimensionValueType:()=>ee,InternalServerException:()=>L,InvalidEndpointException:()=>j,ListBatchLoadTasksCommand:()=>Jt,ListDatabasesCommand:()=>$t,ListTablesCommand:()=>zt,ListTagsForResourceCommand:()=>Zt,MeasureValueType:()=>F,PartitionKeyEnforcementLevel:()=>K,PartitionKeyType:()=>Z,RejectedRecordsException:()=>re,ResourceNotFoundException:()=>V,ResumeBatchLoadTaskCommand:()=>er,S3EncryptionOption:()=>P,ScalarMeasureValueType:()=>T,ServiceQuotaExceededException:()=>J,TableStatus:()=>X,TagResourceCommand:()=>rr,ThrottlingException:()=>$,TimeUnit:()=>x,TimestreamWrite:()=>fr,TimestreamWriteClient:()=>Rt,TimestreamWriteServiceException:()=>S,UntagResourceCommand:()=>sr,UpdateDatabaseCommand:()=>ar,UpdateTableCommand:()=>cr,ValidationException:()=>z,WriteRecordsCommand:()=>ur,__Client:()=>b.Client,paginateListBatchLoadTasks:()=>pr,paginateListDatabases:()=>Cr,paginateListTables:()=>Ir});e.exports=__toCommonJS(a);var A=r(6929);var c=r(2545);var l=r(14);var u=r(5525);var d=r(4688);var g=r(3098);var f=r(5829);var h=r(2800);var p=r(6039);var E=r(1949);var C=r(2918);var m=r(1238);var I=__name((e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"timestream"})),"resolveClientEndpointParameters");var y={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var Q=r(9963);var B=r(4418);var v=r(3265);var b=r(3570);var w=class _TimestreamWriteServiceException extends b.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,_TimestreamWriteServiceException.prototype)}};__name(w,"TimestreamWriteServiceException");var S=w;var R=class _AccessDeniedException extends S{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});this.name="AccessDeniedException";this.$fault="client";Object.setPrototypeOf(this,_AccessDeniedException.prototype);this.Message=e.Message}};__name(R,"AccessDeniedException");var D=R;var k={CSV:"CSV"};var N={CREATED:"CREATED",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS",PENDING_RESUME:"PENDING_RESUME",PROGRESS_STOPPED:"PROGRESS_STOPPED",SUCCEEDED:"SUCCEEDED"};var F={BIGINT:"BIGINT",BOOLEAN:"BOOLEAN",DOUBLE:"DOUBLE",MULTI:"MULTI",TIMESTAMP:"TIMESTAMP",VARCHAR:"VARCHAR"};var T={BIGINT:"BIGINT",BOOLEAN:"BOOLEAN",DOUBLE:"DOUBLE",TIMESTAMP:"TIMESTAMP",VARCHAR:"VARCHAR"};var x={MICROSECONDS:"MICROSECONDS",MILLISECONDS:"MILLISECONDS",NANOSECONDS:"NANOSECONDS",SECONDS:"SECONDS"};var P={SSE_KMS:"SSE_KMS",SSE_S3:"SSE_S3"};var O=class _ConflictException extends S{constructor(e){super({name:"ConflictException",$fault:"client",...e});this.name="ConflictException";this.$fault="client";Object.setPrototypeOf(this,_ConflictException.prototype);this.Message=e.Message}};__name(O,"ConflictException");var U=O;var M=class _InternalServerException extends S{constructor(e){super({name:"InternalServerException",$fault:"server",...e});this.name="InternalServerException";this.$fault="server";Object.setPrototypeOf(this,_InternalServerException.prototype);this.Message=e.Message}};__name(M,"InternalServerException");var L=M;var H=class _InvalidEndpointException extends S{constructor(e){super({name:"InvalidEndpointException",$fault:"client",...e});this.name="InvalidEndpointException";this.$fault="client";Object.setPrototypeOf(this,_InvalidEndpointException.prototype);this.Message=e.Message}};__name(H,"InvalidEndpointException");var j=H;var G=class _ResourceNotFoundException extends S{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});this.name="ResourceNotFoundException";this.$fault="client";Object.setPrototypeOf(this,_ResourceNotFoundException.prototype);this.Message=e.Message}};__name(G,"ResourceNotFoundException");var V=G;var Y=class _ServiceQuotaExceededException extends S{constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e});this.name="ServiceQuotaExceededException";this.$fault="client";Object.setPrototypeOf(this,_ServiceQuotaExceededException.prototype);this.Message=e.Message}};__name(Y,"ServiceQuotaExceededException");var J=Y;var q=class _ThrottlingException extends S{constructor(e){super({name:"ThrottlingException",$fault:"client",...e});this.name="ThrottlingException";this.$fault="client";Object.setPrototypeOf(this,_ThrottlingException.prototype);this.Message=e.Message}};__name(q,"ThrottlingException");var $=q;var W=class _ValidationException extends S{constructor(e){super({name:"ValidationException",$fault:"client",...e});this.name="ValidationException";this.$fault="client";Object.setPrototypeOf(this,_ValidationException.prototype);this.Message=e.Message}};__name(W,"ValidationException");var z=W;var K={OPTIONAL:"OPTIONAL",REQUIRED:"REQUIRED"};var Z={DIMENSION:"DIMENSION",MEASURE:"MEASURE"};var X={ACTIVE:"ACTIVE",DELETING:"DELETING",RESTORING:"RESTORING"};var ee={VARCHAR:"VARCHAR"};var te=class _RejectedRecordsException extends S{constructor(e){super({name:"RejectedRecordsException",$fault:"client",...e});this.name="RejectedRecordsException";this.$fault="client";Object.setPrototypeOf(this,_RejectedRecordsException.prototype);this.Message=e.Message;this.RejectedRecords=e.RejectedRecords}};__name(te,"RejectedRecordsException");var re=te;var ne=__name((e=>({...e,...e.ClientToken&&{ClientToken:b.SENSITIVE_STRING}})),"CreateBatchLoadTaskRequestFilterSensitiveLog");var oe=__name((async(e,t)=>{const r=sharedHeaders("CreateBatchLoadTask");let n;n=JSON.stringify(Ze(e,t));return Ct(t,r,"/",void 0,n)}),"se_CreateBatchLoadTaskCommand");var se=__name((async(e,t)=>{const r=sharedHeaders("CreateDatabase");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_CreateDatabaseCommand");var ie=__name((async(e,t)=>{const r=sharedHeaders("CreateTable");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_CreateTableCommand");var ae=__name((async(e,t)=>{const r=sharedHeaders("DeleteDatabase");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DeleteDatabaseCommand");var Ae=__name((async(e,t)=>{const r=sharedHeaders("DeleteTable");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DeleteTableCommand");var ce=__name((async(e,t)=>{const r=sharedHeaders("DescribeBatchLoadTask");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DescribeBatchLoadTaskCommand");var le=__name((async(e,t)=>{const r=sharedHeaders("DescribeDatabase");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DescribeDatabaseCommand");var ue=__name((async(e,t)=>{const r=sharedHeaders("DescribeEndpoints");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DescribeEndpointsCommand");var de=__name((async(e,t)=>{const r=sharedHeaders("DescribeTable");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DescribeTableCommand");var ge=__name((async(e,t)=>{const r=sharedHeaders("ListBatchLoadTasks");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ListBatchLoadTasksCommand");var fe=__name((async(e,t)=>{const r=sharedHeaders("ListDatabases");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ListDatabasesCommand");var he=__name((async(e,t)=>{const r=sharedHeaders("ListTables");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ListTablesCommand");var pe=__name((async(e,t)=>{const r=sharedHeaders("ListTagsForResource");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ListTagsForResourceCommand");var Ee=__name((async(e,t)=>{const r=sharedHeaders("ResumeBatchLoadTask");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ResumeBatchLoadTaskCommand");var Ce=__name((async(e,t)=>{const r=sharedHeaders("TagResource");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_TagResourceCommand");var me=__name((async(e,t)=>{const r=sharedHeaders("UntagResource");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_UntagResourceCommand");var Ie=__name((async(e,t)=>{const r=sharedHeaders("UpdateDatabase");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_UpdateDatabaseCommand");var ye=__name((async(e,t)=>{const r=sharedHeaders("UpdateTable");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_UpdateTableCommand");var Qe=__name((async(e,t)=>{const r=sharedHeaders("WriteRecords");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_WriteRecordsCommand");var Be=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_CreateBatchLoadTaskCommand");var ve=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=rt(r,t);const o={$metadata:pt(e),...n};return o}),"de_CreateDatabaseCommand");var be=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=nt(r,t);const o={$metadata:pt(e),...n};return o}),"de_CreateTableCommand");var we=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}await(0,b.collectBody)(e.body,t);const r={$metadata:pt(e)};return r}),"de_DeleteDatabaseCommand");var Se=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}await(0,b.collectBody)(e.body,t);const r={$metadata:pt(e)};return r}),"de_DeleteTableCommand");var Re=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=it(r,t);const o={$metadata:pt(e),...n};return o}),"de_DescribeBatchLoadTaskCommand");var De=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=at(r,t);const o={$metadata:pt(e),...n};return o}),"de_DescribeDatabaseCommand");var ke=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_DescribeEndpointsCommand");var Ne=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=At(r,t);const o={$metadata:pt(e),...n};return o}),"de_DescribeTableCommand");var _e=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=ct(r,t);const o={$metadata:pt(e),...n};return o}),"de_ListBatchLoadTasksCommand");var Fe=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=lt(r,t);const o={$metadata:pt(e),...n};return o}),"de_ListDatabasesCommand");var Te=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=ut(r,t);const o={$metadata:pt(e),...n};return o}),"de_ListTablesCommand");var xe=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_ListTagsForResourceCommand");var Pe=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_ResumeBatchLoadTaskCommand");var Oe=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_TagResourceCommand");var Ue=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_UntagResourceCommand");var Me=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=ft(r,t);const o={$metadata:pt(e),...n};return o}),"de_UpdateDatabaseCommand");var Le=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=ht(r,t);const o={$metadata:pt(e),...n};return o}),"de_UpdateTableCommand");var He=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_WriteRecordsCommand");var je=__name((async(e,t)=>{const r={...e,body:await(0,Q.parseJsonErrorBody)(e.body,t)};const n=(0,Q.loadRestJsonErrorCode)(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.timestreamwrite#AccessDeniedException":throw await Ge(r,t);case"ConflictException":case"com.amazonaws.timestreamwrite#ConflictException":throw await Ve(r,t);case"InternalServerException":case"com.amazonaws.timestreamwrite#InternalServerException":throw await Ye(r,t);case"InvalidEndpointException":case"com.amazonaws.timestreamwrite#InvalidEndpointException":throw await Je(r,t);case"ResourceNotFoundException":case"com.amazonaws.timestreamwrite#ResourceNotFoundException":throw await $e(r,t);case"ServiceQuotaExceededException":case"com.amazonaws.timestreamwrite#ServiceQuotaExceededException":throw await We(r,t);case"ThrottlingException":case"com.amazonaws.timestreamwrite#ThrottlingException":throw await ze(r,t);case"ValidationException":case"com.amazonaws.timestreamwrite#ValidationException":throw await Ke(r,t);case"RejectedRecordsException":case"com.amazonaws.timestreamwrite#RejectedRecordsException":throw await qe(r,t);default:const o=r.body;return Et({output:e,parsedBody:o,errorCode:n})}}),"de_CommandError");var Ge=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new D({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_AccessDeniedExceptionRes");var Ve=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new U({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ConflictExceptionRes");var Ye=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new L({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_InternalServerExceptionRes");var Je=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new j({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_InvalidEndpointExceptionRes");var qe=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new re({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_RejectedRecordsExceptionRes");var $e=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new V({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ResourceNotFoundExceptionRes");var We=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new J({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ServiceQuotaExceededExceptionRes");var ze=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new $({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ThrottlingExceptionRes");var Ke=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new z({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ValidationExceptionRes");var Ze=__name(((e,t)=>(0,b.take)(e,{ClientToken:[true,e=>e??(0,v.v4)()],DataModelConfiguration:b._json,DataSourceConfiguration:b._json,RecordVersion:[],ReportConfiguration:b._json,TargetDatabaseName:[],TargetTableName:[]})),"se_CreateBatchLoadTaskRequest");var Xe=__name(((e,t)=>(0,b.take)(e,{CreationTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),DatabaseName:b.expectString,LastUpdatedTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),ResumableUntil:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),TableName:b.expectString,TaskId:b.expectString,TaskStatus:b.expectString})),"de_BatchLoadTask");var et=__name(((e,t)=>(0,b.take)(e,{CreationTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),DataModelConfiguration:b._json,DataSourceConfiguration:b._json,ErrorMessage:b.expectString,LastUpdatedTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),ProgressReport:b._json,RecordVersion:b.expectLong,ReportConfiguration:b._json,ResumableUntil:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),TargetDatabaseName:b.expectString,TargetTableName:b.expectString,TaskId:b.expectString,TaskStatus:b.expectString})),"de_BatchLoadTaskDescription");var tt=__name(((e,t)=>{const r=(e||[]).filter((e=>e!=null)).map((e=>Xe(e,t)));return r}),"de_BatchLoadTaskList");var rt=__name(((e,t)=>(0,b.take)(e,{Database:e=>ot(e,t)})),"de_CreateDatabaseResponse");var nt=__name(((e,t)=>(0,b.take)(e,{Table:e=>dt(e,t)})),"de_CreateTableResponse");var ot=__name(((e,t)=>(0,b.take)(e,{Arn:b.expectString,CreationTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),DatabaseName:b.expectString,KmsKeyId:b.expectString,LastUpdatedTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),TableCount:b.expectLong})),"de_Database");var st=__name(((e,t)=>{const r=(e||[]).filter((e=>e!=null)).map((e=>ot(e,t)));return r}),"de_DatabaseList");var it=__name(((e,t)=>(0,b.take)(e,{BatchLoadTaskDescription:e=>et(e,t)})),"de_DescribeBatchLoadTaskResponse");var at=__name(((e,t)=>(0,b.take)(e,{Database:e=>ot(e,t)})),"de_DescribeDatabaseResponse");var At=__name(((e,t)=>(0,b.take)(e,{Table:e=>dt(e,t)})),"de_DescribeTableResponse");var ct=__name(((e,t)=>(0,b.take)(e,{BatchLoadTasks:e=>tt(e,t),NextToken:b.expectString})),"de_ListBatchLoadTasksResponse");var lt=__name(((e,t)=>(0,b.take)(e,{Databases:e=>st(e,t),NextToken:b.expectString})),"de_ListDatabasesResponse");var ut=__name(((e,t)=>(0,b.take)(e,{NextToken:b.expectString,Tables:e=>gt(e,t)})),"de_ListTablesResponse");var dt=__name(((e,t)=>(0,b.take)(e,{Arn:b.expectString,CreationTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),DatabaseName:b.expectString,LastUpdatedTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),MagneticStoreWriteProperties:b._json,RetentionProperties:b._json,Schema:b._json,TableName:b.expectString,TableStatus:b.expectString})),"de_Table");var gt=__name(((e,t)=>{const r=(e||[]).filter((e=>e!=null)).map((e=>dt(e,t)));return r}),"de_TableList");var ft=__name(((e,t)=>(0,b.take)(e,{Database:e=>ot(e,t)})),"de_UpdateDatabaseResponse");var ht=__name(((e,t)=>(0,b.take)(e,{Table:e=>dt(e,t)})),"de_UpdateTableResponse");var pt=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var Et=(0,b.withBaseException)(S);var Ct=__name((async(e,t,r,n,o)=>{const{hostname:s,protocol:i="https",port:a,path:A}=await e.endpoint();const c={protocol:i,hostname:s,port:a,method:"POST",path:A.endsWith("/")?A.slice(0,-1)+r:A+r,headers:t};if(n!==void 0){c.hostname=n}if(o!==void 0){c.body=o}return new B.HttpRequest(c)}),"buildHttpRpcRequest");function sharedHeaders(e){return{"content-type":"application/x-amz-json-1.0","x-amz-target":`Timestream_20181101.${e}`}}__name(sharedHeaders,"sharedHeaders");var mt=class _DescribeEndpointsCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("Timestream_20181101","DescribeEndpoints",{}).n("TimestreamWriteClient","DescribeEndpointsCommand").f(void 0,void 0).ser(ue).de(ke).build()){};__name(mt,"DescribeEndpointsCommand");var It=mt;var yt=r(4023);var Qt=r(8156);var Bt=__name((e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider;let n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));if(r===-1){t.push(e)}else{t.splice(r,1,e)}},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider(){return r},setCredentials(e){n=e},credentials(){return n}}}),"getHttpAuthExtensionConfiguration");var vt=__name((e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()})),"resolveHttpAuthRuntimeConfig");var bt=__name((e=>e),"asPartial");var wt=__name(((e,t)=>{const r={...bt((0,Qt.getAwsRegionExtensionConfiguration)(e)),...bt((0,b.getDefaultExtensionConfiguration)(e)),...bt((0,B.getHttpHandlerExtensionConfiguration)(e)),...bt(Bt(e))};t.forEach((e=>e.configure(r)));return{...e,...(0,Qt.resolveAwsRegionExtensionConfiguration)(r),...(0,b.resolveDefaultRuntimeConfig)(r),...(0,B.resolveHttpHandlerRuntimeConfig)(r),...vt(r)}}),"resolveRuntimeExtensions");var St=class _TimestreamWriteClient extends b.Client{constructor(...[e]){const t=(0,yt.getRuntimeConfig)(e||{});const r=I(t);const n=(0,g.resolveRegionConfig)(r);const o=(0,C.resolveEndpointConfig)(n);const s=(0,p.resolveRetryConfig)(o);const i=(0,c.resolveHostHeaderConfig)(s);const a=(0,d.resolveUserAgentConfig)(i);const m=(0,E.resolveHttpAuthSchemeConfig)(a);const y=(0,A.resolveEndpointDiscoveryConfig)(m,{endpointDiscoveryCommandCtor:It});const Q=wt(y,(e==null?void 0:e.extensions)||[]);super(Q);this.config=Q;this.middlewareStack.use((0,p.getRetryPlugin)(this.config));this.middlewareStack.use((0,h.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,c.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,l.getLoggerPlugin)(this.config));this.middlewareStack.use((0,u.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,d.getUserAgentPlugin)(this.config));this.middlewareStack.use((0,f.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()}));this.middlewareStack.use((0,f.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return E.defaultTimestreamWriteHttpAuthSchemeParametersProvider}getIdentityProviderConfigProvider(){return async e=>new f.DefaultIdentityProviderConfig({"aws.auth#sigv4":e.credentials})}};__name(St,"TimestreamWriteClient");var Rt=St;var Dt=class _CreateBatchLoadTaskCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","CreateBatchLoadTask",{}).n("TimestreamWriteClient","CreateBatchLoadTaskCommand").f(ne,void 0).ser(oe).de(Be).build()){};__name(Dt,"CreateBatchLoadTaskCommand");var kt=Dt;var Nt=class _CreateDatabaseCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","CreateDatabase",{}).n("TimestreamWriteClient","CreateDatabaseCommand").f(void 0,void 0).ser(se).de(ve).build()){};__name(Nt,"CreateDatabaseCommand");var _t=Nt;var Ft=class _CreateTableCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","CreateTable",{}).n("TimestreamWriteClient","CreateTableCommand").f(void 0,void 0).ser(ie).de(be).build()){};__name(Ft,"CreateTableCommand");var Tt=Ft;var xt=class _DeleteDatabaseCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DeleteDatabase",{}).n("TimestreamWriteClient","DeleteDatabaseCommand").f(void 0,void 0).ser(ae).de(we).build()){};__name(xt,"DeleteDatabaseCommand");var Pt=xt;var Ot=class _DeleteTableCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DeleteTable",{}).n("TimestreamWriteClient","DeleteTableCommand").f(void 0,void 0).ser(Ae).de(Se).build()){};__name(Ot,"DeleteTableCommand");var Ut=Ot;var Mt=class _DescribeBatchLoadTaskCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DescribeBatchLoadTask",{}).n("TimestreamWriteClient","DescribeBatchLoadTaskCommand").f(void 0,void 0).ser(ce).de(Re).build()){};__name(Mt,"DescribeBatchLoadTaskCommand");var Lt=Mt;var Ht=class _DescribeDatabaseCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DescribeDatabase",{}).n("TimestreamWriteClient","DescribeDatabaseCommand").f(void 0,void 0).ser(le).de(De).build()){};__name(Ht,"DescribeDatabaseCommand");var jt=Ht;var Gt=class _DescribeTableCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DescribeTable",{}).n("TimestreamWriteClient","DescribeTableCommand").f(void 0,void 0).ser(de).de(Ne).build()){};__name(Gt,"DescribeTableCommand");var Vt=Gt;var Yt=class _ListBatchLoadTasksCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ListBatchLoadTasks",{}).n("TimestreamWriteClient","ListBatchLoadTasksCommand").f(void 0,void 0).ser(ge).de(_e).build()){};__name(Yt,"ListBatchLoadTasksCommand");var Jt=Yt;var qt=class _ListDatabasesCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ListDatabases",{}).n("TimestreamWriteClient","ListDatabasesCommand").f(void 0,void 0).ser(fe).de(Fe).build()){};__name(qt,"ListDatabasesCommand");var $t=qt;var Wt=class _ListTablesCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ListTables",{}).n("TimestreamWriteClient","ListTablesCommand").f(void 0,void 0).ser(he).de(Te).build()){};__name(Wt,"ListTablesCommand");var zt=Wt;var Kt=class _ListTagsForResourceCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ListTagsForResource",{}).n("TimestreamWriteClient","ListTagsForResourceCommand").f(void 0,void 0).ser(pe).de(xe).build()){};__name(Kt,"ListTagsForResourceCommand");var Zt=Kt;var Xt=class _ResumeBatchLoadTaskCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ResumeBatchLoadTask",{}).n("TimestreamWriteClient","ResumeBatchLoadTaskCommand").f(void 0,void 0).ser(Ee).de(Pe).build()){};__name(Xt,"ResumeBatchLoadTaskCommand");var er=Xt;var tr=class _TagResourceCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","TagResource",{}).n("TimestreamWriteClient","TagResourceCommand").f(void 0,void 0).ser(Ce).de(Oe).build()){};__name(tr,"TagResourceCommand");var rr=tr;var nr=class _UntagResourceCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","UntagResource",{}).n("TimestreamWriteClient","UntagResourceCommand").f(void 0,void 0).ser(me).de(Ue).build()){};__name(nr,"UntagResourceCommand");var sr=nr;var ir=class _UpdateDatabaseCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","UpdateDatabase",{}).n("TimestreamWriteClient","UpdateDatabaseCommand").f(void 0,void 0).ser(Ie).de(Me).build()){};__name(ir,"UpdateDatabaseCommand");var ar=ir;var Ar=class _UpdateTableCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","UpdateTable",{}).n("TimestreamWriteClient","UpdateTableCommand").f(void 0,void 0).ser(ye).de(Le).build()){};__name(Ar,"UpdateTableCommand");var cr=Ar;var lr=class _WriteRecordsCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","WriteRecords",{}).n("TimestreamWriteClient","WriteRecordsCommand").f(void 0,void 0).ser(Qe).de(He).build()){};__name(lr,"WriteRecordsCommand");var ur=lr;var dr={CreateBatchLoadTaskCommand:kt,CreateDatabaseCommand:_t,CreateTableCommand:Tt,DeleteDatabaseCommand:Pt,DeleteTableCommand:Ut,DescribeBatchLoadTaskCommand:Lt,DescribeDatabaseCommand:jt,DescribeEndpointsCommand:It,DescribeTableCommand:Vt,ListBatchLoadTasksCommand:Jt,ListDatabasesCommand:$t,ListTablesCommand:zt,ListTagsForResourceCommand:Zt,ResumeBatchLoadTaskCommand:er,TagResourceCommand:rr,UntagResourceCommand:sr,UpdateDatabaseCommand:ar,UpdateTableCommand:cr,WriteRecordsCommand:ur};var gr=class _TimestreamWrite extends Rt{};__name(gr,"TimestreamWrite");var fr=gr;(0,b.createAggregatedClient)(dr,fr);var hr=r(5829);var pr=(0,hr.createPaginator)(Rt,Jt,"NextToken","NextToken","MaxResults");var Er=r(5829);var Cr=(0,Er.createPaginator)(Rt,$t,"NextToken","NextToken","MaxResults");var mr=r(5829);var Ir=(0,mr.createPaginator)(Rt,zt,"NextToken","NextToken","MaxResults");0&&0},4023:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(4351);const o=n.__importDefault(r(2144));const s=r(9963);const i=r(5531);const a=r(6929);const A=r(8095);const c=r(3098);const l=r(3081);const u=r(6039);const d=r(3461);const g=r(258);const f=r(8075);const h=r(4902);const p=r(2865);const E=r(3570);const C=r(2429);const m=r(3570);const getRuntimeConfig=e=>{(0,m.emitWarningIfUnsupportedVersion)(process.version);const t=(0,C.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>t().then(E.loadConfigsForDefaultMode);const r=(0,p.getRuntimeConfig)(e);(0,s.emitWarningIfUnsupportedVersion)(process.version);return{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??f.calculateBodyLength,credentialDefaultProvider:e?.credentialDefaultProvider??i.defaultProvider,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,A.defaultUserAgent)({serviceId:r.serviceId,clientVersion:o.default.version}),endpointDiscoveryEnabledProvider:e?.endpointDiscoveryEnabledProvider??(0,d.loadConfig)(a.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS),maxAttempts:e?.maxAttempts??(0,d.loadConfig)(u.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:e?.region??(0,d.loadConfig)(c.NODE_REGION_CONFIG_OPTIONS,c.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:g.NodeHttpHandler.create(e?.requestHandler??defaultConfigProvider),retryMode:e?.retryMode??(0,d.loadConfig)({...u.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||h.DEFAULT_RETRY_MODE}),sha256:e?.sha256??l.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??g.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,d.loadConfig)(c.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:e?.useFipsEndpoint??(0,d.loadConfig)(c.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};t.getRuntimeConfig=getRuntimeConfig},2865:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(9963);const o=r(3570);const s=r(4681);const i=r(5600);const a=r(1895);const A=r(1949);const c=r(2245);const getRuntimeConfig=e=>({apiVersion:"2018-11-01",base64Decoder:e?.base64Decoder??i.fromBase64,base64Encoder:e?.base64Encoder??i.toBase64,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??c.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??A.defaultTimestreamWriteHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new n.AwsSdkSigV4Signer}],logger:e?.logger??new o.NoOpLogger,serviceId:e?.serviceId??"Timestream Write",urlParser:e?.urlParser??s.parseUrl,utf8Decoder:e?.utf8Decoder??a.fromUtf8,utf8Encoder:e?.utf8Encoder??a.toUtf8});t.getRuntimeConfig=getRuntimeConfig},3265:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return A.default}});var n=_interopRequireDefault(r(2976));var o=_interopRequireDefault(r(1391));var s=_interopRequireDefault(r(1633));var i=_interopRequireDefault(r(9198));var a=_interopRequireDefault(r(979));var A=_interopRequireDefault(r(4873));var c=_interopRequireDefault(r(6118));var l=_interopRequireDefault(r(1646));var u=_interopRequireDefault(r(3092));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},7771:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("md5").update(e).digest()}var o=md5;t["default"]=o},7991:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o={randomUUID:n.default.randomUUID};t["default"]=o},979:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r="00000000-0000-0000-0000-000000000000";t["default"]=r},3092:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6118));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}let t;const r=new Uint8Array(16);r[0]=(t=parseInt(e.slice(0,8),16))>>>24;r[1]=t>>>16&255;r[2]=t>>>8&255;r[3]=t&255;r[4]=(t=parseInt(e.slice(9,13),16))>>>8;r[5]=t&255;r[6]=(t=parseInt(e.slice(14,18),16))>>>8;r[7]=t&255;r[8]=(t=parseInt(e.slice(19,23),16))>>>8;r[9]=t&255;r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;r[11]=t/4294967296&255;r[12]=t>>>24&255;r[13]=t>>>16&255;r[14]=t>>>8&255;r[15]=t&255;return r}var o=parse;t["default"]=o},5033:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=r},3564:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=new Uint8Array(256);let s=o.length;function rng(){if(s>o.length-16){n.default.randomFillSync(o);s=0}return o.slice(s,s+=16)}},3974:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("sha1").update(e).digest()}var o=sha1;t["default"]=o},1646:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.unsafeStringify=unsafeStringify;var n=_interopRequireDefault(r(6118));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=[];for(let e=0;e<256;++e){o.push((e+256).toString(16).slice(1))}function unsafeStringify(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}function stringify(e,t=0){const r=unsafeStringify(e,t);if(!(0,n.default)(r)){throw TypeError("Stringified UUID is invalid")}return r}var s=stringify;t["default"]=s},2976:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(3564));var o=r(1646);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let s;let i;let a=0;let A=0;function v1(e,t,r){let c=t&&r||0;const l=t||new Array(16);e=e||{};let u=e.node||s;let d=e.clockseq!==undefined?e.clockseq:i;if(u==null||d==null){const t=e.random||(e.rng||n.default)();if(u==null){u=s=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(d==null){d=i=(t[6]<<8|t[7])&16383}}let g=e.msecs!==undefined?e.msecs:Date.now();let f=e.nsecs!==undefined?e.nsecs:A+1;const h=g-a+(f-A)/1e4;if(h<0&&e.clockseq===undefined){d=d+1&16383}if((h<0||g>a)&&e.nsecs===undefined){f=0}if(f>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}a=g;A=f;i=d;g+=122192928e5;const p=((g&268435455)*1e4+f)%4294967296;l[c++]=p>>>24&255;l[c++]=p>>>16&255;l[c++]=p>>>8&255;l[c++]=p&255;const E=g/4294967296*1e4&268435455;l[c++]=E>>>8&255;l[c++]=E&255;l[c++]=E>>>24&15|16;l[c++]=E>>>16&255;l[c++]=d>>>8|128;l[c++]=d&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,o.unsafeStringify)(l)}var c=v1;t["default"]=c},1391:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(2574));var o=_interopRequireDefault(r(7771));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v3",48,o.default);var i=s;t["default"]=i},2574:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.URL=t.DNS=void 0;t["default"]=v35;var n=r(1646);var o=_interopRequireDefault(r(3092));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(7991));var o=_interopRequireDefault(r(3564));var s=r(1646);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,r){if(n.default.randomUUID&&!t&&!e){return n.default.randomUUID()}e=e||{};const i=e.random||(e.rng||o.default)();i[6]=i[6]&15|64;i[8]=i[8]&63|128;if(t){r=r||0;for(let e=0;e<16;++e){t[r+e]=i[e]}return t}return(0,s.unsafeStringify)(i)}var i=v4;t["default"]=i},9198:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(2574));var o=_interopRequireDefault(r(3974));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v5",80,o.default);var i=s;t["default"]=i},6118:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(5033));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&n.default.test(e)}var o=validate;t["default"]=o},4873:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6118));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.slice(14,15),16)}var o=version;t["default"]=o},9963:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(4351);n.__exportStar(r(2825),t);n.__exportStar(r(7862),t);n.__exportStar(r(785),t)},2825:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{emitWarningIfUnsupportedVersion:()=>a});e.exports=__toCommonJS(s);var i=false;var a=__name((e=>{if(e&&!i&&parseInt(e.substring(1,e.indexOf(".")))<16){i=true}}),"emitWarningIfUnsupportedVersion");0&&0},7862:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AWSSDKSigV4Signer:()=>C,AwsSdkSigV4Signer:()=>E,resolveAWSSDKSigV4Config:()=>Q,resolveAwsSdkSigV4Config:()=>y});e.exports=__toCommonJS(a);var A=r(4418);var c=r(4418);var l=__name((e=>{var t,r;return c.HttpResponse.isInstance(e)?((t=e.headers)==null?void 0:t.date)??((r=e.headers)==null?void 0:r.Date):void 0}),"getDateHeader");var u=__name((e=>new Date(Date.now()+e)),"getSkewCorrectedDate");var d=__name(((e,t)=>Math.abs(u(t).getTime()-e)>=3e5),"isClockSkewed");var g=__name(((e,t)=>{const r=Date.parse(e);if(d(r,t)){return r-Date.now()}return t}),"getUpdatedSystemClockOffset");var f=__name(((e,t)=>{if(!t){throw new Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`)}return t}),"throwSigningPropertyError");var h=__name((async e=>{var t,r,n;const o=f("context",e.context);const s=f("config",e.config);const i=(n=(r=(t=o.endpointV2)==null?void 0:t.properties)==null?void 0:r.authSchemes)==null?void 0:n[0];const a=f("signer",s.signer);const A=await a(i);const c=e==null?void 0:e.signingRegion;const l=e==null?void 0:e.signingName;return{config:s,signer:A,signingRegion:c,signingName:l}}),"validateSigningProperties");var p=class _AwsSdkSigV4Signer{async sign(e,t,r){if(!A.HttpRequest.isInstance(e)){throw new Error("The request is not an instance of `HttpRequest` and cannot be signed")}const{config:n,signer:o,signingRegion:s,signingName:i}=await h(r);const a=await o.sign(e,{signingDate:u(n.systemClockOffset),signingRegion:s,signingService:i});return a}errorHandler(e){return t=>{const r=t.ServerTime??l(t.$response);if(r){const n=f("config",e.config);const o=n.systemClockOffset;n.systemClockOffset=g(r,n.systemClockOffset);const s=n.systemClockOffset!==o;if(s&&t.$metadata){t.$metadata.clockSkewCorrected=true}}throw t}}successHandler(e,t){const r=l(e);if(r){const e=f("config",t.config);e.systemClockOffset=g(r,e.systemClockOffset)}}};__name(p,"AwsSdkSigV4Signer");var E=p;var C=E;var m=r(5829);var I=r(1528);var y=__name((e=>{let t;if(e.credentials){t=(0,m.memoizeIdentityProvider)(e.credentials,m.isIdentityExpired,m.doesIdentityRequireRefresh)}if(!t){if(e.credentialDefaultProvider){t=(0,m.normalizeProvider)(e.credentialDefaultProvider(Object.assign({},e,{parentClientConfig:e})))}else{t=__name((async()=>{throw new Error("`credentials` is missing")}),"normalizedCreds")}}const{signingEscapePath:r=true,systemClockOffset:n=e.systemClockOffset||0,sha256:o}=e;let s;if(e.signer){s=(0,m.normalizeProvider)(e.signer)}else if(e.regionInfoProvider){s=__name((()=>(0,m.normalizeProvider)(e.region)().then((async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t])).then((([n,s])=>{const{signingRegion:i,signingService:a}=n;e.signingRegion=e.signingRegion||i||s;e.signingName=e.signingName||a||e.serviceId;const A={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:r};const c=e.signerConstructor||I.SignatureV4;return new c(A)}))),"signer")}else{s=__name((async n=>{n=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await(0,m.normalizeProvider)(e.region)(),properties:{}},n);const s=n.signingRegion;const i=n.signingName;e.signingRegion=e.signingRegion||s;e.signingName=e.signingName||i||e.serviceId;const a={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:r};const A=e.signerConstructor||I.SignatureV4;return new A(a)}),"signer")}return{...e,systemClockOffset:n,signingEscapePath:r,credentials:t,signer:s}}),"resolveAwsSdkSigV4Config");var Q=y;0&&0},785:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{_toBool:()=>c,_toNum:()=>l,_toStr:()=>A,awsExpectUnion:()=>d,loadRestJsonErrorCode:()=>E,loadRestXmlErrorCode:()=>Q,parseJsonBody:()=>h,parseJsonErrorBody:()=>p,parseXmlBody:()=>I,parseXmlErrorBody:()=>y});e.exports=__toCommonJS(a);var A=__name((e=>{if(e==null){return e}if(typeof e==="number"||typeof e==="bigint"){const t=new Error(`Received number ${e} where a string was expected.`);t.name="Warning";console.warn(t);return String(e)}if(typeof e==="boolean"){const t=new Error(`Received boolean ${e} where a string was expected.`);t.name="Warning";console.warn(t);return String(e)}return e}),"_toStr");var c=__name((e=>{if(e==null){return e}if(typeof e==="number"){}if(typeof e==="string"){const t=e.toLowerCase();if(e!==""&&t!=="false"&&t!=="true"){const t=new Error(`Received string "${e}" where a boolean was expected.`);t.name="Warning";console.warn(t)}return e!==""&&t!=="false"}return e}),"_toBool");var l=__name((e=>{if(e==null){return e}if(typeof e==="boolean"){}if(typeof e==="string"){const t=Number(e);if(t.toString()!==e){const t=new Error(`Received string "${e}" where a number was expected.`);t.name="Warning";console.warn(t);return e}return t}return e}),"_toNum");var u=r(3570);var d=__name((e=>{if(e==null){return void 0}if(typeof e==="object"&&"__type"in e){delete e.__type}return(0,u.expectUnion)(e)}),"awsExpectUnion");var g=r(3570);var f=__name(((e,t)=>(0,g.collectBody)(e,t).then((e=>t.utf8Encoder(e)))),"collectBodyString");var h=__name(((e,t)=>f(e,t).then((e=>{if(e.length){try{return JSON.parse(e)}catch(t){if((t==null?void 0:t.name)==="SyntaxError"){Object.defineProperty(t,"$responseBodyText",{value:e})}throw t}}return{}}))),"parseJsonBody");var p=__name((async(e,t)=>{const r=await h(e,t);r.message=r.message??r.Message;return r}),"parseJsonErrorBody");var E=__name(((e,t)=>{const r=__name(((e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase()))),"findKey");const n=__name((e=>{let t=e;if(typeof t==="number"){t=t.toString()}if(t.indexOf(",")>=0){t=t.split(",")[0]}if(t.indexOf(":")>=0){t=t.split(":")[0]}if(t.indexOf("#")>=0){t=t.split("#")[1]}return t}),"sanitizeErrorCode");const o=r(e.headers,"x-amzn-errortype");if(o!==void 0){return n(e.headers[o])}if(t.code!==void 0){return n(t.code)}if(t["__type"]!==void 0){return n(t["__type"])}}),"loadRestJsonErrorCode");var C=r(3570);var m=r(2603);var I=__name(((e,t)=>f(e,t).then((e=>{if(e.length){const t=new m.XMLParser({attributeNamePrefix:"",htmlEntities:true,ignoreAttributes:false,ignoreDeclaration:true,parseTagValue:false,trimValues:false,tagValueProcessor:(e,t)=>t.trim()===""&&t.includes("\n")?"":void 0});t.addEntity("#xD","\r");t.addEntity("#10","\n");let r;try{r=t.parse(e,true)}catch(t){if(t&&typeof t==="object"){Object.defineProperty(t,"$responseBodyText",{value:e})}throw t}const n="#text";const o=Object.keys(r)[0];const s=r[o];if(s[n]){s[o]=s[n];delete s[n]}return(0,C.getValueFromTextNode)(s)}return{}}))),"parseXmlBody");var y=__name((async(e,t)=>{const r=await I(e,t);if(r.Error){r.Error.message=r.Error.message??r.Error.Message}return r}),"parseXmlErrorBody");var Q=__name(((e,t)=>{var r;if(((r=t==null?void 0:t.Error)==null?void 0:r.Code)!==void 0){return t.Error.Code}if((t==null?void 0:t.Code)!==void 0){return t.Code}if(e.statusCode==404){return"NotFound"}}),"loadRestXmlErrorCode");0&&0},5972:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{ENV_CREDENTIAL_SCOPE:()=>g,ENV_EXPIRATION:()=>d,ENV_KEY:()=>c,ENV_SECRET:()=>l,ENV_SESSION:()=>u,fromEnv:()=>f});e.exports=__toCommonJS(a);var A=r(9721);var c="AWS_ACCESS_KEY_ID";var l="AWS_SECRET_ACCESS_KEY";var u="AWS_SESSION_TOKEN";var d="AWS_CREDENTIAL_EXPIRATION";var g="AWS_CREDENTIAL_SCOPE";var f=__name((e=>async()=>{var t;(t=e==null?void 0:e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-env - fromEnv");const r=process.env[c];const n=process.env[l];const o=process.env[u];const s=process.env[d];const i=process.env[g];if(r&&n){return{accessKeyId:r,secretAccessKey:n,...o&&{sessionToken:o},...s&&{expiration:new Date(s)},...i&&{credentialScope:i}}}throw new A.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e==null?void 0:e.logger})}),"fromEnv");0&&0},3757:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkUrl=void 0;const n=r(9721);const o="127.0.0.0/8";const s="::1/128";const i="169.254.170.2";const a="169.254.170.23";const A="[fd00:ec2::23]";const checkUrl=(e,t)=>{if(e.protocol==="https:"){return}if(e.hostname===i||e.hostname===a||e.hostname===A){return}if(e.hostname.includes("[")){if(e.hostname==="[::1]"||e.hostname==="[0000:0000:0000:0000:0000:0000:0000:0001]"){return}}else{if(e.hostname==="localhost"){return}const t=e.hostname.split(".");const inRange=e=>{const t=parseInt(e,10);return 0<=t&&t<=255};if(t[0]==="127"&&inRange(t[1])&&inRange(t[2])&&inRange(t[3])&&t.length===4){return}}throw new n.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`,{logger:t})};t.checkUrl=checkUrl},6070:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.fromHttp=void 0;const n=r(4351);const o=r(258);const s=r(9721);const i=n.__importDefault(r(3292));const a=r(3757);const A=r(9287);const c=r(9921);const l="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";const u="http://169.254.170.2";const d="AWS_CONTAINER_CREDENTIALS_FULL_URI";const g="AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE";const f="AWS_CONTAINER_AUTHORIZATION_TOKEN";const fromHttp=(e={})=>{e.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");let t;const r=e.awsContainerCredentialsRelativeUri??process.env[l];const n=e.awsContainerCredentialsFullUri??process.env[d];const h=e.awsContainerAuthorizationToken??process.env[f];const p=e.awsContainerAuthorizationTokenFile??process.env[g];const E=e.logger?.constructor?.name==="NoOpLogger"||!e.logger?console.warn:e.logger.warn;if(r&&n){E("@aws-sdk/credential-provider-http: "+"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.");E("awsContainerCredentialsFullUri will take precedence.")}if(h&&p){E("@aws-sdk/credential-provider-http: "+"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.");E("awsContainerAuthorizationToken will take precedence.")}if(n){t=n}else if(r){t=`${u}${r}`}else{throw new s.CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`,{logger:e.logger})}const C=new URL(t);(0,a.checkUrl)(C,e.logger);const m=new o.NodeHttpHandler({requestTimeout:e.timeout??1e3,connectionTimeout:e.timeout??1e3});return(0,c.retryWrapper)((async()=>{const t=(0,A.createGetRequest)(C);if(h){t.headers.Authorization=h}else if(p){t.headers.Authorization=(await i.default.readFile(p)).toString()}try{const e=await m.handle(t);return(0,A.getCredentials)(e.response)}catch(t){throw new s.CredentialsProviderError(String(t),{logger:e.logger})}}),e.maxRetries??3,e.timeout??1e3)};t.fromHttp=fromHttp},9287:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getCredentials=t.createGetRequest=void 0;const n=r(9721);const o=r(4418);const s=r(3570);const i=r(6607);function createGetRequest(e){return new o.HttpRequest({protocol:e.protocol,hostname:e.hostname,port:Number(e.port),path:e.pathname,query:Array.from(e.searchParams.entries()).reduce(((e,[t,r])=>{e[t]=r;return e}),{}),fragment:e.hash})}t.createGetRequest=createGetRequest;async function getCredentials(e,t){const r=(0,i.sdkStreamMixin)(e.body);const o=await r.transformToString();if(e.statusCode===200){const e=JSON.parse(o);if(typeof e.AccessKeyId!=="string"||typeof e.SecretAccessKey!=="string"||typeof e.Token!=="string"||typeof e.Expiration!=="string"){throw new n.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: "+"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }",{logger:t})}return{accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:(0,s.parseRfc3339DateTime)(e.Expiration)}}if(e.statusCode>=400&&e.statusCode<500){let r={};try{r=JSON.parse(o)}catch(e){}throw Object.assign(new n.CredentialsProviderError(`Server responded with status: ${e.statusCode}`,{logger:t}),{Code:r.Code,Message:r.Message})}throw new n.CredentialsProviderError(`Server responded with status: ${e.statusCode}`,{logger:t})}t.getCredentials=getCredentials},9921:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.retryWrapper=void 0;const retryWrapper=(e,t,r)=>async()=>{for(let n=0;nsetTimeout(e,r)))}}return await e()};t.retryWrapper=retryWrapper},7290:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.fromHttp=void 0;var n=r(6070);Object.defineProperty(t,"fromHttp",{enumerable:true,get:function(){return n.fromHttp}})},4203:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{fromIni:()=>w});e.exports=__toCommonJS(c);var l=r(3507);var u=r(9721);var d=__name(((e,t,n)=>{const o={EcsContainer:async e=>{const{fromHttp:t}=await Promise.resolve().then((()=>__toESM(r(7290))));const{fromContainerMetadata:o}=await Promise.resolve().then((()=>__toESM(r(7477))));n==null?void 0:n.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");return(0,u.chain)(t(e??{}),o(e))},Ec2InstanceMetadata:async e=>{n==null?void 0:n.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");const{fromInstanceMetadata:t}=await Promise.resolve().then((()=>__toESM(r(7477))));return t(e)},Environment:async e=>{n==null?void 0:n.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");const{fromEnv:t}=await Promise.resolve().then((()=>__toESM(r(5972))));return t(e)}};if(e in o){return o[e]}else{throw new u.CredentialsProviderError(`Unsupported credential source in profile ${t}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:n})}}),"resolveCredentialSource");var g=__name(((e,{profile:t="default",logger:r}={})=>Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(f(e,{profile:t,logger:r})||h(e,{profile:t,logger:r}))),"isAssumeRoleProfile");var f=__name(((e,{profile:t,logger:r})=>{var n;const o=typeof e.source_profile==="string"&&typeof e.credential_source==="undefined";if(o){(n=r==null?void 0:r.debug)==null?void 0:n.call(r,` ${t} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`)}return o}),"isAssumeRoleWithSourceProfile");var h=__name(((e,{profile:t,logger:r})=>{var n;const o=typeof e.credential_source==="string"&&typeof e.source_profile==="undefined";if(o){(n=r==null?void 0:r.debug)==null?void 0:n.call(r,` ${t} isCredentialSourceProfile credential_source=${e.credential_source}`)}return o}),"isCredentialSourceProfile");var p=__name((async(e,t,n,o={})=>{var s,i;(s=n.logger)==null?void 0:s.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");const a=t[e];if(!n.roleAssumer){const{getDefaultRoleAssumer:e}=await Promise.resolve().then((()=>__toESM(r(2209))));n.roleAssumer=e({...n.clientConfig,credentialProviderLogger:n.logger,parentClientConfig:n==null?void 0:n.parentClientConfig},n.clientPlugins)}const{source_profile:A}=a;if(A&&A in o){throw new u.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${(0,l.getProfileName)(n)}. Profiles visited: `+Object.keys(o).join(", "),{logger:n.logger})}(i=n.logger)==null?void 0:i.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${A?`source_profile=[${A}]`:`profile=[${e}]`}`);const c=A?b(A,{...t,[A]:{...t[A],role_arn:a.role_arn??t[A].role_arn}},n,{...o,[A]:true}):(await d(a.credential_source,e,n.logger)(n))();const g={RoleArn:a.role_arn,RoleSessionName:a.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:a.external_id,DurationSeconds:parseInt(a.duration_seconds||"3600",10)};const{mfa_serial:f}=a;if(f){if(!n.mfaCodeProvider){throw new u.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:n.logger,tryNextLink:false})}g.SerialNumber=f;g.TokenCode=await n.mfaCodeProvider(f)}const h=await c;return n.roleAssumer(h,g)}),"resolveAssumeRoleCredentials");var E=__name((e=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string"),"isProcessProfile");var C=__name((async(e,t)=>Promise.resolve().then((()=>__toESM(r(9969)))).then((({fromProcess:r})=>r({...e,profile:t})()))),"resolveProcessCredentials");var m=__name((async(e,t={})=>{const{fromSSO:n}=await Promise.resolve().then((()=>__toESM(r(6414))));return n({profile:e,logger:t.logger})()}),"resolveSsoCredentials");var I=__name((e=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string")),"isSsoProfile");var y=__name((e=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1),"isStaticCredsProfile");var Q=__name(((e,t)=>{var r;(r=t==null?void 0:t.logger)==null?void 0:r.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");return Promise.resolve({accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,credentialScope:e.aws_credential_scope})}),"resolveStaticCredentials");var B=__name((e=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1),"isWebIdentityProfile");var v=__name((async(e,t)=>Promise.resolve().then((()=>__toESM(r(5646)))).then((({fromTokenFile:r})=>r({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:t.roleAssumerWithWebIdentity,logger:t.logger,parentClientConfig:t.parentClientConfig})()))),"resolveWebIdentityCredentials");var b=__name((async(e,t,r,n={})=>{const o=t[e];if(Object.keys(n).length>0&&y(o)){return Q(o,r)}if(g(o,{profile:e,logger:r.logger})){return p(e,t,r,n)}if(y(o)){return Q(o,r)}if(B(o)){return v(o,r)}if(E(o)){return C(r,e)}if(I(o)){return await m(e,r)}throw new u.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:r.logger})}),"resolveProfileData");var w=__name(((e={})=>async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-ini - fromIni");const r=await(0,l.parseKnownFiles)(e);return b((0,l.getProfileName)(e),r,e)}),"fromIni");0&&0},5531:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{credentialsTreatedAsExpired:()=>E,credentialsWillNeedRefresh:()=>p,defaultProvider:()=>h});e.exports=__toCommonJS(c);var l=r(5972);var u=r(3507);var d=r(9721);var g="AWS_EC2_METADATA_DISABLED";var f=__name((async e=>{var t,n;const{ENV_CMDS_FULL_URI:o,ENV_CMDS_RELATIVE_URI:s,fromContainerMetadata:i,fromInstanceMetadata:a}=await Promise.resolve().then((()=>__toESM(r(7477))));if(process.env[s]||process.env[o]){(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:n}=await Promise.resolve().then((()=>__toESM(r(7290))));return(0,d.chain)(n(e),i(e))}if(process.env[g]){return async()=>{throw new d.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:e.logger})}}(n=e.logger)==null?void 0:n.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");return a(e)}),"remoteProvider");var h=__name(((e={})=>(0,d.memoize)((0,d.chain)(...e.profile||process.env[u.ENV_PROFILE]?[]:[async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");return(0,l.fromEnv)(e)()}],(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:n,ssoAccountId:o,ssoRegion:s,ssoRoleName:i,ssoSession:a}=e;if(!n&&!o&&!s&&!i&&!a){throw new d.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:e.logger})}const{fromSSO:A}=await Promise.resolve().then((()=>__toESM(r(6414))));return A(e)()}),(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:n}=await Promise.resolve().then((()=>__toESM(r(4203))));return n(e)()}),(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:n}=await Promise.resolve().then((()=>__toESM(r(9969))));return n(e)()}),(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:n}=await Promise.resolve().then((()=>__toESM(r(5646))));return n(e)()}),(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");return(await f(e))()}),(async()=>{throw new d.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:false,logger:e.logger})})),E,p)),"defaultProvider");var p=__name((e=>(e==null?void 0:e.expiration)!==void 0),"credentialsWillNeedRefresh");var E=__name((e=>(e==null?void 0:e.expiration)!==void 0&&e.expiration.getTime()-Date.now()<3e5),"credentialsTreatedAsExpired");0&&0},9969:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{fromProcess:()=>f});e.exports=__toCommonJS(a);var A=r(3507);var c=r(9721);var l=r(2081);var u=r(3837);var d=__name(((e,t)=>{if(t.Version!==1){throw Error(`Profile ${e} credential_process did not return Version 1.`)}if(t.AccessKeyId===void 0||t.SecretAccessKey===void 0){throw Error(`Profile ${e} credential_process returned invalid credentials.`)}if(t.Expiration){const r=new Date;const n=new Date(t.Expiration);if(n{const n=t[e];if(t[e]){const t=n["credential_process"];if(t!==void 0){const n=(0,u.promisify)(l.exec);try{const{stdout:r}=await n(t);let o;try{o=JSON.parse(r.trim())}catch{throw Error(`Profile ${e} credential_process returned invalid JSON.`)}return d(e,o)}catch(e){throw new c.CredentialsProviderError(e.message,{logger:r})}}else{throw new c.CredentialsProviderError(`Profile ${e} did not contain credential_process.`,{logger:r})}}else{throw new c.CredentialsProviderError(`Profile ${e} could not be found in shared credentials file.`,{logger:r})}}),"resolveProcessCredentials");var f=__name(((e={})=>async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-process - fromProcess");const r=await(0,A.parseKnownFiles)(e);return g((0,A.getProfileName)(e),r,e.logger)}),"fromProcess");0&&0},6414:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __esm=(e,t)=>function __init(){return e&&(t=(0,e[s(e)[0]])(e=0)),t};var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{GetRoleCredentialsCommand:()=>A.GetRoleCredentialsCommand,SSOClient:()=>A.SSOClient});var A;var c=__esm({"src/loadSso.ts"(){"use strict";A=r(2666)}});var l={};__export(l,{fromSSO:()=>C,isSsoProfile:()=>u,validateSsoProfile:()=>E});e.exports=__toCommonJS(l);var u=__name((e=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string")),"isSsoProfile");var d=r(2843);var g=r(9721);var f=r(3507);var h=false;var p=__name((async({ssoStartUrl:e,ssoSession:t,ssoAccountId:r,ssoRegion:n,ssoRoleName:o,ssoClient:s,clientConfig:i,profile:A,logger:l})=>{let u;const p=`To refresh this SSO session run aws sso login with the corresponding profile.`;if(t){try{const e=await(0,d.fromSso)({profile:A})();u={accessToken:e.token,expiresAt:new Date(e.expiration).toISOString()}}catch(e){throw new g.CredentialsProviderError(e.message,{tryNextLink:h,logger:l})}}else{try{u=await(0,f.getSSOTokenFromFile)(e)}catch(e){throw new g.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${p}`,{tryNextLink:h,logger:l})}}if(new Date(u.expiresAt).getTime()-Date.now()<=0){throw new g.CredentialsProviderError(`The SSO session associated with this profile has expired. ${p}`,{tryNextLink:h,logger:l})}const{accessToken:E}=u;const{SSOClient:C,GetRoleCredentialsCommand:m}=await Promise.resolve().then((()=>(c(),a)));const I=s||new C(Object.assign({},i??{},{region:(i==null?void 0:i.region)??n}));let y;try{y=await I.send(new m({accountId:r,roleName:o,accessToken:E}))}catch(e){throw new g.CredentialsProviderError(e,{tryNextLink:h,logger:l})}const{roleCredentials:{accessKeyId:Q,secretAccessKey:B,sessionToken:v,expiration:b,credentialScope:w}={}}=y;if(!Q||!B||!v||!b){throw new g.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:h,logger:l})}return{accessKeyId:Q,secretAccessKey:B,sessionToken:v,expiration:new Date(b),credentialScope:w}}),"resolveSSOCredentials");var E=__name(((e,t)=>{const{sso_start_url:r,sso_account_id:n,sso_region:o,sso_role_name:s}=e;if(!r||!n||!o||!s){throw new g.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:false,logger:t})}return e}),"validateSsoProfile");var C=__name(((e={})=>async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-sso - fromSSO");const{ssoStartUrl:r,ssoAccountId:n,ssoRegion:o,ssoRoleName:s,ssoSession:i}=e;const{ssoClient:a}=e;const A=(0,f.getProfileName)(e);if(!r&&!n&&!o&&!s&&!i){const t=await(0,f.parseKnownFiles)(e);const n=t[A];if(!n){throw new g.CredentialsProviderError(`Profile ${A} was not found.`,{logger:e.logger})}if(!u(n)){throw new g.CredentialsProviderError(`Profile ${A} is not configured with SSO credentials.`,{logger:e.logger})}if(n==null?void 0:n.sso_session){const t=await(0,f.loadSsoSessionData)(e);const s=t[n.sso_session];const i=` configurations in profile ${A} and sso-session ${n.sso_session}`;if(o&&o!==s.sso_region){throw new g.CredentialsProviderError(`Conflicting SSO region`+i,{tryNextLink:false,logger:e.logger})}if(r&&r!==s.sso_start_url){throw new g.CredentialsProviderError(`Conflicting SSO start_url`+i,{tryNextLink:false,logger:e.logger})}n.sso_region=s.sso_region;n.sso_start_url=s.sso_start_url}const{sso_start_url:s,sso_account_id:i,sso_region:c,sso_role_name:l,sso_session:d}=E(n,e.logger);return p({ssoStartUrl:s,ssoSession:d,ssoAccountId:i,ssoRegion:c,ssoRoleName:l,ssoClient:a,clientConfig:e.clientConfig,profile:A})}else if(!r||!n||!o||!s){throw new g.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:false,logger:e.logger})}else{return p({ssoStartUrl:r,ssoSession:i,ssoAccountId:n,ssoRegion:o,ssoRoleName:s,ssoClient:a,clientConfig:e.clientConfig,profile:A})}}),"fromSSO");0&&0},5614:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.fromTokenFile=void 0;const n=r(9721);const o=r(7147);const s=r(7905);const i="AWS_WEB_IDENTITY_TOKEN_FILE";const a="AWS_ROLE_ARN";const A="AWS_ROLE_SESSION_NAME";const fromTokenFile=(e={})=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");const t=e?.webIdentityTokenFile??process.env[i];const r=e?.roleArn??process.env[a];const c=e?.roleSessionName??process.env[A];if(!t||!r){throw new n.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger})}return(0,s.fromWebToken)({...e,webIdentityToken:(0,o.readFileSync)(t,{encoding:"ascii"}),roleArn:r,roleSessionName:c})()};t.fromTokenFile=fromTokenFile},7905:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,o)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.fromWebToken=void 0;const fromWebToken=e=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");const{roleArn:t,roleSessionName:n,webIdentityToken:o,providerId:i,policyArns:a,policy:A,durationSeconds:c}=e;let{roleAssumerWithWebIdentity:l}=e;if(!l){const{getDefaultRoleAssumerWithWebIdentity:t}=await Promise.resolve().then((()=>s(r(2209))));l=t({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:e.parentClientConfig},e.clientPlugins)}return l({RoleArn:t,RoleSessionName:n??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:o,ProviderId:i,PolicyArns:a,Policy:A,DurationSeconds:c})};t.fromWebToken=fromWebToken},5646:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};e.exports=__toCommonJS(a);__reExport(a,r(5614),e.exports);__reExport(a,r(7905),e.exports);0&&0},9393:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{EndpointCache:()=>d});e.exports=__toCommonJS(c);var l=__toESM(r(4934));var u=class _EndpointCache{constructor(e){this.cache=new l.default(e)}getEndpoint(e){const t=this.get(e);if(!t||t.length===0){return void 0}const r=t.map((e=>e.Address));return r[Math.floor(Math.random()*r.length)]}get(e){if(!this.has(e)){return}const t=this.cache.get(e);if(!t){return}const r=Date.now();const n=t.filter((e=>r({Address:e,Expires:r+t*60*1e3}))))}delete(e){this.cache.set(e,[])}has(e){if(!this.cache.has(e)){return false}const t=this.cache.peek(e);if(!t){return false}return t.length>0}clear(){this.cache.clear()}};__name(u,"EndpointCache");var d=u;0&&0},6929:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS:()=>u,endpointDiscoveryMiddlewareOptions:()=>E,getEndpointDiscoveryOptionalPlugin:()=>I,getEndpointDiscoveryPlugin:()=>C,getEndpointDiscoveryRequiredPlugin:()=>m,resolveEndpointDiscoveryConfig:()=>Q});e.exports=__toCommonJS(a);var A=["AWS_ENABLE_ENDPOINT_DISCOVERY","AWS_ENDPOINT_DISCOVERY_ENABLED"];var c="endpoint_discovery_enabled";var l=__name((e=>["false","0"].indexOf(e)>=0),"isFalsy");var u={environmentVariableSelector:e=>{for(let t=0;t{if(c in e){const t=e[c];if(t===void 0){throw Error(`Shared config entry ${c} can't be undefined, got "${t}"`)}return!l(t)}},default:void 0};var d=r(4418);var g=__name((async(e,t,r)=>{const{accessKeyId:n}=await t.credentials();const{identifiers:o}=r;return JSON.stringify({...n&&{accessKeyId:n},...o&&{commandName:e,identifiers:Object.entries(o).sort().reduce(((e,[t,r])=>({...e,[t]:r})),{})}})}),"getCacheKey");var f={};var h=__name((async(e,t)=>new Promise(((r,n)=>{const{endpointCache:o}=e;const{cacheKey:s,commandName:i,identifiers:a}=t;const A=o.get(s);if(A&&A.length===1&&A[0].Address===""){if(t.isDiscoveredEndpointRequired){if(!f[s])f[s]=[];f[s].push({resolve:r,reject:n})}else{r()}}else if(A&&A.length>0){r()}else{const A=[{Address:"",CachePeriodInMinutes:1}];o.set(s,A);const c=new t.endpointDiscoveryCommandCtor({Operation:i.slice(0,-7),Identifiers:a});const l=c.resolveMiddleware(t.clientStack,e,t.options);l(c).then((e=>{o.set(s,e.output.Endpoints);if(f[s]){f[s].forEach((({resolve:e})=>{e()}));delete f[s]}r()})).catch((e=>{o.delete(s);const i=Object.assign(new Error(`The operation to discover endpoint failed. Please retry, or provide a custom endpoint and disable endpoint discovery to proceed.`),{reason:e});if(f[s]){f[s].forEach((({reject:e})=>{e(i)}));delete f[s]}if(t.isDiscoveredEndpointRequired){n(i)}else{o.set(s,A);r()}}))}}))),"updateDiscoveredEndpointInCache");var p=__name(((e,t)=>(r,n)=>async o=>{if(e.isCustomEndpoint){if(e.isClientEndpointDiscoveryEnabled){throw new Error(`Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.`)}return r(o)}const{endpointDiscoveryCommandCtor:s}=e;const{isDiscoveredEndpointRequired:i,identifiers:a}=t;const A=n.clientName;const c=n.commandName;const l=await e.endpointDiscoveryEnabled();const u=await g(c,e,{identifiers:a});if(i){if(l===false){throw new Error(`Endpoint Discovery is disabled but ${c} on ${A} requires it. Please check your configurations.`)}await h(e,{...t,commandName:c,cacheKey:u,endpointDiscoveryCommandCtor:s})}else if(l){h(e,{...t,commandName:c,cacheKey:u,endpointDiscoveryCommandCtor:s})}const{request:f}=o;if(u&&d.HttpRequest.isInstance(f)){const t=e.endpointCache.getEndpoint(u);if(t){f.hostname=t}}return r(o)}),"endpointDiscoveryMiddleware");var E={name:"endpointDiscoveryMiddleware",step:"build",tags:["ENDPOINT_DISCOVERY"],override:true};var C=__name(((e,t)=>({applyToStack:r=>{r.add(p(e,t),E)}})),"getEndpointDiscoveryPlugin");var m=__name(((e,t)=>({applyToStack:r=>{r.add(p(e,{...t,isDiscoveredEndpointRequired:true}),E)}})),"getEndpointDiscoveryRequiredPlugin");var I=__name(((e,t)=>({applyToStack:r=>{r.add(p(e,{...t,isDiscoveredEndpointRequired:false}),E)}})),"getEndpointDiscoveryOptionalPlugin");var y=r(9393);var Q=__name(((e,{endpointDiscoveryCommandCtor:t})=>({...e,endpointDiscoveryCommandCtor:t,endpointCache:new y.EndpointCache(e.endpointCacheSize??1e3),endpointDiscoveryEnabled:e.endpointDiscoveryEnabled!==void 0?()=>Promise.resolve(e.endpointDiscoveryEnabled):e.endpointDiscoveryEnabledProvider,isClientEndpointDiscoveryEnabled:e.endpointDiscoveryEnabled!==void 0})),"resolveEndpointDiscoveryConfig");0&&0},2545:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{getHostHeaderPlugin:()=>u,hostHeaderMiddleware:()=>c,hostHeaderMiddlewareOptions:()=>l,resolveHostHeaderConfig:()=>resolveHostHeaderConfig});e.exports=__toCommonJS(a);var A=r(4418);function resolveHostHeaderConfig(e){return e}__name(resolveHostHeaderConfig,"resolveHostHeaderConfig");var c=__name((e=>t=>async r=>{if(!A.HttpRequest.isInstance(r.request))return t(r);const{request:n}=r;const{handlerProtocol:o=""}=e.requestHandler.metadata||{};if(o.indexOf("h2")>=0&&!n.headers[":authority"]){delete n.headers["host"];n.headers[":authority"]=n.hostname+(n.port?":"+n.port:"")}else if(!n.headers["host"]){let e=n.hostname;if(n.port!=null)e+=`:${n.port}`;n.headers["host"]=e}return t(r)}),"hostHeaderMiddleware");var l={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:true};var u=__name((e=>({applyToStack:t=>{t.add(c(e),l)}})),"getHostHeaderPlugin");0&&0},14:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{getLoggerPlugin:()=>A,loggerMiddleware:()=>i,loggerMiddlewareOptions:()=>a});e.exports=__toCommonJS(s);var i=__name((()=>(e,t)=>async r=>{var n,o;try{const o=await e(r);const{clientName:s,commandName:i,logger:a,dynamoDbDocumentClientOptions:A={}}=t;const{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:l}=A;const u=c??t.inputFilterSensitiveLog;const d=l??t.outputFilterSensitiveLog;const{$metadata:g,...f}=o.output;(n=a==null?void 0:a.info)==null?void 0:n.call(a,{clientName:s,commandName:i,input:u(r.input),output:d(f),metadata:g});return o}catch(e){const{clientName:n,commandName:s,logger:i,dynamoDbDocumentClientOptions:a={}}=t;const{overrideInputFilterSensitiveLog:A}=a;const c=A??t.inputFilterSensitiveLog;(o=i==null?void 0:i.error)==null?void 0:o.call(i,{clientName:n,commandName:s,input:c(r.input),error:e,metadata:e.$metadata});throw e}}),"loggerMiddleware");var a={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:true};var A=__name((e=>({applyToStack:e=>{e.add(i(),a)}})),"getLoggerPlugin");0&&0},5525:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{addRecursionDetectionMiddlewareOptions:()=>g,getRecursionDetectionPlugin:()=>f,recursionDetectionMiddleware:()=>d});e.exports=__toCommonJS(a);var A=r(4418);var c="X-Amzn-Trace-Id";var l="AWS_LAMBDA_FUNCTION_NAME";var u="_X_AMZN_TRACE_ID";var d=__name((e=>t=>async r=>{const{request:n}=r;if(!A.HttpRequest.isInstance(n)||e.runtime!=="node"||n.headers.hasOwnProperty(c)){return t(r)}const o=process.env[l];const s=process.env[u];const i=__name((e=>typeof e==="string"&&e.length>0),"nonEmptyString");if(i(o)&&i(s)){n.headers[c]=s}return t({...r,request:n})}),"recursionDetectionMiddleware");var g={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:true,priority:"low"};var f=__name((e=>({applyToStack:t=>{t.add(d(e),g)}})),"getRecursionDetectionPlugin");0&&0},4688:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{getUserAgentMiddlewareOptions:()=>m,getUserAgentPlugin:()=>I,resolveUserAgentConfig:()=>resolveUserAgentConfig,userAgentMiddleware:()=>E});e.exports=__toCommonJS(a);function resolveUserAgentConfig(e){return{...e,customUserAgent:typeof e.customUserAgent==="string"?[[e.customUserAgent]]:e.customUserAgent}}__name(resolveUserAgentConfig,"resolveUserAgentConfig");var A=r(3350);var c=r(4418);var l="user-agent";var u="x-amz-user-agent";var d=" ";var g="/";var f=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;var h=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;var p="-";var E=__name((e=>(t,r)=>async n=>{var o,s;const{request:i}=n;if(!c.HttpRequest.isInstance(i))return t(n);const{headers:a}=i;const g=((o=r==null?void 0:r.userAgent)==null?void 0:o.map(C))||[];const f=(await e.defaultUserAgentProvider()).map(C);const h=((s=e==null?void 0:e.customUserAgent)==null?void 0:s.map(C))||[];const p=(0,A.getUserAgentPrefix)();const E=(p?[p]:[]).concat([...f,...g,...h]).join(d);const m=[...f.filter((e=>e.startsWith("aws-sdk-"))),...h].join(d);if(e.runtime!=="browser"){if(m){a[u]=a[u]?`${a[l]} ${m}`:m}a[l]=E}else{a[u]=E}return t({...n,request:i})}),"userAgentMiddleware");var C=__name((e=>{var t;const r=e[0].split(g).map((e=>e.replace(f,p))).join(g);const n=(t=e[1])==null?void 0:t.replace(h,p);const o=r.indexOf(g);const s=r.substring(0,o);let i=r.substring(o+1);if(s==="api"){i=i.toLowerCase()}return[s,i,n].filter((e=>e&&e.length>0)).reduce(((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}}),"")}),"escapeUserAgent");var m={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:true};var I=__name((e=>({applyToStack:t=>{t.add(E(e),m)}})),"getUserAgentPlugin");0&&0},8156:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{NODE_REGION_CONFIG_FILE_OPTIONS:()=>u,NODE_REGION_CONFIG_OPTIONS:()=>l,REGION_ENV_NAME:()=>A,REGION_INI_NAME:()=>c,getAwsRegionExtensionConfiguration:()=>i,resolveAwsRegionExtensionConfiguration:()=>a,resolveRegionConfig:()=>f});e.exports=__toCommonJS(s);var i=__name((e=>{let t=__name((async()=>{if(e.region===void 0){throw new Error("Region is missing from runtimeConfig")}const t=e.region;if(typeof t==="string"){return t}return t()}),"runtimeConfigRegion");return{setRegion(e){t=e},region(){return t}}}),"getAwsRegionExtensionConfiguration");var a=__name((e=>({region:e.region()})),"resolveAwsRegionExtensionConfiguration");var A="AWS_REGION";var c="region";var l={environmentVariableSelector:e=>e[A],configFileSelector:e=>e[c],default:()=>{throw new Error("Region is missing")}};var u={preferredFile:"credentials"};var d=__name((e=>typeof e==="string"&&(e.startsWith("fips-")||e.endsWith("-fips"))),"isFipsRegion");var g=__name((e=>d(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e),"getRealRegion");var f=__name((e=>{const{region:t,useFipsEndpoint:r}=e;if(!t){throw new Error("Region is missing")}return{...e,region:async()=>{if(typeof t==="string"){return g(t)}const e=await t();return g(e)},useFipsEndpoint:async()=>{const e=typeof t==="string"?t:await t();if(d(e)){return true}return typeof r!=="function"?Promise.resolve(!!r):r()}}}),"resolveRegionConfig");0&&0},2843:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{fromSso:()=>B,fromStatic:()=>v,nodeProvider:()=>b});e.exports=__toCommonJS(c);var l=5*60*1e3;var u=`To refresh this SSO session run 'aws sso login' with the corresponding profile.`;var d={};var g=__name((async e=>{const{SSOOIDCClient:t}=await Promise.resolve().then((()=>__toESM(r(4527))));if(d[e]){return d[e]}const n=new t({region:e});d[e]=n;return n}),"getSsoOidcClient");var f=__name((async(e,t)=>{const{CreateTokenCommand:n}=await Promise.resolve().then((()=>__toESM(r(4527))));const o=await g(t);return o.send(new n({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))}),"getNewSsoOidcToken");var h=r(9721);var p=__name((e=>{if(e.expiration&&e.expiration.getTime(){if(typeof t==="undefined"){throw new h.TokenProviderError(`Value not present for '${e}' in SSO Token${r?". Cannot refresh":""}. ${u}`,false)}}),"validateTokenKey");var C=r(3507);var m=r(7147);var{writeFile:I}=m.promises;var y=__name(((e,t)=>{const r=(0,C.getSSOTokenFilepath)(e);const n=JSON.stringify(t,null,2);return I(r,n)}),"writeSSOTokenToFile");var Q=new Date(0);var B=__name(((e={})=>async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/token-providers - fromSso");const r=await(0,C.parseKnownFiles)(e);const n=(0,C.getProfileName)(e);const o=r[n];if(!o){throw new h.TokenProviderError(`Profile '${n}' could not be found in shared credentials file.`,false)}else if(!o["sso_session"]){throw new h.TokenProviderError(`Profile '${n}' is missing required property 'sso_session'.`)}const s=o["sso_session"];const i=await(0,C.loadSsoSessionData)(e);const a=i[s];if(!a){throw new h.TokenProviderError(`Sso session '${s}' could not be found in shared credentials file.`,false)}for(const e of["sso_start_url","sso_region"]){if(!a[e]){throw new h.TokenProviderError(`Sso session '${s}' is missing required property '${e}'.`,false)}}const A=a["sso_start_url"];const c=a["sso_region"];let d;try{d=await(0,C.getSSOTokenFromFile)(s)}catch(e){throw new h.TokenProviderError(`The SSO session token associated with profile=${n} was not found or is invalid. ${u}`,false)}E("accessToken",d.accessToken);E("expiresAt",d.expiresAt);const{accessToken:g,expiresAt:m}=d;const I={token:g,expiration:new Date(m)};if(I.expiration.getTime()-Date.now()>l){return I}if(Date.now()-Q.getTime()<30*1e3){p(I);return I}E("clientId",d.clientId,true);E("clientSecret",d.clientSecret,true);E("refreshToken",d.refreshToken,true);try{Q.setTime(Date.now());const e=await f(d,c);E("accessToken",e.accessToken);E("expiresIn",e.expiresIn);const t=new Date(Date.now()+e.expiresIn*1e3);try{await y(s,{...d,accessToken:e.accessToken,expiresAt:t.toISOString(),refreshToken:e.refreshToken})}catch(e){}return{token:e.accessToken,expiration:t}}catch(e){p(I);return I}}),"fromSso");var v=__name((({token:e,logger:t})=>async()=>{t==null?void 0:t.debug("@aws-sdk/token-providers - fromStatic");if(!e||!e.token){throw new h.TokenProviderError(`Please pass a valid token to fromStatic`,false)}return e}),"fromStatic");var b=__name(((e={})=>(0,h.memoize)((0,h.chain)(B(e),(async()=>{throw new h.TokenProviderError("Could not load token from any providers",false)})),(e=>e.expiration!==void 0&&e.expiration.getTime()-Date.now()<3e5),(e=>e.expiration!==void 0))),"nodeProvider");0&&0},3350:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{ConditionObject:()=>A.ConditionObject,DeprecatedObject:()=>A.DeprecatedObject,EndpointError:()=>A.EndpointError,EndpointObject:()=>A.EndpointObject,EndpointObjectHeaders:()=>A.EndpointObjectHeaders,EndpointObjectProperties:()=>A.EndpointObjectProperties,EndpointParams:()=>A.EndpointParams,EndpointResolverOptions:()=>A.EndpointResolverOptions,EndpointRuleObject:()=>A.EndpointRuleObject,ErrorRuleObject:()=>A.ErrorRuleObject,EvaluateOptions:()=>A.EvaluateOptions,Expression:()=>A.Expression,FunctionArgv:()=>A.FunctionArgv,FunctionObject:()=>A.FunctionObject,FunctionReturn:()=>A.FunctionReturn,ParameterObject:()=>A.ParameterObject,ReferenceObject:()=>A.ReferenceObject,ReferenceRecord:()=>A.ReferenceRecord,RuleSetObject:()=>A.RuleSetObject,RuleSetRules:()=>A.RuleSetRules,TreeRuleObject:()=>A.TreeRuleObject,awsEndpointFunctions:()=>C,getUserAgentPrefix:()=>E,isIpAddress:()=>A.isIpAddress,partition:()=>f,resolveEndpoint:()=>A.resolveEndpoint,setPartitionInfo:()=>h,useDefaultPartitionInfo:()=>p});e.exports=__toCommonJS(a);var A=r(5473);var c=__name(((e,t=false)=>{if(t){for(const t of e.split(".")){if(!c(t)){return false}}return true}if(!(0,A.isValidHostLabel)(e)){return false}if(e.length<3||e.length>63){return false}if(e!==e.toLowerCase()){return false}if((0,A.isIpAddress)(e)){return false}return true}),"isVirtualHostableS3Bucket");var l=__name((e=>{const t=e.split(":");if(t.length<6)return null;const[r,n,o,s,i,...a]=t;if(r!=="arn"||n===""||o===""||a[0]==="")return null;return{partition:n,service:o,region:s,accountId:i,resourceId:a[0].includes("/")?a[0].split("/"):a}}),"parseArn");var u={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:true,supportsFIPS:true},regionRegex:"^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:true,supportsFIPS:true},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:false,supportsFIPS:true},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:false,supportsFIPS:true},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:false,supportsFIPS:true},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:false,supportsFIPS:true},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"};var d=u;var g="";var f=__name((e=>{const{partitions:t}=d;for(const r of t){const{regions:t,outputs:n}=r;for(const[r,o]of Object.entries(t)){if(r===e){return{...n,...o}}}}for(const r of t){const{regionRegex:t,outputs:n}=r;if(new RegExp(t).test(e)){return{...n}}}const r=t.find((e=>e.id==="aws"));if(!r){throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.")}return{...r.outputs}}),"partition");var h=__name(((e,t="")=>{d=e;g=t}),"setPartitionInfo");var p=__name((()=>{h(u,"")}),"useDefaultPartitionInfo");var E=__name((()=>g),"getUserAgentPrefix");var C={isVirtualHostableS3Bucket:c,parseArn:l,partition:f};A.customEndpointFunctions.aws=C;0&&0},8095:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{UA_APP_ID_ENV_NAME:()=>g,UA_APP_ID_INI_NAME:()=>f,crtAvailability:()=>u,defaultUserAgent:()=>h});e.exports=__toCommonJS(a);var A=r(3461);var c=r(2037);var l=r(7282);var u={isCrtAvailable:false};var d=__name((()=>{if(u.isCrtAvailable){return["md/crt-avail"]}return null}),"isCrtAvailable");var g="AWS_SDK_UA_APP_ID";var f="sdk-ua-app-id";var h=__name((({serviceId:e,clientVersion:t})=>{const r=[["aws-sdk-js",t],["ua","2.0"],[`os/${(0,c.platform)()}`,(0,c.release)()],["lang/js"],["md/nodejs",`${l.versions.node}`]];const n=d();if(n){r.push(n)}if(e){r.push([`api/${e}`,t])}if(l.env.AWS_EXECUTION_ENV){r.push([`exec-env/${l.env.AWS_EXECUTION_ENV}`])}const o=(0,A.loadConfig)({environmentVariableSelector:e=>e[g],configFileSelector:e=>e[f],default:void 0})();let s=void 0;return async()=>{if(!s){const e=await o;s=e?[...r,[`app/${e}`]]:[...r]}return s}}),"defaultUserAgent");0&&0},3098:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{CONFIG_USE_DUALSTACK_ENDPOINT:()=>l,CONFIG_USE_FIPS_ENDPOINT:()=>f,DEFAULT_USE_DUALSTACK_ENDPOINT:()=>u,DEFAULT_USE_FIPS_ENDPOINT:()=>h,ENV_USE_DUALSTACK_ENDPOINT:()=>c,ENV_USE_FIPS_ENDPOINT:()=>g,NODE_REGION_CONFIG_FILE_OPTIONS:()=>v,NODE_REGION_CONFIG_OPTIONS:()=>B,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS:()=>d,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS:()=>p,REGION_ENV_NAME:()=>y,REGION_INI_NAME:()=>Q,getRegionInfo:()=>F,resolveCustomEndpointsConfig:()=>C,resolveEndpointsConfig:()=>I,resolveRegionConfig:()=>S});e.exports=__toCommonJS(a);var A=r(3375);var c="AWS_USE_DUALSTACK_ENDPOINT";var l="use_dualstack_endpoint";var u=false;var d={environmentVariableSelector:e=>(0,A.booleanSelector)(e,c,A.SelectorType.ENV),configFileSelector:e=>(0,A.booleanSelector)(e,l,A.SelectorType.CONFIG),default:false};var g="AWS_USE_FIPS_ENDPOINT";var f="use_fips_endpoint";var h=false;var p={environmentVariableSelector:e=>(0,A.booleanSelector)(e,g,A.SelectorType.ENV),configFileSelector:e=>(0,A.booleanSelector)(e,f,A.SelectorType.CONFIG),default:false};var E=r(2390);var C=__name((e=>{const{endpoint:t,urlParser:r}=e;return{...e,tls:e.tls??true,endpoint:(0,E.normalizeProvider)(typeof t==="string"?r(t):t),isCustomEndpoint:true,useDualstackEndpoint:(0,E.normalizeProvider)(e.useDualstackEndpoint??false)}}),"resolveCustomEndpointsConfig");var m=__name((async e=>{const{tls:t=true}=e;const r=await e.region();const n=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);if(!n.test(r)){throw new Error("Invalid region in client config")}const o=await e.useDualstackEndpoint();const s=await e.useFipsEndpoint();const{hostname:i}=await e.regionInfoProvider(r,{useDualstackEndpoint:o,useFipsEndpoint:s})??{};if(!i){throw new Error("Cannot resolve hostname from client config")}return e.urlParser(`${t?"https:":"http:"}//${i}`)}),"getEndpointFromRegion");var I=__name((e=>{const t=(0,E.normalizeProvider)(e.useDualstackEndpoint??false);const{endpoint:r,useFipsEndpoint:n,urlParser:o}=e;return{...e,tls:e.tls??true,endpoint:r?(0,E.normalizeProvider)(typeof r==="string"?o(r):r):()=>m({...e,useDualstackEndpoint:t,useFipsEndpoint:n}),isCustomEndpoint:!!r,useDualstackEndpoint:t}}),"resolveEndpointsConfig");var y="AWS_REGION";var Q="region";var B={environmentVariableSelector:e=>e[y],configFileSelector:e=>e[Q],default:()=>{throw new Error("Region is missing")}};var v={preferredFile:"credentials"};var b=__name((e=>typeof e==="string"&&(e.startsWith("fips-")||e.endsWith("-fips"))),"isFipsRegion");var w=__name((e=>b(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e),"getRealRegion");var S=__name((e=>{const{region:t,useFipsEndpoint:r}=e;if(!t){throw new Error("Region is missing")}return{...e,region:async()=>{if(typeof t==="string"){return w(t)}const e=await t();return w(e)},useFipsEndpoint:async()=>{const e=typeof t==="string"?t:await t();if(b(e)){return true}return typeof r!=="function"?Promise.resolve(!!r):r()}}}),"resolveRegionConfig");var R=__name(((e=[],{useFipsEndpoint:t,useDualstackEndpoint:r})=>{var n;return(n=e.find((({tags:e})=>t===e.includes("fips")&&r===e.includes("dualstack"))))==null?void 0:n.hostname}),"getHostnameFromVariants");var D=__name(((e,{regionHostname:t,partitionHostname:r})=>t?t:r?r.replace("{region}",e):void 0),"getResolvedHostname");var k=__name(((e,{partitionHash:t})=>Object.keys(t||{}).find((r=>t[r].regions.includes(e)))??"aws"),"getResolvedPartition");var N=__name(((e,{signingRegion:t,regionRegex:r,useFipsEndpoint:n})=>{if(t){return t}else if(n){const t=r.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\.");const n=e.match(t);if(n){return n[0].slice(1,-1)}}}),"getResolvedSigningRegion");var F=__name(((e,{useFipsEndpoint:t=false,useDualstackEndpoint:r=false,signingService:n,regionHash:o,partitionHash:s})=>{var i,a,A,c,l;const u=k(e,{partitionHash:s});const d=e in o?e:((i=s[u])==null?void 0:i.endpoint)??e;const g={useFipsEndpoint:t,useDualstackEndpoint:r};const f=R((a=o[d])==null?void 0:a.variants,g);const h=R((A=s[u])==null?void 0:A.variants,g);const p=D(d,{regionHostname:f,partitionHostname:h});if(p===void 0){throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:d,useFipsEndpoint:t,useDualstackEndpoint:r}}`)}const E=N(p,{signingRegion:(c=o[d])==null?void 0:c.signingRegion,regionRegex:s[u].regionRegex,useFipsEndpoint:t});return{partition:u,signingService:n,hostname:p,...E&&{signingRegion:E},...((l=o[d])==null?void 0:l.signingService)&&{signingService:o[d].signingService}}}),"getRegionInfo");0&&0},5829:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{DefaultIdentityProviderConfig:()=>v,EXPIRATION_MS:()=>T,HttpApiKeyAuthSigner:()=>S,HttpBearerAuthSigner:()=>D,NoAuthSigner:()=>N,RequestBuilder:()=>j,createIsIdentityExpiredFunction:()=>F,createPaginator:()=>createPaginator,doesIdentityRequireRefresh:()=>P,getHttpAuthSchemeEndpointRuleSetPlugin:()=>d,getHttpAuthSchemePlugin:()=>h,getHttpSigningPlugin:()=>Q,getSmithyContext:()=>U,httpAuthSchemeEndpointRuleSetMiddlewareOptions:()=>u,httpAuthSchemeMiddleware:()=>c,httpAuthSchemeMiddlewareOptions:()=>f,httpSigningMiddleware:()=>m,httpSigningMiddlewareOptions:()=>y,isIdentityExpired:()=>x,memoizeIdentityProvider:()=>O,normalizeProvider:()=>M,requestBuilder:()=>requestBuilder});e.exports=__toCommonJS(a);var A=r(2390);function convertHttpAuthSchemesToMap(e){const t=new Map;for(const r of e){t.set(r.schemeId,r)}return t}__name(convertHttpAuthSchemesToMap,"convertHttpAuthSchemesToMap");var c=__name(((e,t)=>(r,n)=>async o=>{var s;const i=e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,n,o.input));const a=convertHttpAuthSchemesToMap(e.httpAuthSchemes);const c=(0,A.getSmithyContext)(n);const l=[];for(const r of i){const o=a.get(r.schemeId);if(!o){l.push(`HttpAuthScheme \`${r.schemeId}\` was not enabled for this service.`);continue}const i=o.identityProvider(await t.identityProviderConfigProvider(e));if(!i){l.push(`HttpAuthScheme \`${r.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:A={},signingProperties:u={}}=((s=r.propertiesExtractor)==null?void 0:s.call(r,e,n))||{};r.identityProperties=Object.assign(r.identityProperties||{},A);r.signingProperties=Object.assign(r.signingProperties||{},u);c.selectedHttpAuthScheme={httpAuthOption:r,identity:await i(r.identityProperties),signer:o.signer};break}if(!c.selectedHttpAuthScheme){throw new Error(l.join("\n"))}return r(o)}),"httpAuthSchemeMiddleware");var l=r(2918);var u={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:l.endpointMiddlewareOptions.name};var d=__name(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(c(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),u)}})),"getHttpAuthSchemeEndpointRuleSetPlugin");var g=r(1238);var f={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:g.serializerMiddlewareOption.name};var h=__name(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(c(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),f)}})),"getHttpAuthSchemePlugin");var p=r(4418);var E=__name((e=>e=>{throw e}),"defaultErrorHandler");var C=__name(((e,t)=>{}),"defaultSuccessHandler");var m=__name((e=>(e,t)=>async r=>{if(!p.HttpRequest.isInstance(r.request)){return e(r)}const n=(0,A.getSmithyContext)(t);const o=n.selectedHttpAuthScheme;if(!o){throw new Error(`No HttpAuthScheme was selected: unable to sign request`)}const{httpAuthOption:{signingProperties:s={}},identity:i,signer:a}=o;const c=await e({...r,request:await a.sign(r.request,i,s)}).catch((a.errorHandler||E)(s));(a.successHandler||C)(c.response,s);return c}),"httpSigningMiddleware");var I=r(6039);var y={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:true,relation:"after",toMiddleware:I.retryMiddlewareOptions.name};var Q=__name((e=>({applyToStack:t=>{t.addRelativeTo(m(e),y)}})),"getHttpSigningPlugin");var B=class _DefaultIdentityProviderConfig{constructor(e){this.authSchemes=new Map;for(const[t,r]of Object.entries(e)){if(r!==void 0){this.authSchemes.set(t,r)}}}getIdentityProvider(e){return this.authSchemes.get(e)}};__name(B,"DefaultIdentityProviderConfig");var v=B;var b=r(5756);var w=class _HttpApiKeyAuthSigner{async sign(e,t,r){if(!r){throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing")}if(!r.name){throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing")}if(!r.in){throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing")}if(!t.apiKey){throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined")}const n=e.clone();if(r.in===b.HttpApiKeyAuthLocation.QUERY){n.query[r.name]=t.apiKey}else if(r.in===b.HttpApiKeyAuthLocation.HEADER){n.headers[r.name]=r.scheme?`${r.scheme} ${t.apiKey}`:t.apiKey}else{throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+r.in+"`")}return n}};__name(w,"HttpApiKeyAuthSigner");var S=w;var R=class _HttpBearerAuthSigner{async sign(e,t,r){const n=e.clone();if(!t.token){throw new Error("request could not be signed with `token` since the `token` is not defined")}n.headers["Authorization"]=`Bearer ${t.token}`;return n}};__name(R,"HttpBearerAuthSigner");var D=R;var k=class _NoAuthSigner{async sign(e,t,r){return e}};__name(k,"NoAuthSigner");var N=k;var F=__name((e=>t=>P(t)&&t.expiration.getTime()-Date.now()e.expiration!==void 0),"doesIdentityRequireRefresh");var O=__name(((e,t,r)=>{if(e===void 0){return void 0}const n=typeof e!=="function"?async()=>Promise.resolve(e):e;let o;let s;let i;let a=false;const A=__name((async e=>{if(!s){s=n(e)}try{o=await s;i=true;a=false}finally{s=void 0}return o}),"coalesceProvider");if(t===void 0){return async e=>{if(!i||(e==null?void 0:e.forceRefresh)){o=await A(e)}return o}}return async e=>{if(!i||(e==null?void 0:e.forceRefresh)){o=await A(e)}if(a){return o}if(!r(o)){a=true;return o}if(t(o)){await A(e);return o}return o}}),"memoizeIdentityProvider");var U=__name((e=>e[b.SMITHY_CONTEXT_KEY]||(e[b.SMITHY_CONTEXT_KEY]={})),"getSmithyContext");var M=__name((e=>{if(typeof e==="function")return e;const t=Promise.resolve(e);return()=>t}),"normalizeProvider");var L=r(3570);function requestBuilder(e,t){return new j(e,t)}__name(requestBuilder,"requestBuilder");var H=class _RequestBuilder{constructor(e,t){this.input=e;this.context=t;this.query={};this.method="";this.headers={};this.path="";this.body=null;this.hostname="";this.resolvePathStack=[]}async build(){const{hostname:e,protocol:t="https",port:r,path:n}=await this.context.endpoint();this.path=n;for(const e of this.resolvePathStack){e(this.path)}return new p.HttpRequest({protocol:t,hostname:this.hostname||e,port:r,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(e){this.hostname=e;return this}bp(e){this.resolvePathStack.push((t=>{this.path=`${(t==null?void 0:t.endsWith("/"))?t.slice(0,-1):t||""}`+e}));return this}p(e,t,r,n){this.resolvePathStack.push((o=>{this.path=(0,L.resolvedPath)(o,this.input,e,t,r,n)}));return this}h(e){this.headers=e;return this}q(e){this.query=e;return this}b(e){this.body=e;return this}m(e){this.method=e;return this}};__name(H,"RequestBuilder");var j=H;var G=__name((async(e,t,r,...n)=>await t.send(new e(r),...n)),"makePagedClientRequest");function createPaginator(e,t,r,n,o){return __name((async function*paginateOperation(s,i,...a){let A=s.startingToken||void 0;let c=true;let l;while(c){i[r]=A;if(o){i[o]=i[o]??s.pageSize}if(s.client instanceof e){l=await G(t,s.client,i,...a)}else{throw new Error(`Invalid client, expected instance of ${e.name}`)}yield l;const u=A;A=V(l,n);c=!!(A&&(!s.stopOnSameToken||A!==u))}return void 0}),"paginateOperation")}__name(createPaginator,"createPaginator");var V=__name(((e,t)=>{let r=e;const n=t.split(".");for(const e of n){if(!r||typeof r!=="object"){return void 0}r=r[e]}return r}),"get");0&&0},7477:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{DEFAULT_MAX_RETRIES:()=>h,DEFAULT_TIMEOUT:()=>f,ENV_CMDS_AUTH_TOKEN:()=>I,ENV_CMDS_FULL_URI:()=>C,ENV_CMDS_RELATIVE_URI:()=>m,Endpoint:()=>N,fromContainerMetadata:()=>y,fromInstanceMetadata:()=>X,getInstanceMetadataEndpoint:()=>L,httpRequest:()=>httpRequest,providerConfigFromInit:()=>p});e.exports=__toCommonJS(a);var A=r(7310);var c=r(9721);var l=r(4300);var u=r(3685);function httpRequest(e){return new Promise(((t,r)=>{var n;const o=(0,u.request)({method:"GET",...e,hostname:(n=e.hostname)==null?void 0:n.replace(/^\[(.+)\]$/,"$1")});o.on("error",(e=>{r(Object.assign(new c.ProviderError("Unable to connect to instance metadata service"),e));o.destroy()}));o.on("timeout",(()=>{r(new c.ProviderError("TimeoutError from instance metadata service"));o.destroy()}));o.on("response",(e=>{const{statusCode:n=400}=e;if(n<200||300<=n){r(Object.assign(new c.ProviderError("Error response received from instance metadata service"),{statusCode:n}));o.destroy()}const s=[];e.on("data",(e=>{s.push(e)}));e.on("end",(()=>{t(l.Buffer.concat(s));o.destroy()}))}));o.end()}))}__name(httpRequest,"httpRequest");var d=__name((e=>Boolean(e)&&typeof e==="object"&&typeof e.AccessKeyId==="string"&&typeof e.SecretAccessKey==="string"&&typeof e.Token==="string"&&typeof e.Expiration==="string"),"isImdsCredentials");var g=__name((e=>({accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:new Date(e.Expiration)})),"fromImdsCredentials");var f=1e3;var h=0;var p=__name((({maxRetries:e=h,timeout:t=f})=>({maxRetries:e,timeout:t})),"providerConfigFromInit");var E=__name(((e,t)=>{let r=e();for(let n=0;n{const{timeout:t,maxRetries:r}=p(e);return()=>E((async()=>{const r=await w({logger:e.logger});const n=JSON.parse(await Q(t,r));if(!d(n)){throw new c.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:e.logger})}return g(n)}),r)}),"fromContainerMetadata");var Q=__name((async(e,t)=>{if(process.env[I]){t.headers={...t.headers,Authorization:process.env[I]}}const r=await httpRequest({...t,timeout:e});return r.toString()}),"requestFromEcsImds");var B="169.254.170.2";var v={localhost:true,"127.0.0.1":true};var b={"http:":true,"https:":true};var w=__name((async({logger:e})=>{if(process.env[m]){return{hostname:B,path:process.env[m]}}if(process.env[C]){const t=(0,A.parse)(process.env[C]);if(!t.hostname||!(t.hostname in v)){throw new c.CredentialsProviderError(`${t.hostname} is not a valid container metadata service hostname`,{tryNextLink:false,logger:e})}if(!t.protocol||!(t.protocol in b)){throw new c.CredentialsProviderError(`${t.protocol} is not a valid container metadata service protocol`,{tryNextLink:false,logger:e})}return{...t,port:t.port?parseInt(t.port,10):void 0}}throw new c.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${m} or ${C} environment variable is set`,{tryNextLink:false,logger:e})}),"getCmdsUri");var S=class _InstanceMetadataV1FallbackError extends c.CredentialsProviderError{constructor(e,t=true){super(e,t);this.tryNextLink=t;this.name="InstanceMetadataV1FallbackError";Object.setPrototypeOf(this,_InstanceMetadataV1FallbackError.prototype)}};__name(S,"InstanceMetadataV1FallbackError");var R=S;var D=r(3461);var k=r(4681);var N=(e=>{e["IPv4"]="http://169.254.169.254";e["IPv6"]="http://[fd00:ec2::254]";return e})(N||{});var F="AWS_EC2_METADATA_SERVICE_ENDPOINT";var T="ec2_metadata_service_endpoint";var x={environmentVariableSelector:e=>e[F],configFileSelector:e=>e[T],default:void 0};var P=(e=>{e["IPv4"]="IPv4";e["IPv6"]="IPv6";return e})(P||{});var O="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";var U="ec2_metadata_service_endpoint_mode";var M={environmentVariableSelector:e=>e[O],configFileSelector:e=>e[U],default:"IPv4"};var L=__name((async()=>(0,k.parseUrl)(await H()||await j())),"getInstanceMetadataEndpoint");var H=__name((async()=>(0,D.loadConfig)(x)()),"getFromEndpointConfig");var j=__name((async()=>{const e=await(0,D.loadConfig)(M)();switch(e){case"IPv4":return"http://169.254.169.254";case"IPv6":return"http://[fd00:ec2::254]";default:throw new Error(`Unsupported endpoint mode: ${e}. Select from ${Object.values(P)}`)}}),"getFromEndpointModeConfig");var G=5*60;var V=5*60;var Y="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html";var J=__name(((e,t)=>{const r=G+Math.floor(Math.random()*V);const n=new Date(Date.now()+r*1e3);t.warn(`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(n)}.\nFor more information, please visit: `+Y);const o=e.originalExpiration??e.expiration;return{...e,...o?{originalExpiration:o}:{},expiration:n}}),"getExtendedInstanceMetadataCredentials");var q=__name(((e,t={})=>{const r=(t==null?void 0:t.logger)||console;let n;return async()=>{let t;try{t=await e();if(t.expiration&&t.expiration.getTime()q(ee(e),{logger:e.logger})),"fromInstanceMetadata");var ee=__name(((e={})=>{let t=false;const{logger:r,profile:n}=e;const{timeout:o,maxRetries:s}=p(e);const i=__name((async(r,o)=>{var s;const i=t||((s=o.headers)==null?void 0:s[Z])==null;if(i){let t=false;let r=false;const o=await(0,D.loadConfig)({environmentVariableSelector:t=>{const n=t[z];r=!!n&&n!=="false";if(n===void 0){throw new c.CredentialsProviderError(`${z} not set in env, checking config file next.`,{logger:e.logger})}return r},configFileSelector:e=>{const r=e[K];t=!!r&&r!=="false";return t},default:false},{profile:n})();if(e.ec2MetadataV1Disabled||o){const n=[];if(e.ec2MetadataV1Disabled)n.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(t)n.push(`config file profile (${K})`);if(r)n.push(`process environment variable (${z})`);throw new R(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${n.join(", ")}].`)}}const a=(await E((async()=>{let e;try{e=await re(o)}catch(e){if(e.statusCode===401){t=false}throw e}return e}),r)).trim();return E((async()=>{let r;try{r=await ne(a,o,e)}catch(e){if(e.statusCode===401){t=false}throw e}return r}),r)}),"getCredentials");return async()=>{const e=await L();if(t){r==null?void 0:r.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)");return i(s,{...e,timeout:o})}else{let n;try{n=(await te({...e,timeout:o})).toString()}catch(n){if((n==null?void 0:n.statusCode)===400){throw Object.assign(n,{message:"EC2 Metadata token request returned error"})}else if(n.message==="TimeoutError"||[403,404,405].includes(n.statusCode)){t=true}r==null?void 0:r.debug("AWS SDK Instance Metadata","using v1 fallback (initial)");return i(s,{...e,timeout:o})}return i(s,{...e,headers:{[Z]:n},timeout:o})}}}),"getInstanceMetadataProvider");var te=__name((async e=>httpRequest({...e,path:W,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}})),"getMetadataToken");var re=__name((async e=>(await httpRequest({...e,path:$})).toString()),"getProfile");var ne=__name((async(e,t,r)=>{const n=JSON.parse((await httpRequest({...t,path:$+e})).toString());if(!d(n)){throw new c.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:r.logger})}return g(n)}),"getCredentialsFromProfile");0&&0},2687:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{FetchHttpHandler:()=>d,keepAliveSupport:()=>l,streamCollector:()=>f});e.exports=__toCommonJS(a);var A=r(4418);var c=r(8031);function requestTimeout(e=0){return new Promise(((t,r)=>{if(e){setTimeout((()=>{const t=new Error(`Request did not complete within ${e} ms`);t.name="TimeoutError";r(t)}),e)}}))}__name(requestTimeout,"requestTimeout");var l={supported:void 0};var u=class _FetchHttpHandler{static create(e){if(typeof(e==null?void 0:e.handle)==="function"){return e}return new _FetchHttpHandler(e)}constructor(e){if(typeof e==="function"){this.configProvider=e().then((e=>e||{}))}else{this.config=e??{};this.configProvider=Promise.resolve(this.config)}if(l.supported===void 0){l.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))}}destroy(){}async handle(e,{abortSignal:t}={}){if(!this.config){this.config=await this.configProvider}const r=this.config.requestTimeout;const n=this.config.keepAlive===true;if(t==null?void 0:t.aborted){const e=new Error("Request aborted");e.name="AbortError";return Promise.reject(e)}let o=e.path;const s=(0,c.buildQueryString)(e.query||{});if(s){o+=`?${s}`}if(e.fragment){o+=`#${e.fragment}`}let i="";if(e.username!=null||e.password!=null){const t=e.username??"";const r=e.password??"";i=`${t}:${r}@`}const{port:a,method:u}=e;const d=`${e.protocol}//${i}${e.hostname}${a?`:${a}`:""}${o}`;const g=u==="GET"||u==="HEAD"?void 0:e.body;const f={body:g,headers:new Headers(e.headers),method:u};if(g){f.duplex="half"}if(typeof AbortController!=="undefined"){f.signal=t}if(l.supported){f.keepalive=n}const h=new Request(d,f);const p=[fetch(h).then((e=>{const t=e.headers;const r={};for(const e of t.entries()){r[e[0]]=e[1]}const n=e.body!=void 0;if(!n){return e.blob().then((t=>({response:new A.HttpResponse({headers:r,reason:e.statusText,statusCode:e.status,body:t})})))}return{response:new A.HttpResponse({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}})),requestTimeout(r)];if(t){p.push(new Promise(((e,r)=>{t.onabort=()=>{const e=new Error("Request aborted");e.name="AbortError";r(e)}})))}return Promise.race(p)}updateHttpClientConfig(e,t){this.config=void 0;this.configProvider=this.configProvider.then((r=>{r[e]=t;return r}))}httpHandlerConfigs(){return this.config??{}}};__name(u,"FetchHttpHandler");var d=u;var g=r(5600);var f=__name((e=>{if(typeof Blob==="function"&&e instanceof Blob){return collectBlob(e)}return collectStream(e)}),"streamCollector");async function collectBlob(e){const t=await readToBase64(e);const r=(0,g.fromBase64)(t);return new Uint8Array(r)}__name(collectBlob,"collectBlob");async function collectStream(e){const t=[];const r=e.getReader();let n=false;let o=0;while(!n){const{done:e,value:s}=await r.read();if(s){t.push(s);o+=s.length}n=e}const s=new Uint8Array(o);let i=0;for(const e of t){s.set(e,i);i+=e.length}return s}__name(collectStream,"collectStream");function readToBase64(e){return new Promise(((t,r)=>{const n=new FileReader;n.onloadend=()=>{if(n.readyState!==2){return r(new Error("Reader aborted too early"))}const e=n.result??"";const o=e.indexOf(",");const s=o>-1?o+1:e.length;t(e.substring(s))};n.onabort=()=>r(new Error("Read aborted"));n.onerror=()=>r(n.error);n.readAsDataURL(e)}))}__name(readToBase64,"readToBase64");0&&0},3081:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{Hash:()=>g});e.exports=__toCommonJS(a);var A=r(1381);var c=r(1895);var l=r(4300);var u=r(6113);var d=class _Hash{constructor(e,t){this.algorithmIdentifier=e;this.secret=t;this.reset()}update(e,t){this.hash.update((0,c.toUint8Array)(castSourceData(e,t)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?(0,u.createHmac)(this.algorithmIdentifier,castSourceData(this.secret)):(0,u.createHash)(this.algorithmIdentifier)}};__name(d,"Hash");var g=d;function castSourceData(e,t){if(l.Buffer.isBuffer(e)){return e}if(typeof e==="string"){return(0,A.fromString)(e,t)}if(ArrayBuffer.isView(e)){return(0,A.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength)}return(0,A.fromArrayBuffer)(e)}__name(castSourceData,"castSourceData");0&&0},780:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{isArrayBuffer:()=>i});e.exports=__toCommonJS(s);var i=__name((e=>typeof ArrayBuffer==="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]"),"isArrayBuffer");0&&0},2800:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{contentLengthMiddleware:()=>contentLengthMiddleware,contentLengthMiddlewareOptions:()=>l,getContentLengthPlugin:()=>u});e.exports=__toCommonJS(a);var A=r(4418);var c="content-length";function contentLengthMiddleware(e){return t=>async r=>{const n=r.request;if(A.HttpRequest.isInstance(n)){const{body:t,headers:r}=n;if(t&&Object.keys(r).map((e=>e.toLowerCase())).indexOf(c)===-1){try{const r=e(t);n.headers={...n.headers,[c]:String(r)}}catch(e){}}}return t({...r,request:n})}}__name(contentLengthMiddleware,"contentLengthMiddleware");var l={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:true};var u=__name((e=>({applyToStack:t=>{t.add(contentLengthMiddleware(e.bodyLengthChecker),l)}})),"getContentLengthPlugin");0&&0},1518:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getEndpointFromConfig=void 0;const n=r(3461);const o=r(7574);const getEndpointFromConfig=async e=>(0,n.loadConfig)((0,o.getEndpointUrlConfig)(e))();t.getEndpointFromConfig=getEndpointFromConfig},7574:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getEndpointUrlConfig=void 0;const n=r(3507);const o="AWS_ENDPOINT_URL";const s="endpoint_url";const getEndpointUrlConfig=e=>({environmentVariableSelector:t=>{const r=e.split(" ").map((e=>e.toUpperCase()));const n=t[[o,...r].join("_")];if(n)return n;const s=t[o];if(s)return s;return undefined},configFileSelector:(t,r)=>{if(r&&t.services){const o=r[["services",t.services].join(n.CONFIG_PREFIX_SEPARATOR)];if(o){const t=e.split(" ").map((e=>e.toLowerCase()));const r=o[[t.join("_"),s].join(n.CONFIG_PREFIX_SEPARATOR)];if(r)return r}}const o=t[s];if(o)return o;return undefined},default:undefined});t.getEndpointUrlConfig=getEndpointUrlConfig},2918:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{endpointMiddleware:()=>y,endpointMiddlewareOptions:()=>B,getEndpointFromInstructions:()=>C,getEndpointPlugin:()=>v,resolveEndpointConfig:()=>b,resolveParams:()=>m,toEndpointV1:()=>E});e.exports=__toCommonJS(a);var A=__name((async e=>{const t=(e==null?void 0:e.Bucket)||"";if(typeof e.Bucket==="string"){e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))}if(g(t)){if(e.ForcePathStyle===true){throw new Error("Path-style addressing cannot be used with ARN buckets")}}else if(!d(t)||t.indexOf(".")!==-1&&!String(e.Endpoint).startsWith("http:")||t.toLowerCase()!==t||t.length<3){e.ForcePathStyle=true}if(e.DisableMultiRegionAccessPoints){e.disableMultiRegionAccessPoints=true;e.DisableMRAP=true}return e}),"resolveParamsForS3");var c=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/;var l=/(\d+\.){3}\d+/;var u=/\.\./;var d=__name((e=>c.test(e)&&!l.test(e)&&!u.test(e)),"isDnsCompatibleBucketName");var g=__name((e=>{const[t,r,n,,,o]=e.split(":");const s=t==="arn"&&e.split(":").length>=6;const i=Boolean(s&&r&&n&&o);if(s&&!i){throw new Error(`Invalid ARN: ${e} was an invalid ARN.`)}return i}),"isArnBucketName");var f=__name(((e,t,r)=>{const n=__name((async()=>{const n=r[e]??r[t];if(typeof n==="function"){return n()}return n}),"configProvider");if(e==="credentialScope"||t==="CredentialScope"){return async()=>{const e=typeof r.credentials==="function"?await r.credentials():r.credentials;const t=(e==null?void 0:e.credentialScope)??(e==null?void 0:e.CredentialScope);return t}}if(e==="endpoint"||t==="endpoint"){return async()=>{const e=await n();if(e&&typeof e==="object"){if("url"in e){return e.url.href}if("hostname"in e){const{protocol:t,hostname:r,port:n,path:o}=e;return`${t}//${r}${n?":"+n:""}${o}`}}return e}}return n}),"createConfigValueProvider");var h=r(1518);var p=r(4681);var E=__name((e=>{if(typeof e==="object"){if("url"in e){return(0,p.parseUrl)(e.url)}return e}return(0,p.parseUrl)(e)}),"toEndpointV1");var C=__name((async(e,t,r,n)=>{if(!r.endpoint){const e=await(0,h.getEndpointFromConfig)(r.serviceId||"");if(e){r.endpoint=()=>Promise.resolve(E(e))}}const o=await m(e,t,r);if(typeof r.endpointProvider!=="function"){throw new Error("config.endpointProvider is not set.")}const s=r.endpointProvider(o,n);return s}),"getEndpointFromInstructions");var m=__name((async(e,t,r)=>{var n;const o={};const s=((n=t==null?void 0:t.getEndpointParameterInstructions)==null?void 0:n.call(t))||{};for(const[t,n]of Object.entries(s)){switch(n.type){case"staticContextParams":o[t]=n.value;break;case"contextParams":o[t]=e[n.name];break;case"clientContextParams":case"builtInParams":o[t]=await f(n.name,t,r)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(n))}}if(Object.keys(s).length===0){Object.assign(o,r)}if(String(r.serviceId).toLowerCase()==="s3"){await A(o)}return o}),"resolveParams");var I=r(2390);var y=__name((({config:e,instructions:t})=>(r,n)=>async o=>{var s,i,a;const A=await C(o.input,{getEndpointParameterInstructions(){return t}},{...e},n);n.endpointV2=A;n.authSchemes=(s=A.properties)==null?void 0:s.authSchemes;const c=(i=n.authSchemes)==null?void 0:i[0];if(c){n["signing_region"]=c.signingRegion;n["signing_service"]=c.signingName;const e=(0,I.getSmithyContext)(n);const t=(a=e==null?void 0:e.selectedHttpAuthScheme)==null?void 0:a.httpAuthOption;if(t){t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:c.signingRegion,signingRegion:c.signingRegion,signing_service:c.signingName,signingName:c.signingName,signingRegionSet:c.signingRegionSet},c.properties)}}return r({...o})}),"endpointMiddleware");var Q=r(1238);var B={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:true,relation:"before",toMiddleware:Q.serializerMiddlewareOption.name};var v=__name(((e,t)=>({applyToStack:r=>{r.addRelativeTo(y({config:e,instructions:t}),B)}})),"getEndpointPlugin");var b=__name((e=>{const t=e.tls??true;const{endpoint:r}=e;const n=r!=null?async()=>E(await(0,I.normalizeProvider)(r)()):void 0;const o=!!r;return{...e,endpoint:n,tls:t,isCustomEndpoint:o,useDualstackEndpoint:(0,I.normalizeProvider)(e.useDualstackEndpoint??false),useFipsEndpoint:(0,I.normalizeProvider)(e.useFipsEndpoint??false)}}),"resolveEndpointConfig");0&&0},6039:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AdaptiveRetryStrategy:()=>I,CONFIG_MAX_ATTEMPTS:()=>B,CONFIG_RETRY_MODE:()=>S,ENV_MAX_ATTEMPTS:()=>Q,ENV_RETRY_MODE:()=>w,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:()=>v,NODE_RETRY_MODE_CONFIG_OPTIONS:()=>R,StandardRetryStrategy:()=>E,defaultDelayDecider:()=>d,defaultRetryDecider:()=>f,getOmitRetryHeadersPlugin:()=>N,getRetryAfterHint:()=>H,getRetryPlugin:()=>L,omitRetryHeadersMiddleware:()=>D,omitRetryHeadersMiddlewareOptions:()=>k,resolveRetryConfig:()=>b,retryMiddleware:()=>x,retryMiddlewareOptions:()=>M});e.exports=__toCommonJS(a);var A=r(4418);var c=r(7761);var l=r(4902);var u=__name(((e,t)=>{const r=e;const n=(t==null?void 0:t.noRetryIncrement)??l.NO_RETRY_INCREMENT;const o=(t==null?void 0:t.retryCost)??l.RETRY_COST;const s=(t==null?void 0:t.timeoutRetryCost)??l.TIMEOUT_RETRY_COST;let i=e;const a=__name((e=>e.name==="TimeoutError"?s:o),"getCapacityAmount");const A=__name((e=>a(e)<=i),"hasRetryTokens");const c=__name((e=>{if(!A(e)){throw new Error("No retry token available")}const t=a(e);i-=t;return t}),"retrieveRetryTokens");const u=__name((e=>{i+=e??n;i=Math.min(i,r)}),"releaseRetryTokens");return Object.freeze({hasRetryTokens:A,retrieveRetryTokens:c,releaseRetryTokens:u})}),"getDefaultRetryQuota");var d=__name(((e,t)=>Math.floor(Math.min(l.MAXIMUM_RETRY_DELAY,Math.random()*2**t*e))),"defaultDelayDecider");var g=r(6375);var f=__name((e=>{if(!e){return false}return(0,g.isRetryableByTrait)(e)||(0,g.isClockSkewError)(e)||(0,g.isThrottlingError)(e)||(0,g.isTransientError)(e)}),"defaultRetryDecider");var h=__name((e=>{if(e instanceof Error)return e;if(e instanceof Object)return Object.assign(new Error,e);if(typeof e==="string")return new Error(e);return new Error(`AWS SDK error wrapper for ${e}`)}),"asSdkError");var p=class _StandardRetryStrategy{constructor(e,t){this.maxAttemptsProvider=e;this.mode=l.RETRY_MODES.STANDARD;this.retryDecider=(t==null?void 0:t.retryDecider)??f;this.delayDecider=(t==null?void 0:t.delayDecider)??d;this.retryQuota=(t==null?void 0:t.retryQuota)??u(l.INITIAL_RETRY_TOKENS)}shouldRetry(e,t,r){return tsetTimeout(e,i)));continue}if(!t.$metadata){t.$metadata={}}t.$metadata.attempts=o;t.$metadata.totalRetryDelay=s;throw t}}}};__name(p,"StandardRetryStrategy");var E=p;var C=__name((e=>{if(!A.HttpResponse.isInstance(e))return;const t=Object.keys(e.headers).find((e=>e.toLowerCase()==="retry-after"));if(!t)return;const r=e.headers[t];const n=Number(r);if(!Number.isNaN(n))return n*1e3;const o=new Date(r);return o.getTime()-Date.now()}),"getDelayFromRetryAfterHeader");var m=class _AdaptiveRetryStrategy extends E{constructor(e,t){const{rateLimiter:r,...n}=t??{};super(e,n);this.rateLimiter=r??new l.DefaultRateLimiter;this.mode=l.RETRY_MODES.ADAPTIVE}async retry(e,t){return super.retry(e,t,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:e=>{this.rateLimiter.updateClientSendingRate(e)}})}};__name(m,"AdaptiveRetryStrategy");var I=m;var y=r(2390);var Q="AWS_MAX_ATTEMPTS";var B="max_attempts";var v={environmentVariableSelector:e=>{const t=e[Q];if(!t)return void 0;const r=parseInt(t);if(Number.isNaN(r)){throw new Error(`Environment variable ${Q} mast be a number, got "${t}"`)}return r},configFileSelector:e=>{const t=e[B];if(!t)return void 0;const r=parseInt(t);if(Number.isNaN(r)){throw new Error(`Shared config file entry ${B} mast be a number, got "${t}"`)}return r},default:l.DEFAULT_MAX_ATTEMPTS};var b=__name((e=>{const{retryStrategy:t}=e;const r=(0,y.normalizeProvider)(e.maxAttempts??l.DEFAULT_MAX_ATTEMPTS);return{...e,maxAttempts:r,retryStrategy:async()=>{if(t){return t}const n=await(0,y.normalizeProvider)(e.retryMode)();if(n===l.RETRY_MODES.ADAPTIVE){return new l.AdaptiveRetryStrategy(r)}return new l.StandardRetryStrategy(r)}}}),"resolveRetryConfig");var w="AWS_RETRY_MODE";var S="retry_mode";var R={environmentVariableSelector:e=>e[w],configFileSelector:e=>e[S],default:l.DEFAULT_RETRY_MODE};var D=__name((()=>e=>async t=>{const{request:r}=t;if(A.HttpRequest.isInstance(r)){delete r.headers[l.INVOCATION_ID_HEADER];delete r.headers[l.REQUEST_HEADER]}return e(t)}),"omitRetryHeadersMiddleware");var k={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:true};var N=__name((e=>({applyToStack:e=>{e.addRelativeTo(D(),k)}})),"getOmitRetryHeadersPlugin");var F=r(3570);var T=r(8977);var x=__name((e=>(t,r)=>async n=>{var o;let s=await e.retryStrategy();const i=await e.maxAttempts();if(P(s)){s=s;let e=await s.acquireInitialRetryToken(r["partition_id"]);let a=new Error;let u=0;let d=0;const{request:g}=n;const f=A.HttpRequest.isInstance(g);if(f){g.headers[l.INVOCATION_ID_HEADER]=(0,c.v4)()}while(true){try{if(f){g.headers[l.REQUEST_HEADER]=`attempt=${u+1}; max=${i}`}const{response:r,output:o}=await t(n);s.recordSuccess(e);o.$metadata.attempts=u+1;o.$metadata.totalRetryDelay=d;return{response:r,output:o}}catch(t){const n=O(t);a=h(t);if(f&&(0,T.isStreamingPayload)(g)){(o=r.logger instanceof F.NoOpLogger?console:r.logger)==null?void 0:o.warn("An error was encountered in a non-retryable streaming request.");throw a}try{e=await s.refreshRetryTokenForRetry(e,n)}catch(e){if(!a.$metadata){a.$metadata={}}a.$metadata.attempts=u+1;a.$metadata.totalRetryDelay=d;throw a}u=e.getRetryCount();const i=e.getRetryDelay();d+=i;await new Promise((e=>setTimeout(e,i)))}}}else{s=s;if(s==null?void 0:s.mode)r.userAgent=[...r.userAgent||[],["cfg/retry-mode",s.mode]];return s.retry(t,n)}}),"retryMiddleware");var P=__name((e=>typeof e.acquireInitialRetryToken!=="undefined"&&typeof e.refreshRetryTokenForRetry!=="undefined"&&typeof e.recordSuccess!=="undefined"),"isRetryStrategyV2");var O=__name((e=>{const t={error:e,errorType:U(e)};const r=H(e.$response);if(r){t.retryAfterHint=r}return t}),"getRetryErrorInfo");var U=__name((e=>{if((0,g.isThrottlingError)(e))return"THROTTLING";if((0,g.isTransientError)(e))return"TRANSIENT";if((0,g.isServerError)(e))return"SERVER_ERROR";return"CLIENT_ERROR"}),"getRetryErrorType");var M={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:true};var L=__name((e=>({applyToStack:t=>{t.add(x(e),M)}})),"getRetryPlugin");var H=__name((e=>{if(!A.HttpResponse.isInstance(e))return;const t=Object.keys(e.headers).find((e=>e.toLowerCase()==="retry-after"));if(!t)return;const r=e.headers[t];const n=Number(r);if(!Number.isNaN(n))return new Date(n*1e3);const o=new Date(r);return o}),"getRetryAfterHint");0&&0},8977:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.isStreamingPayload=void 0;const n=r(2781);const isStreamingPayload=e=>(e===null||e===void 0?void 0:e.body)instanceof n.Readable||typeof ReadableStream!=="undefined"&&(e===null||e===void 0?void 0:e.body)instanceof ReadableStream;t.isStreamingPayload=isStreamingPayload},7761:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return A.default}});var n=_interopRequireDefault(r(6310));var o=_interopRequireDefault(r(9465));var s=_interopRequireDefault(r(6001));var i=_interopRequireDefault(r(8310));var a=_interopRequireDefault(r(3436));var A=_interopRequireDefault(r(7780));var c=_interopRequireDefault(r(6992));var l=_interopRequireDefault(r(9618));var u=_interopRequireDefault(r(86));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},1380:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("md5").update(e).digest()}var o=md5;t["default"]=o},4672:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o={randomUUID:n.default.randomUUID};t["default"]=o},3436:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r="00000000-0000-0000-0000-000000000000";t["default"]=r},86:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6992));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}let t;const r=new Uint8Array(16);r[0]=(t=parseInt(e.slice(0,8),16))>>>24;r[1]=t>>>16&255;r[2]=t>>>8&255;r[3]=t&255;r[4]=(t=parseInt(e.slice(9,13),16))>>>8;r[5]=t&255;r[6]=(t=parseInt(e.slice(14,18),16))>>>8;r[7]=t&255;r[8]=(t=parseInt(e.slice(19,23),16))>>>8;r[9]=t&255;r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;r[11]=t/4294967296&255;r[12]=t>>>24&255;r[13]=t>>>16&255;r[14]=t>>>8&255;r[15]=t&255;return r}var o=parse;t["default"]=o},3194:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=r},8136:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=new Uint8Array(256);let s=o.length;function rng(){if(s>o.length-16){n.default.randomFillSync(o);s=0}return o.slice(s,s+=16)}},6679:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("sha1").update(e).digest()}var o=sha1;t["default"]=o},9618:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.unsafeStringify=unsafeStringify;var n=_interopRequireDefault(r(6992));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=[];for(let e=0;e<256;++e){o.push((e+256).toString(16).slice(1))}function unsafeStringify(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}function stringify(e,t=0){const r=unsafeStringify(e,t);if(!(0,n.default)(r)){throw TypeError("Stringified UUID is invalid")}return r}var s=stringify;t["default"]=s},6310:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(8136));var o=r(9618);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let s;let i;let a=0;let A=0;function v1(e,t,r){let c=t&&r||0;const l=t||new Array(16);e=e||{};let u=e.node||s;let d=e.clockseq!==undefined?e.clockseq:i;if(u==null||d==null){const t=e.random||(e.rng||n.default)();if(u==null){u=s=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(d==null){d=i=(t[6]<<8|t[7])&16383}}let g=e.msecs!==undefined?e.msecs:Date.now();let f=e.nsecs!==undefined?e.nsecs:A+1;const h=g-a+(f-A)/1e4;if(h<0&&e.clockseq===undefined){d=d+1&16383}if((h<0||g>a)&&e.nsecs===undefined){f=0}if(f>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}a=g;A=f;i=d;g+=122192928e5;const p=((g&268435455)*1e4+f)%4294967296;l[c++]=p>>>24&255;l[c++]=p>>>16&255;l[c++]=p>>>8&255;l[c++]=p&255;const E=g/4294967296*1e4&268435455;l[c++]=E>>>8&255;l[c++]=E&255;l[c++]=E>>>24&15|16;l[c++]=E>>>16&255;l[c++]=d>>>8|128;l[c++]=d&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,o.unsafeStringify)(l)}var c=v1;t["default"]=c},9465:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(2568));var o=_interopRequireDefault(r(1380));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v3",48,o.default);var i=s;t["default"]=i},2568:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.URL=t.DNS=void 0;t["default"]=v35;var n=r(9618);var o=_interopRequireDefault(r(86));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(4672));var o=_interopRequireDefault(r(8136));var s=r(9618);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,r){if(n.default.randomUUID&&!t&&!e){return n.default.randomUUID()}e=e||{};const i=e.random||(e.rng||o.default)();i[6]=i[6]&15|64;i[8]=i[8]&63|128;if(t){r=r||0;for(let e=0;e<16;++e){t[r+e]=i[e]}return t}return(0,s.unsafeStringify)(i)}var i=v4;t["default"]=i},8310:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(2568));var o=_interopRequireDefault(r(6679));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v5",80,o.default);var i=s;t["default"]=i},6992:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(3194));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&n.default.test(e)}var o=validate;t["default"]=o},7780:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6992));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.slice(14,15),16)}var o=version;t["default"]=o},1238:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{deserializerMiddleware:()=>i,deserializerMiddlewareOption:()=>A,getSerdePlugin:()=>getSerdePlugin,serializerMiddleware:()=>a,serializerMiddlewareOption:()=>c});e.exports=__toCommonJS(s);var i=__name(((e,t)=>r=>async n=>{const{response:o}=await r(n);try{const r=await t(o,e);return{response:o,output:r}}catch(e){Object.defineProperty(e,"$response",{value:o});if(!("$metadata"in e)){const t=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;e.message+="\n "+t;if(typeof e.$responseBodyText!=="undefined"){if(e.$response){e.$response.body=e.$responseBodyText}}}throw e}}),"deserializerMiddleware");var a=__name(((e,t)=>(r,n)=>async o=>{var s;const i=((s=n.endpointV2)==null?void 0:s.url)&&e.urlParser?async()=>e.urlParser(n.endpointV2.url):e.endpoint;if(!i){throw new Error("No valid endpoint provider available.")}const a=await t(o.input,{...e,endpoint:i});return r({...o,request:a})}),"serializerMiddleware");var A={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:true};var c={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:true};function getSerdePlugin(e,t,r){return{applyToStack:n=>{n.add(i(e,r),A);n.add(a(e,t),c)}}}__name(getSerdePlugin,"getSerdePlugin");0&&0},7911:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{constructStack:()=>A});e.exports=__toCommonJS(s);var i=__name(((e,t)=>{const r=[];if(e){r.push(e)}if(t){for(const e of t){r.push(e)}}return r}),"getAllAliases");var a=__name(((e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`),"getMiddlewareNameWithAliases");var A=__name((()=>{let e=[];let t=[];let r=false;const n=new Set;const o=__name((e=>e.sort(((e,t)=>c[t.step]-c[e.step]||l[t.priority||"normal"]-l[e.priority||"normal"]))),"sort");const s=__name((r=>{let o=false;const s=__name((e=>{const t=i(e.name,e.aliases);if(t.includes(r)){o=true;for(const e of t){n.delete(e)}return false}return true}),"filterCb");e=e.filter(s);t=t.filter(s);return o}),"removeByName");const u=__name((r=>{let o=false;const s=__name((e=>{if(e.middleware===r){o=true;for(const t of i(e.name,e.aliases)){n.delete(t)}return false}return true}),"filterCb");e=e.filter(s);t=t.filter(s);return o}),"removeByReference");const d=__name((r=>{var n;e.forEach((e=>{r.add(e.middleware,{...e})}));t.forEach((e=>{r.addRelativeTo(e.middleware,{...e})}));(n=r.identifyOnResolve)==null?void 0:n.call(r,h.identifyOnResolve());return r}),"cloneTo");const g=__name((e=>{const t=[];e.before.forEach((e=>{if(e.before.length===0&&e.after.length===0){t.push(e)}else{t.push(...g(e))}}));t.push(e);e.after.reverse().forEach((e=>{if(e.before.length===0&&e.after.length===0){t.push(e)}else{t.push(...g(e))}}));return t}),"expandRelativeMiddlewareList");const f=__name(((r=false)=>{const n=[];const s=[];const A={};e.forEach((e=>{const t={...e,before:[],after:[]};for(const e of i(t.name,t.aliases)){A[e]=t}n.push(t)}));t.forEach((e=>{const t={...e,before:[],after:[]};for(const e of i(t.name,t.aliases)){A[e]=t}s.push(t)}));s.forEach((e=>{if(e.toMiddleware){const t=A[e.toMiddleware];if(t===void 0){if(r){return}throw new Error(`${e.toMiddleware} is not found when adding ${a(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}if(e.relation==="after"){t.after.push(e)}if(e.relation==="before"){t.before.push(e)}}}));const c=o(n).map(g).reduce(((e,t)=>{e.push(...t);return e}),[]);return c}),"getMiddlewareList");const h={add:(t,r={})=>{const{name:o,override:s,aliases:A}=r;const c={step:"initialize",priority:"normal",middleware:t,...r};const l=i(o,A);if(l.length>0){if(l.some((e=>n.has(e)))){if(!s)throw new Error(`Duplicate middleware name '${a(o,A)}'`);for(const t of l){const r=e.findIndex((e=>{var r;return e.name===t||((r=e.aliases)==null?void 0:r.some((e=>e===t)))}));if(r===-1){continue}const n=e[r];if(n.step!==c.step||c.priority!==n.priority){throw new Error(`"${a(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${a(o,A)}" middleware with ${c.priority} priority in ${c.step} step.`)}e.splice(r,1)}}for(const e of l){n.add(e)}}e.push(c)},addRelativeTo:(e,r)=>{const{name:o,override:s,aliases:A}=r;const c={middleware:e,...r};const l=i(o,A);if(l.length>0){if(l.some((e=>n.has(e)))){if(!s)throw new Error(`Duplicate middleware name '${a(o,A)}'`);for(const e of l){const r=t.findIndex((t=>{var r;return t.name===e||((r=t.aliases)==null?void 0:r.some((t=>t===e)))}));if(r===-1){continue}const n=t[r];if(n.toMiddleware!==c.toMiddleware||n.relation!==c.relation){throw new Error(`"${a(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${a(o,A)}" middleware ${c.relation} "${c.toMiddleware}" middleware.`)}t.splice(r,1)}}for(const e of l){n.add(e)}}t.push(c)},clone:()=>d(A()),use:e=>{e.applyToStack(h)},remove:e=>{if(typeof e==="string")return s(e);else return u(e)},removeByTag:r=>{let o=false;const s=__name((e=>{const{tags:t,name:s,aliases:a}=e;if(t&&t.includes(r)){const e=i(s,a);for(const t of e){n.delete(t)}o=true;return false}return true}),"filterCb");e=e.filter(s);t=t.filter(s);return o},concat:e=>{var t;const n=d(A());n.use(e);n.identifyOnResolve(r||n.identifyOnResolve()||(((t=e.identifyOnResolve)==null?void 0:t.call(e))??false));return n},applyToStack:d,identify:()=>f(true).map((e=>{const t=e.step??e.relation+" "+e.toMiddleware;return a(e.name,e.aliases)+" - "+t})),identifyOnResolve(e){if(typeof e==="boolean")r=e;return r},resolve:(e,t)=>{for(const r of f().map((e=>e.middleware)).reverse()){e=r(e,t)}if(r){console.log(h.identify())}return e}};return h}),"constructStack");var c={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1};var l={high:3,normal:2,low:1};0&&0},3461:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{loadConfig:()=>f});e.exports=__toCommonJS(a);var A=r(9721);function getSelectorName(e){try{const t=new Set(Array.from(e.match(/([A-Z_]){3,}/g)??[]));t.delete("CONFIG");t.delete("CONFIG_PREFIX_SEPARATOR");t.delete("ENV");return[...t].join(", ")}catch(t){return e}}__name(getSelectorName,"getSelectorName");var c=__name(((e,t)=>async()=>{try{const t=e(process.env);if(t===void 0){throw new Error}return t}catch(r){throw new A.CredentialsProviderError(r.message||`Not found in ENV: ${getSelectorName(e.toString())}`,{logger:t})}}),"fromEnv");var l=r(3507);var u=__name(((e,{preferredFile:t="config",...r}={})=>async()=>{const n=(0,l.getProfileName)(r);const{configFile:o,credentialsFile:s}=await(0,l.loadSharedConfigFiles)(r);const i=s[n]||{};const a=o[n]||{};const c=t==="config"?{...i,...a}:{...a,...i};try{const r=t==="config"?o:s;const n=e(c,r);if(n===void 0){throw new Error}return n}catch(t){throw new A.CredentialsProviderError(t.message||`Not found in config files w/ profile [${n}]: ${getSelectorName(e.toString())}`,{logger:r.logger})}}),"fromSharedConfigFiles");var d=__name((e=>typeof e==="function"),"isFunction");var g=__name((e=>d(e)?async()=>await e():(0,A.fromStatic)(e)),"fromStatic");var f=__name((({environmentVariableSelector:e,configFileSelector:t,default:r},n={})=>(0,A.memoize)((0,A.chain)(c(e),u(t,n),g(r)))),"loadConfig");0&&0},258:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{DEFAULT_REQUEST_TIMEOUT:()=>y,NodeHttp2Handler:()=>N,NodeHttpHandler:()=>B,streamCollector:()=>x});e.exports=__toCommonJS(c);var l=r(4418);var u=r(8031);var d=r(3685);var g=r(5687);var f=["ECONNRESET","EPIPE","ETIMEDOUT"];var h=__name((e=>{const t={};for(const r of Object.keys(e)){const n=e[r];t[r]=Array.isArray(n)?n.join(","):n}return t}),"getTransformedHeaders");var p=__name(((e,t,r=0)=>{if(!r){return}const n=setTimeout((()=>{e.destroy();t(Object.assign(new Error(`Socket timed out without establishing a connection within ${r} ms`),{name:"TimeoutError"}))}),r);e.on("socket",(e=>{if(e.connecting){e.on("connect",(()=>{clearTimeout(n)}))}else{clearTimeout(n)}}))}),"setConnectionTimeout");var E=__name(((e,{keepAlive:t,keepAliveMsecs:r})=>{if(t!==true){return}e.on("socket",(e=>{e.setKeepAlive(t,r||0)}))}),"setSocketKeepAlive");var C=__name(((e,t,r=0)=>{e.setTimeout(r,(()=>{e.destroy();t(Object.assign(new Error(`Connection timed out after ${r} ms`),{name:"TimeoutError"}))}))}),"setSocketTimeout");var m=r(2781);var I=1e3;async function writeRequestBody(e,t,r=I){const n=t.headers??{};const o=n["Expect"]||n["expect"];let s=-1;let i=false;if(o==="100-continue"){await Promise.race([new Promise((e=>{s=Number(setTimeout(e,Math.max(I,r)))})),new Promise((t=>{e.on("continue",(()=>{clearTimeout(s);t()}));e.on("error",(()=>{i=true;clearTimeout(s);t()}))}))])}if(!i){writeBody(e,t.body)}}__name(writeRequestBody,"writeRequestBody");function writeBody(e,t){if(t instanceof m.Readable){t.pipe(e);return}if(t){if(Buffer.isBuffer(t)||typeof t==="string"){e.end(t);return}const r=t;if(typeof r==="object"&&r.buffer&&typeof r.byteOffset==="number"&&typeof r.byteLength==="number"){e.end(Buffer.from(r.buffer,r.byteOffset,r.byteLength));return}e.end(Buffer.from(t));return}e.end()}__name(writeBody,"writeBody");var y=0;var Q=class _NodeHttpHandler{constructor(e){this.socketWarningTimestamp=0;this.metadata={handlerProtocol:"http/1.1"};this.configProvider=new Promise(((t,r)=>{if(typeof e==="function"){e().then((e=>{t(this.resolveDefaultConfig(e))})).catch(r)}else{t(this.resolveDefaultConfig(e))}}))}static create(e){if(typeof(e==null?void 0:e.handle)==="function"){return e}return new _NodeHttpHandler(e)}static checkSocketUsage(e,t){var r,n;const{sockets:o,requests:s,maxSockets:i}=e;if(typeof i!=="number"||i===Infinity){return t}const a=15e3;if(Date.now()-a=i&&a>=2*i){console.warn("@smithy/node-http-handler:WARN",`socket usage at capacity=${t} and ${a} additional requests are enqueued.`,"See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html","or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.");return Date.now()}}}return t}resolveDefaultConfig(e){const{requestTimeout:t,connectionTimeout:r,socketTimeout:n,httpAgent:o,httpsAgent:s}=e||{};const i=true;const a=50;return{connectionTimeout:r,requestTimeout:t??n,httpAgent:(()=>{if(o instanceof d.Agent||typeof(o==null?void 0:o.destroy)==="function"){return o}return new d.Agent({keepAlive:i,maxSockets:a,...o})})(),httpsAgent:(()=>{if(s instanceof g.Agent||typeof(s==null?void 0:s.destroy)==="function"){return s}return new g.Agent({keepAlive:i,maxSockets:a,...s})})()}}destroy(){var e,t,r,n;(t=(e=this.config)==null?void 0:e.httpAgent)==null?void 0:t.destroy();(n=(r=this.config)==null?void 0:r.httpsAgent)==null?void 0:n.destroy()}async handle(e,{abortSignal:t}={}){if(!this.config){this.config=await this.configProvider}let r;return new Promise(((n,o)=>{let s=void 0;const i=__name((async e=>{await s;clearTimeout(r);n(e)}),"resolve");const a=__name((async e=>{await s;o(e)}),"reject");if(!this.config){throw new Error("Node HTTP request handler config is not resolved")}if(t==null?void 0:t.aborted){const e=new Error("Request aborted");e.name="AbortError";a(e);return}const A=e.protocol==="https:";const c=A?this.config.httpsAgent:this.config.httpAgent;r=setTimeout((()=>{this.socketWarningTimestamp=_NodeHttpHandler.checkSocketUsage(c,this.socketWarningTimestamp)}),this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2e3)+(this.config.connectionTimeout??1e3));const m=(0,u.buildQueryString)(e.query||{});let I=void 0;if(e.username!=null||e.password!=null){const t=e.username??"";const r=e.password??"";I=`${t}:${r}`}let y=e.path;if(m){y+=`?${m}`}if(e.fragment){y+=`#${e.fragment}`}const Q={headers:e.headers,host:e.hostname,method:e.method,path:y,port:e.port,agent:c,auth:I};const B=A?g.request:d.request;const v=B(Q,(e=>{const t=new l.HttpResponse({statusCode:e.statusCode||-1,reason:e.statusMessage,headers:h(e.headers),body:e});i({response:t})}));v.on("error",(e=>{if(f.includes(e.code)){a(Object.assign(e,{name:"TimeoutError"}))}else{a(e)}}));p(v,a,this.config.connectionTimeout);C(v,a,this.config.requestTimeout);if(t){t.onabort=()=>{v.abort();const e=new Error("Request aborted");e.name="AbortError";a(e)}}const b=Q.agent;if(typeof b==="object"&&"keepAlive"in b){E(v,{keepAlive:b.keepAlive,keepAliveMsecs:b.keepAliveMsecs})}s=writeRequestBody(v,e,this.config.requestTimeout).catch(o)}))}updateHttpClientConfig(e,t){this.config=void 0;this.configProvider=this.configProvider.then((r=>({...r,[e]:t})))}httpHandlerConfigs(){return this.config??{}}};__name(Q,"NodeHttpHandler");var B=Q;var v=r(5158);var b=__toESM(r(5158));var w=class _NodeHttp2ConnectionPool{constructor(e){this.sessions=[];this.sessions=e??[]}poll(){if(this.sessions.length>0){return this.sessions.shift()}}offerLast(e){this.sessions.push(e)}contains(e){return this.sessions.includes(e)}remove(e){this.sessions=this.sessions.filter((t=>t!==e))}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(e){for(const t of this.sessions){if(t===e){if(!t.destroyed){t.destroy()}}}}};__name(w,"NodeHttp2ConnectionPool");var S=w;var R=class _NodeHttp2ConnectionManager{constructor(e){this.sessionCache=new Map;this.config=e;if(this.config.maxConcurrency&&this.config.maxConcurrency<=0){throw new RangeError("maxConcurrency must be greater than zero.")}}lease(e,t){const r=this.getUrlString(e);const n=this.sessionCache.get(r);if(n){const e=n.poll();if(e&&!this.config.disableConcurrency){return e}}const o=b.default.connect(r);if(this.config.maxConcurrency){o.settings({maxConcurrentStreams:this.config.maxConcurrency},(t=>{if(t){throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())}}))}o.unref();const s=__name((()=>{o.destroy();this.deleteSession(r,o)}),"destroySessionCb");o.on("goaway",s);o.on("error",s);o.on("frameError",s);o.on("close",(()=>this.deleteSession(r,o)));if(t.requestTimeout){o.setTimeout(t.requestTimeout,s)}const i=this.sessionCache.get(r)||new S;i.offerLast(o);this.sessionCache.set(r,i);return o}deleteSession(e,t){const r=this.sessionCache.get(e);if(!r){return}if(!r.contains(t)){return}r.remove(t);this.sessionCache.set(e,r)}release(e,t){var r;const n=this.getUrlString(e);(r=this.sessionCache.get(n))==null?void 0:r.offerLast(t)}destroy(){for(const[e,t]of this.sessionCache){for(const e of t){if(!e.destroyed){e.destroy()}t.remove(e)}this.sessionCache.delete(e)}}setMaxConcurrentStreams(e){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0){throw new RangeError("maxConcurrentStreams must be greater than zero.")}this.config.maxConcurrency=e}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}getUrlString(e){return e.destination.toString()}};__name(R,"NodeHttp2ConnectionManager");var D=R;var k=class _NodeHttp2Handler{constructor(e){this.metadata={handlerProtocol:"h2"};this.connectionManager=new D({});this.configProvider=new Promise(((t,r)=>{if(typeof e==="function"){e().then((e=>{t(e||{})})).catch(r)}else{t(e||{})}}))}static create(e){if(typeof(e==null?void 0:e.handle)==="function"){return e}return new _NodeHttp2Handler(e)}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t}={}){if(!this.config){this.config=await this.configProvider;this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||false);if(this.config.maxConcurrentStreams){this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}}const{requestTimeout:r,disableConcurrentStreams:n}=this.config;return new Promise(((o,s)=>{var i;let a=false;let A=void 0;const c=__name((async e=>{await A;o(e)}),"resolve");const d=__name((async e=>{await A;s(e)}),"reject");if(t==null?void 0:t.aborted){a=true;const e=new Error("Request aborted");e.name="AbortError";d(e);return}const{hostname:g,method:f,port:p,protocol:E,query:C}=e;let m="";if(e.username!=null||e.password!=null){const t=e.username??"";const r=e.password??"";m=`${t}:${r}@`}const I=`${E}//${m}${g}${p?`:${p}`:""}`;const y={destination:new URL(I)};const Q=this.connectionManager.lease(y,{requestTimeout:(i=this.config)==null?void 0:i.sessionTimeout,disableConcurrentStreams:n||false});const B=__name((e=>{if(n){this.destroySession(Q)}a=true;d(e)}),"rejectWithDestroy");const b=(0,u.buildQueryString)(C||{});let w=e.path;if(b){w+=`?${b}`}if(e.fragment){w+=`#${e.fragment}`}const S=Q.request({...e.headers,[v.constants.HTTP2_HEADER_PATH]:w,[v.constants.HTTP2_HEADER_METHOD]:f});Q.ref();S.on("response",(e=>{const t=new l.HttpResponse({statusCode:e[":status"]||-1,headers:h(e),body:S});a=true;c({response:t});if(n){Q.close();this.connectionManager.deleteSession(I,Q)}}));if(r){S.setTimeout(r,(()=>{S.close();const e=new Error(`Stream timed out because of no activity for ${r} ms`);e.name="TimeoutError";B(e)}))}if(t){t.onabort=()=>{S.close();const e=new Error("Request aborted");e.name="AbortError";B(e)}}S.on("frameError",((e,t,r)=>{B(new Error(`Frame type id ${e} in stream id ${r} has failed with code ${t}.`))}));S.on("error",B);S.on("aborted",(()=>{B(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${S.rstCode}.`))}));S.on("close",(()=>{Q.unref();if(n){Q.destroy()}if(!a){B(new Error("Unexpected error: http2 request did not get a response"))}}));A=writeRequestBody(S,e,r)}))}updateHttpClientConfig(e,t){this.config=void 0;this.configProvider=this.configProvider.then((r=>({...r,[e]:t})))}httpHandlerConfigs(){return this.config??{}}destroySession(e){if(!e.destroyed){e.destroy()}}};__name(k,"NodeHttp2Handler");var N=k;var F=class _Collector extends m.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(e,t,r){this.bufferedBytes.push(e);r()}};__name(F,"Collector");var T=F;var x=__name((e=>{if(P(e)){return collectReadableStream(e)}return new Promise(((t,r)=>{const n=new T;e.pipe(n);e.on("error",(e=>{n.end();r(e)}));n.on("error",r);n.on("finish",(function(){const e=new Uint8Array(Buffer.concat(this.bufferedBytes));t(e)}))}))}),"streamCollector");var P=__name((e=>typeof ReadableStream==="function"&&e instanceof ReadableStream),"isReadableStreamInstance");async function collectReadableStream(e){const t=[];const r=e.getReader();let n=false;let o=0;while(!n){const{done:e,value:s}=await r.read();if(s){t.push(s);o+=s.length}n=e}const s=new Uint8Array(o);let i=0;for(const e of t){s.set(e,i);i+=e.length}return s}__name(collectReadableStream,"collectReadableStream");0&&0},9721:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{CredentialsProviderError:()=>c,ProviderError:()=>a,TokenProviderError:()=>u,chain:()=>d,fromStatic:()=>g,memoize:()=>f});e.exports=__toCommonJS(s);var i=class _ProviderError extends Error{constructor(e,t=true){var r;let n;let o=true;if(typeof t==="boolean"){n=void 0;o=t}else if(t!=null&&typeof t==="object"){n=t.logger;o=t.tryNextLink??true}super(e);this.name="ProviderError";this.tryNextLink=o;Object.setPrototypeOf(this,_ProviderError.prototype);(r=n==null?void 0:n.debug)==null?void 0:r.call(n,`@smithy/property-provider ${o?"->":"(!)"} ${e}`)}static from(e,t=true){return Object.assign(new this(e.message,t),e)}};__name(i,"ProviderError");var a=i;var A=class _CredentialsProviderError extends a{constructor(e,t=true){super(e,t);this.name="CredentialsProviderError";Object.setPrototypeOf(this,_CredentialsProviderError.prototype)}};__name(A,"CredentialsProviderError");var c=A;var l=class _TokenProviderError extends a{constructor(e,t=true){super(e,t);this.name="TokenProviderError";Object.setPrototypeOf(this,_TokenProviderError.prototype)}};__name(l,"TokenProviderError");var u=l;var d=__name(((...e)=>async()=>{if(e.length===0){throw new a("No providers in chain")}let t;for(const r of e){try{const e=await r();return e}catch(e){t=e;if(e==null?void 0:e.tryNextLink){continue}throw e}}throw t}),"chain");var g=__name((e=>()=>Promise.resolve(e)),"fromStatic");var f=__name(((e,t,r)=>{let n;let o;let s;let i=false;const a=__name((async()=>{if(!o){o=e()}try{n=await o;s=true;i=false}finally{o=void 0}return n}),"coalesceProvider");if(t===void 0){return async e=>{if(!s||(e==null?void 0:e.forceRefresh)){n=await a()}return n}}return async e=>{if(!s||(e==null?void 0:e.forceRefresh)){n=await a()}if(i){return n}if(r&&!r(n)){i=true;return n}if(t(n)){await a();return n}return n}}),"memoize");0&&0},4418:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{Field:()=>d,Fields:()=>f,HttpRequest:()=>p,HttpResponse:()=>C,getHttpHandlerExtensionConfiguration:()=>A,isValidHostname:()=>isValidHostname,resolveHttpHandlerRuntimeConfig:()=>c});e.exports=__toCommonJS(a);var A=__name((e=>{let t=e.httpHandler;return{setHttpHandler(e){t=e},httpHandler(){return t},updateHttpClientConfig(e,r){t.updateHttpClientConfig(e,r)},httpHandlerConfigs(){return t.httpHandlerConfigs()}}}),"getHttpHandlerExtensionConfiguration");var c=__name((e=>({httpHandler:e.httpHandler()})),"resolveHttpHandlerRuntimeConfig");var l=r(5756);var u=class _Field{constructor({name:e,kind:t=l.FieldPosition.HEADER,values:r=[]}){this.name=e;this.kind=t;this.values=r}add(e){this.values.push(e)}set(e){this.values=e}remove(e){this.values=this.values.filter((t=>t!==e))}toString(){return this.values.map((e=>e.includes(",")||e.includes(" ")?`"${e}"`:e)).join(", ")}get(){return this.values}};__name(u,"Field");var d=u;var g=class _Fields{constructor({fields:e=[],encoding:t="utf-8"}){this.entries={};e.forEach(this.setField.bind(this));this.encoding=t}setField(e){this.entries[e.name.toLowerCase()]=e}getField(e){return this.entries[e.toLowerCase()]}removeField(e){delete this.entries[e.toLowerCase()]}getByType(e){return Object.values(this.entries).filter((t=>t.kind===e))}};__name(g,"Fields");var f=g;var h=class _HttpRequest{constructor(e){this.method=e.method||"GET";this.hostname=e.hostname||"localhost";this.port=e.port;this.query=e.query||{};this.headers=e.headers||{};this.body=e.body;this.protocol=e.protocol?e.protocol.slice(-1)!==":"?`${e.protocol}:`:e.protocol:"https:";this.path=e.path?e.path.charAt(0)!=="/"?`/${e.path}`:e.path:"/";this.username=e.username;this.password=e.password;this.fragment=e.fragment}static isInstance(e){if(!e)return false;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t["query"]==="object"&&typeof t["headers"]==="object"}clone(){const e=new _HttpRequest({...this,headers:{...this.headers}});if(e.query)e.query=cloneQuery(e.query);return e}};__name(h,"HttpRequest");var p=h;function cloneQuery(e){return Object.keys(e).reduce(((t,r)=>{const n=e[r];return{...t,[r]:Array.isArray(n)?[...n]:n}}),{})}__name(cloneQuery,"cloneQuery");var E=class _HttpResponse{constructor(e){this.statusCode=e.statusCode;this.reason=e.reason;this.headers=e.headers||{};this.body=e.body}static isInstance(e){if(!e)return false;const t=e;return typeof t.statusCode==="number"&&typeof t.headers==="object"}};__name(E,"HttpResponse");var C=E;function isValidHostname(e){const t=/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/;return t.test(e)}__name(isValidHostname,"isValidHostname");0&&0},8031:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{buildQueryString:()=>buildQueryString});e.exports=__toCommonJS(a);var A=r(4197);function buildQueryString(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];r=(0,A.escapeUri)(r);if(Array.isArray(n)){for(let e=0,o=n.length;e{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{parseQueryString:()=>parseQueryString});e.exports=__toCommonJS(s);function parseQueryString(e){const t={};e=e.replace(/^\?/,"");if(e){for(const r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e);if(n){n=decodeURIComponent(n)}if(!(e in t)){t[e]=n}else if(Array.isArray(t[e])){t[e].push(n)}else{t[e]=[t[e],n]}}}return t}__name(parseQueryString,"parseQueryString");0&&0},6375:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{isClockSkewCorrectedError:()=>g,isClockSkewError:()=>d,isRetryableByTrait:()=>u,isServerError:()=>p,isThrottlingError:()=>f,isTransientError:()=>h});e.exports=__toCommonJS(s);var i=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];var a=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];var A=["TimeoutError","RequestTimeout","RequestTimeoutException"];var c=[500,502,503,504];var l=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"];var u=__name((e=>e.$retryable!==void 0),"isRetryableByTrait");var d=__name((e=>i.includes(e.name)),"isClockSkewError");var g=__name((e=>{var t;return(t=e.$metadata)==null?void 0:t.clockSkewCorrected}),"isClockSkewCorrectedError");var f=__name((e=>{var t,r;return((t=e.$metadata)==null?void 0:t.httpStatusCode)===429||a.includes(e.name)||((r=e.$retryable)==null?void 0:r.throttling)==true}),"isThrottlingError");var h=__name((e=>{var t;return g(e)||A.includes(e.name)||l.includes((e==null?void 0:e.code)||"")||c.includes(((t=e.$metadata)==null?void 0:t.httpStatusCode)||0)}),"isTransientError");var p=__name((e=>{var t;if(((t=e.$metadata)==null?void 0:t.httpStatusCode)!==void 0){const t=e.$metadata.httpStatusCode;if(500<=t&&t<=599&&!h(e)){return true}return false}return false}),"isServerError");0&&0},8340:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getHomeDir=void 0;const n=r(2037);const o=r(1017);const s={};const getHomeDirCacheKey=()=>{if(process&&process.geteuid){return`${process.geteuid()}`}return"DEFAULT"};const getHomeDir=()=>{const{HOME:e,USERPROFILE:t,HOMEPATH:r,HOMEDRIVE:i=`C:${o.sep}`}=process.env;if(e)return e;if(t)return t;if(r)return`${i}${r}`;const a=getHomeDirCacheKey();if(!s[a])s[a]=(0,n.homedir)();return s[a]};t.getHomeDir=getHomeDir},4740:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSSOTokenFilepath=void 0;const n=r(6113);const o=r(1017);const s=r(8340);const getSSOTokenFilepath=e=>{const t=(0,n.createHash)("sha1");const r=t.update(e).digest("hex");return(0,o.join)((0,s.getHomeDir)(),".aws","sso","cache",`${r}.json`)};t.getSSOTokenFilepath=getSSOTokenFilepath},9678:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSSOTokenFromFile=void 0;const n=r(7147);const o=r(4740);const{readFile:s}=n.promises;const getSSOTokenFromFile=async e=>{const t=(0,o.getSSOTokenFilepath)(e);const r=await s(t,"utf8");return JSON.parse(r)};t.getSSOTokenFromFile=getSSOTokenFromFile},3507:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{CONFIG_PREFIX_SEPARATOR:()=>b,DEFAULT_PROFILE:()=>c,ENV_PROFILE:()=>A,getProfileName:()=>l,loadSharedConfigFiles:()=>w,loadSsoSessionData:()=>k,parseKnownFiles:()=>F});e.exports=__toCommonJS(a);__reExport(a,r(8340),e.exports);var A="AWS_PROFILE";var c="default";var l=__name((e=>e.profile||process.env[A]||c),"getProfileName");__reExport(a,r(4740),e.exports);__reExport(a,r(9678),e.exports);var u=r(5756);var d=__name((e=>Object.entries(e).filter((([e])=>{const t=e.indexOf(b);if(t===-1){return false}return Object.values(u.IniSectionType).includes(e.substring(0,t))})).reduce(((e,[t,r])=>{const n=t.indexOf(b);const o=t.substring(0,n)===u.IniSectionType.PROFILE?t.substring(n+1):t;e[o]=r;return e}),{...e.default&&{default:e.default}})),"getConfigData");var g=r(1017);var f=r(8340);var h="AWS_CONFIG_FILE";var p=__name((()=>process.env[h]||(0,g.join)((0,f.getHomeDir)(),".aws","config")),"getConfigFilepath");var E=r(8340);var C="AWS_SHARED_CREDENTIALS_FILE";var m=__name((()=>process.env[C]||(0,g.join)((0,E.getHomeDir)(),".aws","credentials")),"getCredentialsFilepath");var I=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;var y=["__proto__","profile __proto__"];var Q=__name((e=>{const t={};let r;let n;for(const o of e.split(/\r?\n/)){const e=o.split(/(^|\s)[;#]/)[0].trim();const s=e[0]==="["&&e[e.length-1]==="]";if(s){r=void 0;n=void 0;const t=e.substring(1,e.length-1);const o=I.exec(t);if(o){const[,e,,t]=o;if(Object.values(u.IniSectionType).includes(e)){r=[e,t].join(b)}}else{r=t}if(y.includes(t)){throw new Error(`Found invalid profile name "${t}"`)}}else if(r){const s=e.indexOf("=");if(![0,-1].includes(s)){const[i,a]=[e.substring(0,s).trim(),e.substring(s+1).trim()];if(a===""){n=i}else{if(n&&o.trimStart()===o){n=void 0}t[r]=t[r]||{};const e=n?[n,i].join(b):i;t[r][e]=a}}}}return t}),"parseIni");var B=r(9155);var v=__name((()=>({})),"swallowError");var b=".";var w=__name((async(e={})=>{const{filepath:t=m(),configFilepath:r=p()}=e;const n=await Promise.all([(0,B.slurpFile)(r,{ignoreCache:e.ignoreCache}).then(Q).then(d).catch(v),(0,B.slurpFile)(t,{ignoreCache:e.ignoreCache}).then(Q).catch(v)]);return{configFile:n[0],credentialsFile:n[1]}}),"loadSharedConfigFiles");var S=__name((e=>Object.entries(e).filter((([e])=>e.startsWith(u.IniSectionType.SSO_SESSION+b))).reduce(((e,[t,r])=>({...e,[t.substring(t.indexOf(b)+1)]:r})),{})),"getSsoSessionData");var R=r(9155);var D=__name((()=>({})),"swallowError");var k=__name((async(e={})=>(0,R.slurpFile)(e.configFilepath??p()).then(Q).then(S).catch(D)),"loadSsoSessionData");var N=__name(((...e)=>{const t={};for(const r of e){for(const[e,n]of Object.entries(r)){if(t[e]!==void 0){Object.assign(t[e],n)}else{t[e]=n}}}return t}),"mergeConfigFiles");var F=__name((async e=>{const t=await w(e);return N(t.configFile,t.credentialsFile)}),"parseKnownFiles");0&&0},9155:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.slurpFile=void 0;const n=r(7147);const{readFile:o}=n.promises;const s={};const slurpFile=(e,t)=>{if(!s[e]||(t===null||t===void 0?void 0:t.ignoreCache)){s[e]=o(e,"utf8")}return s[e]};t.slurpFile=slurpFile},1528:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{SignatureV4:()=>Ae,clearCredentialCache:()=>L,createScope:()=>U,getCanonicalHeaders:()=>j,getCanonicalQuery:()=>V,getPayloadHash:()=>q,getSigningKey:()=>M,moveHeadersToQuery:()=>ne,prepareRequest:()=>oe});e.exports=__toCommonJS(a);var A=r(2390);var c=r(1895);var l="X-Amz-Algorithm";var u="X-Amz-Credential";var d="X-Amz-Date";var g="X-Amz-SignedHeaders";var f="X-Amz-Expires";var h="X-Amz-Signature";var p="X-Amz-Security-Token";var E="authorization";var C=d.toLowerCase();var m="date";var I=[E,C,m];var y=h.toLowerCase();var Q="x-amz-content-sha256";var B=p.toLowerCase();var v={authorization:true,"cache-control":true,connection:true,expect:true,from:true,"keep-alive":true,"max-forwards":true,pragma:true,referer:true,te:true,trailer:true,"transfer-encoding":true,upgrade:true,"user-agent":true,"x-amzn-trace-id":true};var b=/^proxy-/;var w=/^sec-/;var S="AWS4-HMAC-SHA256";var R="AWS4-HMAC-SHA256-PAYLOAD";var D="UNSIGNED-PAYLOAD";var k=50;var N="aws4_request";var F=60*60*24*7;var T=r(5364);var x=r(1895);var P={};var O=[];var U=__name(((e,t,r)=>`${e}/${t}/${r}/${N}`),"createScope");var M=__name((async(e,t,r,n,o)=>{const s=await H(e,t.secretAccessKey,t.accessKeyId);const i=`${r}:${n}:${o}:${(0,T.toHex)(s)}:${t.sessionToken}`;if(i in P){return P[i]}O.push(i);while(O.length>k){delete P[O.shift()]}let a=`AWS4${t.secretAccessKey}`;for(const t of[r,n,o,N]){a=await H(e,a,t)}return P[i]=a}),"getSigningKey");var L=__name((()=>{O.length=0;Object.keys(P).forEach((e=>{delete P[e]}))}),"clearCredentialCache");var H=__name(((e,t,r)=>{const n=new e(t);n.update((0,x.toUint8Array)(r));return n.digest()}),"hmac");var j=__name((({headers:e},t,r)=>{const n={};for(const o of Object.keys(e).sort()){if(e[o]==void 0){continue}const s=o.toLowerCase();if(s in v||(t==null?void 0:t.has(s))||b.test(s)||w.test(s)){if(!r||r&&!r.has(s)){continue}}n[s]=e[o].trim().replace(/\s+/g," ")}return n}),"getCanonicalHeaders");var G=r(4197);var V=__name((({query:e={}})=>{const t=[];const r={};for(const n of Object.keys(e).sort()){if(n.toLowerCase()===y){continue}t.push(n);const o=e[n];if(typeof o==="string"){r[n]=`${(0,G.escapeUri)(n)}=${(0,G.escapeUri)(o)}`}else if(Array.isArray(o)){r[n]=o.slice(0).reduce(((e,t)=>e.concat([`${(0,G.escapeUri)(n)}=${(0,G.escapeUri)(t)}`])),[]).sort().join("&")}}return t.map((e=>r[e])).filter((e=>e)).join("&")}),"getCanonicalQuery");var Y=r(780);var J=r(1895);var q=__name((async({headers:e,body:t},r)=>{for(const t of Object.keys(e)){if(t.toLowerCase()===Q){return e[t]}}if(t==void 0){return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}else if(typeof t==="string"||ArrayBuffer.isView(t)||(0,Y.isArrayBuffer)(t)){const e=new r;e.update((0,J.toUint8Array)(t));return(0,T.toHex)(await e.digest())}return D}),"getPayloadHash");var $=r(1895);var W=class _HeaderFormatter{format(e){const t=[];for(const r of Object.keys(e)){const n=(0,$.fromUtf8)(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}const r=new Uint8Array(t.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const e of t){r.set(e,n);n+=e.byteLength}return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));t.setUint8(0,3);t.setInt16(1,e.value,false);return new Uint8Array(t.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));r.setUint8(0,4);r.setInt32(1,e.value,false);return new Uint8Array(r.buffer);case"long":const n=new Uint8Array(9);n[0]=5;n.set(e.value.bytes,1);return n;case"binary":const o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6);o.setUint16(1,e.value.byteLength,false);const s=new Uint8Array(o.buffer);s.set(e.value,3);return s;case"string":const i=(0,$.fromUtf8)(e.value);const a=new DataView(new ArrayBuffer(3+i.byteLength));a.setUint8(0,7);a.setUint16(1,i.byteLength,false);const A=new Uint8Array(a.buffer);A.set(i,3);return A;case"timestamp":const c=new Uint8Array(9);c[0]=8;c.set(X.fromNumber(e.value.valueOf()).bytes,1);return c;case"uuid":if(!K.test(e.value)){throw new Error(`Invalid UUID received: ${e.value}`)}const l=new Uint8Array(17);l[0]=9;l.set((0,T.fromHex)(e.value.replace(/\-/g,"")),1);return l}}};__name(W,"HeaderFormatter");var z=W;var K=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var Z=class _Int64{constructor(e){this.bytes=e;if(e.byteLength!==8){throw new Error("Int64 buffers must be exactly 8 bytes")}}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000){throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`)}const t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256){t[r]=n}if(e<0){negate(t)}return new _Int64(t)}valueOf(){const e=this.bytes.slice(0);const t=e[0]&128;if(t){negate(e)}return parseInt((0,T.toHex)(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}};__name(Z,"Int64");var X=Z;function negate(e){for(let t=0;t<8;t++){e[t]^=255}for(let t=7;t>-1;t--){e[t]++;if(e[t]!==0)break}}__name(negate,"negate");var ee=__name(((e,t)=>{e=e.toLowerCase();for(const r of Object.keys(t)){if(e===r.toLowerCase()){return true}}return false}),"hasHeader");var te=__name((({headers:e,query:t,...r})=>({...r,headers:{...e},query:t?re(t):void 0})),"cloneRequest");var re=__name((e=>Object.keys(e).reduce(((t,r)=>{const n=e[r];return{...t,[r]:Array.isArray(n)?[...n]:n}}),{})),"cloneQuery");var ne=__name(((e,t={})=>{var r;const{headers:n,query:o={}}=typeof e.clone==="function"?e.clone():te(e);for(const e of Object.keys(n)){const s=e.toLowerCase();if(s.slice(0,6)==="x-amz-"&&!((r=t.unhoistableHeaders)==null?void 0:r.has(s))){o[e]=n[e];delete n[e]}}return{...e,headers:n,query:o}}),"moveHeadersToQuery");var oe=__name((e=>{e=typeof e.clone==="function"?e.clone():te(e);for(const t of Object.keys(e.headers)){if(I.indexOf(t.toLowerCase())>-1){delete e.headers[t]}}return e}),"prepareRequest");var se=__name((e=>ie(e).toISOString().replace(/\.\d{3}Z$/,"Z")),"iso8601");var ie=__name((e=>{if(typeof e==="number"){return new Date(e*1e3)}if(typeof e==="string"){if(Number(e)){return new Date(Number(e)*1e3)}return new Date(e)}return e}),"toDate");var ae=class _SignatureV4{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:s=true}){this.headerFormatter=new z;this.service=n;this.sha256=o;this.uriEscapePath=s;this.applyChecksum=typeof e==="boolean"?e:true;this.regionProvider=(0,A.normalizeProvider)(r);this.credentialProvider=(0,A.normalizeProvider)(t)}async presign(e,t={}){const{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:o,unhoistableHeaders:s,signableHeaders:i,signingRegion:a,signingService:A}=t;const c=await this.credentialProvider();this.validateResolvedCredentials(c);const E=a??await this.regionProvider();const{longDate:C,shortDate:m}=ce(r);if(n>F){return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")}const I=U(m,E,A??this.service);const y=ne(oe(e),{unhoistableHeaders:s});if(c.sessionToken){y.query[p]=c.sessionToken}y.query[l]=S;y.query[u]=`${c.accessKeyId}/${I}`;y.query[d]=C;y.query[f]=n.toString(10);const Q=j(y,o,i);y.query[g]=le(Q);y.query[h]=await this.getSignature(C,I,this.getSigningKey(c,E,m,A),this.createCanonicalRequest(y,Q,await q(e,this.sha256)));return y}async sign(e,t){if(typeof e==="string"){return this.signString(e,t)}else if(e.headers&&e.payload){return this.signEvent(e,t)}else if(e.message){return this.signMessage(e,t)}else{return this.signRequest(e,t)}}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:o,signingService:s}){const i=o??await this.regionProvider();const{shortDate:a,longDate:A}=ce(r);const c=U(a,i,s??this.service);const l=await q({headers:{},body:t},this.sha256);const u=new this.sha256;u.update(e);const d=(0,T.toHex)(await u.digest());const g=[R,A,c,n,d,l].join("\n");return this.signString(g,{signingDate:r,signingRegion:i,signingService:s})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n}){const o=this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature});return o.then((t=>({message:e.message,signature:t})))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n}={}){const o=await this.credentialProvider();this.validateResolvedCredentials(o);const s=r??await this.regionProvider();const{shortDate:i}=ce(t);const a=new this.sha256(await this.getSigningKey(o,s,i,n));a.update((0,c.toUint8Array)(e));return(0,T.toHex)(await a.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:o,signingService:s}={}){const i=await this.credentialProvider();this.validateResolvedCredentials(i);const a=o??await this.regionProvider();const A=oe(e);const{longDate:c,shortDate:l}=ce(t);const u=U(l,a,s??this.service);A.headers[C]=c;if(i.sessionToken){A.headers[B]=i.sessionToken}const d=await q(A,this.sha256);if(!ee(Q,A.headers)&&this.applyChecksum){A.headers[Q]=d}const g=j(A,n,r);const f=await this.getSignature(c,u,this.getSigningKey(i,a,l,s),this.createCanonicalRequest(A,g,d));A.headers[E]=`${S} Credential=${i.accessKeyId}/${u}, SignedHeaders=${le(g)}, Signature=${f}`;return A}createCanonicalRequest(e,t,r){const n=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${V(e)}\n${n.map((e=>`${e}:${t[e]}`)).join("\n")}\n\n${n.join(";")}\n${r}`}async createStringToSign(e,t,r){const n=new this.sha256;n.update((0,c.toUint8Array)(r));const o=await n.digest();return`${S}\n${e}\n${t}\n${(0,T.toHex)(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const r of e.split("/")){if((r==null?void 0:r.length)===0)continue;if(r===".")continue;if(r===".."){t.pop()}else{t.push(r)}}const r=`${(e==null?void 0:e.startsWith("/"))?"/":""}${t.join("/")}${t.length>0&&(e==null?void 0:e.endsWith("/"))?"/":""}`;const n=(0,G.escapeUri)(r);return n.replace(/%2F/g,"/")}return e}async getSignature(e,t,r,n){const o=await this.createStringToSign(e,t,n);const s=new this.sha256(await r);s.update((0,c.toUint8Array)(o));return(0,T.toHex)(await s.digest())}getSigningKey(e,t,r,n){return M(this.sha256,e,r,t,n||this.service)}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string"){throw new Error("Resolved credential object is not valid")}}};__name(ae,"SignatureV4");var Ae=ae;var ce=__name((e=>{const t=se(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}),"formatDate");var le=__name((e=>Object.keys(e).sort().join(";")),"getCanonicalHeaderList");0&&0},3570:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{Client:()=>d,Command:()=>E,LazyJsonString:()=>Ye,NoOpLogger:()=>c,SENSITIVE_STRING:()=>I,ServiceException:()=>we,StringWrapper:()=>Ge,_json:()=>tt,collectBody:()=>f,convertMap:()=>Je,createAggregatedClient:()=>y,dateToUtcString:()=>dateToUtcString,decorateServiceException:()=>Se,emitWarningIfUnsupportedVersion:()=>Fe,expectBoolean:()=>B,expectByte:()=>N,expectFloat32:()=>w,expectInt:()=>R,expectInt32:()=>D,expectLong:()=>S,expectNonNull:()=>x,expectNumber:()=>v,expectObject:()=>P,expectShort:()=>k,expectString:()=>O,expectUnion:()=>U,extendedEncodeURIComponent:()=>extendedEncodeURIComponent,getArrayIfSingleItem:()=>He,getDefaultClientConfiguration:()=>Me,getDefaultExtensionConfiguration:()=>Ue,getValueFromTextNode:()=>je,handleFloat:()=>Y,limitedParseDouble:()=>V,limitedParseFloat:()=>J,limitedParseFloat32:()=>q,loadConfigsForDefaultMode:()=>Ne,logger:()=>te,map:()=>map,parseBoolean:()=>Q,parseEpochTimestamp:()=>de,parseRfc3339DateTime:()=>se,parseRfc3339DateTimeWithOffset:()=>ae,parseRfc7231DateTime:()=>ue,resolveDefaultRuntimeConfig:()=>Le,resolvedPath:()=>Ze,serializeDateTime:()=>et,serializeFloat:()=>Xe,splitEvery:()=>splitEvery,strictParseByte:()=>X,strictParseDouble:()=>M,strictParseFloat:()=>L,strictParseFloat32:()=>H,strictParseInt:()=>z,strictParseInt32:()=>K,strictParseLong:()=>W,strictParseShort:()=>Z,take:()=>qe,throwDefaultError:()=>Re,withBaseException:()=>De});e.exports=__toCommonJS(a);var A=class _NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}};__name(A,"NoOpLogger");var c=A;var l=r(7911);var u=class _Client{constructor(e){this.middlewareStack=(0,l.constructStack)();this.config=e}send(e,t,r){const n=typeof t!=="function"?t:void 0;const o=typeof t==="function"?t:r;const s=e.resolveMiddleware(this.middlewareStack,this.config,n);if(o){s(e).then((e=>o(null,e.output)),(e=>o(e))).catch((()=>{}))}else{return s(e).then((e=>e.output))}}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}};__name(u,"Client");var d=u;var g=r(6607);var f=__name((async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array){return g.Uint8ArrayBlobAdapter.mutate(e)}if(!e){return g.Uint8ArrayBlobAdapter.mutate(new Uint8Array)}const r=t.streamCollector(e);return g.Uint8ArrayBlobAdapter.mutate(await r)}),"collectBody");var h=r(5756);var p=class _Command{constructor(){this.middlewareStack=(0,l.constructStack)()}static classBuilder(){return new m}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:o,commandName:s,inputFilterSensitiveLog:i,outputFilterSensitiveLog:a,smithyContext:A,additionalContext:c,CommandCtor:l}){for(const o of n.bind(this)(l,e,t,r)){this.middlewareStack.use(o)}const u=e.concat(this.middlewareStack);const{logger:d}=t;const g={logger:d,clientName:o,commandName:s,inputFilterSensitiveLog:i,outputFilterSensitiveLog:a,[h.SMITHY_CONTEXT_KEY]:{...A},...c};const{requestHandler:f}=t;return u.resolve((e=>f.handle(e.request,r||{})),g)}};__name(p,"Command");var E=p;var C=class _ClassBuilder{constructor(){this._init=()=>{};this._ep={};this._middlewareFn=()=>[];this._commandName="";this._clientName="";this._additionalContext={};this._smithyContext={};this._inputFilterSensitiveLog=e=>e;this._outputFilterSensitiveLog=e=>e;this._serializer=null;this._deserializer=null}init(e){this._init=e}ep(e){this._ep=e;return this}m(e){this._middlewareFn=e;return this}s(e,t,r={}){this._smithyContext={service:e,operation:t,...r};return this}c(e={}){this._additionalContext=e;return this}n(e,t){this._clientName=e;this._commandName=t;return this}f(e=(e=>e),t=(e=>e)){this._inputFilterSensitiveLog=e;this._outputFilterSensitiveLog=t;return this}ser(e){this._serializer=e;return this}de(e){this._deserializer=e;return this}build(){var e;const t=this;let r;return r=(e=class extends E{constructor(...[e]){super();this.serialize=t._serializer;this.deserialize=t._deserializer;this.input=e??{};t._init(this)}static getEndpointParameterInstructions(){return t._ep}resolveMiddleware(e,n,o){return this.resolveMiddlewareWithContext(e,n,o,{CommandCtor:r,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog,outputFilterSensitiveLog:t._outputFilterSensitiveLog,smithyContext:t._smithyContext,additionalContext:t._additionalContext})}},__name(e,"CommandRef"),e)}};__name(C,"ClassBuilder");var m=C;var I="***SensitiveInformation***";var y=__name(((e,t)=>{for(const r of Object.keys(e)){const n=e[r];const o=__name((async function(e,t,r){const o=new n(e);if(typeof t==="function"){this.send(o,t)}else if(typeof r==="function"){if(typeof t!=="object")throw new Error(`Expected http options but got ${typeof t}`);this.send(o,t||{},r)}else{return this.send(o,t)}}),"methodImpl");const s=(r[0].toLowerCase()+r.slice(1)).replace(/Command$/,"");t.prototype[s]=o}}),"createAggregatedClient");var Q=__name((e=>{switch(e){case"true":return true;case"false":return false;default:throw new Error(`Unable to parse boolean value "${e}"`)}}),"parseBoolean");var B=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e==="number"){if(e===0||e===1){te.warn(ee(`Expected boolean, got ${typeof e}: ${e}`))}if(e===0){return false}if(e===1){return true}}if(typeof e==="string"){const t=e.toLowerCase();if(t==="false"||t==="true"){te.warn(ee(`Expected boolean, got ${typeof e}: ${e}`))}if(t==="false"){return false}if(t==="true"){return true}}if(typeof e==="boolean"){return e}throw new TypeError(`Expected boolean, got ${typeof e}: ${e}`)}),"expectBoolean");var v=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e==="string"){const t=parseFloat(e);if(!Number.isNaN(t)){if(String(t)!==String(e)){te.warn(ee(`Expected number but observed string: ${e}`))}return t}}if(typeof e==="number"){return e}throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}),"expectNumber");var b=Math.ceil(2**127*(2-2**-23));var w=__name((e=>{const t=v(e);if(t!==void 0&&!Number.isNaN(t)&&t!==Infinity&&t!==-Infinity){if(Math.abs(t)>b){throw new TypeError(`Expected 32-bit float, got ${e}`)}}return t}),"expectFloat32");var S=__name((e=>{if(e===null||e===void 0){return void 0}if(Number.isInteger(e)&&!Number.isNaN(e)){return e}throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}),"expectLong");var R=S;var D=__name((e=>F(e,32)),"expectInt32");var k=__name((e=>F(e,16)),"expectShort");var N=__name((e=>F(e,8)),"expectByte");var F=__name(((e,t)=>{const r=S(e);if(r!==void 0&&T(r,t)!==r){throw new TypeError(`Expected ${t}-bit integer, got ${e}`)}return r}),"expectSizedInt");var T=__name(((e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}}),"castInt");var x=__name(((e,t)=>{if(e===null||e===void 0){if(t){throw new TypeError(`Expected a non-null value for ${t}`)}throw new TypeError("Expected a non-null value")}return e}),"expectNonNull");var P=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e==="object"&&!Array.isArray(e)){return e}const t=Array.isArray(e)?"array":typeof e;throw new TypeError(`Expected object, got ${t}: ${e}`)}),"expectObject");var O=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e==="string"){return e}if(["boolean","number","bigint"].includes(typeof e)){te.warn(ee(`Expected string, got ${typeof e}: ${e}`));return String(e)}throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}),"expectString");var U=__name((e=>{if(e===null||e===void 0){return void 0}const t=P(e);const r=Object.entries(t).filter((([,e])=>e!=null)).map((([e])=>e));if(r.length===0){throw new TypeError(`Unions must have exactly one non-null member. None were found.`)}if(r.length>1){throw new TypeError(`Unions must have exactly one non-null member. Keys ${r} were not null.`)}return t}),"expectUnion");var M=__name((e=>{if(typeof e=="string"){return v(G(e))}return v(e)}),"strictParseDouble");var L=M;var H=__name((e=>{if(typeof e=="string"){return w(G(e))}return w(e)}),"strictParseFloat32");var j=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g;var G=__name((e=>{const t=e.match(j);if(t===null||t[0].length!==e.length){throw new TypeError(`Expected real number, got implicit NaN`)}return parseFloat(e)}),"parseNumber");var V=__name((e=>{if(typeof e=="string"){return $(e)}return v(e)}),"limitedParseDouble");var Y=V;var J=V;var q=__name((e=>{if(typeof e=="string"){return $(e)}return w(e)}),"limitedParseFloat32");var $=__name((e=>{switch(e){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return-Infinity;default:throw new Error(`Unable to parse float value: ${e}`)}}),"parseFloatString");var W=__name((e=>{if(typeof e==="string"){return S(G(e))}return S(e)}),"strictParseLong");var z=W;var K=__name((e=>{if(typeof e==="string"){return D(G(e))}return D(e)}),"strictParseInt32");var Z=__name((e=>{if(typeof e==="string"){return k(G(e))}return k(e)}),"strictParseShort");var X=__name((e=>{if(typeof e==="string"){return N(G(e))}return N(e)}),"strictParseByte");var ee=__name((e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((e=>!e.includes("stackTraceWarning"))).join("\n")),"stackTraceWarning");var te={warn:console.warn};var re=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var ne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dateToUtcString(e){const t=e.getUTCFullYear();const r=e.getUTCMonth();const n=e.getUTCDay();const o=e.getUTCDate();const s=e.getUTCHours();const i=e.getUTCMinutes();const a=e.getUTCSeconds();const A=o<10?`0${o}`:`${o}`;const c=s<10?`0${s}`:`${s}`;const l=i<10?`0${i}`:`${i}`;const u=a<10?`0${a}`:`${a}`;return`${re[n]}, ${A} ${ne[r]} ${t} ${c}:${l}:${u} GMT`}__name(dateToUtcString,"dateToUtcString");var oe=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);var se=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const t=oe.exec(e);if(!t){throw new TypeError("Invalid RFC-3339 date-time value")}const[r,n,o,s,i,a,A,c]=t;const l=Z(ve(n));const u=ye(o,"month",1,12);const d=ye(s,"day",1,31);return ge(l,u,d,{hours:i,minutes:a,seconds:A,fractionalMilliseconds:c})}),"parseRfc3339DateTime");var ie=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/);var ae=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const t=ie.exec(e);if(!t){throw new TypeError("Invalid RFC-3339 date-time value")}const[r,n,o,s,i,a,A,c,l]=t;const u=Z(ve(n));const d=ye(o,"month",1,12);const g=ye(s,"day",1,31);const f=ge(u,d,g,{hours:i,minutes:a,seconds:A,fractionalMilliseconds:c});if(l.toUpperCase()!="Z"){f.setTime(f.getTime()-Be(l))}return f}),"parseRfc3339DateTimeWithOffset");var Ae=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);var ce=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);var le=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/);var ue=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e!=="string"){throw new TypeError("RFC-7231 date-times must be expressed as strings")}let t=Ae.exec(e);if(t){const[e,r,n,o,s,i,a,A]=t;return ge(Z(ve(o)),Ee(n),ye(r,"day",1,31),{hours:s,minutes:i,seconds:a,fractionalMilliseconds:A})}t=ce.exec(e);if(t){const[e,r,n,o,s,i,a,A]=t;return pe(ge(fe(o),Ee(n),ye(r,"day",1,31),{hours:s,minutes:i,seconds:a,fractionalMilliseconds:A}))}t=le.exec(e);if(t){const[e,r,n,o,s,i,a,A]=t;return ge(Z(ve(A)),Ee(r),ye(n.trimLeft(),"day",1,31),{hours:o,minutes:s,seconds:i,fractionalMilliseconds:a})}throw new TypeError("Invalid RFC-7231 date-time value")}),"parseRfc7231DateTime");var de=__name((e=>{if(e===null||e===void 0){return void 0}let t;if(typeof e==="number"){t=e}else if(typeof e==="string"){t=M(e)}else{throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation")}if(Number.isNaN(t)||t===Infinity||t===-Infinity){throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics")}return new Date(Math.round(t*1e3))}),"parseEpochTimestamp");var ge=__name(((e,t,r,n)=>{const o=t-1;me(e,o,r);return new Date(Date.UTC(e,o,r,ye(n.hours,"hour",0,23),ye(n.minutes,"minute",0,59),ye(n.seconds,"seconds",0,60),Qe(n.fractionalMilliseconds)))}),"buildDate");var fe=__name((e=>{const t=(new Date).getUTCFullYear();const r=Math.floor(t/100)*100+Z(ve(e));if(r{if(e.getTime()-(new Date).getTime()>he){return new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()))}return e}),"adjustRfc850Year");var Ee=__name((e=>{const t=ne.indexOf(e);if(t<0){throw new TypeError(`Invalid month: ${e}`)}return t+1}),"parseMonthByShortName");var Ce=[31,28,31,30,31,30,31,31,30,31,30,31];var me=__name(((e,t,r)=>{let n=Ce[t];if(t===1&&Ie(e)){n=29}if(r>n){throw new TypeError(`Invalid day for ${ne[t]} in ${e}: ${r}`)}}),"validateDayOfMonth");var Ie=__name((e=>e%4===0&&(e%100!==0||e%400===0)),"isLeapYear");var ye=__name(((e,t,r,n)=>{const o=X(ve(e));if(on){throw new TypeError(`${t} must be between ${r} and ${n}, inclusive`)}return o}),"parseDateValue");var Qe=__name((e=>{if(e===null||e===void 0){return 0}return H("0."+e)*1e3}),"parseMilliseconds");var Be=__name((e=>{const t=e[0];let r=1;if(t=="+"){r=1}else if(t=="-"){r=-1}else{throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`)}const n=Number(e.substring(1,3));const o=Number(e.substring(4,6));return r*(n*60+o)*60*1e3}),"parseOffsetToMilliseconds");var ve=__name((e=>{let t=0;while(t{Object.entries(t).filter((([,e])=>e!==void 0)).forEach((([t,r])=>{if(e[t]==void 0||e[t]===""){e[t]=r}}));const r=e.message||e.Message||"UnknownError";e.message=r;delete e.Message;return e}),"decorateServiceException");var Re=__name((({output:e,parsedBody:t,exceptionCtor:r,errorCode:n})=>{const o=ke(e);const s=o.httpStatusCode?o.httpStatusCode+"":void 0;const i=new r({name:(t==null?void 0:t.code)||(t==null?void 0:t.Code)||n||s||"UnknownError",$fault:"client",$metadata:o});throw Se(i,t)}),"throwDefaultError");var De=__name((e=>({output:t,parsedBody:r,errorCode:n})=>{Re({output:t,parsedBody:r,exceptionCtor:e,errorCode:n})}),"withBaseException");var ke=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var Ne=__name((e=>{switch(e){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}}),"loadConfigsForDefaultMode");var _e=false;var Fe=__name((e=>{if(e&&!_e&&parseInt(e.substring(1,e.indexOf(".")))<16){_e=true}}),"emitWarningIfUnsupportedVersion");var Te=__name((e=>{const t=[];for(const r in h.AlgorithmId){const n=h.AlgorithmId[r];if(e[n]===void 0){continue}t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(e){this._checksumAlgorithms.push(e)},checksumAlgorithms(){return this._checksumAlgorithms}}}),"getChecksumConfiguration");var xe=__name((e=>{const t={};e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()}));return t}),"resolveChecksumRuntimeConfig");var Pe=__name((e=>{let t=e.retryStrategy;return{setRetryStrategy(e){t=e},retryStrategy(){return t}}}),"getRetryConfiguration");var Oe=__name((e=>{const t={};t.retryStrategy=e.retryStrategy();return t}),"resolveRetryRuntimeConfig");var Ue=__name((e=>({...Te(e),...Pe(e)})),"getDefaultExtensionConfiguration");var Me=Ue;var Le=__name((e=>({...xe(e),...Oe(e)})),"resolveDefaultRuntimeConfig");function extendedEncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}__name(extendedEncodeURIComponent,"extendedEncodeURIComponent");var He=__name((e=>Array.isArray(e)?e:[e]),"getArrayIfSingleItem");var je=__name((e=>{const t="#text";for(const r in e){if(e.hasOwnProperty(r)&&e[r][t]!==void 0){e[r]=e[r][t]}else if(typeof e[r]==="object"&&e[r]!==null){e[r]=je(e[r])}}return e}),"getValueFromTextNode");var Ge=__name((function(){const e=Object.getPrototypeOf(this).constructor;const t=Function.bind.apply(String,[null,...arguments]);const r=new t;Object.setPrototypeOf(r,e.prototype);return r}),"StringWrapper");Ge.prototype=Object.create(String.prototype,{constructor:{value:Ge,enumerable:false,writable:true,configurable:true}});Object.setPrototypeOf(Ge,String);var Ve=class _LazyJsonString extends Ge{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(e){if(e instanceof _LazyJsonString){return e}else if(e instanceof String||typeof e==="string"){return new _LazyJsonString(e)}return new _LazyJsonString(JSON.stringify(e))}};__name(Ve,"LazyJsonString");var Ye=Ve;function map(e,t,r){let n;let o;let s;if(typeof t==="undefined"&&typeof r==="undefined"){n={};s=e}else{n=e;if(typeof t==="function"){o=t;s=r;return $e(n,o,s)}else{s=t}}for(const e of Object.keys(s)){if(!Array.isArray(s[e])){n[e]=s[e];continue}We(n,null,s,e)}return n}__name(map,"map");var Je=__name((e=>{const t={};for(const[r,n]of Object.entries(e||{})){t[r]=[,n]}return t}),"convertMap");var qe=__name(((e,t)=>{const r={};for(const n in t){We(r,e,t,n)}return r}),"take");var $e=__name(((e,t,r)=>map(e,Object.entries(r).reduce(((e,[r,n])=>{if(Array.isArray(n)){e[r]=n}else{if(typeof n==="function"){e[r]=[t,n()]}else{e[r]=[t,n]}}return e}),{}))),"mapWithFilter");var We=__name(((e,t,r,n)=>{if(t!==null){let o=r[n];if(typeof o==="function"){o=[,o]}const[s=ze,i=Ke,a=n]=o;if(typeof s==="function"&&s(t[a])||typeof s!=="function"&&!!s){e[n]=i(t[a])}return}let[o,s]=r[n];if(typeof s==="function"){let t;const r=o===void 0&&(t=s())!=null;const i=typeof o==="function"&&!!o(void 0)||typeof o!=="function"&&!!o;if(r){e[n]=t}else if(i){e[n]=s()}}else{const t=o===void 0&&s!=null;const r=typeof o==="function"&&!!o(s)||typeof o!=="function"&&!!o;if(t||r){e[n]=s}}}),"applyInstruction");var ze=__name((e=>e!=null),"nonNullish");var Ke=__name((e=>e),"pass");var Ze=__name(((e,t,r,n,o,s)=>{if(t!=null&&t[r]!==void 0){const t=n();if(t.length<=0){throw new Error("Empty value provided for input HTTP label: "+r+".")}e=e.replace(o,s?t.split("/").map((e=>extendedEncodeURIComponent(e))).join("/"):extendedEncodeURIComponent(t))}else{throw new Error("No value provided for input HTTP label: "+r+".")}return e}),"resolvedPath");var Xe=__name((e=>{if(e!==e){return"NaN"}switch(e){case Infinity:return"Infinity";case-Infinity:return"-Infinity";default:return e}}),"serializeFloat");var et=__name((e=>e.toISOString().replace(".000Z","Z")),"serializeDateTime");var tt=__name((e=>{if(e==null){return{}}if(Array.isArray(e)){return e.filter((e=>e!=null)).map(tt)}if(typeof e==="object"){const t={};for(const r of Object.keys(e)){if(e[r]==null){continue}t[r]=tt(e[r])}return t}return e}),"_json");function splitEvery(e,t,r){if(r<=0||!Number.isInteger(r)){throw new Error("Invalid number of delimiters ("+r+") for splitEvery.")}const n=e.split(t);if(r===1){return n}const o=[];let s="";for(let e=0;e{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{AlgorithmId:()=>c,EndpointURLScheme:()=>A,FieldPosition:()=>f,HttpApiKeyAuthLocation:()=>a,HttpAuthLocation:()=>i,IniSectionType:()=>p,RequestHandlerProtocol:()=>E,SMITHY_CONTEXT_KEY:()=>h,getDefaultClientConfiguration:()=>d,resolveDefaultRuntimeConfig:()=>g});e.exports=__toCommonJS(s);var i=(e=>{e["HEADER"]="header";e["QUERY"]="query";return e})(i||{});var a=(e=>{e["HEADER"]="header";e["QUERY"]="query";return e})(a||{});var A=(e=>{e["HTTP"]="http";e["HTTPS"]="https";return e})(A||{});var c=(e=>{e["MD5"]="md5";e["CRC32"]="crc32";e["CRC32C"]="crc32c";e["SHA1"]="sha1";e["SHA256"]="sha256";return e})(c||{});var l=__name((e=>{const t=[];if(e.sha256!==void 0){t.push({algorithmId:()=>"sha256",checksumConstructor:()=>e.sha256})}if(e.md5!=void 0){t.push({algorithmId:()=>"md5",checksumConstructor:()=>e.md5})}return{_checksumAlgorithms:t,addChecksumAlgorithm(e){this._checksumAlgorithms.push(e)},checksumAlgorithms(){return this._checksumAlgorithms}}}),"getChecksumConfiguration");var u=__name((e=>{const t={};e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()}));return t}),"resolveChecksumRuntimeConfig");var d=__name((e=>({...l(e)})),"getDefaultClientConfiguration");var g=__name((e=>({...u(e)})),"resolveDefaultRuntimeConfig");var f=(e=>{e[e["HEADER"]=0]="HEADER";e[e["TRAILER"]=1]="TRAILER";return e})(f||{});var h="__smithy_context";var p=(e=>{e["PROFILE"]="profile";e["SSO_SESSION"]="sso-session";e["SERVICES"]="services";return e})(p||{});var E=(e=>{e["HTTP_0_9"]="http/0.9";e["HTTP_1_0"]="http/1.0";e["TDS_8_0"]="tds/8.0";return e})(E||{});0&&0},4681:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{parseUrl:()=>c});e.exports=__toCommonJS(a);var A=r(4769);var c=__name((e=>{if(typeof e==="string"){return c(new URL(e))}const{hostname:t,pathname:r,port:n,protocol:o,search:s}=e;let i;if(s){i=(0,A.parseQueryString)(s)}return{hostname:t,port:n?parseInt(n):void 0,protocol:o,path:r,query:i}}),"parseUrl");0&&0},305:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.fromBase64=void 0;const n=r(1381);const o=/^[A-Za-z0-9+/]*={0,2}$/;const fromBase64=e=>{if(e.length*3%4!==0){throw new TypeError(`Incorrect padding on base64 string.`)}if(!o.exec(e)){throw new TypeError(`Invalid base64 string.`)}const t=(0,n.fromString)(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};t.fromBase64=fromBase64},5600:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};e.exports=__toCommonJS(a);__reExport(a,r(305),e.exports);__reExport(a,r(4730),e.exports);0&&0},4730:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.toBase64=void 0;const n=r(1381);const o=r(1895);const toBase64=e=>{let t;if(typeof e==="string"){t=(0,o.fromUtf8)(e)}else{t=e}if(typeof t!=="object"||typeof t.byteOffset!=="number"||typeof t.byteLength!=="number"){throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.")}return(0,n.fromArrayBuffer)(t.buffer,t.byteOffset,t.byteLength).toString("base64")};t.toBase64=toBase64},8075:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{calculateBodyLength:()=>c});e.exports=__toCommonJS(a);var A=r(7147);var c=__name((e=>{if(!e){return 0}if(typeof e==="string"){return Buffer.byteLength(e)}else if(typeof e.byteLength==="number"){return e.byteLength}else if(typeof e.size==="number"){return e.size}else if(typeof e.start==="number"&&typeof e.end==="number"){return e.end+1-e.start}else if(typeof e.path==="string"||Buffer.isBuffer(e.path)){return(0,A.lstatSync)(e.path).size}else if(typeof e.fd==="number"){return(0,A.fstatSync)(e.fd).size}throw new Error(`Body Length computation failed for ${e}`)}),"calculateBodyLength");0&&0},1381:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{fromArrayBuffer:()=>l,fromString:()=>u});e.exports=__toCommonJS(a);var A=r(780);var c=r(4300);var l=__name(((e,t=0,r=e.byteLength-t)=>{if(!(0,A.isArrayBuffer)(e)){throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`)}return c.Buffer.from(e,t,r)}),"fromArrayBuffer");var u=__name(((e,t)=>{if(typeof e!=="string"){throw new TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`)}return t?c.Buffer.from(e,t):c.Buffer.from(e)}),"fromString");0&&0},3375:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{SelectorType:()=>A,booleanSelector:()=>i,numberSelector:()=>a});e.exports=__toCommonJS(s);var i=__name(((e,t,r)=>{if(!(t in e))return void 0;if(e[t]==="true")return true;if(e[t]==="false")return false;throw new Error(`Cannot load ${r} "${t}". Expected "true" or "false", got ${e[t]}.`)}),"booleanSelector");var a=__name(((e,t,r)=>{if(!(t in e))return void 0;const n=parseInt(e[t],10);if(Number.isNaN(n)){throw new TypeError(`Cannot load ${r} '${t}'. Expected number, got '${e[t]}'.`)}return n}),"numberSelector");var A=(e=>{e["ENV"]="env";e["CONFIG"]="shared config entry";return e})(A||{});0&&0},2429:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{resolveDefaultsModeConfig:()=>Q});e.exports=__toCommonJS(c);var l=r(3098);var u=r(3461);var d=r(9721);var g="AWS_EXECUTION_ENV";var f="AWS_REGION";var h="AWS_DEFAULT_REGION";var p="AWS_EC2_METADATA_DISABLED";var E=["in-region","cross-region","mobile","standard","legacy"];var C="/latest/meta-data/placement/region";var m="AWS_DEFAULTS_MODE";var I="defaults_mode";var y={environmentVariableSelector:e=>e[m],configFileSelector:e=>e[I],default:"legacy"};var Q=__name((({region:e=(0,u.loadConfig)(l.NODE_REGION_CONFIG_OPTIONS),defaultsMode:t=(0,u.loadConfig)(y)}={})=>(0,d.memoize)((async()=>{const r=typeof t==="function"?await t():t;switch(r==null?void 0:r.toLowerCase()){case"auto":return B(e);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(r==null?void 0:r.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${E.join(", ")}, got ${r}`)}}))),"resolveDefaultsModeConfig");var B=__name((async e=>{if(e){const t=typeof e==="function"?await e():e;const r=await v();if(!r){return"standard"}if(t===r){return"in-region"}else{return"cross-region"}}return"standard"}),"resolveNodeDefaultsModeAuto");var v=__name((async()=>{if(process.env[g]&&(process.env[f]||process.env[h])){return process.env[f]??process.env[h]}if(!process.env[p]){try{const{getInstanceMetadataEndpoint:e,httpRequest:t}=await Promise.resolve().then((()=>__toESM(r(7477))));const n=await e();return(await t({...n,path:C})).toString()}catch(e){}}}),"inferPhysicalRegion");0&&0},5473:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{EndpointError:()=>h,customEndpointFunctions:()=>d,isIpAddress:()=>c,isValidHostLabel:()=>u,resolveEndpoint:()=>G});e.exports=__toCommonJS(a);var A=new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);var c=__name((e=>A.test(e)||e.startsWith("[")&&e.endsWith("]")),"isIpAddress");var l=new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);var u=__name(((e,t=false)=>{if(!t){return l.test(e)}const r=e.split(".");for(const e of r){if(!u(e)){return false}}return true}),"isValidHostLabel");var d={};var g="endpoints";function toDebugString(e){if(typeof e!=="object"||e==null){return e}if("ref"in e){return`$${toDebugString(e.ref)}`}if("fn"in e){return`${e.fn}(${(e.argv||[]).map(toDebugString).join(", ")})`}return JSON.stringify(e,null,2)}__name(toDebugString,"toDebugString");var f=class _EndpointError extends Error{constructor(e){super(e);this.name="EndpointError"}};__name(f,"EndpointError");var h=f;var p=__name(((e,t)=>e===t),"booleanEquals");var E=__name((e=>{const t=e.split(".");const r=[];for(const n of t){const t=n.indexOf("[");if(t!==-1){if(n.indexOf("]")!==n.length-1){throw new h(`Path: '${e}' does not end with ']'`)}const o=n.slice(t+1,-1);if(Number.isNaN(parseInt(o))){throw new h(`Invalid array index: '${o}' in path: '${e}'`)}if(t!==0){r.push(n.slice(0,t))}r.push(o)}else{r.push(n)}}return r}),"getAttrPathList");var C=__name(((e,t)=>E(t).reduce(((r,n)=>{if(typeof r!=="object"){throw new h(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`)}else if(Array.isArray(r)){return r[parseInt(n)]}return r[n]}),e)),"getAttr");var m=__name((e=>e!=null),"isSet");var I=__name((e=>!e),"not");var y=r(5756);var Q={[y.EndpointURLScheme.HTTP]:80,[y.EndpointURLScheme.HTTPS]:443};var B=__name((e=>{const t=(()=>{try{if(e instanceof URL){return e}if(typeof e==="object"&&"hostname"in e){const{hostname:t,port:r,protocol:n="",path:o="",query:s={}}=e;const i=new URL(`${n}//${t}${r?`:${r}`:""}${o}`);i.search=Object.entries(s).map((([e,t])=>`${e}=${t}`)).join("&");return i}return new URL(e)}catch(e){return null}})();if(!t){console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`);return null}const r=t.href;const{host:n,hostname:o,pathname:s,protocol:i,search:a}=t;if(a){return null}const A=i.slice(0,-1);if(!Object.values(y.EndpointURLScheme).includes(A)){return null}const l=c(o);const u=r.includes(`${n}:${Q[A]}`)||typeof e==="string"&&e.includes(`${n}:${Q[A]}`);const d=`${n}${u?`:${Q[A]}`:``}`;return{scheme:A,authority:d,path:s,normalizedPath:s.endsWith("/")?s:`${s}/`,isIp:l}}),"parseURL");var v=__name(((e,t)=>e===t),"stringEquals");var b=__name(((e,t,r,n)=>{if(t>=r||e.lengthencodeURIComponent(e).replace(/[!*'()]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))),"uriEncode");var S={booleanEquals:p,getAttr:C,isSet:m,isValidHostLabel:u,not:I,parseURL:B,stringEquals:v,substring:b,uriEncode:w};var R=__name(((e,t)=>{const r=[];const n={...t.endpointParams,...t.referenceRecord};let o=0;while(o{const r={...t.endpointParams,...t.referenceRecord};return r[e]}),"getReferenceValue");var k=__name(((e,t,r)=>{if(typeof e==="string"){return R(e,r)}else if(e["fn"]){return N(e,r)}else if(e["ref"]){return D(e,r)}throw new h(`'${t}': ${String(e)} is not a string, function or reference.`)}),"evaluateExpression");var N=__name((({fn:e,argv:t},r)=>{const n=t.map((e=>["boolean","number"].includes(typeof e)?e:k(e,"arg",r)));const o=e.split(".");if(o[0]in d&&o[1]!=null){return d[o[0]][o[1]](...n)}return S[e](...n)}),"callFunction");var F=__name((({assign:e,...t},r)=>{var n,o;if(e&&e in r.referenceRecord){throw new h(`'${e}' is already defined in Reference Record.`)}const s=N(t,r);(o=(n=r.logger)==null?void 0:n.debug)==null?void 0:o.call(n,`${g} evaluateCondition: ${toDebugString(t)} = ${toDebugString(s)}`);return{result:s===""?true:!!s,...e!=null&&{toAssign:{name:e,value:s}}}}),"evaluateCondition");var T=__name(((e=[],t)=>{var r,n;const o={};for(const s of e){const{result:e,toAssign:i}=F(s,{...t,referenceRecord:{...t.referenceRecord,...o}});if(!e){return{result:e}}if(i){o[i.name]=i.value;(n=(r=t.logger)==null?void 0:r.debug)==null?void 0:n.call(r,`${g} assign: ${i.name} := ${toDebugString(i.value)}`)}}return{result:true,referenceRecord:o}}),"evaluateConditions");var x=__name(((e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:n.map((e=>{const n=k(e,"Header value entry",t);if(typeof n!=="string"){throw new h(`Header '${r}' value '${n}' is not a string`)}return n}))})),{})),"getEndpointHeaders");var P=__name(((e,t)=>{if(Array.isArray(e)){return e.map((e=>P(e,t)))}switch(typeof e){case"string":return R(e,t);case"object":if(e===null){throw new h(`Unexpected endpoint property: ${e}`)}return O(e,t);case"boolean":return e;default:throw new h(`Unexpected endpoint property type: ${typeof e}`)}}),"getEndpointProperty");var O=__name(((e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:P(n,t)})),{})),"getEndpointProperties");var U=__name(((e,t)=>{const r=k(e,"Endpoint URL",t);if(typeof r==="string"){try{return new URL(r)}catch(e){console.error(`Failed to construct URL with ${r}`,e);throw e}}throw new h(`Endpoint URL must be a string, got ${typeof r}`)}),"getEndpointUrl");var M=__name(((e,t)=>{var r,n;const{conditions:o,endpoint:s}=e;const{result:i,referenceRecord:a}=T(o,t);if(!i){return}const A={...t,referenceRecord:{...t.referenceRecord,...a}};const{url:c,properties:l,headers:u}=s;(n=(r=t.logger)==null?void 0:r.debug)==null?void 0:n.call(r,`${g} Resolving endpoint from template: ${toDebugString(s)}`);return{...u!=void 0&&{headers:x(u,A)},...l!=void 0&&{properties:O(l,A)},url:U(c,A)}}),"evaluateEndpointRule");var L=__name(((e,t)=>{const{conditions:r,error:n}=e;const{result:o,referenceRecord:s}=T(r,t);if(!o){return}throw new h(k(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...s}}))}),"evaluateErrorRule");var H=__name(((e,t)=>{const{conditions:r,rules:n}=e;const{result:o,referenceRecord:s}=T(r,t);if(!o){return}return j(n,{...t,referenceRecord:{...t.referenceRecord,...s}})}),"evaluateTreeRule");var j=__name(((e,t)=>{for(const r of e){if(r.type==="endpoint"){const e=M(r,t);if(e){return e}}else if(r.type==="error"){L(r,t)}else if(r.type==="tree"){const e=H(r,t);if(e){return e}}else{throw new h(`Unknown endpoint rule: ${r}`)}}throw new h(`Rules evaluation failed`)}),"evaluateRules");var G=__name(((e,t)=>{var r,n,o,s,i;const{endpointParams:a,logger:A}=t;const{parameters:c,rules:l}=e;(n=(r=t.logger)==null?void 0:r.debug)==null?void 0:n.call(r,`${g} Initial EndpointParams: ${toDebugString(a)}`);const u=Object.entries(c).filter((([,e])=>e.default!=null)).map((([e,t])=>[e,t.default]));if(u.length>0){for(const[e,t]of u){a[e]=a[e]??t}}const d=Object.entries(c).filter((([,e])=>e.required)).map((([e])=>e));for(const e of d){if(a[e]==null){throw new h(`Missing required parameter: '${e}'`)}}const f=j(l,{endpointParams:a,logger:A,referenceRecord:{}});if((o=t.endpointParams)==null?void 0:o.Endpoint){try{const e=new URL(t.endpointParams.Endpoint);const{protocol:r,port:n}=e;f.url.protocol=r;f.url.port=n}catch(e){}}(i=(s=t.logger)==null?void 0:s.debug)==null?void 0:i.call(s,`${g} Resolved endpoint: ${toDebugString(f)}`);return f}),"resolveEndpoint");0&&0},5364:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{fromHex:()=>fromHex,toHex:()=>toHex});e.exports=__toCommonJS(s);var i={};var a={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();if(t.length===1){t=`0${t}`}i[e]=t;a[t]=e}function fromHex(e){if(e.length%2!==0){throw new Error("Hex encoded strings must have an even number length")}const t=new Uint8Array(e.length/2);for(let r=0;r{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{getSmithyContext:()=>c,normalizeProvider:()=>l});e.exports=__toCommonJS(a);var A=r(5756);var c=__name((e=>e[A.SMITHY_CONTEXT_KEY]||(e[A.SMITHY_CONTEXT_KEY]={})),"getSmithyContext");var l=__name((e=>{if(typeof e==="function")return e;const t=Promise.resolve(e);return()=>t}),"normalizeProvider");0&&0},4902:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AdaptiveRetryStrategy:()=>R,ConfiguredRetryStrategy:()=>k,DEFAULT_MAX_ATTEMPTS:()=>c,DEFAULT_RETRY_DELAY_BASE:()=>f,DEFAULT_RETRY_MODE:()=>l,DefaultRateLimiter:()=>g,INITIAL_RETRY_TOKENS:()=>E,INVOCATION_ID_HEADER:()=>y,MAXIMUM_RETRY_DELAY:()=>h,NO_RETRY_INCREMENT:()=>I,REQUEST_HEADER:()=>Q,RETRY_COST:()=>C,RETRY_MODES:()=>A,StandardRetryStrategy:()=>w,THROTTLING_RETRY_DELAY_BASE:()=>p,TIMEOUT_RETRY_COST:()=>m});e.exports=__toCommonJS(a);var A=(e=>{e["STANDARD"]="standard";e["ADAPTIVE"]="adaptive";return e})(A||{});var c=3;var l="standard";var u=r(6375);var d=class _DefaultRateLimiter{constructor(e){this.currentCapacity=0;this.enabled=false;this.lastMaxRate=0;this.measuredTxRate=0;this.requestCount=0;this.lastTimestamp=0;this.timeWindow=0;this.beta=(e==null?void 0:e.beta)??.7;this.minCapacity=(e==null?void 0:e.minCapacity)??1;this.minFillRate=(e==null?void 0:e.minFillRate)??.5;this.scaleConstant=(e==null?void 0:e.scaleConstant)??.4;this.smooth=(e==null?void 0:e.smooth)??.8;const t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t;this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds());this.fillRate=this.minFillRate;this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(!this.enabled){return}this.refillTokenBucket();if(e>this.currentCapacity){const t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise((e=>setTimeout(e,t)))}this.currentCapacity=this.currentCapacity-e}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}const t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t);this.lastTimestamp=e}updateClientSendingRate(e){let t;this.updateMeasuredRate();if((0,u.isThrottlingError)(e)){const e=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=e;this.calculateTimeWindow();this.lastThrottleTime=this.getCurrentTimeInSeconds();t=this.cubicThrottle(e);this.enableTokenBucket()}else{this.calculateTimeWindow();t=this.cubicSuccess(this.getCurrentTimeInSeconds())}const r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=true}updateTokenBucketRate(e){this.refillTokenBucket();this.fillRate=Math.max(e,this.minFillRate);this.maxCapacity=Math.max(e,this.minCapacity);this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const e=this.getCurrentTimeInSeconds();const t=Math.floor(e*2)/2;this.requestCount++;if(t>this.lastTxRateBucket){const e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth));this.requestCount=0;this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}};__name(d,"DefaultRateLimiter");var g=d;var f=100;var h=20*1e3;var p=500;var E=500;var C=5;var m=10;var I=1;var y="amz-sdk-invocation-id";var Q="amz-sdk-request";var B=__name((()=>{let e=f;const t=__name((t=>Math.floor(Math.min(h,Math.random()*2**t*e))),"computeNextBackoffDelay");const r=__name((t=>{e=t}),"setDelayBase");return{computeNextBackoffDelay:t,setDelayBase:r}}),"getDefaultRetryBackoffStrategy");var v=__name((({retryDelay:e,retryCount:t,retryCost:r})=>{const n=__name((()=>t),"getRetryCount");const o=__name((()=>Math.min(h,e)),"getRetryDelay");const s=__name((()=>r),"getRetryCost");return{getRetryCount:n,getRetryDelay:o,getRetryCost:s}}),"createDefaultRetryToken");var b=class _StandardRetryStrategy{constructor(e){this.maxAttempts=e;this.mode="standard";this.capacity=E;this.retryBackoffStrategy=B();this.maxAttemptsProvider=typeof e==="function"?e:async()=>e}async acquireInitialRetryToken(e){return v({retryDelay:f,retryCount:0})}async refreshRetryTokenForRetry(e,t){const r=await this.getMaxAttempts();if(this.shouldRetry(e,t,r)){const r=t.errorType;this.retryBackoffStrategy.setDelayBase(r==="THROTTLING"?p:f);const n=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount());const o=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,n):n;const s=this.getCapacityCost(r);this.capacity-=s;return v({retryDelay:o,retryCount:e.getRetryCount()+1,retryCost:s})}throw new Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(E,this.capacity+(e.getRetryCost()??I))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){console.warn(`Max attempts provider could not resolve. Using default of ${c}`);return c}}shouldRetry(e,t,r){const n=e.getRetryCount()+1;return n=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return e==="TRANSIENT"?m:C}isRetryableError(e){return e==="THROTTLING"||e==="TRANSIENT"}};__name(b,"StandardRetryStrategy");var w=b;var S=class _AdaptiveRetryStrategy{constructor(e,t){this.maxAttemptsProvider=e;this.mode="adaptive";const{rateLimiter:r}=t??{};this.rateLimiter=r??new g;this.standardRetryStrategy=new w(e)}async acquireInitialRetryToken(e){await this.rateLimiter.getSendToken();return this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){this.rateLimiter.updateClientSendingRate(t);return this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({});this.standardRetryStrategy.recordSuccess(e)}};__name(S,"AdaptiveRetryStrategy");var R=S;var D=class _ConfiguredRetryStrategy extends w{constructor(e,t=f){super(typeof e==="function"?e:async()=>e);if(typeof t==="number"){this.computeNextBackoffDelay=()=>t}else{this.computeNextBackoffDelay=t}}async refreshRetryTokenForRetry(e,t){const r=await super.refreshRetryTokenForRetry(e,t);r.getRetryDelay=()=>this.computeNextBackoffDelay(r.getRetryCount());return r}};__name(D,"ConfiguredRetryStrategy");var k=D;0&&0},3636:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getAwsChunkedEncodingStream=void 0;const n=r(2781);const getAwsChunkedEncodingStream=(e,t)=>{const{base64Encoder:r,bodyLengthChecker:o,checksumAlgorithmFn:s,checksumLocationName:i,streamHasher:a}=t;const A=r!==undefined&&s!==undefined&&i!==undefined&&a!==undefined;const c=A?a(s,e):undefined;const l=new n.Readable({read:()=>{}});e.on("data",(e=>{const t=o(e)||0;l.push(`${t.toString(16)}\r\n`);l.push(e);l.push("\r\n")}));e.on("end",(async()=>{l.push(`0\r\n`);if(A){const e=r(await c);l.push(`${i}:${e}\r\n`);l.push(`\r\n`)}l.push(null)}));return l};t.getAwsChunkedEncodingStream=getAwsChunkedEncodingStream},6607:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{Uint8ArrayBlobAdapter:()=>u});e.exports=__toCommonJS(a);var A=r(5600);var c=r(1895);function transformToString(e,t="utf-8"){if(t==="base64"){return(0,A.toBase64)(e)}return(0,c.toUtf8)(e)}__name(transformToString,"transformToString");function transformFromString(e,t){if(t==="base64"){return u.mutate((0,A.fromBase64)(e))}return u.mutate((0,c.fromUtf8)(e))}__name(transformFromString,"transformFromString");var l=class _Uint8ArrayBlobAdapter extends Uint8Array{static fromString(e,t="utf-8"){switch(typeof e){case"string":return transformFromString(e,t);default:throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}}static mutate(e){Object.setPrototypeOf(e,_Uint8ArrayBlobAdapter.prototype);return e}transformToString(e="utf-8"){return transformToString(this,e)}};__name(l,"Uint8ArrayBlobAdapter");var u=l;__reExport(a,r(3636),e.exports);__reExport(a,r(4515),e.exports);0&&0},2942:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.sdkStreamMixin=void 0;const n=r(2687);const o=r(5600);const s=r(5364);const i=r(1895);const a="The stream has already been transformed.";const sdkStreamMixin=e=>{var t,r;if(!isBlobInstance(e)&&!isReadableStreamInstance(e)){const n=((r=(t=e===null||e===void 0?void 0:e.__proto__)===null||t===void 0?void 0:t.constructor)===null||r===void 0?void 0:r.name)||e;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${n}`)}let A=false;const transformToByteArray=async()=>{if(A){throw new Error(a)}A=true;return await(0,n.streamCollector)(e)};const blobToWebStream=e=>{if(typeof e.stream!=="function"){throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\n"+"If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body")}return e.stream()};return Object.assign(e,{transformToByteArray:transformToByteArray,transformToString:async e=>{const t=await transformToByteArray();if(e==="base64"){return(0,o.toBase64)(t)}else if(e==="hex"){return(0,s.toHex)(t)}else if(e===undefined||e==="utf8"||e==="utf-8"){return(0,i.toUtf8)(t)}else if(typeof TextDecoder==="function"){return new TextDecoder(e).decode(t)}else{throw new Error("TextDecoder is not available, please make sure polyfill is provided.")}},transformToWebStream:()=>{if(A){throw new Error(a)}A=true;if(isBlobInstance(e)){return blobToWebStream(e)}else if(isReadableStreamInstance(e)){return e}else{throw new Error(`Cannot transform payload to web stream, got ${e}`)}}})};t.sdkStreamMixin=sdkStreamMixin;const isBlobInstance=e=>typeof Blob==="function"&&e instanceof Blob;const isReadableStreamInstance=e=>typeof ReadableStream==="function"&&e instanceof ReadableStream},4515:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.sdkStreamMixin=void 0;const n=r(258);const o=r(1381);const s=r(2781);const i=r(3837);const a=r(2942);const A="The stream has already been transformed.";const sdkStreamMixin=e=>{var t,r;if(!(e instanceof s.Readable)){try{return(0,a.sdkStreamMixin)(e)}catch(n){const o=((r=(t=e===null||e===void 0?void 0:e.__proto__)===null||t===void 0?void 0:t.constructor)===null||r===void 0?void 0:r.name)||e;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${o}`)}}let c=false;const transformToByteArray=async()=>{if(c){throw new Error(A)}c=true;return await(0,n.streamCollector)(e)};return Object.assign(e,{transformToByteArray:transformToByteArray,transformToString:async e=>{const t=await transformToByteArray();if(e===undefined||Buffer.isEncoding(e)){return(0,o.fromArrayBuffer)(t.buffer,t.byteOffset,t.byteLength).toString(e)}else{const r=new i.TextDecoder(e);return r.decode(t)}},transformToWebStream:()=>{if(c){throw new Error(A)}if(e.readableFlowing!==null){throw new Error("The stream has been consumed by other callbacks.")}if(typeof s.Readable.toWeb!=="function"){throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.")}c=true;return s.Readable.toWeb(e)}})};t.sdkStreamMixin=sdkStreamMixin},4197:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{escapeUri:()=>i,escapeUriPath:()=>A});e.exports=__toCommonJS(s);var i=__name((e=>encodeURIComponent(e).replace(/[!'()*]/g,a)),"escapeUri");var a=__name((e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),"hexEncode");var A=__name((e=>e.split("/").map(i).join("/")),"escapeUriPath");0&&0},1895:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{fromUtf8:()=>c,toUint8Array:()=>l,toUtf8:()=>u});e.exports=__toCommonJS(a);var A=r(1381);var c=__name((e=>{const t=(0,A.fromString)(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)}),"fromUtf8");var l=__name((e=>{if(typeof e==="string"){return c(e)}if(ArrayBuffer.isView(e)){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT)}return new Uint8Array(e)}),"toUint8Array");var u=__name((e=>{if(typeof e==="string"){return e}if(typeof e!=="object"||typeof e.byteOffset!=="number"||typeof e.byteLength!=="number"){throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.")}return(0,A.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("utf8")}),"toUtf8");0&&0},407:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.formatNames=t.fastFormats=t.fullFormats=void 0;function fmtDef(e,t){return{validate:e,compare:t}}t.fullFormats={date:fmtDef(date,compareDate),time:fmtDef(getTime(true),compareTime),"date-time":fmtDef(getDateTime(true),compareDateTime),"iso-time":fmtDef(getTime(),compareIsoTime),"iso-date-time":fmtDef(getDateTime(),compareIsoDateTime),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:uri,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?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d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:regex,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:byte,int32:{type:"number",validate:validateInt32},int64:{type:"number",validate:validateInt64},float:{type:"number",validate:validateNumber},double:{type:"number",validate:validateNumber},password:true,binary:true};t.fastFormats={...t.fullFormats,date:fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,compareDate),time:fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareTime),"date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareDateTime),"iso-time":fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareIsoTime),"iso-date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareIsoDateTime),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};t.formatNames=Object.keys(t.fullFormats);function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}const r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;const n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function date(e){const t=r.exec(e);if(!t)return false;const o=+t[1];const s=+t[2];const i=+t[3];return s>=1&&s<=12&&i>=1&&i<=(s===2&&isLeapYear(o)?29:n[s])}function compareDate(e,t){if(!(e&&t))return undefined;if(e>t)return 1;if(e23||l>59||e&&!a)return false;if(n<=23&&s<=59&&i<60)return true;const u=s-l*A;const d=n-c*A-(u<0?1:0);return(d===23||d===-1)&&(u===59||u===-1)&&i<61}}function compareTime(e,t){if(!(e&&t))return undefined;const r=new Date("2020-01-01T"+e).valueOf();const n=new Date("2020-01-01T"+t).valueOf();if(!(r&&n))return undefined;return r-n}function compareIsoTime(e,t){if(!(e&&t))return undefined;const r=o.exec(e);const n=o.exec(t);if(!(r&&n))return undefined;e=r[1]+r[2]+r[3];t=n[1]+n[2]+n[3];if(e>t)return 1;if(e=c}function validateInt64(e){return Number.isInteger(e)}function validateNumber(){return true}const u=/[^\\]\\Z/;function regex(e){if(u.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},567:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(407);const o=r(8433);const s=r(9179);const i=new s.Name("fullFormats");const a=new s.Name("fastFormats");const formatsPlugin=(e,t={keywords:true})=>{if(Array.isArray(t)){addFormats(e,t,n.fullFormats,i);return e}const[r,s]=t.mode==="fast"?[n.fastFormats,a]:[n.fullFormats,i];const A=t.formats||n.formatNames;addFormats(e,A,r,s);if(t.keywords)(0,o.default)(e);return e};formatsPlugin.get=(e,t="full")=>{const r=t==="fast"?n.fastFormats:n.fullFormats;const o=r[e];if(!o)throw new Error(`Unknown format "${e}"`);return o};function addFormats(e,t,r,n){var o;var i;(o=(i=e.opts.code).formats)!==null&&o!==void 0?o:i.formats=(0,s._)`require("ajv-formats/dist/formats").${n}`;for(const n of t)e.addFormat(n,r[n])}e.exports=t=formatsPlugin;Object.defineProperty(t,"__esModule",{value:true});t["default"]=formatsPlugin},8433:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.formatLimitDefinition=void 0;const n=r(2426);const o=r(9179);const s=o.operators;const i={formatMaximum:{okStr:"<=",ok:s.LTE,fail:s.GT},formatMinimum:{okStr:">=",ok:s.GTE,fail:s.LT},formatExclusiveMaximum:{okStr:"<",ok:s.LT,fail:s.GTE},formatExclusiveMinimum:{okStr:">",ok:s.GT,fail:s.LTE}};const a={message:({keyword:e,schemaCode:t})=>(0,o.str)`should be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,o._)`{comparison: ${i[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(i),type:"string",schemaType:"string",$data:true,error:a,code(e){const{gen:t,data:r,schemaCode:s,keyword:a,it:A}=e;const{opts:c,self:l}=A;if(!c.validateFormats)return;const u=new n.KeywordCxt(A,l.RULES.all.format.definition,"format");if(u.$data)validate$DataFormat();else validateFormat();function validate$DataFormat(){const r=t.scopeValue("formats",{ref:l.formats,code:c.code.formats});const n=t.const("fmt",(0,o._)`${r}[${u.schemaCode}]`);e.fail$data((0,o.or)((0,o._)`typeof ${n} != "object"`,(0,o._)`${n} instanceof RegExp`,(0,o._)`typeof ${n}.compare != "function"`,compareCode(n)))}function validateFormat(){const r=u.schema;const n=l.formats[r];if(!n||n===true)return;if(typeof n!="object"||n instanceof RegExp||typeof n.compare!="function"){throw new Error(`"${a}": format "${r}" does not define "compare" function`)}const s=t.scopeValue("formats",{key:r,ref:n,code:c.code.formats?(0,o._)`${c.code.formats}${(0,o.getProperty)(r)}`:undefined});e.fail$data(compareCode(s))}function compareCode(e){return(0,o._)`${e}.compare(${r}, ${s}) ${i[a].fail} 0`}},dependencies:["format"]};const formatLimitPlugin=e=>{e.addKeyword(t.formatLimitDefinition);return e};t["default"]=formatLimitPlugin},5988:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2019=void 0;const n=r(2685);const o=r(691);const s=r(9774);const i=r(6405);const a=r(3357);const A=r(4025);const c=r(5207);const l="https://json-schema.org/draft/2019-09/schema";class Ajv2019 extends n.default{constructor(e={}){super({...e,dynamicRef:true,next:true,unevaluated:true})}_addVocabularies(){super._addVocabularies();this.addVocabulary(s.default);o.default.forEach((e=>this.addVocabulary(e)));this.addVocabulary(i.default);this.addVocabulary(a.default);if(this.opts.discriminator)this.addKeyword(A.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;if(!t)return;c.default.call(this,e);this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:undefined)}}t.Ajv2019=Ajv2019;e.exports=t=Ajv2019;e.exports.Ajv2019=Ajv2019;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv2019;var u=r(8955);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return u.KeywordCxt}});var d=r(9179);Object.defineProperty(t,"_",{enumerable:true,get:function(){return d._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return d.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return d.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return d.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return d.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return d.CodeGen}});var g=r(7616);Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return g.default}});var f=r(8190);Object.defineProperty(t,"MissingRefError",{enumerable:true,get:function(){return f.default}})},2426:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const n=r(2685);const o=r(691);const s=r(4025);const i=r(98);const a=["/properties"];const A="http://json-schema.org/draft-07/schema";class Ajv extends n.default{_addVocabularies(){super._addVocabularies();o.default.forEach((e=>this.addVocabulary(e)));if(this.opts.discriminator)this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();if(!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(i,a):i;this.addMetaSchema(e,A,false);this.refs["http://json-schema.org/schema"]=A}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(A)?A:undefined)}}t.Ajv=Ajv;e.exports=t=Ajv;e.exports.Ajv=Ajv;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv;var c=r(8955);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return c.KeywordCxt}});var l=r(9179);Object.defineProperty(t,"_",{enumerable:true,get:function(){return l._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return l.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return l.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return l.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return l.CodeGen}});var u=r(7616);Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return u.default}});var d=r(8190);Object.defineProperty(t,"MissingRefError",{enumerable:true,get:function(){return d.default}})},8358:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class _CodeOrName{}t._CodeOrName=_CodeOrName;t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class Name extends _CodeOrName{constructor(e){super();if(!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return false}get names(){return{[this.str]:1}}}t.Name=Name;class _Code extends _CodeOrName{constructor(e){super();this._items=typeof e==="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return false;const e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce(((e,t)=>{if(t instanceof Name)e[t.str]=(e[t.str]||0)+1;return e}),{})}}t._Code=_Code;t.nil=new _Code("");function _(e,...t){const r=[e[0]];let n=0;while(n{Object.defineProperty(t,"__esModule",{value:true});t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=r(8358);const o=r(2893);var s=r(8358);Object.defineProperty(t,"_",{enumerable:true,get:function(){return s._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return s.str}});Object.defineProperty(t,"strConcat",{enumerable:true,get:function(){return s.strConcat}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return s.nil}});Object.defineProperty(t,"getProperty",{enumerable:true,get:function(){return s.getProperty}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return s.stringify}});Object.defineProperty(t,"regexpCode",{enumerable:true,get:function(){return s.regexpCode}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return s.Name}});var i=r(2893);Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return i.Scope}});Object.defineProperty(t,"ValueScope",{enumerable:true,get:function(){return i.ValueScope}});Object.defineProperty(t,"ValueScopeName",{enumerable:true,get:function(){return i.ValueScopeName}});Object.defineProperty(t,"varKinds",{enumerable:true,get:function(){return i.varKinds}});t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class Node{optimizeNodes(){return this}optimizeNames(e,t){return this}}class Def extends Node{constructor(e,t,r){super();this.varKind=e;this.name=t;this.rhs=r}render({es5:e,_n:t}){const r=e?o.varKinds.var:this.varKind;const n=this.rhs===undefined?"":` = ${this.rhs}`;return`${r} ${this.name}${n};`+t}optimizeNames(e,t){if(!e[this.name.str])return;if(this.rhs)this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class Assign extends Node{constructor(e,t,r){super();this.lhs=e;this.rhs=t;this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(this.lhs instanceof n.Name&&!e[this.lhs.str]&&!this.sideEffects)return;this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){const e=this.lhs instanceof n.Name?{}:{...this.lhs.names};return addExprNames(e,this.rhs)}}class AssignOp extends Assign{constructor(e,t,r,n){super(e,r,n);this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class Label extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){return`${this.label}:`+e}}class Break extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){const t=this.label?` ${this.label}`:"";return`break${t};`+e}}class Throw extends Node{constructor(e){super();this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class AnyCode extends Node{constructor(e){super();this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:undefined}optimizeNames(e,t){this.code=optimizeExpr(this.code,e,t);return this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class ParentNode extends Node{constructor(e=[]){super();this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;while(t--){const r=e[t].optimizeNodes();if(Array.isArray(r))e.splice(t,1,...r);else if(r)e[t]=r;else e.splice(t,1)}return e.length>0?this:undefined}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;while(n--){const o=r[n];if(o.optimizeNames(e,t))continue;subtractNames(e,o.names);r.splice(n,1)}return r.length>0?this:undefined}get names(){return this.nodes.reduce(((e,t)=>addNames(e,t.names)),{})}}class BlockNode extends ParentNode{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class Root extends ParentNode{}class Else extends BlockNode{}Else.kind="else";class If extends BlockNode{constructor(e,t){super(t);this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);if(this.else)t+="else "+this.else.render(e);return t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(e===true)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new Else(e):e}if(t){if(e===false)return t instanceof If?t:t.nodes;if(this.nodes.length)return this;return new If(not(e),t instanceof If?[t]:t.nodes)}if(e===false||!this.nodes.length)return undefined;return this}optimizeNames(e,t){var r;this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(e,t);if(!(super.optimizeNames(e,t)||this.else))return;this.condition=optimizeExpr(this.condition,e,t);return this}get names(){const e=super.names;addExprNames(e,this.condition);if(this.else)addNames(e,this.else.names);return e}}If.kind="if";class For extends BlockNode{}For.kind="for";class ForLoop extends For{constructor(e){super();this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iteration=optimizeExpr(this.iteration,e,t);return this}get names(){return addNames(super.names,this.iteration.names)}}class ForRange extends For{constructor(e,t,r,n){super();this.varKind=e;this.name=t;this.from=r;this.to=n}render(e){const t=e.es5?o.varKinds.var:this.varKind;const{name:r,from:n,to:s}=this;return`for(${t} ${r}=${n}; ${r}<${s}; ${r}++)`+super.render(e)}get names(){const e=addExprNames(super.names,this.from);return addExprNames(e,this.to)}}class ForIter extends For{constructor(e,t,r,n){super();this.loop=e;this.varKind=t;this.name=r;this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iterable=optimizeExpr(this.iterable,e,t);return this}get names(){return addNames(super.names,this.iterable.names)}}class Func extends BlockNode{constructor(e,t,r){super();this.name=e;this.args=t;this.async=r}render(e){const t=this.async?"async ":"";return`${t}function ${this.name}(${this.args})`+super.render(e)}}Func.kind="func";class Return extends ParentNode{render(e){return"return "+super.render(e)}}Return.kind="return";class Try extends BlockNode{render(e){let t="try"+super.render(e);if(this.catch)t+=this.catch.render(e);if(this.finally)t+=this.finally.render(e);return t}optimizeNodes(){var e,t;super.optimizeNodes();(e=this.catch)===null||e===void 0?void 0:e.optimizeNodes();(t=this.finally)===null||t===void 0?void 0:t.optimizeNodes();return this}optimizeNames(e,t){var r,n;super.optimizeNames(e,t);(r=this.catch)===null||r===void 0?void 0:r.optimizeNames(e,t);(n=this.finally)===null||n===void 0?void 0:n.optimizeNames(e,t);return this}get names(){const e=super.names;if(this.catch)addNames(e,this.catch.names);if(this.finally)addNames(e,this.finally.names);return e}}class Catch extends BlockNode{constructor(e){super();this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}Catch.kind="catch";class Finally extends BlockNode{render(e){return"finally"+super.render(e)}}Finally.kind="finally";class CodeGen{constructor(e,t={}){this._values={};this._blockStarts=[];this._constants={};this.opts={...t,_n:t.lines?"\n":""};this._extScope=e;this._scope=new o.Scope({parent:e});this._nodes=[new Root]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);const n=this._values[r.prefix]||(this._values[r.prefix]=new Set);n.add(r);return r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const o=this._scope.toName(t);if(r!==undefined&&n)this._constants[o.str]=r;this._leafNode(new Def(e,o,r));return o}const(e,t,r){return this._def(o.varKinds.const,e,t,r)}let(e,t,r){return this._def(o.varKinds.let,e,t,r)}var(e,t,r){return this._def(o.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new Assign(e,t,r))}add(e,r){return this._leafNode(new AssignOp(e,t.operators.ADD,r))}code(e){if(typeof e=="function")e();else if(e!==n.nil)this._leafNode(new AnyCode(e));return this}object(...e){const t=["{"];for(const[r,o]of e){if(t.length>1)t.push(",");t.push(r);if(r!==o||this.opts.es5){t.push(":");(0,n.addCodeArg)(t,o)}}t.push("}");return new n._Code(t)}if(e,t,r){this._blockNode(new If(e));if(t&&r){this.code(t).else().code(r).endIf()}else if(t){this.code(t).endIf()}else if(r){throw new Error('CodeGen: "else" body without "then" body')}return this}elseIf(e){return this._elseNode(new If(e))}else(){return this._elseNode(new Else)}endIf(){return this._endBlockNode(If,Else)}_for(e,t){this._blockNode(e);if(t)this.code(t).endFor();return this}for(e,t){return this._for(new ForLoop(e),t)}forRange(e,t,r,n,s=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const i=this._scope.toName(e);return this._for(new ForRange(s,i,t,r),(()=>n(i)))}forOf(e,t,r,s=o.varKinds.const){const i=this._scope.toName(e);if(this.opts.es5){const e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,n._)`${e}.length`,(t=>{this.var(i,(0,n._)`${e}[${t}]`);r(i)}))}return this._for(new ForIter("of",s,i,t),(()=>r(i)))}forIn(e,t,r,s=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties){return this.forOf(e,(0,n._)`Object.keys(${t})`,r)}const i=this._scope.toName(e);return this._for(new ForIter("in",s,i,t),(()=>r(i)))}endFor(){return this._endBlockNode(For)}label(e){return this._leafNode(new Label(e))}break(e){return this._leafNode(new Break(e))}return(e){const t=new Return;this._blockNode(t);this.code(e);if(t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Return)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new Try;this._blockNode(n);this.code(e);if(t){const e=this.name("e");this._currNode=n.catch=new Catch(e);t(e)}if(r){this._currNode=n.finally=new Finally;this.code(r)}return this._endBlockNode(Catch,Finally)}throw(e){return this._leafNode(new Throw(e))}block(e,t){this._blockStarts.push(this._nodes.length);if(e)this.code(e).endBlock(t);return this}endBlock(e){const t=this._blockStarts.pop();if(t===undefined)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||e!==undefined&&r!==e){throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`)}this._nodes.length=t;return this}func(e,t=n.nil,r,o){this._blockNode(new Func(e,t,r));if(o)this.code(o).endFunc();return this}endFunc(){return this._endBlockNode(Func)}optimize(e=1){while(e-- >0){this._root.optimizeNodes();this._root.optimizeNames(this._root.names,this._constants)}}_leafNode(e){this._currNode.nodes.push(e);return this}_blockNode(e){this._currNode.nodes.push(e);this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t){this._nodes.pop();return this}throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof If)){throw new Error('CodeGen: "else" without "if"')}this._currNode=t.else=e;return this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}}t.CodeGen=CodeGen;function addNames(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function addExprNames(e,t){return t instanceof n._CodeOrName?addNames(e,t.names):e}function optimizeExpr(e,t,r){if(e instanceof n.Name)return replaceName(e);if(!canOptimize(e))return e;return new n._Code(e._items.reduce(((e,t)=>{if(t instanceof n.Name)t=replaceName(t);if(t instanceof n._Code)e.push(...t._items);else e.push(t);return e}),[]));function replaceName(e){const n=r[e.str];if(n===undefined||t[e.str]!==1)return e;delete t[e.str];return n}function canOptimize(e){return e instanceof n._Code&&e._items.some((e=>e instanceof n.Name&&t[e.str]===1&&r[e.str]!==undefined))}}function subtractNames(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function not(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,n._)`!${par(e)}`}t.not=not;const a=mappend(t.operators.AND);function and(...e){return e.reduce(a)}t.and=and;const A=mappend(t.operators.OR);function or(...e){return e.reduce(A)}t.or=or;function mappend(e){return(t,r)=>t===n.nil?r:r===n.nil?t:(0,n._)`${par(t)} ${e} ${par(r)}`}function par(e){return e instanceof n.Name?e:(0,n._)`(${e})`}},2893:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=r(8358);class ValueError extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`);this.value=e.value}}var o;(function(e){e[e["Started"]=0]="Started";e[e["Completed"]=1]="Completed"})(o||(t.UsedValueState=o={}));t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class Scope{constructor({prefixes:e,parent:t}={}){this._names={};this._prefixes=e;this._parent=t}toName(e){return e instanceof n.Name?e:this.name(e)}name(e){return new n.Name(this._newName(e))}_newName(e){const t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,r;if(((r=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||r===void 0?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e)){throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`)}return this._names[e]={prefix:e,index:0}}}t.Scope=Scope;class ValueScopeName extends n.Name{constructor(e,t){super(t);this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e;this.scopePath=(0,n._)`.${new n.Name(t)}[${r}]`}}t.ValueScopeName=ValueScopeName;const s=(0,n._)`\n`;class ValueScope extends Scope{constructor(e){super(e);this._values={};this._scope=e.scope;this.opts={...e,_n:e.lines?s:n.nil}}get(){return this._scope}name(e){return new ValueScopeName(e,this._newName(e))}value(e,t){var r;if(t.ref===undefined)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e);const{prefix:o}=n;const s=(r=t.key)!==null&&r!==void 0?r:t.ref;let i=this._values[o];if(i){const e=i.get(s);if(e)return e}else{i=this._values[o]=new Map}i.set(s,n);const a=this._scope[o]||(this._scope[o]=[]);const A=a.length;a[A]=t.ref;n.setValue(t,{property:o,itemIndex:A});return n}getValue(e,t){const r=this._values[e];if(!r)return;return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(t.scopePath===undefined)throw new Error(`CodeGen: name "${t}" has no value`);return(0,n._)`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(e.value===undefined)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(e,r,s={},i){let a=n.nil;for(const A in e){const c=e[A];if(!c)continue;const l=s[A]=s[A]||new Map;c.forEach((e=>{if(l.has(e))return;l.set(e,o.Started);let s=r(e);if(s){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;a=(0,n._)`${a}${r} ${e} = ${s};${this.opts._n}`}else if(s=i===null||i===void 0?void 0:i(e)){a=(0,n._)`${a}${s}${this.opts._n}`}else{throw new ValueError(e)}l.set(e,o.Completed)}))}return a}}t.ValueScope=ValueScope},6150:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=r(9179);const o=r(3439);const s=r(50);t.keywordError={message:({keyword:e})=>(0,n.str)`must pass "${e}" keyword validation`};t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?(0,n.str)`"${e}" keyword must be ${t} ($data)`:(0,n.str)`"${e}" keyword is invalid ($data)`};function reportError(e,r=t.keywordError,o,s){const{it:i}=e;const{gen:a,compositeRule:A,allErrors:c}=i;const l=errorObjectCode(e,r,o);if(s!==null&&s!==void 0?s:A||c){addError(a,l)}else{returnErrors(i,(0,n._)`[${l}]`)}}t.reportError=reportError;function reportExtraError(e,r=t.keywordError,n){const{it:o}=e;const{gen:i,compositeRule:a,allErrors:A}=o;const c=errorObjectCode(e,r,n);addError(i,c);if(!(a||A)){returnErrors(o,s.default.vErrors)}}t.reportExtraError=reportExtraError;function resetErrorsCount(e,t){e.assign(s.default.errors,t);e.if((0,n._)`${s.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign((0,n._)`${s.default.vErrors}.length`,t)),(()=>e.assign(s.default.vErrors,null)))))}t.resetErrorsCount=resetErrorsCount;function extendErrors({gen:e,keyword:t,schemaValue:r,data:o,errsCount:i,it:a}){if(i===undefined)throw new Error("ajv implementation error");const A=e.name("err");e.forRange("i",i,s.default.errors,(i=>{e.const(A,(0,n._)`${s.default.vErrors}[${i}]`);e.if((0,n._)`${A}.instancePath === undefined`,(()=>e.assign((0,n._)`${A}.instancePath`,(0,n.strConcat)(s.default.instancePath,a.errorPath))));e.assign((0,n._)`${A}.schemaPath`,(0,n.str)`${a.errSchemaPath}/${t}`);if(a.opts.verbose){e.assign((0,n._)`${A}.schema`,r);e.assign((0,n._)`${A}.data`,o)}}))}t.extendErrors=extendErrors;function addError(e,t){const r=e.const("err",t);e.if((0,n._)`${s.default.vErrors} === null`,(()=>e.assign(s.default.vErrors,(0,n._)`[${r}]`)),(0,n._)`${s.default.vErrors}.push(${r})`);e.code((0,n._)`${s.default.errors}++`)}function returnErrors(e,t){const{gen:r,validateName:o,schemaEnv:s}=e;if(s.$async){r.throw((0,n._)`new ${e.ValidationError}(${t})`)}else{r.assign((0,n._)`${o}.errors`,t);r.return(false)}}const i={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function errorObjectCode(e,t,r){const{createErrors:o}=e.it;if(o===false)return(0,n._)`{}`;return errorObject(e,t,r)}function errorObject(e,t,r={}){const{gen:n,it:o}=e;const s=[errorInstancePath(o,r),errorSchemaPath(e,r)];extraErrorProps(e,t,s);return n.object(...s)}function errorInstancePath({errorPath:e},{instancePath:t}){const r=t?(0,n.str)`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,r)]}function errorSchemaPath({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:s}){let a=s?t:(0,n.str)`${t}/${e}`;if(r){a=(0,n.str)`${a}${(0,o.getErrorPath)(r,o.Type.Str)}`}return[i.schemaPath,a]}function extraErrorProps(e,{params:t,message:r},o){const{keyword:a,data:A,schemaValue:c,it:l}=e;const{opts:u,propertyName:d,topSchemaRef:g,schemaPath:f}=l;o.push([i.keyword,a],[i.params,typeof t=="function"?t(e):t||(0,n._)`{}`]);if(u.messages){o.push([i.message,typeof r=="function"?r(e):r])}if(u.verbose){o.push([i.schema,c],[i.parentSchema,(0,n._)`${g}${f}`],[s.default.data,A])}if(d)o.push([i.propertyName,d])}},813:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const n=r(9179);const o=r(7616);const s=r(50);const i=r(6646);const a=r(3439);const A=r(8955);class SchemaEnv{constructor(e){var t;this.refs={};this.dynamicAnchors={};let r;if(typeof e.schema=="object")r=e.schema;this.schema=e.schema;this.schemaId=e.schemaId;this.root=e.root||this;this.baseId=(t=e.baseId)!==null&&t!==void 0?t:(0,i.normalizeId)(r===null||r===void 0?void 0:r[e.schemaId||"$id"]);this.schemaPath=e.schemaPath;this.localRefs=e.localRefs;this.meta=e.meta;this.$async=r===null||r===void 0?void 0:r.$async;this.refs={}}}t.SchemaEnv=SchemaEnv;function compileSchema(e){const t=getCompilingSchema.call(this,e);if(t)return t;const r=(0,i.getFullPath)(this.opts.uriResolver,e.root.baseId);const{es5:a,lines:c}=this.opts.code;const{ownProperties:l}=this.opts;const u=new n.CodeGen(this.scope,{es5:a,lines:c,ownProperties:l});let d;if(e.$async){d=u.scopeValue("Error",{ref:o.default,code:(0,n._)`require("ajv/dist/runtime/validation_error").default`})}const g=u.scopeName("validate");e.validateName=g;const f={gen:u,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",this.opts.code.source===true?{ref:e.schema,code:(0,n.stringify)(e.schema)}:{ref:e.schema}),validateName:g,ValidationError:d,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:n.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,n._)`""`,opts:this.opts,self:this};let h;try{this._compilations.add(e);(0,A.validateFunctionCode)(f);u.optimize(this.opts.code.optimize);const t=u.toString();h=`${u.scopeRefs(s.default.scope)}return ${t}`;if(this.opts.code.process)h=this.opts.code.process(h,e);const r=new Function(`${s.default.self}`,`${s.default.scope}`,h);const o=r(this,this.scope.get());this.scope.value(g,{ref:o});o.errors=null;o.schema=e.schema;o.schemaEnv=e;if(e.$async)o.$async=true;if(this.opts.code.source===true){o.source={validateName:g,validateCode:t,scopeValues:u._values}}if(this.opts.unevaluated){const{props:e,items:t}=f;o.evaluated={props:e instanceof n.Name?undefined:e,items:t instanceof n.Name?undefined:t,dynamicProps:e instanceof n.Name,dynamicItems:t instanceof n.Name};if(o.source)o.source.evaluated=(0,n.stringify)(o.evaluated)}e.validate=o;return e}catch(t){delete e.validate;delete e.validateName;if(h)this.logger.error("Error compiling schema, function code:",h);throw t}finally{this._compilations.delete(e)}}t.compileSchema=compileSchema;function resolveRef(e,t,r){var n;r=(0,i.resolveUrl)(this.opts.uriResolver,t,r);const o=e.refs[r];if(o)return o;let s=resolve.call(this,e,r);if(s===undefined){const o=(n=e.localRefs)===null||n===void 0?void 0:n[r];const{schemaId:i}=this.opts;if(o)s=new SchemaEnv({schema:o,schemaId:i,root:e,baseId:t})}if(s===undefined)return;return e.refs[r]=inlineOrCompile.call(this,s)}t.resolveRef=resolveRef;function inlineOrCompile(e){if((0,i.inlineRef)(e.schema,this.opts.inlineRefs))return e.schema;return e.validate?e:compileSchema.call(this,e)}function getCompilingSchema(e){for(const t of this._compilations){if(sameSchemaEnv(t,e))return t}}t.getCompilingSchema=getCompilingSchema;function sameSchemaEnv(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function resolve(e,t){let r;while(typeof(r=this.refs[t])=="string")t=r;return r||this.schemas[t]||resolveSchema.call(this,e,t)}function resolveSchema(e,t){const r=this.opts.uriResolver.parse(t);const n=(0,i._getFullPath)(this.opts.uriResolver,r);let o=(0,i.getFullPath)(this.opts.uriResolver,e.baseId,undefined);if(Object.keys(e.schema).length>0&&n===o){return getJsonPointer.call(this,r,e)}const s=(0,i.normalizeId)(n);const a=this.refs[s]||this.schemas[s];if(typeof a=="string"){const t=resolveSchema.call(this,e,a);if(typeof(t===null||t===void 0?void 0:t.schema)!=="object")return;return getJsonPointer.call(this,r,t)}if(typeof(a===null||a===void 0?void 0:a.schema)!=="object")return;if(!a.validate)compileSchema.call(this,a);if(s===(0,i.normalizeId)(t)){const{schema:t}=a;const{schemaId:r}=this.opts;const n=t[r];if(n)o=(0,i.resolveUrl)(this.opts.uriResolver,o,n);return new SchemaEnv({schema:t,schemaId:r,root:e,baseId:o})}return getJsonPointer.call(this,r,a)}t.resolveSchema=resolveSchema;const c=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,{baseId:t,schema:r,root:n}){var o;if(((o=e.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(const n of e.fragment.slice(1).split("/")){if(typeof r==="boolean")return;const e=r[(0,a.unescapeFragment)(n)];if(e===undefined)return;r=e;const o=typeof r==="object"&&r[this.opts.schemaId];if(!c.has(n)&&o){t=(0,i.resolveUrl)(this.opts.uriResolver,t,o)}}let s;if(typeof r!="boolean"&&r.$ref&&!(0,a.schemaHasRulesButRef)(r,this.RULES)){const e=(0,i.resolveUrl)(this.opts.uriResolver,t,r.$ref);s=resolveSchema.call(this,n,e)}const{schemaId:A}=this.opts;s=s||new SchemaEnv({schema:r,schemaId:A,root:n,baseId:t});if(s.schema!==s.root.schema)return s;return undefined}},50:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(9179);const o={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t["default"]=o},8190:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(6646);class MissingRefError extends Error{constructor(e,t,r,o){super(o||`can't resolve reference ${r} from id ${t}`);this.missingRef=(0,n.resolveUrl)(e,t,r);this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t["default"]=MissingRefError},6646:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=r(3439);const o=r(8206);const s=r(2533);const i=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function inlineRef(e,t=true){if(typeof e=="boolean")return true;if(t===true)return!hasRef(e);if(!t)return false;return countKeys(e)<=t}t.inlineRef=inlineRef;const a=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function hasRef(e){for(const t in e){if(a.has(t))return true;const r=e[t];if(Array.isArray(r)&&r.some(hasRef))return true;if(typeof r=="object"&&hasRef(r))return true}return false}function countKeys(e){let t=0;for(const r in e){if(r==="$ref")return Infinity;t++;if(i.has(r))continue;if(typeof e[r]=="object"){(0,n.eachItem)(e[r],(e=>t+=countKeys(e)))}if(t===Infinity)return Infinity}return t}function getFullPath(e,t="",r){if(r!==false)t=normalizeId(t);const n=e.parse(t);return _getFullPath(e,n)}t.getFullPath=getFullPath;function _getFullPath(e,t){const r=e.serialize(t);return r.split("#")[0]+"#"}t._getFullPath=_getFullPath;const A=/#\/?$/;function normalizeId(e){return e?e.replace(A,""):""}t.normalizeId=normalizeId;function resolveUrl(e,t,r){r=normalizeId(r);return e.resolve(t,r)}t.resolveUrl=resolveUrl;const c=/^[a-z_][-a-z0-9._]*$/i;function getSchemaRefs(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:n}=this.opts;const i=normalizeId(e[r]||t);const a={"":i};const A=getFullPath(n,i,false);const l={};const u=new Set;s(e,{allKeys:true},((e,t,n,o)=>{if(o===undefined)return;const s=A+t;let i=a[o];if(typeof e[r]=="string")i=addRef.call(this,e[r]);addAnchor.call(this,e.$anchor);addAnchor.call(this,e.$dynamicAnchor);a[t]=i;function addRef(t){const r=this.opts.uriResolver.resolve;t=normalizeId(i?r(i,t):t);if(u.has(t))throw ambiguos(t);u.add(t);let n=this.refs[t];if(typeof n=="string")n=this.refs[n];if(typeof n=="object"){checkAmbiguosRef(e,n.schema,t)}else if(t!==normalizeId(s)){if(t[0]==="#"){checkAmbiguosRef(e,l[t],t);l[t]=e}else{this.refs[t]=s}}return t}function addAnchor(e){if(typeof e=="string"){if(!c.test(e))throw new Error(`invalid anchor "${e}"`);addRef.call(this,`#${e}`)}}}));return l;function checkAmbiguosRef(e,t,r){if(t!==undefined&&!o(e,t))throw ambiguos(r)}function ambiguos(e){return new Error(`reference "${e}" resolves to more than one schema`)}}t.getSchemaRefs=getSchemaRefs},1785:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRules=t.isJSONType=void 0;const r=["string","number","integer","boolean","null","object","array"];const n=new Set(r);function isJSONType(e){return typeof e=="string"&&n.has(e)}t.isJSONType=isJSONType;function getRules(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:true,boolean:true,null:true},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}t.getRules=getRules},3439:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const n=r(9179);const o=r(8358);function toHash(e){const t={};for(const r of e)t[r]=true;return t}t.toHash=toHash;function alwaysValidSchema(e,t){if(typeof t=="boolean")return t;if(Object.keys(t).length===0)return true;checkUnknownRules(e,t);return!schemaHasRules(t,e.self.RULES.all)}t.alwaysValidSchema=alwaysValidSchema;function checkUnknownRules(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema)return;if(typeof t==="boolean")return;const o=n.RULES.keywords;for(const r in t){if(!o[r])checkStrictMode(e,`unknown keyword: "${r}"`)}}t.checkUnknownRules=checkUnknownRules;function schemaHasRules(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return true;return false}t.schemaHasRules=schemaHasRules;function schemaHasRulesButRef(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return true;return false}t.schemaHasRulesButRef=schemaHasRulesButRef;function schemaRefOrVal({topSchemaRef:e,schemaPath:t},r,o,s){if(!s){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,n._)`${r}`}return(0,n._)`${e}${t}${(0,n.getProperty)(o)}`}t.schemaRefOrVal=schemaRefOrVal;function unescapeFragment(e){return unescapeJsonPointer(decodeURIComponent(e))}t.unescapeFragment=unescapeFragment;function escapeFragment(e){return encodeURIComponent(escapeJsonPointer(e))}t.escapeFragment=escapeFragment;function escapeJsonPointer(e){if(typeof e=="number")return`${e}`;return e.replace(/~/g,"~0").replace(/\//g,"~1")}t.escapeJsonPointer=escapeJsonPointer;function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}t.unescapeJsonPointer=unescapeJsonPointer;function eachItem(e,t){if(Array.isArray(e)){for(const r of e)t(r)}else{t(e)}}t.eachItem=eachItem;function makeMergeEvaluated({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:o}){return(s,i,a,A)=>{const c=a===undefined?i:a instanceof n.Name?(i instanceof n.Name?e(s,i,a):t(s,i,a),a):i instanceof n.Name?(t(s,a,i),i):r(i,a);return A===n.Name&&!(c instanceof n.Name)?o(s,c):c}}t.mergeEvaluated={props:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,n._)`${r} !== true && ${t} !== undefined`,(()=>{e.if((0,n._)`${t} === true`,(()=>e.assign(r,true)),(()=>e.assign(r,(0,n._)`${r} || {}`).code((0,n._)`Object.assign(${r}, ${t})`)))})),mergeToName:(e,t,r)=>e.if((0,n._)`${r} !== true`,(()=>{if(t===true){e.assign(r,true)}else{e.assign(r,(0,n._)`${r} || {}`);setEvaluated(e,r,t)}})),mergeValues:(e,t)=>e===true?true:{...e,...t},resultToName:evaluatedPropsToName}),items:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,n._)`${r} !== true && ${t} !== undefined`,(()=>e.assign(r,(0,n._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`))),mergeToName:(e,t,r)=>e.if((0,n._)`${r} !== true`,(()=>e.assign(r,t===true?true:(0,n._)`${r} > ${t} ? ${r} : ${t}`))),mergeValues:(e,t)=>e===true?true:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function evaluatedPropsToName(e,t){if(t===true)return e.var("props",true);const r=e.var("props",(0,n._)`{}`);if(t!==undefined)setEvaluated(e,r,t);return r}t.evaluatedPropsToName=evaluatedPropsToName;function setEvaluated(e,t,r){Object.keys(r).forEach((r=>e.assign((0,n._)`${t}${(0,n.getProperty)(r)}`,true)))}t.setEvaluated=setEvaluated;const s={};function useFunc(e,t){return e.scopeValue("func",{ref:t,code:s[t.code]||(s[t.code]=new o._Code(t.code))})}t.useFunc=useFunc;var i;(function(e){e[e["Num"]=0]="Num";e[e["Str"]=1]="Str"})(i||(t.Type=i={}));function getErrorPath(e,t,r){if(e instanceof n.Name){const o=t===i.Num;return r?o?(0,n._)`"[" + ${e} + "]"`:(0,n._)`"['" + ${e} + "']"`:o?(0,n._)`"/" + ${e}`:(0,n._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,n.getProperty)(e).toString():"/"+escapeJsonPointer(e)}t.getErrorPath=getErrorPath;function checkStrictMode(e,t,r=e.opts.strictSchema){if(!r)return;t=`strict mode: ${t}`;if(r===true)throw new Error(t);e.self.logger.warn(t)}t.checkStrictMode=checkStrictMode},3627:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0;function schemaHasRulesForType({schema:e,self:t},r){const n=t.RULES.types[r];return n&&n!==true&&shouldUseGroup(e,n)}t.schemaHasRulesForType=schemaHasRulesForType;function shouldUseGroup(e,t){return t.rules.some((t=>shouldUseRule(e,t)))}t.shouldUseGroup=shouldUseGroup;function shouldUseRule(e,t){var r;return e[t.keyword]!==undefined||((r=t.definition.implements)===null||r===void 0?void 0:r.some((t=>e[t]!==undefined)))}t.shouldUseRule=shouldUseRule},6214:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n=r(6150);const o=r(9179);const s=r(50);const i={message:"boolean schema is false"};function topBoolOrEmptySchema(e){const{gen:t,schema:r,validateName:n}=e;if(r===false){falseSchemaError(e,false)}else if(typeof r=="object"&&r.$async===true){t.return(s.default.data)}else{t.assign((0,o._)`${n}.errors`,null);t.return(true)}}t.topBoolOrEmptySchema=topBoolOrEmptySchema;function boolOrEmptySchema(e,t){const{gen:r,schema:n}=e;if(n===false){r.var(t,false);falseSchemaError(e)}else{r.var(t,true)}}t.boolOrEmptySchema=boolOrEmptySchema;function falseSchemaError(e,t){const{gen:r,data:o}=e;const s={gen:r,keyword:"false schema",data:o,schema:false,schemaCode:false,schemaValue:false,params:{},it:e};(0,n.reportError)(s,i,undefined,t)}},7725:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const n=r(1785);const o=r(3627);const s=r(6150);const i=r(9179);const a=r(3439);var A;(function(e){e[e["Correct"]=0]="Correct";e[e["Wrong"]=1]="Wrong"})(A||(t.DataType=A={}));function getSchemaTypes(e){const t=getJSONTypes(e.type);const r=t.includes("null");if(r){if(e.nullable===false)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==undefined){throw new Error('"nullable" cannot be used without "type"')}if(e.nullable===true)t.push("null")}return t}t.getSchemaTypes=getSchemaTypes;function getJSONTypes(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(n.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}t.getJSONTypes=getJSONTypes;function coerceAndCheckDataType(e,t){const{gen:r,data:n,opts:s}=e;const i=coerceToTypes(t,s.coerceTypes);const a=t.length>0&&!(i.length===0&&t.length===1&&(0,o.schemaHasRulesForType)(e,t[0]));if(a){const o=checkDataTypes(t,n,s.strictNumbers,A.Wrong);r.if(o,(()=>{if(i.length)coerceData(e,t,i);else reportTypeError(e)}))}return a}t.coerceAndCheckDataType=coerceAndCheckDataType;const c=new Set(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){return t?e.filter((e=>c.has(e)||t==="array"&&e==="array")):[]}function coerceData(e,t,r){const{gen:n,data:o,opts:s}=e;const a=n.let("dataType",(0,i._)`typeof ${o}`);const A=n.let("coerced",(0,i._)`undefined`);if(s.coerceTypes==="array"){n.if((0,i._)`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>n.assign(o,(0,i._)`${o}[0]`).assign(a,(0,i._)`typeof ${o}`).if(checkDataTypes(t,o,s.strictNumbers),(()=>n.assign(A,o)))))}n.if((0,i._)`${A} !== undefined`);for(const e of r){if(c.has(e)||e==="array"&&s.coerceTypes==="array"){coerceSpecificType(e)}}n.else();reportTypeError(e);n.endIf();n.if((0,i._)`${A} !== undefined`,(()=>{n.assign(o,A);assignParentData(e,A)}));function coerceSpecificType(e){switch(e){case"string":n.elseIf((0,i._)`${a} == "number" || ${a} == "boolean"`).assign(A,(0,i._)`"" + ${o}`).elseIf((0,i._)`${o} === null`).assign(A,(0,i._)`""`);return;case"number":n.elseIf((0,i._)`${a} == "boolean" || ${o} === null +import{createRequire as e}from"module";var t={7351:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const i=s(r(2037));const a=r(5278);function issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+i.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const A="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=A+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${A}${escapeData(this.message)}`;return e}}function escapeData(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return a.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});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(7351);const A=r(717);const c=r(5278);const l=s(r(2037));const u=s(r(1017));const d=r(8041);var g;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(g=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const r=c.toCommandValue(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){return A.issueFileCommand("ENV",A.prepareKeyValueMessage(e,t))}a.issueCommand("set-env",{name:e},r)}t.exportVariable=exportVariable;function setSecret(e){a.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){A.issueFileCommand("PATH",e)}else{a.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${u.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(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}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}t.getInput=getInput;function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return r}return r.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const r=["true","True","TRUE"];const n=["false","False","FALSE"];const o=getInput(e,t);if(r.includes(o))return true;if(n.includes(o))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const r=process.env["GITHUB_OUTPUT"]||"";if(r){return A.issueFileCommand("OUTPUT",A.prepareKeyValueMessage(e,t))}process.stdout.write(l.EOL);a.issueCommand("set-output",{name:e},c.toCommandValue(t))}t.setOutput=setOutput;function setCommandEcho(e){a.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=g.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){a.issueCommand("debug",{},e)}t.debug=debug;function error(e,t={}){a.issueCommand("error",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){a.issueCommand("warning",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){a.issueCommand("notice",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+l.EOL)}t.info=info;function startGroup(e){a.issue("group",e)}t.startGroup=startGroup;function endGroup(){a.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return i(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}t.group=group;function saveState(e,t){const r=process.env["GITHUB_STATE"]||"";if(r){return A.issueFileCommand("STATE",A.prepareKeyValueMessage(e,t))}a.issueCommand("save-state",{name:e},c.toCommandValue(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return i(this,void 0,void 0,(function*(){return yield d.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var f=r(1327);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return f.summary}});var h=r(1327);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return h.markdownSummary}});var p=r(2981);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return p.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return p.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return p.toPlatformPath}})},717:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const i=s(r(7147));const a=s(r(2037));const A=r(5840);const c=r(5278);function issueFileCommand(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"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const r=`ghadelimiter_${A.v4()}`;const n=c.toCommandValue(t);if(e.includes(r)){throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`)}if(n.includes(r)){throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`)}return`${e}<<${r}${a.EOL}${n}${a.EOL}${r}`}t.prepareKeyValueMessage=prepareKeyValueMessage},8041:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const o=r(6255);const s=r(5526);const i=r(2186);class OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new o.HttpClient("actions/oidc-client",[new s.BearerCredentialHandler(OidcClient.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=OidcClient.createHttpClient();const 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.message}`)}));const o=(t=n.result)===null||t===void 0?void 0:t.value;if(!o){throw new Error("Response json body do not have ID Token field")}return o}))}static getIDToken(e){return n(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}i.debug(`ID token url is ${t}`);const r=yield OidcClient.getCall(t);i.setSecret(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},2981:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const i=s(r(1017));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,i.sep)}t.toPlatformPath=toPlatformPath},1327:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const o=r(2037);const s=r(7147);const{access:i,appendFile:a,writeFile:A}=s.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";class Summary{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,s.constants.R_OK|s.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${n}>`}return`<${e}${n}>${t}`}write(e){return n(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const r=yield this.filePath();const n=t?A:a;yield n(r,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return n(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(o.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t});const n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=false){const r=t?"ol":"ul";const n=e.map((e=>this.wrap("li",e))).join("");const o=this.wrap(r,n);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:r,colspan:n,rowspan:o}=e;const s=t?"th":"td";const i=Object.assign(Object.assign({},n&&{colspan:n}),o&&{rowspan:o});return this.wrap(s,r,i)})).join("");return this.wrap("tr",t)})).join("");const 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:o}=r||{};const s=Object.assign(Object.assign({},n&&{width:n}),o&&{height:o});const i=this.wrap("img",null,Object.assign({src:e,alt:t},s));return this.addRaw(i).addEOL()}addHeading(e,t){const r=`h${t}`;const n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1";const o=this.wrap(n,e);return this.addRaw(o).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});const 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()}}const c=new Summary;t.markdownSummary=c;t.summary=c},5278:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},5526:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{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 false}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{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 false}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{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 false}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},6255:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,o)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const a=s(r(3685));const A=s(r(5687));const c=s(r(9835));const l=s(r(4294));const u=r(1773);var d;(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=d={}));var g;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(g||(t.Headers=g={}));var f;(function(e){e["ApplicationJson"]="application/json"})(f||(t.MediaTypes=f={}));function getProxyUrl(e){const t=c.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const h=[d.MovedPermanently,d.ResourceMoved,d.SeeOther,d.TemporaryRedirect,d.PermanentRedirect];const p=[d.BadGateway,d.ServiceUnavailable,d.GatewayTimeout];const E=["OPTIONS","GET","DELETE","HEAD"];const C=10;const m=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{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())}))}))))}))}readBodyBuffer(){return i(this,void 0,void 0,(function*(){return new Promise((e=>i(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,r){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){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[g.Accept]=this._getExistingOrDefaultHeader(t,g.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[g.Accept]=this._getExistingOrDefaultHeader(r,g.Accept,f.ApplicationJson);r[g.ContentType]=this._getExistingOrDefaultHeader(r,g.ContentType,f.ApplicationJson);const o=yield this.post(e,n,r);return this._processResponse(o,this.requestOptions)}))}putJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[g.Accept]=this._getExistingOrDefaultHeader(r,g.Accept,f.ApplicationJson);r[g.ContentType]=this._getExistingOrDefaultHeader(r,g.ContentType,f.ApplicationJson);const o=yield this.put(e,n,r);return this._processResponse(o,this.requestOptions)}))}patchJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[g.Accept]=this._getExistingOrDefaultHeader(r,g.Accept,f.ApplicationJson);r[g.ContentType]=this._getExistingOrDefaultHeader(r,g.ContentType,f.ApplicationJson);const o=yield this.patch(e,n,r);return this._processResponse(o,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 o=new URL(t);let s=this._prepareRequest(e,o,n);const i=this._allowRetries&&E.includes(e)?this._maxRetries+1:1;let a=0;let A;do{A=yield this.requestRaw(s,r);if(A&&A.message&&A.message.statusCode===d.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(A)){e=t;break}}if(e){return e.handleAuthentication(this,s,r)}else{return A}}let t=this._maxRedirects;while(A.message.statusCode&&h.includes(A.message.statusCode)&&this._allowRedirects&&t>0){const i=A.message.headers["location"];if(!i){break}const a=new URL(i);if(o.protocol==="https:"&&o.protocol!==a.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.")}yield A.readBody();if(a.hostname!==o.hostname){for(const e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}s=this._prepareRequest(e,a,n);A=yield this.requestRaw(s,r);t--}if(!A.message.statusCode||!p.includes(A.message.statusCode)){return A}a+=1;if(a{function callbackForResult(e,t){if(e){n(e)}else if(!t){n(new Error("Unknown error"))}else{r(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,r){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let n=false;function handleResult(e,t){if(!n){n=true;r(e,t)}}const o=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let s;o.on("socket",(e=>{s=e}));o.setTimeout(this._socketTimeout||3*6e4,(()=>{if(s){s.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));o.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){o.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){o.end()}));t.pipe(o)}else{o.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const r=c.getProxyUrl(t);const n=r&&r.hostname;if(!n){return}return this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const o=n.parsedUrl.protocol==="https:";n.httpModule=o?A:a;const s=o?443:80;n.options={};n.options.host=n.parsedUrl.hostname;n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):s;n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||"");n.options.method=e;n.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){n.options.headers["user-agent"]=this.userAgent}n.options.agent=this._getAgent(n.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(n.options)}}return n}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;if(this.requestOptions&&this.requestOptions.headers){n=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||n||r}_getAgent(e){let t;const r=c.getProxyUrl(e);const n=r&&r.hostname;if(this._keepAlive&&n){t=this._proxyAgent}if(!n){t=this._agent}if(t){return t}const o=e.protocol==="https:";let s=100;if(this.requestOptions){s=this.requestOptions.maxSockets||a.globalAgent.maxSockets}if(r&&r.hostname){const e={maxSockets:s,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=r.protocol==="https:";if(o){n=i?l.httpsOverHttps:l.httpsOverHttp}else{n=i?l.httpOverHttps:l.httpOverHttp}t=n(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:s};t=o?new A.Agent(e):new a.Agent(e);this._agent=t}if(o&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let r;if(this._keepAlive){r=this._proxyAgentDispatcher}if(r){return r}const n=e.protocol==="https:";r=new u.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`${t.username}:${t.password}`}));this._proxyAgentDispatcher=r;if(n&&this._ignoreSslError){r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:false})}return r}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){e=Math.min(C,e);const t=m*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 o=e.message.statusCode||0;const s={statusCode:o,result:null,headers:{}};if(o===d.NotFound){r(s)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let i;let a;try{a=yield e.readBody();if(a&&a.length>0){if(t&&t.deserializeDates){i=JSON.parse(a,dateTimeDeserializer)}else{i=JSON.parse(a)}s.result=i}s.headers=e.message.headers}catch(e){}if(o>299){let e;if(i&&i.message){e=i.message}else if(a&&a.length>0){e=a}else{e=`Failed request: (${o})`}const t=new HttpClientError(e,o);t.result=s.result;n(t)}else{r(s)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})},9835:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkBypass=t.getProxyUrl=void 0;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const r=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(r){try{return new URL(r)}catch(e){if(!r.startsWith("http://")&&!r.startsWith("https://"))return new URL(`http://${r}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){return false}let n;if(e.port){n=Number(e.port)}else if(e.protocol==="http:"){n=80}else if(e.protocol==="https:"){n=443}const o=[e.hostname.toUpperCase()];if(typeof n==="number"){o.push(`${o[0]}:${n}`)}for(const e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||o.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}t.checkBypass=checkBypass;function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}},6948:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthSchemeConfig=t.defaultSSOOIDCHttpAuthSchemeProvider=t.defaultSSOOIDCHttpAuthSchemeParametersProvider=void 0;const n=r(9963);const o=r(2390);const defaultSSOOIDCHttpAuthSchemeParametersProvider=async(e,t,r)=>({operation:(0,o.getSmithyContext)(t).operation,region:await(0,o.normalizeProvider)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});t.defaultSSOOIDCHttpAuthSchemeParametersProvider=defaultSSOOIDCHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function createSmithyApiNoAuthHttpAuthOption(e){return{schemeId:"smithy.api#noAuth"}}const defaultSSOOIDCHttpAuthSchemeProvider=e=>{const t=[];switch(e.operation){case"CreateToken":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"RegisterClient":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"StartDeviceAuthorization":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}default:{t.push(createAwsAuthSigv4HttpAuthOption(e))}}return t};t.defaultSSOOIDCHttpAuthSchemeProvider=defaultSSOOIDCHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=e=>{const t=(0,n.resolveAwsSdkSigV4Config)(e);return{...t}};t.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},7604:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultEndpointResolver=void 0;const n=r(3350);const o=r(5473);const s=r(1756);const defaultEndpointResolver=(e,t={})=>(0,o.resolveEndpoint)(s.ruleSet,{endpointParams:e,logger:t.logger});t.defaultEndpointResolver=defaultEndpointResolver;o.customEndpointFunctions.aws=n.awsEndpointFunctions},1756:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ruleSet=void 0;const r="required",n="fn",o="argv",s="ref";const i=true,a="isSet",A="booleanEquals",c="error",l="endpoint",u="tree",d="PartitionResult",g="getAttr",f={[r]:false,type:"String"},h={[r]:true,default:false,type:"Boolean"},p={[s]:"Endpoint"},E={[n]:A,[o]:[{[s]:"UseFIPS"},true]},C={[n]:A,[o]:[{[s]:"UseDualStack"},true]},m={},I={[n]:g,[o]:[{[s]:d},"supportsFIPS"]},y={[s]:d},Q={[n]:A,[o]:[true,{[n]:g,[o]:[y,"supportsDualStack"]}]},B=[E],v=[C],b=[{[s]:"Region"}];const w={version:"1.0",parameters:{Region:f,UseDualStack:h,UseFIPS:h,Endpoint:f},rules:[{conditions:[{[n]:a,[o]:[p]}],rules:[{conditions:B,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:v,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:p,properties:m,headers:m},type:l}],type:u},{conditions:[{[n]:a,[o]:b}],rules:[{conditions:[{[n]:"aws.partition",[o]:b,assign:d}],rules:[{conditions:[E,C],rules:[{conditions:[{[n]:A,[o]:[i,I]},Q],rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}],type:u},{conditions:B,rules:[{conditions:[{[n]:A,[o]:[I,i]}],rules:[{conditions:[{[n]:"stringEquals",[o]:[{[n]:g,[o]:[y,"name"]},"aws-us-gov"]}],endpoint:{url:"https://oidc.{Region}.amazonaws.com",properties:m,headers:m},type:l},{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS is enabled but this partition does not support FIPS",type:c}],type:u},{conditions:v,rules:[{conditions:[Q],rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"DualStack is enabled but this partition does not support DualStack",type:c}],type:u},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u}],type:u},{error:"Invalid Configuration: Missing Region",type:c}]};t.ruleSet=w},4527:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AccessDeniedException:()=>x,AuthorizationPendingException:()=>O,CreateTokenCommand:()=>je,CreateTokenRequestFilterSensitiveLog:()=>Ae,CreateTokenResponseFilterSensitiveLog:()=>ce,CreateTokenWithIAMCommand:()=>Ve,CreateTokenWithIAMRequestFilterSensitiveLog:()=>le,CreateTokenWithIAMResponseFilterSensitiveLog:()=>ue,ExpiredTokenException:()=>M,InternalServerException:()=>H,InvalidClientException:()=>G,InvalidClientMetadataException:()=>se,InvalidGrantException:()=>Y,InvalidRedirectUriException:()=>ae,InvalidRequestException:()=>q,InvalidRequestRegionException:()=>ne,InvalidScopeException:()=>W,RegisterClientCommand:()=>Je,RegisterClientResponseFilterSensitiveLog:()=>de,SSOOIDC:()=>Ke,SSOOIDCClient:()=>D,SSOOIDCServiceException:()=>F,SlowDownException:()=>K,StartDeviceAuthorizationCommand:()=>$e,StartDeviceAuthorizationRequestFilterSensitiveLog:()=>ge,UnauthorizedClientException:()=>X,UnsupportedGrantTypeException:()=>te,__Client:()=>B.Client});e.exports=__toCommonJS(a);var A=r(2545);var c=r(14);var l=r(5525);var u=r(4688);var d=r(3098);var g=r(5829);var f=r(2800);var h=r(2918);var p=r(6039);var E=r(6948);var C=__name((e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"sso-oauth"})),"resolveClientEndpointParameters");var m={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var I=r(5524);var y=r(8156);var Q=r(4418);var B=r(3570);var v=__name((e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider;let n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));if(r===-1){t.push(e)}else{t.splice(r,1,e)}},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider(){return r},setCredentials(e){n=e},credentials(){return n}}}),"getHttpAuthExtensionConfiguration");var b=__name((e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()})),"resolveHttpAuthRuntimeConfig");var w=__name((e=>e),"asPartial");var S=__name(((e,t)=>{const r={...w((0,y.getAwsRegionExtensionConfiguration)(e)),...w((0,B.getDefaultExtensionConfiguration)(e)),...w((0,Q.getHttpHandlerExtensionConfiguration)(e)),...w(v(e))};t.forEach((e=>e.configure(r)));return{...e,...(0,y.resolveAwsRegionExtensionConfiguration)(r),...(0,B.resolveDefaultRuntimeConfig)(r),...(0,Q.resolveHttpHandlerRuntimeConfig)(r),...b(r)}}),"resolveRuntimeExtensions");var R=class _SSOOIDCClient extends B.Client{constructor(...[e]){const t=(0,I.getRuntimeConfig)(e||{});const r=C(t);const n=(0,d.resolveRegionConfig)(r);const o=(0,h.resolveEndpointConfig)(n);const s=(0,p.resolveRetryConfig)(o);const i=(0,A.resolveHostHeaderConfig)(s);const a=(0,u.resolveUserAgentConfig)(i);const m=(0,E.resolveHttpAuthSchemeConfig)(a);const y=S(m,(e==null?void 0:e.extensions)||[]);super(y);this.config=y;this.middlewareStack.use((0,p.getRetryPlugin)(this.config));this.middlewareStack.use((0,f.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,A.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,c.getLoggerPlugin)(this.config));this.middlewareStack.use((0,l.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,u.getUserAgentPlugin)(this.config));this.middlewareStack.use((0,g.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()}));this.middlewareStack.use((0,g.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return E.defaultSSOOIDCHttpAuthSchemeParametersProvider}getIdentityProviderConfigProvider(){return async e=>new g.DefaultIdentityProviderConfig({"aws.auth#sigv4":e.credentials})}};__name(R,"SSOOIDCClient");var D=R;var k=r(1238);var N=class _SSOOIDCServiceException extends B.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,_SSOOIDCServiceException.prototype)}};__name(N,"SSOOIDCServiceException");var F=N;var T=class _AccessDeniedException extends F{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});this.name="AccessDeniedException";this.$fault="client";Object.setPrototypeOf(this,_AccessDeniedException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(T,"AccessDeniedException");var x=T;var P=class _AuthorizationPendingException extends F{constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});this.name="AuthorizationPendingException";this.$fault="client";Object.setPrototypeOf(this,_AuthorizationPendingException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(P,"AuthorizationPendingException");var O=P;var U=class _ExpiredTokenException extends F{constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});this.name="ExpiredTokenException";this.$fault="client";Object.setPrototypeOf(this,_ExpiredTokenException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(U,"ExpiredTokenException");var M=U;var L=class _InternalServerException extends F{constructor(e){super({name:"InternalServerException",$fault:"server",...e});this.name="InternalServerException";this.$fault="server";Object.setPrototypeOf(this,_InternalServerException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(L,"InternalServerException");var H=L;var j=class _InvalidClientException extends F{constructor(e){super({name:"InvalidClientException",$fault:"client",...e});this.name="InvalidClientException";this.$fault="client";Object.setPrototypeOf(this,_InvalidClientException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(j,"InvalidClientException");var G=j;var V=class _InvalidGrantException extends F{constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});this.name="InvalidGrantException";this.$fault="client";Object.setPrototypeOf(this,_InvalidGrantException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(V,"InvalidGrantException");var Y=V;var J=class _InvalidRequestException extends F{constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});this.name="InvalidRequestException";this.$fault="client";Object.setPrototypeOf(this,_InvalidRequestException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(J,"InvalidRequestException");var q=J;var $=class _InvalidScopeException extends F{constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});this.name="InvalidScopeException";this.$fault="client";Object.setPrototypeOf(this,_InvalidScopeException.prototype);this.error=e.error;this.error_description=e.error_description}};__name($,"InvalidScopeException");var W=$;var z=class _SlowDownException extends F{constructor(e){super({name:"SlowDownException",$fault:"client",...e});this.name="SlowDownException";this.$fault="client";Object.setPrototypeOf(this,_SlowDownException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(z,"SlowDownException");var K=z;var Z=class _UnauthorizedClientException extends F{constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});this.name="UnauthorizedClientException";this.$fault="client";Object.setPrototypeOf(this,_UnauthorizedClientException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(Z,"UnauthorizedClientException");var X=Z;var ee=class _UnsupportedGrantTypeException extends F{constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});this.name="UnsupportedGrantTypeException";this.$fault="client";Object.setPrototypeOf(this,_UnsupportedGrantTypeException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(ee,"UnsupportedGrantTypeException");var te=ee;var re=class _InvalidRequestRegionException extends F{constructor(e){super({name:"InvalidRequestRegionException",$fault:"client",...e});this.name="InvalidRequestRegionException";this.$fault="client";Object.setPrototypeOf(this,_InvalidRequestRegionException.prototype);this.error=e.error;this.error_description=e.error_description;this.endpoint=e.endpoint;this.region=e.region}};__name(re,"InvalidRequestRegionException");var ne=re;var oe=class _InvalidClientMetadataException extends F{constructor(e){super({name:"InvalidClientMetadataException",$fault:"client",...e});this.name="InvalidClientMetadataException";this.$fault="client";Object.setPrototypeOf(this,_InvalidClientMetadataException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(oe,"InvalidClientMetadataException");var se=oe;var ie=class _InvalidRedirectUriException extends F{constructor(e){super({name:"InvalidRedirectUriException",$fault:"client",...e});this.name="InvalidRedirectUriException";this.$fault="client";Object.setPrototypeOf(this,_InvalidRedirectUriException.prototype);this.error=e.error;this.error_description=e.error_description}};__name(ie,"InvalidRedirectUriException");var ae=ie;var Ae=__name((e=>({...e,...e.clientSecret&&{clientSecret:B.SENSITIVE_STRING},...e.refreshToken&&{refreshToken:B.SENSITIVE_STRING},...e.codeVerifier&&{codeVerifier:B.SENSITIVE_STRING}})),"CreateTokenRequestFilterSensitiveLog");var ce=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING},...e.refreshToken&&{refreshToken:B.SENSITIVE_STRING},...e.idToken&&{idToken:B.SENSITIVE_STRING}})),"CreateTokenResponseFilterSensitiveLog");var le=__name((e=>({...e,...e.refreshToken&&{refreshToken:B.SENSITIVE_STRING},...e.assertion&&{assertion:B.SENSITIVE_STRING},...e.subjectToken&&{subjectToken:B.SENSITIVE_STRING},...e.codeVerifier&&{codeVerifier:B.SENSITIVE_STRING}})),"CreateTokenWithIAMRequestFilterSensitiveLog");var ue=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING},...e.refreshToken&&{refreshToken:B.SENSITIVE_STRING},...e.idToken&&{idToken:B.SENSITIVE_STRING}})),"CreateTokenWithIAMResponseFilterSensitiveLog");var de=__name((e=>({...e,...e.clientSecret&&{clientSecret:B.SENSITIVE_STRING}})),"RegisterClientResponseFilterSensitiveLog");var ge=__name((e=>({...e,...e.clientSecret&&{clientSecret:B.SENSITIVE_STRING}})),"StartDeviceAuthorizationRequestFilterSensitiveLog");var fe=r(9963);var he=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n={"content-type":"application/json"};r.bp("/token");let o;o=JSON.stringify((0,B.take)(e,{clientId:[],clientSecret:[],code:[],codeVerifier:[],deviceCode:[],grantType:[],redirectUri:[],refreshToken:[],scope:e=>(0,B._json)(e)}));r.m("POST").h(n).b(o);return r.build()}),"se_CreateTokenCommand");var pe=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n={"content-type":"application/json"};r.bp("/token");const o=(0,B.map)({[Le]:[,"t"]});let s;s=JSON.stringify((0,B.take)(e,{assertion:[],clientId:[],code:[],codeVerifier:[],grantType:[],redirectUri:[],refreshToken:[],requestedTokenType:[],scope:e=>(0,B._json)(e),subjectToken:[],subjectTokenType:[]}));r.m("POST").h(n).q(o).b(s);return r.build()}),"se_CreateTokenWithIAMCommand");var Ee=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n={"content-type":"application/json"};r.bp("/client/register");let o;o=JSON.stringify((0,B.take)(e,{clientName:[],clientType:[],entitledApplicationArn:[],grantTypes:e=>(0,B._json)(e),issuerUrl:[],redirectUris:e=>(0,B._json)(e),scopes:e=>(0,B._json)(e)}));r.m("POST").h(n).b(o);return r.build()}),"se_RegisterClientCommand");var Ce=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n={"content-type":"application/json"};r.bp("/device_authorization");let o;o=JSON.stringify((0,B.take)(e,{clientId:[],clientSecret:[],startUrl:[]}));r.m("POST").h(n).b(o);return r.build()}),"se_StartDeviceAuthorizationCommand");var me=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return Be(e,t)}const r=(0,B.map)({$metadata:Me(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,fe.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{accessToken:B.expectString,expiresIn:B.expectInt32,idToken:B.expectString,refreshToken:B.expectString,tokenType:B.expectString});Object.assign(r,o);return r}),"de_CreateTokenCommand");var Ie=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return Be(e,t)}const r=(0,B.map)({$metadata:Me(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,fe.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{accessToken:B.expectString,expiresIn:B.expectInt32,idToken:B.expectString,issuedTokenType:B.expectString,refreshToken:B.expectString,scope:B._json,tokenType:B.expectString});Object.assign(r,o);return r}),"de_CreateTokenWithIAMCommand");var ye=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return Be(e,t)}const r=(0,B.map)({$metadata:Me(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,fe.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{authorizationEndpoint:B.expectString,clientId:B.expectString,clientIdIssuedAt:B.expectLong,clientSecret:B.expectString,clientSecretExpiresAt:B.expectLong,tokenEndpoint:B.expectString});Object.assign(r,o);return r}),"de_RegisterClientCommand");var Qe=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return Be(e,t)}const r=(0,B.map)({$metadata:Me(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,fe.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{deviceCode:B.expectString,expiresIn:B.expectInt32,interval:B.expectInt32,userCode:B.expectString,verificationUri:B.expectString,verificationUriComplete:B.expectString});Object.assign(r,o);return r}),"de_StartDeviceAuthorizationCommand");var Be=__name((async(e,t)=>{const r={...e,body:await(0,fe.parseJsonErrorBody)(e.body,t)};const n=(0,fe.loadRestJsonErrorCode)(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.ssooidc#AccessDeniedException":throw await be(r,t);case"AuthorizationPendingException":case"com.amazonaws.ssooidc#AuthorizationPendingException":throw await we(r,t);case"ExpiredTokenException":case"com.amazonaws.ssooidc#ExpiredTokenException":throw await Se(r,t);case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await Re(r,t);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await De(r,t);case"InvalidGrantException":case"com.amazonaws.ssooidc#InvalidGrantException":throw await Ne(r,t);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await Fe(r,t);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await xe(r,t);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await Pe(r,t);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await Oe(r,t);case"UnsupportedGrantTypeException":case"com.amazonaws.ssooidc#UnsupportedGrantTypeException":throw await Ue(r,t);case"InvalidRequestRegionException":case"com.amazonaws.ssooidc#InvalidRequestRegionException":throw await Te(r,t);case"InvalidClientMetadataException":case"com.amazonaws.ssooidc#InvalidClientMetadataException":throw await ke(r,t);case"InvalidRedirectUriException":case"com.amazonaws.ssooidc#InvalidRedirectUriException":throw await _e(r,t);default:const o=r.body;return ve({output:e,parsedBody:o,errorCode:n})}}),"de_CommandError");var ve=(0,B.withBaseException)(F);var be=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new x({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_AccessDeniedExceptionRes");var we=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new O({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_AuthorizationPendingExceptionRes");var Se=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new M({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_ExpiredTokenExceptionRes");var Re=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new H({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InternalServerExceptionRes");var De=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new G({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidClientExceptionRes");var ke=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new se({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidClientMetadataExceptionRes");var Ne=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new Y({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidGrantExceptionRes");var _e=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new ae({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidRedirectUriExceptionRes");var Fe=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new q({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidRequestExceptionRes");var Te=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{endpoint:B.expectString,error:B.expectString,error_description:B.expectString,region:B.expectString});Object.assign(r,o);const s=new ne({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidRequestRegionExceptionRes");var xe=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new W({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidScopeExceptionRes");var Pe=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new K({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_SlowDownExceptionRes");var Oe=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new X({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_UnauthorizedClientExceptionRes");var Ue=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{error:B.expectString,error_description:B.expectString});Object.assign(r,o);const s=new te({$metadata:Me(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_UnsupportedGrantTypeExceptionRes");var Me=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var Le="aws_iam";var He=class _CreateTokenCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").f(Ae,ce).ser(he).de(me).build()){};__name(He,"CreateTokenCommand");var je=He;var Ge=class _CreateTokenWithIAMCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSSOOIDCService","CreateTokenWithIAM",{}).n("SSOOIDCClient","CreateTokenWithIAMCommand").f(le,ue).ser(pe).de(Ie).build()){};__name(Ge,"CreateTokenWithIAMCommand");var Ve=Ge;var Ye=class _RegisterClientCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSSOOIDCService","RegisterClient",{}).n("SSOOIDCClient","RegisterClientCommand").f(void 0,de).ser(Ee).de(ye).build()){};__name(Ye,"RegisterClientCommand");var Je=Ye;var qe=class _StartDeviceAuthorizationCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSSOOIDCService","StartDeviceAuthorization",{}).n("SSOOIDCClient","StartDeviceAuthorizationCommand").f(ge,void 0).ser(Ce).de(Qe).build()){};__name(qe,"StartDeviceAuthorizationCommand");var $e=qe;var We={CreateTokenCommand:je,CreateTokenWithIAMCommand:Ve,RegisterClientCommand:Je,StartDeviceAuthorizationCommand:$e};var ze=class _SSOOIDC extends D{};__name(ze,"SSOOIDC");var Ke=ze;(0,B.createAggregatedClient)(We,Ke);0&&0},5524:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(4351);const o=n.__importDefault(r(9722));const s=r(9963);const i=r(5531);const a=r(8095);const A=r(3098);const c=r(3081);const l=r(6039);const u=r(3461);const d=r(258);const g=r(8075);const f=r(4902);const h=r(8005);const p=r(3570);const E=r(2429);const C=r(3570);const getRuntimeConfig=e=>{(0,C.emitWarningIfUnsupportedVersion)(process.version);const t=(0,E.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>t().then(p.loadConfigsForDefaultMode);const r=(0,h.getRuntimeConfig)(e);(0,s.emitWarningIfUnsupportedVersion)(process.version);return{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??g.calculateBodyLength,credentialDefaultProvider:e?.credentialDefaultProvider??i.defaultProvider,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,a.defaultUserAgent)({serviceId:r.serviceId,clientVersion:o.default.version}),maxAttempts:e?.maxAttempts??(0,u.loadConfig)(l.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:e?.region??(0,u.loadConfig)(A.NODE_REGION_CONFIG_OPTIONS,A.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:d.NodeHttpHandler.create(e?.requestHandler??defaultConfigProvider),retryMode:e?.retryMode??(0,u.loadConfig)({...l.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||f.DEFAULT_RETRY_MODE}),sha256:e?.sha256??c.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??d.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,u.loadConfig)(A.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:e?.useFipsEndpoint??(0,u.loadConfig)(A.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};t.getRuntimeConfig=getRuntimeConfig},8005:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(9963);const o=r(5829);const s=r(3570);const i=r(4681);const a=r(5600);const A=r(1895);const c=r(6948);const l=r(7604);const getRuntimeConfig=e=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??a.fromBase64,base64Encoder:e?.base64Encoder??a.toBase64,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??l.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??c.defaultSSOOIDCHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new n.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new o.NoAuthSigner}],logger:e?.logger??new s.NoOpLogger,serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??i.parseUrl,utf8Decoder:e?.utf8Decoder??A.fromUtf8,utf8Encoder:e?.utf8Encoder??A.toUtf8});t.getRuntimeConfig=getRuntimeConfig},9344:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthSchemeConfig=t.defaultSSOHttpAuthSchemeProvider=t.defaultSSOHttpAuthSchemeParametersProvider=void 0;const n=r(9963);const o=r(2390);const defaultSSOHttpAuthSchemeParametersProvider=async(e,t,r)=>({operation:(0,o.getSmithyContext)(t).operation,region:await(0,o.normalizeProvider)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});t.defaultSSOHttpAuthSchemeParametersProvider=defaultSSOHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function createSmithyApiNoAuthHttpAuthOption(e){return{schemeId:"smithy.api#noAuth"}}const defaultSSOHttpAuthSchemeProvider=e=>{const t=[];switch(e.operation){case"GetRoleCredentials":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"ListAccountRoles":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"ListAccounts":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"Logout":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}default:{t.push(createAwsAuthSigv4HttpAuthOption(e))}}return t};t.defaultSSOHttpAuthSchemeProvider=defaultSSOHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=e=>{const t=(0,n.resolveAwsSdkSigV4Config)(e);return{...t}};t.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},898:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultEndpointResolver=void 0;const n=r(3350);const o=r(5473);const s=r(3341);const defaultEndpointResolver=(e,t={})=>(0,o.resolveEndpoint)(s.ruleSet,{endpointParams:e,logger:t.logger});t.defaultEndpointResolver=defaultEndpointResolver;o.customEndpointFunctions.aws=n.awsEndpointFunctions},3341:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ruleSet=void 0;const r="required",n="fn",o="argv",s="ref";const i=true,a="isSet",A="booleanEquals",c="error",l="endpoint",u="tree",d="PartitionResult",g="getAttr",f={[r]:false,type:"String"},h={[r]:true,default:false,type:"Boolean"},p={[s]:"Endpoint"},E={[n]:A,[o]:[{[s]:"UseFIPS"},true]},C={[n]:A,[o]:[{[s]:"UseDualStack"},true]},m={},I={[n]:g,[o]:[{[s]:d},"supportsFIPS"]},y={[s]:d},Q={[n]:A,[o]:[true,{[n]:g,[o]:[y,"supportsDualStack"]}]},B=[E],v=[C],b=[{[s]:"Region"}];const w={version:"1.0",parameters:{Region:f,UseDualStack:h,UseFIPS:h,Endpoint:f},rules:[{conditions:[{[n]:a,[o]:[p]}],rules:[{conditions:B,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:v,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:p,properties:m,headers:m},type:l}],type:u},{conditions:[{[n]:a,[o]:b}],rules:[{conditions:[{[n]:"aws.partition",[o]:b,assign:d}],rules:[{conditions:[E,C],rules:[{conditions:[{[n]:A,[o]:[i,I]},Q],rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}],type:u},{conditions:B,rules:[{conditions:[{[n]:A,[o]:[I,i]}],rules:[{conditions:[{[n]:"stringEquals",[o]:[{[n]:g,[o]:[y,"name"]},"aws-us-gov"]}],endpoint:{url:"https://portal.sso.{Region}.amazonaws.com",properties:m,headers:m},type:l},{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS is enabled but this partition does not support FIPS",type:c}],type:u},{conditions:v,rules:[{conditions:[Q],rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"DualStack is enabled but this partition does not support DualStack",type:c}],type:u},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u}],type:u},{error:"Invalid Configuration: Missing Region",type:c}]};t.ruleSet=w},2666:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{GetRoleCredentialsCommand:()=>Qe,GetRoleCredentialsRequestFilterSensitiveLog:()=>j,GetRoleCredentialsResponseFilterSensitiveLog:()=>V,InvalidRequestException:()=>x,ListAccountRolesCommand:()=>ve,ListAccountRolesRequestFilterSensitiveLog:()=>Y,ListAccountsCommand:()=>we,ListAccountsRequestFilterSensitiveLog:()=>J,LogoutCommand:()=>Re,LogoutRequestFilterSensitiveLog:()=>q,ResourceNotFoundException:()=>O,RoleCredentialsFilterSensitiveLog:()=>G,SSO:()=>Ne,SSOClient:()=>D,SSOServiceException:()=>F,TooManyRequestsException:()=>M,UnauthorizedException:()=>H,__Client:()=>B.Client,paginateListAccountRoles:()=>_e,paginateListAccounts:()=>Fe});e.exports=__toCommonJS(a);var A=r(2545);var c=r(14);var l=r(5525);var u=r(4688);var d=r(3098);var g=r(5829);var f=r(2800);var h=r(2918);var p=r(6039);var E=r(9344);var C=__name((e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"awsssoportal"})),"resolveClientEndpointParameters");var m={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var I=r(9756);var y=r(8156);var Q=r(4418);var B=r(3570);var v=__name((e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider;let n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));if(r===-1){t.push(e)}else{t.splice(r,1,e)}},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider(){return r},setCredentials(e){n=e},credentials(){return n}}}),"getHttpAuthExtensionConfiguration");var b=__name((e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()})),"resolveHttpAuthRuntimeConfig");var w=__name((e=>e),"asPartial");var S=__name(((e,t)=>{const r={...w((0,y.getAwsRegionExtensionConfiguration)(e)),...w((0,B.getDefaultExtensionConfiguration)(e)),...w((0,Q.getHttpHandlerExtensionConfiguration)(e)),...w(v(e))};t.forEach((e=>e.configure(r)));return{...e,...(0,y.resolveAwsRegionExtensionConfiguration)(r),...(0,B.resolveDefaultRuntimeConfig)(r),...(0,Q.resolveHttpHandlerRuntimeConfig)(r),...b(r)}}),"resolveRuntimeExtensions");var R=class _SSOClient extends B.Client{constructor(...[e]){const t=(0,I.getRuntimeConfig)(e||{});const r=C(t);const n=(0,d.resolveRegionConfig)(r);const o=(0,h.resolveEndpointConfig)(n);const s=(0,p.resolveRetryConfig)(o);const i=(0,A.resolveHostHeaderConfig)(s);const a=(0,u.resolveUserAgentConfig)(i);const m=(0,E.resolveHttpAuthSchemeConfig)(a);const y=S(m,(e==null?void 0:e.extensions)||[]);super(y);this.config=y;this.middlewareStack.use((0,p.getRetryPlugin)(this.config));this.middlewareStack.use((0,f.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,A.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,c.getLoggerPlugin)(this.config));this.middlewareStack.use((0,l.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,u.getUserAgentPlugin)(this.config));this.middlewareStack.use((0,g.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()}));this.middlewareStack.use((0,g.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return E.defaultSSOHttpAuthSchemeParametersProvider}getIdentityProviderConfigProvider(){return async e=>new g.DefaultIdentityProviderConfig({"aws.auth#sigv4":e.credentials})}};__name(R,"SSOClient");var D=R;var k=r(1238);var N=class _SSOServiceException extends B.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,_SSOServiceException.prototype)}};__name(N,"SSOServiceException");var F=N;var T=class _InvalidRequestException extends F{constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});this.name="InvalidRequestException";this.$fault="client";Object.setPrototypeOf(this,_InvalidRequestException.prototype)}};__name(T,"InvalidRequestException");var x=T;var P=class _ResourceNotFoundException extends F{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});this.name="ResourceNotFoundException";this.$fault="client";Object.setPrototypeOf(this,_ResourceNotFoundException.prototype)}};__name(P,"ResourceNotFoundException");var O=P;var U=class _TooManyRequestsException extends F{constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});this.name="TooManyRequestsException";this.$fault="client";Object.setPrototypeOf(this,_TooManyRequestsException.prototype)}};__name(U,"TooManyRequestsException");var M=U;var L=class _UnauthorizedException extends F{constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});this.name="UnauthorizedException";this.$fault="client";Object.setPrototypeOf(this,_UnauthorizedException.prototype)}};__name(L,"UnauthorizedException");var H=L;var j=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING}})),"GetRoleCredentialsRequestFilterSensitiveLog");var G=__name((e=>({...e,...e.secretAccessKey&&{secretAccessKey:B.SENSITIVE_STRING},...e.sessionToken&&{sessionToken:B.SENSITIVE_STRING}})),"RoleCredentialsFilterSensitiveLog");var V=__name((e=>({...e,...e.roleCredentials&&{roleCredentials:G(e.roleCredentials)}})),"GetRoleCredentialsResponseFilterSensitiveLog");var Y=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING}})),"ListAccountRolesRequestFilterSensitiveLog");var J=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING}})),"ListAccountsRequestFilterSensitiveLog");var q=__name((e=>({...e,...e.accessToken&&{accessToken:B.SENSITIVE_STRING}})),"LogoutRequestFilterSensitiveLog");var $=r(9963);var W=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n=(0,B.map)({},le,{[Ie]:e[de]});r.bp("/federation/credentials");const o=(0,B.map)({[me]:[,(0,B.expectNonNull)(e[Ce],`roleName`)],[ge]:[,(0,B.expectNonNull)(e[ue],`accountId`)]});let s;r.m("GET").h(n).q(o).b(s);return r.build()}),"se_GetRoleCredentialsCommand");var z=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n=(0,B.map)({},le,{[Ie]:e[de]});r.bp("/assignment/roles");const o=(0,B.map)({[Ee]:[,e[pe]],[he]:[()=>e.maxResults!==void 0,()=>e[fe].toString()],[ge]:[,(0,B.expectNonNull)(e[ue],`accountId`)]});let s;r.m("GET").h(n).q(o).b(s);return r.build()}),"se_ListAccountRolesCommand");var K=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n=(0,B.map)({},le,{[Ie]:e[de]});r.bp("/assignment/accounts");const o=(0,B.map)({[Ee]:[,e[pe]],[he]:[()=>e.maxResults!==void 0,()=>e[fe].toString()]});let s;r.m("GET").h(n).q(o).b(s);return r.build()}),"se_ListAccountsCommand");var Z=__name((async(e,t)=>{const r=(0,g.requestBuilder)(e,t);const n=(0,B.map)({},le,{[Ie]:e[de]});r.bp("/logout");let o;r.m("POST").h(n).b(o);return r.build()}),"se_LogoutCommand");var X=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return ne(e,t)}const r=(0,B.map)({$metadata:ce(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,$.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{roleCredentials:B._json});Object.assign(r,o);return r}),"de_GetRoleCredentialsCommand");var ee=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return ne(e,t)}const r=(0,B.map)({$metadata:ce(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,$.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{nextToken:B.expectString,roleList:B._json});Object.assign(r,o);return r}),"de_ListAccountRolesCommand");var te=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return ne(e,t)}const r=(0,B.map)({$metadata:ce(e)});const n=(0,B.expectNonNull)((0,B.expectObject)(await(0,$.parseJsonBody)(e.body,t)),"body");const o=(0,B.take)(n,{accountList:B._json,nextToken:B.expectString});Object.assign(r,o);return r}),"de_ListAccountsCommand");var re=__name((async(e,t)=>{if(e.statusCode!==200&&e.statusCode>=300){return ne(e,t)}const r=(0,B.map)({$metadata:ce(e)});await(0,B.collectBody)(e.body,t);return r}),"de_LogoutCommand");var ne=__name((async(e,t)=>{const r={...e,body:await(0,$.parseJsonErrorBody)(e.body,t)};const n=(0,$.loadRestJsonErrorCode)(e,r.body);switch(n){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await se(r,t);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await ie(r,t);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await ae(r,t);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Ae(r,t);default:const o=r.body;return oe({output:e,parsedBody:o,errorCode:n})}}),"de_CommandError");var oe=(0,B.withBaseException)(F);var se=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{message:B.expectString});Object.assign(r,o);const s=new x({$metadata:ce(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_InvalidRequestExceptionRes");var ie=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{message:B.expectString});Object.assign(r,o);const s=new O({$metadata:ce(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_ResourceNotFoundExceptionRes");var ae=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{message:B.expectString});Object.assign(r,o);const s=new M({$metadata:ce(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_TooManyRequestsExceptionRes");var Ae=__name((async(e,t)=>{const r=(0,B.map)({});const n=e.body;const o=(0,B.take)(n,{message:B.expectString});Object.assign(r,o);const s=new H({$metadata:ce(e),...r});return(0,B.decorateServiceException)(s,e.body)}),"de_UnauthorizedExceptionRes");var ce=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var le=__name((e=>e!==void 0&&e!==null&&e!==""&&(!Object.getOwnPropertyNames(e).includes("length")||e.length!=0)&&(!Object.getOwnPropertyNames(e).includes("size")||e.size!=0)),"isSerializableHeaderValue");var ue="accountId";var de="accessToken";var ge="account_id";var fe="maxResults";var he="max_result";var pe="nextToken";var Ee="next_token";var Ce="roleName";var me="role_name";var Ie="x-amz-sso_bearer_token";var ye=class _GetRoleCredentialsCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").f(j,V).ser(W).de(X).build()){};__name(ye,"GetRoleCredentialsCommand");var Qe=ye;var Be=class _ListAccountRolesCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("SWBPortalService","ListAccountRoles",{}).n("SSOClient","ListAccountRolesCommand").f(Y,void 0).ser(z).de(ee).build()){};__name(Be,"ListAccountRolesCommand");var ve=Be;var be=class _ListAccountsCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("SWBPortalService","ListAccounts",{}).n("SSOClient","ListAccountsCommand").f(J,void 0).ser(K).de(te).build()){};__name(be,"ListAccountsCommand");var we=be;var Se=class _LogoutCommand extends(B.Command.classBuilder().ep({...m}).m((function(e,t,r,n){return[(0,k.getSerdePlugin)(r,this.serialize,this.deserialize),(0,h.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("SWBPortalService","Logout",{}).n("SSOClient","LogoutCommand").f(q,void 0).ser(Z).de(re).build()){};__name(Se,"LogoutCommand");var Re=Se;var De={GetRoleCredentialsCommand:Qe,ListAccountRolesCommand:ve,ListAccountsCommand:we,LogoutCommand:Re};var ke=class _SSO extends D{};__name(ke,"SSO");var Ne=ke;(0,B.createAggregatedClient)(De,Ne);var _e=(0,g.createPaginator)(D,ve,"nextToken","nextToken","maxResults");var Fe=(0,g.createPaginator)(D,we,"nextToken","nextToken","maxResults");0&&0},9756:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(4351);const o=n.__importDefault(r(1092));const s=r(9963);const i=r(8095);const a=r(3098);const A=r(3081);const c=r(6039);const l=r(3461);const u=r(258);const d=r(8075);const g=r(4902);const f=r(4809);const h=r(3570);const p=r(2429);const E=r(3570);const getRuntimeConfig=e=>{(0,E.emitWarningIfUnsupportedVersion)(process.version);const t=(0,p.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>t().then(h.loadConfigsForDefaultMode);const r=(0,f.getRuntimeConfig)(e);(0,s.emitWarningIfUnsupportedVersion)(process.version);return{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??d.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,i.defaultUserAgent)({serviceId:r.serviceId,clientVersion:o.default.version}),maxAttempts:e?.maxAttempts??(0,l.loadConfig)(c.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:e?.region??(0,l.loadConfig)(a.NODE_REGION_CONFIG_OPTIONS,a.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:u.NodeHttpHandler.create(e?.requestHandler??defaultConfigProvider),retryMode:e?.retryMode??(0,l.loadConfig)({...c.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||g.DEFAULT_RETRY_MODE}),sha256:e?.sha256??A.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??u.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,l.loadConfig)(a.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:e?.useFipsEndpoint??(0,l.loadConfig)(a.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};t.getRuntimeConfig=getRuntimeConfig},4809:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(9963);const o=r(5829);const s=r(3570);const i=r(4681);const a=r(5600);const A=r(1895);const c=r(9344);const l=r(898);const getRuntimeConfig=e=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??a.fromBase64,base64Encoder:e?.base64Encoder??a.toBase64,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??l.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??c.defaultSSOHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new n.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new o.NoAuthSigner}],logger:e?.logger??new s.NoOpLogger,serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??i.parseUrl,utf8Decoder:e?.utf8Decoder??A.fromUtf8,utf8Encoder:e?.utf8Encoder??A.toUtf8});t.getRuntimeConfig=getRuntimeConfig},4195:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.STSClient=t.__Client=void 0;const n=r(2545);const o=r(14);const s=r(5525);const i=r(4688);const a=r(3098);const A=r(5829);const c=r(2800);const l=r(2918);const u=r(6039);const d=r(3570);Object.defineProperty(t,"__Client",{enumerable:true,get:function(){return d.Client}});const g=r(7145);const f=r(510);const h=r(3405);const p=r(2053);class STSClient extends d.Client{constructor(...[e]){const t=(0,h.getRuntimeConfig)(e||{});const r=(0,f.resolveClientEndpointParameters)(t);const d=(0,a.resolveRegionConfig)(r);const E=(0,l.resolveEndpointConfig)(d);const C=(0,u.resolveRetryConfig)(E);const m=(0,n.resolveHostHeaderConfig)(C);const I=(0,i.resolveUserAgentConfig)(m);const y=(0,g.resolveHttpAuthSchemeConfig)(I);const Q=(0,p.resolveRuntimeExtensions)(y,e?.extensions||[]);super(Q);this.config=Q;this.middlewareStack.use((0,u.getRetryPlugin)(this.config));this.middlewareStack.use((0,c.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,n.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,o.getLoggerPlugin)(this.config));this.middlewareStack.use((0,s.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,i.getUserAgentPlugin)(this.config));this.middlewareStack.use((0,A.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()}));this.middlewareStack.use((0,A.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return g.defaultSTSHttpAuthSchemeParametersProvider}getIdentityProviderConfigProvider(){return async e=>new A.DefaultIdentityProviderConfig({"aws.auth#sigv4":e.credentials})}}t.STSClient=STSClient},8527:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthRuntimeConfig=t.getHttpAuthExtensionConfiguration=void 0;const getHttpAuthExtensionConfiguration=e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider;let n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));if(r===-1){t.push(e)}else{t.splice(r,1,e)}},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider(){return r},setCredentials(e){n=e},credentials(){return n}}};t.getHttpAuthExtensionConfiguration=getHttpAuthExtensionConfiguration;const resolveHttpAuthRuntimeConfig=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});t.resolveHttpAuthRuntimeConfig=resolveHttpAuthRuntimeConfig},7145:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthSchemeConfig=t.resolveStsAuthConfig=t.defaultSTSHttpAuthSchemeProvider=t.defaultSTSHttpAuthSchemeParametersProvider=void 0;const n=r(9963);const o=r(2390);const s=r(4195);const defaultSTSHttpAuthSchemeParametersProvider=async(e,t,r)=>({operation:(0,o.getSmithyContext)(t).operation,region:await(0,o.normalizeProvider)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});t.defaultSTSHttpAuthSchemeParametersProvider=defaultSTSHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function createSmithyApiNoAuthHttpAuthOption(e){return{schemeId:"smithy.api#noAuth"}}const defaultSTSHttpAuthSchemeProvider=e=>{const t=[];switch(e.operation){case"AssumeRoleWithSAML":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}case"AssumeRoleWithWebIdentity":{t.push(createSmithyApiNoAuthHttpAuthOption(e));break}default:{t.push(createAwsAuthSigv4HttpAuthOption(e))}}return t};t.defaultSTSHttpAuthSchemeProvider=defaultSTSHttpAuthSchemeProvider;const resolveStsAuthConfig=e=>({...e,stsClientCtor:s.STSClient});t.resolveStsAuthConfig=resolveStsAuthConfig;const resolveHttpAuthSchemeConfig=e=>{const r=(0,t.resolveStsAuthConfig)(e);const o=(0,n.resolveAwsSdkSigV4Config)(r);return{...o}};t.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},510:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.commonParams=t.resolveClientEndpointParameters=void 0;const resolveClientEndpointParameters=e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,useGlobalEndpoint:e.useGlobalEndpoint??false,defaultSigningName:"sts"});t.resolveClientEndpointParameters=resolveClientEndpointParameters;t.commonParams={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}},1203:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultEndpointResolver=void 0;const n=r(3350);const o=r(5473);const s=r(6882);const defaultEndpointResolver=(e,t={})=>(0,o.resolveEndpoint)(s.ruleSet,{endpointParams:e,logger:t.logger});t.defaultEndpointResolver=defaultEndpointResolver;o.customEndpointFunctions.aws=n.awsEndpointFunctions},6882:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ruleSet=void 0;const r="required",n="type",o="fn",s="argv",i="ref";const a=false,A=true,c="booleanEquals",l="stringEquals",u="sigv4",d="sts",g="us-east-1",f="endpoint",h="https://sts.{Region}.{PartitionResult#dnsSuffix}",p="tree",E="error",C="getAttr",m={[r]:false,[n]:"String"},I={[r]:true,default:false,[n]:"Boolean"},y={[i]:"Endpoint"},Q={[o]:"isSet",[s]:[{[i]:"Region"}]},B={[i]:"Region"},v={[o]:"aws.partition",[s]:[B],assign:"PartitionResult"},b={[i]:"UseFIPS"},w={[i]:"UseDualStack"},S={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:u,signingName:d,signingRegion:g}]},headers:{}},R={},D={conditions:[{[o]:l,[s]:[B,"aws-global"]}],[f]:S,[n]:f},k={[o]:c,[s]:[b,true]},N={[o]:c,[s]:[w,true]},F={[o]:C,[s]:[{[i]:"PartitionResult"},"supportsFIPS"]},T={[i]:"PartitionResult"},x={[o]:c,[s]:[true,{[o]:C,[s]:[T,"supportsDualStack"]}]},P=[{[o]:"isSet",[s]:[y]}],O=[k],U=[N];const M={version:"1.0",parameters:{Region:m,UseDualStack:I,UseFIPS:I,Endpoint:m,UseGlobalEndpoint:I},rules:[{conditions:[{[o]:c,[s]:[{[i]:"UseGlobalEndpoint"},A]},{[o]:"not",[s]:P},Q,v,{[o]:c,[s]:[b,a]},{[o]:c,[s]:[w,a]}],rules:[{conditions:[{[o]:l,[s]:[B,"ap-northeast-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"ap-south-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"ap-southeast-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"ap-southeast-2"]}],endpoint:S,[n]:f},D,{conditions:[{[o]:l,[s]:[B,"ca-central-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-central-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-north-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-west-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-west-2"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"eu-west-3"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"sa-east-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,g]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"us-east-2"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"us-west-1"]}],endpoint:S,[n]:f},{conditions:[{[o]:l,[s]:[B,"us-west-2"]}],endpoint:S,[n]:f},{endpoint:{url:h,properties:{authSchemes:[{name:u,signingName:d,signingRegion:"{Region}"}]},headers:R},[n]:f}],[n]:p},{conditions:P,rules:[{conditions:O,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[n]:E},{conditions:U,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[n]:E},{endpoint:{url:y,properties:R,headers:R},[n]:f}],[n]:p},{conditions:[Q],rules:[{conditions:[v],rules:[{conditions:[k,N],rules:[{conditions:[{[o]:c,[s]:[A,F]},x],rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:R,headers:R},[n]:f}],[n]:p},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[n]:E}],[n]:p},{conditions:O,rules:[{conditions:[{[o]:c,[s]:[F,A]}],rules:[{conditions:[{[o]:l,[s]:[{[o]:C,[s]:[T,"name"]},"aws-us-gov"]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:R,headers:R},[n]:f},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:R,headers:R},[n]:f}],[n]:p},{error:"FIPS is enabled but this partition does not support FIPS",[n]:E}],[n]:p},{conditions:U,rules:[{conditions:[x],rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:R,headers:R},[n]:f}],[n]:p},{error:"DualStack is enabled but this partition does not support DualStack",[n]:E}],[n]:p},D,{endpoint:{url:h,properties:R,headers:R},[n]:f}],[n]:p}],[n]:p},{error:"Invalid Configuration: Missing Region",[n]:E}]};t.ruleSet=M},2209:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AssumeRoleCommand:()=>tr,AssumeRoleResponseFilterSensitiveLog:()=>N,AssumeRoleWithSAMLCommand:()=>sr,AssumeRoleWithSAMLRequestFilterSensitiveLog:()=>F,AssumeRoleWithSAMLResponseFilterSensitiveLog:()=>T,AssumeRoleWithWebIdentityCommand:()=>Ar,AssumeRoleWithWebIdentityRequestFilterSensitiveLog:()=>x,AssumeRoleWithWebIdentityResponseFilterSensitiveLog:()=>P,ClientInputEndpointParameters:()=>Rr.ClientInputEndpointParameters,CredentialsFilterSensitiveLog:()=>k,DecodeAuthorizationMessageCommand:()=>ur,ExpiredTokenException:()=>h,GetAccessKeyInfoCommand:()=>fr,GetCallerIdentityCommand:()=>Er,GetFederationTokenCommand:()=>Ir,GetFederationTokenResponseFilterSensitiveLog:()=>O,GetSessionTokenCommand:()=>Br,GetSessionTokenResponseFilterSensitiveLog:()=>U,IDPCommunicationErrorException:()=>S,IDPRejectedClaimException:()=>B,InvalidAuthorizationMessageException:()=>D,InvalidIdentityTokenException:()=>b,MalformedPolicyDocumentException:()=>E,PackedPolicyTooLargeException:()=>m,RegionDisabledException:()=>y,STS:()=>Sr,STSServiceException:()=>g,decorateDefaultCredentialProvider:()=>Or,getDefaultRoleAssumer:()=>xr,getDefaultRoleAssumerWithWebIdentity:()=>Pr});e.exports=__toCommonJS(a);__reExport(a,r(4195),e.exports);var A=r(2918);var c=r(1238);var l=r(510);var u=r(3570);var d=class _STSServiceException extends u.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,_STSServiceException.prototype)}};__name(d,"STSServiceException");var g=d;var f=class _ExpiredTokenException extends g{constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});this.name="ExpiredTokenException";this.$fault="client";Object.setPrototypeOf(this,_ExpiredTokenException.prototype)}};__name(f,"ExpiredTokenException");var h=f;var p=class _MalformedPolicyDocumentException extends g{constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});this.name="MalformedPolicyDocumentException";this.$fault="client";Object.setPrototypeOf(this,_MalformedPolicyDocumentException.prototype)}};__name(p,"MalformedPolicyDocumentException");var E=p;var C=class _PackedPolicyTooLargeException extends g{constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});this.name="PackedPolicyTooLargeException";this.$fault="client";Object.setPrototypeOf(this,_PackedPolicyTooLargeException.prototype)}};__name(C,"PackedPolicyTooLargeException");var m=C;var I=class _RegionDisabledException extends g{constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});this.name="RegionDisabledException";this.$fault="client";Object.setPrototypeOf(this,_RegionDisabledException.prototype)}};__name(I,"RegionDisabledException");var y=I;var Q=class _IDPRejectedClaimException extends g{constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});this.name="IDPRejectedClaimException";this.$fault="client";Object.setPrototypeOf(this,_IDPRejectedClaimException.prototype)}};__name(Q,"IDPRejectedClaimException");var B=Q;var v=class _InvalidIdentityTokenException extends g{constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});this.name="InvalidIdentityTokenException";this.$fault="client";Object.setPrototypeOf(this,_InvalidIdentityTokenException.prototype)}};__name(v,"InvalidIdentityTokenException");var b=v;var w=class _IDPCommunicationErrorException extends g{constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});this.name="IDPCommunicationErrorException";this.$fault="client";Object.setPrototypeOf(this,_IDPCommunicationErrorException.prototype)}};__name(w,"IDPCommunicationErrorException");var S=w;var R=class _InvalidAuthorizationMessageException extends g{constructor(e){super({name:"InvalidAuthorizationMessageException",$fault:"client",...e});this.name="InvalidAuthorizationMessageException";this.$fault="client";Object.setPrototypeOf(this,_InvalidAuthorizationMessageException.prototype)}};__name(R,"InvalidAuthorizationMessageException");var D=R;var k=__name((e=>({...e,...e.SecretAccessKey&&{SecretAccessKey:u.SENSITIVE_STRING}})),"CredentialsFilterSensitiveLog");var N=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"AssumeRoleResponseFilterSensitiveLog");var F=__name((e=>({...e,...e.SAMLAssertion&&{SAMLAssertion:u.SENSITIVE_STRING}})),"AssumeRoleWithSAMLRequestFilterSensitiveLog");var T=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"AssumeRoleWithSAMLResponseFilterSensitiveLog");var x=__name((e=>({...e,...e.WebIdentityToken&&{WebIdentityToken:u.SENSITIVE_STRING}})),"AssumeRoleWithWebIdentityRequestFilterSensitiveLog");var P=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"AssumeRoleWithWebIdentityResponseFilterSensitiveLog");var O=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"GetFederationTokenResponseFilterSensitiveLog");var U=__name((e=>({...e,...e.Credentials&&{Credentials:k(e.Credentials)}})),"GetSessionTokenResponseFilterSensitiveLog");var M=r(9963);var L=r(4418);var H=__name((async(e,t)=>{const r=We;let n;n=Zt({...de(e,t),[Ke]:Xe,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_AssumeRoleCommand");var j=__name((async(e,t)=>{const r=We;let n;n=Zt({...ge(e,t),[Ke]:rt,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_AssumeRoleWithSAMLCommand");var G=__name((async(e,t)=>{const r=We;let n;n=Zt({...fe(e,t),[Ke]:nt,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_AssumeRoleWithWebIdentityCommand");var V=__name((async(e,t)=>{const r=We;let n;n=Zt({...he(e,t),[Ke]:ct,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_DecodeAuthorizationMessageCommand");var Y=__name((async(e,t)=>{const r=We;let n;n=Zt({...pe(e,t),[Ke]:Et,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_GetAccessKeyInfoCommand");var J=__name((async(e,t)=>{const r=We;let n;n=Zt({...Ee(e,t),[Ke]:Ct,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_GetCallerIdentityCommand");var q=__name((async(e,t)=>{const r=We;let n;n=Zt({...Ce(e,t),[Ke]:mt,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_GetFederationTokenCommand");var $=__name((async(e,t)=>{const r=We;let n;n=Zt({...me(e,t),[Ke]:It,[qt]:ze});return $e(t,r,"/",void 0,n)}),"se_GetSessionTokenCommand");var W=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=Re(r.AssumeRoleResult,t);const o={$metadata:Je(e),...n};return o}),"de_AssumeRoleCommand");var z=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=De(r.AssumeRoleWithSAMLResult,t);const o={$metadata:Je(e),...n};return o}),"de_AssumeRoleWithSAMLCommand");var K=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=ke(r.AssumeRoleWithWebIdentityResult,t);const o={$metadata:Je(e),...n};return o}),"de_AssumeRoleWithWebIdentityCommand");var Z=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=_e(r.DecodeAuthorizationMessageResult,t);const o={$metadata:Je(e),...n};return o}),"de_DecodeAuthorizationMessageCommand");var X=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=xe(r.GetAccessKeyInfoResult,t);const o={$metadata:Je(e),...n};return o}),"de_GetAccessKeyInfoCommand");var ee=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=Pe(r.GetCallerIdentityResult,t);const o={$metadata:Je(e),...n};return o}),"de_GetCallerIdentityCommand");var te=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=Oe(r.GetFederationTokenResult,t);const o={$metadata:Je(e),...n};return o}),"de_GetFederationTokenCommand");var re=__name((async(e,t)=>{if(e.statusCode>=300){return ne(e,t)}const r=await(0,M.parseXmlBody)(e.body,t);let n={};n=Ue(r.GetSessionTokenResult,t);const o={$metadata:Je(e),...n};return o}),"de_GetSessionTokenCommand");var ne=__name((async(e,t)=>{const r={...e,body:await(0,M.parseXmlErrorBody)(e.body,t)};const n=Xt(e,r.body);switch(n){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await oe(r,t);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await ce(r,t);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await le(r,t);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await ue(r,t);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await ie(r,t);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await Ae(r,t);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await se(r,t);case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await ae(r,t);default:const o=r.body;return qe({output:e,parsedBody:o.Error,errorCode:n})}}),"de_CommandError");var oe=__name((async(e,t)=>{const r=e.body;const n=Fe(r.Error,t);const o=new h({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_ExpiredTokenExceptionRes");var se=__name((async(e,t)=>{const r=e.body;const n=Me(r.Error,t);const o=new S({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_IDPCommunicationErrorExceptionRes");var ie=__name((async(e,t)=>{const r=e.body;const n=Le(r.Error,t);const o=new B({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_IDPRejectedClaimExceptionRes");var ae=__name((async(e,t)=>{const r=e.body;const n=He(r.Error,t);const o=new D({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_InvalidAuthorizationMessageExceptionRes");var Ae=__name((async(e,t)=>{const r=e.body;const n=je(r.Error,t);const o=new b({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_InvalidIdentityTokenExceptionRes");var ce=__name((async(e,t)=>{const r=e.body;const n=Ge(r.Error,t);const o=new E({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_MalformedPolicyDocumentExceptionRes");var le=__name((async(e,t)=>{const r=e.body;const n=Ve(r.Error,t);const o=new m({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_PackedPolicyTooLargeExceptionRes");var ue=__name((async(e,t)=>{const r=e.body;const n=Ye(r.Error,t);const o=new y({$metadata:Je(e),...n});return(0,u.decorateServiceException)(o,r)}),"de_RegionDisabledExceptionRes");var de=__name(((e,t)=>{var r,n,o,s;const i={};if(e[Ft]!=null){i[Ft]=e[Ft]}if(e[Tt]!=null){i[Tt]=e[Tt]}if(e[wt]!=null){const n=Ie(e[wt],t);if(((r=e[wt])==null?void 0:r.length)===0){i.PolicyArns=[]}Object.entries(n).forEach((([e,t])=>{const r=`PolicyArns.${e}`;i[r]=t}))}if(e[bt]!=null){i[bt]=e[bt]}if(e[ut]!=null){i[ut]=e[ut]}if(e[Gt]!=null){const r=we(e[Gt],t);if(((n=e[Gt])==null?void 0:n.length)===0){i.Tags=[]}Object.entries(r).forEach((([e,t])=>{const r=`Tags.${e}`;i[r]=t}))}if(e[Yt]!=null){const r=be(e[Yt],t);if(((o=e[Yt])==null?void 0:o.length)===0){i.TransitiveTagKeys=[]}Object.entries(r).forEach((([e,t])=>{const r=`TransitiveTagKeys.${e}`;i[r]=t}))}if(e[gt]!=null){i[gt]=e[gt]}if(e[Lt]!=null){i[Lt]=e[Lt]}if(e[Vt]!=null){i[Vt]=e[Vt]}if(e[Mt]!=null){i[Mt]=e[Mt]}if(e[Dt]!=null){const r=Be(e[Dt],t);if(((s=e[Dt])==null?void 0:s.length)===0){i.ProvidedContexts=[]}Object.entries(r).forEach((([e,t])=>{const r=`ProvidedContexts.${e}`;i[r]=t}))}return i}),"se_AssumeRoleRequest");var ge=__name(((e,t)=>{var r;const n={};if(e[Ft]!=null){n[Ft]=e[Ft]}if(e[St]!=null){n[St]=e[St]}if(e[Ot]!=null){n[Ot]=e[Ot]}if(e[wt]!=null){const o=Ie(e[wt],t);if(((r=e[wt])==null?void 0:r.length)===0){n.PolicyArns=[]}Object.entries(o).forEach((([e,t])=>{const r=`PolicyArns.${e}`;n[r]=t}))}if(e[bt]!=null){n[bt]=e[bt]}if(e[ut]!=null){n[ut]=e[ut]}return n}),"se_AssumeRoleWithSAMLRequest");var fe=__name(((e,t)=>{var r;const n={};if(e[Ft]!=null){n[Ft]=e[Ft]}if(e[Tt]!=null){n[Tt]=e[Tt]}if(e[Wt]!=null){n[Wt]=e[Wt]}if(e[kt]!=null){n[kt]=e[kt]}if(e[wt]!=null){const o=Ie(e[wt],t);if(((r=e[wt])==null?void 0:r.length)===0){n.PolicyArns=[]}Object.entries(o).forEach((([e,t])=>{const r=`PolicyArns.${e}`;n[r]=t}))}if(e[bt]!=null){n[bt]=e[bt]}if(e[ut]!=null){n[ut]=e[ut]}return n}),"se_AssumeRoleWithWebIdentityRequest");var he=__name(((e,t)=>{const r={};if(e[ft]!=null){r[ft]=e[ft]}return r}),"se_DecodeAuthorizationMessageRequest");var pe=__name(((e,t)=>{const r={};if(e[Ze]!=null){r[Ze]=e[Ze]}return r}),"se_GetAccessKeyInfoRequest");var Ee=__name(((e,t)=>{const r={};return r}),"se_GetCallerIdentityRequest");var Ce=__name(((e,t)=>{var r,n;const o={};if(e[Bt]!=null){o[Bt]=e[Bt]}if(e[bt]!=null){o[bt]=e[bt]}if(e[wt]!=null){const n=Ie(e[wt],t);if(((r=e[wt])==null?void 0:r.length)===0){o.PolicyArns=[]}Object.entries(n).forEach((([e,t])=>{const r=`PolicyArns.${e}`;o[r]=t}))}if(e[ut]!=null){o[ut]=e[ut]}if(e[Gt]!=null){const r=we(e[Gt],t);if(((n=e[Gt])==null?void 0:n.length)===0){o.Tags=[]}Object.entries(r).forEach((([e,t])=>{const r=`Tags.${e}`;o[r]=t}))}return o}),"se_GetFederationTokenRequest");var me=__name(((e,t)=>{const r={};if(e[ut]!=null){r[ut]=e[ut]}if(e[Lt]!=null){r[Lt]=e[Lt]}if(e[Vt]!=null){r[Vt]=e[Vt]}return r}),"se_GetSessionTokenRequest");var Ie=__name(((e,t)=>{const r={};let n=1;for(const o of e){if(o===null){continue}const e=ye(o,t);Object.entries(e).forEach((([e,t])=>{r[`member.${n}.${e}`]=t}));n++}return r}),"se_policyDescriptorListType");var ye=__name(((e,t)=>{const r={};if(e[zt]!=null){r[zt]=e[zt]}return r}),"se_PolicyDescriptorType");var Qe=__name(((e,t)=>{const r={};if(e[Rt]!=null){r[Rt]=e[Rt]}if(e[At]!=null){r[At]=e[At]}return r}),"se_ProvidedContext");var Be=__name(((e,t)=>{const r={};let n=1;for(const o of e){if(o===null){continue}const e=Qe(o,t);Object.entries(e).forEach((([e,t])=>{r[`member.${n}.${e}`]=t}));n++}return r}),"se_ProvidedContextsListType");var ve=__name(((e,t)=>{const r={};if(e[Qt]!=null){r[Qt]=e[Qt]}if(e[$t]!=null){r[$t]=e[$t]}return r}),"se_Tag");var be=__name(((e,t)=>{const r={};let n=1;for(const t of e){if(t===null){continue}r[`member.${n}`]=t;n++}return r}),"se_tagKeyListType");var we=__name(((e,t)=>{const r={};let n=1;for(const o of e){if(o===null){continue}const e=ve(o,t);Object.entries(e).forEach((([e,t])=>{r[`member.${n}.${e}`]=t}));n++}return r}),"se_tagListType");var Se=__name(((e,t)=>{const r={};if(e[et]!=null){r[et]=(0,u.expectString)(e[et])}if(e[st]!=null){r[st]=(0,u.expectString)(e[st])}return r}),"de_AssumedRoleUser");var Re=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}if(e[tt]!=null){r[tt]=Se(e[tt],t)}if(e[Nt]!=null){r[Nt]=(0,u.strictParseInt32)(e[Nt])}if(e[Mt]!=null){r[Mt]=(0,u.expectString)(e[Mt])}return r}),"de_AssumeRoleResponse");var De=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}if(e[tt]!=null){r[tt]=Se(e[tt],t)}if(e[Nt]!=null){r[Nt]=(0,u.strictParseInt32)(e[Nt])}if(e[xt]!=null){r[xt]=(0,u.expectString)(e[xt])}if(e[Ht]!=null){r[Ht]=(0,u.expectString)(e[Ht])}if(e[yt]!=null){r[yt]=(0,u.expectString)(e[yt])}if(e[it]!=null){r[it]=(0,u.expectString)(e[it])}if(e[vt]!=null){r[vt]=(0,u.expectString)(e[vt])}if(e[Mt]!=null){r[Mt]=(0,u.expectString)(e[Mt])}return r}),"de_AssumeRoleWithSAMLResponse");var ke=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}if(e[Ut]!=null){r[Ut]=(0,u.expectString)(e[Ut])}if(e[tt]!=null){r[tt]=Se(e[tt],t)}if(e[Nt]!=null){r[Nt]=(0,u.strictParseInt32)(e[Nt])}if(e[_t]!=null){r[_t]=(0,u.expectString)(e[_t])}if(e[it]!=null){r[it]=(0,u.expectString)(e[it])}if(e[Mt]!=null){r[Mt]=(0,u.expectString)(e[Mt])}return r}),"de_AssumeRoleWithWebIdentityResponse");var Ne=__name(((e,t)=>{const r={};if(e[Ze]!=null){r[Ze]=(0,u.expectString)(e[Ze])}if(e[Pt]!=null){r[Pt]=(0,u.expectString)(e[Pt])}if(e[jt]!=null){r[jt]=(0,u.expectString)(e[jt])}if(e[dt]!=null){r[dt]=(0,u.expectNonNull)((0,u.parseRfc3339DateTimeWithOffset)(e[dt]))}return r}),"de_Credentials");var _e=__name(((e,t)=>{const r={};if(e[lt]!=null){r[lt]=(0,u.expectString)(e[lt])}return r}),"de_DecodeAuthorizationMessageResponse");var Fe=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_ExpiredTokenException");var Te=__name(((e,t)=>{const r={};if(e[pt]!=null){r[pt]=(0,u.expectString)(e[pt])}if(e[st]!=null){r[st]=(0,u.expectString)(e[st])}return r}),"de_FederatedUser");var xe=__name(((e,t)=>{const r={};if(e[ot]!=null){r[ot]=(0,u.expectString)(e[ot])}return r}),"de_GetAccessKeyInfoResponse");var Pe=__name(((e,t)=>{const r={};if(e[Jt]!=null){r[Jt]=(0,u.expectString)(e[Jt])}if(e[ot]!=null){r[ot]=(0,u.expectString)(e[ot])}if(e[st]!=null){r[st]=(0,u.expectString)(e[st])}return r}),"de_GetCallerIdentityResponse");var Oe=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}if(e[ht]!=null){r[ht]=Te(e[ht],t)}if(e[Nt]!=null){r[Nt]=(0,u.strictParseInt32)(e[Nt])}return r}),"de_GetFederationTokenResponse");var Ue=__name(((e,t)=>{const r={};if(e[at]!=null){r[at]=Ne(e[at],t)}return r}),"de_GetSessionTokenResponse");var Me=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_IDPCommunicationErrorException");var Le=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_IDPRejectedClaimException");var He=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_InvalidAuthorizationMessageException");var je=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_InvalidIdentityTokenException");var Ge=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_MalformedPolicyDocumentException");var Ve=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_PackedPolicyTooLargeException");var Ye=__name(((e,t)=>{const r={};if(e[Kt]!=null){r[Kt]=(0,u.expectString)(e[Kt])}return r}),"de_RegionDisabledException");var Je=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var qe=(0,u.withBaseException)(g);var $e=__name((async(e,t,r,n,o)=>{const{hostname:s,protocol:i="https",port:a,path:A}=await e.endpoint();const c={protocol:i,hostname:s,port:a,method:"POST",path:A.endsWith("/")?A.slice(0,-1)+r:A+r,headers:t};if(n!==void 0){c.hostname=n}if(o!==void 0){c.body=o}return new L.HttpRequest(c)}),"buildHttpRpcRequest");var We={"content-type":"application/x-www-form-urlencoded"};var ze="2011-06-15";var Ke="Action";var Ze="AccessKeyId";var Xe="AssumeRole";var et="AssumedRoleId";var tt="AssumedRoleUser";var rt="AssumeRoleWithSAML";var nt="AssumeRoleWithWebIdentity";var ot="Account";var st="Arn";var it="Audience";var at="Credentials";var At="ContextAssertion";var ct="DecodeAuthorizationMessage";var lt="DecodedMessage";var ut="DurationSeconds";var dt="Expiration";var gt="ExternalId";var ft="EncodedMessage";var ht="FederatedUser";var pt="FederatedUserId";var Et="GetAccessKeyInfo";var Ct="GetCallerIdentity";var mt="GetFederationToken";var It="GetSessionToken";var yt="Issuer";var Qt="Key";var Bt="Name";var vt="NameQualifier";var bt="Policy";var wt="PolicyArns";var St="PrincipalArn";var Rt="ProviderArn";var Dt="ProvidedContexts";var kt="ProviderId";var Nt="PackedPolicySize";var _t="Provider";var Ft="RoleArn";var Tt="RoleSessionName";var xt="Subject";var Pt="SecretAccessKey";var Ot="SAMLAssertion";var Ut="SubjectFromWebIdentityToken";var Mt="SourceIdentity";var Lt="SerialNumber";var Ht="SubjectType";var jt="SessionToken";var Gt="Tags";var Vt="TokenCode";var Yt="TransitiveTagKeys";var Jt="UserId";var qt="Version";var $t="Value";var Wt="WebIdentityToken";var zt="arn";var Kt="message";var Zt=__name((e=>Object.entries(e).map((([e,t])=>(0,u.extendedEncodeURIComponent)(e)+"="+(0,u.extendedEncodeURIComponent)(t))).join("&")),"buildFormUrlencodedString");var Xt=__name(((e,t)=>{var r;if(((r=t.Error)==null?void 0:r.Code)!==void 0){return t.Error.Code}if(e.statusCode==404){return"NotFound"}}),"loadQueryErrorCode");var er=class _AssumeRoleCommand extends(u.Command.classBuilder().ep({...l.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").f(void 0,N).ser(H).de(W).build()){};__name(er,"AssumeRoleCommand");var tr=er;var rr=r(510);var nr=class _AssumeRoleWithSAMLCommand extends(u.Command.classBuilder().ep({...rr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithSAML",{}).n("STSClient","AssumeRoleWithSAMLCommand").f(F,T).ser(j).de(z).build()){};__name(nr,"AssumeRoleWithSAMLCommand");var sr=nr;var ir=r(510);var ar=class _AssumeRoleWithWebIdentityCommand extends(u.Command.classBuilder().ep({...ir.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").f(x,P).ser(G).de(K).build()){};__name(ar,"AssumeRoleWithWebIdentityCommand");var Ar=ar;var cr=r(510);var lr=class _DecodeAuthorizationMessageCommand extends(u.Command.classBuilder().ep({...cr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","DecodeAuthorizationMessage",{}).n("STSClient","DecodeAuthorizationMessageCommand").f(void 0,void 0).ser(V).de(Z).build()){};__name(lr,"DecodeAuthorizationMessageCommand");var ur=lr;var dr=r(510);var gr=class _GetAccessKeyInfoCommand extends(u.Command.classBuilder().ep({...dr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","GetAccessKeyInfo",{}).n("STSClient","GetAccessKeyInfoCommand").f(void 0,void 0).ser(Y).de(X).build()){};__name(gr,"GetAccessKeyInfoCommand");var fr=gr;var hr=r(510);var pr=class _GetCallerIdentityCommand extends(u.Command.classBuilder().ep({...hr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","GetCallerIdentity",{}).n("STSClient","GetCallerIdentityCommand").f(void 0,void 0).ser(J).de(ee).build()){};__name(pr,"GetCallerIdentityCommand");var Er=pr;var Cr=r(510);var mr=class _GetFederationTokenCommand extends(u.Command.classBuilder().ep({...Cr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","GetFederationToken",{}).n("STSClient","GetFederationTokenCommand").f(void 0,O).ser(q).de(te).build()){};__name(mr,"GetFederationTokenCommand");var Ir=mr;var yr=r(510);var Qr=class _GetSessionTokenCommand extends(u.Command.classBuilder().ep({...yr.commonParams}).m((function(e,t,r,n){return[(0,c.getSerdePlugin)(r,this.serialize,this.deserialize),(0,A.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","GetSessionToken",{}).n("STSClient","GetSessionTokenCommand").f(void 0,U).ser($).de(re).build()){};__name(Qr,"GetSessionTokenCommand");var Br=Qr;var vr=r(4195);var br={AssumeRoleCommand:tr,AssumeRoleWithSAMLCommand:sr,AssumeRoleWithWebIdentityCommand:Ar,DecodeAuthorizationMessageCommand:ur,GetAccessKeyInfoCommand:fr,GetCallerIdentityCommand:Er,GetFederationTokenCommand:Ir,GetSessionTokenCommand:Br};var wr=class _STS extends vr.STSClient{};__name(wr,"STS");var Sr=wr;(0,u.createAggregatedClient)(br,Sr);var Rr=r(510);var Dr="us-east-1";var kr=__name((async(e,t,r)=>{var n;const o=typeof e==="function"?await e():e;const s=typeof t==="function"?await t():t;(n=r==null?void 0:r.debug)==null?void 0:n.call(r,"@aws-sdk/client-sts::resolveRegion","accepting first of:",`${o} (provider)`,`${s} (parent client)`,`${Dr} (STS default)`);return o??s??Dr}),"resolveRegion");var Nr=__name(((e,t)=>{let r;let n;return async(o,s)=>{var i,a,A;n=o;if(!r){const{logger:o=((i=e==null?void 0:e.parentClientConfig)==null?void 0:i.logger),region:s,requestHandler:c=((a=e==null?void 0:e.parentClientConfig)==null?void 0:a.requestHandler),credentialProviderLogger:l}=e;const u=await kr(s,(A=e==null?void 0:e.parentClientConfig)==null?void 0:A.region,l);r=new t({credentialDefaultProvider:()=>async()=>n,region:u,requestHandler:c,logger:o})}const{Credentials:c}=await r.send(new tr(s));if(!c||!c.AccessKeyId||!c.SecretAccessKey){throw new Error(`Invalid response from STS.assumeRole call with role ${s.RoleArn}`)}return{accessKeyId:c.AccessKeyId,secretAccessKey:c.SecretAccessKey,sessionToken:c.SessionToken,expiration:c.Expiration,credentialScope:c.CredentialScope}}}),"getDefaultRoleAssumer");var _r=__name(((e,t)=>{let r;return async n=>{var o,s,i;if(!r){const{logger:n=((o=e==null?void 0:e.parentClientConfig)==null?void 0:o.logger),region:a,requestHandler:A=((s=e==null?void 0:e.parentClientConfig)==null?void 0:s.requestHandler),credentialProviderLogger:c}=e;const l=await kr(a,(i=e==null?void 0:e.parentClientConfig)==null?void 0:i.region,c);r=new t({region:l,requestHandler:A,logger:n})}const{Credentials:a}=await r.send(new Ar(n));if(!a||!a.AccessKeyId||!a.SecretAccessKey){throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${n.RoleArn}`)}return{accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration,credentialScope:a.CredentialScope}}}),"getDefaultRoleAssumerWithWebIdentity");var Fr=r(4195);var Tr=__name(((e,t)=>{var r;if(!t)return e;else return r=class extends e{constructor(e){super(e);for(const e of t){this.middlewareStack.use(e)}}},__name(r,"CustomizableSTSClient"),r}),"getCustomizableStsClientCtor");var xr=__name(((e={},t)=>Nr(e,Tr(Fr.STSClient,t))),"getDefaultRoleAssumer");var Pr=__name(((e={},t)=>_r(e,Tr(Fr.STSClient,t))),"getDefaultRoleAssumerWithWebIdentity");var Or=__name((e=>t=>e({roleAssumer:xr(t),roleAssumerWithWebIdentity:Pr(t),...t})),"decorateDefaultCredentialProvider");0&&0},3405:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(4351);const o=n.__importDefault(r(7947));const s=r(9963);const i=r(5531);const a=r(8095);const A=r(3098);const c=r(5829);const l=r(3081);const u=r(6039);const d=r(3461);const g=r(258);const f=r(8075);const h=r(4902);const p=r(2642);const E=r(3570);const C=r(2429);const m=r(3570);const getRuntimeConfig=e=>{(0,m.emitWarningIfUnsupportedVersion)(process.version);const t=(0,C.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>t().then(E.loadConfigsForDefaultMode);const r=(0,p.getRuntimeConfig)(e);(0,s.emitWarningIfUnsupportedVersion)(process.version);return{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??f.calculateBodyLength,credentialDefaultProvider:e?.credentialDefaultProvider??i.defaultProvider,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,a.defaultUserAgent)({serviceId:r.serviceId,clientVersion:o.default.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4")||(async e=>await(0,i.defaultProvider)(e?.__config||{})()),signer:new s.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new c.NoAuthSigner}],maxAttempts:e?.maxAttempts??(0,d.loadConfig)(u.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:e?.region??(0,d.loadConfig)(A.NODE_REGION_CONFIG_OPTIONS,A.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:g.NodeHttpHandler.create(e?.requestHandler??defaultConfigProvider),retryMode:e?.retryMode??(0,d.loadConfig)({...u.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||h.DEFAULT_RETRY_MODE}),sha256:e?.sha256??l.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??g.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,d.loadConfig)(A.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:e?.useFipsEndpoint??(0,d.loadConfig)(A.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};t.getRuntimeConfig=getRuntimeConfig},2642:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(9963);const o=r(5829);const s=r(3570);const i=r(4681);const a=r(5600);const A=r(1895);const c=r(7145);const l=r(1203);const getRuntimeConfig=e=>({apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??a.fromBase64,base64Encoder:e?.base64Encoder??a.toBase64,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??l.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??c.defaultSTSHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new n.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new o.NoAuthSigner}],logger:e?.logger??new s.NoOpLogger,serviceId:e?.serviceId??"STS",urlParser:e?.urlParser??i.parseUrl,utf8Decoder:e?.utf8Decoder??A.fromUtf8,utf8Encoder:e?.utf8Encoder??A.toUtf8});t.getRuntimeConfig=getRuntimeConfig},2053:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveRuntimeExtensions=void 0;const n=r(8156);const o=r(4418);const s=r(3570);const i=r(8527);const asPartial=e=>e;const resolveRuntimeExtensions=(e,t)=>{const r={...asPartial((0,n.getAwsRegionExtensionConfiguration)(e)),...asPartial((0,s.getDefaultExtensionConfiguration)(e)),...asPartial((0,o.getHttpHandlerExtensionConfiguration)(e)),...asPartial((0,i.getHttpAuthExtensionConfiguration)(e))};t.forEach((e=>e.configure(r)));return{...e,...(0,n.resolveAwsRegionExtensionConfiguration)(r),...(0,s.resolveDefaultRuntimeConfig)(r),...(0,o.resolveHttpHandlerRuntimeConfig)(r),...(0,i.resolveHttpAuthRuntimeConfig)(r)}};t.resolveRuntimeExtensions=resolveRuntimeExtensions},1949:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthSchemeConfig=t.defaultTimestreamWriteHttpAuthSchemeProvider=t.defaultTimestreamWriteHttpAuthSchemeParametersProvider=void 0;const n=r(9963);const o=r(2390);const defaultTimestreamWriteHttpAuthSchemeParametersProvider=async(e,t,r)=>({operation:(0,o.getSmithyContext)(t).operation,region:await(0,o.normalizeProvider)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});t.defaultTimestreamWriteHttpAuthSchemeParametersProvider=defaultTimestreamWriteHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"timestream",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}const defaultTimestreamWriteHttpAuthSchemeProvider=e=>{const t=[];switch(e.operation){default:{t.push(createAwsAuthSigv4HttpAuthOption(e))}}return t};t.defaultTimestreamWriteHttpAuthSchemeProvider=defaultTimestreamWriteHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=e=>{const t=(0,n.resolveAwsSdkSigV4Config)(e);return{...t}};t.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},2245:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultEndpointResolver=void 0;const n=r(3350);const o=r(5473);const s=r(5191);const defaultEndpointResolver=(e,t={})=>(0,o.resolveEndpoint)(s.ruleSet,{endpointParams:e,logger:t.logger});t.defaultEndpointResolver=defaultEndpointResolver;o.customEndpointFunctions.aws=n.awsEndpointFunctions},5191:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ruleSet=void 0;const r="required",n="fn",o="argv",s="ref";const i=true,a="isSet",A="booleanEquals",c="error",l="endpoint",u="tree",d="PartitionResult",g="getAttr",f={[r]:false,type:"String"},h={[r]:true,default:false,type:"Boolean"},p={[s]:"Endpoint"},E={[n]:A,[o]:[{[s]:"UseFIPS"},true]},C={[n]:A,[o]:[{[s]:"UseDualStack"},true]},m={},I={[n]:g,[o]:[{[s]:d},"supportsFIPS"]},y={[s]:d},Q={[n]:A,[o]:[true,{[n]:g,[o]:[y,"supportsDualStack"]}]},B=[E],v=[C],b=[{[s]:"Region"}];const w={version:"1.0",parameters:{Region:f,UseDualStack:h,UseFIPS:h,Endpoint:f},rules:[{conditions:[{[n]:a,[o]:[p]}],rules:[{conditions:B,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:v,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:p,properties:m,headers:m},type:l}],type:u},{conditions:[{[n]:a,[o]:b}],rules:[{conditions:[{[n]:"aws.partition",[o]:b,assign:d}],rules:[{conditions:[E,C],rules:[{conditions:[{[n]:A,[o]:[i,I]},Q],rules:[{endpoint:{url:"https://ingest.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}],type:u},{conditions:B,rules:[{conditions:[{[n]:A,[o]:[I,i]}],rules:[{conditions:[{[n]:"stringEquals",[o]:[{[n]:g,[o]:[y,"name"]},"aws-us-gov"]}],endpoint:{url:"https://ingest.timestream.{Region}.amazonaws.com",properties:m,headers:m},type:l},{endpoint:{url:"https://ingest.timestream-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"FIPS is enabled but this partition does not support FIPS",type:c}],type:u},{conditions:v,rules:[{conditions:[Q],rules:[{endpoint:{url:"https://ingest.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:l}],type:u},{error:"DualStack is enabled but this partition does not support DualStack",type:c}],type:u},{endpoint:{url:"https://ingest.timestream.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:l}],type:u}],type:u},{error:"Invalid Configuration: Missing Region",type:c}]};t.ruleSet=w},3484:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AccessDeniedException:()=>D,BatchLoadDataFormat:()=>k,BatchLoadStatus:()=>N,ConflictException:()=>U,CreateBatchLoadTaskCommand:()=>kt,CreateBatchLoadTaskRequestFilterSensitiveLog:()=>ne,CreateDatabaseCommand:()=>_t,CreateTableCommand:()=>Tt,DeleteDatabaseCommand:()=>Pt,DeleteTableCommand:()=>Ut,DescribeBatchLoadTaskCommand:()=>Lt,DescribeDatabaseCommand:()=>jt,DescribeEndpointsCommand:()=>It,DescribeTableCommand:()=>Vt,DimensionValueType:()=>ee,InternalServerException:()=>L,InvalidEndpointException:()=>j,ListBatchLoadTasksCommand:()=>Jt,ListDatabasesCommand:()=>$t,ListTablesCommand:()=>zt,ListTagsForResourceCommand:()=>Zt,MeasureValueType:()=>F,PartitionKeyEnforcementLevel:()=>K,PartitionKeyType:()=>Z,RejectedRecordsException:()=>re,ResourceNotFoundException:()=>V,ResumeBatchLoadTaskCommand:()=>er,S3EncryptionOption:()=>P,ScalarMeasureValueType:()=>T,ServiceQuotaExceededException:()=>J,TableStatus:()=>X,TagResourceCommand:()=>rr,ThrottlingException:()=>$,TimeUnit:()=>x,TimestreamWrite:()=>fr,TimestreamWriteClient:()=>Rt,TimestreamWriteServiceException:()=>S,UntagResourceCommand:()=>sr,UpdateDatabaseCommand:()=>ar,UpdateTableCommand:()=>cr,ValidationException:()=>z,WriteRecordsCommand:()=>ur,__Client:()=>b.Client,paginateListBatchLoadTasks:()=>pr,paginateListDatabases:()=>Cr,paginateListTables:()=>Ir});e.exports=__toCommonJS(a);var A=r(6929);var c=r(2545);var l=r(14);var u=r(5525);var d=r(4688);var g=r(3098);var f=r(5829);var h=r(2800);var p=r(6039);var E=r(1949);var C=r(2918);var m=r(1238);var I=__name((e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"timestream"})),"resolveClientEndpointParameters");var y={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var Q=r(9963);var B=r(4418);var v=r(3265);var b=r(3570);var w=class _TimestreamWriteServiceException extends b.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,_TimestreamWriteServiceException.prototype)}};__name(w,"TimestreamWriteServiceException");var S=w;var R=class _AccessDeniedException extends S{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});this.name="AccessDeniedException";this.$fault="client";Object.setPrototypeOf(this,_AccessDeniedException.prototype);this.Message=e.Message}};__name(R,"AccessDeniedException");var D=R;var k={CSV:"CSV"};var N={CREATED:"CREATED",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS",PENDING_RESUME:"PENDING_RESUME",PROGRESS_STOPPED:"PROGRESS_STOPPED",SUCCEEDED:"SUCCEEDED"};var F={BIGINT:"BIGINT",BOOLEAN:"BOOLEAN",DOUBLE:"DOUBLE",MULTI:"MULTI",TIMESTAMP:"TIMESTAMP",VARCHAR:"VARCHAR"};var T={BIGINT:"BIGINT",BOOLEAN:"BOOLEAN",DOUBLE:"DOUBLE",TIMESTAMP:"TIMESTAMP",VARCHAR:"VARCHAR"};var x={MICROSECONDS:"MICROSECONDS",MILLISECONDS:"MILLISECONDS",NANOSECONDS:"NANOSECONDS",SECONDS:"SECONDS"};var P={SSE_KMS:"SSE_KMS",SSE_S3:"SSE_S3"};var O=class _ConflictException extends S{constructor(e){super({name:"ConflictException",$fault:"client",...e});this.name="ConflictException";this.$fault="client";Object.setPrototypeOf(this,_ConflictException.prototype);this.Message=e.Message}};__name(O,"ConflictException");var U=O;var M=class _InternalServerException extends S{constructor(e){super({name:"InternalServerException",$fault:"server",...e});this.name="InternalServerException";this.$fault="server";Object.setPrototypeOf(this,_InternalServerException.prototype);this.Message=e.Message}};__name(M,"InternalServerException");var L=M;var H=class _InvalidEndpointException extends S{constructor(e){super({name:"InvalidEndpointException",$fault:"client",...e});this.name="InvalidEndpointException";this.$fault="client";Object.setPrototypeOf(this,_InvalidEndpointException.prototype);this.Message=e.Message}};__name(H,"InvalidEndpointException");var j=H;var G=class _ResourceNotFoundException extends S{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});this.name="ResourceNotFoundException";this.$fault="client";Object.setPrototypeOf(this,_ResourceNotFoundException.prototype);this.Message=e.Message}};__name(G,"ResourceNotFoundException");var V=G;var Y=class _ServiceQuotaExceededException extends S{constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e});this.name="ServiceQuotaExceededException";this.$fault="client";Object.setPrototypeOf(this,_ServiceQuotaExceededException.prototype);this.Message=e.Message}};__name(Y,"ServiceQuotaExceededException");var J=Y;var q=class _ThrottlingException extends S{constructor(e){super({name:"ThrottlingException",$fault:"client",...e});this.name="ThrottlingException";this.$fault="client";Object.setPrototypeOf(this,_ThrottlingException.prototype);this.Message=e.Message}};__name(q,"ThrottlingException");var $=q;var W=class _ValidationException extends S{constructor(e){super({name:"ValidationException",$fault:"client",...e});this.name="ValidationException";this.$fault="client";Object.setPrototypeOf(this,_ValidationException.prototype);this.Message=e.Message}};__name(W,"ValidationException");var z=W;var K={OPTIONAL:"OPTIONAL",REQUIRED:"REQUIRED"};var Z={DIMENSION:"DIMENSION",MEASURE:"MEASURE"};var X={ACTIVE:"ACTIVE",DELETING:"DELETING",RESTORING:"RESTORING"};var ee={VARCHAR:"VARCHAR"};var te=class _RejectedRecordsException extends S{constructor(e){super({name:"RejectedRecordsException",$fault:"client",...e});this.name="RejectedRecordsException";this.$fault="client";Object.setPrototypeOf(this,_RejectedRecordsException.prototype);this.Message=e.Message;this.RejectedRecords=e.RejectedRecords}};__name(te,"RejectedRecordsException");var re=te;var ne=__name((e=>({...e,...e.ClientToken&&{ClientToken:b.SENSITIVE_STRING}})),"CreateBatchLoadTaskRequestFilterSensitiveLog");var oe=__name((async(e,t)=>{const r=sharedHeaders("CreateBatchLoadTask");let n;n=JSON.stringify(Ze(e,t));return Ct(t,r,"/",void 0,n)}),"se_CreateBatchLoadTaskCommand");var se=__name((async(e,t)=>{const r=sharedHeaders("CreateDatabase");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_CreateDatabaseCommand");var ie=__name((async(e,t)=>{const r=sharedHeaders("CreateTable");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_CreateTableCommand");var ae=__name((async(e,t)=>{const r=sharedHeaders("DeleteDatabase");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DeleteDatabaseCommand");var Ae=__name((async(e,t)=>{const r=sharedHeaders("DeleteTable");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DeleteTableCommand");var ce=__name((async(e,t)=>{const r=sharedHeaders("DescribeBatchLoadTask");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DescribeBatchLoadTaskCommand");var le=__name((async(e,t)=>{const r=sharedHeaders("DescribeDatabase");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DescribeDatabaseCommand");var ue=__name((async(e,t)=>{const r=sharedHeaders("DescribeEndpoints");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DescribeEndpointsCommand");var de=__name((async(e,t)=>{const r=sharedHeaders("DescribeTable");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_DescribeTableCommand");var ge=__name((async(e,t)=>{const r=sharedHeaders("ListBatchLoadTasks");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ListBatchLoadTasksCommand");var fe=__name((async(e,t)=>{const r=sharedHeaders("ListDatabases");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ListDatabasesCommand");var he=__name((async(e,t)=>{const r=sharedHeaders("ListTables");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ListTablesCommand");var pe=__name((async(e,t)=>{const r=sharedHeaders("ListTagsForResource");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ListTagsForResourceCommand");var Ee=__name((async(e,t)=>{const r=sharedHeaders("ResumeBatchLoadTask");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_ResumeBatchLoadTaskCommand");var Ce=__name((async(e,t)=>{const r=sharedHeaders("TagResource");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_TagResourceCommand");var me=__name((async(e,t)=>{const r=sharedHeaders("UntagResource");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_UntagResourceCommand");var Ie=__name((async(e,t)=>{const r=sharedHeaders("UpdateDatabase");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_UpdateDatabaseCommand");var ye=__name((async(e,t)=>{const r=sharedHeaders("UpdateTable");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_UpdateTableCommand");var Qe=__name((async(e,t)=>{const r=sharedHeaders("WriteRecords");let n;n=JSON.stringify((0,b._json)(e));return Ct(t,r,"/",void 0,n)}),"se_WriteRecordsCommand");var Be=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_CreateBatchLoadTaskCommand");var ve=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=rt(r,t);const o={$metadata:pt(e),...n};return o}),"de_CreateDatabaseCommand");var be=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=nt(r,t);const o={$metadata:pt(e),...n};return o}),"de_CreateTableCommand");var we=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}await(0,b.collectBody)(e.body,t);const r={$metadata:pt(e)};return r}),"de_DeleteDatabaseCommand");var Se=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}await(0,b.collectBody)(e.body,t);const r={$metadata:pt(e)};return r}),"de_DeleteTableCommand");var Re=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=it(r,t);const o={$metadata:pt(e),...n};return o}),"de_DescribeBatchLoadTaskCommand");var De=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=at(r,t);const o={$metadata:pt(e),...n};return o}),"de_DescribeDatabaseCommand");var ke=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_DescribeEndpointsCommand");var Ne=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=At(r,t);const o={$metadata:pt(e),...n};return o}),"de_DescribeTableCommand");var _e=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=ct(r,t);const o={$metadata:pt(e),...n};return o}),"de_ListBatchLoadTasksCommand");var Fe=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=lt(r,t);const o={$metadata:pt(e),...n};return o}),"de_ListDatabasesCommand");var Te=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=ut(r,t);const o={$metadata:pt(e),...n};return o}),"de_ListTablesCommand");var xe=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_ListTagsForResourceCommand");var Pe=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_ResumeBatchLoadTaskCommand");var Oe=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_TagResourceCommand");var Ue=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_UntagResourceCommand");var Me=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=ft(r,t);const o={$metadata:pt(e),...n};return o}),"de_UpdateDatabaseCommand");var Le=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=ht(r,t);const o={$metadata:pt(e),...n};return o}),"de_UpdateTableCommand");var He=__name((async(e,t)=>{if(e.statusCode>=300){return je(e,t)}const r=await(0,Q.parseJsonBody)(e.body,t);let n={};n=(0,b._json)(r);const o={$metadata:pt(e),...n};return o}),"de_WriteRecordsCommand");var je=__name((async(e,t)=>{const r={...e,body:await(0,Q.parseJsonErrorBody)(e.body,t)};const n=(0,Q.loadRestJsonErrorCode)(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.timestreamwrite#AccessDeniedException":throw await Ge(r,t);case"ConflictException":case"com.amazonaws.timestreamwrite#ConflictException":throw await Ve(r,t);case"InternalServerException":case"com.amazonaws.timestreamwrite#InternalServerException":throw await Ye(r,t);case"InvalidEndpointException":case"com.amazonaws.timestreamwrite#InvalidEndpointException":throw await Je(r,t);case"ResourceNotFoundException":case"com.amazonaws.timestreamwrite#ResourceNotFoundException":throw await $e(r,t);case"ServiceQuotaExceededException":case"com.amazonaws.timestreamwrite#ServiceQuotaExceededException":throw await We(r,t);case"ThrottlingException":case"com.amazonaws.timestreamwrite#ThrottlingException":throw await ze(r,t);case"ValidationException":case"com.amazonaws.timestreamwrite#ValidationException":throw await Ke(r,t);case"RejectedRecordsException":case"com.amazonaws.timestreamwrite#RejectedRecordsException":throw await qe(r,t);default:const o=r.body;return Et({output:e,parsedBody:o,errorCode:n})}}),"de_CommandError");var Ge=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new D({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_AccessDeniedExceptionRes");var Ve=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new U({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ConflictExceptionRes");var Ye=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new L({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_InternalServerExceptionRes");var Je=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new j({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_InvalidEndpointExceptionRes");var qe=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new re({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_RejectedRecordsExceptionRes");var $e=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new V({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ResourceNotFoundExceptionRes");var We=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new J({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ServiceQuotaExceededExceptionRes");var ze=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new $({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ThrottlingExceptionRes");var Ke=__name((async(e,t)=>{const r=e.body;const n=(0,b._json)(r);const o=new z({$metadata:pt(e),...n});return(0,b.decorateServiceException)(o,r)}),"de_ValidationExceptionRes");var Ze=__name(((e,t)=>(0,b.take)(e,{ClientToken:[true,e=>e??(0,v.v4)()],DataModelConfiguration:b._json,DataSourceConfiguration:b._json,RecordVersion:[],ReportConfiguration:b._json,TargetDatabaseName:[],TargetTableName:[]})),"se_CreateBatchLoadTaskRequest");var Xe=__name(((e,t)=>(0,b.take)(e,{CreationTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),DatabaseName:b.expectString,LastUpdatedTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),ResumableUntil:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),TableName:b.expectString,TaskId:b.expectString,TaskStatus:b.expectString})),"de_BatchLoadTask");var et=__name(((e,t)=>(0,b.take)(e,{CreationTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),DataModelConfiguration:b._json,DataSourceConfiguration:b._json,ErrorMessage:b.expectString,LastUpdatedTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),ProgressReport:b._json,RecordVersion:b.expectLong,ReportConfiguration:b._json,ResumableUntil:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),TargetDatabaseName:b.expectString,TargetTableName:b.expectString,TaskId:b.expectString,TaskStatus:b.expectString})),"de_BatchLoadTaskDescription");var tt=__name(((e,t)=>{const r=(e||[]).filter((e=>e!=null)).map((e=>Xe(e,t)));return r}),"de_BatchLoadTaskList");var rt=__name(((e,t)=>(0,b.take)(e,{Database:e=>ot(e,t)})),"de_CreateDatabaseResponse");var nt=__name(((e,t)=>(0,b.take)(e,{Table:e=>dt(e,t)})),"de_CreateTableResponse");var ot=__name(((e,t)=>(0,b.take)(e,{Arn:b.expectString,CreationTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),DatabaseName:b.expectString,KmsKeyId:b.expectString,LastUpdatedTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),TableCount:b.expectLong})),"de_Database");var st=__name(((e,t)=>{const r=(e||[]).filter((e=>e!=null)).map((e=>ot(e,t)));return r}),"de_DatabaseList");var it=__name(((e,t)=>(0,b.take)(e,{BatchLoadTaskDescription:e=>et(e,t)})),"de_DescribeBatchLoadTaskResponse");var at=__name(((e,t)=>(0,b.take)(e,{Database:e=>ot(e,t)})),"de_DescribeDatabaseResponse");var At=__name(((e,t)=>(0,b.take)(e,{Table:e=>dt(e,t)})),"de_DescribeTableResponse");var ct=__name(((e,t)=>(0,b.take)(e,{BatchLoadTasks:e=>tt(e,t),NextToken:b.expectString})),"de_ListBatchLoadTasksResponse");var lt=__name(((e,t)=>(0,b.take)(e,{Databases:e=>st(e,t),NextToken:b.expectString})),"de_ListDatabasesResponse");var ut=__name(((e,t)=>(0,b.take)(e,{NextToken:b.expectString,Tables:e=>gt(e,t)})),"de_ListTablesResponse");var dt=__name(((e,t)=>(0,b.take)(e,{Arn:b.expectString,CreationTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),DatabaseName:b.expectString,LastUpdatedTime:e=>(0,b.expectNonNull)((0,b.parseEpochTimestamp)((0,b.expectNumber)(e))),MagneticStoreWriteProperties:b._json,RetentionProperties:b._json,Schema:b._json,TableName:b.expectString,TableStatus:b.expectString})),"de_Table");var gt=__name(((e,t)=>{const r=(e||[]).filter((e=>e!=null)).map((e=>dt(e,t)));return r}),"de_TableList");var ft=__name(((e,t)=>(0,b.take)(e,{Database:e=>ot(e,t)})),"de_UpdateDatabaseResponse");var ht=__name(((e,t)=>(0,b.take)(e,{Table:e=>dt(e,t)})),"de_UpdateTableResponse");var pt=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var Et=(0,b.withBaseException)(S);var Ct=__name((async(e,t,r,n,o)=>{const{hostname:s,protocol:i="https",port:a,path:A}=await e.endpoint();const c={protocol:i,hostname:s,port:a,method:"POST",path:A.endsWith("/")?A.slice(0,-1)+r:A+r,headers:t};if(n!==void 0){c.hostname=n}if(o!==void 0){c.body=o}return new B.HttpRequest(c)}),"buildHttpRpcRequest");function sharedHeaders(e){return{"content-type":"application/x-amz-json-1.0","x-amz-target":`Timestream_20181101.${e}`}}__name(sharedHeaders,"sharedHeaders");var mt=class _DescribeEndpointsCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions())]})).s("Timestream_20181101","DescribeEndpoints",{}).n("TimestreamWriteClient","DescribeEndpointsCommand").f(void 0,void 0).ser(ue).de(ke).build()){};__name(mt,"DescribeEndpointsCommand");var It=mt;var yt=r(4023);var Qt=r(8156);var Bt=__name((e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider;let n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));if(r===-1){t.push(e)}else{t.splice(r,1,e)}},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider(){return r},setCredentials(e){n=e},credentials(){return n}}}),"getHttpAuthExtensionConfiguration");var vt=__name((e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()})),"resolveHttpAuthRuntimeConfig");var bt=__name((e=>e),"asPartial");var wt=__name(((e,t)=>{const r={...bt((0,Qt.getAwsRegionExtensionConfiguration)(e)),...bt((0,b.getDefaultExtensionConfiguration)(e)),...bt((0,B.getHttpHandlerExtensionConfiguration)(e)),...bt(Bt(e))};t.forEach((e=>e.configure(r)));return{...e,...(0,Qt.resolveAwsRegionExtensionConfiguration)(r),...(0,b.resolveDefaultRuntimeConfig)(r),...(0,B.resolveHttpHandlerRuntimeConfig)(r),...vt(r)}}),"resolveRuntimeExtensions");var St=class _TimestreamWriteClient extends b.Client{constructor(...[e]){const t=(0,yt.getRuntimeConfig)(e||{});const r=I(t);const n=(0,g.resolveRegionConfig)(r);const o=(0,C.resolveEndpointConfig)(n);const s=(0,p.resolveRetryConfig)(o);const i=(0,c.resolveHostHeaderConfig)(s);const a=(0,d.resolveUserAgentConfig)(i);const m=(0,E.resolveHttpAuthSchemeConfig)(a);const y=(0,A.resolveEndpointDiscoveryConfig)(m,{endpointDiscoveryCommandCtor:It});const Q=wt(y,(e==null?void 0:e.extensions)||[]);super(Q);this.config=Q;this.middlewareStack.use((0,p.getRetryPlugin)(this.config));this.middlewareStack.use((0,h.getContentLengthPlugin)(this.config));this.middlewareStack.use((0,c.getHostHeaderPlugin)(this.config));this.middlewareStack.use((0,l.getLoggerPlugin)(this.config));this.middlewareStack.use((0,u.getRecursionDetectionPlugin)(this.config));this.middlewareStack.use((0,d.getUserAgentPlugin)(this.config));this.middlewareStack.use((0,f.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()}));this.middlewareStack.use((0,f.getHttpSigningPlugin)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return E.defaultTimestreamWriteHttpAuthSchemeParametersProvider}getIdentityProviderConfigProvider(){return async e=>new f.DefaultIdentityProviderConfig({"aws.auth#sigv4":e.credentials})}};__name(St,"TimestreamWriteClient");var Rt=St;var Dt=class _CreateBatchLoadTaskCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","CreateBatchLoadTask",{}).n("TimestreamWriteClient","CreateBatchLoadTaskCommand").f(ne,void 0).ser(oe).de(Be).build()){};__name(Dt,"CreateBatchLoadTaskCommand");var kt=Dt;var Nt=class _CreateDatabaseCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","CreateDatabase",{}).n("TimestreamWriteClient","CreateDatabaseCommand").f(void 0,void 0).ser(se).de(ve).build()){};__name(Nt,"CreateDatabaseCommand");var _t=Nt;var Ft=class _CreateTableCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","CreateTable",{}).n("TimestreamWriteClient","CreateTableCommand").f(void 0,void 0).ser(ie).de(be).build()){};__name(Ft,"CreateTableCommand");var Tt=Ft;var xt=class _DeleteDatabaseCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DeleteDatabase",{}).n("TimestreamWriteClient","DeleteDatabaseCommand").f(void 0,void 0).ser(ae).de(we).build()){};__name(xt,"DeleteDatabaseCommand");var Pt=xt;var Ot=class _DeleteTableCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DeleteTable",{}).n("TimestreamWriteClient","DeleteTableCommand").f(void 0,void 0).ser(Ae).de(Se).build()){};__name(Ot,"DeleteTableCommand");var Ut=Ot;var Mt=class _DescribeBatchLoadTaskCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DescribeBatchLoadTask",{}).n("TimestreamWriteClient","DescribeBatchLoadTaskCommand").f(void 0,void 0).ser(ce).de(Re).build()){};__name(Mt,"DescribeBatchLoadTaskCommand");var Lt=Mt;var Ht=class _DescribeDatabaseCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DescribeDatabase",{}).n("TimestreamWriteClient","DescribeDatabaseCommand").f(void 0,void 0).ser(le).de(De).build()){};__name(Ht,"DescribeDatabaseCommand");var jt=Ht;var Gt=class _DescribeTableCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","DescribeTable",{}).n("TimestreamWriteClient","DescribeTableCommand").f(void 0,void 0).ser(de).de(Ne).build()){};__name(Gt,"DescribeTableCommand");var Vt=Gt;var Yt=class _ListBatchLoadTasksCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ListBatchLoadTasks",{}).n("TimestreamWriteClient","ListBatchLoadTasksCommand").f(void 0,void 0).ser(ge).de(_e).build()){};__name(Yt,"ListBatchLoadTasksCommand");var Jt=Yt;var qt=class _ListDatabasesCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ListDatabases",{}).n("TimestreamWriteClient","ListDatabasesCommand").f(void 0,void 0).ser(fe).de(Fe).build()){};__name(qt,"ListDatabasesCommand");var $t=qt;var Wt=class _ListTablesCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ListTables",{}).n("TimestreamWriteClient","ListTablesCommand").f(void 0,void 0).ser(he).de(Te).build()){};__name(Wt,"ListTablesCommand");var zt=Wt;var Kt=class _ListTagsForResourceCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ListTagsForResource",{}).n("TimestreamWriteClient","ListTagsForResourceCommand").f(void 0,void 0).ser(pe).de(xe).build()){};__name(Kt,"ListTagsForResourceCommand");var Zt=Kt;var Xt=class _ResumeBatchLoadTaskCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","ResumeBatchLoadTask",{}).n("TimestreamWriteClient","ResumeBatchLoadTaskCommand").f(void 0,void 0).ser(Ee).de(Pe).build()){};__name(Xt,"ResumeBatchLoadTaskCommand");var er=Xt;var tr=class _TagResourceCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","TagResource",{}).n("TimestreamWriteClient","TagResourceCommand").f(void 0,void 0).ser(Ce).de(Oe).build()){};__name(tr,"TagResourceCommand");var rr=tr;var nr=class _UntagResourceCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","UntagResource",{}).n("TimestreamWriteClient","UntagResourceCommand").f(void 0,void 0).ser(me).de(Ue).build()){};__name(nr,"UntagResourceCommand");var sr=nr;var ir=class _UpdateDatabaseCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","UpdateDatabase",{}).n("TimestreamWriteClient","UpdateDatabaseCommand").f(void 0,void 0).ser(Ie).de(Me).build()){};__name(ir,"UpdateDatabaseCommand");var ar=ir;var Ar=class _UpdateTableCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","UpdateTable",{}).n("TimestreamWriteClient","UpdateTableCommand").f(void 0,void 0).ser(ye).de(Le).build()){};__name(Ar,"UpdateTableCommand");var cr=Ar;var lr=class _WriteRecordsCommand extends(b.Command.classBuilder().ep({...y}).m((function(e,t,r,n){return[(0,m.getSerdePlugin)(r,this.serialize,this.deserialize),(0,C.getEndpointPlugin)(r,e.getEndpointParameterInstructions()),(0,A.getEndpointDiscoveryPlugin)(r,{clientStack:t,isDiscoveredEndpointRequired:true,options:n})]})).s("Timestream_20181101","WriteRecords",{}).n("TimestreamWriteClient","WriteRecordsCommand").f(void 0,void 0).ser(Qe).de(He).build()){};__name(lr,"WriteRecordsCommand");var ur=lr;var dr={CreateBatchLoadTaskCommand:kt,CreateDatabaseCommand:_t,CreateTableCommand:Tt,DeleteDatabaseCommand:Pt,DeleteTableCommand:Ut,DescribeBatchLoadTaskCommand:Lt,DescribeDatabaseCommand:jt,DescribeEndpointsCommand:It,DescribeTableCommand:Vt,ListBatchLoadTasksCommand:Jt,ListDatabasesCommand:$t,ListTablesCommand:zt,ListTagsForResourceCommand:Zt,ResumeBatchLoadTaskCommand:er,TagResourceCommand:rr,UntagResourceCommand:sr,UpdateDatabaseCommand:ar,UpdateTableCommand:cr,WriteRecordsCommand:ur};var gr=class _TimestreamWrite extends Rt{};__name(gr,"TimestreamWrite");var fr=gr;(0,b.createAggregatedClient)(dr,fr);var hr=r(5829);var pr=(0,hr.createPaginator)(Rt,Jt,"NextToken","NextToken","MaxResults");var Er=r(5829);var Cr=(0,Er.createPaginator)(Rt,$t,"NextToken","NextToken","MaxResults");var mr=r(5829);var Ir=(0,mr.createPaginator)(Rt,zt,"NextToken","NextToken","MaxResults");0&&0},4023:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(4351);const o=n.__importDefault(r(2144));const s=r(9963);const i=r(5531);const a=r(6929);const A=r(8095);const c=r(3098);const l=r(3081);const u=r(6039);const d=r(3461);const g=r(258);const f=r(8075);const h=r(4902);const p=r(2865);const E=r(3570);const C=r(2429);const m=r(3570);const getRuntimeConfig=e=>{(0,m.emitWarningIfUnsupportedVersion)(process.version);const t=(0,C.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>t().then(E.loadConfigsForDefaultMode);const r=(0,p.getRuntimeConfig)(e);(0,s.emitWarningIfUnsupportedVersion)(process.version);return{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??f.calculateBodyLength,credentialDefaultProvider:e?.credentialDefaultProvider??i.defaultProvider,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,A.defaultUserAgent)({serviceId:r.serviceId,clientVersion:o.default.version}),endpointDiscoveryEnabledProvider:e?.endpointDiscoveryEnabledProvider??(0,d.loadConfig)(a.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS),maxAttempts:e?.maxAttempts??(0,d.loadConfig)(u.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:e?.region??(0,d.loadConfig)(c.NODE_REGION_CONFIG_OPTIONS,c.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:g.NodeHttpHandler.create(e?.requestHandler??defaultConfigProvider),retryMode:e?.retryMode??(0,d.loadConfig)({...u.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||h.DEFAULT_RETRY_MODE}),sha256:e?.sha256??l.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??g.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,d.loadConfig)(c.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:e?.useFipsEndpoint??(0,d.loadConfig)(c.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};t.getRuntimeConfig=getRuntimeConfig},2865:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const n=r(9963);const o=r(3570);const s=r(4681);const i=r(5600);const a=r(1895);const A=r(1949);const c=r(2245);const getRuntimeConfig=e=>({apiVersion:"2018-11-01",base64Decoder:e?.base64Decoder??i.fromBase64,base64Encoder:e?.base64Encoder??i.toBase64,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??c.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??A.defaultTimestreamWriteHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new n.AwsSdkSigV4Signer}],logger:e?.logger??new o.NoOpLogger,serviceId:e?.serviceId??"Timestream Write",urlParser:e?.urlParser??s.parseUrl,utf8Decoder:e?.utf8Decoder??a.fromUtf8,utf8Encoder:e?.utf8Encoder??a.toUtf8});t.getRuntimeConfig=getRuntimeConfig},3265:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return A.default}});var n=_interopRequireDefault(r(2976));var o=_interopRequireDefault(r(1391));var s=_interopRequireDefault(r(1633));var i=_interopRequireDefault(r(9198));var a=_interopRequireDefault(r(979));var A=_interopRequireDefault(r(4873));var c=_interopRequireDefault(r(6118));var l=_interopRequireDefault(r(1646));var u=_interopRequireDefault(r(3092));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},7771:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("md5").update(e).digest()}var o=md5;t["default"]=o},7991:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o={randomUUID:n.default.randomUUID};t["default"]=o},979:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r="00000000-0000-0000-0000-000000000000";t["default"]=r},3092:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6118));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}let t;const r=new Uint8Array(16);r[0]=(t=parseInt(e.slice(0,8),16))>>>24;r[1]=t>>>16&255;r[2]=t>>>8&255;r[3]=t&255;r[4]=(t=parseInt(e.slice(9,13),16))>>>8;r[5]=t&255;r[6]=(t=parseInt(e.slice(14,18),16))>>>8;r[7]=t&255;r[8]=(t=parseInt(e.slice(19,23),16))>>>8;r[9]=t&255;r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;r[11]=t/4294967296&255;r[12]=t>>>24&255;r[13]=t>>>16&255;r[14]=t>>>8&255;r[15]=t&255;return r}var o=parse;t["default"]=o},5033:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=r},3564:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=new Uint8Array(256);let s=o.length;function rng(){if(s>o.length-16){n.default.randomFillSync(o);s=0}return o.slice(s,s+=16)}},3974:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("sha1").update(e).digest()}var o=sha1;t["default"]=o},1646:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.unsafeStringify=unsafeStringify;var n=_interopRequireDefault(r(6118));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=[];for(let e=0;e<256;++e){o.push((e+256).toString(16).slice(1))}function unsafeStringify(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}function stringify(e,t=0){const r=unsafeStringify(e,t);if(!(0,n.default)(r)){throw TypeError("Stringified UUID is invalid")}return r}var s=stringify;t["default"]=s},2976:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(3564));var o=r(1646);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let s;let i;let a=0;let A=0;function v1(e,t,r){let c=t&&r||0;const l=t||new Array(16);e=e||{};let u=e.node||s;let d=e.clockseq!==undefined?e.clockseq:i;if(u==null||d==null){const t=e.random||(e.rng||n.default)();if(u==null){u=s=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(d==null){d=i=(t[6]<<8|t[7])&16383}}let g=e.msecs!==undefined?e.msecs:Date.now();let f=e.nsecs!==undefined?e.nsecs:A+1;const h=g-a+(f-A)/1e4;if(h<0&&e.clockseq===undefined){d=d+1&16383}if((h<0||g>a)&&e.nsecs===undefined){f=0}if(f>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}a=g;A=f;i=d;g+=122192928e5;const p=((g&268435455)*1e4+f)%4294967296;l[c++]=p>>>24&255;l[c++]=p>>>16&255;l[c++]=p>>>8&255;l[c++]=p&255;const E=g/4294967296*1e4&268435455;l[c++]=E>>>8&255;l[c++]=E&255;l[c++]=E>>>24&15|16;l[c++]=E>>>16&255;l[c++]=d>>>8|128;l[c++]=d&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,o.unsafeStringify)(l)}var c=v1;t["default"]=c},1391:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(2574));var o=_interopRequireDefault(r(7771));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v3",48,o.default);var i=s;t["default"]=i},2574:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.URL=t.DNS=void 0;t["default"]=v35;var n=r(1646);var o=_interopRequireDefault(r(3092));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(7991));var o=_interopRequireDefault(r(3564));var s=r(1646);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,r){if(n.default.randomUUID&&!t&&!e){return n.default.randomUUID()}e=e||{};const i=e.random||(e.rng||o.default)();i[6]=i[6]&15|64;i[8]=i[8]&63|128;if(t){r=r||0;for(let e=0;e<16;++e){t[r+e]=i[e]}return t}return(0,s.unsafeStringify)(i)}var i=v4;t["default"]=i},9198:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(2574));var o=_interopRequireDefault(r(3974));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v5",80,o.default);var i=s;t["default"]=i},6118:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(5033));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&n.default.test(e)}var o=validate;t["default"]=o},4873:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6118));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.slice(14,15),16)}var o=version;t["default"]=o},9963:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(4351);n.__exportStar(r(2825),t);n.__exportStar(r(7862),t);n.__exportStar(r(785),t)},2825:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{emitWarningIfUnsupportedVersion:()=>a});e.exports=__toCommonJS(s);var i=false;var a=__name((e=>{if(e&&!i&&parseInt(e.substring(1,e.indexOf(".")))<16){i=true}}),"emitWarningIfUnsupportedVersion");0&&0},7862:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AWSSDKSigV4Signer:()=>C,AwsSdkSigV4Signer:()=>E,resolveAWSSDKSigV4Config:()=>Q,resolveAwsSdkSigV4Config:()=>y});e.exports=__toCommonJS(a);var A=r(4418);var c=r(4418);var l=__name((e=>{var t,r;return c.HttpResponse.isInstance(e)?((t=e.headers)==null?void 0:t.date)??((r=e.headers)==null?void 0:r.Date):void 0}),"getDateHeader");var u=__name((e=>new Date(Date.now()+e)),"getSkewCorrectedDate");var d=__name(((e,t)=>Math.abs(u(t).getTime()-e)>=3e5),"isClockSkewed");var g=__name(((e,t)=>{const r=Date.parse(e);if(d(r,t)){return r-Date.now()}return t}),"getUpdatedSystemClockOffset");var f=__name(((e,t)=>{if(!t){throw new Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`)}return t}),"throwSigningPropertyError");var h=__name((async e=>{var t,r,n;const o=f("context",e.context);const s=f("config",e.config);const i=(n=(r=(t=o.endpointV2)==null?void 0:t.properties)==null?void 0:r.authSchemes)==null?void 0:n[0];const a=f("signer",s.signer);const A=await a(i);const c=e==null?void 0:e.signingRegion;const l=e==null?void 0:e.signingName;return{config:s,signer:A,signingRegion:c,signingName:l}}),"validateSigningProperties");var p=class _AwsSdkSigV4Signer{async sign(e,t,r){if(!A.HttpRequest.isInstance(e)){throw new Error("The request is not an instance of `HttpRequest` and cannot be signed")}const{config:n,signer:o,signingRegion:s,signingName:i}=await h(r);const a=await o.sign(e,{signingDate:u(n.systemClockOffset),signingRegion:s,signingService:i});return a}errorHandler(e){return t=>{const r=t.ServerTime??l(t.$response);if(r){const n=f("config",e.config);const o=n.systemClockOffset;n.systemClockOffset=g(r,n.systemClockOffset);const s=n.systemClockOffset!==o;if(s&&t.$metadata){t.$metadata.clockSkewCorrected=true}}throw t}}successHandler(e,t){const r=l(e);if(r){const e=f("config",t.config);e.systemClockOffset=g(r,e.systemClockOffset)}}};__name(p,"AwsSdkSigV4Signer");var E=p;var C=E;var m=r(5829);var I=r(1528);var y=__name((e=>{let t;if(e.credentials){t=(0,m.memoizeIdentityProvider)(e.credentials,m.isIdentityExpired,m.doesIdentityRequireRefresh)}if(!t){if(e.credentialDefaultProvider){t=(0,m.normalizeProvider)(e.credentialDefaultProvider(Object.assign({},e,{parentClientConfig:e})))}else{t=__name((async()=>{throw new Error("`credentials` is missing")}),"normalizedCreds")}}const{signingEscapePath:r=true,systemClockOffset:n=e.systemClockOffset||0,sha256:o}=e;let s;if(e.signer){s=(0,m.normalizeProvider)(e.signer)}else if(e.regionInfoProvider){s=__name((()=>(0,m.normalizeProvider)(e.region)().then((async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t])).then((([n,s])=>{const{signingRegion:i,signingService:a}=n;e.signingRegion=e.signingRegion||i||s;e.signingName=e.signingName||a||e.serviceId;const A={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:r};const c=e.signerConstructor||I.SignatureV4;return new c(A)}))),"signer")}else{s=__name((async n=>{n=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await(0,m.normalizeProvider)(e.region)(),properties:{}},n);const s=n.signingRegion;const i=n.signingName;e.signingRegion=e.signingRegion||s;e.signingName=e.signingName||i||e.serviceId;const a={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:r};const A=e.signerConstructor||I.SignatureV4;return new A(a)}),"signer")}return{...e,systemClockOffset:n,signingEscapePath:r,credentials:t,signer:s}}),"resolveAwsSdkSigV4Config");var Q=y;0&&0},785:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{_toBool:()=>c,_toNum:()=>l,_toStr:()=>A,awsExpectUnion:()=>d,loadRestJsonErrorCode:()=>E,loadRestXmlErrorCode:()=>Q,parseJsonBody:()=>h,parseJsonErrorBody:()=>p,parseXmlBody:()=>I,parseXmlErrorBody:()=>y});e.exports=__toCommonJS(a);var A=__name((e=>{if(e==null){return e}if(typeof e==="number"||typeof e==="bigint"){const t=new Error(`Received number ${e} where a string was expected.`);t.name="Warning";console.warn(t);return String(e)}if(typeof e==="boolean"){const t=new Error(`Received boolean ${e} where a string was expected.`);t.name="Warning";console.warn(t);return String(e)}return e}),"_toStr");var c=__name((e=>{if(e==null){return e}if(typeof e==="number"){}if(typeof e==="string"){const t=e.toLowerCase();if(e!==""&&t!=="false"&&t!=="true"){const t=new Error(`Received string "${e}" where a boolean was expected.`);t.name="Warning";console.warn(t)}return e!==""&&t!=="false"}return e}),"_toBool");var l=__name((e=>{if(e==null){return e}if(typeof e==="boolean"){}if(typeof e==="string"){const t=Number(e);if(t.toString()!==e){const t=new Error(`Received string "${e}" where a number was expected.`);t.name="Warning";console.warn(t);return e}return t}return e}),"_toNum");var u=r(3570);var d=__name((e=>{if(e==null){return void 0}if(typeof e==="object"&&"__type"in e){delete e.__type}return(0,u.expectUnion)(e)}),"awsExpectUnion");var g=r(3570);var f=__name(((e,t)=>(0,g.collectBody)(e,t).then((e=>t.utf8Encoder(e)))),"collectBodyString");var h=__name(((e,t)=>f(e,t).then((e=>{if(e.length){try{return JSON.parse(e)}catch(t){if((t==null?void 0:t.name)==="SyntaxError"){Object.defineProperty(t,"$responseBodyText",{value:e})}throw t}}return{}}))),"parseJsonBody");var p=__name((async(e,t)=>{const r=await h(e,t);r.message=r.message??r.Message;return r}),"parseJsonErrorBody");var E=__name(((e,t)=>{const r=__name(((e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase()))),"findKey");const n=__name((e=>{let t=e;if(typeof t==="number"){t=t.toString()}if(t.indexOf(",")>=0){t=t.split(",")[0]}if(t.indexOf(":")>=0){t=t.split(":")[0]}if(t.indexOf("#")>=0){t=t.split("#")[1]}return t}),"sanitizeErrorCode");const o=r(e.headers,"x-amzn-errortype");if(o!==void 0){return n(e.headers[o])}if(t.code!==void 0){return n(t.code)}if(t["__type"]!==void 0){return n(t["__type"])}}),"loadRestJsonErrorCode");var C=r(3570);var m=r(2603);var I=__name(((e,t)=>f(e,t).then((e=>{if(e.length){const t=new m.XMLParser({attributeNamePrefix:"",htmlEntities:true,ignoreAttributes:false,ignoreDeclaration:true,parseTagValue:false,trimValues:false,tagValueProcessor:(e,t)=>t.trim()===""&&t.includes("\n")?"":void 0});t.addEntity("#xD","\r");t.addEntity("#10","\n");let r;try{r=t.parse(e,true)}catch(t){if(t&&typeof t==="object"){Object.defineProperty(t,"$responseBodyText",{value:e})}throw t}const n="#text";const o=Object.keys(r)[0];const s=r[o];if(s[n]){s[o]=s[n];delete s[n]}return(0,C.getValueFromTextNode)(s)}return{}}))),"parseXmlBody");var y=__name((async(e,t)=>{const r=await I(e,t);if(r.Error){r.Error.message=r.Error.message??r.Error.Message}return r}),"parseXmlErrorBody");var Q=__name(((e,t)=>{var r;if(((r=t==null?void 0:t.Error)==null?void 0:r.Code)!==void 0){return t.Error.Code}if((t==null?void 0:t.Code)!==void 0){return t.Code}if(e.statusCode==404){return"NotFound"}}),"loadRestXmlErrorCode");0&&0},5972:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{ENV_CREDENTIAL_SCOPE:()=>g,ENV_EXPIRATION:()=>d,ENV_KEY:()=>c,ENV_SECRET:()=>l,ENV_SESSION:()=>u,fromEnv:()=>f});e.exports=__toCommonJS(a);var A=r(9721);var c="AWS_ACCESS_KEY_ID";var l="AWS_SECRET_ACCESS_KEY";var u="AWS_SESSION_TOKEN";var d="AWS_CREDENTIAL_EXPIRATION";var g="AWS_CREDENTIAL_SCOPE";var f=__name((e=>async()=>{var t;(t=e==null?void 0:e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-env - fromEnv");const r=process.env[c];const n=process.env[l];const o=process.env[u];const s=process.env[d];const i=process.env[g];if(r&&n){return{accessKeyId:r,secretAccessKey:n,...o&&{sessionToken:o},...s&&{expiration:new Date(s)},...i&&{credentialScope:i}}}throw new A.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e==null?void 0:e.logger})}),"fromEnv");0&&0},3757:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkUrl=void 0;const n=r(9721);const o="127.0.0.0/8";const s="::1/128";const i="169.254.170.2";const a="169.254.170.23";const A="[fd00:ec2::23]";const checkUrl=(e,t)=>{if(e.protocol==="https:"){return}if(e.hostname===i||e.hostname===a||e.hostname===A){return}if(e.hostname.includes("[")){if(e.hostname==="[::1]"||e.hostname==="[0000:0000:0000:0000:0000:0000:0000:0001]"){return}}else{if(e.hostname==="localhost"){return}const t=e.hostname.split(".");const inRange=e=>{const t=parseInt(e,10);return 0<=t&&t<=255};if(t[0]==="127"&&inRange(t[1])&&inRange(t[2])&&inRange(t[3])&&t.length===4){return}}throw new n.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:\n - loopback CIDR 127.0.0.0/8 or [::1/128]\n - ECS container host 169.254.170.2\n - EKS container host 169.254.170.23 or [fd00:ec2::23]`,{logger:t})};t.checkUrl=checkUrl},6070:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.fromHttp=void 0;const n=r(4351);const o=r(258);const s=r(9721);const i=n.__importDefault(r(3292));const a=r(3757);const A=r(9287);const c=r(9921);const l="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";const u="http://169.254.170.2";const d="AWS_CONTAINER_CREDENTIALS_FULL_URI";const g="AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE";const f="AWS_CONTAINER_AUTHORIZATION_TOKEN";const fromHttp=(e={})=>{e.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");let t;const r=e.awsContainerCredentialsRelativeUri??process.env[l];const n=e.awsContainerCredentialsFullUri??process.env[d];const h=e.awsContainerAuthorizationToken??process.env[f];const p=e.awsContainerAuthorizationTokenFile??process.env[g];const E=e.logger?.constructor?.name==="NoOpLogger"||!e.logger?console.warn:e.logger.warn;if(r&&n){E("@aws-sdk/credential-provider-http: "+"you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.");E("awsContainerCredentialsFullUri will take precedence.")}if(h&&p){E("@aws-sdk/credential-provider-http: "+"you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile.");E("awsContainerAuthorizationToken will take precedence.")}if(n){t=n}else if(r){t=`${u}${r}`}else{throw new s.CredentialsProviderError(`No HTTP credential provider host provided.\nSet AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`,{logger:e.logger})}const C=new URL(t);(0,a.checkUrl)(C,e.logger);const m=new o.NodeHttpHandler({requestTimeout:e.timeout??1e3,connectionTimeout:e.timeout??1e3});return(0,c.retryWrapper)((async()=>{const t=(0,A.createGetRequest)(C);if(h){t.headers.Authorization=h}else if(p){t.headers.Authorization=(await i.default.readFile(p)).toString()}try{const e=await m.handle(t);return(0,A.getCredentials)(e.response)}catch(t){throw new s.CredentialsProviderError(String(t),{logger:e.logger})}}),e.maxRetries??3,e.timeout??1e3)};t.fromHttp=fromHttp},9287:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getCredentials=t.createGetRequest=void 0;const n=r(9721);const o=r(4418);const s=r(3570);const i=r(6607);function createGetRequest(e){return new o.HttpRequest({protocol:e.protocol,hostname:e.hostname,port:Number(e.port),path:e.pathname,query:Array.from(e.searchParams.entries()).reduce(((e,[t,r])=>{e[t]=r;return e}),{}),fragment:e.hash})}t.createGetRequest=createGetRequest;async function getCredentials(e,t){const r=(0,i.sdkStreamMixin)(e.body);const o=await r.transformToString();if(e.statusCode===200){const e=JSON.parse(o);if(typeof e.AccessKeyId!=="string"||typeof e.SecretAccessKey!=="string"||typeof e.Token!=="string"||typeof e.Expiration!=="string"){throw new n.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: "+"{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }",{logger:t})}return{accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:(0,s.parseRfc3339DateTime)(e.Expiration)}}if(e.statusCode>=400&&e.statusCode<500){let r={};try{r=JSON.parse(o)}catch(e){}throw Object.assign(new n.CredentialsProviderError(`Server responded with status: ${e.statusCode}`,{logger:t}),{Code:r.Code,Message:r.Message})}throw new n.CredentialsProviderError(`Server responded with status: ${e.statusCode}`,{logger:t})}t.getCredentials=getCredentials},9921:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.retryWrapper=void 0;const retryWrapper=(e,t,r)=>async()=>{for(let n=0;nsetTimeout(e,r)))}}return await e()};t.retryWrapper=retryWrapper},7290:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.fromHttp=void 0;var n=r(6070);Object.defineProperty(t,"fromHttp",{enumerable:true,get:function(){return n.fromHttp}})},4203:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{fromIni:()=>w});e.exports=__toCommonJS(c);var l=r(3507);var u=r(9721);var d=__name(((e,t,n)=>{const o={EcsContainer:async e=>{const{fromHttp:t}=await Promise.resolve().then((()=>__toESM(r(7290))));const{fromContainerMetadata:o}=await Promise.resolve().then((()=>__toESM(r(7477))));n==null?void 0:n.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");return(0,u.chain)(t(e??{}),o(e))},Ec2InstanceMetadata:async e=>{n==null?void 0:n.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");const{fromInstanceMetadata:t}=await Promise.resolve().then((()=>__toESM(r(7477))));return t(e)},Environment:async e=>{n==null?void 0:n.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");const{fromEnv:t}=await Promise.resolve().then((()=>__toESM(r(5972))));return t(e)}};if(e in o){return o[e]}else{throw new u.CredentialsProviderError(`Unsupported credential source in profile ${t}. Got ${e}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:n})}}),"resolveCredentialSource");var g=__name(((e,{profile:t="default",logger:r}={})=>Boolean(e)&&typeof e==="object"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(f(e,{profile:t,logger:r})||h(e,{profile:t,logger:r}))),"isAssumeRoleProfile");var f=__name(((e,{profile:t,logger:r})=>{var n;const o=typeof e.source_profile==="string"&&typeof e.credential_source==="undefined";if(o){(n=r==null?void 0:r.debug)==null?void 0:n.call(r,` ${t} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`)}return o}),"isAssumeRoleWithSourceProfile");var h=__name(((e,{profile:t,logger:r})=>{var n;const o=typeof e.credential_source==="string"&&typeof e.source_profile==="undefined";if(o){(n=r==null?void 0:r.debug)==null?void 0:n.call(r,` ${t} isCredentialSourceProfile credential_source=${e.credential_source}`)}return o}),"isCredentialSourceProfile");var p=__name((async(e,t,n,o={})=>{var s,i;(s=n.logger)==null?void 0:s.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");const a=t[e];if(!n.roleAssumer){const{getDefaultRoleAssumer:e}=await Promise.resolve().then((()=>__toESM(r(2209))));n.roleAssumer=e({...n.clientConfig,credentialProviderLogger:n.logger,parentClientConfig:n==null?void 0:n.parentClientConfig},n.clientPlugins)}const{source_profile:A}=a;if(A&&A in o){throw new u.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${(0,l.getProfileName)(n)}. Profiles visited: `+Object.keys(o).join(", "),{logger:n.logger})}(i=n.logger)==null?void 0:i.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${A?`source_profile=[${A}]`:`profile=[${e}]`}`);const c=A?b(A,{...t,[A]:{...t[A],role_arn:a.role_arn??t[A].role_arn}},n,{...o,[A]:true}):(await d(a.credential_source,e,n.logger)(n))();const g={RoleArn:a.role_arn,RoleSessionName:a.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:a.external_id,DurationSeconds:parseInt(a.duration_seconds||"3600",10)};const{mfa_serial:f}=a;if(f){if(!n.mfaCodeProvider){throw new u.CredentialsProviderError(`Profile ${e} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:n.logger,tryNextLink:false})}g.SerialNumber=f;g.TokenCode=await n.mfaCodeProvider(f)}const h=await c;return n.roleAssumer(h,g)}),"resolveAssumeRoleCredentials");var E=__name((e=>Boolean(e)&&typeof e==="object"&&typeof e.credential_process==="string"),"isProcessProfile");var C=__name((async(e,t)=>Promise.resolve().then((()=>__toESM(r(9969)))).then((({fromProcess:r})=>r({...e,profile:t})()))),"resolveProcessCredentials");var m=__name((async(e,t={})=>{const{fromSSO:n}=await Promise.resolve().then((()=>__toESM(r(6414))));return n({profile:e,logger:t.logger})()}),"resolveSsoCredentials");var I=__name((e=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string")),"isSsoProfile");var y=__name((e=>Boolean(e)&&typeof e==="object"&&typeof e.aws_access_key_id==="string"&&typeof e.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1),"isStaticCredsProfile");var Q=__name(((e,t)=>{var r;(r=t==null?void 0:t.logger)==null?void 0:r.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");return Promise.resolve({accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,credentialScope:e.aws_credential_scope})}),"resolveStaticCredentials");var B=__name((e=>Boolean(e)&&typeof e==="object"&&typeof e.web_identity_token_file==="string"&&typeof e.role_arn==="string"&&["undefined","string"].indexOf(typeof e.role_session_name)>-1),"isWebIdentityProfile");var v=__name((async(e,t)=>Promise.resolve().then((()=>__toESM(r(5646)))).then((({fromTokenFile:r})=>r({webIdentityTokenFile:e.web_identity_token_file,roleArn:e.role_arn,roleSessionName:e.role_session_name,roleAssumerWithWebIdentity:t.roleAssumerWithWebIdentity,logger:t.logger,parentClientConfig:t.parentClientConfig})()))),"resolveWebIdentityCredentials");var b=__name((async(e,t,r,n={})=>{const o=t[e];if(Object.keys(n).length>0&&y(o)){return Q(o,r)}if(g(o,{profile:e,logger:r.logger})){return p(e,t,r,n)}if(y(o)){return Q(o,r)}if(B(o)){return v(o,r)}if(E(o)){return C(r,e)}if(I(o)){return await m(e,r)}throw new u.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:r.logger})}),"resolveProfileData");var w=__name(((e={})=>async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-ini - fromIni");const r=await(0,l.parseKnownFiles)(e);return b((0,l.getProfileName)(e),r,e)}),"fromIni");0&&0},5531:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{credentialsTreatedAsExpired:()=>E,credentialsWillNeedRefresh:()=>p,defaultProvider:()=>h});e.exports=__toCommonJS(c);var l=r(5972);var u=r(3507);var d=r(9721);var g="AWS_EC2_METADATA_DISABLED";var f=__name((async e=>{var t,n;const{ENV_CMDS_FULL_URI:o,ENV_CMDS_RELATIVE_URI:s,fromContainerMetadata:i,fromInstanceMetadata:a}=await Promise.resolve().then((()=>__toESM(r(7477))));if(process.env[s]||process.env[o]){(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:n}=await Promise.resolve().then((()=>__toESM(r(7290))));return(0,d.chain)(n(e),i(e))}if(process.env[g]){return async()=>{throw new d.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:e.logger})}}(n=e.logger)==null?void 0:n.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");return a(e)}),"remoteProvider");var h=__name(((e={})=>(0,d.memoize)((0,d.chain)(...e.profile||process.env[u.ENV_PROFILE]?[]:[async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");return(0,l.fromEnv)(e)()}],(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:n,ssoAccountId:o,ssoRegion:s,ssoRoleName:i,ssoSession:a}=e;if(!n&&!o&&!s&&!i&&!a){throw new d.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:e.logger})}const{fromSSO:A}=await Promise.resolve().then((()=>__toESM(r(6414))));return A(e)()}),(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:n}=await Promise.resolve().then((()=>__toESM(r(4203))));return n(e)()}),(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:n}=await Promise.resolve().then((()=>__toESM(r(9969))));return n(e)()}),(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:n}=await Promise.resolve().then((()=>__toESM(r(5646))));return n(e)()}),(async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");return(await f(e))()}),(async()=>{throw new d.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:false,logger:e.logger})})),E,p)),"defaultProvider");var p=__name((e=>(e==null?void 0:e.expiration)!==void 0),"credentialsWillNeedRefresh");var E=__name((e=>(e==null?void 0:e.expiration)!==void 0&&e.expiration.getTime()-Date.now()<3e5),"credentialsTreatedAsExpired");0&&0},9969:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{fromProcess:()=>f});e.exports=__toCommonJS(a);var A=r(3507);var c=r(9721);var l=r(2081);var u=r(3837);var d=__name(((e,t)=>{if(t.Version!==1){throw Error(`Profile ${e} credential_process did not return Version 1.`)}if(t.AccessKeyId===void 0||t.SecretAccessKey===void 0){throw Error(`Profile ${e} credential_process returned invalid credentials.`)}if(t.Expiration){const r=new Date;const n=new Date(t.Expiration);if(n{const n=t[e];if(t[e]){const t=n["credential_process"];if(t!==void 0){const n=(0,u.promisify)(l.exec);try{const{stdout:r}=await n(t);let o;try{o=JSON.parse(r.trim())}catch{throw Error(`Profile ${e} credential_process returned invalid JSON.`)}return d(e,o)}catch(e){throw new c.CredentialsProviderError(e.message,{logger:r})}}else{throw new c.CredentialsProviderError(`Profile ${e} did not contain credential_process.`,{logger:r})}}else{throw new c.CredentialsProviderError(`Profile ${e} could not be found in shared credentials file.`,{logger:r})}}),"resolveProcessCredentials");var f=__name(((e={})=>async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-process - fromProcess");const r=await(0,A.parseKnownFiles)(e);return g((0,A.getProfileName)(e),r,e.logger)}),"fromProcess");0&&0},6414:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __esm=(e,t)=>function __init(){return e&&(t=(0,e[s(e)[0]])(e=0)),t};var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{GetRoleCredentialsCommand:()=>A.GetRoleCredentialsCommand,SSOClient:()=>A.SSOClient});var A;var c=__esm({"src/loadSso.ts"(){"use strict";A=r(2666)}});var l={};__export(l,{fromSSO:()=>C,isSsoProfile:()=>u,validateSsoProfile:()=>E});e.exports=__toCommonJS(l);var u=__name((e=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string")),"isSsoProfile");var d=r(2843);var g=r(9721);var f=r(3507);var h=false;var p=__name((async({ssoStartUrl:e,ssoSession:t,ssoAccountId:r,ssoRegion:n,ssoRoleName:o,ssoClient:s,clientConfig:i,profile:A,logger:l})=>{let u;const p=`To refresh this SSO session run aws sso login with the corresponding profile.`;if(t){try{const e=await(0,d.fromSso)({profile:A})();u={accessToken:e.token,expiresAt:new Date(e.expiration).toISOString()}}catch(e){throw new g.CredentialsProviderError(e.message,{tryNextLink:h,logger:l})}}else{try{u=await(0,f.getSSOTokenFromFile)(e)}catch(e){throw new g.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${p}`,{tryNextLink:h,logger:l})}}if(new Date(u.expiresAt).getTime()-Date.now()<=0){throw new g.CredentialsProviderError(`The SSO session associated with this profile has expired. ${p}`,{tryNextLink:h,logger:l})}const{accessToken:E}=u;const{SSOClient:C,GetRoleCredentialsCommand:m}=await Promise.resolve().then((()=>(c(),a)));const I=s||new C(Object.assign({},i??{},{region:(i==null?void 0:i.region)??n}));let y;try{y=await I.send(new m({accountId:r,roleName:o,accessToken:E}))}catch(e){throw new g.CredentialsProviderError(e,{tryNextLink:h,logger:l})}const{roleCredentials:{accessKeyId:Q,secretAccessKey:B,sessionToken:v,expiration:b,credentialScope:w}={}}=y;if(!Q||!B||!v||!b){throw new g.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:h,logger:l})}return{accessKeyId:Q,secretAccessKey:B,sessionToken:v,expiration:new Date(b),credentialScope:w}}),"resolveSSOCredentials");var E=__name(((e,t)=>{const{sso_start_url:r,sso_account_id:n,sso_region:o,sso_role_name:s}=e;if(!r||!n||!o||!s){throw new g.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:false,logger:t})}return e}),"validateSsoProfile");var C=__name(((e={})=>async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/credential-provider-sso - fromSSO");const{ssoStartUrl:r,ssoAccountId:n,ssoRegion:o,ssoRoleName:s,ssoSession:i}=e;const{ssoClient:a}=e;const A=(0,f.getProfileName)(e);if(!r&&!n&&!o&&!s&&!i){const t=await(0,f.parseKnownFiles)(e);const n=t[A];if(!n){throw new g.CredentialsProviderError(`Profile ${A} was not found.`,{logger:e.logger})}if(!u(n)){throw new g.CredentialsProviderError(`Profile ${A} is not configured with SSO credentials.`,{logger:e.logger})}if(n==null?void 0:n.sso_session){const t=await(0,f.loadSsoSessionData)(e);const s=t[n.sso_session];const i=` configurations in profile ${A} and sso-session ${n.sso_session}`;if(o&&o!==s.sso_region){throw new g.CredentialsProviderError(`Conflicting SSO region`+i,{tryNextLink:false,logger:e.logger})}if(r&&r!==s.sso_start_url){throw new g.CredentialsProviderError(`Conflicting SSO start_url`+i,{tryNextLink:false,logger:e.logger})}n.sso_region=s.sso_region;n.sso_start_url=s.sso_start_url}const{sso_start_url:s,sso_account_id:i,sso_region:c,sso_role_name:l,sso_session:d}=E(n,e.logger);return p({ssoStartUrl:s,ssoSession:d,ssoAccountId:i,ssoRegion:c,ssoRoleName:l,ssoClient:a,clientConfig:e.clientConfig,profile:A})}else if(!r||!n||!o||!s){throw new g.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:false,logger:e.logger})}else{return p({ssoStartUrl:r,ssoSession:i,ssoAccountId:n,ssoRegion:o,ssoRoleName:s,ssoClient:a,clientConfig:e.clientConfig,profile:A})}}),"fromSSO");0&&0},5614:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.fromTokenFile=void 0;const n=r(9721);const o=r(7147);const s=r(7905);const i="AWS_WEB_IDENTITY_TOKEN_FILE";const a="AWS_ROLE_ARN";const A="AWS_ROLE_SESSION_NAME";const fromTokenFile=(e={})=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");const t=e?.webIdentityTokenFile??process.env[i];const r=e?.roleArn??process.env[a];const c=e?.roleSessionName??process.env[A];if(!t||!r){throw new n.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger})}return(0,s.fromWebToken)({...e,webIdentityToken:(0,o.readFileSync)(t,{encoding:"ascii"}),roleArn:r,roleSessionName:c})()};t.fromTokenFile=fromTokenFile},7905:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,o)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.fromWebToken=void 0;const fromWebToken=e=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");const{roleArn:t,roleSessionName:n,webIdentityToken:o,providerId:i,policyArns:a,policy:A,durationSeconds:c}=e;let{roleAssumerWithWebIdentity:l}=e;if(!l){const{getDefaultRoleAssumerWithWebIdentity:t}=await Promise.resolve().then((()=>s(r(2209))));l=t({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:e.parentClientConfig},e.clientPlugins)}return l({RoleArn:t,RoleSessionName:n??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:o,ProviderId:i,PolicyArns:a,Policy:A,DurationSeconds:c})};t.fromWebToken=fromWebToken},5646:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};e.exports=__toCommonJS(a);__reExport(a,r(5614),e.exports);__reExport(a,r(7905),e.exports);0&&0},9393:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{EndpointCache:()=>d});e.exports=__toCommonJS(c);var l=__toESM(r(4934));var u=class _EndpointCache{constructor(e){this.cache=new l.default(e)}getEndpoint(e){const t=this.get(e);if(!t||t.length===0){return void 0}const r=t.map((e=>e.Address));return r[Math.floor(Math.random()*r.length)]}get(e){if(!this.has(e)){return}const t=this.cache.get(e);if(!t){return}const r=Date.now();const n=t.filter((e=>r({Address:e,Expires:r+t*60*1e3}))))}delete(e){this.cache.set(e,[])}has(e){if(!this.cache.has(e)){return false}const t=this.cache.peek(e);if(!t){return false}return t.length>0}clear(){this.cache.clear()}};__name(u,"EndpointCache");var d=u;0&&0},6929:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS:()=>u,endpointDiscoveryMiddlewareOptions:()=>E,getEndpointDiscoveryOptionalPlugin:()=>I,getEndpointDiscoveryPlugin:()=>C,getEndpointDiscoveryRequiredPlugin:()=>m,resolveEndpointDiscoveryConfig:()=>Q});e.exports=__toCommonJS(a);var A=["AWS_ENABLE_ENDPOINT_DISCOVERY","AWS_ENDPOINT_DISCOVERY_ENABLED"];var c="endpoint_discovery_enabled";var l=__name((e=>["false","0"].indexOf(e)>=0),"isFalsy");var u={environmentVariableSelector:e=>{for(let t=0;t{if(c in e){const t=e[c];if(t===void 0){throw Error(`Shared config entry ${c} can't be undefined, got "${t}"`)}return!l(t)}},default:void 0};var d=r(4418);var g=__name((async(e,t,r)=>{const{accessKeyId:n}=await t.credentials();const{identifiers:o}=r;return JSON.stringify({...n&&{accessKeyId:n},...o&&{commandName:e,identifiers:Object.entries(o).sort().reduce(((e,[t,r])=>({...e,[t]:r})),{})}})}),"getCacheKey");var f={};var h=__name((async(e,t)=>new Promise(((r,n)=>{const{endpointCache:o}=e;const{cacheKey:s,commandName:i,identifiers:a}=t;const A=o.get(s);if(A&&A.length===1&&A[0].Address===""){if(t.isDiscoveredEndpointRequired){if(!f[s])f[s]=[];f[s].push({resolve:r,reject:n})}else{r()}}else if(A&&A.length>0){r()}else{const A=[{Address:"",CachePeriodInMinutes:1}];o.set(s,A);const c=new t.endpointDiscoveryCommandCtor({Operation:i.slice(0,-7),Identifiers:a});const l=c.resolveMiddleware(t.clientStack,e,t.options);l(c).then((e=>{o.set(s,e.output.Endpoints);if(f[s]){f[s].forEach((({resolve:e})=>{e()}));delete f[s]}r()})).catch((e=>{o.delete(s);const i=Object.assign(new Error(`The operation to discover endpoint failed. Please retry, or provide a custom endpoint and disable endpoint discovery to proceed.`),{reason:e});if(f[s]){f[s].forEach((({reject:e})=>{e(i)}));delete f[s]}if(t.isDiscoveredEndpointRequired){n(i)}else{o.set(s,A);r()}}))}}))),"updateDiscoveredEndpointInCache");var p=__name(((e,t)=>(r,n)=>async o=>{if(e.isCustomEndpoint){if(e.isClientEndpointDiscoveryEnabled){throw new Error(`Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.`)}return r(o)}const{endpointDiscoveryCommandCtor:s}=e;const{isDiscoveredEndpointRequired:i,identifiers:a}=t;const A=n.clientName;const c=n.commandName;const l=await e.endpointDiscoveryEnabled();const u=await g(c,e,{identifiers:a});if(i){if(l===false){throw new Error(`Endpoint Discovery is disabled but ${c} on ${A} requires it. Please check your configurations.`)}await h(e,{...t,commandName:c,cacheKey:u,endpointDiscoveryCommandCtor:s})}else if(l){h(e,{...t,commandName:c,cacheKey:u,endpointDiscoveryCommandCtor:s})}const{request:f}=o;if(u&&d.HttpRequest.isInstance(f)){const t=e.endpointCache.getEndpoint(u);if(t){f.hostname=t}}return r(o)}),"endpointDiscoveryMiddleware");var E={name:"endpointDiscoveryMiddleware",step:"build",tags:["ENDPOINT_DISCOVERY"],override:true};var C=__name(((e,t)=>({applyToStack:r=>{r.add(p(e,t),E)}})),"getEndpointDiscoveryPlugin");var m=__name(((e,t)=>({applyToStack:r=>{r.add(p(e,{...t,isDiscoveredEndpointRequired:true}),E)}})),"getEndpointDiscoveryRequiredPlugin");var I=__name(((e,t)=>({applyToStack:r=>{r.add(p(e,{...t,isDiscoveredEndpointRequired:false}),E)}})),"getEndpointDiscoveryOptionalPlugin");var y=r(9393);var Q=__name(((e,{endpointDiscoveryCommandCtor:t})=>({...e,endpointDiscoveryCommandCtor:t,endpointCache:new y.EndpointCache(e.endpointCacheSize??1e3),endpointDiscoveryEnabled:e.endpointDiscoveryEnabled!==void 0?()=>Promise.resolve(e.endpointDiscoveryEnabled):e.endpointDiscoveryEnabledProvider,isClientEndpointDiscoveryEnabled:e.endpointDiscoveryEnabled!==void 0})),"resolveEndpointDiscoveryConfig");0&&0},2545:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{getHostHeaderPlugin:()=>u,hostHeaderMiddleware:()=>c,hostHeaderMiddlewareOptions:()=>l,resolveHostHeaderConfig:()=>resolveHostHeaderConfig});e.exports=__toCommonJS(a);var A=r(4418);function resolveHostHeaderConfig(e){return e}__name(resolveHostHeaderConfig,"resolveHostHeaderConfig");var c=__name((e=>t=>async r=>{if(!A.HttpRequest.isInstance(r.request))return t(r);const{request:n}=r;const{handlerProtocol:o=""}=e.requestHandler.metadata||{};if(o.indexOf("h2")>=0&&!n.headers[":authority"]){delete n.headers["host"];n.headers[":authority"]=n.hostname+(n.port?":"+n.port:"")}else if(!n.headers["host"]){let e=n.hostname;if(n.port!=null)e+=`:${n.port}`;n.headers["host"]=e}return t(r)}),"hostHeaderMiddleware");var l={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:true};var u=__name((e=>({applyToStack:t=>{t.add(c(e),l)}})),"getHostHeaderPlugin");0&&0},14:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{getLoggerPlugin:()=>A,loggerMiddleware:()=>i,loggerMiddlewareOptions:()=>a});e.exports=__toCommonJS(s);var i=__name((()=>(e,t)=>async r=>{var n,o;try{const o=await e(r);const{clientName:s,commandName:i,logger:a,dynamoDbDocumentClientOptions:A={}}=t;const{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:l}=A;const u=c??t.inputFilterSensitiveLog;const d=l??t.outputFilterSensitiveLog;const{$metadata:g,...f}=o.output;(n=a==null?void 0:a.info)==null?void 0:n.call(a,{clientName:s,commandName:i,input:u(r.input),output:d(f),metadata:g});return o}catch(e){const{clientName:n,commandName:s,logger:i,dynamoDbDocumentClientOptions:a={}}=t;const{overrideInputFilterSensitiveLog:A}=a;const c=A??t.inputFilterSensitiveLog;(o=i==null?void 0:i.error)==null?void 0:o.call(i,{clientName:n,commandName:s,input:c(r.input),error:e,metadata:e.$metadata});throw e}}),"loggerMiddleware");var a={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:true};var A=__name((e=>({applyToStack:e=>{e.add(i(),a)}})),"getLoggerPlugin");0&&0},5525:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{addRecursionDetectionMiddlewareOptions:()=>g,getRecursionDetectionPlugin:()=>f,recursionDetectionMiddleware:()=>d});e.exports=__toCommonJS(a);var A=r(4418);var c="X-Amzn-Trace-Id";var l="AWS_LAMBDA_FUNCTION_NAME";var u="_X_AMZN_TRACE_ID";var d=__name((e=>t=>async r=>{const{request:n}=r;if(!A.HttpRequest.isInstance(n)||e.runtime!=="node"||n.headers.hasOwnProperty(c)){return t(r)}const o=process.env[l];const s=process.env[u];const i=__name((e=>typeof e==="string"&&e.length>0),"nonEmptyString");if(i(o)&&i(s)){n.headers[c]=s}return t({...r,request:n})}),"recursionDetectionMiddleware");var g={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:true,priority:"low"};var f=__name((e=>({applyToStack:t=>{t.add(d(e),g)}})),"getRecursionDetectionPlugin");0&&0},4688:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{getUserAgentMiddlewareOptions:()=>m,getUserAgentPlugin:()=>I,resolveUserAgentConfig:()=>resolveUserAgentConfig,userAgentMiddleware:()=>E});e.exports=__toCommonJS(a);function resolveUserAgentConfig(e){return{...e,customUserAgent:typeof e.customUserAgent==="string"?[[e.customUserAgent]]:e.customUserAgent}}__name(resolveUserAgentConfig,"resolveUserAgentConfig");var A=r(3350);var c=r(4418);var l="user-agent";var u="x-amz-user-agent";var d=" ";var g="/";var f=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;var h=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;var p="-";var E=__name((e=>(t,r)=>async n=>{var o,s;const{request:i}=n;if(!c.HttpRequest.isInstance(i))return t(n);const{headers:a}=i;const g=((o=r==null?void 0:r.userAgent)==null?void 0:o.map(C))||[];const f=(await e.defaultUserAgentProvider()).map(C);const h=((s=e==null?void 0:e.customUserAgent)==null?void 0:s.map(C))||[];const p=(0,A.getUserAgentPrefix)();const E=(p?[p]:[]).concat([...f,...g,...h]).join(d);const m=[...f.filter((e=>e.startsWith("aws-sdk-"))),...h].join(d);if(e.runtime!=="browser"){if(m){a[u]=a[u]?`${a[l]} ${m}`:m}a[l]=E}else{a[u]=E}return t({...n,request:i})}),"userAgentMiddleware");var C=__name((e=>{var t;const r=e[0].split(g).map((e=>e.replace(f,p))).join(g);const n=(t=e[1])==null?void 0:t.replace(h,p);const o=r.indexOf(g);const s=r.substring(0,o);let i=r.substring(o+1);if(s==="api"){i=i.toLowerCase()}return[s,i,n].filter((e=>e&&e.length>0)).reduce(((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}}),"")}),"escapeUserAgent");var m={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:true};var I=__name((e=>({applyToStack:t=>{t.add(E(e),m)}})),"getUserAgentPlugin");0&&0},8156:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{NODE_REGION_CONFIG_FILE_OPTIONS:()=>u,NODE_REGION_CONFIG_OPTIONS:()=>l,REGION_ENV_NAME:()=>A,REGION_INI_NAME:()=>c,getAwsRegionExtensionConfiguration:()=>i,resolveAwsRegionExtensionConfiguration:()=>a,resolveRegionConfig:()=>f});e.exports=__toCommonJS(s);var i=__name((e=>{let t=__name((async()=>{if(e.region===void 0){throw new Error("Region is missing from runtimeConfig")}const t=e.region;if(typeof t==="string"){return t}return t()}),"runtimeConfigRegion");return{setRegion(e){t=e},region(){return t}}}),"getAwsRegionExtensionConfiguration");var a=__name((e=>({region:e.region()})),"resolveAwsRegionExtensionConfiguration");var A="AWS_REGION";var c="region";var l={environmentVariableSelector:e=>e[A],configFileSelector:e=>e[c],default:()=>{throw new Error("Region is missing")}};var u={preferredFile:"credentials"};var d=__name((e=>typeof e==="string"&&(e.startsWith("fips-")||e.endsWith("-fips"))),"isFipsRegion");var g=__name((e=>d(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e),"getRealRegion");var f=__name((e=>{const{region:t,useFipsEndpoint:r}=e;if(!t){throw new Error("Region is missing")}return{...e,region:async()=>{if(typeof t==="string"){return g(t)}const e=await t();return g(e)},useFipsEndpoint:async()=>{const e=typeof t==="string"?t:await t();if(d(e)){return true}return typeof r!=="function"?Promise.resolve(!!r):r()}}}),"resolveRegionConfig");0&&0},2843:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{fromSso:()=>B,fromStatic:()=>v,nodeProvider:()=>b});e.exports=__toCommonJS(c);var l=5*60*1e3;var u=`To refresh this SSO session run 'aws sso login' with the corresponding profile.`;var d={};var g=__name((async e=>{const{SSOOIDCClient:t}=await Promise.resolve().then((()=>__toESM(r(4527))));if(d[e]){return d[e]}const n=new t({region:e});d[e]=n;return n}),"getSsoOidcClient");var f=__name((async(e,t)=>{const{CreateTokenCommand:n}=await Promise.resolve().then((()=>__toESM(r(4527))));const o=await g(t);return o.send(new n({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))}),"getNewSsoOidcToken");var h=r(9721);var p=__name((e=>{if(e.expiration&&e.expiration.getTime(){if(typeof t==="undefined"){throw new h.TokenProviderError(`Value not present for '${e}' in SSO Token${r?". Cannot refresh":""}. ${u}`,false)}}),"validateTokenKey");var C=r(3507);var m=r(7147);var{writeFile:I}=m.promises;var y=__name(((e,t)=>{const r=(0,C.getSSOTokenFilepath)(e);const n=JSON.stringify(t,null,2);return I(r,n)}),"writeSSOTokenToFile");var Q=new Date(0);var B=__name(((e={})=>async()=>{var t;(t=e.logger)==null?void 0:t.debug("@aws-sdk/token-providers - fromSso");const r=await(0,C.parseKnownFiles)(e);const n=(0,C.getProfileName)(e);const o=r[n];if(!o){throw new h.TokenProviderError(`Profile '${n}' could not be found in shared credentials file.`,false)}else if(!o["sso_session"]){throw new h.TokenProviderError(`Profile '${n}' is missing required property 'sso_session'.`)}const s=o["sso_session"];const i=await(0,C.loadSsoSessionData)(e);const a=i[s];if(!a){throw new h.TokenProviderError(`Sso session '${s}' could not be found in shared credentials file.`,false)}for(const e of["sso_start_url","sso_region"]){if(!a[e]){throw new h.TokenProviderError(`Sso session '${s}' is missing required property '${e}'.`,false)}}const A=a["sso_start_url"];const c=a["sso_region"];let d;try{d=await(0,C.getSSOTokenFromFile)(s)}catch(e){throw new h.TokenProviderError(`The SSO session token associated with profile=${n} was not found or is invalid. ${u}`,false)}E("accessToken",d.accessToken);E("expiresAt",d.expiresAt);const{accessToken:g,expiresAt:m}=d;const I={token:g,expiration:new Date(m)};if(I.expiration.getTime()-Date.now()>l){return I}if(Date.now()-Q.getTime()<30*1e3){p(I);return I}E("clientId",d.clientId,true);E("clientSecret",d.clientSecret,true);E("refreshToken",d.refreshToken,true);try{Q.setTime(Date.now());const e=await f(d,c);E("accessToken",e.accessToken);E("expiresIn",e.expiresIn);const t=new Date(Date.now()+e.expiresIn*1e3);try{await y(s,{...d,accessToken:e.accessToken,expiresAt:t.toISOString(),refreshToken:e.refreshToken})}catch(e){}return{token:e.accessToken,expiration:t}}catch(e){p(I);return I}}),"fromSso");var v=__name((({token:e,logger:t})=>async()=>{t==null?void 0:t.debug("@aws-sdk/token-providers - fromStatic");if(!e||!e.token){throw new h.TokenProviderError(`Please pass a valid token to fromStatic`,false)}return e}),"fromStatic");var b=__name(((e={})=>(0,h.memoize)((0,h.chain)(B(e),(async()=>{throw new h.TokenProviderError("Could not load token from any providers",false)})),(e=>e.expiration!==void 0&&e.expiration.getTime()-Date.now()<3e5),(e=>e.expiration!==void 0))),"nodeProvider");0&&0},3350:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{ConditionObject:()=>A.ConditionObject,DeprecatedObject:()=>A.DeprecatedObject,EndpointError:()=>A.EndpointError,EndpointObject:()=>A.EndpointObject,EndpointObjectHeaders:()=>A.EndpointObjectHeaders,EndpointObjectProperties:()=>A.EndpointObjectProperties,EndpointParams:()=>A.EndpointParams,EndpointResolverOptions:()=>A.EndpointResolverOptions,EndpointRuleObject:()=>A.EndpointRuleObject,ErrorRuleObject:()=>A.ErrorRuleObject,EvaluateOptions:()=>A.EvaluateOptions,Expression:()=>A.Expression,FunctionArgv:()=>A.FunctionArgv,FunctionObject:()=>A.FunctionObject,FunctionReturn:()=>A.FunctionReturn,ParameterObject:()=>A.ParameterObject,ReferenceObject:()=>A.ReferenceObject,ReferenceRecord:()=>A.ReferenceRecord,RuleSetObject:()=>A.RuleSetObject,RuleSetRules:()=>A.RuleSetRules,TreeRuleObject:()=>A.TreeRuleObject,awsEndpointFunctions:()=>C,getUserAgentPrefix:()=>E,isIpAddress:()=>A.isIpAddress,partition:()=>f,resolveEndpoint:()=>A.resolveEndpoint,setPartitionInfo:()=>h,useDefaultPartitionInfo:()=>p});e.exports=__toCommonJS(a);var A=r(5473);var c=__name(((e,t=false)=>{if(t){for(const t of e.split(".")){if(!c(t)){return false}}return true}if(!(0,A.isValidHostLabel)(e)){return false}if(e.length<3||e.length>63){return false}if(e!==e.toLowerCase()){return false}if((0,A.isIpAddress)(e)){return false}return true}),"isVirtualHostableS3Bucket");var l=__name((e=>{const t=e.split(":");if(t.length<6)return null;const[r,n,o,s,i,...a]=t;if(r!=="arn"||n===""||o===""||a[0]==="")return null;return{partition:n,service:o,region:s,accountId:i,resourceId:a[0].includes("/")?a[0].split("/"):a}}),"parseArn");var u={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:true,supportsFIPS:true},regionRegex:"^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:true,supportsFIPS:true},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:false,supportsFIPS:true},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:false,supportsFIPS:true},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:false,supportsFIPS:true},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:false,supportsFIPS:true},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"};var d=u;var g="";var f=__name((e=>{const{partitions:t}=d;for(const r of t){const{regions:t,outputs:n}=r;for(const[r,o]of Object.entries(t)){if(r===e){return{...n,...o}}}}for(const r of t){const{regionRegex:t,outputs:n}=r;if(new RegExp(t).test(e)){return{...n}}}const r=t.find((e=>e.id==="aws"));if(!r){throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.")}return{...r.outputs}}),"partition");var h=__name(((e,t="")=>{d=e;g=t}),"setPartitionInfo");var p=__name((()=>{h(u,"")}),"useDefaultPartitionInfo");var E=__name((()=>g),"getUserAgentPrefix");var C={isVirtualHostableS3Bucket:c,parseArn:l,partition:f};A.customEndpointFunctions.aws=C;0&&0},8095:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{UA_APP_ID_ENV_NAME:()=>g,UA_APP_ID_INI_NAME:()=>f,crtAvailability:()=>u,defaultUserAgent:()=>h});e.exports=__toCommonJS(a);var A=r(3461);var c=r(2037);var l=r(7282);var u={isCrtAvailable:false};var d=__name((()=>{if(u.isCrtAvailable){return["md/crt-avail"]}return null}),"isCrtAvailable");var g="AWS_SDK_UA_APP_ID";var f="sdk-ua-app-id";var h=__name((({serviceId:e,clientVersion:t})=>{const r=[["aws-sdk-js",t],["ua","2.0"],[`os/${(0,c.platform)()}`,(0,c.release)()],["lang/js"],["md/nodejs",`${l.versions.node}`]];const n=d();if(n){r.push(n)}if(e){r.push([`api/${e}`,t])}if(l.env.AWS_EXECUTION_ENV){r.push([`exec-env/${l.env.AWS_EXECUTION_ENV}`])}const o=(0,A.loadConfig)({environmentVariableSelector:e=>e[g],configFileSelector:e=>e[f],default:void 0})();let s=void 0;return async()=>{if(!s){const e=await o;s=e?[...r,[`app/${e}`]]:[...r]}return s}}),"defaultUserAgent");0&&0},3098:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{CONFIG_USE_DUALSTACK_ENDPOINT:()=>l,CONFIG_USE_FIPS_ENDPOINT:()=>f,DEFAULT_USE_DUALSTACK_ENDPOINT:()=>u,DEFAULT_USE_FIPS_ENDPOINT:()=>h,ENV_USE_DUALSTACK_ENDPOINT:()=>c,ENV_USE_FIPS_ENDPOINT:()=>g,NODE_REGION_CONFIG_FILE_OPTIONS:()=>v,NODE_REGION_CONFIG_OPTIONS:()=>B,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS:()=>d,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS:()=>p,REGION_ENV_NAME:()=>y,REGION_INI_NAME:()=>Q,getRegionInfo:()=>F,resolveCustomEndpointsConfig:()=>C,resolveEndpointsConfig:()=>I,resolveRegionConfig:()=>S});e.exports=__toCommonJS(a);var A=r(3375);var c="AWS_USE_DUALSTACK_ENDPOINT";var l="use_dualstack_endpoint";var u=false;var d={environmentVariableSelector:e=>(0,A.booleanSelector)(e,c,A.SelectorType.ENV),configFileSelector:e=>(0,A.booleanSelector)(e,l,A.SelectorType.CONFIG),default:false};var g="AWS_USE_FIPS_ENDPOINT";var f="use_fips_endpoint";var h=false;var p={environmentVariableSelector:e=>(0,A.booleanSelector)(e,g,A.SelectorType.ENV),configFileSelector:e=>(0,A.booleanSelector)(e,f,A.SelectorType.CONFIG),default:false};var E=r(2390);var C=__name((e=>{const{endpoint:t,urlParser:r}=e;return{...e,tls:e.tls??true,endpoint:(0,E.normalizeProvider)(typeof t==="string"?r(t):t),isCustomEndpoint:true,useDualstackEndpoint:(0,E.normalizeProvider)(e.useDualstackEndpoint??false)}}),"resolveCustomEndpointsConfig");var m=__name((async e=>{const{tls:t=true}=e;const r=await e.region();const n=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);if(!n.test(r)){throw new Error("Invalid region in client config")}const o=await e.useDualstackEndpoint();const s=await e.useFipsEndpoint();const{hostname:i}=await e.regionInfoProvider(r,{useDualstackEndpoint:o,useFipsEndpoint:s})??{};if(!i){throw new Error("Cannot resolve hostname from client config")}return e.urlParser(`${t?"https:":"http:"}//${i}`)}),"getEndpointFromRegion");var I=__name((e=>{const t=(0,E.normalizeProvider)(e.useDualstackEndpoint??false);const{endpoint:r,useFipsEndpoint:n,urlParser:o}=e;return{...e,tls:e.tls??true,endpoint:r?(0,E.normalizeProvider)(typeof r==="string"?o(r):r):()=>m({...e,useDualstackEndpoint:t,useFipsEndpoint:n}),isCustomEndpoint:!!r,useDualstackEndpoint:t}}),"resolveEndpointsConfig");var y="AWS_REGION";var Q="region";var B={environmentVariableSelector:e=>e[y],configFileSelector:e=>e[Q],default:()=>{throw new Error("Region is missing")}};var v={preferredFile:"credentials"};var b=__name((e=>typeof e==="string"&&(e.startsWith("fips-")||e.endsWith("-fips"))),"isFipsRegion");var w=__name((e=>b(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e),"getRealRegion");var S=__name((e=>{const{region:t,useFipsEndpoint:r}=e;if(!t){throw new Error("Region is missing")}return{...e,region:async()=>{if(typeof t==="string"){return w(t)}const e=await t();return w(e)},useFipsEndpoint:async()=>{const e=typeof t==="string"?t:await t();if(b(e)){return true}return typeof r!=="function"?Promise.resolve(!!r):r()}}}),"resolveRegionConfig");var R=__name(((e=[],{useFipsEndpoint:t,useDualstackEndpoint:r})=>{var n;return(n=e.find((({tags:e})=>t===e.includes("fips")&&r===e.includes("dualstack"))))==null?void 0:n.hostname}),"getHostnameFromVariants");var D=__name(((e,{regionHostname:t,partitionHostname:r})=>t?t:r?r.replace("{region}",e):void 0),"getResolvedHostname");var k=__name(((e,{partitionHash:t})=>Object.keys(t||{}).find((r=>t[r].regions.includes(e)))??"aws"),"getResolvedPartition");var N=__name(((e,{signingRegion:t,regionRegex:r,useFipsEndpoint:n})=>{if(t){return t}else if(n){const t=r.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\.");const n=e.match(t);if(n){return n[0].slice(1,-1)}}}),"getResolvedSigningRegion");var F=__name(((e,{useFipsEndpoint:t=false,useDualstackEndpoint:r=false,signingService:n,regionHash:o,partitionHash:s})=>{var i,a,A,c,l;const u=k(e,{partitionHash:s});const d=e in o?e:((i=s[u])==null?void 0:i.endpoint)??e;const g={useFipsEndpoint:t,useDualstackEndpoint:r};const f=R((a=o[d])==null?void 0:a.variants,g);const h=R((A=s[u])==null?void 0:A.variants,g);const p=D(d,{regionHostname:f,partitionHostname:h});if(p===void 0){throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:d,useFipsEndpoint:t,useDualstackEndpoint:r}}`)}const E=N(p,{signingRegion:(c=o[d])==null?void 0:c.signingRegion,regionRegex:s[u].regionRegex,useFipsEndpoint:t});return{partition:u,signingService:n,hostname:p,...E&&{signingRegion:E},...((l=o[d])==null?void 0:l.signingService)&&{signingService:o[d].signingService}}}),"getRegionInfo");0&&0},5829:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{DefaultIdentityProviderConfig:()=>v,EXPIRATION_MS:()=>T,HttpApiKeyAuthSigner:()=>S,HttpBearerAuthSigner:()=>D,NoAuthSigner:()=>N,RequestBuilder:()=>j,createIsIdentityExpiredFunction:()=>F,createPaginator:()=>createPaginator,doesIdentityRequireRefresh:()=>P,getHttpAuthSchemeEndpointRuleSetPlugin:()=>d,getHttpAuthSchemePlugin:()=>h,getHttpSigningPlugin:()=>Q,getSmithyContext:()=>U,httpAuthSchemeEndpointRuleSetMiddlewareOptions:()=>u,httpAuthSchemeMiddleware:()=>c,httpAuthSchemeMiddlewareOptions:()=>f,httpSigningMiddleware:()=>m,httpSigningMiddlewareOptions:()=>y,isIdentityExpired:()=>x,memoizeIdentityProvider:()=>O,normalizeProvider:()=>M,requestBuilder:()=>requestBuilder});e.exports=__toCommonJS(a);var A=r(2390);function convertHttpAuthSchemesToMap(e){const t=new Map;for(const r of e){t.set(r.schemeId,r)}return t}__name(convertHttpAuthSchemesToMap,"convertHttpAuthSchemesToMap");var c=__name(((e,t)=>(r,n)=>async o=>{var s;const i=e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,n,o.input));const a=convertHttpAuthSchemesToMap(e.httpAuthSchemes);const c=(0,A.getSmithyContext)(n);const l=[];for(const r of i){const o=a.get(r.schemeId);if(!o){l.push(`HttpAuthScheme \`${r.schemeId}\` was not enabled for this service.`);continue}const i=o.identityProvider(await t.identityProviderConfigProvider(e));if(!i){l.push(`HttpAuthScheme \`${r.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:A={},signingProperties:u={}}=((s=r.propertiesExtractor)==null?void 0:s.call(r,e,n))||{};r.identityProperties=Object.assign(r.identityProperties||{},A);r.signingProperties=Object.assign(r.signingProperties||{},u);c.selectedHttpAuthScheme={httpAuthOption:r,identity:await i(r.identityProperties),signer:o.signer};break}if(!c.selectedHttpAuthScheme){throw new Error(l.join("\n"))}return r(o)}),"httpAuthSchemeMiddleware");var l=r(2918);var u={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:l.endpointMiddlewareOptions.name};var d=__name(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(c(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),u)}})),"getHttpAuthSchemeEndpointRuleSetPlugin");var g=r(1238);var f={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:g.serializerMiddlewareOption.name};var h=__name(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(c(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),f)}})),"getHttpAuthSchemePlugin");var p=r(4418);var E=__name((e=>e=>{throw e}),"defaultErrorHandler");var C=__name(((e,t)=>{}),"defaultSuccessHandler");var m=__name((e=>(e,t)=>async r=>{if(!p.HttpRequest.isInstance(r.request)){return e(r)}const n=(0,A.getSmithyContext)(t);const o=n.selectedHttpAuthScheme;if(!o){throw new Error(`No HttpAuthScheme was selected: unable to sign request`)}const{httpAuthOption:{signingProperties:s={}},identity:i,signer:a}=o;const c=await e({...r,request:await a.sign(r.request,i,s)}).catch((a.errorHandler||E)(s));(a.successHandler||C)(c.response,s);return c}),"httpSigningMiddleware");var I=r(6039);var y={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:true,relation:"after",toMiddleware:I.retryMiddlewareOptions.name};var Q=__name((e=>({applyToStack:t=>{t.addRelativeTo(m(e),y)}})),"getHttpSigningPlugin");var B=class _DefaultIdentityProviderConfig{constructor(e){this.authSchemes=new Map;for(const[t,r]of Object.entries(e)){if(r!==void 0){this.authSchemes.set(t,r)}}}getIdentityProvider(e){return this.authSchemes.get(e)}};__name(B,"DefaultIdentityProviderConfig");var v=B;var b=r(5756);var w=class _HttpApiKeyAuthSigner{async sign(e,t,r){if(!r){throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing")}if(!r.name){throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing")}if(!r.in){throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing")}if(!t.apiKey){throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined")}const n=e.clone();if(r.in===b.HttpApiKeyAuthLocation.QUERY){n.query[r.name]=t.apiKey}else if(r.in===b.HttpApiKeyAuthLocation.HEADER){n.headers[r.name]=r.scheme?`${r.scheme} ${t.apiKey}`:t.apiKey}else{throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+r.in+"`")}return n}};__name(w,"HttpApiKeyAuthSigner");var S=w;var R=class _HttpBearerAuthSigner{async sign(e,t,r){const n=e.clone();if(!t.token){throw new Error("request could not be signed with `token` since the `token` is not defined")}n.headers["Authorization"]=`Bearer ${t.token}`;return n}};__name(R,"HttpBearerAuthSigner");var D=R;var k=class _NoAuthSigner{async sign(e,t,r){return e}};__name(k,"NoAuthSigner");var N=k;var F=__name((e=>t=>P(t)&&t.expiration.getTime()-Date.now()e.expiration!==void 0),"doesIdentityRequireRefresh");var O=__name(((e,t,r)=>{if(e===void 0){return void 0}const n=typeof e!=="function"?async()=>Promise.resolve(e):e;let o;let s;let i;let a=false;const A=__name((async e=>{if(!s){s=n(e)}try{o=await s;i=true;a=false}finally{s=void 0}return o}),"coalesceProvider");if(t===void 0){return async e=>{if(!i||(e==null?void 0:e.forceRefresh)){o=await A(e)}return o}}return async e=>{if(!i||(e==null?void 0:e.forceRefresh)){o=await A(e)}if(a){return o}if(!r(o)){a=true;return o}if(t(o)){await A(e);return o}return o}}),"memoizeIdentityProvider");var U=__name((e=>e[b.SMITHY_CONTEXT_KEY]||(e[b.SMITHY_CONTEXT_KEY]={})),"getSmithyContext");var M=__name((e=>{if(typeof e==="function")return e;const t=Promise.resolve(e);return()=>t}),"normalizeProvider");var L=r(3570);function requestBuilder(e,t){return new j(e,t)}__name(requestBuilder,"requestBuilder");var H=class _RequestBuilder{constructor(e,t){this.input=e;this.context=t;this.query={};this.method="";this.headers={};this.path="";this.body=null;this.hostname="";this.resolvePathStack=[]}async build(){const{hostname:e,protocol:t="https",port:r,path:n}=await this.context.endpoint();this.path=n;for(const e of this.resolvePathStack){e(this.path)}return new p.HttpRequest({protocol:t,hostname:this.hostname||e,port:r,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(e){this.hostname=e;return this}bp(e){this.resolvePathStack.push((t=>{this.path=`${(t==null?void 0:t.endsWith("/"))?t.slice(0,-1):t||""}`+e}));return this}p(e,t,r,n){this.resolvePathStack.push((o=>{this.path=(0,L.resolvedPath)(o,this.input,e,t,r,n)}));return this}h(e){this.headers=e;return this}q(e){this.query=e;return this}b(e){this.body=e;return this}m(e){this.method=e;return this}};__name(H,"RequestBuilder");var j=H;var G=__name((async(e,t,r,...n)=>await t.send(new e(r),...n)),"makePagedClientRequest");function createPaginator(e,t,r,n,o){return __name((async function*paginateOperation(s,i,...a){let A=s.startingToken||void 0;let c=true;let l;while(c){i[r]=A;if(o){i[o]=i[o]??s.pageSize}if(s.client instanceof e){l=await G(t,s.client,i,...a)}else{throw new Error(`Invalid client, expected instance of ${e.name}`)}yield l;const u=A;A=V(l,n);c=!!(A&&(!s.stopOnSameToken||A!==u))}return void 0}),"paginateOperation")}__name(createPaginator,"createPaginator");var V=__name(((e,t)=>{let r=e;const n=t.split(".");for(const e of n){if(!r||typeof r!=="object"){return void 0}r=r[e]}return r}),"get");0&&0},7477:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{DEFAULT_MAX_RETRIES:()=>h,DEFAULT_TIMEOUT:()=>f,ENV_CMDS_AUTH_TOKEN:()=>I,ENV_CMDS_FULL_URI:()=>C,ENV_CMDS_RELATIVE_URI:()=>m,Endpoint:()=>N,fromContainerMetadata:()=>y,fromInstanceMetadata:()=>X,getInstanceMetadataEndpoint:()=>L,httpRequest:()=>httpRequest,providerConfigFromInit:()=>p});e.exports=__toCommonJS(a);var A=r(7310);var c=r(9721);var l=r(4300);var u=r(3685);function httpRequest(e){return new Promise(((t,r)=>{var n;const o=(0,u.request)({method:"GET",...e,hostname:(n=e.hostname)==null?void 0:n.replace(/^\[(.+)\]$/,"$1")});o.on("error",(e=>{r(Object.assign(new c.ProviderError("Unable to connect to instance metadata service"),e));o.destroy()}));o.on("timeout",(()=>{r(new c.ProviderError("TimeoutError from instance metadata service"));o.destroy()}));o.on("response",(e=>{const{statusCode:n=400}=e;if(n<200||300<=n){r(Object.assign(new c.ProviderError("Error response received from instance metadata service"),{statusCode:n}));o.destroy()}const s=[];e.on("data",(e=>{s.push(e)}));e.on("end",(()=>{t(l.Buffer.concat(s));o.destroy()}))}));o.end()}))}__name(httpRequest,"httpRequest");var d=__name((e=>Boolean(e)&&typeof e==="object"&&typeof e.AccessKeyId==="string"&&typeof e.SecretAccessKey==="string"&&typeof e.Token==="string"&&typeof e.Expiration==="string"),"isImdsCredentials");var g=__name((e=>({accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:new Date(e.Expiration)})),"fromImdsCredentials");var f=1e3;var h=0;var p=__name((({maxRetries:e=h,timeout:t=f})=>({maxRetries:e,timeout:t})),"providerConfigFromInit");var E=__name(((e,t)=>{let r=e();for(let n=0;n{const{timeout:t,maxRetries:r}=p(e);return()=>E((async()=>{const r=await w({logger:e.logger});const n=JSON.parse(await Q(t,r));if(!d(n)){throw new c.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:e.logger})}return g(n)}),r)}),"fromContainerMetadata");var Q=__name((async(e,t)=>{if(process.env[I]){t.headers={...t.headers,Authorization:process.env[I]}}const r=await httpRequest({...t,timeout:e});return r.toString()}),"requestFromEcsImds");var B="169.254.170.2";var v={localhost:true,"127.0.0.1":true};var b={"http:":true,"https:":true};var w=__name((async({logger:e})=>{if(process.env[m]){return{hostname:B,path:process.env[m]}}if(process.env[C]){const t=(0,A.parse)(process.env[C]);if(!t.hostname||!(t.hostname in v)){throw new c.CredentialsProviderError(`${t.hostname} is not a valid container metadata service hostname`,{tryNextLink:false,logger:e})}if(!t.protocol||!(t.protocol in b)){throw new c.CredentialsProviderError(`${t.protocol} is not a valid container metadata service protocol`,{tryNextLink:false,logger:e})}return{...t,port:t.port?parseInt(t.port,10):void 0}}throw new c.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${m} or ${C} environment variable is set`,{tryNextLink:false,logger:e})}),"getCmdsUri");var S=class _InstanceMetadataV1FallbackError extends c.CredentialsProviderError{constructor(e,t=true){super(e,t);this.tryNextLink=t;this.name="InstanceMetadataV1FallbackError";Object.setPrototypeOf(this,_InstanceMetadataV1FallbackError.prototype)}};__name(S,"InstanceMetadataV1FallbackError");var R=S;var D=r(3461);var k=r(4681);var N=(e=>{e["IPv4"]="http://169.254.169.254";e["IPv6"]="http://[fd00:ec2::254]";return e})(N||{});var F="AWS_EC2_METADATA_SERVICE_ENDPOINT";var T="ec2_metadata_service_endpoint";var x={environmentVariableSelector:e=>e[F],configFileSelector:e=>e[T],default:void 0};var P=(e=>{e["IPv4"]="IPv4";e["IPv6"]="IPv6";return e})(P||{});var O="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";var U="ec2_metadata_service_endpoint_mode";var M={environmentVariableSelector:e=>e[O],configFileSelector:e=>e[U],default:"IPv4"};var L=__name((async()=>(0,k.parseUrl)(await H()||await j())),"getInstanceMetadataEndpoint");var H=__name((async()=>(0,D.loadConfig)(x)()),"getFromEndpointConfig");var j=__name((async()=>{const e=await(0,D.loadConfig)(M)();switch(e){case"IPv4":return"http://169.254.169.254";case"IPv6":return"http://[fd00:ec2::254]";default:throw new Error(`Unsupported endpoint mode: ${e}. Select from ${Object.values(P)}`)}}),"getFromEndpointModeConfig");var G=5*60;var V=5*60;var Y="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html";var J=__name(((e,t)=>{const r=G+Math.floor(Math.random()*V);const n=new Date(Date.now()+r*1e3);t.warn(`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(n)}.\nFor more information, please visit: `+Y);const o=e.originalExpiration??e.expiration;return{...e,...o?{originalExpiration:o}:{},expiration:n}}),"getExtendedInstanceMetadataCredentials");var q=__name(((e,t={})=>{const r=(t==null?void 0:t.logger)||console;let n;return async()=>{let t;try{t=await e();if(t.expiration&&t.expiration.getTime()q(ee(e),{logger:e.logger})),"fromInstanceMetadata");var ee=__name(((e={})=>{let t=false;const{logger:r,profile:n}=e;const{timeout:o,maxRetries:s}=p(e);const i=__name((async(r,o)=>{var s;const i=t||((s=o.headers)==null?void 0:s[Z])==null;if(i){let t=false;let r=false;const o=await(0,D.loadConfig)({environmentVariableSelector:t=>{const n=t[z];r=!!n&&n!=="false";if(n===void 0){throw new c.CredentialsProviderError(`${z} not set in env, checking config file next.`,{logger:e.logger})}return r},configFileSelector:e=>{const r=e[K];t=!!r&&r!=="false";return t},default:false},{profile:n})();if(e.ec2MetadataV1Disabled||o){const n=[];if(e.ec2MetadataV1Disabled)n.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(t)n.push(`config file profile (${K})`);if(r)n.push(`process environment variable (${z})`);throw new R(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${n.join(", ")}].`)}}const a=(await E((async()=>{let e;try{e=await re(o)}catch(e){if(e.statusCode===401){t=false}throw e}return e}),r)).trim();return E((async()=>{let r;try{r=await ne(a,o,e)}catch(e){if(e.statusCode===401){t=false}throw e}return r}),r)}),"getCredentials");return async()=>{const e=await L();if(t){r==null?void 0:r.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)");return i(s,{...e,timeout:o})}else{let n;try{n=(await te({...e,timeout:o})).toString()}catch(n){if((n==null?void 0:n.statusCode)===400){throw Object.assign(n,{message:"EC2 Metadata token request returned error"})}else if(n.message==="TimeoutError"||[403,404,405].includes(n.statusCode)){t=true}r==null?void 0:r.debug("AWS SDK Instance Metadata","using v1 fallback (initial)");return i(s,{...e,timeout:o})}return i(s,{...e,headers:{[Z]:n},timeout:o})}}}),"getInstanceMetadataProvider");var te=__name((async e=>httpRequest({...e,path:W,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}})),"getMetadataToken");var re=__name((async e=>(await httpRequest({...e,path:$})).toString()),"getProfile");var ne=__name((async(e,t,r)=>{const n=JSON.parse((await httpRequest({...t,path:$+e})).toString());if(!d(n)){throw new c.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:r.logger})}return g(n)}),"getCredentialsFromProfile");0&&0},2687:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{FetchHttpHandler:()=>d,keepAliveSupport:()=>l,streamCollector:()=>f});e.exports=__toCommonJS(a);var A=r(4418);var c=r(8031);function requestTimeout(e=0){return new Promise(((t,r)=>{if(e){setTimeout((()=>{const t=new Error(`Request did not complete within ${e} ms`);t.name="TimeoutError";r(t)}),e)}}))}__name(requestTimeout,"requestTimeout");var l={supported:void 0};var u=class _FetchHttpHandler{static create(e){if(typeof(e==null?void 0:e.handle)==="function"){return e}return new _FetchHttpHandler(e)}constructor(e){if(typeof e==="function"){this.configProvider=e().then((e=>e||{}))}else{this.config=e??{};this.configProvider=Promise.resolve(this.config)}if(l.supported===void 0){l.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))}}destroy(){}async handle(e,{abortSignal:t}={}){if(!this.config){this.config=await this.configProvider}const r=this.config.requestTimeout;const n=this.config.keepAlive===true;if(t==null?void 0:t.aborted){const e=new Error("Request aborted");e.name="AbortError";return Promise.reject(e)}let o=e.path;const s=(0,c.buildQueryString)(e.query||{});if(s){o+=`?${s}`}if(e.fragment){o+=`#${e.fragment}`}let i="";if(e.username!=null||e.password!=null){const t=e.username??"";const r=e.password??"";i=`${t}:${r}@`}const{port:a,method:u}=e;const d=`${e.protocol}//${i}${e.hostname}${a?`:${a}`:""}${o}`;const g=u==="GET"||u==="HEAD"?void 0:e.body;const f={body:g,headers:new Headers(e.headers),method:u};if(g){f.duplex="half"}if(typeof AbortController!=="undefined"){f.signal=t}if(l.supported){f.keepalive=n}const h=new Request(d,f);const p=[fetch(h).then((e=>{const t=e.headers;const r={};for(const e of t.entries()){r[e[0]]=e[1]}const n=e.body!=void 0;if(!n){return e.blob().then((t=>({response:new A.HttpResponse({headers:r,reason:e.statusText,statusCode:e.status,body:t})})))}return{response:new A.HttpResponse({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}})),requestTimeout(r)];if(t){p.push(new Promise(((e,r)=>{const n=__name((()=>{const e=new Error("Request aborted");e.name="AbortError";r(e)}),"onAbort");if(typeof t.addEventListener==="function"){t.addEventListener("abort",n)}else{t.onabort=n}})))}return Promise.race(p)}updateHttpClientConfig(e,t){this.config=void 0;this.configProvider=this.configProvider.then((r=>{r[e]=t;return r}))}httpHandlerConfigs(){return this.config??{}}};__name(u,"FetchHttpHandler");var d=u;var g=r(5600);var f=__name((e=>{if(typeof Blob==="function"&&e instanceof Blob){return collectBlob(e)}return collectStream(e)}),"streamCollector");async function collectBlob(e){const t=await readToBase64(e);const r=(0,g.fromBase64)(t);return new Uint8Array(r)}__name(collectBlob,"collectBlob");async function collectStream(e){const t=[];const r=e.getReader();let n=false;let o=0;while(!n){const{done:e,value:s}=await r.read();if(s){t.push(s);o+=s.length}n=e}const s=new Uint8Array(o);let i=0;for(const e of t){s.set(e,i);i+=e.length}return s}__name(collectStream,"collectStream");function readToBase64(e){return new Promise(((t,r)=>{const n=new FileReader;n.onloadend=()=>{if(n.readyState!==2){return r(new Error("Reader aborted too early"))}const e=n.result??"";const o=e.indexOf(",");const s=o>-1?o+1:e.length;t(e.substring(s))};n.onabort=()=>r(new Error("Read aborted"));n.onerror=()=>r(n.error);n.readAsDataURL(e)}))}__name(readToBase64,"readToBase64");0&&0},3081:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{Hash:()=>g});e.exports=__toCommonJS(a);var A=r(1381);var c=r(1895);var l=r(4300);var u=r(6113);var d=class _Hash{constructor(e,t){this.algorithmIdentifier=e;this.secret=t;this.reset()}update(e,t){this.hash.update((0,c.toUint8Array)(castSourceData(e,t)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?(0,u.createHmac)(this.algorithmIdentifier,castSourceData(this.secret)):(0,u.createHash)(this.algorithmIdentifier)}};__name(d,"Hash");var g=d;function castSourceData(e,t){if(l.Buffer.isBuffer(e)){return e}if(typeof e==="string"){return(0,A.fromString)(e,t)}if(ArrayBuffer.isView(e)){return(0,A.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength)}return(0,A.fromArrayBuffer)(e)}__name(castSourceData,"castSourceData");0&&0},780:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{isArrayBuffer:()=>i});e.exports=__toCommonJS(s);var i=__name((e=>typeof ArrayBuffer==="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]"),"isArrayBuffer");0&&0},2800:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{contentLengthMiddleware:()=>contentLengthMiddleware,contentLengthMiddlewareOptions:()=>l,getContentLengthPlugin:()=>u});e.exports=__toCommonJS(a);var A=r(4418);var c="content-length";function contentLengthMiddleware(e){return t=>async r=>{const n=r.request;if(A.HttpRequest.isInstance(n)){const{body:t,headers:r}=n;if(t&&Object.keys(r).map((e=>e.toLowerCase())).indexOf(c)===-1){try{const r=e(t);n.headers={...n.headers,[c]:String(r)}}catch(e){}}}return t({...r,request:n})}}__name(contentLengthMiddleware,"contentLengthMiddleware");var l={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:true};var u=__name((e=>({applyToStack:t=>{t.add(contentLengthMiddleware(e.bodyLengthChecker),l)}})),"getContentLengthPlugin");0&&0},1518:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getEndpointFromConfig=void 0;const n=r(3461);const o=r(7574);const getEndpointFromConfig=async e=>(0,n.loadConfig)((0,o.getEndpointUrlConfig)(e))();t.getEndpointFromConfig=getEndpointFromConfig},7574:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getEndpointUrlConfig=void 0;const n=r(3507);const o="AWS_ENDPOINT_URL";const s="endpoint_url";const getEndpointUrlConfig=e=>({environmentVariableSelector:t=>{const r=e.split(" ").map((e=>e.toUpperCase()));const n=t[[o,...r].join("_")];if(n)return n;const s=t[o];if(s)return s;return undefined},configFileSelector:(t,r)=>{if(r&&t.services){const o=r[["services",t.services].join(n.CONFIG_PREFIX_SEPARATOR)];if(o){const t=e.split(" ").map((e=>e.toLowerCase()));const r=o[[t.join("_"),s].join(n.CONFIG_PREFIX_SEPARATOR)];if(r)return r}}const o=t[s];if(o)return o;return undefined},default:undefined});t.getEndpointUrlConfig=getEndpointUrlConfig},2918:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{endpointMiddleware:()=>y,endpointMiddlewareOptions:()=>B,getEndpointFromInstructions:()=>C,getEndpointPlugin:()=>v,resolveEndpointConfig:()=>b,resolveParams:()=>m,toEndpointV1:()=>E});e.exports=__toCommonJS(a);var A=__name((async e=>{const t=(e==null?void 0:e.Bucket)||"";if(typeof e.Bucket==="string"){e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))}if(g(t)){if(e.ForcePathStyle===true){throw new Error("Path-style addressing cannot be used with ARN buckets")}}else if(!d(t)||t.indexOf(".")!==-1&&!String(e.Endpoint).startsWith("http:")||t.toLowerCase()!==t||t.length<3){e.ForcePathStyle=true}if(e.DisableMultiRegionAccessPoints){e.disableMultiRegionAccessPoints=true;e.DisableMRAP=true}return e}),"resolveParamsForS3");var c=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/;var l=/(\d+\.){3}\d+/;var u=/\.\./;var d=__name((e=>c.test(e)&&!l.test(e)&&!u.test(e)),"isDnsCompatibleBucketName");var g=__name((e=>{const[t,r,n,,,o]=e.split(":");const s=t==="arn"&&e.split(":").length>=6;const i=Boolean(s&&r&&n&&o);if(s&&!i){throw new Error(`Invalid ARN: ${e} was an invalid ARN.`)}return i}),"isArnBucketName");var f=__name(((e,t,r)=>{const n=__name((async()=>{const n=r[e]??r[t];if(typeof n==="function"){return n()}return n}),"configProvider");if(e==="credentialScope"||t==="CredentialScope"){return async()=>{const e=typeof r.credentials==="function"?await r.credentials():r.credentials;const t=(e==null?void 0:e.credentialScope)??(e==null?void 0:e.CredentialScope);return t}}if(e==="endpoint"||t==="endpoint"){return async()=>{const e=await n();if(e&&typeof e==="object"){if("url"in e){return e.url.href}if("hostname"in e){const{protocol:t,hostname:r,port:n,path:o}=e;return`${t}//${r}${n?":"+n:""}${o}`}}return e}}return n}),"createConfigValueProvider");var h=r(1518);var p=r(4681);var E=__name((e=>{if(typeof e==="object"){if("url"in e){return(0,p.parseUrl)(e.url)}return e}return(0,p.parseUrl)(e)}),"toEndpointV1");var C=__name((async(e,t,r,n)=>{if(!r.endpoint){const e=await(0,h.getEndpointFromConfig)(r.serviceId||"");if(e){r.endpoint=()=>Promise.resolve(E(e))}}const o=await m(e,t,r);if(typeof r.endpointProvider!=="function"){throw new Error("config.endpointProvider is not set.")}const s=r.endpointProvider(o,n);return s}),"getEndpointFromInstructions");var m=__name((async(e,t,r)=>{var n;const o={};const s=((n=t==null?void 0:t.getEndpointParameterInstructions)==null?void 0:n.call(t))||{};for(const[t,n]of Object.entries(s)){switch(n.type){case"staticContextParams":o[t]=n.value;break;case"contextParams":o[t]=e[n.name];break;case"clientContextParams":case"builtInParams":o[t]=await f(n.name,t,r)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(n))}}if(Object.keys(s).length===0){Object.assign(o,r)}if(String(r.serviceId).toLowerCase()==="s3"){await A(o)}return o}),"resolveParams");var I=r(2390);var y=__name((({config:e,instructions:t})=>(r,n)=>async o=>{var s,i,a;const A=await C(o.input,{getEndpointParameterInstructions(){return t}},{...e},n);n.endpointV2=A;n.authSchemes=(s=A.properties)==null?void 0:s.authSchemes;const c=(i=n.authSchemes)==null?void 0:i[0];if(c){n["signing_region"]=c.signingRegion;n["signing_service"]=c.signingName;const e=(0,I.getSmithyContext)(n);const t=(a=e==null?void 0:e.selectedHttpAuthScheme)==null?void 0:a.httpAuthOption;if(t){t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:c.signingRegion,signingRegion:c.signingRegion,signing_service:c.signingName,signingName:c.signingName,signingRegionSet:c.signingRegionSet},c.properties)}}return r({...o})}),"endpointMiddleware");var Q=r(1238);var B={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:true,relation:"before",toMiddleware:Q.serializerMiddlewareOption.name};var v=__name(((e,t)=>({applyToStack:r=>{r.addRelativeTo(y({config:e,instructions:t}),B)}})),"getEndpointPlugin");var b=__name((e=>{const t=e.tls??true;const{endpoint:r}=e;const n=r!=null?async()=>E(await(0,I.normalizeProvider)(r)()):void 0;const o=!!r;return{...e,endpoint:n,tls:t,isCustomEndpoint:o,useDualstackEndpoint:(0,I.normalizeProvider)(e.useDualstackEndpoint??false),useFipsEndpoint:(0,I.normalizeProvider)(e.useFipsEndpoint??false)}}),"resolveEndpointConfig");0&&0},6039:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AdaptiveRetryStrategy:()=>I,CONFIG_MAX_ATTEMPTS:()=>B,CONFIG_RETRY_MODE:()=>S,ENV_MAX_ATTEMPTS:()=>Q,ENV_RETRY_MODE:()=>w,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:()=>v,NODE_RETRY_MODE_CONFIG_OPTIONS:()=>R,StandardRetryStrategy:()=>E,defaultDelayDecider:()=>d,defaultRetryDecider:()=>f,getOmitRetryHeadersPlugin:()=>N,getRetryAfterHint:()=>H,getRetryPlugin:()=>L,omitRetryHeadersMiddleware:()=>D,omitRetryHeadersMiddlewareOptions:()=>k,resolveRetryConfig:()=>b,retryMiddleware:()=>x,retryMiddlewareOptions:()=>M});e.exports=__toCommonJS(a);var A=r(4418);var c=r(7761);var l=r(4902);var u=__name(((e,t)=>{const r=e;const n=(t==null?void 0:t.noRetryIncrement)??l.NO_RETRY_INCREMENT;const o=(t==null?void 0:t.retryCost)??l.RETRY_COST;const s=(t==null?void 0:t.timeoutRetryCost)??l.TIMEOUT_RETRY_COST;let i=e;const a=__name((e=>e.name==="TimeoutError"?s:o),"getCapacityAmount");const A=__name((e=>a(e)<=i),"hasRetryTokens");const c=__name((e=>{if(!A(e)){throw new Error("No retry token available")}const t=a(e);i-=t;return t}),"retrieveRetryTokens");const u=__name((e=>{i+=e??n;i=Math.min(i,r)}),"releaseRetryTokens");return Object.freeze({hasRetryTokens:A,retrieveRetryTokens:c,releaseRetryTokens:u})}),"getDefaultRetryQuota");var d=__name(((e,t)=>Math.floor(Math.min(l.MAXIMUM_RETRY_DELAY,Math.random()*2**t*e))),"defaultDelayDecider");var g=r(6375);var f=__name((e=>{if(!e){return false}return(0,g.isRetryableByTrait)(e)||(0,g.isClockSkewError)(e)||(0,g.isThrottlingError)(e)||(0,g.isTransientError)(e)}),"defaultRetryDecider");var h=__name((e=>{if(e instanceof Error)return e;if(e instanceof Object)return Object.assign(new Error,e);if(typeof e==="string")return new Error(e);return new Error(`AWS SDK error wrapper for ${e}`)}),"asSdkError");var p=class _StandardRetryStrategy{constructor(e,t){this.maxAttemptsProvider=e;this.mode=l.RETRY_MODES.STANDARD;this.retryDecider=(t==null?void 0:t.retryDecider)??f;this.delayDecider=(t==null?void 0:t.delayDecider)??d;this.retryQuota=(t==null?void 0:t.retryQuota)??u(l.INITIAL_RETRY_TOKENS)}shouldRetry(e,t,r){return tsetTimeout(e,i)));continue}if(!t.$metadata){t.$metadata={}}t.$metadata.attempts=o;t.$metadata.totalRetryDelay=s;throw t}}}};__name(p,"StandardRetryStrategy");var E=p;var C=__name((e=>{if(!A.HttpResponse.isInstance(e))return;const t=Object.keys(e.headers).find((e=>e.toLowerCase()==="retry-after"));if(!t)return;const r=e.headers[t];const n=Number(r);if(!Number.isNaN(n))return n*1e3;const o=new Date(r);return o.getTime()-Date.now()}),"getDelayFromRetryAfterHeader");var m=class _AdaptiveRetryStrategy extends E{constructor(e,t){const{rateLimiter:r,...n}=t??{};super(e,n);this.rateLimiter=r??new l.DefaultRateLimiter;this.mode=l.RETRY_MODES.ADAPTIVE}async retry(e,t){return super.retry(e,t,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:e=>{this.rateLimiter.updateClientSendingRate(e)}})}};__name(m,"AdaptiveRetryStrategy");var I=m;var y=r(2390);var Q="AWS_MAX_ATTEMPTS";var B="max_attempts";var v={environmentVariableSelector:e=>{const t=e[Q];if(!t)return void 0;const r=parseInt(t);if(Number.isNaN(r)){throw new Error(`Environment variable ${Q} mast be a number, got "${t}"`)}return r},configFileSelector:e=>{const t=e[B];if(!t)return void 0;const r=parseInt(t);if(Number.isNaN(r)){throw new Error(`Shared config file entry ${B} mast be a number, got "${t}"`)}return r},default:l.DEFAULT_MAX_ATTEMPTS};var b=__name((e=>{const{retryStrategy:t}=e;const r=(0,y.normalizeProvider)(e.maxAttempts??l.DEFAULT_MAX_ATTEMPTS);return{...e,maxAttempts:r,retryStrategy:async()=>{if(t){return t}const n=await(0,y.normalizeProvider)(e.retryMode)();if(n===l.RETRY_MODES.ADAPTIVE){return new l.AdaptiveRetryStrategy(r)}return new l.StandardRetryStrategy(r)}}}),"resolveRetryConfig");var w="AWS_RETRY_MODE";var S="retry_mode";var R={environmentVariableSelector:e=>e[w],configFileSelector:e=>e[S],default:l.DEFAULT_RETRY_MODE};var D=__name((()=>e=>async t=>{const{request:r}=t;if(A.HttpRequest.isInstance(r)){delete r.headers[l.INVOCATION_ID_HEADER];delete r.headers[l.REQUEST_HEADER]}return e(t)}),"omitRetryHeadersMiddleware");var k={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:true};var N=__name((e=>({applyToStack:e=>{e.addRelativeTo(D(),k)}})),"getOmitRetryHeadersPlugin");var F=r(3570);var T=r(8977);var x=__name((e=>(t,r)=>async n=>{var o;let s=await e.retryStrategy();const i=await e.maxAttempts();if(P(s)){s=s;let e=await s.acquireInitialRetryToken(r["partition_id"]);let a=new Error;let u=0;let d=0;const{request:g}=n;const f=A.HttpRequest.isInstance(g);if(f){g.headers[l.INVOCATION_ID_HEADER]=(0,c.v4)()}while(true){try{if(f){g.headers[l.REQUEST_HEADER]=`attempt=${u+1}; max=${i}`}const{response:r,output:o}=await t(n);s.recordSuccess(e);o.$metadata.attempts=u+1;o.$metadata.totalRetryDelay=d;return{response:r,output:o}}catch(t){const n=O(t);a=h(t);if(f&&(0,T.isStreamingPayload)(g)){(o=r.logger instanceof F.NoOpLogger?console:r.logger)==null?void 0:o.warn("An error was encountered in a non-retryable streaming request.");throw a}try{e=await s.refreshRetryTokenForRetry(e,n)}catch(e){if(!a.$metadata){a.$metadata={}}a.$metadata.attempts=u+1;a.$metadata.totalRetryDelay=d;throw a}u=e.getRetryCount();const i=e.getRetryDelay();d+=i;await new Promise((e=>setTimeout(e,i)))}}}else{s=s;if(s==null?void 0:s.mode)r.userAgent=[...r.userAgent||[],["cfg/retry-mode",s.mode]];return s.retry(t,n)}}),"retryMiddleware");var P=__name((e=>typeof e.acquireInitialRetryToken!=="undefined"&&typeof e.refreshRetryTokenForRetry!=="undefined"&&typeof e.recordSuccess!=="undefined"),"isRetryStrategyV2");var O=__name((e=>{const t={error:e,errorType:U(e)};const r=H(e.$response);if(r){t.retryAfterHint=r}return t}),"getRetryErrorInfo");var U=__name((e=>{if((0,g.isThrottlingError)(e))return"THROTTLING";if((0,g.isTransientError)(e))return"TRANSIENT";if((0,g.isServerError)(e))return"SERVER_ERROR";return"CLIENT_ERROR"}),"getRetryErrorType");var M={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:true};var L=__name((e=>({applyToStack:t=>{t.add(x(e),M)}})),"getRetryPlugin");var H=__name((e=>{if(!A.HttpResponse.isInstance(e))return;const t=Object.keys(e.headers).find((e=>e.toLowerCase()==="retry-after"));if(!t)return;const r=e.headers[t];const n=Number(r);if(!Number.isNaN(n))return new Date(n*1e3);const o=new Date(r);return o}),"getRetryAfterHint");0&&0},8977:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.isStreamingPayload=void 0;const n=r(2781);const isStreamingPayload=e=>(e===null||e===void 0?void 0:e.body)instanceof n.Readable||typeof ReadableStream!=="undefined"&&(e===null||e===void 0?void 0:e.body)instanceof ReadableStream;t.isStreamingPayload=isStreamingPayload},7761:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return A.default}});var n=_interopRequireDefault(r(6310));var o=_interopRequireDefault(r(9465));var s=_interopRequireDefault(r(6001));var i=_interopRequireDefault(r(8310));var a=_interopRequireDefault(r(3436));var A=_interopRequireDefault(r(7780));var c=_interopRequireDefault(r(6992));var l=_interopRequireDefault(r(9618));var u=_interopRequireDefault(r(86));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},1380:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("md5").update(e).digest()}var o=md5;t["default"]=o},4672:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o={randomUUID:n.default.randomUUID};t["default"]=o},3436:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r="00000000-0000-0000-0000-000000000000";t["default"]=r},86:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6992));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}let t;const r=new Uint8Array(16);r[0]=(t=parseInt(e.slice(0,8),16))>>>24;r[1]=t>>>16&255;r[2]=t>>>8&255;r[3]=t&255;r[4]=(t=parseInt(e.slice(9,13),16))>>>8;r[5]=t&255;r[6]=(t=parseInt(e.slice(14,18),16))>>>8;r[7]=t&255;r[8]=(t=parseInt(e.slice(19,23),16))>>>8;r[9]=t&255;r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;r[11]=t/4294967296&255;r[12]=t>>>24&255;r[13]=t>>>16&255;r[14]=t>>>8&255;r[15]=t&255;return r}var o=parse;t["default"]=o},3194:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=r},8136:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=new Uint8Array(256);let s=o.length;function rng(){if(s>o.length-16){n.default.randomFillSync(o);s=0}return o.slice(s,s+=16)}},6679:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("sha1").update(e).digest()}var o=sha1;t["default"]=o},9618:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.unsafeStringify=unsafeStringify;var n=_interopRequireDefault(r(6992));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=[];for(let e=0;e<256;++e){o.push((e+256).toString(16).slice(1))}function unsafeStringify(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}function stringify(e,t=0){const r=unsafeStringify(e,t);if(!(0,n.default)(r)){throw TypeError("Stringified UUID is invalid")}return r}var s=stringify;t["default"]=s},6310:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(8136));var o=r(9618);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let s;let i;let a=0;let A=0;function v1(e,t,r){let c=t&&r||0;const l=t||new Array(16);e=e||{};let u=e.node||s;let d=e.clockseq!==undefined?e.clockseq:i;if(u==null||d==null){const t=e.random||(e.rng||n.default)();if(u==null){u=s=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(d==null){d=i=(t[6]<<8|t[7])&16383}}let g=e.msecs!==undefined?e.msecs:Date.now();let f=e.nsecs!==undefined?e.nsecs:A+1;const h=g-a+(f-A)/1e4;if(h<0&&e.clockseq===undefined){d=d+1&16383}if((h<0||g>a)&&e.nsecs===undefined){f=0}if(f>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}a=g;A=f;i=d;g+=122192928e5;const p=((g&268435455)*1e4+f)%4294967296;l[c++]=p>>>24&255;l[c++]=p>>>16&255;l[c++]=p>>>8&255;l[c++]=p&255;const E=g/4294967296*1e4&268435455;l[c++]=E>>>8&255;l[c++]=E&255;l[c++]=E>>>24&15|16;l[c++]=E>>>16&255;l[c++]=d>>>8|128;l[c++]=d&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,o.unsafeStringify)(l)}var c=v1;t["default"]=c},9465:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(2568));var o=_interopRequireDefault(r(1380));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v3",48,o.default);var i=s;t["default"]=i},2568:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.URL=t.DNS=void 0;t["default"]=v35;var n=r(9618);var o=_interopRequireDefault(r(86));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(4672));var o=_interopRequireDefault(r(8136));var s=r(9618);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,r){if(n.default.randomUUID&&!t&&!e){return n.default.randomUUID()}e=e||{};const i=e.random||(e.rng||o.default)();i[6]=i[6]&15|64;i[8]=i[8]&63|128;if(t){r=r||0;for(let e=0;e<16;++e){t[r+e]=i[e]}return t}return(0,s.unsafeStringify)(i)}var i=v4;t["default"]=i},8310:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(2568));var o=_interopRequireDefault(r(6679));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v5",80,o.default);var i=s;t["default"]=i},6992:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(3194));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&n.default.test(e)}var o=validate;t["default"]=o},7780:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6992));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.slice(14,15),16)}var o=version;t["default"]=o},1238:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{deserializerMiddleware:()=>i,deserializerMiddlewareOption:()=>A,getSerdePlugin:()=>getSerdePlugin,serializerMiddleware:()=>a,serializerMiddlewareOption:()=>c});e.exports=__toCommonJS(s);var i=__name(((e,t)=>r=>async n=>{const{response:o}=await r(n);try{const r=await t(o,e);return{response:o,output:r}}catch(e){Object.defineProperty(e,"$response",{value:o});if(!("$metadata"in e)){const t=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;e.message+="\n "+t;if(typeof e.$responseBodyText!=="undefined"){if(e.$response){e.$response.body=e.$responseBodyText}}}throw e}}),"deserializerMiddleware");var a=__name(((e,t)=>(r,n)=>async o=>{var s;const i=((s=n.endpointV2)==null?void 0:s.url)&&e.urlParser?async()=>e.urlParser(n.endpointV2.url):e.endpoint;if(!i){throw new Error("No valid endpoint provider available.")}const a=await t(o.input,{...e,endpoint:i});return r({...o,request:a})}),"serializerMiddleware");var A={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:true};var c={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:true};function getSerdePlugin(e,t,r){return{applyToStack:n=>{n.add(i(e,r),A);n.add(a(e,t),c)}}}__name(getSerdePlugin,"getSerdePlugin");0&&0},7911:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{constructStack:()=>A});e.exports=__toCommonJS(s);var i=__name(((e,t)=>{const r=[];if(e){r.push(e)}if(t){for(const e of t){r.push(e)}}return r}),"getAllAliases");var a=__name(((e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`),"getMiddlewareNameWithAliases");var A=__name((()=>{let e=[];let t=[];let r=false;const n=new Set;const o=__name((e=>e.sort(((e,t)=>c[t.step]-c[e.step]||l[t.priority||"normal"]-l[e.priority||"normal"]))),"sort");const s=__name((r=>{let o=false;const s=__name((e=>{const t=i(e.name,e.aliases);if(t.includes(r)){o=true;for(const e of t){n.delete(e)}return false}return true}),"filterCb");e=e.filter(s);t=t.filter(s);return o}),"removeByName");const u=__name((r=>{let o=false;const s=__name((e=>{if(e.middleware===r){o=true;for(const t of i(e.name,e.aliases)){n.delete(t)}return false}return true}),"filterCb");e=e.filter(s);t=t.filter(s);return o}),"removeByReference");const d=__name((r=>{var n;e.forEach((e=>{r.add(e.middleware,{...e})}));t.forEach((e=>{r.addRelativeTo(e.middleware,{...e})}));(n=r.identifyOnResolve)==null?void 0:n.call(r,h.identifyOnResolve());return r}),"cloneTo");const g=__name((e=>{const t=[];e.before.forEach((e=>{if(e.before.length===0&&e.after.length===0){t.push(e)}else{t.push(...g(e))}}));t.push(e);e.after.reverse().forEach((e=>{if(e.before.length===0&&e.after.length===0){t.push(e)}else{t.push(...g(e))}}));return t}),"expandRelativeMiddlewareList");const f=__name(((r=false)=>{const n=[];const s=[];const A={};e.forEach((e=>{const t={...e,before:[],after:[]};for(const e of i(t.name,t.aliases)){A[e]=t}n.push(t)}));t.forEach((e=>{const t={...e,before:[],after:[]};for(const e of i(t.name,t.aliases)){A[e]=t}s.push(t)}));s.forEach((e=>{if(e.toMiddleware){const t=A[e.toMiddleware];if(t===void 0){if(r){return}throw new Error(`${e.toMiddleware} is not found when adding ${a(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}if(e.relation==="after"){t.after.push(e)}if(e.relation==="before"){t.before.push(e)}}}));const c=o(n).map(g).reduce(((e,t)=>{e.push(...t);return e}),[]);return c}),"getMiddlewareList");const h={add:(t,r={})=>{const{name:o,override:s,aliases:A}=r;const c={step:"initialize",priority:"normal",middleware:t,...r};const l=i(o,A);if(l.length>0){if(l.some((e=>n.has(e)))){if(!s)throw new Error(`Duplicate middleware name '${a(o,A)}'`);for(const t of l){const r=e.findIndex((e=>{var r;return e.name===t||((r=e.aliases)==null?void 0:r.some((e=>e===t)))}));if(r===-1){continue}const n=e[r];if(n.step!==c.step||c.priority!==n.priority){throw new Error(`"${a(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${a(o,A)}" middleware with ${c.priority} priority in ${c.step} step.`)}e.splice(r,1)}}for(const e of l){n.add(e)}}e.push(c)},addRelativeTo:(e,r)=>{const{name:o,override:s,aliases:A}=r;const c={middleware:e,...r};const l=i(o,A);if(l.length>0){if(l.some((e=>n.has(e)))){if(!s)throw new Error(`Duplicate middleware name '${a(o,A)}'`);for(const e of l){const r=t.findIndex((t=>{var r;return t.name===e||((r=t.aliases)==null?void 0:r.some((t=>t===e)))}));if(r===-1){continue}const n=t[r];if(n.toMiddleware!==c.toMiddleware||n.relation!==c.relation){throw new Error(`"${a(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${a(o,A)}" middleware ${c.relation} "${c.toMiddleware}" middleware.`)}t.splice(r,1)}}for(const e of l){n.add(e)}}t.push(c)},clone:()=>d(A()),use:e=>{e.applyToStack(h)},remove:e=>{if(typeof e==="string")return s(e);else return u(e)},removeByTag:r=>{let o=false;const s=__name((e=>{const{tags:t,name:s,aliases:a}=e;if(t&&t.includes(r)){const e=i(s,a);for(const t of e){n.delete(t)}o=true;return false}return true}),"filterCb");e=e.filter(s);t=t.filter(s);return o},concat:e=>{var t;const n=d(A());n.use(e);n.identifyOnResolve(r||n.identifyOnResolve()||(((t=e.identifyOnResolve)==null?void 0:t.call(e))??false));return n},applyToStack:d,identify:()=>f(true).map((e=>{const t=e.step??e.relation+" "+e.toMiddleware;return a(e.name,e.aliases)+" - "+t})),identifyOnResolve(e){if(typeof e==="boolean")r=e;return r},resolve:(e,t)=>{for(const r of f().map((e=>e.middleware)).reverse()){e=r(e,t)}if(r){console.log(h.identify())}return e}};return h}),"constructStack");var c={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1};var l={high:3,normal:2,low:1};0&&0},3461:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{loadConfig:()=>f});e.exports=__toCommonJS(a);var A=r(9721);function getSelectorName(e){try{const t=new Set(Array.from(e.match(/([A-Z_]){3,}/g)??[]));t.delete("CONFIG");t.delete("CONFIG_PREFIX_SEPARATOR");t.delete("ENV");return[...t].join(", ")}catch(t){return e}}__name(getSelectorName,"getSelectorName");var c=__name(((e,t)=>async()=>{try{const t=e(process.env);if(t===void 0){throw new Error}return t}catch(r){throw new A.CredentialsProviderError(r.message||`Not found in ENV: ${getSelectorName(e.toString())}`,{logger:t})}}),"fromEnv");var l=r(3507);var u=__name(((e,{preferredFile:t="config",...r}={})=>async()=>{const n=(0,l.getProfileName)(r);const{configFile:o,credentialsFile:s}=await(0,l.loadSharedConfigFiles)(r);const i=s[n]||{};const a=o[n]||{};const c=t==="config"?{...i,...a}:{...a,...i};try{const r=t==="config"?o:s;const n=e(c,r);if(n===void 0){throw new Error}return n}catch(t){throw new A.CredentialsProviderError(t.message||`Not found in config files w/ profile [${n}]: ${getSelectorName(e.toString())}`,{logger:r.logger})}}),"fromSharedConfigFiles");var d=__name((e=>typeof e==="function"),"isFunction");var g=__name((e=>d(e)?async()=>await e():(0,A.fromStatic)(e)),"fromStatic");var f=__name((({environmentVariableSelector:e,configFileSelector:t,default:r},n={})=>(0,A.memoize)((0,A.chain)(c(e),u(t,n),g(r)))),"loadConfig");0&&0},258:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{DEFAULT_REQUEST_TIMEOUT:()=>y,NodeHttp2Handler:()=>N,NodeHttpHandler:()=>B,streamCollector:()=>x});e.exports=__toCommonJS(c);var l=r(4418);var u=r(8031);var d=r(3685);var g=r(5687);var f=["ECONNRESET","EPIPE","ETIMEDOUT"];var h=__name((e=>{const t={};for(const r of Object.keys(e)){const n=e[r];t[r]=Array.isArray(n)?n.join(","):n}return t}),"getTransformedHeaders");var p=__name(((e,t,r=0)=>{if(!r){return}const n=setTimeout((()=>{e.destroy();t(Object.assign(new Error(`Socket timed out without establishing a connection within ${r} ms`),{name:"TimeoutError"}))}),r);e.on("socket",(e=>{if(e.connecting){e.on("connect",(()=>{clearTimeout(n)}))}else{clearTimeout(n)}}))}),"setConnectionTimeout");var E=__name(((e,{keepAlive:t,keepAliveMsecs:r})=>{if(t!==true){return}e.on("socket",(e=>{e.setKeepAlive(t,r||0)}))}),"setSocketKeepAlive");var C=__name(((e,t,r=0)=>{e.setTimeout(r,(()=>{e.destroy();t(Object.assign(new Error(`Connection timed out after ${r} ms`),{name:"TimeoutError"}))}))}),"setSocketTimeout");var m=r(2781);var I=1e3;async function writeRequestBody(e,t,r=I){const n=t.headers??{};const o=n["Expect"]||n["expect"];let s=-1;let i=false;if(o==="100-continue"){await Promise.race([new Promise((e=>{s=Number(setTimeout(e,Math.max(I,r)))})),new Promise((t=>{e.on("continue",(()=>{clearTimeout(s);t()}));e.on("error",(()=>{i=true;clearTimeout(s);t()}))}))])}if(!i){writeBody(e,t.body)}}__name(writeRequestBody,"writeRequestBody");function writeBody(e,t){if(t instanceof m.Readable){t.pipe(e);return}if(t){if(Buffer.isBuffer(t)||typeof t==="string"){e.end(t);return}const r=t;if(typeof r==="object"&&r.buffer&&typeof r.byteOffset==="number"&&typeof r.byteLength==="number"){e.end(Buffer.from(r.buffer,r.byteOffset,r.byteLength));return}e.end(Buffer.from(t));return}e.end()}__name(writeBody,"writeBody");var y=0;var Q=class _NodeHttpHandler{constructor(e){this.socketWarningTimestamp=0;this.metadata={handlerProtocol:"http/1.1"};this.configProvider=new Promise(((t,r)=>{if(typeof e==="function"){e().then((e=>{t(this.resolveDefaultConfig(e))})).catch(r)}else{t(this.resolveDefaultConfig(e))}}))}static create(e){if(typeof(e==null?void 0:e.handle)==="function"){return e}return new _NodeHttpHandler(e)}static checkSocketUsage(e,t,r=console){var n,o,s;const{sockets:i,requests:a,maxSockets:A}=e;if(typeof A!=="number"||A===Infinity){return t}const c=15e3;if(Date.now()-c=A&&c>=2*A){(s=r==null?void 0:r.warn)==null?void 0:s.call(r,`@smithy/node-http-handler:WARN - socket usage at capacity=${t} and ${c} additional requests are enqueued.\nSee https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html\nor increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`);return Date.now()}}}return t}resolveDefaultConfig(e){const{requestTimeout:t,connectionTimeout:r,socketTimeout:n,httpAgent:o,httpsAgent:s}=e||{};const i=true;const a=50;return{connectionTimeout:r,requestTimeout:t??n,httpAgent:(()=>{if(o instanceof d.Agent||typeof(o==null?void 0:o.destroy)==="function"){return o}return new d.Agent({keepAlive:i,maxSockets:a,...o})})(),httpsAgent:(()=>{if(s instanceof g.Agent||typeof(s==null?void 0:s.destroy)==="function"){return s}return new g.Agent({keepAlive:i,maxSockets:a,...s})})(),logger:console}}destroy(){var e,t,r,n;(t=(e=this.config)==null?void 0:e.httpAgent)==null?void 0:t.destroy();(n=(r=this.config)==null?void 0:r.httpsAgent)==null?void 0:n.destroy()}async handle(e,{abortSignal:t}={}){if(!this.config){this.config=await this.configProvider}let r;return new Promise(((n,o)=>{let s=void 0;const i=__name((async e=>{await s;clearTimeout(r);n(e)}),"resolve");const a=__name((async e=>{await s;clearTimeout(r);o(e)}),"reject");if(!this.config){throw new Error("Node HTTP request handler config is not resolved")}if(t==null?void 0:t.aborted){const e=new Error("Request aborted");e.name="AbortError";a(e);return}const A=e.protocol==="https:";const c=A?this.config.httpsAgent:this.config.httpAgent;r=setTimeout((()=>{this.socketWarningTimestamp=_NodeHttpHandler.checkSocketUsage(c,this.socketWarningTimestamp,this.config.logger)}),this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2e3)+(this.config.connectionTimeout??1e3));const m=(0,u.buildQueryString)(e.query||{});let I=void 0;if(e.username!=null||e.password!=null){const t=e.username??"";const r=e.password??"";I=`${t}:${r}`}let y=e.path;if(m){y+=`?${m}`}if(e.fragment){y+=`#${e.fragment}`}const Q={headers:e.headers,host:e.hostname,method:e.method,path:y,port:e.port,agent:c,auth:I};const B=A?g.request:d.request;const v=B(Q,(e=>{const t=new l.HttpResponse({statusCode:e.statusCode||-1,reason:e.statusMessage,headers:h(e.headers),body:e});i({response:t})}));v.on("error",(e=>{if(f.includes(e.code)){a(Object.assign(e,{name:"TimeoutError"}))}else{a(e)}}));p(v,a,this.config.connectionTimeout);C(v,a,this.config.requestTimeout);if(t){const e=__name((()=>{v.destroy();const e=new Error("Request aborted");e.name="AbortError";a(e)}),"onAbort");if(typeof t.addEventListener==="function"){t.addEventListener("abort",e)}else{t.onabort=e}}const b=Q.agent;if(typeof b==="object"&&"keepAlive"in b){E(v,{keepAlive:b.keepAlive,keepAliveMsecs:b.keepAliveMsecs})}s=writeRequestBody(v,e,this.config.requestTimeout).catch((e=>{clearTimeout(r);return o(e)}))}))}updateHttpClientConfig(e,t){this.config=void 0;this.configProvider=this.configProvider.then((r=>({...r,[e]:t})))}httpHandlerConfigs(){return this.config??{}}};__name(Q,"NodeHttpHandler");var B=Q;var v=r(5158);var b=__toESM(r(5158));var w=class _NodeHttp2ConnectionPool{constructor(e){this.sessions=[];this.sessions=e??[]}poll(){if(this.sessions.length>0){return this.sessions.shift()}}offerLast(e){this.sessions.push(e)}contains(e){return this.sessions.includes(e)}remove(e){this.sessions=this.sessions.filter((t=>t!==e))}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(e){for(const t of this.sessions){if(t===e){if(!t.destroyed){t.destroy()}}}}};__name(w,"NodeHttp2ConnectionPool");var S=w;var R=class _NodeHttp2ConnectionManager{constructor(e){this.sessionCache=new Map;this.config=e;if(this.config.maxConcurrency&&this.config.maxConcurrency<=0){throw new RangeError("maxConcurrency must be greater than zero.")}}lease(e,t){const r=this.getUrlString(e);const n=this.sessionCache.get(r);if(n){const e=n.poll();if(e&&!this.config.disableConcurrency){return e}}const o=b.default.connect(r);if(this.config.maxConcurrency){o.settings({maxConcurrentStreams:this.config.maxConcurrency},(t=>{if(t){throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())}}))}o.unref();const s=__name((()=>{o.destroy();this.deleteSession(r,o)}),"destroySessionCb");o.on("goaway",s);o.on("error",s);o.on("frameError",s);o.on("close",(()=>this.deleteSession(r,o)));if(t.requestTimeout){o.setTimeout(t.requestTimeout,s)}const i=this.sessionCache.get(r)||new S;i.offerLast(o);this.sessionCache.set(r,i);return o}deleteSession(e,t){const r=this.sessionCache.get(e);if(!r){return}if(!r.contains(t)){return}r.remove(t);this.sessionCache.set(e,r)}release(e,t){var r;const n=this.getUrlString(e);(r=this.sessionCache.get(n))==null?void 0:r.offerLast(t)}destroy(){for(const[e,t]of this.sessionCache){for(const e of t){if(!e.destroyed){e.destroy()}t.remove(e)}this.sessionCache.delete(e)}}setMaxConcurrentStreams(e){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0){throw new RangeError("maxConcurrentStreams must be greater than zero.")}this.config.maxConcurrency=e}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}getUrlString(e){return e.destination.toString()}};__name(R,"NodeHttp2ConnectionManager");var D=R;var k=class _NodeHttp2Handler{constructor(e){this.metadata={handlerProtocol:"h2"};this.connectionManager=new D({});this.configProvider=new Promise(((t,r)=>{if(typeof e==="function"){e().then((e=>{t(e||{})})).catch(r)}else{t(e||{})}}))}static create(e){if(typeof(e==null?void 0:e.handle)==="function"){return e}return new _NodeHttp2Handler(e)}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t}={}){if(!this.config){this.config=await this.configProvider;this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||false);if(this.config.maxConcurrentStreams){this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}}const{requestTimeout:r,disableConcurrentStreams:n}=this.config;return new Promise(((o,s)=>{var i;let a=false;let A=void 0;const c=__name((async e=>{await A;o(e)}),"resolve");const d=__name((async e=>{await A;s(e)}),"reject");if(t==null?void 0:t.aborted){a=true;const e=new Error("Request aborted");e.name="AbortError";d(e);return}const{hostname:g,method:f,port:p,protocol:E,query:C}=e;let m="";if(e.username!=null||e.password!=null){const t=e.username??"";const r=e.password??"";m=`${t}:${r}@`}const I=`${E}//${m}${g}${p?`:${p}`:""}`;const y={destination:new URL(I)};const Q=this.connectionManager.lease(y,{requestTimeout:(i=this.config)==null?void 0:i.sessionTimeout,disableConcurrentStreams:n||false});const B=__name((e=>{if(n){this.destroySession(Q)}a=true;d(e)}),"rejectWithDestroy");const b=(0,u.buildQueryString)(C||{});let w=e.path;if(b){w+=`?${b}`}if(e.fragment){w+=`#${e.fragment}`}const S=Q.request({...e.headers,[v.constants.HTTP2_HEADER_PATH]:w,[v.constants.HTTP2_HEADER_METHOD]:f});Q.ref();S.on("response",(e=>{const t=new l.HttpResponse({statusCode:e[":status"]||-1,headers:h(e),body:S});a=true;c({response:t});if(n){Q.close();this.connectionManager.deleteSession(I,Q)}}));if(r){S.setTimeout(r,(()=>{S.close();const e=new Error(`Stream timed out because of no activity for ${r} ms`);e.name="TimeoutError";B(e)}))}if(t){const e=__name((()=>{S.close();const e=new Error("Request aborted");e.name="AbortError";B(e)}),"onAbort");if(typeof t.addEventListener==="function"){t.addEventListener("abort",e)}else{t.onabort=e}}S.on("frameError",((e,t,r)=>{B(new Error(`Frame type id ${e} in stream id ${r} has failed with code ${t}.`))}));S.on("error",B);S.on("aborted",(()=>{B(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${S.rstCode}.`))}));S.on("close",(()=>{Q.unref();if(n){Q.destroy()}if(!a){B(new Error("Unexpected error: http2 request did not get a response"))}}));A=writeRequestBody(S,e,r)}))}updateHttpClientConfig(e,t){this.config=void 0;this.configProvider=this.configProvider.then((r=>({...r,[e]:t})))}httpHandlerConfigs(){return this.config??{}}destroySession(e){if(!e.destroyed){e.destroy()}}};__name(k,"NodeHttp2Handler");var N=k;var F=class _Collector extends m.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(e,t,r){this.bufferedBytes.push(e);r()}};__name(F,"Collector");var T=F;var x=__name((e=>{if(P(e)){return collectReadableStream(e)}return new Promise(((t,r)=>{const n=new T;e.pipe(n);e.on("error",(e=>{n.end();r(e)}));n.on("error",r);n.on("finish",(function(){const e=new Uint8Array(Buffer.concat(this.bufferedBytes));t(e)}))}))}),"streamCollector");var P=__name((e=>typeof ReadableStream==="function"&&e instanceof ReadableStream),"isReadableStreamInstance");async function collectReadableStream(e){const t=[];const r=e.getReader();let n=false;let o=0;while(!n){const{done:e,value:s}=await r.read();if(s){t.push(s);o+=s.length}n=e}const s=new Uint8Array(o);let i=0;for(const e of t){s.set(e,i);i+=e.length}return s}__name(collectReadableStream,"collectReadableStream");0&&0},9721:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{CredentialsProviderError:()=>c,ProviderError:()=>a,TokenProviderError:()=>u,chain:()=>d,fromStatic:()=>g,memoize:()=>f});e.exports=__toCommonJS(s);var i=class _ProviderError extends Error{constructor(e,t=true){var r;let n;let o=true;if(typeof t==="boolean"){n=void 0;o=t}else if(t!=null&&typeof t==="object"){n=t.logger;o=t.tryNextLink??true}super(e);this.name="ProviderError";this.tryNextLink=o;Object.setPrototypeOf(this,_ProviderError.prototype);(r=n==null?void 0:n.debug)==null?void 0:r.call(n,`@smithy/property-provider ${o?"->":"(!)"} ${e}`)}static from(e,t=true){return Object.assign(new this(e.message,t),e)}};__name(i,"ProviderError");var a=i;var A=class _CredentialsProviderError extends a{constructor(e,t=true){super(e,t);this.name="CredentialsProviderError";Object.setPrototypeOf(this,_CredentialsProviderError.prototype)}};__name(A,"CredentialsProviderError");var c=A;var l=class _TokenProviderError extends a{constructor(e,t=true){super(e,t);this.name="TokenProviderError";Object.setPrototypeOf(this,_TokenProviderError.prototype)}};__name(l,"TokenProviderError");var u=l;var d=__name(((...e)=>async()=>{if(e.length===0){throw new a("No providers in chain")}let t;for(const r of e){try{const e=await r();return e}catch(e){t=e;if(e==null?void 0:e.tryNextLink){continue}throw e}}throw t}),"chain");var g=__name((e=>()=>Promise.resolve(e)),"fromStatic");var f=__name(((e,t,r)=>{let n;let o;let s;let i=false;const a=__name((async()=>{if(!o){o=e()}try{n=await o;s=true;i=false}finally{o=void 0}return n}),"coalesceProvider");if(t===void 0){return async e=>{if(!s||(e==null?void 0:e.forceRefresh)){n=await a()}return n}}return async e=>{if(!s||(e==null?void 0:e.forceRefresh)){n=await a()}if(i){return n}if(r&&!r(n)){i=true;return n}if(t(n)){await a();return n}return n}}),"memoize");0&&0},4418:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{Field:()=>d,Fields:()=>f,HttpRequest:()=>p,HttpResponse:()=>C,getHttpHandlerExtensionConfiguration:()=>A,isValidHostname:()=>isValidHostname,resolveHttpHandlerRuntimeConfig:()=>c});e.exports=__toCommonJS(a);var A=__name((e=>{let t=e.httpHandler;return{setHttpHandler(e){t=e},httpHandler(){return t},updateHttpClientConfig(e,r){t.updateHttpClientConfig(e,r)},httpHandlerConfigs(){return t.httpHandlerConfigs()}}}),"getHttpHandlerExtensionConfiguration");var c=__name((e=>({httpHandler:e.httpHandler()})),"resolveHttpHandlerRuntimeConfig");var l=r(5756);var u=class _Field{constructor({name:e,kind:t=l.FieldPosition.HEADER,values:r=[]}){this.name=e;this.kind=t;this.values=r}add(e){this.values.push(e)}set(e){this.values=e}remove(e){this.values=this.values.filter((t=>t!==e))}toString(){return this.values.map((e=>e.includes(",")||e.includes(" ")?`"${e}"`:e)).join(", ")}get(){return this.values}};__name(u,"Field");var d=u;var g=class _Fields{constructor({fields:e=[],encoding:t="utf-8"}){this.entries={};e.forEach(this.setField.bind(this));this.encoding=t}setField(e){this.entries[e.name.toLowerCase()]=e}getField(e){return this.entries[e.toLowerCase()]}removeField(e){delete this.entries[e.toLowerCase()]}getByType(e){return Object.values(this.entries).filter((t=>t.kind===e))}};__name(g,"Fields");var f=g;var h=class _HttpRequest{constructor(e){this.method=e.method||"GET";this.hostname=e.hostname||"localhost";this.port=e.port;this.query=e.query||{};this.headers=e.headers||{};this.body=e.body;this.protocol=e.protocol?e.protocol.slice(-1)!==":"?`${e.protocol}:`:e.protocol:"https:";this.path=e.path?e.path.charAt(0)!=="/"?`/${e.path}`:e.path:"/";this.username=e.username;this.password=e.password;this.fragment=e.fragment}static isInstance(e){if(!e)return false;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t["query"]==="object"&&typeof t["headers"]==="object"}clone(){const e=new _HttpRequest({...this,headers:{...this.headers}});if(e.query)e.query=cloneQuery(e.query);return e}};__name(h,"HttpRequest");var p=h;function cloneQuery(e){return Object.keys(e).reduce(((t,r)=>{const n=e[r];return{...t,[r]:Array.isArray(n)?[...n]:n}}),{})}__name(cloneQuery,"cloneQuery");var E=class _HttpResponse{constructor(e){this.statusCode=e.statusCode;this.reason=e.reason;this.headers=e.headers||{};this.body=e.body}static isInstance(e){if(!e)return false;const t=e;return typeof t.statusCode==="number"&&typeof t.headers==="object"}};__name(E,"HttpResponse");var C=E;function isValidHostname(e){const t=/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/;return t.test(e)}__name(isValidHostname,"isValidHostname");0&&0},8031:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{buildQueryString:()=>buildQueryString});e.exports=__toCommonJS(a);var A=r(4197);function buildQueryString(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];r=(0,A.escapeUri)(r);if(Array.isArray(n)){for(let e=0,o=n.length;e{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{parseQueryString:()=>parseQueryString});e.exports=__toCommonJS(s);function parseQueryString(e){const t={};e=e.replace(/^\?/,"");if(e){for(const r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e);if(n){n=decodeURIComponent(n)}if(!(e in t)){t[e]=n}else if(Array.isArray(t[e])){t[e].push(n)}else{t[e]=[t[e],n]}}}return t}__name(parseQueryString,"parseQueryString");0&&0},6375:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{isClockSkewCorrectedError:()=>g,isClockSkewError:()=>d,isRetryableByTrait:()=>u,isServerError:()=>p,isThrottlingError:()=>f,isTransientError:()=>h});e.exports=__toCommonJS(s);var i=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];var a=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];var A=["TimeoutError","RequestTimeout","RequestTimeoutException"];var c=[500,502,503,504];var l=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"];var u=__name((e=>e.$retryable!==void 0),"isRetryableByTrait");var d=__name((e=>i.includes(e.name)),"isClockSkewError");var g=__name((e=>{var t;return(t=e.$metadata)==null?void 0:t.clockSkewCorrected}),"isClockSkewCorrectedError");var f=__name((e=>{var t,r;return((t=e.$metadata)==null?void 0:t.httpStatusCode)===429||a.includes(e.name)||((r=e.$retryable)==null?void 0:r.throttling)==true}),"isThrottlingError");var h=__name((e=>{var t;return g(e)||A.includes(e.name)||l.includes((e==null?void 0:e.code)||"")||c.includes(((t=e.$metadata)==null?void 0:t.httpStatusCode)||0)}),"isTransientError");var p=__name((e=>{var t;if(((t=e.$metadata)==null?void 0:t.httpStatusCode)!==void 0){const t=e.$metadata.httpStatusCode;if(500<=t&&t<=599&&!h(e)){return true}return false}return false}),"isServerError");0&&0},8340:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getHomeDir=void 0;const n=r(2037);const o=r(1017);const s={};const getHomeDirCacheKey=()=>{if(process&&process.geteuid){return`${process.geteuid()}`}return"DEFAULT"};const getHomeDir=()=>{const{HOME:e,USERPROFILE:t,HOMEPATH:r,HOMEDRIVE:i=`C:${o.sep}`}=process.env;if(e)return e;if(t)return t;if(r)return`${i}${r}`;const a=getHomeDirCacheKey();if(!s[a])s[a]=(0,n.homedir)();return s[a]};t.getHomeDir=getHomeDir},4740:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSSOTokenFilepath=void 0;const n=r(6113);const o=r(1017);const s=r(8340);const getSSOTokenFilepath=e=>{const t=(0,n.createHash)("sha1");const r=t.update(e).digest("hex");return(0,o.join)((0,s.getHomeDir)(),".aws","sso","cache",`${r}.json`)};t.getSSOTokenFilepath=getSSOTokenFilepath},9678:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSSOTokenFromFile=void 0;const n=r(7147);const o=r(4740);const{readFile:s}=n.promises;const getSSOTokenFromFile=async e=>{const t=(0,o.getSSOTokenFilepath)(e);const r=await s(t,"utf8");return JSON.parse(r)};t.getSSOTokenFromFile=getSSOTokenFromFile},3507:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{CONFIG_PREFIX_SEPARATOR:()=>b,DEFAULT_PROFILE:()=>c,ENV_PROFILE:()=>A,getProfileName:()=>l,loadSharedConfigFiles:()=>w,loadSsoSessionData:()=>k,parseKnownFiles:()=>F});e.exports=__toCommonJS(a);__reExport(a,r(8340),e.exports);var A="AWS_PROFILE";var c="default";var l=__name((e=>e.profile||process.env[A]||c),"getProfileName");__reExport(a,r(4740),e.exports);__reExport(a,r(9678),e.exports);var u=r(5756);var d=__name((e=>Object.entries(e).filter((([e])=>{const t=e.indexOf(b);if(t===-1){return false}return Object.values(u.IniSectionType).includes(e.substring(0,t))})).reduce(((e,[t,r])=>{const n=t.indexOf(b);const o=t.substring(0,n)===u.IniSectionType.PROFILE?t.substring(n+1):t;e[o]=r;return e}),{...e.default&&{default:e.default}})),"getConfigData");var g=r(1017);var f=r(8340);var h="AWS_CONFIG_FILE";var p=__name((()=>process.env[h]||(0,g.join)((0,f.getHomeDir)(),".aws","config")),"getConfigFilepath");var E=r(8340);var C="AWS_SHARED_CREDENTIALS_FILE";var m=__name((()=>process.env[C]||(0,g.join)((0,E.getHomeDir)(),".aws","credentials")),"getCredentialsFilepath");var I=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;var y=["__proto__","profile __proto__"];var Q=__name((e=>{const t={};let r;let n;for(const o of e.split(/\r?\n/)){const e=o.split(/(^|\s)[;#]/)[0].trim();const s=e[0]==="["&&e[e.length-1]==="]";if(s){r=void 0;n=void 0;const t=e.substring(1,e.length-1);const o=I.exec(t);if(o){const[,e,,t]=o;if(Object.values(u.IniSectionType).includes(e)){r=[e,t].join(b)}}else{r=t}if(y.includes(t)){throw new Error(`Found invalid profile name "${t}"`)}}else if(r){const s=e.indexOf("=");if(![0,-1].includes(s)){const[i,a]=[e.substring(0,s).trim(),e.substring(s+1).trim()];if(a===""){n=i}else{if(n&&o.trimStart()===o){n=void 0}t[r]=t[r]||{};const e=n?[n,i].join(b):i;t[r][e]=a}}}}return t}),"parseIni");var B=r(9155);var v=__name((()=>({})),"swallowError");var b=".";var w=__name((async(e={})=>{const{filepath:t=m(),configFilepath:r=p()}=e;const n=await Promise.all([(0,B.slurpFile)(r,{ignoreCache:e.ignoreCache}).then(Q).then(d).catch(v),(0,B.slurpFile)(t,{ignoreCache:e.ignoreCache}).then(Q).catch(v)]);return{configFile:n[0],credentialsFile:n[1]}}),"loadSharedConfigFiles");var S=__name((e=>Object.entries(e).filter((([e])=>e.startsWith(u.IniSectionType.SSO_SESSION+b))).reduce(((e,[t,r])=>({...e,[t.substring(t.indexOf(b)+1)]:r})),{})),"getSsoSessionData");var R=r(9155);var D=__name((()=>({})),"swallowError");var k=__name((async(e={})=>(0,R.slurpFile)(e.configFilepath??p()).then(Q).then(S).catch(D)),"loadSsoSessionData");var N=__name(((...e)=>{const t={};for(const r of e){for(const[e,n]of Object.entries(r)){if(t[e]!==void 0){Object.assign(t[e],n)}else{t[e]=n}}}return t}),"mergeConfigFiles");var F=__name((async e=>{const t=await w(e);return N(t.configFile,t.credentialsFile)}),"parseKnownFiles");0&&0},9155:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.slurpFile=void 0;const n=r(7147);const{readFile:o}=n.promises;const s={};const slurpFile=(e,t)=>{if(!s[e]||(t===null||t===void 0?void 0:t.ignoreCache)){s[e]=o(e,"utf8")}return s[e]};t.slurpFile=slurpFile},1528:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{SignatureV4:()=>Ae,clearCredentialCache:()=>L,createScope:()=>U,getCanonicalHeaders:()=>j,getCanonicalQuery:()=>V,getPayloadHash:()=>q,getSigningKey:()=>M,moveHeadersToQuery:()=>ne,prepareRequest:()=>oe});e.exports=__toCommonJS(a);var A=r(2390);var c=r(1895);var l="X-Amz-Algorithm";var u="X-Amz-Credential";var d="X-Amz-Date";var g="X-Amz-SignedHeaders";var f="X-Amz-Expires";var h="X-Amz-Signature";var p="X-Amz-Security-Token";var E="authorization";var C=d.toLowerCase();var m="date";var I=[E,C,m];var y=h.toLowerCase();var Q="x-amz-content-sha256";var B=p.toLowerCase();var v={authorization:true,"cache-control":true,connection:true,expect:true,from:true,"keep-alive":true,"max-forwards":true,pragma:true,referer:true,te:true,trailer:true,"transfer-encoding":true,upgrade:true,"user-agent":true,"x-amzn-trace-id":true};var b=/^proxy-/;var w=/^sec-/;var S="AWS4-HMAC-SHA256";var R="AWS4-HMAC-SHA256-PAYLOAD";var D="UNSIGNED-PAYLOAD";var k=50;var N="aws4_request";var F=60*60*24*7;var T=r(5364);var x=r(1895);var P={};var O=[];var U=__name(((e,t,r)=>`${e}/${t}/${r}/${N}`),"createScope");var M=__name((async(e,t,r,n,o)=>{const s=await H(e,t.secretAccessKey,t.accessKeyId);const i=`${r}:${n}:${o}:${(0,T.toHex)(s)}:${t.sessionToken}`;if(i in P){return P[i]}O.push(i);while(O.length>k){delete P[O.shift()]}let a=`AWS4${t.secretAccessKey}`;for(const t of[r,n,o,N]){a=await H(e,a,t)}return P[i]=a}),"getSigningKey");var L=__name((()=>{O.length=0;Object.keys(P).forEach((e=>{delete P[e]}))}),"clearCredentialCache");var H=__name(((e,t,r)=>{const n=new e(t);n.update((0,x.toUint8Array)(r));return n.digest()}),"hmac");var j=__name((({headers:e},t,r)=>{const n={};for(const o of Object.keys(e).sort()){if(e[o]==void 0){continue}const s=o.toLowerCase();if(s in v||(t==null?void 0:t.has(s))||b.test(s)||w.test(s)){if(!r||r&&!r.has(s)){continue}}n[s]=e[o].trim().replace(/\s+/g," ")}return n}),"getCanonicalHeaders");var G=r(4197);var V=__name((({query:e={}})=>{const t=[];const r={};for(const n of Object.keys(e).sort()){if(n.toLowerCase()===y){continue}t.push(n);const o=e[n];if(typeof o==="string"){r[n]=`${(0,G.escapeUri)(n)}=${(0,G.escapeUri)(o)}`}else if(Array.isArray(o)){r[n]=o.slice(0).reduce(((e,t)=>e.concat([`${(0,G.escapeUri)(n)}=${(0,G.escapeUri)(t)}`])),[]).sort().join("&")}}return t.map((e=>r[e])).filter((e=>e)).join("&")}),"getCanonicalQuery");var Y=r(780);var J=r(1895);var q=__name((async({headers:e,body:t},r)=>{for(const t of Object.keys(e)){if(t.toLowerCase()===Q){return e[t]}}if(t==void 0){return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}else if(typeof t==="string"||ArrayBuffer.isView(t)||(0,Y.isArrayBuffer)(t)){const e=new r;e.update((0,J.toUint8Array)(t));return(0,T.toHex)(await e.digest())}return D}),"getPayloadHash");var $=r(1895);var W=class _HeaderFormatter{format(e){const t=[];for(const r of Object.keys(e)){const n=(0,$.fromUtf8)(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}const r=new Uint8Array(t.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const e of t){r.set(e,n);n+=e.byteLength}return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));t.setUint8(0,3);t.setInt16(1,e.value,false);return new Uint8Array(t.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));r.setUint8(0,4);r.setInt32(1,e.value,false);return new Uint8Array(r.buffer);case"long":const n=new Uint8Array(9);n[0]=5;n.set(e.value.bytes,1);return n;case"binary":const o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6);o.setUint16(1,e.value.byteLength,false);const s=new Uint8Array(o.buffer);s.set(e.value,3);return s;case"string":const i=(0,$.fromUtf8)(e.value);const a=new DataView(new ArrayBuffer(3+i.byteLength));a.setUint8(0,7);a.setUint16(1,i.byteLength,false);const A=new Uint8Array(a.buffer);A.set(i,3);return A;case"timestamp":const c=new Uint8Array(9);c[0]=8;c.set(X.fromNumber(e.value.valueOf()).bytes,1);return c;case"uuid":if(!K.test(e.value)){throw new Error(`Invalid UUID received: ${e.value}`)}const l=new Uint8Array(17);l[0]=9;l.set((0,T.fromHex)(e.value.replace(/\-/g,"")),1);return l}}};__name(W,"HeaderFormatter");var z=W;var K=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var Z=class _Int64{constructor(e){this.bytes=e;if(e.byteLength!==8){throw new Error("Int64 buffers must be exactly 8 bytes")}}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000){throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`)}const t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256){t[r]=n}if(e<0){negate(t)}return new _Int64(t)}valueOf(){const e=this.bytes.slice(0);const t=e[0]&128;if(t){negate(e)}return parseInt((0,T.toHex)(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}};__name(Z,"Int64");var X=Z;function negate(e){for(let t=0;t<8;t++){e[t]^=255}for(let t=7;t>-1;t--){e[t]++;if(e[t]!==0)break}}__name(negate,"negate");var ee=__name(((e,t)=>{e=e.toLowerCase();for(const r of Object.keys(t)){if(e===r.toLowerCase()){return true}}return false}),"hasHeader");var te=__name((({headers:e,query:t,...r})=>({...r,headers:{...e},query:t?re(t):void 0})),"cloneRequest");var re=__name((e=>Object.keys(e).reduce(((t,r)=>{const n=e[r];return{...t,[r]:Array.isArray(n)?[...n]:n}}),{})),"cloneQuery");var ne=__name(((e,t={})=>{var r;const{headers:n,query:o={}}=typeof e.clone==="function"?e.clone():te(e);for(const e of Object.keys(n)){const s=e.toLowerCase();if(s.slice(0,6)==="x-amz-"&&!((r=t.unhoistableHeaders)==null?void 0:r.has(s))){o[e]=n[e];delete n[e]}}return{...e,headers:n,query:o}}),"moveHeadersToQuery");var oe=__name((e=>{e=typeof e.clone==="function"?e.clone():te(e);for(const t of Object.keys(e.headers)){if(I.indexOf(t.toLowerCase())>-1){delete e.headers[t]}}return e}),"prepareRequest");var se=__name((e=>ie(e).toISOString().replace(/\.\d{3}Z$/,"Z")),"iso8601");var ie=__name((e=>{if(typeof e==="number"){return new Date(e*1e3)}if(typeof e==="string"){if(Number(e)){return new Date(Number(e)*1e3)}return new Date(e)}return e}),"toDate");var ae=class _SignatureV4{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:s=true}){this.headerFormatter=new z;this.service=n;this.sha256=o;this.uriEscapePath=s;this.applyChecksum=typeof e==="boolean"?e:true;this.regionProvider=(0,A.normalizeProvider)(r);this.credentialProvider=(0,A.normalizeProvider)(t)}async presign(e,t={}){const{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:o,unhoistableHeaders:s,signableHeaders:i,signingRegion:a,signingService:A}=t;const c=await this.credentialProvider();this.validateResolvedCredentials(c);const E=a??await this.regionProvider();const{longDate:C,shortDate:m}=ce(r);if(n>F){return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")}const I=U(m,E,A??this.service);const y=ne(oe(e),{unhoistableHeaders:s});if(c.sessionToken){y.query[p]=c.sessionToken}y.query[l]=S;y.query[u]=`${c.accessKeyId}/${I}`;y.query[d]=C;y.query[f]=n.toString(10);const Q=j(y,o,i);y.query[g]=le(Q);y.query[h]=await this.getSignature(C,I,this.getSigningKey(c,E,m,A),this.createCanonicalRequest(y,Q,await q(e,this.sha256)));return y}async sign(e,t){if(typeof e==="string"){return this.signString(e,t)}else if(e.headers&&e.payload){return this.signEvent(e,t)}else if(e.message){return this.signMessage(e,t)}else{return this.signRequest(e,t)}}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:o,signingService:s}){const i=o??await this.regionProvider();const{shortDate:a,longDate:A}=ce(r);const c=U(a,i,s??this.service);const l=await q({headers:{},body:t},this.sha256);const u=new this.sha256;u.update(e);const d=(0,T.toHex)(await u.digest());const g=[R,A,c,n,d,l].join("\n");return this.signString(g,{signingDate:r,signingRegion:i,signingService:s})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n}){const o=this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature});return o.then((t=>({message:e.message,signature:t})))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n}={}){const o=await this.credentialProvider();this.validateResolvedCredentials(o);const s=r??await this.regionProvider();const{shortDate:i}=ce(t);const a=new this.sha256(await this.getSigningKey(o,s,i,n));a.update((0,c.toUint8Array)(e));return(0,T.toHex)(await a.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:o,signingService:s}={}){const i=await this.credentialProvider();this.validateResolvedCredentials(i);const a=o??await this.regionProvider();const A=oe(e);const{longDate:c,shortDate:l}=ce(t);const u=U(l,a,s??this.service);A.headers[C]=c;if(i.sessionToken){A.headers[B]=i.sessionToken}const d=await q(A,this.sha256);if(!ee(Q,A.headers)&&this.applyChecksum){A.headers[Q]=d}const g=j(A,n,r);const f=await this.getSignature(c,u,this.getSigningKey(i,a,l,s),this.createCanonicalRequest(A,g,d));A.headers[E]=`${S} Credential=${i.accessKeyId}/${u}, SignedHeaders=${le(g)}, Signature=${f}`;return A}createCanonicalRequest(e,t,r){const n=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${V(e)}\n${n.map((e=>`${e}:${t[e]}`)).join("\n")}\n\n${n.join(";")}\n${r}`}async createStringToSign(e,t,r){const n=new this.sha256;n.update((0,c.toUint8Array)(r));const o=await n.digest();return`${S}\n${e}\n${t}\n${(0,T.toHex)(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const r of e.split("/")){if((r==null?void 0:r.length)===0)continue;if(r===".")continue;if(r===".."){t.pop()}else{t.push(r)}}const r=`${(e==null?void 0:e.startsWith("/"))?"/":""}${t.join("/")}${t.length>0&&(e==null?void 0:e.endsWith("/"))?"/":""}`;const n=(0,G.escapeUri)(r);return n.replace(/%2F/g,"/")}return e}async getSignature(e,t,r,n){const o=await this.createStringToSign(e,t,n);const s=new this.sha256(await r);s.update((0,c.toUint8Array)(o));return(0,T.toHex)(await s.digest())}getSigningKey(e,t,r,n){return M(this.sha256,e,r,t,n||this.service)}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string"){throw new Error("Resolved credential object is not valid")}}};__name(ae,"SignatureV4");var Ae=ae;var ce=__name((e=>{const t=se(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}),"formatDate");var le=__name((e=>Object.keys(e).sort().join(";")),"getCanonicalHeaderList");0&&0},3570:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{Client:()=>d,Command:()=>E,LazyJsonString:()=>Ye,NoOpLogger:()=>c,SENSITIVE_STRING:()=>I,ServiceException:()=>we,StringWrapper:()=>Ge,_json:()=>tt,collectBody:()=>f,convertMap:()=>Je,createAggregatedClient:()=>y,dateToUtcString:()=>dateToUtcString,decorateServiceException:()=>Se,emitWarningIfUnsupportedVersion:()=>Fe,expectBoolean:()=>B,expectByte:()=>N,expectFloat32:()=>w,expectInt:()=>R,expectInt32:()=>D,expectLong:()=>S,expectNonNull:()=>x,expectNumber:()=>v,expectObject:()=>P,expectShort:()=>k,expectString:()=>O,expectUnion:()=>U,extendedEncodeURIComponent:()=>extendedEncodeURIComponent,getArrayIfSingleItem:()=>He,getDefaultClientConfiguration:()=>Me,getDefaultExtensionConfiguration:()=>Ue,getValueFromTextNode:()=>je,handleFloat:()=>Y,limitedParseDouble:()=>V,limitedParseFloat:()=>J,limitedParseFloat32:()=>q,loadConfigsForDefaultMode:()=>Ne,logger:()=>te,map:()=>map,parseBoolean:()=>Q,parseEpochTimestamp:()=>de,parseRfc3339DateTime:()=>se,parseRfc3339DateTimeWithOffset:()=>ae,parseRfc7231DateTime:()=>ue,resolveDefaultRuntimeConfig:()=>Le,resolvedPath:()=>Ze,serializeDateTime:()=>et,serializeFloat:()=>Xe,splitEvery:()=>splitEvery,strictParseByte:()=>X,strictParseDouble:()=>M,strictParseFloat:()=>L,strictParseFloat32:()=>H,strictParseInt:()=>z,strictParseInt32:()=>K,strictParseLong:()=>W,strictParseShort:()=>Z,take:()=>qe,throwDefaultError:()=>Re,withBaseException:()=>De});e.exports=__toCommonJS(a);var A=class _NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}};__name(A,"NoOpLogger");var c=A;var l=r(7911);var u=class _Client{constructor(e){this.middlewareStack=(0,l.constructStack)();this.config=e}send(e,t,r){const n=typeof t!=="function"?t:void 0;const o=typeof t==="function"?t:r;const s=e.resolveMiddleware(this.middlewareStack,this.config,n);if(o){s(e).then((e=>o(null,e.output)),(e=>o(e))).catch((()=>{}))}else{return s(e).then((e=>e.output))}}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}};__name(u,"Client");var d=u;var g=r(6607);var f=__name((async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array){return g.Uint8ArrayBlobAdapter.mutate(e)}if(!e){return g.Uint8ArrayBlobAdapter.mutate(new Uint8Array)}const r=t.streamCollector(e);return g.Uint8ArrayBlobAdapter.mutate(await r)}),"collectBody");var h=r(5756);var p=class _Command{constructor(){this.middlewareStack=(0,l.constructStack)()}static classBuilder(){return new m}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:o,commandName:s,inputFilterSensitiveLog:i,outputFilterSensitiveLog:a,smithyContext:A,additionalContext:c,CommandCtor:l}){for(const o of n.bind(this)(l,e,t,r)){this.middlewareStack.use(o)}const u=e.concat(this.middlewareStack);const{logger:d}=t;const g={logger:d,clientName:o,commandName:s,inputFilterSensitiveLog:i,outputFilterSensitiveLog:a,[h.SMITHY_CONTEXT_KEY]:{...A},...c};const{requestHandler:f}=t;return u.resolve((e=>f.handle(e.request,r||{})),g)}};__name(p,"Command");var E=p;var C=class _ClassBuilder{constructor(){this._init=()=>{};this._ep={};this._middlewareFn=()=>[];this._commandName="";this._clientName="";this._additionalContext={};this._smithyContext={};this._inputFilterSensitiveLog=e=>e;this._outputFilterSensitiveLog=e=>e;this._serializer=null;this._deserializer=null}init(e){this._init=e}ep(e){this._ep=e;return this}m(e){this._middlewareFn=e;return this}s(e,t,r={}){this._smithyContext={service:e,operation:t,...r};return this}c(e={}){this._additionalContext=e;return this}n(e,t){this._clientName=e;this._commandName=t;return this}f(e=(e=>e),t=(e=>e)){this._inputFilterSensitiveLog=e;this._outputFilterSensitiveLog=t;return this}ser(e){this._serializer=e;return this}de(e){this._deserializer=e;return this}build(){var e;const t=this;let r;return r=(e=class extends E{constructor(...[e]){super();this.serialize=t._serializer;this.deserialize=t._deserializer;this.input=e??{};t._init(this)}static getEndpointParameterInstructions(){return t._ep}resolveMiddleware(e,n,o){return this.resolveMiddlewareWithContext(e,n,o,{CommandCtor:r,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog,outputFilterSensitiveLog:t._outputFilterSensitiveLog,smithyContext:t._smithyContext,additionalContext:t._additionalContext})}},__name(e,"CommandRef"),e)}};__name(C,"ClassBuilder");var m=C;var I="***SensitiveInformation***";var y=__name(((e,t)=>{for(const r of Object.keys(e)){const n=e[r];const o=__name((async function(e,t,r){const o=new n(e);if(typeof t==="function"){this.send(o,t)}else if(typeof r==="function"){if(typeof t!=="object")throw new Error(`Expected http options but got ${typeof t}`);this.send(o,t||{},r)}else{return this.send(o,t)}}),"methodImpl");const s=(r[0].toLowerCase()+r.slice(1)).replace(/Command$/,"");t.prototype[s]=o}}),"createAggregatedClient");var Q=__name((e=>{switch(e){case"true":return true;case"false":return false;default:throw new Error(`Unable to parse boolean value "${e}"`)}}),"parseBoolean");var B=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e==="number"){if(e===0||e===1){te.warn(ee(`Expected boolean, got ${typeof e}: ${e}`))}if(e===0){return false}if(e===1){return true}}if(typeof e==="string"){const t=e.toLowerCase();if(t==="false"||t==="true"){te.warn(ee(`Expected boolean, got ${typeof e}: ${e}`))}if(t==="false"){return false}if(t==="true"){return true}}if(typeof e==="boolean"){return e}throw new TypeError(`Expected boolean, got ${typeof e}: ${e}`)}),"expectBoolean");var v=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e==="string"){const t=parseFloat(e);if(!Number.isNaN(t)){if(String(t)!==String(e)){te.warn(ee(`Expected number but observed string: ${e}`))}return t}}if(typeof e==="number"){return e}throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}),"expectNumber");var b=Math.ceil(2**127*(2-2**-23));var w=__name((e=>{const t=v(e);if(t!==void 0&&!Number.isNaN(t)&&t!==Infinity&&t!==-Infinity){if(Math.abs(t)>b){throw new TypeError(`Expected 32-bit float, got ${e}`)}}return t}),"expectFloat32");var S=__name((e=>{if(e===null||e===void 0){return void 0}if(Number.isInteger(e)&&!Number.isNaN(e)){return e}throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}),"expectLong");var R=S;var D=__name((e=>F(e,32)),"expectInt32");var k=__name((e=>F(e,16)),"expectShort");var N=__name((e=>F(e,8)),"expectByte");var F=__name(((e,t)=>{const r=S(e);if(r!==void 0&&T(r,t)!==r){throw new TypeError(`Expected ${t}-bit integer, got ${e}`)}return r}),"expectSizedInt");var T=__name(((e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}}),"castInt");var x=__name(((e,t)=>{if(e===null||e===void 0){if(t){throw new TypeError(`Expected a non-null value for ${t}`)}throw new TypeError("Expected a non-null value")}return e}),"expectNonNull");var P=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e==="object"&&!Array.isArray(e)){return e}const t=Array.isArray(e)?"array":typeof e;throw new TypeError(`Expected object, got ${t}: ${e}`)}),"expectObject");var O=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e==="string"){return e}if(["boolean","number","bigint"].includes(typeof e)){te.warn(ee(`Expected string, got ${typeof e}: ${e}`));return String(e)}throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}),"expectString");var U=__name((e=>{if(e===null||e===void 0){return void 0}const t=P(e);const r=Object.entries(t).filter((([,e])=>e!=null)).map((([e])=>e));if(r.length===0){throw new TypeError(`Unions must have exactly one non-null member. None were found.`)}if(r.length>1){throw new TypeError(`Unions must have exactly one non-null member. Keys ${r} were not null.`)}return t}),"expectUnion");var M=__name((e=>{if(typeof e=="string"){return v(G(e))}return v(e)}),"strictParseDouble");var L=M;var H=__name((e=>{if(typeof e=="string"){return w(G(e))}return w(e)}),"strictParseFloat32");var j=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g;var G=__name((e=>{const t=e.match(j);if(t===null||t[0].length!==e.length){throw new TypeError(`Expected real number, got implicit NaN`)}return parseFloat(e)}),"parseNumber");var V=__name((e=>{if(typeof e=="string"){return $(e)}return v(e)}),"limitedParseDouble");var Y=V;var J=V;var q=__name((e=>{if(typeof e=="string"){return $(e)}return w(e)}),"limitedParseFloat32");var $=__name((e=>{switch(e){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return-Infinity;default:throw new Error(`Unable to parse float value: ${e}`)}}),"parseFloatString");var W=__name((e=>{if(typeof e==="string"){return S(G(e))}return S(e)}),"strictParseLong");var z=W;var K=__name((e=>{if(typeof e==="string"){return D(G(e))}return D(e)}),"strictParseInt32");var Z=__name((e=>{if(typeof e==="string"){return k(G(e))}return k(e)}),"strictParseShort");var X=__name((e=>{if(typeof e==="string"){return N(G(e))}return N(e)}),"strictParseByte");var ee=__name((e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((e=>!e.includes("stackTraceWarning"))).join("\n")),"stackTraceWarning");var te={warn:console.warn};var re=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var ne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dateToUtcString(e){const t=e.getUTCFullYear();const r=e.getUTCMonth();const n=e.getUTCDay();const o=e.getUTCDate();const s=e.getUTCHours();const i=e.getUTCMinutes();const a=e.getUTCSeconds();const A=o<10?`0${o}`:`${o}`;const c=s<10?`0${s}`:`${s}`;const l=i<10?`0${i}`:`${i}`;const u=a<10?`0${a}`:`${a}`;return`${re[n]}, ${A} ${ne[r]} ${t} ${c}:${l}:${u} GMT`}__name(dateToUtcString,"dateToUtcString");var oe=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);var se=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const t=oe.exec(e);if(!t){throw new TypeError("Invalid RFC-3339 date-time value")}const[r,n,o,s,i,a,A,c]=t;const l=Z(ve(n));const u=ye(o,"month",1,12);const d=ye(s,"day",1,31);return ge(l,u,d,{hours:i,minutes:a,seconds:A,fractionalMilliseconds:c})}),"parseRfc3339DateTime");var ie=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/);var ae=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const t=ie.exec(e);if(!t){throw new TypeError("Invalid RFC-3339 date-time value")}const[r,n,o,s,i,a,A,c,l]=t;const u=Z(ve(n));const d=ye(o,"month",1,12);const g=ye(s,"day",1,31);const f=ge(u,d,g,{hours:i,minutes:a,seconds:A,fractionalMilliseconds:c});if(l.toUpperCase()!="Z"){f.setTime(f.getTime()-Be(l))}return f}),"parseRfc3339DateTimeWithOffset");var Ae=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);var ce=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);var le=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/);var ue=__name((e=>{if(e===null||e===void 0){return void 0}if(typeof e!=="string"){throw new TypeError("RFC-7231 date-times must be expressed as strings")}let t=Ae.exec(e);if(t){const[e,r,n,o,s,i,a,A]=t;return ge(Z(ve(o)),Ee(n),ye(r,"day",1,31),{hours:s,minutes:i,seconds:a,fractionalMilliseconds:A})}t=ce.exec(e);if(t){const[e,r,n,o,s,i,a,A]=t;return pe(ge(fe(o),Ee(n),ye(r,"day",1,31),{hours:s,minutes:i,seconds:a,fractionalMilliseconds:A}))}t=le.exec(e);if(t){const[e,r,n,o,s,i,a,A]=t;return ge(Z(ve(A)),Ee(r),ye(n.trimLeft(),"day",1,31),{hours:o,minutes:s,seconds:i,fractionalMilliseconds:a})}throw new TypeError("Invalid RFC-7231 date-time value")}),"parseRfc7231DateTime");var de=__name((e=>{if(e===null||e===void 0){return void 0}let t;if(typeof e==="number"){t=e}else if(typeof e==="string"){t=M(e)}else{throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation")}if(Number.isNaN(t)||t===Infinity||t===-Infinity){throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics")}return new Date(Math.round(t*1e3))}),"parseEpochTimestamp");var ge=__name(((e,t,r,n)=>{const o=t-1;me(e,o,r);return new Date(Date.UTC(e,o,r,ye(n.hours,"hour",0,23),ye(n.minutes,"minute",0,59),ye(n.seconds,"seconds",0,60),Qe(n.fractionalMilliseconds)))}),"buildDate");var fe=__name((e=>{const t=(new Date).getUTCFullYear();const r=Math.floor(t/100)*100+Z(ve(e));if(r{if(e.getTime()-(new Date).getTime()>he){return new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()))}return e}),"adjustRfc850Year");var Ee=__name((e=>{const t=ne.indexOf(e);if(t<0){throw new TypeError(`Invalid month: ${e}`)}return t+1}),"parseMonthByShortName");var Ce=[31,28,31,30,31,30,31,31,30,31,30,31];var me=__name(((e,t,r)=>{let n=Ce[t];if(t===1&&Ie(e)){n=29}if(r>n){throw new TypeError(`Invalid day for ${ne[t]} in ${e}: ${r}`)}}),"validateDayOfMonth");var Ie=__name((e=>e%4===0&&(e%100!==0||e%400===0)),"isLeapYear");var ye=__name(((e,t,r,n)=>{const o=X(ve(e));if(on){throw new TypeError(`${t} must be between ${r} and ${n}, inclusive`)}return o}),"parseDateValue");var Qe=__name((e=>{if(e===null||e===void 0){return 0}return H("0."+e)*1e3}),"parseMilliseconds");var Be=__name((e=>{const t=e[0];let r=1;if(t=="+"){r=1}else if(t=="-"){r=-1}else{throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`)}const n=Number(e.substring(1,3));const o=Number(e.substring(4,6));return r*(n*60+o)*60*1e3}),"parseOffsetToMilliseconds");var ve=__name((e=>{let t=0;while(t{Object.entries(t).filter((([,e])=>e!==void 0)).forEach((([t,r])=>{if(e[t]==void 0||e[t]===""){e[t]=r}}));const r=e.message||e.Message||"UnknownError";e.message=r;delete e.Message;return e}),"decorateServiceException");var Re=__name((({output:e,parsedBody:t,exceptionCtor:r,errorCode:n})=>{const o=ke(e);const s=o.httpStatusCode?o.httpStatusCode+"":void 0;const i=new r({name:(t==null?void 0:t.code)||(t==null?void 0:t.Code)||n||s||"UnknownError",$fault:"client",$metadata:o});throw Se(i,t)}),"throwDefaultError");var De=__name((e=>({output:t,parsedBody:r,errorCode:n})=>{Re({output:t,parsedBody:r,exceptionCtor:e,errorCode:n})}),"withBaseException");var ke=__name((e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]})),"deserializeMetadata");var Ne=__name((e=>{switch(e){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}}),"loadConfigsForDefaultMode");var _e=false;var Fe=__name((e=>{if(e&&!_e&&parseInt(e.substring(1,e.indexOf(".")))<16){_e=true}}),"emitWarningIfUnsupportedVersion");var Te=__name((e=>{const t=[];for(const r in h.AlgorithmId){const n=h.AlgorithmId[r];if(e[n]===void 0){continue}t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(e){this._checksumAlgorithms.push(e)},checksumAlgorithms(){return this._checksumAlgorithms}}}),"getChecksumConfiguration");var xe=__name((e=>{const t={};e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()}));return t}),"resolveChecksumRuntimeConfig");var Pe=__name((e=>{let t=e.retryStrategy;return{setRetryStrategy(e){t=e},retryStrategy(){return t}}}),"getRetryConfiguration");var Oe=__name((e=>{const t={};t.retryStrategy=e.retryStrategy();return t}),"resolveRetryRuntimeConfig");var Ue=__name((e=>({...Te(e),...Pe(e)})),"getDefaultExtensionConfiguration");var Me=Ue;var Le=__name((e=>({...xe(e),...Oe(e)})),"resolveDefaultRuntimeConfig");function extendedEncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}__name(extendedEncodeURIComponent,"extendedEncodeURIComponent");var He=__name((e=>Array.isArray(e)?e:[e]),"getArrayIfSingleItem");var je=__name((e=>{const t="#text";for(const r in e){if(e.hasOwnProperty(r)&&e[r][t]!==void 0){e[r]=e[r][t]}else if(typeof e[r]==="object"&&e[r]!==null){e[r]=je(e[r])}}return e}),"getValueFromTextNode");var Ge=__name((function(){const e=Object.getPrototypeOf(this).constructor;const t=Function.bind.apply(String,[null,...arguments]);const r=new t;Object.setPrototypeOf(r,e.prototype);return r}),"StringWrapper");Ge.prototype=Object.create(String.prototype,{constructor:{value:Ge,enumerable:false,writable:true,configurable:true}});Object.setPrototypeOf(Ge,String);var Ve=class _LazyJsonString extends Ge{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(e){if(e instanceof _LazyJsonString){return e}else if(e instanceof String||typeof e==="string"){return new _LazyJsonString(e)}return new _LazyJsonString(JSON.stringify(e))}};__name(Ve,"LazyJsonString");var Ye=Ve;function map(e,t,r){let n;let o;let s;if(typeof t==="undefined"&&typeof r==="undefined"){n={};s=e}else{n=e;if(typeof t==="function"){o=t;s=r;return $e(n,o,s)}else{s=t}}for(const e of Object.keys(s)){if(!Array.isArray(s[e])){n[e]=s[e];continue}We(n,null,s,e)}return n}__name(map,"map");var Je=__name((e=>{const t={};for(const[r,n]of Object.entries(e||{})){t[r]=[,n]}return t}),"convertMap");var qe=__name(((e,t)=>{const r={};for(const n in t){We(r,e,t,n)}return r}),"take");var $e=__name(((e,t,r)=>map(e,Object.entries(r).reduce(((e,[r,n])=>{if(Array.isArray(n)){e[r]=n}else{if(typeof n==="function"){e[r]=[t,n()]}else{e[r]=[t,n]}}return e}),{}))),"mapWithFilter");var We=__name(((e,t,r,n)=>{if(t!==null){let o=r[n];if(typeof o==="function"){o=[,o]}const[s=ze,i=Ke,a=n]=o;if(typeof s==="function"&&s(t[a])||typeof s!=="function"&&!!s){e[n]=i(t[a])}return}let[o,s]=r[n];if(typeof s==="function"){let t;const r=o===void 0&&(t=s())!=null;const i=typeof o==="function"&&!!o(void 0)||typeof o!=="function"&&!!o;if(r){e[n]=t}else if(i){e[n]=s()}}else{const t=o===void 0&&s!=null;const r=typeof o==="function"&&!!o(s)||typeof o!=="function"&&!!o;if(t||r){e[n]=s}}}),"applyInstruction");var ze=__name((e=>e!=null),"nonNullish");var Ke=__name((e=>e),"pass");var Ze=__name(((e,t,r,n,o,s)=>{if(t!=null&&t[r]!==void 0){const t=n();if(t.length<=0){throw new Error("Empty value provided for input HTTP label: "+r+".")}e=e.replace(o,s?t.split("/").map((e=>extendedEncodeURIComponent(e))).join("/"):extendedEncodeURIComponent(t))}else{throw new Error("No value provided for input HTTP label: "+r+".")}return e}),"resolvedPath");var Xe=__name((e=>{if(e!==e){return"NaN"}switch(e){case Infinity:return"Infinity";case-Infinity:return"-Infinity";default:return e}}),"serializeFloat");var et=__name((e=>e.toISOString().replace(".000Z","Z")),"serializeDateTime");var tt=__name((e=>{if(e==null){return{}}if(Array.isArray(e)){return e.filter((e=>e!=null)).map(tt)}if(typeof e==="object"){const t={};for(const r of Object.keys(e)){if(e[r]==null){continue}t[r]=tt(e[r])}return t}return e}),"_json");function splitEvery(e,t,r){if(r<=0||!Number.isInteger(r)){throw new Error("Invalid number of delimiters ("+r+") for splitEvery.")}const n=e.split(t);if(r===1){return n}const o=[];let s="";for(let e=0;e{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{AlgorithmId:()=>c,EndpointURLScheme:()=>A,FieldPosition:()=>f,HttpApiKeyAuthLocation:()=>a,HttpAuthLocation:()=>i,IniSectionType:()=>p,RequestHandlerProtocol:()=>E,SMITHY_CONTEXT_KEY:()=>h,getDefaultClientConfiguration:()=>d,resolveDefaultRuntimeConfig:()=>g});e.exports=__toCommonJS(s);var i=(e=>{e["HEADER"]="header";e["QUERY"]="query";return e})(i||{});var a=(e=>{e["HEADER"]="header";e["QUERY"]="query";return e})(a||{});var A=(e=>{e["HTTP"]="http";e["HTTPS"]="https";return e})(A||{});var c=(e=>{e["MD5"]="md5";e["CRC32"]="crc32";e["CRC32C"]="crc32c";e["SHA1"]="sha1";e["SHA256"]="sha256";return e})(c||{});var l=__name((e=>{const t=[];if(e.sha256!==void 0){t.push({algorithmId:()=>"sha256",checksumConstructor:()=>e.sha256})}if(e.md5!=void 0){t.push({algorithmId:()=>"md5",checksumConstructor:()=>e.md5})}return{_checksumAlgorithms:t,addChecksumAlgorithm(e){this._checksumAlgorithms.push(e)},checksumAlgorithms(){return this._checksumAlgorithms}}}),"getChecksumConfiguration");var u=__name((e=>{const t={};e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()}));return t}),"resolveChecksumRuntimeConfig");var d=__name((e=>({...l(e)})),"getDefaultClientConfiguration");var g=__name((e=>({...u(e)})),"resolveDefaultRuntimeConfig");var f=(e=>{e[e["HEADER"]=0]="HEADER";e[e["TRAILER"]=1]="TRAILER";return e})(f||{});var h="__smithy_context";var p=(e=>{e["PROFILE"]="profile";e["SSO_SESSION"]="sso-session";e["SERVICES"]="services";return e})(p||{});var E=(e=>{e["HTTP_0_9"]="http/0.9";e["HTTP_1_0"]="http/1.0";e["TDS_8_0"]="tds/8.0";return e})(E||{});0&&0},4681:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{parseUrl:()=>c});e.exports=__toCommonJS(a);var A=r(4769);var c=__name((e=>{if(typeof e==="string"){return c(new URL(e))}const{hostname:t,pathname:r,port:n,protocol:o,search:s}=e;let i;if(s){i=(0,A.parseQueryString)(s)}return{hostname:t,port:n?parseInt(n):void 0,protocol:o,path:r,query:i}}),"parseUrl");0&&0},305:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.fromBase64=void 0;const n=r(1381);const o=/^[A-Za-z0-9+/]*={0,2}$/;const fromBase64=e=>{if(e.length*3%4!==0){throw new TypeError(`Incorrect padding on base64 string.`)}if(!o.exec(e)){throw new TypeError(`Invalid base64 string.`)}const t=(0,n.fromString)(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};t.fromBase64=fromBase64},5600:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};e.exports=__toCommonJS(a);__reExport(a,r(305),e.exports);__reExport(a,r(4730),e.exports);0&&0},4730:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.toBase64=void 0;const n=r(1381);const o=r(1895);const toBase64=e=>{let t;if(typeof e==="string"){t=(0,o.fromUtf8)(e)}else{t=e}if(typeof t!=="object"||typeof t.byteOffset!=="number"||typeof t.byteLength!=="number"){throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.")}return(0,n.fromArrayBuffer)(t.buffer,t.byteOffset,t.byteLength).toString("base64")};t.toBase64=toBase64},8075:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{calculateBodyLength:()=>c});e.exports=__toCommonJS(a);var A=r(7147);var c=__name((e=>{if(!e){return 0}if(typeof e==="string"){return Buffer.byteLength(e)}else if(typeof e.byteLength==="number"){return e.byteLength}else if(typeof e.size==="number"){return e.size}else if(typeof e.start==="number"&&typeof e.end==="number"){return e.end+1-e.start}else if(typeof e.path==="string"||Buffer.isBuffer(e.path)){return(0,A.lstatSync)(e.path).size}else if(typeof e.fd==="number"){return(0,A.fstatSync)(e.fd).size}throw new Error(`Body Length computation failed for ${e}`)}),"calculateBodyLength");0&&0},1381:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{fromArrayBuffer:()=>l,fromString:()=>u});e.exports=__toCommonJS(a);var A=r(780);var c=r(4300);var l=__name(((e,t=0,r=e.byteLength-t)=>{if(!(0,A.isArrayBuffer)(e)){throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`)}return c.Buffer.from(e,t,r)}),"fromArrayBuffer");var u=__name(((e,t)=>{if(typeof e!=="string"){throw new TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`)}return t?c.Buffer.from(e,t):c.Buffer.from(e)}),"fromString");0&&0},3375:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{SelectorType:()=>A,booleanSelector:()=>i,numberSelector:()=>a});e.exports=__toCommonJS(s);var i=__name(((e,t,r)=>{if(!(t in e))return void 0;if(e[t]==="true")return true;if(e[t]==="false")return false;throw new Error(`Cannot load ${r} "${t}". Expected "true" or "false", got ${e[t]}.`)}),"booleanSelector");var a=__name(((e,t,r)=>{if(!(t in e))return void 0;const n=parseInt(e[t],10);if(Number.isNaN(n)){throw new TypeError(`Cannot load ${r} '${t}'. Expected number, got '${e[t]}'.`)}return n}),"numberSelector");var A=(e=>{e["ENV"]="env";e["CONFIG"]="shared config entry";return e})(A||{});0&&0},2429:(e,t,r)=>{var n=Object.create;var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __name=(e,t)=>o(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)o(e,a,{get:()=>t[a],enumerable:!(n=s(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{resolveDefaultsModeConfig:()=>Q});e.exports=__toCommonJS(c);var l=r(3098);var u=r(3461);var d=r(9721);var g="AWS_EXECUTION_ENV";var f="AWS_REGION";var h="AWS_DEFAULT_REGION";var p="AWS_EC2_METADATA_DISABLED";var E=["in-region","cross-region","mobile","standard","legacy"];var C="/latest/meta-data/placement/region";var m="AWS_DEFAULTS_MODE";var I="defaults_mode";var y={environmentVariableSelector:e=>e[m],configFileSelector:e=>e[I],default:"legacy"};var Q=__name((({region:e=(0,u.loadConfig)(l.NODE_REGION_CONFIG_OPTIONS),defaultsMode:t=(0,u.loadConfig)(y)}={})=>(0,d.memoize)((async()=>{const r=typeof t==="function"?await t():t;switch(r==null?void 0:r.toLowerCase()){case"auto":return B(e);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(r==null?void 0:r.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${E.join(", ")}, got ${r}`)}}))),"resolveDefaultsModeConfig");var B=__name((async e=>{if(e){const t=typeof e==="function"?await e():e;const r=await v();if(!r){return"standard"}if(t===r){return"in-region"}else{return"cross-region"}}return"standard"}),"resolveNodeDefaultsModeAuto");var v=__name((async()=>{if(process.env[g]&&(process.env[f]||process.env[h])){return process.env[f]??process.env[h]}if(!process.env[p]){try{const{getInstanceMetadataEndpoint:e,httpRequest:t}=await Promise.resolve().then((()=>__toESM(r(7477))));const n=await e();return(await t({...n,path:C})).toString()}catch(e){}}}),"inferPhysicalRegion");0&&0},5473:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{EndpointError:()=>h,customEndpointFunctions:()=>d,isIpAddress:()=>c,isValidHostLabel:()=>u,resolveEndpoint:()=>G});e.exports=__toCommonJS(a);var A=new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);var c=__name((e=>A.test(e)||e.startsWith("[")&&e.endsWith("]")),"isIpAddress");var l=new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);var u=__name(((e,t=false)=>{if(!t){return l.test(e)}const r=e.split(".");for(const e of r){if(!u(e)){return false}}return true}),"isValidHostLabel");var d={};var g="endpoints";function toDebugString(e){if(typeof e!=="object"||e==null){return e}if("ref"in e){return`$${toDebugString(e.ref)}`}if("fn"in e){return`${e.fn}(${(e.argv||[]).map(toDebugString).join(", ")})`}return JSON.stringify(e,null,2)}__name(toDebugString,"toDebugString");var f=class _EndpointError extends Error{constructor(e){super(e);this.name="EndpointError"}};__name(f,"EndpointError");var h=f;var p=__name(((e,t)=>e===t),"booleanEquals");var E=__name((e=>{const t=e.split(".");const r=[];for(const n of t){const t=n.indexOf("[");if(t!==-1){if(n.indexOf("]")!==n.length-1){throw new h(`Path: '${e}' does not end with ']'`)}const o=n.slice(t+1,-1);if(Number.isNaN(parseInt(o))){throw new h(`Invalid array index: '${o}' in path: '${e}'`)}if(t!==0){r.push(n.slice(0,t))}r.push(o)}else{r.push(n)}}return r}),"getAttrPathList");var C=__name(((e,t)=>E(t).reduce(((r,n)=>{if(typeof r!=="object"){throw new h(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`)}else if(Array.isArray(r)){return r[parseInt(n)]}return r[n]}),e)),"getAttr");var m=__name((e=>e!=null),"isSet");var I=__name((e=>!e),"not");var y=r(5756);var Q={[y.EndpointURLScheme.HTTP]:80,[y.EndpointURLScheme.HTTPS]:443};var B=__name((e=>{const t=(()=>{try{if(e instanceof URL){return e}if(typeof e==="object"&&"hostname"in e){const{hostname:t,port:r,protocol:n="",path:o="",query:s={}}=e;const i=new URL(`${n}//${t}${r?`:${r}`:""}${o}`);i.search=Object.entries(s).map((([e,t])=>`${e}=${t}`)).join("&");return i}return new URL(e)}catch(e){return null}})();if(!t){console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`);return null}const r=t.href;const{host:n,hostname:o,pathname:s,protocol:i,search:a}=t;if(a){return null}const A=i.slice(0,-1);if(!Object.values(y.EndpointURLScheme).includes(A)){return null}const l=c(o);const u=r.includes(`${n}:${Q[A]}`)||typeof e==="string"&&e.includes(`${n}:${Q[A]}`);const d=`${n}${u?`:${Q[A]}`:``}`;return{scheme:A,authority:d,path:s,normalizedPath:s.endsWith("/")?s:`${s}/`,isIp:l}}),"parseURL");var v=__name(((e,t)=>e===t),"stringEquals");var b=__name(((e,t,r,n)=>{if(t>=r||e.lengthencodeURIComponent(e).replace(/[!*'()]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))),"uriEncode");var S={booleanEquals:p,getAttr:C,isSet:m,isValidHostLabel:u,not:I,parseURL:B,stringEquals:v,substring:b,uriEncode:w};var R=__name(((e,t)=>{const r=[];const n={...t.endpointParams,...t.referenceRecord};let o=0;while(o{const r={...t.endpointParams,...t.referenceRecord};return r[e]}),"getReferenceValue");var k=__name(((e,t,r)=>{if(typeof e==="string"){return R(e,r)}else if(e["fn"]){return N(e,r)}else if(e["ref"]){return D(e,r)}throw new h(`'${t}': ${String(e)} is not a string, function or reference.`)}),"evaluateExpression");var N=__name((({fn:e,argv:t},r)=>{const n=t.map((e=>["boolean","number"].includes(typeof e)?e:k(e,"arg",r)));const o=e.split(".");if(o[0]in d&&o[1]!=null){return d[o[0]][o[1]](...n)}return S[e](...n)}),"callFunction");var F=__name((({assign:e,...t},r)=>{var n,o;if(e&&e in r.referenceRecord){throw new h(`'${e}' is already defined in Reference Record.`)}const s=N(t,r);(o=(n=r.logger)==null?void 0:n.debug)==null?void 0:o.call(n,`${g} evaluateCondition: ${toDebugString(t)} = ${toDebugString(s)}`);return{result:s===""?true:!!s,...e!=null&&{toAssign:{name:e,value:s}}}}),"evaluateCondition");var T=__name(((e=[],t)=>{var r,n;const o={};for(const s of e){const{result:e,toAssign:i}=F(s,{...t,referenceRecord:{...t.referenceRecord,...o}});if(!e){return{result:e}}if(i){o[i.name]=i.value;(n=(r=t.logger)==null?void 0:r.debug)==null?void 0:n.call(r,`${g} assign: ${i.name} := ${toDebugString(i.value)}`)}}return{result:true,referenceRecord:o}}),"evaluateConditions");var x=__name(((e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:n.map((e=>{const n=k(e,"Header value entry",t);if(typeof n!=="string"){throw new h(`Header '${r}' value '${n}' is not a string`)}return n}))})),{})),"getEndpointHeaders");var P=__name(((e,t)=>{if(Array.isArray(e)){return e.map((e=>P(e,t)))}switch(typeof e){case"string":return R(e,t);case"object":if(e===null){throw new h(`Unexpected endpoint property: ${e}`)}return O(e,t);case"boolean":return e;default:throw new h(`Unexpected endpoint property type: ${typeof e}`)}}),"getEndpointProperty");var O=__name(((e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:P(n,t)})),{})),"getEndpointProperties");var U=__name(((e,t)=>{const r=k(e,"Endpoint URL",t);if(typeof r==="string"){try{return new URL(r)}catch(e){console.error(`Failed to construct URL with ${r}`,e);throw e}}throw new h(`Endpoint URL must be a string, got ${typeof r}`)}),"getEndpointUrl");var M=__name(((e,t)=>{var r,n;const{conditions:o,endpoint:s}=e;const{result:i,referenceRecord:a}=T(o,t);if(!i){return}const A={...t,referenceRecord:{...t.referenceRecord,...a}};const{url:c,properties:l,headers:u}=s;(n=(r=t.logger)==null?void 0:r.debug)==null?void 0:n.call(r,`${g} Resolving endpoint from template: ${toDebugString(s)}`);return{...u!=void 0&&{headers:x(u,A)},...l!=void 0&&{properties:O(l,A)},url:U(c,A)}}),"evaluateEndpointRule");var L=__name(((e,t)=>{const{conditions:r,error:n}=e;const{result:o,referenceRecord:s}=T(r,t);if(!o){return}throw new h(k(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...s}}))}),"evaluateErrorRule");var H=__name(((e,t)=>{const{conditions:r,rules:n}=e;const{result:o,referenceRecord:s}=T(r,t);if(!o){return}return j(n,{...t,referenceRecord:{...t.referenceRecord,...s}})}),"evaluateTreeRule");var j=__name(((e,t)=>{for(const r of e){if(r.type==="endpoint"){const e=M(r,t);if(e){return e}}else if(r.type==="error"){L(r,t)}else if(r.type==="tree"){const e=H(r,t);if(e){return e}}else{throw new h(`Unknown endpoint rule: ${r}`)}}throw new h(`Rules evaluation failed`)}),"evaluateRules");var G=__name(((e,t)=>{var r,n,o,s,i;const{endpointParams:a,logger:A}=t;const{parameters:c,rules:l}=e;(n=(r=t.logger)==null?void 0:r.debug)==null?void 0:n.call(r,`${g} Initial EndpointParams: ${toDebugString(a)}`);const u=Object.entries(c).filter((([,e])=>e.default!=null)).map((([e,t])=>[e,t.default]));if(u.length>0){for(const[e,t]of u){a[e]=a[e]??t}}const d=Object.entries(c).filter((([,e])=>e.required)).map((([e])=>e));for(const e of d){if(a[e]==null){throw new h(`Missing required parameter: '${e}'`)}}const f=j(l,{endpointParams:a,logger:A,referenceRecord:{}});if((o=t.endpointParams)==null?void 0:o.Endpoint){try{const e=new URL(t.endpointParams.Endpoint);const{protocol:r,port:n}=e;f.url.protocol=r;f.url.port=n}catch(e){}}(i=(s=t.logger)==null?void 0:s.debug)==null?void 0:i.call(s,`${g} Resolved endpoint: ${toDebugString(f)}`);return f}),"resolveEndpoint");0&&0},5364:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{fromHex:()=>fromHex,toHex:()=>toHex});e.exports=__toCommonJS(s);var i={};var a={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();if(t.length===1){t=`0${t}`}i[e]=t;a[t]=e}function fromHex(e){if(e.length%2!==0){throw new Error("Hex encoded strings must have an even number length")}const t=new Uint8Array(e.length/2);for(let r=0;r{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{getSmithyContext:()=>c,normalizeProvider:()=>l});e.exports=__toCommonJS(a);var A=r(5756);var c=__name((e=>e[A.SMITHY_CONTEXT_KEY]||(e[A.SMITHY_CONTEXT_KEY]={})),"getSmithyContext");var l=__name((e=>{if(typeof e==="function")return e;const t=Promise.resolve(e);return()=>t}),"normalizeProvider");0&&0},4902:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{AdaptiveRetryStrategy:()=>R,ConfiguredRetryStrategy:()=>k,DEFAULT_MAX_ATTEMPTS:()=>c,DEFAULT_RETRY_DELAY_BASE:()=>f,DEFAULT_RETRY_MODE:()=>l,DefaultRateLimiter:()=>g,INITIAL_RETRY_TOKENS:()=>E,INVOCATION_ID_HEADER:()=>y,MAXIMUM_RETRY_DELAY:()=>h,NO_RETRY_INCREMENT:()=>I,REQUEST_HEADER:()=>Q,RETRY_COST:()=>C,RETRY_MODES:()=>A,StandardRetryStrategy:()=>w,THROTTLING_RETRY_DELAY_BASE:()=>p,TIMEOUT_RETRY_COST:()=>m});e.exports=__toCommonJS(a);var A=(e=>{e["STANDARD"]="standard";e["ADAPTIVE"]="adaptive";return e})(A||{});var c=3;var l="standard";var u=r(6375);var d=class _DefaultRateLimiter{constructor(e){this.currentCapacity=0;this.enabled=false;this.lastMaxRate=0;this.measuredTxRate=0;this.requestCount=0;this.lastTimestamp=0;this.timeWindow=0;this.beta=(e==null?void 0:e.beta)??.7;this.minCapacity=(e==null?void 0:e.minCapacity)??1;this.minFillRate=(e==null?void 0:e.minFillRate)??.5;this.scaleConstant=(e==null?void 0:e.scaleConstant)??.4;this.smooth=(e==null?void 0:e.smooth)??.8;const t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t;this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds());this.fillRate=this.minFillRate;this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(!this.enabled){return}this.refillTokenBucket();if(e>this.currentCapacity){const t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise((e=>setTimeout(e,t)))}this.currentCapacity=this.currentCapacity-e}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}const t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t);this.lastTimestamp=e}updateClientSendingRate(e){let t;this.updateMeasuredRate();if((0,u.isThrottlingError)(e)){const e=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=e;this.calculateTimeWindow();this.lastThrottleTime=this.getCurrentTimeInSeconds();t=this.cubicThrottle(e);this.enableTokenBucket()}else{this.calculateTimeWindow();t=this.cubicSuccess(this.getCurrentTimeInSeconds())}const r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=true}updateTokenBucketRate(e){this.refillTokenBucket();this.fillRate=Math.max(e,this.minFillRate);this.maxCapacity=Math.max(e,this.minCapacity);this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const e=this.getCurrentTimeInSeconds();const t=Math.floor(e*2)/2;this.requestCount++;if(t>this.lastTxRateBucket){const e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth));this.requestCount=0;this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}};__name(d,"DefaultRateLimiter");var g=d;var f=100;var h=20*1e3;var p=500;var E=500;var C=5;var m=10;var I=1;var y="amz-sdk-invocation-id";var Q="amz-sdk-request";var B=__name((()=>{let e=f;const t=__name((t=>Math.floor(Math.min(h,Math.random()*2**t*e))),"computeNextBackoffDelay");const r=__name((t=>{e=t}),"setDelayBase");return{computeNextBackoffDelay:t,setDelayBase:r}}),"getDefaultRetryBackoffStrategy");var v=__name((({retryDelay:e,retryCount:t,retryCost:r})=>{const n=__name((()=>t),"getRetryCount");const o=__name((()=>Math.min(h,e)),"getRetryDelay");const s=__name((()=>r),"getRetryCost");return{getRetryCount:n,getRetryDelay:o,getRetryCost:s}}),"createDefaultRetryToken");var b=class _StandardRetryStrategy{constructor(e){this.maxAttempts=e;this.mode="standard";this.capacity=E;this.retryBackoffStrategy=B();this.maxAttemptsProvider=typeof e==="function"?e:async()=>e}async acquireInitialRetryToken(e){return v({retryDelay:f,retryCount:0})}async refreshRetryTokenForRetry(e,t){const r=await this.getMaxAttempts();if(this.shouldRetry(e,t,r)){const r=t.errorType;this.retryBackoffStrategy.setDelayBase(r==="THROTTLING"?p:f);const n=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount());const o=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,n):n;const s=this.getCapacityCost(r);this.capacity-=s;return v({retryDelay:o,retryCount:e.getRetryCount()+1,retryCost:s})}throw new Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(E,this.capacity+(e.getRetryCost()??I))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){console.warn(`Max attempts provider could not resolve. Using default of ${c}`);return c}}shouldRetry(e,t,r){const n=e.getRetryCount()+1;return n=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return e==="TRANSIENT"?m:C}isRetryableError(e){return e==="THROTTLING"||e==="TRANSIENT"}};__name(b,"StandardRetryStrategy");var w=b;var S=class _AdaptiveRetryStrategy{constructor(e,t){this.maxAttemptsProvider=e;this.mode="adaptive";const{rateLimiter:r}=t??{};this.rateLimiter=r??new g;this.standardRetryStrategy=new w(e)}async acquireInitialRetryToken(e){await this.rateLimiter.getSendToken();return this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){this.rateLimiter.updateClientSendingRate(t);return this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({});this.standardRetryStrategy.recordSuccess(e)}};__name(S,"AdaptiveRetryStrategy");var R=S;var D=class _ConfiguredRetryStrategy extends w{constructor(e,t=f){super(typeof e==="function"?e:async()=>e);if(typeof t==="number"){this.computeNextBackoffDelay=()=>t}else{this.computeNextBackoffDelay=t}}async refreshRetryTokenForRetry(e,t){const r=await super.refreshRetryTokenForRetry(e,t);r.getRetryDelay=()=>this.computeNextBackoffDelay(r.getRetryCount());return r}};__name(D,"ConfiguredRetryStrategy");var k=D;0&&0},3636:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getAwsChunkedEncodingStream=void 0;const n=r(2781);const getAwsChunkedEncodingStream=(e,t)=>{const{base64Encoder:r,bodyLengthChecker:o,checksumAlgorithmFn:s,checksumLocationName:i,streamHasher:a}=t;const A=r!==undefined&&s!==undefined&&i!==undefined&&a!==undefined;const c=A?a(s,e):undefined;const l=new n.Readable({read:()=>{}});e.on("data",(e=>{const t=o(e)||0;l.push(`${t.toString(16)}\r\n`);l.push(e);l.push("\r\n")}));e.on("end",(async()=>{l.push(`0\r\n`);if(A){const e=r(await c);l.push(`${i}:${e}\r\n`);l.push(`\r\n`)}l.push(null)}));return l};t.getAwsChunkedEncodingStream=getAwsChunkedEncodingStream},6607:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __reExport=(e,t,r)=>(__copyProps(e,t,"default"),r&&__copyProps(r,t,"default"));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{Uint8ArrayBlobAdapter:()=>u});e.exports=__toCommonJS(a);var A=r(5600);var c=r(1895);function transformToString(e,t="utf-8"){if(t==="base64"){return(0,A.toBase64)(e)}return(0,c.toUtf8)(e)}__name(transformToString,"transformToString");function transformFromString(e,t){if(t==="base64"){return u.mutate((0,A.fromBase64)(e))}return u.mutate((0,c.fromUtf8)(e))}__name(transformFromString,"transformFromString");var l=class _Uint8ArrayBlobAdapter extends Uint8Array{static fromString(e,t="utf-8"){switch(typeof e){case"string":return transformFromString(e,t);default:throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}}static mutate(e){Object.setPrototypeOf(e,_Uint8ArrayBlobAdapter.prototype);return e}transformToString(e="utf-8"){return transformToString(this,e)}};__name(l,"Uint8ArrayBlobAdapter");var u=l;__reExport(a,r(3636),e.exports);__reExport(a,r(4515),e.exports);0&&0},2942:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.sdkStreamMixin=void 0;const n=r(2687);const o=r(5600);const s=r(5364);const i=r(1895);const a="The stream has already been transformed.";const sdkStreamMixin=e=>{var t,r;if(!isBlobInstance(e)&&!isReadableStreamInstance(e)){const n=((r=(t=e===null||e===void 0?void 0:e.__proto__)===null||t===void 0?void 0:t.constructor)===null||r===void 0?void 0:r.name)||e;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${n}`)}let A=false;const transformToByteArray=async()=>{if(A){throw new Error(a)}A=true;return await(0,n.streamCollector)(e)};const blobToWebStream=e=>{if(typeof e.stream!=="function"){throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\n"+"If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body")}return e.stream()};return Object.assign(e,{transformToByteArray:transformToByteArray,transformToString:async e=>{const t=await transformToByteArray();if(e==="base64"){return(0,o.toBase64)(t)}else if(e==="hex"){return(0,s.toHex)(t)}else if(e===undefined||e==="utf8"||e==="utf-8"){return(0,i.toUtf8)(t)}else if(typeof TextDecoder==="function"){return new TextDecoder(e).decode(t)}else{throw new Error("TextDecoder is not available, please make sure polyfill is provided.")}},transformToWebStream:()=>{if(A){throw new Error(a)}A=true;if(isBlobInstance(e)){return blobToWebStream(e)}else if(isReadableStreamInstance(e)){return e}else{throw new Error(`Cannot transform payload to web stream, got ${e}`)}}})};t.sdkStreamMixin=sdkStreamMixin;const isBlobInstance=e=>typeof Blob==="function"&&e instanceof Blob;const isReadableStreamInstance=e=>typeof ReadableStream==="function"&&e instanceof ReadableStream},4515:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.sdkStreamMixin=void 0;const n=r(258);const o=r(1381);const s=r(2781);const i=r(3837);const a=r(2942);const A="The stream has already been transformed.";const sdkStreamMixin=e=>{var t,r;if(!(e instanceof s.Readable)){try{return(0,a.sdkStreamMixin)(e)}catch(n){const o=((r=(t=e===null||e===void 0?void 0:e.__proto__)===null||t===void 0?void 0:t.constructor)===null||r===void 0?void 0:r.name)||e;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${o}`)}}let c=false;const transformToByteArray=async()=>{if(c){throw new Error(A)}c=true;return await(0,n.streamCollector)(e)};return Object.assign(e,{transformToByteArray:transformToByteArray,transformToString:async e=>{const t=await transformToByteArray();if(e===undefined||Buffer.isEncoding(e)){return(0,o.fromArrayBuffer)(t.buffer,t.byteOffset,t.byteLength).toString(e)}else{const r=new i.TextDecoder(e);return r.decode(t)}},transformToWebStream:()=>{if(c){throw new Error(A)}if(e.readableFlowing!==null){throw new Error("The stream has been consumed by other callbacks.")}if(typeof s.Readable.toWeb!=="function"){throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.")}c=true;return s.Readable.toWeb(e)}})};t.sdkStreamMixin=sdkStreamMixin},4197:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __name=(e,r)=>t(e,"name",{value:r,configurable:true});var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,s,i,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let A of n(s))if(!o.call(e,A)&&A!==i)t(e,A,{get:()=>s[A],enumerable:!(a=r(s,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var s={};__export(s,{escapeUri:()=>i,escapeUriPath:()=>A});e.exports=__toCommonJS(s);var i=__name((e=>encodeURIComponent(e).replace(/[!'()*]/g,a)),"escapeUri");var a=__name((e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),"hexEncode");var A=__name((e=>e.split("/").map(i).join("/")),"escapeUriPath");0&&0},1895:(e,t,r)=>{var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __name=(e,t)=>n(e,"name",{value:t,configurable:true});var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of s(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=o(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{fromUtf8:()=>c,toUint8Array:()=>l,toUtf8:()=>u});e.exports=__toCommonJS(a);var A=r(1381);var c=__name((e=>{const t=(0,A.fromString)(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)}),"fromUtf8");var l=__name((e=>{if(typeof e==="string"){return c(e)}if(ArrayBuffer.isView(e)){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT)}return new Uint8Array(e)}),"toUint8Array");var u=__name((e=>{if(typeof e==="string"){return e}if(typeof e!=="object"||typeof e.byteOffset!=="number"||typeof e.byteLength!=="number"){throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.")}return(0,A.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("utf8")}),"toUtf8");0&&0},407:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.formatNames=t.fastFormats=t.fullFormats=void 0;function fmtDef(e,t){return{validate:e,compare:t}}t.fullFormats={date:fmtDef(date,compareDate),time:fmtDef(getTime(true),compareTime),"date-time":fmtDef(getDateTime(true),compareDateTime),"iso-time":fmtDef(getTime(),compareIsoTime),"iso-date-time":fmtDef(getDateTime(),compareIsoDateTime),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:uri,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;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d|[1-9]?\d)){3}))|:)))$/i,regex:regex,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:byte,int32:{type:"number",validate:validateInt32},int64:{type:"number",validate:validateInt64},float:{type:"number",validate:validateNumber},double:{type:"number",validate:validateNumber},password:true,binary:true};t.fastFormats={...t.fullFormats,date:fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,compareDate),time:fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareTime),"date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareDateTime),"iso-time":fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareIsoTime),"iso-date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareIsoDateTime),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};t.formatNames=Object.keys(t.fullFormats);function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}const r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;const n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function date(e){const t=r.exec(e);if(!t)return false;const o=+t[1];const s=+t[2];const i=+t[3];return s>=1&&s<=12&&i>=1&&i<=(s===2&&isLeapYear(o)?29:n[s])}function compareDate(e,t){if(!(e&&t))return undefined;if(e>t)return 1;if(e23||l>59||e&&!a)return false;if(n<=23&&s<=59&&i<60)return true;const u=s-l*A;const d=n-c*A-(u<0?1:0);return(d===23||d===-1)&&(u===59||u===-1)&&i<61}}function compareTime(e,t){if(!(e&&t))return undefined;const r=new Date("2020-01-01T"+e).valueOf();const n=new Date("2020-01-01T"+t).valueOf();if(!(r&&n))return undefined;return r-n}function compareIsoTime(e,t){if(!(e&&t))return undefined;const r=o.exec(e);const n=o.exec(t);if(!(r&&n))return undefined;e=r[1]+r[2]+r[3];t=n[1]+n[2]+n[3];if(e>t)return 1;if(e=c}function validateInt64(e){return Number.isInteger(e)}function validateNumber(){return true}const u=/[^\\]\\Z/;function regex(e){if(u.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},567:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(407);const o=r(8433);const s=r(9179);const i=new s.Name("fullFormats");const a=new s.Name("fastFormats");const formatsPlugin=(e,t={keywords:true})=>{if(Array.isArray(t)){addFormats(e,t,n.fullFormats,i);return e}const[r,s]=t.mode==="fast"?[n.fastFormats,a]:[n.fullFormats,i];const A=t.formats||n.formatNames;addFormats(e,A,r,s);if(t.keywords)(0,o.default)(e);return e};formatsPlugin.get=(e,t="full")=>{const r=t==="fast"?n.fastFormats:n.fullFormats;const o=r[e];if(!o)throw new Error(`Unknown format "${e}"`);return o};function addFormats(e,t,r,n){var o;var i;(o=(i=e.opts.code).formats)!==null&&o!==void 0?o:i.formats=(0,s._)`require("ajv-formats/dist/formats").${n}`;for(const n of t)e.addFormat(n,r[n])}e.exports=t=formatsPlugin;Object.defineProperty(t,"__esModule",{value:true});t["default"]=formatsPlugin},8433:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.formatLimitDefinition=void 0;const n=r(2426);const o=r(9179);const s=o.operators;const i={formatMaximum:{okStr:"<=",ok:s.LTE,fail:s.GT},formatMinimum:{okStr:">=",ok:s.GTE,fail:s.LT},formatExclusiveMaximum:{okStr:"<",ok:s.LT,fail:s.GTE},formatExclusiveMinimum:{okStr:">",ok:s.GT,fail:s.LTE}};const a={message:({keyword:e,schemaCode:t})=>(0,o.str)`should be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,o._)`{comparison: ${i[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(i),type:"string",schemaType:"string",$data:true,error:a,code(e){const{gen:t,data:r,schemaCode:s,keyword:a,it:A}=e;const{opts:c,self:l}=A;if(!c.validateFormats)return;const u=new n.KeywordCxt(A,l.RULES.all.format.definition,"format");if(u.$data)validate$DataFormat();else validateFormat();function validate$DataFormat(){const r=t.scopeValue("formats",{ref:l.formats,code:c.code.formats});const n=t.const("fmt",(0,o._)`${r}[${u.schemaCode}]`);e.fail$data((0,o.or)((0,o._)`typeof ${n} != "object"`,(0,o._)`${n} instanceof RegExp`,(0,o._)`typeof ${n}.compare != "function"`,compareCode(n)))}function validateFormat(){const r=u.schema;const n=l.formats[r];if(!n||n===true)return;if(typeof n!="object"||n instanceof RegExp||typeof n.compare!="function"){throw new Error(`"${a}": format "${r}" does not define "compare" function`)}const s=t.scopeValue("formats",{key:r,ref:n,code:c.code.formats?(0,o._)`${c.code.formats}${(0,o.getProperty)(r)}`:undefined});e.fail$data(compareCode(s))}function compareCode(e){return(0,o._)`${e}.compare(${r}, ${s}) ${i[a].fail} 0`}},dependencies:["format"]};const formatLimitPlugin=e=>{e.addKeyword(t.formatLimitDefinition);return e};t["default"]=formatLimitPlugin},5988:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2019=void 0;const n=r(2685);const o=r(691);const s=r(9774);const i=r(6405);const a=r(3357);const A=r(4025);const c=r(5207);const l="https://json-schema.org/draft/2019-09/schema";class Ajv2019 extends n.default{constructor(e={}){super({...e,dynamicRef:true,next:true,unevaluated:true})}_addVocabularies(){super._addVocabularies();this.addVocabulary(s.default);o.default.forEach((e=>this.addVocabulary(e)));this.addVocabulary(i.default);this.addVocabulary(a.default);if(this.opts.discriminator)this.addKeyword(A.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;if(!t)return;c.default.call(this,e);this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:undefined)}}t.Ajv2019=Ajv2019;e.exports=t=Ajv2019;e.exports.Ajv2019=Ajv2019;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv2019;var u=r(8955);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return u.KeywordCxt}});var d=r(9179);Object.defineProperty(t,"_",{enumerable:true,get:function(){return d._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return d.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return d.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return d.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return d.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return d.CodeGen}});var g=r(7616);Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return g.default}});var f=r(8190);Object.defineProperty(t,"MissingRefError",{enumerable:true,get:function(){return f.default}})},2426:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const n=r(2685);const o=r(691);const s=r(4025);const i=r(98);const a=["/properties"];const A="http://json-schema.org/draft-07/schema";class Ajv extends n.default{_addVocabularies(){super._addVocabularies();o.default.forEach((e=>this.addVocabulary(e)));if(this.opts.discriminator)this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();if(!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(i,a):i;this.addMetaSchema(e,A,false);this.refs["http://json-schema.org/schema"]=A}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(A)?A:undefined)}}t.Ajv=Ajv;e.exports=t=Ajv;e.exports.Ajv=Ajv;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv;var c=r(8955);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return c.KeywordCxt}});var l=r(9179);Object.defineProperty(t,"_",{enumerable:true,get:function(){return l._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return l.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return l.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return l.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return l.CodeGen}});var u=r(7616);Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return u.default}});var d=r(8190);Object.defineProperty(t,"MissingRefError",{enumerable:true,get:function(){return d.default}})},8358:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class _CodeOrName{}t._CodeOrName=_CodeOrName;t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class Name extends _CodeOrName{constructor(e){super();if(!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return false}get names(){return{[this.str]:1}}}t.Name=Name;class _Code extends _CodeOrName{constructor(e){super();this._items=typeof e==="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return false;const e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce(((e,t)=>{if(t instanceof Name)e[t.str]=(e[t.str]||0)+1;return e}),{})}}t._Code=_Code;t.nil=new _Code("");function _(e,...t){const r=[e[0]];let n=0;while(n{Object.defineProperty(t,"__esModule",{value:true});t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=r(8358);const o=r(2893);var s=r(8358);Object.defineProperty(t,"_",{enumerable:true,get:function(){return s._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return s.str}});Object.defineProperty(t,"strConcat",{enumerable:true,get:function(){return s.strConcat}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return s.nil}});Object.defineProperty(t,"getProperty",{enumerable:true,get:function(){return s.getProperty}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return s.stringify}});Object.defineProperty(t,"regexpCode",{enumerable:true,get:function(){return s.regexpCode}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return s.Name}});var i=r(2893);Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return i.Scope}});Object.defineProperty(t,"ValueScope",{enumerable:true,get:function(){return i.ValueScope}});Object.defineProperty(t,"ValueScopeName",{enumerable:true,get:function(){return i.ValueScopeName}});Object.defineProperty(t,"varKinds",{enumerable:true,get:function(){return i.varKinds}});t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class Node{optimizeNodes(){return this}optimizeNames(e,t){return this}}class Def extends Node{constructor(e,t,r){super();this.varKind=e;this.name=t;this.rhs=r}render({es5:e,_n:t}){const r=e?o.varKinds.var:this.varKind;const n=this.rhs===undefined?"":` = ${this.rhs}`;return`${r} ${this.name}${n};`+t}optimizeNames(e,t){if(!e[this.name.str])return;if(this.rhs)this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class Assign extends Node{constructor(e,t,r){super();this.lhs=e;this.rhs=t;this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(this.lhs instanceof n.Name&&!e[this.lhs.str]&&!this.sideEffects)return;this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){const e=this.lhs instanceof n.Name?{}:{...this.lhs.names};return addExprNames(e,this.rhs)}}class AssignOp extends Assign{constructor(e,t,r,n){super(e,r,n);this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class Label extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){return`${this.label}:`+e}}class Break extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){const t=this.label?` ${this.label}`:"";return`break${t};`+e}}class Throw extends Node{constructor(e){super();this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class AnyCode extends Node{constructor(e){super();this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:undefined}optimizeNames(e,t){this.code=optimizeExpr(this.code,e,t);return this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class ParentNode extends Node{constructor(e=[]){super();this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;while(t--){const r=e[t].optimizeNodes();if(Array.isArray(r))e.splice(t,1,...r);else if(r)e[t]=r;else e.splice(t,1)}return e.length>0?this:undefined}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;while(n--){const o=r[n];if(o.optimizeNames(e,t))continue;subtractNames(e,o.names);r.splice(n,1)}return r.length>0?this:undefined}get names(){return this.nodes.reduce(((e,t)=>addNames(e,t.names)),{})}}class BlockNode extends ParentNode{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class Root extends ParentNode{}class Else extends BlockNode{}Else.kind="else";class If extends BlockNode{constructor(e,t){super(t);this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);if(this.else)t+="else "+this.else.render(e);return t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(e===true)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new Else(e):e}if(t){if(e===false)return t instanceof If?t:t.nodes;if(this.nodes.length)return this;return new If(not(e),t instanceof If?[t]:t.nodes)}if(e===false||!this.nodes.length)return undefined;return this}optimizeNames(e,t){var r;this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(e,t);if(!(super.optimizeNames(e,t)||this.else))return;this.condition=optimizeExpr(this.condition,e,t);return this}get names(){const e=super.names;addExprNames(e,this.condition);if(this.else)addNames(e,this.else.names);return e}}If.kind="if";class For extends BlockNode{}For.kind="for";class ForLoop extends For{constructor(e){super();this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iteration=optimizeExpr(this.iteration,e,t);return this}get names(){return addNames(super.names,this.iteration.names)}}class ForRange extends For{constructor(e,t,r,n){super();this.varKind=e;this.name=t;this.from=r;this.to=n}render(e){const t=e.es5?o.varKinds.var:this.varKind;const{name:r,from:n,to:s}=this;return`for(${t} ${r}=${n}; ${r}<${s}; ${r}++)`+super.render(e)}get names(){const e=addExprNames(super.names,this.from);return addExprNames(e,this.to)}}class ForIter extends For{constructor(e,t,r,n){super();this.loop=e;this.varKind=t;this.name=r;this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iterable=optimizeExpr(this.iterable,e,t);return this}get names(){return addNames(super.names,this.iterable.names)}}class Func extends BlockNode{constructor(e,t,r){super();this.name=e;this.args=t;this.async=r}render(e){const t=this.async?"async ":"";return`${t}function ${this.name}(${this.args})`+super.render(e)}}Func.kind="func";class Return extends ParentNode{render(e){return"return "+super.render(e)}}Return.kind="return";class Try extends BlockNode{render(e){let t="try"+super.render(e);if(this.catch)t+=this.catch.render(e);if(this.finally)t+=this.finally.render(e);return t}optimizeNodes(){var e,t;super.optimizeNodes();(e=this.catch)===null||e===void 0?void 0:e.optimizeNodes();(t=this.finally)===null||t===void 0?void 0:t.optimizeNodes();return this}optimizeNames(e,t){var r,n;super.optimizeNames(e,t);(r=this.catch)===null||r===void 0?void 0:r.optimizeNames(e,t);(n=this.finally)===null||n===void 0?void 0:n.optimizeNames(e,t);return this}get names(){const e=super.names;if(this.catch)addNames(e,this.catch.names);if(this.finally)addNames(e,this.finally.names);return e}}class Catch extends BlockNode{constructor(e){super();this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}Catch.kind="catch";class Finally extends BlockNode{render(e){return"finally"+super.render(e)}}Finally.kind="finally";class CodeGen{constructor(e,t={}){this._values={};this._blockStarts=[];this._constants={};this.opts={...t,_n:t.lines?"\n":""};this._extScope=e;this._scope=new o.Scope({parent:e});this._nodes=[new Root]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);const n=this._values[r.prefix]||(this._values[r.prefix]=new Set);n.add(r);return r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const o=this._scope.toName(t);if(r!==undefined&&n)this._constants[o.str]=r;this._leafNode(new Def(e,o,r));return o}const(e,t,r){return this._def(o.varKinds.const,e,t,r)}let(e,t,r){return this._def(o.varKinds.let,e,t,r)}var(e,t,r){return this._def(o.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new Assign(e,t,r))}add(e,r){return this._leafNode(new AssignOp(e,t.operators.ADD,r))}code(e){if(typeof e=="function")e();else if(e!==n.nil)this._leafNode(new AnyCode(e));return this}object(...e){const t=["{"];for(const[r,o]of e){if(t.length>1)t.push(",");t.push(r);if(r!==o||this.opts.es5){t.push(":");(0,n.addCodeArg)(t,o)}}t.push("}");return new n._Code(t)}if(e,t,r){this._blockNode(new If(e));if(t&&r){this.code(t).else().code(r).endIf()}else if(t){this.code(t).endIf()}else if(r){throw new Error('CodeGen: "else" body without "then" body')}return this}elseIf(e){return this._elseNode(new If(e))}else(){return this._elseNode(new Else)}endIf(){return this._endBlockNode(If,Else)}_for(e,t){this._blockNode(e);if(t)this.code(t).endFor();return this}for(e,t){return this._for(new ForLoop(e),t)}forRange(e,t,r,n,s=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const i=this._scope.toName(e);return this._for(new ForRange(s,i,t,r),(()=>n(i)))}forOf(e,t,r,s=o.varKinds.const){const i=this._scope.toName(e);if(this.opts.es5){const e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,n._)`${e}.length`,(t=>{this.var(i,(0,n._)`${e}[${t}]`);r(i)}))}return this._for(new ForIter("of",s,i,t),(()=>r(i)))}forIn(e,t,r,s=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties){return this.forOf(e,(0,n._)`Object.keys(${t})`,r)}const i=this._scope.toName(e);return this._for(new ForIter("in",s,i,t),(()=>r(i)))}endFor(){return this._endBlockNode(For)}label(e){return this._leafNode(new Label(e))}break(e){return this._leafNode(new Break(e))}return(e){const t=new Return;this._blockNode(t);this.code(e);if(t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Return)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new Try;this._blockNode(n);this.code(e);if(t){const e=this.name("e");this._currNode=n.catch=new Catch(e);t(e)}if(r){this._currNode=n.finally=new Finally;this.code(r)}return this._endBlockNode(Catch,Finally)}throw(e){return this._leafNode(new Throw(e))}block(e,t){this._blockStarts.push(this._nodes.length);if(e)this.code(e).endBlock(t);return this}endBlock(e){const t=this._blockStarts.pop();if(t===undefined)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||e!==undefined&&r!==e){throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`)}this._nodes.length=t;return this}func(e,t=n.nil,r,o){this._blockNode(new Func(e,t,r));if(o)this.code(o).endFunc();return this}endFunc(){return this._endBlockNode(Func)}optimize(e=1){while(e-- >0){this._root.optimizeNodes();this._root.optimizeNames(this._root.names,this._constants)}}_leafNode(e){this._currNode.nodes.push(e);return this}_blockNode(e){this._currNode.nodes.push(e);this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t){this._nodes.pop();return this}throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof If)){throw new Error('CodeGen: "else" without "if"')}this._currNode=t.else=e;return this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}}t.CodeGen=CodeGen;function addNames(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function addExprNames(e,t){return t instanceof n._CodeOrName?addNames(e,t.names):e}function optimizeExpr(e,t,r){if(e instanceof n.Name)return replaceName(e);if(!canOptimize(e))return e;return new n._Code(e._items.reduce(((e,t)=>{if(t instanceof n.Name)t=replaceName(t);if(t instanceof n._Code)e.push(...t._items);else e.push(t);return e}),[]));function replaceName(e){const n=r[e.str];if(n===undefined||t[e.str]!==1)return e;delete t[e.str];return n}function canOptimize(e){return e instanceof n._Code&&e._items.some((e=>e instanceof n.Name&&t[e.str]===1&&r[e.str]!==undefined))}}function subtractNames(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function not(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,n._)`!${par(e)}`}t.not=not;const a=mappend(t.operators.AND);function and(...e){return e.reduce(a)}t.and=and;const A=mappend(t.operators.OR);function or(...e){return e.reduce(A)}t.or=or;function mappend(e){return(t,r)=>t===n.nil?r:r===n.nil?t:(0,n._)`${par(t)} ${e} ${par(r)}`}function par(e){return e instanceof n.Name?e:(0,n._)`(${e})`}},2893:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=r(8358);class ValueError extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`);this.value=e.value}}var o;(function(e){e[e["Started"]=0]="Started";e[e["Completed"]=1]="Completed"})(o||(t.UsedValueState=o={}));t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class Scope{constructor({prefixes:e,parent:t}={}){this._names={};this._prefixes=e;this._parent=t}toName(e){return e instanceof n.Name?e:this.name(e)}name(e){return new n.Name(this._newName(e))}_newName(e){const t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,r;if(((r=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||r===void 0?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e)){throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`)}return this._names[e]={prefix:e,index:0}}}t.Scope=Scope;class ValueScopeName extends n.Name{constructor(e,t){super(t);this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e;this.scopePath=(0,n._)`.${new n.Name(t)}[${r}]`}}t.ValueScopeName=ValueScopeName;const s=(0,n._)`\n`;class ValueScope extends Scope{constructor(e){super(e);this._values={};this._scope=e.scope;this.opts={...e,_n:e.lines?s:n.nil}}get(){return this._scope}name(e){return new ValueScopeName(e,this._newName(e))}value(e,t){var r;if(t.ref===undefined)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e);const{prefix:o}=n;const s=(r=t.key)!==null&&r!==void 0?r:t.ref;let i=this._values[o];if(i){const e=i.get(s);if(e)return e}else{i=this._values[o]=new Map}i.set(s,n);const a=this._scope[o]||(this._scope[o]=[]);const A=a.length;a[A]=t.ref;n.setValue(t,{property:o,itemIndex:A});return n}getValue(e,t){const r=this._values[e];if(!r)return;return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(t.scopePath===undefined)throw new Error(`CodeGen: name "${t}" has no value`);return(0,n._)`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(e.value===undefined)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(e,r,s={},i){let a=n.nil;for(const A in e){const c=e[A];if(!c)continue;const l=s[A]=s[A]||new Map;c.forEach((e=>{if(l.has(e))return;l.set(e,o.Started);let s=r(e);if(s){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;a=(0,n._)`${a}${r} ${e} = ${s};${this.opts._n}`}else if(s=i===null||i===void 0?void 0:i(e)){a=(0,n._)`${a}${s}${this.opts._n}`}else{throw new ValueError(e)}l.set(e,o.Completed)}))}return a}}t.ValueScope=ValueScope},6150:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=r(9179);const o=r(3439);const s=r(50);t.keywordError={message:({keyword:e})=>(0,n.str)`must pass "${e}" keyword validation`};t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?(0,n.str)`"${e}" keyword must be ${t} ($data)`:(0,n.str)`"${e}" keyword is invalid ($data)`};function reportError(e,r=t.keywordError,o,s){const{it:i}=e;const{gen:a,compositeRule:A,allErrors:c}=i;const l=errorObjectCode(e,r,o);if(s!==null&&s!==void 0?s:A||c){addError(a,l)}else{returnErrors(i,(0,n._)`[${l}]`)}}t.reportError=reportError;function reportExtraError(e,r=t.keywordError,n){const{it:o}=e;const{gen:i,compositeRule:a,allErrors:A}=o;const c=errorObjectCode(e,r,n);addError(i,c);if(!(a||A)){returnErrors(o,s.default.vErrors)}}t.reportExtraError=reportExtraError;function resetErrorsCount(e,t){e.assign(s.default.errors,t);e.if((0,n._)`${s.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign((0,n._)`${s.default.vErrors}.length`,t)),(()=>e.assign(s.default.vErrors,null)))))}t.resetErrorsCount=resetErrorsCount;function extendErrors({gen:e,keyword:t,schemaValue:r,data:o,errsCount:i,it:a}){if(i===undefined)throw new Error("ajv implementation error");const A=e.name("err");e.forRange("i",i,s.default.errors,(i=>{e.const(A,(0,n._)`${s.default.vErrors}[${i}]`);e.if((0,n._)`${A}.instancePath === undefined`,(()=>e.assign((0,n._)`${A}.instancePath`,(0,n.strConcat)(s.default.instancePath,a.errorPath))));e.assign((0,n._)`${A}.schemaPath`,(0,n.str)`${a.errSchemaPath}/${t}`);if(a.opts.verbose){e.assign((0,n._)`${A}.schema`,r);e.assign((0,n._)`${A}.data`,o)}}))}t.extendErrors=extendErrors;function addError(e,t){const r=e.const("err",t);e.if((0,n._)`${s.default.vErrors} === null`,(()=>e.assign(s.default.vErrors,(0,n._)`[${r}]`)),(0,n._)`${s.default.vErrors}.push(${r})`);e.code((0,n._)`${s.default.errors}++`)}function returnErrors(e,t){const{gen:r,validateName:o,schemaEnv:s}=e;if(s.$async){r.throw((0,n._)`new ${e.ValidationError}(${t})`)}else{r.assign((0,n._)`${o}.errors`,t);r.return(false)}}const i={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function errorObjectCode(e,t,r){const{createErrors:o}=e.it;if(o===false)return(0,n._)`{}`;return errorObject(e,t,r)}function errorObject(e,t,r={}){const{gen:n,it:o}=e;const s=[errorInstancePath(o,r),errorSchemaPath(e,r)];extraErrorProps(e,t,s);return n.object(...s)}function errorInstancePath({errorPath:e},{instancePath:t}){const r=t?(0,n.str)`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,r)]}function errorSchemaPath({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:s}){let a=s?t:(0,n.str)`${t}/${e}`;if(r){a=(0,n.str)`${a}${(0,o.getErrorPath)(r,o.Type.Str)}`}return[i.schemaPath,a]}function extraErrorProps(e,{params:t,message:r},o){const{keyword:a,data:A,schemaValue:c,it:l}=e;const{opts:u,propertyName:d,topSchemaRef:g,schemaPath:f}=l;o.push([i.keyword,a],[i.params,typeof t=="function"?t(e):t||(0,n._)`{}`]);if(u.messages){o.push([i.message,typeof r=="function"?r(e):r])}if(u.verbose){o.push([i.schema,c],[i.parentSchema,(0,n._)`${g}${f}`],[s.default.data,A])}if(d)o.push([i.propertyName,d])}},813:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const n=r(9179);const o=r(7616);const s=r(50);const i=r(6646);const a=r(3439);const A=r(8955);class SchemaEnv{constructor(e){var t;this.refs={};this.dynamicAnchors={};let r;if(typeof e.schema=="object")r=e.schema;this.schema=e.schema;this.schemaId=e.schemaId;this.root=e.root||this;this.baseId=(t=e.baseId)!==null&&t!==void 0?t:(0,i.normalizeId)(r===null||r===void 0?void 0:r[e.schemaId||"$id"]);this.schemaPath=e.schemaPath;this.localRefs=e.localRefs;this.meta=e.meta;this.$async=r===null||r===void 0?void 0:r.$async;this.refs={}}}t.SchemaEnv=SchemaEnv;function compileSchema(e){const t=getCompilingSchema.call(this,e);if(t)return t;const r=(0,i.getFullPath)(this.opts.uriResolver,e.root.baseId);const{es5:a,lines:c}=this.opts.code;const{ownProperties:l}=this.opts;const u=new n.CodeGen(this.scope,{es5:a,lines:c,ownProperties:l});let d;if(e.$async){d=u.scopeValue("Error",{ref:o.default,code:(0,n._)`require("ajv/dist/runtime/validation_error").default`})}const g=u.scopeName("validate");e.validateName=g;const f={gen:u,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",this.opts.code.source===true?{ref:e.schema,code:(0,n.stringify)(e.schema)}:{ref:e.schema}),validateName:g,ValidationError:d,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:n.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,n._)`""`,opts:this.opts,self:this};let h;try{this._compilations.add(e);(0,A.validateFunctionCode)(f);u.optimize(this.opts.code.optimize);const t=u.toString();h=`${u.scopeRefs(s.default.scope)}return ${t}`;if(this.opts.code.process)h=this.opts.code.process(h,e);const r=new Function(`${s.default.self}`,`${s.default.scope}`,h);const o=r(this,this.scope.get());this.scope.value(g,{ref:o});o.errors=null;o.schema=e.schema;o.schemaEnv=e;if(e.$async)o.$async=true;if(this.opts.code.source===true){o.source={validateName:g,validateCode:t,scopeValues:u._values}}if(this.opts.unevaluated){const{props:e,items:t}=f;o.evaluated={props:e instanceof n.Name?undefined:e,items:t instanceof n.Name?undefined:t,dynamicProps:e instanceof n.Name,dynamicItems:t instanceof n.Name};if(o.source)o.source.evaluated=(0,n.stringify)(o.evaluated)}e.validate=o;return e}catch(t){delete e.validate;delete e.validateName;if(h)this.logger.error("Error compiling schema, function code:",h);throw t}finally{this._compilations.delete(e)}}t.compileSchema=compileSchema;function resolveRef(e,t,r){var n;r=(0,i.resolveUrl)(this.opts.uriResolver,t,r);const o=e.refs[r];if(o)return o;let s=resolve.call(this,e,r);if(s===undefined){const o=(n=e.localRefs)===null||n===void 0?void 0:n[r];const{schemaId:i}=this.opts;if(o)s=new SchemaEnv({schema:o,schemaId:i,root:e,baseId:t})}if(s===undefined)return;return e.refs[r]=inlineOrCompile.call(this,s)}t.resolveRef=resolveRef;function inlineOrCompile(e){if((0,i.inlineRef)(e.schema,this.opts.inlineRefs))return e.schema;return e.validate?e:compileSchema.call(this,e)}function getCompilingSchema(e){for(const t of this._compilations){if(sameSchemaEnv(t,e))return t}}t.getCompilingSchema=getCompilingSchema;function sameSchemaEnv(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function resolve(e,t){let r;while(typeof(r=this.refs[t])=="string")t=r;return r||this.schemas[t]||resolveSchema.call(this,e,t)}function resolveSchema(e,t){const r=this.opts.uriResolver.parse(t);const n=(0,i._getFullPath)(this.opts.uriResolver,r);let o=(0,i.getFullPath)(this.opts.uriResolver,e.baseId,undefined);if(Object.keys(e.schema).length>0&&n===o){return getJsonPointer.call(this,r,e)}const s=(0,i.normalizeId)(n);const a=this.refs[s]||this.schemas[s];if(typeof a=="string"){const t=resolveSchema.call(this,e,a);if(typeof(t===null||t===void 0?void 0:t.schema)!=="object")return;return getJsonPointer.call(this,r,t)}if(typeof(a===null||a===void 0?void 0:a.schema)!=="object")return;if(!a.validate)compileSchema.call(this,a);if(s===(0,i.normalizeId)(t)){const{schema:t}=a;const{schemaId:r}=this.opts;const n=t[r];if(n)o=(0,i.resolveUrl)(this.opts.uriResolver,o,n);return new SchemaEnv({schema:t,schemaId:r,root:e,baseId:o})}return getJsonPointer.call(this,r,a)}t.resolveSchema=resolveSchema;const c=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,{baseId:t,schema:r,root:n}){var o;if(((o=e.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(const n of e.fragment.slice(1).split("/")){if(typeof r==="boolean")return;const e=r[(0,a.unescapeFragment)(n)];if(e===undefined)return;r=e;const o=typeof r==="object"&&r[this.opts.schemaId];if(!c.has(n)&&o){t=(0,i.resolveUrl)(this.opts.uriResolver,t,o)}}let s;if(typeof r!="boolean"&&r.$ref&&!(0,a.schemaHasRulesButRef)(r,this.RULES)){const e=(0,i.resolveUrl)(this.opts.uriResolver,t,r.$ref);s=resolveSchema.call(this,n,e)}const{schemaId:A}=this.opts;s=s||new SchemaEnv({schema:r,schemaId:A,root:n,baseId:t});if(s.schema!==s.root.schema)return s;return undefined}},50:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(9179);const o={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t["default"]=o},8190:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(6646);class MissingRefError extends Error{constructor(e,t,r,o){super(o||`can't resolve reference ${r} from id ${t}`);this.missingRef=(0,n.resolveUrl)(e,t,r);this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t["default"]=MissingRefError},6646:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=r(3439);const o=r(8206);const s=r(2533);const i=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function inlineRef(e,t=true){if(typeof e=="boolean")return true;if(t===true)return!hasRef(e);if(!t)return false;return countKeys(e)<=t}t.inlineRef=inlineRef;const a=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function hasRef(e){for(const t in e){if(a.has(t))return true;const r=e[t];if(Array.isArray(r)&&r.some(hasRef))return true;if(typeof r=="object"&&hasRef(r))return true}return false}function countKeys(e){let t=0;for(const r in e){if(r==="$ref")return Infinity;t++;if(i.has(r))continue;if(typeof e[r]=="object"){(0,n.eachItem)(e[r],(e=>t+=countKeys(e)))}if(t===Infinity)return Infinity}return t}function getFullPath(e,t="",r){if(r!==false)t=normalizeId(t);const n=e.parse(t);return _getFullPath(e,n)}t.getFullPath=getFullPath;function _getFullPath(e,t){const r=e.serialize(t);return r.split("#")[0]+"#"}t._getFullPath=_getFullPath;const A=/#\/?$/;function normalizeId(e){return e?e.replace(A,""):""}t.normalizeId=normalizeId;function resolveUrl(e,t,r){r=normalizeId(r);return e.resolve(t,r)}t.resolveUrl=resolveUrl;const c=/^[a-z_][-a-z0-9._]*$/i;function getSchemaRefs(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:n}=this.opts;const i=normalizeId(e[r]||t);const a={"":i};const A=getFullPath(n,i,false);const l={};const u=new Set;s(e,{allKeys:true},((e,t,n,o)=>{if(o===undefined)return;const s=A+t;let i=a[o];if(typeof e[r]=="string")i=addRef.call(this,e[r]);addAnchor.call(this,e.$anchor);addAnchor.call(this,e.$dynamicAnchor);a[t]=i;function addRef(t){const r=this.opts.uriResolver.resolve;t=normalizeId(i?r(i,t):t);if(u.has(t))throw ambiguos(t);u.add(t);let n=this.refs[t];if(typeof n=="string")n=this.refs[n];if(typeof n=="object"){checkAmbiguosRef(e,n.schema,t)}else if(t!==normalizeId(s)){if(t[0]==="#"){checkAmbiguosRef(e,l[t],t);l[t]=e}else{this.refs[t]=s}}return t}function addAnchor(e){if(typeof e=="string"){if(!c.test(e))throw new Error(`invalid anchor "${e}"`);addRef.call(this,`#${e}`)}}}));return l;function checkAmbiguosRef(e,t,r){if(t!==undefined&&!o(e,t))throw ambiguos(r)}function ambiguos(e){return new Error(`reference "${e}" resolves to more than one schema`)}}t.getSchemaRefs=getSchemaRefs},1785:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRules=t.isJSONType=void 0;const r=["string","number","integer","boolean","null","object","array"];const n=new Set(r);function isJSONType(e){return typeof e=="string"&&n.has(e)}t.isJSONType=isJSONType;function getRules(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:true,boolean:true,null:true},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}t.getRules=getRules},3439:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const n=r(9179);const o=r(8358);function toHash(e){const t={};for(const r of e)t[r]=true;return t}t.toHash=toHash;function alwaysValidSchema(e,t){if(typeof t=="boolean")return t;if(Object.keys(t).length===0)return true;checkUnknownRules(e,t);return!schemaHasRules(t,e.self.RULES.all)}t.alwaysValidSchema=alwaysValidSchema;function checkUnknownRules(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema)return;if(typeof t==="boolean")return;const o=n.RULES.keywords;for(const r in t){if(!o[r])checkStrictMode(e,`unknown keyword: "${r}"`)}}t.checkUnknownRules=checkUnknownRules;function schemaHasRules(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return true;return false}t.schemaHasRules=schemaHasRules;function schemaHasRulesButRef(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return true;return false}t.schemaHasRulesButRef=schemaHasRulesButRef;function schemaRefOrVal({topSchemaRef:e,schemaPath:t},r,o,s){if(!s){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,n._)`${r}`}return(0,n._)`${e}${t}${(0,n.getProperty)(o)}`}t.schemaRefOrVal=schemaRefOrVal;function unescapeFragment(e){return unescapeJsonPointer(decodeURIComponent(e))}t.unescapeFragment=unescapeFragment;function escapeFragment(e){return encodeURIComponent(escapeJsonPointer(e))}t.escapeFragment=escapeFragment;function escapeJsonPointer(e){if(typeof e=="number")return`${e}`;return e.replace(/~/g,"~0").replace(/\//g,"~1")}t.escapeJsonPointer=escapeJsonPointer;function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}t.unescapeJsonPointer=unescapeJsonPointer;function eachItem(e,t){if(Array.isArray(e)){for(const r of e)t(r)}else{t(e)}}t.eachItem=eachItem;function makeMergeEvaluated({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:o}){return(s,i,a,A)=>{const c=a===undefined?i:a instanceof n.Name?(i instanceof n.Name?e(s,i,a):t(s,i,a),a):i instanceof n.Name?(t(s,a,i),i):r(i,a);return A===n.Name&&!(c instanceof n.Name)?o(s,c):c}}t.mergeEvaluated={props:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,n._)`${r} !== true && ${t} !== undefined`,(()=>{e.if((0,n._)`${t} === true`,(()=>e.assign(r,true)),(()=>e.assign(r,(0,n._)`${r} || {}`).code((0,n._)`Object.assign(${r}, ${t})`)))})),mergeToName:(e,t,r)=>e.if((0,n._)`${r} !== true`,(()=>{if(t===true){e.assign(r,true)}else{e.assign(r,(0,n._)`${r} || {}`);setEvaluated(e,r,t)}})),mergeValues:(e,t)=>e===true?true:{...e,...t},resultToName:evaluatedPropsToName}),items:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,n._)`${r} !== true && ${t} !== undefined`,(()=>e.assign(r,(0,n._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`))),mergeToName:(e,t,r)=>e.if((0,n._)`${r} !== true`,(()=>e.assign(r,t===true?true:(0,n._)`${r} > ${t} ? ${r} : ${t}`))),mergeValues:(e,t)=>e===true?true:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function evaluatedPropsToName(e,t){if(t===true)return e.var("props",true);const r=e.var("props",(0,n._)`{}`);if(t!==undefined)setEvaluated(e,r,t);return r}t.evaluatedPropsToName=evaluatedPropsToName;function setEvaluated(e,t,r){Object.keys(r).forEach((r=>e.assign((0,n._)`${t}${(0,n.getProperty)(r)}`,true)))}t.setEvaluated=setEvaluated;const s={};function useFunc(e,t){return e.scopeValue("func",{ref:t,code:s[t.code]||(s[t.code]=new o._Code(t.code))})}t.useFunc=useFunc;var i;(function(e){e[e["Num"]=0]="Num";e[e["Str"]=1]="Str"})(i||(t.Type=i={}));function getErrorPath(e,t,r){if(e instanceof n.Name){const o=t===i.Num;return r?o?(0,n._)`"[" + ${e} + "]"`:(0,n._)`"['" + ${e} + "']"`:o?(0,n._)`"/" + ${e}`:(0,n._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,n.getProperty)(e).toString():"/"+escapeJsonPointer(e)}t.getErrorPath=getErrorPath;function checkStrictMode(e,t,r=e.opts.strictSchema){if(!r)return;t=`strict mode: ${t}`;if(r===true)throw new Error(t);e.self.logger.warn(t)}t.checkStrictMode=checkStrictMode},3627:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0;function schemaHasRulesForType({schema:e,self:t},r){const n=t.RULES.types[r];return n&&n!==true&&shouldUseGroup(e,n)}t.schemaHasRulesForType=schemaHasRulesForType;function shouldUseGroup(e,t){return t.rules.some((t=>shouldUseRule(e,t)))}t.shouldUseGroup=shouldUseGroup;function shouldUseRule(e,t){var r;return e[t.keyword]!==undefined||((r=t.definition.implements)===null||r===void 0?void 0:r.some((t=>e[t]!==undefined)))}t.shouldUseRule=shouldUseRule},6214:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n=r(6150);const o=r(9179);const s=r(50);const i={message:"boolean schema is false"};function topBoolOrEmptySchema(e){const{gen:t,schema:r,validateName:n}=e;if(r===false){falseSchemaError(e,false)}else if(typeof r=="object"&&r.$async===true){t.return(s.default.data)}else{t.assign((0,o._)`${n}.errors`,null);t.return(true)}}t.topBoolOrEmptySchema=topBoolOrEmptySchema;function boolOrEmptySchema(e,t){const{gen:r,schema:n}=e;if(n===false){r.var(t,false);falseSchemaError(e)}else{r.var(t,true)}}t.boolOrEmptySchema=boolOrEmptySchema;function falseSchemaError(e,t){const{gen:r,data:o}=e;const s={gen:r,keyword:"false schema",data:o,schema:false,schemaCode:false,schemaValue:false,params:{},it:e};(0,n.reportError)(s,i,undefined,t)}},7725:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const n=r(1785);const o=r(3627);const s=r(6150);const i=r(9179);const a=r(3439);var A;(function(e){e[e["Correct"]=0]="Correct";e[e["Wrong"]=1]="Wrong"})(A||(t.DataType=A={}));function getSchemaTypes(e){const t=getJSONTypes(e.type);const r=t.includes("null");if(r){if(e.nullable===false)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==undefined){throw new Error('"nullable" cannot be used without "type"')}if(e.nullable===true)t.push("null")}return t}t.getSchemaTypes=getSchemaTypes;function getJSONTypes(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(n.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}t.getJSONTypes=getJSONTypes;function coerceAndCheckDataType(e,t){const{gen:r,data:n,opts:s}=e;const i=coerceToTypes(t,s.coerceTypes);const a=t.length>0&&!(i.length===0&&t.length===1&&(0,o.schemaHasRulesForType)(e,t[0]));if(a){const o=checkDataTypes(t,n,s.strictNumbers,A.Wrong);r.if(o,(()=>{if(i.length)coerceData(e,t,i);else reportTypeError(e)}))}return a}t.coerceAndCheckDataType=coerceAndCheckDataType;const c=new Set(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){return t?e.filter((e=>c.has(e)||t==="array"&&e==="array")):[]}function coerceData(e,t,r){const{gen:n,data:o,opts:s}=e;const a=n.let("dataType",(0,i._)`typeof ${o}`);const A=n.let("coerced",(0,i._)`undefined`);if(s.coerceTypes==="array"){n.if((0,i._)`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>n.assign(o,(0,i._)`${o}[0]`).assign(a,(0,i._)`typeof ${o}`).if(checkDataTypes(t,o,s.strictNumbers),(()=>n.assign(A,o)))))}n.if((0,i._)`${A} !== undefined`);for(const e of r){if(c.has(e)||e==="array"&&s.coerceTypes==="array"){coerceSpecificType(e)}}n.else();reportTypeError(e);n.endIf();n.if((0,i._)`${A} !== undefined`,(()=>{n.assign(o,A);assignParentData(e,A)}));function coerceSpecificType(e){switch(e){case"string":n.elseIf((0,i._)`${a} == "number" || ${a} == "boolean"`).assign(A,(0,i._)`"" + ${o}`).elseIf((0,i._)`${o} === null`).assign(A,(0,i._)`""`);return;case"number":n.elseIf((0,i._)`${a} == "boolean" || ${o} === null || (${a} == "string" && ${o} && ${o} == +${o})`).assign(A,(0,i._)`+${o}`);return;case"integer":n.elseIf((0,i._)`${a} === "boolean" || ${o} === null || (${a} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(A,(0,i._)`+${o}`);return;case"boolean":n.elseIf((0,i._)`${o} === "false" || ${o} === 0 || ${o} === null`).assign(A,false).elseIf((0,i._)`${o} === "true" || ${o} === 1`).assign(A,true);return;case"null":n.elseIf((0,i._)`${o} === "" || ${o} === 0 || ${o} === false`);n.assign(A,null);return;case"array":n.elseIf((0,i._)`${a} === "string" || ${a} === "number" || ${a} === "boolean" || ${o} === null`).assign(A,(0,i._)`[${o}]`)}}}function assignParentData({gen:e,parentData:t,parentDataProperty:r},n){e.if((0,i._)`${t} !== undefined`,(()=>e.assign((0,i._)`${t}[${r}]`,n)))}function checkDataType(e,t,r,n=A.Correct){const o=n===A.Correct?i.operators.EQ:i.operators.NEQ;let s;switch(e){case"null":return(0,i._)`${t} ${o} null`;case"array":s=(0,i._)`Array.isArray(${t})`;break;case"object":s=(0,i._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=numCond((0,i._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=numCond();break;default:return(0,i._)`typeof ${t} ${o} ${e}`}return n===A.Correct?s:(0,i.not)(s);function numCond(e=i.nil){return(0,i.and)((0,i._)`typeof ${t} == "number"`,e,r?(0,i._)`isFinite(${t})`:i.nil)}}t.checkDataType=checkDataType;function checkDataTypes(e,t,r,n){if(e.length===1){return checkDataType(e[0],t,r,n)}let o;const s=(0,a.toHash)(e);if(s.array&&s.object){const e=(0,i._)`typeof ${t} != "object"`;o=s.null?e:(0,i._)`!${t} || ${e}`;delete s.null;delete s.array;delete s.object}else{o=i.nil}if(s.number)delete s.integer;for(const e in s)o=(0,i.and)(o,checkDataType(e,t,r,n));return o}t.checkDataTypes=checkDataTypes;const l={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,i._)`{type: ${e}}`:(0,i._)`{type: ${t}}`};function reportTypeError(e){const t=getTypeErrorContext(e);(0,s.reportError)(t,l)}t.reportTypeError=reportTypeError;function getTypeErrorContext(e){const{gen:t,data:r,schema:n}=e;const o=(0,a.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:o,schemaValue:o,parentSchema:n,params:{},it:e}}},9593:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.assignDefaults=void 0;const n=r(9179);const o=r(3439);function assignDefaults(e,t){const{properties:r,items:n}=e.schema;if(t==="object"&&r){for(const t in r){assignDefault(e,t,r[t].default)}}else if(t==="array"&&Array.isArray(n)){n.forEach(((t,r)=>assignDefault(e,r,t.default)))}}t.assignDefaults=assignDefaults;function assignDefault(e,t,r){const{gen:s,compositeRule:i,data:a,opts:A}=e;if(r===undefined)return;const c=(0,n._)`${a}${(0,n.getProperty)(t)}`;if(i){(0,o.checkStrictMode)(e,`default is ignored for: ${c}`);return}let l=(0,n._)`${c} === undefined`;if(A.useDefaults==="empty"){l=(0,n._)`${l} || ${c} === null || ${c} === ""`}s.if(l,(0,n._)`${c} = ${(0,n.stringify)(r)}`)}},8955:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const n=r(6214);const o=r(7725);const s=r(3627);const i=r(7725);const a=r(9593);const A=r(8732);const c=r(3896);const l=r(9179);const u=r(50);const d=r(6646);const g=r(3439);const f=r(6150);function validateFunctionCode(e){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){topSchemaObjCode(e);return}}validateFunction(e,(()=>(0,n.topBoolOrEmptySchema)(e)))}t.validateFunctionCode=validateFunctionCode;function validateFunction({gen:e,validateName:t,schema:r,schemaEnv:n,opts:o},s){if(o.code.es5){e.func(t,(0,l._)`${u.default.data}, ${u.default.valCxt}`,n.$async,(()=>{e.code((0,l._)`"use strict"; ${funcSourceUrl(r,o)}`);destructureValCxtES5(e,o);e.code(s)}))}else{e.func(t,(0,l._)`${u.default.data}, ${destructureValCxt(o)}`,n.$async,(()=>e.code(funcSourceUrl(r,o)).code(s)))}}function destructureValCxt(e){return(0,l._)`{${u.default.instancePath}="", ${u.default.parentData}, ${u.default.parentDataProperty}, ${u.default.rootData}=${u.default.data}${e.dynamicRef?(0,l._)`, ${u.default.dynamicAnchors}={}`:l.nil}}={}`}function destructureValCxtES5(e,t){e.if(u.default.valCxt,(()=>{e.var(u.default.instancePath,(0,l._)`${u.default.valCxt}.${u.default.instancePath}`);e.var(u.default.parentData,(0,l._)`${u.default.valCxt}.${u.default.parentData}`);e.var(u.default.parentDataProperty,(0,l._)`${u.default.valCxt}.${u.default.parentDataProperty}`);e.var(u.default.rootData,(0,l._)`${u.default.valCxt}.${u.default.rootData}`);if(t.dynamicRef)e.var(u.default.dynamicAnchors,(0,l._)`${u.default.valCxt}.${u.default.dynamicAnchors}`)}),(()=>{e.var(u.default.instancePath,(0,l._)`""`);e.var(u.default.parentData,(0,l._)`undefined`);e.var(u.default.parentDataProperty,(0,l._)`undefined`);e.var(u.default.rootData,u.default.data);if(t.dynamicRef)e.var(u.default.dynamicAnchors,(0,l._)`{}`)}))}function topSchemaObjCode(e){const{schema:t,opts:r,gen:n}=e;validateFunction(e,(()=>{if(r.$comment&&t.$comment)commentKeyword(e);checkNoDefault(e);n.let(u.default.vErrors,null);n.let(u.default.errors,0);if(r.unevaluated)resetEvaluated(e);typeAndKeywords(e);returnResults(e)}));return}function resetEvaluated(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,l._)`${r}.evaluated`);t.if((0,l._)`${e.evaluated}.dynamicProps`,(()=>t.assign((0,l._)`${e.evaluated}.props`,(0,l._)`undefined`)));t.if((0,l._)`${e.evaluated}.dynamicItems`,(()=>t.assign((0,l._)`${e.evaluated}.items`,(0,l._)`undefined`)))}function funcSourceUrl(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,l._)`/*# sourceURL=${r} */`:l.nil}function subschemaCode(e,t){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){subSchemaObjCode(e,t);return}}(0,n.boolOrEmptySchema)(e,t)}function schemaCxtHasRules({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const r in e)if(t.RULES.all[r])return true;return false}function isSchemaObj(e){return typeof e.schema!="boolean"}function subSchemaObjCode(e,t){const{schema:r,gen:n,opts:o}=e;if(o.$comment&&r.$comment)commentKeyword(e);updateContext(e);checkAsyncSchema(e);const s=n.const("_errs",u.default.errors);typeAndKeywords(e,s);n.var(t,(0,l._)`${s} === ${u.default.errors}`)}function checkKeywords(e){(0,g.checkUnknownRules)(e);checkRefsAndKeywords(e)}function typeAndKeywords(e,t){if(e.opts.jtd)return schemaKeywords(e,[],false,t);const r=(0,o.getSchemaTypes)(e.schema);const n=(0,o.coerceAndCheckDataType)(e,r);schemaKeywords(e,r,!n,t)}function checkRefsAndKeywords(e){const{schema:t,errSchemaPath:r,opts:n,self:o}=e;if(t.$ref&&n.ignoreKeywordsWithRef&&(0,g.schemaHasRulesButRef)(t,o.RULES)){o.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}}function checkNoDefault(e){const{schema:t,opts:r}=e;if(t.default!==undefined&&r.useDefaults&&r.strictSchema){(0,g.checkStrictMode)(e,"default is ignored in the schema root")}}function updateContext(e){const t=e.schema[e.opts.schemaId];if(t)e.baseId=(0,d.resolveUrl)(e.opts.uriResolver,e.baseId,t)}function checkAsyncSchema(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function commentKeyword({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:o}){const s=r.$comment;if(o.$comment===true){e.code((0,l._)`${u.default.self}.logger.log(${s})`)}else if(typeof o.$comment=="function"){const r=(0,l.str)`${n}/$comment`;const o=e.scopeValue("root",{ref:t.root});e.code((0,l._)`${u.default.self}.opts.$comment(${s}, ${r}, ${o}.schema)`)}}function returnResults(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:o,opts:s}=e;if(r.$async){t.if((0,l._)`${u.default.errors} === 0`,(()=>t.return(u.default.data)),(()=>t.throw((0,l._)`new ${o}(${u.default.vErrors})`)))}else{t.assign((0,l._)`${n}.errors`,u.default.vErrors);if(s.unevaluated)assignEvaluated(e);t.return((0,l._)`${u.default.errors} === 0`)}}function assignEvaluated({gen:e,evaluated:t,props:r,items:n}){if(r instanceof l.Name)e.assign((0,l._)`${t}.props`,r);if(n instanceof l.Name)e.assign((0,l._)`${t}.items`,n)}function schemaKeywords(e,t,r,n){const{gen:o,schema:a,data:A,allErrors:c,opts:d,self:f}=e;const{RULES:h}=f;if(a.$ref&&(d.ignoreKeywordsWithRef||!(0,g.schemaHasRulesButRef)(a,h))){o.block((()=>keywordCode(e,"$ref",h.all.$ref.definition)));return}if(!d.jtd)checkStrictTypes(e,t);o.block((()=>{for(const e of h.rules)groupKeywords(e);groupKeywords(h.post)}));function groupKeywords(g){if(!(0,s.shouldUseGroup)(a,g))return;if(g.type){o.if((0,i.checkDataType)(g.type,A,d.strictNumbers));iterateKeywords(e,g);if(t.length===1&&t[0]===g.type&&r){o.else();(0,i.reportTypeError)(e)}o.endIf()}else{iterateKeywords(e,g)}if(!c)o.if((0,l._)`${u.default.errors} === ${n||0}`)}}function iterateKeywords(e,t){const{gen:r,schema:n,opts:{useDefaults:o}}=e;if(o)(0,a.assignDefaults)(e,t.type);r.block((()=>{for(const r of t.rules){if((0,s.shouldUseRule)(n,r)){keywordCode(e,r.keyword,r.definition,t.type)}}}))}function checkStrictTypes(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;checkContextTypes(e,t);if(!e.opts.allowUnionTypes)checkMultipleTypes(e,t);checkKeywordTypes(e,e.dataTypes)}function checkContextTypes(e,t){if(!t.length)return;if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach((t=>{if(!includesType(e.dataTypes,t)){strictTypesError(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}}));narrowSchemaTypes(e,t)}function checkMultipleTypes(e,t){if(t.length>1&&!(t.length===2&&t.includes("null"))){strictTypesError(e,"use allowUnionTypes to allow union type keyword")}}function checkKeywordTypes(e,t){const r=e.self.RULES.all;for(const n in r){const o=r[n];if(typeof o=="object"&&(0,s.shouldUseRule)(e.schema,o)){const{type:r}=o.definition;if(r.length&&!r.some((e=>hasApplicableType(t,e)))){strictTypesError(e,`missing type "${r.join(",")}" for keyword "${n}"`)}}}}function hasApplicableType(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function includesType(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function narrowSchemaTypes(e,t){const r=[];for(const n of e.dataTypes){if(includesType(t,n))r.push(n);else if(t.includes("integer")&&n==="number")r.push("integer")}e.dataTypes=r}function strictTypesError(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`;(0,g.checkStrictMode)(e,t,e.opts.strictTypes)}class KeywordCxt{constructor(e,t,r){(0,A.validateKeywordUsage)(e,t,r);this.gen=e.gen;this.allErrors=e.allErrors;this.keyword=r;this.data=e.data;this.schema=e.schema[r];this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data;this.schemaValue=(0,g.schemaRefOrVal)(e,this.schema,r,this.$data);this.schemaType=t.schemaType;this.parentSchema=e.schema;this.params={};this.it=e;this.def=t;if(this.$data){this.schemaCode=e.gen.const("vSchema",getData(this.$data,e))}else{this.schemaCode=this.schemaValue;if(!(0,A.validSchemaType)(this.schema,t.schemaType,t.allowUndefined)){throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`)}}if("code"in t?t.trackErrors:t.errors!==false){this.errsCount=e.gen.const("_errs",u.default.errors)}}result(e,t,r){this.failResult((0,l.not)(e),t,r)}failResult(e,t,r){this.gen.if(e);if(r)r();else this.error();if(t){this.gen.else();t();if(this.allErrors)this.gen.endIf()}else{if(this.allErrors)this.gen.endIf();else this.gen.else()}}pass(e,t){this.failResult((0,l.not)(e),undefined,t)}fail(e){if(e===undefined){this.error();if(!this.allErrors)this.gen.if(false);return}this.gen.if(e);this.error();if(this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail((0,l._)`${t} !== undefined && (${(0,l.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t){this.setParams(t);this._error(e,r);this.setParams({});return}this._error(e,r)}_error(e,t){(e?f.reportExtraError:f.reportError)(this,this.def.error,t)}$dataError(){(0,f.reportError)(this,this.def.$dataError||f.keyword$DataError)}reset(){if(this.errsCount===undefined)throw new Error('add "trackErrors" to keyword definition');(0,f.resetErrorsCount)(this.gen,this.errsCount)}ok(e){if(!this.allErrors)this.gen.if(e)}setParams(e,t){if(t)Object.assign(this.params,e);else this.params=e}block$data(e,t,r=l.nil){this.gen.block((()=>{this.check$data(e,r);t()}))}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:r,schemaCode:n,schemaType:o,def:s}=this;r.if((0,l.or)((0,l._)`${n} === undefined`,t));if(e!==l.nil)r.assign(e,true);if(o.length||s.validateSchema){r.elseIf(this.invalid$data());this.$dataError();if(e!==l.nil)r.assign(e,false)}r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:n,it:o}=this;return(0,l.or)(wrong$DataType(),invalid$DataSchema());function wrong$DataType(){if(r.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return(0,l._)`${(0,i.checkDataTypes)(e,t,o.opts.strictNumbers,i.DataType.Wrong)}`}return l.nil}function invalid$DataSchema(){if(n.validateSchema){const r=e.scopeValue("validate$data",{ref:n.validateSchema});return(0,l._)`!${r}(${t})`}return l.nil}}subschema(e,t){const r=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(r,this.it,e);(0,c.extendSubschemaMode)(r,e);const n={...this.it,...r,items:undefined,props:undefined};subschemaCode(n,t);return n}mergeEvaluated(e,t){const{it:r,gen:n}=this;if(!r.opts.unevaluated)return;if(r.props!==true&&e.props!==undefined){r.props=g.mergeEvaluated.props(n,e.props,r.props,t)}if(r.items!==true&&e.items!==undefined){r.items=g.mergeEvaluated.items(n,e.items,r.items,t)}}mergeValidEvaluated(e,t){const{it:r,gen:n}=this;if(r.opts.unevaluated&&(r.props!==true||r.items!==true)){n.if(t,(()=>this.mergeEvaluated(e,l.Name)));return true}}}t.KeywordCxt=KeywordCxt;function keywordCode(e,t,r,n){const o=new KeywordCxt(e,r,t);if("code"in r){r.code(o,n)}else if(o.$data&&r.validate){(0,A.funcKeywordCode)(o,r)}else if("macro"in r){(0,A.macroKeywordCode)(o,r)}else if(r.compile||r.validate){(0,A.funcKeywordCode)(o,r)}}const h=/^\/(?:[^~]|~0|~1)*$/;const p=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let o;let s;if(e==="")return u.default.rootData;if(e[0]==="/"){if(!h.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e;s=u.default.rootData}else{const i=p.exec(e);if(!i)throw new Error(`Invalid JSON-pointer: ${e}`);const a=+i[1];o=i[2];if(o==="#"){if(a>=t)throw new Error(errorMsg("property/index",a));return n[t-a]}if(a>t)throw new Error(errorMsg("data",a));s=r[t-a];if(!o)return s}let i=s;const a=o.split("/");for(const e of a){if(e){s=(0,l._)`${s}${(0,l.getProperty)((0,g.unescapeJsonPointer)(e))}`;i=(0,l._)`${i} && ${s}`}}return i;function errorMsg(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=getData},8732:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const n=r(9179);const o=r(50);const s=r(4205);const i=r(6150);function macroKeywordCode(e,t){const{gen:r,keyword:o,schema:s,parentSchema:i,it:a}=e;const A=t.macro.call(a.self,s,i,a);const c=useKeyword(r,o,A);if(a.opts.validateSchema!==false)a.self.validateSchema(A,true);const l=r.name("valid");e.subschema({schema:A,schemaPath:n.nil,errSchemaPath:`${a.errSchemaPath}/${o}`,topSchemaRef:c,compositeRule:true},l);e.pass(l,(()=>e.error(true)))}t.macroKeywordCode=macroKeywordCode;function funcKeywordCode(e,t){var r;const{gen:i,keyword:a,schema:A,parentSchema:c,$data:l,it:u}=e;checkAsyncKeyword(u,t);const d=!l&&t.compile?t.compile.call(u.self,A,c,u):t.validate;const g=useKeyword(i,a,d);const f=i.let("valid");e.block$data(f,validateKeyword);e.ok((r=t.valid)!==null&&r!==void 0?r:f);function validateKeyword(){if(t.errors===false){assignValid();if(t.modifying)modifyData(e);reportErrs((()=>e.error()))}else{const r=t.async?validateAsync():validateSync();if(t.modifying)modifyData(e);reportErrs((()=>addErrs(e,r)))}}function validateAsync(){const e=i.let("ruleErrs",null);i.try((()=>assignValid((0,n._)`await `)),(t=>i.assign(f,false).if((0,n._)`${t} instanceof ${u.ValidationError}`,(()=>i.assign(e,(0,n._)`${t}.errors`)),(()=>i.throw(t)))));return e}function validateSync(){const e=(0,n._)`${g}.errors`;i.assign(e,null);assignValid(n.nil);return e}function assignValid(r=(t.async?(0,n._)`await `:n.nil)){const a=u.opts.passContext?o.default.this:o.default.self;const A=!("compile"in t&&!l||t.schema===false);i.assign(f,(0,n._)`${r}${(0,s.callValidateCode)(e,g,a,A)}`,t.modifying)}function reportErrs(e){var r;i.if((0,n.not)((r=t.valid)!==null&&r!==void 0?r:f),e)}}t.funcKeywordCode=funcKeywordCode;function modifyData(e){const{gen:t,data:r,it:o}=e;t.if(o.parentData,(()=>t.assign(r,(0,n._)`${o.parentData}[${o.parentDataProperty}]`)))}function addErrs(e,t){const{gen:r}=e;r.if((0,n._)`Array.isArray(${t})`,(()=>{r.assign(o.default.vErrors,(0,n._)`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,(0,n._)`${o.default.vErrors}.length`);(0,i.extendErrors)(e)}),(()=>e.error()))}function checkAsyncKeyword({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function useKeyword(e,t,r){if(r===undefined)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,n.stringify)(r)})}function validSchemaType(e,t,r=false){return!t.length||t.some((t=>t==="array"?Array.isArray(e):t==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==t||r&&typeof e=="undefined"))}t.validSchemaType=validSchemaType;function validateKeywordUsage({schema:e,opts:t,self:r,errSchemaPath:n},o,s){if(Array.isArray(o.keyword)?!o.keyword.includes(s):o.keyword!==s){throw new Error("ajv implementation error")}const i=o.dependencies;if(i===null||i===void 0?void 0:i.some((t=>!Object.prototype.hasOwnProperty.call(e,t)))){throw new Error(`parent schema must have dependencies of ${s}: ${i.join(",")}`)}if(o.validateSchema){const i=o.validateSchema(e[s]);if(!i){const e=`keyword "${s}" value is invalid at path "${n}": `+r.errorsText(o.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(e);else throw new Error(e)}}}t.validateKeywordUsage=validateKeywordUsage},3896:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const n=r(9179);const o=r(3439);function getSubschema(e,{keyword:t,schemaProp:r,schema:s,schemaPath:i,errSchemaPath:a,topSchemaRef:A}){if(t!==undefined&&s!==undefined){throw new Error('both "keyword" and "schema" passed, only one allowed')}if(t!==undefined){const s=e.schema[t];return r===undefined?{schema:s,schemaPath:(0,n._)`${e.schemaPath}${(0,n.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:(0,n._)`${e.schemaPath}${(0,n.getProperty)(t)}${(0,n.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(r)}`}}if(s!==undefined){if(i===undefined||a===undefined||A===undefined){throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"')}return{schema:s,schemaPath:i,topSchemaRef:A,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}t.getSubschema=getSubschema;function extendSubschemaData(e,t,{dataProp:r,dataPropType:s,data:i,dataTypes:a,propertyName:A}){if(i!==undefined&&r!==undefined){throw new Error('both "data" and "dataProp" passed, only one allowed')}const{gen:c}=t;if(r!==undefined){const{errorPath:i,dataPathArr:a,opts:A}=t;const l=c.let("data",(0,n._)`${t.data}${(0,n.getProperty)(r)}`,true);dataContextProps(l);e.errorPath=(0,n.str)`${i}${(0,o.getErrorPath)(r,s,A.jsPropertySyntax)}`;e.parentDataProperty=(0,n._)`${r}`;e.dataPathArr=[...a,e.parentDataProperty]}if(i!==undefined){const t=i instanceof n.Name?i:c.let("data",i,true);dataContextProps(t);if(A!==undefined)e.propertyName=A}if(a)e.dataTypes=a;function dataContextProps(r){e.data=r;e.dataLevel=t.dataLevel+1;e.dataTypes=[];t.definedProperties=new Set;e.parentData=t.data;e.dataNames=[...t.dataNames,r]}}t.extendSubschemaData=extendSubschemaData;function extendSubschemaMode(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:o,allErrors:s}){if(n!==undefined)e.compositeRule=n;if(o!==undefined)e.createErrors=o;if(s!==undefined)e.allErrors=s;e.jtdDiscriminator=t;e.jtdMetadata=r}t.extendSubschemaMode=extendSubschemaMode},2685:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=r(8955);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return n.KeywordCxt}});var o=r(9179);Object.defineProperty(t,"_",{enumerable:true,get:function(){return o._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return o.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return o.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return o.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return o.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return o.CodeGen}});const s=r(7616);const i=r(8190);const a=r(1785);const A=r(813);const c=r(9179);const l=r(6646);const u=r(7725);const d=r(3439);const g=r(4775);const f=r(661);const defaultRegExp=(e,t)=>new RegExp(e,t);defaultRegExp.code="new RegExp";const h=["removeAdditional","useDefaults","coerceTypes"];const p=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]);const E={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."};const C={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};const m=200;function requiredOptions(e){var t,r,n,o,s,i,a,A,c,l,u,d,g,h,p,E,C,I,y,Q,B,v,b,w,S;const R=e.strict;const D=(t=e.code)===null||t===void 0?void 0:t.optimize;const k=D===true||D===undefined?1:D||0;const N=(n=(r=e.code)===null||r===void 0?void 0:r.regExp)!==null&&n!==void 0?n:defaultRegExp;const F=(o=e.uriResolver)!==null&&o!==void 0?o:f.default;return{strictSchema:(i=(s=e.strictSchema)!==null&&s!==void 0?s:R)!==null&&i!==void 0?i:true,strictNumbers:(A=(a=e.strictNumbers)!==null&&a!==void 0?a:R)!==null&&A!==void 0?A:true,strictTypes:(l=(c=e.strictTypes)!==null&&c!==void 0?c:R)!==null&&l!==void 0?l:"log",strictTuples:(d=(u=e.strictTuples)!==null&&u!==void 0?u:R)!==null&&d!==void 0?d:"log",strictRequired:(h=(g=e.strictRequired)!==null&&g!==void 0?g:R)!==null&&h!==void 0?h:false,code:e.code?{...e.code,optimize:k,regExp:N}:{optimize:k,regExp:N},loopRequired:(p=e.loopRequired)!==null&&p!==void 0?p:m,loopEnum:(E=e.loopEnum)!==null&&E!==void 0?E:m,meta:(C=e.meta)!==null&&C!==void 0?C:true,messages:(I=e.messages)!==null&&I!==void 0?I:true,inlineRefs:(y=e.inlineRefs)!==null&&y!==void 0?y:true,schemaId:(Q=e.schemaId)!==null&&Q!==void 0?Q:"$id",addUsedSchema:(B=e.addUsedSchema)!==null&&B!==void 0?B:true,validateSchema:(v=e.validateSchema)!==null&&v!==void 0?v:true,validateFormats:(b=e.validateFormats)!==null&&b!==void 0?b:true,unicodeRegExp:(w=e.unicodeRegExp)!==null&&w!==void 0?w:true,int32range:(S=e.int32range)!==null&&S!==void 0?S:true,uriResolver:F}}class Ajv{constructor(e={}){this.schemas={};this.refs={};this.formats={};this._compilations=new Set;this._loading={};this._cache=new Map;e=this.opts={...e,...requiredOptions(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:p,es5:t,lines:r});this.logger=getLogger(e.logger);const n=e.validateFormats;e.validateFormats=false;this.RULES=(0,a.getRules)();checkOptions.call(this,E,e,"NOT SUPPORTED");checkOptions.call(this,C,e,"DEPRECATED","warn");this._metaOpts=getMetaSchemaOptions.call(this);if(e.formats)addInitialFormats.call(this);this._addVocabularies();this._addDefaultMetaSchema();if(e.keywords)addInitialKeywords.call(this,e.keywords);if(typeof e.meta=="object")this.addMetaSchema(e.meta);addInitialSchemas.call(this);e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let n=g;if(r==="id"){n={...g};n.id=n.$id;delete n.$id}if(t&&e)this.addMetaSchema(n,n[r],false)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[t]||e:undefined}validate(e,t){let r;if(typeof e=="string"){r=this.getSchema(e);if(!r)throw new Error(`no schema with key or ref "${e}"`)}else{r=this.compile(e)}const n=r(t);if(!("$async"in r))this.errors=r.errors;return n}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if(typeof this.opts.loadSchema!="function"){throw new Error("options.loadSchema should be a function")}const{loadSchema:r}=this.opts;return runCompileAsync.call(this,e,t);async function runCompileAsync(e,t){await loadMetaSchema.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||_compileAsync.call(this,r)}async function loadMetaSchema(e){if(e&&!this.getSchema(e)){await runCompileAsync.call(this,{$ref:e},true)}}async function _compileAsync(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof i.default))throw t;checkLoaded.call(this,t);await loadMissingSchema.call(this,t.missingSchema);return _compileAsync.call(this,e)}}function checkLoaded({missingSchema:e,missingRef:t}){if(this.refs[e]){throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}}async function loadMissingSchema(e){const r=await _loadSchema.call(this,e);if(!this.refs[e])await loadMetaSchema.call(this,r.$schema);if(!this.refs[e])this.addSchema(r,e,t)}async function _loadSchema(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,n=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,undefined,r,n);return this}let o;if(typeof e==="object"){const{schemaId:t}=this.opts;o=e[t];if(o!==undefined&&typeof o!="string"){throw new Error(`schema ${t} must be string`)}}t=(0,l.normalizeId)(t||o);this._checkUnique(t);this.schemas[t]=this._addSchema(e,r,t,n,true);return this}addMetaSchema(e,t,r=this.opts.validateSchema){this.addSchema(e,t,true,r);return this}validateSchema(e,t){if(typeof e=="boolean")return true;let r;r=e.$schema;if(r!==undefined&&typeof r!="string"){throw new Error("$schema must be a string")}r=r||this.opts.defaultMeta||this.defaultMeta();if(!r){this.logger.warn("meta-schema not available");this.errors=null;return true}const n=this.validate(r,e);if(!n&&t){const e="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(e);else throw new Error(e)}return n}getSchema(e){let t;while(typeof(t=getSchEnv.call(this,e))=="string")e=t;if(t===undefined){const{schemaId:r}=this.opts;const n=new A.SchemaEnv({schema:{},schemaId:r});t=A.resolveSchema.call(this,n,e);if(!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp){this._removeAllSchemas(this.schemas,e);this._removeAllSchemas(this.refs,e);return this}switch(typeof e){case"undefined":this._removeAllSchemas(this.schemas);this._removeAllSchemas(this.refs);this._cache.clear();return this;case"string":{const t=getSchEnv.call(this,e);if(typeof t=="object")this._cache.delete(t.schema);delete this.schemas[e];delete this.refs[e];return this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];if(r){r=(0,l.normalizeId)(r);delete this.schemas[r];delete this.refs[r]}return this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if(typeof e=="string"){r=e;if(typeof t=="object"){this.logger.warn("these parameters are deprecated, see docs for addKeyword");t.keyword=r}}else if(typeof e=="object"&&t===undefined){t=e;r=t.keyword;if(Array.isArray(r)&&!r.length){throw new Error("addKeywords: keyword must be string or non-empty array")}}else{throw new Error("invalid addKeywords parameters")}checkKeyword.call(this,r,t);if(!t){(0,d.eachItem)(r,(e=>addRule.call(this,e)));return this}keywordMetaschema.call(this,t);const n={...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)};(0,d.eachItem)(r,n.type.length===0?e=>addRule.call(this,e,n):e=>n.type.forEach((t=>addRule.call(this,e,n,t))));return this}getKeyword(e){const t=this.RULES.all[e];return typeof t=="object"?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e];delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex((t=>t.keyword===e));if(t>=0)r.rules.splice(t,1)}return this}addFormat(e,t){if(typeof t=="string")t=new RegExp(t);this.formats[e]=t;return this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){if(!e||e.length===0)return"No errors";return e.map((e=>`${r}${e.instancePath} ${e.message}`)).reduce(((e,r)=>e+t+r))}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in r){const t=r[e];if(typeof t!="object")continue;const{$data:n}=t.definition;const s=o[e];if(n&&s)o[e]=schemaOrData(s)}}return e}_removeAllSchemas(e,t){for(const r in e){const n=e[r];if(!t||t.test(r)){if(typeof n=="string"){delete e[r]}else if(n&&!n.meta){this._cache.delete(n.schema);delete e[r]}}}}_addSchema(e,t,r,n=this.opts.validateSchema,o=this.opts.addUsedSchema){let s;const{schemaId:i}=this.opts;if(typeof e=="object"){s=e[i]}else{if(this.opts.jtd)throw new Error("schema must be object");else if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let a=this._cache.get(e);if(a!==undefined)return a;r=(0,l.normalizeId)(s||r);const c=l.getSchemaRefs.call(this,e,r);a=new A.SchemaEnv({schema:e,schemaId:i,meta:t,baseId:r,localRefs:c});this._cache.set(a.schema,a);if(o&&!r.startsWith("#")){if(r)this._checkUnique(r);this.refs[r]=a}if(n)this.validateSchema(e,true);return a}_checkUnique(e){if(this.schemas[e]||this.refs[e]){throw new Error(`schema with key or id "${e}" already exists`)}}_compileSchemaEnv(e){if(e.meta)this._compileMetaSchema(e);else A.compileSchema.call(this,e);if(!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{A.compileSchema.call(this,e)}finally{this.opts=t}}}Ajv.ValidationError=s.default;Ajv.MissingRefError=i.default;t["default"]=Ajv;function checkOptions(e,t,r,n="error"){for(const o in e){const s=o;if(s in t)this.logger[n](`${r}: option ${o}. ${e[s]}`)}}function getSchEnv(e){e=(0,l.normalizeId)(e);return this.schemas[e]||this.refs[e]}function addInitialSchemas(){const e=this.opts.schemas;if(!e)return;if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function addInitialFormats(){for(const e in this.opts.formats){const t=this.opts.formats[e];if(t)this.addFormat(e,t)}}function addInitialKeywords(e){if(Array.isArray(e)){this.addVocabulary(e);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];if(!r.keyword)r.keyword=t;this.addKeyword(r)}}function getMetaSchemaOptions(){const e={...this.opts};for(const t of h)delete e[t];return e}const I={log(){},warn(){},error(){}};function getLogger(e){if(e===false)return I;if(e===undefined)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}const y=/^[a-z_$][a-z0-9_$:-]*$/i;function checkKeyword(e,t){const{RULES:r}=this;(0,d.eachItem)(e,(e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!y.test(e))throw new Error(`Keyword ${e} has invalid name`)}));if(!t)return;if(t.$data&&!("code"in t||"validate"in t)){throw new Error('$data keyword must have "code" or "validate" function')}}function addRule(e,t,r){var n;const o=t===null||t===void 0?void 0:t.post;if(r&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:s}=this;let i=o?s.post:s.rules.find((({type:e})=>e===r));if(!i){i={type:r,rules:[]};s.rules.push(i)}s.keywords[e]=true;if(!t)return;const a={keyword:e,definition:{...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)}};if(t.before)addBeforeRule.call(this,i,a,t.before);else i.rules.push(a);s.all[e]=a;(n=t.implements)===null||n===void 0?void 0:n.forEach((e=>this.addKeyword(e)))}function addBeforeRule(e,t,r){const n=e.rules.findIndex((e=>e.keyword===r));if(n>=0){e.rules.splice(n,0,t)}else{e.rules.push(t);this.logger.warn(`rule ${r} is not defined`)}}function keywordMetaschema(e){let{metaSchema:t}=e;if(t===undefined)return;if(e.$data&&this.opts.$data)t=schemaOrData(t);e.validateSchema=this.compile(t,true)}const Q={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function schemaOrData(e){return{anyOf:[e,Q]}}},5207:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(3329);const o=r(8161);const s=r(7114);const i=r(484);const a=r(877);const A=r(5032);const c=r(2374);const l=["/properties"];function addMetaSchema2019(e){[n,o,s,i,with$data(this,a),A,with$data(this,c)].forEach((e=>this.addMetaSchema(e,undefined,false)));return this;function with$data(t,r){return e?t.$dataMetaSchema(r,l):r}}t["default"]=addMetaSchema2019},3809:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(8206);n.code='require("ajv/dist/runtime/equal").default';t["default"]=n},2470:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function ucs2length(e){const t=e.length;let r=0;let n=0;let o;while(n=55296&&o<=56319&&n{Object.defineProperty(t,"__esModule",{value:true});const n=r(20);n.code='require("ajv/dist/runtime/uri").default';t["default"]=n},7616:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});class ValidationError extends Error{constructor(e){super("validation failed");this.errors=e;this.ajv=this.validation=true}}t["default"]=ValidationError},4720:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateAdditionalItems=void 0;const n=r(9179);const o=r(3439);const s={message:({params:{len:e}})=>(0,n.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,n._)`{limit: ${e}}`};const i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:s,code(e){const{parentSchema:t,it:r}=e;const{items:n}=t;if(!Array.isArray(n)){(0,o.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}validateAdditionalItems(e,n)}};function validateAdditionalItems(e,t){const{gen:r,schema:s,data:i,keyword:a,it:A}=e;A.items=true;const c=r.const("len",(0,n._)`${i}.length`);if(s===false){e.setParams({len:t.length});e.pass((0,n._)`${c} <= ${t.length}`)}else if(typeof s=="object"&&!(0,o.alwaysValidSchema)(A,s)){const o=r.var("valid",(0,n._)`${c} <= ${t.length}`);r.if((0,n.not)(o),(()=>validateItems(o)));e.ok(o)}function validateItems(s){r.forRange("i",t.length,c,(t=>{e.subschema({keyword:a,dataProp:t,dataPropType:o.Type.Num},s);if(!A.allErrors)r.if((0,n.not)(s),(()=>r.break()))}))}}t.validateAdditionalItems=validateAdditionalItems;t["default"]=i},3481:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(4205);const o=r(9179);const s=r(50);const i=r(3439);const a={message:"must NOT have additional properties",params:({params:e})=>(0,o._)`{additionalProperty: ${e.additionalProperty}}`};const A={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:true,trackErrors:true,error:a,code(e){const{gen:t,schema:r,parentSchema:a,data:A,errsCount:c,it:l}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:u,opts:d}=l;l.props=true;if(d.removeAdditional!=="all"&&(0,i.alwaysValidSchema)(l,r))return;const g=(0,n.allSchemaProperties)(a.properties);const f=(0,n.allSchemaProperties)(a.patternProperties);checkAdditionalProperties();e.ok((0,o._)`${c} === ${s.default.errors}`);function checkAdditionalProperties(){t.forIn("key",A,(e=>{if(!g.length&&!f.length)additionalPropertyCode(e);else t.if(isAdditional(e),(()=>additionalPropertyCode(e)))}))}function isAdditional(r){let s;if(g.length>8){const e=(0,i.schemaRefOrVal)(l,a.properties,"properties");s=(0,n.isOwnProperty)(t,e,r)}else if(g.length){s=(0,o.or)(...g.map((e=>(0,o._)`${r} === ${e}`)))}else{s=o.nil}if(f.length){s=(0,o.or)(s,...f.map((t=>(0,o._)`${(0,n.usePattern)(e,t)}.test(${r})`)))}return(0,o.not)(s)}function deleteAdditional(e){t.code((0,o._)`delete ${A}[${e}]`)}function additionalPropertyCode(n){if(d.removeAdditional==="all"||d.removeAdditional&&r===false){deleteAdditional(n);return}if(r===false){e.setParams({additionalProperty:n});e.error();if(!u)t.break();return}if(typeof r=="object"&&!(0,i.alwaysValidSchema)(l,r)){const r=t.name("valid");if(d.removeAdditional==="failing"){applyAdditionalSchema(n,r,false);t.if((0,o.not)(r),(()=>{e.reset();deleteAdditional(n)}))}else{applyAdditionalSchema(n,r);if(!u)t.if((0,o.not)(r),(()=>t.break()))}}}function applyAdditionalSchema(t,r,n){const o={keyword:"additionalProperties",dataProp:t,dataPropType:i.Type.Str};if(n===false){Object.assign(o,{compositeRule:true,createErrors:false,allErrors:false})}e.subschema(o,r)}}};t["default"]=A},8406:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(3439);const o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const s=t.name("valid");r.forEach(((t,r)=>{if((0,n.alwaysValidSchema)(o,t))return;const i=e.subschema({keyword:"allOf",schemaProp:r},s);e.ok(s);e.mergeEvaluated(i)}))}};t["default"]=o},8168:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(4205);const o={keyword:"anyOf",schemaType:"array",trackErrors:true,code:n.validateUnion,error:{message:"must match a schema in anyOf"}};t["default"]=o},9535:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const n=r(9179);const o=r(3439);const s={message:({params:{min:e,max:t}})=>t===undefined?(0,n.str)`must contain at least ${e} valid item(s)`:(0,n.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===undefined?(0,n._)`{minContains: ${e}}`:(0,n._)`{minContains: ${e}, maxContains: ${t}}`};const i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:true,error:s,code(e){const{gen:t,schema:r,parentSchema:s,data:i,it:a}=e;let A;let c;const{minContains:l,maxContains:u}=s;if(a.opts.next){A=l===undefined?1:l;c=u}else{A=1}const d=t.const("len",(0,n._)`${i}.length`);e.setParams({min:A,max:c});if(c===undefined&&A===0){(0,o.checkStrictMode)(a,`"minContains" == 0 without "maxContains": "contains" keyword ignored`);return}if(c!==undefined&&A>c){(0,o.checkStrictMode)(a,`"minContains" > "maxContains" is always invalid`);e.fail();return}if((0,o.alwaysValidSchema)(a,r)){let t=(0,n._)`${d} >= ${A}`;if(c!==undefined)t=(0,n._)`${t} && ${d} <= ${c}`;e.pass(t);return}a.items=true;const g=t.name("valid");if(c===undefined&&A===1){validateItems(g,(()=>t.if(g,(()=>t.break()))))}else if(A===0){t.let(g,true);if(c!==undefined)t.if((0,n._)`${i}.length > 0`,validateItemsWithCount)}else{t.let(g,false);validateItemsWithCount()}e.result(g,(()=>e.reset()));function validateItemsWithCount(){const e=t.name("_valid");const r=t.let("count",0);validateItems(e,(()=>t.if(e,(()=>checkLimits(r)))))}function validateItems(r,n){t.forRange("i",0,d,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:true},r);n()}))}function checkLimits(e){t.code((0,n._)`${e}++`);if(c===undefined){t.if((0,n._)`${e} >= ${A}`,(()=>t.assign(g,true).break()))}else{t.if((0,n._)`${e} > ${c}`,(()=>t.assign(g,false).break()));if(A===1)t.assign(g,true);else t.if((0,n._)`${e} >= ${A}`,(()=>t.assign(g,true)))}}}};t["default"]=i},4611:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=r(9179);const o=r(3439);const s=r(4205);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>{const o=t===1?"property":"properties";return(0,n.str)`must have ${o} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:o}})=>(0,n._)`{property: ${e}, @@ -16,4 +16,4 @@ import{createRequire as e}from"module";var t={7351:function(e,t,r){var n=this&&t /*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const n=[];const o=new Uint8Array([13,10]);u=0;let s=false;for(const[t,i]of e){if(typeof i==="string"){const e=R.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(i)}\r\n`);n.push(e);u+=e.byteLength}else{const e=R.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(i.name?`; filename="${escape(i.name)}"`:"")+"\r\n"+`Content-Type: ${i.type||"application/octet-stream"}\r\n\r\n`);n.push(e,i,o);if(typeof i.size==="number"){u+=e.byteLength+i.size+o.byteLength}else{s=true}}}const i=R.encode(`--${t}--`);n.push(i);u+=i.byteLength;if(s){u=null}l=e;c=async function*(){for(const e of n){if(e.stream){yield*e.stream()}else{yield e}}};d="multipart/form-data; boundary="+t}else if(i(e)){l=e;u=e.size;if(e.type){d=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(o.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}n=e instanceof w?e:s(e)}if(typeof l==="string"||o.isBuffer(l)){u=Buffer.byteLength(l)}if(c!=null){let t;n=new w({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:r,done:o}=await t.next();if(o){queueMicrotask((()=>{e.close()}))}else{if(!I(n)){e.enqueue(new Uint8Array(r))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const g={stream:n,source:l,length:u};return[g,d]}function safelyExtractBody(e,t=false){if(!w){w=r(5356).ReadableStream}if(e instanceof w){m(!o.isDisturbed(e),"The body has already been consumed.");m(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,r]=e.stream.tee();const n=h(r,{transfer:[r]});const[,o]=n.tee();e.stream=t;return{stream:o,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(y(e)){yield e}else{const t=e.stream;if(o.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[C]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new f("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return specConsumeBody(this,(e=>{let t=bodyMimeType(this);if(t==="failure"){t=""}else if(t){t=b(t)}return new p([e],{type:t})}),e)},arrayBuffer(){return specConsumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return specConsumeBody(this,utf8DecodeBytes,e)},json(){return specConsumeBody(this,parseJSONFromBytes,e)},async formData(){g.brandCheck(this,e);throwIfAborted(this[d]);const t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){const e={};for(const[t,r]of this.headers)e[t.toLowerCase()]=r;const t=new u;let r;try{r=new n({headers:e,preservePath:true})}catch(e){throw new f(`${e}`,"AbortError")}r.on("field",((e,r)=>{t.append(e,r)}));r.on("file",((e,r,n,o,s)=>{const i=[];if(o==="base64"||o.toLowerCase()==="base64"){let o="";r.on("data",(e=>{o+=e.toString().replace(/[\r\n]/gm,"");const t=o.length-o.length%4;i.push(Buffer.from(o.slice(0,t),"base64"));o=o.slice(t)}));r.on("end",(()=>{i.push(Buffer.from(o,"base64"));t.append(e,new S(i,n,{type:s}))}))}else{r.on("data",(e=>{i.push(e)}));r.on("end",(()=>{t.append(e,new S(i,n,{type:s}))}))}}));const o=new Promise(((e,t)=>{r.on("finish",e);r.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[d].body))r.write(e);r.end();await o;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const r=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[d].body)){if(!y(e)){throw new TypeError("Expected Uint8Array chunk")}t+=r.decode(e,{stream:true})}t+=r.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new u;for(const[r,n]of e){t.append(r,n)}return t}else{await Promise.resolve();throwIfAborted(this[d]);throw g.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function specConsumeBody(e,t,r){g.brandCheck(e,r);throwIfAborted(e[d]);if(bodyUnusable(e[d].body)){throw new TypeError("Body is unusable")}const n=c();const errorSteps=e=>n.reject(e);const successSteps=e=>{try{n.resolve(t(e))}catch(e){errorSteps(e)}};if(e[d].body==null){successSteps(new Uint8Array);return n.promise}await l(e[d].body,successSteps,errorSteps);return n.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||o.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=D.decode(e);return t}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{headersList:t}=e[d];const r=t.get("content-type");if(r===null){return"failure"}return v(r)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},1037:(e,t,r)=>{const{MessageChannel:n,receiveMessageOnPort:o}=r(1267);const s=["GET","HEAD","POST"];const i=new Set(s);const a=[101,204,205,304];const A=[301,302,303,307,308];const c=new Set(A);const l=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const u=new Set(l);const d=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const g=new Set(d);const f=["follow","manual","error"];const h=["GET","HEAD","OPTIONS","TRACE"];const p=new Set(h);const E=["navigate","same-origin","no-cors","cors"];const C=["omit","same-origin","include"];const m=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const I=["content-encoding","content-language","content-location","content-type","content-length"];const y=["half"];const Q=["CONNECT","TRACE","TRACK"];const B=new Set(Q);const v=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const b=new Set(v);const w=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let S;const R=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!S){S=new n}S.port1.unref();S.port2.unref();S.port1.postMessage(e,t?.transfer);return o(S.port2).message};e.exports={DOMException:w,structuredClone:R,subresource:v,forbiddenMethods:Q,requestBodyHeader:I,referrerPolicy:d,requestRedirect:f,requestMode:E,requestCredentials:C,requestCache:m,redirectStatus:A,corsSafeListedMethods:s,nullBodyStatus:a,safeMethods:h,badPorts:l,requestDuplex:y,subresourceSet:b,badPortsSet:u,redirectStatusSet:c,corsSafeListedMethodsSet:i,safeMethodsSet:p,forbiddenMethodsSet:B,referrerPolicySet:g}},685:(e,t,r)=>{const n=r(9491);const{atob:o}=r(4300);const{isomorphicDecode:s}=r(2538);const i=new TextEncoder;const a=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const A=/(\u000A|\u000D|\u0009|\u0020)/;const c=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){n(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const r={position:0};let o=collectASequenceOfCodePointsFast(",",t,r);const i=o.length;o=removeASCIIWhitespace(o,true,true);if(r.position>=t.length){return"failure"}r.position++;const a=t.slice(i+1);let A=stringPercentDecode(a);if(/;(\u0020){0,}base64$/i.test(o)){const e=s(A);A=forgivingBase64(e);if(A==="failure"){return"failure"}o=o.slice(0,-6);o=o.replace(/(\u0020)+$/,"");o=o.slice(0,-1)}if(o.startsWith(";")){o="text/plain"+o}let c=parseMIMEType(o);if(c==="failure"){c=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:c,body:A}}function URLSerializer(e,t=false){if(!t){return e.href}const r=e.href;const n=e.hash.length;return n===0?r:r.substring(0,r.length-n)}function collectASequenceOfCodePoints(e,t,r){let n="";while(r.positione.length){return"failure"}t.position++;let n=collectASequenceOfCodePointsFast(";",e,t);n=removeHTTPWhitespace(n,false,true);if(n.length===0||!a.test(n)){return"failure"}const o=r.toLowerCase();const s=n.toLowerCase();const i={type:o,subtype:s,parameters:new Map,essence:`${o}/${s}`};while(t.positionA.test(e)),e,t);let r=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);r=r.toLowerCase();if(t.positione.length){break}let n=null;if(e[t.position]==='"'){n=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{n=collectASequenceOfCodePointsFast(";",e,t);n=removeHTTPWhitespace(n,false,true);if(n.length===0){continue}}if(r.length!==0&&a.test(r)&&(n.length===0||c.test(n))&&!i.parameters.has(r)){i.parameters.set(r,n)}}return i}function forgivingBase64(e){e=e.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(e.length%4===0){e=e.replace(/=?=$/,"")}if(e.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e)){return"failure"}const t=o(e);const r=new Uint8Array(t.length);for(let e=0;ee!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const r=e[t.position];t.position++;if(r==="\\"){if(t.position>=e.length){s+="\\";break}s+=e[t.position];t.position++}else{n(r==='"');break}}if(r){return s}return e.slice(o,t.position)}function serializeAMimeType(e){n(e!=="failure");const{parameters:t,essence:r}=e;let o=r;for(let[e,r]of t.entries()){o+=";";o+=e;o+="=";if(!a.test(r)){r=r.replace(/(\\|")/g,"\\$1");r='"'+r;r+='"'}o+=r}return o}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,r=true){let n=0;let o=e.length-1;if(t){for(;n0&&isHTTPWhiteSpace(e[o]);o--);}return e.slice(n,o+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,r=true){let n=0;let o=e.length-1;if(t){for(;n0&&isASCIIWhitespace(e[o]);o--);}return e.slice(n,o+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},8511:(e,t,r)=>{const{Blob:n,File:o}=r(4300);const{types:s}=r(3837);const{kState:i}=r(5861);const{isBlobLike:a}=r(2538);const{webidl:A}=r(1744);const{parseMIMEType:c,serializeAMimeType:l}=r(685);const{kEnumerableProperty:u}=r(3983);const d=new TextEncoder;class File extends n{constructor(e,t,r={}){A.argumentLengthCheck(arguments,2,{header:"File constructor"});e=A.converters["sequence"](e);t=A.converters.USVString(t);r=A.converters.FilePropertyBag(r);const n=t;let o=r.type;let s;e:{if(o){o=c(o);if(o==="failure"){o="";break e}o=l(o).toLowerCase()}s=r.lastModified}super(processBlobParts(e,r),{type:o});this[i]={name:n,lastModified:s,type:o}}get name(){A.brandCheck(this,File);return this[i].name}get lastModified(){A.brandCheck(this,File);return this[i].lastModified}get type(){A.brandCheck(this,File);return this[i].type}}class FileLike{constructor(e,t,r={}){const n=t;const o=r.type;const s=r.lastModified??Date.now();this[i]={blobLike:e,name:n,type:o,lastModified:s}}stream(...e){A.brandCheck(this,FileLike);return this[i].blobLike.stream(...e)}arrayBuffer(...e){A.brandCheck(this,FileLike);return this[i].blobLike.arrayBuffer(...e)}slice(...e){A.brandCheck(this,FileLike);return this[i].blobLike.slice(...e)}text(...e){A.brandCheck(this,FileLike);return this[i].blobLike.text(...e)}get size(){A.brandCheck(this,FileLike);return this[i].blobLike.size}get type(){A.brandCheck(this,FileLike);return this[i].blobLike.type}get name(){A.brandCheck(this,FileLike);return this[i].name}get lastModified(){A.brandCheck(this,FileLike);return this[i].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:u,lastModified:u});A.converters.Blob=A.interfaceConverter(n);A.converters.BlobPart=function(e,t){if(A.util.Type(e)==="Object"){if(a(e)){return A.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||s.isAnyArrayBuffer(e)){return A.converters.BufferSource(e,t)}}return A.converters.USVString(e,t)};A.converters["sequence"]=A.sequenceConverter(A.converters.BlobPart);A.converters.FilePropertyBag=A.dictionaryConverter([{key:"lastModified",converter:A.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:A.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>{e=A.converters.DOMString(e);e=e.toLowerCase();if(e!=="native"){e="transparent"}return e},defaultValue:"transparent"}]);function processBlobParts(e,t){const r=[];for(const n of e){if(typeof n==="string"){let e=n;if(t.endings==="native"){e=convertLineEndingsNative(e)}r.push(d.encode(e))}else if(s.isAnyArrayBuffer(n)||s.isTypedArray(n)){if(!n.buffer){r.push(new Uint8Array(n))}else{r.push(new Uint8Array(n.buffer,n.byteOffset,n.byteLength))}}else if(a(n)){r.push(n)}}return r}function convertLineEndingsNative(e){let t="\n";if(process.platform==="win32"){t="\r\n"}return e.replace(/\r?\n/g,t)}function isFileLike(e){return o&&e instanceof o||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},2015:(e,t,r)=>{const{isBlobLike:n,toUSVString:o,makeIterator:s}=r(2538);const{kState:i}=r(5861);const{File:a,FileLike:A,isFileLike:c}=r(8511);const{webidl:l}=r(1744);const{Blob:u,File:d}=r(4300);const g=d??a;class FormData{constructor(e){if(e!==undefined){throw l.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[i]=[]}append(e,t,r=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!n(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=n(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);r=arguments.length===3?l.converters.USVString(r):undefined;const o=makeEntry(e,t,r);this[i].push(o)}delete(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=l.converters.USVString(e);this[i]=this[i].filter((t=>t.name!==e))}get(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=l.converters.USVString(e);const t=this[i].findIndex((t=>t.name===e));if(t===-1){return null}return this[i][t].value}getAll(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=l.converters.USVString(e);return this[i].filter((t=>t.name===e)).map((e=>e.value))}has(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=l.converters.USVString(e);return this[i].findIndex((t=>t.name===e))!==-1}set(e,t,r=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!n(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=n(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);r=arguments.length===3?o(r):undefined;const s=makeEntry(e,t,r);const a=this[i].findIndex((t=>t.name===e));if(a!==-1){this[i]=[...this[i].slice(0,a),s,...this[i].slice(a+1).filter((t=>t.name!==e))]}else{this[i].push(s)}}entries(){l.brandCheck(this,FormData);return s((()=>this[i].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){l.brandCheck(this,FormData);return s((()=>this[i].map((e=>[e.name,e.value]))),"FormData","key")}values(){l.brandCheck(this,FormData);return s((()=>this[i].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,t=globalThis){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[r,n]of this){e.apply(t,[n,r,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,r){e=Buffer.from(e).toString("utf8");if(typeof t==="string"){t=Buffer.from(t).toString("utf8")}else{if(!c(t)){t=t instanceof u?new g([t],"blob",{type:t.type}):new A(t,"blob",{type:t.type})}if(r!==undefined){const e={type:t.type,lastModified:t.lastModified};t=d&&t instanceof d||t instanceof a?new g([t],r,e):new A(t,r,e)}}return{name:e,value:t}}e.exports={FormData:FormData}},1246:e=>{const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${r.protocol}`)}Object.defineProperty(globalThis,t,{value:r,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},554:(e,t,r)=>{const{kHeadersList:n,kConstruct:o}=r(2785);const{kGuard:s}=r(5861);const{kEnumerableProperty:i}=r(3983);const{makeIterator:a,isValidHeaderName:A,isValidHeaderValue:c}=r(2538);const{webidl:l}=r(1744);const u=r(9491);const d=Symbol("headers map");const g=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let r=e.length;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(r-1)))--r;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&r===e.length?e:e.substring(t,r)}function fill(e,t){if(Array.isArray(t)){for(let r=0;r>","record"]})}}function appendHeader(e,t,r){r=headerValueNormalize(r);if(!A(t)){throw l.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!c(r)){throw l.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}if(e[s]==="immutable"){throw new TypeError("immutable")}else if(e[s]==="request-no-cors"){}return e[n].append(t,r)}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[d]=new Map(e[d]);this[g]=e[g];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[d]=new Map(e);this[g]=null}}contains(e){e=e.toLowerCase();return this[d].has(e)}clear(){this[d].clear();this[g]=null;this.cookies=null}append(e,t){this[g]=null;const r=e.toLowerCase();const n=this[d].get(r);if(n){const e=r==="cookie"?"; ":", ";this[d].set(r,{name:n.name,value:`${n.value}${e}${t}`})}else{this[d].set(r,{name:e,value:t})}if(r==="set-cookie"){this.cookies??=[];this.cookies.push(t)}}set(e,t){this[g]=null;const r=e.toLowerCase();if(r==="set-cookie"){this.cookies=[t]}this[d].set(r,{name:e,value:t})}delete(e){this[g]=null;e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[d].delete(e)}get(e){const t=this[d].get(e.toLowerCase());return t===undefined?null:t.value}*[Symbol.iterator](){for(const[e,{value:t}]of this[d]){yield[e,t]}}get entries(){const e={};if(this[d].size){for(const{name:t,value:r}of this[d].values()){e[t]=r}}return e}}class Headers{constructor(e=undefined){if(e===o){return}this[n]=new HeadersList;this[s]="none";if(e!==undefined){e=l.converters.HeadersInit(e);fill(this,e)}}append(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);return appendHeader(this,e,t)}delete(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=l.converters.ByteString(e);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[s]==="immutable"){throw new TypeError("immutable")}else if(this[s]==="request-no-cors"){}if(!this[n].contains(e)){return}this[n].delete(e)}get(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=l.converters.ByteString(e);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[n].get(e)}has(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=l.converters.ByteString(e);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[n].contains(e)}set(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);t=headerValueNormalize(t);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!c(t)){throw l.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header value"})}if(this[s]==="immutable"){throw new TypeError("immutable")}else if(this[s]==="request-no-cors"){}this[n].set(e,t)}getSetCookie(){l.brandCheck(this,Headers);const e=this[n].cookies;if(e){return[...e]}return[]}get[g](){if(this[n][g]){return this[n][g]}const e=[];const t=[...this[n]].sort(((e,t)=>e[0]e),"Headers","key")}return a((()=>[...this[g].values()]),"Headers","key")}values(){l.brandCheck(this,Headers);if(this[s]==="immutable"){const e=this[g];return a((()=>e),"Headers","value")}return a((()=>[...this[g].values()]),"Headers","value")}entries(){l.brandCheck(this,Headers);if(this[s]==="immutable"){const e=this[g];return a((()=>e),"Headers","key+value")}return a((()=>[...this[g].values()]),"Headers","key+value")}forEach(e,t=globalThis){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[r,n]of this){e.apply(t,[n,r,this])}}[Symbol.for("nodejs.util.inspect.custom")](){l.brandCheck(this,Headers);return this[n]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:i,delete:i,get:i,has:i,set:i,getSetCookie:i,keys:i,values:i,entries:i,forEach:i,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});l.converters.HeadersInit=function(e){if(l.util.Type(e)==="Object"){if(e[Symbol.iterator]){return l.converters["sequence>"](e)}return l.converters["record"](e)}throw l.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},4881:(e,t,r)=>{const{Response:n,makeNetworkError:o,makeAppropriateNetworkError:s,filterResponse:i,makeResponse:a}=r(7823);const{Headers:A}=r(554);const{Request:c,makeRequest:l}=r(8359);const u=r(9796);const{bytesMatch:d,makePolicyContainer:g,clonePolicyContainer:f,requestBadPort:h,TAOCheck:p,appendRequestOriginHeader:E,responseLocationURL:C,requestCurrentURL:m,setRequestReferrerPolicyOnRedirect:I,tryUpgradeRequestToAPotentiallyTrustworthyURL:y,createOpaqueTimingInfo:Q,appendFetchMetadata:B,corsCheck:v,crossOriginResourcePolicyCheck:b,determineRequestsReferrer:w,coarsenedSharedCurrentTime:S,createDeferredPromise:R,isBlobLike:D,sameOrigin:k,isCancelled:N,isAborted:F,isErrorLike:T,fullyReadBody:x,readableStreamClose:P,isomorphicEncode:O,urlIsLocal:U,urlIsHttpHttpsScheme:M,urlHasHttpsScheme:L}=r(2538);const{kState:H,kHeaders:j,kGuard:G,kRealm:V}=r(5861);const Y=r(9491);const{safelyExtractBody:J}=r(1472);const{redirectStatusSet:q,nullBodyStatus:$,safeMethodsSet:W,requestBodyHeader:z,subresourceSet:K,DOMException:Z}=r(1037);const{kHeadersList:X}=r(2785);const ee=r(2361);const{Readable:te,pipeline:re}=r(2781);const{addAbortListener:ne,isErrored:oe,isReadable:se,nodeMajor:ie,nodeMinor:ae}=r(3983);const{dataURLProcessor:Ae,serializeAMimeType:ce}=r(685);const{TransformStream:le}=r(5356);const{getGlobalDispatcher:ue}=r(1892);const{webidl:de}=r(1744);const{STATUS_CODES:ge}=r(3685);const fe=["GET","HEAD"];let he;let pe=globalThis.ReadableStream;class Fetch extends ee{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new Z("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function fetch(e,t={}){de.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const r=R();let o;try{o=new c(e,t)}catch(e){r.reject(e);return r.promise}const s=o[H];if(o.signal.aborted){abortFetch(r,s,null,o.signal.reason);return r.promise}const i=s.client.globalObject;if(i?.constructor?.name==="ServiceWorkerGlobalScope"){s.serviceWorkers="none"}let a=null;const A=null;let l=false;let u=null;ne(o.signal,(()=>{l=true;Y(u!=null);u.abort(o.signal.reason);abortFetch(r,s,a,o.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(l){return Promise.resolve()}if(e.aborted){abortFetch(r,s,a,u.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){r.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}a=new n;a[H]=e;a[V]=A;a[j][X]=e.headersList;a[j][G]="immutable";a[j][V]=A;r.resolve(a)};u=fetching({request:s,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:t.dispatcher??ue()});return r.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const r=e.urlList[0];let n=e.timingInfo;let o=e.cacheState;if(!M(r)){return}if(n===null){return}if(!e.timingAllowPassed){n=Q({startTime:n.startTime});o=""}n.endTime=S();e.timingInfo=n;markResourceTiming(n,r,t,globalThis,o)}function markResourceTiming(e,t,r,n,o){if(ie>18||ie===18&&ae>=2){performance.markResourceTiming(e,t.href,r,n,o)}}function abortFetch(e,t,r,n){if(!n){n=new Z("The operation was aborted.","AbortError")}e.reject(n);if(t.body!=null&&se(t.body?.stream)){t.body.stream.cancel(n).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(r==null){return}const o=r[H];if(o.body!=null&&se(o.body?.stream)){o.body.stream.cancel(n).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:o,processResponseConsumeBody:s,useParallelQueue:i=false,dispatcher:a}){let A=null;let c=false;if(e.client!=null){A=e.client.globalObject;c=e.client.crossOriginIsolatedCapability}const l=S(c);const u=Q({startTime:l});const d={controller:new Fetch(a),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:o,taskDestination:A,crossOriginIsolatedCapability:c};Y(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client?.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=f(e.client.policyContainer)}else{e.policyContainer=g()}}if(!e.headersList.contains("accept")){const t="*/*";e.headersList.append("accept",t)}if(!e.headersList.contains("accept-language")){e.headersList.append("accept-language","*")}if(e.priority===null){}if(K.has(e.destination)){}mainFetch(d).catch((e=>{d.controller.terminate(e)}));return d.controller}async function mainFetch(e,t=false){const r=e.request;let n=null;if(r.localURLsOnly&&!U(m(r))){n=o("local URLs only")}y(r);if(h(r)==="blocked"){n=o("bad port")}if(r.referrerPolicy===""){r.referrerPolicy=r.policyContainer.referrerPolicy}if(r.referrer!=="no-referrer"){r.referrer=w(r)}if(n===null){n=await(async()=>{const t=m(r);if(k(t,r.url)&&r.responseTainting==="basic"||t.protocol==="data:"||(r.mode==="navigate"||r.mode==="websocket")){r.responseTainting="basic";return await schemeFetch(e)}if(r.mode==="same-origin"){return o('request mode cannot be "same-origin"')}if(r.mode==="no-cors"){if(r.redirect!=="follow"){return o('redirect mode cannot be "follow" for "no-cors" request')}r.responseTainting="opaque";return await schemeFetch(e)}if(!M(m(r))){return o("URL scheme must be a HTTP(S) scheme")}r.responseTainting="cors";return await httpFetch(e)})()}if(t){return n}if(n.status!==0&&!n.internalResponse){if(r.responseTainting==="cors"){}if(r.responseTainting==="basic"){n=i(n,"basic")}else if(r.responseTainting==="cors"){n=i(n,"cors")}else if(r.responseTainting==="opaque"){n=i(n,"opaque")}else{Y(false)}}let s=n.status===0?n:n.internalResponse;if(s.urlList.length===0){s.urlList.push(...r.urlList)}if(!r.timingAllowFailed){n.timingAllowPassed=true}if(n.type==="opaque"&&s.status===206&&s.rangeRequested&&!r.headers.contains("range")){n=s=o()}if(n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||$.includes(s.status))){s.body=null;e.controller.dump=true}if(r.integrity){const processBodyError=t=>fetchFinale(e,o(t));if(r.responseTainting==="opaque"||n.body==null){processBodyError(n.error);return}const processBody=t=>{if(!d(t,r.integrity)){processBodyError("integrity mismatch");return}n.body=J(t)[0];fetchFinale(e,n)};await x(n.body,processBody,processBodyError)}else{fetchFinale(e,n)}}function schemeFetch(e){if(N(e)&&e.request.redirectCount===0){return Promise.resolve(s(e))}const{request:t}=e;const{protocol:n}=m(t);switch(n){case"about:":{return Promise.resolve(o("about scheme is not supported"))}case"blob:":{if(!he){he=r(4300).resolveObjectURL}const e=m(t);if(e.search.length!==0){return Promise.resolve(o("NetworkError when attempting to fetch resource."))}const n=he(e.toString());if(t.method!=="GET"||!D(n)){return Promise.resolve(o("invalid method"))}const s=J(n);const i=s[0];const A=O(`${i.length}`);const c=s[1]??"";const l=a({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:A}],["content-type",{name:"Content-Type",value:c}]]});l.body=i;return Promise.resolve(l)}case"data:":{const e=m(t);const r=Ae(e);if(r==="failure"){return Promise.resolve(o("failed to fetch the data URL"))}const n=ce(r.mimeType);return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:n}]],body:J(r.body)[0]}))}case"file:":{return Promise.resolve(o("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>o(e)))}default:{return Promise.resolve(o("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask((()=>e.processResponseDone(t)))}}function fetchFinale(e,t){if(t.type==="error"){t.urlList=[e.request.urlList[0]];t.timingInfo=Q({startTime:e.timingInfo.startTime})}const processResponseEndOfBody=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(t)))}};if(e.processResponse!=null){queueMicrotask((()=>e.processResponse(t)))}if(t.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(e,t)=>{t.enqueue(e)};const e=new le({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});t.body={stream:t.body.stream.pipeThrough(e)}}if(e.processResponseConsumeBody!=null){const processBody=r=>e.processResponseConsumeBody(t,r);const processBodyError=r=>e.processResponseConsumeBody(t,r);if(t.body==null){queueMicrotask((()=>processBody(null)))}else{return x(t.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const t=e.request;let r=null;let n=null;const s=e.timingInfo;if(t.serviceWorkers==="all"){}if(r===null){if(t.redirect==="follow"){t.serviceWorkers="none"}n=r=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&v(t,r)==="failure"){return o("cors failure")}if(p(t,r)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||r.type==="opaque")&&b(t.origin,t.client,t.destination,n)==="blocked"){return o("blocked")}if(q.has(n.status)){if(t.redirect!=="manual"){e.controller.connection.destroy()}if(t.redirect==="error"){r=o("unexpected redirect")}else if(t.redirect==="manual"){r=n}else if(t.redirect==="follow"){r=await httpRedirectFetch(e,r)}else{Y(false)}}r.timingInfo=s;return r}function httpRedirectFetch(e,t){const r=e.request;const n=t.internalResponse?t.internalResponse:t;let s;try{s=C(n,m(r).hash);if(s==null){return t}}catch(e){return Promise.resolve(o(e))}if(!M(s)){return Promise.resolve(o("URL scheme must be a HTTP(S) scheme"))}if(r.redirectCount===20){return Promise.resolve(o("redirect count exceeded"))}r.redirectCount+=1;if(r.mode==="cors"&&(s.username||s.password)&&!k(r,s)){return Promise.resolve(o('cross origin not allowed for request mode "cors"'))}if(r.responseTainting==="cors"&&(s.username||s.password)){return Promise.resolve(o('URL cannot contain credentials for request mode "cors"'))}if(n.status!==303&&r.body!=null&&r.body.source==null){return Promise.resolve(o())}if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!fe.includes(r.method)){r.method="GET";r.body=null;for(const e of z){r.headersList.delete(e)}}if(!k(m(r),s)){r.headersList.delete("authorization");r.headersList.delete("proxy-authorization",true);r.headersList.delete("cookie");r.headersList.delete("host")}if(r.body!=null){Y(r.body.source!=null);r.body=J(r.body.source)[0]}const i=e.timingInfo;i.redirectEndTime=i.postRedirectStartTime=S(e.crossOriginIsolatedCapability);if(i.redirectStartTime===0){i.redirectStartTime=i.startTime}r.urlList.push(s);I(r,n);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,r=false){const n=e.request;let i=null;let a=null;let A=null;const c=null;const u=false;if(n.window==="no-window"&&n.redirect==="error"){i=e;a=n}else{a=l(n);i={...e};i.request=a}const d=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic";const g=a.body?a.body.length:null;let f=null;if(a.body==null&&["POST","PUT"].includes(a.method)){f="0"}if(g!=null){f=O(`${g}`)}if(f!=null){a.headersList.append("content-length",f)}if(g!=null&&a.keepalive){}if(a.referrer instanceof URL){a.headersList.append("referer",O(a.referrer.href))}E(a);B(a);if(!a.headersList.contains("user-agent")){a.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(a.cache==="default"&&(a.headersList.contains("if-modified-since")||a.headersList.contains("if-none-match")||a.headersList.contains("if-unmodified-since")||a.headersList.contains("if-match")||a.headersList.contains("if-range"))){a.cache="no-store"}if(a.cache==="no-cache"&&!a.preventNoCacheCacheControlHeaderModification&&!a.headersList.contains("cache-control")){a.headersList.append("cache-control","max-age=0")}if(a.cache==="no-store"||a.cache==="reload"){if(!a.headersList.contains("pragma")){a.headersList.append("pragma","no-cache")}if(!a.headersList.contains("cache-control")){a.headersList.append("cache-control","no-cache")}}if(a.headersList.contains("range")){a.headersList.append("accept-encoding","identity")}if(!a.headersList.contains("accept-encoding")){if(L(m(a))){a.headersList.append("accept-encoding","br, gzip, deflate")}else{a.headersList.append("accept-encoding","gzip, deflate")}}a.headersList.delete("host");if(d){}if(c==null){a.cache="no-store"}if(a.mode!=="no-store"&&a.mode!=="reload"){}if(A==null){if(a.mode==="only-if-cached"){return o("only if cached")}const e=await httpNetworkFetch(i,d,r);if(!W.has(a.method)&&e.status>=200&&e.status<=399){}if(u&&e.status===304){}if(A==null){A=e}}A.urlList=[...a.urlList];if(a.headersList.contains("range")){A.rangeRequested=true}A.requestIncludesCredentials=d;if(A.status===407){if(n.window==="no-window"){return o()}if(N(e)){return s(e)}return o("proxy authentication required")}if(A.status===421&&!r&&(n.body==null||n.body.source!=null)){if(N(e)){return s(e)}e.controller.connection.destroy();A=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return A}async function httpNetworkFetch(e,t=false,n=false){Y(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e){if(!this.destroyed){this.destroyed=true;this.abort?.(e??new Z("The operation was aborted.","AbortError"))}}};const i=e.request;let c=null;const l=e.timingInfo;const d=null;if(d==null){i.cache="no-store"}const g=n?"yes":"no";if(i.mode==="websocket"){}else{}let f=null;if(i.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(i.body!=null){const processBodyChunk=async function*(t){if(N(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(N(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(N(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};f=async function*(){try{for await(const e of i.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:r,statusText:n,headersList:o,socket:s}=await dispatch({body:f});if(s){c=a({status:r,statusText:n,headersList:o,socket:s})}else{const s=t[Symbol.asyncIterator]();e.controller.next=()=>s.next();c=a({status:r,statusText:n,headersList:o})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return s(e,t)}return o(t)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=t=>{e.controller.abort(t)};if(!pe){pe=r(5356).ReadableStream}const h=new pe({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)}},{highWaterMark:0,size(){return 1}});c.body={stream:h};e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let r;try{const{done:r,value:n}=await e.controller.next();if(F(e)){break}t=r?undefined:n}catch(n){if(e.controller.ended&&!l.encodedBodySize){t=undefined}else{t=n;r=true}}if(t===undefined){P(e.controller.controller);finalizeResponse(e,c);return}l.decodedBodySize+=t?.byteLength??0;if(r){e.controller.terminate(t);return}e.controller.controller.enqueue(new Uint8Array(t));if(oe(h)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(t){if(F(e)){c.aborted=true;if(se(h)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(se(h)){e.controller.controller.error(new TypeError("terminated",{cause:T(t)?t:undefined}))}}e.controller.connection.destroy()}return c;async function dispatch({body:t}){const r=m(i);const n=e.controller.dispatcher;return new Promise(((o,s)=>n.dispatch({path:r.pathname+r.search,origin:r.origin,method:i.method,body:e.controller.dispatcher.isMockActive?i.body&&(i.body.source||i.body.stream):t,headers:i.headersList.entries,maxRedirections:0,upgrade:i.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:r}=e.controller;if(r.destroyed){t(new Z("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=r.abort=t}},onHeaders(e,t,r,n){if(e<200){return}let s=[];let a="";const c=new A;if(Array.isArray(t)){for(let e=0;ee.trim()))}else if(r.toLowerCase()==="location"){a=n}c[X].append(r,n)}}else{const e=Object.keys(t);for(const r of e){const e=t[r];if(r.toLowerCase()==="content-encoding"){s=e.toLowerCase().split(",").map((e=>e.trim())).reverse()}else if(r.toLowerCase()==="location"){a=e}c[X].append(r,e)}}this.body=new te({read:r});const l=[];const d=i.redirect==="follow"&&a&&q.has(e);if(i.method!=="HEAD"&&i.method!=="CONNECT"&&!$.includes(e)&&!d){for(const e of s){if(e==="x-gzip"||e==="gzip"){l.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){l.push(u.createInflate())}else if(e==="br"){l.push(u.createBrotliDecompress())}else{l.length=0;break}}}o({status:e,statusText:n,headersList:c[X],body:l.length?re(this.body,...l,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(t){if(e.controller.dump){return}const r=t;l.encodedBodySize+=r.byteLength;return this.body.push(r)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);s(t)},onUpgrade(e,t,r){if(e!==101){return}const n=new A;for(let e=0;e{const{extractBody:n,mixinBody:o,cloneBody:s}=r(1472);const{Headers:i,fill:a,HeadersList:A}=r(554);const{FinalizationRegistry:c}=r(6436)();const l=r(3983);const{isValidHTTPToken:u,sameOrigin:d,normalizeMethod:g,makePolicyContainer:f,normalizeMethodRecord:h}=r(2538);const{forbiddenMethodsSet:p,corsSafeListedMethodsSet:E,referrerPolicy:C,requestRedirect:m,requestMode:I,requestCredentials:y,requestCache:Q,requestDuplex:B}=r(1037);const{kEnumerableProperty:v}=l;const{kHeaders:b,kSignal:w,kState:S,kGuard:R,kRealm:D}=r(5861);const{webidl:k}=r(1744);const{getGlobalOrigin:N}=r(1246);const{URLSerializer:F}=r(685);const{kHeadersList:T,kConstruct:x}=r(2785);const P=r(9491);const{getMaxListeners:O,setMaxListeners:U,getEventListeners:M,defaultMaxListeners:L}=r(2361);let H=globalThis.TransformStream;const j=Symbol("abortController");const G=new c((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));class Request{constructor(e,t={}){if(e===x){return}k.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=k.converters.RequestInfo(e);t=k.converters.RequestInit(t);this[D]={settingsObject:{baseUrl:N(),get origin(){return this.baseUrl?.origin},policyContainer:f()}};let o=null;let s=null;const c=this[D].settingsObject.baseUrl;let C=null;if(typeof e==="string"){let t;try{t=new URL(e,c)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(t.username||t.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}o=makeRequest({urlList:[t]});s="cors"}else{P(e instanceof Request);o=e[S];C=e[w]}const m=this[D].settingsObject.origin;let I="client";if(o.window?.constructor?.name==="EnvironmentSettingsObject"&&d(o.window,m)){I=o.window}if(t.window!=null){throw new TypeError(`'window' option '${I}' must be null`)}if("window"in t){I="no-window"}o=makeRequest({method:o.method,headersList:o.headersList,unsafeRequest:o.unsafeRequest,client:this[D].settingsObject,window:I,priority:o.priority,origin:o.origin,referrer:o.referrer,referrerPolicy:o.referrerPolicy,mode:o.mode,credentials:o.credentials,cache:o.cache,redirect:o.redirect,integrity:o.integrity,keepalive:o.keepalive,reloadNavigation:o.reloadNavigation,historyNavigation:o.historyNavigation,urlList:[...o.urlList]});const y=Object.keys(t).length!==0;if(y){if(o.mode==="navigate"){o.mode="same-origin"}o.reloadNavigation=false;o.historyNavigation=false;o.origin="client";o.referrer="client";o.referrerPolicy="";o.url=o.urlList[o.urlList.length-1];o.urlList=[o.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){o.referrer="no-referrer"}else{let t;try{t=new URL(e,c)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||m&&!d(t,this[D].settingsObject.baseUrl)){o.referrer="client"}else{o.referrer=t}}}if(t.referrerPolicy!==undefined){o.referrerPolicy=t.referrerPolicy}let Q;if(t.mode!==undefined){Q=t.mode}else{Q=s}if(Q==="navigate"){throw k.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(Q!=null){o.mode=Q}if(t.credentials!==undefined){o.credentials=t.credentials}if(t.cache!==undefined){o.cache=t.cache}if(o.cache==="only-if-cached"&&o.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){o.redirect=t.redirect}if(t.integrity!=null){o.integrity=String(t.integrity)}if(t.keepalive!==undefined){o.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;if(!u(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}if(p.has(e.toUpperCase())){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=h[e]??g(e);o.method=e}if(t.signal!==undefined){C=t.signal}this[S]=o;const B=new AbortController;this[w]=B.signal;this[w][D]=this[D];if(C!=null){if(!C||typeof C.aborted!=="boolean"||typeof C.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(C.aborted){B.abort(C.reason)}else{this[j]=B;const e=new WeakRef(B);const abort=function(){const t=e.deref();if(t!==undefined){t.abort(this.reason)}};try{if(typeof O==="function"&&O(C)===L){U(100,C)}else if(M(C,"abort").length>=L){U(100,C)}}catch{}l.addAbortListener(C,abort);G.register(B,{signal:C,abort:abort})}}this[b]=new i(x);this[b][T]=o.headersList;this[b][R]="request";this[b][D]=this[D];if(Q==="no-cors"){if(!E.has(o.method)){throw new TypeError(`'${o.method} is unsupported in no-cors mode.`)}this[b][R]="request-no-cors"}if(y){const e=this[b][T];const r=t.headers!==undefined?t.headers:new A(e);e.clear();if(r instanceof A){for(const[t,n]of r){e.append(t,n)}e.cookies=r.cookies}else{a(this[b],r)}}const v=e instanceof Request?e[S].body:null;if((t.body!=null||v!=null)&&(o.method==="GET"||o.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let F=null;if(t.body!=null){const[e,r]=n(t.body,o.keepalive);F=e;if(r&&!this[b][T].contains("content-type")){this[b].append("content-type",r)}}const V=F??v;if(V!=null&&V.source==null){if(F!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(o.mode!=="same-origin"&&o.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}o.useCORSPreflightFlag=true}let Y=V;if(F==null&&v!=null){if(l.isDisturbed(v.stream)||v.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!H){H=r(5356).TransformStream}const e=new H;v.stream.pipeThrough(e);Y={source:v.source,length:v.length,stream:e.readable}}this[S].body=Y}get method(){k.brandCheck(this,Request);return this[S].method}get url(){k.brandCheck(this,Request);return F(this[S].url)}get headers(){k.brandCheck(this,Request);return this[b]}get destination(){k.brandCheck(this,Request);return this[S].destination}get referrer(){k.brandCheck(this,Request);if(this[S].referrer==="no-referrer"){return""}if(this[S].referrer==="client"){return"about:client"}return this[S].referrer.toString()}get referrerPolicy(){k.brandCheck(this,Request);return this[S].referrerPolicy}get mode(){k.brandCheck(this,Request);return this[S].mode}get credentials(){return this[S].credentials}get cache(){k.brandCheck(this,Request);return this[S].cache}get redirect(){k.brandCheck(this,Request);return this[S].redirect}get integrity(){k.brandCheck(this,Request);return this[S].integrity}get keepalive(){k.brandCheck(this,Request);return this[S].keepalive}get isReloadNavigation(){k.brandCheck(this,Request);return this[S].reloadNavigation}get isHistoryNavigation(){k.brandCheck(this,Request);return this[S].historyNavigation}get signal(){k.brandCheck(this,Request);return this[w]}get body(){k.brandCheck(this,Request);return this[S].body?this[S].body.stream:null}get bodyUsed(){k.brandCheck(this,Request);return!!this[S].body&&l.isDisturbed(this[S].body.stream)}get duplex(){k.brandCheck(this,Request);return"half"}clone(){k.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[S]);const t=new Request(x);t[S]=e;t[D]=this[D];t[b]=new i(x);t[b][T]=e.headersList;t[b][R]=this[b][R];t[b][D]=this[b][D];const r=new AbortController;if(this.signal.aborted){r.abort(this.signal.reason)}else{l.addAbortListener(this.signal,(()=>{r.abort(this.signal.reason)}))}t[w]=r.signal;return t}}o(Request);function makeRequest(e){const t={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...e,headersList:e.headersList?new A(e.headersList):new A};t.url=t.urlList[0];return t}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=s(e.body)}return t}Object.defineProperties(Request.prototype,{method:v,url:v,headers:v,redirect:v,clone:v,signal:v,duplex:v,destination:v,body:v,bodyUsed:v,isHistoryNavigation:v,isReloadNavigation:v,keepalive:v,integrity:v,cache:v,credentials:v,attribute:v,referrerPolicy:v,referrer:v,mode:v,[Symbol.toStringTag]:{value:"Request",configurable:true}});k.converters.Request=k.interfaceConverter(Request);k.converters.RequestInfo=function(e){if(typeof e==="string"){return k.converters.USVString(e)}if(e instanceof Request){return k.converters.Request(e)}return k.converters.USVString(e)};k.converters.AbortSignal=k.interfaceConverter(AbortSignal);k.converters.RequestInit=k.dictionaryConverter([{key:"method",converter:k.converters.ByteString},{key:"headers",converter:k.converters.HeadersInit},{key:"body",converter:k.nullableConverter(k.converters.BodyInit)},{key:"referrer",converter:k.converters.USVString},{key:"referrerPolicy",converter:k.converters.DOMString,allowedValues:C},{key:"mode",converter:k.converters.DOMString,allowedValues:I},{key:"credentials",converter:k.converters.DOMString,allowedValues:y},{key:"cache",converter:k.converters.DOMString,allowedValues:Q},{key:"redirect",converter:k.converters.DOMString,allowedValues:m},{key:"integrity",converter:k.converters.DOMString},{key:"keepalive",converter:k.converters.boolean},{key:"signal",converter:k.nullableConverter((e=>k.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:k.converters.any},{key:"duplex",converter:k.converters.DOMString,allowedValues:B}]);e.exports={Request:Request,makeRequest:makeRequest}},7823:(e,t,r)=>{const{Headers:n,HeadersList:o,fill:s}=r(554);const{extractBody:i,cloneBody:a,mixinBody:A}=r(1472);const c=r(3983);const{kEnumerableProperty:l}=c;const{isValidReasonPhrase:u,isCancelled:d,isAborted:g,isBlobLike:f,serializeJavascriptValueToJSONString:h,isErrorLike:p,isomorphicEncode:E}=r(2538);const{redirectStatusSet:C,nullBodyStatus:m,DOMException:I}=r(1037);const{kState:y,kHeaders:Q,kGuard:B,kRealm:v}=r(5861);const{webidl:b}=r(1744);const{FormData:w}=r(2015);const{getGlobalOrigin:S}=r(1246);const{URLSerializer:R}=r(685);const{kHeadersList:D,kConstruct:k}=r(2785);const N=r(9491);const{types:F}=r(3837);const T=globalThis.ReadableStream||r(5356).ReadableStream;const x=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const t=new Response;t[y]=makeNetworkError();t[v]=e;t[Q][D]=t[y].headersList;t[Q][B]="immutable";t[Q][v]=e;return t}static json(e,t={}){b.argumentLengthCheck(arguments,1,{header:"Response.json"});if(t!==null){t=b.converters.ResponseInit(t)}const r=x.encode(h(e));const n=i(r);const o={settingsObject:{}};const s=new Response;s[v]=o;s[Q][B]="response";s[Q][v]=o;initializeResponse(s,t,{body:n[0],type:"application/json"});return s}static redirect(e,t=302){const r={settingsObject:{}};b.argumentLengthCheck(arguments,1,{header:"Response.redirect"});e=b.converters.USVString(e);t=b.converters["unsigned short"](t);let n;try{n=new URL(e,S())}catch(t){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:t})}if(!C.has(t)){throw new RangeError("Invalid status code "+t)}const o=new Response;o[v]=r;o[Q][B]="immutable";o[Q][v]=r;o[y].status=t;const s=E(R(n));o[y].headersList.append("location",s);return o}constructor(e=null,t={}){if(e!==null){e=b.converters.BodyInit(e)}t=b.converters.ResponseInit(t);this[v]={settingsObject:{}};this[y]=makeResponse({});this[Q]=new n(k);this[Q][B]="response";this[Q][D]=this[y].headersList;this[Q][v]=this[v];let r=null;if(e!=null){const[t,n]=i(e);r={body:t,type:n}}initializeResponse(this,t,r)}get type(){b.brandCheck(this,Response);return this[y].type}get url(){b.brandCheck(this,Response);const e=this[y].urlList;const t=e[e.length-1]??null;if(t===null){return""}return R(t,true)}get redirected(){b.brandCheck(this,Response);return this[y].urlList.length>1}get status(){b.brandCheck(this,Response);return this[y].status}get ok(){b.brandCheck(this,Response);return this[y].status>=200&&this[y].status<=299}get statusText(){b.brandCheck(this,Response);return this[y].statusText}get headers(){b.brandCheck(this,Response);return this[Q]}get body(){b.brandCheck(this,Response);return this[y].body?this[y].body.stream:null}get bodyUsed(){b.brandCheck(this,Response);return!!this[y].body&&c.isDisturbed(this[y].body.stream)}clone(){b.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw b.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[y]);const t=new Response;t[y]=e;t[v]=this[v];t[Q][D]=e.headersList;t[Q][B]=this[Q][B];t[Q][v]=this[Q][v];return t}}A(Response);Object.defineProperties(Response.prototype,{type:l,url:l,status:l,ok:l,redirected:l,statusText:l,headers:l,clone:l,body:l,bodyUsed:l,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:l,redirect:l,error:l});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=a(e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e.headersList?new o(e.headersList):new o,urlList:e.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=p(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,r){return r in t?t[r]:e[r]},set(e,r,n){N(!(r in t));e[r]=n;return true}})}function filterResponse(e,t){if(t==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(t==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(t==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(t==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{N(false)}}function makeAppropriateNetworkError(e,t=null){N(d(e));return g(e)?makeNetworkError(Object.assign(new I("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new I("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,r){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!u(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[y].status=t.status}if("statusText"in t&&t.statusText!=null){e[y].statusText=t.statusText}if("headers"in t&&t.headers!=null){s(e[Q],t.headers)}if(r){if(m.includes(e.status)){throw b.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status})}e[y].body=r.body;if(r.type!=null&&!e[y].headersList.contains("Content-Type")){e[y].headersList.append("content-type",r.type)}}}b.converters.ReadableStream=b.interfaceConverter(T);b.converters.FormData=b.interfaceConverter(w);b.converters.URLSearchParams=b.interfaceConverter(URLSearchParams);b.converters.XMLHttpRequestBodyInit=function(e){if(typeof e==="string"){return b.converters.USVString(e)}if(f(e)){return b.converters.Blob(e,{strict:false})}if(F.isArrayBuffer(e)||F.isTypedArray(e)||F.isDataView(e)){return b.converters.BufferSource(e)}if(c.isFormDataLike(e)){return b.converters.FormData(e,{strict:false})}if(e instanceof URLSearchParams){return b.converters.URLSearchParams(e)}return b.converters.DOMString(e)};b.converters.BodyInit=function(e){if(e instanceof T){return b.converters.ReadableStream(e)}if(e?.[Symbol.asyncIterator]){return e}return b.converters.XMLHttpRequestBodyInit(e)};b.converters.ResponseInit=b.dictionaryConverter([{key:"status",converter:b.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:b.converters.ByteString,defaultValue:""},{key:"headers",converter:b.converters.HeadersInit}]);e.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},5861:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},2538:(e,t,r)=>{const{redirectStatusSet:n,referrerPolicySet:o,badPortsSet:s}=r(1037);const{getGlobalOrigin:i}=r(1246);const{performance:a}=r(4074);const{isBlobLike:A,toUSVString:c,ReadableStreamFrom:l}=r(3983);const u=r(9491);const{isUint8Array:d}=r(9830);let g=[];let f;try{f=r(6113);const e=["sha256","sha384","sha512"];g=f.getHashes().filter((t=>e.includes(t)))}catch{}function responseURL(e){const t=e.urlList;const r=t.length;return r===0?null:t[r-1].toString()}function responseLocationURL(e,t){if(!n.has(e.status)){return null}let r=e.headersList.get("location");if(r!==null&&isValidHeaderValue(r)){r=new URL(r,responseURL(e))}if(r&&!r.hash){r.hash=t}return r}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&s.has(t.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let t=0;t=32&&r<=126||r>=128&&r<=255)){return false}}return true}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t0){for(let e=n.length;e!==0;e--){const t=n[e-1].trim();if(o.has(t)){s=t;break}}}if(s!==""){e.referrerPolicy=s}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let t=null;t=e.mode;e.headersList.set("sec-fetch-mode",t)}function appendRequestOriginHeader(e){let t=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket"){if(t){e.headersList.append("origin",t)}}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){t=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){t=null}break;default:}if(t){e.headersList.append("origin",t)}}}function coarsenedSharedCurrentTime(e){return a.now()}function createOpaqueTimingInfo(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(e){return{referrerPolicy:e.referrerPolicy}}function determineRequestsReferrer(e){const t=e.referrerPolicy;u(t);let r=null;if(e.referrer==="client"){const e=i();if(!e||e.origin==="null"){return"no-referrer"}r=new URL(e)}else if(e.referrer instanceof URL){r=e.referrer}let n=stripURLForReferrer(r);const o=stripURLForReferrer(r,true);if(n.toString().length>4096){n=o}const s=sameOrigin(e,n);const a=isURLPotentiallyTrustworthy(n)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return o!=null?o:stripURLForReferrer(r,true);case"unsafe-url":return n;case"same-origin":return s?o:"no-referrer";case"origin-when-cross-origin":return s?n:o;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(n,t)){return n}if(isURLPotentiallyTrustworthy(n)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return o}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":o}}function stripURLForReferrer(e,t){u(e instanceof URL);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(f===undefined){return true}const r=parseMetadata(t);if(r==="no metadata"){return true}if(r.length===0){return true}const n=getStrongestMetadata(r);const o=filterMetadataListByAlgorithm(r,n);for(const t of o){const r=t.algo;const n=t.hash;let o=f.createHash(r).update(e).digest("base64");if(o[o.length-1]==="="){if(o[o.length-2]==="="){o=o.slice(0,-2)}else{o=o.slice(0,-1)}}if(compareBase64Mixed(o,n)){return true}}return false}const h=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let r=true;for(const n of e.split(" ")){r=false;const e=h.exec(n);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const o=e.groups.algo.toLowerCase();if(g.includes(o)){t.push(e.groups)}}if(r===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let r=1;r{e=r;t=n}));return{promise:r,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}const p={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(p,null);function normalizeMethod(e){return p[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}u(typeof t==="string");return t}const E=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,t,r){const n={index:0,kind:r,target:e};const o={next(){if(Object.getPrototypeOf(this)!==o){throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`)}const{index:e,kind:r,target:s}=n;const i=s();const a=i.length;if(e>=a){return{value:undefined,done:true}}const A=i[e];n.index=e+1;return iteratorResult(A,r)},[Symbol.toStringTag]:`${t} Iterator`};Object.setPrototypeOf(o,E);return Object.setPrototypeOf({},o)}function iteratorResult(e,t){let r;switch(t){case"key":{r=e[0];break}case"value":{r=e[1];break}case"key+value":{r=e;break}}return{value:r,done:false}}async function fullyReadBody(e,t,r){const n=t;const o=r;let s;try{s=e.stream.getReader()}catch(e){o(e);return}try{const e=await readAllBytes(s);n(e)}catch(e){o(e)}}let C=globalThis.ReadableStream;function isReadableStreamLike(e){if(!C){C=r(5356).ReadableStream}return e instanceof C||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const m=65535;function isomorphicDecode(e){if(e.lengthe+String.fromCharCode(t)),"")}function readableStreamClose(e){try{e.close()}catch(e){if(!e.message.includes("Controller is already closed")){throw e}}}function isomorphicEncode(e){for(let t=0;tObject.prototype.hasOwnProperty.call(e,t));e.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:l,toUSVString:c,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:A,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:I,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:p,parseMetadata:parseMetadata}},1744:(e,t,r)=>{const{types:n}=r(3837);const{hasOwn:o,toUSVString:s}=r(2538);const i={};i.converters={};i.util={};i.errors={};i.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};i.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const r=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return i.errors.exception({header:e.prefix,message:r})};i.errors.invalidArgument=function(e){return i.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};i.brandCheck=function(e,t,r=undefined){if(r?.strict!==false&&!(e instanceof t)){throw new TypeError("Illegal invocation")}else{return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]}};i.argumentLengthCheck=function({length:e},t,r){if(eo){throw i.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${o}, got ${a}.`})}return a}if(!Number.isNaN(a)&&n.clamp===true){a=Math.min(Math.max(a,s),o);if(Math.floor(a)%2===0){a=Math.floor(a)}else{a=Math.ceil(a)}return a}if(Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY){return 0}a=i.util.IntegerPart(a);a=a%Math.pow(2,t);if(r==="signed"&&a>=Math.pow(2,t)-1){return a-Math.pow(2,t)}return a};i.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};i.sequenceConverter=function(e){return t=>{if(i.util.Type(t)!=="Object"){throw i.errors.exception({header:"Sequence",message:`Value of type ${i.util.Type(t)} is not an Object.`})}const r=t?.[Symbol.iterator]?.();const n=[];if(r===undefined||typeof r.next!=="function"){throw i.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:t,value:o}=r.next();if(t){break}n.push(e(o))}return n}};i.recordConverter=function(e,t){return r=>{if(i.util.Type(r)!=="Object"){throw i.errors.exception({header:"Record",message:`Value of type ${i.util.Type(r)} is not an Object.`})}const o={};if(!n.isProxy(r)){const n=Object.keys(r);for(const s of n){const n=e(s);const i=t(r[s]);o[n]=i}return o}const s=Reflect.ownKeys(r);for(const n of s){const s=Reflect.getOwnPropertyDescriptor(r,n);if(s?.enumerable){const s=e(n);const i=t(r[n]);o[s]=i}}return o}};i.interfaceConverter=function(e){return(t,r={})=>{if(r.strict!==false&&!(t instanceof e)){throw i.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`})}return t}};i.dictionaryConverter=function(e){return t=>{const r=i.util.Type(t);const n={};if(r==="Null"||r==="Undefined"){return n}else if(r!=="Object"){throw i.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const r of e){const{key:e,defaultValue:s,required:a,converter:A}=r;if(a===true){if(!o(t,e)){throw i.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let c=t[e];const l=o(r,"defaultValue");if(l&&c!==null){c=c??s}if(a||l||c!==undefined){c=A(c);if(r.allowedValues&&!r.allowedValues.includes(c)){throw i.errors.exception({header:"Dictionary",message:`${c} is not an accepted type. Expected one of ${r.allowedValues.join(", ")}.`})}n[e]=c}}return n}};i.nullableConverter=function(e){return t=>{if(t===null){return t}return e(t)}};i.converters.DOMString=function(e,t={}){if(e===null&&t.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(e)};i.converters.ByteString=function(e){const t=i.converters.DOMString(e);for(let e=0;e255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${t.charCodeAt(e)} which is greater than 255.`)}}return t};i.converters.USVString=s;i.converters.boolean=function(e){const t=Boolean(e);return t};i.converters.any=function(e){return e};i.converters["long long"]=function(e){const t=i.util.ConvertToInt(e,64,"signed");return t};i.converters["unsigned long long"]=function(e){const t=i.util.ConvertToInt(e,64,"unsigned");return t};i.converters["unsigned long"]=function(e){const t=i.util.ConvertToInt(e,32,"unsigned");return t};i.converters["unsigned short"]=function(e,t){const r=i.util.ConvertToInt(e,16,"unsigned",t);return r};i.converters.ArrayBuffer=function(e,t={}){if(i.util.Type(e)!=="Object"||!n.isAnyArrayBuffer(e)){throw i.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(t.allowShared===false&&n.isSharedArrayBuffer(e)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.TypedArray=function(e,t,r={}){if(i.util.Type(e)!=="Object"||!n.isTypedArray(e)||e.constructor.name!==t.name){throw i.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]})}if(r.allowShared===false&&n.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.DataView=function(e,t={}){if(i.util.Type(e)!=="Object"||!n.isDataView(e)){throw i.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(t.allowShared===false&&n.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.BufferSource=function(e,t={}){if(n.isAnyArrayBuffer(e)){return i.converters.ArrayBuffer(e,t)}if(n.isTypedArray(e)){return i.converters.TypedArray(e,e.constructor)}if(n.isDataView(e)){return i.converters.DataView(e,t)}throw new TypeError(`Could not convert ${e} to a BufferSource.`)};i.converters["sequence"]=i.sequenceConverter(i.converters.ByteString);i.converters["sequence>"]=i.sequenceConverter(i.converters["sequence"]);i.converters["record"]=i.recordConverter(i.converters.ByteString,i.converters.ByteString);e.exports={webidl:i}},4854:e=>{function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},1446:(e,t,r)=>{const{staticPropertyDescriptors:n,readOperation:o,fireAProgressEvent:s}=r(7530);const{kState:i,kError:a,kResult:A,kEvents:c,kAborted:l}=r(9054);const{webidl:u}=r(1744);const{kEnumerableProperty:d}=r(3983);class FileReader extends EventTarget{constructor(){super();this[i]="empty";this[A]=null;this[a]=null;this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=u.converters.Blob(e,{strict:false});o(this,e,"ArrayBuffer")}readAsBinaryString(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=u.converters.Blob(e,{strict:false});o(this,e,"BinaryString")}readAsText(e,t=undefined){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=u.converters.Blob(e,{strict:false});if(t!==undefined){t=u.converters.DOMString(t)}o(this,e,"Text",t)}readAsDataURL(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=u.converters.Blob(e,{strict:false});o(this,e,"DataURL")}abort(){if(this[i]==="empty"||this[i]==="done"){this[A]=null;return}if(this[i]==="loading"){this[i]="done";this[A]=null}this[l]=true;s("abort",this);if(this[i]!=="loading"){s("loadend",this)}}get readyState(){u.brandCheck(this,FileReader);switch(this[i]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){u.brandCheck(this,FileReader);return this[A]}get error(){u.brandCheck(this,FileReader);return this[a]}get onloadend(){u.brandCheck(this,FileReader);return this[c].loadend}set onloadend(e){u.brandCheck(this,FileReader);if(this[c].loadend){this.removeEventListener("loadend",this[c].loadend)}if(typeof e==="function"){this[c].loadend=e;this.addEventListener("loadend",e)}else{this[c].loadend=null}}get onerror(){u.brandCheck(this,FileReader);return this[c].error}set onerror(e){u.brandCheck(this,FileReader);if(this[c].error){this.removeEventListener("error",this[c].error)}if(typeof e==="function"){this[c].error=e;this.addEventListener("error",e)}else{this[c].error=null}}get onloadstart(){u.brandCheck(this,FileReader);return this[c].loadstart}set onloadstart(e){u.brandCheck(this,FileReader);if(this[c].loadstart){this.removeEventListener("loadstart",this[c].loadstart)}if(typeof e==="function"){this[c].loadstart=e;this.addEventListener("loadstart",e)}else{this[c].loadstart=null}}get onprogress(){u.brandCheck(this,FileReader);return this[c].progress}set onprogress(e){u.brandCheck(this,FileReader);if(this[c].progress){this.removeEventListener("progress",this[c].progress)}if(typeof e==="function"){this[c].progress=e;this.addEventListener("progress",e)}else{this[c].progress=null}}get onload(){u.brandCheck(this,FileReader);return this[c].load}set onload(e){u.brandCheck(this,FileReader);if(this[c].load){this.removeEventListener("load",this[c].load)}if(typeof e==="function"){this[c].load=e;this.addEventListener("load",e)}else{this[c].load=null}}get onabort(){u.brandCheck(this,FileReader);return this[c].abort}set onabort(e){u.brandCheck(this,FileReader);if(this[c].abort){this.removeEventListener("abort",this[c].abort)}if(typeof e==="function"){this[c].abort=e;this.addEventListener("abort",e)}else{this[c].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:n,LOADING:n,DONE:n,readAsArrayBuffer:d,readAsBinaryString:d,readAsText:d,readAsDataURL:d,abort:d,readyState:d,result:d,error:d,onloadstart:d,onprogress:d,onload:d,onabort:d,onerror:d,onloadend:d,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:n,LOADING:n,DONE:n});e.exports={FileReader:FileReader}},5504:(e,t,r)=>{const{webidl:n}=r(1744);const o=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=n.converters.DOMString(e);t=n.converters.ProgressEventInit(t??{});super(e,t);this[o]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){n.brandCheck(this,ProgressEvent);return this[o].lengthComputable}get loaded(){n.brandCheck(this,ProgressEvent);return this[o].loaded}get total(){n.brandCheck(this,ProgressEvent);return this[o].total}}n.converters.ProgressEventInit=n.dictionaryConverter([{key:"lengthComputable",converter:n.converters.boolean,defaultValue:false},{key:"loaded",converter:n.converters["unsigned long long"],defaultValue:0},{key:"total",converter:n.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:n.converters.boolean,defaultValue:false},{key:"cancelable",converter:n.converters.boolean,defaultValue:false},{key:"composed",converter:n.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},9054:e=>{e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},7530:(e,t,r)=>{const{kState:n,kError:o,kResult:s,kAborted:i,kLastProgressEventFired:a}=r(9054);const{ProgressEvent:A}=r(5504);const{getEncoding:c}=r(4854);const{DOMException:l}=r(1037);const{serializeAMimeType:u,parseMIMEType:d}=r(685);const{types:g}=r(3837);const{StringDecoder:f}=r(1576);const{btoa:h}=r(4300);const p={enumerable:true,writable:false,configurable:false};function readOperation(e,t,r,A){if(e[n]==="loading"){throw new l("Invalid state","InvalidStateError")}e[n]="loading";e[s]=null;e[o]=null;const c=t.stream();const u=c.getReader();const d=[];let f=u.read();let h=true;(async()=>{while(!e[i]){try{const{done:c,value:l}=await f;if(h&&!e[i]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}h=false;if(!c&&g.isUint8Array(l)){d.push(l);if((e[a]===undefined||Date.now()-e[a]>=50)&&!e[i]){e[a]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}f=u.read()}else if(c){queueMicrotask((()=>{e[n]="done";try{const n=packageData(d,r,t.type,A);if(e[i]){return}e[s]=n;fireAProgressEvent("load",e)}catch(t){e[o]=t;fireAProgressEvent("error",e)}if(e[n]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[i]){return}queueMicrotask((()=>{e[n]="done";e[o]=t;fireAProgressEvent("error",e);if(e[n]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const r=new A(e,{bubbles:false,cancelable:false});t.dispatchEvent(r)}function packageData(e,t,r,n){switch(t){case"DataURL":{let t="data:";const n=d(r||"application/octet-stream");if(n!=="failure"){t+=u(n)}t+=";base64,";const o=new f("latin1");for(const r of e){t+=h(o.write(r))}t+=h(o.end());return t}case"Text":{let t="failure";if(n){t=c(n)}if(t==="failure"&&r){const e=d(r);if(e!=="failure"){t=c(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const r=new f("latin1");for(const n of e){t+=r.write(n)}t+=r.end();return t}}}function decode(e,t){const r=combineByteSequences(e);const n=BOMSniffing(r);let o=0;if(n!==null){t=n;o=n==="UTF-8"?3:2}const s=r.slice(o);return new TextDecoder(t).decode(s)}function BOMSniffing(e){const[t,r,n]=e;if(t===239&&r===187&&n===191){return"UTF-8"}else if(t===254&&r===255){return"UTF-16BE"}else if(t===255&&r===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let r=0;return e.reduce(((e,t)=>{e.set(t,r);r+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:p,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},1892:(e,t,r)=>{const n=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:o}=r(8045);const s=r(7890);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new s)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new o("Argument agent must implement Agent")}Object.defineProperty(globalThis,n,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[n]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},6930:e=>{e.exports=class DecoratorHandler{constructor(e){this.handler=e}onConnect(...e){return this.handler.onConnect(...e)}onError(...e){return this.handler.onError(...e)}onUpgrade(...e){return this.handler.onUpgrade(...e)}onHeaders(...e){return this.handler.onHeaders(...e)}onData(...e){return this.handler.onData(...e)}onComplete(...e){return this.handler.onComplete(...e)}onBodySent(...e){return this.handler.onBodySent(...e)}}},2860:(e,t,r)=>{const n=r(3983);const{kBodyUsed:o}=r(2785);const s=r(9491);const{InvalidArgumentError:i}=r(8045);const a=r(2361);const A=[300,301,302,303,307,308];const c=Symbol("body");class BodyAsyncIterable{constructor(e){this[c]=e;this[o]=false}async*[Symbol.asyncIterator](){s(!this[o],"disturbed");this[o]=true;yield*this[c]}}class RedirectHandler{constructor(e,t,r,A){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new i("maxRedirections must be a positive number")}n.validateHandler(A,r.method,r.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...r,maxRedirections:0};this.maxRedirections=t;this.handler=A;this.history=[];if(n.isStream(this.opts.body)){if(n.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){s(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[o]=false;a.prototype.on.call(this.opts.body,"data",(function(){this[o]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&n.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,r){this.handler.onUpgrade(e,t,r)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,o){this.location=this.history.length>=this.maxRedirections||n.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,r,o)}const{origin:s,pathname:i,search:a}=n.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const A=a?`${i}${a}`:i;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==s);this.opts.path=A;this.opts.origin=s;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,t){if(A.indexOf(e)===-1){return null}for(let e=0;e{const n=r(9491);const{kRetryHandlerDefaultRetry:o}=r(2785);const{RequestRetryError:s}=r(8045);const{isDisturbed:i,parseHeaders:a,parseRangeHeader:A}=r(3983);function calculateRetryAfterHeader(e){const t=Date.now();const r=new Date(e).getTime()-t;return r}class RetryHandler{constructor(e,t){const{retryOptions:r,...n}=e;const{retry:s,maxRetries:i,maxTimeout:a,minTimeout:A,timeoutFactor:c,methods:l,errorCodes:u,retryAfter:d,statusCodes:g}=r??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts=n;this.abort=null;this.aborted=false;this.retryOpts={retry:s??RetryHandler[o],retryAfter:d??true,maxTimeout:a??30*1e3,timeout:A??500,timeoutFactor:c??2,maxRetries:i??5,methods:l??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:g??[500,502,503,504,429],errorCodes:u??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,r){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,r)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[o](e,{state:t,opts:r},n){const{statusCode:o,code:s,headers:i}=e;const{method:a,retryOptions:A}=r;const{maxRetries:c,timeout:l,maxTimeout:u,timeoutFactor:d,statusCodes:g,errorCodes:f,methods:h}=A;let{counter:p,currentTimeout:E}=t;E=E!=null&&E>0?E:l;if(s&&s!=="UND_ERR_REQ_RETRY"&&s!=="UND_ERR_SOCKET"&&!f.includes(s)){n(e);return}if(Array.isArray(h)&&!h.includes(a)){n(e);return}if(o!=null&&Array.isArray(g)&&!g.includes(o)){n(e);return}if(p>c){n(e);return}let C=i!=null&&i["retry-after"];if(C){C=Number(C);C=isNaN(C)?calculateRetryAfterHeader(C):C*1e3}const m=C>0?Math.min(C,u):Math.min(E*d**p,u);t.currentTimeout=m;setTimeout((()=>n(null)),m)}onHeaders(e,t,r,o){const i=a(t);this.retryCount+=1;if(e>=300){this.abort(new s("Request failed",e,{headers:i,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(e!==206){return true}const t=A(i["content-range"]);if(!t){this.abort(new s("Content-Range mismatch",e,{headers:i,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==i.etag){this.abort(new s("ETag mismatch",e,{headers:i,count:this.retryCount}));return false}const{start:o,size:a,end:c=a}=t;n(this.start===o,"content-range mismatch");n(this.end==null||this.end===c,"content-range mismatch");this.resume=r;return true}if(this.end==null){if(e===206){const s=A(i["content-range"]);if(s==null){return this.handler.onHeaders(e,t,r,o)}const{start:a,size:c,end:l=c}=s;n(a!=null&&Number.isFinite(a)&&this.start!==a,"content-range mismatch");n(Number.isFinite(a));n(l!=null&&Number.isFinite(l)&&this.end!==l,"invalid content-length");this.start=a;this.end=l}if(this.end==null){const e=i["content-length"];this.end=e!=null?Number(e):null}n(Number.isFinite(this.start));n(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=r;this.etag=i.etag!=null?i.etag:null;return this.handler.onHeaders(e,t,r,o)}const c=new s("Request failed",e,{headers:i,count:this.retryCount});this.abort(c);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||i(this.opts.body)){return this.handler.onError(e)}this.retryOpts.retry(e,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||i(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},8861:(e,t,r)=>{const n=r(2860);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(r,o){const{maxRedirections:s=e}=r;if(!s){return t(r,o)}const i=new n(t,s,r,o);r={...r,maxRedirections:0};return t(r,i)}}e.exports=createRedirectInterceptor},953:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const n=r(1891);var o;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(o=t.ERROR||(t.ERROR={}));var s;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(s=t.TYPE||(t.TYPE={}));var i;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(i=t.FLAGS||(t.FLAGS={}));var a;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(a=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var A;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(A=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[A.DELETE,A.GET,A.HEAD,A.POST,A.PUT,A.CONNECT,A.OPTIONS,A.TRACE,A.COPY,A.LOCK,A.MKCOL,A.MOVE,A.PROPFIND,A.PROPPATCH,A.SEARCH,A.UNLOCK,A.BIND,A.REBIND,A.UNBIND,A.ACL,A.REPORT,A.MKACTIVITY,A.CHECKOUT,A.MERGE,A["M-SEARCH"],A.NOTIFY,A.SUBSCRIBE,A.UNSUBSCRIBE,A.PATCH,A.PURGE,A.MKCALENDAR,A.LINK,A.UNLINK,A.PRI,A.SOURCE];t.METHODS_ICE=[A.SOURCE];t.METHODS_RTSP=[A.OPTIONS,A.DESCRIBE,A.ANNOUNCE,A.SETUP,A.PLAY,A.PAUSE,A.TEARDOWN,A.GET_PARAMETER,A.SET_PARAMETER,A.REDIRECT,A.RECORD,A.FLUSH,A.GET,A.POST];t.METHOD_MAP=n.enumToMap(A);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach((e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}}));var c;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(c=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter((e=>e!==44));t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var l;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(l=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:l.CONNECTION,"content-length":l.CONTENT_LENGTH,"proxy-connection":l.CONNECTION,"transfer-encoding":l.TRANSFER_ENCODING,upgrade:l.UPGRADE}},1145:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vb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HRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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yAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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AAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHLAcwBzQHOAc8B0AHRAdIB0wHUAdUB1gHXA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EBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj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QALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gAGBAYIBgwGEAYUBhgGHAYgBiQGK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G1ASEQDA4LQbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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ACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAIAEiASAC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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},1891:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((r=>{const n=e[r];if(typeof n==="number"){t[r]=n}}));return t}t.enumToMap=enumToMap},6771:(e,t,r)=>{const{kClients:n}=r(2785);const o=r(7890);const{kAgent:s,kMockAgentSet:i,kMockAgentGet:a,kDispatches:A,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:d,kFactory:g}=r(4347);const f=r(8687);const h=r(6193);const{matchValue:p,buildMockOptions:E}=r(9323);const{InvalidArgumentError:C,UndiciError:m}=r(8045);const I=r(412);const y=r(8891);const Q=r(6823);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends I{constructor(e){super(e);this[l]=true;this[c]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new C("Argument opts.agent must implement Agent")}const t=e&&e.agent?e.agent:new o(e);this[s]=t;this[n]=t[n];this[d]=E(e)}get(e){let t=this[a](e);if(!t){t=this[g](e);this[i](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[s].dispatch(e,t)}async close(){await this[s].close();this[n].clear()}deactivate(){this[c]=false}activate(){this[c]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[l])){this[l].push(e)}else{this[l]=[e]}}else if(typeof e==="undefined"){this[l]=true}else{throw new C("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[l]=false}get isMockActive(){return this[c]}[i](e,t){this[n].set(e,new FakeWeakRef(t))}[g](e){const t=Object.assign({agent:this},this[d]);return this[d]&&this[d].connections===1?new f(e,t):new h(e,t)}[a](e){const t=this[n].get(e);if(t){return t.deref()}if(typeof e!=="string"){const t=this[g]("http://localhost:9999");this[i](e,t);return t}for(const[t,r]of Array.from(this[n])){const n=r.deref();if(n&&typeof t!=="string"&&p(t,e)){const t=this[g](e);this[i](e,t);t[A]=n[A];return t}}}[u](){return this[l]}pendingInterceptors(){const e=this[n];return Array.from(e.entries()).flatMap((([e,t])=>t.deref()[A].map((t=>({...t,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Q}={}){const t=this.pendingInterceptors();if(t.length===0){return}const r=new y("interceptor","interceptors").pluralize(t.length);throw new m(`\n${r.count} ${r.noun} ${r.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},8687:(e,t,r)=>{const{promisify:n}=r(3837);const o=r(3598);const{buildMockDispatch:s}=r(9323);const{kDispatches:i,kMockAgent:a,kClose:A,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=r(4347);const{MockInterceptor:g}=r(410);const f=r(2785);const{InvalidArgumentError:h}=r(8045);class MockClient extends o{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[a]=t.agent;this[l]=e;this[i]=[];this[d]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=s.call(this);this.close=this[A]}get[f.kConnected](){return this[d]}intercept(e){return new g(e,this[i])}async[A](){await n(this[c])();this[d]=0;this[a][f.kClients].delete(this[l])}}e.exports=MockClient},888:(e,t,r)=>{const{UndiciError:n}=r(8045);class MockNotMatchedError extends n{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}e.exports={MockNotMatchedError:MockNotMatchedError}},410:(e,t,r)=>{const{getResponseData:n,buildKey:o,addMockDispatch:s}=r(9323);const{kDispatches:i,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=r(4347);const{InvalidArgumentError:d}=r(8045);const{buildURL:g}=r(3983);class MockScope{constructor(e){this[u]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("waitInMs must be a valid integer > 0")}this[u].delay=e;return this}persist(){this[u].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("repeatTimes must be a valid integer > 0")}this[u].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new d("opts must be an object")}if(typeof e.path==="undefined"){throw new d("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=g(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[a]=o(e);this[i]=t;this[A]={};this[c]={};this[l]=false}createMockScopeDispatchData(e,t,r={}){const o=n(t);const s=this[l]?{"content-length":o.length}:{};const i={...this[A],...s,...r.headers};const a={...this[c],...r.trailers};return{statusCode:e,data:t,headers:i,trailers:a}}validateReplyParameters(e,t,r){if(typeof e==="undefined"){throw new d("statusCode must be defined")}if(typeof t==="undefined"){throw new d("data must be defined")}if(typeof r!=="object"){throw new d("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const r=e(t);if(typeof r!=="object"){throw new d("reply options callback must return an object")}const{statusCode:n,data:o="",responseOptions:s={}}=r;this.validateReplyParameters(n,o,s);return{...this.createMockScopeDispatchData(n,o,s)}};const t=s(this[i],this[a],wrappedDefaultsCallback);return new MockScope(t)}const[t,r="",n={}]=[...arguments];this.validateReplyParameters(t,r,n);const o=this.createMockScopeDispatchData(t,r,n);const A=s(this[i],this[a],o);return new MockScope(A)}replyWithError(e){if(typeof e==="undefined"){throw new d("error must be defined")}const t=s(this[i],this[a],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new d("headers must be defined")}this[A]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new d("trailers must be defined")}this[c]=e;return this}replyContentLength(){this[l]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},6193:(e,t,r)=>{const{promisify:n}=r(3837);const o=r(4634);const{buildMockDispatch:s}=r(9323);const{kDispatches:i,kMockAgent:a,kClose:A,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=r(4347);const{MockInterceptor:g}=r(410);const f=r(2785);const{InvalidArgumentError:h}=r(8045);class MockPool extends o{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[a]=t.agent;this[l]=e;this[i]=[];this[d]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=s.call(this);this.close=this[A]}get[f.kConnected](){return this[d]}intercept(e){return new g(e,this[i])}async[A](){await n(this[c])();this[d]=0;this[a][f.kClients].delete(this[l])}}e.exports=MockPool},4347:e=>{e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},9323:(e,t,r)=>{const{MockNotMatchedError:n}=r(888);const{kDispatches:o,kMockAgent:s,kOriginalDispatch:i,kOrigin:a,kGetNetConnect:A}=r(4347);const{buildURL:c,nop:l}=r(3983);const{STATUS_CODES:u}=r(3685);const{types:{isPromise:d}}=r(3837);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLocaleLowerCase(),t])))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let r=0;r!e)).filter((({path:e})=>matchValue(safeUrl(e),o)));if(s.length===0){throw new n(`Mock dispatch not matched for path '${o}'`)}s=s.filter((({method:e})=>matchValue(e,t.method)));if(s.length===0){throw new n(`Mock dispatch not matched for method '${t.method}'`)}s=s.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(s.length===0){throw new n(`Mock dispatch not matched for body '${t.body}'`)}s=s.filter((e=>matchHeaders(e,t.headers)));if(s.length===0){throw new n(`Mock dispatch not matched for headers '${typeof t.headers==="object"?JSON.stringify(t.headers):t.headers}'`)}return s[0]}function addMockDispatch(e,t,r){const n={timesInvoked:0,times:1,persist:false,consumed:false};const o=typeof r==="function"?{callback:r}:{...r};const s={...n,...t,pending:true,data:{error:null,...o}};e.push(s);return s}function deleteMockDispatch(e,t){const r=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(r!==-1){e.splice(r,1)}}function buildKey(e){const{path:t,method:r,body:n,headers:o,query:s}=e;return{path:t,method:r,body:n,headers:o,query:s}}function generateKeyValues(e){return Object.entries(e).reduce(((e,[t,r])=>[...e,Buffer.from(`${t}`),Array.isArray(r)?r.map((e=>Buffer.from(`${e}`))):Buffer.from(`${r}`)]),[])}function getStatusText(e){return u[e]||"unknown"}async function getResponse(e){const t=[];for await(const r of e){t.push(r)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const r=buildKey(e);const n=getMockDispatch(this[o],r);n.timesInvoked++;if(n.data.callback){n.data={...n.data,...n.data.callback(e)}}const{data:{statusCode:s,data:i,headers:a,trailers:A,error:c},delay:u,persist:g}=n;const{timesInvoked:f,times:h}=n;n.consumed=!g&&f>=h;n.pending=f0){setTimeout((()=>{handleReply(this[o])}),u)}else{handleReply(this[o])}function handleReply(n,o=i){const c=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const u=typeof o==="function"?o({...e,headers:c}):o;if(d(u)){u.then((e=>handleReply(n,e)));return}const g=getResponseData(u);const f=generateKeyValues(a);const h=generateKeyValues(A);t.abort=l;t.onHeaders(s,f,resume,getStatusText(s));t.onData(Buffer.from(g));t.onComplete(h);deleteMockDispatch(n,r)}function resume(){}return true}function buildMockDispatch(){const e=this[s];const t=this[a];const r=this[i];return function dispatch(o,s){if(e.isMockActive){try{mockDispatch.call(this,o,s)}catch(i){if(i instanceof n){const a=e[A]();if(a===false){throw new n(`${i.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(a,t)){r.call(this,o,s)}else{throw new n(`${i.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw i}}}else{r.call(this,o,s)}}}function checkNetConnect(e,t){const r=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,r.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...r}=e;return r}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},6823:(e,t,r)=>{const{Transform:n}=r(2781);const{Console:o}=r(6206);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new n({transform(e,t,r){r(null,e)}});this.logger=new o({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:r},persist:n,times:o,timesInvoked:s,origin:i})=>({Method:e,Origin:i,Path:t,"Status code":r,Persistent:n?"✅":"❌",Invocations:s,Remaining:n?Infinity:o-s})));this.logger.table(t);return this.transform.read().toString()}}},8891:e=>{const t={pronoun:"it",is:"is",was:"was",this:"this"};const r={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const n=e===1;const o=n?t:r;const s=n?this.singular:this.plural;return{...o,count:e,noun:s}}}},8266:e=>{const t=2048;const r=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&r)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&r}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&r;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},3198:(e,t,r)=>{const n=r(4839);const o=r(8266);const{kConnected:s,kSize:i,kRunning:a,kPending:A,kQueued:c,kBusy:l,kFree:u,kUrl:d,kClose:g,kDestroy:f,kDispatch:h}=r(2785);const p=r(9689);const E=Symbol("clients");const C=Symbol("needDrain");const m=Symbol("queue");const I=Symbol("closed resolve");const y=Symbol("onDrain");const Q=Symbol("onConnect");const B=Symbol("onDisconnect");const v=Symbol("onConnectionError");const b=Symbol("get dispatcher");const w=Symbol("add client");const S=Symbol("remove client");const R=Symbol("stats");class PoolBase extends n{constructor(){super();this[m]=new o;this[E]=[];this[c]=0;const e=this;this[y]=function onDrain(t,r){const n=e[m];let o=false;while(!o){const t=n.shift();if(!t){break}e[c]--;o=!this.dispatch(t.opts,t.handler)}this[C]=o;if(!this[C]&&e[C]){e[C]=false;e.emit("drain",t,[e,...r])}if(e[I]&&n.isEmpty()){Promise.all(e[E].map((e=>e.close()))).then(e[I])}};this[Q]=(t,r)=>{e.emit("connect",t,[e,...r])};this[B]=(t,r,n)=>{e.emit("disconnect",t,[e,...r],n)};this[v]=(t,r,n)=>{e.emit("connectionError",t,[e,...r],n)};this[R]=new p(this)}get[l](){return this[C]}get[s](){return this[E].filter((e=>e[s])).length}get[u](){return this[E].filter((e=>e[s]&&!e[C])).length}get[A](){let e=this[c];for(const{[A]:t}of this[E]){e+=t}return e}get[a](){let e=0;for(const{[a]:t}of this[E]){e+=t}return e}get[i](){let e=this[c];for(const{[i]:t}of this[E]){e+=t}return e}get stats(){return this[R]}async[g](){if(this[m].isEmpty()){return Promise.all(this[E].map((e=>e.close())))}else{return new Promise((e=>{this[I]=e}))}}async[f](e){while(true){const t=this[m].shift();if(!t){break}t.handler.onError(e)}return Promise.all(this[E].map((t=>t.destroy(e))))}[h](e,t){const r=this[b]();if(!r){this[C]=true;this[m].push({opts:e,handler:t});this[c]++}else if(!r.dispatch(e,t)){r[C]=true;this[C]=!this[b]()}return!this[C]}[w](e){e.on("drain",this[y]).on("connect",this[Q]).on("disconnect",this[B]).on("connectionError",this[v]);this[E].push(e);if(this[C]){process.nextTick((()=>{if(this[C]){this[y](e[d],[this,e])}}))}return this}[S](e){e.close((()=>{const t=this[E].indexOf(e);if(t!==-1){this[E].splice(t,1)}}));this[C]=this[E].some((e=>!e[C]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:E,kNeedDrain:C,kAddClient:w,kRemoveClient:S,kGetDispatcher:b}},9689:(e,t,r)=>{const{kFree:n,kConnected:o,kPending:s,kQueued:i,kRunning:a,kSize:A}=r(2785);const c=Symbol("pool");class PoolStats{constructor(e){this[c]=e}get connected(){return this[c][o]}get free(){return this[c][n]}get pending(){return this[c][s]}get queued(){return this[c][i]}get running(){return this[c][a]}get size(){return this[c][A]}}e.exports=PoolStats},4634:(e,t,r)=>{const{PoolBase:n,kClients:o,kNeedDrain:s,kAddClient:i,kGetDispatcher:a}=r(3198);const A=r(3598);const{InvalidArgumentError:c}=r(8045);const l=r(3983);const{kUrl:u,kInterceptors:d}=r(2785);const g=r(2067);const f=Symbol("options");const h=Symbol("connections");const p=Symbol("factory");function defaultFactory(e,t){return new A(e,t)}class Pool extends n{constructor(e,{connections:t,factory:r=defaultFactory,connect:n,connectTimeout:o,tls:s,maxCachedSessions:i,socketPath:a,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:E,allowH2:C,...m}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0)){throw new c("invalid connections")}if(typeof r!=="function"){throw new c("factory must be a function.")}if(n!=null&&typeof n!=="function"&&typeof n!=="object"){throw new c("connect must be a function or an object")}if(typeof n!=="function"){n=g({...s,maxCachedSessions:i,allowH2:C,socketPath:a,timeout:o,...l.nodeHasAutoSelectFamily&&A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:E}:undefined,...n})}this[d]=m.interceptors&&m.interceptors.Pool&&Array.isArray(m.interceptors.Pool)?m.interceptors.Pool:[];this[h]=t||null;this[u]=l.parseOrigin(e);this[f]={...l.deepClone(m),connect:n,allowH2:C};this[f].interceptors=m.interceptors?{...m.interceptors}:undefined;this[p]=r}[a](){let e=this[o].find((e=>!e[s]));if(e){return e}if(!this[h]||this[o].length{const{kProxy:n,kClose:o,kDestroy:s,kInterceptors:i}=r(2785);const{URL:a}=r(7310);const A=r(7890);const c=r(4634);const l=r(4839);const{InvalidArgumentError:u,RequestAbortedError:d}=r(8045);const g=r(2067);const f=Symbol("proxy agent");const h=Symbol("proxy client");const p=Symbol("proxy headers");const E=Symbol("request tls settings");const C=Symbol("proxy tls settings");const m=Symbol("connect endpoint function");function defaultProtocolPort(e){return e==="https:"?443:80}function buildProxyOptions(e){if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new u("Proxy opts.uri is mandatory")}return{uri:e.uri,protocol:e.protocol||"https"}}function defaultFactory(e,t){return new c(e,t)}class ProxyAgent extends l{constructor(e){super(e);this[n]=buildProxyOptions(e);this[f]=new A(e);this[i]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new u("Proxy opts.uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new u("Proxy opts.clientFactory must be a function.")}this[E]=e.requestTls;this[C]=e.proxyTls;this[p]=e.headers||{};const r=new a(e.uri);const{origin:o,port:s,host:c,username:l,password:I}=r;if(e.auth&&e.token){throw new u("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[p]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[p]["proxy-authorization"]=e.token}else if(l&&I){this[p]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(I)}`).toString("base64")}`}const y=g({...e.proxyTls});this[m]=g({...e.requestTls});this[h]=t(r,{connect:y});this[f]=new A({...e,connect:async(e,t)=>{let r=e.host;if(!e.port){r+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:n,statusCode:i}=await this[h].connect({origin:o,port:s,path:r,signal:e.signal,headers:{...this[p],host:c}});if(i!==200){n.on("error",(()=>{})).destroy();t(new d(`Proxy response (${i}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,n);return}let a;if(this[E]){a=this[E].servername}else{a=e.servername}this[m]({...e,servername:a,httpSocket:n},t)}catch(e){t(e)}}})}dispatch(e,t){const{host:r}=new a(e.origin);const n=buildHeaders(e.headers);throwIfProxyAuthIsSent(n);return this[f].dispatch({...e,headers:{...n,host:r}},t)}async[o](){await this[f].close();await this[h].close()}async[s](){await this[f].destroy();await this[h].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let r=0;re.toLowerCase()==="proxy-authorization"));if(t){throw new u("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},9459:e=>{let t=Date.now();let r;const n=[];function onTimeout(){t=Date.now();let e=n.length;let r=0;while(r0&&t>=o.state){o.state=-1;o.callback(o.opaque)}if(o.state===-1){o.state=-2;if(r!==e-1){n[r]=n.pop()}else{n.pop()}e-=1}else{r+=1}}if(n.length>0){refreshTimeout()}}function refreshTimeout(){if(r&&r.refresh){r.refresh()}else{clearTimeout(r);r=setTimeout(onTimeout,1e3);if(r.unref){r.unref()}}}class Timeout{constructor(e,t,r){this.callback=e;this.delay=t;this.opaque=r;this.state=-2;this.refresh()}refresh(){if(this.state===-2){n.push(this);if(!r||n.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}e.exports={setTimeout(e,t,r){return t<1e3?setTimeout(e,t,r):new Timeout(e,t,r)},clearTimeout(e){if(e instanceof Timeout){e.clear()}else{clearTimeout(e)}}}},5354:(e,t,r)=>{const n=r(7643);const{uid:o,states:s}=r(9188);const{kReadyState:i,kSentClose:a,kByteParser:A,kReceivedClose:c}=r(7578);const{fireEvent:l,failWebsocketConnection:u}=r(5515);const{CloseEvent:d}=r(2611);const{makeRequest:g}=r(8359);const{fetching:f}=r(4881);const{Headers:h}=r(554);const{getGlobalDispatcher:p}=r(1892);const{kHeadersList:E}=r(2785);const C={};C.open=n.channel("undici:websocket:open");C.close=n.channel("undici:websocket:close");C.socketError=n.channel("undici:websocket:socket_error");let m;try{m=r(6113)}catch{}function establishWebSocketConnection(e,t,r,n,s){const i=e;i.protocol=e.protocol==="ws:"?"http:":"https:";const a=g({urlList:[i],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){const e=new h(s.headers)[E];a.headersList=e}const A=m.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",A);a.headersList.append("sec-websocket-version","13");for(const e of t){a.headersList.append("sec-websocket-protocol",e)}const c="";const l=f({request:a,useParallelQueue:true,dispatcher:s.dispatcher??p(),processResponse(e){if(e.type==="error"||e.status!==101){u(r,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){u(r,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){u(r,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){u(r,'Server did not set Connection header to "upgrade".');return}const s=e.headersList.get("Sec-WebSocket-Accept");const i=m.createHash("sha1").update(A+o).digest("base64");if(s!==i){u(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const l=e.headersList.get("Sec-WebSocket-Extensions");if(l!==null&&l!==c){u(r,"Received different permessage-deflate than the one set.");return}const d=e.headersList.get("Sec-WebSocket-Protocol");if(d!==null&&d!==a.headersList.get("Sec-WebSocket-Protocol")){u(r,"Protocol was not set in the opening handshake.");return}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(C.open.hasSubscribers){C.open.publish({address:e.socket.address(),protocol:d,extensions:l})}n(e)}});return l}function onSocketData(e){if(!this.ws[A].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const t=e[a]&&e[c];let r=1005;let n="";const o=e[A].closingInfo;if(o){r=o.code??1005;n=o.reason}else if(!e[a]){r=1006}e[i]=s.CLOSED;l("close",e,d,{wasClean:t,code:r,reason:n});if(C.close.hasSubscribers){C.close.publish({websocket:e,code:r,reason:n})}}function onSocketError(e){const{ws:t}=this;t[i]=s.CLOSING;if(C.socketError.hasSubscribers){C.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},9188:e=>{const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const r={enumerable:true,writable:false,configurable:false};const n={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const o={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const s=2**16-1;const i={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const a=Buffer.allocUnsafe(0);e.exports={uid:t,staticPropertyDescriptors:r,states:n,opcodes:o,maxUnsigned16Bit:s,parserStates:i,emptyBuffer:a}},2611:(e,t,r)=>{const{webidl:n}=r(1744);const{kEnumerableProperty:o}=r(3983);const{MessagePort:s}=r(1267);class MessageEvent extends Event{#s;constructor(e,t={}){n.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=n.converters.DOMString(e);t=n.converters.MessageEventInit(t);super(e,t);this.#s=t}get data(){n.brandCheck(this,MessageEvent);return this.#s.data}get origin(){n.brandCheck(this,MessageEvent);return this.#s.origin}get lastEventId(){n.brandCheck(this,MessageEvent);return this.#s.lastEventId}get source(){n.brandCheck(this,MessageEvent);return this.#s.source}get ports(){n.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#s.ports)){Object.freeze(this.#s.ports)}return this.#s.ports}initMessageEvent(e,t=false,r=false,o=null,s="",i="",a=null,A=[]){n.brandCheck(this,MessageEvent);n.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:t,cancelable:r,data:o,origin:s,lastEventId:i,source:a,ports:A})}}class CloseEvent extends Event{#s;constructor(e,t={}){n.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=n.converters.DOMString(e);t=n.converters.CloseEventInit(t);super(e,t);this.#s=t}get wasClean(){n.brandCheck(this,CloseEvent);return this.#s.wasClean}get code(){n.brandCheck(this,CloseEvent);return this.#s.code}get reason(){n.brandCheck(this,CloseEvent);return this.#s.reason}}class ErrorEvent extends Event{#s;constructor(e,t){n.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,t);e=n.converters.DOMString(e);t=n.converters.ErrorEventInit(t??{});this.#s=t}get message(){n.brandCheck(this,ErrorEvent);return this.#s.message}get filename(){n.brandCheck(this,ErrorEvent);return this.#s.filename}get lineno(){n.brandCheck(this,ErrorEvent);return this.#s.lineno}get colno(){n.brandCheck(this,ErrorEvent);return this.#s.colno}get error(){n.brandCheck(this,ErrorEvent);return this.#s.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:o,origin:o,lastEventId:o,source:o,ports:o,initMessageEvent:o});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:o,code:o,wasClean:o});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:o,filename:o,lineno:o,colno:o,error:o});n.converters.MessagePort=n.interfaceConverter(s);n.converters["sequence"]=n.sequenceConverter(n.converters.MessagePort);const i=[{key:"bubbles",converter:n.converters.boolean,defaultValue:false},{key:"cancelable",converter:n.converters.boolean,defaultValue:false},{key:"composed",converter:n.converters.boolean,defaultValue:false}];n.converters.MessageEventInit=n.dictionaryConverter([...i,{key:"data",converter:n.converters.any,defaultValue:null},{key:"origin",converter:n.converters.USVString,defaultValue:""},{key:"lastEventId",converter:n.converters.DOMString,defaultValue:""},{key:"source",converter:n.nullableConverter(n.converters.MessagePort),defaultValue:null},{key:"ports",converter:n.converters["sequence"],get defaultValue(){return[]}}]);n.converters.CloseEventInit=n.dictionaryConverter([...i,{key:"wasClean",converter:n.converters.boolean,defaultValue:false},{key:"code",converter:n.converters["unsigned short"],defaultValue:0},{key:"reason",converter:n.converters.USVString,defaultValue:""}]);n.converters.ErrorEventInit=n.dictionaryConverter([...i,{key:"message",converter:n.converters.DOMString,defaultValue:""},{key:"filename",converter:n.converters.USVString,defaultValue:""},{key:"lineno",converter:n.converters["unsigned long"],defaultValue:0},{key:"colno",converter:n.converters["unsigned long"],defaultValue:0},{key:"error",converter:n.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},5444:(e,t,r)=>{const{maxUnsigned16Bit:n}=r(9188);let o;try{o=r(6113)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=o.randomBytes(4)}createFrame(e){const t=this.frameData?.byteLength??0;let r=t;let o=6;if(t>n){o+=8;r=127}else if(t>125){o+=2;r=126}const s=Buffer.allocUnsafe(t+o);s[0]=s[1]=0;s[0]|=128;s[0]=(s[0]&240)+e; /*! ws. MIT License. Einar Otto Stangvik */s[o-4]=this.maskKey[0];s[o-3]=this.maskKey[1];s[o-2]=this.maskKey[2];s[o-1]=this.maskKey[3];s[1]=r;if(r===126){s.writeUInt16BE(t,2)}else if(r===127){s[2]=s[3]=0;s.writeUIntBE(t,4,6)}s[1]|=128;for(let e=0;e{const{Writable:n}=r(2781);const o=r(7643);const{parserStates:s,opcodes:i,states:a,emptyBuffer:A}=r(9188);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:d}=r(7578);const{isValidStatusCode:g,failWebsocketConnection:f,websocketMessageReceived:h}=r(5515);const{WebsocketFrameSend:p}=r(5444);const E={};E.ping=o.channel("undici:websocket:ping");E.pong=o.channel("undici:websocket:pong");class ByteParser extends n{#i=[];#a=0;#A=s.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,r){this.#i.push(e);this.#a+=e.length;this.run(r)}run(e){while(true){if(this.#A===s.INFO){if(this.#a<2){return e()}const t=this.consume(2);this.#c.fin=(t[0]&128)!==0;this.#c.opcode=t[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==i.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==i.BINARY&&this.#c.opcode!==i.TEXT){f(this.ws,"Invalid frame type was fragmented.");return}const r=t[1]&127;if(r<=125){this.#c.payloadLength=r;this.#A=s.READ_DATA}else if(r===126){this.#A=s.PAYLOADLENGTH_16}else if(r===127){this.#A=s.PAYLOADLENGTH_64}if(this.#c.fragmented&&r>125){f(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===i.PING||this.#c.opcode===i.PONG||this.#c.opcode===i.CLOSE)&&r>125){f(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===i.CLOSE){if(r===1){f(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(r);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new p(e);this.ws[u].socket.write(t.createFrame(i.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=a.CLOSING;this.ws[d]=true;this.end();return}else if(this.#c.opcode===i.PING){const t=this.consume(r);if(!this.ws[d]){const e=new p(t);this.ws[u].socket.write(e.createFrame(i.PONG));if(E.ping.hasSubscribers){E.ping.publish({payload:t})}}this.#A=s.INFO;if(this.#a>0){continue}else{e();return}}else if(this.#c.opcode===i.PONG){const t=this.consume(r);if(E.pong.hasSubscribers){E.pong.publish({payload:t})}if(this.#a>0){continue}else{e();return}}}else if(this.#A===s.PAYLOADLENGTH_16){if(this.#a<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#A=s.READ_DATA}else if(this.#A===s.PAYLOADLENGTH_64){if(this.#a<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);if(r>2**31-1){f(this.ws,"Received payload length > 2^31 bytes.");return}const n=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+n;this.#A=s.READ_DATA}else if(this.#A===s.READ_DATA){if(this.#a=this.#c.payloadLength){const e=this.consume(this.#c.payloadLength);this.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===i.CONTINUATION){const e=Buffer.concat(this.#l);h(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#A=s.INFO}}if(this.#a>0){continue}else{e();break}}}consume(e){if(e>this.#a){return null}else if(e===0){return A}if(this.#i[0].length===e){this.#a-=this.#i[0].length;return this.#i.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const n=this.#i[0];const{length:o}=n;if(o+r===e){t.set(this.#i.shift(),r);break}else if(o+r>e){t.set(n.subarray(0,e-r),r);this.#i[0]=n.subarray(e-r);break}else{t.set(this.#i.shift(),r);r+=n.length}}this.#a-=e;return t}parseCloseBody(e,t){let r;if(t.length>=2){r=t.readUInt16BE(0)}if(e){if(!g(r)){return null}return{code:r}}let n=t.subarray(2);if(n[0]===239&&n[1]===187&&n[2]===191){n=n.subarray(3)}if(r!==undefined&&!g(r)){return null}try{n=new TextDecoder("utf-8",{fatal:true}).decode(n)}catch{return null}return{code:r,reason:n}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},7578:e=>{e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},5515:(e,t,r)=>{const{kReadyState:n,kController:o,kResponse:s,kBinaryType:i,kWebSocketURL:a}=r(7578);const{states:A,opcodes:c}=r(9188);const{MessageEvent:l,ErrorEvent:u}=r(2611);function isEstablished(e){return e[n]===A.OPEN}function isClosing(e){return e[n]===A.CLOSING}function isClosed(e){return e[n]===A.CLOSED}function fireEvent(e,t,r=Event,n){const o=new r(e,n);t.dispatchEvent(o)}function websocketMessageReceived(e,t,r){if(e[n]!==A.OPEN){return}let o;if(t===c.TEXT){try{o=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[i]==="blob"){o=new Blob([r])}else{o=new Uint8Array(r).buffer}}fireEvent("message",e,l,{origin:e[a].origin,data:o})}function isValidSubprotocol(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e<33||e>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||e===32||e===9){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[o]:r,[s]:n}=e;r.abort();if(n?.socket&&!n.socket.destroyed){n.socket.destroy()}if(t){fireEvent("error",e,u,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},4284:(e,t,r)=>{const{webidl:n}=r(1744);const{DOMException:o}=r(1037);const{URLSerializer:s}=r(685);const{getGlobalOrigin:i}=r(1246);const{staticPropertyDescriptors:a,states:A,opcodes:c,emptyBuffer:l}=r(9188);const{kWebSocketURL:u,kReadyState:d,kController:g,kBinaryType:f,kResponse:h,kSentClose:p,kByteParser:E}=r(7578);const{isEstablished:C,isClosing:m,isValidSubprotocol:I,failWebsocketConnection:y,fireEvent:Q}=r(5515);const{establishWebSocketConnection:B}=r(5354);const{WebsocketFrameSend:v}=r(5444);const{ByteParser:b}=r(1688);const{kEnumerableProperty:w,isBlobLike:S}=r(3983);const{getGlobalDispatcher:R}=r(1892);const{types:D}=r(3837);let k=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#d=0;#g="";#f="";constructor(e,t=[]){super();n.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!k){k=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const r=n.converters["DOMString or sequence or WebSocketInit"](t);e=n.converters.USVString(e);t=r.protocols;const s=i();let a;try{a=new URL(e,s)}catch(e){throw new o(e,"SyntaxError")}if(a.protocol==="http:"){a.protocol="ws:"}else if(a.protocol==="https:"){a.protocol="wss:"}if(a.protocol!=="ws:"&&a.protocol!=="wss:"){throw new o(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError")}if(a.hash||a.href.endsWith("#")){throw new o("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>I(e)))){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(a.href);this[g]=B(a,t,this,(e=>this.#h(e)),r);this[d]=WebSocket.CONNECTING;this[f]="blob"}close(e=undefined,t=undefined){n.brandCheck(this,WebSocket);if(e!==undefined){e=n.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=n.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new o("invalid code","InvalidAccessError")}}let r=0;if(t!==undefined){r=Buffer.byteLength(t);if(r>123){throw new o(`Reason must be less than 123 bytes; received ${r}`,"SyntaxError")}}if(this[d]===WebSocket.CLOSING||this[d]===WebSocket.CLOSED){}else if(!C(this)){y(this,"Connection was closed before it was established.");this[d]=WebSocket.CLOSING}else if(!m(this)){const n=new v;if(e!==undefined&&t===undefined){n.frameData=Buffer.allocUnsafe(2);n.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){n.frameData=Buffer.allocUnsafe(2+r);n.frameData.writeUInt16BE(e,0);n.frameData.write(t,2,"utf-8")}else{n.frameData=l}const o=this[h].socket;o.write(n.createFrame(c.CLOSE),(e=>{if(!e){this[p]=true}}));this[d]=A.CLOSING}else{this[d]=WebSocket.CLOSING}}send(e){n.brandCheck(this,WebSocket);n.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=n.converters.WebSocketSendData(e);if(this[d]===WebSocket.CONNECTING){throw new o("Sent before connected.","InvalidStateError")}if(!C(this)||m(this)){return}const t=this[h].socket;if(typeof e==="string"){const r=Buffer.from(e);const n=new v(r);const o=n.createFrame(c.TEXT);this.#d+=r.byteLength;t.write(o,(()=>{this.#d-=r.byteLength}))}else if(D.isArrayBuffer(e)){const r=Buffer.from(e);const n=new v(r);const o=n.createFrame(c.BINARY);this.#d+=r.byteLength;t.write(o,(()=>{this.#d-=r.byteLength}))}else if(ArrayBuffer.isView(e)){const r=Buffer.from(e,e.byteOffset,e.byteLength);const n=new v(r);const o=n.createFrame(c.BINARY);this.#d+=r.byteLength;t.write(o,(()=>{this.#d-=r.byteLength}))}else if(S(e)){const r=new v;e.arrayBuffer().then((e=>{const n=Buffer.from(e);r.frameData=n;const o=r.createFrame(c.BINARY);this.#d+=n.byteLength;t.write(o,(()=>{this.#d-=n.byteLength}))}))}}get readyState(){n.brandCheck(this,WebSocket);return this[d]}get bufferedAmount(){n.brandCheck(this,WebSocket);return this.#d}get url(){n.brandCheck(this,WebSocket);return s(this[u])}get extensions(){n.brandCheck(this,WebSocket);return this.#f}get protocol(){n.brandCheck(this,WebSocket);return this.#g}get onopen(){n.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){n.brandCheck(this,WebSocket);if(this.#u.open){this.removeEventListener("open",this.#u.open)}if(typeof e==="function"){this.#u.open=e;this.addEventListener("open",e)}else{this.#u.open=null}}get onerror(){n.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){n.brandCheck(this,WebSocket);if(this.#u.error){this.removeEventListener("error",this.#u.error)}if(typeof e==="function"){this.#u.error=e;this.addEventListener("error",e)}else{this.#u.error=null}}get onclose(){n.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){n.brandCheck(this,WebSocket);if(this.#u.close){this.removeEventListener("close",this.#u.close)}if(typeof e==="function"){this.#u.close=e;this.addEventListener("close",e)}else{this.#u.close=null}}get onmessage(){n.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){n.brandCheck(this,WebSocket);if(this.#u.message){this.removeEventListener("message",this.#u.message)}if(typeof e==="function"){this.#u.message=e;this.addEventListener("message",e)}else{this.#u.message=null}}get binaryType(){n.brandCheck(this,WebSocket);return this[f]}set binaryType(e){n.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[f]="blob"}else{this[f]=e}}#h(e){this[h]=e;const t=new b(this);t.on("drain",(function onParserDrain(){this.ws[h].socket.resume()}));e.socket.ws=this;this[E]=t;this[d]=A.OPEN;const r=e.headersList.get("sec-websocket-extensions");if(r!==null){this.#f=r}const n=e.headersList.get("sec-websocket-protocol");if(n!==null){this.#g=n}Q("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=A.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=A.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=A.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=A.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:w,readyState:w,bufferedAmount:w,onopen:w,onerror:w,onclose:w,close:w,onmessage:w,binaryType:w,send:w,extensions:w,protocol:w,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a});n.converters["sequence"]=n.sequenceConverter(n.converters.DOMString);n.converters["DOMString or sequence"]=function(e){if(n.util.Type(e)==="Object"&&Symbol.iterator in e){return n.converters["sequence"](e)}return n.converters.DOMString(e)};n.converters.WebSocketInit=n.dictionaryConverter([{key:"protocols",converter:n.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return R()}},{key:"headers",converter:n.nullableConverter(n.converters.HeadersInit)}]);n.converters["DOMString or sequence or WebSocketInit"]=function(e){if(n.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return n.converters.WebSocketInit(e)}return{protocols:n.converters["DOMString or sequence"](e)}};n.converters.WebSocketSendData=function(e){if(n.util.Type(e)==="Object"){if(S(e)){return n.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||D.isAnyArrayBuffer(e)){return n.converters.BufferSource(e)}}return n.converters.USVString(e)};e.exports={WebSocket:WebSocket}},20:function(e,t){ /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ -(function(e,r){true?r(t):0})(this,(function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),r=0;r1){t[0]=t[0].slice(0,-1);var n=t.length-1;for(var o=1;o= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var E=s-i;var C=Math.floor;var m=String.fromCharCode;function error$1(e){throw new RangeError(p[e])}function map(e,t){var r=[];var n=e.length;while(n--){r[n]=t(e[n])}return r}function mapDomain(e,t){var r=e.split("@");var n="";if(r.length>1){n=r[0]+"@";e=r[1]}e=e.replace(h,".");var o=e.split(".");var s=map(o,t).join(".");return n+s}function ucs2decode(e){var t=[];var r=0;var n=e.length;while(r=55296&&o<=56319&&r>1;e+=C(e/t);for(;e>E*a>>1;n+=s){e=C(e/E)}return C(n+(E+1)*e/(e+A))};var v=function decode(e){var t=[];var r=e.length;var n=0;var A=u;var c=l;var g=e.lastIndexOf(d);if(g<0){g=0}for(var f=0;f=128){error$1("not-basic")}t.push(e.charCodeAt(f))}for(var h=g>0?g+1:0;h=r){error$1("invalid-input")}var I=y(e.charCodeAt(h++));if(I>=s||I>C((o-n)/E)){error$1("overflow")}n+=I*E;var Q=m<=c?i:m>=c+a?a:m-c;if(IC(o/v)){error$1("overflow")}E*=v}var b=t.length+1;c=B(n-p,b,p==0);if(C(n/b)>o-A){error$1("overflow")}A+=C(n/b);n%=b;t.splice(n++,0,A)}return String.fromCodePoint.apply(String,t)};var b=function encode(e){var t=[];e=ucs2decode(e);var r=e.length;var n=u;var A=0;var c=l;var g=true;var f=false;var h=undefined;try{for(var p=e[Symbol.iterator](),E;!(g=(E=p.next()).done);g=true){var I=E.value;if(I<128){t.push(m(I))}}}catch(e){f=true;h=e}finally{try{if(!g&&p.return){p.return()}}finally{if(f){throw h}}}var y=t.length;var v=y;if(y){t.push(d)}while(v=n&&NC((o-A)/F)){error$1("overflow")}A+=(b-n)*F;n=b;var T=true;var x=false;var P=undefined;try{for(var O=e[Symbol.iterator](),U;!(T=(U=O.next()).done);T=true){var M=U.value;if(Mo){error$1("overflow")}if(M==n){var L=A;for(var H=s;;H+=s){var j=H<=c?i:H>=c+a?a:H-c;if(L>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else r="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return r}function pctDecChars(e){var t="";var r=0;var n=e.length;while(r=194&&o<224){if(n-r>=6){var s=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((o&31)<<6|s&63)}else{t+=e.substr(r,6)}r+=6}else if(o>=224){if(n-r>=9){var i=parseInt(e.substr(r+4,2),16);var a=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((o&15)<<12|(i&63)<<6|a&63)}else{t+=e.substr(r,9)}r+=9}else{t+=e.substr(r,3);r+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var r=pctDecChars(e);return!r.match(t.UNRESERVED)?e:r}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var r=e.match(t.IPV4ADDRESS)||[];var o=n(r,2),s=o[1];if(s){return s.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var r=e.match(t.IPV6ADDRESS)||[];var o=n(r,3),s=o[1],i=o[2];if(s){var a=s.toLowerCase().split("::").reverse(),A=n(a,2),c=A[0],l=A[1];var u=l?l.split(":").map(_stripLeadingZeros):[];var d=c.split(":").map(_stripLeadingZeros);var g=t.IPV4ADDRESS.test(d[d.length-1]);var f=g?7:8;var h=d.length-f;var p=Array(f);for(var E=0;E1){var y=p.slice(0,m.index);var Q=p.slice(m.index+m.length);I=y.join(":")+"::"+Q.join(":")}else{I=p.join(":")}if(i){I+="%"+i}return I}else{return e}}var k=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var N="".match(/(){0}/)[1]===undefined;function parse(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o={};var s=n.iri!==false?r:t;if(n.reference==="suffix")e=(n.scheme?n.scheme+":":"")+"//"+e;var i=e.match(k);if(i){if(N){o.scheme=i[1];o.userinfo=i[3];o.host=i[4];o.port=parseInt(i[5],10);o.path=i[6]||"";o.query=i[7];o.fragment=i[8];if(isNaN(o.port)){o.port=i[5]}}else{o.scheme=i[1]||undefined;o.userinfo=e.indexOf("@")!==-1?i[3]:undefined;o.host=e.indexOf("//")!==-1?i[4]:undefined;o.port=parseInt(i[5],10);o.path=i[6]||"";o.query=e.indexOf("?")!==-1?i[7]:undefined;o.fragment=e.indexOf("#")!==-1?i[8]:undefined;if(isNaN(o.port)){o.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:undefined}}if(o.host){o.host=_normalizeIPv6(_normalizeIPv4(o.host,s),s)}if(o.scheme===undefined&&o.userinfo===undefined&&o.host===undefined&&o.port===undefined&&!o.path&&o.query===undefined){o.reference="same-document"}else if(o.scheme===undefined){o.reference="relative"}else if(o.fragment===undefined){o.reference="absolute"}else{o.reference="uri"}if(n.reference&&n.reference!=="suffix"&&n.reference!==o.reference){o.error=o.error||"URI is not a "+n.reference+" reference."}var a=D[(n.scheme||o.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!a||!a.unicodeSupport)){if(o.host&&(n.domainHost||a&&a.domainHost)){try{o.host=R.toASCII(o.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){o.error=o.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(o,t)}else{_normalizeComponentEncoding(o,s)}if(a&&a.parse){a.parse(o,n)}}else{o.error=o.error||"URI can not be parsed."}return o}function _recomposeAuthority(e,n){var o=n.iri!==false?r:t;var s=[];if(e.userinfo!==undefined){s.push(e.userinfo);s.push("@")}if(e.host!==undefined){s.push(_normalizeIPv6(_normalizeIPv4(String(e.host),o),o).replace(o.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"})))}if(typeof e.port==="number"||typeof e.port==="string"){s.push(":");s.push(String(e.port))}return s.length?s.join(""):undefined}var F=/^\.\.?\//;var T=/^\/\.(\/|$)/;var x=/^\/\.\.(\/|$)/;var P=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(F)){e=e.replace(F,"")}else if(e.match(T)){e=e.replace(T,"/")}else if(e.match(x)){e=e.replace(x,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var r=e.match(P);if(r){var n=r[0];e=e.slice(n.length);t.push(n)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=n.iri?r:t;var s=[];var i=D[(n.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize)i.serialize(e,n);if(e.host){if(o.IPV6ADDRESS.test(e.host)){}else if(n.domainHost||i&&i.domainHost){try{e.host=!n.iri?R.toASCII(e.host.replace(o.PCT_ENCODED,pctDecChars).toLowerCase()):R.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!n.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,o);if(n.reference!=="suffix"&&e.scheme){s.push(e.scheme);s.push(":")}var a=_recomposeAuthority(e,n);if(a!==undefined){if(n.reference!=="suffix"){s.push("//")}s.push(a);if(e.path&&e.path.charAt(0)!=="/"){s.push("/")}}if(e.path!==undefined){var A=e.path;if(!n.absolutePath&&(!i||!i.absolutePath)){A=removeDotSegments(A)}if(a===undefined){A=A.replace(/^\/\//,"/%2F")}s.push(A)}if(e.query!==undefined){s.push("?");s.push(e.query)}if(e.fragment!==undefined){s.push("#");s.push(e.fragment)}return s.join("")}function resolveComponents(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var o={};if(!n){e=parse(serialize(e,r),r);t=parse(serialize(t,r),r)}r=r||{};if(!r.tolerant&&t.scheme){o.scheme=t.scheme;o.userinfo=t.userinfo;o.host=t.host;o.port=t.port;o.path=removeDotSegments(t.path||"");o.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){o.userinfo=t.userinfo;o.host=t.host;o.port=t.port;o.path=removeDotSegments(t.path||"");o.query=t.query}else{if(!t.path){o.path=e.path;if(t.query!==undefined){o.query=t.query}else{o.query=e.query}}else{if(t.path.charAt(0)==="/"){o.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){o.path="/"+t.path}else if(!e.path){o.path=t.path}else{o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}o.path=removeDotSegments(o.path)}o.query=t.query}o.userinfo=e.userinfo;o.host=e.host;o.port=e.port}o.scheme=e.scheme}o.fragment=t.fragment;return o}function resolve(e,t,r){var n=assign({scheme:"null"},r);return serialize(resolveComponents(parse(e,n),parse(t,n),n,true),n)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,r){if(typeof e==="string"){e=serialize(parse(e,r),r)}else if(typeOf(e)==="object"){e=serialize(e,r)}if(typeof t==="string"){t=serialize(parse(t,r),r)}else if(typeOf(t)==="object"){t=serialize(t,r)}return e===t}function escapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.ESCAPE:r.ESCAPE,pctEncChar)}function unescapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.PCT_ENCODED:r.PCT_ENCODED,pctDecChars)}var O={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){var r=String(e.scheme).toLowerCase()==="https";if(e.port===(r?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var U={scheme:"https",domainHost:O.domainHost,parse:O.parse,serialize:O.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var M={scheme:"ws",domainHost:true,parse:function parse(e,t){var r=e;r.secure=isSecure(r);r.resourceName=(r.path||"/")+(r.query?"?"+r.query:"");r.path=undefined;r.query=undefined;return r},serialize:function serialize(e,t){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var r=e.resourceName.split("?"),o=n(r,2),s=o[0],i=o[1];e.path=s&&s!=="/"?s:undefined;e.query=i;e.resourceName=undefined}e.fragment=undefined;return e}};var L={scheme:"wss",domainHost:M.domainHost,parse:M.parse,serialize:M.serialize};var H={};var j=true;var G="[A-Za-z0-9\\-\\.\\_\\~"+(j?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var V="[0-9A-Fa-f]";var Y=subexp(subexp("%[EFef]"+V+"%"+V+V+"%"+V+V)+"|"+subexp("%[89A-Fa-f]"+V+"%"+V+V)+"|"+subexp("%"+V+V));var J="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var q="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var $=merge(q,'[\\"\\\\]');var W="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var z=new RegExp(G,"g");var K=new RegExp(Y,"g");var Z=new RegExp(merge("[^]",J,"[\\.]",'[\\"]',$),"g");var X=new RegExp(merge("[^]",G,W),"g");var ee=X;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(z)?e:t}var te={scheme:"mailto",parse:function parse$$1(e,t){var r=e;var n=r.to=r.path?r.path.split(","):[];r.path=undefined;if(r.query){var o=false;var s={};var i=r.query.split("&");for(var a=0,A=i.length;a{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});var n=_interopRequireDefault(r(8628));var o=_interopRequireDefault(r(6409));var s=_interopRequireDefault(r(5122));var i=_interopRequireDefault(r(9120));var a=_interopRequireDefault(r(5332));var A=_interopRequireDefault(r(1595));var c=_interopRequireDefault(r(6900));var l=_interopRequireDefault(r(8950));var u=_interopRequireDefault(r(2746));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},4569:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("md5").update(e).digest()}var o=md5;t["default"]=o},5332:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r="00000000-0000-0000-0000-000000000000";t["default"]=r},2746:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}let t;const r=new Uint8Array(16);r[0]=(t=parseInt(e.slice(0,8),16))>>>24;r[1]=t>>>16&255;r[2]=t>>>8&255;r[3]=t&255;r[4]=(t=parseInt(e.slice(9,13),16))>>>8;r[5]=t&255;r[6]=(t=parseInt(e.slice(14,18),16))>>>8;r[7]=t&255;r[8]=(t=parseInt(e.slice(19,23),16))>>>8;r[9]=t&255;r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;r[11]=t/4294967296&255;r[12]=t>>>24&255;r[13]=t>>>16&255;r[14]=t>>>8&255;r[15]=t&255;return r}var o=parse;t["default"]=o},814:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=r},807:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=new Uint8Array(256);let s=o.length;function rng(){if(s>o.length-16){n.default.randomFillSync(o);s=0}return o.slice(s,s+=16)}},5274:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("sha1").update(e).digest()}var o=sha1;t["default"]=o},8950:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=[];for(let e=0;e<256;++e){o.push((e+256).toString(16).substr(1))}function stringify(e,t=0){const r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,n.default)(r)){throw TypeError("Stringified UUID is invalid")}return r}var s=stringify;t["default"]=s},8628:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(807));var o=_interopRequireDefault(r(8950));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let s;let i;let a=0;let A=0;function v1(e,t,r){let c=t&&r||0;const l=t||new Array(16);e=e||{};let u=e.node||s;let d=e.clockseq!==undefined?e.clockseq:i;if(u==null||d==null){const t=e.random||(e.rng||n.default)();if(u==null){u=s=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(d==null){d=i=(t[6]<<8|t[7])&16383}}let g=e.msecs!==undefined?e.msecs:Date.now();let f=e.nsecs!==undefined?e.nsecs:A+1;const h=g-a+(f-A)/1e4;if(h<0&&e.clockseq===undefined){d=d+1&16383}if((h<0||g>a)&&e.nsecs===undefined){f=0}if(f>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}a=g;A=f;i=d;g+=122192928e5;const p=((g&268435455)*1e4+f)%4294967296;l[c++]=p>>>24&255;l[c++]=p>>>16&255;l[c++]=p>>>8&255;l[c++]=p&255;const E=g/4294967296*1e4&268435455;l[c++]=E>>>8&255;l[c++]=E&255;l[c++]=E>>>24&15|16;l[c++]=E>>>16&255;l[c++]=d>>>8|128;l[c++]=d&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,o.default)(l)}var c=v1;t["default"]=c},6409:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(5998));var o=_interopRequireDefault(r(4569));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v3",48,o.default);var i=s;t["default"]=i},5998:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;t.URL=t.DNS=void 0;var n=_interopRequireDefault(r(8950));var o=_interopRequireDefault(r(2746));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(807));var o=_interopRequireDefault(r(8950));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,r){e=e||{};const s=e.random||(e.rng||n.default)();s[6]=s[6]&15|64;s[8]=s[8]&63|128;if(t){r=r||0;for(let e=0;e<16;++e){t[r+e]=s[e]}return t}return(0,o.default)(s)}var s=v4;t["default"]=s},9120:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(5998));var o=_interopRequireDefault(r(5274));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v5",80,o.default);var i=s;t["default"]=i},6900:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(814));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&n.default.test(e)}var o=validate;t["default"]=o},1595:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.substr(14,1),16)}var o=version;t["default"]=o},9491:t=>{t.exports=e(import.meta.url)("assert")},852:t=>{t.exports=e(import.meta.url)("async_hooks")},4300:t=>{t.exports=e(import.meta.url)("buffer")},2081:t=>{t.exports=e(import.meta.url)("child_process")},6206:t=>{t.exports=e(import.meta.url)("console")},6113:t=>{t.exports=e(import.meta.url)("crypto")},7643:t=>{t.exports=e(import.meta.url)("diagnostics_channel")},2361:t=>{t.exports=e(import.meta.url)("events")},7147:t=>{t.exports=e(import.meta.url)("fs")},3292:t=>{t.exports=e(import.meta.url)("fs/promises")},3685:t=>{t.exports=e(import.meta.url)("http")},5158:t=>{t.exports=e(import.meta.url)("http2")},5687:t=>{t.exports=e(import.meta.url)("https")},1808:t=>{t.exports=e(import.meta.url)("net")},5673:t=>{t.exports=e(import.meta.url)("node:events")},7561:t=>{t.exports=e(import.meta.url)("node:fs")},612:t=>{t.exports=e(import.meta.url)("node:os")},9411:t=>{t.exports=e(import.meta.url)("node:path")},984:t=>{t.exports=e(import.meta.url)("node:path/posix")},4492:t=>{t.exports=e(import.meta.url)("node:stream")},7261:t=>{t.exports=e(import.meta.url)("node:util")},2037:t=>{t.exports=e(import.meta.url)("os")},1017:t=>{t.exports=e(import.meta.url)("path")},4074:t=>{t.exports=e(import.meta.url)("perf_hooks")},7282:t=>{t.exports=e(import.meta.url)("process")},3477:t=>{t.exports=e(import.meta.url)("querystring")},2781:t=>{t.exports=e(import.meta.url)("stream")},5356:t=>{t.exports=e(import.meta.url)("stream/web")},1576:t=>{t.exports=e(import.meta.url)("string_decoder")},4404:t=>{t.exports=e(import.meta.url)("tls")},7310:t=>{t.exports=e(import.meta.url)("url")},3837:t=>{t.exports=e(import.meta.url)("util")},9830:t=>{t.exports=e(import.meta.url)("util/types")},1267:t=>{t.exports=e(import.meta.url)("worker_threads")},9796:t=>{t.exports=e(import.meta.url)("zlib")},2960:(e,t,r)=>{const n=r(4492).Writable;const o=r(7261).inherits;const s=r(1142);const i=r(1620);const a=r(2032);const A=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}n.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new a(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}o(Dicer,n);Dicer.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){const e=this;process.nextTick((function(){e.emit("error",new Error("Unexpected end of multipart data"));if(e._part&&!e._ignoreData){const t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data"));e._part.push(null);process.nextTick((function(){e._realFinish=true;e.emit("finish");e._realFinish=false}));return}e._realFinish=true;e.emit("finish");e._realFinish=false}))}}else{n.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser){return r()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new i(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{const n=r(5673).EventEmitter;const o=r(7261).inherits;const s=r(1467);const i=r(1142);const a=Buffer.from("\r\n\r\n");const A=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){n.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=s(e,"maxHeaderPairs",2e3);this.maxHeaderSize=s(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new i(a);this.ss.on("info",(function(e,r,n,o){if(r&&!t.maxed){if(t.nread+o-n>=t.maxHeaderSize){o=t.maxHeaderSize-t.nread+n;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=o-n}t.buffer+=r.toString("binary",n,o)}if(e){t._finish()}}))}o(HeaderParser,n);HeaderParser.prototype.push=function(e){const t=this.ss.push(e);if(this.finished){return t}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const e=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",e)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const e=this.buffer.split(A);const t=e.length;let r,n;for(var o=0;o{const n=r(7261).inherits;const o=r(4492).Readable;function PartStream(e){o.call(this,e)}n(PartStream,o);PartStream.prototype._read=function(e){};e.exports=PartStream},1142:(e,t,r)=>{const n=r(5673).EventEmitter;const o=r(7261).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var r=0;r=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const r=this._lookbehind_size+s;if(r>0){this.emit("info",false,this._lookbehind,0,r)}this._lookbehind.copy(this._lookbehind,0,r,this._lookbehind_size-r);this._lookbehind_size-=r;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}s+=(s>=0)*this._bufpos;if(e.indexOf(r,s)!==-1){s=e.indexOf(r,s);++this.matches;if(s>0){this.emit("info",true,e,this._bufpos,s)}else{this.emit("info",true)}return this._bufpos=s+n}else{s=t-n}while(s0){this.emit("info",false,e,this._bufpos,s{const n=r(4492).Writable;const{inherits:o}=r(7261);const s=r(2960);const i=r(2183);const a=r(8306);const A=r(1854);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...r}=e;this.opts={autoDestroy:false,...r};n.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}o(Busboy,n);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}n.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=A(e["content-type"]);const r={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(i.detect.test(t[0])){return new i(this,r)}if(a.detect.test(t[0])){return new a(this,r)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,r){this._parser.write(e,r)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=s},2183:(e,t,r)=>{const{Readable:n}=r(4492);const{inherits:o}=r(7261);const s=r(2960);const i=r(1854);const a=r(4619);const A=r(8647);const c=r(1467);const l=/^boundary$/i;const u=/^form-data$/i;const d=/^charset$/i;const g=/^filename$/i;const f=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let r;let n;const o=this;let h;const p=t.limits;const E=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const C=t.parsedConType||[];const m=t.defCharset||"utf8";const I=t.preservePath;const y={highWaterMark:t.fileHwm};for(r=0,n=C.length;rw){o.parser.removeListener("part",onPart);o.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(T){const e=T;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(s){let c;let l;let h;let p;let C;let w;let S=0;if(s["content-type"]){h=i(s["content-type"][0]);if(h[0]){c=h[0].toLowerCase();for(r=0,n=h.length;rB){const n=B-S+e.length;if(n>0){r.push(e.slice(0,n))}r.truncated=true;r.bytesRead=B;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){o._pause=true}r.bytesRead=S};x=function(){F=undefined;r.push(null)}}else{if(k===b){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++k;++N;let r="";let n=false;T=t;R=function(e){if((S+=e.length)>Q){const o=Q-(S-e.length);r+=e.toString("binary",0,o);n=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};x=function(){T=undefined;if(r.length){r=a(r,"binary",p)}e.emit("field",l,r,false,n,C,c);--N;checkFinished()}}t._readableState.sync=false;t.on("data",R);t.on("end",x)})).on("error",(function(e){if(F){F.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){x=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const r=this.parser.write(e);if(r&&!this._pause){t()}else{this._needDrain=!r;this._cb=t}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){n.call(this,e);this.bytesRead=0;this.truncated=false}o(FileStream,n);FileStream.prototype._read=function(e){};e.exports=Multipart},8306:(e,t,r)=>{const n=r(7100);const o=r(4619);const s=r(1467);const i=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const o=t.parsedConType;this.boy=e;this.fieldSizeLimit=s(r,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=s(r,"fieldNameSize",100);this.fieldsLimit=s(r,"fields",Infinity);let a;for(var A=0,c=o.length;Ai){this._key+=this.decoder.write(e.toString("binary",i,r))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();i=r+1}else if(n!==undefined){++this._fields;let r;const s=this._keyTrunc;if(n>i){r=this._key+=this.decoder.write(e.toString("binary",i,n))}else{r=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(r.length){this.boy.emit("field",o(r,"binary",this.charset),"",s,false)}i=n+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(s>i){this._key+=this.decoder.write(e.toString("binary",i,s))}i=s;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(ii){this._val+=this.decoder.write(e.toString("binary",i,n))}this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();i=n+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(s>i){this._val+=this.decoder.write(e.toString("binary",i,s))}i=s;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(i0){this.boy.emit("field",o(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},7100:e=>{const t=/\+/g;const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(t," ");let n="";let o=0;let s=0;const i=e.length;for(;os){n+=e.substring(s,o);s=o}this.buffer="";++s}}if(s{e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},4619:function(e){const t=new TextDecoder("utf-8");const r=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return n.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return n.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return n.utf16le;case"base64":return n.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return n.other.bind(e)}}}const n={utf8:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.utf8Slice(0,e.length)},latin1:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){return e}return e.latin1Slice(0,e.length)},utf16le:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.ucs2Slice(0,e.length)},base64:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.base64Slice(0,e.length)},other:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}if(r.has(this.toString())){try{return r.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},1467:e=>{e.exports=function getLimit(e,t,r){if(!e||e[t]===undefined||e[t]===null){return r}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},1854:(e,t,r)=>{const n=r(4619);const o=/%[a-fA-F0-9][a-fA-F0-9]/g;const s={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(e){return s[e]}const i=0;const a=1;const A=2;const c=3;function parseParams(e){const t=[];let r=i;let s="";let l=false;let u=false;let d=0;let g="";const f=e.length;for(var h=0;h{const hasContext=()=>{const{env:{GITHUB_ACTIONS:e}}=process;return!!e};const getContext=()=>{if(!hasContext()){throw new Error("GitHub context unavailable")}const{env:{GITHUB_REPOSITORY:e,GITHUB_WORKFLOW_REF:t,GITHUB_RUN_ID:r,GITHUB_RUN_ATTEMPT:n,GITHUB_HEAD_REF:o,GITHUB_REF:s,GITHUB_SHA:i}}=process;const[a,A]=e.split("/");const[c]=t.split("@");const l=new RegExp(`^${a}/${A}/.github/workflows/`);const u=o||s;return{github:{organization:a,repository:A,workflow:c.replace(l,""),runId:parseInt(r,10),runAttempt:parseInt(n,10)},git:{branch:u.replace(/^refs\/heads\//i,""),sha:i}}};e.exports={getContext:getContext,hasContext:hasContext}},2990:e=>{const flatten=e=>{const t={};for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r)){continue}if(typeof e[r]==="object"&&!Array.isArray(e[r])){const n=flatten(e[r]);for(const e in n){if(!Object.prototype.hasOwnProperty.call(n,e)){continue}const o=`${r}${e.charAt(0).toUpperCase()}${e.substring(1)}`;t[o]=n[e]}}else{t[r]=e[r]}}return t};e.exports={flatten:flatten}},3902:(e,t,r)=>{const n=r(3183);const{flatten:o}=r(2990);const s=r(7561);const{makeRelativeFilePath:i}=r(4968);const{omit:a}=r(250);const{resolve:A}=r(9411);const{formatErrorAjv:c,validateReportV1Ajv:l,validateReportV2Ajv:u,validateReportV1ContextAjv:d,validateReportV2ContextAjv:g,latestReportVersion:f}=n;const getReportVersion=e=>{const{reportVersion:t,version:r}=e;const n=t??r;switch(n){case null:case undefined:throw new Error("Unable to determine report version");default:return n}};const validateReport=(e,t="report")=>{const r=getReportVersion(e);let n;switch(r){case 1:if(!l(e)){n=l.errors}break;case 2:if(!u(e)){n=u.errors}break;default:throw new Error(`Unknown report version '${r}'`)}if(n&&n.length!==0){throw new Error(c(t,n))}};const injectReportV1Context=(e,t,r)=>{const{summary:n}=e;if(!n){throw new Error("Report is missing needed property 'summary'")}if(r||!d(n)){e.summary={...n,...o(t)}}return e};const injectReportV2Context=(e,t,r)=>{const{summary:n}=e;if(!n){throw new Error("Report is missing needed property 'summary'")}if(r||!g(n)){e.summary={...n,...t}}return e};const injectReportContext=(e,t,r)=>{const n=getReportVersion(e);switch(n){case 1:return injectReportV1Context(e,t,r);case 2:return injectReportV2Context(e,t,r);default:throw new Error(`Unknown report version '${n}'`)}};const injectReportV1LmsInfo=(e,t)=>{const{summary:r}=e;if(!r){throw new Error("Report is missing needed property 'summary'")}const{buildNumber:n,instanceUrl:o}=t;if(n){if(!r.lmsBuildNumber){r.lmsBuildNumber=n}else{throw new Error("LMS build number already present")}}if(o){if(!r.lmsInstanceUrl){r.lmsInstanceUrl=o}else{throw new Error("LMS instance URL already present")}}e.summary=r;return e};const injectReportV2LmsInfo=(e,t)=>{const{summary:r}=e;if(!r){throw new Error("Report is missing needed property 'summary'")}r.lms=r.lms??{};const{buildNumber:n,instanceUrl:o}=t;if(n){if(!r.lms.buildNumber){r.lms.buildNumber=n}else{throw new Error("LMS build number already present")}}if(o){if(!r.lms.instanceUrl){r.lms.instanceUrl=o}else{throw new Error("LMS instance URL already present")}}e.summary=r;return e};const injectReportLmsInfo=(e,t)=>{const r=getReportVersion(e);switch(r){case 1:return injectReportV1LmsInfo(e,t);case 2:return injectReportV2LmsInfo(e,t);default:throw new Error(`Unknown report version '${r}'`)}};const upgradeReportV1ToV2=e=>{const{reportId:t,summary:r,details:n}=e;const{githubOrganization:o,githubRepository:s,githubWorkflow:i,githubRunId:A,githubRunAttempt:c,gitBranch:l,gitSha:u,totalDuration:d,countPassed:g,countFailed:f,countSkipped:h,countFlaky:p,lmsBuildNumber:E,lmsInstanceUrl:C}=r;const m=a(r,["githubOrganization","githubRepository","githubWorkflow","githubRunId","githubRunAttempt","gitBranch","gitSha","totalDuration","countPassed","countFailed","countSkipped","countFlaky","lmsBuildNumber","lmsInstanceUrl"]);const I={...m,github:{organization:o,repository:s,workflow:i,runId:A,runAttempt:c},git:{branch:l,sha:u},count:{passed:g,failed:f,skipped:h,flaky:p},duration:{total:d}};if(E){I.lms=I.lms??{};I.lms.buildNumber=E}if(C){I.lms=I.lms??{};I.lms.instanceUrl=C}return{id:t,version:2,summary:I,details:n.map((e=>{const{location:t,duration:r,totalDuration:n}=e;const o=a(e,["totalDuration"]);return{...o,location:{file:t},duration:{total:n,final:r}}}))}};const upgradeReport=e=>{const t=getReportVersion(e);switch(t){case 1:return upgradeReportV1ToV2(e);case 2:return e;default:throw new Error(`Unknown report version: ${t}`)}};class Report{constructor(e,{context:t,lmsInfo:r,overrideContext:n=false}={}){let o;try{e=A(e);const t=s.readFileSync(e,"utf8");o=JSON.parse(t)}catch{throw new Error(`Unable to read/parse report at path ${e}`)}if(t){o=injectReportContext(o,t,n)}if(r){o=injectReportLmsInfo(o,r)}const a=getReportVersion(o);validateReport(o,`report (v${a})`);this._reportVersionOriginal=a;if(af){throw new Error(`Unsupported report version specified: ${a}`)}this._report=o;this._reportPath=i(e)}getPath(){return this._reportPath}getId(){return this._report.id}getVersionOriginal(){return this._reportVersionOriginal}getVersion(){return this._report.version}getContext(){const{summary:{github:e,git:t}}=this._report;return{github:e,git:t}}toJSON(){return this._report}}e.exports={Report:Report}},3183:(e,t,r)=>{const n=r(5988);const o=r(567);const s=new n({verbose:true,strict:true,allErrors:false,schemas:[r(9681),r(51),r(5659)]});o(s,["date-time","uri","uuid"]);s.addSchema({$schema:"https://json-schema.org/draft/2019-09/schema",$id:"/test-reporting/schemas/report/v1/context/loose.json",$ref:"/test-reporting/schemas/report/v1/context.json",type:"object",unevaluatedProperties:true});s.addSchema({$schema:"https://json-schema.org/draft/2019-09/schema",$id:"/test-reporting/schemas/report/v2/context/loose.json",$ref:"/test-reporting/schemas/report/v2/context.json",type:"object",unevaluatedProperties:true});const i=s.getSchema("/test-reporting/schemas/report-configuration/v1.json");const a=s.getSchema("/test-reporting/schemas/report/v1/context/loose.json");const A=s.getSchema("/test-reporting/schemas/report/v2/context/loose.json");const c=s.getSchema("/test-reporting/schemas/report/v1.json");const l=s.getSchema("/test-reporting/schemas/report/v2.json");const u=2;const formatErrorAjv=(e,t)=>{const{instancePath:r,message:n,parentSchema:{type:o},data:s}=t[0];const i=JSON.stringify(s,null,2);const a=r===""?"/":r;const A=[`${e} does not conform to schema`,`Details: the ${o} at '${a}' ${n}`];if(i.includes("\n")){A.push(`Current value:\n\n${i}\n`)}else{A.push(`Current value: ${i}`)}return A.join("\n")};e.exports={formatErrorAjv:formatErrorAjv,validateReportConfigurationV1Ajv:i,validateReportV1ContextAjv:a,validateReportV2ContextAjv:A,validateReportV1Ajv:c,validateReportV2Ajv:l,latestReportVersion:u}},4968:(e,t,r)=>{const{relative:n,sep:o}=r(9411);const{join:s}=r(984);const{type:i}=r(612);const getOperatingSystemType=()=>{switch(i()){case"Linux":return"linux";case"Darwin":return"macos";case"Windows_NT":return"windows";default:throw new Error("Unknown operating system")}};const makeRelativeFilePath=e=>{const t=n(process.cwd(),e);const r=t.split(o);return s(...r)};e.exports={getOperatingSystemType:getOperatingSystemType,makeRelativeFilePath:makeRelativeFilePath}},9722:e=>{e.exports=JSON.parse('{"name":"@aws-sdk/client-sso-oidc","description":"AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native","version":"3.598.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sso-oidc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso-oidc"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sts":"3.598.0","@aws-sdk/core":"3.598.0","@aws-sdk/credential-provider-node":"3.598.0","@aws-sdk/middleware-host-header":"3.598.0","@aws-sdk/middleware-logger":"3.598.0","@aws-sdk/middleware-recursion-detection":"3.598.0","@aws-sdk/middleware-user-agent":"3.598.0","@aws-sdk/region-config-resolver":"3.598.0","@aws-sdk/types":"3.598.0","@aws-sdk/util-endpoints":"3.598.0","@aws-sdk/util-user-agent-browser":"3.598.0","@aws-sdk/util-user-agent-node":"3.598.0","@smithy/config-resolver":"^3.0.2","@smithy/core":"^2.2.1","@smithy/fetch-http-handler":"^3.0.2","@smithy/hash-node":"^3.0.1","@smithy/invalid-dependency":"^3.0.1","@smithy/middleware-content-length":"^3.0.1","@smithy/middleware-endpoint":"^3.0.2","@smithy/middleware-retry":"^3.0.4","@smithy/middleware-serde":"^3.0.1","@smithy/middleware-stack":"^3.0.1","@smithy/node-config-provider":"^3.1.1","@smithy/node-http-handler":"^3.0.1","@smithy/protocol-http":"^4.0.1","@smithy/smithy-client":"^3.1.2","@smithy/types":"^3.1.0","@smithy/url-parser":"^3.0.1","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.4","@smithy/util-defaults-mode-node":"^3.0.4","@smithy/util-endpoints":"^2.0.2","@smithy/util-middleware":"^3.0.1","@smithy/util-retry":"^3.0.1","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-oidc","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso-oidc"}}')},1092:e=>{e.exports=JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native","version":"3.598.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sso","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.598.0","@aws-sdk/middleware-host-header":"3.598.0","@aws-sdk/middleware-logger":"3.598.0","@aws-sdk/middleware-recursion-detection":"3.598.0","@aws-sdk/middleware-user-agent":"3.598.0","@aws-sdk/region-config-resolver":"3.598.0","@aws-sdk/types":"3.598.0","@aws-sdk/util-endpoints":"3.598.0","@aws-sdk/util-user-agent-browser":"3.598.0","@aws-sdk/util-user-agent-node":"3.598.0","@smithy/config-resolver":"^3.0.2","@smithy/core":"^2.2.1","@smithy/fetch-http-handler":"^3.0.2","@smithy/hash-node":"^3.0.1","@smithy/invalid-dependency":"^3.0.1","@smithy/middleware-content-length":"^3.0.1","@smithy/middleware-endpoint":"^3.0.2","@smithy/middleware-retry":"^3.0.4","@smithy/middleware-serde":"^3.0.1","@smithy/middleware-stack":"^3.0.1","@smithy/node-config-provider":"^3.1.1","@smithy/node-http-handler":"^3.0.1","@smithy/protocol-http":"^4.0.1","@smithy/smithy-client":"^3.1.2","@smithy/types":"^3.1.0","@smithy/url-parser":"^3.0.1","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.4","@smithy/util-defaults-mode-node":"^3.0.4","@smithy/util-endpoints":"^2.0.2","@smithy/util-middleware":"^3.0.1","@smithy/util-retry":"^3.0.1","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso"}}')},7947:e=>{e.exports=JSON.parse('{"name":"@aws-sdk/client-sts","description":"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native","version":"3.598.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sts","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"rimraf ./dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sts","test":"yarn test:unit","test:unit":"jest"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.598.0","@aws-sdk/core":"3.598.0","@aws-sdk/credential-provider-node":"3.598.0","@aws-sdk/middleware-host-header":"3.598.0","@aws-sdk/middleware-logger":"3.598.0","@aws-sdk/middleware-recursion-detection":"3.598.0","@aws-sdk/middleware-user-agent":"3.598.0","@aws-sdk/region-config-resolver":"3.598.0","@aws-sdk/types":"3.598.0","@aws-sdk/util-endpoints":"3.598.0","@aws-sdk/util-user-agent-browser":"3.598.0","@aws-sdk/util-user-agent-node":"3.598.0","@smithy/config-resolver":"^3.0.2","@smithy/core":"^2.2.1","@smithy/fetch-http-handler":"^3.0.2","@smithy/hash-node":"^3.0.1","@smithy/invalid-dependency":"^3.0.1","@smithy/middleware-content-length":"^3.0.1","@smithy/middleware-endpoint":"^3.0.2","@smithy/middleware-retry":"^3.0.4","@smithy/middleware-serde":"^3.0.1","@smithy/middleware-stack":"^3.0.1","@smithy/node-config-provider":"^3.1.1","@smithy/node-http-handler":"^3.0.1","@smithy/protocol-http":"^4.0.1","@smithy/smithy-client":"^3.1.2","@smithy/types":"^3.1.0","@smithy/url-parser":"^3.0.1","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.4","@smithy/util-defaults-mode-node":"^3.0.4","@smithy/util-endpoints":"^2.0.2","@smithy/util-middleware":"^3.0.1","@smithy/util-retry":"^3.0.1","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sts"}}')},2144:e=>{e.exports=JSON.parse('{"name":"@aws-sdk/client-timestream-write","description":"AWS SDK for JavaScript Timestream Write Client for Node.js, Browser and React Native","version":"3.598.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-timestream-write","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo timestream-write"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.598.0","@aws-sdk/client-sts":"3.598.0","@aws-sdk/core":"3.598.0","@aws-sdk/credential-provider-node":"3.598.0","@aws-sdk/middleware-endpoint-discovery":"3.598.0","@aws-sdk/middleware-host-header":"3.598.0","@aws-sdk/middleware-logger":"3.598.0","@aws-sdk/middleware-recursion-detection":"3.598.0","@aws-sdk/middleware-user-agent":"3.598.0","@aws-sdk/region-config-resolver":"3.598.0","@aws-sdk/types":"3.598.0","@aws-sdk/util-endpoints":"3.598.0","@aws-sdk/util-user-agent-browser":"3.598.0","@aws-sdk/util-user-agent-node":"3.598.0","@smithy/config-resolver":"^3.0.2","@smithy/core":"^2.2.1","@smithy/fetch-http-handler":"^3.0.2","@smithy/hash-node":"^3.0.1","@smithy/invalid-dependency":"^3.0.1","@smithy/middleware-content-length":"^3.0.1","@smithy/middleware-endpoint":"^3.0.2","@smithy/middleware-retry":"^3.0.4","@smithy/middleware-serde":"^3.0.1","@smithy/middleware-stack":"^3.0.1","@smithy/node-config-provider":"^3.1.1","@smithy/node-http-handler":"^3.0.1","@smithy/protocol-http":"^4.0.1","@smithy/smithy-client":"^3.1.2","@smithy/types":"^3.1.0","@smithy/url-parser":"^3.0.1","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.4","@smithy/util-defaults-mode-node":"^3.0.4","@smithy/util-endpoints":"^2.0.2","@smithy/util-middleware":"^3.0.1","@smithy/util-retry":"^3.0.1","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2","uuid":"^9.0.1"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","@types/uuid":"^9.0.4","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-timestream-write","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-timestream-write"}}')},4775:e=>{e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},8161:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/applicator":true},"$recursiveAnchor":true,"title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"additionalItems":{"$recursiveRef":"#"},"unevaluatedItems":{"$recursiveRef":"#"},"items":{"anyOf":[{"$recursiveRef":"#"},{"$ref":"#/$defs/schemaArray"}]},"contains":{"$recursiveRef":"#"},"additionalProperties":{"$recursiveRef":"#"},"unevaluatedProperties":{"$recursiveRef":"#"},"properties":{"type":"object","additionalProperties":{"$recursiveRef":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$recursiveRef":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$recursiveRef":"#"}},"propertyNames":{"$recursiveRef":"#"},"if":{"$recursiveRef":"#"},"then":{"$recursiveRef":"#"},"else":{"$recursiveRef":"#"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$recursiveRef":"#"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$recursiveRef":"#"}}}}')},7114:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/content","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/content":true},"$recursiveAnchor":true,"title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"contentSchema":{"$recursiveRef":"#"}}}')},484:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/core","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/core":true},"$recursiveAnchor":true,"title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"type":"string","format":"uri"},"$anchor":{"type":"string","pattern":"^[A-Za-z][-A-Za-z0-9.:_]*$"},"$ref":{"type":"string","format":"uri-reference"},"$recursiveRef":{"type":"string","format":"uri-reference"},"$recursiveAnchor":{"type":"boolean","default":false},"$vocabulary":{"type":"object","propertyNames":{"type":"string","format":"uri"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$recursiveRef":"#"},"default":{}}}}')},877:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/format","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/format":true},"$recursiveAnchor":true,"title":"Format vocabulary meta-schema","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},5032:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/meta-data":true},"$recursiveAnchor":true,"title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},2374:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/validation","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/validation":true},"$recursiveAnchor":true,"title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}},"const":true,"enum":{"type":"array","items":true},"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},3329:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/schema","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/core":true,"https://json-schema.org/draft/2019-09/vocab/applicator":true,"https://json-schema.org/draft/2019-09/vocab/validation":true,"https://json-schema.org/draft/2019-09/vocab/meta-data":true,"https://json-schema.org/draft/2019-09/vocab/format":false,"https://json-schema.org/draft/2019-09/vocab/content":true},"$recursiveAnchor":true,"title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format"},{"$ref":"meta/content"}],"type":["object","boolean"],"properties":{"definitions":{"$comment":"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.","type":"object","additionalProperties":{"$recursiveRef":"#"},"default":{}},"dependencies":{"$comment":"\\"dependencies\\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \\"dependentSchemas\\" and \\"dependentRequired\\"","type":"object","additionalProperties":{"anyOf":[{"$recursiveRef":"#"},{"$ref":"meta/validation#/$defs/stringArray"}]}}}}')},98:e=>{e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},9681:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report-configuration/v1.json","$ref":"#/$defs/taxonomyObject","type":"object","unevaluatedProperties":false,"properties":{"ignorePatterns":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/$defs/nonEmptyUnpaddedString"}},"overrides":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","unevaluatedProperties":false,"minProperties":2,"$ref":"#/$defs/taxonomyObject","properties":{"pattern":{"$ref":"#/$defs/nonEmptyUnpaddedString"}},"required":["pattern"]}}},"allOf":[{"if":{"properties":{"type":{"const":null}}},"then":{"properties":{"overrides":{"type":"array","items":{"type":"object","properties":{"type":{"$ref":"#/$defs/taxonomyObject/properties/type"}},"required":["type"]}}}}},{"if":{"properties":{"tool":{"const":null}}},"then":{"properties":{"overrides":{"type":"array","items":{"type":"object","properties":{"tool":{"$ref":"#/$defs/taxonomyObject/properties/tool"}},"required":["tool"]}}}}},{"if":{"properties":{"experience":{"const":null}}},"then":{"properties":{"overrides":{"type":"array","items":{"type":"object","properties":{"experience":{"$ref":"#/$defs/taxonomyObject/properties/experience"}},"required":["experience"]}}}}},{"if":{"properties":{"type":{"const":null},"tool":{"const":null},"experience":{"const":null}}},"then":{"required":["overrides"]}}],"$defs":{"nonEmptyUnpaddedString":{"type":"string","minLength":1,"pattern":"^(?!\\\\s).+(?{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report/v1.json","type":"object","unevaluatedProperties":false,"properties":{"reportId":{"type":"string","format":"uuid"},"reportVersion":{"type":"integer","const":1},"summary":{"$ref":"#/$defs/context","type":"object","unevaluatedProperties":false,"properties":{"framework":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"lmsBuildNumber":{"type":"string","pattern":"([0-9]{2}\\\\.){2}[0-9]{1,2}\\\\.[0-9]{5}"},"lmsInstanceUrl":{"type":"string","format":"uri"},"operatingSystem":{"type":"string","enum":["windows","linux","mac"]},"started":{"type":"string","format":"date-time"},"totalDuration":{"type":"integer","minimum":0},"status":{"type":"string","enum":["passed","failed"]},"countPassed":{"type":"integer","minimum":0},"countFailed":{"type":"integer","minimum":0},"countSkipped":{"type":"integer","minimum":0},"countFlaky":{"type":"integer","minimum":0}},"required":["operatingSystem","framework","started","totalDuration","status","countPassed","countFailed","countSkipped","countFlaky"]},"details":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","unevaluatedProperties":false,"properties":{"name":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"location":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"tool":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"experience":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"type":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"started":{"type":"string","format":"date-time"},"duration":{"type":"integer","minimum":0},"totalDuration":{"type":"integer","minimum":0},"status":{"type":"string","enum":["passed","failed","skipped"]},"browser":{"type":"string","enum":["chromium","chrome","firefox","webkit","safari","edge"]},"retries":{"type":"integer","minimum":0}},"required":["name","location","started","duration","totalDuration","status","retries"]}}},"required":["reportId","reportVersion","summary","details"],"$defs":{"nonEmptyUnpaddedString":{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report/v1/non-empty-unpadded-string.json","type":"string","minLength":1,"pattern":"^(?!\\\\s).+(?{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report/v2.json","type":"object","unevaluatedProperties":false,"properties":{"id":{"type":"string","format":"uuid"},"version":{"type":"integer","const":2},"summary":{"$ref":"#/$defs/context","type":"object","unevaluatedProperties":false,"properties":{"framework":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"lms":{"type":"object","properties":{"buildNumber":{"type":"string","pattern":"([0-9]{2}\\\\.){2}[0-9]{1,2}\\\\.[0-9]{5}"},"instanceUrl":{"type":"string","format":"uri"}}},"operatingSystem":{"type":"string","enum":["windows","linux","mac"]},"started":{"type":"string","format":"date-time"},"duration":{"type":"object","properties":{"total":{"type":"integer","minimum":0}},"required":["total"]},"status":{"type":"string","enum":["passed","failed"]},"count":{"type":"object","properties":{"passed":{"type":"integer","minimum":0},"failed":{"type":"integer","minimum":0},"skipped":{"type":"integer","minimum":0},"flaky":{"type":"integer","minimum":0}},"required":["passed","failed","skipped","flaky"]}},"required":["operatingSystem","framework","started","duration","status","count"]},"details":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","unevaluatedProperties":false,"properties":{"name":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"location":{"type":"object","properties":{"file":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"line":{"type":"integer","minimum":0},"column":{"type":"integer","minimum":0}},"required":["file"]},"tool":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"experience":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"type":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"started":{"type":"string","format":"date-time"},"timeout":{"type":"integer","minimum":0},"duration":{"type":"object","properties":{"final":{"type":"integer","minimum":0},"total":{"type":"integer","minimum":0}},"required":["final","total"]},"status":{"type":"string","enum":["passed","failed","skipped"]},"browser":{"type":"string","enum":["chromium","chrome","firefox","webkit","safari","edge"]},"retries":{"type":"integer","minimum":0},"error":{"type":"object","properties":{"message":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"file":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"line":{"type":"integer","minimum":0},"column":{"type":"integer","minimum":0}},"required":["message"]}},"required":["name","location","started","duration","status","retries"]}}},"required":["id","version","summary","details"],"$defs":{"nonEmptyUnpaddedString":{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report/v2/non-empty-unpadded-string.json","type":"string","minLength":1,"pattern":"^(?!\\\\s).+(?{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var n={};(()=>{var e=__nccwpck_require__(2186);var t=__nccwpck_require__(9309);var r=__nccwpck_require__(3292);var n=__nccwpck_require__(1017);const o="https://test-reporting.d2l.dev";const makeLogger=()=>({startGroup:e.startGroup,endGroup:e.endGroup,info:e.info,warning:e.warning,error:e.error});const getStringInput=(t,{required:r=true,lowerCase:n=false}={})=>{const o=(0,e.getInput)(t,{required:r});if(o===""&&r){throw new Error(`Input '${t}' must be a non-empty string`)}return n?o.toLowerCase():o};const getContext=e=>{e.startGroup("Gather GitHub context");let r;try{r=(0,t.getContext)()}catch{throw new Error("Unable to gather github context")}const{github:n,git:o}=r;const{organization:s,repository:i,workflow:a,runId:A,runAttempt:c}=n;const{branch:l,sha:u}=o;e.info(`GitHub organization: ${s}`);e.info(`GitHub repository: ${i}`);e.info(`GitHub workflow: ${a}`);e.info(`GitHub run ID: ${A}`);e.info(`GitHub run attempt: ${c}`);e.info(`Git branch: ${l}`);e.info(`Git SHA: ${u}`);e.endGroup();return r};const getInputs=async t=>{t.startGroup("Gather GitHub inputs");t.info("Gather credentials");const o=getStringInput("aws-access-key-id");const s=getStringInput("aws-secret-access-key");const i=getStringInput("aws-session-token");t.info("Determine report path");const a=(0,n.resolve)(getStringInput("report-path"));try{await r.access(a)}catch{throw new Error("Report path must exists")}t.info(`Report path: ${a}`);t.info("Determine LMS information");let A=getStringInput("lms-build-number",{required:false});let c=getStringInput("lms-instance-url",{required:false});if(A!==""){t.info(`LMS build number: ${A}`)}else{A=undefined}if(c!==""){t.info(`LMS instance URL: ${c}`)}else{c=undefined}t.info("Determine inject context mode");const l=getStringInput("inject-github-context",{lowerCase:true});if(!["auto","force","off"].includes(l)){throw new Error("Inject context mode invalid")}t.info(`Inject context mode: ${l}`);const u=(0,e.getBooleanInput)("dry-run",{required:true});t.info(`Dry run: ${u}`);const d=(0,e.getBooleanInput)("debug",{required:true});t.info(`Debug: ${d}`);t.endGroup();return{awsAccessKeyId:o,awsSecretAccessKey:s,awsSessionToken:i,reportPath:a,lmsBuildNumber:A,lmsInstanceUrl:c,injectGitHubContext:l,dryRun:u,debug:d}};const updateSummary=(t,r,n)=>{t.startGroup("Update GitHub Actions summary");e.summary.addHeading("Test Reporting",2);e.summary.addRaw("The overview of data submitted can be found ");const s=new URL("metrics",o);const{searchParams:i}=s;const{github:{organization:a,repository:A}}=r;i.set("var-githubOrganizations",a);i.set("var-githubRepositories",A);e.summary.addLink("here",s.toString());e.summary.addEOL();e.summary.addRaw("A more detailed view of data submitted can be found ");const c=new URL("drill-down",o);const{searchParams:l}=c;l.set("var-githubOrganizations",a);l.set("var-githubRepositories",A);e.summary.addLink("here",c.toString());e.summary.addEOL();const{debug:u,dryRun:d}=n;if(u){t.info("Generated summary\n");t.info(`${e.summary.stringify()}\n`)}if(d){t.info("Dry run, skipping GitHub Action summary update");return}e.summary.write()};var s=__nccwpck_require__(2209);var i=__nccwpck_require__(3484);var a=__nccwpck_require__(3902);const A="us-east-1";const c="test_reporting";const{BIGINT:l,VARCHAR:u,MULTI:d}=i.MeasureValueType;const{MILLISECONDS:g}=i.TimeUnit;const makeSummaryWriteRequest=e=>{const{id:t,version:r,summary:n}=e;const{github:{organization:o,repository:s,workflow:i,runId:a,runAttempt:A},git:{branch:f,sha:h},operatingSystem:p,framework:E,started:C,duration:{total:m},status:I,count:{passed:y,failed:Q,skipped:B,flaky:v},lms:b}=n;const w=[{Name:"report_id",Value:t},{Name:"github_organization",Value:o},{Name:"github_repository",Value:s},{Name:"github_workflow",Value:i},{Name:"github_run_id",Value:a.toString()},{Name:"github_run_attempt",Value:A.toString()},{Name:"git_branch",Value:f},{Name:"git_sha",Value:h},{Name:"operating_system",Value:p},{Name:"framework",Value:E}];if(b){const{buildNumber:e,instanceUrl:t}=b;if(e){w.push({Name:"lms_build_number",Value:e})}if(t){w.push({Name:"lms_instance_url",Value:t})}}return{DatabaseName:c,TableName:"summary",Records:[{Version:1,Time:Date.parse(C).toString(),TimeUnit:g,MeasureName:`report_${r}_bc`,MeasureValueType:d,MeasureValues:[{Name:"total_duration",Value:m.toString(),Type:l},{Name:"duration_total",Value:m.toString(),Type:l},{Name:"status",Value:I,Type:u},{Name:"count_passed",Value:y.toString(),Type:l},{Name:"count_failed",Value:Q.toString(),Type:l},{Name:"count_skipped",Value:B.toString(),Type:l},{Name:"count_flaky",Value:v.toString(),Type:l}],Dimensions:w}]}};const makeDetailRecord=e=>{const{name:t,started:r,location:n,retries:o,timeout:s,duration:{total:i,final:a},status:A,browser:c,type:d,experience:f,tool:h}=e;const{file:p,line:E,column:C}=n;const m=[{Name:"name",Value:t},{Name:"location",Value:p},{Name:"location_file",Value:p}];if(s){m.push({Name:"timeout",Value:s.toString()})}if(E){m.push({Name:"location_line",Value:E.toString()})}if(C){m.push({Name:"location_column",Value:C.toString()})}if(c){m.push({Name:"browser",Value:c})}if(d){m.push({Name:"type",Value:d})}if(f){m.push({Name:"experience",Value:f})}if(h){m.push({Name:"tool",Value:h})}return{Time:Date.parse(r).toString(),TimeUnit:g,MeasureValues:[{Name:"duration",Value:a.toString(),Type:l},{Name:"total_duration",Value:i.toString(),Type:l},{Name:"duration_final",Value:a.toString(),Type:l},{Name:"duration_total",Value:i.toString(),Type:l},{Name:"retries",Value:o.toString(),Type:l},{Name:"status",Value:A,Type:u}],Dimensions:m}};const makeDetailWriteRequests=e=>{const{id:t,version:r,details:n}=e;const o=100;const s=Array.from({length:Math.ceil(n.length/o)},((e,s)=>{const i=n.slice(s*o,s*o+o).map(makeDetailRecord);return{DatabaseName:c,TableName:"details",Records:i,CommonAttributes:{Version:1,MeasureName:`report_${r}_bc`,MeasureValueType:d,Dimensions:[{Name:"report_id",Value:t,Type:u}]}}}));return s};const assumeRole=async(e,t,r,n,o,i)=>{const a=new s.STSClient({region:e,credentials:t});const A=new s.AssumeRoleCommand({RoleArn:r,RoleSessionName:n,DurationSeconds:o,Tags:i});const{Credentials:c}=await a.send(A);const{AccessKeyId:l,SecretAccessKey:u,SessionToken:d}=c;return{accessKeyId:l,secretAccessKey:u,sessionToken:d}};const writeTimestream=async(e,t,r)=>{const n=new i.TimestreamWriteClient({credentials:t,region:e});for(const e of r){const t=new i.WriteRecordsCommand(e);await n.send(t)}};const finalize=async(e,t,r)=>{e.startGroup("Finalize test report");const{reportPath:n,injectGitHubContext:o,lmsBuildNumber:s,lmsInstanceUrl:i,debug:A}=r;const c={};if(s){c.buildNumber=s}if(i){c.instanceUrl=i}let l={lmsInfo:c};if(o==="force"){e.info("Forcefully inject GitHub context");l={...l,context:t,overrideContext:true}}else if(o==="auto"){e.info("Allow injection of GitHub context");l={...l,context:t}}else{e.info("Not injecting GitHub context")}const u=new a.Report(n,l);if(A){e.info("Loaded report\n");e.info(`${JSON.stringify(u,null,2)}\n`)}e.info(`Report ID: ${u.getId()}`);const d=u.getVersionOriginal();const g=u.getVersion();if(d!==g){e.info(`Report Version: ${g} (Upgrade from ${d})`)}else{e.info(`Report Version: ${g}`)}e.endGroup();return u};const report_submit=async(e,t,r,n)=>{e.startGroup("Submit report");e.info("Generate summary write request");n=n.toJSON();const{debug:o}=r;const s=makeSummaryWriteRequest(n);if(o){e.info("Generated summary write request\n");e.info(`${JSON.stringify(s,null,2)}\n`)}e.info("Generate detail write requests");const i=makeDetailWriteRequests(n);if(o){e.info("Generated detail write requests\n");e.info(`${JSON.stringify(i,null,2)}\n`)}e.info("Merge write requests");const a=[s,...i];e.info("Assume required role");let c;try{const{github:{organization:e,repository:n}}=t;const{awsAccessKeyId:o,awsSecretAccessKey:s,awsSessionToken:i}=r;c=await assumeRole(A,{accessKeyId:o,secretAccessKey:s,sessionToken:i},"arn:aws:iam::427469055187:role/test-reporting-github",`test-reporting-${(new Date).getTime()}`,3600,[{Key:"Org",Value:e},{Key:"Repo",Value:n}])}catch({message:e}){if(e.includes("is not authorized to perform")){throw new Error("Unable to assume required role. Possibly missing repo-settings set-up. Please see https://github.com/Brightspace/repo-settings/blob/main/docs/test-reporting.md for details")}throw new Error(`Unable to assume required role: ${e}`)}const{dryRun:l}=r;if(l){e.info("Dry run, skipping records submit");return}e.info("Executing write requests");try{await writeTimestream(A,c,a)}catch({message:e}){throw new Error(`Unable to submit write requests: ${e}`)}e.endGroup()};(async()=>{const t=makeLogger();try{const e=getContext(t);const r=await getInputs(t);const n=await finalize(t,e,r);const o=n.getContext();await report_submit(t,e,r,n);updateSummary(t,o,r)}catch({message:r}){(0,e.setFailed)(r);t.endGroup()}})()})(); \ No newline at end of file +(function(e,r){true?r(t):0})(this,(function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),r=0;r1){t[0]=t[0].slice(0,-1);var n=t.length-1;for(var o=1;o= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var E=s-i;var C=Math.floor;var m=String.fromCharCode;function error$1(e){throw new RangeError(p[e])}function map(e,t){var r=[];var n=e.length;while(n--){r[n]=t(e[n])}return r}function mapDomain(e,t){var r=e.split("@");var n="";if(r.length>1){n=r[0]+"@";e=r[1]}e=e.replace(h,".");var o=e.split(".");var s=map(o,t).join(".");return n+s}function ucs2decode(e){var t=[];var r=0;var n=e.length;while(r=55296&&o<=56319&&r>1;e+=C(e/t);for(;e>E*a>>1;n+=s){e=C(e/E)}return C(n+(E+1)*e/(e+A))};var v=function decode(e){var t=[];var r=e.length;var n=0;var A=u;var c=l;var g=e.lastIndexOf(d);if(g<0){g=0}for(var f=0;f=128){error$1("not-basic")}t.push(e.charCodeAt(f))}for(var h=g>0?g+1:0;h=r){error$1("invalid-input")}var I=y(e.charCodeAt(h++));if(I>=s||I>C((o-n)/E)){error$1("overflow")}n+=I*E;var Q=m<=c?i:m>=c+a?a:m-c;if(IC(o/v)){error$1("overflow")}E*=v}var b=t.length+1;c=B(n-p,b,p==0);if(C(n/b)>o-A){error$1("overflow")}A+=C(n/b);n%=b;t.splice(n++,0,A)}return String.fromCodePoint.apply(String,t)};var b=function encode(e){var t=[];e=ucs2decode(e);var r=e.length;var n=u;var A=0;var c=l;var g=true;var f=false;var h=undefined;try{for(var p=e[Symbol.iterator](),E;!(g=(E=p.next()).done);g=true){var I=E.value;if(I<128){t.push(m(I))}}}catch(e){f=true;h=e}finally{try{if(!g&&p.return){p.return()}}finally{if(f){throw h}}}var y=t.length;var v=y;if(y){t.push(d)}while(v=n&&NC((o-A)/F)){error$1("overflow")}A+=(b-n)*F;n=b;var T=true;var x=false;var P=undefined;try{for(var O=e[Symbol.iterator](),U;!(T=(U=O.next()).done);T=true){var M=U.value;if(Mo){error$1("overflow")}if(M==n){var L=A;for(var H=s;;H+=s){var j=H<=c?i:H>=c+a?a:H-c;if(L>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else r="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return r}function pctDecChars(e){var t="";var r=0;var n=e.length;while(r=194&&o<224){if(n-r>=6){var s=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((o&31)<<6|s&63)}else{t+=e.substr(r,6)}r+=6}else if(o>=224){if(n-r>=9){var i=parseInt(e.substr(r+4,2),16);var a=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((o&15)<<12|(i&63)<<6|a&63)}else{t+=e.substr(r,9)}r+=9}else{t+=e.substr(r,3);r+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var r=pctDecChars(e);return!r.match(t.UNRESERVED)?e:r}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var r=e.match(t.IPV4ADDRESS)||[];var o=n(r,2),s=o[1];if(s){return s.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var r=e.match(t.IPV6ADDRESS)||[];var o=n(r,3),s=o[1],i=o[2];if(s){var a=s.toLowerCase().split("::").reverse(),A=n(a,2),c=A[0],l=A[1];var u=l?l.split(":").map(_stripLeadingZeros):[];var d=c.split(":").map(_stripLeadingZeros);var g=t.IPV4ADDRESS.test(d[d.length-1]);var f=g?7:8;var h=d.length-f;var p=Array(f);for(var E=0;E1){var y=p.slice(0,m.index);var Q=p.slice(m.index+m.length);I=y.join(":")+"::"+Q.join(":")}else{I=p.join(":")}if(i){I+="%"+i}return I}else{return e}}var k=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var N="".match(/(){0}/)[1]===undefined;function parse(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o={};var s=n.iri!==false?r:t;if(n.reference==="suffix")e=(n.scheme?n.scheme+":":"")+"//"+e;var i=e.match(k);if(i){if(N){o.scheme=i[1];o.userinfo=i[3];o.host=i[4];o.port=parseInt(i[5],10);o.path=i[6]||"";o.query=i[7];o.fragment=i[8];if(isNaN(o.port)){o.port=i[5]}}else{o.scheme=i[1]||undefined;o.userinfo=e.indexOf("@")!==-1?i[3]:undefined;o.host=e.indexOf("//")!==-1?i[4]:undefined;o.port=parseInt(i[5],10);o.path=i[6]||"";o.query=e.indexOf("?")!==-1?i[7]:undefined;o.fragment=e.indexOf("#")!==-1?i[8]:undefined;if(isNaN(o.port)){o.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:undefined}}if(o.host){o.host=_normalizeIPv6(_normalizeIPv4(o.host,s),s)}if(o.scheme===undefined&&o.userinfo===undefined&&o.host===undefined&&o.port===undefined&&!o.path&&o.query===undefined){o.reference="same-document"}else if(o.scheme===undefined){o.reference="relative"}else if(o.fragment===undefined){o.reference="absolute"}else{o.reference="uri"}if(n.reference&&n.reference!=="suffix"&&n.reference!==o.reference){o.error=o.error||"URI is not a "+n.reference+" reference."}var a=D[(n.scheme||o.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!a||!a.unicodeSupport)){if(o.host&&(n.domainHost||a&&a.domainHost)){try{o.host=R.toASCII(o.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){o.error=o.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(o,t)}else{_normalizeComponentEncoding(o,s)}if(a&&a.parse){a.parse(o,n)}}else{o.error=o.error||"URI can not be parsed."}return o}function _recomposeAuthority(e,n){var o=n.iri!==false?r:t;var s=[];if(e.userinfo!==undefined){s.push(e.userinfo);s.push("@")}if(e.host!==undefined){s.push(_normalizeIPv6(_normalizeIPv4(String(e.host),o),o).replace(o.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"})))}if(typeof e.port==="number"||typeof e.port==="string"){s.push(":");s.push(String(e.port))}return s.length?s.join(""):undefined}var F=/^\.\.?\//;var T=/^\/\.(\/|$)/;var x=/^\/\.\.(\/|$)/;var P=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(F)){e=e.replace(F,"")}else if(e.match(T)){e=e.replace(T,"/")}else if(e.match(x)){e=e.replace(x,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var r=e.match(P);if(r){var n=r[0];e=e.slice(n.length);t.push(n)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=n.iri?r:t;var s=[];var i=D[(n.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize)i.serialize(e,n);if(e.host){if(o.IPV6ADDRESS.test(e.host)){}else if(n.domainHost||i&&i.domainHost){try{e.host=!n.iri?R.toASCII(e.host.replace(o.PCT_ENCODED,pctDecChars).toLowerCase()):R.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!n.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,o);if(n.reference!=="suffix"&&e.scheme){s.push(e.scheme);s.push(":")}var a=_recomposeAuthority(e,n);if(a!==undefined){if(n.reference!=="suffix"){s.push("//")}s.push(a);if(e.path&&e.path.charAt(0)!=="/"){s.push("/")}}if(e.path!==undefined){var A=e.path;if(!n.absolutePath&&(!i||!i.absolutePath)){A=removeDotSegments(A)}if(a===undefined){A=A.replace(/^\/\//,"/%2F")}s.push(A)}if(e.query!==undefined){s.push("?");s.push(e.query)}if(e.fragment!==undefined){s.push("#");s.push(e.fragment)}return s.join("")}function resolveComponents(e,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var o={};if(!n){e=parse(serialize(e,r),r);t=parse(serialize(t,r),r)}r=r||{};if(!r.tolerant&&t.scheme){o.scheme=t.scheme;o.userinfo=t.userinfo;o.host=t.host;o.port=t.port;o.path=removeDotSegments(t.path||"");o.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){o.userinfo=t.userinfo;o.host=t.host;o.port=t.port;o.path=removeDotSegments(t.path||"");o.query=t.query}else{if(!t.path){o.path=e.path;if(t.query!==undefined){o.query=t.query}else{o.query=e.query}}else{if(t.path.charAt(0)==="/"){o.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){o.path="/"+t.path}else if(!e.path){o.path=t.path}else{o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}o.path=removeDotSegments(o.path)}o.query=t.query}o.userinfo=e.userinfo;o.host=e.host;o.port=e.port}o.scheme=e.scheme}o.fragment=t.fragment;return o}function resolve(e,t,r){var n=assign({scheme:"null"},r);return serialize(resolveComponents(parse(e,n),parse(t,n),n,true),n)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,r){if(typeof e==="string"){e=serialize(parse(e,r),r)}else if(typeOf(e)==="object"){e=serialize(e,r)}if(typeof t==="string"){t=serialize(parse(t,r),r)}else if(typeOf(t)==="object"){t=serialize(t,r)}return e===t}function escapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.ESCAPE:r.ESCAPE,pctEncChar)}function unescapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.PCT_ENCODED:r.PCT_ENCODED,pctDecChars)}var O={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){var r=String(e.scheme).toLowerCase()==="https";if(e.port===(r?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var U={scheme:"https",domainHost:O.domainHost,parse:O.parse,serialize:O.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var M={scheme:"ws",domainHost:true,parse:function parse(e,t){var r=e;r.secure=isSecure(r);r.resourceName=(r.path||"/")+(r.query?"?"+r.query:"");r.path=undefined;r.query=undefined;return r},serialize:function serialize(e,t){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var r=e.resourceName.split("?"),o=n(r,2),s=o[0],i=o[1];e.path=s&&s!=="/"?s:undefined;e.query=i;e.resourceName=undefined}e.fragment=undefined;return e}};var L={scheme:"wss",domainHost:M.domainHost,parse:M.parse,serialize:M.serialize};var H={};var j=true;var G="[A-Za-z0-9\\-\\.\\_\\~"+(j?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var V="[0-9A-Fa-f]";var Y=subexp(subexp("%[EFef]"+V+"%"+V+V+"%"+V+V)+"|"+subexp("%[89A-Fa-f]"+V+"%"+V+V)+"|"+subexp("%"+V+V));var J="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var q="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var $=merge(q,'[\\"\\\\]');var W="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var z=new RegExp(G,"g");var K=new RegExp(Y,"g");var Z=new RegExp(merge("[^]",J,"[\\.]",'[\\"]',$),"g");var X=new RegExp(merge("[^]",G,W),"g");var ee=X;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(z)?e:t}var te={scheme:"mailto",parse:function parse$$1(e,t){var r=e;var n=r.to=r.path?r.path.split(","):[];r.path=undefined;if(r.query){var o=false;var s={};var i=r.query.split("&");for(var a=0,A=i.length;a{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});var n=_interopRequireDefault(r(8628));var o=_interopRequireDefault(r(6409));var s=_interopRequireDefault(r(5122));var i=_interopRequireDefault(r(9120));var a=_interopRequireDefault(r(5332));var A=_interopRequireDefault(r(1595));var c=_interopRequireDefault(r(6900));var l=_interopRequireDefault(r(8950));var u=_interopRequireDefault(r(2746));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},4569:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("md5").update(e).digest()}var o=md5;t["default"]=o},5332:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r="00000000-0000-0000-0000-000000000000";t["default"]=r},2746:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}let t;const r=new Uint8Array(16);r[0]=(t=parseInt(e.slice(0,8),16))>>>24;r[1]=t>>>16&255;r[2]=t>>>8&255;r[3]=t&255;r[4]=(t=parseInt(e.slice(9,13),16))>>>8;r[5]=t&255;r[6]=(t=parseInt(e.slice(14,18),16))>>>8;r[7]=t&255;r[8]=(t=parseInt(e.slice(19,23),16))>>>8;r[9]=t&255;r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;r[11]=t/4294967296&255;r[12]=t>>>24&255;r[13]=t>>>16&255;r[14]=t>>>8&255;r[15]=t&255;return r}var o=parse;t["default"]=o},814:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=r},807:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=new Uint8Array(256);let s=o.length;function rng(){if(s>o.length-16){n.default.randomFillSync(o);s=0}return o.slice(s,s+=16)}},5274:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return n.default.createHash("sha1").update(e).digest()}var o=sha1;t["default"]=o},8950:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=[];for(let e=0;e<256;++e){o.push((e+256).toString(16).substr(1))}function stringify(e,t=0){const r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,n.default)(r)){throw TypeError("Stringified UUID is invalid")}return r}var s=stringify;t["default"]=s},8628:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(807));var o=_interopRequireDefault(r(8950));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let s;let i;let a=0;let A=0;function v1(e,t,r){let c=t&&r||0;const l=t||new Array(16);e=e||{};let u=e.node||s;let d=e.clockseq!==undefined?e.clockseq:i;if(u==null||d==null){const t=e.random||(e.rng||n.default)();if(u==null){u=s=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(d==null){d=i=(t[6]<<8|t[7])&16383}}let g=e.msecs!==undefined?e.msecs:Date.now();let f=e.nsecs!==undefined?e.nsecs:A+1;const h=g-a+(f-A)/1e4;if(h<0&&e.clockseq===undefined){d=d+1&16383}if((h<0||g>a)&&e.nsecs===undefined){f=0}if(f>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}a=g;A=f;i=d;g+=122192928e5;const p=((g&268435455)*1e4+f)%4294967296;l[c++]=p>>>24&255;l[c++]=p>>>16&255;l[c++]=p>>>8&255;l[c++]=p&255;const E=g/4294967296*1e4&268435455;l[c++]=E>>>8&255;l[c++]=E&255;l[c++]=E>>>24&15|16;l[c++]=E>>>16&255;l[c++]=d>>>8|128;l[c++]=d&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,o.default)(l)}var c=v1;t["default"]=c},6409:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(5998));var o=_interopRequireDefault(r(4569));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v3",48,o.default);var i=s;t["default"]=i},5998:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;t.URL=t.DNS=void 0;var n=_interopRequireDefault(r(8950));var o=_interopRequireDefault(r(2746));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(807));var o=_interopRequireDefault(r(8950));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,r){e=e||{};const s=e.random||(e.rng||n.default)();s[6]=s[6]&15|64;s[8]=s[8]&63|128;if(t){r=r||0;for(let e=0;e<16;++e){t[r+e]=s[e]}return t}return(0,o.default)(s)}var s=v4;t["default"]=s},9120:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(5998));var o=_interopRequireDefault(r(5274));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s=(0,n.default)("v5",80,o.default);var i=s;t["default"]=i},6900:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(814));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&n.default.test(e)}var o=validate;t["default"]=o},1595:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(6900));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,n.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.substr(14,1),16)}var o=version;t["default"]=o},9491:t=>{t.exports=e(import.meta.url)("assert")},852:t=>{t.exports=e(import.meta.url)("async_hooks")},4300:t=>{t.exports=e(import.meta.url)("buffer")},2081:t=>{t.exports=e(import.meta.url)("child_process")},6206:t=>{t.exports=e(import.meta.url)("console")},6113:t=>{t.exports=e(import.meta.url)("crypto")},7643:t=>{t.exports=e(import.meta.url)("diagnostics_channel")},2361:t=>{t.exports=e(import.meta.url)("events")},7147:t=>{t.exports=e(import.meta.url)("fs")},3292:t=>{t.exports=e(import.meta.url)("fs/promises")},3685:t=>{t.exports=e(import.meta.url)("http")},5158:t=>{t.exports=e(import.meta.url)("http2")},5687:t=>{t.exports=e(import.meta.url)("https")},1808:t=>{t.exports=e(import.meta.url)("net")},5673:t=>{t.exports=e(import.meta.url)("node:events")},7561:t=>{t.exports=e(import.meta.url)("node:fs")},612:t=>{t.exports=e(import.meta.url)("node:os")},9411:t=>{t.exports=e(import.meta.url)("node:path")},984:t=>{t.exports=e(import.meta.url)("node:path/posix")},4492:t=>{t.exports=e(import.meta.url)("node:stream")},7261:t=>{t.exports=e(import.meta.url)("node:util")},2037:t=>{t.exports=e(import.meta.url)("os")},1017:t=>{t.exports=e(import.meta.url)("path")},4074:t=>{t.exports=e(import.meta.url)("perf_hooks")},7282:t=>{t.exports=e(import.meta.url)("process")},3477:t=>{t.exports=e(import.meta.url)("querystring")},2781:t=>{t.exports=e(import.meta.url)("stream")},5356:t=>{t.exports=e(import.meta.url)("stream/web")},1576:t=>{t.exports=e(import.meta.url)("string_decoder")},4404:t=>{t.exports=e(import.meta.url)("tls")},7310:t=>{t.exports=e(import.meta.url)("url")},3837:t=>{t.exports=e(import.meta.url)("util")},9830:t=>{t.exports=e(import.meta.url)("util/types")},1267:t=>{t.exports=e(import.meta.url)("worker_threads")},9796:t=>{t.exports=e(import.meta.url)("zlib")},2960:(e,t,r)=>{const n=r(4492).Writable;const o=r(7261).inherits;const s=r(1142);const i=r(1620);const a=r(2032);const A=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}n.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new a(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}o(Dicer,n);Dicer.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){const e=this;process.nextTick((function(){e.emit("error",new Error("Unexpected end of multipart data"));if(e._part&&!e._ignoreData){const t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data"));e._part.push(null);process.nextTick((function(){e._realFinish=true;e.emit("finish");e._realFinish=false}));return}e._realFinish=true;e.emit("finish");e._realFinish=false}))}}else{n.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser){return r()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new i(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{const n=r(5673).EventEmitter;const o=r(7261).inherits;const s=r(1467);const i=r(1142);const a=Buffer.from("\r\n\r\n");const A=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){n.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=s(e,"maxHeaderPairs",2e3);this.maxHeaderSize=s(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new i(a);this.ss.on("info",(function(e,r,n,o){if(r&&!t.maxed){if(t.nread+o-n>=t.maxHeaderSize){o=t.maxHeaderSize-t.nread+n;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=o-n}t.buffer+=r.toString("binary",n,o)}if(e){t._finish()}}))}o(HeaderParser,n);HeaderParser.prototype.push=function(e){const t=this.ss.push(e);if(this.finished){return t}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const e=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",e)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const e=this.buffer.split(A);const t=e.length;let r,n;for(var o=0;o{const n=r(7261).inherits;const o=r(4492).Readable;function PartStream(e){o.call(this,e)}n(PartStream,o);PartStream.prototype._read=function(e){};e.exports=PartStream},1142:(e,t,r)=>{const n=r(5673).EventEmitter;const o=r(7261).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var r=0;r=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const r=this._lookbehind_size+s;if(r>0){this.emit("info",false,this._lookbehind,0,r)}this._lookbehind.copy(this._lookbehind,0,r,this._lookbehind_size-r);this._lookbehind_size-=r;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}s+=(s>=0)*this._bufpos;if(e.indexOf(r,s)!==-1){s=e.indexOf(r,s);++this.matches;if(s>0){this.emit("info",true,e,this._bufpos,s)}else{this.emit("info",true)}return this._bufpos=s+n}else{s=t-n}while(s0){this.emit("info",false,e,this._bufpos,s{const n=r(4492).Writable;const{inherits:o}=r(7261);const s=r(2960);const i=r(2183);const a=r(8306);const A=r(1854);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...r}=e;this.opts={autoDestroy:false,...r};n.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}o(Busboy,n);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}n.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=A(e["content-type"]);const r={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(i.detect.test(t[0])){return new i(this,r)}if(a.detect.test(t[0])){return new a(this,r)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,r){this._parser.write(e,r)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=s},2183:(e,t,r)=>{const{Readable:n}=r(4492);const{inherits:o}=r(7261);const s=r(2960);const i=r(1854);const a=r(4619);const A=r(8647);const c=r(1467);const l=/^boundary$/i;const u=/^form-data$/i;const d=/^charset$/i;const g=/^filename$/i;const f=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let r;let n;const o=this;let h;const p=t.limits;const E=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const C=t.parsedConType||[];const m=t.defCharset||"utf8";const I=t.preservePath;const y={highWaterMark:t.fileHwm};for(r=0,n=C.length;rw){o.parser.removeListener("part",onPart);o.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(T){const e=T;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(s){let c;let l;let h;let p;let C;let w;let S=0;if(s["content-type"]){h=i(s["content-type"][0]);if(h[0]){c=h[0].toLowerCase();for(r=0,n=h.length;rB){const n=B-S+e.length;if(n>0){r.push(e.slice(0,n))}r.truncated=true;r.bytesRead=B;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){o._pause=true}r.bytesRead=S};x=function(){F=undefined;r.push(null)}}else{if(k===b){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++k;++N;let r="";let n=false;T=t;R=function(e){if((S+=e.length)>Q){const o=Q-(S-e.length);r+=e.toString("binary",0,o);n=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};x=function(){T=undefined;if(r.length){r=a(r,"binary",p)}e.emit("field",l,r,false,n,C,c);--N;checkFinished()}}t._readableState.sync=false;t.on("data",R);t.on("end",x)})).on("error",(function(e){if(F){F.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){x=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const r=this.parser.write(e);if(r&&!this._pause){t()}else{this._needDrain=!r;this._cb=t}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){n.call(this,e);this.bytesRead=0;this.truncated=false}o(FileStream,n);FileStream.prototype._read=function(e){};e.exports=Multipart},8306:(e,t,r)=>{const n=r(7100);const o=r(4619);const s=r(1467);const i=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const o=t.parsedConType;this.boy=e;this.fieldSizeLimit=s(r,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=s(r,"fieldNameSize",100);this.fieldsLimit=s(r,"fields",Infinity);let a;for(var A=0,c=o.length;Ai){this._key+=this.decoder.write(e.toString("binary",i,r))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();i=r+1}else if(n!==undefined){++this._fields;let r;const s=this._keyTrunc;if(n>i){r=this._key+=this.decoder.write(e.toString("binary",i,n))}else{r=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(r.length){this.boy.emit("field",o(r,"binary",this.charset),"",s,false)}i=n+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(s>i){this._key+=this.decoder.write(e.toString("binary",i,s))}i=s;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(ii){this._val+=this.decoder.write(e.toString("binary",i,n))}this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();i=n+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(s>i){this._val+=this.decoder.write(e.toString("binary",i,s))}i=s;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(i0){this.boy.emit("field",o(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},7100:e=>{const t=/\+/g;const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(t," ");let n="";let o=0;let s=0;const i=e.length;for(;os){n+=e.substring(s,o);s=o}this.buffer="";++s}}if(s{e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},4619:function(e){const t=new TextDecoder("utf-8");const r=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return n.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return n.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return n.utf16le;case"base64":return n.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return n.other.bind(e)}}}const n={utf8:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.utf8Slice(0,e.length)},latin1:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){return e}return e.latin1Slice(0,e.length)},utf16le:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.ucs2Slice(0,e.length)},base64:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.base64Slice(0,e.length)},other:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}if(r.has(this.toString())){try{return r.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},1467:e=>{e.exports=function getLimit(e,t,r){if(!e||e[t]===undefined||e[t]===null){return r}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},1854:(e,t,r)=>{const n=r(4619);const o=/%[a-fA-F0-9][a-fA-F0-9]/g;const s={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(e){return s[e]}const i=0;const a=1;const A=2;const c=3;function parseParams(e){const t=[];let r=i;let s="";let l=false;let u=false;let d=0;let g="";const f=e.length;for(var h=0;h{const hasContext=()=>{const{env:{GITHUB_ACTIONS:e}}=process;return!!e};const getContext=()=>{if(!hasContext()){throw new Error("GitHub context unavailable")}const{env:{GITHUB_REPOSITORY:e,GITHUB_WORKFLOW_REF:t,GITHUB_RUN_ID:r,GITHUB_RUN_ATTEMPT:n,GITHUB_HEAD_REF:o,GITHUB_REF:s,GITHUB_SHA:i}}=process;const[a,A]=e.split("/");const[c]=t.split("@");const l=new RegExp(`^${a}/${A}/.github/workflows/`);const u=o||s;return{github:{organization:a,repository:A,workflow:c.replace(l,""),runId:parseInt(r,10),runAttempt:parseInt(n,10)},git:{branch:u.replace(/^refs\/heads\//i,""),sha:i}}};e.exports={getContext:getContext,hasContext:hasContext}},2990:e=>{const flatten=e=>{const t={};for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r)){continue}if(typeof e[r]==="object"&&!Array.isArray(e[r])){const n=flatten(e[r]);for(const e in n){if(!Object.prototype.hasOwnProperty.call(n,e)){continue}const o=`${r}${e.charAt(0).toUpperCase()}${e.substring(1)}`;t[o]=n[e]}}else{t[r]=e[r]}}return t};e.exports={flatten:flatten}},3902:(e,t,r)=>{const n=r(3183);const{flatten:o}=r(2990);const s=r(7561);const{makeRelativeFilePath:i}=r(4968);const{omit:a}=r(250);const{resolve:A}=r(9411);const{formatErrorAjv:c,validateReportV1Ajv:l,validateReportV2Ajv:u,validateReportV1ContextAjv:d,validateReportV2ContextAjv:g,latestReportVersion:f}=n;const getReportVersion=e=>{const{reportVersion:t,version:r}=e;const n=t??r;switch(n){case null:case undefined:throw new Error("Unable to determine report version");default:return n}};const validateReport=(e,t="report")=>{const r=getReportVersion(e);let n;switch(r){case 1:if(!l(e)){n=l.errors}break;case 2:if(!u(e)){n=u.errors}break;default:throw new Error(`Unknown report version '${r}'`)}if(n&&n.length!==0){throw new Error(c(t,n))}};const injectReportV1Context=(e,t,r)=>{const{summary:n}=e;if(!n){throw new Error("Report is missing needed property 'summary'")}if(r||!d(n)){e.summary={...n,...o(t)}}return e};const injectReportV2Context=(e,t,r)=>{const{summary:n}=e;if(!n){throw new Error("Report is missing needed property 'summary'")}if(r||!g(n)){e.summary={...n,...t}}return e};const injectReportContext=(e,t,r)=>{const n=getReportVersion(e);switch(n){case 1:return injectReportV1Context(e,t,r);case 2:return injectReportV2Context(e,t,r);default:throw new Error(`Unknown report version '${n}'`)}};const injectReportV1LmsInfo=(e,t)=>{const{summary:r}=e;if(!r){throw new Error("Report is missing needed property 'summary'")}const{buildNumber:n,instanceUrl:o}=t;if(n){if(!r.lmsBuildNumber){r.lmsBuildNumber=n}else{throw new Error("LMS build number already present")}}if(o){if(!r.lmsInstanceUrl){r.lmsInstanceUrl=o}else{throw new Error("LMS instance URL already present")}}e.summary=r;return e};const injectReportV2LmsInfo=(e,t)=>{const{summary:r}=e;if(!r){throw new Error("Report is missing needed property 'summary'")}r.lms=r.lms??{};const{buildNumber:n,instanceUrl:o}=t;if(n){if(!r.lms.buildNumber){r.lms.buildNumber=n}else{throw new Error("LMS build number already present")}}if(o){if(!r.lms.instanceUrl){r.lms.instanceUrl=o}else{throw new Error("LMS instance URL already present")}}e.summary=r;return e};const injectReportLmsInfo=(e,t)=>{const r=getReportVersion(e);switch(r){case 1:return injectReportV1LmsInfo(e,t);case 2:return injectReportV2LmsInfo(e,t);default:throw new Error(`Unknown report version '${r}'`)}};const upgradeReportV1ToV2=e=>{const{reportId:t,summary:r,details:n}=e;const{githubOrganization:o,githubRepository:s,githubWorkflow:i,githubRunId:A,githubRunAttempt:c,gitBranch:l,gitSha:u,totalDuration:d,countPassed:g,countFailed:f,countSkipped:h,countFlaky:p,lmsBuildNumber:E,lmsInstanceUrl:C}=r;const m=a(r,["githubOrganization","githubRepository","githubWorkflow","githubRunId","githubRunAttempt","gitBranch","gitSha","totalDuration","countPassed","countFailed","countSkipped","countFlaky","lmsBuildNumber","lmsInstanceUrl"]);const I={...m,github:{organization:o,repository:s,workflow:i,runId:A,runAttempt:c},git:{branch:l,sha:u},count:{passed:g,failed:f,skipped:h,flaky:p},duration:{total:d}};if(E){I.lms=I.lms??{};I.lms.buildNumber=E}if(C){I.lms=I.lms??{};I.lms.instanceUrl=C}return{id:t,version:2,summary:I,details:n.map((e=>{const{location:t,duration:r,totalDuration:n}=e;const o=a(e,["totalDuration"]);return{...o,location:{file:t},duration:{total:n,final:r}}}))}};const upgradeReport=e=>{const t=getReportVersion(e);switch(t){case 1:return upgradeReportV1ToV2(e);case 2:return e;default:throw new Error(`Unknown report version: ${t}`)}};class Report{constructor(e,{context:t,lmsInfo:r,overrideContext:n=false}={}){let o;try{e=A(e);const t=s.readFileSync(e,"utf8");o=JSON.parse(t)}catch{throw new Error(`Unable to read/parse report at path ${e}`)}if(t){o=injectReportContext(o,t,n)}if(r){o=injectReportLmsInfo(o,r)}const a=getReportVersion(o);validateReport(o,`report (v${a})`);this._reportVersionOriginal=a;if(af){throw new Error(`Unsupported report version specified: ${a}`)}this._report=o;this._reportPath=i(e)}getPath(){return this._reportPath}getId(){return this._report.id}getVersionOriginal(){return this._reportVersionOriginal}getVersion(){return this._report.version}getContext(){const{summary:{github:e,git:t}}=this._report;return{github:e,git:t}}toJSON(){return this._report}}e.exports={Report:Report}},3183:(e,t,r)=>{const n=r(5988);const o=r(567);const s=new n({verbose:true,strict:true,allErrors:false,schemas:[r(9681),r(51),r(5659)]});o(s,["date-time","uri","uuid"]);s.addSchema({$schema:"https://json-schema.org/draft/2019-09/schema",$id:"/test-reporting/schemas/report/v1/context/loose.json",$ref:"/test-reporting/schemas/report/v1/context.json",type:"object",unevaluatedProperties:true});s.addSchema({$schema:"https://json-schema.org/draft/2019-09/schema",$id:"/test-reporting/schemas/report/v2/context/loose.json",$ref:"/test-reporting/schemas/report/v2/context.json",type:"object",unevaluatedProperties:true});const i=s.getSchema("/test-reporting/schemas/report-configuration/v1.json");const a=s.getSchema("/test-reporting/schemas/report/v1/context/loose.json");const A=s.getSchema("/test-reporting/schemas/report/v2/context/loose.json");const c=s.getSchema("/test-reporting/schemas/report/v1.json");const l=s.getSchema("/test-reporting/schemas/report/v2.json");const u=2;const formatErrorAjv=(e,t)=>{const{instancePath:r,message:n,parentSchema:{type:o},data:s}=t[0];const i=JSON.stringify(s,null,2);const a=r===""?"/":r;const A=[`${e} does not conform to schema`,`Details: the ${o} at '${a}' ${n}`];if(i.includes("\n")){A.push(`Current value:\n\n${i}\n`)}else{A.push(`Current value: ${i}`)}return A.join("\n")};e.exports={formatErrorAjv:formatErrorAjv,validateReportConfigurationV1Ajv:i,validateReportV1ContextAjv:a,validateReportV2ContextAjv:A,validateReportV1Ajv:c,validateReportV2Ajv:l,latestReportVersion:u}},4968:(e,t,r)=>{const{relative:n,sep:o}=r(9411);const{join:s}=r(984);const{type:i}=r(612);const getOperatingSystemType=()=>{switch(i()){case"Linux":return"linux";case"Darwin":return"macos";case"Windows_NT":return"windows";default:throw new Error("Unknown operating system")}};const makeRelativeFilePath=e=>{const t=n(process.cwd(),e);const r=t.split(o);return s(...r)};e.exports={getOperatingSystemType:getOperatingSystemType,makeRelativeFilePath:makeRelativeFilePath}},9722:e=>{e.exports=JSON.parse('{"name":"@aws-sdk/client-sso-oidc","description":"AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native","version":"3.600.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sso-oidc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso-oidc"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sts":"3.600.0","@aws-sdk/core":"3.598.0","@aws-sdk/credential-provider-node":"3.600.0","@aws-sdk/middleware-host-header":"3.598.0","@aws-sdk/middleware-logger":"3.598.0","@aws-sdk/middleware-recursion-detection":"3.598.0","@aws-sdk/middleware-user-agent":"3.598.0","@aws-sdk/region-config-resolver":"3.598.0","@aws-sdk/types":"3.598.0","@aws-sdk/util-endpoints":"3.598.0","@aws-sdk/util-user-agent-browser":"3.598.0","@aws-sdk/util-user-agent-node":"3.598.0","@smithy/config-resolver":"^3.0.2","@smithy/core":"^2.2.1","@smithy/fetch-http-handler":"^3.0.2","@smithy/hash-node":"^3.0.1","@smithy/invalid-dependency":"^3.0.1","@smithy/middleware-content-length":"^3.0.1","@smithy/middleware-endpoint":"^3.0.2","@smithy/middleware-retry":"^3.0.4","@smithy/middleware-serde":"^3.0.1","@smithy/middleware-stack":"^3.0.1","@smithy/node-config-provider":"^3.1.1","@smithy/node-http-handler":"^3.0.1","@smithy/protocol-http":"^4.0.1","@smithy/smithy-client":"^3.1.2","@smithy/types":"^3.1.0","@smithy/url-parser":"^3.0.1","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.4","@smithy/util-defaults-mode-node":"^3.0.4","@smithy/util-endpoints":"^2.0.2","@smithy/util-middleware":"^3.0.1","@smithy/util-retry":"^3.0.1","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-oidc","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso-oidc"}}')},1092:e=>{e.exports=JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native","version":"3.598.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sso","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.598.0","@aws-sdk/middleware-host-header":"3.598.0","@aws-sdk/middleware-logger":"3.598.0","@aws-sdk/middleware-recursion-detection":"3.598.0","@aws-sdk/middleware-user-agent":"3.598.0","@aws-sdk/region-config-resolver":"3.598.0","@aws-sdk/types":"3.598.0","@aws-sdk/util-endpoints":"3.598.0","@aws-sdk/util-user-agent-browser":"3.598.0","@aws-sdk/util-user-agent-node":"3.598.0","@smithy/config-resolver":"^3.0.2","@smithy/core":"^2.2.1","@smithy/fetch-http-handler":"^3.0.2","@smithy/hash-node":"^3.0.1","@smithy/invalid-dependency":"^3.0.1","@smithy/middleware-content-length":"^3.0.1","@smithy/middleware-endpoint":"^3.0.2","@smithy/middleware-retry":"^3.0.4","@smithy/middleware-serde":"^3.0.1","@smithy/middleware-stack":"^3.0.1","@smithy/node-config-provider":"^3.1.1","@smithy/node-http-handler":"^3.0.1","@smithy/protocol-http":"^4.0.1","@smithy/smithy-client":"^3.1.2","@smithy/types":"^3.1.0","@smithy/url-parser":"^3.0.1","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.4","@smithy/util-defaults-mode-node":"^3.0.4","@smithy/util-endpoints":"^2.0.2","@smithy/util-middleware":"^3.0.1","@smithy/util-retry":"^3.0.1","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso"}}')},7947:e=>{e.exports=JSON.parse('{"name":"@aws-sdk/client-sts","description":"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native","version":"3.600.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sts","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"rimraf ./dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sts","test":"yarn test:unit","test:unit":"jest"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.600.0","@aws-sdk/core":"3.598.0","@aws-sdk/credential-provider-node":"3.600.0","@aws-sdk/middleware-host-header":"3.598.0","@aws-sdk/middleware-logger":"3.598.0","@aws-sdk/middleware-recursion-detection":"3.598.0","@aws-sdk/middleware-user-agent":"3.598.0","@aws-sdk/region-config-resolver":"3.598.0","@aws-sdk/types":"3.598.0","@aws-sdk/util-endpoints":"3.598.0","@aws-sdk/util-user-agent-browser":"3.598.0","@aws-sdk/util-user-agent-node":"3.598.0","@smithy/config-resolver":"^3.0.2","@smithy/core":"^2.2.1","@smithy/fetch-http-handler":"^3.0.2","@smithy/hash-node":"^3.0.1","@smithy/invalid-dependency":"^3.0.1","@smithy/middleware-content-length":"^3.0.1","@smithy/middleware-endpoint":"^3.0.2","@smithy/middleware-retry":"^3.0.4","@smithy/middleware-serde":"^3.0.1","@smithy/middleware-stack":"^3.0.1","@smithy/node-config-provider":"^3.1.1","@smithy/node-http-handler":"^3.0.1","@smithy/protocol-http":"^4.0.1","@smithy/smithy-client":"^3.1.2","@smithy/types":"^3.1.0","@smithy/url-parser":"^3.0.1","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.4","@smithy/util-defaults-mode-node":"^3.0.4","@smithy/util-endpoints":"^2.0.2","@smithy/util-middleware":"^3.0.1","@smithy/util-retry":"^3.0.1","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sts"}}')},2144:e=>{e.exports=JSON.parse('{"name":"@aws-sdk/client-timestream-write","description":"AWS SDK for JavaScript Timestream Write Client for Node.js, Browser and React Native","version":"3.600.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-timestream-write","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo timestream-write"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.600.0","@aws-sdk/client-sts":"3.600.0","@aws-sdk/core":"3.598.0","@aws-sdk/credential-provider-node":"3.600.0","@aws-sdk/middleware-endpoint-discovery":"3.598.0","@aws-sdk/middleware-host-header":"3.598.0","@aws-sdk/middleware-logger":"3.598.0","@aws-sdk/middleware-recursion-detection":"3.598.0","@aws-sdk/middleware-user-agent":"3.598.0","@aws-sdk/region-config-resolver":"3.598.0","@aws-sdk/types":"3.598.0","@aws-sdk/util-endpoints":"3.598.0","@aws-sdk/util-user-agent-browser":"3.598.0","@aws-sdk/util-user-agent-node":"3.598.0","@smithy/config-resolver":"^3.0.2","@smithy/core":"^2.2.1","@smithy/fetch-http-handler":"^3.0.2","@smithy/hash-node":"^3.0.1","@smithy/invalid-dependency":"^3.0.1","@smithy/middleware-content-length":"^3.0.1","@smithy/middleware-endpoint":"^3.0.2","@smithy/middleware-retry":"^3.0.4","@smithy/middleware-serde":"^3.0.1","@smithy/middleware-stack":"^3.0.1","@smithy/node-config-provider":"^3.1.1","@smithy/node-http-handler":"^3.0.1","@smithy/protocol-http":"^4.0.1","@smithy/smithy-client":"^3.1.2","@smithy/types":"^3.1.0","@smithy/url-parser":"^3.0.1","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.4","@smithy/util-defaults-mode-node":"^3.0.4","@smithy/util-endpoints":"^2.0.2","@smithy/util-middleware":"^3.0.1","@smithy/util-retry":"^3.0.1","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2","uuid":"^9.0.1"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","@types/uuid":"^9.0.4","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-timestream-write","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-timestream-write"}}')},4775:e=>{e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},8161:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/applicator":true},"$recursiveAnchor":true,"title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"additionalItems":{"$recursiveRef":"#"},"unevaluatedItems":{"$recursiveRef":"#"},"items":{"anyOf":[{"$recursiveRef":"#"},{"$ref":"#/$defs/schemaArray"}]},"contains":{"$recursiveRef":"#"},"additionalProperties":{"$recursiveRef":"#"},"unevaluatedProperties":{"$recursiveRef":"#"},"properties":{"type":"object","additionalProperties":{"$recursiveRef":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$recursiveRef":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$recursiveRef":"#"}},"propertyNames":{"$recursiveRef":"#"},"if":{"$recursiveRef":"#"},"then":{"$recursiveRef":"#"},"else":{"$recursiveRef":"#"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$recursiveRef":"#"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$recursiveRef":"#"}}}}')},7114:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/content","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/content":true},"$recursiveAnchor":true,"title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"contentSchema":{"$recursiveRef":"#"}}}')},484:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/core","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/core":true},"$recursiveAnchor":true,"title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"type":"string","format":"uri"},"$anchor":{"type":"string","pattern":"^[A-Za-z][-A-Za-z0-9.:_]*$"},"$ref":{"type":"string","format":"uri-reference"},"$recursiveRef":{"type":"string","format":"uri-reference"},"$recursiveAnchor":{"type":"boolean","default":false},"$vocabulary":{"type":"object","propertyNames":{"type":"string","format":"uri"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$recursiveRef":"#"},"default":{}}}}')},877:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/format","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/format":true},"$recursiveAnchor":true,"title":"Format vocabulary meta-schema","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},5032:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/meta-data":true},"$recursiveAnchor":true,"title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},2374:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/validation","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/validation":true},"$recursiveAnchor":true,"title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}},"const":true,"enum":{"type":"array","items":true},"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},3329:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/schema","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/core":true,"https://json-schema.org/draft/2019-09/vocab/applicator":true,"https://json-schema.org/draft/2019-09/vocab/validation":true,"https://json-schema.org/draft/2019-09/vocab/meta-data":true,"https://json-schema.org/draft/2019-09/vocab/format":false,"https://json-schema.org/draft/2019-09/vocab/content":true},"$recursiveAnchor":true,"title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format"},{"$ref":"meta/content"}],"type":["object","boolean"],"properties":{"definitions":{"$comment":"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.","type":"object","additionalProperties":{"$recursiveRef":"#"},"default":{}},"dependencies":{"$comment":"\\"dependencies\\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \\"dependentSchemas\\" and \\"dependentRequired\\"","type":"object","additionalProperties":{"anyOf":[{"$recursiveRef":"#"},{"$ref":"meta/validation#/$defs/stringArray"}]}}}}')},98:e=>{e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},9681:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report-configuration/v1.json","$ref":"#/$defs/taxonomyObject","type":"object","unevaluatedProperties":false,"properties":{"ignorePatterns":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/$defs/nonEmptyUnpaddedString"}},"overrides":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","unevaluatedProperties":false,"minProperties":2,"$ref":"#/$defs/taxonomyObject","properties":{"pattern":{"$ref":"#/$defs/nonEmptyUnpaddedString"}},"required":["pattern"]}}},"allOf":[{"if":{"properties":{"type":{"const":null}}},"then":{"properties":{"overrides":{"type":"array","items":{"type":"object","properties":{"type":{"$ref":"#/$defs/taxonomyObject/properties/type"}},"required":["type"]}}}}},{"if":{"properties":{"tool":{"const":null}}},"then":{"properties":{"overrides":{"type":"array","items":{"type":"object","properties":{"tool":{"$ref":"#/$defs/taxonomyObject/properties/tool"}},"required":["tool"]}}}}},{"if":{"properties":{"experience":{"const":null}}},"then":{"properties":{"overrides":{"type":"array","items":{"type":"object","properties":{"experience":{"$ref":"#/$defs/taxonomyObject/properties/experience"}},"required":["experience"]}}}}},{"if":{"properties":{"type":{"const":null},"tool":{"const":null},"experience":{"const":null}}},"then":{"required":["overrides"]}}],"$defs":{"nonEmptyUnpaddedString":{"type":"string","minLength":1,"pattern":"^(?!\\\\s).+(?{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report/v1.json","type":"object","unevaluatedProperties":false,"properties":{"reportId":{"type":"string","format":"uuid"},"reportVersion":{"type":"integer","const":1},"summary":{"$ref":"#/$defs/context","type":"object","unevaluatedProperties":false,"properties":{"framework":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"lmsBuildNumber":{"type":"string","pattern":"([0-9]{2}\\\\.){2}[0-9]{1,2}\\\\.[0-9]{5}"},"lmsInstanceUrl":{"type":"string","format":"uri"},"operatingSystem":{"type":"string","enum":["windows","linux","mac"]},"started":{"type":"string","format":"date-time"},"totalDuration":{"type":"integer","minimum":0},"status":{"type":"string","enum":["passed","failed"]},"countPassed":{"type":"integer","minimum":0},"countFailed":{"type":"integer","minimum":0},"countSkipped":{"type":"integer","minimum":0},"countFlaky":{"type":"integer","minimum":0}},"required":["operatingSystem","framework","started","totalDuration","status","countPassed","countFailed","countSkipped","countFlaky"]},"details":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","unevaluatedProperties":false,"properties":{"name":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"location":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"tool":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"experience":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"type":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"started":{"type":"string","format":"date-time"},"duration":{"type":"integer","minimum":0},"totalDuration":{"type":"integer","minimum":0},"status":{"type":"string","enum":["passed","failed","skipped"]},"browser":{"type":"string","enum":["chromium","chrome","firefox","webkit","safari","edge"]},"retries":{"type":"integer","minimum":0}},"required":["name","location","started","duration","totalDuration","status","retries"]}}},"required":["reportId","reportVersion","summary","details"],"$defs":{"nonEmptyUnpaddedString":{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report/v1/non-empty-unpadded-string.json","type":"string","minLength":1,"pattern":"^(?!\\\\s).+(?{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report/v2.json","type":"object","unevaluatedProperties":false,"properties":{"id":{"type":"string","format":"uuid"},"version":{"type":"integer","const":2},"summary":{"$ref":"#/$defs/context","type":"object","unevaluatedProperties":false,"properties":{"framework":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"lms":{"type":"object","properties":{"buildNumber":{"type":"string","pattern":"([0-9]{2}\\\\.){2}[0-9]{1,2}\\\\.[0-9]{5}"},"instanceUrl":{"type":"string","format":"uri"}}},"operatingSystem":{"type":"string","enum":["windows","linux","mac"]},"started":{"type":"string","format":"date-time"},"duration":{"type":"object","properties":{"total":{"type":"integer","minimum":0}},"required":["total"]},"status":{"type":"string","enum":["passed","failed"]},"count":{"type":"object","properties":{"passed":{"type":"integer","minimum":0},"failed":{"type":"integer","minimum":0},"skipped":{"type":"integer","minimum":0},"flaky":{"type":"integer","minimum":0}},"required":["passed","failed","skipped","flaky"]}},"required":["operatingSystem","framework","started","duration","status","count"]},"details":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"object","unevaluatedProperties":false,"properties":{"name":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"location":{"type":"object","properties":{"file":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"line":{"type":"integer","minimum":0},"column":{"type":"integer","minimum":0}},"required":["file"]},"tool":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"experience":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"type":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"started":{"type":"string","format":"date-time"},"timeout":{"type":"integer","minimum":0},"duration":{"type":"object","properties":{"final":{"type":"integer","minimum":0},"total":{"type":"integer","minimum":0}},"required":["final","total"]},"status":{"type":"string","enum":["passed","failed","skipped"]},"browser":{"type":"string","enum":["chromium","chrome","firefox","webkit","safari","edge"]},"retries":{"type":"integer","minimum":0},"error":{"type":"object","properties":{"message":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"file":{"$ref":"#/$defs/nonEmptyUnpaddedString"},"line":{"type":"integer","minimum":0},"column":{"type":"integer","minimum":0}},"required":["message"]}},"required":["name","location","started","duration","status","retries"]}}},"required":["id","version","summary","details"],"$defs":{"nonEmptyUnpaddedString":{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"/test-reporting/schemas/report/v2/non-empty-unpadded-string.json","type":"string","minLength":1,"pattern":"^(?!\\\\s).+(?{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var n={};(()=>{var e=__nccwpck_require__(2186);var t=__nccwpck_require__(9309);var r=__nccwpck_require__(3292);var n=__nccwpck_require__(1017);const o="https://test-reporting.d2l.dev";const makeLogger=()=>({startGroup:e.startGroup,endGroup:e.endGroup,info:e.info,warning:e.warning,error:e.error});const getStringInput=(t,{required:r=true,lowerCase:n=false}={})=>{const o=(0,e.getInput)(t,{required:r});if(o===""&&r){throw new Error(`Input '${t}' must be a non-empty string`)}return n?o.toLowerCase():o};const getContext=e=>{e.startGroup("Gather GitHub context");let r;try{r=(0,t.getContext)()}catch{throw new Error("Unable to gather github context")}const{github:n,git:o}=r;const{organization:s,repository:i,workflow:a,runId:A,runAttempt:c}=n;const{branch:l,sha:u}=o;e.info(`GitHub organization: ${s}`);e.info(`GitHub repository: ${i}`);e.info(`GitHub workflow: ${a}`);e.info(`GitHub run ID: ${A}`);e.info(`GitHub run attempt: ${c}`);e.info(`Git branch: ${l}`);e.info(`Git SHA: ${u}`);e.endGroup();return r};const getInputs=async t=>{t.startGroup("Gather GitHub inputs");t.info("Gather credentials");const o=getStringInput("aws-access-key-id");const s=getStringInput("aws-secret-access-key");const i=getStringInput("aws-session-token");t.info("Determine report path");const a=(0,n.resolve)(getStringInput("report-path"));try{await r.access(a)}catch{throw new Error("Report path must exists")}t.info(`Report path: ${a}`);t.info("Determine LMS information");let A=getStringInput("lms-build-number",{required:false});let c=getStringInput("lms-instance-url",{required:false});if(A!==""){t.info(`LMS build number: ${A}`)}else{A=undefined}if(c!==""){t.info(`LMS instance URL: ${c}`)}else{c=undefined}t.info("Determine inject context mode");const l=getStringInput("inject-github-context",{lowerCase:true});if(!["auto","force","off"].includes(l)){throw new Error("Inject context mode invalid")}t.info(`Inject context mode: ${l}`);const u=(0,e.getBooleanInput)("dry-run",{required:true});t.info(`Dry run: ${u}`);const d=(0,e.getBooleanInput)("debug",{required:true});t.info(`Debug: ${d}`);t.endGroup();return{awsAccessKeyId:o,awsSecretAccessKey:s,awsSessionToken:i,reportPath:a,lmsBuildNumber:A,lmsInstanceUrl:c,injectGitHubContext:l,dryRun:u,debug:d}};const updateSummary=(t,r,n)=>{t.startGroup("Update GitHub Actions summary");e.summary.addHeading("Test Reporting",2);e.summary.addRaw("The overview of data submitted can be found ");const s=new URL("metrics",o);const{searchParams:i}=s;const{github:{organization:a,repository:A}}=r;i.set("var-githubOrganizations",a);i.set("var-githubRepositories",A);e.summary.addLink("here",s.toString());e.summary.addEOL();e.summary.addRaw("A more detailed view of data submitted can be found ");const c=new URL("drill-down",o);const{searchParams:l}=c;l.set("var-githubOrganizations",a);l.set("var-githubRepositories",A);e.summary.addLink("here",c.toString());e.summary.addEOL();const{debug:u,dryRun:d}=n;if(u){t.info("Generated summary\n");t.info(`${e.summary.stringify()}\n`)}if(d){t.info("Dry run, skipping GitHub Action summary update");return}e.summary.write()};var s=__nccwpck_require__(2209);var i=__nccwpck_require__(3484);var a=__nccwpck_require__(3902);const A="us-east-1";const c="test_reporting";const{BIGINT:l,VARCHAR:u,MULTI:d}=i.MeasureValueType;const{MILLISECONDS:g}=i.TimeUnit;const makeSummaryWriteRequest=e=>{const{id:t,version:r,summary:n}=e;const{github:{organization:o,repository:s,workflow:i,runId:a,runAttempt:A},git:{branch:f,sha:h},operatingSystem:p,framework:E,started:C,duration:{total:m},status:I,count:{passed:y,failed:Q,skipped:B,flaky:v},lms:b}=n;const w=[{Name:"report_id",Value:t},{Name:"github_organization",Value:o},{Name:"github_repository",Value:s},{Name:"github_workflow",Value:i},{Name:"github_run_id",Value:a.toString()},{Name:"github_run_attempt",Value:A.toString()},{Name:"git_branch",Value:f},{Name:"git_sha",Value:h},{Name:"operating_system",Value:p},{Name:"framework",Value:E}];if(b){const{buildNumber:e,instanceUrl:t}=b;if(e){w.push({Name:"lms_build_number",Value:e})}if(t){w.push({Name:"lms_instance_url",Value:t})}}return{DatabaseName:c,TableName:"summary",Records:[{Version:1,Time:Date.parse(C).toString(),TimeUnit:g,MeasureName:`report_${r}_bc`,MeasureValueType:d,MeasureValues:[{Name:"total_duration",Value:m.toString(),Type:l},{Name:"duration_total",Value:m.toString(),Type:l},{Name:"status",Value:I,Type:u},{Name:"count_passed",Value:y.toString(),Type:l},{Name:"count_failed",Value:Q.toString(),Type:l},{Name:"count_skipped",Value:B.toString(),Type:l},{Name:"count_flaky",Value:v.toString(),Type:l}],Dimensions:w}]}};const makeDetailRecord=e=>{const{name:t,started:r,location:n,retries:o,timeout:s,duration:{total:i,final:a},status:A,browser:c,type:d,experience:f,tool:h}=e;const{file:p,line:E,column:C}=n;const m=[{Name:"name",Value:t},{Name:"location",Value:p},{Name:"location_file",Value:p}];if(s){m.push({Name:"timeout",Value:s.toString()})}if(E){m.push({Name:"location_line",Value:E.toString()})}if(C){m.push({Name:"location_column",Value:C.toString()})}if(c){m.push({Name:"browser",Value:c})}if(d){m.push({Name:"type",Value:d})}if(f){m.push({Name:"experience",Value:f})}if(h){m.push({Name:"tool",Value:h})}return{Time:Date.parse(r).toString(),TimeUnit:g,MeasureValues:[{Name:"duration",Value:a.toString(),Type:l},{Name:"total_duration",Value:i.toString(),Type:l},{Name:"duration_final",Value:a.toString(),Type:l},{Name:"duration_total",Value:i.toString(),Type:l},{Name:"retries",Value:o.toString(),Type:l},{Name:"status",Value:A,Type:u}],Dimensions:m}};const makeDetailWriteRequests=e=>{const{id:t,version:r,details:n}=e;const o=100;const s=Array.from({length:Math.ceil(n.length/o)},((e,s)=>{const i=n.slice(s*o,s*o+o).map(makeDetailRecord);return{DatabaseName:c,TableName:"details",Records:i,CommonAttributes:{Version:1,MeasureName:`report_${r}_bc`,MeasureValueType:d,Dimensions:[{Name:"report_id",Value:t,Type:u}]}}}));return s};const assumeRole=async(e,t,r,n,o,i)=>{const a=new s.STSClient({region:e,credentials:t});const A=new s.AssumeRoleCommand({RoleArn:r,RoleSessionName:n,DurationSeconds:o,Tags:i});const{Credentials:c}=await a.send(A);const{AccessKeyId:l,SecretAccessKey:u,SessionToken:d}=c;return{accessKeyId:l,secretAccessKey:u,sessionToken:d}};const writeTimestream=async(e,t,r)=>{const n=new i.TimestreamWriteClient({credentials:t,region:e});for(const e of r){const t=new i.WriteRecordsCommand(e);await n.send(t)}};const finalize=async(e,t,r)=>{e.startGroup("Finalize test report");const{reportPath:n,injectGitHubContext:o,lmsBuildNumber:s,lmsInstanceUrl:i,debug:A}=r;const c={};if(s){c.buildNumber=s}if(i){c.instanceUrl=i}let l={lmsInfo:c};if(o==="force"){e.info("Forcefully inject GitHub context");l={...l,context:t,overrideContext:true}}else if(o==="auto"){e.info("Allow injection of GitHub context");l={...l,context:t}}else{e.info("Not injecting GitHub context")}const u=new a.Report(n,l);if(A){e.info("Loaded report\n");e.info(`${JSON.stringify(u,null,2)}\n`)}e.info(`Report ID: ${u.getId()}`);const d=u.getVersionOriginal();const g=u.getVersion();if(d!==g){e.info(`Report Version: ${g} (Upgrade from ${d})`)}else{e.info(`Report Version: ${g}`)}e.endGroup();return u};const report_submit=async(e,t,r,n)=>{e.startGroup("Submit report");e.info("Generate summary write request");n=n.toJSON();const{debug:o}=r;const s=makeSummaryWriteRequest(n);if(o){e.info("Generated summary write request\n");e.info(`${JSON.stringify(s,null,2)}\n`)}e.info("Generate detail write requests");const i=makeDetailWriteRequests(n);if(o){e.info("Generated detail write requests\n");e.info(`${JSON.stringify(i,null,2)}\n`)}e.info("Merge write requests");const a=[s,...i];e.info("Assume required role");let c;try{const{github:{organization:e,repository:n}}=t;const{awsAccessKeyId:o,awsSecretAccessKey:s,awsSessionToken:i}=r;c=await assumeRole(A,{accessKeyId:o,secretAccessKey:s,sessionToken:i},"arn:aws:iam::427469055187:role/test-reporting-github",`test-reporting-${(new Date).getTime()}`,3600,[{Key:"Org",Value:e},{Key:"Repo",Value:n}])}catch({message:e}){if(e.includes("is not authorized to perform")){throw new Error("Unable to assume required role. Possibly missing repo-settings set-up. Please see https://github.com/Brightspace/repo-settings/blob/main/docs/test-reporting.md for details")}throw new Error(`Unable to assume required role: ${e}`)}const{dryRun:l}=r;if(l){e.info("Dry run, skipping records submit");return}e.info("Executing write requests");try{await writeTimestream(A,c,a)}catch({message:e}){throw new Error(`Unable to submit write requests: ${e}`)}e.endGroup()};(async()=>{const t=makeLogger();try{const e=getContext(t);const r=await getInputs(t);const n=await finalize(t,e,r);const o=n.getContext();await report_submit(t,e,r,n);updateSummary(t,o,r)}catch({message:r}){(0,e.setFailed)(r);t.endGroup()}})()})(); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 84e3d08..8c539b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -224,15 +224,15 @@ } }, "node_modules/@aws-sdk/client-sso-oidc": { - "version": "3.598.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.598.0.tgz", - "integrity": "sha512-jfdH1pAO9Tt8Nkta/JJLoUnwl7jaRdxToQTJfUtE+o3+0JP5sA4LfC2rBkJSWcU5BdAA+kyOs5Lv776DlN04Vg==", + "version": "3.600.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.600.0.tgz", + "integrity": "sha512-7+I8RWURGfzvChyNQSyj5/tKrqRbzRl7H+BnTOf/4Vsw1nFOi5ROhlhD4X/Y0QCTacxnaoNcIrqnY7uGGvVRzw==", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/client-sts": "3.598.0", + "@aws-sdk/client-sts": "3.600.0", "@aws-sdk/core": "3.598.0", - "@aws-sdk/credential-provider-node": "3.598.0", + "@aws-sdk/credential-provider-node": "3.600.0", "@aws-sdk/middleware-host-header": "3.598.0", "@aws-sdk/middleware-logger": "3.598.0", "@aws-sdk/middleware-recursion-detection": "3.598.0", @@ -274,15 +274,15 @@ } }, "node_modules/@aws-sdk/client-sts": { - "version": "3.598.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.598.0.tgz", - "integrity": "sha512-bXhz/cHL0iB9UH9IFtMaJJf4F8mV+HzncETCRFzZ9SyUMt5rP9j8A7VZknqGYSx/6mI8SsB1XJQkWSbhn6FiSQ==", + "version": "3.600.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.600.0.tgz", + "integrity": "sha512-KQG97B7LvTtTiGmjlrG1LRAY8wUvCQzrmZVV5bjrJ/1oXAU7DITYwVbSJeX9NWg6hDuSk0VE3MFwIXS2SvfLIA==", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/client-sso-oidc": "3.598.0", + "@aws-sdk/client-sso-oidc": "3.600.0", "@aws-sdk/core": "3.598.0", - "@aws-sdk/credential-provider-node": "3.598.0", + "@aws-sdk/credential-provider-node": "3.600.0", "@aws-sdk/middleware-host-header": "3.598.0", "@aws-sdk/middleware-logger": "3.598.0", "@aws-sdk/middleware-recursion-detection": "3.598.0", @@ -324,16 +324,16 @@ } }, "node_modules/@aws-sdk/client-timestream-write": { - "version": "3.598.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-timestream-write/-/client-timestream-write-3.598.0.tgz", - "integrity": "sha512-YAHzt3JwLzNQAXzxY3070Fsb0y+ch8HT6oi+AvThJnvl3kTjrqU/0QhCxWT1VYZRkpcVaalIXXIsez/9SG+uyg==", + "version": "3.600.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-timestream-write/-/client-timestream-write-3.600.0.tgz", + "integrity": "sha512-CvqMZ0u7cIWCrzZDOLCeHebHnluxD+MEd7ZW+ikisz7HJrpPtgJ2+nESFRH4JOlhv2yFpII9CJKuN9yXhlOBMA==", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/client-sso-oidc": "3.598.0", - "@aws-sdk/client-sts": "3.598.0", + "@aws-sdk/client-sso-oidc": "3.600.0", + "@aws-sdk/client-sts": "3.600.0", "@aws-sdk/core": "3.598.0", - "@aws-sdk/credential-provider-node": "3.598.0", + "@aws-sdk/credential-provider-node": "3.600.0", "@aws-sdk/middleware-endpoint-discovery": "3.598.0", "@aws-sdk/middleware-host-header": "3.598.0", "@aws-sdk/middleware-logger": "3.598.0", @@ -463,9 +463,9 @@ } }, "node_modules/@aws-sdk/credential-provider-node": { - "version": "3.598.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.598.0.tgz", - "integrity": "sha512-sXTlqL5I/awlF9Dg2MQ17SfrEaABVnsj2mf4jF5qQrIRhfbvQOIYdEqdy8Rn1AWlJMz/N450SGzc0XJ5owxxqw==", + "version": "3.600.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.600.0.tgz", + "integrity": "sha512-1pC7MPMYD45J7yFjA90SxpR0yaSvy+yZiq23aXhAPZLYgJBAxHLu0s0mDCk/piWGPh8+UGur5K0bVdx4B1D5hw==", "dependencies": { "@aws-sdk/credential-provider-env": "3.598.0", "@aws-sdk/credential-provider-http": "3.598.0", @@ -1515,11 +1515,11 @@ "dev": true }, "node_modules/@smithy/abort-controller": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-3.0.1.tgz", - "integrity": "sha512-Jb7jg4E+C+uvrUQi+h9kbILY6ts6fglKZzseMCHlH9ayq+1f5QdpYf8MV/xppuiN6DAMJAmwGz53GwP3213dmA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-3.1.0.tgz", + "integrity": "sha512-XOm4LkuC0PsK1sf2bBJLIlskn5ghmVxiEBVlo/jg0R8hxASBKYYgOoJEhKWgOr4vWGkN+5rC+oyBAqHYtxjnwQ==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1527,14 +1527,14 @@ } }, "node_modules/@smithy/config-resolver": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-3.0.2.tgz", - "integrity": "sha512-wUyG6ezpp2sWAvfqmSYTROwFUmJqKV78GLf55WODrosBcT0BAMd9bOLO4HRhynWBgAobPml2cF9ZOdgCe00r+g==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-3.0.3.tgz", + "integrity": "sha512-4wHqCMkdfVDP4qmr4fVPYOFOH+vKhOv3X4e6KEU9wIC8xXUQ24tnF4CW+sddGDX1zU86GGyQ7A+rg2xmUD6jpQ==", "dependencies": { - "@smithy/node-config-provider": "^3.1.1", - "@smithy/types": "^3.1.0", + "@smithy/node-config-provider": "^3.1.2", + "@smithy/types": "^3.2.0", "@smithy/util-config-provider": "^3.0.0", - "@smithy/util-middleware": "^3.0.1", + "@smithy/util-middleware": "^3.0.2", "tslib": "^2.6.2" }, "engines": { @@ -1542,17 +1542,17 @@ } }, "node_modules/@smithy/core": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@smithy/core/-/core-2.2.2.tgz", - "integrity": "sha512-bxZr4ZTqS6hMSQGYdcsfFQTFU0MO2xKLbkqZMSRDM+ruQ0nY00lFJUeLhXe7fqohSEd1y5wKu1Ap0bVJPzpmHg==", - "dependencies": { - "@smithy/middleware-endpoint": "^3.0.2", - "@smithy/middleware-retry": "^3.0.5", - "@smithy/middleware-serde": "^3.0.1", - "@smithy/protocol-http": "^4.0.1", - "@smithy/smithy-client": "^3.1.3", - "@smithy/types": "^3.1.0", - "@smithy/util-middleware": "^3.0.1", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-2.2.3.tgz", + "integrity": "sha512-SpyLOL2vgE6sUYM6nQfu82OirCPkCDKctyG3aMgjMlDPTJpUlmlNH0ttu9ZWwzEjrzzr8uABmPjJTRI7gk1HFQ==", + "dependencies": { + "@smithy/middleware-endpoint": "^3.0.3", + "@smithy/middleware-retry": "^3.0.6", + "@smithy/middleware-serde": "^3.0.2", + "@smithy/protocol-http": "^4.0.2", + "@smithy/smithy-client": "^3.1.4", + "@smithy/types": "^3.2.0", + "@smithy/util-middleware": "^3.0.2", "tslib": "^2.6.2" }, "engines": { @@ -1560,14 +1560,14 @@ } }, "node_modules/@smithy/credential-provider-imds": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-3.1.1.tgz", - "integrity": "sha512-htndP0LwHdE3R3Nam9ZyVWhwPYOmD4xCL79kqvNxy8u/bv0huuy574CSiRY4cvEICgimv8jlVfLeZ7zZqbnB2g==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-3.1.2.tgz", + "integrity": "sha512-gqVmUaNoeqyrOAjgZg+rTmFLsphh/vS59LCMdFfVpthVS0jbfBzvBmEPktBd+y9ME4DYMGHFAMSYJDK8q0noOQ==", "dependencies": { - "@smithy/node-config-provider": "^3.1.1", - "@smithy/property-provider": "^3.1.1", - "@smithy/types": "^3.1.0", - "@smithy/url-parser": "^3.0.1", + "@smithy/node-config-provider": "^3.1.2", + "@smithy/property-provider": "^3.1.2", + "@smithy/types": "^3.2.0", + "@smithy/url-parser": "^3.0.2", "tslib": "^2.6.2" }, "engines": { @@ -1575,23 +1575,23 @@ } }, "node_modules/@smithy/fetch-http-handler": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-3.0.3.tgz", - "integrity": "sha512-31x2MokxJL/u5U/BdElvVRotOGjUcOOvI2pb5TZ02umBLw+vVHImiLn+khbN0SblaFXNRzPoGrKwXylNjV3skw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-3.1.0.tgz", + "integrity": "sha512-s7oQjEOUH9TYjctpITtWF4qxOdg7pBrP9eigEQ8SBsxF3dRFV0S28pGMllC83DUr7ECmErhO/BUwnULfoNhKgQ==", "dependencies": { - "@smithy/protocol-http": "^4.0.1", - "@smithy/querystring-builder": "^3.0.1", - "@smithy/types": "^3.1.0", + "@smithy/protocol-http": "^4.0.2", + "@smithy/querystring-builder": "^3.0.2", + "@smithy/types": "^3.2.0", "@smithy/util-base64": "^3.0.0", "tslib": "^2.6.2" } }, "node_modules/@smithy/hash-node": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-3.0.1.tgz", - "integrity": "sha512-w2ncjgk2EYO2+WhAsSQA8owzoOSY7IL1qVytlwpnL1pFGWTjIoIh5nROkEKXY51unB63bMGZqDiVoXaFbyKDlg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-3.0.2.tgz", + "integrity": "sha512-43uGA6o6QJQdXwAogybdTDHDd3SCdKyoiHIHb8PpdE2rKmVicjG9b1UgVwdgO8QPytmVqHFaUw27M3LZKwu8Yg==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "@smithy/util-buffer-from": "^3.0.0", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" @@ -1601,11 +1601,11 @@ } }, "node_modules/@smithy/invalid-dependency": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-3.0.1.tgz", - "integrity": "sha512-RSNF/32BKygXKKMyS7koyuAq1rcdW5p5c4EFa77QenBFze9As+JiRnV9OWBh2cB/ejGZalEZjvIrMLHwJl7aGA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-3.0.2.tgz", + "integrity": "sha512-+BAY3fMhomtq470tswXyrdVBSUhiLuhBVT+rOmpbz5e04YX+s1dX4NxTLzZGwBjCpeWZNtTxP8zbIvvFk81gUg==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" } }, @@ -1621,12 +1621,12 @@ } }, "node_modules/@smithy/middleware-content-length": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-3.0.1.tgz", - "integrity": "sha512-6QdK/VbrCfXD5/QolE2W/ok6VqxD+SM28Ds8iSlEHXZwv4buLsvWyvoEEy0322K/g5uFgPzBmZjGqesTmPL+yQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-3.0.2.tgz", + "integrity": "sha512-/Havz3PkYIEmwpqkyRTR21yJsWnFbD1ec4H1pUL+TkDnE7RCQkAVUQepLL/UeCaZeCBXvfdoKbOjSbV01xIinQ==", "dependencies": { - "@smithy/protocol-http": "^4.0.1", - "@smithy/types": "^3.1.0", + "@smithy/protocol-http": "^4.0.2", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1634,16 +1634,16 @@ } }, "node_modules/@smithy/middleware-endpoint": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-3.0.2.tgz", - "integrity": "sha512-gWEaGYB3Bei17Oiy/F2IlUPpBazNXImytoOdJ1xbrUOaJKAOiUhx8/4FOnYLLJHdAwa9PlvJ2ULda2f/Dnwi9w==", - "dependencies": { - "@smithy/middleware-serde": "^3.0.1", - "@smithy/node-config-provider": "^3.1.1", - "@smithy/shared-ini-file-loader": "^3.1.1", - "@smithy/types": "^3.1.0", - "@smithy/url-parser": "^3.0.1", - "@smithy/util-middleware": "^3.0.1", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-3.0.3.tgz", + "integrity": "sha512-ARAXHodhj4tttKa9y75zvENdSoHq6VGsSi7XS3+yLutrnxttJs6N10UMInCC1yi3/bopT8xug3iOP/y9R6sKJQ==", + "dependencies": { + "@smithy/middleware-serde": "^3.0.2", + "@smithy/node-config-provider": "^3.1.2", + "@smithy/shared-ini-file-loader": "^3.1.2", + "@smithy/types": "^3.2.0", + "@smithy/url-parser": "^3.0.2", + "@smithy/util-middleware": "^3.0.2", "tslib": "^2.6.2" }, "engines": { @@ -1651,17 +1651,17 @@ } }, "node_modules/@smithy/middleware-retry": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-3.0.5.tgz", - "integrity": "sha512-nKAmmea9Wm0d94obPqVgjxW2zzaNemxcTzjgd17LhGKI23D66UQKI5gpoWDsnE+R4tfuZe9dCcw8gmTVEwFpRA==", - "dependencies": { - "@smithy/node-config-provider": "^3.1.1", - "@smithy/protocol-http": "^4.0.1", - "@smithy/service-error-classification": "^3.0.1", - "@smithy/smithy-client": "^3.1.3", - "@smithy/types": "^3.1.0", - "@smithy/util-middleware": "^3.0.1", - "@smithy/util-retry": "^3.0.1", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-3.0.6.tgz", + "integrity": "sha512-ICsFKp8eAyIMmxN5UT3IU37S6886L879TKtgxPsn/VD/laYNwqTLmJaCAn5//+2fRIrV0dnHp6LFlMwdXlWoUQ==", + "dependencies": { + "@smithy/node-config-provider": "^3.1.2", + "@smithy/protocol-http": "^4.0.2", + "@smithy/service-error-classification": "^3.0.2", + "@smithy/smithy-client": "^3.1.4", + "@smithy/types": "^3.2.0", + "@smithy/util-middleware": "^3.0.2", + "@smithy/util-retry": "^3.0.2", "tslib": "^2.6.2", "uuid": "^9.0.1" }, @@ -1682,11 +1682,11 @@ } }, "node_modules/@smithy/middleware-serde": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-3.0.1.tgz", - "integrity": "sha512-ak6H/ZRN05r5+SR0/IUc5zOSyh2qp3HReg1KkrnaSLXmncy9lwOjNqybX4L4x55/e5mtVDn1uf/gQ6bw5neJPw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-3.0.2.tgz", + "integrity": "sha512-oT2abV5zLhBucJe1LIIFEcRgIBDbZpziuMPswTMbBQNcaEUycLFvX63zsFmqfwG+/ZQKsNx+BSE8W51CMuK7Yw==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1694,11 +1694,11 @@ } }, "node_modules/@smithy/middleware-stack": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-3.0.1.tgz", - "integrity": "sha512-fS5uT//y1SlBdkzIvgmWQ9FufwMXrHSSbuR25ygMy1CRDIZkcBMoF4oTMYNfR9kBlVBcVzlv7joFdNrFuQirPA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-3.0.2.tgz", + "integrity": "sha512-6fRcxomlNKBPIy/YjcnC7YHpMAjRvGUYlYVJAfELqZjkW0vQegNcImjY7T1HgYA6u3pAcCxKVBLYnkTw8z/l0A==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1706,13 +1706,13 @@ } }, "node_modules/@smithy/node-config-provider": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-3.1.1.tgz", - "integrity": "sha512-z5G7+ysL4yUtMghUd2zrLkecu0mTfnYlt5dR76g/HsFqf7evFazwiZP1ag2EJenGxNBDwDM5g8nm11NPogiUVA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-3.1.2.tgz", + "integrity": "sha512-388fEAa7+6ORj/BDC70peg3fyFBTTXJyXfXJ0Bwd6FYsRltePr2oGzIcm5AuC1WUSLtZ/dF+hYOnfTMs04rLvA==", "dependencies": { - "@smithy/property-provider": "^3.1.1", - "@smithy/shared-ini-file-loader": "^3.1.1", - "@smithy/types": "^3.1.0", + "@smithy/property-provider": "^3.1.2", + "@smithy/shared-ini-file-loader": "^3.1.2", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1720,14 +1720,14 @@ } }, "node_modules/@smithy/node-http-handler": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-3.0.1.tgz", - "integrity": "sha512-hlBI6MuREA4o1wBMEt+QNhUzoDtFFvwR6ecufimlx9D79jPybE/r8kNorphXOi91PgSO9S2fxRjcKCLk7Jw8zA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-3.1.0.tgz", + "integrity": "sha512-pOpgB6B+VLXLwAyyvRz+ZAVXABlbAsJ2xvn3WZvrppAPImxwQOPFbeSUzWYMhpC8Tr7yQ3R8fG990QDhskkf1Q==", "dependencies": { - "@smithy/abort-controller": "^3.0.1", - "@smithy/protocol-http": "^4.0.1", - "@smithy/querystring-builder": "^3.0.1", - "@smithy/types": "^3.1.0", + "@smithy/abort-controller": "^3.1.0", + "@smithy/protocol-http": "^4.0.2", + "@smithy/querystring-builder": "^3.0.2", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1735,11 +1735,11 @@ } }, "node_modules/@smithy/property-provider": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-3.1.1.tgz", - "integrity": "sha512-YknOMZcQkB5on+MU0DvbToCmT2YPtTETMXW0D3+/Iln7ezT+Zm1GMHhCW1dOH/X/+LkkQD9aXEoCX/B10s4Xdw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-3.1.2.tgz", + "integrity": "sha512-Hzp32BpeFFexBpO1z+ts8okbq/VLzJBadxanJAo/Wf2CmvXMBp6Q/TLWr7Js6IbMEcr0pDZ02V3u1XZkuQUJaA==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1747,11 +1747,11 @@ } }, "node_modules/@smithy/protocol-http": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-4.0.1.tgz", - "integrity": "sha512-eBhm9zwcFPEazc654c0BEWtxYAzrw+OhoSf5pkwKzfftWKXRoqEhwOE2Pvn30v0iAdo7Mfsfb6pi1NnZlGCMpg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-4.0.2.tgz", + "integrity": "sha512-X/90xNWIOqSR2tLUyWxVIBdatpm35DrL44rI/xoeBWUuanE0iyCXJpTcnqlOpnEzgcu0xCKE06+g70TTu2j7RQ==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1759,11 +1759,11 @@ } }, "node_modules/@smithy/querystring-builder": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-3.0.1.tgz", - "integrity": "sha512-vKitpnG/2KOMVlx3x1S3FkBH075EROG3wcrcDaNerQNh8yuqnSL23btCD2UyX4i4lpPzNW6VFdxbn2Z25b/g5Q==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-3.0.2.tgz", + "integrity": "sha512-xhv1+HacDYsOLdNt7zW+8Fe779KYAzmWvzs9bC5NlKM8QGYCwwuFwDBynhlU4D5twgi2pZ14Lm4h6RiAazCtmA==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "@smithy/util-uri-escape": "^3.0.0", "tslib": "^2.6.2" }, @@ -1772,11 +1772,11 @@ } }, "node_modules/@smithy/querystring-parser": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-3.0.1.tgz", - "integrity": "sha512-Qt8DMC05lVS8NcQx94lfVbZSX+2Ym7032b/JR8AlboAa/D669kPzqb35dkjkvAG6+NWmUchef3ENtrD6F+5n8Q==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-3.0.2.tgz", + "integrity": "sha512-C5hyRKgrZGPNh5QqIWzXnW+LXVrPmVQO0iJKjHeb5v3C61ZkP9QhrKmbfchcTyg/VnaE0tMNf/nmLpQlWuiqpg==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1784,22 +1784,22 @@ } }, "node_modules/@smithy/service-error-classification": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-3.0.1.tgz", - "integrity": "sha512-ubFUvIePjDCyIzZ+pLETqNC6KXJ/fc6g+/baqel7Zf6kJI/kZKgjwkCI7zbUhoUuOZ/4eA/87YasVu40b/B4bA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-3.0.2.tgz", + "integrity": "sha512-cu0WV2XRttItsuXlcM0kq5MKdphbMMmSd2CXF122dJ75NrFE0o7rruXFGfxAp3BKzgF/DMxX+PllIA/cj4FHMw==", "dependencies": { - "@smithy/types": "^3.1.0" + "@smithy/types": "^3.2.0" }, "engines": { "node": ">=16.0.0" } }, "node_modules/@smithy/shared-ini-file-loader": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.1.tgz", - "integrity": "sha512-nD6tXIX2126/P9e3wqRY1bm9dTtPZwRDyjVOd18G28o+1UOG+kOVgUwujE795HslSuPlEgqzsH5sgNP1hDjj9g==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.2.tgz", + "integrity": "sha512-tgnXrXbLMO8vo6VeuqabMw/eTzQHlLmZx0TC0TjtjJghnD0Xl4pEnJtBjTJr6XF5fHMNrt5BcczDXHJT9yNQnA==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1807,14 +1807,14 @@ } }, "node_modules/@smithy/signature-v4": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-3.1.0.tgz", - "integrity": "sha512-m0/6LW3IQ3/JBcdhqjpkpABPTPhcejqeAn0U877zxBdNLiWAnG2WmCe5MfkUyVuvpFTPQnQwCo/0ZBR4uF5kxg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-3.1.1.tgz", + "integrity": "sha512-2/vlG86Sr489XX8TA/F+VDA+P04ESef04pSz0wRtlQBExcSPjqO08rvrkcas2zLnJ51i+7ukOURCkgqixBYjSQ==", "dependencies": { "@smithy/is-array-buffer": "^3.0.0", - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "@smithy/util-hex-encoding": "^3.0.0", - "@smithy/util-middleware": "^3.0.1", + "@smithy/util-middleware": "^3.0.2", "@smithy/util-uri-escape": "^3.0.0", "@smithy/util-utf8": "^3.0.0", "tslib": "^2.6.2" @@ -1824,15 +1824,15 @@ } }, "node_modules/@smithy/smithy-client": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-3.1.3.tgz", - "integrity": "sha512-YVz+akpR5lIIRPJfhE4sqoHYwMys6/33vsFvDof+71FCwa4jkVfMpzKv9TKrG/EDb5TV+YtjdXkwywdqlUOQXA==", - "dependencies": { - "@smithy/middleware-endpoint": "^3.0.2", - "@smithy/middleware-stack": "^3.0.1", - "@smithy/protocol-http": "^4.0.1", - "@smithy/types": "^3.1.0", - "@smithy/util-stream": "^3.0.3", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-3.1.4.tgz", + "integrity": "sha512-y6xJROGrIoitjpwXLY7P9luDHvuT9jWpAluliuSFdBymFxcl6iyQjo9U/JhYfRHFNTruqsvKOrOESVuPGEcRmQ==", + "dependencies": { + "@smithy/middleware-endpoint": "^3.0.3", + "@smithy/middleware-stack": "^3.0.2", + "@smithy/protocol-http": "^4.0.2", + "@smithy/types": "^3.2.0", + "@smithy/util-stream": "^3.0.4", "tslib": "^2.6.2" }, "engines": { @@ -1840,9 +1840,9 @@ } }, "node_modules/@smithy/types": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-3.1.0.tgz", - "integrity": "sha512-qi4SeCVOUPjhSSZrxxB/mB8DrmuSFUcJnD9KXjuP+7C3LV/KFV4kpuUSH3OHDZgQB9TEH/1sO/Fq/5HyaK9MPw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-3.2.0.tgz", + "integrity": "sha512-cKyeKAPazZRVqm7QPvcPD2jEIt2wqDPAL1KJKb0f/5I7uhollvsWZuZKLclmyP6a+Jwmr3OV3t+X0pZUUHS9BA==", "dependencies": { "tslib": "^2.6.2" }, @@ -1851,12 +1851,12 @@ } }, "node_modules/@smithy/url-parser": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-3.0.1.tgz", - "integrity": "sha512-G140IlNFlzYWVCedC4E2d6NycM1dCUbe5CnsGW1hmGt4hYKiGOw0v7lVru9WAn5T2w09QEjl4fOESWjGmCvVmg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-3.0.2.tgz", + "integrity": "sha512-pRiPHrgibeAr4avtXDoBHmTLtthwA4l8jKYRfZjNgp+bBPyxDMPRg2TMJaYxqbKemvrOkHu9MIBTv2RkdNfD6w==", "dependencies": { - "@smithy/querystring-parser": "^3.0.1", - "@smithy/types": "^3.1.0", + "@smithy/querystring-parser": "^3.0.2", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" } }, @@ -1916,13 +1916,13 @@ } }, "node_modules/@smithy/util-defaults-mode-browser": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.5.tgz", - "integrity": "sha512-VZkJ+bXCHcNSMhX8EReGyFcc/Err94YGqeEKbbxkVz2TgKlacsoplpi+kxOMVbQq/tq9sQx5ajBKG+nl2GNuxw==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.6.tgz", + "integrity": "sha512-tAgoc++Eq+KL7g55+k108pn7nAob3GLWNEMbXhZIQyBcBNaE/o3+r4AEbae0A8bWvLRvArVsjeiuhMykGa04/A==", "dependencies": { - "@smithy/property-provider": "^3.1.1", - "@smithy/smithy-client": "^3.1.3", - "@smithy/types": "^3.1.0", + "@smithy/property-provider": "^3.1.2", + "@smithy/smithy-client": "^3.1.4", + "@smithy/types": "^3.2.0", "bowser": "^2.11.0", "tslib": "^2.6.2" }, @@ -1931,16 +1931,16 @@ } }, "node_modules/@smithy/util-defaults-mode-node": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.5.tgz", - "integrity": "sha512-jy19cFQA0k4f8VUDFsZVBey3rmI8EuXCw/xh/abdiq6S1qdwdfZ5coviuyYd//LPszf2yWIYkLpvmLF9qbhLGg==", - "dependencies": { - "@smithy/config-resolver": "^3.0.2", - "@smithy/credential-provider-imds": "^3.1.1", - "@smithy/node-config-provider": "^3.1.1", - "@smithy/property-provider": "^3.1.1", - "@smithy/smithy-client": "^3.1.3", - "@smithy/types": "^3.1.0", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.6.tgz", + "integrity": "sha512-UNerul6/E8aiCyFTBHk+RSIZCo7m96d/N5K3FeO/wFeZP6oy5HAicLzxqa85Wjv7MkXSxSySX29L/LwTV/QMag==", + "dependencies": { + "@smithy/config-resolver": "^3.0.3", + "@smithy/credential-provider-imds": "^3.1.2", + "@smithy/node-config-provider": "^3.1.2", + "@smithy/property-provider": "^3.1.2", + "@smithy/smithy-client": "^3.1.4", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1948,12 +1948,12 @@ } }, "node_modules/@smithy/util-endpoints": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-2.0.2.tgz", - "integrity": "sha512-4zFOcBFQvifd2LSD4a1dKvfIWWwh4sWNtS3oZ7mpob/qPPmJseqKB148iT+hWCDsG//TmI+8vjYPgZdvnkYlTg==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-2.0.3.tgz", + "integrity": "sha512-Dyi+pfLglDHSGsKSYunuUUSFM5V0tz7UDgv1Ex97yg+Xkn0Eb0rH0rcvl1n0MaJ11fac3HKDOH0DkALyQYCQag==", "dependencies": { - "@smithy/node-config-provider": "^3.1.1", - "@smithy/types": "^3.1.0", + "@smithy/node-config-provider": "^3.1.2", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1972,11 +1972,11 @@ } }, "node_modules/@smithy/util-middleware": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-3.0.1.tgz", - "integrity": "sha512-WRODCQtUsO7vIvfrdxS8RFPeLKcewYtaCglZsBsedIKSUGIIvMlZT5oh+pCe72I+1L+OjnZuqRNpN2LKhWA4KQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-3.0.2.tgz", + "integrity": "sha512-7WW5SD0XVrpfqljBYzS5rLR+EiDzl7wCVJZ9Lo6ChNFV4VYDk37Z1QI5w/LnYtU/QKnSawYoHRd7VjSyC8QRQQ==", "dependencies": { - "@smithy/types": "^3.1.0", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1984,12 +1984,12 @@ } }, "node_modules/@smithy/util-retry": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-3.0.1.tgz", - "integrity": "sha512-5lRtYm+8fNFEUTdqZXg5M4ppVp40rMIJfR1TpbHAhKQgPIDpWT+iYMaqgnwEbtpi9U1smyUOPv5Sg+M1neOBgw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-3.0.2.tgz", + "integrity": "sha512-HUVOb1k8p/IH6WFUjsLa+L9H1Zi/FAAB2CDOpWuffI1b2Txi6sknau8kNfC46Xrt39P1j2KDzCE1UlLa2eW5+A==", "dependencies": { - "@smithy/service-error-classification": "^3.0.1", - "@smithy/types": "^3.1.0", + "@smithy/service-error-classification": "^3.0.2", + "@smithy/types": "^3.2.0", "tslib": "^2.6.2" }, "engines": { @@ -1997,13 +1997,13 @@ } }, "node_modules/@smithy/util-stream": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-3.0.3.tgz", - "integrity": "sha512-ztOvXkXKJromRHNzvrLEW/vvTQPnxPBRHA0gR0QX61LnHDgrm4TBT4EQNpWwwHCD1N0nnEL5bEkzo2dt2t34Kg==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-3.0.4.tgz", + "integrity": "sha512-CcMioiaOOsEVdb09pS7ux1ij7QcQ2jE/cE1+iin1DXMeRgAEQN/47m7Xztu7KFQuQsj0A5YwB2UN45q97CqKCg==", "dependencies": { - "@smithy/fetch-http-handler": "^3.0.3", - "@smithy/node-http-handler": "^3.0.1", - "@smithy/types": "^3.1.0", + "@smithy/fetch-http-handler": "^3.1.0", + "@smithy/node-http-handler": "^3.1.0", + "@smithy/types": "^3.2.0", "@smithy/util-base64": "^3.0.0", "@smithy/util-buffer-from": "^3.0.0", "@smithy/util-hex-encoding": "^3.0.0", @@ -3550,9 +3550,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/electron-to-chromium": { - "version": "1.4.805", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.805.tgz", - "integrity": "sha512-8W4UJwX/w9T0QSzINJckTKG6CYpAUTqsaWcWIsdud3I1FYJcMgW9QqT1/4CBff/pP/TihWh13OmiyY8neto6vw==", + "version": "1.4.806", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.806.tgz", + "integrity": "sha512-nkoEX2QIB8kwCOtvtgwhXWy2IHVcOLQZu9Qo36uaGB835mdX/h8uLRlosL6QIhLVUnAiicXRW00PwaPZC74Nrg==", "dev": true, "peer": true }, @@ -6518,6 +6518,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", + "dev": true + }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -7031,15 +7037,16 @@ } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { @@ -7595,15 +7602,16 @@ } }, "node_modules/test-exclude/node_modules/glob": { - "version": "10.4.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz", - "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": {