diff --git a/.github/workflows/test-release-secrets-ssm.yml b/.github/workflows/test-release-secrets-ssm.yml new file mode 100644 index 0000000..374da57 --- /dev/null +++ b/.github/workflows/test-release-secrets-ssm.yml @@ -0,0 +1,63 @@ +name: Test release-secrets SSM + +# Builds, type-checks, and unit-tests the release-secrets SSM helper, and +# verifies the committed dist/ bundle matches a fresh build (GitHub runs the +# committed JS as-is; it never builds the action). + +on: + pull_request: + paths: + - 'actions/release-secrets/ssm/**' + - '.github/workflows/test-release-secrets-ssm.yml' + push: + branches: + - main + paths: + - 'actions/release-secrets/ssm/**' + - '.github/workflows/test-release-secrets-ssm.yml' + +permissions: + contents: read + +defaults: + run: + working-directory: actions/release-secrets/ssm + +jobs: + test: + name: typecheck, test, and verify dist + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + with: + # Pinned to match the Node major used to build the committed dist/, so + # the check-dist step below is a stable comparison, not version-flaky. + node-version-file: actions/release-secrets/ssm/.nvmrc + # Yarn version is pinned via the package.json "packageManager" field; + # corepack provisions exactly that version. + - run: corepack enable + # --immutable fails the build if yarn.lock would change, so CI can't drift + # from the committed lockfile. The 7-day cooldown (npmMinimalAgeGate) is + # already baked into the lockfile, so it is not re-evaluated here. + - run: yarn install --immutable + - run: yarn typecheck + - run: yarn test + - name: Verify dist/ is up to date + run: | + yarn build + if [ -n "$(git status --porcelain dist/)" ]; then + echo "::error::dist/ is out of date — run 'yarn build' in actions/release-secrets/ssm and commit the result." + git diff --stat -- dist/ + exit 1 + fi + - name: Smoke-test the bundled entrypoint + # Guards against a no-op bundle: the unit tests import run() from source, + # so they pass even if the ncc entrypoint never actually invokes run() + # (e.g. a `require.main === module` guard that is always false in the ESM + # bundle). Malformed input must make the real artifact fail loudly. + run: | + if SSM_PARAMETER_PAIRS='smoke_test_no_equals' node dist/index.js; then + echo "::error::dist/index.js exited 0 on malformed input — the entrypoint is a no-op (run() was not invoked)." + exit 1 + fi diff --git a/actions/release-secrets/README.md b/actions/release-secrets/README.md index a656293..9715d9e 100644 --- a/actions/release-secrets/README.md +++ b/actions/release-secrets/README.md @@ -8,6 +8,13 @@ It can also be used to download files from s3. The repository must be configured with OIDC, allowing access to an AWS account. +The SSM step runs a bundled Node script, so the runner must have `node` on its +`PATH` (GitHub-hosted runners do; self-hosted runners need Node installed). + +`ssm_parameter_pairs` paths must be plain SSM parameter names. Version or label +selectors (`/path:2`, `/path:label`) are not supported — the value is looked up +by its bare name and a selector will fail the lookup. + # Example This example uses the release-secrets action to get an NPM token. diff --git a/actions/release-secrets/action.yml b/actions/release-secrets/action.yml index 286807b..9db8ede 100644 --- a/actions/release-secrets/action.yml +++ b/actions/release-secrets/action.yml @@ -18,17 +18,17 @@ runs: using: composite steps: - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 + uses: aws-actions/configure-aws-credentials@e7f100cf4c008499ea8adda475de1042d6975c7b # v6 with: audience: https://github.com/launchdarkly role-to-assume: ${{ inputs.aws_assume_role }} aws-region: us-east-1 - name: Load environment variables - uses: dkershner6/aws-ssm-getparameters-action@4fcb4872421f387a6c43058473acc1b22443fe13 # 4fcb4872421f387a6c43058473acc1b22443fe13 + shell: bash if: ${{ inputs.ssm_parameter_pairs != '' }} - with: - parameterPairs: ${{ inputs.ssm_parameter_pairs }} - withDecryption: 'true' + env: + SSM_PARAMETER_PAIRS: ${{ inputs.ssm_parameter_pairs }} + run: node "$GITHUB_ACTION_PATH/ssm/dist/index.js" - name: Download S3 files shell: bash if: ${{ inputs.s3_path_pairs != '' }} diff --git a/actions/release-secrets/ssm/.gitignore b/actions/release-secrets/ssm/.gitignore new file mode 100644 index 0000000..8553f37 --- /dev/null +++ b/actions/release-secrets/ssm/.gitignore @@ -0,0 +1,11 @@ +node_modules/ +*.tsbuildinfo + +# Yarn Berry: commit yarn.lock + .yarnrc.yml; ignore install state / local cache. +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions +.pnp.* diff --git a/actions/release-secrets/ssm/.nvmrc b/actions/release-secrets/ssm/.nvmrc new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/actions/release-secrets/ssm/.nvmrc @@ -0,0 +1 @@ +22 diff --git a/actions/release-secrets/ssm/.yarnrc.yml b/actions/release-secrets/ssm/.yarnrc.yml new file mode 100644 index 0000000..3f0a852 --- /dev/null +++ b/actions/release-secrets/ssm/.yarnrc.yml @@ -0,0 +1,11 @@ +# ncc bundles from a real node_modules tree, so use the node-modules linker +# rather than Yarn's default Plug'n'Play. +nodeLinker: node-modules + +# Supply-chain cooldown: refuse to install any package version published less +# than 7 days ago, matching the org Renovate policy (minimumReleaseAge: 7 days). +# A freshly published (possibly compromised or to-be-unpublished) version is not +# considered for resolution until it has aged past this gate. +npmMinimalAgeGate: "7d" + +enableTelemetry: false diff --git a/actions/release-secrets/ssm/dist/136.index.js b/actions/release-secrets/ssm/dist/136.index.js new file mode 100644 index 0000000..34cf2e8 --- /dev/null +++ b/actions/release-secrets/ssm/dist/136.index.js @@ -0,0 +1,1071 @@ +"use strict"; +exports.id = 136; +exports.ids = [136]; +exports.modules = { + +/***/ 1136: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +var __webpack_unused_export__; + + +var client$1 = __webpack_require__(5152); +var core = __webpack_require__(402); +var client = __webpack_require__(2658); +var config = __webpack_require__(7291); +var endpoints = __webpack_require__(2085); +var protocols = __webpack_require__(3422); +var retry = __webpack_require__(3609); +var schema = __webpack_require__(6890); +var httpAuthSchemes = __webpack_require__(7523); +var signatureV4MultiRegion = __webpack_require__(5785); +var serde = __webpack_require__(2430); +var nodeHttpHandler = __webpack_require__(1279); +var protocols$1 = __webpack_require__(7288); + +const q = "ref"; +const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "stringEquals", g = "getAttr", h = "us-east-1", i = "sigv4", j = "sts", k = "https://sts.{Region}.{PartitionResult#dnsSuffix}", l = { [q]: "Endpoint" }, m = { [q]: "Region" }, n = { [q]: d }, o = {}, p = [m]; +const _data = { + conditions: [ + [c, [l]], + [c, p], + ["aws.partition", p, d], + [e, [{ [q]: "UseFIPS" }, b]], + [e, [{ [q]: "UseDualStack" }, b]], + [f, [m, "aws-global"]], + [e, [{ [q]: "UseGlobalEndpoint" }, b]], + [f, [m, "eu-central-1"]], + [e, [{ fn: g, argv: [n, "supportsDualStack"] }, b]], + [e, [{ fn: g, argv: [n, "supportsFIPS"] }, b]], + [f, [m, "ap-south-1"]], + [f, [m, "eu-north-1"]], + [f, [m, "eu-west-1"]], + [f, [m, "eu-west-2"]], + [f, [m, "eu-west-3"]], + [f, [m, "sa-east-1"]], + [f, [m, h]], + [f, [m, "us-east-2"]], + [f, [m, "us-west-2"]], + [f, [m, "us-west-1"]], + [f, [m, "ca-central-1"]], + [f, [m, "ap-southeast-1"]], + [f, [m, "ap-northeast-1"]], + [f, [m, "ap-southeast-2"]], + [f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]] + ], + results: [ + [a], + ["https://sts.amazonaws.com", { authSchemes: [{ name: i, signingName: j, signingRegion: h }] }], + [k, { authSchemes: [{ name: i, signingName: j, signingRegion: "{Region}" }] }], + [a, "Invalid Configuration: FIPS and custom endpoint are not supported"], + [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"], + [l, o], + ["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", o], + [a, "FIPS and DualStack are enabled, but this partition does not support one or both"], + ["https://sts.{Region}.amazonaws.com", o], + ["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", o], + [a, "FIPS is enabled but this partition does not support FIPS"], + ["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", o], + [a, "DualStack is enabled but this partition does not support DualStack"], + [k, o], + [a, "Invalid Configuration: Missing Region"] + ] +}; +const root = 2; +const r = 100_000_000; +const nodes = new Int32Array([ + -1, 1, -1, + 0, 30, 3, + 1, 4, r + 14, + 2, 5, r + 14, + 3, 25, 6, + 4, 24, 7, + 5, r + 1, 8, + 6, 9, r + 13, + 7, r + 1, 10, + 10, r + 1, 11, + 11, r + 1, 12, + 12, r + 1, 13, + 13, r + 1, 14, + 14, r + 1, 15, + 15, r + 1, 16, + 16, r + 1, 17, + 17, r + 1, 18, + 18, r + 1, 19, + 19, r + 1, 20, + 20, r + 1, 21, + 21, r + 1, 22, + 22, r + 1, 23, + 23, r + 1, r + 2, + 8, r + 11, r + 12, + 4, 28, 26, + 9, 27, r + 10, + 24, r + 8, r + 9, + 8, 29, r + 7, + 9, r + 6, r + 7, + 3, r + 3, 31, + 4, r + 4, r + 5, +]); +const bdd = endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); + +const cache = new endpoints.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => endpoints.decideEndpoint(bdd, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +endpoints.customEndpointFunctions.aws = client$1.awsEndpointFunctions; + +const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => { + if (!input) { + throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`"); + } + const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input); + const instructionsFn = client.getSmithyContext(context)?.commandInstance?.constructor + ?.getEndpointParameterInstructions; + if (!instructionsFn) { + throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`); + } + const endpointParameters = await endpoints.resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config); + return Object.assign(defaultParameters, endpointParameters); +}; +const _defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: client.getSmithyContext(context).operation, + region: await client.normalizeProvider(config.region)() || (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +const defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider); +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "sts", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createAwsAuthSigv4aHttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4a", + signingProperties: { + name: "sts", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => { + const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => { + const endpoint = defaultEndpointResolver(authParameters); + const authSchemes = endpoint.properties?.authSchemes; + if (!authSchemes) { + return defaultHttpAuthSchemeResolver(authParameters); + } + const options = []; + for (const scheme of authSchemes) { + const { name: resolvedName, properties = {}, ...rest } = scheme; + const name = resolvedName.toLowerCase(); + if (resolvedName !== name) { + console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`); + } + let schemeId; + if (name === "sigv4a") { + schemeId = "aws.auth#sigv4a"; + const sigv4Present = authSchemes.find((s) => { + const name = s.name.toLowerCase(); + return name !== "sigv4a" && name.startsWith("sigv4"); + }); + if (signatureV4MultiRegion.SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) { + continue; + } + } + else if (name.startsWith("sigv4")) { + schemeId = "aws.auth#sigv4"; + } + else { + throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`); + } + const createOption = createHttpAuthOptionFunctions[schemeId]; + if (!createOption) { + throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`); + } + const option = createOption(authParameters); + option.schemeId = schemeId; + option.signingProperties = { ...(option.signingProperties || {}), ...rest, ...properties }; + options.push(option); + } + return options; + }; + return endpointRuleSetHttpAuthSchemeProvider; +}; +const _defaultSTSHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "AssumeRoleWithWebIdentity": { + options.push(createSmithyApiNoAuthHttpAuthOption()); + options.push(createAwsAuthSigv4aHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + options.push(createAwsAuthSigv4aHttpAuthOption(authParameters)); + } + } + return options; +}; +const defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver, _defaultSTSHttpAuthSchemeProvider, { + "aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption, + "aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption, + "smithy.api#noAuth": createSmithyApiNoAuthHttpAuthOption, +}); +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = httpAuthSchemes.resolveAwsSdkSigV4Config(config); + const config_1 = httpAuthSchemes.resolveAwsSdkSigV4AConfig(config_0); + return Object.assign(config_1, { + authSchemePreference: client.normalizeProvider(config.authSchemePreference ?? []), + }); +}; + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + useGlobalEndpoint: options.useGlobalEndpoint ?? false, + defaultSigningName: "sts", + }); +}; +const 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" }, +}; + +var version = "3.997.19"; +var packageInfo = { + version: version}; + +class STSServiceException extends client.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, STSServiceException.prototype); + } +} + +class ExpiredTokenException extends STSServiceException { + name = "ExpiredTokenException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExpiredTokenException.prototype); + } +} +class MalformedPolicyDocumentException extends STSServiceException { + name = "MalformedPolicyDocumentException"; + $fault = "client"; + constructor(opts) { + super({ + name: "MalformedPolicyDocumentException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype); + } +} +class PackedPolicyTooLargeException extends STSServiceException { + name = "PackedPolicyTooLargeException"; + $fault = "client"; + constructor(opts) { + super({ + name: "PackedPolicyTooLargeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype); + } +} +class RegionDisabledException extends STSServiceException { + name = "RegionDisabledException"; + $fault = "client"; + constructor(opts) { + super({ + name: "RegionDisabledException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, RegionDisabledException.prototype); + } +} +class IDPRejectedClaimException extends STSServiceException { + name = "IDPRejectedClaimException"; + $fault = "client"; + constructor(opts) { + super({ + name: "IDPRejectedClaimException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IDPRejectedClaimException.prototype); + } +} +class InvalidIdentityTokenException extends STSServiceException { + name = "InvalidIdentityTokenException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidIdentityTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype); + } +} +class IDPCommunicationErrorException extends STSServiceException { + name = "IDPCommunicationErrorException"; + $fault = "client"; + $retryable = {}; + constructor(opts) { + super({ + name: "IDPCommunicationErrorException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype); + } +} + +const _A = "Arn"; +const _AKI = "AccessKeyId"; +const _AR = "AssumeRole"; +const _ARI = "AssumedRoleId"; +const _ARR = "AssumeRoleRequest"; +const _ARRs = "AssumeRoleResponse"; +const _ARU = "AssumedRoleUser"; +const _ARWWI = "AssumeRoleWithWebIdentity"; +const _ARWWIR = "AssumeRoleWithWebIdentityRequest"; +const _ARWWIRs = "AssumeRoleWithWebIdentityResponse"; +const _Au = "Audience"; +const _C = "Credentials"; +const _CA = "ContextAssertion"; +const _DS = "DurationSeconds"; +const _E = "Expiration"; +const _EI = "ExternalId"; +const _ETE = "ExpiredTokenException"; +const _IDPCEE = "IDPCommunicationErrorException"; +const _IDPRCE = "IDPRejectedClaimException"; +const _IITE = "InvalidIdentityTokenException"; +const _K = "Key"; +const _MPDE = "MalformedPolicyDocumentException"; +const _P = "Policy"; +const _PA = "PolicyArns"; +const _PAr = "ProviderArn"; +const _PC = "ProvidedContexts"; +const _PCLT = "ProvidedContextsListType"; +const _PCr = "ProvidedContext"; +const _PDT = "PolicyDescriptorType"; +const _PI = "ProviderId"; +const _PPS = "PackedPolicySize"; +const _PPTLE = "PackedPolicyTooLargeException"; +const _Pr = "Provider"; +const _RA = "RoleArn"; +const _RDE = "RegionDisabledException"; +const _RSN = "RoleSessionName"; +const _SAK = "SecretAccessKey"; +const _SFWIT = "SubjectFromWebIdentityToken"; +const _SI = "SourceIdentity"; +const _SN = "SerialNumber"; +const _ST = "SessionToken"; +const _T = "Tags"; +const _TC = "TokenCode"; +const _TTK = "TransitiveTagKeys"; +const _Ta = "Tag"; +const _V = "Value"; +const _WIT = "WebIdentityToken"; +const _a = "arn"; +const _aKST = "accessKeySecretType"; +const _aQE = "awsQueryError"; +const _c = "client"; +const _cTT = "clientTokenType"; +const _e = "error"; +const _hE = "httpError"; +const _m = "message"; +const _pDLT = "policyDescriptorListType"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts"; +const _tLT = "tagListType"; +const n0 = "com.amazonaws.sts"; +const _s_registry = schema.TypeRegistry.for(_s); +var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []]; +_s_registry.registerError(STSServiceException$, STSServiceException); +const n0_registry = schema.TypeRegistry.for(n0); +var ExpiredTokenException$ = [-3, n0, _ETE, + { [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0] +]; +n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException); +var IDPCommunicationErrorException$ = [-3, n0, _IDPCEE, + { [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0] +]; +n0_registry.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException); +var IDPRejectedClaimException$ = [-3, n0, _IDPRCE, + { [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 }, + [_m], + [0] +]; +n0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException); +var InvalidIdentityTokenException$ = [-3, n0, _IITE, + { [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0] +]; +n0_registry.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException); +var MalformedPolicyDocumentException$ = [-3, n0, _MPDE, + { [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0] +]; +n0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException); +var PackedPolicyTooLargeException$ = [-3, n0, _PPTLE, + { [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0] +]; +n0_registry.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException); +var RegionDisabledException$ = [-3, n0, _RDE, + { [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 }, + [_m], + [0] +]; +n0_registry.registerError(RegionDisabledException$, RegionDisabledException); +const errorTypeRegistries = [ + _s_registry, + n0_registry, +]; +var accessKeySecretType = [0, n0, _aKST, 8, 0]; +var clientTokenType = [0, n0, _cTT, 8, 0]; +var AssumedRoleUser$ = [3, n0, _ARU, + 0, + [_ARI, _A], + [0, 0], 2 +]; +var AssumeRoleRequest$ = [3, n0, _ARR, + 0, + [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC], + [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType], 2 +]; +var AssumeRoleResponse$ = [3, n0, _ARRs, + 0, + [_C, _ARU, _PPS, _SI], + [[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0] +]; +var AssumeRoleWithWebIdentityRequest$ = [3, n0, _ARWWIR, + 0, + [_RA, _RSN, _WIT, _PI, _PA, _P, _DS], + [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1], 3 +]; +var AssumeRoleWithWebIdentityResponse$ = [3, n0, _ARWWIRs, + 0, + [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI], + [[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0] +]; +var Credentials$ = [3, n0, _C, + 0, + [_AKI, _SAK, _ST, _E], + [0, [() => accessKeySecretType, 0], 0, 4], 4 +]; +var PolicyDescriptorType$ = [3, n0, _PDT, + 0, + [_a], + [0] +]; +var ProvidedContext$ = [3, n0, _PCr, + 0, + [_PAr, _CA], + [0, 0] +]; +var Tag$ = [3, n0, _Ta, + 0, + [_K, _V], + [0, 0], 2 +]; +var policyDescriptorListType = [1, n0, _pDLT, + 0, () => PolicyDescriptorType$ +]; +var ProvidedContextsListType = [1, n0, _PCLT, + 0, () => ProvidedContext$ +]; +var tagListType = [1, n0, _tLT, + 0, () => Tag$ +]; +var AssumeRole$ = [9, n0, _AR, + 0, () => AssumeRoleRequest$, () => AssumeRoleResponse$ +]; +var AssumeRoleWithWebIdentity$ = [9, n0, _ARWWI, + 0, () => AssumeRoleWithWebIdentityRequest$, () => AssumeRoleWithWebIdentityResponse$ +]; + +const getRuntimeConfig$1 = (config) => { + return { + apiVersion: "2011-06-15", + base64Decoder: config?.base64Decoder ?? serde.fromBase64, + base64Encoder: config?.base64Encoder ?? serde.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSTSHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes.AwsSdkSigV4Signer(), + }, + { + schemeId: "aws.auth#sigv4a", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"), + signer: new httpAuthSchemes.AwsSdkSigV4ASigner(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new client.NoOpLogger(), + protocol: config?.protocol ?? protocols$1.AwsQueryProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.sts", + errorTypeRegistries, + xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/", + version: "2011-06-15", + serviceTarget: "AWSSecurityTokenServiceV20110615", + }, + serviceId: config?.serviceId ?? "STS", + signerConstructor: config?.signerConstructor ?? signatureV4MultiRegion.SignatureV4MultiRegion, + urlParser: config?.urlParser ?? protocols.parseUrl, + utf8Decoder: config?.utf8Decoder ?? serde.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? serde.toUtf8, + }; +}; + +const getRuntimeConfig = (config$1) => { + client.emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = config.resolveDefaultsModeConfig(config$1); + const defaultConfigProvider = () => defaultsMode().then(client.loadConfigsForDefaultMode); + const clientSharedValues = getRuntimeConfig$1(config$1); + client$1.emitWarningIfUnsupportedVersion(process.version); + const loaderConfig = { + profile: config$1?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config$1, + runtime: "node", + defaultsMode, + authSchemePreference: config$1?.authSchemePreference ?? config.loadConfig(httpAuthSchemes.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config$1?.bodyLengthChecker ?? serde.calculateBodyLength, + defaultUserAgentProvider: config$1?.defaultUserAgentProvider ?? client$1.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + httpAuthSchemes: config$1?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config$1.credentialDefaultProvider(idProps?.__config || {})()), + signer: new httpAuthSchemes.AwsSdkSigV4Signer(), + }, + { + schemeId: "aws.auth#sigv4a", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"), + signer: new httpAuthSchemes.AwsSdkSigV4ASigner(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core.NoAuthSigner(), + }, + ], + maxAttempts: config$1?.maxAttempts ?? config.loadConfig(retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config$1), + region: config$1?.region ?? config.loadConfig(config.NODE_REGION_CONFIG_OPTIONS, { ...config.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: nodeHttpHandler.NodeHttpHandler.create(config$1?.requestHandler ?? defaultConfigProvider), + retryMode: config$1?.retryMode ?? + config.loadConfig({ + ...retry.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || retry.DEFAULT_RETRY_MODE, + }, config$1), + sha256: config$1?.sha256 ?? serde.Hash.bind(null, "sha256"), + sigv4aSigningRegionSet: config$1?.sigv4aSigningRegionSet ?? config.loadConfig(httpAuthSchemes.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig), + streamCollector: config$1?.streamCollector ?? nodeHttpHandler.streamCollector, + useDualstackEndpoint: config$1?.useDualstackEndpoint ?? config.loadConfig(config.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config$1?.useFipsEndpoint ?? config.loadConfig(config.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config$1?.userAgentAppId ?? config.loadConfig(client$1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; + +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class STSClient extends client.Client { + config; + constructor(...[configuration]) { + const _config_0 = getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = client$1.resolveUserAgentConfig(_config_1); + const _config_3 = retry.resolveRetryConfig(_config_2); + const _config_4 = config.resolveRegionConfig(_config_3); + const _config_5 = client$1.resolveHostHeaderConfig(_config_4); + const _config_6 = endpoints.resolveEndpointConfig(_config_5); + const _config_7 = resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); + this.middlewareStack.use(retry.getRetryPlugin(this.config)); + this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); + this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); + this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultSTSHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + "aws.auth#sigv4a": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class AssumeRoleCommand extends client.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}) + .n("STSClient", "AssumeRoleCommand") + .sc(AssumeRole$) + .build() { +} + +class AssumeRoleWithWebIdentityCommand extends client.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}) + .n("STSClient", "AssumeRoleWithWebIdentityCommand") + .sc(AssumeRoleWithWebIdentity$) + .build() { +} + +const commands = { + AssumeRoleCommand, + AssumeRoleWithWebIdentityCommand, +}; +class STS extends STSClient { +} +client.createAggregatedClient(commands, STS); + +const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => { + if (typeof assumedRoleUser?.Arn === "string") { + const arnComponents = assumedRoleUser.Arn.split(":"); + if (arnComponents.length > 4 && arnComponents[4] !== "") { + return arnComponents[4]; + } + } + return undefined; +}; +const resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => { + const region = typeof _region === "function" ? await _region() : _region; + const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion; + let stsDefaultRegion = ""; + const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await client$1.stsRegionDefaultResolver(loaderConfig)()); + credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`); + return resolvedRegion; +}; +const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => { + let stsClient; + let closureSourceCreds; + return async (sourceCreds, params) => { + closureSourceCreds = sourceCreds; + if (!stsClient) { + const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions; + const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, { + logger, + profile, + }); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new STSClient({ + ...stsOptions, + userAgentAppId, + profile, + credentialDefaultProvider: () => async () => closureSourceCreds, + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : undefined, + logger: logger, + }); + } + const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser); + const credentials = { + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration, + ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }), + ...(accountId && { accountId }), + }; + client$1.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i"); + return credentials; + }; +}; +const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => { + let stsClient; + return async (params) => { + if (!stsClient) { + const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions; + const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, { + logger, + profile, + }); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new STSClient({ + ...stsOptions, + userAgentAppId, + profile, + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : undefined, + logger: logger, + }); + } + const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser); + const credentials = { + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration, + ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }), + ...(accountId && { accountId }), + }; + if (accountId) { + client$1.setCredentialFeature(credentials, "RESOLVED_ACCOUNT_ID", "T"); + } + client$1.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k"); + return credentials; + }; +}; +const isH2 = (requestHandler) => { + return requestHandler?.metadata?.handlerProtocol === "h2"; +}; + +const getCustomizableStsClientCtor = (baseCtor, customizations) => { + if (!customizations) + return baseCtor; + else + return class CustomizableSTSClient extends baseCtor { + constructor(config) { + super(config); + for (const customization of customizations) { + this.middlewareStack.use(customization); + } + } + }; +}; +const getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumer$1(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins)); +const getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity$1(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins)); +const decorateDefaultCredentialProvider = (provider) => (input) => provider({ + roleAssumer: getDefaultRoleAssumer(input), + roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input), + ...input, +}); + +__webpack_unused_export__ = client.Command; +__webpack_unused_export__ = client.Client; +__webpack_unused_export__ = AssumeRole$; +__webpack_unused_export__ = AssumeRoleCommand; +__webpack_unused_export__ = AssumeRoleRequest$; +__webpack_unused_export__ = AssumeRoleResponse$; +__webpack_unused_export__ = AssumeRoleWithWebIdentity$; +__webpack_unused_export__ = AssumeRoleWithWebIdentityCommand; +__webpack_unused_export__ = AssumeRoleWithWebIdentityRequest$; +__webpack_unused_export__ = AssumeRoleWithWebIdentityResponse$; +__webpack_unused_export__ = AssumedRoleUser$; +__webpack_unused_export__ = Credentials$; +__webpack_unused_export__ = ExpiredTokenException; +__webpack_unused_export__ = ExpiredTokenException$; +__webpack_unused_export__ = IDPCommunicationErrorException; +__webpack_unused_export__ = IDPCommunicationErrorException$; +__webpack_unused_export__ = IDPRejectedClaimException; +__webpack_unused_export__ = IDPRejectedClaimException$; +__webpack_unused_export__ = InvalidIdentityTokenException; +__webpack_unused_export__ = InvalidIdentityTokenException$; +__webpack_unused_export__ = MalformedPolicyDocumentException; +__webpack_unused_export__ = MalformedPolicyDocumentException$; +__webpack_unused_export__ = PackedPolicyTooLargeException; +__webpack_unused_export__ = PackedPolicyTooLargeException$; +__webpack_unused_export__ = PolicyDescriptorType$; +__webpack_unused_export__ = ProvidedContext$; +__webpack_unused_export__ = RegionDisabledException; +__webpack_unused_export__ = RegionDisabledException$; +__webpack_unused_export__ = STS; +__webpack_unused_export__ = STSClient; +__webpack_unused_export__ = STSServiceException; +__webpack_unused_export__ = STSServiceException$; +__webpack_unused_export__ = Tag$; +__webpack_unused_export__ = decorateDefaultCredentialProvider; +__webpack_unused_export__ = errorTypeRegistries; +exports.getDefaultRoleAssumer = getDefaultRoleAssumer; +exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity; + + +/***/ }), + +/***/ 5785: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var signatureV4 = __webpack_require__(5118); + +const signatureV4CrtContainer = { + CrtSignerV4: null, +}; + +const SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token"; +const SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase(); +class SignatureV4SignWithCredentials extends signatureV4.SignatureV4 { + async signWithCredentials(requestToSign, credentials, options) { + const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials); + requestToSign.headers[SESSION_TOKEN_HEADER] = credentials.sessionToken; + const privateAccess = this; + setSingleOverride(privateAccess, credentialsWithoutSessionToken); + return privateAccess.signRequest(requestToSign, options ?? {}); + } + async presignWithCredentials(requestToSign, credentials, options) { + const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials); + delete requestToSign.headers[SESSION_TOKEN_HEADER]; + requestToSign.headers[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken; + requestToSign.query = requestToSign.query ?? {}; + requestToSign.query[SESSION_TOKEN_QUERY_PARAM] = credentials.sessionToken; + const privateAccess = this; + setSingleOverride(privateAccess, credentialsWithoutSessionToken); + return this.presign(requestToSign, options); + } +} +function getCredentialsWithoutSessionToken(credentials) { + return { + accessKeyId: credentials.accessKeyId, + secretAccessKey: credentials.secretAccessKey, + expiration: credentials.expiration, + }; +} +function setSingleOverride(privateAccess, credentialsWithoutSessionToken) { + const currentCredentialProvider = privateAccess.credentialProvider; + privateAccess.credentialProvider = () => { + privateAccess.credentialProvider = currentCredentialProvider; + return Promise.resolve(credentialsWithoutSessionToken); + }; +} + +class SignatureV4MultiRegion { + sigv4aSigner; + sigv4Signer; + signerOptions; + static sigv4aDependency() { + if (typeof signatureV4CrtContainer.CrtSignerV4 === "function") { + return "crt"; + } + else if (typeof signatureV4.signatureV4aContainer.SignatureV4a === "function") { + return "js"; + } + return "none"; + } + constructor(options) { + this.sigv4Signer = new SignatureV4SignWithCredentials(options); + this.signerOptions = options; + } + async sign(requestToSign, options = {}) { + if (options.signingRegion === "*") { + return this.getSigv4aSigner().sign(requestToSign, options); + } + return this.sigv4Signer.sign(requestToSign, options); + } + async signWithCredentials(requestToSign, credentials, options = {}) { + if (options.signingRegion === "*") { + const signer = this.getSigv4aSigner(); + const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4; + if (CrtSignerV4 && signer instanceof CrtSignerV4) { + return signer.signWithCredentials(requestToSign, credentials, options); + } + else { + throw new Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` + + `Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. ` + + `You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] ` + + `or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. ` + + `For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`); + } + } + return this.sigv4Signer.signWithCredentials(requestToSign, credentials, options); + } + async presign(originalRequest, options = {}) { + if (options.signingRegion === "*") { + const signer = this.getSigv4aSigner(); + const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4; + if (CrtSignerV4 && signer instanceof CrtSignerV4) { + return signer.presign(originalRequest, options); + } + else { + throw new Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. ` + + `Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. ` + + `You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] ` + + `or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. ` + + `For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`); + } + } + return this.sigv4Signer.presign(originalRequest, options); + } + async presignWithCredentials(originalRequest, credentials, options = {}) { + if (options.signingRegion === "*") { + throw new Error("Method presignWithCredentials is not supported for [signingRegion=*]."); + } + return this.sigv4Signer.presignWithCredentials(originalRequest, credentials, options); + } + getSigv4aSigner() { + if (!this.sigv4aSigner) { + const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4; + const JsSigV4aSigner = signatureV4.signatureV4aContainer.SignatureV4a; + if (this.signerOptions.runtime === "node") { + if (!CrtSignerV4 && !JsSigV4aSigner) { + throw new Error("Neither CRT nor JS SigV4a implementation is available. " + + "Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. " + + "For more information please go to " + + "https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt"); + } + if (CrtSignerV4 && typeof CrtSignerV4 === "function") { + this.sigv4aSigner = new CrtSignerV4({ + ...this.signerOptions, + signingAlgorithm: 1, + }); + } + else if (JsSigV4aSigner && typeof JsSigV4aSigner === "function") { + this.sigv4aSigner = new JsSigV4aSigner({ + ...this.signerOptions, + }); + } + else { + throw new Error("Available SigV4a implementation is not a valid constructor. " + + "Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a." + + "For more information please go to " + + "https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt"); + } + } + else { + if (!JsSigV4aSigner || typeof JsSigV4aSigner !== "function") { + throw new Error("JS SigV4a implementation is not available or not a valid constructor. " + + "Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. " + + "You must also register the package by calling [require('@aws-sdk/signature-v4a');] " + + "or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. " + + "For more information please go to " + + "https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a"); + } + this.sigv4aSigner = new JsSigV4aSigner({ + ...this.signerOptions, + }); + } + } + return this.sigv4aSigner; + } +} + +exports.SignatureV4MultiRegion = SignatureV4MultiRegion; +exports.SignatureV4SignWithCredentials = SignatureV4SignWithCredentials; +exports.signatureV4CrtContainer = signatureV4CrtContainer; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/360.index.js b/actions/release-secrets/ssm/dist/360.index.js new file mode 100644 index 0000000..b4934d8 --- /dev/null +++ b/actions/release-secrets/ssm/dist/360.index.js @@ -0,0 +1,92 @@ +"use strict"; +exports.id = 360; +exports.ids = [360]; +exports.modules = { + +/***/ 5360: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var config = __webpack_require__(7291); +var node_child_process = __webpack_require__(1421); +var node_util = __webpack_require__(7975); +var client = __webpack_require__(5152); + +const getValidatedProcessCredentials = (profileName, data, profiles) => { + if (data.Version !== 1) { + throw Error(`Profile ${profileName} credential_process did not return Version 1.`); + } + if (data.AccessKeyId === undefined || data.SecretAccessKey === undefined) { + throw Error(`Profile ${profileName} credential_process returned invalid credentials.`); + } + if (data.Expiration) { + const currentTime = new Date(); + const expireTime = new Date(data.Expiration); + if (expireTime < currentTime) { + throw Error(`Profile ${profileName} credential_process returned expired credentials.`); + } + } + let accountId = data.AccountId; + if (!accountId && profiles?.[profileName]?.aws_account_id) { + accountId = profiles[profileName].aws_account_id; + } + const credentials = { + accessKeyId: data.AccessKeyId, + secretAccessKey: data.SecretAccessKey, + ...(data.SessionToken && { sessionToken: data.SessionToken }), + ...(data.Expiration && { expiration: new Date(data.Expiration) }), + ...(data.CredentialScope && { credentialScope: data.CredentialScope }), + ...(accountId && { accountId }), + }; + client.setCredentialFeature(credentials, "CREDENTIALS_PROCESS", "w"); + return credentials; +}; + +const resolveProcessCredentials = async (profileName, profiles, logger) => { + const profile = profiles[profileName]; + if (profiles[profileName]) { + const credentialProcess = profile["credential_process"]; + if (credentialProcess !== undefined) { + const execPromise = node_util.promisify(config.externalDataInterceptor?.getTokenRecord?.().exec ?? node_child_process.exec); + try { + const { stdout } = await execPromise(credentialProcess); + let data; + try { + data = JSON.parse(stdout.trim()); + } + catch { + throw Error(`Profile ${profileName} credential_process returned invalid JSON.`); + } + return getValidatedProcessCredentials(profileName, data, profiles); + } + catch (error) { + throw new config.CredentialsProviderError(error.message, { logger }); + } + } + else { + throw new config.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger }); + } + } + else { + throw new config.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, { + logger, + }); + } +}; + +const fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess"); + const profiles = await config.parseKnownFiles(init); + return resolveProcessCredentials(config.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }), profiles, init.logger); +}; + +exports.fromProcess = fromProcess; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/443.index.js b/actions/release-secrets/ssm/dist/443.index.js new file mode 100644 index 0000000..16dc9ba --- /dev/null +++ b/actions/release-secrets/ssm/dist/443.index.js @@ -0,0 +1,693 @@ +"use strict"; +exports.id = 443; +exports.ids = [443]; +exports.modules = { + +/***/ 9443: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +var __webpack_unused_export__; + + +var client$1 = __webpack_require__(5152); +var core = __webpack_require__(402); +var client = __webpack_require__(2658); +var config = __webpack_require__(7291); +var endpoints = __webpack_require__(2085); +var protocols = __webpack_require__(3422); +var retry = __webpack_require__(3609); +var schema = __webpack_require__(6890); +var httpAuthSchemes = __webpack_require__(7523); +var serde = __webpack_require__(2430); +var nodeHttpHandler = __webpack_require__(1279); +var protocols$1 = __webpack_require__(7288); + +const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: client.getSmithyContext(context).operation, + region: await client.normalizeProvider(config.region)() || (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "sso-oauth", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "CreateToken": { + options.push(createSmithyApiNoAuthHttpAuthOption()); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = httpAuthSchemes.resolveAwsSdkSigV4Config(config); + return Object.assign(config_0, { + authSchemePreference: client.normalizeProvider(config.authSchemePreference ?? []), + }); +}; + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "sso-oauth", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +var version = "3.997.19"; +var packageInfo = { + version: version}; + +const k = "ref"; +const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }]; +const _data = { + conditions: [ + [c, [g]], + [c, j], + ["aws.partition", j, d], + [e, [{ [k]: "UseFIPS" }, b]], + [e, [{ [k]: "UseDualStack" }, b]], + [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]], + [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]], + ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]] + ], + results: [ + [a], + [a, "Invalid Configuration: FIPS and custom endpoint are not supported"], + [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"], + [g, i], + ["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i], + [a, "FIPS and DualStack are enabled, but this partition does not support one or both"], + ["https://oidc.{Region}.amazonaws.com", i], + ["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", i], + [a, "FIPS is enabled but this partition does not support FIPS"], + ["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", i], + [a, "DualStack is enabled but this partition does not support DualStack"], + ["https://oidc.{Region}.{PartitionResult#dnsSuffix}", i], + [a, "Invalid Configuration: Missing Region"] + ] +}; +const root = 2; +const r = 100_000_000; +const nodes = new Int32Array([ + -1, 1, -1, + 0, 13, 3, + 1, 4, r + 12, + 2, 5, r + 12, + 3, 8, 6, + 4, 7, r + 11, + 5, r + 9, r + 10, + 4, 11, 9, + 6, 10, r + 8, + 7, r + 6, r + 7, + 5, 12, r + 5, + 6, r + 4, r + 5, + 3, r + 1, 14, + 4, r + 2, r + 3, +]); +const bdd = endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); + +const cache = new endpoints.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => endpoints.decideEndpoint(bdd, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +endpoints.customEndpointFunctions.aws = client$1.awsEndpointFunctions; + +class SSOOIDCServiceException extends client.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SSOOIDCServiceException.prototype); + } +} + +class AccessDeniedException extends SSOOIDCServiceException { + name = "AccessDeniedException"; + $fault = "client"; + error; + reason; + error_description; + constructor(opts) { + super({ + name: "AccessDeniedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDeniedException.prototype); + this.error = opts.error; + this.reason = opts.reason; + this.error_description = opts.error_description; + } +} +class AuthorizationPendingException extends SSOOIDCServiceException { + name = "AuthorizationPendingException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "AuthorizationPendingException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AuthorizationPendingException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +class ExpiredTokenException extends SSOOIDCServiceException { + name = "ExpiredTokenException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExpiredTokenException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +class InternalServerException extends SSOOIDCServiceException { + name = "InternalServerException"; + $fault = "server"; + error; + error_description; + constructor(opts) { + super({ + name: "InternalServerException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalServerException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +class InvalidClientException extends SSOOIDCServiceException { + name = "InvalidClientException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +class InvalidGrantException extends SSOOIDCServiceException { + name = "InvalidGrantException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidGrantException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidGrantException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +class InvalidRequestException extends SSOOIDCServiceException { + name = "InvalidRequestException"; + $fault = "client"; + error; + reason; + error_description; + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequestException.prototype); + this.error = opts.error; + this.reason = opts.reason; + this.error_description = opts.error_description; + } +} +class InvalidScopeException extends SSOOIDCServiceException { + name = "InvalidScopeException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidScopeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidScopeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +class SlowDownException extends SSOOIDCServiceException { + name = "SlowDownException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "SlowDownException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, SlowDownException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +class UnauthorizedClientException extends SSOOIDCServiceException { + name = "UnauthorizedClientException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "UnauthorizedClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +class UnsupportedGrantTypeException extends SSOOIDCServiceException { + name = "UnsupportedGrantTypeException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "UnsupportedGrantTypeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} + +const _ADE = "AccessDeniedException"; +const _APE = "AuthorizationPendingException"; +const _AT = "AccessToken"; +const _CS = "ClientSecret"; +const _CT = "CreateToken"; +const _CTR = "CreateTokenRequest"; +const _CTRr = "CreateTokenResponse"; +const _CV = "CodeVerifier"; +const _ETE = "ExpiredTokenException"; +const _ICE = "InvalidClientException"; +const _IGE = "InvalidGrantException"; +const _IRE = "InvalidRequestException"; +const _ISE = "InternalServerException"; +const _ISEn = "InvalidScopeException"; +const _IT = "IdToken"; +const _RT = "RefreshToken"; +const _SDE = "SlowDownException"; +const _UCE = "UnauthorizedClientException"; +const _UGTE = "UnsupportedGrantTypeException"; +const _aT = "accessToken"; +const _c = "client"; +const _cI = "clientId"; +const _cS = "clientSecret"; +const _cV = "codeVerifier"; +const _co = "code"; +const _dC = "deviceCode"; +const _e = "error"; +const _eI = "expiresIn"; +const _ed = "error_description"; +const _gT = "grantType"; +const _h = "http"; +const _hE = "httpError"; +const _iT = "idToken"; +const _r = "reason"; +const _rT = "refreshToken"; +const _rU = "redirectUri"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc"; +const _sc = "scope"; +const _se = "server"; +const _tT = "tokenType"; +const n0 = "com.amazonaws.ssooidc"; +const _s_registry = schema.TypeRegistry.for(_s); +var SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []]; +_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException); +const n0_registry = schema.TypeRegistry.for(n0); +var AccessDeniedException$ = [-3, n0, _ADE, + { [_e]: _c, [_hE]: 400 }, + [_e, _r, _ed], + [0, 0, 0] +]; +n0_registry.registerError(AccessDeniedException$, AccessDeniedException); +var AuthorizationPendingException$ = [-3, n0, _APE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0] +]; +n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException); +var ExpiredTokenException$ = [-3, n0, _ETE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0] +]; +n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException); +var InternalServerException$ = [-3, n0, _ISE, + { [_e]: _se, [_hE]: 500 }, + [_e, _ed], + [0, 0] +]; +n0_registry.registerError(InternalServerException$, InternalServerException); +var InvalidClientException$ = [-3, n0, _ICE, + { [_e]: _c, [_hE]: 401 }, + [_e, _ed], + [0, 0] +]; +n0_registry.registerError(InvalidClientException$, InvalidClientException); +var InvalidGrantException$ = [-3, n0, _IGE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0] +]; +n0_registry.registerError(InvalidGrantException$, InvalidGrantException); +var InvalidRequestException$ = [-3, n0, _IRE, + { [_e]: _c, [_hE]: 400 }, + [_e, _r, _ed], + [0, 0, 0] +]; +n0_registry.registerError(InvalidRequestException$, InvalidRequestException); +var InvalidScopeException$ = [-3, n0, _ISEn, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0] +]; +n0_registry.registerError(InvalidScopeException$, InvalidScopeException); +var SlowDownException$ = [-3, n0, _SDE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0] +]; +n0_registry.registerError(SlowDownException$, SlowDownException); +var UnauthorizedClientException$ = [-3, n0, _UCE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0] +]; +n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException); +var UnsupportedGrantTypeException$ = [-3, n0, _UGTE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0] +]; +n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException); +const errorTypeRegistries = [ + _s_registry, + n0_registry, +]; +var AccessToken = [0, n0, _AT, 8, 0]; +var ClientSecret = [0, n0, _CS, 8, 0]; +var CodeVerifier = [0, n0, _CV, 8, 0]; +var IdToken = [0, n0, _IT, 8, 0]; +var RefreshToken = [0, n0, _RT, 8, 0]; +var CreateTokenRequest$ = [3, n0, _CTR, + 0, + [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV], + [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3 +]; +var CreateTokenResponse$ = [3, n0, _CTRr, + 0, + [_aT, _tT, _eI, _rT, _iT], + [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]] +]; +var CreateToken$ = [9, n0, _CT, + { [_h]: ["POST", "/token", 200] }, () => CreateTokenRequest$, () => CreateTokenResponse$ +]; + +const getRuntimeConfig$1 = (config) => { + return { + apiVersion: "2019-06-10", + base64Decoder: config?.base64Decoder ?? serde.fromBase64, + base64Encoder: config?.base64Encoder ?? serde.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new client.NoOpLogger(), + protocol: config?.protocol ?? protocols$1.AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.ssooidc", + errorTypeRegistries, + version: "2019-06-10", + serviceTarget: "AWSSSOOIDCService", + }, + serviceId: config?.serviceId ?? "SSO OIDC", + urlParser: config?.urlParser ?? protocols.parseUrl, + utf8Decoder: config?.utf8Decoder ?? serde.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? serde.toUtf8, + }; +}; + +const getRuntimeConfig = (config$1) => { + client.emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = config.resolveDefaultsModeConfig(config$1); + const defaultConfigProvider = () => defaultsMode().then(client.loadConfigsForDefaultMode); + const clientSharedValues = getRuntimeConfig$1(config$1); + client$1.emitWarningIfUnsupportedVersion(process.version); + const loaderConfig = { + profile: config$1?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config$1, + runtime: "node", + defaultsMode, + authSchemePreference: config$1?.authSchemePreference ?? config.loadConfig(httpAuthSchemes.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config$1?.bodyLengthChecker ?? serde.calculateBodyLength, + defaultUserAgentProvider: config$1?.defaultUserAgentProvider ?? client$1.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config$1?.maxAttempts ?? config.loadConfig(retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config$1), + region: config$1?.region ?? config.loadConfig(config.NODE_REGION_CONFIG_OPTIONS, { ...config.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: nodeHttpHandler.NodeHttpHandler.create(config$1?.requestHandler ?? defaultConfigProvider), + retryMode: config$1?.retryMode ?? + config.loadConfig({ + ...retry.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || retry.DEFAULT_RETRY_MODE, + }, config$1), + sha256: config$1?.sha256 ?? serde.Hash.bind(null, "sha256"), + streamCollector: config$1?.streamCollector ?? nodeHttpHandler.streamCollector, + useDualstackEndpoint: config$1?.useDualstackEndpoint ?? config.loadConfig(config.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config$1?.useFipsEndpoint ?? config.loadConfig(config.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config$1?.userAgentAppId ?? config.loadConfig(client$1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; + +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class SSOOIDCClient extends client.Client { + config; + constructor(...[configuration]) { + const _config_0 = getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = client$1.resolveUserAgentConfig(_config_1); + const _config_3 = retry.resolveRetryConfig(_config_2); + const _config_4 = config.resolveRegionConfig(_config_3); + const _config_5 = client$1.resolveHostHeaderConfig(_config_4); + const _config_6 = endpoints.resolveEndpointConfig(_config_5); + const _config_7 = resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); + this.middlewareStack.use(retry.getRetryPlugin(this.config)); + this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); + this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); + this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class CreateTokenCommand extends client.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSSOOIDCService", "CreateToken", {}) + .n("SSOOIDCClient", "CreateTokenCommand") + .sc(CreateToken$) + .build() { +} + +const commands = { + CreateTokenCommand, +}; +class SSOOIDC extends SSOOIDCClient { +} +client.createAggregatedClient(commands, SSOOIDC); + +const AccessDeniedExceptionReason = { + KMS_ACCESS_DENIED: "KMS_AccessDeniedException", +}; +const InvalidRequestExceptionReason = { + KMS_DISABLED_KEY: "KMS_DisabledException", + KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException", + KMS_INVALID_STATE: "KMS_InvalidStateException", + KMS_KEY_NOT_FOUND: "KMS_NotFoundException", +}; + +__webpack_unused_export__ = client.Command; +__webpack_unused_export__ = client.Client; +__webpack_unused_export__ = AccessDeniedException; +__webpack_unused_export__ = AccessDeniedException$; +__webpack_unused_export__ = AccessDeniedExceptionReason; +__webpack_unused_export__ = AuthorizationPendingException; +__webpack_unused_export__ = AuthorizationPendingException$; +__webpack_unused_export__ = CreateToken$; +exports.CreateTokenCommand = CreateTokenCommand; +__webpack_unused_export__ = CreateTokenRequest$; +__webpack_unused_export__ = CreateTokenResponse$; +__webpack_unused_export__ = ExpiredTokenException; +__webpack_unused_export__ = ExpiredTokenException$; +__webpack_unused_export__ = InternalServerException; +__webpack_unused_export__ = InternalServerException$; +__webpack_unused_export__ = InvalidClientException; +__webpack_unused_export__ = InvalidClientException$; +__webpack_unused_export__ = InvalidGrantException; +__webpack_unused_export__ = InvalidGrantException$; +__webpack_unused_export__ = InvalidRequestException; +__webpack_unused_export__ = InvalidRequestException$; +__webpack_unused_export__ = InvalidRequestExceptionReason; +__webpack_unused_export__ = InvalidScopeException; +__webpack_unused_export__ = InvalidScopeException$; +__webpack_unused_export__ = SSOOIDC; +exports.SSOOIDCClient = SSOOIDCClient; +__webpack_unused_export__ = SSOOIDCServiceException; +__webpack_unused_export__ = SSOOIDCServiceException$; +__webpack_unused_export__ = SlowDownException; +__webpack_unused_export__ = SlowDownException$; +__webpack_unused_export__ = UnauthorizedClientException; +__webpack_unused_export__ = UnauthorizedClientException$; +__webpack_unused_export__ = UnsupportedGrantTypeException; +__webpack_unused_export__ = UnsupportedGrantTypeException$; +__webpack_unused_export__ = errorTypeRegistries; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/449.index.js b/actions/release-secrets/ssm/dist/449.index.js new file mode 100644 index 0000000..3206a18 --- /dev/null +++ b/actions/release-secrets/ssm/dist/449.index.js @@ -0,0 +1,13 @@ +exports.id = 449; +exports.ids = [449]; +exports.modules = { + +/***/ 9449: +/***/ (function(module) { + +!function(e,t){ true?module.exports=t():0}(this,(function(){return function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(i,n,function(t){return e[t]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=90)}({17:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i=r(18),n=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));t.push(0);var r=t[0],i=t[1];if(10===r)switch(i){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}switch(r){case 11:return"Big Sur";case 12:return"Monterey";case 13:return"Ventura";case 14:return"Sonoma";case 15:return"Sequoia";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,i){void 0===i&&(i=!1);var n=e.getVersionPrecision(t),a=e.getVersionPrecision(r),o=Math.max(n,a),s=0,u=e.map([t,r],(function(t){var r=o-e.getVersionPrecision(t),i=t+new Array(r+1).join(".0");return e.map(i.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(i&&(s=o-Math.min(n,a)),o-=1;o>=s;){if(u[0][o]>u[1][o])return 1;if(u[0][o]===u[1][o]){if(o===s)return 0;o-=1}else if(u[0][o]1?n-1:0),o=1;o0){var o=Object.keys(r),u=s.default.find(o,(function(e){return t.isOS(e)}));if(u){var d=this.satisfies(r[u]);if(void 0!==d)return d}var c=s.default.find(o,(function(e){return t.isPlatform(e)}));if(c){var f=this.satisfies(r[c]);if(void 0!==f)return f}}if(a>0){var l=Object.keys(n),b=s.default.find(l,(function(e){return t.isBrowser(e,!0)}));if(void 0!==b)return this.compareVersion(n[b])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),i=e.toLowerCase(),n=s.default.getBrowserTypeByAlias(i);return t&&n&&(i=n.toLowerCase()),i===r},t.compareVersion=function(e){var t=[0],r=e,i=!1,n=this.getBrowserVersion();if("string"==typeof n)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(i=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(i=!0,r=e.substr(1)),t.indexOf(s.default.compareVersions(n,r,i))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=d,e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i,n=(i=r(17))&&i.__esModule?i:{default:i};var a=/version\/(\d+(\.?_?\d+)+)/i,o=[{test:[/gptbot/i],describe:function(e){var t={name:"GPTBot"},r=n.default.getFirstMatch(/gptbot\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/chatgpt-user/i],describe:function(e){var t={name:"ChatGPT-User"},r=n.default.getFirstMatch(/chatgpt-user\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/oai-searchbot/i],describe:function(e){var t={name:"OAI-SearchBot"},r=n.default.getFirstMatch(/oai-searchbot\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(e){var t={name:"ClaudeBot"},r=n.default.getFirstMatch(/(?:claudebot|claude-web|claude-user|claude-searchbot)\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(e){var t={name:"Omgilibot"},r=n.default.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/diffbot/i],describe:function(e){var t={name:"Diffbot"},r=n.default.getFirstMatch(/diffbot\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/perplexitybot/i],describe:function(e){var t={name:"PerplexityBot"},r=n.default.getFirstMatch(/perplexitybot\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/perplexity-user/i],describe:function(e){var t={name:"Perplexity-User"},r=n.default.getFirstMatch(/perplexity-user\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/youbot/i],describe:function(e){var t={name:"YouBot"},r=n.default.getFirstMatch(/youbot\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/meta-webindexer/i],describe:function(e){var t={name:"Meta-WebIndexer"},r=n.default.getFirstMatch(/meta-webindexer\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/meta-externalads/i],describe:function(e){var t={name:"Meta-ExternalAds"},r=n.default.getFirstMatch(/meta-externalads\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/meta-externalagent/i],describe:function(e){var t={name:"Meta-ExternalAgent"},r=n.default.getFirstMatch(/meta-externalagent\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/meta-externalfetcher/i],describe:function(e){var t={name:"Meta-ExternalFetcher"},r=n.default.getFirstMatch(/meta-externalfetcher\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=n.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/linespider/i],describe:function(e){var t={name:"Linespider"},r=n.default.getFirstMatch(/(?:linespider)(?:-[-\w]+)?[\s/](\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/amazonbot/i],describe:function(e){var t={name:"AmazonBot"},r=n.default.getFirstMatch(/amazonbot\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/bingbot/i],describe:function(e){var t={name:"BingCrawler"},r=n.default.getFirstMatch(/bingbot\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/baiduspider/i],describe:function(e){var t={name:"BaiduSpider"},r=n.default.getFirstMatch(/baiduspider\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/duckduckbot/i],describe:function(e){var t={name:"DuckDuckBot"},r=n.default.getFirstMatch(/duckduckbot\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/ia_archiver/i],describe:function(e){var t={name:"InternetArchiveCrawler"},r=n.default.getFirstMatch(/ia_archiver\/(\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{name:"FacebookExternalHit"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(e){var t={name:"SlackBot"},r=n.default.getFirstMatch(/(?:slackbot|slack-imgproxy)(?:-[-\w]+)?[\s/](\d+(\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/yahoo!?[\s/]*slurp/i],describe:function(){return{name:"YahooSlurp"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{name:"YandexBot"}}},{test:[/pingdom/i],describe:function(){return{name:"PingdomBot"}}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=n.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/PaleMoon/i],describe:function(e){var t={name:"Pale Moon"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=n.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=n.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=n.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=n.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=n.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=n.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=n.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=n.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=n.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=n.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=n.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=n.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=n.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=n.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=n.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=n.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=n.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=n.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=n.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/librewolf/i],describe:function(e){var t={name:"LibreWolf"},r=n.default.getFirstMatch(/(?:librewolf)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=n.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=n.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sogoumobilebrowser/i,/metasr/i,/se 2\.[x]/i],describe:function(e){var t={name:"Sogou Browser"},r=n.default.getFirstMatch(/(?:sogoumobilebrowser)[\s/](\d+(\.?_?\d+)+)/i,e),i=n.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e),a=n.default.getFirstMatch(/se ([\d.]+)x/i,e),o=r||i||a;return o&&(t.version=o),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=n.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return!!e.hasBrand("DuckDuckGo")||e.test(/\sDdg\/[\d.]+$/i)},describe:function(e,t){var r={name:"DuckDuckGo"};if(t){var i=t.getBrandVersion("DuckDuckGo");if(i)return r.version=i,r}var a=n.default.getFirstMatch(/\sDdg\/([\d.]+)$/i,e);return a&&(r.version=a),r}},{test:function(e){return e.hasBrand("Brave")},describe:function(e,t){var r={name:"Brave"};if(t){var i=t.getBrandVersion("Brave");if(i)return r.version=i,r}return r}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=n.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=n.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=n.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:n.default.getFirstMatch(t,e),version:n.default.getSecondMatch(t,e)}}}];t.default=o,e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i,n=(i=r(17))&&i.__esModule?i:{default:i},a=r(18);var o=[{test:[/Roku\/DVP/],describe:function(e){var t=n.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:a.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=n.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=n.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=n.default.getWindowsVersionName(t);return{name:a.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:a.OS_MAP.iOS},r=n.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=n.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=n.default.getMacOSVersionName(t),i={name:a.OS_MAP.MacOS,version:t};return r&&(i.versionName=r),i}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=n.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:t}}},{test:[/OpenHarmony/i],describe:function(e){var t=n.default.getFirstMatch(/OpenHarmony\s+(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.HarmonyOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=n.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=n.default.getAndroidVersionName(t),i={name:a.OS_MAP.Android,version:t};return r&&(i.versionName=r),i}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=n.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:a.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=n.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||n.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||n.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:a.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=n.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=n.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=n.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.PlayStation4,version:t}}}];t.default=o,e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i,n=(i=r(17))&&i.__esModule?i:{default:i},a=r(18);var o=[{test:[/googlebot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Google"}}},{test:[/linespider/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Line"}}},{test:[/amazonbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Amazon"}}},{test:[/gptbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/chatgpt-user/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/oai-searchbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/baiduspider/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Baidu"}}},{test:[/bingbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Bing"}}},{test:[/duckduckbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"DuckDuckGo"}}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Anthropic"}}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Webz.io"}}},{test:[/diffbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Diffbot"}}},{test:[/perplexitybot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Perplexity AI"}}},{test:[/perplexity-user/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Perplexity AI"}}},{test:[/youbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"You.com"}}},{test:[/ia_archiver/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Internet Archive"}}},{test:[/meta-webindexer/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalads/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalagent/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalfetcher/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Slack"}}},{test:[/yahoo/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Yahoo"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Yandex"}}},{test:[/pingdom/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Pingdom"}}},{test:[/huawei/i],describe:function(e){var t=n.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=n.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(e){var t=n.default.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,e),r={type:a.PLATFORMS_MAP.mobile,vendor:"Nokia"};return t&&(r.model=t),r}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:[/smart-?tv|smarttv/i],describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:[/netcast/i],describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];t.default=o,e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i,n=(i=r(17))&&i.__esModule?i:{default:i},a=r(18);var o=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:a.ENGINE_MAP.Blink};var t=n.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:a.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:a.ENGINE_MAP.Trident},r=n.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:a.ENGINE_MAP.Presto},r=n.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:a.ENGINE_MAP.Gecko},r=n.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:a.ENGINE_MAP.WebKit},r=n.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=o,e.exports=t.default}})})); + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/566.index.js b/actions/release-secrets/ssm/dist/566.index.js new file mode 100644 index 0000000..49855f7 --- /dev/null +++ b/actions/release-secrets/ssm/dist/566.index.js @@ -0,0 +1,386 @@ +"use strict"; +exports.id = 566; +exports.ids = [566]; +exports.modules = { + +/***/ 566: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +var __webpack_unused_export__; + + +var config = __webpack_require__(7291); +var node_http = __webpack_require__(7067); +var protocols = __webpack_require__(3422); + +const isImdsCredentials = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.AccessKeyId === "string" && + typeof arg.SecretAccessKey === "string" && + typeof arg.Token === "string" && + typeof arg.Expiration === "string"; +const fromImdsCredentials = (creds) => ({ + accessKeyId: creds.AccessKeyId, + secretAccessKey: creds.SecretAccessKey, + sessionToken: creds.Token, + expiration: new Date(creds.Expiration), + ...(creds.AccountId && { accountId: creds.AccountId }), +}); + +const DEFAULT_TIMEOUT = 1000; +const DEFAULT_MAX_RETRIES = 0; +const providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT, }) => ({ maxRetries, timeout }); + +function httpRequest(options) { + return new Promise((resolve, reject) => { + const req = node_http.request({ + method: "GET", + ...options, + hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1"), + }); + req.on("error", (err) => { + reject(Object.assign(new config.ProviderError("Unable to connect to instance metadata service"), err)); + req.destroy(); + }); + req.on("timeout", () => { + reject(new config.ProviderError("TimeoutError from instance metadata service")); + req.destroy(); + }); + req.on("response", (res) => { + const { statusCode = 400 } = res; + if (statusCode < 200 || 300 <= statusCode) { + reject(Object.assign(new config.ProviderError("Error response received from instance metadata service"), { statusCode })); + req.destroy(); + } + const chunks = []; + res.on("data", (chunk) => { + chunks.push(chunk); + }); + res.on("end", () => { + resolve(Buffer.concat(chunks)); + req.destroy(); + }); + }); + req.end(); + }); +} + +const retry = (toRetry, maxRetries) => { + let promise = toRetry(); + for (let i = 0; i < maxRetries; i++) { + promise = promise.catch(toRetry); + } + return promise; +}; + +const ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +const ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +const ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +const fromContainerMetadata = (init = {}) => { + const { timeout, maxRetries } = providerConfigFromInit(init); + return () => retry(async () => { + const requestOptions = await getCmdsUri({ logger: init.logger }); + const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions)); + if (!isImdsCredentials(credsResponse)) { + throw new config.CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger, + }); + } + return fromImdsCredentials(credsResponse); + }, maxRetries); +}; +const requestFromEcsImds = async (timeout, options) => { + if (process.env[ENV_CMDS_AUTH_TOKEN]) { + options.headers = { + ...options.headers, + Authorization: process.env[ENV_CMDS_AUTH_TOKEN], + }; + } + const buffer = await httpRequest({ + ...options, + timeout, + }); + return buffer.toString(); +}; +const CMDS_IP = "169.254.170.2"; +const GREENGRASS_HOSTS = new Set(["localhost", "127.0.0.1"]); +const GREENGRASS_PROTOCOLS = new Set(["http:", "https:"]); +const getCmdsUri = async ({ logger }) => { + if (process.env[ENV_CMDS_RELATIVE_URI]) { + return { + hostname: CMDS_IP, + path: process.env[ENV_CMDS_RELATIVE_URI], + }; + } + if (process.env[ENV_CMDS_FULL_URI]) { + let parsed; + try { + parsed = new URL(process.env[ENV_CMDS_FULL_URI]); + } + catch { + throw new config.CredentialsProviderError(`${process.env[ENV_CMDS_FULL_URI]} is not a valid container metadata service URL`, { tryNextLink: false, logger }); + } + if (!parsed.hostname || !GREENGRASS_HOSTS.has(parsed.hostname)) { + throw new config.CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, { + tryNextLink: false, + logger, + }); + } + if (!parsed.protocol || !GREENGRASS_PROTOCOLS.has(parsed.protocol)) { + throw new config.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, { + tryNextLink: false, + logger, + }); + } + return { + protocol: parsed.protocol, + hostname: parsed.hostname, + path: parsed.pathname + parsed.search, + port: parsed.port ? parseInt(parsed.port, 10) : undefined, + }; + } + throw new config.CredentialsProviderError("The container metadata credential provider cannot be used unless" + + ` the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment` + + " variable is set", { + tryNextLink: false, + logger, + }); +}; + +class InstanceMetadataV1FallbackError extends config.CredentialsProviderError { + tryNextLink; + name = "InstanceMetadataV1FallbackError"; + constructor(message, tryNextLink = true) { + super(message, tryNextLink); + this.tryNextLink = tryNextLink; + Object.setPrototypeOf(this, InstanceMetadataV1FallbackError.prototype); + } +} + +exports.yI = void 0; +(function (Endpoint) { + Endpoint["IPv4"] = "http://169.254.169.254"; + Endpoint["IPv6"] = "http://[fd00:ec2::254]"; +})(exports.yI || (exports.yI = {})); + +const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; +const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; +const ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME], + default: undefined, +}; + +var EndpointMode; +(function (EndpointMode) { + EndpointMode["IPv4"] = "IPv4"; + EndpointMode["IPv6"] = "IPv6"; +})(EndpointMode || (EndpointMode = {})); + +const ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE"; +const CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode"; +const ENDPOINT_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME], + default: EndpointMode.IPv4, +}; + +const getInstanceMetadataEndpoint = async () => protocols.parseUrl((await getFromEndpointConfig()) || (await getFromEndpointModeConfig())); +const getFromEndpointConfig = async () => config.loadConfig(ENDPOINT_CONFIG_OPTIONS)(); +const getFromEndpointModeConfig = async () => { + const endpointMode = await config.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)(); + switch (endpointMode) { + case EndpointMode.IPv4: + return exports.yI.IPv4; + case EndpointMode.IPv6: + return exports.yI.IPv6; + default: + throw new Error(`Unsupported endpoint mode: ${endpointMode}.` + ` Select from ${Object.values(EndpointMode)}`); + } +}; + +const STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60; +const STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60; +const STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html"; +const getExtendedInstanceMetadataCredentials = (credentials, logger) => { + const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS); + const newExpiration = new Date(Date.now() + refreshInterval * 1000); + logger.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these " + + `credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: ` + + STATIC_STABILITY_DOC_URL); + const originalExpiration = credentials.originalExpiration ?? credentials.expiration; + return { + ...credentials, + ...(originalExpiration ? { originalExpiration } : {}), + expiration: newExpiration, + }; +}; + +const staticStabilityProvider = (provider, options = {}) => { + const logger = options?.logger || console; + let pastCredentials; + return async () => { + let credentials; + try { + credentials = await provider(); + if (credentials.expiration && credentials.expiration.getTime() < Date.now()) { + credentials = getExtendedInstanceMetadataCredentials(credentials, logger); + } + } + catch (e) { + if (pastCredentials) { + logger.warn("Credential renew failed: ", e); + credentials = getExtendedInstanceMetadataCredentials(pastCredentials, logger); + } + else { + throw e; + } + } + pastCredentials = credentials; + return credentials; + }; +}; + +const IMDS_PATH = "/latest/meta-data/iam/security-credentials/"; +const IMDS_TOKEN_PATH = "/latest/api/token"; +const AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED"; +const PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled"; +const X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token"; +const fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }); +const getInstanceMetadataProvider = (init = {}) => { + let disableFetchToken = false; + const { logger, profile } = init; + const { timeout, maxRetries } = providerConfigFromInit(init); + const getCredentials = async (maxRetries, options) => { + const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null; + if (isImdsV1Fallback) { + let fallbackBlockedFromProfile = false; + let fallbackBlockedFromProcessEnv = false; + const configValue = await config.loadConfig({ + environmentVariableSelector: (env) => { + const envValue = env[AWS_EC2_METADATA_V1_DISABLED]; + fallbackBlockedFromProcessEnv = !!envValue && envValue !== "false"; + if (envValue === undefined) { + throw new config.CredentialsProviderError(`${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`, { logger: init.logger }); + } + return fallbackBlockedFromProcessEnv; + }, + configFileSelector: (profile) => { + const profileValue = profile[PROFILE_AWS_EC2_METADATA_V1_DISABLED]; + fallbackBlockedFromProfile = !!profileValue && profileValue !== "false"; + return fallbackBlockedFromProfile; + }, + default: false, + }, { + profile, + })(); + if (init.ec2MetadataV1Disabled || configValue) { + const causes = []; + if (init.ec2MetadataV1Disabled) + causes.push("credential provider initialization (runtime option ec2MetadataV1Disabled)"); + if (fallbackBlockedFromProfile) + causes.push(`config file profile (${PROFILE_AWS_EC2_METADATA_V1_DISABLED})`); + if (fallbackBlockedFromProcessEnv) + causes.push(`process environment variable (${AWS_EC2_METADATA_V1_DISABLED})`); + throw new InstanceMetadataV1FallbackError(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${causes.join(", ")}].`); + } + } + const imdsProfile = (await retry(async () => { + let profile; + try { + profile = await getProfile(options); + } + catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return profile; + }, maxRetries)).trim(); + return retry(async () => { + let creds; + try { + creds = await getCredentialsFromProfile(imdsProfile, options, init); + } + catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return creds; + }, maxRetries); + }; + return async () => { + const endpoint = await getInstanceMetadataEndpoint(); + if (disableFetchToken) { + logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)"); + return getCredentials(maxRetries, { ...endpoint, timeout }); + } + else { + let token; + try { + token = (await getMetadataToken({ ...endpoint, timeout })).toString(); + } + catch (error) { + if (error?.statusCode === 400) { + throw Object.assign(error, { + message: "EC2 Metadata token request returned error", + }); + } + else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) { + disableFetchToken = true; + } + logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)"); + return getCredentials(maxRetries, { ...endpoint, timeout }); + } + return getCredentials(maxRetries, { + ...endpoint, + headers: { + [X_AWS_EC2_METADATA_TOKEN]: token, + }, + timeout, + }); + } + }; +}; +const getMetadataToken = async (options) => httpRequest({ + ...options, + path: IMDS_TOKEN_PATH, + method: "PUT", + headers: { + "x-aws-ec2-metadata-token-ttl-seconds": "21600", + }, +}); +const getProfile = async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString(); +const getCredentialsFromProfile = async (profile, options, init) => { + const credentialsResponse = JSON.parse((await httpRequest({ + ...options, + path: IMDS_PATH + profile, + })).toString()); + if (!isImdsCredentials(credentialsResponse)) { + throw new config.CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger, + }); + } + return fromImdsCredentials(credentialsResponse); +}; + +__webpack_unused_export__ = DEFAULT_MAX_RETRIES; +__webpack_unused_export__ = DEFAULT_TIMEOUT; +__webpack_unused_export__ = ENV_CMDS_AUTH_TOKEN; +exports.ENV_CMDS_FULL_URI = ENV_CMDS_FULL_URI; +exports.ENV_CMDS_RELATIVE_URI = ENV_CMDS_RELATIVE_URI; +exports.fromContainerMetadata = fromContainerMetadata; +exports.fromInstanceMetadata = fromInstanceMetadata; +__webpack_unused_export__ = getInstanceMetadataEndpoint; +__webpack_unused_export__ = httpRequest; +__webpack_unused_export__ = providerConfigFromInit; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/579.index.js b/actions/release-secrets/ssm/dist/579.index.js new file mode 100644 index 0000000..e4e675a --- /dev/null +++ b/actions/release-secrets/ssm/dist/579.index.js @@ -0,0 +1,1336 @@ +exports.id = 579; +exports.ids = [579]; +exports.modules = { + +/***/ 6863: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AwsCrc32 = void 0; +var tslib_1 = __webpack_require__(1860); +var util_1 = __webpack_require__(5667); +var index_1 = __webpack_require__(2110); +var AwsCrc32 = /** @class */ (function () { + function AwsCrc32() { + this.crc32 = new index_1.Crc32(); + } + AwsCrc32.prototype.update = function (toHash) { + if ((0, util_1.isEmptyData)(toHash)) + return; + this.crc32.update((0, util_1.convertToBuffer)(toHash)); + }; + AwsCrc32.prototype.digest = function () { + return tslib_1.__awaiter(this, void 0, void 0, function () { + return tslib_1.__generator(this, function (_a) { + return [2 /*return*/, (0, util_1.numToUint8)(this.crc32.digest())]; + }); + }); + }; + AwsCrc32.prototype.reset = function () { + this.crc32 = new index_1.Crc32(); + }; + return AwsCrc32; +}()); +exports.AwsCrc32 = AwsCrc32; +//# sourceMappingURL=aws_crc32.js.map + +/***/ }), + +/***/ 2110: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AwsCrc32 = exports.Crc32 = exports.crc32 = void 0; +var tslib_1 = __webpack_require__(1860); +var util_1 = __webpack_require__(5667); +function crc32(data) { + return new Crc32().update(data).digest(); +} +exports.crc32 = crc32; +var Crc32 = /** @class */ (function () { + function Crc32() { + this.checksum = 0xffffffff; + } + Crc32.prototype.update = function (data) { + var e_1, _a; + try { + for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) { + var byte = data_1_1.value; + this.checksum = + (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff]; + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1); + } + finally { if (e_1) throw e_1.error; } + } + return this; + }; + Crc32.prototype.digest = function () { + return (this.checksum ^ 0xffffffff) >>> 0; + }; + return Crc32; +}()); +exports.Crc32 = Crc32; +// prettier-ignore +var a_lookUpTable = [ + 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, + 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, + 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, + 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, + 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, + 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, + 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, + 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5, + 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172, + 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, + 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, + 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, + 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, + 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F, + 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, + 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, + 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A, + 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433, + 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, + 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, + 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, + 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, + 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C, + 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65, + 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, + 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, + 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0, + 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, + 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086, + 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, + 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, + 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, + 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A, + 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, + 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, + 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, + 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, + 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7, + 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC, + 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, + 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, + 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B, + 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, + 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79, + 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, + 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, + 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, + 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D, + 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, + 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, + 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, + 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, + 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E, + 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777, + 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, + 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, + 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2, + 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, + 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0, + 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, + 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, + 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF, + 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, + 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D, +]; +var lookupTable = (0, util_1.uint32ArrayFrom)(a_lookUpTable); +var aws_crc32_1 = __webpack_require__(6863); +Object.defineProperty(exports, "AwsCrc32", ({ enumerable: true, get: function () { return aws_crc32_1.AwsCrc32; } })); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 5675: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.convertToBuffer = void 0; +var util_utf8_1 = __webpack_require__(1577); +// Quick polyfill +var fromUtf8 = typeof Buffer !== "undefined" && Buffer.from + ? function (input) { return Buffer.from(input, "utf8"); } + : util_utf8_1.fromUtf8; +function convertToBuffer(data) { + // Already a Uint8, do nothing + if (data instanceof Uint8Array) + return data; + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +} +exports.convertToBuffer = convertToBuffer; +//# sourceMappingURL=convertToBuffer.js.map + +/***/ }), + +/***/ 5667: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0; +var convertToBuffer_1 = __webpack_require__(5675); +Object.defineProperty(exports, "convertToBuffer", ({ enumerable: true, get: function () { return convertToBuffer_1.convertToBuffer; } })); +var isEmptyData_1 = __webpack_require__(4658); +Object.defineProperty(exports, "isEmptyData", ({ enumerable: true, get: function () { return isEmptyData_1.isEmptyData; } })); +var numToUint8_1 = __webpack_require__(5436); +Object.defineProperty(exports, "numToUint8", ({ enumerable: true, get: function () { return numToUint8_1.numToUint8; } })); +var uint32ArrayFrom_1 = __webpack_require__(673); +Object.defineProperty(exports, "uint32ArrayFrom", ({ enumerable: true, get: function () { return uint32ArrayFrom_1.uint32ArrayFrom; } })); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 4658: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isEmptyData = void 0; +function isEmptyData(data) { + if (typeof data === "string") { + return data.length === 0; + } + return data.byteLength === 0; +} +exports.isEmptyData = isEmptyData; +//# sourceMappingURL=isEmptyData.js.map + +/***/ }), + +/***/ 5436: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.numToUint8 = void 0; +function numToUint8(num) { + return new Uint8Array([ + (num & 0xff000000) >> 24, + (num & 0x00ff0000) >> 16, + (num & 0x0000ff00) >> 8, + num & 0x000000ff, + ]); +} +exports.numToUint8 = numToUint8; +//# sourceMappingURL=numToUint8.js.map + +/***/ }), + +/***/ 673: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.uint32ArrayFrom = void 0; +// IE 11 does not support Array.from, so we do it manually +function uint32ArrayFrom(a_lookUpTable) { + if (!Uint32Array.from) { + var return_array = new Uint32Array(a_lookUpTable.length); + var a_index = 0; + while (a_index < a_lookUpTable.length) { + return_array[a_index] = a_lookUpTable[a_index]; + a_index += 1; + } + return return_array; + } + return Uint32Array.from(a_lookUpTable); +} +exports.uint32ArrayFrom = uint32ArrayFrom; +//# sourceMappingURL=uint32ArrayFrom.js.map + +/***/ }), + +/***/ 6579: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +var __webpack_unused_export__; + + +var crc32 = __webpack_require__(2110); +var serde = __webpack_require__(2430); +var node_stream = __webpack_require__(7075); + +class Int64 { + bytes; + constructor(bytes) { + this.bytes = bytes; + if (bytes.byteLength !== 8) { + throw new Error("Int64 buffers must be exactly 8 bytes"); + } + } + static fromNumber(number) { + if (number > 9_223_372_036_854_775_807 || number < -9223372036854776e3) { + throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`); + } + const bytes = new Uint8Array(8); + for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) { + bytes[i] = remaining; + } + if (number < 0) { + negate(bytes); + } + return new Int64(bytes); + } + valueOf() { + const bytes = this.bytes.slice(0); + const negative = bytes[0] & 0b10000000; + if (negative) { + negate(bytes); + } + return parseInt(serde.toHex(bytes), 16) * (negative ? -1 : 1); + } + toString() { + return String(this.valueOf()); + } +} +function negate(bytes) { + for (let i = 0; i < 8; i++) { + bytes[i] ^= 0xff; + } + for (let i = 7; i > -1; i--) { + bytes[i]++; + if (bytes[i] !== 0) + break; + } +} + +class HeaderMarshaller { + toUtf8; + fromUtf8; + constructor(toUtf8, fromUtf8) { + this.toUtf8 = toUtf8; + this.fromUtf8 = fromUtf8; + } + format(headers) { + const chunks = []; + for (const headerName of Object.keys(headers)) { + const bytes = this.fromUtf8(headerName); + chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName])); + } + const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0)); + let position = 0; + for (const chunk of chunks) { + out.set(chunk, position); + position += chunk.byteLength; + } + return out; + } + formatHeaderValue(header) { + switch (header.type) { + case "boolean": + return Uint8Array.from([header.value ? 0 : 1]); + case "byte": + return Uint8Array.from([2, header.value]); + case "short": + const shortView = new DataView(new ArrayBuffer(3)); + shortView.setUint8(0, 3); + shortView.setInt16(1, header.value, false); + return new Uint8Array(shortView.buffer); + case "integer": + const intView = new DataView(new ArrayBuffer(5)); + intView.setUint8(0, 4); + intView.setInt32(1, header.value, false); + return new Uint8Array(intView.buffer); + case "long": + const longBytes = new Uint8Array(9); + longBytes[0] = 5; + longBytes.set(header.value.bytes, 1); + return longBytes; + case "binary": + const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength)); + binView.setUint8(0, 6); + binView.setUint16(1, header.value.byteLength, false); + const binBytes = new Uint8Array(binView.buffer); + binBytes.set(header.value, 3); + return binBytes; + case "string": + const utf8Bytes = this.fromUtf8(header.value); + const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength)); + strView.setUint8(0, 7); + strView.setUint16(1, utf8Bytes.byteLength, false); + const strBytes = new Uint8Array(strView.buffer); + strBytes.set(utf8Bytes, 3); + return strBytes; + case "timestamp": + const tsBytes = new Uint8Array(9); + tsBytes[0] = 8; + tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1); + return tsBytes; + case "uuid": + if (!UUID_PATTERN.test(header.value)) { + throw new Error(`Invalid UUID received: ${header.value}`); + } + const uuidBytes = new Uint8Array(17); + uuidBytes[0] = 9; + uuidBytes.set(serde.fromHex(header.value.replace(/\-/g, "")), 1); + return uuidBytes; + } + } + parse(headers) { + const out = {}; + let position = 0; + while (position < headers.byteLength) { + const nameLength = headers.getUint8(position++); + const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength)); + position += nameLength; + switch (headers.getUint8(position++)) { + case 0: + out[name] = { + type: BOOLEAN_TAG, + value: true, + }; + break; + case 1: + out[name] = { + type: BOOLEAN_TAG, + value: false, + }; + break; + case 2: + out[name] = { + type: BYTE_TAG, + value: headers.getInt8(position++), + }; + break; + case 3: + out[name] = { + type: SHORT_TAG, + value: headers.getInt16(position, false), + }; + position += 2; + break; + case 4: + out[name] = { + type: INT_TAG, + value: headers.getInt32(position, false), + }; + position += 4; + break; + case 5: + out[name] = { + type: LONG_TAG, + value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)), + }; + position += 8; + break; + case 6: + const binaryLength = headers.getUint16(position, false); + position += 2; + out[name] = { + type: BINARY_TAG, + value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength), + }; + position += binaryLength; + break; + case 7: + const stringLength = headers.getUint16(position, false); + position += 2; + out[name] = { + type: STRING_TAG, + value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength)), + }; + position += stringLength; + break; + case 8: + out[name] = { + type: TIMESTAMP_TAG, + value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()), + }; + position += 8; + break; + case 9: + const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16); + position += 16; + out[name] = { + type: UUID_TAG, + value: `${serde.toHex(uuidBytes.subarray(0, 4))}-${serde.toHex(uuidBytes.subarray(4, 6))}-${serde.toHex(uuidBytes.subarray(6, 8))}-${serde.toHex(uuidBytes.subarray(8, 10))}-${serde.toHex(uuidBytes.subarray(10))}`, + }; + break; + default: + throw new Error(`Unrecognized header type tag`); + } + } + return out; + } +} +var HEADER_VALUE_TYPE; +(function (HEADER_VALUE_TYPE) { + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["boolTrue"] = 0] = "boolTrue"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["boolFalse"] = 1] = "boolFalse"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["byte"] = 2] = "byte"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["short"] = 3] = "short"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["integer"] = 4] = "integer"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["long"] = 5] = "long"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["byteArray"] = 6] = "byteArray"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["string"] = 7] = "string"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["timestamp"] = 8] = "timestamp"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["uuid"] = 9] = "uuid"; +})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {})); +const BOOLEAN_TAG = "boolean"; +const BYTE_TAG = "byte"; +const SHORT_TAG = "short"; +const INT_TAG = "integer"; +const LONG_TAG = "long"; +const BINARY_TAG = "binary"; +const STRING_TAG = "string"; +const TIMESTAMP_TAG = "timestamp"; +const UUID_TAG = "uuid"; +const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/; + +const PRELUDE_MEMBER_LENGTH = 4; +const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2; +const CHECKSUM_LENGTH = 4; +const MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2; +function splitMessage({ byteLength, byteOffset, buffer }) { + if (byteLength < MINIMUM_MESSAGE_LENGTH) { + throw new Error("Provided message too short to accommodate event stream message overhead"); + } + const view = new DataView(buffer, byteOffset, byteLength); + const messageLength = view.getUint32(0, false); + if (byteLength !== messageLength) { + throw new Error("Reported message length does not match received message length"); + } + const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false); + const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false); + const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false); + const checksummer = new crc32.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH)); + if (expectedPreludeChecksum !== checksummer.digest()) { + throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`); + } + checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH))); + if (expectedMessageChecksum !== checksummer.digest()) { + throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`); + } + return { + headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength), + body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)), + }; +} + +class EventStreamCodec { + headerMarshaller; + messageBuffer; + isEndOfStream; + constructor(toUtf8, fromUtf8) { + this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8); + this.messageBuffer = []; + this.isEndOfStream = false; + } + feed(message) { + this.messageBuffer.push(this.decode(message)); + } + endOfStream() { + this.isEndOfStream = true; + } + getMessage() { + const message = this.messageBuffer.pop(); + const isEndOfStream = this.isEndOfStream; + return { + getMessage() { + return message; + }, + isEndOfStream() { + return isEndOfStream; + }, + }; + } + getAvailableMessages() { + const messages = this.messageBuffer; + this.messageBuffer = []; + const isEndOfStream = this.isEndOfStream; + return { + getMessages() { + return messages; + }, + isEndOfStream() { + return isEndOfStream; + }, + }; + } + encode({ headers: rawHeaders, body }) { + const headers = this.headerMarshaller.format(rawHeaders); + const length = headers.byteLength + body.byteLength + 16; + const out = new Uint8Array(length); + const view = new DataView(out.buffer, out.byteOffset, out.byteLength); + const checksum = new crc32.Crc32(); + view.setUint32(0, length, false); + view.setUint32(4, headers.byteLength, false); + view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false); + out.set(headers, 12); + out.set(body, headers.byteLength + 12); + view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false); + return out; + } + decode(message) { + const { headers, body } = splitMessage(message); + return { headers: this.headerMarshaller.parse(headers), body }; + } + formatHeaders(rawHeaders) { + return this.headerMarshaller.format(rawHeaders); + } +} + +class MessageDecoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const bytes of this.options.inputStream) { + const decoded = this.options.decoder.decode(bytes); + yield decoded; + } + } +} + +class MessageEncoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const msg of this.options.messageStream) { + const encoded = this.options.encoder.encode(msg); + yield encoded; + } + if (this.options.includeEndFrame) { + yield new Uint8Array(0); + } + } +} + +class SmithyMessageDecoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const message of this.options.messageStream) { + const deserialized = await this.options.deserializer(message); + if (deserialized === undefined) + continue; + yield deserialized; + } + } +} + +class SmithyMessageEncoderStream { + options; + constructor(options) { + this.options = options; + } + [Symbol.asyncIterator]() { + return this.asyncIterator(); + } + async *asyncIterator() { + for await (const chunk of this.options.inputStream) { + const payloadBuf = this.options.serializer(chunk); + yield payloadBuf; + } + } +} + +function getChunkedStream(source) { + let currentMessageTotalLength = 0; + let currentMessagePendingLength = 0; + let currentMessage = null; + let messageLengthBuffer = null; + const allocateMessage = (size) => { + if (typeof size !== "number") { + throw new Error("Attempted to allocate an event message where size was not a number: " + size); + } + currentMessageTotalLength = size; + currentMessagePendingLength = 4; + currentMessage = new Uint8Array(size); + const currentMessageView = new DataView(currentMessage.buffer); + currentMessageView.setUint32(0, size, false); + }; + const iterator = async function* () { + const sourceIterator = source[Symbol.asyncIterator](); + while (true) { + const { value, done } = await sourceIterator.next(); + if (done) { + if (!currentMessageTotalLength) { + return; + } + else if (currentMessageTotalLength === currentMessagePendingLength) { + yield currentMessage; + } + else { + throw new Error("Truncated event message received."); + } + return; + } + const chunkLength = value.length; + let currentOffset = 0; + while (currentOffset < chunkLength) { + if (!currentMessage) { + const bytesRemaining = chunkLength - currentOffset; + if (!messageLengthBuffer) { + messageLengthBuffer = new Uint8Array(4); + } + const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining); + messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength); + currentMessagePendingLength += numBytesForTotal; + currentOffset += numBytesForTotal; + if (currentMessagePendingLength < 4) { + break; + } + allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false)); + messageLengthBuffer = null; + } + const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset); + currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength); + currentMessagePendingLength += numBytesToWrite; + currentOffset += numBytesToWrite; + if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) { + yield currentMessage; + currentMessage = null; + currentMessageTotalLength = 0; + currentMessagePendingLength = 0; + } + } + } + }; + return { + [Symbol.asyncIterator]: iterator, + }; +} + +function getUnmarshalledStream(source, options) { + const messageUnmarshaller = getMessageUnmarshaller(options.deserializer, options.toUtf8); + return { + [Symbol.asyncIterator]: async function* () { + for await (const chunk of source) { + const message = options.eventStreamCodec.decode(chunk); + const type = await messageUnmarshaller(message); + if (type === undefined) + continue; + yield type; + } + }, + }; +} +function getMessageUnmarshaller(deserializer, toUtf8) { + return async function (message) { + const { value: messageType } = message.headers[":message-type"]; + if (messageType === "error") { + const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError"); + unmodeledError.name = message.headers[":error-code"].value; + throw unmodeledError; + } + else if (messageType === "exception") { + const code = message.headers[":exception-type"].value; + const exception = { [code]: message }; + const deserializedException = await deserializer(exception); + if (deserializedException.$unknown) { + const error = new Error(toUtf8(message.body)); + error.name = code; + throw error; + } + throw deserializedException[code]; + } + else if (messageType === "event") { + const event = { + [message.headers[":event-type"].value]: message, + }; + const deserialized = await deserializer(event); + if (deserialized.$unknown) + return; + return deserialized; + } + else { + throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`); + } + }; +} + +let EventStreamMarshaller$1 = class EventStreamMarshaller { + eventStreamCodec; + utfEncoder; + constructor({ utf8Encoder, utf8Decoder }) { + this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder); + this.utfEncoder = utf8Encoder; + } + deserialize(body, deserializer) { + const inputStream = getChunkedStream(body); + return new SmithyMessageDecoderStream({ + messageStream: new MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }), + deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder), + }); + } + serialize(inputStream, serializer) { + return new MessageEncoderStream({ + messageStream: new SmithyMessageEncoderStream({ inputStream, serializer }), + encoder: this.eventStreamCodec, + includeEndFrame: true, + }); + } +}; +const eventStreamSerdeProvider$1 = (options) => new EventStreamMarshaller$1(options); + +class EventStreamMarshaller { + universalMarshaller; + constructor({ utf8Encoder, utf8Decoder }) { + this.universalMarshaller = new EventStreamMarshaller$1({ + utf8Decoder, + utf8Encoder, + }); + } + deserialize(body, deserializer) { + const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readableToIterable(body); + return this.universalMarshaller.deserialize(bodyIterable, deserializer); + } + serialize(input, serializer) { + return node_stream.Readable.from(this.universalMarshaller.serialize(input, serializer)); + } +} +const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); +async function* readableToIterable(readStream) { + let streamEnded = false; + let generationEnded = false; + const records = new Array(); + readStream.on("error", (err) => { + if (!streamEnded) { + streamEnded = true; + } + if (err) { + throw err; + } + }); + readStream.on("data", (data) => { + records.push(data); + }); + readStream.on("end", () => { + streamEnded = true; + }); + while (!generationEnded) { + const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0)); + if (value) { + yield value; + } + generationEnded = streamEnded && records.length === 0; + } +} + +const readableStreamToIterable = (readableStream) => ({ + [Symbol.asyncIterator]: async function* () { + const reader = readableStream.getReader(); + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + return; + yield value; + } + } + finally { + reader.releaseLock(); + } + }, +}); +const iterableToReadableStream = (asyncIterable) => { + const iterator = asyncIterable[Symbol.asyncIterator](); + return new ReadableStream({ + async pull(controller) { + const { done, value } = await iterator.next(); + if (done) { + return controller.close(); + } + controller.enqueue(value); + }, + }); +}; + +const resolveEventStreamSerdeConfig = (input) => Object.assign(input, { + eventStreamMarshaller: input.eventStreamSerdeProvider(input), +}); + +class EventStreamSerde { + marshaller; + serializer; + deserializer; + serdeContext; + defaultContentType; + constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }) { + this.marshaller = marshaller; + this.serializer = serializer; + this.deserializer = deserializer; + this.serdeContext = serdeContext; + this.defaultContentType = defaultContentType; + } + async serializeEventStream({ eventStream, requestSchema, initialRequest, }) { + const marshaller = this.marshaller; + const eventStreamMember = requestSchema.getEventStreamMember(); + const unionSchema = requestSchema.getMemberSchema(eventStreamMember); + const serializer = this.serializer; + const defaultContentType = this.defaultContentType; + const initialRequestMarker = Symbol("initialRequestMarker"); + const eventStreamIterable = { + async *[Symbol.asyncIterator]() { + if (initialRequest) { + const headers = { + ":event-type": { type: "string", value: "initial-request" }, + ":message-type": { type: "string", value: "event" }, + ":content-type": { type: "string", value: defaultContentType }, + }; + serializer.write(requestSchema, initialRequest); + const body = serializer.flush(); + yield { + [initialRequestMarker]: true, + headers, + body, + }; + } + for await (const page of eventStream) { + yield page; + } + }, + }; + return marshaller.serialize(eventStreamIterable, (event) => { + if (event[initialRequestMarker]) { + return { + headers: event.headers, + body: event.body, + }; + } + let unionMember = ""; + for (const key in event) { + if (key !== "__type") { + unionMember = key; + break; + } + } + const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(unionMember, unionSchema, event); + const headers = { + ":event-type": { type: "string", value: eventType }, + ":message-type": { type: "string", value: "event" }, + ":content-type": { type: "string", value: explicitPayloadContentType ?? defaultContentType }, + ...additionalHeaders, + }; + return { + headers, + body, + }; + }); + } + async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) { + const marshaller = this.marshaller; + const eventStreamMember = responseSchema.getEventStreamMember(); + const unionSchema = responseSchema.getMemberSchema(eventStreamMember); + const memberSchemas = unionSchema.getMemberSchemas(); + const initialResponseMarker = Symbol("initialResponseMarker"); + const asyncIterable = marshaller.deserialize(response.body, async (event) => { + let unionMember = ""; + for (const key in event) { + if (key !== "__type") { + unionMember = key; + break; + } + } + const body = event[unionMember].body; + if (unionMember === "initial-response") { + const dataObject = await this.deserializer.read(responseSchema, body); + delete dataObject[eventStreamMember]; + return { + [initialResponseMarker]: true, + ...dataObject, + }; + } + else if (unionMember in memberSchemas) { + const eventStreamSchema = memberSchemas[unionMember]; + if (eventStreamSchema.isStructSchema()) { + const out = {}; + let hasBindings = false; + for (const [name, member] of eventStreamSchema.structIterator()) { + const { eventHeader, eventPayload } = member.getMergedTraits(); + hasBindings = hasBindings || Boolean(eventHeader || eventPayload); + if (eventPayload) { + if (member.isBlobSchema()) { + out[name] = body; + } + else if (member.isStringSchema()) { + out[name] = (this.serdeContext?.utf8Encoder ?? serde.toUtf8)(body); + } + else if (member.isStructSchema()) { + out[name] = await this.deserializer.read(member, body); + } + } + else if (eventHeader) { + const value = event[unionMember].headers[name]?.value; + if (value != null) { + if (member.isNumericSchema()) { + if (value && typeof value === "object" && "bytes" in value) { + out[name] = BigInt(value.toString()); + } + else { + out[name] = Number(value); + } + } + else { + out[name] = value; + } + } + } + } + if (hasBindings) { + return { + [unionMember]: out, + }; + } + if (body.byteLength === 0) { + return { + [unionMember]: {}, + }; + } + } + return { + [unionMember]: await this.deserializer.read(eventStreamSchema, body), + }; + } + else { + return { + $unknown: event, + }; + } + }); + const asyncIterator = asyncIterable[Symbol.asyncIterator](); + const firstEvent = await asyncIterator.next(); + if (firstEvent.done) { + return asyncIterable; + } + if (firstEvent.value?.[initialResponseMarker]) { + if (!responseSchema) { + throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given."); + } + for (const key in firstEvent.value) { + initialResponseContainer[key] = firstEvent.value[key]; + } + } + return { + async *[Symbol.asyncIterator]() { + if (!firstEvent?.value?.[initialResponseMarker]) { + yield firstEvent.value; + } + while (true) { + const { done, value } = await asyncIterator.next(); + if (done) { + break; + } + yield value; + } + }, + }; + } + writeEventBody(unionMember, unionSchema, event) { + const serializer = this.serializer; + let eventType = unionMember; + let explicitPayloadMember = null; + let explicitPayloadContentType; + const isKnownSchema = (() => { + const struct = unionSchema.getSchema(); + return struct[4].includes(unionMember); + })(); + const additionalHeaders = {}; + if (!isKnownSchema) { + const [type, value] = event[unionMember]; + eventType = type; + serializer.write(15, value); + } + else { + const eventSchema = unionSchema.getMemberSchema(unionMember); + if (eventSchema.isStructSchema()) { + for (const [memberName, memberSchema] of eventSchema.structIterator()) { + const { eventHeader, eventPayload } = memberSchema.getMergedTraits(); + if (eventPayload) { + explicitPayloadMember = memberName; + } + else if (eventHeader) { + const value = event[unionMember][memberName]; + let type = "binary"; + if (memberSchema.isNumericSchema()) { + if ((-2) ** 31 <= value && value <= 2 ** 31 - 1) { + type = "integer"; + } + else { + type = "long"; + } + } + else if (memberSchema.isTimestampSchema()) { + type = "timestamp"; + } + else if (memberSchema.isStringSchema()) { + type = "string"; + } + else if (memberSchema.isBooleanSchema()) { + type = "boolean"; + } + if (value != null) { + additionalHeaders[memberName] = { + type, + value, + }; + delete event[unionMember][memberName]; + } + } + } + if (explicitPayloadMember !== null) { + const payloadSchema = eventSchema.getMemberSchema(explicitPayloadMember); + if (payloadSchema.isBlobSchema()) { + explicitPayloadContentType = "application/octet-stream"; + } + else if (payloadSchema.isStringSchema()) { + explicitPayloadContentType = "text/plain"; + } + serializer.write(payloadSchema, event[unionMember][explicitPayloadMember]); + } + else { + serializer.write(eventSchema, event[unionMember]); + } + } + else if (eventSchema.isUnitSchema()) { + serializer.write(eventSchema, {}); + } + else { + throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union."); + } + } + const messageSerialization = serializer.flush() ?? new Uint8Array(); + const body = typeof messageSerialization === "string" + ? (this.serdeContext?.utf8Decoder ?? serde.fromUtf8)(messageSerialization) + : messageSerialization; + return { + body, + eventType, + explicitPayloadContentType, + additionalHeaders, + }; + } +} + +__webpack_unused_export__ = EventStreamCodec; +__webpack_unused_export__ = EventStreamMarshaller; +exports.EventStreamSerde = EventStreamSerde; +__webpack_unused_export__ = HeaderMarshaller; +__webpack_unused_export__ = Int64; +__webpack_unused_export__ = MessageDecoderStream; +__webpack_unused_export__ = MessageEncoderStream; +__webpack_unused_export__ = SmithyMessageDecoderStream; +__webpack_unused_export__ = SmithyMessageEncoderStream; +__webpack_unused_export__ = EventStreamMarshaller$1; +__webpack_unused_export__ = eventStreamSerdeProvider; +__webpack_unused_export__ = getChunkedStream; +__webpack_unused_export__ = getMessageUnmarshaller; +__webpack_unused_export__ = getUnmarshalledStream; +__webpack_unused_export__ = iterableToReadableStream; +__webpack_unused_export__ = readableStreamToIterable; +__webpack_unused_export__ = resolveEventStreamSerdeConfig; +__webpack_unused_export__ = eventStreamSerdeProvider$1; + + +/***/ }), + +/***/ 6130: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + isArrayBuffer: () => isArrayBuffer +}); +module.exports = __toCommonJS(src_exports); +var isArrayBuffer = /* @__PURE__ */ __name((arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]", "isArrayBuffer"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 4151: +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromArrayBuffer: () => fromArrayBuffer, + fromString: () => fromString +}); +module.exports = __toCommonJS(src_exports); +var import_is_array_buffer = __webpack_require__(6130); +var import_buffer = __webpack_require__(181); +var fromArrayBuffer = /* @__PURE__ */ __name((input, offset = 0, length = input.byteLength - offset) => { + if (!(0, import_is_array_buffer.isArrayBuffer)(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return import_buffer.Buffer.from(input, offset, length); +}, "fromArrayBuffer"); +var fromString = /* @__PURE__ */ __name((input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? import_buffer.Buffer.from(input, encoding) : import_buffer.Buffer.from(input); +}, "fromString"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 1577: +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromUtf8: () => fromUtf8, + toUint8Array: () => toUint8Array, + toUtf8: () => toUtf8 +}); +module.exports = __toCommonJS(src_exports); + +// src/fromUtf8.ts +var import_util_buffer_from = __webpack_require__(4151); +var fromUtf8 = /* @__PURE__ */ __name((input) => { + const buf = (0, import_util_buffer_from.fromString)(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}, "fromUtf8"); + +// src/toUint8Array.ts +var toUint8Array = /* @__PURE__ */ __name((data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}, "toUint8Array"); + +// src/toUtf8.ts + +var toUtf8 = /* @__PURE__ */ __name((input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return (0, import_util_buffer_from.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}, "toUtf8"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/605.index.js b/actions/release-secrets/ssm/dist/605.index.js new file mode 100644 index 0000000..5159eb9 --- /dev/null +++ b/actions/release-secrets/ssm/dist/605.index.js @@ -0,0 +1,241 @@ +"use strict"; +exports.id = 605; +exports.ids = [605]; +exports.modules = { + +/***/ 1509: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.checkUrl = void 0; +const config_1 = __webpack_require__(7291); +const LOOPBACK_CIDR_IPv4 = "127.0.0.0/8"; +const LOOPBACK_CIDR_IPv6 = "::1/128"; +const ECS_CONTAINER_HOST = "169.254.170.2"; +const EKS_CONTAINER_HOST_IPv4 = "169.254.170.23"; +const EKS_CONTAINER_HOST_IPv6 = "[fd00:ec2::23]"; +const checkUrl = (url, logger) => { + if (url.protocol === "https:") { + return; + } + if (url.hostname === ECS_CONTAINER_HOST || + url.hostname === EKS_CONTAINER_HOST_IPv4 || + url.hostname === EKS_CONTAINER_HOST_IPv6) { + return; + } + if (url.hostname.includes("[")) { + if (url.hostname === "[::1]" || url.hostname === "[0000:0000:0000:0000:0000:0000:0000:0001]") { + return; + } + } + else { + if (url.hostname === "localhost") { + return; + } + const ipComponents = url.hostname.split("."); + const inRange = (component) => { + const num = parseInt(component, 10); + return 0 <= num && num <= 255; + }; + if (ipComponents[0] === "127" && + inRange(ipComponents[1]) && + inRange(ipComponents[2]) && + inRange(ipComponents[3]) && + ipComponents.length === 4) { + return; + } + } + throw new config_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following: + - loopback CIDR 127.0.0.0/8 or [::1/128] + - ECS container host 169.254.170.2 + - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger }); +}; +exports.checkUrl = checkUrl; + + +/***/ }), + +/***/ 8712: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromHttp = void 0; +const tslib_1 = __webpack_require__(1860); +const client_1 = __webpack_require__(5152); +const config_1 = __webpack_require__(7291); +const node_http_handler_1 = __webpack_require__(1279); +const promises_1 = tslib_1.__importDefault(__webpack_require__(1455)); +const checkUrl_1 = __webpack_require__(1509); +const requestHelpers_1 = __webpack_require__(8914); +const retry_wrapper_1 = __webpack_require__(1122); +const AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +const DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2"; +const AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +const fromHttp = (options = {}) => { + options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp"); + let host; + const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI]; + const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI]; + const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN]; + const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE]; + const warn = options.logger?.constructor?.name === "NoOpLogger" || !options.logger?.warn + ? console.warn + : options.logger.warn.bind(options.logger); + if (relative && full) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."); + warn("awsContainerCredentialsFullUri will take precedence."); + } + if (token && tokenFile) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."); + warn("awsContainerAuthorizationToken will take precedence."); + } + if (full) { + host = full; + } + else if (relative) { + host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`; + } + else { + throw new config_1.CredentialsProviderError(`No HTTP credential provider host provided. +Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger }); + } + const url = new URL(host); + (0, checkUrl_1.checkUrl)(url, options.logger); + const requestHandler = node_http_handler_1.NodeHttpHandler.create({ connectionTimeout: options.timeout ?? 1000 }); + const requestTimeout = options.timeout ?? 1000; + const provider = (0, retry_wrapper_1.retryWrapper)(async () => { + const request = (0, requestHelpers_1.createGetRequest)(url); + if (token) { + request.headers.Authorization = token; + } + else if (tokenFile) { + request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString(); + } + try { + const result = await requestHandler.handle(request, { requestTimeout }); + return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, "CREDENTIALS_HTTP", "z")); + } + catch (e) { + throw new config_1.CredentialsProviderError(String(e), { logger: options.logger }); + } + }, options.maxRetries ?? 3, options.timeout ?? 1000); + return async () => { + try { + return await provider(); + } + finally { + requestHandler.destroy?.(); + } + }; +}; +exports.fromHttp = fromHttp; + + +/***/ }), + +/***/ 8914: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createGetRequest = createGetRequest; +exports.getCredentials = getCredentials; +const config_1 = __webpack_require__(7291); +const protocols_1 = __webpack_require__(3422); +const serde_1 = __webpack_require__(2430); +const serde_2 = __webpack_require__(2430); +function createGetRequest(url) { + return new protocols_1.HttpRequest({ + protocol: url.protocol, + hostname: url.hostname, + port: Number(url.port), + path: url.pathname, + query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => { + acc[k] = v; + return acc; + }, {}), + fragment: url.hash, + }); +} +async function getCredentials(response, logger) { + const stream = (0, serde_2.sdkStreamMixin)(response.body); + const str = await stream.transformToString(); + if (response.statusCode === 200) { + const parsed = JSON.parse(str); + if (typeof parsed.AccessKeyId !== "string" || + typeof parsed.SecretAccessKey !== "string" || + typeof parsed.Token !== "string" || + typeof parsed.Expiration !== "string") { + throw new config_1.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: " + + "{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }", { logger }); + } + return { + accessKeyId: parsed.AccessKeyId, + secretAccessKey: parsed.SecretAccessKey, + sessionToken: parsed.Token, + expiration: (0, serde_1.parseRfc3339DateTime)(parsed.Expiration), + }; + } + if (response.statusCode >= 400 && response.statusCode < 500) { + let parsedBody = {}; + try { + parsedBody = JSON.parse(str); + } + catch (e) { } + throw Object.assign(new config_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), { + Code: parsedBody.Code, + Message: parsedBody.Message, + }); + } + throw new config_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }); +} + + +/***/ }), + +/***/ 1122: +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.retryWrapper = void 0; +const retryWrapper = (toRetry, maxRetries, delayMs) => { + return async () => { + for (let i = 0; i < maxRetries; ++i) { + try { + return await toRetry(); + } + catch (e) { + await new Promise((resolve) => setTimeout(resolve, delayMs)); + } + } + return await toRetry(); + }; +}; +exports.retryWrapper = retryWrapper; + + +/***/ }), + +/***/ 8605: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var fromHttp = __webpack_require__(8712); + + + +exports.fromHttp = fromHttp.fromHttp; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/762.index.js b/actions/release-secrets/ssm/dist/762.index.js new file mode 100644 index 0000000..52590aa --- /dev/null +++ b/actions/release-secrets/ssm/dist/762.index.js @@ -0,0 +1,525 @@ +"use strict"; +exports.id = 762; +exports.ids = [762]; +exports.modules = { + +/***/ 9762: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +var __webpack_unused_export__; + + +var client$1 = __webpack_require__(5152); +var core = __webpack_require__(402); +var client = __webpack_require__(2658); +var config = __webpack_require__(7291); +var endpoints = __webpack_require__(2085); +var protocols = __webpack_require__(3422); +var retry = __webpack_require__(3609); +var schema = __webpack_require__(6890); +var httpAuthSchemes = __webpack_require__(7523); +var serde = __webpack_require__(2430); +var nodeHttpHandler = __webpack_require__(1279); +var protocols$1 = __webpack_require__(7288); + +const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: client.getSmithyContext(context).operation, + region: await client.normalizeProvider(config.region)() || (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "signin", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSigninHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "CreateOAuth2Token": { + options.push(createSmithyApiNoAuthHttpAuthOption()); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = httpAuthSchemes.resolveAwsSdkSigV4Config(config); + return Object.assign(config_0, { + authSchemePreference: client.normalizeProvider(config.authSchemePreference ?? []), + }); +}; + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "signin", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +var version = "3.997.19"; +var packageInfo = { + version: version}; + +const m = "ref"; +const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { "fn": f, "argv": [i, "name"] }, k = {}, l = [{ [m]: "Region" }]; +const _data = { + conditions: [ + [c, [h]], + [c, l], + ["aws.partition", l, d], + [e, [{ [m]: "UseFIPS" }, b]], + [e, [{ [m]: "UseDualStack" }, b]], + [e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]], + [e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]], + [g, [j, "aws"]], + [g, [j, "aws-cn"]], + [g, [j, "aws-us-gov"]] + ], + results: [ + [a], + [a, "Invalid Configuration: FIPS and custom endpoint are not supported"], + [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"], + [h, k], + ["https://{Region}.signin.aws.amazon.com", k], + ["https://{Region}.signin.amazonaws.cn", k], + ["https://{Region}.signin.amazonaws-us-gov.com", k], + ["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k], + [a, "FIPS and DualStack are enabled, but this partition does not support one or both"], + ["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", k], + [a, "FIPS is enabled but this partition does not support FIPS"], + ["https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}", k], + [a, "DualStack is enabled but this partition does not support DualStack"], + ["https://signin.{Region}.{PartitionResult#dnsSuffix}", k], + [a, "Invalid Configuration: Missing Region"] + ] +}; +const root = 2; +const r = 100_000_000; +const nodes = new Int32Array([ + -1, 1, -1, + 0, 15, 3, + 1, 4, r + 14, + 2, 5, r + 14, + 3, 11, 6, + 4, 10, 7, + 7, r + 4, 8, + 8, r + 5, 9, + 9, r + 6, r + 13, + 5, r + 11, r + 12, + 4, 13, 12, + 6, r + 9, r + 10, + 5, 14, r + 8, + 6, r + 7, r + 8, + 3, r + 1, 16, + 4, r + 2, r + 3, +]); +const bdd = endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); + +const cache = new endpoints.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => endpoints.decideEndpoint(bdd, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +endpoints.customEndpointFunctions.aws = client$1.awsEndpointFunctions; + +class SigninServiceException extends client.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SigninServiceException.prototype); + } +} + +class AccessDeniedException extends SigninServiceException { + name = "AccessDeniedException"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "AccessDeniedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDeniedException.prototype); + this.error = opts.error; + } +} +class InternalServerException extends SigninServiceException { + name = "InternalServerException"; + $fault = "server"; + error; + constructor(opts) { + super({ + name: "InternalServerException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalServerException.prototype); + this.error = opts.error; + } +} +class TooManyRequestsError extends SigninServiceException { + name = "TooManyRequestsError"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "TooManyRequestsError", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsError.prototype); + this.error = opts.error; + } +} +class ValidationException extends SigninServiceException { + name = "ValidationException"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "ValidationException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ValidationException.prototype); + this.error = opts.error; + } +} + +const _ADE = "AccessDeniedException"; +const _AT = "AccessToken"; +const _COAT = "CreateOAuth2Token"; +const _COATR = "CreateOAuth2TokenRequest"; +const _COATRB = "CreateOAuth2TokenRequestBody"; +const _COATRBr = "CreateOAuth2TokenResponseBody"; +const _COATRr = "CreateOAuth2TokenResponse"; +const _ISE = "InternalServerException"; +const _RT = "RefreshToken"; +const _TMRE = "TooManyRequestsError"; +const _VE = "ValidationException"; +const _aKI = "accessKeyId"; +const _aT = "accessToken"; +const _c = "client"; +const _cI = "clientId"; +const _cV = "codeVerifier"; +const _co = "code"; +const _e = "error"; +const _eI = "expiresIn"; +const _gT = "grantType"; +const _h = "http"; +const _hE = "httpError"; +const _iT = "idToken"; +const _jN = "jsonName"; +const _m = "message"; +const _rT = "refreshToken"; +const _rU = "redirectUri"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.signin"; +const _sAK = "secretAccessKey"; +const _sT = "sessionToken"; +const _se = "server"; +const _tI = "tokenInput"; +const _tO = "tokenOutput"; +const _tT = "tokenType"; +const n0 = "com.amazonaws.signin"; +const _s_registry = schema.TypeRegistry.for(_s); +var SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []]; +_s_registry.registerError(SigninServiceException$, SigninServiceException); +const n0_registry = schema.TypeRegistry.for(n0); +var AccessDeniedException$ = [-3, n0, _ADE, + { [_e]: _c }, + [_e, _m], + [0, 0], 2 +]; +n0_registry.registerError(AccessDeniedException$, AccessDeniedException); +var InternalServerException$ = [-3, n0, _ISE, + { [_e]: _se, [_hE]: 500 }, + [_e, _m], + [0, 0], 2 +]; +n0_registry.registerError(InternalServerException$, InternalServerException); +var TooManyRequestsError$ = [-3, n0, _TMRE, + { [_e]: _c, [_hE]: 429 }, + [_e, _m], + [0, 0], 2 +]; +n0_registry.registerError(TooManyRequestsError$, TooManyRequestsError); +var ValidationException$ = [-3, n0, _VE, + { [_e]: _c, [_hE]: 400 }, + [_e, _m], + [0, 0], 2 +]; +n0_registry.registerError(ValidationException$, ValidationException); +const errorTypeRegistries = [ + _s_registry, + n0_registry, +]; +var RefreshToken = [0, n0, _RT, 8, 0]; +var AccessToken$ = [3, n0, _AT, + 8, + [_aKI, _sAK, _sT], + [[0, { [_jN]: _aKI }], [0, { [_jN]: _sAK }], [0, { [_jN]: _sT }]], 3 +]; +var CreateOAuth2TokenRequest$ = [3, n0, _COATR, + 0, + [_tI], + [[() => CreateOAuth2TokenRequestBody$, 16]], 1 +]; +var CreateOAuth2TokenRequestBody$ = [3, n0, _COATRB, + 0, + [_cI, _gT, _co, _rU, _cV, _rT], + [[0, { [_jN]: _cI }], [0, { [_jN]: _gT }], 0, [0, { [_jN]: _rU }], [0, { [_jN]: _cV }], [() => RefreshToken, { [_jN]: _rT }]], 2 +]; +var CreateOAuth2TokenResponse$ = [3, n0, _COATRr, + 0, + [_tO], + [[() => CreateOAuth2TokenResponseBody$, 16]], 1 +]; +var CreateOAuth2TokenResponseBody$ = [3, n0, _COATRBr, + 0, + [_aT, _tT, _eI, _rT, _iT], + [[() => AccessToken$, { [_jN]: _aT }], [0, { [_jN]: _tT }], [1, { [_jN]: _eI }], [() => RefreshToken, { [_jN]: _rT }], [0, { [_jN]: _iT }]], 4 +]; +var CreateOAuth2Token$ = [9, n0, _COAT, + { [_h]: ["POST", "/v1/token", 200] }, () => CreateOAuth2TokenRequest$, () => CreateOAuth2TokenResponse$ +]; + +const getRuntimeConfig$1 = (config) => { + return { + apiVersion: "2023-01-01", + base64Decoder: config?.base64Decoder ?? serde.fromBase64, + base64Encoder: config?.base64Encoder ?? serde.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSigninHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new client.NoOpLogger(), + protocol: config?.protocol ?? protocols$1.AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.signin", + errorTypeRegistries, + version: "2023-01-01", + serviceTarget: "Signin", + }, + serviceId: config?.serviceId ?? "Signin", + urlParser: config?.urlParser ?? protocols.parseUrl, + utf8Decoder: config?.utf8Decoder ?? serde.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? serde.toUtf8, + }; +}; + +const getRuntimeConfig = (config$1) => { + client.emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = config.resolveDefaultsModeConfig(config$1); + const defaultConfigProvider = () => defaultsMode().then(client.loadConfigsForDefaultMode); + const clientSharedValues = getRuntimeConfig$1(config$1); + client$1.emitWarningIfUnsupportedVersion(process.version); + const loaderConfig = { + profile: config$1?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config$1, + runtime: "node", + defaultsMode, + authSchemePreference: config$1?.authSchemePreference ?? config.loadConfig(httpAuthSchemes.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config$1?.bodyLengthChecker ?? serde.calculateBodyLength, + defaultUserAgentProvider: config$1?.defaultUserAgentProvider ?? client$1.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config$1?.maxAttempts ?? config.loadConfig(retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config$1), + region: config$1?.region ?? config.loadConfig(config.NODE_REGION_CONFIG_OPTIONS, { ...config.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: nodeHttpHandler.NodeHttpHandler.create(config$1?.requestHandler ?? defaultConfigProvider), + retryMode: config$1?.retryMode ?? + config.loadConfig({ + ...retry.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || retry.DEFAULT_RETRY_MODE, + }, config$1), + sha256: config$1?.sha256 ?? serde.Hash.bind(null, "sha256"), + streamCollector: config$1?.streamCollector ?? nodeHttpHandler.streamCollector, + useDualstackEndpoint: config$1?.useDualstackEndpoint ?? config.loadConfig(config.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config$1?.useFipsEndpoint ?? config.loadConfig(config.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config$1?.userAgentAppId ?? config.loadConfig(client$1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; + +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class SigninClient extends client.Client { + config; + constructor(...[configuration]) { + const _config_0 = getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = client$1.resolveUserAgentConfig(_config_1); + const _config_3 = retry.resolveRetryConfig(_config_2); + const _config_4 = config.resolveRegionConfig(_config_3); + const _config_5 = client$1.resolveHostHeaderConfig(_config_4); + const _config_6 = endpoints.resolveEndpointConfig(_config_5); + const _config_7 = resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); + this.middlewareStack.use(retry.getRetryPlugin(this.config)); + this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); + this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); + this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultSigninHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class CreateOAuth2TokenCommand extends client.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("Signin", "CreateOAuth2Token", {}) + .n("SigninClient", "CreateOAuth2TokenCommand") + .sc(CreateOAuth2Token$) + .build() { +} + +const commands = { + CreateOAuth2TokenCommand, +}; +class Signin extends SigninClient { +} +client.createAggregatedClient(commands, Signin); + +const OAuth2ErrorCode = { + AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED", + INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS", + INVALID_REQUEST: "INVALID_REQUEST", + SERVER_ERROR: "server_error", + TOKEN_EXPIRED: "TOKEN_EXPIRED", + USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED", +}; + +__webpack_unused_export__ = client.Command; +__webpack_unused_export__ = client.Client; +__webpack_unused_export__ = AccessDeniedException; +__webpack_unused_export__ = AccessDeniedException$; +__webpack_unused_export__ = AccessToken$; +__webpack_unused_export__ = CreateOAuth2Token$; +exports.CreateOAuth2TokenCommand = CreateOAuth2TokenCommand; +__webpack_unused_export__ = CreateOAuth2TokenRequest$; +__webpack_unused_export__ = CreateOAuth2TokenRequestBody$; +__webpack_unused_export__ = CreateOAuth2TokenResponse$; +__webpack_unused_export__ = CreateOAuth2TokenResponseBody$; +__webpack_unused_export__ = InternalServerException; +__webpack_unused_export__ = InternalServerException$; +__webpack_unused_export__ = OAuth2ErrorCode; +__webpack_unused_export__ = Signin; +exports.SigninClient = SigninClient; +__webpack_unused_export__ = SigninServiceException; +__webpack_unused_export__ = SigninServiceException$; +__webpack_unused_export__ = TooManyRequestsError; +__webpack_unused_export__ = TooManyRequestsError$; +__webpack_unused_export__ = ValidationException; +__webpack_unused_export__ = ValidationException$; +__webpack_unused_export__ = errorTypeRegistries; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/869.index.js b/actions/release-secrets/ssm/dist/869.index.js new file mode 100644 index 0000000..8266ca5 --- /dev/null +++ b/actions/release-secrets/ssm/dist/869.index.js @@ -0,0 +1,529 @@ +"use strict"; +exports.id = 869; +exports.ids = [869]; +exports.modules = { + +/***/ 5869: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var config = __webpack_require__(7291); +var client = __webpack_require__(5152); +var credentialProviderLogin = __webpack_require__(4072); + +const resolveCredentialSource = (credentialSource, profileName, logger) => { + const sourceProvidersMap = { + EcsContainer: async (options) => { + const { fromHttp } = await __webpack_require__.e(/* import() */ 605).then(__webpack_require__.t.bind(__webpack_require__, 8605, 19)); + const { fromContainerMetadata } = await __webpack_require__.e(/* import() */ 566).then(__webpack_require__.t.bind(__webpack_require__, 566, 19)); + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"); + return async () => config.chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider); + }, + Ec2InstanceMetadata: async (options) => { + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata"); + const { fromInstanceMetadata } = await __webpack_require__.e(/* import() */ 566).then(__webpack_require__.t.bind(__webpack_require__, 566, 19)); + return async () => fromInstanceMetadata(options)().then(setNamedProvider); + }, + Environment: async (options) => { + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment"); + const { fromEnv } = await Promise.resolve(/* import() */).then(__webpack_require__.t.bind(__webpack_require__, 5606, 19)); + return async () => fromEnv(options)().then(setNamedProvider); + }, + }; + if (credentialSource in sourceProvidersMap) { + return sourceProvidersMap[credentialSource]; + } + else { + throw new config.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, ` + + `expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger }); + } +}; +const setNamedProvider = (creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p"); + +const isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => { + return (Boolean(arg) && + typeof arg === "object" && + typeof arg.role_arn === "string" && + ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && + ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && + ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && + (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }))); +}; +const isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => { + const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined"; + if (withSourceProfile) { + logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`); + } + return withSourceProfile; +}; +const isCredentialSourceProfile = (arg, { profile, logger }) => { + const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined"; + if (withProviderProfile) { + logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`); + } + return withProviderProfile; +}; +const resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => { + options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)"); + const profileData = profiles[profileName]; + const { source_profile, region } = profileData; + if (!options.roleAssumer) { + const { getDefaultRoleAssumer } = await __webpack_require__.e(/* import() */ 136).then(__webpack_require__.t.bind(__webpack_require__, 1136, 19)); + options.roleAssumer = getDefaultRoleAssumer({ + ...options.clientConfig, + credentialProviderLogger: options.logger, + parentClientConfig: { + ...callerClientConfig, + ...options?.parentClientConfig, + region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region, + }, + }, options.clientPlugins); + } + if (source_profile && source_profile in visitedProfiles) { + throw new config.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` + + ` ${config.getProfileName(options)}. Profiles visited: ` + + Object.keys(visitedProfiles).join(", "), { logger: options.logger }); + } + options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`); + const sourceCredsProvider = source_profile + ? resolveProfileData(source_profile, profiles, options, callerClientConfig, { + ...visitedProfiles, + [source_profile]: true, + }, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})) + : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))(); + if (isCredentialSourceWithoutRoleArn(profileData)) { + return sourceCredsProvider.then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o")); + } + else { + const params = { + RoleArn: profileData.role_arn, + RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`, + ExternalId: profileData.external_id, + DurationSeconds: parseInt(profileData.duration_seconds || "3600", 10), + }; + const { mfa_serial } = profileData; + if (mfa_serial) { + if (!options.mfaCodeProvider) { + throw new config.CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false }); + } + params.SerialNumber = mfa_serial; + params.TokenCode = await options.mfaCodeProvider(mfa_serial); + } + const sourceCreds = await sourceCredsProvider; + return options.roleAssumer(sourceCreds, params).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o")); + } +}; +const isCredentialSourceWithoutRoleArn = (section) => { + return !section.role_arn && !!section.credential_source; +}; + +const isLoginProfile = (data) => { + return Boolean(data && data.login_session); +}; +const resolveLoginCredentials = async (profileName, options, callerClientConfig) => { + const credentials = await credentialProviderLogin.fromLoginCredentials({ + ...options, + profile: profileName, + })({ callerClientConfig }); + return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC"); +}; + +const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string"; +const resolveProcessCredentials = async (options, profile) => __webpack_require__.e(/* import() */ 360).then(__webpack_require__.t.bind(__webpack_require__, 5360, 19)).then(({ fromProcess }) => fromProcess({ + ...options, + profile, +})().then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v"))); + +const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => { + const { fromSSO } = await __webpack_require__.e(/* import() */ 998).then(__webpack_require__.t.bind(__webpack_require__, 998, 19)); + return fromSSO({ + profile, + logger: options.logger, + parentClientConfig: options.parentClientConfig, + clientConfig: options.clientConfig, + })({ + callerClientConfig, + }).then((creds) => { + if (profileData.sso_session) { + return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r"); + } + else { + return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO_LEGACY", "t"); + } + }); +}; +const isSsoProfile = (arg) => arg && + (typeof arg.sso_start_url === "string" || + typeof arg.sso_account_id === "string" || + typeof arg.sso_session === "string" || + typeof arg.sso_region === "string" || + typeof arg.sso_role_name === "string"); + +const isStaticCredsProfile = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.aws_access_key_id === "string" && + typeof arg.aws_secret_access_key === "string" && + ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && + ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1; +const resolveStaticCredentials = async (profile, options) => { + options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials"); + const credentials = { + accessKeyId: profile.aws_access_key_id, + secretAccessKey: profile.aws_secret_access_key, + sessionToken: profile.aws_session_token, + ...(profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope }), + ...(profile.aws_account_id && { accountId: profile.aws_account_id }), + }; + return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE", "n"); +}; + +const isWebIdentityProfile = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.web_identity_token_file === "string" && + typeof arg.role_arn === "string" && + ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1; +const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => __webpack_require__.e(/* import() */ 956).then(__webpack_require__.t.bind(__webpack_require__, 9956, 23)).then(({ fromTokenFile }) => fromTokenFile({ + webIdentityTokenFile: profile.web_identity_token_file, + roleArn: profile.role_arn, + roleSessionName: profile.role_session_name, + roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity, + logger: options.logger, + parentClientConfig: options.parentClientConfig, +})({ + callerClientConfig, +}).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q"))); + +const resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => { + const data = profiles[profileName]; + if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) { + return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData); + } + if (isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isWebIdentityProfile(data)) { + return resolveWebIdentityCredentials(data, options, callerClientConfig); + } + if (isProcessProfile(data)) { + return resolveProcessCredentials(options, profileName); + } + if (isSsoProfile(data)) { + return await resolveSsoCredentials(profileName, data, options, callerClientConfig); + } + if (isLoginProfile(data)) { + return resolveLoginCredentials(profileName, options, callerClientConfig); + } + throw new config.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger }); +}; + +const fromIni = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni"); + const profiles = await config.parseKnownFiles(init); + return resolveProfileData(config.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }), profiles, init, callerClientConfig); +}; + +exports.fromIni = fromIni; + + +/***/ }), + +/***/ 4072: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var client = __webpack_require__(5152); +var config = __webpack_require__(7291); +var protocols = __webpack_require__(3422); +var node_crypto = __webpack_require__(7598); +var node_fs = __webpack_require__(3024); +var node_os = __webpack_require__(8161); +var node_path = __webpack_require__(6760); + +class LoginCredentialsFetcher { + profileData; + init; + callerClientConfig; + static REFRESH_THRESHOLD = 5 * 60 * 1000; + constructor(profileData, init, callerClientConfig) { + this.profileData = profileData; + this.init = init; + this.callerClientConfig = callerClientConfig; + } + async loadCredentials() { + const token = await this.loadToken(); + if (!token) { + throw new config.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`, { tryNextLink: false, logger: this.logger }); + } + const accessToken = token.accessToken; + const now = Date.now(); + const expiryTime = new Date(accessToken.expiresAt).getTime(); + const timeUntilExpiry = expiryTime - now; + if (timeUntilExpiry <= LoginCredentialsFetcher.REFRESH_THRESHOLD) { + return this.refresh(token); + } + return { + accessKeyId: accessToken.accessKeyId, + secretAccessKey: accessToken.secretAccessKey, + sessionToken: accessToken.sessionToken, + accountId: accessToken.accountId, + expiration: new Date(accessToken.expiresAt), + }; + } + get logger() { + return this.init?.logger; + } + get loginSession() { + return this.profileData.login_session; + } + async refresh(token) { + const { SigninClient, CreateOAuth2TokenCommand } = await __webpack_require__.e(/* import() */ 762).then(__webpack_require__.t.bind(__webpack_require__, 9762, 19)); + const { logger, userAgentAppId } = this.callerClientConfig ?? {}; + const isH2 = (requestHandler) => { + return requestHandler?.metadata?.handlerProtocol === "h2"; + }; + const requestHandler = isH2(this.callerClientConfig?.requestHandler) + ? undefined + : this.callerClientConfig?.requestHandler; + const region = this.profileData.region ?? (await this.callerClientConfig?.region?.()) ?? process.env.AWS_REGION; + const client = new SigninClient({ + credentials: { + accessKeyId: "", + secretAccessKey: "", + }, + region, + requestHandler, + logger, + userAgentAppId, + ...this.init?.clientConfig, + }); + this.createDPoPInterceptor(client.middlewareStack); + const commandInput = { + tokenInput: { + clientId: token.clientId, + refreshToken: token.refreshToken, + grantType: "refresh_token", + }, + }; + try { + const response = await client.send(new CreateOAuth2TokenCommand(commandInput)); + const { accessKeyId, secretAccessKey, sessionToken } = response.tokenOutput?.accessToken ?? {}; + const { refreshToken, expiresIn } = response.tokenOutput ?? {}; + if (!accessKeyId || !secretAccessKey || !sessionToken || !refreshToken) { + throw new config.CredentialsProviderError("Token refresh response missing required fields", { + logger: this.logger, + tryNextLink: false, + }); + } + const expiresInMs = (expiresIn ?? 900) * 1000; + const expiration = new Date(Date.now() + expiresInMs); + const updatedToken = { + ...token, + accessToken: { + ...token.accessToken, + accessKeyId: accessKeyId, + secretAccessKey: secretAccessKey, + sessionToken: sessionToken, + expiresAt: expiration.toISOString(), + }, + refreshToken: refreshToken, + }; + await this.saveToken(updatedToken); + const newAccessToken = updatedToken.accessToken; + return { + accessKeyId: newAccessToken.accessKeyId, + secretAccessKey: newAccessToken.secretAccessKey, + sessionToken: newAccessToken.sessionToken, + accountId: newAccessToken.accountId, + expiration, + }; + } + catch (error) { + if (error.name === "AccessDeniedException") { + const errorType = error.error; + let message; + switch (errorType) { + case "TOKEN_EXPIRED": + message = "Your session has expired. Please reauthenticate."; + break; + case "USER_CREDENTIALS_CHANGED": + message = + "Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password."; + break; + case "INSUFFICIENT_PERMISSIONS": + message = + "Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action."; + break; + default: + message = `Failed to refresh token: ${String(error)}. Please re-authenticate using \`aws login\``; + } + throw new config.CredentialsProviderError(message, { logger: this.logger, tryNextLink: false }); + } + throw new config.CredentialsProviderError(`Failed to refresh token: ${String(error)}. Please re-authenticate using aws login`, { logger: this.logger }); + } + } + async loadToken() { + const tokenFilePath = this.getTokenFilePath(); + try { + let tokenData; + try { + tokenData = await config.readFile(tokenFilePath, { ignoreCache: this.init?.ignoreCache }); + } + catch { + tokenData = await node_fs.promises.readFile(tokenFilePath, "utf8"); + } + const token = JSON.parse(tokenData); + const missingFields = ["accessToken", "clientId", "refreshToken", "dpopKey"].filter((k) => !token[k]); + if (!token.accessToken?.accountId) { + missingFields.push("accountId"); + } + if (missingFields.length > 0) { + throw new config.CredentialsProviderError(`Token validation failed, missing fields: ${missingFields.join(", ")}`, { + logger: this.logger, + tryNextLink: false, + }); + } + return token; + } + catch (error) { + throw new config.CredentialsProviderError(`Failed to load token from ${tokenFilePath}: ${String(error)}`, { + logger: this.logger, + tryNextLink: false, + }); + } + } + async saveToken(token) { + const tokenFilePath = this.getTokenFilePath(); + const directory = node_path.dirname(tokenFilePath); + try { + await node_fs.promises.mkdir(directory, { recursive: true }); + } + catch (error) { + } + await node_fs.promises.writeFile(tokenFilePath, JSON.stringify(token, null, 2), "utf8"); + } + getTokenFilePath() { + const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? node_path.join(node_os.homedir(), ".aws", "login", "cache"); + const loginSessionBytes = Buffer.from(this.loginSession, "utf8"); + const loginSessionSha256 = node_crypto.createHash("sha256").update(loginSessionBytes).digest("hex"); + return node_path.join(directory, `${loginSessionSha256}.json`); + } + derToRawSignature(derSignature) { + let offset = 2; + if (derSignature[offset] !== 0x02) { + throw new Error("Invalid DER signature"); + } + offset++; + const rLength = derSignature[offset++]; + let r = derSignature.subarray(offset, offset + rLength); + offset += rLength; + if (derSignature[offset] !== 0x02) { + throw new Error("Invalid DER signature"); + } + offset++; + const sLength = derSignature[offset++]; + let s = derSignature.subarray(offset, offset + sLength); + r = r[0] === 0x00 ? r.subarray(1) : r; + s = s[0] === 0x00 ? s.subarray(1) : s; + const rPadded = Buffer.concat([Buffer.alloc(32 - r.length), r]); + const sPadded = Buffer.concat([Buffer.alloc(32 - s.length), s]); + return Buffer.concat([rPadded, sPadded]); + } + createDPoPInterceptor(middlewareStack) { + middlewareStack.add((next) => async (args) => { + if (protocols.HttpRequest.isInstance(args.request)) { + const request = args.request; + const actualEndpoint = `${request.protocol}//${request.hostname}${request.port ? `:${request.port}` : ""}${request.path}`; + const dpop = await this.generateDpop(request.method, actualEndpoint); + request.headers = { + ...request.headers, + DPoP: dpop, + }; + } + return next(args); + }, { + step: "finalizeRequest", + name: "dpopInterceptor", + override: true, + }); + } + async generateDpop(method = "POST", endpoint) { + const token = await this.loadToken(); + try { + const privateKey = node_crypto.createPrivateKey({ + key: token.dpopKey, + format: "pem", + type: "sec1", + }); + const publicKey = node_crypto.createPublicKey(privateKey); + const publicDer = publicKey.export({ format: "der", type: "spki" }); + let pointStart = -1; + for (let i = 0; i < publicDer.length; i++) { + if (publicDer[i] === 0x04) { + pointStart = i; + break; + } + } + const x = publicDer.slice(pointStart + 1, pointStart + 33); + const y = publicDer.slice(pointStart + 33, pointStart + 65); + const header = { + alg: "ES256", + typ: "dpop+jwt", + jwk: { + kty: "EC", + crv: "P-256", + x: x.toString("base64url"), + y: y.toString("base64url"), + }, + }; + const payload = { + jti: crypto.randomUUID(), + htm: method, + htu: endpoint, + iat: Math.floor(Date.now() / 1000), + }; + const headerB64 = Buffer.from(JSON.stringify(header)).toString("base64url"); + const payloadB64 = Buffer.from(JSON.stringify(payload)).toString("base64url"); + const message = `${headerB64}.${payloadB64}`; + const asn1Signature = node_crypto.sign("sha256", Buffer.from(message), privateKey); + const rawSignature = this.derToRawSignature(asn1Signature); + const signatureB64 = rawSignature.toString("base64url"); + return `${message}.${signatureB64}`; + } + catch (error) { + throw new config.CredentialsProviderError(`Failed to generate Dpop proof: ${error instanceof Error ? error.message : String(error)}`, { logger: this.logger, tryNextLink: false }); + } + } +} + +const fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => { + init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials"); + const profiles = await config.parseKnownFiles(init || {}); + const profileName = config.getProfileName({ + profile: init?.profile ?? callerClientConfig?.profile, + }); + const profile = profiles[profileName]; + if (!profile?.login_session) { + throw new config.CredentialsProviderError(`Profile ${profileName} does not contain login_session.`, { + tryNextLink: true, + logger: init?.logger, + }); + } + const fetcher = new LoginCredentialsFetcher(profile, init, callerClientConfig); + const credentials = await fetcher.loadCredentials(); + return client.setCredentialFeature(credentials, "CREDENTIALS_LOGIN", "AD"); +}; + +exports.fromLoginCredentials = fromLoginCredentials; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/956.index.js b/actions/release-secrets/ssm/dist/956.index.js new file mode 100644 index 0000000..afd6f5b --- /dev/null +++ b/actions/release-secrets/ssm/dist/956.index.js @@ -0,0 +1,117 @@ +"use strict"; +exports.id = 956; +exports.ids = [956]; +exports.modules = { + +/***/ 8079: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromTokenFile = void 0; +const client_1 = __webpack_require__(5152); +const config_1 = __webpack_require__(7291); +const node_fs_1 = __webpack_require__(3024); +const fromWebToken_1 = __webpack_require__(4453); +const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE"; +const ENV_ROLE_ARN = "AWS_ROLE_ARN"; +const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME"; +const fromTokenFile = (init = {}) => async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile"); + const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE]; + const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN]; + const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME]; + if (!webIdentityTokenFile || !roleArn) { + throw new config_1.CredentialsProviderError("Web identity configuration not specified", { + logger: init.logger, + }); + } + const credentials = await (0, fromWebToken_1.fromWebToken)({ + ...init, + webIdentityToken: config_1.externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ?? + (0, node_fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }), + roleArn, + roleSessionName, + })(awsIdentityProperties); + if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) { + (0, client_1.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h"); + } + return credentials; +}; +exports.fromTokenFile = fromTokenFile; + + +/***/ }), + +/***/ 4453: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromWebToken = void 0; +const fromWebToken = (init) => async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken"); + const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init; + let { roleAssumerWithWebIdentity } = init; + if (!roleAssumerWithWebIdentity) { + const { getDefaultRoleAssumerWithWebIdentity } = await __webpack_require__.e(/* import() */ 136).then(__webpack_require__.t.bind(__webpack_require__, 1136, 19)); + roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({ + ...init.clientConfig, + credentialProviderLogger: init.logger, + parentClientConfig: { + ...awsIdentityProperties?.callerClientConfig, + ...init.parentClientConfig, + }, + }, init.clientPlugins); + } + return roleAssumerWithWebIdentity({ + RoleArn: roleArn, + RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`, + WebIdentityToken: webIdentityToken, + ProviderId: providerId, + PolicyArns: policyArns, + Policy: policy, + DurationSeconds: durationSeconds, + }); +}; +exports.fromWebToken = fromWebToken; + + +/***/ }), + +/***/ 9956: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var fromTokenFile = __webpack_require__(8079); +var fromWebToken = __webpack_require__(4453); + + + +Object.prototype.hasOwnProperty.call(fromTokenFile, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: fromTokenFile['__proto__'] + }); + +Object.keys(fromTokenFile).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = fromTokenFile[k]; +}); +Object.prototype.hasOwnProperty.call(fromWebToken, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: fromWebToken['__proto__'] + }); + +Object.keys(fromWebToken).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = fromWebToken[k]; +}); + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/998.index.js b/actions/release-secrets/ssm/dist/998.index.js new file mode 100644 index 0000000..ec3eb8e --- /dev/null +++ b/actions/release-secrets/ssm/dist/998.index.js @@ -0,0 +1,866 @@ +"use strict"; +exports.id = 998; +exports.ids = [998]; +exports.modules = { + +/***/ 998: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +var __webpack_unused_export__; + + +var config = __webpack_require__(7291); +var client = __webpack_require__(5152); +var tokenProviders = __webpack_require__(5433); + +const isSsoProfile = (arg) => arg && + (typeof arg.sso_start_url === "string" || + typeof arg.sso_account_id === "string" || + typeof arg.sso_session === "string" || + typeof arg.sso_region === "string" || + typeof arg.sso_role_name === "string"); + +const SHOULD_FAIL_CREDENTIAL_CHAIN = false; +const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }) => { + let token; + const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`; + if (ssoSession) { + try { + const _token = await tokenProviders.fromSso({ + profile, + filepath, + configFilepath, + ignoreCache, + clientConfig, + parentClientConfig, + logger, + })({ callerClientConfig }); + token = { + accessToken: _token.token, + expiresAt: new Date(_token.expiration).toISOString(), + }; + } + catch (e) { + throw new config.CredentialsProviderError(e.message, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + } + else { + try { + token = await config.getSSOTokenFromFile(ssoStartUrl); + } + catch (e) { + throw new config.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + } + if (new Date(token.expiresAt).getTime() - Date.now() <= 0) { + throw new config.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const { accessToken } = token; + const { SSOClient, GetRoleCredentialsCommand } = await Promise.resolve().then(function () { return __webpack_require__(1853); }); + const sso = ssoClient || + new SSOClient(Object.assign({}, clientConfig ?? {}, { + logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger, + region: clientConfig?.region ?? ssoRegion, + userAgentAppId: clientConfig?.userAgentAppId ?? callerClientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId, + })); + let ssoResp; + try { + ssoResp = await sso.send(new GetRoleCredentialsCommand({ + accountId: ssoAccountId, + roleName: ssoRoleName, + accessToken, + })); + } + catch (e) { + throw new config.CredentialsProviderError(e, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}, } = ssoResp; + if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) { + throw new config.CredentialsProviderError("SSO returns an invalid temporary credential.", { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const credentials = { + accessKeyId, + secretAccessKey, + sessionToken, + expiration: new Date(expiration), + ...(credentialScope && { credentialScope }), + ...(accountId && { accountId }), + }; + if (ssoSession) { + client.setCredentialFeature(credentials, "CREDENTIALS_SSO", "s"); + } + else { + client.setCredentialFeature(credentials, "CREDENTIALS_SSO_LEGACY", "u"); + } + return credentials; +}; + +const validateSsoProfile = (profile, logger) => { + const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile; + if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) { + throw new config.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", ` + + `"sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(profile).join(", ")}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`, { tryNextLink: false, logger }); + } + return profile; +}; + +const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO"); + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; + const { ssoClient } = init; + const profileName = config.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }); + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + const profiles = await config.parseKnownFiles(init); + const profile = profiles[profileName]; + if (!profile) { + throw new config.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger }); + } + if (!isSsoProfile(profile)) { + throw new config.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, { + logger: init.logger, + }); + } + if (profile?.sso_session) { + const ssoSessions = await config.loadSsoSessionData(init); + const session = ssoSessions[profile.sso_session]; + const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`; + if (ssoRegion && ssoRegion !== session.sso_region) { + throw new config.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, { + tryNextLink: false, + logger: init.logger, + }); + } + if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) { + throw new config.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, { + tryNextLink: false, + logger: init.logger, + }); + } + profile.sso_region = session.sso_region; + profile.sso_start_url = session.sso_start_url; + } + const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(profile, init.logger); + return resolveSSOCredentials({ + ssoStartUrl: sso_start_url, + ssoSession: sso_session, + ssoAccountId: sso_account_id, + ssoRegion: sso_region, + ssoRoleName: sso_role_name, + ssoClient: ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + callerClientConfig: init.callerClientConfig, + profile: profileName, + filepath: init.filepath, + configFilepath: init.configFilepath, + ignoreCache: init.ignoreCache, + logger: init.logger, + }); + } + else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) { + throw new config.CredentialsProviderError("Incomplete configuration. The fromSSO() argument hash must include " + + '"ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"', { tryNextLink: false, logger: init.logger }); + } + else { + return resolveSSOCredentials({ + ssoStartUrl, + ssoSession, + ssoAccountId, + ssoRegion, + ssoRoleName, + ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + callerClientConfig: init.callerClientConfig, + profile: profileName, + filepath: init.filepath, + configFilepath: init.configFilepath, + ignoreCache: init.ignoreCache, + logger: init.logger, + }); + } +}; + +exports.fromSSO = fromSSO; +__webpack_unused_export__ = isSsoProfile; +__webpack_unused_export__ = validateSsoProfile; + + +/***/ }), + +/***/ 1853: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var sso = __webpack_require__(2579); + + + +exports.GetRoleCredentialsCommand = sso.GetRoleCredentialsCommand; +exports.SSOClient = sso.SSOClient; + + +/***/ }), + +/***/ 2579: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var client$1 = __webpack_require__(5152); +var core = __webpack_require__(402); +var client = __webpack_require__(2658); +var config = __webpack_require__(7291); +var endpoints = __webpack_require__(2085); +var protocols = __webpack_require__(3422); +var retry = __webpack_require__(3609); +var schema = __webpack_require__(6890); +var httpAuthSchemes = __webpack_require__(7523); +var serde = __webpack_require__(2430); +var nodeHttpHandler = __webpack_require__(1279); +var protocols$1 = __webpack_require__(7288); + +const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: client.getSmithyContext(context).operation, + region: await client.normalizeProvider(config.region)() || (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; +}; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "awsssoportal", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSSOHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "GetRoleCredentials": { + options.push(createSmithyApiNoAuthHttpAuthOption()); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = httpAuthSchemes.resolveAwsSdkSigV4Config(config); + return Object.assign(config_0, { + authSchemePreference: client.normalizeProvider(config.authSchemePreference ?? []), + }); +}; + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "awsssoportal", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +var version = "3.997.19"; +var packageInfo = { + version: version}; + +const k = "ref"; +const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }]; +const _data = { + conditions: [ + [c, [g]], + [c, j], + ["aws.partition", j, d], + [e, [{ [k]: "UseFIPS" }, b]], + [e, [{ [k]: "UseDualStack" }, b]], + [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]], + [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]], + ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]] + ], + results: [ + [a], + [a, "Invalid Configuration: FIPS and custom endpoint are not supported"], + [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"], + [g, i], + ["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i], + [a, "FIPS and DualStack are enabled, but this partition does not support one or both"], + ["https://portal.sso.{Region}.amazonaws.com", i], + ["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", i], + [a, "FIPS is enabled but this partition does not support FIPS"], + ["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", i], + [a, "DualStack is enabled but this partition does not support DualStack"], + ["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", i], + [a, "Invalid Configuration: Missing Region"] + ] +}; +const root = 2; +const r = 100_000_000; +const nodes = new Int32Array([ + -1, 1, -1, + 0, 13, 3, + 1, 4, r + 12, + 2, 5, r + 12, + 3, 8, 6, + 4, 7, r + 11, + 5, r + 9, r + 10, + 4, 11, 9, + 6, 10, r + 8, + 7, r + 6, r + 7, + 5, 12, r + 5, + 6, r + 4, r + 5, + 3, r + 1, 14, + 4, r + 2, r + 3, +]); +const bdd = endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); + +const cache = new endpoints.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => endpoints.decideEndpoint(bdd, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +endpoints.customEndpointFunctions.aws = client$1.awsEndpointFunctions; + +class SSOServiceException extends client.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SSOServiceException.prototype); + } +} + +class InvalidRequestException extends SSOServiceException { + name = "InvalidRequestException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequestException.prototype); + } +} +class ResourceNotFoundException extends SSOServiceException { + name = "ResourceNotFoundException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ResourceNotFoundException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ResourceNotFoundException.prototype); + } +} +class TooManyRequestsException extends SSOServiceException { + name = "TooManyRequestsException"; + $fault = "client"; + constructor(opts) { + super({ + name: "TooManyRequestsException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsException.prototype); + } +} +class UnauthorizedException extends SSOServiceException { + name = "UnauthorizedException"; + $fault = "client"; + constructor(opts) { + super({ + name: "UnauthorizedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedException.prototype); + } +} + +const _ATT = "AccessTokenType"; +const _GRC = "GetRoleCredentials"; +const _GRCR = "GetRoleCredentialsRequest"; +const _GRCRe = "GetRoleCredentialsResponse"; +const _IRE = "InvalidRequestException"; +const _RC = "RoleCredentials"; +const _RNFE = "ResourceNotFoundException"; +const _SAKT = "SecretAccessKeyType"; +const _STT = "SessionTokenType"; +const _TMRE = "TooManyRequestsException"; +const _UE = "UnauthorizedException"; +const _aI = "accountId"; +const _aKI = "accessKeyId"; +const _aT = "accessToken"; +const _ai = "account_id"; +const _c = "client"; +const _e = "error"; +const _ex = "expiration"; +const _h = "http"; +const _hE = "httpError"; +const _hH = "httpHeader"; +const _hQ = "httpQuery"; +const _m = "message"; +const _rC = "roleCredentials"; +const _rN = "roleName"; +const _rn = "role_name"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso"; +const _sAK = "secretAccessKey"; +const _sT = "sessionToken"; +const _xasbt = "x-amz-sso_bearer_token"; +const n0 = "com.amazonaws.sso"; +const _s_registry = schema.TypeRegistry.for(_s); +var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []]; +_s_registry.registerError(SSOServiceException$, SSOServiceException); +const n0_registry = schema.TypeRegistry.for(n0); +var InvalidRequestException$ = [-3, n0, _IRE, + { [_e]: _c, [_hE]: 400 }, + [_m], + [0] +]; +n0_registry.registerError(InvalidRequestException$, InvalidRequestException); +var ResourceNotFoundException$ = [-3, n0, _RNFE, + { [_e]: _c, [_hE]: 404 }, + [_m], + [0] +]; +n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException); +var TooManyRequestsException$ = [-3, n0, _TMRE, + { [_e]: _c, [_hE]: 429 }, + [_m], + [0] +]; +n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException); +var UnauthorizedException$ = [-3, n0, _UE, + { [_e]: _c, [_hE]: 401 }, + [_m], + [0] +]; +n0_registry.registerError(UnauthorizedException$, UnauthorizedException); +const errorTypeRegistries = [ + _s_registry, + n0_registry, +]; +var AccessTokenType = [0, n0, _ATT, 8, 0]; +var SecretAccessKeyType = [0, n0, _SAKT, 8, 0]; +var SessionTokenType = [0, n0, _STT, 8, 0]; +var GetRoleCredentialsRequest$ = [3, n0, _GRCR, + 0, + [_rN, _aI, _aT], + [[0, { [_hQ]: _rn }], [0, { [_hQ]: _ai }], [() => AccessTokenType, { [_hH]: _xasbt }]], 3 +]; +var GetRoleCredentialsResponse$ = [3, n0, _GRCRe, + 0, + [_rC], + [[() => RoleCredentials$, 0]] +]; +var RoleCredentials$ = [3, n0, _RC, + 0, + [_aKI, _sAK, _sT, _ex], + [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1] +]; +var GetRoleCredentials$ = [9, n0, _GRC, + { [_h]: ["GET", "/federation/credentials", 200] }, () => GetRoleCredentialsRequest$, () => GetRoleCredentialsResponse$ +]; + +const getRuntimeConfig$1 = (config) => { + return { + apiVersion: "2019-06-10", + base64Decoder: config?.base64Decoder ?? serde.fromBase64, + base64Encoder: config?.base64Encoder ?? serde.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new client.NoOpLogger(), + protocol: config?.protocol ?? protocols$1.AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.sso", + errorTypeRegistries, + version: "2019-06-10", + serviceTarget: "SWBPortalService", + }, + serviceId: config?.serviceId ?? "SSO", + urlParser: config?.urlParser ?? protocols.parseUrl, + utf8Decoder: config?.utf8Decoder ?? serde.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? serde.toUtf8, + }; +}; + +const getRuntimeConfig = (config$1) => { + client.emitWarningIfUnsupportedVersion(process.version); + const defaultsMode = config.resolveDefaultsModeConfig(config$1); + const defaultConfigProvider = () => defaultsMode().then(client.loadConfigsForDefaultMode); + const clientSharedValues = getRuntimeConfig$1(config$1); + client$1.emitWarningIfUnsupportedVersion(process.version); + const loaderConfig = { + profile: config$1?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config$1, + runtime: "node", + defaultsMode, + authSchemePreference: config$1?.authSchemePreference ?? config.loadConfig(httpAuthSchemes.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config$1?.bodyLengthChecker ?? serde.calculateBodyLength, + defaultUserAgentProvider: config$1?.defaultUserAgentProvider ?? client$1.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config$1?.maxAttempts ?? config.loadConfig(retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config$1), + region: config$1?.region ?? config.loadConfig(config.NODE_REGION_CONFIG_OPTIONS, { ...config.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + requestHandler: nodeHttpHandler.NodeHttpHandler.create(config$1?.requestHandler ?? defaultConfigProvider), + retryMode: config$1?.retryMode ?? + config.loadConfig({ + ...retry.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || retry.DEFAULT_RETRY_MODE, + }, config$1), + sha256: config$1?.sha256 ?? serde.Hash.bind(null, "sha256"), + streamCollector: config$1?.streamCollector ?? nodeHttpHandler.streamCollector, + useDualstackEndpoint: config$1?.useDualstackEndpoint ?? config.loadConfig(config.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + useFipsEndpoint: config$1?.useFipsEndpoint ?? config.loadConfig(config.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config$1?.userAgentAppId ?? config.loadConfig(client$1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; + +const getHttpAuthExtensionConfiguration = (runtimeConfig) => { + const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; + let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; + let _credentials = runtimeConfig.credentials; + return { + setHttpAuthScheme(httpAuthScheme) { + const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); + if (index === -1) { + _httpAuthSchemes.push(httpAuthScheme); + } + else { + _httpAuthSchemes.splice(index, 1, httpAuthScheme); + } + }, + httpAuthSchemes() { + return _httpAuthSchemes; + }, + setHttpAuthSchemeProvider(httpAuthSchemeProvider) { + _httpAuthSchemeProvider = httpAuthSchemeProvider; + }, + httpAuthSchemeProvider() { + return _httpAuthSchemeProvider; + }, + setCredentials(credentials) { + _credentials = credentials; + }, + credentials() { + return _credentials; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class SSOClient extends client.Client { + config; + constructor(...[configuration]) { + const _config_0 = getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = client$1.resolveUserAgentConfig(_config_1); + const _config_3 = retry.resolveRetryConfig(_config_2); + const _config_4 = config.resolveRegionConfig(_config_3); + const _config_5 = client$1.resolveHostHeaderConfig(_config_4); + const _config_6 = endpoints.resolveEndpointConfig(_config_5); + const _config_7 = resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); + this.middlewareStack.use(retry.getRetryPlugin(this.config)); + this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); + this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); + this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class GetRoleCredentialsCommand extends client.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("SWBPortalService", "GetRoleCredentials", {}) + .n("SSOClient", "GetRoleCredentialsCommand") + .sc(GetRoleCredentials$) + .build() { +} + +const commands = { + GetRoleCredentialsCommand, +}; +class SSO extends SSOClient { +} +client.createAggregatedClient(commands, SSO); + +exports.$Command = client.Command; +exports.__Client = client.Client; +exports.GetRoleCredentials$ = GetRoleCredentials$; +exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand; +exports.GetRoleCredentialsRequest$ = GetRoleCredentialsRequest$; +exports.GetRoleCredentialsResponse$ = GetRoleCredentialsResponse$; +exports.InvalidRequestException = InvalidRequestException; +exports.InvalidRequestException$ = InvalidRequestException$; +exports.ResourceNotFoundException = ResourceNotFoundException; +exports.ResourceNotFoundException$ = ResourceNotFoundException$; +exports.RoleCredentials$ = RoleCredentials$; +exports.SSO = SSO; +exports.SSOClient = SSOClient; +exports.SSOServiceException = SSOServiceException; +exports.SSOServiceException$ = SSOServiceException$; +exports.TooManyRequestsException = TooManyRequestsException; +exports.TooManyRequestsException$ = TooManyRequestsException$; +exports.UnauthorizedException = UnauthorizedException; +exports.UnauthorizedException$ = UnauthorizedException$; +exports.errorTypeRegistries = errorTypeRegistries; + + +/***/ }), + +/***/ 5433: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var client = __webpack_require__(5152); +var httpAuthSchemes = __webpack_require__(7523); +var config = __webpack_require__(7291); +var node_fs = __webpack_require__(3024); + +const fromEnvSigningName = ({ logger, signingName } = {}) => async () => { + logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"); + if (!signingName) { + throw new config.TokenProviderError("Please pass 'signingName' to compute environment variable key", { logger }); + } + const bearerTokenKey = httpAuthSchemes.getBearerTokenEnvKey(signingName); + if (!(bearerTokenKey in process.env)) { + throw new config.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger }); + } + const token = { token: process.env[bearerTokenKey] }; + client.setTokenFeature(token, "BEARER_SERVICE_ENV_VARS", "3"); + return token; +}; + +const EXPIRE_WINDOW_MS = 5 * 60 * 1000; +const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`; + +const getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => { + const { SSOOIDCClient } = await __webpack_require__.e(/* import() */ 443).then(__webpack_require__.t.bind(__webpack_require__, 9443, 19)); + const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop]; + const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, { + region: ssoRegion ?? init.clientConfig?.region, + logger: coalesce("logger"), + userAgentAppId: coalesce("userAgentAppId"), + })); + return ssoOidcClient; +}; + +const getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => { + const { CreateTokenCommand } = await __webpack_require__.e(/* import() */ 443).then(__webpack_require__.t.bind(__webpack_require__, 9443, 19)); + const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig); + return ssoOidcClient.send(new CreateTokenCommand({ + clientId: ssoToken.clientId, + clientSecret: ssoToken.clientSecret, + refreshToken: ssoToken.refreshToken, + grantType: "refresh_token", + })); +}; + +const validateTokenExpiry = (token) => { + if (token.expiration && token.expiration.getTime() < Date.now()) { + throw new config.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false); + } +}; + +const validateTokenKey = (key, value, forRefresh = false) => { + if (typeof value === "undefined") { + throw new config.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false); + } +}; + +const { writeFile } = node_fs.promises; +const writeSSOTokenToFile = (id, ssoToken) => { + const tokenFilepath = config.getSSOTokenFilepath(id); + const tokenString = JSON.stringify(ssoToken, null, 2); + return writeFile(tokenFilepath, tokenString); +}; + +const lastRefreshAttemptTime = new Date(0); +const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/token-providers - fromSso"); + const profiles = await config.parseKnownFiles(init); + const profileName = config.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }); + const profile = profiles[profileName]; + if (!profile) { + throw new config.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false); + } + else if (!profile["sso_session"]) { + throw new config.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`); + } + const ssoSessionName = profile["sso_session"]; + const ssoSessions = await config.loadSsoSessionData(init); + const ssoSession = ssoSessions[ssoSessionName]; + if (!ssoSession) { + throw new config.TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false); + } + for (const ssoSessionRequiredKey of ["sso_start_url", "sso_region"]) { + if (!ssoSession[ssoSessionRequiredKey]) { + throw new config.TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false); + } + } + ssoSession["sso_start_url"]; + const ssoRegion = ssoSession["sso_region"]; + let ssoToken; + try { + ssoToken = await config.getSSOTokenFromFile(ssoSessionName); + } + catch (e) { + throw new config.TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, false); + } + validateTokenKey("accessToken", ssoToken.accessToken); + validateTokenKey("expiresAt", ssoToken.expiresAt); + const { accessToken, expiresAt } = ssoToken; + const existingToken = { token: accessToken, expiration: new Date(expiresAt) }; + if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) { + return existingToken; + } + if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1000) { + validateTokenExpiry(existingToken); + return existingToken; + } + validateTokenKey("clientId", ssoToken.clientId, true); + validateTokenKey("clientSecret", ssoToken.clientSecret, true); + validateTokenKey("refreshToken", ssoToken.refreshToken, true); + try { + lastRefreshAttemptTime.setTime(Date.now()); + const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig); + validateTokenKey("accessToken", newSsoOidcToken.accessToken); + validateTokenKey("expiresIn", newSsoOidcToken.expiresIn); + const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000); + try { + await writeSSOTokenToFile(ssoSessionName, { + ...ssoToken, + accessToken: newSsoOidcToken.accessToken, + expiresAt: newTokenExpiration.toISOString(), + refreshToken: newSsoOidcToken.refreshToken, + }); + } + catch (error) { + } + return { + token: newSsoOidcToken.accessToken, + expiration: newTokenExpiration, + }; + } + catch (error) { + validateTokenExpiry(existingToken); + return existingToken; + } +}; + +const fromStatic = ({ token, logger }) => async () => { + logger?.debug("@aws-sdk/token-providers - fromStatic"); + if (!token || !token.token) { + throw new config.TokenProviderError(`Please pass a valid token to fromStatic`, false); + } + return token; +}; + +const nodeProvider = (init = {}) => config.memoize(config.chain(fromSso(init), async () => { + throw new config.TokenProviderError("Could not load token from any providers", false); +}), (token) => token.expiration !== undefined && token.expiration.getTime() - Date.now() < 300000, (token) => token.expiration !== undefined); + +exports.fromEnvSigningName = fromEnvSigningName; +exports.fromSso = fromSso; +exports.fromStatic = fromStatic; +exports.nodeProvider = nodeProvider; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/actions/release-secrets/ssm/dist/index.js b/actions/release-secrets/ssm/dist/index.js new file mode 100644 index 0000000..0bf06be --- /dev/null +++ b/actions/release-secrets/ssm/dist/index.js @@ -0,0 +1,3 @@ +(()=>{var e={4411:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveHttpAuthSchemeConfig=t.defaultSSMHttpAuthSchemeProvider=t.defaultSSMHttpAuthSchemeParametersProvider=void 0;const o=n(7523);const i=n(2658);const defaultSSMHttpAuthSchemeParametersProvider=async(e,t,n)=>({operation:(0,i.getSmithyContext)(t).operation,region:await(0,i.normalizeProvider)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});t.defaultSSMHttpAuthSchemeParametersProvider=defaultSSMHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"ssm",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}const defaultSSMHttpAuthSchemeProvider=e=>{const t=[];switch(e.operation){default:{t.push(createAwsAuthSigv4HttpAuthOption(e))}}return t};t.defaultSSMHttpAuthSchemeProvider=defaultSSMHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=e=>{const t=(0,o.resolveAwsSdkSigV4Config)(e);return Object.assign(t,{authSchemePreference:(0,i.normalizeProvider)(e.authSchemePreference??[])})};t.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},354:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.bdd=void 0;const o=n(2085);const i="ref";const a=-1,d=true,h="isSet",m="PartitionResult",f="booleanEquals",Q="getAttr",k={[i]:"Endpoint"},P={[i]:m},L={},U=[{[i]:"Region"}];const H={conditions:[[h,[k]],[h,U],["aws.partition",U,m],[f,[{[i]:"UseFIPS"},d]],[f,[{[i]:"UseDualStack"},d]],[f,[{fn:Q,argv:[P,"supportsDualStack"]},d]],[f,[{fn:Q,argv:[P,"supportsFIPS"]},d]],["stringEquals",[{fn:Q,argv:[P,"name"]},"aws-us-gov"]]],results:[[a],[a,"Invalid Configuration: FIPS and custom endpoint are not supported"],[a,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[k,L],["https://ssm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",L],[a,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://ssm.{Region}.amazonaws.com",L],["https://ssm-fips.{Region}.{PartitionResult#dnsSuffix}",L],[a,"FIPS is enabled but this partition does not support FIPS"],["https://ssm.{Region}.{PartitionResult#dualStackDnsSuffix}",L],[a,"DualStack is enabled but this partition does not support DualStack"],["https://ssm.{Region}.{PartitionResult#dnsSuffix}",L],[a,"Invalid Configuration: Missing Region"]]};const V=2;const _=1e8;const W=new Int32Array([-1,1,-1,0,13,3,1,4,_+12,2,5,_+12,3,8,6,4,7,_+11,5,_+9,_+10,4,11,9,6,10,_+8,7,_+6,_+7,5,12,_+5,6,_+4,_+5,3,_+1,14,4,_+2,_+3]);t.bdd=o.BinaryDecisionDiagram.from(W,V,H.conditions,H.results)},485:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultEndpointResolver=void 0;const o=n(5152);const i=n(2085);const a=n(354);const d=new i.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]});const defaultEndpointResolver=(e,t={})=>d.get(e,()=>(0,i.decideEndpoint)(a.bdd,{endpointParams:e,logger:t.logger}));t.defaultEndpointResolver=defaultEndpointResolver;i.customEndpointFunctions.aws=o.awsEndpointFunctions},4736:(e,t,n)=>{"use strict";var o=n(5152);var i=n(402);var a=n(2658);var d=n(7291);var h=n(2085);var m=n(3422);var f=n(3609);var Q=n(6890);var k=n(4411);var P=n(9282);var L=n(5556);var U=n(4392);var H=n(5390);const resolveClientEndpointParameters=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??false,useFipsEndpoint:e.useFipsEndpoint??false,defaultSigningName:"ssm"});const V={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};const getHttpAuthExtensionConfiguration=e=>{const t=e.httpAuthSchemes;let n=e.httpAuthSchemeProvider;let o=e.credentials;return{setHttpAuthScheme(e){const n=t.findIndex(t=>t.schemeId===e.schemeId);if(n===-1){t.push(e)}else{t.splice(n,1,e)}},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){o=e},credentials(){return o}}};const resolveHttpAuthRuntimeConfig=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});const resolveRuntimeExtensions=(e,t)=>{const n=Object.assign(o.getAwsRegionExtensionConfiguration(e),a.getDefaultExtensionConfiguration(e),m.getHttpHandlerExtensionConfiguration(e),getHttpAuthExtensionConfiguration(e));t.forEach(e=>e.configure(n));return Object.assign(e,o.resolveAwsRegionExtensionConfiguration(n),a.resolveDefaultRuntimeConfig(n),m.resolveHttpHandlerRuntimeConfig(n),resolveHttpAuthRuntimeConfig(n))};class SSMClient extends a.Client{config;constructor(...[e]){const t=P.getRuntimeConfig(e||{});super(t);this.initConfig=t;const n=resolveClientEndpointParameters(t);const a=o.resolveUserAgentConfig(n);const L=f.resolveRetryConfig(a);const U=d.resolveRegionConfig(L);const H=o.resolveHostHeaderConfig(U);const V=h.resolveEndpointConfig(H);const _=k.resolveHttpAuthSchemeConfig(V);const W=resolveRuntimeExtensions(_,e?.extensions||[]);this.config=W;this.middlewareStack.use(Q.getSchemaSerdePlugin(this.config));this.middlewareStack.use(o.getUserAgentPlugin(this.config));this.middlewareStack.use(f.getRetryPlugin(this.config));this.middlewareStack.use(m.getContentLengthPlugin(this.config));this.middlewareStack.use(o.getHostHeaderPlugin(this.config));this.middlewareStack.use(o.getLoggerPlugin(this.config));this.middlewareStack.use(o.getRecursionDetectionPlugin(this.config));this.middlewareStack.use(i.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:k.defaultSSMHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async e=>new i.DefaultIdentityProviderConfig({"aws.auth#sigv4":e.credentials})}));this.middlewareStack.use(i.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class AddTagsToResourceCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","AddTagsToResource",{}).n("SSMClient","AddTagsToResourceCommand").sc(L.AddTagsToResource$).build()){}class AssociateOpsItemRelatedItemCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","AssociateOpsItemRelatedItem",{}).n("SSMClient","AssociateOpsItemRelatedItemCommand").sc(L.AssociateOpsItemRelatedItem$).build()){}class CancelCommandCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CancelCommand",{}).n("SSMClient","CancelCommandCommand").sc(L.CancelCommand$).build()){}class CancelMaintenanceWindowExecutionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CancelMaintenanceWindowExecution",{}).n("SSMClient","CancelMaintenanceWindowExecutionCommand").sc(L.CancelMaintenanceWindowExecution$).build()){}class CreateActivationCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CreateActivation",{}).n("SSMClient","CreateActivationCommand").sc(L.CreateActivation$).build()){}class CreateAssociationBatchCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CreateAssociationBatch",{}).n("SSMClient","CreateAssociationBatchCommand").sc(L.CreateAssociationBatch$).build()){}class CreateAssociationCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CreateAssociation",{}).n("SSMClient","CreateAssociationCommand").sc(L.CreateAssociation$).build()){}class CreateDocumentCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CreateDocument",{}).n("SSMClient","CreateDocumentCommand").sc(L.CreateDocument$).build()){}class CreateMaintenanceWindowCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CreateMaintenanceWindow",{}).n("SSMClient","CreateMaintenanceWindowCommand").sc(L.CreateMaintenanceWindow$).build()){}class CreateOpsItemCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CreateOpsItem",{}).n("SSMClient","CreateOpsItemCommand").sc(L.CreateOpsItem$).build()){}class CreateOpsMetadataCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CreateOpsMetadata",{}).n("SSMClient","CreateOpsMetadataCommand").sc(L.CreateOpsMetadata$).build()){}class CreatePatchBaselineCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CreatePatchBaseline",{}).n("SSMClient","CreatePatchBaselineCommand").sc(L.CreatePatchBaseline$).build()){}class CreateResourceDataSyncCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","CreateResourceDataSync",{}).n("SSMClient","CreateResourceDataSyncCommand").sc(L.CreateResourceDataSync$).build()){}class DeleteActivationCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteActivation",{}).n("SSMClient","DeleteActivationCommand").sc(L.DeleteActivation$).build()){}class DeleteAssociationCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteAssociation",{}).n("SSMClient","DeleteAssociationCommand").sc(L.DeleteAssociation$).build()){}class DeleteDocumentCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteDocument",{}).n("SSMClient","DeleteDocumentCommand").sc(L.DeleteDocument$).build()){}class DeleteInventoryCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteInventory",{}).n("SSMClient","DeleteInventoryCommand").sc(L.DeleteInventory$).build()){}class DeleteMaintenanceWindowCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteMaintenanceWindow",{}).n("SSMClient","DeleteMaintenanceWindowCommand").sc(L.DeleteMaintenanceWindow$).build()){}class DeleteOpsItemCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteOpsItem",{}).n("SSMClient","DeleteOpsItemCommand").sc(L.DeleteOpsItem$).build()){}class DeleteOpsMetadataCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteOpsMetadata",{}).n("SSMClient","DeleteOpsMetadataCommand").sc(L.DeleteOpsMetadata$).build()){}class DeleteParameterCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteParameter",{}).n("SSMClient","DeleteParameterCommand").sc(L.DeleteParameter$).build()){}class DeleteParametersCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteParameters",{}).n("SSMClient","DeleteParametersCommand").sc(L.DeleteParameters$).build()){}class DeletePatchBaselineCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeletePatchBaseline",{}).n("SSMClient","DeletePatchBaselineCommand").sc(L.DeletePatchBaseline$).build()){}class DeleteResourceDataSyncCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteResourceDataSync",{}).n("SSMClient","DeleteResourceDataSyncCommand").sc(L.DeleteResourceDataSync$).build()){}class DeleteResourcePolicyCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeleteResourcePolicy",{}).n("SSMClient","DeleteResourcePolicyCommand").sc(L.DeleteResourcePolicy$).build()){}class DeregisterManagedInstanceCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeregisterManagedInstance",{}).n("SSMClient","DeregisterManagedInstanceCommand").sc(L.DeregisterManagedInstance$).build()){}class DeregisterPatchBaselineForPatchGroupCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeregisterPatchBaselineForPatchGroup",{}).n("SSMClient","DeregisterPatchBaselineForPatchGroupCommand").sc(L.DeregisterPatchBaselineForPatchGroup$).build()){}class DeregisterTargetFromMaintenanceWindowCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeregisterTargetFromMaintenanceWindow",{}).n("SSMClient","DeregisterTargetFromMaintenanceWindowCommand").sc(L.DeregisterTargetFromMaintenanceWindow$).build()){}class DeregisterTaskFromMaintenanceWindowCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DeregisterTaskFromMaintenanceWindow",{}).n("SSMClient","DeregisterTaskFromMaintenanceWindowCommand").sc(L.DeregisterTaskFromMaintenanceWindow$).build()){}class DescribeActivationsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeActivations",{}).n("SSMClient","DescribeActivationsCommand").sc(L.DescribeActivations$).build()){}class DescribeAssociationCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeAssociation",{}).n("SSMClient","DescribeAssociationCommand").sc(L.DescribeAssociation$).build()){}class DescribeAssociationExecutionsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeAssociationExecutions",{}).n("SSMClient","DescribeAssociationExecutionsCommand").sc(L.DescribeAssociationExecutions$).build()){}class DescribeAssociationExecutionTargetsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeAssociationExecutionTargets",{}).n("SSMClient","DescribeAssociationExecutionTargetsCommand").sc(L.DescribeAssociationExecutionTargets$).build()){}class DescribeAutomationExecutionsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeAutomationExecutions",{}).n("SSMClient","DescribeAutomationExecutionsCommand").sc(L.DescribeAutomationExecutions$).build()){}class DescribeAutomationStepExecutionsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeAutomationStepExecutions",{}).n("SSMClient","DescribeAutomationStepExecutionsCommand").sc(L.DescribeAutomationStepExecutions$).build()){}class DescribeAvailablePatchesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeAvailablePatches",{}).n("SSMClient","DescribeAvailablePatchesCommand").sc(L.DescribeAvailablePatches$).build()){}class DescribeDocumentCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeDocument",{}).n("SSMClient","DescribeDocumentCommand").sc(L.DescribeDocument$).build()){}class DescribeDocumentPermissionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeDocumentPermission",{}).n("SSMClient","DescribeDocumentPermissionCommand").sc(L.DescribeDocumentPermission$).build()){}class DescribeEffectiveInstanceAssociationsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeEffectiveInstanceAssociations",{}).n("SSMClient","DescribeEffectiveInstanceAssociationsCommand").sc(L.DescribeEffectiveInstanceAssociations$).build()){}class DescribeEffectivePatchesForPatchBaselineCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeEffectivePatchesForPatchBaseline",{}).n("SSMClient","DescribeEffectivePatchesForPatchBaselineCommand").sc(L.DescribeEffectivePatchesForPatchBaseline$).build()){}class DescribeInstanceAssociationsStatusCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeInstanceAssociationsStatus",{}).n("SSMClient","DescribeInstanceAssociationsStatusCommand").sc(L.DescribeInstanceAssociationsStatus$).build()){}class DescribeInstanceInformationCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeInstanceInformation",{}).n("SSMClient","DescribeInstanceInformationCommand").sc(L.DescribeInstanceInformation$).build()){}class DescribeInstancePatchesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeInstancePatches",{}).n("SSMClient","DescribeInstancePatchesCommand").sc(L.DescribeInstancePatches$).build()){}class DescribeInstancePatchStatesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeInstancePatchStates",{}).n("SSMClient","DescribeInstancePatchStatesCommand").sc(L.DescribeInstancePatchStates$).build()){}class DescribeInstancePatchStatesForPatchGroupCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeInstancePatchStatesForPatchGroup",{}).n("SSMClient","DescribeInstancePatchStatesForPatchGroupCommand").sc(L.DescribeInstancePatchStatesForPatchGroup$).build()){}class DescribeInstancePropertiesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeInstanceProperties",{}).n("SSMClient","DescribeInstancePropertiesCommand").sc(L.DescribeInstanceProperties$).build()){}class DescribeInventoryDeletionsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeInventoryDeletions",{}).n("SSMClient","DescribeInventoryDeletionsCommand").sc(L.DescribeInventoryDeletions$).build()){}class DescribeMaintenanceWindowExecutionsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeMaintenanceWindowExecutions",{}).n("SSMClient","DescribeMaintenanceWindowExecutionsCommand").sc(L.DescribeMaintenanceWindowExecutions$).build()){}class DescribeMaintenanceWindowExecutionTaskInvocationsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeMaintenanceWindowExecutionTaskInvocations",{}).n("SSMClient","DescribeMaintenanceWindowExecutionTaskInvocationsCommand").sc(L.DescribeMaintenanceWindowExecutionTaskInvocations$).build()){}class DescribeMaintenanceWindowExecutionTasksCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeMaintenanceWindowExecutionTasks",{}).n("SSMClient","DescribeMaintenanceWindowExecutionTasksCommand").sc(L.DescribeMaintenanceWindowExecutionTasks$).build()){}class DescribeMaintenanceWindowScheduleCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeMaintenanceWindowSchedule",{}).n("SSMClient","DescribeMaintenanceWindowScheduleCommand").sc(L.DescribeMaintenanceWindowSchedule$).build()){}class DescribeMaintenanceWindowsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeMaintenanceWindows",{}).n("SSMClient","DescribeMaintenanceWindowsCommand").sc(L.DescribeMaintenanceWindows$).build()){}class DescribeMaintenanceWindowsForTargetCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeMaintenanceWindowsForTarget",{}).n("SSMClient","DescribeMaintenanceWindowsForTargetCommand").sc(L.DescribeMaintenanceWindowsForTarget$).build()){}class DescribeMaintenanceWindowTargetsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeMaintenanceWindowTargets",{}).n("SSMClient","DescribeMaintenanceWindowTargetsCommand").sc(L.DescribeMaintenanceWindowTargets$).build()){}class DescribeMaintenanceWindowTasksCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeMaintenanceWindowTasks",{}).n("SSMClient","DescribeMaintenanceWindowTasksCommand").sc(L.DescribeMaintenanceWindowTasks$).build()){}class DescribeOpsItemsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeOpsItems",{}).n("SSMClient","DescribeOpsItemsCommand").sc(L.DescribeOpsItems$).build()){}class DescribeParametersCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeParameters",{}).n("SSMClient","DescribeParametersCommand").sc(L.DescribeParameters$).build()){}class DescribePatchBaselinesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribePatchBaselines",{}).n("SSMClient","DescribePatchBaselinesCommand").sc(L.DescribePatchBaselines$).build()){}class DescribePatchGroupsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribePatchGroups",{}).n("SSMClient","DescribePatchGroupsCommand").sc(L.DescribePatchGroups$).build()){}class DescribePatchGroupStateCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribePatchGroupState",{}).n("SSMClient","DescribePatchGroupStateCommand").sc(L.DescribePatchGroupState$).build()){}class DescribePatchPropertiesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribePatchProperties",{}).n("SSMClient","DescribePatchPropertiesCommand").sc(L.DescribePatchProperties$).build()){}class DescribeSessionsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DescribeSessions",{}).n("SSMClient","DescribeSessionsCommand").sc(L.DescribeSessions$).build()){}class DisassociateOpsItemRelatedItemCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","DisassociateOpsItemRelatedItem",{}).n("SSMClient","DisassociateOpsItemRelatedItemCommand").sc(L.DisassociateOpsItemRelatedItem$).build()){}class GetAccessTokenCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetAccessToken",{}).n("SSMClient","GetAccessTokenCommand").sc(L.GetAccessToken$).build()){}class GetAutomationExecutionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetAutomationExecution",{}).n("SSMClient","GetAutomationExecutionCommand").sc(L.GetAutomationExecution$).build()){}class GetCalendarStateCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetCalendarState",{}).n("SSMClient","GetCalendarStateCommand").sc(L.GetCalendarState$).build()){}class GetCommandInvocationCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetCommandInvocation",{}).n("SSMClient","GetCommandInvocationCommand").sc(L.GetCommandInvocation$).build()){}class GetConnectionStatusCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetConnectionStatus",{}).n("SSMClient","GetConnectionStatusCommand").sc(L.GetConnectionStatus$).build()){}class GetDefaultPatchBaselineCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetDefaultPatchBaseline",{}).n("SSMClient","GetDefaultPatchBaselineCommand").sc(L.GetDefaultPatchBaseline$).build()){}class GetDeployablePatchSnapshotForInstanceCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetDeployablePatchSnapshotForInstance",{}).n("SSMClient","GetDeployablePatchSnapshotForInstanceCommand").sc(L.GetDeployablePatchSnapshotForInstance$).build()){}class GetDocumentCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetDocument",{}).n("SSMClient","GetDocumentCommand").sc(L.GetDocument$).build()){}class GetExecutionPreviewCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetExecutionPreview",{}).n("SSMClient","GetExecutionPreviewCommand").sc(L.GetExecutionPreview$).build()){}class GetInventoryCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetInventory",{}).n("SSMClient","GetInventoryCommand").sc(L.GetInventory$).build()){}class GetInventorySchemaCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetInventorySchema",{}).n("SSMClient","GetInventorySchemaCommand").sc(L.GetInventorySchema$).build()){}class GetMaintenanceWindowCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetMaintenanceWindow",{}).n("SSMClient","GetMaintenanceWindowCommand").sc(L.GetMaintenanceWindow$).build()){}class GetMaintenanceWindowExecutionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetMaintenanceWindowExecution",{}).n("SSMClient","GetMaintenanceWindowExecutionCommand").sc(L.GetMaintenanceWindowExecution$).build()){}class GetMaintenanceWindowExecutionTaskCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetMaintenanceWindowExecutionTask",{}).n("SSMClient","GetMaintenanceWindowExecutionTaskCommand").sc(L.GetMaintenanceWindowExecutionTask$).build()){}class GetMaintenanceWindowExecutionTaskInvocationCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetMaintenanceWindowExecutionTaskInvocation",{}).n("SSMClient","GetMaintenanceWindowExecutionTaskInvocationCommand").sc(L.GetMaintenanceWindowExecutionTaskInvocation$).build()){}class GetMaintenanceWindowTaskCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetMaintenanceWindowTask",{}).n("SSMClient","GetMaintenanceWindowTaskCommand").sc(L.GetMaintenanceWindowTask$).build()){}class GetOpsItemCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetOpsItem",{}).n("SSMClient","GetOpsItemCommand").sc(L.GetOpsItem$).build()){}class GetOpsMetadataCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetOpsMetadata",{}).n("SSMClient","GetOpsMetadataCommand").sc(L.GetOpsMetadata$).build()){}class GetOpsSummaryCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetOpsSummary",{}).n("SSMClient","GetOpsSummaryCommand").sc(L.GetOpsSummary$).build()){}class GetParameterCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetParameter",{}).n("SSMClient","GetParameterCommand").sc(L.GetParameter$).build()){}class GetParameterHistoryCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetParameterHistory",{}).n("SSMClient","GetParameterHistoryCommand").sc(L.GetParameterHistory$).build()){}class GetParametersByPathCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetParametersByPath",{}).n("SSMClient","GetParametersByPathCommand").sc(L.GetParametersByPath$).build()){}class GetParametersCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetParameters",{}).n("SSMClient","GetParametersCommand").sc(L.GetParameters$).build()){}class GetPatchBaselineCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetPatchBaseline",{}).n("SSMClient","GetPatchBaselineCommand").sc(L.GetPatchBaseline$).build()){}class GetPatchBaselineForPatchGroupCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetPatchBaselineForPatchGroup",{}).n("SSMClient","GetPatchBaselineForPatchGroupCommand").sc(L.GetPatchBaselineForPatchGroup$).build()){}class GetResourcePoliciesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetResourcePolicies",{}).n("SSMClient","GetResourcePoliciesCommand").sc(L.GetResourcePolicies$).build()){}class GetServiceSettingCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","GetServiceSetting",{}).n("SSMClient","GetServiceSettingCommand").sc(L.GetServiceSetting$).build()){}class LabelParameterVersionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","LabelParameterVersion",{}).n("SSMClient","LabelParameterVersionCommand").sc(L.LabelParameterVersion$).build()){}class ListAssociationsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListAssociations",{}).n("SSMClient","ListAssociationsCommand").sc(L.ListAssociations$).build()){}class ListAssociationVersionsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListAssociationVersions",{}).n("SSMClient","ListAssociationVersionsCommand").sc(L.ListAssociationVersions$).build()){}class ListCommandInvocationsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListCommandInvocations",{}).n("SSMClient","ListCommandInvocationsCommand").sc(L.ListCommandInvocations$).build()){}class ListCommandsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListCommands",{}).n("SSMClient","ListCommandsCommand").sc(L.ListCommands$).build()){}class ListComplianceItemsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListComplianceItems",{}).n("SSMClient","ListComplianceItemsCommand").sc(L.ListComplianceItems$).build()){}class ListComplianceSummariesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListComplianceSummaries",{}).n("SSMClient","ListComplianceSummariesCommand").sc(L.ListComplianceSummaries$).build()){}class ListDocumentMetadataHistoryCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListDocumentMetadataHistory",{}).n("SSMClient","ListDocumentMetadataHistoryCommand").sc(L.ListDocumentMetadataHistory$).build()){}class ListDocumentsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListDocuments",{}).n("SSMClient","ListDocumentsCommand").sc(L.ListDocuments$).build()){}class ListDocumentVersionsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListDocumentVersions",{}).n("SSMClient","ListDocumentVersionsCommand").sc(L.ListDocumentVersions$).build()){}class ListInventoryEntriesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListInventoryEntries",{}).n("SSMClient","ListInventoryEntriesCommand").sc(L.ListInventoryEntries$).build()){}class ListNodesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListNodes",{}).n("SSMClient","ListNodesCommand").sc(L.ListNodes$).build()){}class ListNodesSummaryCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListNodesSummary",{}).n("SSMClient","ListNodesSummaryCommand").sc(L.ListNodesSummary$).build()){}class ListOpsItemEventsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListOpsItemEvents",{}).n("SSMClient","ListOpsItemEventsCommand").sc(L.ListOpsItemEvents$).build()){}class ListOpsItemRelatedItemsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListOpsItemRelatedItems",{}).n("SSMClient","ListOpsItemRelatedItemsCommand").sc(L.ListOpsItemRelatedItems$).build()){}class ListOpsMetadataCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListOpsMetadata",{}).n("SSMClient","ListOpsMetadataCommand").sc(L.ListOpsMetadata$).build()){}class ListResourceComplianceSummariesCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListResourceComplianceSummaries",{}).n("SSMClient","ListResourceComplianceSummariesCommand").sc(L.ListResourceComplianceSummaries$).build()){}class ListResourceDataSyncCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListResourceDataSync",{}).n("SSMClient","ListResourceDataSyncCommand").sc(L.ListResourceDataSync$).build()){}class ListTagsForResourceCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ListTagsForResource",{}).n("SSMClient","ListTagsForResourceCommand").sc(L.ListTagsForResource$).build()){}class ModifyDocumentPermissionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ModifyDocumentPermission",{}).n("SSMClient","ModifyDocumentPermissionCommand").sc(L.ModifyDocumentPermission$).build()){}class PutComplianceItemsCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","PutComplianceItems",{}).n("SSMClient","PutComplianceItemsCommand").sc(L.PutComplianceItems$).build()){}class PutInventoryCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","PutInventory",{}).n("SSMClient","PutInventoryCommand").sc(L.PutInventory$).build()){}class PutParameterCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","PutParameter",{}).n("SSMClient","PutParameterCommand").sc(L.PutParameter$).build()){}class PutResourcePolicyCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","PutResourcePolicy",{}).n("SSMClient","PutResourcePolicyCommand").sc(L.PutResourcePolicy$).build()){}class RegisterDefaultPatchBaselineCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","RegisterDefaultPatchBaseline",{}).n("SSMClient","RegisterDefaultPatchBaselineCommand").sc(L.RegisterDefaultPatchBaseline$).build()){}class RegisterPatchBaselineForPatchGroupCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","RegisterPatchBaselineForPatchGroup",{}).n("SSMClient","RegisterPatchBaselineForPatchGroupCommand").sc(L.RegisterPatchBaselineForPatchGroup$).build()){}class RegisterTargetWithMaintenanceWindowCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","RegisterTargetWithMaintenanceWindow",{}).n("SSMClient","RegisterTargetWithMaintenanceWindowCommand").sc(L.RegisterTargetWithMaintenanceWindow$).build()){}class RegisterTaskWithMaintenanceWindowCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","RegisterTaskWithMaintenanceWindow",{}).n("SSMClient","RegisterTaskWithMaintenanceWindowCommand").sc(L.RegisterTaskWithMaintenanceWindow$).build()){}class RemoveTagsFromResourceCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","RemoveTagsFromResource",{}).n("SSMClient","RemoveTagsFromResourceCommand").sc(L.RemoveTagsFromResource$).build()){}class ResetServiceSettingCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ResetServiceSetting",{}).n("SSMClient","ResetServiceSettingCommand").sc(L.ResetServiceSetting$).build()){}class ResumeSessionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","ResumeSession",{}).n("SSMClient","ResumeSessionCommand").sc(L.ResumeSession$).build()){}class SendAutomationSignalCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","SendAutomationSignal",{}).n("SSMClient","SendAutomationSignalCommand").sc(L.SendAutomationSignal$).build()){}class SendCommandCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","SendCommand",{}).n("SSMClient","SendCommandCommand").sc(L.SendCommand$).build()){}class StartAccessRequestCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","StartAccessRequest",{}).n("SSMClient","StartAccessRequestCommand").sc(L.StartAccessRequest$).build()){}class StartAssociationsOnceCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","StartAssociationsOnce",{}).n("SSMClient","StartAssociationsOnceCommand").sc(L.StartAssociationsOnce$).build()){}class StartAutomationExecutionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","StartAutomationExecution",{}).n("SSMClient","StartAutomationExecutionCommand").sc(L.StartAutomationExecution$).build()){}class StartChangeRequestExecutionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","StartChangeRequestExecution",{}).n("SSMClient","StartChangeRequestExecutionCommand").sc(L.StartChangeRequestExecution$).build()){}class StartExecutionPreviewCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","StartExecutionPreview",{}).n("SSMClient","StartExecutionPreviewCommand").sc(L.StartExecutionPreview$).build()){}class StartSessionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","StartSession",{}).n("SSMClient","StartSessionCommand").sc(L.StartSession$).build()){}class StopAutomationExecutionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","StopAutomationExecution",{}).n("SSMClient","StopAutomationExecutionCommand").sc(L.StopAutomationExecution$).build()){}class TerminateSessionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","TerminateSession",{}).n("SSMClient","TerminateSessionCommand").sc(L.TerminateSession$).build()){}class UnlabelParameterVersionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UnlabelParameterVersion",{}).n("SSMClient","UnlabelParameterVersionCommand").sc(L.UnlabelParameterVersion$).build()){}class UpdateAssociationCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateAssociation",{}).n("SSMClient","UpdateAssociationCommand").sc(L.UpdateAssociation$).build()){}class UpdateAssociationStatusCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateAssociationStatus",{}).n("SSMClient","UpdateAssociationStatusCommand").sc(L.UpdateAssociationStatus$).build()){}class UpdateDocumentCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateDocument",{}).n("SSMClient","UpdateDocumentCommand").sc(L.UpdateDocument$).build()){}class UpdateDocumentDefaultVersionCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateDocumentDefaultVersion",{}).n("SSMClient","UpdateDocumentDefaultVersionCommand").sc(L.UpdateDocumentDefaultVersion$).build()){}class UpdateDocumentMetadataCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateDocumentMetadata",{}).n("SSMClient","UpdateDocumentMetadataCommand").sc(L.UpdateDocumentMetadata$).build()){}class UpdateMaintenanceWindowCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateMaintenanceWindow",{}).n("SSMClient","UpdateMaintenanceWindowCommand").sc(L.UpdateMaintenanceWindow$).build()){}class UpdateMaintenanceWindowTargetCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateMaintenanceWindowTarget",{}).n("SSMClient","UpdateMaintenanceWindowTargetCommand").sc(L.UpdateMaintenanceWindowTarget$).build()){}class UpdateMaintenanceWindowTaskCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateMaintenanceWindowTask",{}).n("SSMClient","UpdateMaintenanceWindowTaskCommand").sc(L.UpdateMaintenanceWindowTask$).build()){}class UpdateManagedInstanceRoleCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateManagedInstanceRole",{}).n("SSMClient","UpdateManagedInstanceRoleCommand").sc(L.UpdateManagedInstanceRole$).build()){}class UpdateOpsItemCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateOpsItem",{}).n("SSMClient","UpdateOpsItemCommand").sc(L.UpdateOpsItem$).build()){}class UpdateOpsMetadataCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateOpsMetadata",{}).n("SSMClient","UpdateOpsMetadataCommand").sc(L.UpdateOpsMetadata$).build()){}class UpdatePatchBaselineCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdatePatchBaseline",{}).n("SSMClient","UpdatePatchBaselineCommand").sc(L.UpdatePatchBaseline$).build()){}class UpdateResourceDataSyncCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateResourceDataSync",{}).n("SSMClient","UpdateResourceDataSyncCommand").sc(L.UpdateResourceDataSync$).build()){}class UpdateServiceSettingCommand extends(a.Command.classBuilder().ep(V).m(function(e,t,n,o){return[h.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AmazonSSM","UpdateServiceSetting",{}).n("SSMClient","UpdateServiceSettingCommand").sc(L.UpdateServiceSetting$).build()){}const _=i.createPaginator(SSMClient,DescribeActivationsCommand,"NextToken","NextToken","MaxResults");const W=i.createPaginator(SSMClient,DescribeAssociationExecutionsCommand,"NextToken","NextToken","MaxResults");const Y=i.createPaginator(SSMClient,DescribeAssociationExecutionTargetsCommand,"NextToken","NextToken","MaxResults");const J=i.createPaginator(SSMClient,DescribeAutomationExecutionsCommand,"NextToken","NextToken","MaxResults");const j=i.createPaginator(SSMClient,DescribeAutomationStepExecutionsCommand,"NextToken","NextToken","MaxResults");const K=i.createPaginator(SSMClient,DescribeAvailablePatchesCommand,"NextToken","NextToken","MaxResults");const X=i.createPaginator(SSMClient,DescribeEffectiveInstanceAssociationsCommand,"NextToken","NextToken","MaxResults");const Z=i.createPaginator(SSMClient,DescribeEffectivePatchesForPatchBaselineCommand,"NextToken","NextToken","MaxResults");const ee=i.createPaginator(SSMClient,DescribeInstanceAssociationsStatusCommand,"NextToken","NextToken","MaxResults");const te=i.createPaginator(SSMClient,DescribeInstanceInformationCommand,"NextToken","NextToken","MaxResults");const ne=i.createPaginator(SSMClient,DescribeInstancePatchesCommand,"NextToken","NextToken","MaxResults");const se=i.createPaginator(SSMClient,DescribeInstancePatchStatesForPatchGroupCommand,"NextToken","NextToken","MaxResults");const oe=i.createPaginator(SSMClient,DescribeInstancePatchStatesCommand,"NextToken","NextToken","MaxResults");const re=i.createPaginator(SSMClient,DescribeInstancePropertiesCommand,"NextToken","NextToken","MaxResults");const ie=i.createPaginator(SSMClient,DescribeInventoryDeletionsCommand,"NextToken","NextToken","MaxResults");const ae=i.createPaginator(SSMClient,DescribeMaintenanceWindowExecutionsCommand,"NextToken","NextToken","MaxResults");const ce=i.createPaginator(SSMClient,DescribeMaintenanceWindowExecutionTaskInvocationsCommand,"NextToken","NextToken","MaxResults");const Ae=i.createPaginator(SSMClient,DescribeMaintenanceWindowExecutionTasksCommand,"NextToken","NextToken","MaxResults");const le=i.createPaginator(SSMClient,DescribeMaintenanceWindowScheduleCommand,"NextToken","NextToken","MaxResults");const ue=i.createPaginator(SSMClient,DescribeMaintenanceWindowsForTargetCommand,"NextToken","NextToken","MaxResults");const de=i.createPaginator(SSMClient,DescribeMaintenanceWindowsCommand,"NextToken","NextToken","MaxResults");const ge=i.createPaginator(SSMClient,DescribeMaintenanceWindowTargetsCommand,"NextToken","NextToken","MaxResults");const he=i.createPaginator(SSMClient,DescribeMaintenanceWindowTasksCommand,"NextToken","NextToken","MaxResults");const me=i.createPaginator(SSMClient,DescribeOpsItemsCommand,"NextToken","NextToken","MaxResults");const pe=i.createPaginator(SSMClient,DescribeParametersCommand,"NextToken","NextToken","MaxResults");const Ee=i.createPaginator(SSMClient,DescribePatchBaselinesCommand,"NextToken","NextToken","MaxResults");const fe=i.createPaginator(SSMClient,DescribePatchGroupsCommand,"NextToken","NextToken","MaxResults");const Ie=i.createPaginator(SSMClient,DescribePatchPropertiesCommand,"NextToken","NextToken","MaxResults");const Ce=i.createPaginator(SSMClient,DescribeSessionsCommand,"NextToken","NextToken","MaxResults");const Be=i.createPaginator(SSMClient,GetInventoryCommand,"NextToken","NextToken","MaxResults");const Qe=i.createPaginator(SSMClient,GetInventorySchemaCommand,"NextToken","NextToken","MaxResults");const ye=i.createPaginator(SSMClient,GetOpsSummaryCommand,"NextToken","NextToken","MaxResults");const Se=i.createPaginator(SSMClient,GetParameterHistoryCommand,"NextToken","NextToken","MaxResults");const Re=i.createPaginator(SSMClient,GetParametersByPathCommand,"NextToken","NextToken","MaxResults");const we=i.createPaginator(SSMClient,GetResourcePoliciesCommand,"NextToken","NextToken","MaxResults");const De=i.createPaginator(SSMClient,ListAssociationsCommand,"NextToken","NextToken","MaxResults");const be=i.createPaginator(SSMClient,ListAssociationVersionsCommand,"NextToken","NextToken","MaxResults");const xe=i.createPaginator(SSMClient,ListCommandInvocationsCommand,"NextToken","NextToken","MaxResults");const Me=i.createPaginator(SSMClient,ListCommandsCommand,"NextToken","NextToken","MaxResults");const ve=i.createPaginator(SSMClient,ListComplianceItemsCommand,"NextToken","NextToken","MaxResults");const Te=i.createPaginator(SSMClient,ListComplianceSummariesCommand,"NextToken","NextToken","MaxResults");const Ne=i.createPaginator(SSMClient,ListDocumentsCommand,"NextToken","NextToken","MaxResults");const ke=i.createPaginator(SSMClient,ListDocumentVersionsCommand,"NextToken","NextToken","MaxResults");const Pe=i.createPaginator(SSMClient,ListNodesCommand,"NextToken","NextToken","MaxResults");const Fe=i.createPaginator(SSMClient,ListNodesSummaryCommand,"NextToken","NextToken","MaxResults");const Le=i.createPaginator(SSMClient,ListOpsItemEventsCommand,"NextToken","NextToken","MaxResults");const Ue=i.createPaginator(SSMClient,ListOpsItemRelatedItemsCommand,"NextToken","NextToken","MaxResults");const Oe=i.createPaginator(SSMClient,ListOpsMetadataCommand,"NextToken","NextToken","MaxResults");const $e=i.createPaginator(SSMClient,ListResourceComplianceSummariesCommand,"NextToken","NextToken","MaxResults");const Ge=i.createPaginator(SSMClient,ListResourceDataSyncCommand,"NextToken","NextToken","MaxResults");const checkState=async(e,t)=>{let n;try{let o=await e.send(new GetCommandInvocationCommand(t));n=o;try{const returnComparator=()=>o.Status;if(returnComparator()==="Pending"){return{state:a.WaiterState.RETRY,reason:n}}}catch(e){}try{const returnComparator=()=>o.Status;if(returnComparator()==="InProgress"){return{state:a.WaiterState.RETRY,reason:n}}}catch(e){}try{const returnComparator=()=>o.Status;if(returnComparator()==="Delayed"){return{state:a.WaiterState.RETRY,reason:n}}}catch(e){}try{const returnComparator=()=>o.Status;if(returnComparator()==="Success"){return{state:a.WaiterState.SUCCESS,reason:n}}}catch(e){}try{const returnComparator=()=>o.Status;if(returnComparator()==="Cancelled"){return{state:a.WaiterState.FAILURE,reason:n}}}catch(e){}try{const returnComparator=()=>o.Status;if(returnComparator()==="TimedOut"){return{state:a.WaiterState.FAILURE,reason:n}}}catch(e){}try{const returnComparator=()=>o.Status;if(returnComparator()==="Failed"){return{state:a.WaiterState.FAILURE,reason:n}}}catch(e){}try{const returnComparator=()=>o.Status;if(returnComparator()==="Cancelling"){return{state:a.WaiterState.FAILURE,reason:n}}}catch(e){}}catch(e){n=e;if(e.name==="InvocationDoesNotExist"){return{state:a.WaiterState.RETRY,reason:n}}}return{state:a.WaiterState.RETRY,reason:n}};const waitForCommandExecuted=async(e,t)=>{const n={minDelay:5,maxDelay:120};return a.createWaiter({...n,...e},t,checkState)};const waitUntilCommandExecuted=async(e,t)=>{const n={minDelay:5,maxDelay:120};const o=await a.createWaiter({...n,...e},t,checkState);return a.checkExceptions(o)};const He={AddTagsToResourceCommand:AddTagsToResourceCommand,AssociateOpsItemRelatedItemCommand:AssociateOpsItemRelatedItemCommand,CancelCommandCommand:CancelCommandCommand,CancelMaintenanceWindowExecutionCommand:CancelMaintenanceWindowExecutionCommand,CreateActivationCommand:CreateActivationCommand,CreateAssociationCommand:CreateAssociationCommand,CreateAssociationBatchCommand:CreateAssociationBatchCommand,CreateDocumentCommand:CreateDocumentCommand,CreateMaintenanceWindowCommand:CreateMaintenanceWindowCommand,CreateOpsItemCommand:CreateOpsItemCommand,CreateOpsMetadataCommand:CreateOpsMetadataCommand,CreatePatchBaselineCommand:CreatePatchBaselineCommand,CreateResourceDataSyncCommand:CreateResourceDataSyncCommand,DeleteActivationCommand:DeleteActivationCommand,DeleteAssociationCommand:DeleteAssociationCommand,DeleteDocumentCommand:DeleteDocumentCommand,DeleteInventoryCommand:DeleteInventoryCommand,DeleteMaintenanceWindowCommand:DeleteMaintenanceWindowCommand,DeleteOpsItemCommand:DeleteOpsItemCommand,DeleteOpsMetadataCommand:DeleteOpsMetadataCommand,DeleteParameterCommand:DeleteParameterCommand,DeleteParametersCommand:DeleteParametersCommand,DeletePatchBaselineCommand:DeletePatchBaselineCommand,DeleteResourceDataSyncCommand:DeleteResourceDataSyncCommand,DeleteResourcePolicyCommand:DeleteResourcePolicyCommand,DeregisterManagedInstanceCommand:DeregisterManagedInstanceCommand,DeregisterPatchBaselineForPatchGroupCommand:DeregisterPatchBaselineForPatchGroupCommand,DeregisterTargetFromMaintenanceWindowCommand:DeregisterTargetFromMaintenanceWindowCommand,DeregisterTaskFromMaintenanceWindowCommand:DeregisterTaskFromMaintenanceWindowCommand,DescribeActivationsCommand:DescribeActivationsCommand,DescribeAssociationCommand:DescribeAssociationCommand,DescribeAssociationExecutionsCommand:DescribeAssociationExecutionsCommand,DescribeAssociationExecutionTargetsCommand:DescribeAssociationExecutionTargetsCommand,DescribeAutomationExecutionsCommand:DescribeAutomationExecutionsCommand,DescribeAutomationStepExecutionsCommand:DescribeAutomationStepExecutionsCommand,DescribeAvailablePatchesCommand:DescribeAvailablePatchesCommand,DescribeDocumentCommand:DescribeDocumentCommand,DescribeDocumentPermissionCommand:DescribeDocumentPermissionCommand,DescribeEffectiveInstanceAssociationsCommand:DescribeEffectiveInstanceAssociationsCommand,DescribeEffectivePatchesForPatchBaselineCommand:DescribeEffectivePatchesForPatchBaselineCommand,DescribeInstanceAssociationsStatusCommand:DescribeInstanceAssociationsStatusCommand,DescribeInstanceInformationCommand:DescribeInstanceInformationCommand,DescribeInstancePatchesCommand:DescribeInstancePatchesCommand,DescribeInstancePatchStatesCommand:DescribeInstancePatchStatesCommand,DescribeInstancePatchStatesForPatchGroupCommand:DescribeInstancePatchStatesForPatchGroupCommand,DescribeInstancePropertiesCommand:DescribeInstancePropertiesCommand,DescribeInventoryDeletionsCommand:DescribeInventoryDeletionsCommand,DescribeMaintenanceWindowExecutionsCommand:DescribeMaintenanceWindowExecutionsCommand,DescribeMaintenanceWindowExecutionTaskInvocationsCommand:DescribeMaintenanceWindowExecutionTaskInvocationsCommand,DescribeMaintenanceWindowExecutionTasksCommand:DescribeMaintenanceWindowExecutionTasksCommand,DescribeMaintenanceWindowsCommand:DescribeMaintenanceWindowsCommand,DescribeMaintenanceWindowScheduleCommand:DescribeMaintenanceWindowScheduleCommand,DescribeMaintenanceWindowsForTargetCommand:DescribeMaintenanceWindowsForTargetCommand,DescribeMaintenanceWindowTargetsCommand:DescribeMaintenanceWindowTargetsCommand,DescribeMaintenanceWindowTasksCommand:DescribeMaintenanceWindowTasksCommand,DescribeOpsItemsCommand:DescribeOpsItemsCommand,DescribeParametersCommand:DescribeParametersCommand,DescribePatchBaselinesCommand:DescribePatchBaselinesCommand,DescribePatchGroupsCommand:DescribePatchGroupsCommand,DescribePatchGroupStateCommand:DescribePatchGroupStateCommand,DescribePatchPropertiesCommand:DescribePatchPropertiesCommand,DescribeSessionsCommand:DescribeSessionsCommand,DisassociateOpsItemRelatedItemCommand:DisassociateOpsItemRelatedItemCommand,GetAccessTokenCommand:GetAccessTokenCommand,GetAutomationExecutionCommand:GetAutomationExecutionCommand,GetCalendarStateCommand:GetCalendarStateCommand,GetCommandInvocationCommand:GetCommandInvocationCommand,GetConnectionStatusCommand:GetConnectionStatusCommand,GetDefaultPatchBaselineCommand:GetDefaultPatchBaselineCommand,GetDeployablePatchSnapshotForInstanceCommand:GetDeployablePatchSnapshotForInstanceCommand,GetDocumentCommand:GetDocumentCommand,GetExecutionPreviewCommand:GetExecutionPreviewCommand,GetInventoryCommand:GetInventoryCommand,GetInventorySchemaCommand:GetInventorySchemaCommand,GetMaintenanceWindowCommand:GetMaintenanceWindowCommand,GetMaintenanceWindowExecutionCommand:GetMaintenanceWindowExecutionCommand,GetMaintenanceWindowExecutionTaskCommand:GetMaintenanceWindowExecutionTaskCommand,GetMaintenanceWindowExecutionTaskInvocationCommand:GetMaintenanceWindowExecutionTaskInvocationCommand,GetMaintenanceWindowTaskCommand:GetMaintenanceWindowTaskCommand,GetOpsItemCommand:GetOpsItemCommand,GetOpsMetadataCommand:GetOpsMetadataCommand,GetOpsSummaryCommand:GetOpsSummaryCommand,GetParameterCommand:GetParameterCommand,GetParameterHistoryCommand:GetParameterHistoryCommand,GetParametersCommand:GetParametersCommand,GetParametersByPathCommand:GetParametersByPathCommand,GetPatchBaselineCommand:GetPatchBaselineCommand,GetPatchBaselineForPatchGroupCommand:GetPatchBaselineForPatchGroupCommand,GetResourcePoliciesCommand:GetResourcePoliciesCommand,GetServiceSettingCommand:GetServiceSettingCommand,LabelParameterVersionCommand:LabelParameterVersionCommand,ListAssociationsCommand:ListAssociationsCommand,ListAssociationVersionsCommand:ListAssociationVersionsCommand,ListCommandInvocationsCommand:ListCommandInvocationsCommand,ListCommandsCommand:ListCommandsCommand,ListComplianceItemsCommand:ListComplianceItemsCommand,ListComplianceSummariesCommand:ListComplianceSummariesCommand,ListDocumentMetadataHistoryCommand:ListDocumentMetadataHistoryCommand,ListDocumentsCommand:ListDocumentsCommand,ListDocumentVersionsCommand:ListDocumentVersionsCommand,ListInventoryEntriesCommand:ListInventoryEntriesCommand,ListNodesCommand:ListNodesCommand,ListNodesSummaryCommand:ListNodesSummaryCommand,ListOpsItemEventsCommand:ListOpsItemEventsCommand,ListOpsItemRelatedItemsCommand:ListOpsItemRelatedItemsCommand,ListOpsMetadataCommand:ListOpsMetadataCommand,ListResourceComplianceSummariesCommand:ListResourceComplianceSummariesCommand,ListResourceDataSyncCommand:ListResourceDataSyncCommand,ListTagsForResourceCommand:ListTagsForResourceCommand,ModifyDocumentPermissionCommand:ModifyDocumentPermissionCommand,PutComplianceItemsCommand:PutComplianceItemsCommand,PutInventoryCommand:PutInventoryCommand,PutParameterCommand:PutParameterCommand,PutResourcePolicyCommand:PutResourcePolicyCommand,RegisterDefaultPatchBaselineCommand:RegisterDefaultPatchBaselineCommand,RegisterPatchBaselineForPatchGroupCommand:RegisterPatchBaselineForPatchGroupCommand,RegisterTargetWithMaintenanceWindowCommand:RegisterTargetWithMaintenanceWindowCommand,RegisterTaskWithMaintenanceWindowCommand:RegisterTaskWithMaintenanceWindowCommand,RemoveTagsFromResourceCommand:RemoveTagsFromResourceCommand,ResetServiceSettingCommand:ResetServiceSettingCommand,ResumeSessionCommand:ResumeSessionCommand,SendAutomationSignalCommand:SendAutomationSignalCommand,SendCommandCommand:SendCommandCommand,StartAccessRequestCommand:StartAccessRequestCommand,StartAssociationsOnceCommand:StartAssociationsOnceCommand,StartAutomationExecutionCommand:StartAutomationExecutionCommand,StartChangeRequestExecutionCommand:StartChangeRequestExecutionCommand,StartExecutionPreviewCommand:StartExecutionPreviewCommand,StartSessionCommand:StartSessionCommand,StopAutomationExecutionCommand:StopAutomationExecutionCommand,TerminateSessionCommand:TerminateSessionCommand,UnlabelParameterVersionCommand:UnlabelParameterVersionCommand,UpdateAssociationCommand:UpdateAssociationCommand,UpdateAssociationStatusCommand:UpdateAssociationStatusCommand,UpdateDocumentCommand:UpdateDocumentCommand,UpdateDocumentDefaultVersionCommand:UpdateDocumentDefaultVersionCommand,UpdateDocumentMetadataCommand:UpdateDocumentMetadataCommand,UpdateMaintenanceWindowCommand:UpdateMaintenanceWindowCommand,UpdateMaintenanceWindowTargetCommand:UpdateMaintenanceWindowTargetCommand,UpdateMaintenanceWindowTaskCommand:UpdateMaintenanceWindowTaskCommand,UpdateManagedInstanceRoleCommand:UpdateManagedInstanceRoleCommand,UpdateOpsItemCommand:UpdateOpsItemCommand,UpdateOpsMetadataCommand:UpdateOpsMetadataCommand,UpdatePatchBaselineCommand:UpdatePatchBaselineCommand,UpdateResourceDataSyncCommand:UpdateResourceDataSyncCommand,UpdateServiceSettingCommand:UpdateServiceSettingCommand};const Ve={paginateDescribeActivations:_,paginateDescribeAssociationExecutions:W,paginateDescribeAssociationExecutionTargets:Y,paginateDescribeAutomationExecutions:J,paginateDescribeAutomationStepExecutions:j,paginateDescribeAvailablePatches:K,paginateDescribeEffectiveInstanceAssociations:X,paginateDescribeEffectivePatchesForPatchBaseline:Z,paginateDescribeInstanceAssociationsStatus:ee,paginateDescribeInstanceInformation:te,paginateDescribeInstancePatches:ne,paginateDescribeInstancePatchStates:oe,paginateDescribeInstancePatchStatesForPatchGroup:se,paginateDescribeInstanceProperties:re,paginateDescribeInventoryDeletions:ie,paginateDescribeMaintenanceWindowExecutions:ae,paginateDescribeMaintenanceWindowExecutionTaskInvocations:ce,paginateDescribeMaintenanceWindowExecutionTasks:Ae,paginateDescribeMaintenanceWindows:de,paginateDescribeMaintenanceWindowSchedule:le,paginateDescribeMaintenanceWindowsForTarget:ue,paginateDescribeMaintenanceWindowTargets:ge,paginateDescribeMaintenanceWindowTasks:he,paginateDescribeOpsItems:me,paginateDescribeParameters:pe,paginateDescribePatchBaselines:Ee,paginateDescribePatchGroups:fe,paginateDescribePatchProperties:Ie,paginateDescribeSessions:Ce,paginateGetInventory:Be,paginateGetInventorySchema:Qe,paginateGetOpsSummary:ye,paginateGetParameterHistory:Se,paginateGetParametersByPath:Re,paginateGetResourcePolicies:we,paginateListAssociations:De,paginateListAssociationVersions:be,paginateListCommandInvocations:xe,paginateListCommands:Me,paginateListComplianceItems:ve,paginateListComplianceSummaries:Te,paginateListDocuments:Ne,paginateListDocumentVersions:ke,paginateListNodes:Pe,paginateListNodesSummary:Fe,paginateListOpsItemEvents:Le,paginateListOpsItemRelatedItems:Ue,paginateListOpsMetadata:Oe,paginateListResourceComplianceSummaries:$e,paginateListResourceDataSync:Ge};const _e={waitUntilCommandExecuted:waitUntilCommandExecuted};class SSM extends SSMClient{}a.createAggregatedClient(He,SSM,{paginators:Ve,waiters:_e});const qe={APPROVED:"Approved",EXPIRED:"Expired",PENDING:"Pending",REJECTED:"Rejected",REVOKED:"Revoked"};const We={JUSTINTIME:"JustInTime",STANDARD:"Standard"};const Ye={ASSOCIATION:"Association",AUTOMATION:"Automation",DOCUMENT:"Document",MAINTENANCE_WINDOW:"MaintenanceWindow",MANAGED_INSTANCE:"ManagedInstance",OPSMETADATA:"OpsMetadata",OPS_ITEM:"OpsItem",PARAMETER:"Parameter",PATCH_BASELINE:"PatchBaseline"};const Je={ALARM:"ALARM",UNKNOWN:"UNKNOWN"};const ze={Critical:"CRITICAL",High:"HIGH",Low:"LOW",Medium:"MEDIUM",Unspecified:"UNSPECIFIED"};const je={Auto:"AUTO",Manual:"MANUAL"};const Ke={Failed:"Failed",Pending:"Pending",Success:"Success"};const Xe={Client:"Client",Server:"Server",Unknown:"Unknown"};const Ze={AttachmentReference:"AttachmentReference",S3FileUrl:"S3FileUrl",SourceUrl:"SourceUrl"};const ot={JSON:"JSON",TEXT:"TEXT",YAML:"YAML"};const Qt={ApplicationConfiguration:"ApplicationConfiguration",ApplicationConfigurationSchema:"ApplicationConfigurationSchema",AutoApprovalPolicy:"AutoApprovalPolicy",Automation:"Automation",ChangeCalendar:"ChangeCalendar",ChangeTemplate:"Automation.ChangeTemplate",CloudFormation:"CloudFormation",Command:"Command",ConformancePackTemplate:"ConformancePackTemplate",DeploymentStrategy:"DeploymentStrategy",ManualApprovalPolicy:"ManualApprovalPolicy",Package:"Package",Policy:"Policy",ProblemAnalysis:"ProblemAnalysis",ProblemAnalysisTemplate:"ProblemAnalysisTemplate",QuickSetup:"QuickSetup",Session:"Session"};const yt={SHA1:"Sha1",SHA256:"Sha256"};const Rt={String:"String",StringList:"StringList"};const Ht={LINUX:"Linux",MACOS:"MacOS",WINDOWS:"Windows"};const qt={APPROVED:"APPROVED",NOT_REVIEWED:"NOT_REVIEWED",PENDING:"PENDING",REJECTED:"REJECTED"};const Yt={Active:"Active",Creating:"Creating",Deleting:"Deleting",Failed:"Failed",Updating:"Updating"};const Jt={SEARCHABLE_STRING:"SearchableString",STRING:"String"};const zt={Critical:"CRITICAL",High:"HIGH",Informational:"INFORMATIONAL",Low:"LOW",Medium:"MEDIUM",Unspecified:"UNSPECIFIED"};const Kt={AdvisoryId:"ADVISORY_ID",Arch:"ARCH",BugzillaId:"BUGZILLA_ID",CVEId:"CVE_ID",Classification:"CLASSIFICATION",Epoch:"EPOCH",MsrcSeverity:"MSRC_SEVERITY",Name:"NAME",PatchId:"PATCH_ID",PatchSet:"PATCH_SET",Priority:"PRIORITY",Product:"PRODUCT",ProductFamily:"PRODUCT_FAMILY",Release:"RELEASE",Repository:"REPOSITORY",Section:"SECTION",Security:"SECURITY",Severity:"SEVERITY",Version:"VERSION"};const Xt={Compliant:"COMPLIANT",NonCompliant:"NON_COMPLIANT"};const Zt={AlmaLinux:"ALMA_LINUX",AmazonLinux:"AMAZON_LINUX",AmazonLinux2:"AMAZON_LINUX_2",AmazonLinux2022:"AMAZON_LINUX_2022",AmazonLinux2023:"AMAZON_LINUX_2023",CentOS:"CENTOS",Debian:"DEBIAN",MacOS:"MACOS",OracleLinux:"ORACLE_LINUX",Raspbian:"RASPBIAN",RedhatEnterpriseLinux:"REDHAT_ENTERPRISE_LINUX",Rocky_Linux:"ROCKY_LINUX",Suse:"SUSE",Ubuntu:"UBUNTU",Windows:"WINDOWS"};const en={AllowAsDependency:"ALLOW_AS_DEPENDENCY",Block:"BLOCK"};const tn={JSON_SERDE:"JsonSerDe"};const nn={DELETE_SCHEMA:"DeleteSchema",DISABLE_SCHEMA:"DisableSchema"};const sn={ACTIVATION_IDS:"ActivationIds",DEFAULT_INSTANCE_NAME:"DefaultInstanceName",IAM_ROLE:"IamRole"};const on={CreatedTime:"CreatedTime",ExecutionId:"ExecutionId",Status:"Status"};const rn={Equal:"EQUAL",GreaterThan:"GREATER_THAN",LessThan:"LESS_THAN"};const an={ResourceId:"ResourceId",ResourceType:"ResourceType",Status:"Status"};const cn={AUTOMATION_SUBTYPE:"AutomationSubtype",AUTOMATION_TYPE:"AutomationType",CURRENT_ACTION:"CurrentAction",DOCUMENT_NAME_PREFIX:"DocumentNamePrefix",EXECUTION_ID:"ExecutionId",EXECUTION_STATUS:"ExecutionStatus",OPS_ITEM_ID:"OpsItemId",PARENT_EXECUTION_ID:"ParentExecutionId",START_TIME_AFTER:"StartTimeAfter",START_TIME_BEFORE:"StartTimeBefore",TAG_KEY:"TagKey",TARGET_RESOURCE_GROUP:"TargetResourceGroup"};const An={APPROVED:"Approved",CANCELLED:"Cancelled",CANCELLING:"Cancelling",CHANGE_CALENDAR_OVERRIDE_APPROVED:"ChangeCalendarOverrideApproved",CHANGE_CALENDAR_OVERRIDE_REJECTED:"ChangeCalendarOverrideRejected",COMPLETED_WITH_FAILURE:"CompletedWithFailure",COMPLETED_WITH_SUCCESS:"CompletedWithSuccess",EXITED:"Exited",FAILED:"Failed",INPROGRESS:"InProgress",PENDING:"Pending",PENDING_APPROVAL:"PendingApproval",PENDING_CHANGE_CALENDAR_OVERRIDE:"PendingChangeCalendarOverride",REJECTED:"Rejected",RUNBOOK_INPROGRESS:"RunbookInProgress",SCHEDULED:"Scheduled",SUCCESS:"Success",TIMEDOUT:"TimedOut",WAITING:"Waiting"};const ln={AccessRequest:"AccessRequest",ChangeRequest:"ChangeRequest"};const un={CrossAccount:"CrossAccount",Local:"Local"};const dn={Auto:"Auto",Interactive:"Interactive"};const gn={ACTION:"Action",PARENT_STEP_EXECUTION_ID:"ParentStepExecutionId",PARENT_STEP_ITERATION:"ParentStepIteration",PARENT_STEP_ITERATOR_VALUE:"ParentStepIteratorValue",START_TIME_AFTER:"StartTimeAfter",START_TIME_BEFORE:"StartTimeBefore",STEP_EXECUTION_ID:"StepExecutionId",STEP_EXECUTION_STATUS:"StepExecutionStatus",STEP_NAME:"StepName"};const hn={SHARE:"Share"};const mn={Approved:"APPROVED",ExplicitApproved:"EXPLICIT_APPROVED",ExplicitRejected:"EXPLICIT_REJECTED",PendingApproval:"PENDING_APPROVAL"};const pn={ACTIVATION_IDS:"ActivationIds",AGENT_VERSION:"AgentVersion",ASSOCIATION_STATUS:"AssociationStatus",IAM_ROLE:"IamRole",INSTANCE_IDS:"InstanceIds",PING_STATUS:"PingStatus",PLATFORM_TYPES:"PlatformTypes",RESOURCE_TYPE:"ResourceType"};const En={CONNECTION_LOST:"ConnectionLost",INACTIVE:"Inactive",ONLINE:"Online"};const In={EC2_INSTANCE:"EC2Instance",MANAGED_INSTANCE:"ManagedInstance"};const Cn={AWS_EC2_INSTANCE:"AWS::EC2::Instance",AWS_IOT_THING:"AWS::IoT::Thing",AWS_SSM_MANAGEDINSTANCE:"AWS::SSM::ManagedInstance"};const Bn={AvailableSecurityUpdate:"AVAILABLE_SECURITY_UPDATE",Failed:"FAILED",Installed:"INSTALLED",InstalledOther:"INSTALLED_OTHER",InstalledPendingReboot:"INSTALLED_PENDING_REBOOT",InstalledRejected:"INSTALLED_REJECTED",Missing:"MISSING",NotApplicable:"NOT_APPLICABLE"};const Qn={INSTALL:"Install",SCAN:"Scan"};const yn={NO_REBOOT:"NoReboot",REBOOT_IF_NEEDED:"RebootIfNeeded"};const Sn={EQUAL:"Equal",GREATER_THAN:"GreaterThan",LESS_THAN:"LessThan",NOT_EQUAL:"NotEqual"};const Rn={BEGIN_WITH:"BeginWith",EQUAL:"Equal",GREATER_THAN:"GreaterThan",LESS_THAN:"LessThan",NOT_EQUAL:"NotEqual"};const wn={ACTIVATION_IDS:"ActivationIds",AGENT_VERSION:"AgentVersion",ASSOCIATION_STATUS:"AssociationStatus",DOCUMENT_NAME:"DocumentName",IAM_ROLE:"IamRole",INSTANCE_IDS:"InstanceIds",PING_STATUS:"PingStatus",PLATFORM_TYPES:"PlatformTypes",RESOURCE_TYPE:"ResourceType"};const Dn={COMPLETE:"Complete",IN_PROGRESS:"InProgress"};const bn={Cancelled:"CANCELLED",Cancelling:"CANCELLING",Failed:"FAILED",InProgress:"IN_PROGRESS",Pending:"PENDING",SkippedOverlapping:"SKIPPED_OVERLAPPING",Success:"SUCCESS",TimedOut:"TIMED_OUT"};const xn={Automation:"AUTOMATION",Lambda:"LAMBDA",RunCommand:"RUN_COMMAND",StepFunctions:"STEP_FUNCTIONS"};const Mn={Instance:"INSTANCE",ResourceGroup:"RESOURCE_GROUP"};const vn={CancelTask:"CANCEL_TASK",ContinueTask:"CONTINUE_TASK"};const Tn={ACCESS_REQUEST_APPROVER_ARN:"AccessRequestByApproverArn",ACCESS_REQUEST_APPROVER_ID:"AccessRequestByApproverId",ACCESS_REQUEST_IS_REPLICA:"AccessRequestByIsReplica",ACCESS_REQUEST_REQUESTER_ARN:"AccessRequestByRequesterArn",ACCESS_REQUEST_REQUESTER_ID:"AccessRequestByRequesterId",ACCESS_REQUEST_SOURCE_ACCOUNT_ID:"AccessRequestBySourceAccountId",ACCESS_REQUEST_SOURCE_OPS_ITEM_ID:"AccessRequestBySourceOpsItemId",ACCESS_REQUEST_SOURCE_REGION:"AccessRequestBySourceRegion",ACCESS_REQUEST_TARGET_RESOURCE_ID:"AccessRequestByTargetResourceId",ACCOUNT_ID:"AccountId",ACTUAL_END_TIME:"ActualEndTime",ACTUAL_START_TIME:"ActualStartTime",AUTOMATION_ID:"AutomationId",CATEGORY:"Category",CHANGE_REQUEST_APPROVER_ARN:"ChangeRequestByApproverArn",CHANGE_REQUEST_APPROVER_NAME:"ChangeRequestByApproverName",CHANGE_REQUEST_REQUESTER_ARN:"ChangeRequestByRequesterArn",CHANGE_REQUEST_REQUESTER_NAME:"ChangeRequestByRequesterName",CHANGE_REQUEST_TARGETS_RESOURCE_GROUP:"ChangeRequestByTargetsResourceGroup",CHANGE_REQUEST_TEMPLATE:"ChangeRequestByTemplate",CREATED_BY:"CreatedBy",CREATED_TIME:"CreatedTime",INSIGHT_TYPE:"InsightByType",LAST_MODIFIED_TIME:"LastModifiedTime",OPERATIONAL_DATA:"OperationalData",OPERATIONAL_DATA_KEY:"OperationalDataKey",OPERATIONAL_DATA_VALUE:"OperationalDataValue",OPSITEM_ID:"OpsItemId",OPSITEM_TYPE:"OpsItemType",PLANNED_END_TIME:"PlannedEndTime",PLANNED_START_TIME:"PlannedStartTime",PRIORITY:"Priority",RESOURCE_ID:"ResourceId",SEVERITY:"Severity",SOURCE:"Source",STATUS:"Status",TITLE:"Title"};const Nn={CONTAINS:"Contains",EQUAL:"Equal",GREATER_THAN:"GreaterThan",LESS_THAN:"LessThan"};const kn={APPROVED:"Approved",CANCELLED:"Cancelled",CANCELLING:"Cancelling",CHANGE_CALENDAR_OVERRIDE_APPROVED:"ChangeCalendarOverrideApproved",CHANGE_CALENDAR_OVERRIDE_REJECTED:"ChangeCalendarOverrideRejected",CLOSED:"Closed",COMPLETED_WITH_FAILURE:"CompletedWithFailure",COMPLETED_WITH_SUCCESS:"CompletedWithSuccess",FAILED:"Failed",IN_PROGRESS:"InProgress",OPEN:"Open",PENDING:"Pending",PENDING_APPROVAL:"PendingApproval",PENDING_CHANGE_CALENDAR_OVERRIDE:"PendingChangeCalendarOverride",REJECTED:"Rejected",RESOLVED:"Resolved",REVOKED:"Revoked",RUNBOOK_IN_PROGRESS:"RunbookInProgress",SCHEDULED:"Scheduled",TIMED_OUT:"TimedOut"};const Pn={KEY_ID:"KeyId",NAME:"Name",TYPE:"Type"};const Fn={ADVANCED:"Advanced",INTELLIGENT_TIERING:"Intelligent-Tiering",STANDARD:"Standard"};const Ln={SECURE_STRING:"SecureString",STRING:"String",STRING_LIST:"StringList"};const Un={Application:"APPLICATION",Os:"OS"};const On={PatchClassification:"CLASSIFICATION",PatchMsrcSeverity:"MSRC_SEVERITY",PatchPriority:"PRIORITY",PatchProductFamily:"PRODUCT_FAMILY",PatchSeverity:"SEVERITY",Product:"PRODUCT"};const $n={ACCESS_TYPE:"AccessType",INVOKED_AFTER:"InvokedAfter",INVOKED_BEFORE:"InvokedBefore",OWNER:"Owner",SESSION_ID:"SessionId",STATUS:"Status",TARGET_ID:"Target"};const Gn={ACTIVE:"Active",HISTORY:"History"};const Hn={CONNECTED:"Connected",CONNECTING:"Connecting",DISCONNECTED:"Disconnected",FAILED:"Failed",TERMINATED:"Terminated",TERMINATING:"Terminating"};const Vn={CLOSED:"CLOSED",OPEN:"OPEN"};const _n={CANCELLED:"Cancelled",CANCELLING:"Cancelling",DELAYED:"Delayed",FAILED:"Failed",IN_PROGRESS:"InProgress",PENDING:"Pending",SUCCESS:"Success",TIMED_OUT:"TimedOut"};const qn={CONNECTED:"connected",NOT_CONNECTED:"notconnected"};const Wn={SHA256:"Sha256"};const Yn={MUTATING:"Mutating",NON_MUTATING:"NonMutating",UNDETERMINED:"Undetermined"};const Jn={FAILED:"Failed",IN_PROGRESS:"InProgress",PENDING:"Pending",SUCCESS:"Success"};const zn={BEGIN_WITH:"BeginWith",EQUAL:"Equal",EXISTS:"Exists",GREATER_THAN:"GreaterThan",LESS_THAN:"LessThan",NOT_EQUAL:"NotEqual"};const jn={NUMBER:"number",STRING:"string"};const Kn={ALL:"All",CANCELLED:"Cancelled",FAILED:"Failed",IN_PROGRESS:"InProgress",SUCCESS:"Success",TIMED_OUT:"TimedOut"};const Xn={Command:"Command",Invocation:"Invocation"};const Zn={BEGIN_WITH:"BeginWith",EQUAL:"Equal",EXISTS:"Exists",GREATER_THAN:"GreaterThan",LESS_THAN:"LessThan",NOT_EQUAL:"NotEqual"};const es={AssociationId:"AssociationId",AssociationName:"AssociationName",InstanceId:"InstanceId",LastExecutedAfter:"LastExecutedAfter",LastExecutedBefore:"LastExecutedBefore",Name:"Name",ResourceGroupName:"ResourceGroupName",Status:"AssociationStatusName"};const ts={DOCUMENT_NAME:"DocumentName",EXECUTION_STAGE:"ExecutionStage",INVOKED_AFTER:"InvokedAfter",INVOKED_BEFORE:"InvokedBefore",STATUS:"Status"};const ns={CANCELLED:"Cancelled",FAILED:"Failed",IN_PROGRESS:"InProgress",PENDING:"Pending",SUCCESS:"Success",TIMED_OUT:"TimedOut"};const ss={CANCELLED:"Cancelled",CANCELLING:"Cancelling",FAILED:"Failed",IN_PROGRESS:"InProgress",PENDING:"Pending",SUCCESS:"Success",TIMED_OUT:"TimedOut"};const os={BeginWith:"BEGIN_WITH",Equal:"EQUAL",GreaterThan:"GREATER_THAN",LessThan:"LESS_THAN",NotEqual:"NOT_EQUAL"};const rs={Critical:"CRITICAL",High:"HIGH",Informational:"INFORMATIONAL",Low:"LOW",Medium:"MEDIUM",Unspecified:"UNSPECIFIED"};const is={Compliant:"COMPLIANT",NonCompliant:"NON_COMPLIANT"};const as={DocumentReviews:"DocumentReviews"};const cs={Comment:"Comment"};const As={DocumentType:"DocumentType",Name:"Name",Owner:"Owner",PlatformTypes:"PlatformTypes"};const ls={ACCOUNT_ID:"AccountId",AGENT_TYPE:"AgentType",AGENT_VERSION:"AgentVersion",COMPUTER_NAME:"ComputerName",INSTANCE_ID:"InstanceId",INSTANCE_STATUS:"InstanceStatus",IP_ADDRESS:"IpAddress",MANAGED_STATUS:"ManagedStatus",ORGANIZATIONAL_UNIT_ID:"OrganizationalUnitId",ORGANIZATIONAL_UNIT_PATH:"OrganizationalUnitPath",PLATFORM_NAME:"PlatformName",PLATFORM_TYPE:"PlatformType",PLATFORM_VERSION:"PlatformVersion",REGION:"Region",RESOURCE_TYPE:"ResourceType"};const us={BEGIN_WITH:"BeginWith",EQUAL:"Equal",NOT_EQUAL:"NotEqual"};const ds={ALL:"All",MANAGED:"Managed",UNMANAGED:"Unmanaged"};const gs={COUNT:"Count"};const hs={AGENT_VERSION:"AgentVersion",PLATFORM_NAME:"PlatformName",PLATFORM_TYPE:"PlatformType",PLATFORM_VERSION:"PlatformVersion",REGION:"Region",RESOURCE_TYPE:"ResourceType"};const ms={INSTANCE:"Instance"};const ps={OPSITEM_ID:"OpsItemId"};const Es={EQUAL:"Equal"};const fs={ASSOCIATION_ID:"AssociationId",RESOURCE_TYPE:"ResourceType",RESOURCE_URI:"ResourceUri"};const Is={EQUAL:"Equal"};const Cs={FAILED:"Failed",INPROGRESS:"InProgress",SUCCESSFUL:"Successful"};const Bs={Complete:"COMPLETE",Partial:"PARTIAL"};const Qs={APPROVE:"Approve",REJECT:"Reject",RESUME:"Resume",REVOKE:"Revoke",START_STEP:"StartStep",STOP_STEP:"StopStep"};const ys={CANCEL:"Cancel",COMPLETE:"Complete"};const Ss={Approve:"Approve",Reject:"Reject",SendForReview:"SendForReview",UpdateReview:"UpdateReview"};t.$Command=a.Command;t.__Client=a.Client;t.SSMServiceException=H.SSMServiceException;t.AccessRequestStatus=qe;t.AccessType=We;t.AddTagsToResourceCommand=AddTagsToResourceCommand;t.AssociateOpsItemRelatedItemCommand=AssociateOpsItemRelatedItemCommand;t.AssociationComplianceSeverity=ze;t.AssociationExecutionFilterKey=on;t.AssociationExecutionTargetsFilterKey=an;t.AssociationFilterKey=es;t.AssociationFilterOperatorType=rn;t.AssociationStatusName=Ke;t.AssociationSyncCompliance=je;t.AttachmentHashType=Wn;t.AttachmentsSourceKey=Ze;t.AutomationExecutionFilterKey=cn;t.AutomationExecutionStatus=An;t.AutomationSubtype=ln;t.AutomationType=un;t.CalendarState=Vn;t.CancelCommandCommand=CancelCommandCommand;t.CancelMaintenanceWindowExecutionCommand=CancelMaintenanceWindowExecutionCommand;t.CommandFilterKey=ts;t.CommandInvocationStatus=_n;t.CommandPluginStatus=ns;t.CommandStatus=ss;t.ComplianceQueryOperatorType=os;t.ComplianceSeverity=rs;t.ComplianceStatus=is;t.ComplianceUploadType=Bs;t.ConnectionStatus=qn;t.CreateActivationCommand=CreateActivationCommand;t.CreateAssociationBatchCommand=CreateAssociationBatchCommand;t.CreateAssociationCommand=CreateAssociationCommand;t.CreateDocumentCommand=CreateDocumentCommand;t.CreateMaintenanceWindowCommand=CreateMaintenanceWindowCommand;t.CreateOpsItemCommand=CreateOpsItemCommand;t.CreateOpsMetadataCommand=CreateOpsMetadataCommand;t.CreatePatchBaselineCommand=CreatePatchBaselineCommand;t.CreateResourceDataSyncCommand=CreateResourceDataSyncCommand;t.DeleteActivationCommand=DeleteActivationCommand;t.DeleteAssociationCommand=DeleteAssociationCommand;t.DeleteDocumentCommand=DeleteDocumentCommand;t.DeleteInventoryCommand=DeleteInventoryCommand;t.DeleteMaintenanceWindowCommand=DeleteMaintenanceWindowCommand;t.DeleteOpsItemCommand=DeleteOpsItemCommand;t.DeleteOpsMetadataCommand=DeleteOpsMetadataCommand;t.DeleteParameterCommand=DeleteParameterCommand;t.DeleteParametersCommand=DeleteParametersCommand;t.DeletePatchBaselineCommand=DeletePatchBaselineCommand;t.DeleteResourceDataSyncCommand=DeleteResourceDataSyncCommand;t.DeleteResourcePolicyCommand=DeleteResourcePolicyCommand;t.DeregisterManagedInstanceCommand=DeregisterManagedInstanceCommand;t.DeregisterPatchBaselineForPatchGroupCommand=DeregisterPatchBaselineForPatchGroupCommand;t.DeregisterTargetFromMaintenanceWindowCommand=DeregisterTargetFromMaintenanceWindowCommand;t.DeregisterTaskFromMaintenanceWindowCommand=DeregisterTaskFromMaintenanceWindowCommand;t.DescribeActivationsCommand=DescribeActivationsCommand;t.DescribeActivationsFilterKeys=sn;t.DescribeAssociationCommand=DescribeAssociationCommand;t.DescribeAssociationExecutionTargetsCommand=DescribeAssociationExecutionTargetsCommand;t.DescribeAssociationExecutionsCommand=DescribeAssociationExecutionsCommand;t.DescribeAutomationExecutionsCommand=DescribeAutomationExecutionsCommand;t.DescribeAutomationStepExecutionsCommand=DescribeAutomationStepExecutionsCommand;t.DescribeAvailablePatchesCommand=DescribeAvailablePatchesCommand;t.DescribeDocumentCommand=DescribeDocumentCommand;t.DescribeDocumentPermissionCommand=DescribeDocumentPermissionCommand;t.DescribeEffectiveInstanceAssociationsCommand=DescribeEffectiveInstanceAssociationsCommand;t.DescribeEffectivePatchesForPatchBaselineCommand=DescribeEffectivePatchesForPatchBaselineCommand;t.DescribeInstanceAssociationsStatusCommand=DescribeInstanceAssociationsStatusCommand;t.DescribeInstanceInformationCommand=DescribeInstanceInformationCommand;t.DescribeInstancePatchStatesCommand=DescribeInstancePatchStatesCommand;t.DescribeInstancePatchStatesForPatchGroupCommand=DescribeInstancePatchStatesForPatchGroupCommand;t.DescribeInstancePatchesCommand=DescribeInstancePatchesCommand;t.DescribeInstancePropertiesCommand=DescribeInstancePropertiesCommand;t.DescribeInventoryDeletionsCommand=DescribeInventoryDeletionsCommand;t.DescribeMaintenanceWindowExecutionTaskInvocationsCommand=DescribeMaintenanceWindowExecutionTaskInvocationsCommand;t.DescribeMaintenanceWindowExecutionTasksCommand=DescribeMaintenanceWindowExecutionTasksCommand;t.DescribeMaintenanceWindowExecutionsCommand=DescribeMaintenanceWindowExecutionsCommand;t.DescribeMaintenanceWindowScheduleCommand=DescribeMaintenanceWindowScheduleCommand;t.DescribeMaintenanceWindowTargetsCommand=DescribeMaintenanceWindowTargetsCommand;t.DescribeMaintenanceWindowTasksCommand=DescribeMaintenanceWindowTasksCommand;t.DescribeMaintenanceWindowsCommand=DescribeMaintenanceWindowsCommand;t.DescribeMaintenanceWindowsForTargetCommand=DescribeMaintenanceWindowsForTargetCommand;t.DescribeOpsItemsCommand=DescribeOpsItemsCommand;t.DescribeParametersCommand=DescribeParametersCommand;t.DescribePatchBaselinesCommand=DescribePatchBaselinesCommand;t.DescribePatchGroupStateCommand=DescribePatchGroupStateCommand;t.DescribePatchGroupsCommand=DescribePatchGroupsCommand;t.DescribePatchPropertiesCommand=DescribePatchPropertiesCommand;t.DescribeSessionsCommand=DescribeSessionsCommand;t.DisassociateOpsItemRelatedItemCommand=DisassociateOpsItemRelatedItemCommand;t.DocumentFilterKey=As;t.DocumentFormat=ot;t.DocumentHashType=yt;t.DocumentMetadataEnum=as;t.DocumentParameterType=Rt;t.DocumentPermissionType=hn;t.DocumentReviewAction=Ss;t.DocumentReviewCommentType=cs;t.DocumentStatus=Yt;t.DocumentType=Qt;t.ExecutionMode=dn;t.ExecutionPreviewStatus=Jn;t.ExternalAlarmState=Je;t.Fault=Xe;t.GetAccessTokenCommand=GetAccessTokenCommand;t.GetAutomationExecutionCommand=GetAutomationExecutionCommand;t.GetCalendarStateCommand=GetCalendarStateCommand;t.GetCommandInvocationCommand=GetCommandInvocationCommand;t.GetConnectionStatusCommand=GetConnectionStatusCommand;t.GetDefaultPatchBaselineCommand=GetDefaultPatchBaselineCommand;t.GetDeployablePatchSnapshotForInstanceCommand=GetDeployablePatchSnapshotForInstanceCommand;t.GetDocumentCommand=GetDocumentCommand;t.GetExecutionPreviewCommand=GetExecutionPreviewCommand;t.GetInventoryCommand=GetInventoryCommand;t.GetInventorySchemaCommand=GetInventorySchemaCommand;t.GetMaintenanceWindowCommand=GetMaintenanceWindowCommand;t.GetMaintenanceWindowExecutionCommand=GetMaintenanceWindowExecutionCommand;t.GetMaintenanceWindowExecutionTaskCommand=GetMaintenanceWindowExecutionTaskCommand;t.GetMaintenanceWindowExecutionTaskInvocationCommand=GetMaintenanceWindowExecutionTaskInvocationCommand;t.GetMaintenanceWindowTaskCommand=GetMaintenanceWindowTaskCommand;t.GetOpsItemCommand=GetOpsItemCommand;t.GetOpsMetadataCommand=GetOpsMetadataCommand;t.GetOpsSummaryCommand=GetOpsSummaryCommand;t.GetParameterCommand=GetParameterCommand;t.GetParameterHistoryCommand=GetParameterHistoryCommand;t.GetParametersByPathCommand=GetParametersByPathCommand;t.GetParametersCommand=GetParametersCommand;t.GetPatchBaselineCommand=GetPatchBaselineCommand;t.GetPatchBaselineForPatchGroupCommand=GetPatchBaselineForPatchGroupCommand;t.GetResourcePoliciesCommand=GetResourcePoliciesCommand;t.GetServiceSettingCommand=GetServiceSettingCommand;t.ImpactType=Yn;t.InstanceInformationFilterKey=pn;t.InstancePatchStateOperatorType=Sn;t.InstancePropertyFilterKey=wn;t.InstancePropertyFilterOperator=Rn;t.InventoryAttributeDataType=jn;t.InventoryDeletionStatus=Dn;t.InventoryQueryOperatorType=zn;t.InventorySchemaDeleteOption=nn;t.LabelParameterVersionCommand=LabelParameterVersionCommand;t.LastResourceDataSyncStatus=Cs;t.ListAssociationVersionsCommand=ListAssociationVersionsCommand;t.ListAssociationsCommand=ListAssociationsCommand;t.ListCommandInvocationsCommand=ListCommandInvocationsCommand;t.ListCommandsCommand=ListCommandsCommand;t.ListComplianceItemsCommand=ListComplianceItemsCommand;t.ListComplianceSummariesCommand=ListComplianceSummariesCommand;t.ListDocumentMetadataHistoryCommand=ListDocumentMetadataHistoryCommand;t.ListDocumentVersionsCommand=ListDocumentVersionsCommand;t.ListDocumentsCommand=ListDocumentsCommand;t.ListInventoryEntriesCommand=ListInventoryEntriesCommand;t.ListNodesCommand=ListNodesCommand;t.ListNodesSummaryCommand=ListNodesSummaryCommand;t.ListOpsItemEventsCommand=ListOpsItemEventsCommand;t.ListOpsItemRelatedItemsCommand=ListOpsItemRelatedItemsCommand;t.ListOpsMetadataCommand=ListOpsMetadataCommand;t.ListResourceComplianceSummariesCommand=ListResourceComplianceSummariesCommand;t.ListResourceDataSyncCommand=ListResourceDataSyncCommand;t.ListTagsForResourceCommand=ListTagsForResourceCommand;t.MaintenanceWindowExecutionStatus=bn;t.MaintenanceWindowResourceType=Mn;t.MaintenanceWindowTaskCutoffBehavior=vn;t.MaintenanceWindowTaskType=xn;t.ManagedStatus=ds;t.ModifyDocumentPermissionCommand=ModifyDocumentPermissionCommand;t.NodeAggregatorType=gs;t.NodeAttributeName=hs;t.NodeFilterKey=ls;t.NodeFilterOperatorType=us;t.NodeTypeName=ms;t.NotificationEvent=Kn;t.NotificationType=Xn;t.OperatingSystem=Zt;t.OpsFilterOperatorType=Zn;t.OpsItemDataType=Jt;t.OpsItemEventFilterKey=ps;t.OpsItemEventFilterOperator=Es;t.OpsItemFilterKey=Tn;t.OpsItemFilterOperator=Nn;t.OpsItemRelatedItemsFilterKey=fs;t.OpsItemRelatedItemsFilterOperator=Is;t.OpsItemStatus=kn;t.ParameterTier=Fn;t.ParameterType=Ln;t.ParametersFilterKey=Pn;t.PatchAction=en;t.PatchComplianceDataState=Bn;t.PatchComplianceLevel=zt;t.PatchComplianceStatus=Xt;t.PatchDeploymentStatus=mn;t.PatchFilterKey=Kt;t.PatchOperationType=Qn;t.PatchProperty=On;t.PatchSet=Un;t.PingStatus=En;t.PlatformType=Ht;t.PutComplianceItemsCommand=PutComplianceItemsCommand;t.PutInventoryCommand=PutInventoryCommand;t.PutParameterCommand=PutParameterCommand;t.PutResourcePolicyCommand=PutResourcePolicyCommand;t.RebootOption=yn;t.RegisterDefaultPatchBaselineCommand=RegisterDefaultPatchBaselineCommand;t.RegisterPatchBaselineForPatchGroupCommand=RegisterPatchBaselineForPatchGroupCommand;t.RegisterTargetWithMaintenanceWindowCommand=RegisterTargetWithMaintenanceWindowCommand;t.RegisterTaskWithMaintenanceWindowCommand=RegisterTaskWithMaintenanceWindowCommand;t.RemoveTagsFromResourceCommand=RemoveTagsFromResourceCommand;t.ResetServiceSettingCommand=ResetServiceSettingCommand;t.ResourceDataSyncS3Format=tn;t.ResourceType=In;t.ResourceTypeForTagging=Ye;t.ResumeSessionCommand=ResumeSessionCommand;t.ReviewStatus=qt;t.SSM=SSM;t.SSMClient=SSMClient;t.SendAutomationSignalCommand=SendAutomationSignalCommand;t.SendCommandCommand=SendCommandCommand;t.SessionFilterKey=$n;t.SessionState=Gn;t.SessionStatus=Hn;t.SignalType=Qs;t.SourceType=Cn;t.StartAccessRequestCommand=StartAccessRequestCommand;t.StartAssociationsOnceCommand=StartAssociationsOnceCommand;t.StartAutomationExecutionCommand=StartAutomationExecutionCommand;t.StartChangeRequestExecutionCommand=StartChangeRequestExecutionCommand;t.StartExecutionPreviewCommand=StartExecutionPreviewCommand;t.StartSessionCommand=StartSessionCommand;t.StepExecutionFilterKey=gn;t.StopAutomationExecutionCommand=StopAutomationExecutionCommand;t.StopType=ys;t.TerminateSessionCommand=TerminateSessionCommand;t.UnlabelParameterVersionCommand=UnlabelParameterVersionCommand;t.UpdateAssociationCommand=UpdateAssociationCommand;t.UpdateAssociationStatusCommand=UpdateAssociationStatusCommand;t.UpdateDocumentCommand=UpdateDocumentCommand;t.UpdateDocumentDefaultVersionCommand=UpdateDocumentDefaultVersionCommand;t.UpdateDocumentMetadataCommand=UpdateDocumentMetadataCommand;t.UpdateMaintenanceWindowCommand=UpdateMaintenanceWindowCommand;t.UpdateMaintenanceWindowTargetCommand=UpdateMaintenanceWindowTargetCommand;t.UpdateMaintenanceWindowTaskCommand=UpdateMaintenanceWindowTaskCommand;t.UpdateManagedInstanceRoleCommand=UpdateManagedInstanceRoleCommand;t.UpdateOpsItemCommand=UpdateOpsItemCommand;t.UpdateOpsMetadataCommand=UpdateOpsMetadataCommand;t.UpdatePatchBaselineCommand=UpdatePatchBaselineCommand;t.UpdateResourceDataSyncCommand=UpdateResourceDataSyncCommand;t.UpdateServiceSettingCommand=UpdateServiceSettingCommand;t.paginateDescribeActivations=_;t.paginateDescribeAssociationExecutionTargets=Y;t.paginateDescribeAssociationExecutions=W;t.paginateDescribeAutomationExecutions=J;t.paginateDescribeAutomationStepExecutions=j;t.paginateDescribeAvailablePatches=K;t.paginateDescribeEffectiveInstanceAssociations=X;t.paginateDescribeEffectivePatchesForPatchBaseline=Z;t.paginateDescribeInstanceAssociationsStatus=ee;t.paginateDescribeInstanceInformation=te;t.paginateDescribeInstancePatchStates=oe;t.paginateDescribeInstancePatchStatesForPatchGroup=se;t.paginateDescribeInstancePatches=ne;t.paginateDescribeInstanceProperties=re;t.paginateDescribeInventoryDeletions=ie;t.paginateDescribeMaintenanceWindowExecutionTaskInvocations=ce;t.paginateDescribeMaintenanceWindowExecutionTasks=Ae;t.paginateDescribeMaintenanceWindowExecutions=ae;t.paginateDescribeMaintenanceWindowSchedule=le;t.paginateDescribeMaintenanceWindowTargets=ge;t.paginateDescribeMaintenanceWindowTasks=he;t.paginateDescribeMaintenanceWindows=de;t.paginateDescribeMaintenanceWindowsForTarget=ue;t.paginateDescribeOpsItems=me;t.paginateDescribeParameters=pe;t.paginateDescribePatchBaselines=Ee;t.paginateDescribePatchGroups=fe;t.paginateDescribePatchProperties=Ie;t.paginateDescribeSessions=Ce;t.paginateGetInventory=Be;t.paginateGetInventorySchema=Qe;t.paginateGetOpsSummary=ye;t.paginateGetParameterHistory=Se;t.paginateGetParametersByPath=Re;t.paginateGetResourcePolicies=we;t.paginateListAssociationVersions=be;t.paginateListAssociations=De;t.paginateListCommandInvocations=xe;t.paginateListCommands=Me;t.paginateListComplianceItems=ve;t.paginateListComplianceSummaries=Te;t.paginateListDocumentVersions=ke;t.paginateListDocuments=Ne;t.paginateListNodes=Pe;t.paginateListNodesSummary=Fe;t.paginateListOpsItemEvents=Le;t.paginateListOpsItemRelatedItems=Ue;t.paginateListOpsMetadata=Oe;t.paginateListResourceComplianceSummaries=$e;t.paginateListResourceDataSync=Ge;t.waitForCommandExecuted=waitForCommandExecuted;t.waitUntilCommandExecuted=waitUntilCommandExecuted;Object.prototype.hasOwnProperty.call(L,"__proto__")&&!Object.prototype.hasOwnProperty.call(t,"__proto__")&&Object.defineProperty(t,"__proto__",{enumerable:true,value:L["__proto__"]});Object.keys(L).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e))t[e]=L[e]});Object.prototype.hasOwnProperty.call(U,"__proto__")&&!Object.prototype.hasOwnProperty.call(t,"__proto__")&&Object.defineProperty(t,"__proto__",{enumerable:true,value:U["__proto__"]});Object.keys(U).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e))t[e]=U[e]})},5390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SSMServiceException=t.__ServiceException=void 0;const o=n(2658);Object.defineProperty(t,"__ServiceException",{enumerable:true,get:function(){return o.ServiceException}});class SSMServiceException extends o.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,SSMServiceException.prototype)}}t.SSMServiceException=SSMServiceException},4392:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InvalidDeleteInventoryParametersException=t.InvalidDocumentOperation=t.AssociatedInstances=t.AssociationDoesNotExist=t.InvalidActivationId=t.InvalidActivation=t.ResourceDataSyncInvalidConfigurationException=t.ResourceDataSyncCountExceededException=t.ResourceDataSyncAlreadyExistsException=t.OpsMetadataTooManyUpdatesException=t.OpsMetadataLimitExceededException=t.OpsMetadataInvalidArgumentException=t.OpsMetadataAlreadyExistsException=t.OpsItemAlreadyExistsException=t.OpsItemAccessDeniedException=t.ResourceLimitExceededException=t.IdempotentParameterMismatch=t.NoLongerSupportedException=t.MaxDocumentSizeExceeded=t.InvalidDocumentSchemaVersion=t.InvalidDocumentContent=t.DocumentLimitExceeded=t.DocumentAlreadyExists=t.UnsupportedPlatformType=t.InvalidTargetMaps=t.InvalidTarget=t.InvalidTag=t.InvalidSchedule=t.InvalidOutputLocation=t.InvalidDocumentVersion=t.InvalidDocument=t.AssociationLimitExceeded=t.AssociationAlreadyExists=t.InvalidParameters=t.DoesNotExistException=t.InvalidInstanceId=t.InvalidCommandId=t.DuplicateInstanceId=t.OpsItemRelatedItemAlreadyExistsException=t.OpsItemNotFoundException=t.OpsItemLimitExceededException=t.OpsItemInvalidParameterException=t.OpsItemConflictException=t.AlreadyExistsException=t.TooManyUpdates=t.TooManyTagsError=t.InvalidResourceType=t.InvalidResourceId=t.InternalServerError=t.AccessDeniedException=void 0;t.ItemContentMismatchException=t.InvalidInventoryItemContextException=t.CustomSchemaCountLimitExceededException=t.TotalSizeLimitExceededException=t.ItemSizeLimitExceededException=t.InvalidItemContentException=t.ComplianceTypeCountLimitExceededException=t.DocumentPermissionLimit=t.UnsupportedOperationException=t.ParameterVersionLabelLimitExceeded=t.ServiceSettingNotFound=t.ParameterVersionNotFound=t.InvalidKeyId=t.InvalidResultAttributeException=t.InvalidInventoryGroupException=t.InvalidAggregatorException=t.UnsupportedFeatureRequiredException=t.InvocationDoesNotExist=t.InvalidPluginName=t.UnsupportedCalendarException=t.InvalidDocumentType=t.ValidationException=t.ThrottlingException=t.OpsItemRelatedItemAssociationNotFoundException=t.InvalidFilterOption=t.InvalidDeletionIdException=t.InvalidInstancePropertyFilterValue=t.InvalidInstanceInformationFilterValue=t.UnsupportedOperatingSystem=t.InvalidPermissionType=t.AutomationExecutionNotFoundException=t.InvalidFilterValue=t.InvalidFilterKey=t.AssociationExecutionDoesNotExist=t.InvalidAssociationVersion=t.InvalidNextToken=t.InvalidFilter=t.TargetInUseException=t.ResourcePolicyNotFoundException=t.ResourcePolicyInvalidParameterException=t.ResourcePolicyConflictException=t.ResourceNotFoundException=t.MalformedResourcePolicyDocumentException=t.ResourceDataSyncNotFoundException=t.ResourceInUseException=t.ParameterNotFound=t.OpsMetadataNotFoundException=t.InvalidTypeNameException=t.InvalidOptionException=t.InvalidInventoryRequestException=void 0;t.ResourceDataSyncConflictException=t.OpsMetadataKeyLimitExceededException=t.DuplicateDocumentVersionName=t.DuplicateDocumentContent=t.DocumentVersionLimitExceeded=t.StatusUnchanged=t.InvalidUpdate=t.AssociationVersionLimitExceeded=t.InvalidAutomationStatusUpdateException=t.TargetNotConnected=t.AutomationDefinitionNotApprovedException=t.InvalidAutomationExecutionParametersException=t.AutomationExecutionLimitExceededException=t.AutomationDefinitionVersionNotFoundException=t.AutomationDefinitionNotFoundException=t.InvalidAssociation=t.ServiceQuotaExceededException=t.InvalidRole=t.InvalidOutputFolder=t.InvalidNotificationConfig=t.InvalidAutomationSignalException=t.AutomationStepNotFoundException=t.FeatureNotAvailableException=t.ResourcePolicyLimitExceededException=t.UnsupportedParameterType=t.PoliciesLimitExceededException=t.ParameterPatternMismatchException=t.ParameterMaxVersionLimitExceeded=t.ParameterLimitExceeded=t.ParameterAlreadyExists=t.InvalidPolicyTypeException=t.InvalidPolicyAttributeException=t.InvalidAllowedPatternException=t.IncompatiblePolicyException=t.HierarchyTypeMismatchException=t.HierarchyLevelLimitExceededException=t.UnsupportedInventorySchemaVersionException=t.UnsupportedInventoryItemContextException=t.SubTypeCountLimitExceededException=void 0;const o=n(5390);class AccessDeniedException extends o.SSMServiceException{name="AccessDeniedException";$fault="client";Message;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,AccessDeniedException.prototype);this.Message=e.Message}}t.AccessDeniedException=AccessDeniedException;class InternalServerError extends o.SSMServiceException{name="InternalServerError";$fault="server";Message;constructor(e){super({name:"InternalServerError",$fault:"server",...e});Object.setPrototypeOf(this,InternalServerError.prototype);this.Message=e.Message}}t.InternalServerError=InternalServerError;class InvalidResourceId extends o.SSMServiceException{name="InvalidResourceId";$fault="client";constructor(e){super({name:"InvalidResourceId",$fault:"client",...e});Object.setPrototypeOf(this,InvalidResourceId.prototype)}}t.InvalidResourceId=InvalidResourceId;class InvalidResourceType extends o.SSMServiceException{name="InvalidResourceType";$fault="client";constructor(e){super({name:"InvalidResourceType",$fault:"client",...e});Object.setPrototypeOf(this,InvalidResourceType.prototype)}}t.InvalidResourceType=InvalidResourceType;class TooManyTagsError extends o.SSMServiceException{name="TooManyTagsError";$fault="client";constructor(e){super({name:"TooManyTagsError",$fault:"client",...e});Object.setPrototypeOf(this,TooManyTagsError.prototype)}}t.TooManyTagsError=TooManyTagsError;class TooManyUpdates extends o.SSMServiceException{name="TooManyUpdates";$fault="client";Message;constructor(e){super({name:"TooManyUpdates",$fault:"client",...e});Object.setPrototypeOf(this,TooManyUpdates.prototype);this.Message=e.Message}}t.TooManyUpdates=TooManyUpdates;class AlreadyExistsException extends o.SSMServiceException{name="AlreadyExistsException";$fault="client";Message;constructor(e){super({name:"AlreadyExistsException",$fault:"client",...e});Object.setPrototypeOf(this,AlreadyExistsException.prototype);this.Message=e.Message}}t.AlreadyExistsException=AlreadyExistsException;class OpsItemConflictException extends o.SSMServiceException{name="OpsItemConflictException";$fault="client";Message;constructor(e){super({name:"OpsItemConflictException",$fault:"client",...e});Object.setPrototypeOf(this,OpsItemConflictException.prototype);this.Message=e.Message}}t.OpsItemConflictException=OpsItemConflictException;class OpsItemInvalidParameterException extends o.SSMServiceException{name="OpsItemInvalidParameterException";$fault="client";ParameterNames;Message;constructor(e){super({name:"OpsItemInvalidParameterException",$fault:"client",...e});Object.setPrototypeOf(this,OpsItemInvalidParameterException.prototype);this.ParameterNames=e.ParameterNames;this.Message=e.Message}}t.OpsItemInvalidParameterException=OpsItemInvalidParameterException;class OpsItemLimitExceededException extends o.SSMServiceException{name="OpsItemLimitExceededException";$fault="client";ResourceTypes;Limit;LimitType;Message;constructor(e){super({name:"OpsItemLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,OpsItemLimitExceededException.prototype);this.ResourceTypes=e.ResourceTypes;this.Limit=e.Limit;this.LimitType=e.LimitType;this.Message=e.Message}}t.OpsItemLimitExceededException=OpsItemLimitExceededException;class OpsItemNotFoundException extends o.SSMServiceException{name="OpsItemNotFoundException";$fault="client";Message;constructor(e){super({name:"OpsItemNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,OpsItemNotFoundException.prototype);this.Message=e.Message}}t.OpsItemNotFoundException=OpsItemNotFoundException;class OpsItemRelatedItemAlreadyExistsException extends o.SSMServiceException{name="OpsItemRelatedItemAlreadyExistsException";$fault="client";Message;ResourceUri;OpsItemId;constructor(e){super({name:"OpsItemRelatedItemAlreadyExistsException",$fault:"client",...e});Object.setPrototypeOf(this,OpsItemRelatedItemAlreadyExistsException.prototype);this.Message=e.Message;this.ResourceUri=e.ResourceUri;this.OpsItemId=e.OpsItemId}}t.OpsItemRelatedItemAlreadyExistsException=OpsItemRelatedItemAlreadyExistsException;class DuplicateInstanceId extends o.SSMServiceException{name="DuplicateInstanceId";$fault="client";constructor(e){super({name:"DuplicateInstanceId",$fault:"client",...e});Object.setPrototypeOf(this,DuplicateInstanceId.prototype)}}t.DuplicateInstanceId=DuplicateInstanceId;class InvalidCommandId extends o.SSMServiceException{name="InvalidCommandId";$fault="client";constructor(e){super({name:"InvalidCommandId",$fault:"client",...e});Object.setPrototypeOf(this,InvalidCommandId.prototype)}}t.InvalidCommandId=InvalidCommandId;class InvalidInstanceId extends o.SSMServiceException{name="InvalidInstanceId";$fault="client";Message;constructor(e){super({name:"InvalidInstanceId",$fault:"client",...e});Object.setPrototypeOf(this,InvalidInstanceId.prototype);this.Message=e.Message}}t.InvalidInstanceId=InvalidInstanceId;class DoesNotExistException extends o.SSMServiceException{name="DoesNotExistException";$fault="client";Message;constructor(e){super({name:"DoesNotExistException",$fault:"client",...e});Object.setPrototypeOf(this,DoesNotExistException.prototype);this.Message=e.Message}}t.DoesNotExistException=DoesNotExistException;class InvalidParameters extends o.SSMServiceException{name="InvalidParameters";$fault="client";Message;constructor(e){super({name:"InvalidParameters",$fault:"client",...e});Object.setPrototypeOf(this,InvalidParameters.prototype);this.Message=e.Message}}t.InvalidParameters=InvalidParameters;class AssociationAlreadyExists extends o.SSMServiceException{name="AssociationAlreadyExists";$fault="client";constructor(e){super({name:"AssociationAlreadyExists",$fault:"client",...e});Object.setPrototypeOf(this,AssociationAlreadyExists.prototype)}}t.AssociationAlreadyExists=AssociationAlreadyExists;class AssociationLimitExceeded extends o.SSMServiceException{name="AssociationLimitExceeded";$fault="client";constructor(e){super({name:"AssociationLimitExceeded",$fault:"client",...e});Object.setPrototypeOf(this,AssociationLimitExceeded.prototype)}}t.AssociationLimitExceeded=AssociationLimitExceeded;class InvalidDocument extends o.SSMServiceException{name="InvalidDocument";$fault="client";Message;constructor(e){super({name:"InvalidDocument",$fault:"client",...e});Object.setPrototypeOf(this,InvalidDocument.prototype);this.Message=e.Message}}t.InvalidDocument=InvalidDocument;class InvalidDocumentVersion extends o.SSMServiceException{name="InvalidDocumentVersion";$fault="client";Message;constructor(e){super({name:"InvalidDocumentVersion",$fault:"client",...e});Object.setPrototypeOf(this,InvalidDocumentVersion.prototype);this.Message=e.Message}}t.InvalidDocumentVersion=InvalidDocumentVersion;class InvalidOutputLocation extends o.SSMServiceException{name="InvalidOutputLocation";$fault="client";constructor(e){super({name:"InvalidOutputLocation",$fault:"client",...e});Object.setPrototypeOf(this,InvalidOutputLocation.prototype)}}t.InvalidOutputLocation=InvalidOutputLocation;class InvalidSchedule extends o.SSMServiceException{name="InvalidSchedule";$fault="client";Message;constructor(e){super({name:"InvalidSchedule",$fault:"client",...e});Object.setPrototypeOf(this,InvalidSchedule.prototype);this.Message=e.Message}}t.InvalidSchedule=InvalidSchedule;class InvalidTag extends o.SSMServiceException{name="InvalidTag";$fault="client";Message;constructor(e){super({name:"InvalidTag",$fault:"client",...e});Object.setPrototypeOf(this,InvalidTag.prototype);this.Message=e.Message}}t.InvalidTag=InvalidTag;class InvalidTarget extends o.SSMServiceException{name="InvalidTarget";$fault="client";Message;constructor(e){super({name:"InvalidTarget",$fault:"client",...e});Object.setPrototypeOf(this,InvalidTarget.prototype);this.Message=e.Message}}t.InvalidTarget=InvalidTarget;class InvalidTargetMaps extends o.SSMServiceException{name="InvalidTargetMaps";$fault="client";Message;constructor(e){super({name:"InvalidTargetMaps",$fault:"client",...e});Object.setPrototypeOf(this,InvalidTargetMaps.prototype);this.Message=e.Message}}t.InvalidTargetMaps=InvalidTargetMaps;class UnsupportedPlatformType extends o.SSMServiceException{name="UnsupportedPlatformType";$fault="client";Message;constructor(e){super({name:"UnsupportedPlatformType",$fault:"client",...e});Object.setPrototypeOf(this,UnsupportedPlatformType.prototype);this.Message=e.Message}}t.UnsupportedPlatformType=UnsupportedPlatformType;class DocumentAlreadyExists extends o.SSMServiceException{name="DocumentAlreadyExists";$fault="client";Message;constructor(e){super({name:"DocumentAlreadyExists",$fault:"client",...e});Object.setPrototypeOf(this,DocumentAlreadyExists.prototype);this.Message=e.Message}}t.DocumentAlreadyExists=DocumentAlreadyExists;class DocumentLimitExceeded extends o.SSMServiceException{name="DocumentLimitExceeded";$fault="client";Message;constructor(e){super({name:"DocumentLimitExceeded",$fault:"client",...e});Object.setPrototypeOf(this,DocumentLimitExceeded.prototype);this.Message=e.Message}}t.DocumentLimitExceeded=DocumentLimitExceeded;class InvalidDocumentContent extends o.SSMServiceException{name="InvalidDocumentContent";$fault="client";Message;constructor(e){super({name:"InvalidDocumentContent",$fault:"client",...e});Object.setPrototypeOf(this,InvalidDocumentContent.prototype);this.Message=e.Message}}t.InvalidDocumentContent=InvalidDocumentContent;class InvalidDocumentSchemaVersion extends o.SSMServiceException{name="InvalidDocumentSchemaVersion";$fault="client";Message;constructor(e){super({name:"InvalidDocumentSchemaVersion",$fault:"client",...e});Object.setPrototypeOf(this,InvalidDocumentSchemaVersion.prototype);this.Message=e.Message}}t.InvalidDocumentSchemaVersion=InvalidDocumentSchemaVersion;class MaxDocumentSizeExceeded extends o.SSMServiceException{name="MaxDocumentSizeExceeded";$fault="client";Message;constructor(e){super({name:"MaxDocumentSizeExceeded",$fault:"client",...e});Object.setPrototypeOf(this,MaxDocumentSizeExceeded.prototype);this.Message=e.Message}}t.MaxDocumentSizeExceeded=MaxDocumentSizeExceeded;class NoLongerSupportedException extends o.SSMServiceException{name="NoLongerSupportedException";$fault="client";Message;constructor(e){super({name:"NoLongerSupportedException",$fault:"client",...e});Object.setPrototypeOf(this,NoLongerSupportedException.prototype);this.Message=e.Message}}t.NoLongerSupportedException=NoLongerSupportedException;class IdempotentParameterMismatch extends o.SSMServiceException{name="IdempotentParameterMismatch";$fault="client";Message;constructor(e){super({name:"IdempotentParameterMismatch",$fault:"client",...e});Object.setPrototypeOf(this,IdempotentParameterMismatch.prototype);this.Message=e.Message}}t.IdempotentParameterMismatch=IdempotentParameterMismatch;class ResourceLimitExceededException extends o.SSMServiceException{name="ResourceLimitExceededException";$fault="client";Message;constructor(e){super({name:"ResourceLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,ResourceLimitExceededException.prototype);this.Message=e.Message}}t.ResourceLimitExceededException=ResourceLimitExceededException;class OpsItemAccessDeniedException extends o.SSMServiceException{name="OpsItemAccessDeniedException";$fault="client";Message;constructor(e){super({name:"OpsItemAccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,OpsItemAccessDeniedException.prototype);this.Message=e.Message}}t.OpsItemAccessDeniedException=OpsItemAccessDeniedException;class OpsItemAlreadyExistsException extends o.SSMServiceException{name="OpsItemAlreadyExistsException";$fault="client";Message;OpsItemId;constructor(e){super({name:"OpsItemAlreadyExistsException",$fault:"client",...e});Object.setPrototypeOf(this,OpsItemAlreadyExistsException.prototype);this.Message=e.Message;this.OpsItemId=e.OpsItemId}}t.OpsItemAlreadyExistsException=OpsItemAlreadyExistsException;class OpsMetadataAlreadyExistsException extends o.SSMServiceException{name="OpsMetadataAlreadyExistsException";$fault="client";constructor(e){super({name:"OpsMetadataAlreadyExistsException",$fault:"client",...e});Object.setPrototypeOf(this,OpsMetadataAlreadyExistsException.prototype)}}t.OpsMetadataAlreadyExistsException=OpsMetadataAlreadyExistsException;class OpsMetadataInvalidArgumentException extends o.SSMServiceException{name="OpsMetadataInvalidArgumentException";$fault="client";constructor(e){super({name:"OpsMetadataInvalidArgumentException",$fault:"client",...e});Object.setPrototypeOf(this,OpsMetadataInvalidArgumentException.prototype)}}t.OpsMetadataInvalidArgumentException=OpsMetadataInvalidArgumentException;class OpsMetadataLimitExceededException extends o.SSMServiceException{name="OpsMetadataLimitExceededException";$fault="client";constructor(e){super({name:"OpsMetadataLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,OpsMetadataLimitExceededException.prototype)}}t.OpsMetadataLimitExceededException=OpsMetadataLimitExceededException;class OpsMetadataTooManyUpdatesException extends o.SSMServiceException{name="OpsMetadataTooManyUpdatesException";$fault="client";constructor(e){super({name:"OpsMetadataTooManyUpdatesException",$fault:"client",...e});Object.setPrototypeOf(this,OpsMetadataTooManyUpdatesException.prototype)}}t.OpsMetadataTooManyUpdatesException=OpsMetadataTooManyUpdatesException;class ResourceDataSyncAlreadyExistsException extends o.SSMServiceException{name="ResourceDataSyncAlreadyExistsException";$fault="client";SyncName;constructor(e){super({name:"ResourceDataSyncAlreadyExistsException",$fault:"client",...e});Object.setPrototypeOf(this,ResourceDataSyncAlreadyExistsException.prototype);this.SyncName=e.SyncName}}t.ResourceDataSyncAlreadyExistsException=ResourceDataSyncAlreadyExistsException;class ResourceDataSyncCountExceededException extends o.SSMServiceException{name="ResourceDataSyncCountExceededException";$fault="client";Message;constructor(e){super({name:"ResourceDataSyncCountExceededException",$fault:"client",...e});Object.setPrototypeOf(this,ResourceDataSyncCountExceededException.prototype);this.Message=e.Message}}t.ResourceDataSyncCountExceededException=ResourceDataSyncCountExceededException;class ResourceDataSyncInvalidConfigurationException extends o.SSMServiceException{name="ResourceDataSyncInvalidConfigurationException";$fault="client";Message;constructor(e){super({name:"ResourceDataSyncInvalidConfigurationException",$fault:"client",...e});Object.setPrototypeOf(this,ResourceDataSyncInvalidConfigurationException.prototype);this.Message=e.Message}}t.ResourceDataSyncInvalidConfigurationException=ResourceDataSyncInvalidConfigurationException;class InvalidActivation extends o.SSMServiceException{name="InvalidActivation";$fault="client";Message;constructor(e){super({name:"InvalidActivation",$fault:"client",...e});Object.setPrototypeOf(this,InvalidActivation.prototype);this.Message=e.Message}}t.InvalidActivation=InvalidActivation;class InvalidActivationId extends o.SSMServiceException{name="InvalidActivationId";$fault="client";Message;constructor(e){super({name:"InvalidActivationId",$fault:"client",...e});Object.setPrototypeOf(this,InvalidActivationId.prototype);this.Message=e.Message}}t.InvalidActivationId=InvalidActivationId;class AssociationDoesNotExist extends o.SSMServiceException{name="AssociationDoesNotExist";$fault="client";Message;constructor(e){super({name:"AssociationDoesNotExist",$fault:"client",...e});Object.setPrototypeOf(this,AssociationDoesNotExist.prototype);this.Message=e.Message}}t.AssociationDoesNotExist=AssociationDoesNotExist;class AssociatedInstances extends o.SSMServiceException{name="AssociatedInstances";$fault="client";constructor(e){super({name:"AssociatedInstances",$fault:"client",...e});Object.setPrototypeOf(this,AssociatedInstances.prototype)}}t.AssociatedInstances=AssociatedInstances;class InvalidDocumentOperation extends o.SSMServiceException{name="InvalidDocumentOperation";$fault="client";Message;constructor(e){super({name:"InvalidDocumentOperation",$fault:"client",...e});Object.setPrototypeOf(this,InvalidDocumentOperation.prototype);this.Message=e.Message}}t.InvalidDocumentOperation=InvalidDocumentOperation;class InvalidDeleteInventoryParametersException extends o.SSMServiceException{name="InvalidDeleteInventoryParametersException";$fault="client";Message;constructor(e){super({name:"InvalidDeleteInventoryParametersException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidDeleteInventoryParametersException.prototype);this.Message=e.Message}}t.InvalidDeleteInventoryParametersException=InvalidDeleteInventoryParametersException;class InvalidInventoryRequestException extends o.SSMServiceException{name="InvalidInventoryRequestException";$fault="client";Message;constructor(e){super({name:"InvalidInventoryRequestException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidInventoryRequestException.prototype);this.Message=e.Message}}t.InvalidInventoryRequestException=InvalidInventoryRequestException;class InvalidOptionException extends o.SSMServiceException{name="InvalidOptionException";$fault="client";Message;constructor(e){super({name:"InvalidOptionException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidOptionException.prototype);this.Message=e.Message}}t.InvalidOptionException=InvalidOptionException;class InvalidTypeNameException extends o.SSMServiceException{name="InvalidTypeNameException";$fault="client";Message;constructor(e){super({name:"InvalidTypeNameException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidTypeNameException.prototype);this.Message=e.Message}}t.InvalidTypeNameException=InvalidTypeNameException;class OpsMetadataNotFoundException extends o.SSMServiceException{name="OpsMetadataNotFoundException";$fault="client";constructor(e){super({name:"OpsMetadataNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,OpsMetadataNotFoundException.prototype)}}t.OpsMetadataNotFoundException=OpsMetadataNotFoundException;class ParameterNotFound extends o.SSMServiceException{name="ParameterNotFound";$fault="client";constructor(e){super({name:"ParameterNotFound",$fault:"client",...e});Object.setPrototypeOf(this,ParameterNotFound.prototype)}}t.ParameterNotFound=ParameterNotFound;class ResourceInUseException extends o.SSMServiceException{name="ResourceInUseException";$fault="client";Message;constructor(e){super({name:"ResourceInUseException",$fault:"client",...e});Object.setPrototypeOf(this,ResourceInUseException.prototype);this.Message=e.Message}}t.ResourceInUseException=ResourceInUseException;class ResourceDataSyncNotFoundException extends o.SSMServiceException{name="ResourceDataSyncNotFoundException";$fault="client";SyncName;SyncType;Message;constructor(e){super({name:"ResourceDataSyncNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,ResourceDataSyncNotFoundException.prototype);this.SyncName=e.SyncName;this.SyncType=e.SyncType;this.Message=e.Message}}t.ResourceDataSyncNotFoundException=ResourceDataSyncNotFoundException;class MalformedResourcePolicyDocumentException extends o.SSMServiceException{name="MalformedResourcePolicyDocumentException";$fault="client";Message;constructor(e){super({name:"MalformedResourcePolicyDocumentException",$fault:"client",...e});Object.setPrototypeOf(this,MalformedResourcePolicyDocumentException.prototype);this.Message=e.Message}}t.MalformedResourcePolicyDocumentException=MalformedResourcePolicyDocumentException;class ResourceNotFoundException extends o.SSMServiceException{name="ResourceNotFoundException";$fault="client";Message;constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,ResourceNotFoundException.prototype);this.Message=e.Message}}t.ResourceNotFoundException=ResourceNotFoundException;class ResourcePolicyConflictException extends o.SSMServiceException{name="ResourcePolicyConflictException";$fault="client";Message;constructor(e){super({name:"ResourcePolicyConflictException",$fault:"client",...e});Object.setPrototypeOf(this,ResourcePolicyConflictException.prototype);this.Message=e.Message}}t.ResourcePolicyConflictException=ResourcePolicyConflictException;class ResourcePolicyInvalidParameterException extends o.SSMServiceException{name="ResourcePolicyInvalidParameterException";$fault="client";ParameterNames;Message;constructor(e){super({name:"ResourcePolicyInvalidParameterException",$fault:"client",...e});Object.setPrototypeOf(this,ResourcePolicyInvalidParameterException.prototype);this.ParameterNames=e.ParameterNames;this.Message=e.Message}}t.ResourcePolicyInvalidParameterException=ResourcePolicyInvalidParameterException;class ResourcePolicyNotFoundException extends o.SSMServiceException{name="ResourcePolicyNotFoundException";$fault="client";Message;constructor(e){super({name:"ResourcePolicyNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,ResourcePolicyNotFoundException.prototype);this.Message=e.Message}}t.ResourcePolicyNotFoundException=ResourcePolicyNotFoundException;class TargetInUseException extends o.SSMServiceException{name="TargetInUseException";$fault="client";Message;constructor(e){super({name:"TargetInUseException",$fault:"client",...e});Object.setPrototypeOf(this,TargetInUseException.prototype);this.Message=e.Message}}t.TargetInUseException=TargetInUseException;class InvalidFilter extends o.SSMServiceException{name="InvalidFilter";$fault="client";Message;constructor(e){super({name:"InvalidFilter",$fault:"client",...e});Object.setPrototypeOf(this,InvalidFilter.prototype);this.Message=e.Message}}t.InvalidFilter=InvalidFilter;class InvalidNextToken extends o.SSMServiceException{name="InvalidNextToken";$fault="client";Message;constructor(e){super({name:"InvalidNextToken",$fault:"client",...e});Object.setPrototypeOf(this,InvalidNextToken.prototype);this.Message=e.Message}}t.InvalidNextToken=InvalidNextToken;class InvalidAssociationVersion extends o.SSMServiceException{name="InvalidAssociationVersion";$fault="client";Message;constructor(e){super({name:"InvalidAssociationVersion",$fault:"client",...e});Object.setPrototypeOf(this,InvalidAssociationVersion.prototype);this.Message=e.Message}}t.InvalidAssociationVersion=InvalidAssociationVersion;class AssociationExecutionDoesNotExist extends o.SSMServiceException{name="AssociationExecutionDoesNotExist";$fault="client";Message;constructor(e){super({name:"AssociationExecutionDoesNotExist",$fault:"client",...e});Object.setPrototypeOf(this,AssociationExecutionDoesNotExist.prototype);this.Message=e.Message}}t.AssociationExecutionDoesNotExist=AssociationExecutionDoesNotExist;class InvalidFilterKey extends o.SSMServiceException{name="InvalidFilterKey";$fault="client";constructor(e){super({name:"InvalidFilterKey",$fault:"client",...e});Object.setPrototypeOf(this,InvalidFilterKey.prototype)}}t.InvalidFilterKey=InvalidFilterKey;class InvalidFilterValue extends o.SSMServiceException{name="InvalidFilterValue";$fault="client";Message;constructor(e){super({name:"InvalidFilterValue",$fault:"client",...e});Object.setPrototypeOf(this,InvalidFilterValue.prototype);this.Message=e.Message}}t.InvalidFilterValue=InvalidFilterValue;class AutomationExecutionNotFoundException extends o.SSMServiceException{name="AutomationExecutionNotFoundException";$fault="client";Message;constructor(e){super({name:"AutomationExecutionNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,AutomationExecutionNotFoundException.prototype);this.Message=e.Message}}t.AutomationExecutionNotFoundException=AutomationExecutionNotFoundException;class InvalidPermissionType extends o.SSMServiceException{name="InvalidPermissionType";$fault="client";Message;constructor(e){super({name:"InvalidPermissionType",$fault:"client",...e});Object.setPrototypeOf(this,InvalidPermissionType.prototype);this.Message=e.Message}}t.InvalidPermissionType=InvalidPermissionType;class UnsupportedOperatingSystem extends o.SSMServiceException{name="UnsupportedOperatingSystem";$fault="client";Message;constructor(e){super({name:"UnsupportedOperatingSystem",$fault:"client",...e});Object.setPrototypeOf(this,UnsupportedOperatingSystem.prototype);this.Message=e.Message}}t.UnsupportedOperatingSystem=UnsupportedOperatingSystem;class InvalidInstanceInformationFilterValue extends o.SSMServiceException{name="InvalidInstanceInformationFilterValue";$fault="client";constructor(e){super({name:"InvalidInstanceInformationFilterValue",$fault:"client",...e});Object.setPrototypeOf(this,InvalidInstanceInformationFilterValue.prototype)}}t.InvalidInstanceInformationFilterValue=InvalidInstanceInformationFilterValue;class InvalidInstancePropertyFilterValue extends o.SSMServiceException{name="InvalidInstancePropertyFilterValue";$fault="client";constructor(e){super({name:"InvalidInstancePropertyFilterValue",$fault:"client",...e});Object.setPrototypeOf(this,InvalidInstancePropertyFilterValue.prototype)}}t.InvalidInstancePropertyFilterValue=InvalidInstancePropertyFilterValue;class InvalidDeletionIdException extends o.SSMServiceException{name="InvalidDeletionIdException";$fault="client";Message;constructor(e){super({name:"InvalidDeletionIdException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidDeletionIdException.prototype);this.Message=e.Message}}t.InvalidDeletionIdException=InvalidDeletionIdException;class InvalidFilterOption extends o.SSMServiceException{name="InvalidFilterOption";$fault="client";constructor(e){super({name:"InvalidFilterOption",$fault:"client",...e});Object.setPrototypeOf(this,InvalidFilterOption.prototype)}}t.InvalidFilterOption=InvalidFilterOption;class OpsItemRelatedItemAssociationNotFoundException extends o.SSMServiceException{name="OpsItemRelatedItemAssociationNotFoundException";$fault="client";Message;constructor(e){super({name:"OpsItemRelatedItemAssociationNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,OpsItemRelatedItemAssociationNotFoundException.prototype);this.Message=e.Message}}t.OpsItemRelatedItemAssociationNotFoundException=OpsItemRelatedItemAssociationNotFoundException;class ThrottlingException extends o.SSMServiceException{name="ThrottlingException";$fault="client";Message;QuotaCode;ServiceCode;constructor(e){super({name:"ThrottlingException",$fault:"client",...e});Object.setPrototypeOf(this,ThrottlingException.prototype);this.Message=e.Message;this.QuotaCode=e.QuotaCode;this.ServiceCode=e.ServiceCode}}t.ThrottlingException=ThrottlingException;class ValidationException extends o.SSMServiceException{name="ValidationException";$fault="client";Message;ReasonCode;constructor(e){super({name:"ValidationException",$fault:"client",...e});Object.setPrototypeOf(this,ValidationException.prototype);this.Message=e.Message;this.ReasonCode=e.ReasonCode}}t.ValidationException=ValidationException;class InvalidDocumentType extends o.SSMServiceException{name="InvalidDocumentType";$fault="client";Message;constructor(e){super({name:"InvalidDocumentType",$fault:"client",...e});Object.setPrototypeOf(this,InvalidDocumentType.prototype);this.Message=e.Message}}t.InvalidDocumentType=InvalidDocumentType;class UnsupportedCalendarException extends o.SSMServiceException{name="UnsupportedCalendarException";$fault="client";Message;constructor(e){super({name:"UnsupportedCalendarException",$fault:"client",...e});Object.setPrototypeOf(this,UnsupportedCalendarException.prototype);this.Message=e.Message}}t.UnsupportedCalendarException=UnsupportedCalendarException;class InvalidPluginName extends o.SSMServiceException{name="InvalidPluginName";$fault="client";constructor(e){super({name:"InvalidPluginName",$fault:"client",...e});Object.setPrototypeOf(this,InvalidPluginName.prototype)}}t.InvalidPluginName=InvalidPluginName;class InvocationDoesNotExist extends o.SSMServiceException{name="InvocationDoesNotExist";$fault="client";constructor(e){super({name:"InvocationDoesNotExist",$fault:"client",...e});Object.setPrototypeOf(this,InvocationDoesNotExist.prototype)}}t.InvocationDoesNotExist=InvocationDoesNotExist;class UnsupportedFeatureRequiredException extends o.SSMServiceException{name="UnsupportedFeatureRequiredException";$fault="client";Message;constructor(e){super({name:"UnsupportedFeatureRequiredException",$fault:"client",...e});Object.setPrototypeOf(this,UnsupportedFeatureRequiredException.prototype);this.Message=e.Message}}t.UnsupportedFeatureRequiredException=UnsupportedFeatureRequiredException;class InvalidAggregatorException extends o.SSMServiceException{name="InvalidAggregatorException";$fault="client";Message;constructor(e){super({name:"InvalidAggregatorException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidAggregatorException.prototype);this.Message=e.Message}}t.InvalidAggregatorException=InvalidAggregatorException;class InvalidInventoryGroupException extends o.SSMServiceException{name="InvalidInventoryGroupException";$fault="client";Message;constructor(e){super({name:"InvalidInventoryGroupException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidInventoryGroupException.prototype);this.Message=e.Message}}t.InvalidInventoryGroupException=InvalidInventoryGroupException;class InvalidResultAttributeException extends o.SSMServiceException{name="InvalidResultAttributeException";$fault="client";Message;constructor(e){super({name:"InvalidResultAttributeException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidResultAttributeException.prototype);this.Message=e.Message}}t.InvalidResultAttributeException=InvalidResultAttributeException;class InvalidKeyId extends o.SSMServiceException{name="InvalidKeyId";$fault="client";constructor(e){super({name:"InvalidKeyId",$fault:"client",...e});Object.setPrototypeOf(this,InvalidKeyId.prototype)}}t.InvalidKeyId=InvalidKeyId;class ParameterVersionNotFound extends o.SSMServiceException{name="ParameterVersionNotFound";$fault="client";constructor(e){super({name:"ParameterVersionNotFound",$fault:"client",...e});Object.setPrototypeOf(this,ParameterVersionNotFound.prototype)}}t.ParameterVersionNotFound=ParameterVersionNotFound;class ServiceSettingNotFound extends o.SSMServiceException{name="ServiceSettingNotFound";$fault="client";Message;constructor(e){super({name:"ServiceSettingNotFound",$fault:"client",...e});Object.setPrototypeOf(this,ServiceSettingNotFound.prototype);this.Message=e.Message}}t.ServiceSettingNotFound=ServiceSettingNotFound;class ParameterVersionLabelLimitExceeded extends o.SSMServiceException{name="ParameterVersionLabelLimitExceeded";$fault="client";constructor(e){super({name:"ParameterVersionLabelLimitExceeded",$fault:"client",...e});Object.setPrototypeOf(this,ParameterVersionLabelLimitExceeded.prototype)}}t.ParameterVersionLabelLimitExceeded=ParameterVersionLabelLimitExceeded;class UnsupportedOperationException extends o.SSMServiceException{name="UnsupportedOperationException";$fault="client";Message;constructor(e){super({name:"UnsupportedOperationException",$fault:"client",...e});Object.setPrototypeOf(this,UnsupportedOperationException.prototype);this.Message=e.Message}}t.UnsupportedOperationException=UnsupportedOperationException;class DocumentPermissionLimit extends o.SSMServiceException{name="DocumentPermissionLimit";$fault="client";Message;constructor(e){super({name:"DocumentPermissionLimit",$fault:"client",...e});Object.setPrototypeOf(this,DocumentPermissionLimit.prototype);this.Message=e.Message}}t.DocumentPermissionLimit=DocumentPermissionLimit;class ComplianceTypeCountLimitExceededException extends o.SSMServiceException{name="ComplianceTypeCountLimitExceededException";$fault="client";Message;constructor(e){super({name:"ComplianceTypeCountLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,ComplianceTypeCountLimitExceededException.prototype);this.Message=e.Message}}t.ComplianceTypeCountLimitExceededException=ComplianceTypeCountLimitExceededException;class InvalidItemContentException extends o.SSMServiceException{name="InvalidItemContentException";$fault="client";TypeName;Message;constructor(e){super({name:"InvalidItemContentException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidItemContentException.prototype);this.TypeName=e.TypeName;this.Message=e.Message}}t.InvalidItemContentException=InvalidItemContentException;class ItemSizeLimitExceededException extends o.SSMServiceException{name="ItemSizeLimitExceededException";$fault="client";TypeName;Message;constructor(e){super({name:"ItemSizeLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,ItemSizeLimitExceededException.prototype);this.TypeName=e.TypeName;this.Message=e.Message}}t.ItemSizeLimitExceededException=ItemSizeLimitExceededException;class TotalSizeLimitExceededException extends o.SSMServiceException{name="TotalSizeLimitExceededException";$fault="client";Message;constructor(e){super({name:"TotalSizeLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,TotalSizeLimitExceededException.prototype);this.Message=e.Message}}t.TotalSizeLimitExceededException=TotalSizeLimitExceededException;class CustomSchemaCountLimitExceededException extends o.SSMServiceException{name="CustomSchemaCountLimitExceededException";$fault="client";Message;constructor(e){super({name:"CustomSchemaCountLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,CustomSchemaCountLimitExceededException.prototype);this.Message=e.Message}}t.CustomSchemaCountLimitExceededException=CustomSchemaCountLimitExceededException;class InvalidInventoryItemContextException extends o.SSMServiceException{name="InvalidInventoryItemContextException";$fault="client";Message;constructor(e){super({name:"InvalidInventoryItemContextException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidInventoryItemContextException.prototype);this.Message=e.Message}}t.InvalidInventoryItemContextException=InvalidInventoryItemContextException;class ItemContentMismatchException extends o.SSMServiceException{name="ItemContentMismatchException";$fault="client";TypeName;Message;constructor(e){super({name:"ItemContentMismatchException",$fault:"client",...e});Object.setPrototypeOf(this,ItemContentMismatchException.prototype);this.TypeName=e.TypeName;this.Message=e.Message}}t.ItemContentMismatchException=ItemContentMismatchException;class SubTypeCountLimitExceededException extends o.SSMServiceException{name="SubTypeCountLimitExceededException";$fault="client";Message;constructor(e){super({name:"SubTypeCountLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,SubTypeCountLimitExceededException.prototype);this.Message=e.Message}}t.SubTypeCountLimitExceededException=SubTypeCountLimitExceededException;class UnsupportedInventoryItemContextException extends o.SSMServiceException{name="UnsupportedInventoryItemContextException";$fault="client";TypeName;Message;constructor(e){super({name:"UnsupportedInventoryItemContextException",$fault:"client",...e});Object.setPrototypeOf(this,UnsupportedInventoryItemContextException.prototype);this.TypeName=e.TypeName;this.Message=e.Message}}t.UnsupportedInventoryItemContextException=UnsupportedInventoryItemContextException;class UnsupportedInventorySchemaVersionException extends o.SSMServiceException{name="UnsupportedInventorySchemaVersionException";$fault="client";Message;constructor(e){super({name:"UnsupportedInventorySchemaVersionException",$fault:"client",...e});Object.setPrototypeOf(this,UnsupportedInventorySchemaVersionException.prototype);this.Message=e.Message}}t.UnsupportedInventorySchemaVersionException=UnsupportedInventorySchemaVersionException;class HierarchyLevelLimitExceededException extends o.SSMServiceException{name="HierarchyLevelLimitExceededException";$fault="client";constructor(e){super({name:"HierarchyLevelLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,HierarchyLevelLimitExceededException.prototype)}}t.HierarchyLevelLimitExceededException=HierarchyLevelLimitExceededException;class HierarchyTypeMismatchException extends o.SSMServiceException{name="HierarchyTypeMismatchException";$fault="client";constructor(e){super({name:"HierarchyTypeMismatchException",$fault:"client",...e});Object.setPrototypeOf(this,HierarchyTypeMismatchException.prototype)}}t.HierarchyTypeMismatchException=HierarchyTypeMismatchException;class IncompatiblePolicyException extends o.SSMServiceException{name="IncompatiblePolicyException";$fault="client";constructor(e){super({name:"IncompatiblePolicyException",$fault:"client",...e});Object.setPrototypeOf(this,IncompatiblePolicyException.prototype)}}t.IncompatiblePolicyException=IncompatiblePolicyException;class InvalidAllowedPatternException extends o.SSMServiceException{name="InvalidAllowedPatternException";$fault="client";constructor(e){super({name:"InvalidAllowedPatternException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidAllowedPatternException.prototype)}}t.InvalidAllowedPatternException=InvalidAllowedPatternException;class InvalidPolicyAttributeException extends o.SSMServiceException{name="InvalidPolicyAttributeException";$fault="client";constructor(e){super({name:"InvalidPolicyAttributeException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidPolicyAttributeException.prototype)}}t.InvalidPolicyAttributeException=InvalidPolicyAttributeException;class InvalidPolicyTypeException extends o.SSMServiceException{name="InvalidPolicyTypeException";$fault="client";constructor(e){super({name:"InvalidPolicyTypeException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidPolicyTypeException.prototype)}}t.InvalidPolicyTypeException=InvalidPolicyTypeException;class ParameterAlreadyExists extends o.SSMServiceException{name="ParameterAlreadyExists";$fault="client";constructor(e){super({name:"ParameterAlreadyExists",$fault:"client",...e});Object.setPrototypeOf(this,ParameterAlreadyExists.prototype)}}t.ParameterAlreadyExists=ParameterAlreadyExists;class ParameterLimitExceeded extends o.SSMServiceException{name="ParameterLimitExceeded";$fault="client";constructor(e){super({name:"ParameterLimitExceeded",$fault:"client",...e});Object.setPrototypeOf(this,ParameterLimitExceeded.prototype)}}t.ParameterLimitExceeded=ParameterLimitExceeded;class ParameterMaxVersionLimitExceeded extends o.SSMServiceException{name="ParameterMaxVersionLimitExceeded";$fault="client";constructor(e){super({name:"ParameterMaxVersionLimitExceeded",$fault:"client",...e});Object.setPrototypeOf(this,ParameterMaxVersionLimitExceeded.prototype)}}t.ParameterMaxVersionLimitExceeded=ParameterMaxVersionLimitExceeded;class ParameterPatternMismatchException extends o.SSMServiceException{name="ParameterPatternMismatchException";$fault="client";constructor(e){super({name:"ParameterPatternMismatchException",$fault:"client",...e});Object.setPrototypeOf(this,ParameterPatternMismatchException.prototype)}}t.ParameterPatternMismatchException=ParameterPatternMismatchException;class PoliciesLimitExceededException extends o.SSMServiceException{name="PoliciesLimitExceededException";$fault="client";constructor(e){super({name:"PoliciesLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,PoliciesLimitExceededException.prototype)}}t.PoliciesLimitExceededException=PoliciesLimitExceededException;class UnsupportedParameterType extends o.SSMServiceException{name="UnsupportedParameterType";$fault="client";constructor(e){super({name:"UnsupportedParameterType",$fault:"client",...e});Object.setPrototypeOf(this,UnsupportedParameterType.prototype)}}t.UnsupportedParameterType=UnsupportedParameterType;class ResourcePolicyLimitExceededException extends o.SSMServiceException{name="ResourcePolicyLimitExceededException";$fault="client";Limit;LimitType;Message;constructor(e){super({name:"ResourcePolicyLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,ResourcePolicyLimitExceededException.prototype);this.Limit=e.Limit;this.LimitType=e.LimitType;this.Message=e.Message}}t.ResourcePolicyLimitExceededException=ResourcePolicyLimitExceededException;class FeatureNotAvailableException extends o.SSMServiceException{name="FeatureNotAvailableException";$fault="client";Message;constructor(e){super({name:"FeatureNotAvailableException",$fault:"client",...e});Object.setPrototypeOf(this,FeatureNotAvailableException.prototype);this.Message=e.Message}}t.FeatureNotAvailableException=FeatureNotAvailableException;class AutomationStepNotFoundException extends o.SSMServiceException{name="AutomationStepNotFoundException";$fault="client";Message;constructor(e){super({name:"AutomationStepNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,AutomationStepNotFoundException.prototype);this.Message=e.Message}}t.AutomationStepNotFoundException=AutomationStepNotFoundException;class InvalidAutomationSignalException extends o.SSMServiceException{name="InvalidAutomationSignalException";$fault="client";Message;constructor(e){super({name:"InvalidAutomationSignalException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidAutomationSignalException.prototype);this.Message=e.Message}}t.InvalidAutomationSignalException=InvalidAutomationSignalException;class InvalidNotificationConfig extends o.SSMServiceException{name="InvalidNotificationConfig";$fault="client";Message;constructor(e){super({name:"InvalidNotificationConfig",$fault:"client",...e});Object.setPrototypeOf(this,InvalidNotificationConfig.prototype);this.Message=e.Message}}t.InvalidNotificationConfig=InvalidNotificationConfig;class InvalidOutputFolder extends o.SSMServiceException{name="InvalidOutputFolder";$fault="client";constructor(e){super({name:"InvalidOutputFolder",$fault:"client",...e});Object.setPrototypeOf(this,InvalidOutputFolder.prototype)}}t.InvalidOutputFolder=InvalidOutputFolder;class InvalidRole extends o.SSMServiceException{name="InvalidRole";$fault="client";Message;constructor(e){super({name:"InvalidRole",$fault:"client",...e});Object.setPrototypeOf(this,InvalidRole.prototype);this.Message=e.Message}}t.InvalidRole=InvalidRole;class ServiceQuotaExceededException extends o.SSMServiceException{name="ServiceQuotaExceededException";$fault="client";Message;ResourceId;ResourceType;QuotaCode;ServiceCode;constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e});Object.setPrototypeOf(this,ServiceQuotaExceededException.prototype);this.Message=e.Message;this.ResourceId=e.ResourceId;this.ResourceType=e.ResourceType;this.QuotaCode=e.QuotaCode;this.ServiceCode=e.ServiceCode}}t.ServiceQuotaExceededException=ServiceQuotaExceededException;class InvalidAssociation extends o.SSMServiceException{name="InvalidAssociation";$fault="client";Message;constructor(e){super({name:"InvalidAssociation",$fault:"client",...e});Object.setPrototypeOf(this,InvalidAssociation.prototype);this.Message=e.Message}}t.InvalidAssociation=InvalidAssociation;class AutomationDefinitionNotFoundException extends o.SSMServiceException{name="AutomationDefinitionNotFoundException";$fault="client";Message;constructor(e){super({name:"AutomationDefinitionNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,AutomationDefinitionNotFoundException.prototype);this.Message=e.Message}}t.AutomationDefinitionNotFoundException=AutomationDefinitionNotFoundException;class AutomationDefinitionVersionNotFoundException extends o.SSMServiceException{name="AutomationDefinitionVersionNotFoundException";$fault="client";Message;constructor(e){super({name:"AutomationDefinitionVersionNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,AutomationDefinitionVersionNotFoundException.prototype);this.Message=e.Message}}t.AutomationDefinitionVersionNotFoundException=AutomationDefinitionVersionNotFoundException;class AutomationExecutionLimitExceededException extends o.SSMServiceException{name="AutomationExecutionLimitExceededException";$fault="client";Message;constructor(e){super({name:"AutomationExecutionLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,AutomationExecutionLimitExceededException.prototype);this.Message=e.Message}}t.AutomationExecutionLimitExceededException=AutomationExecutionLimitExceededException;class InvalidAutomationExecutionParametersException extends o.SSMServiceException{name="InvalidAutomationExecutionParametersException";$fault="client";Message;constructor(e){super({name:"InvalidAutomationExecutionParametersException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidAutomationExecutionParametersException.prototype);this.Message=e.Message}}t.InvalidAutomationExecutionParametersException=InvalidAutomationExecutionParametersException;class AutomationDefinitionNotApprovedException extends o.SSMServiceException{name="AutomationDefinitionNotApprovedException";$fault="client";Message;constructor(e){super({name:"AutomationDefinitionNotApprovedException",$fault:"client",...e});Object.setPrototypeOf(this,AutomationDefinitionNotApprovedException.prototype);this.Message=e.Message}}t.AutomationDefinitionNotApprovedException=AutomationDefinitionNotApprovedException;class TargetNotConnected extends o.SSMServiceException{name="TargetNotConnected";$fault="client";Message;constructor(e){super({name:"TargetNotConnected",$fault:"client",...e});Object.setPrototypeOf(this,TargetNotConnected.prototype);this.Message=e.Message}}t.TargetNotConnected=TargetNotConnected;class InvalidAutomationStatusUpdateException extends o.SSMServiceException{name="InvalidAutomationStatusUpdateException";$fault="client";Message;constructor(e){super({name:"InvalidAutomationStatusUpdateException",$fault:"client",...e});Object.setPrototypeOf(this,InvalidAutomationStatusUpdateException.prototype);this.Message=e.Message}}t.InvalidAutomationStatusUpdateException=InvalidAutomationStatusUpdateException;class AssociationVersionLimitExceeded extends o.SSMServiceException{name="AssociationVersionLimitExceeded";$fault="client";Message;constructor(e){super({name:"AssociationVersionLimitExceeded",$fault:"client",...e});Object.setPrototypeOf(this,AssociationVersionLimitExceeded.prototype);this.Message=e.Message}}t.AssociationVersionLimitExceeded=AssociationVersionLimitExceeded;class InvalidUpdate extends o.SSMServiceException{name="InvalidUpdate";$fault="client";Message;constructor(e){super({name:"InvalidUpdate",$fault:"client",...e});Object.setPrototypeOf(this,InvalidUpdate.prototype);this.Message=e.Message}}t.InvalidUpdate=InvalidUpdate;class StatusUnchanged extends o.SSMServiceException{name="StatusUnchanged";$fault="client";constructor(e){super({name:"StatusUnchanged",$fault:"client",...e});Object.setPrototypeOf(this,StatusUnchanged.prototype)}}t.StatusUnchanged=StatusUnchanged;class DocumentVersionLimitExceeded extends o.SSMServiceException{name="DocumentVersionLimitExceeded";$fault="client";Message;constructor(e){super({name:"DocumentVersionLimitExceeded",$fault:"client",...e});Object.setPrototypeOf(this,DocumentVersionLimitExceeded.prototype);this.Message=e.Message}}t.DocumentVersionLimitExceeded=DocumentVersionLimitExceeded;class DuplicateDocumentContent extends o.SSMServiceException{name="DuplicateDocumentContent";$fault="client";Message;constructor(e){super({name:"DuplicateDocumentContent",$fault:"client",...e});Object.setPrototypeOf(this,DuplicateDocumentContent.prototype);this.Message=e.Message}}t.DuplicateDocumentContent=DuplicateDocumentContent;class DuplicateDocumentVersionName extends o.SSMServiceException{name="DuplicateDocumentVersionName";$fault="client";Message;constructor(e){super({name:"DuplicateDocumentVersionName",$fault:"client",...e});Object.setPrototypeOf(this,DuplicateDocumentVersionName.prototype);this.Message=e.Message}}t.DuplicateDocumentVersionName=DuplicateDocumentVersionName;class OpsMetadataKeyLimitExceededException extends o.SSMServiceException{name="OpsMetadataKeyLimitExceededException";$fault="client";constructor(e){super({name:"OpsMetadataKeyLimitExceededException",$fault:"client",...e});Object.setPrototypeOf(this,OpsMetadataKeyLimitExceededException.prototype)}}t.OpsMetadataKeyLimitExceededException=OpsMetadataKeyLimitExceededException;class ResourceDataSyncConflictException extends o.SSMServiceException{name="ResourceDataSyncConflictException";$fault="client";Message;constructor(e){super({name:"ResourceDataSyncConflictException",$fault:"client",...e});Object.setPrototypeOf(this,ResourceDataSyncConflictException.prototype);this.Message=e.Message}}t.ResourceDataSyncConflictException=ResourceDataSyncConflictException},9282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const o=n(1860);const i=o.__importDefault(n(7534));const a=n(5152);const d=n(7523);const h=n(5861);const m=n(2658);const f=n(7291);const Q=n(3609);const k=n(2430);const P=n(1279);const L=n(5163);const getRuntimeConfig=e=>{(0,m.emitWarningIfUnsupportedVersion)(process.version);const t=(0,f.resolveDefaultsModeConfig)(e);const defaultConfigProvider=()=>t().then(m.loadConfigsForDefaultMode);const n=(0,L.getRuntimeConfig)(e);(0,a.emitWarningIfUnsupportedVersion)(process.version);const o={profile:e?.profile,logger:n.logger};return{...n,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,f.loadConfig)(d.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,o),bodyLengthChecker:e?.bodyLengthChecker??k.calculateBodyLength,credentialDefaultProvider:e?.credentialDefaultProvider??h.defaultProvider,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,a.createDefaultUserAgentProvider)({serviceId:n.serviceId,clientVersion:i.default.version}),maxAttempts:e?.maxAttempts??(0,f.loadConfig)(Q.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,f.loadConfig)(f.NODE_REGION_CONFIG_OPTIONS,{...f.NODE_REGION_CONFIG_FILE_OPTIONS,...o}),requestHandler:P.NodeHttpHandler.create(e?.requestHandler??defaultConfigProvider),retryMode:e?.retryMode??(0,f.loadConfig)({...Q.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||Q.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??k.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??P.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,f.loadConfig)(f.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,o),useFipsEndpoint:e?.useFipsEndpoint??(0,f.loadConfig)(f.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,o),userAgentAppId:e?.userAgentAppId??(0,f.loadConfig)(a.NODE_APP_ID_CONFIG_OPTIONS,o)}};t.getRuntimeConfig=getRuntimeConfig},5163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeConfig=void 0;const o=n(7523);const i=n(7288);const a=n(2658);const d=n(3422);const h=n(2430);const m=n(4411);const f=n(485);const Q=n(5556);const getRuntimeConfig=e=>({apiVersion:"2014-11-06",base64Decoder:e?.base64Decoder??h.fromBase64,base64Encoder:e?.base64Encoder??h.toBase64,disableHostPrefix:e?.disableHostPrefix??false,endpointProvider:e?.endpointProvider??f.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??m.defaultSSMHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new o.AwsSdkSigV4Signer}],logger:e?.logger??new a.NoOpLogger,protocol:e?.protocol??i.AwsJson1_1Protocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssm",errorTypeRegistries:Q.errorTypeRegistries,xmlNamespace:"http://ssm.amazonaws.com/doc/2014-11-06/",version:"2014-11-06",serviceTarget:"AmazonSSM"},serviceId:e?.serviceId??"SSM",urlParser:e?.urlParser??d.parseUrl,utf8Decoder:e?.utf8Decoder??h.fromUtf8,utf8Encoder:e?.utf8Encoder??h.toUtf8});t.getRuntimeConfig=getRuntimeConfig},5556:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InvalidFilter$=t.InvalidDocumentVersion$=t.InvalidDocumentType$=t.InvalidDocumentSchemaVersion$=t.InvalidDocumentOperation$=t.InvalidDocumentContent$=t.InvalidDocument$=t.InvalidDeletionIdException$=t.InvalidDeleteInventoryParametersException$=t.InvalidCommandId$=t.InvalidAutomationStatusUpdateException$=t.InvalidAutomationSignalException$=t.InvalidAutomationExecutionParametersException$=t.InvalidAssociationVersion$=t.InvalidAssociation$=t.InvalidAllowedPatternException$=t.InvalidAggregatorException$=t.InvalidActivationId$=t.InvalidActivation$=t.InternalServerError$=t.IncompatiblePolicyException$=t.IdempotentParameterMismatch$=t.HierarchyTypeMismatchException$=t.HierarchyLevelLimitExceededException$=t.FeatureNotAvailableException$=t.DuplicateInstanceId$=t.DuplicateDocumentVersionName$=t.DuplicateDocumentContent$=t.DoesNotExistException$=t.DocumentVersionLimitExceeded$=t.DocumentPermissionLimit$=t.DocumentLimitExceeded$=t.DocumentAlreadyExists$=t.CustomSchemaCountLimitExceededException$=t.ComplianceTypeCountLimitExceededException$=t.AutomationStepNotFoundException$=t.AutomationExecutionNotFoundException$=t.AutomationExecutionLimitExceededException$=t.AutomationDefinitionVersionNotFoundException$=t.AutomationDefinitionNotFoundException$=t.AutomationDefinitionNotApprovedException$=t.AssociationVersionLimitExceeded$=t.AssociationLimitExceeded$=t.AssociationExecutionDoesNotExist$=t.AssociationDoesNotExist$=t.AssociationAlreadyExists$=t.AssociatedInstances$=t.AlreadyExistsException$=t.AccessDeniedException$=t.SSMServiceException$=void 0;t.OpsMetadataNotFoundException$=t.OpsMetadataLimitExceededException$=t.OpsMetadataKeyLimitExceededException$=t.OpsMetadataInvalidArgumentException$=t.OpsMetadataAlreadyExistsException$=t.OpsItemRelatedItemAssociationNotFoundException$=t.OpsItemRelatedItemAlreadyExistsException$=t.OpsItemNotFoundException$=t.OpsItemLimitExceededException$=t.OpsItemInvalidParameterException$=t.OpsItemConflictException$=t.OpsItemAlreadyExistsException$=t.OpsItemAccessDeniedException$=t.NoLongerSupportedException$=t.MaxDocumentSizeExceeded$=t.MalformedResourcePolicyDocumentException$=t.ItemSizeLimitExceededException$=t.ItemContentMismatchException$=t.InvocationDoesNotExist$=t.InvalidUpdate$=t.InvalidTypeNameException$=t.InvalidTargetMaps$=t.InvalidTarget$=t.InvalidTag$=t.InvalidSchedule$=t.InvalidRole$=t.InvalidResultAttributeException$=t.InvalidResourceType$=t.InvalidResourceId$=t.InvalidPolicyTypeException$=t.InvalidPolicyAttributeException$=t.InvalidPluginName$=t.InvalidPermissionType$=t.InvalidParameters$=t.InvalidOutputLocation$=t.InvalidOutputFolder$=t.InvalidOptionException$=t.InvalidNotificationConfig$=t.InvalidNextToken$=t.InvalidKeyId$=t.InvalidItemContentException$=t.InvalidInventoryRequestException$=t.InvalidInventoryItemContextException$=t.InvalidInventoryGroupException$=t.InvalidInstancePropertyFilterValue$=t.InvalidInstanceInformationFilterValue$=t.InvalidInstanceId$=t.InvalidFilterValue$=t.InvalidFilterOption$=t.InvalidFilterKey$=void 0;t.AssociateOpsItemRelatedItemResponse$=t.AssociateOpsItemRelatedItemRequest$=t.AlarmStateInformation$=t.AlarmConfiguration$=t.Alarm$=t.AddTagsToResourceResult$=t.AddTagsToResourceRequest$=t.Activation$=t.AccountSharingInfo$=t.errorTypeRegistries=t.ValidationException$=t.UnsupportedPlatformType$=t.UnsupportedParameterType$=t.UnsupportedOperationException$=t.UnsupportedOperatingSystem$=t.UnsupportedInventorySchemaVersionException$=t.UnsupportedInventoryItemContextException$=t.UnsupportedFeatureRequiredException$=t.UnsupportedCalendarException$=t.TotalSizeLimitExceededException$=t.TooManyUpdates$=t.TooManyTagsError$=t.ThrottlingException$=t.TargetNotConnected$=t.TargetInUseException$=t.SubTypeCountLimitExceededException$=t.StatusUnchanged$=t.ServiceSettingNotFound$=t.ServiceQuotaExceededException$=t.ResourcePolicyNotFoundException$=t.ResourcePolicyLimitExceededException$=t.ResourcePolicyInvalidParameterException$=t.ResourcePolicyConflictException$=t.ResourceNotFoundException$=t.ResourceLimitExceededException$=t.ResourceInUseException$=t.ResourceDataSyncNotFoundException$=t.ResourceDataSyncInvalidConfigurationException$=t.ResourceDataSyncCountExceededException$=t.ResourceDataSyncConflictException$=t.ResourceDataSyncAlreadyExistsException$=t.PoliciesLimitExceededException$=t.ParameterVersionNotFound$=t.ParameterVersionLabelLimitExceeded$=t.ParameterPatternMismatchException$=t.ParameterNotFound$=t.ParameterMaxVersionLimitExceeded$=t.ParameterLimitExceeded$=t.ParameterAlreadyExists$=t.OpsMetadataTooManyUpdatesException$=void 0;t.CreatePatchBaselineRequest$=t.CreateOpsMetadataResult$=t.CreateOpsMetadataRequest$=t.CreateOpsItemResponse$=t.CreateOpsItemRequest$=t.CreateMaintenanceWindowResult$=t.CreateMaintenanceWindowRequest$=t.CreateDocumentResult$=t.CreateDocumentRequest$=t.CreateAssociationResult$=t.CreateAssociationRequest$=t.CreateAssociationBatchResult$=t.CreateAssociationBatchRequestEntry$=t.CreateAssociationBatchRequest$=t.CreateActivationResult$=t.CreateActivationRequest$=t.CompliantSummary$=t.ComplianceSummaryItem$=t.ComplianceStringFilter$=t.ComplianceItemEntry$=t.ComplianceItem$=t.ComplianceExecutionSummary$=t.CommandPlugin$=t.CommandInvocation$=t.CommandFilter$=t.Command$=t.CloudWatchOutputConfig$=t.CancelMaintenanceWindowExecutionResult$=t.CancelMaintenanceWindowExecutionRequest$=t.CancelCommandResult$=t.CancelCommandRequest$=t.BaselineOverride$=t.AutomationExecutionPreview$=t.AutomationExecutionMetadata$=t.AutomationExecutionInputs$=t.AutomationExecutionFilter$=t.AutomationExecution$=t.AttachmentsSource$=t.AttachmentInformation$=t.AttachmentContent$=t.AssociationVersionInfo$=t.AssociationStatus$=t.AssociationOverview$=t.AssociationFilter$=t.AssociationExecutionTargetsFilter$=t.AssociationExecutionTarget$=t.AssociationExecutionFilter$=t.AssociationExecution$=t.AssociationDescription$=t.Association$=void 0;t.DescribeAvailablePatchesRequest$=t.DescribeAutomationStepExecutionsResult$=t.DescribeAutomationStepExecutionsRequest$=t.DescribeAutomationExecutionsResult$=t.DescribeAutomationExecutionsRequest$=t.DescribeAssociationResult$=t.DescribeAssociationRequest$=t.DescribeAssociationExecutionTargetsResult$=t.DescribeAssociationExecutionTargetsRequest$=t.DescribeAssociationExecutionsResult$=t.DescribeAssociationExecutionsRequest$=t.DescribeActivationsResult$=t.DescribeActivationsRequest$=t.DescribeActivationsFilter$=t.DeregisterTaskFromMaintenanceWindowResult$=t.DeregisterTaskFromMaintenanceWindowRequest$=t.DeregisterTargetFromMaintenanceWindowResult$=t.DeregisterTargetFromMaintenanceWindowRequest$=t.DeregisterPatchBaselineForPatchGroupResult$=t.DeregisterPatchBaselineForPatchGroupRequest$=t.DeregisterManagedInstanceResult$=t.DeregisterManagedInstanceRequest$=t.DeleteResourcePolicyResponse$=t.DeleteResourcePolicyRequest$=t.DeleteResourceDataSyncResult$=t.DeleteResourceDataSyncRequest$=t.DeletePatchBaselineResult$=t.DeletePatchBaselineRequest$=t.DeleteParametersResult$=t.DeleteParametersRequest$=t.DeleteParameterResult$=t.DeleteParameterRequest$=t.DeleteOpsMetadataResult$=t.DeleteOpsMetadataRequest$=t.DeleteOpsItemResponse$=t.DeleteOpsItemRequest$=t.DeleteMaintenanceWindowResult$=t.DeleteMaintenanceWindowRequest$=t.DeleteInventoryResult$=t.DeleteInventoryRequest$=t.DeleteDocumentResult$=t.DeleteDocumentRequest$=t.DeleteAssociationResult$=t.DeleteAssociationRequest$=t.DeleteActivationResult$=t.DeleteActivationRequest$=t.Credentials$=t.CreateResourceDataSyncResult$=t.CreateResourceDataSyncRequest$=t.CreatePatchBaselineResult$=void 0;t.DescribePatchPropertiesRequest$=t.DescribePatchGroupStateResult$=t.DescribePatchGroupStateRequest$=t.DescribePatchGroupsResult$=t.DescribePatchGroupsRequest$=t.DescribePatchBaselinesResult$=t.DescribePatchBaselinesRequest$=t.DescribeParametersResult$=t.DescribeParametersRequest$=t.DescribeOpsItemsResponse$=t.DescribeOpsItemsRequest$=t.DescribeMaintenanceWindowTasksResult$=t.DescribeMaintenanceWindowTasksRequest$=t.DescribeMaintenanceWindowTargetsResult$=t.DescribeMaintenanceWindowTargetsRequest$=t.DescribeMaintenanceWindowsResult$=t.DescribeMaintenanceWindowsRequest$=t.DescribeMaintenanceWindowsForTargetResult$=t.DescribeMaintenanceWindowsForTargetRequest$=t.DescribeMaintenanceWindowScheduleResult$=t.DescribeMaintenanceWindowScheduleRequest$=t.DescribeMaintenanceWindowExecutionTasksResult$=t.DescribeMaintenanceWindowExecutionTasksRequest$=t.DescribeMaintenanceWindowExecutionTaskInvocationsResult$=t.DescribeMaintenanceWindowExecutionTaskInvocationsRequest$=t.DescribeMaintenanceWindowExecutionsResult$=t.DescribeMaintenanceWindowExecutionsRequest$=t.DescribeInventoryDeletionsResult$=t.DescribeInventoryDeletionsRequest$=t.DescribeInstancePropertiesResult$=t.DescribeInstancePropertiesRequest$=t.DescribeInstancePatchStatesResult$=t.DescribeInstancePatchStatesRequest$=t.DescribeInstancePatchStatesForPatchGroupResult$=t.DescribeInstancePatchStatesForPatchGroupRequest$=t.DescribeInstancePatchesResult$=t.DescribeInstancePatchesRequest$=t.DescribeInstanceInformationResult$=t.DescribeInstanceInformationRequest$=t.DescribeInstanceAssociationsStatusResult$=t.DescribeInstanceAssociationsStatusRequest$=t.DescribeEffectivePatchesForPatchBaselineResult$=t.DescribeEffectivePatchesForPatchBaselineRequest$=t.DescribeEffectiveInstanceAssociationsResult$=t.DescribeEffectiveInstanceAssociationsRequest$=t.DescribeDocumentResult$=t.DescribeDocumentRequest$=t.DescribeDocumentPermissionResponse$=t.DescribeDocumentPermissionRequest$=t.DescribeAvailablePatchesResult$=void 0;t.GetMaintenanceWindowResult$=t.GetMaintenanceWindowRequest$=t.GetMaintenanceWindowExecutionTaskResult$=t.GetMaintenanceWindowExecutionTaskRequest$=t.GetMaintenanceWindowExecutionTaskInvocationResult$=t.GetMaintenanceWindowExecutionTaskInvocationRequest$=t.GetMaintenanceWindowExecutionResult$=t.GetMaintenanceWindowExecutionRequest$=t.GetInventorySchemaResult$=t.GetInventorySchemaRequest$=t.GetInventoryResult$=t.GetInventoryRequest$=t.GetExecutionPreviewResponse$=t.GetExecutionPreviewRequest$=t.GetDocumentResult$=t.GetDocumentRequest$=t.GetDeployablePatchSnapshotForInstanceResult$=t.GetDeployablePatchSnapshotForInstanceRequest$=t.GetDefaultPatchBaselineResult$=t.GetDefaultPatchBaselineRequest$=t.GetConnectionStatusResponse$=t.GetConnectionStatusRequest$=t.GetCommandInvocationResult$=t.GetCommandInvocationRequest$=t.GetCalendarStateResponse$=t.GetCalendarStateRequest$=t.GetAutomationExecutionResult$=t.GetAutomationExecutionRequest$=t.GetAccessTokenResponse$=t.GetAccessTokenRequest$=t.FailureDetails$=t.FailedCreateAssociation$=t.EffectivePatch$=t.DocumentVersionInfo$=t.DocumentReviews$=t.DocumentReviewerResponseSource$=t.DocumentReviewCommentSource$=t.DocumentRequires$=t.DocumentParameter$=t.DocumentMetadataResponseInfo$=t.DocumentKeyValuesFilter$=t.DocumentIdentifier$=t.DocumentFilter$=t.DocumentDescription$=t.DocumentDefaultVersionDescription$=t.DisassociateOpsItemRelatedItemResponse$=t.DisassociateOpsItemRelatedItemRequest$=t.DescribeSessionsResponse$=t.DescribeSessionsRequest$=t.DescribePatchPropertiesResult$=void 0;t.InventoryResultItem$=t.InventoryResultEntity$=t.InventoryItemSchema$=t.InventoryItemAttribute$=t.InventoryItem$=t.InventoryGroup$=t.InventoryFilter$=t.InventoryDeletionSummaryItem$=t.InventoryDeletionSummary$=t.InventoryDeletionStatusItem$=t.InventoryAggregator$=t.InstancePropertyStringFilter$=t.InstancePropertyFilter$=t.InstanceProperty$=t.InstancePatchStateFilter$=t.InstancePatchState$=t.InstanceInformationStringFilter$=t.InstanceInformationFilter$=t.InstanceInformation$=t.InstanceInfo$=t.InstanceAssociationStatusInfo$=t.InstanceAssociationOutputUrl$=t.InstanceAssociationOutputLocation$=t.InstanceAssociation$=t.InstanceAggregatedAssociationOverview$=t.GetServiceSettingResult$=t.GetServiceSettingRequest$=t.GetResourcePoliciesResponseEntry$=t.GetResourcePoliciesResponse$=t.GetResourcePoliciesRequest$=t.GetPatchBaselineResult$=t.GetPatchBaselineRequest$=t.GetPatchBaselineForPatchGroupResult$=t.GetPatchBaselineForPatchGroupRequest$=t.GetParametersResult$=t.GetParametersRequest$=t.GetParametersByPathResult$=t.GetParametersByPathRequest$=t.GetParameterResult$=t.GetParameterRequest$=t.GetParameterHistoryResult$=t.GetParameterHistoryRequest$=t.GetOpsSummaryResult$=t.GetOpsSummaryRequest$=t.GetOpsMetadataResult$=t.GetOpsMetadataRequest$=t.GetOpsItemResponse$=t.GetOpsItemRequest$=t.GetMaintenanceWindowTaskResult$=t.GetMaintenanceWindowTaskRequest$=void 0;t.MaintenanceWindowTarget$=t.MaintenanceWindowStepFunctionsParameters$=t.MaintenanceWindowRunCommandParameters$=t.MaintenanceWindowLambdaParameters$=t.MaintenanceWindowIdentityForTarget$=t.MaintenanceWindowIdentity$=t.MaintenanceWindowFilter$=t.MaintenanceWindowExecutionTaskInvocationIdentity$=t.MaintenanceWindowExecutionTaskIdentity$=t.MaintenanceWindowExecution$=t.MaintenanceWindowAutomationParameters$=t.LoggingInfo$=t.ListTagsForResourceResult$=t.ListTagsForResourceRequest$=t.ListResourceDataSyncResult$=t.ListResourceDataSyncRequest$=t.ListResourceComplianceSummariesResult$=t.ListResourceComplianceSummariesRequest$=t.ListOpsMetadataResult$=t.ListOpsMetadataRequest$=t.ListOpsItemRelatedItemsResponse$=t.ListOpsItemRelatedItemsRequest$=t.ListOpsItemEventsResponse$=t.ListOpsItemEventsRequest$=t.ListNodesSummaryResult$=t.ListNodesSummaryRequest$=t.ListNodesResult$=t.ListNodesRequest$=t.ListInventoryEntriesResult$=t.ListInventoryEntriesRequest$=t.ListDocumentVersionsResult$=t.ListDocumentVersionsRequest$=t.ListDocumentsResult$=t.ListDocumentsRequest$=t.ListDocumentMetadataHistoryResponse$=t.ListDocumentMetadataHistoryRequest$=t.ListComplianceSummariesResult$=t.ListComplianceSummariesRequest$=t.ListComplianceItemsResult$=t.ListComplianceItemsRequest$=t.ListCommandsResult$=t.ListCommandsRequest$=t.ListCommandInvocationsResult$=t.ListCommandInvocationsRequest$=t.ListAssociationVersionsResult$=t.ListAssociationVersionsRequest$=t.ListAssociationsResult$=t.ListAssociationsRequest$=t.LabelParameterVersionResult$=t.LabelParameterVersionRequest$=void 0;t.PutComplianceItemsRequest$=t.ProgressCounters$=t.PatchStatus$=t.PatchSource$=t.PatchRuleGroup$=t.PatchRule$=t.PatchOrchestratorFilter$=t.PatchGroupPatchBaselineMapping$=t.PatchFilterGroup$=t.PatchFilter$=t.PatchComplianceData$=t.PatchBaselineIdentity$=t.Patch$=t.ParentStepDetails$=t.ParameterStringFilter$=t.ParametersFilter$=t.ParameterMetadata$=t.ParameterInlinePolicy$=t.ParameterHistory$=t.Parameter$=t.OutputSource$=t.OpsResultAttribute$=t.OpsMetadataFilter$=t.OpsMetadata$=t.OpsItemSummary$=t.OpsItemRelatedItemSummary$=t.OpsItemRelatedItemsFilter$=t.OpsItemNotification$=t.OpsItemIdentity$=t.OpsItemFilter$=t.OpsItemEventSummary$=t.OpsItemEventFilter$=t.OpsItemDataValue$=t.OpsItem$=t.OpsFilter$=t.OpsEntityItem$=t.OpsEntity$=t.OpsAggregator$=t.NotificationConfig$=t.NonCompliantSummary$=t.NodeOwnerInfo$=t.NodeFilter$=t.NodeAggregator$=t.Node$=t.ModifyDocumentPermissionResponse$=t.ModifyDocumentPermissionRequest$=t.MetadataValue$=t.MaintenanceWindowTaskParameterValueExpression$=t.MaintenanceWindowTaskInvocationParameters$=t.MaintenanceWindowTask$=void 0;t.StartAssociationsOnceRequest$=t.StartAccessRequestResponse$=t.StartAccessRequestRequest$=t.SeveritySummary$=t.SessionManagerOutputUrl$=t.SessionFilter$=t.Session$=t.ServiceSetting$=t.SendCommandResult$=t.SendCommandRequest$=t.SendAutomationSignalResult$=t.SendAutomationSignalRequest$=t.ScheduledWindowExecution$=t.S3OutputUrl$=t.S3OutputLocation$=t.Runbook$=t.ReviewInformation$=t.ResumeSessionResponse$=t.ResumeSessionRequest$=t.ResultAttribute$=t.ResourceDataSyncSourceWithState$=t.ResourceDataSyncSource$=t.ResourceDataSyncS3Destination$=t.ResourceDataSyncOrganizationalUnit$=t.ResourceDataSyncItem$=t.ResourceDataSyncDestinationDataSharing$=t.ResourceDataSyncAwsOrganizationsSource$=t.ResourceComplianceSummaryItem$=t.ResolvedTargets$=t.ResetServiceSettingResult$=t.ResetServiceSettingRequest$=t.RemoveTagsFromResourceResult$=t.RemoveTagsFromResourceRequest$=t.RelatedOpsItem$=t.RegistrationMetadataItem$=t.RegisterTaskWithMaintenanceWindowResult$=t.RegisterTaskWithMaintenanceWindowRequest$=t.RegisterTargetWithMaintenanceWindowResult$=t.RegisterTargetWithMaintenanceWindowRequest$=t.RegisterPatchBaselineForPatchGroupResult$=t.RegisterPatchBaselineForPatchGroupRequest$=t.RegisterDefaultPatchBaselineResult$=t.RegisterDefaultPatchBaselineRequest$=t.PutResourcePolicyResponse$=t.PutResourcePolicyRequest$=t.PutParameterResult$=t.PutParameterRequest$=t.PutInventoryResult$=t.PutInventoryRequest$=t.PutComplianceItemsResult$=void 0;t.ExecutionInputs$=t.UpdateServiceSettingResult$=t.UpdateServiceSettingRequest$=t.UpdateResourceDataSyncResult$=t.UpdateResourceDataSyncRequest$=t.UpdatePatchBaselineResult$=t.UpdatePatchBaselineRequest$=t.UpdateOpsMetadataResult$=t.UpdateOpsMetadataRequest$=t.UpdateOpsItemResponse$=t.UpdateOpsItemRequest$=t.UpdateManagedInstanceRoleResult$=t.UpdateManagedInstanceRoleRequest$=t.UpdateMaintenanceWindowTaskResult$=t.UpdateMaintenanceWindowTaskRequest$=t.UpdateMaintenanceWindowTargetResult$=t.UpdateMaintenanceWindowTargetRequest$=t.UpdateMaintenanceWindowResult$=t.UpdateMaintenanceWindowRequest$=t.UpdateDocumentResult$=t.UpdateDocumentRequest$=t.UpdateDocumentMetadataResponse$=t.UpdateDocumentMetadataRequest$=t.UpdateDocumentDefaultVersionResult$=t.UpdateDocumentDefaultVersionRequest$=t.UpdateAssociationStatusResult$=t.UpdateAssociationStatusRequest$=t.UpdateAssociationResult$=t.UpdateAssociationRequest$=t.UnlabelParameterVersionResult$=t.UnlabelParameterVersionRequest$=t.TerminateSessionResponse$=t.TerminateSessionRequest$=t.TargetPreview$=t.TargetLocation$=t.Target$=t.Tag$=t.StopAutomationExecutionResult$=t.StopAutomationExecutionRequest$=t.StepExecutionFilter$=t.StepExecution$=t.StartSessionResponse$=t.StartSessionRequest$=t.StartExecutionPreviewResponse$=t.StartExecutionPreviewRequest$=t.StartChangeRequestExecutionResult$=t.StartChangeRequestExecutionRequest$=t.StartAutomationExecutionResult$=t.StartAutomationExecutionRequest$=t.StartAssociationsOnceResult$=void 0;t.DescribeMaintenanceWindowExecutions$=t.DescribeInventoryDeletions$=t.DescribeInstanceProperties$=t.DescribeInstancePatchStatesForPatchGroup$=t.DescribeInstancePatchStates$=t.DescribeInstancePatches$=t.DescribeInstanceInformation$=t.DescribeInstanceAssociationsStatus$=t.DescribeEffectivePatchesForPatchBaseline$=t.DescribeEffectiveInstanceAssociations$=t.DescribeDocumentPermission$=t.DescribeDocument$=t.DescribeAvailablePatches$=t.DescribeAutomationStepExecutions$=t.DescribeAutomationExecutions$=t.DescribeAssociationExecutionTargets$=t.DescribeAssociationExecutions$=t.DescribeAssociation$=t.DescribeActivations$=t.DeregisterTaskFromMaintenanceWindow$=t.DeregisterTargetFromMaintenanceWindow$=t.DeregisterPatchBaselineForPatchGroup$=t.DeregisterManagedInstance$=t.DeleteResourcePolicy$=t.DeleteResourceDataSync$=t.DeletePatchBaseline$=t.DeleteParameters$=t.DeleteParameter$=t.DeleteOpsMetadata$=t.DeleteOpsItem$=t.DeleteMaintenanceWindow$=t.DeleteInventory$=t.DeleteDocument$=t.DeleteAssociation$=t.DeleteActivation$=t.CreateResourceDataSync$=t.CreatePatchBaseline$=t.CreateOpsMetadata$=t.CreateOpsItem$=t.CreateMaintenanceWindow$=t.CreateDocument$=t.CreateAssociationBatch$=t.CreateAssociation$=t.CreateActivation$=t.CancelMaintenanceWindowExecution$=t.CancelCommand$=t.AssociateOpsItemRelatedItem$=t.AddTagsToResource$=t.NodeType$=t.ExecutionPreview$=void 0;t.ListDocumentMetadataHistory$=t.ListComplianceSummaries$=t.ListComplianceItems$=t.ListCommands$=t.ListCommandInvocations$=t.ListAssociationVersions$=t.ListAssociations$=t.LabelParameterVersion$=t.GetServiceSetting$=t.GetResourcePolicies$=t.GetPatchBaselineForPatchGroup$=t.GetPatchBaseline$=t.GetParametersByPath$=t.GetParameters$=t.GetParameterHistory$=t.GetParameter$=t.GetOpsSummary$=t.GetOpsMetadata$=t.GetOpsItem$=t.GetMaintenanceWindowTask$=t.GetMaintenanceWindowExecutionTaskInvocation$=t.GetMaintenanceWindowExecutionTask$=t.GetMaintenanceWindowExecution$=t.GetMaintenanceWindow$=t.GetInventorySchema$=t.GetInventory$=t.GetExecutionPreview$=t.GetDocument$=t.GetDeployablePatchSnapshotForInstance$=t.GetDefaultPatchBaseline$=t.GetConnectionStatus$=t.GetCommandInvocation$=t.GetCalendarState$=t.GetAutomationExecution$=t.GetAccessToken$=t.DisassociateOpsItemRelatedItem$=t.DescribeSessions$=t.DescribePatchProperties$=t.DescribePatchGroupState$=t.DescribePatchGroups$=t.DescribePatchBaselines$=t.DescribeParameters$=t.DescribeOpsItems$=t.DescribeMaintenanceWindowTasks$=t.DescribeMaintenanceWindowTargets$=t.DescribeMaintenanceWindowsForTarget$=t.DescribeMaintenanceWindowSchedule$=t.DescribeMaintenanceWindows$=t.DescribeMaintenanceWindowExecutionTasks$=t.DescribeMaintenanceWindowExecutionTaskInvocations$=void 0;t.UpdateServiceSetting$=t.UpdateResourceDataSync$=t.UpdatePatchBaseline$=t.UpdateOpsMetadata$=t.UpdateOpsItem$=t.UpdateManagedInstanceRole$=t.UpdateMaintenanceWindowTask$=t.UpdateMaintenanceWindowTarget$=t.UpdateMaintenanceWindow$=t.UpdateDocumentMetadata$=t.UpdateDocumentDefaultVersion$=t.UpdateDocument$=t.UpdateAssociationStatus$=t.UpdateAssociation$=t.UnlabelParameterVersion$=t.TerminateSession$=t.StopAutomationExecution$=t.StartSession$=t.StartExecutionPreview$=t.StartChangeRequestExecution$=t.StartAutomationExecution$=t.StartAssociationsOnce$=t.StartAccessRequest$=t.SendCommand$=t.SendAutomationSignal$=t.ResumeSession$=t.ResetServiceSetting$=t.RemoveTagsFromResource$=t.RegisterTaskWithMaintenanceWindow$=t.RegisterTargetWithMaintenanceWindow$=t.RegisterPatchBaselineForPatchGroup$=t.RegisterDefaultPatchBaseline$=t.PutResourcePolicy$=t.PutParameter$=t.PutInventory$=t.PutComplianceItems$=t.ModifyDocumentPermission$=t.ListTagsForResource$=t.ListResourceDataSync$=t.ListResourceComplianceSummaries$=t.ListOpsMetadata$=t.ListOpsItemRelatedItems$=t.ListOpsItemEvents$=t.ListNodesSummary$=t.ListNodes$=t.ListInventoryEntries$=t.ListDocumentVersions$=t.ListDocuments$=void 0;const o="Activation";const i="AutoApprove";const a="ApproveAfterDays";const d="AssociationAlreadyExists";const h="AlarmConfiguration";const m="AttachmentContentList";const f="ActivationCode";const Q="AttachmentContent";const k="AttachmentsContent";const P="AssociationDescription";const L="AssociationDispatchAssumeRole";const U="AccessDeniedException";const H="AssociationDescriptionList";const V="AutomationDefinitionNotApprovedException";const _="AssociationDoesNotExist";const W="AutomationDefinitionNotFoundException";const Y="AutomationDefinitionVersionNotFoundException";const J="ApprovalDate";const j="AssociationExecution";const K="AssociationExecutionDoesNotExist";const X="AlreadyExistsException";const Z="AssociationExecutionFilter";const ee="AssociationExecutionFilterList";const te="AutomationExecutionFilterList";const ne="AutomationExecutionFilter";const se="AutomationExecutionId";const oe="AutomationExecutionInputs";const re="AssociationExecutionsList";const ie="AutomationExecutionLimitExceededException";const ae="AutomationExecutionMetadata";const ce="AutomationExecutionMetadataList";const Ae="AutomationExecutionNotFoundException";const le="AutomationExecutionPreview";const ue="AutomationExecutionStatus";const de="AssociationExecutionTarget";const ge="AssociationExecutionTargetsFilter";const he="AssociationExecutionTargetsFilterList";const me="AssociationExecutionTargetsList";const pe="ActualEndTime";const Ee="AssociationExecutionTargets";const fe="AssociationExecutions";const Ie="AutomationExecution";const Ce="AssociationFilter";const Be="AssociationFilterList";const Qe="AssociatedInstances";const ye="AccountIdList";const Se="AttachmentInformationList";const Re="AccountIdsToAdd";const we="AccountIdsToRemove";const De="AccountId";const be="AccountIds";const xe="ActivationId";const Me="AdditionalInfo";const ve="AdvisoryIds";const Te="AssociationId";const Ne="AssociationIds";const ke="AttachmentInformation";const Pe="AttachmentsInformation";const Fe="AccessKeyId";const Le="AccessKeySecretType";const Ue="ActivationList";const Oe="AssociationLimitExceeded";const $e="AlarmList";const Ge="AssociationList";const He="AssociationName";const Ve="AttributeName";const _e="AssociationOverview";const qe="ApplyOnlyAtCronInterval";const We="AssociateOpsItemRelatedItem";const Ye="AssociateOpsItemRelatedItemRequest";const Je="AssociateOpsItemRelatedItemResponse";const ze="AwsOrganizationsSource";const je="ApprovedPatches";const Ke="ApprovedPatchesComplianceLevel";const Xe="ApprovedPatchesEnableNonSecurity";const Ze="AutomationParameterMap";const ot="AllowedPattern";const Qt="ApprovalRules";const yt="AccessRequestId";const Rt="ARN";const Ht="AccessRequestStatus";const qt="AssociationStatus";const Yt="AssociationStatusAggregatedCount";const Jt="AccountSharingInfo";const zt="AccountSharingInfoList";const Kt="AlarmStateInformationList";const Xt="AlarmStateInformation";const Zt="AttachmentsSourceList";const en="AutomationStepNotFoundException";const tn="ActualStartTime";const nn="AvailableSecurityUpdateCount";const sn="AvailableSecurityUpdatesComplianceStatus";const on="AttachmentsSource";const rn="AutomationSubtype";const an="AssociationType";const cn="AutomationTargetParameterName";const An="AddTagsToResource";const ln="AddTagsToResourceRequest";const un="AddTagsToResourceResult";const dn="AccessType";const gn="AgentType";const hn="AggregatorType";const mn="AtTime";const pn="AutomationType";const En="ApproveUntilDate";const In="AllowUnassociatedTargets";const Cn="AssociationVersion";const Bn="AssociationVersionInfo";const Qn="AssociationVersionList";const yn="AssociationVersionLimitExceeded";const Sn="AgentVersion";const Rn="ApprovedVersion";const wn="AssociationVersions";const Dn="AWSKMSKeyARN";const bn="Action";const xn="Accounts";const Mn="Aggregators";const vn="Aggregator";const Tn="Alarm";const Nn="Alarms";const kn="Architecture";const Pn="Arch";const Fn="Arn";const Ln="Association";const Un="Associations";const On="Attachments";const $n="Attributes";const Gn="Attribute";const Hn="Author";const Vn="Automation";const _n="BaselineDescription";const qn="BaselineId";const Wn="BaselineIdentities";const Yn="BaselineIdentity";const Jn="BugzillaIds";const zn="BaselineName";const jn="BucketName";const Kn="BaselineOverride";const Xn="Command";const Zn="CurrentAction";const es="CreateAssociationBatch";const ts="CreateAssociationBatchRequest";const ns="CreateAssociationBatchRequestEntry";const ss="CreateAssociationBatchRequestEntries";const os="CreateAssociationBatchResult";const rs="CreateActivationRequest";const is="CreateActivationResult";const as="CreateAssociationRequest";const cs="CreateAssociationResult";const As="CreateActivation";const ls="CreateAssociation";const us="CutoffBehavior";const ds="CreatedBy";const gs="CompletedCount";const hs="CancelCommandRequest";const ms="CancelCommandResult";const ps="CancelCommand";const Es="ClientContext";const fs="CompliantCount";const Is="CriticalCount";const Cs="CreatedDate";const Bs="CreateDocumentRequest";const Qs="CreateDocumentResult";const ys="ChangeDetails";const Ss="CreationDate";const Rs="CreateDocument";const ws="CategoryEnum";const Ds="ComplianceExecutionSummary";const bs="CommandFilter";const xs="CommandFilterList";const Ms="ComplianceFilter";const vs="ContentHash";const Ts="CommandId";const Ns="ComplianceItemEntry";const ks="ComplianceItemEntryList";const Ps="CommandInvocationList";const Fs="ComplianceItemList";const Ls="CommandInvocation";const Us="ComplianceItem";const Os="CommandInvocations";const $s="ComplianceItems";const Gs="ComplianceLevel";const Hs="CommandList";const Vs="CreateMaintenanceWindow";const _s="CancelMaintenanceWindowExecution";const qs="CancelMaintenanceWindowExecutionRequest";const Ws="CancelMaintenanceWindowExecutionResult";const Ys="CreateMaintenanceWindowRequest";const Js="CreateMaintenanceWindowResult";const zs="CalendarNames";const js="CriticalNonCompliantCount";const Ks="ComputerName";const Xs="CreateOpsItem";const Zs="CreateOpsItemRequest";const eo="CreateOpsItemResponse";const to="CreateOpsMetadata";const no="CreateOpsMetadataRequest";const so="CreateOpsMetadataResult";const oo="CommandPlugins";const ro="CreatePatchBaseline";const io="CreatePatchBaselineRequest";const ao="CreatePatchBaselineResult";const co="CommandPluginList";const Ao="CommandPlugin";const lo="CreateResourceDataSync";const uo="CreateResourceDataSyncRequest";const go="CreateResourceDataSyncResult";const ho="ChangeRequestName";const mo="ComplianceSeverity";const po="CustomSchemaCountLimitExceededException";const Eo="ComplianceStringFilter";const fo="ComplianceStringFilterList";const Io="ComplianceStringFilterValueList";const Co="ComplianceSummaryItem";const Bo="ComplianceSummaryItemList";const Qo="ComplianceSummaryItems";const yo="CurrentStepName";const So="CancelledSteps";const Ro="CompliantSummary";const wo="CreatedTime";const Do="ComplianceTypeCountLimitExceededException";const bo="CaptureTime";const xo="ClientToken";const Mo="ComplianceType";const vo="CreateTime";const To="ContentUrl";const No="CVEIds";const ko="CloudWatchLogGroupName";const Po="CloudWatchOutputConfig";const Fo="CloudWatchOutputEnabled";const Lo="CloudWatchOutputUrl";const Uo="Category";const Oo="Classification";const $o="Comment";const Go="Commands";const Ho="Content";const Vo="Configuration";const _o="Context";const qo="Count";const Wo="Credentials";const Yo="Cutoff";const Jo="Description";const zo="DeleteActivation";const jo="DocumentAlreadyExists";const Ko="DescribeAssociationExecutionsRequest";const Xo="DescribeAssociationExecutionsResult";const Zo="DescribeAutomationExecutionsRequest";const er="DescribeAutomationExecutionsResult";const tr="DescribeAssociationExecutionTargets";const nr="DescribeAssociationExecutionTargetsRequest";const sr="DescribeAssociationExecutionTargetsResult";const or="DescribeAssociationExecutions";const rr="DescribeAutomationExecutions";const ir="DescribeActivationsFilter";const ar="DescribeActivationsFilterList";const cr="DescribeAvailablePatches";const Ar="DescribeAvailablePatchesRequest";const lr="DescribeAvailablePatchesResult";const ur="DeleteActivationRequest";const dr="DeleteActivationResult";const gr="DeleteAssociationRequest";const hr="DeleteAssociationResult";const mr="DescribeActivationsRequest";const pr="DescribeActivationsResult";const Er="DescribeAssociationRequest";const fr="DescribeAssociationResult";const Ir="DescribeAutomationStepExecutions";const Cr="DescribeAutomationStepExecutionsRequest";const Br="DescribeAutomationStepExecutionsResult";const Qr="DeleteAssociation";const yr="DescribeActivations";const Sr="DescribeAssociation";const Rr="DefaultBaseline";const wr="DocumentDescription";const Dr="DuplicateDocumentContent";const br="DescribeDocumentPermission";const xr="DescribeDocumentPermissionRequest";const Mr="DescribeDocumentPermissionResponse";const vr="DeleteDocumentRequest";const Tr="DeleteDocumentResult";const Nr="DescribeDocumentRequest";const kr="DescribeDocumentResult";const Pr="DestinationDataSharing";const Fr="DestinationDataSharingType";const Lr="DocumentDefaultVersionDescription";const Ur="DuplicateDocumentVersionName";const Or="DeleteDocument";const $r="DescribeDocument";const Gr="DescribeEffectiveInstanceAssociations";const Hr="DescribeEffectiveInstanceAssociationsRequest";const Vr="DescribeEffectiveInstanceAssociationsResult";const _r="DescribeEffectivePatchesForPatchBaseline";const qr="DescribeEffectivePatchesForPatchBaselineRequest";const Wr="DescribeEffectivePatchesForPatchBaselineResult";const Yr="DocumentFormat";const Jr="DocumentFilterList";const zr="DocumentFilter";const jr="DocumentHash";const Kr="DocumentHashType";const Xr="DeletionId";const Zr="DescribeInstanceAssociationsStatus";const ei="DescribeInstanceAssociationsStatusRequest";const ti="DescribeInstanceAssociationsStatusResult";const ni="DescribeInventoryDeletions";const si="DescribeInventoryDeletionsRequest";const oi="DescribeInventoryDeletionsResult";const ri="DuplicateInstanceId";const ii="DescribeInstanceInformationRequest";const ai="DescribeInstanceInformationResult";const ci="DescribeInstanceInformation";const Ai="DocumentIdentifierList";const li="DefaultInstanceName";const ui="DescribeInstancePatches";const di="DescribeInstancePatchesRequest";const gi="DescribeInstancePatchesResult";const hi="DescribeInstancePropertiesRequest";const mi="DescribeInstancePropertiesResult";const pi="DescribeInstancePatchStates";const Ei="DescribeInstancePatchStatesForPatchGroup";const fi="DescribeInstancePatchStatesForPatchGroupRequest";const Ii="DescribeInstancePatchStatesForPatchGroupResult";const Ci="DescribeInstancePatchStatesRequest";const Bi="DescribeInstancePatchStatesResult";const Qi="DescribeInstanceProperties";const yi="DeleteInventoryRequest";const Si="DeleteInventoryResult";const Ri="DeleteInventory";const wi="DocumentIdentifier";const Di="DocumentIdentifiers";const bi="DocumentKeyValuesFilter";const xi="DocumentKeyValuesFilterList";const Mi="DocumentLimitExceeded";const vi="DeregisterManagedInstance";const Ti="DeregisterManagedInstanceRequest";const Ni="DeregisterManagedInstanceResult";const ki="DocumentMetadataResponseInfo";const Pi="DeleteMaintenanceWindow";const Fi="DescribeMaintenanceWindowExecutions";const Li="DescribeMaintenanceWindowExecutionsRequest";const Ui="DescribeMaintenanceWindowExecutionsResult";const Oi="DescribeMaintenanceWindowExecutionTasks";const $i="DescribeMaintenanceWindowExecutionTaskInvocations";const Gi="DescribeMaintenanceWindowExecutionTaskInvocationsRequest";const Hi="DescribeMaintenanceWindowExecutionTaskInvocationsResult";const Vi="DescribeMaintenanceWindowExecutionTasksRequest";const _i="DescribeMaintenanceWindowExecutionTasksResult";const qi="DescribeMaintenanceWindowsForTarget";const Wi="DescribeMaintenanceWindowsForTargetRequest";const Yi="DescribeMaintenanceWindowsForTargetResult";const Ji="DeleteMaintenanceWindowRequest";const zi="DeleteMaintenanceWindowResult";const ji="DescribeMaintenanceWindowsRequest";const Ki="DescribeMaintenanceWindowsResult";const Xi="DescribeMaintenanceWindowSchedule";const Zi="DescribeMaintenanceWindowScheduleRequest";const ea="DescribeMaintenanceWindowScheduleResult";const ta="DescribeMaintenanceWindowTargets";const na="DescribeMaintenanceWindowTargetsRequest";const sa="DescribeMaintenanceWindowTargetsResult";const oa="DescribeMaintenanceWindowTasksRequest";const ra="DescribeMaintenanceWindowTasksResult";const ia="DescribeMaintenanceWindowTasks";const aa="DescribeMaintenanceWindows";const ca="DocumentName";const Aa="DoesNotExistException";const la="DisplayName";const ua="DeleteOpsItem";const da="DeleteOpsItemRequest";const ga="DisassociateOpsItemRelatedItem";const ha="DisassociateOpsItemRelatedItemRequest";const ma="DisassociateOpsItemRelatedItemResponse";const pa="DeleteOpsItemResponse";const Ea="DescribeOpsItemsRequest";const fa="DescribeOpsItemsResponse";const Ia="DescribeOpsItems";const Ca="DeleteOpsMetadata";const Ba="DeleteOpsMetadataRequest";const Qa="DeleteOpsMetadataResult";const ya="DeletedParameters";const Sa="DeletePatchBaseline";const Ra="DeregisterPatchBaselineForPatchGroup";const wa="DeregisterPatchBaselineForPatchGroupRequest";const Da="DeregisterPatchBaselineForPatchGroupResult";const ba="DeletePatchBaselineRequest";const xa="DeletePatchBaselineResult";const Ma="DescribePatchBaselinesRequest";const va="DescribePatchBaselinesResult";const Ta="DescribePatchBaselines";const Na="DescribePatchGroups";const ka="DescribePatchGroupsRequest";const Pa="DescribePatchGroupsResult";const Fa="DescribePatchGroupState";const La="DescribePatchGroupStateRequest";const Ua="DescribePatchGroupStateResult";const Oa="DocumentPermissionLimit";const $a="DocumentParameterList";const Ga="DescribePatchProperties";const Ha="DescribePatchPropertiesRequest";const Va="DescribePatchPropertiesResult";const _a="DeleteParameterRequest";const qa="DeleteParameterResult";const Wa="DeleteParametersRequest";const Ya="DeleteParametersResult";const Ja="DescribeParametersRequest";const za="DescribeParametersResult";const ja="DeleteParameter";const Ka="DeleteParameters";const Xa="DescribeParameters";const Za="DocumentParameter";const ec="DryRun";const tc="DocumentReviewCommentList";const nc="DocumentReviewCommentSource";const sc="DeleteResourceDataSync";const oc="DeleteResourceDataSyncRequest";const rc="DeleteResourceDataSyncResult";const ic="DocumentRequiresList";const ac="DeleteResourcePolicy";const cc="DeleteResourcePolicyRequest";const Ac="DeleteResourcePolicyResponse";const lc="DocumentReviewerResponseList";const uc="DocumentReviewerResponseSource";const dc="DocumentRequires";const gc="DocumentReviews";const hc="DetailedStatus";const mc="DescribeSessionsRequest";const pc="DescribeSessionsResponse";const Ec="DeletionStartTime";const fc="DeletionSummary";const Ic="DeploymentStatus";const Cc="DescribeSessions";const Bc="DocumentType";const Qc="DeregisterTargetFromMaintenanceWindow";const yc="DeregisterTargetFromMaintenanceWindowRequest";const Sc="DeregisterTargetFromMaintenanceWindowResult";const Rc="DeregisterTaskFromMaintenanceWindowRequest";const wc="DeregisterTaskFromMaintenanceWindowResult";const Dc="DeregisterTaskFromMaintenanceWindow";const bc="DeliveryTimedOutCount";const xc="DataType";const Mc="DetailType";const vc="DocumentVersion";const Tc="DocumentVersionInfo";const Nc="DocumentVersionList";const kc="DocumentVersionLimitExceeded";const Pc="DefaultVersionName";const Fc="DefaultVersion";const Lc="DefaultValue";const Uc="DocumentVersions";const Oc="Date";const $c="Data";const Gc="Details";const Hc="Detail";const Vc="Document";const _c="Duration";const qc="Expired";const Wc="ExpiresAfter";const Yc="EnableAllOpsDataSources";const Jc="EndedAt";const zc="ExcludeAccounts";const jc="ExecutedBy";const Kc="ErrorCount";const Xc="ErrorCode";const Zc="ExpirationDate";const eA="EndDate";const tA="ExecutionDate";const nA="ExecutionEndDateTime";const sA="ExecutionEndTime";const oA="ExecutionElapsedTime";const rA="ExecutionId";const iA="EventId";const aA="ExecutionInputs";const cA="EnableNonSecurity";const AA="EffectivePatches";const lA="ExecutionPreviewId";const uA="EffectivePatchList";const dA="EffectivePatch";const gA="ExecutionPreview";const hA="ExecutionRoleName";const mA="ExecutionSummary";const pA="ExecutionStartDateTime";const EA="ExecutionStartTime";const fA="ExecutionTime";const IA="EndTime";const CA="ExecutionType";const BA="ExpirationTime";const QA="Entries";const yA="Enabled";const SA="Entry";const RA="Entities";const wA="Entity";const DA="Epoch";const bA="Expression";const xA="Failed";const MA="FailedCount";const vA="FailedCreateAssociation";const TA="FailedCreateAssociationEntry";const NA="FailedCreateAssociationList";const kA="FailureDetails";const PA="FilterKey";const FA="FailureMessage";const LA="FeatureNotAvailableException";const UA="FailureStage";const OA="FailedSteps";const $A="FailureType";const GA="FilterValues";const HA="FilterValue";const VA="FiltersWithOperator";const _A="Fault";const qA="Filters";const WA="Force";const YA="Groups";const JA="GetAutomationExecution";const zA="GetAutomationExecutionRequest";const jA="GetAutomationExecutionResult";const KA="GetAccessToken";const XA="GetAccessTokenRequest";const ZA="GetAccessTokenResponse";const el="GetCommandInvocation";const tl="GetCommandInvocationRequest";const nl="GetCommandInvocationResult";const sl="GetCalendarState";const ol="GetCalendarStateRequest";const rl="GetCalendarStateResponse";const il="GetConnectionStatusRequest";const al="GetConnectionStatusResponse";const cl="GetConnectionStatus";const Al="GetDocument";const ll="GetDefaultPatchBaseline";const ul="GetDefaultPatchBaselineRequest";const dl="GetDefaultPatchBaselineResult";const gl="GetDeployablePatchSnapshotForInstance";const hl="GetDeployablePatchSnapshotForInstanceRequest";const ml="GetDeployablePatchSnapshotForInstanceResult";const pl="GetDocumentRequest";const El="GetDocumentResult";const fl="GetExecutionPreview";const Il="GetExecutionPreviewRequest";const Cl="GetExecutionPreviewResponse";const Bl="GlobalFilters";const Ql="GetInventory";const yl="GetInventoryRequest";const Sl="GetInventoryResult";const Rl="GetInventorySchema";const wl="GetInventorySchemaRequest";const Dl="GetInventorySchemaResult";const bl="GetMaintenanceWindow";const xl="GetMaintenanceWindowExecution";const Ml="GetMaintenanceWindowExecutionRequest";const vl="GetMaintenanceWindowExecutionResult";const Tl="GetMaintenanceWindowExecutionTask";const Nl="GetMaintenanceWindowExecutionTaskInvocation";const kl="GetMaintenanceWindowExecutionTaskInvocationRequest";const Pl="GetMaintenanceWindowExecutionTaskInvocationResult";const Fl="GetMaintenanceWindowExecutionTaskRequest";const Ll="GetMaintenanceWindowExecutionTaskResult";const Ul="GetMaintenanceWindowRequest";const Ol="GetMaintenanceWindowResult";const $l="GetMaintenanceWindowTask";const Gl="GetMaintenanceWindowTaskRequest";const Hl="GetMaintenanceWindowTaskResult";const Vl="GetOpsItem";const _l="GetOpsItemRequest";const ql="GetOpsItemResponse";const Wl="GetOpsMetadata";const Yl="GetOpsMetadataRequest";const Jl="GetOpsMetadataResult";const zl="GetOpsSummary";const jl="GetOpsSummaryRequest";const Kl="GetOpsSummaryResult";const Xl="GetParameter";const Zl="GetPatchBaseline";const eu="GetPatchBaselineForPatchGroup";const tu="GetPatchBaselineForPatchGroupRequest";const nu="GetPatchBaselineForPatchGroupResult";const su="GetParametersByPath";const ou="GetParametersByPathRequest";const ru="GetParametersByPathResult";const iu="GetPatchBaselineRequest";const au="GetPatchBaselineResult";const cu="GetParameterHistory";const Au="GetParameterHistoryRequest";const lu="GetParameterHistoryResult";const uu="GetParameterRequest";const du="GetParameterResult";const gu="GetParametersRequest";const hu="GetParametersResult";const mu="GetParameters";const pu="GetResourcePolicies";const Eu="GetResourcePoliciesRequest";const fu="GetResourcePoliciesResponseEntry";const Iu="GetResourcePoliciesResponseEntries";const Cu="GetResourcePoliciesResponse";const Bu="GetServiceSetting";const Qu="GetServiceSettingRequest";const yu="GetServiceSettingResult";const Su="Hash";const Ru="HighCount";const wu="HierarchyLevelLimitExceededException";const Du="HashType";const bu="HierarchyTypeMismatchException";const xu="Id";const Mu="InvalidActivation";const vu="InstanceAggregatedAssociationOverview";const Tu="InvalidAggregatorException";const Nu="InvalidAutomationExecutionParametersException";const ku="InvalidActivationId";const Pu="InstanceAssociationList";const Fu="InventoryAggregatorList";const Lu="InstanceAssociationOutputLocation";const Uu="InstanceAssociationOutputUrl";const Ou="InvalidAllowedPatternException";const $u="InstanceAssociationStatusAggregatedCount";const Gu="InvalidAutomationSignalException";const Hu="InstanceAssociationStatusInfos";const Vu="InstanceAssociationStatusInfo";const _u="InvalidAutomationStatusUpdateException";const qu="InvalidAssociationVersion";const Wu="InvalidAssociation";const Yu="InstanceAssociation";const Ju="InventoryAggregator";const zu="IpAddress";const ju="InstalledCount";const Ku="ItemContentHash";const Xu="InvalidCommandId";const Zu="ItemContentMismatchException";const ed="IncludeChildOrganizationUnits";const td="InformationalCount";const nd="IsCritical";const sd="InvalidDocument";const od="InvalidDocumentContent";const rd="InvalidDeletionIdException";const id="InvalidDeleteInventoryParametersException";const ad="InventoryDeletionsList";const cd="InvocationDoesNotExist";const Ad="InvalidDocumentOperation";const ld="InventoryDeletionSummary";const ud="InventoryDeletionStatusItem";const dd="InventoryDeletionSummaryItem";const gd="InventoryDeletionSummaryItems";const hd="InvalidDocumentSchemaVersion";const md="InvalidDocumentType";const pd="InvalidDocumentVersion";const Ed="IsDefaultVersion";const fd="InventoryDeletions";const Id="IsEnd";const Cd="InvalidFilter";const Bd="InvalidFilterKey";const Qd="InventoryFilterList";const yd="InvalidFilterOption";const Sd="IncludeFutureRegions";const Rd="InvalidFilterValue";const wd="InventoryFilterValueList";const Dd="InventoryFilter";const bd="InventoryGroup";const xd="InventoryGroupList";const Md="InstanceId";const vd="InventoryItemAttribute";const Td="InventoryItemAttributeList";const Nd="InvalidItemContentException";const kd="InventoryItemEntryList";const Pd="InstanceInformationFilter";const Fd="InstanceInformationFilterList";const Ld="InstanceInformationFilterValue";const Ud="InstanceInformationFilterValueSet";const Od="InvalidInventoryGroupException";const $d="InvalidInstanceId";const Gd="InvalidInventoryItemContextException";const Hd="InvalidInstanceInformationFilterValue";const Vd="InstanceInformationList";const _d="InventoryItemList";const qd="InvalidInstancePropertyFilterValue";const Wd="InvalidInventoryRequestException";const Yd="InventoryItemSchema";const Jd="InstanceInformationStringFilter";const zd="InstanceInformationStringFilterList";const jd="InventoryItemSchemaResultList";const Kd="InstanceIds";const Xd="InstanceInfo";const Zd="InstanceInformation";const eg="InvocationId";const tg="InventoryItem";const ng="InvalidKeyId";const sg="InvalidLabels";const og="IsLatestVersion";const rg="InstanceName";const ig="InvalidNotificationConfig";const ag="InvalidNextToken";const cg="InstalledOtherCount";const Ag="InvalidOptionException";const lg="InvalidOutputFolder";const ug="InvalidOutputLocation";const dg="InstallOverrideList";const gg="InvalidParameters";const hg="IPAddress";const mg="InvalidPolicyAttributeException";const pg="IgnorePollAlarmFailure";const Eg="IncompatiblePolicyException";const fg="InstancePropertyFilter";const Ig="InstancePropertyFilterList";const Cg="InstancePropertyFilterValue";const Bg="InstancePropertyFilterValueSet";const Qg="IdempotentParameterMismatch";const yg="InvalidPluginName";const Sg="InstalledPendingRebootCount";const Rg="InstancePatchStates";const wg="InstancePatchStateFilter";const Dg="InstancePatchStateFilterList";const bg="InstancePropertyStringFilterList";const xg="InstancePropertyStringFilter";const Mg="InstancePatchStateList";const vg="InstancePatchStatesList";const Tg="InstancePatchState";const Ng="InvalidPermissionType";const kg="InvalidPolicyTypeException";const Pg="InstanceProperties";const Fg="InstanceProperty";const Lg="InvalidRole";const Ug="InvalidResultAttributeException";const Og="InstalledRejectedCount";const $g="InventoryResultEntity";const Gg="InventoryResultEntityList";const Hg="InvalidResourceId";const Vg="InventoryResultItemMap";const _g="InventoryResultItem";const qg="InvalidResourceType";const Wg="IamRole";const Yg="InstanceRole";const Jg="InvalidSchedule";const zg="InternalServerError";const jg="ItemSizeLimitExceededException";const Kg="InstanceStatus";const Xg="InstanceState";const Zg="InvalidTag";const eh="InvalidTargetMaps";const th="InvalidTypeNameException";const nh="InvalidTarget";const sh="InstanceType";const oh="InstalledTime";const rh="InvalidUpdate";const ih="IteratorValue";const ah="InstancesWithAvailableSecurityUpdates";const ch="InstancesWithCriticalNonCompliantPatches";const Ah="InstancesWithFailedPatches";const lh="InstancesWithInstalledOtherPatches";const uh="InstancesWithInstalledPatches";const dh="InstancesWithInstalledPendingRebootPatches";const gh="InstancesWithInstalledRejectedPatches";const hh="InstancesWithMissingPatches";const mh="InstancesWithNotApplicablePatches";const ph="InstancesWithOtherNonCompliantPatches";const Eh="InstancesWithSecurityNonCompliantPatches";const fh="InstancesWithUnreportedNotApplicablePatches";const Ih="Instances";const Ch="Input";const Bh="Inputs";const Qh="Instance";const yh="Iteration";const Sh="Items";const Rh="Item";const wh="Key";const Dh="KBId";const bh="KeyId";const xh="KeyName";const Mh="KbNumber";const vh="KeysToDelete";const Th="Limit";const Nh="ListAssociations";const kh="LastAssociationExecutionDate";const Ph="ListAssociationsRequest";const Fh="ListAssociationsResult";const Lh="ListAssociationVersions";const Uh="ListAssociationVersionsRequest";const Oh="ListAssociationVersionsResult";const $h="LowCount";const Gh="ListCommandInvocations";const Hh="ListCommandInvocationsRequest";const Vh="ListCommandInvocationsResult";const _h="ListComplianceItemsRequest";const qh="ListComplianceItemsResult";const Wh="ListComplianceItems";const Yh="ListCommandsRequest";const Jh="ListCommandsResult";const zh="ListComplianceSummaries";const jh="ListComplianceSummariesRequest";const Kh="ListComplianceSummariesResult";const Xh="ListCommands";const Zh="ListDocuments";const em="ListDocumentMetadataHistory";const tm="ListDocumentMetadataHistoryRequest";const nm="ListDocumentMetadataHistoryResponse";const sm="ListDocumentsRequest";const om="ListDocumentsResult";const rm="ListDocumentVersions";const im="ListDocumentVersionsRequest";const am="ListDocumentVersionsResult";const cm="LastExecutionDate";const Am="LogFile";const lm="LoggingInfo";const um="ListInventoryEntries";const dm="ListInventoryEntriesRequest";const gm="ListInventoryEntriesResult";const hm="LastModifiedBy";const mm="LastModifiedDate";const pm="LastModifiedTime";const Em="LastModifiedUser";const fm="ListNodes";const Im="ListNodesRequest";const Cm="LastNoRebootInstallOperationTime";const Bm="ListNodesResult";const Qm="ListNodesSummary";const ym="ListNodesSummaryRequest";const Sm="ListNodesSummaryResult";const Rm="ListOpsItemEvents";const wm="ListOpsItemEventsRequest";const Dm="ListOpsItemEventsResponse";const bm="ListOpsItemRelatedItems";const xm="ListOpsItemRelatedItemsRequest";const Mm="ListOpsItemRelatedItemsResponse";const vm="ListOpsMetadata";const Tm="ListOpsMetadataRequest";const Nm="ListOpsMetadataResult";const km="LastPingDateTime";const Pm="LabelParameterVersion";const Fm="LabelParameterVersionRequest";const Lm="LabelParameterVersionResult";const Um="ListResourceComplianceSummaries";const Om="ListResourceComplianceSummariesRequest";const $m="ListResourceComplianceSummariesResult";const Gm="ListResourceDataSync";const Hm="ListResourceDataSyncRequest";const Vm="ListResourceDataSyncResult";const _m="LastStatus";const qm="LastSuccessfulAssociationExecutionDate";const Wm="LastSuccessfulExecutionDate";const Ym="LastStatusMessage";const Jm="LastSyncStatusMessage";const zm="LastSuccessfulSyncTime";const jm="LastSyncTime";const Km="LastStatusUpdateTime";const Xm="LimitType";const Zm="ListTagsForResource";const ep="ListTagsForResourceRequest";const tp="ListTagsForResourceResult";const np="LaunchTime";const sp="LastUpdateAssociationDate";const rp="LatestVersion";const ip="Labels";const ap="Lambda";const Ap="Language";const lp="Message";const up="MaxAttempts";const dp="MaxConcurrency";const gp="MediumCount";const hp="MissingCount";const mp="ModifiedDate";const pp="ModifyDocumentPermission";const Ep="ModifyDocumentPermissionRequest";const fp="ModifyDocumentPermissionResponse";const Ip="MaxDocumentSizeExceeded";const Cp="MaxErrors";const Bp="MetadataMap";const Qp="MsrcNumber";const yp="MaxResults";const Sp="MalformedResourcePolicyDocumentException";const Rp="ManagedStatus";const wp="MaxSessionDuration";const Dp="MsrcSeverity";const bp="MetadataToUpdate";const xp="MetadataValue";const Mp="MaintenanceWindowAutomationParameters";const vp="MaintenanceWindowDescription";const Tp="MaintenanceWindowExecution";const Np="MaintenanceWindowExecutionList";const kp="MaintenanceWindowExecutionTaskIdentity";const Pp="MaintenanceWindowExecutionTaskInvocationIdentity";const Fp="MaintenanceWindowExecutionTaskInvocationIdentityList";const Lp="MaintenanceWindowExecutionTaskIdentityList";const Up="MaintenanceWindowExecutionTaskInvocationParameters";const Op="MaintenanceWindowFilter";const $p="MaintenanceWindowFilterList";const Gp="MaintenanceWindowsForTargetList";const Hp="MaintenanceWindowIdentity";const Vp="MaintenanceWindowIdentityForTarget";const _p="MaintenanceWindowIdentityList";const qp="MaintenanceWindowLambdaPayload";const Wp="MaintenanceWindowLambdaParameters";const Yp="MaintenanceWindowRunCommandParameters";const Jp="MaintenanceWindowStepFunctionsInput";const zp="MaintenanceWindowStepFunctionsParameters";const jp="MaintenanceWindowTarget";const Kp="MaintenanceWindowTaskInvocationParameters";const Xp="MaintenanceWindowTargetList";const Zp="MaintenanceWindowTaskList";const eE="MaintenanceWindowTaskParameters";const tE="MaintenanceWindowTaskParametersList";const nE="MaintenanceWindowTaskParameterValue";const sE="MaintenanceWindowTaskParameterValueExpression";const oE="MaintenanceWindowTaskParameterValueList";const rE="MaintenanceWindowTask";const iE="Mappings";const aE="Metadata";const cE="Mode";const AE="Name";const lE="NodeAggregator";const uE="NotApplicableCount";const dE="NodeAggregatorList";const gE="NotificationArn";const hE="NotificationConfig";const mE="NonCompliantCount";const pE="NonCompliantSummary";const EE="NotificationEvents";const fE="NextExecutionTime";const IE="NodeFilter";const CE="NodeFilterList";const BE="NodeFilterValueList";const QE="NodeList";const yE="NoLongerSupportedException";const SE="NodeOwnerInfo";const RE="NextStep";const wE="NodeSummaryList";const DE="NextToken";const bE="NextTransitionTime";const xE="NodeType";const ME="NotificationType";const vE="Names";const TE="Notifications";const NE="Nodes";const kE="Node";const PE="Overview";const FE="OpsAggregator";const LE="OpsAggregatorList";const UE="OperationalData";const OE="OperationalDataToDelete";const $E="OpsEntity";const GE="OpsEntityItem";const HE="OpsEntityItemEntryList";const VE="OpsEntityItemMap";const _E="OpsEntityList";const qE="OperationEndTime";const WE="OpsFilter";const YE="OpsFilterList";const JE="OpsFilterValueList";const zE="OnFailure";const jE="OwnerInformation";const KE="OpsItemArn";const XE="OpsItemAccessDeniedException";const ZE="OpsItemAlreadyExistsException";const ef="OpsItemConflictException";const tf="OpsItemDataValue";const nf="OpsItemEventFilter";const sf="OpsItemEventFilters";const of="OpsItemEventSummary";const rf="OpsItemEventSummaries";const af="OpsItemFilters";const cf="OpsItemFilter";const Af="OpsItemId";const lf="OpsItemInvalidParameterException";const uf="OpsItemIdentity";const df="OpsItemLimitExceededException";const gf="OpsItemNotification";const hf="OpsItemNotFoundException";const mf="OpsItemNotifications";const pf="OpsItemOperationalData";const Ef="OpsItemRelatedItemAlreadyExistsException";const ff="OpsItemRelatedItemAssociationNotFoundException";const If="OpsItemRelatedItemsFilter";const Cf="OpsItemRelatedItemsFilters";const Bf="OpsItemRelatedItemSummary";const Qf="OpsItemRelatedItemSummaries";const yf="OpsItemSummaries";const Sf="OpsItemSummary";const Rf="OpsItemType";const wf="OpsItem";const Df="OutputLocation";const bf="OpsMetadata";const xf="OpsMetadataArn";const Mf="OpsMetadataAlreadyExistsException";const vf="OpsMetadataFilter";const Tf="OpsMetadataFilterList";const Nf="OpsMetadataInvalidArgumentException";const kf="OpsMetadataKeyLimitExceededException";const Pf="OpsMetadataList";const Ff="OpsMetadataLimitExceededException";const Lf="OpsMetadataNotFoundException";const Uf="OpsMetadataTooManyUpdatesException";const Of="OtherNonCompliantCount";const $f="OverriddenParameters";const Gf="OpsResultAttribute";const Hf="OpsResultAttributeList";const Vf="OutputSource";const _f="OutputS3BucketName";const qf="OutputSourceId";const Wf="OutputS3KeyPrefix";const Yf="OutputS3Region";const Jf="OperationStartTime";const zf="OrganizationSourceType";const jf="OutputSourceType";const Kf="OperatingSystem";const Xf="OverallSeverity";const Zf="OutputUrl";const eI="OrganizationalUnitId";const tI="OrganizationalUnitPath";const nI="OrganizationalUnits";const sI="Operation";const oI="Operator";const rI="Option";const iI="Outputs";const aI="Output";const cI="Overwrite";const AI="Owner";const lI="Parameters";const uI="ParameterAlreadyExists";const dI="ParentAutomationExecutionId";const gI="PatchBaselineIdentity";const hI="PatchBaselineIdentityList";const mI="ProgressCounters";const pI="PatchComplianceData";const EI="PatchComplianceDataList";const fI="PutComplianceItems";const II="PutComplianceItemsRequest";const CI="PutComplianceItemsResult";const BI="PlannedEndTime";const QI="ParameterFilters";const yI="PatchFilterGroup";const SI="ParametersFilterList";const RI="PatchFilterList";const wI="ParametersFilter";const DI="PatchFilter";const bI="PatchFilters";const xI="ProductFamily";const MI="PatchGroup";const vI="PatchGroupPatchBaselineMapping";const TI="PatchGroupPatchBaselineMappingList";const NI="PatchGroups";const kI="PolicyHash";const PI="ParameterHistoryList";const FI="ParameterHistory";const LI="PolicyId";const UI="ParameterInlinePolicy";const OI="PutInventoryRequest";const $I="PutInventoryResult";const GI="PutInventory";const HI="ParameterList";const VI="ParameterLimitExceeded";const _I="PoliciesLimitExceededException";const qI="PatchList";const WI="ParameterMetadata";const YI="ParameterMetadataList";const JI="ParameterMaxVersionLimitExceeded";const zI="ParameterNames";const jI="ParameterNotFound";const KI="PluginName";const XI="PlatformName";const ZI="PatchOrchestratorFilter";const eC="PatchOrchestratorFilterList";const tC="PutParameter";const nC="PatchPropertiesList";const sC="ParameterPolicyList";const oC="ParameterPatternMismatchException";const rC="PutParameterRequest";const iC="PutParameterResult";const aC="PatchRule";const cC="PatchRuleGroup";const AC="PatchRuleList";const lC="PutResourcePolicy";const uC="PutResourcePolicyRequest";const dC="PutResourcePolicyResponse";const gC="PendingReviewVersion";const hC="PatchRules";const mC="PatchSet";const pC="PatchSourceConfiguration";const EC="ParentStepDetails";const fC="ParameterStringFilter";const IC="ParameterStringFilterList";const CC="PatchSourceList";const BC="PSParameterValue";const QC="PlannedStartTime";const yC="PatchStatus";const SC="PatchSource";const RC="PingStatus";const wC="PolicyStatus";const DC="PermissionType";const bC="PlatformTypeList";const xC="PlatformTypes";const MC="PlatformType";const vC="PolicyText";const TC="PolicyType";const NC="PlatformVersion";const kC="ParameterVersionLabelLimitExceeded";const PC="ParameterVersionNotFound";const FC="ParameterVersion";const LC="ParameterValues";const UC="Patches";const OC="Parameter";const $C="Patch";const GC="Path";const HC="Payload";const VC="Policies";const _C="Policy";const qC="Priority";const WC="Prefix";const YC="Property";const JC="Product";const zC="Products";const jC="Properties";const KC="Qualifier";const XC="QuotaCode";const ZC="Runbooks";const eB="ResourceArn";const tB="ResultAttributeList";const nB="ResultAttributes";const sB="ResultAttribute";const oB="ReasonCode";const rB="ResourceCountByStatus";const iB="ResourceComplianceSummaryItems";const aB="ResourceComplianceSummaryItemList";const cB="ResourceComplianceSummaryItem";const AB="RegistrationsCount";const lB="RemainingCount";const uB="ResponseCode";const dB="RunCommand";const gB="RegistrationDate";const hB="RegisterDefaultPatchBaseline";const mB="RegisterDefaultPatchBaselineRequest";const pB="RegisterDefaultPatchBaselineResult";const EB="ResourceDataSyncAlreadyExistsException";const fB="ResourceDataSyncAwsOrganizationsSource";const IB="ResourceDataSyncConflictException";const CB="ResourceDataSyncCountExceededException";const BB="ResourceDataSyncDestinationDataSharing";const QB="ResourceDataSyncItems";const yB="ResourceDataSyncInvalidConfigurationException";const SB="ResourceDataSyncItemList";const RB="ResourceDataSyncItem";const wB="ResourceDataSyncNotFoundException";const DB="ResourceDataSyncOrganizationalUnit";const bB="ResourceDataSyncOrganizationalUnitList";const xB="ResourceDataSyncSource";const MB="ResourceDataSyncS3Destination";const vB="ResourceDataSyncSourceWithState";const TB="RequestedDateTime";const NB="ReleaseDate";const kB="ResponseFinishDateTime";const PB="ResourceId";const FB="ReviewInformationList";const LB="ResourceInUseException";const UB="ReviewInformation";const OB="ResourceIds";const $B="RegistrationLimit";const GB="ResourceLimitExceededException";const HB="RemovedLabels";const VB="RegistrationMetadata";const _B="RegistrationMetadataItem";const qB="RegistrationMetadataList";const WB="ResourceNotFoundException";const YB="ReverseOrder";const JB="RelatedOpsItems";const zB="RelatedOpsItem";const jB="RebootOption";const KB="RejectedPatches";const XB="RejectedPatchesAction";const ZB="RegisterPatchBaselineForPatchGroup";const eQ="RegisterPatchBaselineForPatchGroupRequest";const tQ="RegisterPatchBaselineForPatchGroupResult";const nQ="ResourcePolicyConflictException";const sQ="ResourcePolicyInvalidParameterException";const oQ="ResourcePolicyLimitExceededException";const rQ="ResourcePolicyNotFoundException";const iQ="ReviewerResponse";const aQ="ReviewStatus";const cQ="ResponseStartDateTime";const AQ="ResumeSessionRequest";const lQ="ResumeSessionResponse";const uQ="ResetServiceSetting";const dQ="ResetServiceSettingRequest";const gQ="ResetServiceSettingResult";const hQ="ResumeSession";const mQ="ResourceTypes";const pQ="RemoveTagsFromResource";const EQ="RemoveTagsFromResourceRequest";const fQ="RemoveTagsFromResourceResult";const IQ="RegisterTargetWithMaintenanceWindow";const CQ="RegisterTargetWithMaintenanceWindowRequest";const BQ="RegisterTargetWithMaintenanceWindowResult";const QQ="RegisterTaskWithMaintenanceWindowRequest";const yQ="RegisterTaskWithMaintenanceWindowResult";const SQ="RegisterTaskWithMaintenanceWindow";const RQ="ResourceType";const wQ="RequireType";const DQ="ResolvedTargets";const bQ="ReviewedTime";const xQ="ResourceUri";const MQ="Regions";const vQ="Reason";const TQ="Recursive";const NQ="Region";const kQ="Release";const PQ="Repository";const FQ="Replace";const LQ="Requires";const UQ="Response";const OQ="Reviewer";const $Q="Runbook";const GQ="State";const HQ="StartAutomationExecution";const VQ="StartAutomationExecutionRequest";const _Q="StartAutomationExecutionResult";const qQ="StopAutomationExecutionRequest";const WQ="StopAutomationExecutionResult";const YQ="StopAutomationExecution";const JQ="SecretAccessKey";const zQ="StartAssociationsOnce";const jQ="StartAssociationsOnceRequest";const KQ="StartAssociationsOnceResult";const XQ="StartAccessRequest";const ZQ="StartAccessRequestRequest";const ey="StartAccessRequestResponse";const ty="SendAutomationSignal";const ny="SendAutomationSignalRequest";const sy="SendAutomationSignalResult";const oy="S3BucketName";const ry="ServiceCode";const iy="SendCommandRequest";const ay="StartChangeRequestExecution";const cy="StartChangeRequestExecutionRequest";const Ay="StartChangeRequestExecutionResult";const ly="SendCommandResult";const uy="SyncCreatedTime";const dy="SendCommand";const gy="SyncCompliance";const hy="StatusDetails";const my="SchemaDeleteOption";const py="SnapshotDownloadUrl";const Ey="SharedDocumentVersion";const fy="S3Destination";const Iy="StartDate";const Cy="ScheduleExpression";const By="StandardErrorContent";const Qy="StepExecutionFilter";const yy="StepExecutionFilterList";const Sy="StepExecutionId";const Ry="StepExecutionList";const wy="StartExecutionPreview";const Dy="StartExecutionPreviewRequest";const by="StartExecutionPreviewResponse";const xy="StepExecutionsTruncated";const My="ScheduledEndTime";const vy="StandardErrorUrl";const Ty="StepExecutions";const Ny="StepExecution";const ky="StepFunctions";const Py="SessionFilterList";const Fy="SessionFilter";const Ly="SyncFormat";const Uy="StatusInformation";const Oy="SettingId";const $y="SessionId";const Gy="SnapshotId";const Hy="SourceId";const Vy="SummaryItems";const _y="S3KeyPrefix";const qy="S3Location";const Wy="SyncLastModifiedTime";const Yy="SessionList";const Jy="StatusMessage";const zy="SessionManagerOutputUrl";const jy="SessionManagerParameters";const Ky="SyncName";const Xy="SecurityNonCompliantCount";const Zy="StepName";const eS="ScheduleOffset";const tS="StandardOutputContent";const nS="S3OutputLocation";const sS="StandardOutputUrl";const oS="S3OutputUrl";const rS="StepPreviews";const iS="ServiceQuotaExceededException";const aS="ServiceRole";const cS="ServiceRoleArn";const AS="S3Region";const lS="SourceResult";const uS="SourceRegions";const dS="SeveritySummary";const gS="ServiceSettingNotFound";const hS="StartSessionRequest";const mS="StartSessionResponse";const pS="ServiceSetting";const ES="StepStatus";const fS="StartSession";const IS="SuccessSteps";const CS="SyncSource";const BS="SyncType";const QS="SubTypeCountLimitExceededException";const yS="SessionTokenType";const SS="ScheduledTime";const RS="ScheduleTimezone";const wS="SessionToken";const DS="SignalType";const bS="SourceType";const xS="StartTime";const MS="SubType";const vS="StatusUnchanged";const TS="StreamUrl";const NS="SchemaVersion";const kS="SettingValue";const PS="ScheduledWindowExecutions";const FS="ScheduledWindowExecutionList";const LS="ScheduledWindowExecution";const US="Safe";const OS="Schedule";const $S="Schemas";const GS="Severity";const HS="Selector";const VS="Sessions";const _S="Session";const qS="Shared";const WS="Sha1";const YS="Size";const JS="Sources";const zS="Source";const jS="Status";const KS="Successful";const XS="Summary";const ZS="Summaries";const eR="Tags";const tR="TriggeredAlarms";const nR="TaskArn";const sR="TotalAccounts";const oR="TargetCount";const rR="TotalCount";const iR="ThrottlingException";const aR="TaskExecutionId";const cR="TaskId";const AR="TaskInvocationParameters";const lR="TargetInUseException";const uR="TaskIds";const dR="TagKeys";const gR="TargetLocations";const hR="TargetLocationAlarmConfiguration";const mR="TargetLocationMaxConcurrency";const pR="TargetLocationMaxErrors";const ER="TargetLocationsURL";const fR="TagList";const IR="TargetLocation";const CR="TargetMaps";const BR="TargetsMaxConcurrency";const QR="TargetsMaxErrors";const yR="TooManyTagsError";const SR="TooManyUpdates";const RR="TargetMap";const wR="TypeName";const DR="TargetNotConnected";const bR="TraceOutput";const xR="TimedOutSteps";const MR="TargetPreviews";const vR="TargetPreviewList";const TR="TargetParameterName";const NR="TaskParameters";const kR="TargetPreview";const PR="TimeoutSeconds";const FR="TotalSizeLimitExceededException";const LR="TerminateSessionRequest";const UR="TerminateSessionResponse";const OR="TerminateSession";const $R="TotalSteps";const GR="TargetType";const HR="TaskType";const VR="TokenValue";const _R="Targets";const qR="Tag";const WR="Target";const YR="Tasks";const JR="Title";const zR="Tier";const jR="Truncated";const KR="Type";const XR="Url";const ZR="UpdateAssociation";const ew="UpdateAssociationRequest";const tw="UpdateAssociationResult";const nw="UpdateAssociationStatus";const sw="UpdateAssociationStatusRequest";const ow="UpdateAssociationStatusResult";const rw="UnspecifiedCount";const iw="UnsupportedCalendarException";const aw="UpdateDocument";const cw="UpdateDocumentDefaultVersion";const Aw="UpdateDocumentDefaultVersionRequest";const lw="UpdateDocumentDefaultVersionResult";const uw="UpdateDocumentMetadata";const dw="UpdateDocumentMetadataRequest";const gw="UpdateDocumentMetadataResponse";const hw="UpdateDocumentRequest";const mw="UpdateDocumentResult";const pw="UnsupportedFeatureRequiredException";const Ew="UnsupportedInventoryItemContextException";const fw="UnsupportedInventorySchemaVersionException";const Iw="UpdateManagedInstanceRole";const Cw="UpdateManagedInstanceRoleRequest";const Bw="UpdateManagedInstanceRoleResult";const Qw="UpdateMaintenanceWindow";const yw="UpdateMaintenanceWindowRequest";const Sw="UpdateMaintenanceWindowResult";const Rw="UpdateMaintenanceWindowTarget";const ww="UpdateMaintenanceWindowTargetRequest";const Dw="UpdateMaintenanceWindowTargetResult";const bw="UpdateMaintenanceWindowTaskRequest";const xw="UpdateMaintenanceWindowTaskResult";const Mw="UpdateMaintenanceWindowTask";const vw="UnreportedNotApplicableCount";const Tw="UnsupportedOperationException";const Nw="UpdateOpsItem";const kw="UpdateOpsItemRequest";const Pw="UpdateOpsItemResponse";const Fw="UpdateOpsMetadata";const Lw="UpdateOpsMetadataRequest";const Uw="UpdateOpsMetadataResult";const Ow="UnsupportedOperatingSystem";const $w="UpdatePatchBaseline";const Gw="UpdatePatchBaselineRequest";const Hw="UpdatePatchBaselineResult";const Vw="UnsupportedParameterType";const _w="UnsupportedPlatformType";const qw="UnlabelParameterVersion";const Ww="UnlabelParameterVersionRequest";const Yw="UnlabelParameterVersionResult";const Jw="UpdateResourceDataSync";const zw="UpdateResourceDataSyncRequest";const jw="UpdateResourceDataSyncResult";const Kw="UseS3DualStackEndpoint";const Xw="UpdateServiceSetting";const Zw="UpdateServiceSettingRequest";const eD="UpdateServiceSettingResult";const tD="UpdatedTime";const nD="UploadType";const sD="Value";const oD="ValidationException";const rD="VersionName";const iD="ValidNextSteps";const aD="Values";const cD="Variables";const AD="Version";const lD="Vendor";const uD="WithDecryption";const dD="WindowExecutions";const gD="WindowExecutionId";const hD="WindowExecutionTaskIdentities";const mD="WindowExecutionTaskInvocationIdentities";const pD="WindowId";const ED="WindowIdentities";const fD="WindowTargetId";const ID="WindowTaskId";const CD="awsQueryError";const BD="client";const QD="error";const yD="entries";const SD="key";const RD="message";const wD="smithy.ts.sdk.synthetic.com.amazonaws.ssm";const DD="server";const bD="value";const xD="valueSet";const MD="xmlName";const vD="com.amazonaws.ssm";const TD=n(6890);const ND=n(4392);const kD=n(5390);const PD=TD.TypeRegistry.for(wD);t.SSMServiceException$=[-3,wD,"SSMServiceException",0,[],[]];PD.registerError(t.SSMServiceException$,kD.SSMServiceException);const FD=TD.TypeRegistry.for(vD);t.AccessDeniedException$=[-3,vD,U,{[QD]:BD},[lp],[0],1];FD.registerError(t.AccessDeniedException$,ND.AccessDeniedException);t.AlreadyExistsException$=[-3,vD,X,{[CD]:[`AlreadyExistsException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.AlreadyExistsException$,ND.AlreadyExistsException);t.AssociatedInstances$=[-3,vD,Qe,{[CD]:[`AssociatedInstances`,400],[QD]:BD},[],[]];FD.registerError(t.AssociatedInstances$,ND.AssociatedInstances);t.AssociationAlreadyExists$=[-3,vD,d,{[CD]:[`AssociationAlreadyExists`,400],[QD]:BD},[],[]];FD.registerError(t.AssociationAlreadyExists$,ND.AssociationAlreadyExists);t.AssociationDoesNotExist$=[-3,vD,_,{[CD]:[`AssociationDoesNotExist`,404],[QD]:BD},[lp],[0]];FD.registerError(t.AssociationDoesNotExist$,ND.AssociationDoesNotExist);t.AssociationExecutionDoesNotExist$=[-3,vD,K,{[CD]:[`AssociationExecutionDoesNotExist`,404],[QD]:BD},[lp],[0]];FD.registerError(t.AssociationExecutionDoesNotExist$,ND.AssociationExecutionDoesNotExist);t.AssociationLimitExceeded$=[-3,vD,Oe,{[CD]:[`AssociationLimitExceeded`,400],[QD]:BD},[],[]];FD.registerError(t.AssociationLimitExceeded$,ND.AssociationLimitExceeded);t.AssociationVersionLimitExceeded$=[-3,vD,yn,{[CD]:[`AssociationVersionLimitExceeded`,400],[QD]:BD},[lp],[0]];FD.registerError(t.AssociationVersionLimitExceeded$,ND.AssociationVersionLimitExceeded);t.AutomationDefinitionNotApprovedException$=[-3,vD,V,{[CD]:[`AutomationDefinitionNotApproved`,400],[QD]:BD},[lp],[0]];FD.registerError(t.AutomationDefinitionNotApprovedException$,ND.AutomationDefinitionNotApprovedException);t.AutomationDefinitionNotFoundException$=[-3,vD,W,{[CD]:[`AutomationDefinitionNotFound`,404],[QD]:BD},[lp],[0]];FD.registerError(t.AutomationDefinitionNotFoundException$,ND.AutomationDefinitionNotFoundException);t.AutomationDefinitionVersionNotFoundException$=[-3,vD,Y,{[CD]:[`AutomationDefinitionVersionNotFound`,404],[QD]:BD},[lp],[0]];FD.registerError(t.AutomationDefinitionVersionNotFoundException$,ND.AutomationDefinitionVersionNotFoundException);t.AutomationExecutionLimitExceededException$=[-3,vD,ie,{[CD]:[`AutomationExecutionLimitExceeded`,429],[QD]:BD},[lp],[0]];FD.registerError(t.AutomationExecutionLimitExceededException$,ND.AutomationExecutionLimitExceededException);t.AutomationExecutionNotFoundException$=[-3,vD,Ae,{[CD]:[`AutomationExecutionNotFound`,404],[QD]:BD},[lp],[0]];FD.registerError(t.AutomationExecutionNotFoundException$,ND.AutomationExecutionNotFoundException);t.AutomationStepNotFoundException$=[-3,vD,en,{[CD]:[`AutomationStepNotFoundException`,404],[QD]:BD},[lp],[0]];FD.registerError(t.AutomationStepNotFoundException$,ND.AutomationStepNotFoundException);t.ComplianceTypeCountLimitExceededException$=[-3,vD,Do,{[CD]:[`ComplianceTypeCountLimitExceeded`,400],[QD]:BD},[lp],[0]];FD.registerError(t.ComplianceTypeCountLimitExceededException$,ND.ComplianceTypeCountLimitExceededException);t.CustomSchemaCountLimitExceededException$=[-3,vD,po,{[CD]:[`CustomSchemaCountLimitExceeded`,400],[QD]:BD},[lp],[0]];FD.registerError(t.CustomSchemaCountLimitExceededException$,ND.CustomSchemaCountLimitExceededException);t.DocumentAlreadyExists$=[-3,vD,jo,{[CD]:[`DocumentAlreadyExists`,400],[QD]:BD},[lp],[0]];FD.registerError(t.DocumentAlreadyExists$,ND.DocumentAlreadyExists);t.DocumentLimitExceeded$=[-3,vD,Mi,{[CD]:[`DocumentLimitExceeded`,400],[QD]:BD},[lp],[0]];FD.registerError(t.DocumentLimitExceeded$,ND.DocumentLimitExceeded);t.DocumentPermissionLimit$=[-3,vD,Oa,{[CD]:[`DocumentPermissionLimit`,400],[QD]:BD},[lp],[0]];FD.registerError(t.DocumentPermissionLimit$,ND.DocumentPermissionLimit);t.DocumentVersionLimitExceeded$=[-3,vD,kc,{[CD]:[`DocumentVersionLimitExceeded`,400],[QD]:BD},[lp],[0]];FD.registerError(t.DocumentVersionLimitExceeded$,ND.DocumentVersionLimitExceeded);t.DoesNotExistException$=[-3,vD,Aa,{[CD]:[`DoesNotExistException`,404],[QD]:BD},[lp],[0]];FD.registerError(t.DoesNotExistException$,ND.DoesNotExistException);t.DuplicateDocumentContent$=[-3,vD,Dr,{[CD]:[`DuplicateDocumentContent`,400],[QD]:BD},[lp],[0]];FD.registerError(t.DuplicateDocumentContent$,ND.DuplicateDocumentContent);t.DuplicateDocumentVersionName$=[-3,vD,Ur,{[CD]:[`DuplicateDocumentVersionName`,400],[QD]:BD},[lp],[0]];FD.registerError(t.DuplicateDocumentVersionName$,ND.DuplicateDocumentVersionName);t.DuplicateInstanceId$=[-3,vD,ri,{[CD]:[`DuplicateInstanceId`,404],[QD]:BD},[],[]];FD.registerError(t.DuplicateInstanceId$,ND.DuplicateInstanceId);t.FeatureNotAvailableException$=[-3,vD,LA,{[CD]:[`FeatureNotAvailableException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.FeatureNotAvailableException$,ND.FeatureNotAvailableException);t.HierarchyLevelLimitExceededException$=[-3,vD,wu,{[CD]:[`HierarchyLevelLimitExceededException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.HierarchyLevelLimitExceededException$,ND.HierarchyLevelLimitExceededException);t.HierarchyTypeMismatchException$=[-3,vD,bu,{[CD]:[`HierarchyTypeMismatchException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.HierarchyTypeMismatchException$,ND.HierarchyTypeMismatchException);t.IdempotentParameterMismatch$=[-3,vD,Qg,{[CD]:[`IdempotentParameterMismatch`,400],[QD]:BD},[lp],[0]];FD.registerError(t.IdempotentParameterMismatch$,ND.IdempotentParameterMismatch);t.IncompatiblePolicyException$=[-3,vD,Eg,{[CD]:[`IncompatiblePolicyException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.IncompatiblePolicyException$,ND.IncompatiblePolicyException);t.InternalServerError$=[-3,vD,zg,{[CD]:[`InternalServerError`,500],[QD]:DD},[lp],[0]];FD.registerError(t.InternalServerError$,ND.InternalServerError);t.InvalidActivation$=[-3,vD,Mu,{[CD]:[`InvalidActivation`,404],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidActivation$,ND.InvalidActivation);t.InvalidActivationId$=[-3,vD,ku,{[CD]:[`InvalidActivationId`,404],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidActivationId$,ND.InvalidActivationId);t.InvalidAggregatorException$=[-3,vD,Tu,{[CD]:[`InvalidAggregator`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidAggregatorException$,ND.InvalidAggregatorException);t.InvalidAllowedPatternException$=[-3,vD,Ou,{[CD]:[`InvalidAllowedPatternException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.InvalidAllowedPatternException$,ND.InvalidAllowedPatternException);t.InvalidAssociation$=[-3,vD,Wu,{[CD]:[`InvalidAssociation`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidAssociation$,ND.InvalidAssociation);t.InvalidAssociationVersion$=[-3,vD,qu,{[CD]:[`InvalidAssociationVersion`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidAssociationVersion$,ND.InvalidAssociationVersion);t.InvalidAutomationExecutionParametersException$=[-3,vD,Nu,{[CD]:[`InvalidAutomationExecutionParameters`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidAutomationExecutionParametersException$,ND.InvalidAutomationExecutionParametersException);t.InvalidAutomationSignalException$=[-3,vD,Gu,{[CD]:[`InvalidAutomationSignalException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidAutomationSignalException$,ND.InvalidAutomationSignalException);t.InvalidAutomationStatusUpdateException$=[-3,vD,_u,{[CD]:[`InvalidAutomationStatusUpdateException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidAutomationStatusUpdateException$,ND.InvalidAutomationStatusUpdateException);t.InvalidCommandId$=[-3,vD,Xu,{[CD]:[`InvalidCommandId`,404],[QD]:BD},[],[]];FD.registerError(t.InvalidCommandId$,ND.InvalidCommandId);t.InvalidDeleteInventoryParametersException$=[-3,vD,id,{[CD]:[`InvalidDeleteInventoryParameters`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidDeleteInventoryParametersException$,ND.InvalidDeleteInventoryParametersException);t.InvalidDeletionIdException$=[-3,vD,rd,{[CD]:[`InvalidDeletionId`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidDeletionIdException$,ND.InvalidDeletionIdException);t.InvalidDocument$=[-3,vD,sd,{[CD]:[`InvalidDocument`,404],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidDocument$,ND.InvalidDocument);t.InvalidDocumentContent$=[-3,vD,od,{[CD]:[`InvalidDocumentContent`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidDocumentContent$,ND.InvalidDocumentContent);t.InvalidDocumentOperation$=[-3,vD,Ad,{[CD]:[`InvalidDocumentOperation`,403],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidDocumentOperation$,ND.InvalidDocumentOperation);t.InvalidDocumentSchemaVersion$=[-3,vD,hd,{[CD]:[`InvalidDocumentSchemaVersion`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidDocumentSchemaVersion$,ND.InvalidDocumentSchemaVersion);t.InvalidDocumentType$=[-3,vD,md,{[CD]:[`InvalidDocumentType`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidDocumentType$,ND.InvalidDocumentType);t.InvalidDocumentVersion$=[-3,vD,pd,{[CD]:[`InvalidDocumentVersion`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidDocumentVersion$,ND.InvalidDocumentVersion);t.InvalidFilter$=[-3,vD,Cd,{[CD]:[`InvalidFilter`,441],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidFilter$,ND.InvalidFilter);t.InvalidFilterKey$=[-3,vD,Bd,{[CD]:[`InvalidFilterKey`,400],[QD]:BD},[],[]];FD.registerError(t.InvalidFilterKey$,ND.InvalidFilterKey);t.InvalidFilterOption$=[-3,vD,yd,{[CD]:[`InvalidFilterOption`,400],[QD]:BD},[RD],[0]];FD.registerError(t.InvalidFilterOption$,ND.InvalidFilterOption);t.InvalidFilterValue$=[-3,vD,Rd,{[CD]:[`InvalidFilterValue`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidFilterValue$,ND.InvalidFilterValue);t.InvalidInstanceId$=[-3,vD,$d,{[CD]:[`InvalidInstanceId`,404],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidInstanceId$,ND.InvalidInstanceId);t.InvalidInstanceInformationFilterValue$=[-3,vD,Hd,{[CD]:[`InvalidInstanceInformationFilterValue`,400],[QD]:BD},[RD],[0]];FD.registerError(t.InvalidInstanceInformationFilterValue$,ND.InvalidInstanceInformationFilterValue);t.InvalidInstancePropertyFilterValue$=[-3,vD,qd,{[CD]:[`InvalidInstancePropertyFilterValue`,400],[QD]:BD},[RD],[0]];FD.registerError(t.InvalidInstancePropertyFilterValue$,ND.InvalidInstancePropertyFilterValue);t.InvalidInventoryGroupException$=[-3,vD,Od,{[CD]:[`InvalidInventoryGroup`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidInventoryGroupException$,ND.InvalidInventoryGroupException);t.InvalidInventoryItemContextException$=[-3,vD,Gd,{[CD]:[`InvalidInventoryItemContext`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidInventoryItemContextException$,ND.InvalidInventoryItemContextException);t.InvalidInventoryRequestException$=[-3,vD,Wd,{[CD]:[`InvalidInventoryRequest`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidInventoryRequestException$,ND.InvalidInventoryRequestException);t.InvalidItemContentException$=[-3,vD,Nd,{[CD]:[`InvalidItemContent`,400],[QD]:BD},[wR,lp],[0,0]];FD.registerError(t.InvalidItemContentException$,ND.InvalidItemContentException);t.InvalidKeyId$=[-3,vD,ng,{[CD]:[`InvalidKeyId`,400],[QD]:BD},[RD],[0]];FD.registerError(t.InvalidKeyId$,ND.InvalidKeyId);t.InvalidNextToken$=[-3,vD,ag,{[CD]:[`InvalidNextToken`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidNextToken$,ND.InvalidNextToken);t.InvalidNotificationConfig$=[-3,vD,ig,{[CD]:[`InvalidNotificationConfig`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidNotificationConfig$,ND.InvalidNotificationConfig);t.InvalidOptionException$=[-3,vD,Ag,{[CD]:[`InvalidOption`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidOptionException$,ND.InvalidOptionException);t.InvalidOutputFolder$=[-3,vD,lg,{[CD]:[`InvalidOutputFolder`,400],[QD]:BD},[],[]];FD.registerError(t.InvalidOutputFolder$,ND.InvalidOutputFolder);t.InvalidOutputLocation$=[-3,vD,ug,{[CD]:[`InvalidOutputLocation`,400],[QD]:BD},[],[]];FD.registerError(t.InvalidOutputLocation$,ND.InvalidOutputLocation);t.InvalidParameters$=[-3,vD,gg,{[CD]:[`InvalidParameters`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidParameters$,ND.InvalidParameters);t.InvalidPermissionType$=[-3,vD,Ng,{[CD]:[`InvalidPermissionType`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidPermissionType$,ND.InvalidPermissionType);t.InvalidPluginName$=[-3,vD,yg,{[CD]:[`InvalidPluginName`,404],[QD]:BD},[],[]];FD.registerError(t.InvalidPluginName$,ND.InvalidPluginName);t.InvalidPolicyAttributeException$=[-3,vD,mg,{[CD]:[`InvalidPolicyAttributeException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.InvalidPolicyAttributeException$,ND.InvalidPolicyAttributeException);t.InvalidPolicyTypeException$=[-3,vD,kg,{[CD]:[`InvalidPolicyTypeException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.InvalidPolicyTypeException$,ND.InvalidPolicyTypeException);t.InvalidResourceId$=[-3,vD,Hg,{[CD]:[`InvalidResourceId`,400],[QD]:BD},[],[]];FD.registerError(t.InvalidResourceId$,ND.InvalidResourceId);t.InvalidResourceType$=[-3,vD,qg,{[CD]:[`InvalidResourceType`,400],[QD]:BD},[],[]];FD.registerError(t.InvalidResourceType$,ND.InvalidResourceType);t.InvalidResultAttributeException$=[-3,vD,Ug,{[CD]:[`InvalidResultAttribute`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidResultAttributeException$,ND.InvalidResultAttributeException);t.InvalidRole$=[-3,vD,Lg,{[CD]:[`InvalidRole`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidRole$,ND.InvalidRole);t.InvalidSchedule$=[-3,vD,Jg,{[CD]:[`InvalidSchedule`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidSchedule$,ND.InvalidSchedule);t.InvalidTag$=[-3,vD,Zg,{[CD]:[`InvalidTag`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidTag$,ND.InvalidTag);t.InvalidTarget$=[-3,vD,nh,{[CD]:[`InvalidTarget`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidTarget$,ND.InvalidTarget);t.InvalidTargetMaps$=[-3,vD,eh,{[CD]:[`InvalidTargetMaps`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidTargetMaps$,ND.InvalidTargetMaps);t.InvalidTypeNameException$=[-3,vD,th,{[CD]:[`InvalidTypeName`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidTypeNameException$,ND.InvalidTypeNameException);t.InvalidUpdate$=[-3,vD,rh,{[CD]:[`InvalidUpdate`,400],[QD]:BD},[lp],[0]];FD.registerError(t.InvalidUpdate$,ND.InvalidUpdate);t.InvocationDoesNotExist$=[-3,vD,cd,{[CD]:[`InvocationDoesNotExist`,400],[QD]:BD},[],[]];FD.registerError(t.InvocationDoesNotExist$,ND.InvocationDoesNotExist);t.ItemContentMismatchException$=[-3,vD,Zu,{[CD]:[`ItemContentMismatch`,400],[QD]:BD},[wR,lp],[0,0]];FD.registerError(t.ItemContentMismatchException$,ND.ItemContentMismatchException);t.ItemSizeLimitExceededException$=[-3,vD,jg,{[CD]:[`ItemSizeLimitExceeded`,400],[QD]:BD},[wR,lp],[0,0]];FD.registerError(t.ItemSizeLimitExceededException$,ND.ItemSizeLimitExceededException);t.MalformedResourcePolicyDocumentException$=[-3,vD,Sp,{[CD]:[`MalformedResourcePolicyDocumentException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.MalformedResourcePolicyDocumentException$,ND.MalformedResourcePolicyDocumentException);t.MaxDocumentSizeExceeded$=[-3,vD,Ip,{[CD]:[`MaxDocumentSizeExceeded`,400],[QD]:BD},[lp],[0]];FD.registerError(t.MaxDocumentSizeExceeded$,ND.MaxDocumentSizeExceeded);t.NoLongerSupportedException$=[-3,vD,yE,{[CD]:[`NoLongerSupported`,400],[QD]:BD},[lp],[0]];FD.registerError(t.NoLongerSupportedException$,ND.NoLongerSupportedException);t.OpsItemAccessDeniedException$=[-3,vD,XE,{[CD]:[`OpsItemAccessDeniedException`,403],[QD]:BD},[lp],[0]];FD.registerError(t.OpsItemAccessDeniedException$,ND.OpsItemAccessDeniedException);t.OpsItemAlreadyExistsException$=[-3,vD,ZE,{[CD]:[`OpsItemAlreadyExistsException`,400],[QD]:BD},[lp,Af],[0,0]];FD.registerError(t.OpsItemAlreadyExistsException$,ND.OpsItemAlreadyExistsException);t.OpsItemConflictException$=[-3,vD,ef,{[CD]:[`OpsItemConflictException`,409],[QD]:BD},[lp],[0]];FD.registerError(t.OpsItemConflictException$,ND.OpsItemConflictException);t.OpsItemInvalidParameterException$=[-3,vD,lf,{[CD]:[`OpsItemInvalidParameterException`,400],[QD]:BD},[zI,lp],[64|0,0]];FD.registerError(t.OpsItemInvalidParameterException$,ND.OpsItemInvalidParameterException);t.OpsItemLimitExceededException$=[-3,vD,df,{[CD]:[`OpsItemLimitExceededException`,400],[QD]:BD},[mQ,Th,Xm,lp],[64|0,1,0,0]];FD.registerError(t.OpsItemLimitExceededException$,ND.OpsItemLimitExceededException);t.OpsItemNotFoundException$=[-3,vD,hf,{[CD]:[`OpsItemNotFoundException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.OpsItemNotFoundException$,ND.OpsItemNotFoundException);t.OpsItemRelatedItemAlreadyExistsException$=[-3,vD,Ef,{[CD]:[`OpsItemRelatedItemAlreadyExistsException`,400],[QD]:BD},[lp,xQ,Af],[0,0,0]];FD.registerError(t.OpsItemRelatedItemAlreadyExistsException$,ND.OpsItemRelatedItemAlreadyExistsException);t.OpsItemRelatedItemAssociationNotFoundException$=[-3,vD,ff,{[CD]:[`OpsItemRelatedItemAssociationNotFoundException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.OpsItemRelatedItemAssociationNotFoundException$,ND.OpsItemRelatedItemAssociationNotFoundException);t.OpsMetadataAlreadyExistsException$=[-3,vD,Mf,{[CD]:[`OpsMetadataAlreadyExistsException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.OpsMetadataAlreadyExistsException$,ND.OpsMetadataAlreadyExistsException);t.OpsMetadataInvalidArgumentException$=[-3,vD,Nf,{[CD]:[`OpsMetadataInvalidArgumentException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.OpsMetadataInvalidArgumentException$,ND.OpsMetadataInvalidArgumentException);t.OpsMetadataKeyLimitExceededException$=[-3,vD,kf,{[CD]:[`OpsMetadataKeyLimitExceededException`,429],[QD]:BD},[RD],[0]];FD.registerError(t.OpsMetadataKeyLimitExceededException$,ND.OpsMetadataKeyLimitExceededException);t.OpsMetadataLimitExceededException$=[-3,vD,Ff,{[CD]:[`OpsMetadataLimitExceededException`,429],[QD]:BD},[RD],[0]];FD.registerError(t.OpsMetadataLimitExceededException$,ND.OpsMetadataLimitExceededException);t.OpsMetadataNotFoundException$=[-3,vD,Lf,{[CD]:[`OpsMetadataNotFoundException`,404],[QD]:BD},[RD],[0]];FD.registerError(t.OpsMetadataNotFoundException$,ND.OpsMetadataNotFoundException);t.OpsMetadataTooManyUpdatesException$=[-3,vD,Uf,{[CD]:[`OpsMetadataTooManyUpdatesException`,429],[QD]:BD},[RD],[0]];FD.registerError(t.OpsMetadataTooManyUpdatesException$,ND.OpsMetadataTooManyUpdatesException);t.ParameterAlreadyExists$=[-3,vD,uI,{[CD]:[`ParameterAlreadyExists`,400],[QD]:BD},[RD],[0]];FD.registerError(t.ParameterAlreadyExists$,ND.ParameterAlreadyExists);t.ParameterLimitExceeded$=[-3,vD,VI,{[CD]:[`ParameterLimitExceeded`,429],[QD]:BD},[RD],[0]];FD.registerError(t.ParameterLimitExceeded$,ND.ParameterLimitExceeded);t.ParameterMaxVersionLimitExceeded$=[-3,vD,JI,{[CD]:[`ParameterMaxVersionLimitExceeded`,400],[QD]:BD},[RD],[0]];FD.registerError(t.ParameterMaxVersionLimitExceeded$,ND.ParameterMaxVersionLimitExceeded);t.ParameterNotFound$=[-3,vD,jI,{[CD]:[`ParameterNotFound`,404],[QD]:BD},[RD],[0]];FD.registerError(t.ParameterNotFound$,ND.ParameterNotFound);t.ParameterPatternMismatchException$=[-3,vD,oC,{[CD]:[`ParameterPatternMismatchException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.ParameterPatternMismatchException$,ND.ParameterPatternMismatchException);t.ParameterVersionLabelLimitExceeded$=[-3,vD,kC,{[CD]:[`ParameterVersionLabelLimitExceeded`,400],[QD]:BD},[RD],[0]];FD.registerError(t.ParameterVersionLabelLimitExceeded$,ND.ParameterVersionLabelLimitExceeded);t.ParameterVersionNotFound$=[-3,vD,PC,{[CD]:[`ParameterVersionNotFound`,400],[QD]:BD},[RD],[0]];FD.registerError(t.ParameterVersionNotFound$,ND.ParameterVersionNotFound);t.PoliciesLimitExceededException$=[-3,vD,_I,{[CD]:[`PoliciesLimitExceededException`,400],[QD]:BD},[RD],[0]];FD.registerError(t.PoliciesLimitExceededException$,ND.PoliciesLimitExceededException);t.ResourceDataSyncAlreadyExistsException$=[-3,vD,EB,{[CD]:[`ResourceDataSyncAlreadyExists`,400],[QD]:BD},[Ky],[0]];FD.registerError(t.ResourceDataSyncAlreadyExistsException$,ND.ResourceDataSyncAlreadyExistsException);t.ResourceDataSyncConflictException$=[-3,vD,IB,{[CD]:[`ResourceDataSyncConflictException`,409],[QD]:BD},[lp],[0]];FD.registerError(t.ResourceDataSyncConflictException$,ND.ResourceDataSyncConflictException);t.ResourceDataSyncCountExceededException$=[-3,vD,CB,{[CD]:[`ResourceDataSyncCountExceeded`,400],[QD]:BD},[lp],[0]];FD.registerError(t.ResourceDataSyncCountExceededException$,ND.ResourceDataSyncCountExceededException);t.ResourceDataSyncInvalidConfigurationException$=[-3,vD,yB,{[CD]:[`ResourceDataSyncInvalidConfiguration`,400],[QD]:BD},[lp],[0]];FD.registerError(t.ResourceDataSyncInvalidConfigurationException$,ND.ResourceDataSyncInvalidConfigurationException);t.ResourceDataSyncNotFoundException$=[-3,vD,wB,{[CD]:[`ResourceDataSyncNotFound`,404],[QD]:BD},[Ky,BS,lp],[0,0,0]];FD.registerError(t.ResourceDataSyncNotFoundException$,ND.ResourceDataSyncNotFoundException);t.ResourceInUseException$=[-3,vD,LB,{[CD]:[`ResourceInUseException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.ResourceInUseException$,ND.ResourceInUseException);t.ResourceLimitExceededException$=[-3,vD,GB,{[CD]:[`ResourceLimitExceededException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.ResourceLimitExceededException$,ND.ResourceLimitExceededException);t.ResourceNotFoundException$=[-3,vD,WB,{[CD]:[`ResourceNotFoundException`,404],[QD]:BD},[lp],[0]];FD.registerError(t.ResourceNotFoundException$,ND.ResourceNotFoundException);t.ResourcePolicyConflictException$=[-3,vD,nQ,{[CD]:[`ResourcePolicyConflictException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.ResourcePolicyConflictException$,ND.ResourcePolicyConflictException);t.ResourcePolicyInvalidParameterException$=[-3,vD,sQ,{[CD]:[`ResourcePolicyInvalidParameterException`,400],[QD]:BD},[zI,lp],[64|0,0]];FD.registerError(t.ResourcePolicyInvalidParameterException$,ND.ResourcePolicyInvalidParameterException);t.ResourcePolicyLimitExceededException$=[-3,vD,oQ,{[CD]:[`ResourcePolicyLimitExceededException`,400],[QD]:BD},[Th,Xm,lp],[1,0,0]];FD.registerError(t.ResourcePolicyLimitExceededException$,ND.ResourcePolicyLimitExceededException);t.ResourcePolicyNotFoundException$=[-3,vD,rQ,{[CD]:[`ResourcePolicyNotFoundException`,404],[QD]:BD},[lp],[0]];FD.registerError(t.ResourcePolicyNotFoundException$,ND.ResourcePolicyNotFoundException);t.ServiceQuotaExceededException$=[-3,vD,iS,{[QD]:BD},[lp,XC,ry,PB,RQ],[0,0,0,0,0],3];FD.registerError(t.ServiceQuotaExceededException$,ND.ServiceQuotaExceededException);t.ServiceSettingNotFound$=[-3,vD,gS,{[CD]:[`ServiceSettingNotFound`,400],[QD]:BD},[lp],[0]];FD.registerError(t.ServiceSettingNotFound$,ND.ServiceSettingNotFound);t.StatusUnchanged$=[-3,vD,vS,{[CD]:[`StatusUnchanged`,400],[QD]:BD},[],[]];FD.registerError(t.StatusUnchanged$,ND.StatusUnchanged);t.SubTypeCountLimitExceededException$=[-3,vD,QS,{[CD]:[`SubTypeCountLimitExceeded`,400],[QD]:BD},[lp],[0]];FD.registerError(t.SubTypeCountLimitExceededException$,ND.SubTypeCountLimitExceededException);t.TargetInUseException$=[-3,vD,lR,{[CD]:[`TargetInUseException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.TargetInUseException$,ND.TargetInUseException);t.TargetNotConnected$=[-3,vD,DR,{[CD]:[`TargetNotConnected`,430],[QD]:BD},[lp],[0]];FD.registerError(t.TargetNotConnected$,ND.TargetNotConnected);t.ThrottlingException$=[-3,vD,iR,{[QD]:BD},[lp,XC,ry],[0,0,0],1];FD.registerError(t.ThrottlingException$,ND.ThrottlingException);t.TooManyTagsError$=[-3,vD,yR,{[CD]:[`TooManyTagsError`,400],[QD]:BD},[],[]];FD.registerError(t.TooManyTagsError$,ND.TooManyTagsError);t.TooManyUpdates$=[-3,vD,SR,{[CD]:[`TooManyUpdates`,429],[QD]:BD},[lp],[0]];FD.registerError(t.TooManyUpdates$,ND.TooManyUpdates);t.TotalSizeLimitExceededException$=[-3,vD,FR,{[CD]:[`TotalSizeLimitExceeded`,400],[QD]:BD},[lp],[0]];FD.registerError(t.TotalSizeLimitExceededException$,ND.TotalSizeLimitExceededException);t.UnsupportedCalendarException$=[-3,vD,iw,{[CD]:[`UnsupportedCalendarException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.UnsupportedCalendarException$,ND.UnsupportedCalendarException);t.UnsupportedFeatureRequiredException$=[-3,vD,pw,{[CD]:[`UnsupportedFeatureRequiredException`,400],[QD]:BD},[lp],[0]];FD.registerError(t.UnsupportedFeatureRequiredException$,ND.UnsupportedFeatureRequiredException);t.UnsupportedInventoryItemContextException$=[-3,vD,Ew,{[CD]:[`UnsupportedInventoryItemContext`,400],[QD]:BD},[wR,lp],[0,0]];FD.registerError(t.UnsupportedInventoryItemContextException$,ND.UnsupportedInventoryItemContextException);t.UnsupportedInventorySchemaVersionException$=[-3,vD,fw,{[CD]:[`UnsupportedInventorySchemaVersion`,400],[QD]:BD},[lp],[0]];FD.registerError(t.UnsupportedInventorySchemaVersionException$,ND.UnsupportedInventorySchemaVersionException);t.UnsupportedOperatingSystem$=[-3,vD,Ow,{[CD]:[`UnsupportedOperatingSystem`,400],[QD]:BD},[lp],[0]];FD.registerError(t.UnsupportedOperatingSystem$,ND.UnsupportedOperatingSystem);t.UnsupportedOperationException$=[-3,vD,Tw,{[CD]:[`UnsupportedOperation`,400],[QD]:BD},[lp],[0]];FD.registerError(t.UnsupportedOperationException$,ND.UnsupportedOperationException);t.UnsupportedParameterType$=[-3,vD,Vw,{[CD]:[`UnsupportedParameterType`,400],[QD]:BD},[RD],[0]];FD.registerError(t.UnsupportedParameterType$,ND.UnsupportedParameterType);t.UnsupportedPlatformType$=[-3,vD,_w,{[CD]:[`UnsupportedPlatformType`,400],[QD]:BD},[lp],[0]];FD.registerError(t.UnsupportedPlatformType$,ND.UnsupportedPlatformType);t.ValidationException$=[-3,vD,oD,{[CD]:[`ValidationException`,400],[QD]:BD},[lp,oB],[0,0]];FD.registerError(t.ValidationException$,ND.ValidationException);t.errorTypeRegistries=[PD,FD];var LD=[0,vD,Le,8,0];var UD=[0,vD,hg,8,0];var OD=[0,vD,vp,8,0];var $D=[0,vD,Up,8,0];var GD=[0,vD,qp,8,21];var HD=[0,vD,Jp,8,0];var VD=[0,vD,nE,8,0];var _D=[0,vD,jE,8,0];var qD=[0,vD,pC,8,0];var WD=[0,vD,BC,8,0];var YD=[0,vD,yS,8,0];t.AccountSharingInfo$=[3,vD,Jt,0,[De,Ey],[0,0]];t.Activation$=[3,vD,o,0,[xe,Jo,li,Wg,$B,AB,Zc,qc,Cs,eR],[0,0,0,0,1,1,4,2,4,()=>ev]];t.AddTagsToResourceRequest$=[3,vD,ln,0,[RQ,PB,eR],[0,0,()=>ev],3];t.AddTagsToResourceResult$=[3,vD,un,0,[],[]];t.Alarm$=[3,vD,Tn,0,[AE],[0],1];t.AlarmConfiguration$=[3,vD,h,0,[Nn,pg],[()=>XD,2],1];t.AlarmStateInformation$=[3,vD,Xt,0,[AE,GQ],[0,0],2];t.AssociateOpsItemRelatedItemRequest$=[3,vD,Ye,0,[Af,an,RQ,xQ],[0,0,0,0],4];t.AssociateOpsItemRelatedItemResponse$=[3,vD,Je,0,[Te],[0]];t.Association$=[3,vD,Ln,0,[AE,Md,Te,Cn,vc,_R,cm,PE,Cy,He,eS,_c,CR],[0,0,0,0,0,()=>av,4,()=>t.AssociationOverview$,0,0,1,1,[1,vD,CR,0,[2,vD,RR,0,0,64|0]]]];t.AssociationDescription$=[3,vD,P,0,[AE,Md,Cn,Oc,sp,jS,PE,vc,cn,lI,Te,_R,Cy,Df,cm,Wm,He,Cp,dp,mo,gy,qe,zs,gR,eS,_c,CR,h,tR,L],[0,0,0,4,4,()=>t.AssociationStatus$,()=>t.AssociationOverview$,0,0,[()=>wv,0],0,()=>av,0,()=>t.InstanceAssociationOutputLocation$,4,4,0,0,0,0,0,2,64|0,()=>tv,1,1,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],()=>t.AlarmConfiguration$,()=>ZD,0]];t.AssociationExecution$=[3,vD,j,0,[Te,Cn,rA,jS,hc,wo,cm,rB,h,tR],[0,0,0,0,0,4,4,0,()=>t.AlarmConfiguration$,()=>ZD]];t.AssociationExecutionFilter$=[3,vD,Z,0,[wh,sD,KR],[0,0,0],3];t.AssociationExecutionTarget$=[3,vD,de,0,[Te,Cn,rA,PB,RQ,jS,hc,cm,Vf],[0,0,0,0,0,0,0,4,()=>t.OutputSource$]];t.AssociationExecutionTargetsFilter$=[3,vD,ge,0,[wh,sD],[0,0],2];t.AssociationFilter$=[3,vD,Ce,0,[SD,bD],[0,0],2];t.AssociationOverview$=[3,vD,_e,0,[jS,hc,Yt],[0,0,128|1]];t.AssociationStatus$=[3,vD,qt,0,[Oc,AE,lp,Me],[4,0,0,0],3];t.AssociationVersionInfo$=[3,vD,Bn,0,[Te,Cn,Cs,AE,vc,lI,_R,Cy,Df,He,Cp,dp,mo,gy,qe,zs,gR,eS,_c,CR,L],[0,0,4,0,0,[()=>wv,0],()=>av,0,()=>t.InstanceAssociationOutputLocation$,0,0,0,0,0,2,64|0,()=>tv,1,1,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],0]];t.AttachmentContent$=[3,vD,Q,0,[AE,YS,Su,Du,XR],[0,1,0,0,0]];t.AttachmentInformation$=[3,vD,ke,0,[AE],[0]];t.AttachmentsSource$=[3,vD,on,0,[wh,aD,AE],[0,64|0,0]];t.AutomationExecution$=[3,vD,Ie,0,[se,ca,vc,EA,sA,ue,Ty,xy,lI,iI,FA,cE,dI,jc,yo,Zn,TR,_R,CR,DQ,dp,Cp,WR,gR,mI,h,tR,ER,rn,SS,ZC,Af,Te,ho,cD],[0,0,0,4,4,0,()=>XM,2,[2,vD,Ze,0,0,64|0],[2,vD,Ze,0,0,64|0],0,0,0,0,0,0,0,()=>av,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],()=>t.ResolvedTargets$,0,0,0,()=>tv,()=>t.ProgressCounters$,()=>t.AlarmConfiguration$,()=>ZD,0,0,4,()=>qM,0,0,0,[2,vD,Ze,0,0,64|0]]];t.AutomationExecutionFilter$=[3,vD,ne,0,[wh,aD],[0,64|0],2];t.AutomationExecutionInputs$=[3,vD,oe,0,[lI,TR,_R,CR,gR,ER],[[2,vD,Ze,0,0,64|0],0,()=>av,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],()=>tv,0]];t.AutomationExecutionMetadata$=[3,vD,ae,0,[se,ca,vc,ue,EA,sA,jc,Am,iI,cE,dI,yo,Zn,FA,TR,_R,CR,DQ,dp,Cp,WR,pn,h,tR,ER,rn,SS,ZC,Af,Te,ho],[0,0,0,0,4,4,0,0,[2,vD,Ze,0,0,64|0],0,0,0,0,0,0,()=>av,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],()=>t.ResolvedTargets$,0,0,0,0,()=>t.AlarmConfiguration$,()=>ZD,0,0,4,()=>qM,0,0,0]];t.AutomationExecutionPreview$=[3,vD,le,0,[rS,MQ,MR,sR],[128|1,64|0,()=>iv,1]];t.BaselineOverride$=[3,vD,Kn,0,[Kf,Bl,Qt,je,Ke,KB,XB,Xe,JS,sn],[0,()=>t.PatchFilterGroup$,()=>t.PatchRuleGroup$,64|0,0,64|0,0,2,[()=>vM,0],0]];t.CancelCommandRequest$=[3,vD,hs,0,[Ts,Kd],[0,64|0],1];t.CancelCommandResult$=[3,vD,ms,0,[],[]];t.CancelMaintenanceWindowExecutionRequest$=[3,vD,qs,0,[gD],[0],1];t.CancelMaintenanceWindowExecutionResult$=[3,vD,Ws,0,[gD],[0]];t.CloudWatchOutputConfig$=[3,vD,Po,0,[ko,Fo],[0,2]];t.Command$=[3,vD,Xn,0,[Ts,ca,vc,$o,Wc,lI,Kd,_R,TB,jS,hy,Yf,_f,Wf,dp,Cp,oR,gs,Kc,bc,aS,hE,Po,PR,h,tR],[0,0,0,0,4,[()=>wv,0],64|0,()=>av,4,0,0,0,0,0,0,0,1,1,1,1,0,()=>t.NotificationConfig$,()=>t.CloudWatchOutputConfig$,1,()=>t.AlarmConfiguration$,()=>ZD]];t.CommandFilter$=[3,vD,bs,0,[SD,bD],[0,0],2];t.CommandInvocation$=[3,vD,Ls,0,[Ts,Md,rg,$o,ca,vc,TB,jS,hy,bR,sS,vy,oo,aS,hE,Po],[0,0,0,0,0,0,4,0,0,0,0,0,()=>yb,0,()=>t.NotificationConfig$,()=>t.CloudWatchOutputConfig$]];t.CommandPlugin$=[3,vD,Ao,0,[AE,jS,hy,uB,cQ,kB,aI,sS,vy,Yf,_f,Wf],[0,0,0,1,4,4,0,0,0,0,0,0]];t.ComplianceExecutionSummary$=[3,vD,Ds,0,[fA,rA,CA],[4,0,0],1];t.ComplianceItem$=[3,vD,Us,0,[Mo,RQ,PB,xu,JR,jS,GS,mA,Gc],[0,0,0,0,0,0,0,()=>t.ComplianceExecutionSummary$,128|0]];t.ComplianceItemEntry$=[3,vD,Ns,0,[GS,jS,xu,JR,Gc],[0,0,0,0,128|0],2];t.ComplianceStringFilter$=[3,vD,Eo,0,[wh,aD,KR],[0,[()=>xb,0],0]];t.ComplianceSummaryItem$=[3,vD,Co,0,[Mo,Ro,pE],[0,()=>t.CompliantSummary$,()=>t.NonCompliantSummary$]];t.CompliantSummary$=[3,vD,Ro,0,[fs,dS],[1,()=>t.SeveritySummary$]];t.CreateActivationRequest$=[3,vD,rs,0,[Wg,Jo,li,$B,Zc,eR,VB],[0,0,0,1,4,()=>ev,()=>FM],1];t.CreateActivationResult$=[3,vD,is,0,[xe,f],[0,0]];t.CreateAssociationBatchRequest$=[3,vD,ts,0,[QA,L],[[()=>vb,0],0],1];t.CreateAssociationBatchRequestEntry$=[3,vD,ns,0,[AE,Md,lI,cn,vc,_R,Cy,Df,He,Cp,dp,mo,gy,qe,zs,gR,eS,_c,CR,h],[0,0,[()=>wv,0],0,0,()=>av,0,()=>t.InstanceAssociationOutputLocation$,0,0,0,0,0,2,64|0,()=>tv,1,1,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],()=>t.AlarmConfiguration$],1];t.CreateAssociationBatchResult$=[3,vD,os,0,[KS,xA],[[()=>eb,0],[()=>_b,0]]];t.CreateAssociationRequest$=[3,vD,as,0,[AE,vc,Md,lI,_R,Cy,Df,He,cn,Cp,dp,mo,gy,qe,zs,gR,eS,_c,CR,eR,h,L],[0,0,0,[()=>wv,0],()=>av,0,()=>t.InstanceAssociationOutputLocation$,0,0,0,0,0,0,2,64|0,()=>tv,1,1,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],()=>ev,()=>t.AlarmConfiguration$,0],1];t.CreateAssociationResult$=[3,vD,cs,0,[P],[[()=>t.AssociationDescription$,0]]];t.CreateDocumentRequest$=[3,vD,Bs,0,[Ho,AE,LQ,On,la,rD,Bc,Yr,GR,eR],[0,0,()=>Ub,()=>ub,0,0,0,0,0,()=>ev],2];t.CreateDocumentResult$=[3,vD,Qs,0,[wr],[[()=>t.DocumentDescription$,0]]];t.CreateMaintenanceWindowRequest$=[3,vD,Ys,0,[AE,OS,_c,Yo,In,Jo,Iy,eA,RS,eS,xo,eR],[0,0,1,1,2,[()=>OD,0],0,0,0,1,[0,4],()=>ev],5];t.CreateMaintenanceWindowResult$=[3,vD,Js,0,[pD],[0]];t.CreateOpsItemRequest$=[3,vD,Zs,0,[Jo,zS,JR,Rf,UE,TE,qC,JB,eR,Uo,GS,tn,pe,QC,BI,De],[0,0,0,0,()=>Rv,()=>Jx,1,()=>LM,()=>ev,0,0,4,4,4,4,0],3];t.CreateOpsItemResponse$=[3,vD,eo,0,[Af,KE],[0,0]];t.CreateOpsMetadataRequest$=[3,vD,no,0,[PB,aE,eR],[0,()=>Iv,()=>ev],1];t.CreateOpsMetadataResult$=[3,vD,so,0,[xf],[0]];t.CreatePatchBaselineRequest$=[3,vD,io,0,[AE,Kf,Bl,Qt,je,Ke,Xe,KB,XB,Jo,JS,sn,xo,eR],[0,0,()=>t.PatchFilterGroup$,()=>t.PatchRuleGroup$,64|0,0,2,64|0,0,0,[()=>vM,0],0,[0,4],()=>ev],1];t.CreatePatchBaselineResult$=[3,vD,ao,0,[qn],[0]];t.CreateResourceDataSyncRequest$=[3,vD,uo,0,[Ky,fy,BS,CS],[0,()=>t.ResourceDataSyncS3Destination$,0,()=>t.ResourceDataSyncSource$],1];t.CreateResourceDataSyncResult$=[3,vD,go,0,[],[]];t.Credentials$=[3,vD,Wo,0,[Fe,JQ,wS,BA],[0,[()=>LD,0],[()=>YD,0],4],4];t.DeleteActivationRequest$=[3,vD,ur,0,[xe],[0],1];t.DeleteActivationResult$=[3,vD,dr,0,[],[]];t.DeleteAssociationRequest$=[3,vD,gr,0,[AE,Md,Te],[0,0,0]];t.DeleteAssociationResult$=[3,vD,hr,0,[],[]];t.DeleteDocumentRequest$=[3,vD,vr,0,[AE,vc,rD,WA],[0,0,0,2],1];t.DeleteDocumentResult$=[3,vD,Tr,0,[],[]];t.DeleteInventoryRequest$=[3,vD,yi,0,[wR,my,ec,xo],[0,0,2,[0,4]],1];t.DeleteInventoryResult$=[3,vD,Si,0,[Xr,wR,fc],[0,0,()=>t.InventoryDeletionSummary$]];t.DeleteMaintenanceWindowRequest$=[3,vD,Ji,0,[pD],[0],1];t.DeleteMaintenanceWindowResult$=[3,vD,zi,0,[pD],[0]];t.DeleteOpsItemRequest$=[3,vD,da,0,[Af],[0],1];t.DeleteOpsItemResponse$=[3,vD,pa,0,[],[]];t.DeleteOpsMetadataRequest$=[3,vD,Ba,0,[xf],[0],1];t.DeleteOpsMetadataResult$=[3,vD,Qa,0,[],[]];t.DeleteParameterRequest$=[3,vD,_a,0,[AE],[0],1];t.DeleteParameterResult$=[3,vD,qa,0,[],[]];t.DeleteParametersRequest$=[3,vD,Wa,0,[vE],[64|0],1];t.DeleteParametersResult$=[3,vD,Ya,0,[ya,gg],[64|0,64|0]];t.DeletePatchBaselineRequest$=[3,vD,ba,0,[qn],[0],1];t.DeletePatchBaselineResult$=[3,vD,xa,0,[qn],[0]];t.DeleteResourceDataSyncRequest$=[3,vD,oc,0,[Ky,BS],[0,0],1];t.DeleteResourceDataSyncResult$=[3,vD,rc,0,[],[]];t.DeleteResourcePolicyRequest$=[3,vD,cc,0,[eB,LI,kI],[0,0,0],3];t.DeleteResourcePolicyResponse$=[3,vD,Ac,0,[],[]];t.DeregisterManagedInstanceRequest$=[3,vD,Ti,0,[Md],[0],1];t.DeregisterManagedInstanceResult$=[3,vD,Ni,0,[],[]];t.DeregisterPatchBaselineForPatchGroupRequest$=[3,vD,wa,0,[qn,MI],[0,0],2];t.DeregisterPatchBaselineForPatchGroupResult$=[3,vD,Da,0,[qn,MI],[0,0]];t.DeregisterTargetFromMaintenanceWindowRequest$=[3,vD,yc,0,[pD,fD,US],[0,0,2],2];t.DeregisterTargetFromMaintenanceWindowResult$=[3,vD,Sc,0,[pD,fD],[0,0]];t.DeregisterTaskFromMaintenanceWindowRequest$=[3,vD,Rc,0,[pD,ID],[0,0],2];t.DeregisterTaskFromMaintenanceWindowResult$=[3,vD,wc,0,[pD,ID],[0,0]];t.DescribeActivationsFilter$=[3,vD,ir,0,[PA,GA],[0,64|0]];t.DescribeActivationsRequest$=[3,vD,mr,0,[qA,yp,DE],[()=>Tb,1,0]];t.DescribeActivationsResult$=[3,vD,pr,0,[Ue,DE],[()=>KD,0]];t.DescribeAssociationExecutionsRequest$=[3,vD,Ko,0,[Te,qA,yp,DE],[0,[()=>tb,0],1,0],1];t.DescribeAssociationExecutionsResult$=[3,vD,Xo,0,[fe,DE],[[()=>nb,0],0]];t.DescribeAssociationExecutionTargetsRequest$=[3,vD,nr,0,[Te,rA,qA,yp,DE],[0,0,[()=>sb,0],1,0],2];t.DescribeAssociationExecutionTargetsResult$=[3,vD,sr,0,[Ee,DE],[[()=>ob,0],0]];t.DescribeAssociationRequest$=[3,vD,Er,0,[AE,Md,Te,Cn],[0,0,0,0]];t.DescribeAssociationResult$=[3,vD,fr,0,[P],[[()=>t.AssociationDescription$,0]]];t.DescribeAutomationExecutionsRequest$=[3,vD,Zo,0,[qA,yp,DE],[()=>gb,1,0]];t.DescribeAutomationExecutionsResult$=[3,vD,er,0,[ce,DE],[()=>mb,0]];t.DescribeAutomationStepExecutionsRequest$=[3,vD,Cr,0,[se,qA,DE,yp,YB],[0,()=>jM,0,1,2],1];t.DescribeAutomationStepExecutionsResult$=[3,vD,Br,0,[Ty,DE],[()=>XM,0]];t.DescribeAvailablePatchesRequest$=[3,vD,Ar,0,[qA,yp,DE],[()=>DM,1,0]];t.DescribeAvailablePatchesResult$=[3,vD,lr,0,[UC,DE],[()=>wM,0]];t.DescribeDocumentPermissionRequest$=[3,vD,xr,0,[AE,DC,yp,DE],[0,0,1,0],2];t.DescribeDocumentPermissionResponse$=[3,vD,Mr,0,[be,zt,DE],[[()=>JD,0],[()=>jD,0],0]];t.DescribeDocumentRequest$=[3,vD,Nr,0,[AE,vc,rD],[0,0,0],1];t.DescribeDocumentResult$=[3,vD,kr,0,[Vc],[[()=>t.DocumentDescription$,0]]];t.DescribeEffectiveInstanceAssociationsRequest$=[3,vD,Hr,0,[Md,yp,DE],[0,1,0],1];t.DescribeEffectiveInstanceAssociationsResult$=[3,vD,Vr,0,[Un,DE],[()=>Wb,0]];t.DescribeEffectivePatchesForPatchBaselineRequest$=[3,vD,qr,0,[qn,yp,DE],[0,1,0],1];t.DescribeEffectivePatchesForPatchBaselineResult$=[3,vD,Wr,0,[AA,DE],[()=>Hb,0]];t.DescribeInstanceAssociationsStatusRequest$=[3,vD,ei,0,[Md,yp,DE],[0,1,0],1];t.DescribeInstanceAssociationsStatusResult$=[3,vD,ti,0,[Hu,DE],[()=>Yb,0]];t.DescribeInstanceInformationRequest$=[3,vD,ii,0,[Fd,qA,yp,DE],[[()=>zb,0],[()=>Xb,0],1,0]];t.DescribeInstanceInformationResult$=[3,vD,ai,0,[Vd,DE],[[()=>Kb,0],0]];t.DescribeInstancePatchesRequest$=[3,vD,di,0,[Md,qA,DE,yp],[0,()=>DM,0,1],1];t.DescribeInstancePatchesResult$=[3,vD,gi,0,[UC,DE],[()=>IM,0]];t.DescribeInstancePatchStatesForPatchGroupRequest$=[3,vD,fi,0,[MI,qA,DE,yp],[0,()=>Zb,0,1],1];t.DescribeInstancePatchStatesForPatchGroupResult$=[3,vD,Ii,0,[Rg,DE],[[()=>nx,0],0]];t.DescribeInstancePatchStatesRequest$=[3,vD,Ci,0,[Kd,DE,yp],[64|0,0,1],1];t.DescribeInstancePatchStatesResult$=[3,vD,Bi,0,[Rg,DE],[[()=>tx,0],0]];t.DescribeInstancePropertiesRequest$=[3,vD,hi,0,[Ig,VA,yp,DE],[[()=>ox,0],[()=>ix,0],1,0]];t.DescribeInstancePropertiesResult$=[3,vD,mi,0,[Pg,DE],[[()=>sx,0],0]];t.DescribeInventoryDeletionsRequest$=[3,vD,si,0,[Xr,DE,yp],[0,0,1]];t.DescribeInventoryDeletionsResult$=[3,vD,oi,0,[fd,DE],[()=>cx,0]];t.DescribeMaintenanceWindowExecutionsRequest$=[3,vD,Li,0,[pD,qA,yp,DE],[0,()=>yx,1,0],1];t.DescribeMaintenanceWindowExecutionsResult$=[3,vD,Ui,0,[dD,DE],[()=>Ix,0]];t.DescribeMaintenanceWindowExecutionTaskInvocationsRequest$=[3,vD,Gi,0,[gD,cR,qA,yp,DE],[0,0,()=>yx,1,0],2];t.DescribeMaintenanceWindowExecutionTaskInvocationsResult$=[3,vD,Hi,0,[mD,DE],[[()=>Qx,0],0]];t.DescribeMaintenanceWindowExecutionTasksRequest$=[3,vD,Vi,0,[gD,qA,yp,DE],[0,()=>yx,1,0],1];t.DescribeMaintenanceWindowExecutionTasksResult$=[3,vD,_i,0,[hD,DE],[()=>Cx,0]];t.DescribeMaintenanceWindowScheduleRequest$=[3,vD,Zi,0,[pD,_R,RQ,qA,yp,DE],[0,()=>av,0,()=>DM,1,0]];t.DescribeMaintenanceWindowScheduleResult$=[3,vD,ea,0,[PS,DE],[()=>WM,0]];t.DescribeMaintenanceWindowsForTargetRequest$=[3,vD,Wi,0,[_R,RQ,yp,DE],[()=>av,0,1,0],2];t.DescribeMaintenanceWindowsForTargetResult$=[3,vD,Yi,0,[ED,DE],[()=>wx,0]];t.DescribeMaintenanceWindowsRequest$=[3,vD,ji,0,[qA,yp,DE],[()=>yx,1,0]];t.DescribeMaintenanceWindowsResult$=[3,vD,Ki,0,[ED,DE],[[()=>Rx,0],0]];t.DescribeMaintenanceWindowTargetsRequest$=[3,vD,na,0,[pD,qA,yp,DE],[0,()=>yx,1,0],1];t.DescribeMaintenanceWindowTargetsResult$=[3,vD,sa,0,[_R,DE],[[()=>Dx,0],0]];t.DescribeMaintenanceWindowTasksRequest$=[3,vD,oa,0,[pD,qA,yp,DE],[0,()=>yx,1,0],1];t.DescribeMaintenanceWindowTasksResult$=[3,vD,ra,0,[YR,DE],[[()=>bx,0],0]];t.DescribeOpsItemsRequest$=[3,vD,Ea,0,[af,yp,DE],[()=>Wx,1,0]];t.DescribeOpsItemsResponse$=[3,vD,fa,0,[DE,yf],[0,()=>eM]];t.DescribeParametersRequest$=[3,vD,Ja,0,[qA,QI,yp,DE,qS],[()=>uM,()=>gM,1,0,2]];t.DescribeParametersResult$=[3,vD,za,0,[lI,DE],[()=>cM,0]];t.DescribePatchBaselinesRequest$=[3,vD,Ma,0,[qA,yp,DE],[()=>DM,1,0]];t.DescribePatchBaselinesResult$=[3,vD,va,0,[Wn,DE],[()=>EM,0]];t.DescribePatchGroupsRequest$=[3,vD,ka,0,[yp,qA,DE],[1,()=>DM,0]];t.DescribePatchGroupsResult$=[3,vD,Pa,0,[iE,DE],[()=>SM,0]];t.DescribePatchGroupStateRequest$=[3,vD,La,0,[MI],[0],1];t.DescribePatchGroupStateResult$=[3,vD,Ua,0,[Ih,uh,lh,dh,gh,hh,Ah,mh,fh,ch,Eh,ph,ah],[1,1,1,1,1,1,1,1,1,1,1,1,1]];t.DescribePatchPropertiesRequest$=[3,vD,Ha,0,[Kf,YC,mC,yp,DE],[0,0,0,1,0],2];t.DescribePatchPropertiesResult$=[3,vD,Va,0,[jC,DE],[[1,vD,nC,0,128|0],0]];t.DescribeSessionsRequest$=[3,vD,mc,0,[GQ,yp,DE,qA],[0,1,0,()=>YM],1];t.DescribeSessionsResponse$=[3,vD,pc,0,[VS,DE],[()=>JM,0]];t.DisassociateOpsItemRelatedItemRequest$=[3,vD,ha,0,[Af,Te],[0,0],2];t.DisassociateOpsItemRelatedItemResponse$=[3,vD,ma,0,[],[]];t.DocumentDefaultVersionDescription$=[3,vD,Lr,0,[AE,Fc,Pc],[0,0,0]];t.DocumentDescription$=[3,vD,wr,0,[WS,Su,Du,AE,la,rD,AI,Cs,jS,Uy,vc,Jo,lI,xC,Bc,NS,rp,Fc,Yr,GR,eR,Pe,LQ,Hn,UB,Rn,gC,aQ,Uo,ws],[0,0,0,0,0,0,0,4,0,0,0,0,[()=>Lb,0],[()=>NM,0],0,0,0,0,0,0,()=>ev,[()=>lb,0],()=>Ub,0,[()=>_M,0],0,0,0,64|0,64|0]];t.DocumentFilter$=[3,vD,zr,0,[SD,bD],[0,0],2];t.DocumentIdentifier$=[3,vD,wi,0,[AE,Cs,la,AI,rD,xC,vc,Bc,NS,Yr,GR,eR,LQ,aQ,Hn],[0,4,0,0,0,[()=>NM,0],0,0,0,0,0,()=>ev,()=>Ub,0,0]];t.DocumentKeyValuesFilter$=[3,vD,bi,0,[wh,aD],[0,64|0]];t.DocumentMetadataResponseInfo$=[3,vD,ki,0,[iQ],[()=>$b]];t.DocumentParameter$=[3,vD,Za,0,[AE,KR,Jo,Lc],[0,0,0,0]];t.DocumentRequires$=[3,vD,dc,0,[AE,AD,wQ,rD],[0,0,0,0],1];t.DocumentReviewCommentSource$=[3,vD,nc,0,[KR,Ho],[0,0]];t.DocumentReviewerResponseSource$=[3,vD,uc,0,[vo,tD,aQ,$o,OQ],[4,4,0,()=>Ob,0]];t.DocumentReviews$=[3,vD,gc,0,[bn,$o],[0,()=>Ob],1];t.DocumentVersionInfo$=[3,vD,Tc,0,[AE,la,vc,rD,Cs,Ed,Yr,jS,Uy,aQ],[0,0,0,0,4,2,0,0,0,0]];t.EffectivePatch$=[3,vD,dA,0,[$C,yC],[()=>t.Patch$,()=>t.PatchStatus$]];t.FailedCreateAssociation$=[3,vD,vA,0,[SA,lp,_A],[[()=>t.CreateAssociationBatchRequestEntry$,0],0,0]];t.FailureDetails$=[3,vD,kA,0,[UA,$A,Gc],[0,0,[2,vD,Ze,0,0,64|0]]];t.GetAccessTokenRequest$=[3,vD,XA,0,[yt],[0],1];t.GetAccessTokenResponse$=[3,vD,ZA,0,[Wo,Ht],[[()=>t.Credentials$,0],0]];t.GetAutomationExecutionRequest$=[3,vD,zA,0,[se],[0],1];t.GetAutomationExecutionResult$=[3,vD,jA,0,[Ie],[()=>t.AutomationExecution$]];t.GetCalendarStateRequest$=[3,vD,ol,0,[zs,mn],[64|0,0],1];t.GetCalendarStateResponse$=[3,vD,rl,0,[GQ,mn,bE],[0,0,0]];t.GetCommandInvocationRequest$=[3,vD,tl,0,[Ts,Md,KI],[0,0,0],2];t.GetCommandInvocationResult$=[3,vD,nl,0,[Ts,Md,$o,ca,vc,KI,uB,pA,oA,nA,jS,hy,tS,sS,By,vy,Po],[0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,()=>t.CloudWatchOutputConfig$]];t.GetConnectionStatusRequest$=[3,vD,il,0,[WR],[0],1];t.GetConnectionStatusResponse$=[3,vD,al,0,[WR,jS],[0,0]];t.GetDefaultPatchBaselineRequest$=[3,vD,ul,0,[Kf],[0]];t.GetDefaultPatchBaselineResult$=[3,vD,dl,0,[qn,Kf],[0,0]];t.GetDeployablePatchSnapshotForInstanceRequest$=[3,vD,hl,0,[Md,Gy,Kn,Kw],[0,0,[()=>t.BaselineOverride$,0],2],2];t.GetDeployablePatchSnapshotForInstanceResult$=[3,vD,ml,0,[Md,Gy,py,JC],[0,0,0,0]];t.GetDocumentRequest$=[3,vD,pl,0,[AE,rD,vc,Yr],[0,0,0,0],1];t.GetDocumentResult$=[3,vD,El,0,[AE,Cs,la,rD,vc,jS,Uy,Ho,Bc,Yr,LQ,k,aQ],[0,4,0,0,0,0,0,0,0,0,()=>Ub,[()=>Ab,0],0]];t.GetExecutionPreviewRequest$=[3,vD,Il,0,[lA],[0],1];t.GetExecutionPreviewResponse$=[3,vD,Cl,0,[lA,Jc,jS,Jy,gA],[0,4,0,0,()=>t.ExecutionPreview$]];t.GetInventoryRequest$=[3,vD,yl,0,[qA,Mn,nB,DE,yp],[[()=>lx,0],[()=>ax,0],[()=>VM,0],0,1]];t.GetInventoryResult$=[3,vD,Sl,0,[RA,DE],[[()=>Ex,0],0]];t.GetInventorySchemaRequest$=[3,vD,wl,0,[wR,DE,yp,vn,MS],[0,0,1,2,2]];t.GetInventorySchemaResult$=[3,vD,Dl,0,[$S,DE],[[()=>px,0],0]];t.GetMaintenanceWindowExecutionRequest$=[3,vD,Ml,0,[gD],[0],1];t.GetMaintenanceWindowExecutionResult$=[3,vD,vl,0,[gD,uR,jS,hy,xS,IA],[0,64|0,0,0,4,4]];t.GetMaintenanceWindowExecutionTaskInvocationRequest$=[3,vD,kl,0,[gD,cR,eg],[0,0,0],3];t.GetMaintenanceWindowExecutionTaskInvocationResult$=[3,vD,Pl,0,[gD,aR,eg,rA,HR,lI,jS,hy,xS,IA,jE,fD],[0,0,0,0,0,[()=>$D,0],0,0,4,4,[()=>_D,0],0]];t.GetMaintenanceWindowExecutionTaskRequest$=[3,vD,Fl,0,[gD,cR],[0,0],2];t.GetMaintenanceWindowExecutionTaskResult$=[3,vD,Ll,0,[gD,aR,nR,aS,KR,NR,qC,dp,Cp,jS,hy,xS,IA,h,tR],[0,0,0,0,0,[()=>xx,0],1,0,0,0,0,4,4,()=>t.AlarmConfiguration$,()=>ZD]];t.GetMaintenanceWindowRequest$=[3,vD,Ul,0,[pD],[0],1];t.GetMaintenanceWindowResult$=[3,vD,Ol,0,[pD,AE,Jo,Iy,eA,OS,RS,eS,fE,_c,Yo,In,yA,Cs,mp],[0,0,[()=>OD,0],0,0,0,0,1,0,1,1,2,2,4,4]];t.GetMaintenanceWindowTaskRequest$=[3,vD,Gl,0,[pD,ID],[0,0],2];t.GetMaintenanceWindowTaskResult$=[3,vD,Hl,0,[pD,ID,_R,nR,cS,HR,NR,AR,qC,dp,Cp,lm,AE,Jo,us,h],[0,0,()=>av,0,0,0,[()=>fv,0],[()=>t.MaintenanceWindowTaskInvocationParameters$,0],1,0,0,()=>t.LoggingInfo$,0,[()=>OD,0],0,()=>t.AlarmConfiguration$]];t.GetOpsItemRequest$=[3,vD,_l,0,[Af,KE],[0,0],1];t.GetOpsItemResponse$=[3,vD,ql,0,[wf],[()=>t.OpsItem$]];t.GetOpsMetadataRequest$=[3,vD,Yl,0,[xf,yp,DE],[0,1,0],1];t.GetOpsMetadataResult$=[3,vD,Jl,0,[PB,aE,DE],[0,()=>Iv,0]];t.GetOpsSummaryRequest$=[3,vD,jl,0,[Ky,qA,Mn,nB,DE,yp],[0,[()=>Gx,0],[()=>Ux,0],[()=>oM,0],0,1]];t.GetOpsSummaryResult$=[3,vD,Kl,0,[RA,DE],[[()=>$x,0],0]];t.GetParameterHistoryRequest$=[3,vD,Au,0,[AE,uD,yp,DE],[0,2,1,0],1];t.GetParameterHistoryResult$=[3,vD,lu,0,[lI,DE],[[()=>rM,0],0]];t.GetParameterRequest$=[3,vD,uu,0,[AE,uD],[0,2],1];t.GetParameterResult$=[3,vD,du,0,[OC],[[()=>t.Parameter$,0]]];t.GetParametersByPathRequest$=[3,vD,ou,0,[GC,TQ,QI,uD,yp,DE],[0,2,()=>gM,2,1,0],1];t.GetParametersByPathResult$=[3,vD,ru,0,[lI,DE],[[()=>aM,0],0]];t.GetParametersRequest$=[3,vD,gu,0,[vE,uD],[64|0,2],1];t.GetParametersResult$=[3,vD,hu,0,[lI,gg],[[()=>aM,0],64|0]];t.GetPatchBaselineForPatchGroupRequest$=[3,vD,tu,0,[MI,Kf],[0,0],1];t.GetPatchBaselineForPatchGroupResult$=[3,vD,nu,0,[qn,MI,Kf],[0,0,0]];t.GetPatchBaselineRequest$=[3,vD,iu,0,[qn],[0],1];t.GetPatchBaselineResult$=[3,vD,au,0,[qn,AE,Kf,Bl,Qt,je,Ke,Xe,KB,XB,NI,Cs,mp,Jo,JS,sn],[0,0,0,()=>t.PatchFilterGroup$,()=>t.PatchRuleGroup$,64|0,0,2,64|0,0,64|0,4,4,0,[()=>vM,0],0]];t.GetResourcePoliciesRequest$=[3,vD,Eu,0,[eB,DE,yp],[0,0,1],1];t.GetResourcePoliciesResponse$=[3,vD,Cu,0,[DE,VC],[0,()=>qb]];t.GetResourcePoliciesResponseEntry$=[3,vD,fu,0,[LI,kI,_C],[0,0,0]];t.GetServiceSettingRequest$=[3,vD,Qu,0,[Oy],[0],1];t.GetServiceSettingResult$=[3,vD,yu,0,[pS],[()=>t.ServiceSetting$]];t.InstanceAggregatedAssociationOverview$=[3,vD,vu,0,[hc,$u],[0,128|1]];t.InstanceAssociation$=[3,vD,Yu,0,[Te,Md,Ho,Cn],[0,0,0,0]];t.InstanceAssociationOutputLocation$=[3,vD,Lu,0,[qy],[()=>t.S3OutputLocation$]];t.InstanceAssociationOutputUrl$=[3,vD,Uu,0,[oS],[()=>t.S3OutputUrl$]];t.InstanceAssociationStatusInfo$=[3,vD,Vu,0,[Te,AE,vc,Cn,Md,tA,jS,hc,mA,Xc,Zf,He],[0,0,0,0,0,4,0,0,0,0,()=>t.InstanceAssociationOutputUrl$,0]];t.InstanceInfo$=[3,vD,Xd,0,[gn,Sn,Ks,Kg,zu,Rp,MC,XI,NC,RQ],[0,0,0,0,[()=>UD,0],0,0,0,0,0]];t.InstanceInformation$=[3,vD,Zd,0,[Md,RC,km,Sn,og,MC,XI,NC,xe,Wg,gB,RQ,AE,hg,Ks,qt,kh,qm,_e,Hy,bS],[0,0,4,0,2,0,0,0,0,0,4,0,0,[()=>UD,0],0,0,4,4,()=>t.InstanceAggregatedAssociationOverview$,0,0]];t.InstanceInformationFilter$=[3,vD,Pd,0,[SD,xD],[0,[()=>jb,0]],2];t.InstanceInformationStringFilter$=[3,vD,Jd,0,[wh,aD],[0,[()=>jb,0]],2];t.InstancePatchState$=[3,vD,Tg,0,[Md,MI,qn,Jf,qE,sI,Gy,dg,jE,ju,cg,Sg,Og,hp,MA,vw,uE,nn,Cm,jB,js,Xy,Of],[0,0,0,4,4,0,0,0,[()=>_D,0],1,1,1,1,1,1,1,1,1,4,0,1,1,1],6];t.InstancePatchStateFilter$=[3,vD,wg,0,[wh,aD,KR],[0,64|0,0],3];t.InstanceProperty$=[3,vD,Fg,0,[AE,Md,sh,Yg,xh,Xg,kn,hg,np,RC,km,Sn,MC,XI,NC,xe,Wg,gB,RQ,Ks,qt,kh,qm,_e,Hy,bS],[0,0,0,0,0,0,0,[()=>UD,0],4,0,4,0,0,0,0,0,0,4,0,0,0,4,4,()=>t.InstanceAggregatedAssociationOverview$,0,0]];t.InstancePropertyFilter$=[3,vD,fg,0,[SD,xD],[0,[()=>rx,0]],2];t.InstancePropertyStringFilter$=[3,vD,xg,0,[wh,aD,oI],[0,[()=>rx,0],0],2];t.InventoryAggregator$=[3,vD,Ju,0,[bA,Mn,YA],[0,[()=>ax,0],[()=>dx,0]]];t.InventoryDeletionStatusItem$=[3,vD,ud,0,[Xr,wR,Ec,_m,Ym,fc,Km],[0,0,4,0,0,()=>t.InventoryDeletionSummary$,4]];t.InventoryDeletionSummary$=[3,vD,ld,0,[rR,lB,Vy],[1,1,()=>Ax]];t.InventoryDeletionSummaryItem$=[3,vD,dd,0,[AD,qo,lB],[0,1,1]];t.InventoryFilter$=[3,vD,Dd,0,[wh,aD,KR],[0,[()=>ux,0],0],2];t.InventoryGroup$=[3,vD,bd,0,[AE,qA],[0,[()=>lx,0]],2];t.InventoryItem$=[3,vD,tg,0,[wR,NS,bo,vs,Ho,_o],[0,0,0,0,[1,vD,kd,0,128|0],128|0],3];t.InventoryItemAttribute$=[3,vD,vd,0,[AE,xc],[0,0],2];t.InventoryItemSchema$=[3,vD,Yd,0,[wR,$n,AD,la],[0,[()=>gx,0],0,0],2];t.InventoryResultEntity$=[3,vD,$g,0,[xu,$c],[0,()=>Ev]];t.InventoryResultItem$=[3,vD,_g,0,[wR,NS,Ho,bo,vs],[0,0,[1,vD,kd,0,128|0],0,0],3];t.LabelParameterVersionRequest$=[3,vD,Fm,0,[AE,ip,FC],[0,64|0,1],2];t.LabelParameterVersionResult$=[3,vD,Lm,0,[sg,FC],[64|0,1]];t.ListAssociationsRequest$=[3,vD,Ph,0,[Be,yp,DE],[[()=>rb,0],1,0]];t.ListAssociationsResult$=[3,vD,Fh,0,[Un,DE],[[()=>ab,0],0]];t.ListAssociationVersionsRequest$=[3,vD,Uh,0,[Te,yp,DE],[0,1,0],1];t.ListAssociationVersionsResult$=[3,vD,Oh,0,[wn,DE],[[()=>cb,0],0]];t.ListCommandInvocationsRequest$=[3,vD,Hh,0,[Ts,Md,yp,DE,qA,Gc],[0,0,1,0,()=>Cb,2]];t.ListCommandInvocationsResult$=[3,vD,Vh,0,[Os,DE],[()=>Bb,0]];t.ListCommandsRequest$=[3,vD,Yh,0,[Ts,Md,yp,DE,qA],[0,0,1,0,()=>Cb]];t.ListCommandsResult$=[3,vD,Jh,0,[Go,DE],[[()=>Qb,0],0]];t.ListComplianceItemsRequest$=[3,vD,_h,0,[qA,OB,mQ,DE,yp],[[()=>bb,0],64|0,64|0,0,1]];t.ListComplianceItemsResult$=[3,vD,qh,0,[$s,DE],[[()=>Rb,0],0]];t.ListComplianceSummariesRequest$=[3,vD,jh,0,[qA,DE,yp],[[()=>bb,0],0,1]];t.ListComplianceSummariesResult$=[3,vD,Kh,0,[Qo,DE],[[()=>Mb,0],0]];t.ListDocumentMetadataHistoryRequest$=[3,vD,tm,0,[AE,aE,vc,DE,yp],[0,0,0,0,1],2];t.ListDocumentMetadataHistoryResponse$=[3,vD,nm,0,[AE,vc,Hn,aE,DE],[0,0,0,()=>t.DocumentMetadataResponseInfo$,0]];t.ListDocumentsRequest$=[3,vD,sm,0,[Jr,qA,yp,DE],[[()=>Nb,0],()=>Pb,1,0]];t.ListDocumentsResult$=[3,vD,om,0,[Di,DE],[[()=>kb,0],0]];t.ListDocumentVersionsRequest$=[3,vD,im,0,[AE,yp,DE],[0,1,0],1];t.ListDocumentVersionsResult$=[3,vD,am,0,[Uc,DE],[()=>Gb,0]];t.ListInventoryEntriesRequest$=[3,vD,dm,0,[Md,wR,qA,DE,yp],[0,0,[()=>lx,0],0,1],2];t.ListInventoryEntriesResult$=[3,vD,gm,0,[wR,Md,NS,bo,QA,DE],[0,0,0,0,[1,vD,kd,0,128|0],0]];t.ListNodesRequest$=[3,vD,Im,0,[Ky,qA,DE,yp],[0,[()=>Nx,0],0,1]];t.ListNodesResult$=[3,vD,Bm,0,[NE,DE],[[()=>Px,0],0]];t.ListNodesSummaryRequest$=[3,vD,ym,0,[Mn,Ky,qA,DE,yp],[[()=>Tx,0],0,[()=>Nx,0],0,1],1];t.ListNodesSummaryResult$=[3,vD,Sm,0,[XS,DE],[[1,vD,wE,0,128|0],0]];t.ListOpsItemEventsRequest$=[3,vD,wm,0,[qA,yp,DE],[()=>Vx,1,0]];t.ListOpsItemEventsResponse$=[3,vD,Dm,0,[DE,ZS],[0,()=>qx]];t.ListOpsItemRelatedItemsRequest$=[3,vD,xm,0,[Af,qA,yp,DE],[0,()=>Kx,1,0]];t.ListOpsItemRelatedItemsResponse$=[3,vD,Mm,0,[DE,ZS],[0,()=>Zx]];t.ListOpsMetadataRequest$=[3,vD,Tm,0,[qA,yp,DE],[()=>tM,1,0]];t.ListOpsMetadataResult$=[3,vD,Nm,0,[Pf,DE],[()=>sM,0]];t.ListResourceComplianceSummariesRequest$=[3,vD,Om,0,[qA,DE,yp],[[()=>bb,0],0,1]];t.ListResourceComplianceSummariesResult$=[3,vD,$m,0,[iB,DE],[[()=>UM,0],0]];t.ListResourceDataSyncRequest$=[3,vD,Hm,0,[BS,DE,yp],[0,0,1]];t.ListResourceDataSyncResult$=[3,vD,Vm,0,[QB,DE],[()=>OM,0]];t.ListTagsForResourceRequest$=[3,vD,ep,0,[RQ,PB],[0,0],2];t.ListTagsForResourceResult$=[3,vD,tp,0,[fR],[()=>ev]];t.LoggingInfo$=[3,vD,lm,0,[oy,AS,_y],[0,0,0],2];t.MaintenanceWindowAutomationParameters$=[3,vD,Mp,0,[vc,lI],[0,[2,vD,Ze,0,0,64|0]]];t.MaintenanceWindowExecution$=[3,vD,Tp,0,[pD,gD,jS,hy,xS,IA],[0,0,0,0,4,4]];t.MaintenanceWindowExecutionTaskIdentity$=[3,vD,kp,0,[gD,aR,jS,hy,xS,IA,nR,HR,h,tR],[0,0,0,0,4,4,0,0,()=>t.AlarmConfiguration$,()=>ZD]];t.MaintenanceWindowExecutionTaskInvocationIdentity$=[3,vD,Pp,0,[gD,aR,eg,rA,HR,lI,jS,hy,xS,IA,jE,fD],[0,0,0,0,0,[()=>$D,0],0,0,4,4,[()=>_D,0],0]];t.MaintenanceWindowFilter$=[3,vD,Op,0,[wh,aD],[0,64|0]];t.MaintenanceWindowIdentity$=[3,vD,Hp,0,[pD,AE,Jo,yA,_c,Yo,OS,RS,eS,eA,Iy,fE],[0,0,[()=>OD,0],2,1,1,0,0,1,0,0,0]];t.MaintenanceWindowIdentityForTarget$=[3,vD,Vp,0,[pD,AE],[0,0]];t.MaintenanceWindowLambdaParameters$=[3,vD,Wp,0,[Es,KC,HC],[0,0,[()=>GD,0]]];t.MaintenanceWindowRunCommandParameters$=[3,vD,Yp,0,[$o,Po,jr,Kr,vc,hE,_f,Wf,lI,cS,PR],[0,()=>t.CloudWatchOutputConfig$,0,0,0,()=>t.NotificationConfig$,0,0,[()=>wv,0],0,1]];t.MaintenanceWindowStepFunctionsParameters$=[3,vD,zp,0,[Ch,AE],[[()=>HD,0],0]];t.MaintenanceWindowTarget$=[3,vD,jp,0,[pD,fD,RQ,_R,jE,AE,Jo],[0,0,0,()=>av,[()=>_D,0],0,[()=>OD,0]]];t.MaintenanceWindowTask$=[3,vD,rE,0,[pD,ID,nR,KR,_R,NR,qC,lm,cS,dp,Cp,AE,Jo,us,h],[0,0,0,0,()=>av,[()=>fv,0],1,()=>t.LoggingInfo$,0,0,0,0,[()=>OD,0],0,()=>t.AlarmConfiguration$]];t.MaintenanceWindowTaskInvocationParameters$=[3,vD,Kp,0,[dB,Vn,ky,ap],[[()=>t.MaintenanceWindowRunCommandParameters$,0],()=>t.MaintenanceWindowAutomationParameters$,[()=>t.MaintenanceWindowStepFunctionsParameters$,0],[()=>t.MaintenanceWindowLambdaParameters$,0]]];t.MaintenanceWindowTaskParameterValueExpression$=[3,vD,sE,8,[aD],[[()=>Mx,0]]];t.MetadataValue$=[3,vD,xp,0,[sD],[0]];t.ModifyDocumentPermissionRequest$=[3,vD,Ep,0,[AE,DC,Re,we,Ey],[0,0,[()=>JD,0],[()=>JD,0],0],2];t.ModifyDocumentPermissionResponse$=[3,vD,fp,0,[],[]];t.Node$=[3,vD,kE,0,[bo,xu,AI,NQ,xE],[4,0,()=>t.NodeOwnerInfo$,0,[()=>t.NodeType$,0]]];t.NodeAggregator$=[3,vD,lE,0,[hn,wR,Ve,Mn],[0,0,0,[()=>Tx,0]],3];t.NodeFilter$=[3,vD,IE,0,[wh,aD,KR],[0,[()=>kx,0],0],2];t.NodeOwnerInfo$=[3,vD,SE,0,[De,eI,tI],[0,0,0]];t.NonCompliantSummary$=[3,vD,pE,0,[mE,dS],[1,()=>t.SeveritySummary$]];t.NotificationConfig$=[3,vD,hE,0,[gE,EE,ME],[0,64|0,0]];t.OpsAggregator$=[3,vD,FE,0,[hn,wR,Ve,aD,qA,Mn],[0,0,0,128|0,[()=>Gx,0],[()=>Ux,0]]];t.OpsEntity$=[3,vD,$E,0,[xu,$c],[0,()=>Sv]];t.OpsEntityItem$=[3,vD,GE,0,[bo,Ho],[0,[1,vD,HE,0,128|0]]];t.OpsFilter$=[3,vD,WE,0,[wh,aD,KR],[0,[()=>Hx,0],0],2];t.OpsItem$=[3,vD,wf,0,[ds,Rf,wo,Jo,hm,pm,TE,qC,JB,jS,Af,AD,JR,zS,UE,Uo,GS,tn,pe,QC,BI,KE],[0,0,4,0,0,4,()=>Jx,1,()=>LM,0,0,0,0,0,()=>Rv,0,0,4,4,4,4,0]];t.OpsItemDataValue$=[3,vD,tf,0,[sD,KR],[0,0]];t.OpsItemEventFilter$=[3,vD,nf,0,[wh,aD,oI],[0,64|0,0],3];t.OpsItemEventSummary$=[3,vD,of,0,[Af,iA,zS,Mc,Hc,ds,wo],[0,0,0,0,0,()=>t.OpsItemIdentity$,4]];t.OpsItemFilter$=[3,vD,cf,0,[wh,aD,oI],[0,64|0,0],3];t.OpsItemIdentity$=[3,vD,uf,0,[Fn],[0]];t.OpsItemNotification$=[3,vD,gf,0,[Fn],[0]];t.OpsItemRelatedItemsFilter$=[3,vD,If,0,[wh,aD,oI],[0,64|0,0],3];t.OpsItemRelatedItemSummary$=[3,vD,Bf,0,[Af,Te,RQ,an,xQ,ds,wo,hm,pm],[0,0,0,0,0,()=>t.OpsItemIdentity$,4,()=>t.OpsItemIdentity$,4]];t.OpsItemSummary$=[3,vD,Sf,0,[ds,wo,hm,pm,qC,zS,jS,Af,JR,UE,Uo,GS,Rf,tn,pe,QC,BI],[0,4,0,4,1,0,0,0,0,()=>Rv,0,0,0,4,4,4,4]];t.OpsMetadata$=[3,vD,bf,0,[PB,xf,mm,Em,Ss],[0,0,4,0,4]];t.OpsMetadataFilter$=[3,vD,vf,0,[wh,aD],[0,64|0],2];t.OpsResultAttribute$=[3,vD,Gf,0,[wR],[0],1];t.OutputSource$=[3,vD,Vf,0,[qf,jf],[0,0]];t.Parameter$=[3,vD,OC,0,[AE,KR,sD,AD,HS,lS,mm,Rt,xc],[0,0,[()=>WD,0],1,0,0,4,0,0]];t.ParameterHistory$=[3,vD,FI,0,[AE,KR,bh,mm,Em,Jo,sD,ot,AD,ip,zR,VC,xc],[0,0,0,4,0,0,[()=>WD,0],0,1,64|0,0,()=>lM,0]];t.ParameterInlinePolicy$=[3,vD,UI,0,[vC,TC,wC],[0,0,0]];t.ParameterMetadata$=[3,vD,WI,0,[AE,Rt,KR,bh,mm,Em,Jo,ot,AD,zR,VC,xc],[0,0,0,0,4,0,0,0,1,0,()=>lM,0]];t.ParametersFilter$=[3,vD,wI,0,[wh,aD],[0,64|0],2];t.ParameterStringFilter$=[3,vD,fC,0,[wh,rI,aD],[0,0,64|0],1];t.ParentStepDetails$=[3,vD,EC,0,[Sy,Zy,bn,yh,ih],[0,0,0,1,0]];t.Patch$=[3,vD,$C,0,[xu,NB,JR,Jo,To,lD,xI,JC,Oo,Dp,Mh,Qp,Ap,ve,Jn,No,AE,DA,AD,kQ,Pn,GS,PQ],[0,4,0,0,0,0,0,0,0,0,0,0,0,64|0,64|0,64|0,0,1,0,0,0,0,0]];t.PatchBaselineIdentity$=[3,vD,gI,0,[qn,zn,Kf,_n,Rr],[0,0,0,0,2]];t.PatchComplianceData$=[3,vD,pI,0,[JR,Dh,Oo,GS,GQ,oh,No],[0,0,0,0,0,4,0],6];t.PatchFilter$=[3,vD,DI,0,[wh,aD],[0,64|0],2];t.PatchFilterGroup$=[3,vD,yI,0,[bI],[()=>BM],1];t.PatchGroupPatchBaselineMapping$=[3,vD,vI,0,[MI,Yn],[0,()=>t.PatchBaselineIdentity$]];t.PatchOrchestratorFilter$=[3,vD,ZI,0,[wh,aD],[0,64|0]];t.PatchRule$=[3,vD,aC,0,[yI,Gs,a,En,cA],[()=>t.PatchFilterGroup$,0,1,0,2],1];t.PatchRuleGroup$=[3,vD,cC,0,[hC],[()=>MM],1];t.PatchSource$=[3,vD,SC,0,[AE,zC,Vo],[0,64|0,[()=>qD,0]],3];t.PatchStatus$=[3,vD,yC,0,[Ic,Gs,J],[0,0,4]];t.ProgressCounters$=[3,vD,mI,0,[$R,IS,OA,So,xR],[1,1,1,1,1]];t.PutComplianceItemsRequest$=[3,vD,II,0,[PB,RQ,Mo,mA,Sh,Ku,nD],[0,0,0,()=>t.ComplianceExecutionSummary$,()=>Sb,0,0],5];t.PutComplianceItemsResult$=[3,vD,CI,0,[],[]];t.PutInventoryRequest$=[3,vD,OI,0,[Md,Sh],[0,[()=>mx,0]],2];t.PutInventoryResult$=[3,vD,$I,0,[lp],[0]];t.PutParameterRequest$=[3,vD,rC,0,[AE,sD,Jo,KR,bh,cI,ot,eR,zR,VC,xc],[0,[()=>WD,0],0,0,0,2,0,()=>ev,0,0,0],2];t.PutParameterResult$=[3,vD,iC,0,[AD,zR],[1,0]];t.PutResourcePolicyRequest$=[3,vD,uC,0,[eB,_C,LI,kI],[0,0,0,0],2];t.PutResourcePolicyResponse$=[3,vD,dC,0,[LI,kI],[0,0]];t.RegisterDefaultPatchBaselineRequest$=[3,vD,mB,0,[qn],[0],1];t.RegisterDefaultPatchBaselineResult$=[3,vD,pB,0,[qn],[0]];t.RegisterPatchBaselineForPatchGroupRequest$=[3,vD,eQ,0,[qn,MI],[0,0],2];t.RegisterPatchBaselineForPatchGroupResult$=[3,vD,tQ,0,[qn,MI],[0,0]];t.RegisterTargetWithMaintenanceWindowRequest$=[3,vD,CQ,0,[pD,RQ,_R,jE,AE,Jo,xo],[0,0,()=>av,[()=>_D,0],0,[()=>OD,0],[0,4]],3];t.RegisterTargetWithMaintenanceWindowResult$=[3,vD,BQ,0,[fD],[0]];t.RegisterTaskWithMaintenanceWindowRequest$=[3,vD,QQ,0,[pD,nR,HR,_R,cS,NR,AR,qC,dp,Cp,lm,AE,Jo,xo,us,h],[0,0,0,()=>av,0,[()=>fv,0],[()=>t.MaintenanceWindowTaskInvocationParameters$,0],1,0,0,()=>t.LoggingInfo$,0,[()=>OD,0],[0,4],0,()=>t.AlarmConfiguration$],3];t.RegisterTaskWithMaintenanceWindowResult$=[3,vD,yQ,0,[ID],[0]];t.RegistrationMetadataItem$=[3,vD,_B,0,[wh,sD],[0,0],2];t.RelatedOpsItem$=[3,vD,zB,0,[Af],[0],1];t.RemoveTagsFromResourceRequest$=[3,vD,EQ,0,[RQ,PB,dR],[0,0,64|0],3];t.RemoveTagsFromResourceResult$=[3,vD,fQ,0,[],[]];t.ResetServiceSettingRequest$=[3,vD,dQ,0,[Oy],[0],1];t.ResetServiceSettingResult$=[3,vD,gQ,0,[pS],[()=>t.ServiceSetting$]];t.ResolvedTargets$=[3,vD,DQ,0,[LC,jR],[64|0,2]];t.ResourceComplianceSummaryItem$=[3,vD,cB,0,[Mo,RQ,PB,jS,Xf,mA,Ro,pE],[0,0,0,0,0,()=>t.ComplianceExecutionSummary$,()=>t.CompliantSummary$,()=>t.NonCompliantSummary$]];t.ResourceDataSyncAwsOrganizationsSource$=[3,vD,fB,0,[zf,nI],[0,()=>$M],1];t.ResourceDataSyncDestinationDataSharing$=[3,vD,BB,0,[Fr],[0]];t.ResourceDataSyncItem$=[3,vD,RB,0,[Ky,BS,CS,fy,jm,zm,Wy,_m,uy,Jm],[0,0,()=>t.ResourceDataSyncSourceWithState$,()=>t.ResourceDataSyncS3Destination$,4,4,4,0,4,0]];t.ResourceDataSyncOrganizationalUnit$=[3,vD,DB,0,[eI],[0]];t.ResourceDataSyncS3Destination$=[3,vD,MB,0,[jn,Ly,NQ,WC,Dn,Pr],[0,0,0,0,0,()=>t.ResourceDataSyncDestinationDataSharing$],3];t.ResourceDataSyncSource$=[3,vD,xB,0,[bS,uS,ze,Sd,Yc],[0,64|0,()=>t.ResourceDataSyncAwsOrganizationsSource$,2,2],2];t.ResourceDataSyncSourceWithState$=[3,vD,vB,0,[bS,ze,uS,Sd,GQ,Yc],[0,()=>t.ResourceDataSyncAwsOrganizationsSource$,64|0,2,0,2]];t.ResultAttribute$=[3,vD,sB,0,[wR],[0],1];t.ResumeSessionRequest$=[3,vD,AQ,0,[$y],[0],1];t.ResumeSessionResponse$=[3,vD,lQ,0,[$y,VR,TS],[0,0,0]];t.ReviewInformation$=[3,vD,UB,0,[bQ,jS,OQ],[4,0,0]];t.Runbook$=[3,vD,$Q,0,[ca,vc,lI,TR,_R,CR,dp,Cp,gR],[0,0,[2,vD,Ze,0,0,64|0],0,()=>av,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],0,0,()=>tv],1];t.S3OutputLocation$=[3,vD,nS,0,[Yf,_f,Wf],[0,0,0]];t.S3OutputUrl$=[3,vD,oS,0,[Zf],[0]];t.ScheduledWindowExecution$=[3,vD,LS,0,[pD,AE,fA],[0,0,0]];t.SendAutomationSignalRequest$=[3,vD,ny,0,[se,DS,HC],[0,0,[2,vD,Ze,0,0,64|0]],2];t.SendAutomationSignalResult$=[3,vD,sy,0,[],[]];t.SendCommandRequest$=[3,vD,iy,0,[ca,Kd,_R,vc,jr,Kr,PR,$o,lI,Yf,_f,Wf,dp,Cp,cS,hE,Po,h],[0,64|0,()=>av,0,0,0,1,0,[()=>wv,0],0,0,0,0,0,0,()=>t.NotificationConfig$,()=>t.CloudWatchOutputConfig$,()=>t.AlarmConfiguration$],1];t.SendCommandResult$=[3,vD,ly,0,[Xn],[[()=>t.Command$,0]]];t.ServiceSetting$=[3,vD,pS,0,[Oy,kS,mm,Em,Rt,jS],[0,0,4,0,0,0]];t.Session$=[3,vD,_S,0,[$y,WR,jS,Iy,eA,ca,AI,vQ,Gc,Zf,wp,dn],[0,0,0,4,4,0,0,0,0,()=>t.SessionManagerOutputUrl$,0,0]];t.SessionFilter$=[3,vD,Fy,0,[SD,bD],[0,0],2];t.SessionManagerOutputUrl$=[3,vD,zy,0,[oS,Lo],[0,0]];t.SeveritySummary$=[3,vD,dS,0,[Is,Ru,gp,$h,td,rw],[1,1,1,1,1,1]];t.StartAccessRequestRequest$=[3,vD,ZQ,0,[vQ,_R,eR],[0,()=>av,()=>ev],2];t.StartAccessRequestResponse$=[3,vD,ey,0,[yt],[0]];t.StartAssociationsOnceRequest$=[3,vD,jQ,0,[Ne],[64|0],1];t.StartAssociationsOnceResult$=[3,vD,KQ,0,[],[]];t.StartAutomationExecutionRequest$=[3,vD,VQ,0,[ca,vc,lI,xo,cE,TR,_R,CR,dp,Cp,gR,eR,h,ER],[0,0,[2,vD,Ze,0,0,64|0],0,0,0,()=>av,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],0,0,()=>tv,()=>ev,()=>t.AlarmConfiguration$,0],1];t.StartAutomationExecutionResult$=[3,vD,_Q,0,[se],[0]];t.StartChangeRequestExecutionRequest$=[3,vD,cy,0,[ca,ZC,SS,vc,lI,ho,xo,i,eR,My,ys],[0,()=>qM,4,0,[2,vD,Ze,0,0,64|0],0,0,2,()=>ev,4,0],2];t.StartChangeRequestExecutionResult$=[3,vD,Ay,0,[se],[0]];t.StartExecutionPreviewRequest$=[3,vD,Dy,0,[ca,vc,aA],[0,0,()=>t.ExecutionInputs$],1];t.StartExecutionPreviewResponse$=[3,vD,by,0,[lA],[0]];t.StartSessionRequest$=[3,vD,hS,0,[WR,ca,vQ,lI],[0,0,0,[2,vD,jy,0,0,64|0]],1];t.StartSessionResponse$=[3,vD,mS,0,[$y,VR,TS],[0,0,0]];t.StepExecution$=[3,vD,Ny,0,[Zy,bn,PR,zE,up,EA,sA,ES,uB,Bh,iI,UQ,FA,kA,Sy,$f,Id,RE,nd,iD,_R,IR,tR,EC],[0,0,1,0,1,4,4,0,0,128|0,[2,vD,Ze,0,0,64|0],0,0,()=>t.FailureDetails$,0,[2,vD,Ze,0,0,64|0],2,0,2,64|0,()=>av,()=>t.TargetLocation$,()=>ZD,()=>t.ParentStepDetails$]];t.StepExecutionFilter$=[3,vD,Qy,0,[wh,aD],[0,64|0],2];t.StopAutomationExecutionRequest$=[3,vD,qQ,0,[se,KR],[0,0],1];t.StopAutomationExecutionResult$=[3,vD,WQ,0,[],[]];t.Tag$=[3,vD,qR,0,[wh,sD],[0,0],2];t.Target$=[3,vD,WR,0,[wh,aD],[0,64|0]];t.TargetLocation$=[3,vD,IR,0,[xn,MQ,mR,pR,hA,hR,ed,zc,_R,BR,QR],[64|0,64|0,0,0,0,()=>t.AlarmConfiguration$,2,64|0,()=>av,0,0]];t.TargetPreview$=[3,vD,kR,0,[qo,GR],[1,0]];t.TerminateSessionRequest$=[3,vD,LR,0,[$y],[0],1];t.TerminateSessionResponse$=[3,vD,UR,0,[$y],[0]];t.UnlabelParameterVersionRequest$=[3,vD,Ww,0,[AE,FC,ip],[0,1,64|0],3];t.UnlabelParameterVersionResult$=[3,vD,Yw,0,[HB,sg],[64|0,64|0]];t.UpdateAssociationRequest$=[3,vD,ew,0,[Te,lI,vc,Cy,Df,AE,_R,He,Cn,cn,Cp,dp,mo,gy,qe,zs,gR,eS,_c,CR,h,L],[0,[()=>wv,0],0,0,()=>t.InstanceAssociationOutputLocation$,0,()=>av,0,0,0,0,0,0,0,2,64|0,()=>tv,1,1,[1,vD,CR,0,[2,vD,RR,0,0,64|0]],()=>t.AlarmConfiguration$,0],1];t.UpdateAssociationResult$=[3,vD,tw,0,[P],[[()=>t.AssociationDescription$,0]]];t.UpdateAssociationStatusRequest$=[3,vD,sw,0,[AE,Md,qt],[0,0,()=>t.AssociationStatus$],3];t.UpdateAssociationStatusResult$=[3,vD,ow,0,[P],[[()=>t.AssociationDescription$,0]]];t.UpdateDocumentDefaultVersionRequest$=[3,vD,Aw,0,[AE,vc],[0,0],2];t.UpdateDocumentDefaultVersionResult$=[3,vD,lw,0,[Jo],[()=>t.DocumentDefaultVersionDescription$]];t.UpdateDocumentMetadataRequest$=[3,vD,dw,0,[AE,gc,vc],[0,()=>t.DocumentReviews$,0],2];t.UpdateDocumentMetadataResponse$=[3,vD,gw,0,[],[]];t.UpdateDocumentRequest$=[3,vD,hw,0,[Ho,AE,On,la,rD,vc,Yr,GR],[0,0,()=>ub,0,0,0,0,0],2];t.UpdateDocumentResult$=[3,vD,mw,0,[wr],[[()=>t.DocumentDescription$,0]]];t.UpdateMaintenanceWindowRequest$=[3,vD,yw,0,[pD,AE,Jo,Iy,eA,OS,RS,eS,_c,Yo,In,yA,FQ],[0,0,[()=>OD,0],0,0,0,0,1,1,1,2,2,2],1];t.UpdateMaintenanceWindowResult$=[3,vD,Sw,0,[pD,AE,Jo,Iy,eA,OS,RS,eS,_c,Yo,In,yA],[0,0,[()=>OD,0],0,0,0,0,1,1,1,2,2]];t.UpdateMaintenanceWindowTargetRequest$=[3,vD,ww,0,[pD,fD,_R,jE,AE,Jo,FQ],[0,0,()=>av,[()=>_D,0],0,[()=>OD,0],2],2];t.UpdateMaintenanceWindowTargetResult$=[3,vD,Dw,0,[pD,fD,_R,jE,AE,Jo],[0,0,()=>av,[()=>_D,0],0,[()=>OD,0]]];t.UpdateMaintenanceWindowTaskRequest$=[3,vD,bw,0,[pD,ID,_R,nR,cS,NR,AR,qC,dp,Cp,lm,AE,Jo,FQ,us,h],[0,0,()=>av,0,0,[()=>fv,0],[()=>t.MaintenanceWindowTaskInvocationParameters$,0],1,0,0,()=>t.LoggingInfo$,0,[()=>OD,0],2,0,()=>t.AlarmConfiguration$],2];t.UpdateMaintenanceWindowTaskResult$=[3,vD,xw,0,[pD,ID,_R,nR,cS,NR,AR,qC,dp,Cp,lm,AE,Jo,us,h],[0,0,()=>av,0,0,[()=>fv,0],[()=>t.MaintenanceWindowTaskInvocationParameters$,0],1,0,0,()=>t.LoggingInfo$,0,[()=>OD,0],0,()=>t.AlarmConfiguration$]];t.UpdateManagedInstanceRoleRequest$=[3,vD,Cw,0,[Md,Wg],[0,0],2];t.UpdateManagedInstanceRoleResult$=[3,vD,Bw,0,[],[]];t.UpdateOpsItemRequest$=[3,vD,kw,0,[Af,Jo,UE,OE,TE,qC,JB,jS,JR,Uo,GS,tn,pe,QC,BI,KE],[0,0,()=>Rv,64|0,()=>Jx,1,()=>LM,0,0,0,0,4,4,4,4,0],1];t.UpdateOpsItemResponse$=[3,vD,Pw,0,[],[]];t.UpdateOpsMetadataRequest$=[3,vD,Lw,0,[xf,bp,vh],[0,()=>Iv,64|0],1];t.UpdateOpsMetadataResult$=[3,vD,Uw,0,[xf],[0]];t.UpdatePatchBaselineRequest$=[3,vD,Gw,0,[qn,AE,Bl,Qt,je,Ke,Xe,KB,XB,Jo,JS,sn,FQ],[0,0,()=>t.PatchFilterGroup$,()=>t.PatchRuleGroup$,64|0,0,2,64|0,0,0,[()=>vM,0],0,2],1];t.UpdatePatchBaselineResult$=[3,vD,Hw,0,[qn,AE,Kf,Bl,Qt,je,Ke,Xe,KB,XB,Cs,mp,Jo,JS,sn],[0,0,0,()=>t.PatchFilterGroup$,()=>t.PatchRuleGroup$,64|0,0,2,64|0,0,4,4,0,[()=>vM,0],0]];t.UpdateResourceDataSyncRequest$=[3,vD,zw,0,[Ky,BS,CS],[0,0,()=>t.ResourceDataSyncSource$],3];t.UpdateResourceDataSyncResult$=[3,vD,jw,0,[],[]];t.UpdateServiceSettingRequest$=[3,vD,Zw,0,[Oy,kS],[0,0],2];t.UpdateServiceSettingResult$=[3,vD,eD,0,[],[]];var JD=[1,vD,ye,0,[0,{[MD]:De}]];var zD=null&&64|0;var jD=[1,vD,zt,0,[()=>t.AccountSharingInfo$,{[MD]:Jt}]];var KD=[1,vD,Ue,0,()=>t.Activation$];var XD=[1,vD,$e,0,()=>t.Alarm$];var ZD=[1,vD,Kt,0,()=>t.AlarmStateInformation$];var eb=[1,vD,H,0,[()=>t.AssociationDescription$,{[MD]:P}]];var tb=[1,vD,ee,0,[()=>t.AssociationExecutionFilter$,{[MD]:Z}]];var nb=[1,vD,re,0,[()=>t.AssociationExecution$,{[MD]:j}]];var sb=[1,vD,he,0,[()=>t.AssociationExecutionTargetsFilter$,{[MD]:ge}]];var ob=[1,vD,me,0,[()=>t.AssociationExecutionTarget$,{[MD]:de}]];var rb=[1,vD,Be,0,[()=>t.AssociationFilter$,{[MD]:Ce}]];var ib=null&&64|0;var ab=[1,vD,Ge,0,[()=>t.Association$,{[MD]:Ln}]];var cb=[1,vD,Qn,0,[()=>t.AssociationVersionInfo$,0]];var Ab=[1,vD,m,0,[()=>t.AttachmentContent$,{[MD]:Q}]];var lb=[1,vD,Se,0,[()=>t.AttachmentInformation$,{[MD]:ke}]];var ub=[1,vD,Zt,0,()=>t.AttachmentsSource$];var db=null&&64|0;var gb=[1,vD,te,0,()=>t.AutomationExecutionFilter$];var hb=null&&64|0;var mb=[1,vD,ce,0,()=>t.AutomationExecutionMetadata$];var pb=null&&64|0;var Eb=null&&64|0;var fb=null&&64|0;var Ib=null&&64|0;var Cb=[1,vD,xs,0,()=>t.CommandFilter$];var Bb=[1,vD,Ps,0,()=>t.CommandInvocation$];var Qb=[1,vD,Hs,0,[()=>t.Command$,0]];var yb=[1,vD,co,0,()=>t.CommandPlugin$];var Sb=[1,vD,ks,0,()=>t.ComplianceItemEntry$];var Rb=[1,vD,Fs,0,[()=>t.ComplianceItem$,{[MD]:Rh}]];var wb=null&&64|0;var Db=null&&64|0;var bb=[1,vD,fo,0,[()=>t.ComplianceStringFilter$,{[MD]:Ms}]];var xb=[1,vD,Io,0,[0,{[MD]:HA}]];var Mb=[1,vD,Bo,0,[()=>t.ComplianceSummaryItem$,{[MD]:Rh}]];var vb=[1,vD,ss,0,[()=>t.CreateAssociationBatchRequestEntry$,{[MD]:yD}]];var Tb=[1,vD,ar,0,()=>t.DescribeActivationsFilter$];var Nb=[1,vD,Jr,0,[()=>t.DocumentFilter$,{[MD]:zr}]];var kb=[1,vD,Ai,0,[()=>t.DocumentIdentifier$,{[MD]:wi}]];var Pb=[1,vD,xi,0,()=>t.DocumentKeyValuesFilter$];var Fb=null&&64|0;var Lb=[1,vD,$a,0,[()=>t.DocumentParameter$,{[MD]:Za}]];var Ub=[1,vD,ic,0,()=>t.DocumentRequires$];var Ob=[1,vD,tc,0,()=>t.DocumentReviewCommentSource$];var $b=[1,vD,lc,0,()=>t.DocumentReviewerResponseSource$];var Gb=[1,vD,Nc,0,()=>t.DocumentVersionInfo$];var Hb=[1,vD,uA,0,()=>t.EffectivePatch$];var Vb=null&&64|0;var _b=[1,vD,NA,0,[()=>t.FailedCreateAssociation$,{[MD]:TA}]];var qb=[1,vD,Iu,0,()=>t.GetResourcePoliciesResponseEntry$];var Wb=[1,vD,Pu,0,()=>t.InstanceAssociation$];var Yb=[1,vD,Hu,0,()=>t.InstanceAssociationStatusInfo$];var Jb=null&&64|0;var zb=[1,vD,Fd,0,[()=>t.InstanceInformationFilter$,{[MD]:Pd}]];var jb=[1,vD,Ud,0,[0,{[MD]:Ld}]];var Kb=[1,vD,Vd,0,[()=>t.InstanceInformation$,{[MD]:Zd}]];var Xb=[1,vD,zd,0,[()=>t.InstanceInformationStringFilter$,{[MD]:Jd}]];var Zb=[1,vD,Dg,0,()=>t.InstancePatchStateFilter$];var ex=null&&64|0;var tx=[1,vD,Mg,0,[()=>t.InstancePatchState$,0]];var nx=[1,vD,vg,0,[()=>t.InstancePatchState$,0]];var sx=[1,vD,Pg,0,[()=>t.InstanceProperty$,{[MD]:Fg}]];var ox=[1,vD,Ig,0,[()=>t.InstancePropertyFilter$,{[MD]:fg}]];var rx=[1,vD,Bg,0,[0,{[MD]:Cg}]];var ix=[1,vD,bg,0,[()=>t.InstancePropertyStringFilter$,{[MD]:xg}]];var ax=[1,vD,Fu,0,[()=>t.InventoryAggregator$,{[MD]:vn}]];var cx=[1,vD,ad,0,()=>t.InventoryDeletionStatusItem$];var Ax=[1,vD,gd,0,()=>t.InventoryDeletionSummaryItem$];var lx=[1,vD,Qd,0,[()=>t.InventoryFilter$,{[MD]:Dd}]];var ux=[1,vD,wd,0,[0,{[MD]:HA}]];var dx=[1,vD,xd,0,[()=>t.InventoryGroup$,{[MD]:bd}]];var gx=[1,vD,Td,0,[()=>t.InventoryItemAttribute$,{[MD]:Gn}]];var hx=[1,vD,kd,0,128|0];var mx=[1,vD,_d,0,[()=>t.InventoryItem$,{[MD]:Rh}]];var px=[1,vD,jd,0,[()=>t.InventoryItemSchema$,0]];var Ex=[1,vD,Gg,0,[()=>t.InventoryResultEntity$,{[MD]:wA}]];var fx=null&&64|0;var Ix=[1,vD,Np,0,()=>t.MaintenanceWindowExecution$];var Cx=[1,vD,Lp,0,()=>t.MaintenanceWindowExecutionTaskIdentity$];var Bx=null&&64|0;var Qx=[1,vD,Fp,0,[()=>t.MaintenanceWindowExecutionTaskInvocationIdentity$,0]];var yx=[1,vD,$p,0,()=>t.MaintenanceWindowFilter$];var Sx=null&&64|0;var Rx=[1,vD,_p,0,[()=>t.MaintenanceWindowIdentity$,0]];var wx=[1,vD,Gp,0,()=>t.MaintenanceWindowIdentityForTarget$];var Dx=[1,vD,Xp,0,[()=>t.MaintenanceWindowTarget$,0]];var bx=[1,vD,Zp,0,[()=>t.MaintenanceWindowTask$,0]];var xx=[1,vD,tE,8,[()=>fv,0]];var Mx=[1,vD,oE,8,[()=>VD,0]];var vx=null&&64|0;var Tx=[1,vD,dE,0,[()=>t.NodeAggregator$,{[MD]:lE}]];var Nx=[1,vD,CE,0,[()=>t.NodeFilter$,{[MD]:IE}]];var kx=[1,vD,BE,0,[0,{[MD]:HA}]];var Px=[1,vD,QE,0,[()=>t.Node$,0]];var Fx=[1,vD,wE,0,128|0];var Lx=null&&64|0;var Ux=[1,vD,LE,0,[()=>t.OpsAggregator$,{[MD]:vn}]];var Ox=[1,vD,HE,0,128|0];var $x=[1,vD,_E,0,[()=>t.OpsEntity$,{[MD]:wA}]];var Gx=[1,vD,YE,0,[()=>t.OpsFilter$,{[MD]:WE}]];var Hx=[1,vD,JE,0,[0,{[MD]:HA}]];var Vx=[1,vD,sf,0,()=>t.OpsItemEventFilter$];var _x=null&&64|0;var qx=[1,vD,rf,0,()=>t.OpsItemEventSummary$];var Wx=[1,vD,af,0,()=>t.OpsItemFilter$];var Yx=null&&64|0;var Jx=[1,vD,mf,0,()=>t.OpsItemNotification$];var zx=null&&64|0;var jx=null&&64|0;var Kx=[1,vD,Cf,0,()=>t.OpsItemRelatedItemsFilter$];var Xx=null&&64|0;var Zx=[1,vD,Qf,0,()=>t.OpsItemRelatedItemSummary$];var eM=[1,vD,yf,0,()=>t.OpsItemSummary$];var tM=[1,vD,Tf,0,()=>t.OpsMetadataFilter$];var nM=null&&64|0;var sM=[1,vD,Pf,0,()=>t.OpsMetadata$];var oM=[1,vD,Hf,0,[()=>t.OpsResultAttribute$,{[MD]:Gf}]];var rM=[1,vD,PI,0,[()=>t.ParameterHistory$,0]];var iM=null&&64|0;var aM=[1,vD,HI,0,[()=>t.Parameter$,0]];var cM=[1,vD,YI,0,()=>t.ParameterMetadata$];var AM=null&&64|0;var lM=[1,vD,sC,0,()=>t.ParameterInlinePolicy$];var uM=[1,vD,SI,0,()=>t.ParametersFilter$];var dM=null&&64|0;var gM=[1,vD,IC,0,()=>t.ParameterStringFilter$];var hM=null&&64|0;var mM=null&&64|0;var pM=null&&64|0;var EM=[1,vD,hI,0,()=>t.PatchBaselineIdentity$];var fM=null&&64|0;var IM=[1,vD,EI,0,()=>t.PatchComplianceData$];var CM=null&&64|0;var BM=[1,vD,RI,0,()=>t.PatchFilter$];var QM=null&&64|0;var yM=null&&64|0;var SM=[1,vD,TI,0,()=>t.PatchGroupPatchBaselineMapping$];var RM=null&&64|0;var wM=[1,vD,qI,0,()=>t.Patch$];var DM=[1,vD,eC,0,()=>t.PatchOrchestratorFilter$];var bM=null&&64|0;var xM=[1,vD,nC,0,128|0];var MM=[1,vD,AC,0,()=>t.PatchRule$];var vM=[1,vD,CC,0,[()=>t.PatchSource$,0]];var TM=null&&64|0;var NM=[1,vD,bC,0,[0,{[MD]:MC}]];var kM=null&&64|0;var PM=null&&64|0;var FM=[1,vD,qB,0,()=>t.RegistrationMetadataItem$];var LM=[1,vD,JB,0,()=>t.RelatedOpsItem$];var UM=[1,vD,aB,0,[()=>t.ResourceComplianceSummaryItem$,{[MD]:Rh}]];var OM=[1,vD,SB,0,()=>t.ResourceDataSyncItem$];var $M=[1,vD,bB,0,()=>t.ResourceDataSyncOrganizationalUnit$];var GM=null&&64|0;var HM=null&&64|0;var VM=[1,vD,tB,0,[()=>t.ResultAttribute$,{[MD]:sB}]];var _M=[1,vD,FB,0,[()=>t.ReviewInformation$,{[MD]:UB}]];var qM=[1,vD,ZC,0,()=>t.Runbook$];var WM=[1,vD,FS,0,()=>t.ScheduledWindowExecution$];var YM=[1,vD,Py,0,()=>t.SessionFilter$];var JM=[1,vD,Yy,0,()=>t.Session$];var zM=null&&64|0;var jM=[1,vD,yy,0,()=>t.StepExecutionFilter$];var KM=null&&64|0;var XM=[1,vD,Ry,0,()=>t.StepExecution$];var ZM=null&&64|0;var ev=[1,vD,fR,0,()=>t.Tag$];var tv=[1,vD,gR,0,()=>t.TargetLocation$];var sv=[1,vD,CR,0,[2,vD,RR,0,0,64|0]];var ov=null&&64|0;var rv=null&&64|0;var iv=[1,vD,vR,0,()=>t.TargetPreview$];var av=[1,vD,_R,0,()=>t.Target$];var cv=null&&64|0;var Av=null&&64|0;var lv=null&&128|1;var uv=[2,vD,Ze,0,0,64|0];var dv=null&&128|0;var gv=null&&128|1;var hv=null&&128|0;var pv=null&&128|0;var Ev=[2,vD,Vg,0,0,()=>t.InventoryResultItem$];var fv=[2,vD,eE,8,[0,0],[()=>t.MaintenanceWindowTaskParameterValueExpression$,0]];var Iv=[2,vD,Bp,0,0,()=>t.MetadataValue$];var Cv=null&&128|0;var Bv=null&&128|0;var Qv=null&&128|0;var yv=null&&128|0;var Sv=[2,vD,VE,0,0,()=>t.OpsEntityItem$];var Rv=[2,vD,pf,0,0,()=>t.OpsItemDataValue$];var wv=[2,vD,lI,8,0,64|0];var Dv=null&&128|0;var bv=[2,vD,jy,0,0,64|0];var xv=null&&128|1;var Mv=[2,vD,RR,0,0,64|0];t.ExecutionInputs$=[4,vD,aA,0,[Vn],[()=>t.AutomationExecutionInputs$]];t.ExecutionPreview$=[4,vD,gA,0,[Vn],[()=>t.AutomationExecutionPreview$]];t.NodeType$=[4,vD,xE,0,[Qh],[[()=>t.InstanceInfo$,0]]];t.AddTagsToResource$=[9,vD,An,0,()=>t.AddTagsToResourceRequest$,()=>t.AddTagsToResourceResult$];t.AssociateOpsItemRelatedItem$=[9,vD,We,0,()=>t.AssociateOpsItemRelatedItemRequest$,()=>t.AssociateOpsItemRelatedItemResponse$];t.CancelCommand$=[9,vD,ps,0,()=>t.CancelCommandRequest$,()=>t.CancelCommandResult$];t.CancelMaintenanceWindowExecution$=[9,vD,_s,0,()=>t.CancelMaintenanceWindowExecutionRequest$,()=>t.CancelMaintenanceWindowExecutionResult$];t.CreateActivation$=[9,vD,As,0,()=>t.CreateActivationRequest$,()=>t.CreateActivationResult$];t.CreateAssociation$=[9,vD,ls,0,()=>t.CreateAssociationRequest$,()=>t.CreateAssociationResult$];t.CreateAssociationBatch$=[9,vD,es,0,()=>t.CreateAssociationBatchRequest$,()=>t.CreateAssociationBatchResult$];t.CreateDocument$=[9,vD,Rs,0,()=>t.CreateDocumentRequest$,()=>t.CreateDocumentResult$];t.CreateMaintenanceWindow$=[9,vD,Vs,0,()=>t.CreateMaintenanceWindowRequest$,()=>t.CreateMaintenanceWindowResult$];t.CreateOpsItem$=[9,vD,Xs,0,()=>t.CreateOpsItemRequest$,()=>t.CreateOpsItemResponse$];t.CreateOpsMetadata$=[9,vD,to,0,()=>t.CreateOpsMetadataRequest$,()=>t.CreateOpsMetadataResult$];t.CreatePatchBaseline$=[9,vD,ro,0,()=>t.CreatePatchBaselineRequest$,()=>t.CreatePatchBaselineResult$];t.CreateResourceDataSync$=[9,vD,lo,0,()=>t.CreateResourceDataSyncRequest$,()=>t.CreateResourceDataSyncResult$];t.DeleteActivation$=[9,vD,zo,0,()=>t.DeleteActivationRequest$,()=>t.DeleteActivationResult$];t.DeleteAssociation$=[9,vD,Qr,0,()=>t.DeleteAssociationRequest$,()=>t.DeleteAssociationResult$];t.DeleteDocument$=[9,vD,Or,0,()=>t.DeleteDocumentRequest$,()=>t.DeleteDocumentResult$];t.DeleteInventory$=[9,vD,Ri,0,()=>t.DeleteInventoryRequest$,()=>t.DeleteInventoryResult$];t.DeleteMaintenanceWindow$=[9,vD,Pi,0,()=>t.DeleteMaintenanceWindowRequest$,()=>t.DeleteMaintenanceWindowResult$];t.DeleteOpsItem$=[9,vD,ua,0,()=>t.DeleteOpsItemRequest$,()=>t.DeleteOpsItemResponse$];t.DeleteOpsMetadata$=[9,vD,Ca,0,()=>t.DeleteOpsMetadataRequest$,()=>t.DeleteOpsMetadataResult$];t.DeleteParameter$=[9,vD,ja,0,()=>t.DeleteParameterRequest$,()=>t.DeleteParameterResult$];t.DeleteParameters$=[9,vD,Ka,0,()=>t.DeleteParametersRequest$,()=>t.DeleteParametersResult$];t.DeletePatchBaseline$=[9,vD,Sa,0,()=>t.DeletePatchBaselineRequest$,()=>t.DeletePatchBaselineResult$];t.DeleteResourceDataSync$=[9,vD,sc,0,()=>t.DeleteResourceDataSyncRequest$,()=>t.DeleteResourceDataSyncResult$];t.DeleteResourcePolicy$=[9,vD,ac,0,()=>t.DeleteResourcePolicyRequest$,()=>t.DeleteResourcePolicyResponse$];t.DeregisterManagedInstance$=[9,vD,vi,0,()=>t.DeregisterManagedInstanceRequest$,()=>t.DeregisterManagedInstanceResult$];t.DeregisterPatchBaselineForPatchGroup$=[9,vD,Ra,0,()=>t.DeregisterPatchBaselineForPatchGroupRequest$,()=>t.DeregisterPatchBaselineForPatchGroupResult$];t.DeregisterTargetFromMaintenanceWindow$=[9,vD,Qc,0,()=>t.DeregisterTargetFromMaintenanceWindowRequest$,()=>t.DeregisterTargetFromMaintenanceWindowResult$];t.DeregisterTaskFromMaintenanceWindow$=[9,vD,Dc,0,()=>t.DeregisterTaskFromMaintenanceWindowRequest$,()=>t.DeregisterTaskFromMaintenanceWindowResult$];t.DescribeActivations$=[9,vD,yr,0,()=>t.DescribeActivationsRequest$,()=>t.DescribeActivationsResult$];t.DescribeAssociation$=[9,vD,Sr,0,()=>t.DescribeAssociationRequest$,()=>t.DescribeAssociationResult$];t.DescribeAssociationExecutions$=[9,vD,or,0,()=>t.DescribeAssociationExecutionsRequest$,()=>t.DescribeAssociationExecutionsResult$];t.DescribeAssociationExecutionTargets$=[9,vD,tr,0,()=>t.DescribeAssociationExecutionTargetsRequest$,()=>t.DescribeAssociationExecutionTargetsResult$];t.DescribeAutomationExecutions$=[9,vD,rr,0,()=>t.DescribeAutomationExecutionsRequest$,()=>t.DescribeAutomationExecutionsResult$];t.DescribeAutomationStepExecutions$=[9,vD,Ir,0,()=>t.DescribeAutomationStepExecutionsRequest$,()=>t.DescribeAutomationStepExecutionsResult$];t.DescribeAvailablePatches$=[9,vD,cr,0,()=>t.DescribeAvailablePatchesRequest$,()=>t.DescribeAvailablePatchesResult$];t.DescribeDocument$=[9,vD,$r,0,()=>t.DescribeDocumentRequest$,()=>t.DescribeDocumentResult$];t.DescribeDocumentPermission$=[9,vD,br,0,()=>t.DescribeDocumentPermissionRequest$,()=>t.DescribeDocumentPermissionResponse$];t.DescribeEffectiveInstanceAssociations$=[9,vD,Gr,0,()=>t.DescribeEffectiveInstanceAssociationsRequest$,()=>t.DescribeEffectiveInstanceAssociationsResult$];t.DescribeEffectivePatchesForPatchBaseline$=[9,vD,_r,0,()=>t.DescribeEffectivePatchesForPatchBaselineRequest$,()=>t.DescribeEffectivePatchesForPatchBaselineResult$];t.DescribeInstanceAssociationsStatus$=[9,vD,Zr,0,()=>t.DescribeInstanceAssociationsStatusRequest$,()=>t.DescribeInstanceAssociationsStatusResult$];t.DescribeInstanceInformation$=[9,vD,ci,0,()=>t.DescribeInstanceInformationRequest$,()=>t.DescribeInstanceInformationResult$];t.DescribeInstancePatches$=[9,vD,ui,0,()=>t.DescribeInstancePatchesRequest$,()=>t.DescribeInstancePatchesResult$];t.DescribeInstancePatchStates$=[9,vD,pi,0,()=>t.DescribeInstancePatchStatesRequest$,()=>t.DescribeInstancePatchStatesResult$];t.DescribeInstancePatchStatesForPatchGroup$=[9,vD,Ei,0,()=>t.DescribeInstancePatchStatesForPatchGroupRequest$,()=>t.DescribeInstancePatchStatesForPatchGroupResult$];t.DescribeInstanceProperties$=[9,vD,Qi,0,()=>t.DescribeInstancePropertiesRequest$,()=>t.DescribeInstancePropertiesResult$];t.DescribeInventoryDeletions$=[9,vD,ni,0,()=>t.DescribeInventoryDeletionsRequest$,()=>t.DescribeInventoryDeletionsResult$];t.DescribeMaintenanceWindowExecutions$=[9,vD,Fi,0,()=>t.DescribeMaintenanceWindowExecutionsRequest$,()=>t.DescribeMaintenanceWindowExecutionsResult$];t.DescribeMaintenanceWindowExecutionTaskInvocations$=[9,vD,$i,0,()=>t.DescribeMaintenanceWindowExecutionTaskInvocationsRequest$,()=>t.DescribeMaintenanceWindowExecutionTaskInvocationsResult$];t.DescribeMaintenanceWindowExecutionTasks$=[9,vD,Oi,0,()=>t.DescribeMaintenanceWindowExecutionTasksRequest$,()=>t.DescribeMaintenanceWindowExecutionTasksResult$];t.DescribeMaintenanceWindows$=[9,vD,aa,0,()=>t.DescribeMaintenanceWindowsRequest$,()=>t.DescribeMaintenanceWindowsResult$];t.DescribeMaintenanceWindowSchedule$=[9,vD,Xi,0,()=>t.DescribeMaintenanceWindowScheduleRequest$,()=>t.DescribeMaintenanceWindowScheduleResult$];t.DescribeMaintenanceWindowsForTarget$=[9,vD,qi,0,()=>t.DescribeMaintenanceWindowsForTargetRequest$,()=>t.DescribeMaintenanceWindowsForTargetResult$];t.DescribeMaintenanceWindowTargets$=[9,vD,ta,0,()=>t.DescribeMaintenanceWindowTargetsRequest$,()=>t.DescribeMaintenanceWindowTargetsResult$];t.DescribeMaintenanceWindowTasks$=[9,vD,ia,0,()=>t.DescribeMaintenanceWindowTasksRequest$,()=>t.DescribeMaintenanceWindowTasksResult$];t.DescribeOpsItems$=[9,vD,Ia,0,()=>t.DescribeOpsItemsRequest$,()=>t.DescribeOpsItemsResponse$];t.DescribeParameters$=[9,vD,Xa,0,()=>t.DescribeParametersRequest$,()=>t.DescribeParametersResult$];t.DescribePatchBaselines$=[9,vD,Ta,0,()=>t.DescribePatchBaselinesRequest$,()=>t.DescribePatchBaselinesResult$];t.DescribePatchGroups$=[9,vD,Na,0,()=>t.DescribePatchGroupsRequest$,()=>t.DescribePatchGroupsResult$];t.DescribePatchGroupState$=[9,vD,Fa,0,()=>t.DescribePatchGroupStateRequest$,()=>t.DescribePatchGroupStateResult$];t.DescribePatchProperties$=[9,vD,Ga,0,()=>t.DescribePatchPropertiesRequest$,()=>t.DescribePatchPropertiesResult$];t.DescribeSessions$=[9,vD,Cc,0,()=>t.DescribeSessionsRequest$,()=>t.DescribeSessionsResponse$];t.DisassociateOpsItemRelatedItem$=[9,vD,ga,0,()=>t.DisassociateOpsItemRelatedItemRequest$,()=>t.DisassociateOpsItemRelatedItemResponse$];t.GetAccessToken$=[9,vD,KA,0,()=>t.GetAccessTokenRequest$,()=>t.GetAccessTokenResponse$];t.GetAutomationExecution$=[9,vD,JA,0,()=>t.GetAutomationExecutionRequest$,()=>t.GetAutomationExecutionResult$];t.GetCalendarState$=[9,vD,sl,0,()=>t.GetCalendarStateRequest$,()=>t.GetCalendarStateResponse$];t.GetCommandInvocation$=[9,vD,el,0,()=>t.GetCommandInvocationRequest$,()=>t.GetCommandInvocationResult$];t.GetConnectionStatus$=[9,vD,cl,0,()=>t.GetConnectionStatusRequest$,()=>t.GetConnectionStatusResponse$];t.GetDefaultPatchBaseline$=[9,vD,ll,0,()=>t.GetDefaultPatchBaselineRequest$,()=>t.GetDefaultPatchBaselineResult$];t.GetDeployablePatchSnapshotForInstance$=[9,vD,gl,0,()=>t.GetDeployablePatchSnapshotForInstanceRequest$,()=>t.GetDeployablePatchSnapshotForInstanceResult$];t.GetDocument$=[9,vD,Al,0,()=>t.GetDocumentRequest$,()=>t.GetDocumentResult$];t.GetExecutionPreview$=[9,vD,fl,0,()=>t.GetExecutionPreviewRequest$,()=>t.GetExecutionPreviewResponse$];t.GetInventory$=[9,vD,Ql,0,()=>t.GetInventoryRequest$,()=>t.GetInventoryResult$];t.GetInventorySchema$=[9,vD,Rl,0,()=>t.GetInventorySchemaRequest$,()=>t.GetInventorySchemaResult$];t.GetMaintenanceWindow$=[9,vD,bl,0,()=>t.GetMaintenanceWindowRequest$,()=>t.GetMaintenanceWindowResult$];t.GetMaintenanceWindowExecution$=[9,vD,xl,0,()=>t.GetMaintenanceWindowExecutionRequest$,()=>t.GetMaintenanceWindowExecutionResult$];t.GetMaintenanceWindowExecutionTask$=[9,vD,Tl,0,()=>t.GetMaintenanceWindowExecutionTaskRequest$,()=>t.GetMaintenanceWindowExecutionTaskResult$];t.GetMaintenanceWindowExecutionTaskInvocation$=[9,vD,Nl,0,()=>t.GetMaintenanceWindowExecutionTaskInvocationRequest$,()=>t.GetMaintenanceWindowExecutionTaskInvocationResult$];t.GetMaintenanceWindowTask$=[9,vD,$l,0,()=>t.GetMaintenanceWindowTaskRequest$,()=>t.GetMaintenanceWindowTaskResult$];t.GetOpsItem$=[9,vD,Vl,0,()=>t.GetOpsItemRequest$,()=>t.GetOpsItemResponse$];t.GetOpsMetadata$=[9,vD,Wl,0,()=>t.GetOpsMetadataRequest$,()=>t.GetOpsMetadataResult$];t.GetOpsSummary$=[9,vD,zl,0,()=>t.GetOpsSummaryRequest$,()=>t.GetOpsSummaryResult$];t.GetParameter$=[9,vD,Xl,0,()=>t.GetParameterRequest$,()=>t.GetParameterResult$];t.GetParameterHistory$=[9,vD,cu,0,()=>t.GetParameterHistoryRequest$,()=>t.GetParameterHistoryResult$];t.GetParameters$=[9,vD,mu,0,()=>t.GetParametersRequest$,()=>t.GetParametersResult$];t.GetParametersByPath$=[9,vD,su,0,()=>t.GetParametersByPathRequest$,()=>t.GetParametersByPathResult$];t.GetPatchBaseline$=[9,vD,Zl,0,()=>t.GetPatchBaselineRequest$,()=>t.GetPatchBaselineResult$];t.GetPatchBaselineForPatchGroup$=[9,vD,eu,0,()=>t.GetPatchBaselineForPatchGroupRequest$,()=>t.GetPatchBaselineForPatchGroupResult$];t.GetResourcePolicies$=[9,vD,pu,0,()=>t.GetResourcePoliciesRequest$,()=>t.GetResourcePoliciesResponse$];t.GetServiceSetting$=[9,vD,Bu,0,()=>t.GetServiceSettingRequest$,()=>t.GetServiceSettingResult$];t.LabelParameterVersion$=[9,vD,Pm,0,()=>t.LabelParameterVersionRequest$,()=>t.LabelParameterVersionResult$];t.ListAssociations$=[9,vD,Nh,0,()=>t.ListAssociationsRequest$,()=>t.ListAssociationsResult$];t.ListAssociationVersions$=[9,vD,Lh,0,()=>t.ListAssociationVersionsRequest$,()=>t.ListAssociationVersionsResult$];t.ListCommandInvocations$=[9,vD,Gh,0,()=>t.ListCommandInvocationsRequest$,()=>t.ListCommandInvocationsResult$];t.ListCommands$=[9,vD,Xh,0,()=>t.ListCommandsRequest$,()=>t.ListCommandsResult$];t.ListComplianceItems$=[9,vD,Wh,0,()=>t.ListComplianceItemsRequest$,()=>t.ListComplianceItemsResult$];t.ListComplianceSummaries$=[9,vD,zh,0,()=>t.ListComplianceSummariesRequest$,()=>t.ListComplianceSummariesResult$];t.ListDocumentMetadataHistory$=[9,vD,em,0,()=>t.ListDocumentMetadataHistoryRequest$,()=>t.ListDocumentMetadataHistoryResponse$];t.ListDocuments$=[9,vD,Zh,0,()=>t.ListDocumentsRequest$,()=>t.ListDocumentsResult$];t.ListDocumentVersions$=[9,vD,rm,0,()=>t.ListDocumentVersionsRequest$,()=>t.ListDocumentVersionsResult$];t.ListInventoryEntries$=[9,vD,um,0,()=>t.ListInventoryEntriesRequest$,()=>t.ListInventoryEntriesResult$];t.ListNodes$=[9,vD,fm,0,()=>t.ListNodesRequest$,()=>t.ListNodesResult$];t.ListNodesSummary$=[9,vD,Qm,0,()=>t.ListNodesSummaryRequest$,()=>t.ListNodesSummaryResult$];t.ListOpsItemEvents$=[9,vD,Rm,0,()=>t.ListOpsItemEventsRequest$,()=>t.ListOpsItemEventsResponse$];t.ListOpsItemRelatedItems$=[9,vD,bm,0,()=>t.ListOpsItemRelatedItemsRequest$,()=>t.ListOpsItemRelatedItemsResponse$];t.ListOpsMetadata$=[9,vD,vm,0,()=>t.ListOpsMetadataRequest$,()=>t.ListOpsMetadataResult$];t.ListResourceComplianceSummaries$=[9,vD,Um,0,()=>t.ListResourceComplianceSummariesRequest$,()=>t.ListResourceComplianceSummariesResult$];t.ListResourceDataSync$=[9,vD,Gm,0,()=>t.ListResourceDataSyncRequest$,()=>t.ListResourceDataSyncResult$];t.ListTagsForResource$=[9,vD,Zm,0,()=>t.ListTagsForResourceRequest$,()=>t.ListTagsForResourceResult$];t.ModifyDocumentPermission$=[9,vD,pp,0,()=>t.ModifyDocumentPermissionRequest$,()=>t.ModifyDocumentPermissionResponse$];t.PutComplianceItems$=[9,vD,fI,0,()=>t.PutComplianceItemsRequest$,()=>t.PutComplianceItemsResult$];t.PutInventory$=[9,vD,GI,0,()=>t.PutInventoryRequest$,()=>t.PutInventoryResult$];t.PutParameter$=[9,vD,tC,0,()=>t.PutParameterRequest$,()=>t.PutParameterResult$];t.PutResourcePolicy$=[9,vD,lC,0,()=>t.PutResourcePolicyRequest$,()=>t.PutResourcePolicyResponse$];t.RegisterDefaultPatchBaseline$=[9,vD,hB,0,()=>t.RegisterDefaultPatchBaselineRequest$,()=>t.RegisterDefaultPatchBaselineResult$];t.RegisterPatchBaselineForPatchGroup$=[9,vD,ZB,0,()=>t.RegisterPatchBaselineForPatchGroupRequest$,()=>t.RegisterPatchBaselineForPatchGroupResult$];t.RegisterTargetWithMaintenanceWindow$=[9,vD,IQ,0,()=>t.RegisterTargetWithMaintenanceWindowRequest$,()=>t.RegisterTargetWithMaintenanceWindowResult$];t.RegisterTaskWithMaintenanceWindow$=[9,vD,SQ,0,()=>t.RegisterTaskWithMaintenanceWindowRequest$,()=>t.RegisterTaskWithMaintenanceWindowResult$];t.RemoveTagsFromResource$=[9,vD,pQ,0,()=>t.RemoveTagsFromResourceRequest$,()=>t.RemoveTagsFromResourceResult$];t.ResetServiceSetting$=[9,vD,uQ,0,()=>t.ResetServiceSettingRequest$,()=>t.ResetServiceSettingResult$];t.ResumeSession$=[9,vD,hQ,0,()=>t.ResumeSessionRequest$,()=>t.ResumeSessionResponse$];t.SendAutomationSignal$=[9,vD,ty,0,()=>t.SendAutomationSignalRequest$,()=>t.SendAutomationSignalResult$];t.SendCommand$=[9,vD,dy,0,()=>t.SendCommandRequest$,()=>t.SendCommandResult$];t.StartAccessRequest$=[9,vD,XQ,0,()=>t.StartAccessRequestRequest$,()=>t.StartAccessRequestResponse$];t.StartAssociationsOnce$=[9,vD,zQ,0,()=>t.StartAssociationsOnceRequest$,()=>t.StartAssociationsOnceResult$];t.StartAutomationExecution$=[9,vD,HQ,0,()=>t.StartAutomationExecutionRequest$,()=>t.StartAutomationExecutionResult$];t.StartChangeRequestExecution$=[9,vD,ay,0,()=>t.StartChangeRequestExecutionRequest$,()=>t.StartChangeRequestExecutionResult$];t.StartExecutionPreview$=[9,vD,wy,0,()=>t.StartExecutionPreviewRequest$,()=>t.StartExecutionPreviewResponse$];t.StartSession$=[9,vD,fS,0,()=>t.StartSessionRequest$,()=>t.StartSessionResponse$];t.StopAutomationExecution$=[9,vD,YQ,0,()=>t.StopAutomationExecutionRequest$,()=>t.StopAutomationExecutionResult$];t.TerminateSession$=[9,vD,OR,0,()=>t.TerminateSessionRequest$,()=>t.TerminateSessionResponse$];t.UnlabelParameterVersion$=[9,vD,qw,0,()=>t.UnlabelParameterVersionRequest$,()=>t.UnlabelParameterVersionResult$];t.UpdateAssociation$=[9,vD,ZR,0,()=>t.UpdateAssociationRequest$,()=>t.UpdateAssociationResult$];t.UpdateAssociationStatus$=[9,vD,nw,0,()=>t.UpdateAssociationStatusRequest$,()=>t.UpdateAssociationStatusResult$];t.UpdateDocument$=[9,vD,aw,0,()=>t.UpdateDocumentRequest$,()=>t.UpdateDocumentResult$];t.UpdateDocumentDefaultVersion$=[9,vD,cw,0,()=>t.UpdateDocumentDefaultVersionRequest$,()=>t.UpdateDocumentDefaultVersionResult$];t.UpdateDocumentMetadata$=[9,vD,uw,0,()=>t.UpdateDocumentMetadataRequest$,()=>t.UpdateDocumentMetadataResponse$];t.UpdateMaintenanceWindow$=[9,vD,Qw,0,()=>t.UpdateMaintenanceWindowRequest$,()=>t.UpdateMaintenanceWindowResult$];t.UpdateMaintenanceWindowTarget$=[9,vD,Rw,0,()=>t.UpdateMaintenanceWindowTargetRequest$,()=>t.UpdateMaintenanceWindowTargetResult$];t.UpdateMaintenanceWindowTask$=[9,vD,Mw,0,()=>t.UpdateMaintenanceWindowTaskRequest$,()=>t.UpdateMaintenanceWindowTaskResult$];t.UpdateManagedInstanceRole$=[9,vD,Iw,0,()=>t.UpdateManagedInstanceRoleRequest$,()=>t.UpdateManagedInstanceRoleResult$];t.UpdateOpsItem$=[9,vD,Nw,0,()=>t.UpdateOpsItemRequest$,()=>t.UpdateOpsItemResponse$];t.UpdateOpsMetadata$=[9,vD,Fw,0,()=>t.UpdateOpsMetadataRequest$,()=>t.UpdateOpsMetadataResult$];t.UpdatePatchBaseline$=[9,vD,$w,0,()=>t.UpdatePatchBaselineRequest$,()=>t.UpdatePatchBaselineResult$];t.UpdateResourceDataSync$=[9,vD,Jw,0,()=>t.UpdateResourceDataSyncRequest$,()=>t.UpdateResourceDataSyncResult$];t.UpdateServiceSetting$=[9,vD,Xw,0,()=>t.UpdateServiceSettingRequest$,()=>t.UpdateServiceSettingResult$]},5152:(e,t,n)=>{"use strict";var o=n(3609);var i=n(3422);var a=n(9320);var d=n(402);var h=n(8161);var m=n(1708);var f=n(7291);var Q=n(1455);var k=n(6760);var P=n(2085);const L={warningEmitted:false};const emitWarningIfUnsupportedVersion=e=>{if(e&&!L.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){L.warningEmitted=true;return}const t=parseInt(e.substring(1,e.indexOf(".")));const n=22;if(t=${n}. You are running node ${e}.\n\nTo continue receiving updates to AWS services, bug fixes,\nand security updates please upgrade to node >=${n}.\n\nMore information can be found at: https://a.co/c895JFp`)}}};const longPollMiddleware=()=>(e,t)=>async n=>{t.__retryLongPoll=true;return e(n)};const U={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:true};const getLongPollPlugin=e=>({applyToStack:e=>{e.add(longPollMiddleware(),U)}});function setCredentialFeature(e,t,n){if(!e.$source){e.$source={}}e.$source[t]=n;return e}o.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function setFeature(e,t,n){if(!e.__aws_sdk_context){e.__aws_sdk_context={features:{}}}else if(!e.__aws_sdk_context.features){e.__aws_sdk_context.features={}}e.__aws_sdk_context.features[t]=n}function setTokenFeature(e,t,n){if(!e.$source){e.$source={}}e.$source[t]=n;return e}function resolveHostHeaderConfig(e){return e}const hostHeaderMiddleware=e=>t=>async n=>{if(!i.HttpRequest.isInstance(n.request))return t(n);const{request:o}=n;const{handlerProtocol:a=""}=e.requestHandler.metadata||{};if(a.indexOf("h2")>=0&&!o.headers[":authority"]){delete o.headers["host"];o.headers[":authority"]=o.hostname+(o.port?":"+o.port:"")}else if(!o.headers["host"]){let e=o.hostname;if(o.port!=null)e+=`:${o.port}`;o.headers["host"]=e}return t(n)};const H={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:true};const getHostHeaderPlugin=e=>({applyToStack:t=>{t.add(hostHeaderMiddleware(e),H)}});const loggerMiddleware=()=>(e,t)=>async n=>{try{const o=await e(n);const{clientName:i,commandName:a,logger:d,dynamoDbDocumentClientOptions:h={}}=t;const{overrideInputFilterSensitiveLog:m,overrideOutputFilterSensitiveLog:f}=h;const Q=m??t.inputFilterSensitiveLog;const k=f??t.outputFilterSensitiveLog;const{$metadata:P,...L}=o.output;d?.info?.({clientName:i,commandName:a,input:Q(n.input),output:k(L),metadata:P});return o}catch(e){const{clientName:o,commandName:i,logger:a,dynamoDbDocumentClientOptions:d={}}=t;const{overrideInputFilterSensitiveLog:h}=d;const m=h??t.inputFilterSensitiveLog;a?.error?.({clientName:o,commandName:i,input:m(n.input),error:e,metadata:e.$metadata});throw e}};const V={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:true};const getLoggerPlugin=e=>({applyToStack:e=>{e.add(loggerMiddleware(),V)}});const _={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:true,priority:"low"};const W="X-Amzn-Trace-Id";const Y="AWS_LAMBDA_FUNCTION_NAME";const J="_X_AMZN_TRACE_ID";const recursionDetectionMiddleware=()=>e=>async t=>{const{request:n}=t;if(!i.HttpRequest.isInstance(n)){return e(t)}const o=Object.keys(n.headers??{}).find(e=>e.toLowerCase()===W.toLowerCase())??W;if(n.headers.hasOwnProperty(o)){return e(t)}const d=process.env[Y];const h=process.env[J];const m=await a.InvokeStore.getInstanceAsync();const f=m?.getXRayTraceId();const Q=f??h;const nonEmptyString=e=>typeof e==="string"&&e.length>0;if(nonEmptyString(d)&&nonEmptyString(Q)){n.headers[W]=Q}return e({...t,request:n})};const getRecursionDetectionPlugin=e=>({applyToStack:e=>{e.add(recursionDetectionMiddleware(),_)}});const j=undefined;function isValidUserAgentAppId(e){if(e===undefined){return true}return typeof e==="string"&&e.length<=50}function resolveUserAgentConfig(e){const t=d.normalizeProvider(e.userAgentAppId??j);const{customUserAgent:n}=e;return Object.assign(e,{customUserAgent:typeof n==="string"?[[n]]:n,userAgentAppId:async()=>{const n=await t();if(!isValidUserAgentAppId(n)){const t=e.logger?.constructor?.name==="NoOpLogger"||!e.logger?console:e.logger;if(typeof n!=="string"){t?.warn("userAgentAppId must be a string or undefined.")}else if(n.length>50){t?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}}return n}})}const K={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|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"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)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws 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)"},"mx-central-1":{description:"Mexico (Central)"},"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-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:true,supportsFIPS:true},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso 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:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:true,supportsFIPS:true},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{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-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],version:"1.1"};let X=K;let Z="";const partition=e=>{const{partitions:t}=X;for(const n of t){const{regions:t,outputs:o}=n;for(const[n,i]of Object.entries(t)){if(n===e){return{...o,...i}}}}for(const n of t){const{regionRegex:t,outputs:o}=n;if(new RegExp(t).test(e)){return{...o}}}const n=t.find(e=>e.id==="aws");if(!n){throw new Error("Provided region was not found in the partition array or regex,"+" and default partition with id 'aws' doesn't exist.")}return{...n.outputs}};const setPartitionInfo=(e,t="")=>{X=e;Z=t};const useDefaultPartitionInfo=()=>{setPartitionInfo(K,"")};const getUserAgentPrefix=()=>Z;const ee=/\d{12}\.ddb/;async function checkFeatures(e,t,n){const i=n.request;if(i?.headers?.["smithy-protocol"]==="rpc-v2-cbor"){setFeature(e,"PROTOCOL_RPC_V2_CBOR","M")}if(typeof t.retryStrategy==="function"){const n=await t.retryStrategy();if(typeof n.mode==="string"){switch(n.mode){case o.RETRY_MODES.ADAPTIVE:setFeature(e,"RETRY_MODE_ADAPTIVE","F");break;case o.RETRY_MODES.STANDARD:setFeature(e,"RETRY_MODE_STANDARD","E");break}}}if(typeof t.accountIdEndpointMode==="function"){const n=e.endpointV2;if(String(n?.url?.hostname).match(ee)){setFeature(e,"ACCOUNT_ID_ENDPOINT","O")}switch(await(t.accountIdEndpointMode?.())){case"disabled":setFeature(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":setFeature(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":setFeature(e,"ACCOUNT_ID_MODE_REQUIRED","R");break}}const a=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(a?.$source){const t=a;if(t.accountId){setFeature(e,"RESOLVED_ACCOUNT_ID","T")}for(const[n,o]of Object.entries(t.$source??{})){setFeature(e,n,o)}}}const te="user-agent";const ne="x-amz-user-agent";const se=" ";const oe="/";const re=/[^!$%&'*+\-.^_`|~\w]/g;const ie=/[^!$%&'*+\-.^_`|~\w#]/g;const ae="-";const ce=1024;function encodeFeatures(e){let t="";for(const n in e){const o=e[n];if(t.length+o.length+1<=ce){if(t.length){t+=","+o}else{t+=o}continue}break}return t}const userAgentMiddleware=e=>(t,n)=>async o=>{const{request:a}=o;if(!i.HttpRequest.isInstance(a)){return t(o)}const{headers:d}=a;const h=n?.userAgent?.map(escapeUserAgent)||[];const m=(await e.defaultUserAgentProvider()).map(escapeUserAgent);await checkFeatures(n,e,o);const f=n;m.push(`m/${encodeFeatures(Object.assign({},n.__smithy_context?.features,f.__aws_sdk_context?.features))}`);const Q=e?.customUserAgent?.map(escapeUserAgent)||[];const k=await e.userAgentAppId();if(k){m.push(escapeUserAgent([`app`,`${k}`]))}const P=getUserAgentPrefix();const L=(P?[P]:[]).concat([...m,...h,...Q]).join(se);const U=[...m.filter(e=>e.startsWith("aws-sdk-")),...Q].join(se);if(e.runtime!=="browser"){if(U){d[ne]=d[ne]?`${d[te]} ${U}`:U}d[te]=L}else{d[ne]=L}return t({...o,request:a})};const escapeUserAgent=e=>{const t=e[0].split(oe).map(e=>e.replace(re,ae)).join(oe);const n=e[1]?.replace(ie,ae);const o=t.indexOf(oe);const i=t.substring(0,o);let a=t.substring(o+1);if(i==="api"){a=a.toLowerCase()}return[i,a,n].filter(e=>e&&e.length>0).reduce((e,t,n)=>{switch(n){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")};const Ae={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:true};const getUserAgentPlugin=e=>({applyToStack:t=>{t.add(userAgentMiddleware(e),Ae)}});const getRuntimeUserAgentPair=()=>{const e=["deno","bun","llrt"];for(const t of e){if(m.versions[t]){return[`md/${t}`,m.versions[t]]}}return["md/nodejs",m.versions.node]};const getNodeModulesParentDirs=e=>{const t=process.cwd();if(!e){return[t]}const n=k.normalize(e);const o=n.split(k.sep);const i=o.indexOf("node_modules");const a=i!==-1?o.slice(0,i).join(k.sep):n;if(t===a){return[t]}return[a,t]};const le=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;const getSanitizedTypeScriptVersion=(e="")=>{const t=e.match(le);if(!t){return undefined}const[n,o,i,a]=[t[1],t[2],t[3],t[4]];return a?`${n}.${o}.${i}-${a}`:`${n}.${o}.${i}`};const ue=["^","~",">=","<=",">","<"];const de=["latest","beta","dev","rc","insiders","next"];const getSanitizedDevTypeScriptVersion=(e="")=>{if(de.includes(e)){return e}const t=ue.find(t=>e.startsWith(t))??"";const n=getSanitizedTypeScriptVersion(e.slice(t.length));if(!n){return undefined}return`${t}${n}`};let ge;const he=k.join("node_modules","typescript","package.json");const getTypeScriptUserAgentPair=async()=>{if(ge===null){return undefined}else if(typeof ge==="string"){return["md/tsc",ge]}let e=false;try{e=f.booleanSelector(process.env,"AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED",f.SelectorType.ENV)||false}catch{}if(e){ge=null;return undefined}const t=typeof __dirname!=="undefined"?__dirname:undefined;const n=getNodeModulesParentDirs(t);let o;for(const e of n){try{const t=k.join(e,"package.json");const n=await Q.readFile(t,"utf-8");const{dependencies:i,devDependencies:a}=JSON.parse(n);const d=a?.typescript??i?.typescript;if(typeof d!=="string"){continue}o=d;break}catch{}}if(!o){ge=null;return undefined}let i;for(const e of n){try{const t=k.join(e,he);const n=await Q.readFile(t,"utf-8");const{version:o}=JSON.parse(n);const a=getSanitizedTypeScriptVersion(o);if(typeof a!=="string"){continue}i=a;break}catch{}}if(i){ge=i;return["md/tsc",ge]}const a=getSanitizedDevTypeScriptVersion(o);if(typeof a!=="string"){ge=null;return undefined}ge=`dev_${a}`;return["md/tsc",ge]};const me={isCrtAvailable:false};const isCrtAvailable=()=>{if(me.isCrtAvailable){return["md/crt-avail"]}return null};const createDefaultUserAgentProvider=({serviceId:e,clientVersion:t})=>{const n=getRuntimeUserAgentPair();return async o=>{const i=[["aws-sdk-js",t],["ua","2.1"],[`os/${h.platform()}`,h.release()],["lang/js"],n];const a=await getTypeScriptUserAgentPair();if(a){i.push(a)}const d=isCrtAvailable();if(d){i.push(d)}if(e){i.push([`api/${e}`,t])}if(m.env.AWS_EXECUTION_ENV){i.push([`exec-env/${m.env.AWS_EXECUTION_ENV}`])}const f=await(o?.userAgentAppId?.());const Q=f?[...i,[`app/${f}`]]:[...i];return Q}};const pe=createDefaultUserAgentProvider;const Ee="AWS_SDK_UA_APP_ID";const fe="sdk_ua_app_id";const Ie="sdk-ua-app-id";const Ce={environmentVariableSelector:e=>e[Ee],configFileSelector:e=>e[fe]??e[Ie],default:j};const createUserAgentStringParsingProvider=({serviceId:e,clientVersion:t})=>async o=>{const i=await n.e(449).then(n.t.bind(n,9449,23));const a=i.parse??i.default.parse??(()=>"");const d=typeof window!=="undefined"&&window?.navigator?.userAgent?a(window.navigator.userAgent):undefined;const h=[["aws-sdk-js",t],["ua","2.1"],[`os/${d?.os?.name||"other"}`,d?.os?.version],["lang/js"],["md/browser",`${d?.browser?.name??"unknown"}_${d?.browser?.version??"unknown"}`]];if(e){h.push([`api/${e}`,t])}const m=await(o?.userAgentAppId?.());if(m){h.push([`app/${m}`])}return h};const Be={os(e){if(/iPhone|iPad|iPod/.test(e))return"iOS";if(/Macintosh|Mac OS X/.test(e))return"macOS";if(/Windows NT/.test(e))return"Windows";if(/Android/.test(e))return"Android";if(/Linux/.test(e))return"Linux";return undefined},browser(e){if(/EdgiOS|EdgA|Edg\//.test(e))return"Microsoft Edge";if(/Firefox\//.test(e))return"Firefox";if(/Chrome\//.test(e))return"Chrome";if(/Safari\//.test(e))return"Safari";return undefined}};const isVirtualHostableS3Bucket=(e,t=false)=>{if(t){for(const t of e.split(".")){if(!isVirtualHostableS3Bucket(t)){return false}}return true}if(!P.isValidHostLabel(e)){return false}if(e.length<3||e.length>63){return false}if(e!==e.toLowerCase()){return false}if(P.isIpAddress(e)){return false}return true};const Qe=":";const ye="/";const parseArn=e=>{const t=e.split(Qe);if(t.length<6)return null;const[n,o,i,a,d,...h]=t;if(n!=="arn"||o===""||i===""||h.join(Qe)==="")return null;const m=h.map(e=>e.split(ye)).flat();return{partition:o,service:i,region:a,accountId:d,resourceId:m}};const Se={isVirtualHostableS3Bucket:isVirtualHostableS3Bucket,parseArn:parseArn,partition:partition};P.customEndpointFunctions.aws=Se;const resolveDefaultAwsRegionalEndpointsConfig=e=>{if(typeof e.endpointProvider!=="function"){throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.")}const{endpoint:t}=e;if(t===undefined){e.endpoint=async()=>toEndpointV1(e.endpointProvider({Region:typeof e.region==="function"?await e.region():e.region,UseDualStack:typeof e.useDualstackEndpoint==="function"?await e.useDualstackEndpoint():e.useDualstackEndpoint,UseFIPS:typeof e.useFipsEndpoint==="function"?await e.useFipsEndpoint():e.useFipsEndpoint,Endpoint:undefined},{logger:e.logger}))}return e};const toEndpointV1=e=>i.parseUrl(e.url);function stsRegionDefaultResolver(e={}){return f.loadConfig({...f.NODE_REGION_CONFIG_OPTIONS,async default(){if(!Re.silence){console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.")}return"us-east-1"}},{...f.NODE_REGION_CONFIG_FILE_OPTIONS,...e})}const Re={silence:false};const getAwsRegionExtensionConfiguration=e=>({setRegion(t){e.region=t},region(){return e.region}});const resolveAwsRegionExtensionConfiguration=e=>({region:e.region()});t.NODE_REGION_CONFIG_FILE_OPTIONS=f.NODE_REGION_CONFIG_FILE_OPTIONS;t.NODE_REGION_CONFIG_OPTIONS=f.NODE_REGION_CONFIG_OPTIONS;t.REGION_ENV_NAME=f.REGION_ENV_NAME;t.REGION_INI_NAME=f.REGION_INI_NAME;t.resolveRegionConfig=f.resolveRegionConfig;t.EndpointError=P.EndpointError;t.isIpAddress=P.isIpAddress;t.resolveEndpoint=P.resolveEndpoint;t.DEFAULT_UA_APP_ID=j;t.NODE_APP_ID_CONFIG_OPTIONS=Ce;t.UA_APP_ID_ENV_NAME=Ee;t.UA_APP_ID_INI_NAME=fe;t.awsEndpointFunctions=Se;t.createDefaultUserAgentProvider=createDefaultUserAgentProvider;t.createUserAgentStringParsingProvider=createUserAgentStringParsingProvider;t.crtAvailability=me;t.defaultUserAgent=pe;t.emitWarningIfUnsupportedVersion=emitWarningIfUnsupportedVersion;t.fallback=Be;t.getAwsRegionExtensionConfiguration=getAwsRegionExtensionConfiguration;t.getHostHeaderPlugin=getHostHeaderPlugin;t.getLoggerPlugin=getLoggerPlugin;t.getLongPollPlugin=getLongPollPlugin;t.getRecursionDetectionPlugin=getRecursionDetectionPlugin;t.getUserAgentMiddlewareOptions=Ae;t.getUserAgentPlugin=getUserAgentPlugin;t.getUserAgentPrefix=getUserAgentPrefix;t.hostHeaderMiddleware=hostHeaderMiddleware;t.hostHeaderMiddlewareOptions=H;t.isVirtualHostableS3Bucket=isVirtualHostableS3Bucket;t.loggerMiddleware=loggerMiddleware;t.loggerMiddlewareOptions=V;t.parseArn=parseArn;t.partition=partition;t.recursionDetectionMiddleware=recursionDetectionMiddleware;t.recursionDetectionMiddlewareOptions=_;t.resolveAwsRegionExtensionConfiguration=resolveAwsRegionExtensionConfiguration;t.resolveDefaultAwsRegionalEndpointsConfig=resolveDefaultAwsRegionalEndpointsConfig;t.resolveHostHeaderConfig=resolveHostHeaderConfig;t.resolveUserAgentConfig=resolveUserAgentConfig;t.setCredentialFeature=setCredentialFeature;t.setFeature=setFeature;t.setPartitionInfo=setPartitionInfo;t.setTokenFeature=setTokenFeature;t.state=L;t.stsRegionDefaultResolver=stsRegionDefaultResolver;t.stsRegionWarning=Re;t.toEndpointV1=toEndpointV1;t.useDefaultPartitionInfo=useDefaultPartitionInfo;t.userAgentMiddleware=userAgentMiddleware},7523:(e,t,n)=>{"use strict";var o=n(3422);var i=n(402);var a=n(7291);var d=n(5152);var h=n(5118);const getDateHeader=e=>o.HttpResponse.isInstance(e)?e.headers?.date??e.headers?.Date:undefined;const getSkewCorrectedDate=e=>new Date(Date.now()+e);const isClockSkewed=(e,t)=>Math.abs(getSkewCorrectedDate(t).getTime()-e)>=3e5;const getUpdatedSystemClockOffset=(e,t)=>{const n=Date.parse(e);if(isClockSkewed(n,t)){return n-Date.now()}return t};const throwSigningPropertyError=(e,t)=>{if(!t){throw new Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`)}return t};const validateSigningProperties=async e=>{const t=throwSigningPropertyError("context",e.context);const n=throwSigningPropertyError("config",e.config);const o=t.endpointV2?.properties?.authSchemes?.[0];const i=throwSigningPropertyError("signer",n.signer);const a=await i(o);const d=e?.signingRegion;const h=e?.signingRegionSet;const m=e?.signingName;return{config:n,signer:a,signingRegion:d,signingRegionSet:h,signingName:m}};class AwsSdkSigV4Signer{async sign(e,t,n){if(!o.HttpRequest.isInstance(e)){throw new Error("The request is not an instance of `HttpRequest` and cannot be signed")}const i=await validateSigningProperties(n);const{config:a,signer:d}=i;let{signingRegion:h,signingName:m}=i;const f=n.context;if(f?.authSchemes?.length??0>1){const[e,t]=f.authSchemes;if(e?.name==="sigv4a"&&t?.name==="sigv4"){h=t?.signingRegion??h;m=t?.signingName??m}}n._preRequestSystemClockOffset=a.systemClockOffset;const Q=await d.sign(e,{signingDate:getSkewCorrectedDate(a.systemClockOffset),signingRegion:h,signingService:m});return Q}errorHandler(e){return t=>{const n=t;const o=n.ServerTime??getDateHeader(n.$response);if(o){const t=throwSigningPropertyError("config",e.config);const i=e._preRequestSystemClockOffset;const a=getUpdatedSystemClockOffset(o,t.systemClockOffset);const d=a!==t.systemClockOffset;const h=i!==undefined&&i!==a;const m=d||h;if(m&&n.$metadata){t.systemClockOffset=a;n.$metadata.clockSkewCorrected=true}}throw t}}successHandler(e,t){const n=getDateHeader(e);if(n){const e=throwSigningPropertyError("config",t.config);e.systemClockOffset=getUpdatedSystemClockOffset(n,e.systemClockOffset)}}}const m=AwsSdkSigV4Signer;class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer{async sign(e,t,n){if(!o.HttpRequest.isInstance(e)){throw new Error("The request is not an instance of `HttpRequest` and cannot be signed")}const{config:i,signer:a,signingRegion:d,signingRegionSet:h,signingName:m}=await validateSigningProperties(n);const f=await(i.sigv4aSigningRegionSet?.());const Q=(f??h??[d]).join(",");n._preRequestSystemClockOffset=i.systemClockOffset;const k=await a.sign(e,{signingDate:getSkewCorrectedDate(i.systemClockOffset),signingRegion:Q,signingService:m});return k}}const getArrayForCommaSeparatedString=e=>typeof e==="string"&&e.length>0?e.split(",").map(e=>e.trim()):[];const getBearerTokenEnvKey=e=>`AWS_BEARER_TOKEN_${e.replace(/[\s-]/g,"_").toUpperCase()}`;const f="AWS_AUTH_SCHEME_PREFERENCE";const Q="auth_scheme_preference";const k={environmentVariableSelector:(e,t)=>{if(t?.signingName){const n=getBearerTokenEnvKey(t.signingName);if(n in e)return["httpBearerAuth"]}if(!(f in e))return undefined;return getArrayForCommaSeparatedString(e[f])},configFileSelector:e=>{if(!(Q in e))return undefined;return getArrayForCommaSeparatedString(e[Q])},default:[]};const resolveAwsSdkSigV4AConfig=e=>{e.sigv4aSigningRegionSet=i.normalizeProvider(e.sigv4aSigningRegionSet);return e};const P={environmentVariableSelector(e){if(e.AWS_SIGV4A_SIGNING_REGION_SET){return e.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map(e=>e.trim())}throw new a.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:true})},configFileSelector(e){if(e.sigv4a_signing_region_set){return(e.sigv4a_signing_region_set??"").split(",").map(e=>e.trim())}throw new a.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:true})},default:undefined};const resolveAwsSdkSigV4Config=e=>{let t=e.credentials;let n=!!e.credentials;let o=undefined;Object.defineProperty(e,"credentials",{set(i){if(i&&i!==t&&i!==o){n=true}t=i;const a=normalizeCredentialProvider(e,{credentials:t,credentialDefaultProvider:e.credentialDefaultProvider});const h=bindCallerConfig(e,a);if(n&&!h.attributed){const e=typeof t==="object"&&t!==null;o=async t=>{const n=await h(t);const o=n;if(e&&(!o.$source||Object.keys(o.$source).length===0)){return d.setCredentialFeature(o,"CREDENTIALS_CODE","e")}return o};o.memoized=h.memoized;o.configBound=h.configBound;o.attributed=true}else{o=h}},get(){return o},enumerable:true,configurable:true});e.credentials=t;const{signingEscapePath:a=true,systemClockOffset:m=e.systemClockOffset||0,sha256:f}=e;let Q;if(e.signer){Q=i.normalizeProvider(e.signer)}else if(e.regionInfoProvider){Q=()=>i.normalizeProvider(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,n])=>{const{signingRegion:o,signingService:i}=t;e.signingRegion=e.signingRegion||o||n;e.signingName=e.signingName||i||e.serviceId;const d={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:f,uriEscapePath:a};const m=e.signerConstructor||h.SignatureV4;return new m(d)})}else{Q=async t=>{t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await i.normalizeProvider(e.region)(),properties:{}},t);const n=t.signingRegion;const o=t.signingName;e.signingRegion=e.signingRegion||n;e.signingName=e.signingName||o||e.serviceId;const d={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:f,uriEscapePath:a};const m=e.signerConstructor||h.SignatureV4;return new m(d)}}const k=Object.assign(e,{systemClockOffset:m,signingEscapePath:a,signer:Q});return k};const L=resolveAwsSdkSigV4Config;function normalizeCredentialProvider(e,{credentials:t,credentialDefaultProvider:n}){let o;if(t){if(!t?.memoized){o=i.memoizeIdentityProvider(t,i.isIdentityExpired,i.doesIdentityRequireRefresh)}else{o=t}}else{if(n){o=i.normalizeProvider(n(Object.assign({},e,{parentClientConfig:e})))}else{o=async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")}}}o.memoized=true;return o}function bindCallerConfig(e,t){if(t.configBound){return t}const fn=async n=>t({...n,callerClientConfig:e});fn.memoized=t.memoized;fn.configBound=true;return fn}t.AWSSDKSigV4Signer=m;t.AwsSdkSigV4ASigner=AwsSdkSigV4ASigner;t.AwsSdkSigV4Signer=AwsSdkSigV4Signer;t.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS=k;t.NODE_SIGV4A_CONFIG_OPTIONS=P;t.getBearerTokenEnvKey=getBearerTokenEnvKey;t.resolveAWSSDKSigV4Config=L;t.resolveAwsSdkSigV4AConfig=resolveAwsSdkSigV4AConfig;t.resolveAwsSdkSigV4Config=resolveAwsSdkSigV4Config;t.validateSigningProperties=validateSigningProperties},7288:(e,t,n)=>{"use strict";var o=n(4645);var i=n(6890);var a=n(2658);var d=n(3422);var h=n(2430);var m=n(4274);class ProtocolLib{queryCompat;errorRegistry;constructor(e=false){this.queryCompat=e}resolveRestContentType(e,t){const n=t.getMemberSchemas();const o=Object.values(n).find(e=>!!e.getMergedTraits().httpPayload);if(o){const t=o.getMergedTraits().mediaType;if(t){return t}else if(o.isStringSchema()){return"text/plain"}else if(o.isBlobSchema()){return"application/octet-stream"}else{return e}}else if(!t.isUnitSchema()){const t=Object.values(n).find(e=>{const{httpQuery:t,httpQueryParams:n,httpHeader:o,httpLabel:i,httpPrefixHeaders:a}=e.getMergedTraits();const d=a===void 0;return!t&&!n&&!o&&!i&&d});if(t){return e}}}async getErrorSchemaOrThrowBaseException(e,t,n,o,i,a){let d=e;if(e.includes("#")){[,d]=e.split("#")}const h={$metadata:i,$fault:n.statusCode<500?"client":"server"};if(!this.errorRegistry){throw new Error("@aws-sdk/core/protocols - error handler not initialized.")}try{const t=a?.(this.errorRegistry,d)??this.errorRegistry.getSchema(e);return{errorSchema:t,errorMetadata:h}}catch(e){o.message=o.message??o.Message??"UnknownError";const t=this.errorRegistry;const n=t.getBaseException();if(n){const e=t.getErrorCtor(n)??Error;throw this.decorateServiceException(Object.assign(new e({name:d}),h),o)}const i=o;const a=i?.message??i?.Message??i?.Error?.Message??i?.Error?.message;throw this.decorateServiceException(Object.assign(new Error(a),{name:d},h),o)}}compose(e,t,n){let o=n;if(t.includes("#")){[o]=t.split("#")}const a=i.TypeRegistry.for(o);const d=i.TypeRegistry.for("smithy.ts.sdk.synthetic."+n);e.copyFrom(a);e.copyFrom(d);this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){const n=e.Message??t.Message;const o=a.decorateServiceException(e,t);if(n){o.message=n}const i=o.Error??{};i.Type=o.Error?.Type;i.Code=o.Error?.Code;i.Message=o.Error?.message??o.Error?.Message??n;o.Error=i;const d=o.$metadata.requestId;if(d){o.RequestId=d}return o}return a.decorateServiceException(e,t)}setQueryCompatError(e,t){const n=t.headers?.["x-amzn-query-error"];if(e!==undefined&&n!=null){const[t,o]=n.split(";");const i=Object.keys(e);const a={Code:t,Type:o};e.Code=t;e.Type=o;for(let t=0;ti.NormalizedSchema.of(e).getMergedTraits().awsQueryError?.[0]===t)}}}class AwsSmithyRpcV2CborProtocol extends o.SmithyRpcV2CborProtocol{awsQueryCompatible;mixin;constructor({defaultNamespace:e,errorTypeRegistries:t,awsQueryCompatible:n}){super({defaultNamespace:e,errorTypeRegistries:t});this.awsQueryCompatible=!!n;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(e,t,n){const o=await super.serializeRequest(e,t,n);if(this.awsQueryCompatible){o.headers["x-amzn-query-mode"]="true"}return o}async handleError(e,t,n,a,d){if(this.awsQueryCompatible){this.mixin.setQueryCompatError(a,n)}const h=(()=>{const e=n.headers["x-amzn-query-error"];if(e&&this.awsQueryCompatible){return e.split(";")[0]}return o.loadSmithyRpcV2CborErrorCode(n,a)??"Unknown"})();this.mixin.compose(this.compositeErrorRegistry,h,this.options.defaultNamespace);const{errorSchema:m,errorMetadata:f}=await this.mixin.getErrorSchemaOrThrowBaseException(h,this.options.defaultNamespace,n,a,d,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:undefined);const Q=i.NormalizedSchema.of(m);const k=a.message??a.Message??"UnknownError";const P=this.compositeErrorRegistry.getErrorCtor(m)??Error;const L=new P({});const U={};for(const[e,t]of Q.structIterator()){if(a[e]!=null){U[e]=this.deserializer.readValue(t,a[e])}}if(this.awsQueryCompatible){this.mixin.queryCompatOutput(a,U)}throw this.mixin.decorateServiceException(Object.assign(L,f,{$fault:Q.getMergedTraits().error,message:k},U),a)}}const _toStr=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};const _toBool=e=>{if(e==null){return e}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};const _toNum=e=>{if(e==null){return e}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};class SerdeContextConfig{serdeContext;setSerdeContext(e){this.serdeContext=e}}class UnionSerde{from;to;keys;constructor(e,t){this.from=e;this.to=t;const n=Object.keys(this.from);const o=new Set(n);o.delete("__type");this.keys=o}mark(e){this.keys.delete(e)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){const e=this.keys.values().next().value;const t=this.from[e];this.to.$unknown=[e,t]}}}function jsonReviver(e,t,n){if(n?.source){const e=n.source;if(typeof t==="number"){if(t>Number.MAX_SAFE_INTEGER||td.collectBody(e,t).then(e=>(t?.utf8Encoder??h.toUtf8)(e));const parseJsonBody=(e,t)=>collectBodyString(e,t).then(e=>{if(e.length){try{return JSON.parse(e)}catch(t){if(t?.name==="SyntaxError"){Object.defineProperty(t,"$responseBodyText",{value:e})}throw t}}return{}});const parseJsonErrorBody=async(e,t)=>{const n=await parseJsonBody(e,t);n.message=n.message??n.Message;return n};const findKey=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase());const sanitizeErrorCode=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};const loadRestJsonErrorCode=(e,t)=>loadErrorCode(e,t,["header","code","type"]);const loadJsonRpcErrorCode=(e,t,n=false)=>loadErrorCode(e,t,n?["code","header","type"]:["type","code","header"]);const loadErrorCode=({headers:e},t,n)=>{while(n.length>0){const o=n.shift();switch(o){case"header":const n=findKey(e??{},"x-amzn-errortype");if(n!==undefined){return sanitizeErrorCode(e[n])}break;case"code":const o=findKey(t??{},"code");if(o&&t[o]!==undefined){return sanitizeErrorCode(t[o])}break;case"type":if(t?.__type!==undefined){return sanitizeErrorCode(t.__type)}break}}};class JsonShapeDeserializer extends SerdeContextConfig{settings;constructor(e){super();this.settings=e}async read(e,t){return this._read(e,typeof t==="string"?JSON.parse(t,jsonReviver):await parseJsonBody(t,this.serdeContext))}readObject(e,t){return this._read(e,t)}_read(e,t){const n=t!==null&&typeof t==="object";const o=i.NormalizedSchema.of(e);if(n){if(o.isStructSchema()){const e=t;const n=o.isUnionSchema();const i={};let a=void 0;const{jsonName:d}=this.settings;if(d){a={}}let h;if(n){h=new UnionSerde(e,i)}for(const[t,m]of o.structIterator()){let o=t;if(d){o=m.getMergedTraits().jsonName??o;a[o]=t}if(n){h.mark(o)}if(e[o]!=null){i[t]=this._read(m,e[o])}}if(n){h.writeUnknown()}else if(typeof e.__type==="string"){for(const t in e){const n=e[t];const o=d?a[t]??t:t;if(!(o in i)){i[o]=n}}}return i}if(Array.isArray(t)&&o.isListSchema()){const e=o.getValueSchema();const n=[];for(const o of t){n.push(this._read(e,o))}return n}if(o.isMapSchema()){const e=o.getValueSchema();const n={};for(const o in t){n[o]=this._read(e,t[o])}return n}}if(o.isBlobSchema()&&typeof t==="string"){return h.fromBase64(t)}const a=o.getMergedTraits().mediaType;if(o.isStringSchema()&&typeof t==="string"&&a){const e=a==="application/json"||a.endsWith("+json");if(e){return h.LazyJsonString.from(t)}return t}if(o.isTimestampSchema()&&t!=null){const e=d.determineTimestampFormat(o,this.settings);switch(e){case 5:return h.parseRfc3339DateTimeWithOffset(t);case 6:return h.parseRfc7231DateTime(t);case 7:return h.parseEpochTimestamp(t);default:console.warn("Missing timestamp format, parsing value with Date constructor:",t);return new Date(t)}}if(o.isBigIntegerSchema()&&(typeof t==="number"||typeof t==="string")){return BigInt(t)}if(o.isBigDecimalSchema()&&t!=undefined){if(t instanceof h.NumericValue){return t}const e=t;if(e.type==="bigDecimal"&&"string"in e){return new h.NumericValue(e.string,e.type)}return new h.NumericValue(String(t),"bigDecimal")}if(o.isNumericSchema()&&typeof t==="string"){switch(t){case"Infinity":return Infinity;case"-Infinity":return-Infinity;case"NaN":return NaN}return t}if(o.isDocumentSchema()){if(n){const e=Array.isArray(t)?[]:{};for(const n in t){const i=t[n];if(i instanceof h.NumericValue){e[n]=i}else{e[n]=this._read(o,i)}}return e}else{return structuredClone(t)}}return t}}const f=String.fromCharCode(925);class JsonReplacer{values=new Map;counter=0;stage=0;createReplacer(){if(this.stage===1){throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=1;return(e,t)=>{if(t instanceof h.NumericValue){const e=`${f+"nv"+this.counter++}_`+t.string;this.values.set(`"${e}"`,t.string);return e}if(typeof t==="bigint"){const e=t.toString();const n=`${f+"b"+this.counter++}_`+e;this.values.set(`"${n}"`,e);return n}return t}}replaceInJson(e){if(this.stage===0){throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=2;if(this.counter===0){return e}for(const[t,n]of this.values){e=e.replace(t,n)}return e}}class JsonShapeSerializer extends SerdeContextConfig{settings;buffer;useReplacer=false;rootSchema;constructor(e){super();this.settings=e}write(e,t){this.rootSchema=i.NormalizedSchema.of(e);this.buffer=this._write(this.rootSchema,t)}flush(){const{rootSchema:e,useReplacer:t}=this;this.rootSchema=undefined;this.useReplacer=false;if(e?.isStructSchema()||e?.isDocumentSchema()){if(!t){return JSON.stringify(this.buffer)}const e=new JsonReplacer;return e.replaceInJson(JSON.stringify(this.buffer,e.createReplacer(),0))}return this.buffer}writeDiscriminatedDocument(e,t){this.write(e,t);if(typeof this.buffer==="object"){this.buffer.__type=i.NormalizedSchema.of(e).getName(true)}}_write(e,t,n){const o=t!==null&&typeof t==="object";const a=i.NormalizedSchema.of(e);if(o){if(a.isStructSchema()){const e=t;const n={};const{jsonName:o}=this.settings;let i=void 0;if(o){i={}}let d=0;for(const[t,h]of a.structIterator()){const m=this._write(h,e[t],a);if(m!==undefined){let e=t;if(o){e=h.getMergedTraits().jsonName??t;i[t]=e}n[e]=m;d++}}if(a.isUnionSchema()&&d===0){const{$unknown:t}=e;if(Array.isArray(t)){const[e,o]=t;n[e]=this._write(15,o)}}else if(typeof e.__type==="string"){for(const t in e){const a=e[t];const d=o?i[t]??t:t;if(!(d in n)){n[d]=this._write(15,a)}}}return n}if(Array.isArray(t)&&a.isListSchema()){const e=a.getValueSchema();const n=[];const o=!!a.getMergedTraits().sparse;for(const i of t){if(o||i!=null){n.push(this._write(e,i))}}return n}if(a.isMapSchema()){const e=a.getValueSchema();const n={};const o=!!a.getMergedTraits().sparse;for(const i in t){const a=t[i];if(o||a!=null){n[i]=this._write(e,a)}}return n}if(t instanceof Uint8Array&&(a.isBlobSchema()||a.isDocumentSchema())){if(a===this.rootSchema){return t}return(this.serdeContext?.base64Encoder??h.toBase64)(t)}if(t instanceof Date&&(a.isTimestampSchema()||a.isDocumentSchema())){const e=d.determineTimestampFormat(a,this.settings);switch(e){case 5:return t.toISOString().replace(".000Z","Z");case 6:return h.dateToUtcString(t);case 7:return t.getTime()/1e3;default:console.warn("Missing timestamp format, using epoch seconds",t);return t.getTime()/1e3}}if(t instanceof h.NumericValue){this.useReplacer=true}}if(t===null&&n?.isStructSchema()){return void 0}if(a.isStringSchema()){if(typeof t==="undefined"&&a.isIdempotencyToken()){return h.generateIdempotencyToken()}const e=a.getMergedTraits().mediaType;if(t!=null&&e){const n=e==="application/json"||e.endsWith("+json");if(n){return h.LazyJsonString.from(t)}}return t}if(typeof t==="number"&&a.isNumericSchema()){if(Math.abs(t)===Infinity||isNaN(t)){return String(t)}return t}if(typeof t==="string"&&a.isBlobSchema()){if(a===this.rootSchema){return t}return(this.serdeContext?.base64Encoder??h.toBase64)(t)}if(typeof t==="bigint"){this.useReplacer=true}if(a.isDocumentSchema()){if(o){const e=Array.isArray(t)?[]:{};for(const n in t){const o=t[n];if(o instanceof h.NumericValue){this.useReplacer=true;e[n]=o}else{e[n]=this._write(a,o)}}return e}else{return structuredClone(t)}}return t}}class JsonCodec extends SerdeContextConfig{settings;constructor(e){super();this.settings=e}createSerializer(){const e=new JsonShapeSerializer(this.settings);e.setSerdeContext(this.serdeContext);return e}createDeserializer(){const e=new JsonShapeDeserializer(this.settings);e.setSerdeContext(this.serdeContext);return e}}class AwsJsonRpcProtocol extends d.RpcProtocol{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:n,awsQueryCompatible:o,jsonCodec:i}){super({defaultNamespace:e,errorTypeRegistries:t});this.serviceTarget=n;this.codec=i??new JsonCodec({timestampFormat:{useTrait:true,default:7},jsonName:false});this.serializer=this.codec.createSerializer();this.deserializer=this.codec.createDeserializer();this.awsQueryCompatible=!!o;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(e,t,n){const o=await super.serializeRequest(e,t,n);if(!o.path.endsWith("/")){o.path+="/"}o.headers["content-type"]=`application/x-amz-json-${this.getJsonRpcVersion()}`;o.headers["x-amz-target"]=`${this.serviceTarget}.${e.name}`;if(this.awsQueryCompatible){o.headers["x-amzn-query-mode"]="true"}if(i.deref(e.input)==="unit"||!o.body){o.body="{}"}return o}getPayloadCodec(){return this.codec}async handleError(e,t,n,o,a){const{awsQueryCompatible:d}=this;if(d){this.mixin.setQueryCompatError(o,n)}const h=loadJsonRpcErrorCode(n,o,d)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,h,this.options.defaultNamespace);const{errorSchema:m,errorMetadata:f}=await this.mixin.getErrorSchemaOrThrowBaseException(h,this.options.defaultNamespace,n,o,a,d?this.mixin.findQueryCompatibleError:undefined);const Q=i.NormalizedSchema.of(m);const k=o.message??o.Message??"UnknownError";const P=this.compositeErrorRegistry.getErrorCtor(m)??Error;const L=new P({});const U={};const H=this.codec.createDeserializer();for(const[e,t]of Q.structIterator()){if(o[e]!=null){U[e]=H.readObject(t,o[e])}}if(d){this.mixin.queryCompatOutput(o,U)}throw this.mixin.decorateServiceException(Object.assign(L,f,{$fault:Q.getMergedTraits().error,message:k},U),o)}}class AwsJson1_0Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:n,awsQueryCompatible:o,jsonCodec:i}){super({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:n,awsQueryCompatible:o,jsonCodec:i})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}}class AwsJson1_1Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:n,awsQueryCompatible:o,jsonCodec:i}){super({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:n,awsQueryCompatible:o,jsonCodec:i})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}class AwsRestJsonProtocol extends d.HttpBindingProtocol{serializer;deserializer;codec;mixin=new ProtocolLib;constructor({defaultNamespace:e,errorTypeRegistries:t}){super({defaultNamespace:e,errorTypeRegistries:t});const n={timestampFormat:{useTrait:true,default:7},httpBindings:true,jsonName:true};this.codec=new JsonCodec(n);this.serializer=new d.HttpInterceptingShapeSerializer(this.codec.createSerializer(),n);this.deserializer=new d.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),n)}getShapeId(){return"aws.protocols#restJson1"}getPayloadCodec(){return this.codec}setSerdeContext(e){this.codec.setSerdeContext(e);super.setSerdeContext(e)}async serializeRequest(e,t,n){const o=await super.serializeRequest(e,t,n);const a=i.NormalizedSchema.of(e.input);if(!o.headers["content-type"]){const e=this.mixin.resolveRestContentType(this.getDefaultContentType(),a);if(e){o.headers["content-type"]=e}}if(o.body==null&&o.headers["content-type"]===this.getDefaultContentType()){o.body="{}"}return o}async deserializeResponse(e,t,n){const o=await super.deserializeResponse(e,t,n);const a=i.NormalizedSchema.of(e.output);for(const[e,t]of a.structIterator()){if(t.getMemberTraits().httpPayload&&!(e in o)){o[e]=null}}return o}async handleError(e,t,n,o,a){const d=loadRestJsonErrorCode(n,o)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,d,this.options.defaultNamespace);const{errorSchema:h,errorMetadata:m}=await this.mixin.getErrorSchemaOrThrowBaseException(d,this.options.defaultNamespace,n,o,a);const f=i.NormalizedSchema.of(h);const Q=o.message??o.Message??"UnknownError";const k=this.compositeErrorRegistry.getErrorCtor(h)??Error;const P=new k({});await this.deserializeHttpMessage(h,t,n,o);const L={};const U=this.codec.createDeserializer();for(const[e,t]of f.structIterator()){const n=t.getMergedTraits().jsonName??e;L[e]=U.readObject(t,o[n])}throw this.mixin.decorateServiceException(Object.assign(P,m,{$fault:f.getMergedTraits().error,message:Q},L),o)}getDefaultContentType(){return"application/json"}}const awsExpectUnion=e=>{if(e==null){return undefined}if(typeof e==="object"&&"__type"in e){delete e.__type}return h.expectUnion(e)};class XmlShapeDeserializer extends SerdeContextConfig{settings;stringDeserializer;constructor(e){super();this.settings=e;this.stringDeserializer=new d.FromStringShapeDeserializer(e)}setSerdeContext(e){this.serdeContext=e;this.stringDeserializer.setSerdeContext(e)}read(e,t,n){const o=i.NormalizedSchema.of(e);const a=o.getMemberSchemas();const d=o.isStructSchema()&&o.isMemberSchema()&&!!Object.values(a).find(e=>!!e.getMemberTraits().eventPayload);if(d){const e={};const n=Object.keys(a)[0];const o=a[n];if(o.isBlobSchema()){e[n]=t}else{e[n]=this.read(a[n],t)}return e}const m=(this.serdeContext?.utf8Encoder??h.toUtf8)(t);const f=this.parseXml(m);return this.readSchema(e,n?f[n]:f)}readSchema(e,t){const n=i.NormalizedSchema.of(e);if(n.isUnitSchema()){return}const o=n.getMergedTraits();if(n.isListSchema()&&!Array.isArray(t)){return this.readSchema(n,[t])}if(t==null){return t}if(typeof t==="object"){const e=!!o.xmlFlattened;if(n.isListSchema()){const o=n.getValueSchema();const i=[];const a=o.getMergedTraits().xmlName??"member";const d=e?t:(t[0]??t)[a];if(d==null){return i}const h=Array.isArray(d)?d:[d];for(const e of h){i.push(this.readSchema(o,e))}return i}const i={};if(n.isMapSchema()){const o=n.getKeySchema();const a=n.getValueSchema();let d;if(e){d=Array.isArray(t)?t:[t]}else{d=Array.isArray(t.entry)?t.entry:[t.entry]}const h=o.getMergedTraits().xmlName??"key";const m=a.getMergedTraits().xmlName??"value";for(const e of d){const t=e[h];const n=e[m];i[t]=this.readSchema(a,n)}return i}if(n.isStructSchema()){const e=n.isUnionSchema();let o;if(e){o=new UnionSerde(t,i)}for(const[a,d]of n.structIterator()){const n=d.getMergedTraits();const h=!n.httpPayload?d.getMemberTraits().xmlName??a:n.xmlName??d.getName();if(e){o.mark(h)}if(t[h]!=null){i[a]=this.readSchema(d,t[h])}}if(e){o.writeUnknown()}return i}if(n.isDocumentSchema()){return t}throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${n.getName(true)}`)}if(n.isListSchema()){return[]}if(n.isMapSchema()||n.isStructSchema()){return{}}return this.stringDeserializer.read(n,t)}parseXml(e){if(e.length){let t;try{t=m.parseXML(e)}catch(t){if(t&&typeof t==="object"){Object.defineProperty(t,"$responseBodyText",{value:e})}throw t}const n="#text";const o=Object.keys(t)[0];const i=t[o];if(i[n]){i[o]=i[n];delete i[n]}return a.getValueFromTextNode(i)}return{}}}class QueryShapeSerializer extends SerdeContextConfig{settings;buffer;constructor(e){super();this.settings=e}write(e,t,n=""){if(this.buffer===undefined){this.buffer=""}const o=i.NormalizedSchema.of(e);if(n&&!n.endsWith(".")){n+="."}if(o.isBlobSchema()){if(typeof t==="string"||t instanceof Uint8Array){this.writeKey(n);this.writeValue((this.serdeContext?.base64Encoder??h.toBase64)(t))}}else if(o.isBooleanSchema()||o.isNumericSchema()||o.isStringSchema()){if(t!=null){this.writeKey(n);this.writeValue(String(t))}else if(o.isIdempotencyToken()){this.writeKey(n);this.writeValue(h.generateIdempotencyToken())}}else if(o.isBigIntegerSchema()){if(t!=null){this.writeKey(n);this.writeValue(String(t))}}else if(o.isBigDecimalSchema()){if(t!=null){this.writeKey(n);this.writeValue(t instanceof h.NumericValue?t.string:String(t))}}else if(o.isTimestampSchema()){if(t instanceof Date){this.writeKey(n);const e=d.determineTimestampFormat(o,this.settings);switch(e){case 5:this.writeValue(t.toISOString().replace(".000Z","Z"));break;case 6:this.writeValue(h.dateToUtcString(t));break;case 7:this.writeValue(String(t.getTime()/1e3));break}}}else if(o.isDocumentSchema()){if(Array.isArray(t)){this.write(64|15,t,n)}else if(t instanceof Date){this.write(4,t,n)}else if(t instanceof Uint8Array){this.write(21,t,n)}else if(t&&typeof t==="object"){this.write(128|15,t,n)}else{this.writeKey(n);this.writeValue(String(t))}}else if(o.isListSchema()){if(Array.isArray(t)){if(t.length===0){if(this.settings.serializeEmptyLists){this.writeKey(n);this.writeValue("")}}else{const e=o.getValueSchema();const i=this.settings.flattenLists||o.getMergedTraits().xmlFlattened;let a=1;for(const o of t){if(o==null){continue}const t=e.getMergedTraits();const d=this.getKey("member",t.xmlName,t.ec2QueryName);const h=i?`${n}${a}`:`${n}${d}.${a}`;this.write(e,o,h);++a}}}}else if(o.isMapSchema()){if(t&&typeof t==="object"){const e=o.getKeySchema();const i=o.getValueSchema();const a=o.getMergedTraits().xmlFlattened;let d=1;for(const o in t){const h=t[o];if(h==null){continue}const m=e.getMergedTraits();const f=this.getKey("key",m.xmlName,m.ec2QueryName);const Q=a?`${n}${d}.${f}`:`${n}entry.${d}.${f}`;const k=i.getMergedTraits();const P=this.getKey("value",k.xmlName,k.ec2QueryName);const L=a?`${n}${d}.${P}`:`${n}entry.${d}.${P}`;this.write(e,o,Q);this.write(i,h,L);++d}}}else if(o.isStructSchema()){if(t&&typeof t==="object"){let e=false;for(const[i,a]of o.structIterator()){if(t[i]==null&&!a.isIdempotencyToken()){continue}const o=a.getMergedTraits();const d=this.getKey(i,o.xmlName,o.ec2QueryName,"struct");const h=`${n}${d}`;this.write(a,t[i],h);e=true}if(!e&&o.isUnionSchema()){const{$unknown:e}=t;if(Array.isArray(e)){const[t,o]=e;const i=`${n}${t}`;this.write(15,o,i)}}}}else if(o.isUnitSchema());else{throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${o.getName(true)}`)}}flush(){if(this.buffer===undefined){throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.")}const e=this.buffer;delete this.buffer;return e}getKey(e,t,n,o){const{ec2:i,capitalizeKeys:a}=this.settings;if(i&&n){return n}const d=t??e;if(a&&o==="struct"){return d[0].toUpperCase()+d.slice(1)}return d}writeKey(e){if(e.endsWith(".")){e=e.slice(0,e.length-1)}this.buffer+=`&${d.extendedEncodeURIComponent(e)}=`}writeValue(e){this.buffer+=d.extendedEncodeURIComponent(e)}}class AwsQueryProtocol extends d.RpcProtocol{options;serializer;deserializer;mixin=new ProtocolLib;constructor(e){super({defaultNamespace:e.defaultNamespace,errorTypeRegistries:e.errorTypeRegistries});this.options=e;const t={timestampFormat:{useTrait:true,default:5},httpBindings:false,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace,serializeEmptyLists:true};this.serializer=new QueryShapeSerializer(t);this.deserializer=new XmlShapeDeserializer(t)}getShapeId(){return"aws.protocols#awsQuery"}setSerdeContext(e){this.serializer.setSerdeContext(e);this.deserializer.setSerdeContext(e)}getPayloadCodec(){throw new Error("AWSQuery protocol has no payload codec.")}async serializeRequest(e,t,n){const o=await super.serializeRequest(e,t,n);if(!o.path.endsWith("/")){o.path+="/"}o.headers["content-type"]="application/x-www-form-urlencoded";if(i.deref(e.input)==="unit"||!o.body){o.body=""}const a=e.name.split("#")[1]??e.name;o.body=`Action=${a}&Version=${this.options.version}`+o.body;if(o.body.endsWith("&")){o.body=o.body.slice(-1)}return o}async deserializeResponse(e,t,n){const o=this.deserializer;const a=i.NormalizedSchema.of(e.output);const h={};if(n.statusCode>=300){const i=await d.collectBody(n.body,t);if(i.byteLength>0){Object.assign(h,await o.read(15,i))}await this.handleError(e,t,n,h,this.deserializeMetadata(n))}for(const e in n.headers){const t=n.headers[e];delete n.headers[e];n.headers[e.toLowerCase()]=t}const m=e.name.split("#")[1]??e.name;const f=a.isStructSchema()&&this.useNestedResult()?m+"Result":undefined;const Q=await d.collectBody(n.body,t);if(Q.byteLength>0){Object.assign(h,await o.read(a,Q,f))}h.$metadata=this.deserializeMetadata(n);return h}useNestedResult(){return true}async handleError(e,t,n,o,a){const d=this.loadQueryErrorCode(n,o)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,d,this.options.defaultNamespace);const h=this.loadQueryError(o)??{};const m=this.loadQueryErrorMessage(o);h.message=m;h.Error={Type:h.Type,Code:h.Code,Message:m};const{errorSchema:f,errorMetadata:Q}=await this.mixin.getErrorSchemaOrThrowBaseException(d,this.options.defaultNamespace,n,h,a,this.mixin.findQueryCompatibleError);const k=i.NormalizedSchema.of(f);const P=this.compositeErrorRegistry.getErrorCtor(f)??Error;const L=new P({});const U={Type:h.Error.Type,Code:h.Error.Code,Error:h.Error};for(const[e,t]of k.structIterator()){const n=t.getMergedTraits().xmlName??e;const i=h[n]??o[n];U[e]=this.deserializer.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(L,Q,{$fault:k.getMergedTraits().error,message:m},U),o)}loadQueryErrorCode(e,t){const n=(t.Errors?.[0]?.Error??t.Errors?.Error??t.Error)?.Code;if(n!==undefined){return n}if(e.statusCode==404){return"NotFound"}}loadQueryError(e){return e.Errors?.[0]?.Error??e.Errors?.Error??e.Error}loadQueryErrorMessage(e){const t=this.loadQueryError(e);return t?.message??t?.Message??e.message??e.Message??"Unknown"}getDefaultContentType(){return"application/x-www-form-urlencoded"}}class AwsEc2QueryProtocol extends AwsQueryProtocol{options;constructor(e){super(e);this.options=e;const t={capitalizeKeys:true,flattenLists:true,serializeEmptyLists:false,ec2:true};Object.assign(this.serializer.settings,t)}getShapeId(){return"aws.protocols#ec2Query"}useNestedResult(){return false}}const parseXmlBody=(e,t)=>collectBodyString(e,t).then(e=>{if(e.length){let t;try{t=m.parseXML(e)}catch(t){if(t&&typeof t==="object"){Object.defineProperty(t,"$responseBodyText",{value:e})}throw t}const n="#text";const o=Object.keys(t)[0];const i=t[o];if(i[n]){i[o]=i[n];delete i[n]}return a.getValueFromTextNode(i)}return{}});const parseXmlErrorBody=async(e,t)=>{const n=await parseXmlBody(e,t);if(n.Error){n.Error.message=n.Error.message??n.Error.Message}return n};const loadRestXmlErrorCode=(e,t)=>{if(t?.Error?.Code!==undefined){return t.Error.Code}if(t?.Code!==undefined){return t.Code}if(e.statusCode==404){return"NotFound"}};class XmlShapeSerializer extends SerdeContextConfig{settings;stringBuffer;byteBuffer;buffer;constructor(e){super();this.settings=e}write(e,t){const n=i.NormalizedSchema.of(e);if(n.isStringSchema()&&typeof t==="string"){this.stringBuffer=t}else if(n.isBlobSchema()){this.byteBuffer="byteLength"in t?t:(this.serdeContext?.base64Decoder??h.fromBase64)(t)}else{this.buffer=this.writeStruct(n,t,undefined);const e=n.getMergedTraits();if(e.httpPayload&&!e.xmlName){this.buffer.withName(n.getName())}}}flush(){if(this.byteBuffer!==undefined){const e=this.byteBuffer;delete this.byteBuffer;return e}if(this.stringBuffer!==undefined){const e=this.stringBuffer;delete this.stringBuffer;return e}const e=this.buffer;if(this.settings.xmlNamespace){if(!e?.attributes?.["xmlns"]){e.addAttribute("xmlns",this.settings.xmlNamespace)}}delete this.buffer;return e.toString()}writeStruct(e,t,n){const o=e.getMergedTraits();const i=e.isMemberSchema()&&!o.httpPayload?e.getMemberTraits().xmlName??e.getMemberName():o.xmlName??e.getName();if(!i||!e.isStructSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${e.getName(true)}.`)}const a=m.XmlNode.of(i);const[d,h]=this.getXmlnsAttribute(e,n);for(const[n,o]of e.structIterator()){const e=t[n];if(e!=null||o.isIdempotencyToken()){if(o.getMergedTraits().xmlAttribute){a.addAttribute(o.getMergedTraits().xmlName??n,this.writeSimple(o,e));continue}if(o.isListSchema()){this.writeList(o,e,a,h)}else if(o.isMapSchema()){this.writeMap(o,e,a,h)}else if(o.isStructSchema()){a.addChildNode(this.writeStruct(o,e,h))}else{const t=m.XmlNode.of(o.getMergedTraits().xmlName??o.getMemberName());this.writeSimpleInto(o,e,t,h);a.addChildNode(t)}}}const{$unknown:f}=t;if(f&&e.isUnionSchema()&&Array.isArray(f)&&Object.keys(t).length===1){const[e,n]=f;const o=m.XmlNode.of(e);if(typeof n!=="string"){if(t instanceof m.XmlNode||t instanceof m.XmlText){a.addChildNode(t)}else{throw new Error(`@aws-sdk - $unknown union member in XML requires `+`value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`)}}this.writeSimpleInto(0,n,o,h);a.addChildNode(o)}if(h){a.addAttribute(d,h)}return a}writeList(e,t,n,o){if(!e.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${e.getName(true)}`)}const i=e.getMergedTraits();const a=e.getValueSchema();const d=a.getMergedTraits();const h=!!d.sparse;const f=!!i.xmlFlattened;const[Q,k]=this.getXmlnsAttribute(e,o);const writeItem=(t,n)=>{if(a.isListSchema()){this.writeList(a,Array.isArray(n)?n:[n],t,k)}else if(a.isMapSchema()){this.writeMap(a,n,t,k)}else if(a.isStructSchema()){const o=this.writeStruct(a,n,k);t.addChildNode(o.withName(f?i.xmlName??e.getMemberName():d.xmlName??"member"))}else{const o=m.XmlNode.of(f?i.xmlName??e.getMemberName():d.xmlName??"member");this.writeSimpleInto(a,n,o,k);t.addChildNode(o)}};if(f){for(const e of t){if(h||e!=null){writeItem(n,e)}}}else{const o=m.XmlNode.of(i.xmlName??e.getMemberName());if(k){o.addAttribute(Q,k)}for(const e of t){if(h||e!=null){writeItem(o,e)}}n.addChildNode(o)}}writeMap(e,t,n,o,i=false){if(!e.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${e.getName(true)}`)}const a=e.getMergedTraits();const d=e.getKeySchema();const h=d.getMergedTraits();const f=h.xmlName??"key";const Q=e.getValueSchema();const k=Q.getMergedTraits();const P=k.xmlName??"value";const L=!!k.sparse;const U=!!a.xmlFlattened;const[H,V]=this.getXmlnsAttribute(e,o);const addKeyValue=(e,t,n)=>{const o=m.XmlNode.of(f,t);const[i,a]=this.getXmlnsAttribute(d,V);if(a){o.addAttribute(i,a)}e.addChildNode(o);let h=m.XmlNode.of(P);if(Q.isListSchema()){this.writeList(Q,n,h,V)}else if(Q.isMapSchema()){this.writeMap(Q,n,h,V,true)}else if(Q.isStructSchema()){h=this.writeStruct(Q,n,V)}else{this.writeSimpleInto(Q,n,h,V)}e.addChildNode(h)};if(U){for(const o in t){const i=t[o];if(L||i!=null){const t=m.XmlNode.of(a.xmlName??e.getMemberName());addKeyValue(t,o,i);n.addChildNode(t)}}}else{let o;if(!i){o=m.XmlNode.of(a.xmlName??e.getMemberName());if(V){o.addAttribute(H,V)}n.addChildNode(o)}for(const e in t){const a=t[e];if(L||a!=null){const t=m.XmlNode.of("entry");addKeyValue(t,e,a);(i?n:o).addChildNode(t)}}}}writeSimple(e,t){if(null===t){throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.")}const n=i.NormalizedSchema.of(e);let o=null;if(t&&typeof t==="object"){if(n.isBlobSchema()){o=(this.serdeContext?.base64Encoder??h.toBase64)(t)}else if(n.isTimestampSchema()&&t instanceof Date){const e=d.determineTimestampFormat(n,this.settings);switch(e){case 5:o=t.toISOString().replace(".000Z","Z");break;case 6:o=h.dateToUtcString(t);break;case 7:o=String(t.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",t);o=h.dateToUtcString(t);break}}else if(n.isBigDecimalSchema()&&t){if(t instanceof h.NumericValue){return t.string}return String(t)}else if(n.isMapSchema()||n.isListSchema()){throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.")}else{throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${n.getName(true)}`)}}if(n.isBooleanSchema()||n.isNumericSchema()||n.isBigIntegerSchema()||n.isBigDecimalSchema()){o=String(t)}if(n.isStringSchema()){if(t===undefined&&n.isIdempotencyToken()){o=h.generateIdempotencyToken()}else{o=String(t)}}if(o===null){throw new Error(`Unhandled schema-value pair ${n.getName(true)}=${t}`)}return o}writeSimpleInto(e,t,n,o){const a=this.writeSimple(e,t);const d=i.NormalizedSchema.of(e);const h=new m.XmlText(a);const[f,Q]=this.getXmlnsAttribute(d,o);if(Q){n.addAttribute(f,Q)}n.addChildNode(h)}getXmlnsAttribute(e,t){const n=e.getMergedTraits();const[o,i]=n.xmlNamespace??[];if(i&&i!==t){return[o?`xmlns:${o}`:"xmlns",i]}return[void 0,void 0]}}class XmlCodec extends SerdeContextConfig{settings;constructor(e){super();this.settings=e}createSerializer(){const e=new XmlShapeSerializer(this.settings);e.setSerdeContext(this.serdeContext);return e}createDeserializer(){const e=new XmlShapeDeserializer(this.settings);e.setSerdeContext(this.serdeContext);return e}}class AwsRestXmlProtocol extends d.HttpBindingProtocol{codec;serializer;deserializer;mixin=new ProtocolLib;constructor(e){super(e);const t={timestampFormat:{useTrait:true,default:5},httpBindings:true,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace};this.codec=new XmlCodec(t);this.serializer=new d.HttpInterceptingShapeSerializer(this.codec.createSerializer(),t);this.deserializer=new d.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),t)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(e,t,n){const o=await super.serializeRequest(e,t,n);const a=i.NormalizedSchema.of(e.input);if(!o.headers["content-type"]){const e=this.mixin.resolveRestContentType(this.getDefaultContentType(),a);if(e){o.headers["content-type"]=e}}if(typeof o.body==="string"&&o.headers["content-type"]===this.getDefaultContentType()&&!o.body.startsWith("'+o.body}return o}async deserializeResponse(e,t,n){return super.deserializeResponse(e,t,n)}async handleError(e,t,n,o,a){const d=loadRestXmlErrorCode(n,o)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,d,this.options.defaultNamespace);if(o.Error&&typeof o.Error==="object"){for(const e of Object.keys(o.Error)){o[e]=o.Error[e];if(e.toLowerCase()==="message"){o.message=o.Error[e]}}}if(o.RequestId&&!a.requestId){a.requestId=o.RequestId}const{errorSchema:h,errorMetadata:m}=await this.mixin.getErrorSchemaOrThrowBaseException(d,this.options.defaultNamespace,n,o,a);const f=i.NormalizedSchema.of(h);const Q=o.Error?.message??o.Error?.Message??o.message??o.Message??"UnknownError";const k=this.compositeErrorRegistry.getErrorCtor(h)??Error;const P=new k({});await this.deserializeHttpMessage(h,t,n,o);const L={};const U=this.codec.createDeserializer();for(const[e,t]of f.structIterator()){const n=t.getMergedTraits().xmlName??e;const i=o.Error?.[n]??o[n];L[e]=U.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(P,m,{$fault:f.getMergedTraits().error,message:Q},L),o)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(e){for(const[,t]of e.structIterator()){if(t.getMergedTraits().httpPayload){return!(t.isStructSchema()||t.isMapSchema()||t.isListSchema())}}return false}}t.AwsEc2QueryProtocol=AwsEc2QueryProtocol;t.AwsJson1_0Protocol=AwsJson1_0Protocol;t.AwsJson1_1Protocol=AwsJson1_1Protocol;t.AwsJsonRpcProtocol=AwsJsonRpcProtocol;t.AwsQueryProtocol=AwsQueryProtocol;t.AwsRestJsonProtocol=AwsRestJsonProtocol;t.AwsRestXmlProtocol=AwsRestXmlProtocol;t.AwsSmithyRpcV2CborProtocol=AwsSmithyRpcV2CborProtocol;t.JsonCodec=JsonCodec;t.JsonShapeDeserializer=JsonShapeDeserializer;t.JsonShapeSerializer=JsonShapeSerializer;t.QueryShapeSerializer=QueryShapeSerializer;t.XmlCodec=XmlCodec;t.XmlShapeDeserializer=XmlShapeDeserializer;t.XmlShapeSerializer=XmlShapeSerializer;t._toBool=_toBool;t._toNum=_toNum;t._toStr=_toStr;t.awsExpectUnion=awsExpectUnion;t.loadJsonRpcErrorCode=loadJsonRpcErrorCode;t.loadRestJsonErrorCode=loadRestJsonErrorCode;t.loadRestXmlErrorCode=loadRestXmlErrorCode;t.parseJsonBody=parseJsonBody;t.parseJsonErrorBody=parseJsonErrorBody;t.parseXmlBody=parseXmlBody;t.parseXmlErrorBody=parseXmlErrorBody},5606:(e,t,n)=>{"use strict";var o=n(5152);var i=n(7291);const a="AWS_ACCESS_KEY_ID";const d="AWS_SECRET_ACCESS_KEY";const h="AWS_SESSION_TOKEN";const m="AWS_CREDENTIAL_EXPIRATION";const f="AWS_CREDENTIAL_SCOPE";const Q="AWS_ACCOUNT_ID";const fromEnv=e=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");const t=process.env[a];const n=process.env[d];const k=process.env[h];const P=process.env[m];const L=process.env[f];const U=process.env[Q];if(t&&n){const e={accessKeyId:t,secretAccessKey:n,...k&&{sessionToken:k},...P&&{expiration:new Date(P)},...L&&{credentialScope:L},...U&&{accountId:U}};o.setCredentialFeature(e,"CREDENTIALS_ENV_VARS","g");return e}throw new i.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};t.ENV_ACCOUNT_ID=Q;t.ENV_CREDENTIAL_SCOPE=f;t.ENV_EXPIRATION=m;t.ENV_KEY=a;t.ENV_SECRET=d;t.ENV_SESSION=h;t.fromEnv=fromEnv},5861:(e,t,n)=>{"use strict";var o=n(5606);var i=n(7291);const a="AWS_EC2_METADATA_DISABLED";const remoteProvider=async e=>{const{ENV_CMDS_FULL_URI:t,ENV_CMDS_RELATIVE_URI:o,fromContainerMetadata:d,fromInstanceMetadata:h}=await n.e(566).then(n.t.bind(n,566,19));if(process.env[o]||process.env[t]){e.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:t}=await n.e(605).then(n.t.bind(n,8605,19));return i.chain(t(e),d(e))}if(process.env[a]&&process.env[a]!=="false"){return async()=>{throw new i.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:e.logger})}}e.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");return h(e)};function memoizeChain(e,t){const n=internalCreateChain(e);let o;let i;let a;let d;const provider=async e=>{if(e?.forceRefresh){if(!d){d=n(e).then(e=>{a=e}).finally(()=>{d=undefined})}await d;return a}if(a?.expiration){if(a?.expiration?.getTime(){a=e}).finally(()=>{i=undefined})}}else{o=n(e).then(e=>{a=e}).finally(()=>{o=undefined});return provider(e)}}return a};return provider}const internalCreateChain=e=>async t=>{let n;for(const o of e){try{return await o(t)}catch(e){n=e;if(e?.tryNextLink){continue}throw e}}throw n};let d=false;const defaultProvider=(e={})=>memoizeChain([async()=>{const t=e.profile??process.env[i.ENV_PROFILE];if(t){const t=process.env[o.ENV_KEY]&&process.env[o.ENV_SECRET];if(t){if(!d){const t=e.logger?.warn&&e.logger?.constructor?.name!=="NoOpLogger"?e.logger.warn.bind(e.logger):console.warn;t(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`);d=true}}throw new i.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:e.logger,tryNextLink:true})}e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");return o.fromEnv(e)()},async t=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:o,ssoAccountId:a,ssoRegion:d,ssoRoleName:h,ssoSession:m}=e;if(!o&&!a&&!d&&!h&&!m){throw new i.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:e.logger})}const{fromSSO:f}=await n.e(998).then(n.t.bind(n,998,19));return f(e)(t)},async t=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:o}=await n.e(869).then(n.t.bind(n,5869,19));return o(e)(t)},async t=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:o}=await n.e(360).then(n.t.bind(n,5360,19));return o(e)(t)},async t=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:o}=await n.e(956).then(n.t.bind(n,9956,23));return o(e)(t)},async()=>{e.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");return(await remoteProvider(e))()},async()=>{throw new i.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:false,logger:e.logger})}],credentialsTreatedAsExpired);const credentialsWillNeedRefresh=e=>e?.expiration!==undefined;const credentialsTreatedAsExpired=e=>e?.expiration!==undefined&&e.expiration.getTime()-Date.now()<3e5;t.credentialsTreatedAsExpired=credentialsTreatedAsExpired;t.credentialsWillNeedRefresh=credentialsWillNeedRefresh;t.defaultProvider=defaultProvider},4274:(e,t,n)=>{"use strict";var o=n(3343);const i=/[&<>"]/g;const a={"&":"&","<":"<",">":">",'"':"""};function escapeAttribute(e){return e.replace(i,e=>a[e])}const d=/[&"'<>\r\n\u0085\u2028]/g;const h={"&":"&",'"':""","'":"'","<":"<",">":">","\r":" ","\n":" ","…":"…","\u2028":"
"};function escapeElement(e){return e.replace(d,e=>h[e])}class XmlText{value;constructor(e){this.value=e}toString(){return escapeElement(""+this.value)}}class XmlNode{name;children;attributes={};static of(e,t,n){const o=new XmlNode(e);if(t!==undefined){o.addChildNode(new XmlText(t))}if(n!==undefined){o.withName(n)}return o}constructor(e,t=[]){this.name=e;this.children=t}withName(e){this.name=e;return this}addAttribute(e,t){this.attributes[e]=t;return this}addChildNode(e){this.children.push(e);return this}removeAttribute(e){delete this.attributes[e];return this}n(e){this.name=e;return this}c(e){this.children.push(e);return this}a(e,t){if(t!=null){this.attributes[e]=t}return this}cc(e,t,n=t){if(e[t]!=null){const o=XmlNode.of(t,e[t]).withName(n);this.c(o)}}l(e,t,n,o){if(e[t]!=null){const e=o();e.map(e=>{e.withName(n);this.c(e)})}}lc(e,t,n,o){if(e[t]!=null){const e=o();const t=new XmlNode(n);e.map(e=>{t.c(e)});this.c(t)}}toString(){const e=Boolean(this.children.length);let t=`<${this.name}`;const n=this.attributes;for(const e of Object.keys(n)){const o=n[e];if(o!=null){t+=` ${e}="${escapeAttribute(""+o)}"`}}return t+=!e?"/>":`>${this.children.map(e=>e.toString()).join("")}`}}t.parseXML=o.parseXML;t.XmlNode=XmlNode;t.XmlText=XmlText},7051:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EntityDecoderImpl=t.CURRENCY=t.COMMON_HTML=t.XML=void 0;t.XML={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};t.COMMON_HTML={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"};t.CURRENCY={cent:"¢",pound:"£",curren:"¤",yen:"¥",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"¥",cedil:"¸"};const n=new Set("!?\\/[]$%{}^&*()<>|+");function validateEntityName(e){if(e[0]==="#"){throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`)}for(const t of e){if(n.has(t)){throw new Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`)}}return e}function mergeEntityMaps(...e){const t=Object.create(null);for(const n of e){if(!n){continue}for(const e of Object.keys(n)){const o=n[e];if(typeof o==="string"){t[e]=o}else if(o&&typeof o==="object"&&o.val!==undefined){const n=o.val;if(typeof n==="string"){t[e]=n}}}}return t}const o="external";const i="base";const a="all";function parseLimitTiers(e){if(!e||e===o){return new Set([o])}if(e===a){return new Set([a])}if(e===i){return new Set([i])}if(Array.isArray(e)){return new Set(e)}return new Set([o])}const d=Object.freeze({allow:0,leave:1,remove:2,throw:3});const h=new Set([9,10,13]);function parseNCRConfig(e){if(!e){return{xmlVersion:1,onLevel:d.allow,nullLevel:d.remove}}const t=e.xmlVersion===1.1?1.1:1;const n=d[e.onNCR??"allow"]??d.allow;const o=d[e.nullNCR??"remove"]??d.remove;const i=Math.max(o,d.remove);return{xmlVersion:t,onLevel:n,nullLevel:i}}const m=class EntityDecoderImpl{_limit;_maxTotalExpansions;_maxExpandedLength;_postCheck;_limitTiers;_numericAllowed;_baseMap;_externalMap;_inputMap;_totalExpansions;_expandedLength;_removeSet;_leaveSet;_ncrXmlVersion;_ncrOnLevel;_ncrNullLevel;constructor(e={}){this._limit=e.limit||{};this._maxTotalExpansions=this._limit.maxTotalExpansions||0;this._maxExpandedLength=this._limit.maxExpandedLength||0;this._postCheck=typeof e.postCheck==="function"?e.postCheck:e=>e;this._limitTiers=parseLimitTiers(this._limit.applyLimitsTo??o);this._numericAllowed=e.numericAllowed??true;this._baseMap=mergeEntityMaps(t.XML,e.namedEntities||null);this._externalMap=Object.create(null);this._inputMap=Object.create(null);this._totalExpansions=0;this._expandedLength=0;this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]);this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);const n=parseNCRConfig(e.ncr);this._ncrXmlVersion=n.xmlVersion;this._ncrOnLevel=n.onLevel;this._ncrNullLevel=n.nullLevel}setExternalEntities(e){if(e){for(const t of Object.keys(e)){validateEntityName(t)}}this._externalMap=mergeEntityMaps(e)}addExternalEntity(e,t){validateEntityName(e);if(typeof t==="string"&&t.indexOf("&")===-1){this._externalMap[e]=t}}addInputEntities(e){this._totalExpansions=0;this._expandedLength=0;this._inputMap=mergeEntityMaps(e)}reset(){this._inputMap=Object.create(null);this._totalExpansions=0;this._expandedLength=0;return this}setXmlVersion(e){this._ncrXmlVersion=e==="1.1"||e===1.1?1.1:1}decode(e){if(typeof e!=="string"||e.length===0){return e}const t=e;const n=[];const a=e.length;let d=0;let h=0;const m=this._maxTotalExpansions>0;const f=this._maxExpandedLength>0;const Q=m||f;while(h=a||e.charCodeAt(t)!==59){h++;continue}const k=e.slice(h+1,t);if(k.length===0){h++;continue}let P;let L;if(this._removeSet.has(k)){P="";if(L===undefined){L=o}}else if(this._leaveSet.has(k)){h++;continue}else if(k.charCodeAt(0)===35){const e=this._resolveNCR(k);if(e===undefined){h++;continue}P=e;L=i}else{const e=this._resolveName(k);P=e?.value;L=e?.tier}if(P===undefined){h++;continue}if(h>d){n.push(e.slice(d,h))}n.push(P);d=t+1;h=d;if(Q&&this._tierCounts(L)){if(m){this._totalExpansions++;if(this._totalExpansions>this._maxTotalExpansions){throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: `+`${this._totalExpansions} > ${this._maxTotalExpansions}`)}}if(f){const e=P.length-(k.length+2);if(e>0){this._expandedLength+=e;if(this._expandedLength>this._maxExpandedLength){throw new Error(`[EntityReplacer] Expanded content length limit exceeded: `+`${this._expandedLength} > ${this._maxExpandedLength}`)}}}}}if(d=55296&&e<=57343){return d.remove}if(this._ncrXmlVersion===1){if(e>=1&&e<=31&&!h.has(e)){return d.remove}}return-1}_applyNCRAction(e,t,n){switch(e){case d.allow:return String.fromCodePoint(n);case d.remove:return"";case d.leave:return undefined;case d.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference `+`&${t}; (U+${n.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){const t=e.charCodeAt(1);let n;if(t===120||t===88){n=parseInt(e.slice(2),16)}else{n=parseInt(e.slice(1),10)}if(Number.isNaN(n)||n<0||n>1114111){return undefined}const o=this._classifyNCR(n);if(!this._numericAllowed&&o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseXML=parseXML;const o=n(591);const i=n(7051);const a=new i.EntityDecoderImpl({namedEntities:{...i.XML,...i.COMMON_HTML,...i.CURRENCY},numericAllowed:true,limit:{maxTotalExpansions:Infinity},ncr:{xmlVersion:1.1}});const d=new o.XMLParser({attributeNamePrefix:"",processEntities:{enabled:true,maxTotalExpansions:Infinity},htmlEntities:true,entityDecoder:{setExternalEntities:e=>{a.setExternalEntities(e)},addInputEntities:e=>{a.addInputEntities(e)},reset:()=>{a.reset()},decode:e=>a.decode(e),setXmlVersion:e=>void{}},ignoreAttributes:false,ignoreDeclaration:true,parseTagValue:false,trimValues:false,tagValueProcessor:(e,t)=>t.trim()===""&&t.includes("\n")?"":undefined,maxNestedTags:Infinity});function parseXML(e){return d.parse(e,true)}},9320:(e,t,n)=>{"use strict";const o={REQUEST_ID:Symbol.for("_AWS_LAMBDA_REQUEST_ID"),X_RAY_TRACE_ID:Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),TENANT_ID:Symbol.for("_AWS_LAMBDA_TENANT_ID")};const i=["true","1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA??"");if(!i){globalThis.awslambda=globalThis.awslambda||{}}class InvokeStoreBase{static PROTECTED_KEYS=o;isProtectedKey(e){return Object.values(o).includes(e)}getRequestId(){return this.get(o.REQUEST_ID)??"-"}getXRayTraceId(){return this.get(o.X_RAY_TRACE_ID)}getTenantId(){return this.get(o.TENANT_ID)}}class InvokeStoreSingle extends InvokeStoreBase{currentContext;getContext(){return this.currentContext}hasContext(){return this.currentContext!==undefined}get(e){return this.currentContext?.[e]}set(e,t){if(this.isProtectedKey(e)){throw new Error(`Cannot modify protected Lambda context field: ${String(e)}`)}this.currentContext=this.currentContext||{};this.currentContext[e]=t}run(e,t){this.currentContext=e;return t()}}class InvokeStoreMulti extends InvokeStoreBase{als;static async create(){const e=new InvokeStoreMulti;const t=await Promise.resolve().then(n.t.bind(n,6698,23));e.als=new t.AsyncLocalStorage;return e}getContext(){return this.als.getStore()}hasContext(){return this.als.getStore()!==undefined}get(e){return this.als.getStore()?.[e]}set(e,t){if(this.isProtectedKey(e)){throw new Error(`Cannot modify protected Lambda context field: ${String(e)}`)}const n=this.als.getStore();if(!n){throw new Error("No context available")}n[e]=t}run(e,t){return this.als.run(e,t)}}t.InvokeStore=void 0;(function(e){let t=null;async function getInstanceAsync(e){if(!t){t=(async()=>{const t=e===true||"AWS_LAMBDA_MAX_CONCURRENCY"in process.env;const n=t?await InvokeStoreMulti.create():new InvokeStoreSingle;if(!i&&globalThis.awslambda?.InvokeStore){return globalThis.awslambda.InvokeStore}else if(!i&&globalThis.awslambda){globalThis.awslambda.InvokeStore=n;return n}else{return n}})()}return t}e.getInstanceAsync=getInstanceAsync;e._testing=process.env.AWS_LAMBDA_BENCHMARK_MODE==="1"?{reset:()=>{t=null;if(globalThis.awslambda?.InvokeStore){delete globalThis.awslambda.InvokeStore}globalThis.awslambda={InvokeStore:undefined}}}:undefined})(t.InvokeStore||(t.InvokeStore={}));t.InvokeStoreBase=InvokeStoreBase},402:(e,t,n)=>{"use strict";var o=n(4534);var i=n(3422);var a=n(690);var d=n(2658);const resolveAuthOptions=(e,t)=>{if(!t||t.length===0){return e}const n=[];for(const o of t){for(const t of e){const e=t.schemeId.split("#")[1];if(e===o){n.push(t)}}}for(const t of e){if(!n.find(({schemeId:e})=>e===t.schemeId)){n.push(t)}}return n};function convertHttpAuthSchemesToMap(e){const t=new Map;for(const n of e){t.set(n.schemeId,n)}return t}const httpAuthSchemeMiddleware=(e,t)=>(n,o)=>async i=>{const a=e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,o,i.input));const h=e.authSchemePreference?await e.authSchemePreference():[];const m=resolveAuthOptions(a,h);const f=convertHttpAuthSchemesToMap(e.httpAuthSchemes);const Q=d.getSmithyContext(o);const k=[];for(const n of m){const i=f.get(n.schemeId);if(!i){k.push(`HttpAuthScheme \`${n.schemeId}\` was not enabled for this service.`);continue}const a=i.identityProvider(await t.identityProviderConfigProvider(e));if(!a){k.push(`HttpAuthScheme \`${n.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:d={},signingProperties:h={}}=n.propertiesExtractor?.(e,o)||{};n.identityProperties=Object.assign(n.identityProperties||{},d);n.signingProperties=Object.assign(n.signingProperties||{},h);Q.selectedHttpAuthScheme={httpAuthOption:n,identity:await a(n.identityProperties),signer:i.signer};break}if(!Q.selectedHttpAuthScheme){throw new Error(k.join("\n"))}return n(i)};const h={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:"endpointV2Middleware"};const getHttpAuthSchemeEndpointRuleSetPlugin=(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n})=>({applyToStack:o=>{o.addRelativeTo(httpAuthSchemeMiddleware(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n}),h)}});const m={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:"serializerMiddleware"};const getHttpAuthSchemePlugin=(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n})=>({applyToStack:o=>{o.addRelativeTo(httpAuthSchemeMiddleware(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n}),m)}});const defaultErrorHandler=e=>e=>{throw e};const defaultSuccessHandler=(e,t)=>{};const httpSigningMiddleware=e=>(e,t)=>async n=>{if(!i.HttpRequest.isInstance(n.request)){return e(n)}const o=d.getSmithyContext(t);const a=o.selectedHttpAuthScheme;if(!a){throw new Error(`No HttpAuthScheme was selected: unable to sign request`)}const{httpAuthOption:{signingProperties:h={}},identity:m,signer:f}=a;const Q=await e({...n,request:await f.sign(n.request,m,h)}).catch((f.errorHandler||defaultErrorHandler)(h));(f.successHandler||defaultSuccessHandler)(Q.response,h);return Q};const f={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:true,relation:"after",toMiddleware:"retryMiddleware"};const getHttpSigningPlugin=e=>({applyToStack:e=>{e.addRelativeTo(httpSigningMiddleware(),f)}});const normalizeProvider=e=>{if(typeof e==="function")return e;const t=Promise.resolve(e);return()=>t};const makePagedClientRequest=async(e,t,n,o=e=>e,...i)=>{let a=new e(n);a=o(a)??a;return await t.send(a,...i)};function createPaginator(e,t,n,o,i){return async function*paginateOperation(a,d,...h){const m=d;let f=a.startingToken??m[n];let Q=true;let k;while(Q){m[n]=f;if(i){m[i]=m[i]??a.pageSize}if(a.client instanceof e){k=await makePagedClientRequest(t,a.client,d,a.withCommand,...h)}else{throw new Error(`Invalid client, expected instance of ${e.name}`)}yield k;const P=f;f=get(k,o);Q=!!(f&&(!a.stopOnSameToken||f!==P))}return undefined}}const get=(e,t)=>{let n=e;const o=t.split(".");for(const e of o){if(!n||typeof n!=="object"){return undefined}n=n[e]}return n};function setFeature(e,t,n){if(!e.__smithy_context){e.__smithy_context={features:{}}}else if(!e.__smithy_context.features){e.__smithy_context.features={}}e.__smithy_context.features[t]=n}class DefaultIdentityProviderConfig{authSchemes=new Map;constructor(e){for(const t in e){const n=e[t];if(n!==undefined){this.authSchemes.set(t,n)}}}getIdentityProvider(e){return this.authSchemes.get(e)}}class HttpApiKeyAuthSigner{async sign(e,t,n){if(!n){throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing")}if(!n.name){throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing")}if(!n.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 o=i.HttpRequest.clone(e);if(n.in===a.HttpApiKeyAuthLocation.QUERY){o.query[n.name]=t.apiKey}else if(n.in===a.HttpApiKeyAuthLocation.HEADER){o.headers[n.name]=n.scheme?`${n.scheme} ${t.apiKey}`:t.apiKey}else{throw new Error("request can only be signed with `apiKey` locations `query` or `header`, "+"but found: `"+n.in+"`")}return o}}class HttpBearerAuthSigner{async sign(e,t,n){const o=i.HttpRequest.clone(e);if(!t.token){throw new Error("request could not be signed with `token` since the `token` is not defined")}o.headers["Authorization"]=`Bearer ${t.token}`;return o}}class NoAuthSigner{async sign(e,t,n){return e}}const createIsIdentityExpiredFunction=e=>function isIdentityExpired(t){return doesIdentityRequireRefresh(t)&&t.expiration.getTime()-Date.now()e.expiration!==undefined;const memoizeIdentityProvider=(e,t,n)=>{if(e===undefined){return undefined}const o=typeof e!=="function"?async()=>Promise.resolve(e):e;let i;let a;let d;let h=false;const coalesceProvider=async e=>{if(!a){a=o(e)}try{i=await a;d=true;h=false}finally{a=undefined}return i};if(t===undefined){return async e=>{if(!d||e?.forceRefresh){i=await coalesceProvider(e)}return i}}return async e=>{if(!d||e?.forceRefresh){i=await coalesceProvider(e)}if(h){return i}if(!n(i)){h=true;return i}if(t(i)){await coalesceProvider(e);return i}return i}};t.getSmithyContext=o.getSmithyContext;t.requestBuilder=i.requestBuilder;t.DefaultIdentityProviderConfig=DefaultIdentityProviderConfig;t.EXPIRATION_MS=Q;t.HttpApiKeyAuthSigner=HttpApiKeyAuthSigner;t.HttpBearerAuthSigner=HttpBearerAuthSigner;t.NoAuthSigner=NoAuthSigner;t.createIsIdentityExpiredFunction=createIsIdentityExpiredFunction;t.createPaginator=createPaginator;t.doesIdentityRequireRefresh=doesIdentityRequireRefresh;t.getHttpAuthSchemeEndpointRuleSetPlugin=getHttpAuthSchemeEndpointRuleSetPlugin;t.getHttpAuthSchemePlugin=getHttpAuthSchemePlugin;t.getHttpSigningPlugin=getHttpSigningPlugin;t.httpAuthSchemeEndpointRuleSetMiddlewareOptions=h;t.httpAuthSchemeMiddleware=httpAuthSchemeMiddleware;t.httpAuthSchemeMiddlewareOptions=m;t.httpSigningMiddleware=httpSigningMiddleware;t.httpSigningMiddlewareOptions=f;t.isIdentityExpired=k;t.memoizeIdentityProvider=memoizeIdentityProvider;t.normalizeProvider=normalizeProvider;t.setFeature=setFeature},4645:(e,t,n)=>{"use strict";var o=n(2430);var i=n(3422);var a=n(2658);var d=n(6890);const h=0;const m=1;const f=2;const Q=3;const k=4;const P=5;const L=6;const U=7;const H=20;const V=21;const _=22;const W=23;const Y=24;const J=25;const j=26;const K=27;const X=31;function alloc(e){return typeof Buffer!=="undefined"?Buffer.alloc(e):new Uint8Array(e)}const Z=Symbol("@smithy/core/cbor::tagSymbol");function tag(e){e[Z]=true;return e}const ee=typeof TextDecoder!=="undefined";const te=typeof Buffer!=="undefined";let ne=alloc(0);let se=new DataView(ne.buffer,ne.byteOffset,ne.byteLength);const oe=ee?new TextDecoder:null;let re=0;function setPayload(e){ne=e;se=new DataView(ne.buffer,ne.byteOffset,ne.byteLength)}function decode(e,t){if(e>=t){throw new Error("unexpected end of (decode) payload.")}const n=(ne[e]&224)>>5;const i=ne[e]&31;switch(n){case h:case m:case L:let a;let d;if(i<24){a=i;d=1}else{switch(i){case Y:case J:case j:case K:const n=ie[i];const o=n+1;d=o;if(t-e>7;const o=(e&124)>>2;const i=(e&3)<<8|t;const a=n===0?1:-1;let d;let h;if(o===0){if(i===0){return 0}else{d=Math.pow(2,1-15);h=0}}else if(o===31){if(i===0){return a*Infinity}else{return NaN}}else{d=Math.pow(2,o-15);h=1}h+=i/1024;return a*(d*h)}function decodeCount(e,t){const n=ne[e]&31;if(n<24){re=1;return n}if(n===Y||n===J||n===j||n===K){const o=ie[n];re=o+1;if(t-e>5;const a=ne[e]&31;if(i!==Q){throw new Error(`unexpected major type ${i} in indefinite string.`)}if(a===X){throw new Error("nested indefinite string.")}const d=decodeUnstructuredByteString(e,t);const h=re;e+=h;for(let e=0;e>5;const a=ne[e]&31;if(i!==f){throw new Error(`unexpected major type ${i} in indefinite string.`)}if(a===X){throw new Error("nested indefinite string.")}const d=decodeUnstructuredByteString(e,t);const h=re;e+=h;for(let e=0;e=t){throw new Error("unexpected end of map payload.")}const n=(ne[e]&224)>>5;if(n!==Q){throw new Error(`unexpected major type ${n} for map key at index ${e}.`)}const o=decode(e,t);e+=re;const i=decode(e,t);e+=re;a[o]=i}re=o+(e-i);return a}function decodeMapIndefinite(e,t){e+=1;const n=e;const o={};for(;e=t){throw new Error("unexpected end of map payload.")}if(ne[e]===255){re=e-n+2;return o}const i=(ne[e]&224)>>5;if(i!==Q){throw new Error(`unexpected major type ${i} for map key.`)}const a=decode(e,t);e+=re;const d=decode(e,t);e+=re;o[a]=d}throw new Error("expected break marker.")}function decodeSpecial(e,t){const n=ne[e]&31;switch(n){case V:case H:re=1;return n===V;case _:re=1;return null;case W:re=1;return null;case J:if(t-e<3){throw new Error("incomplete float16 at end of buf.")}re=3;return bytesToFloat16(ne[e+1],ne[e+2]);case j:if(t-e<5){throw new Error("incomplete float32 at end of buf.")}re=5;return se.getFloat32(e+1);case K:if(t-e<9){throw new Error("incomplete float64 at end of buf.")}re=9;return se.getFloat64(e+1);default:throw new Error(`unexpected minor value ${n}.`)}}function castBigInt(e){if(typeof e==="number"){return e}const t=Number(e);if(Number.MIN_SAFE_INTEGER<=t&&t<=Number.MAX_SAFE_INTEGER){return t}return e}const ae=typeof Buffer!=="undefined";const ce=2048;let Ae=alloc(ce);let le=new DataView(Ae.buffer,Ae.byteOffset,Ae.byteLength);let ue=0;function ensureSpace(e){const t=Ae.byteLength-ue;if(t=0;const n=t?h:m;const o=t?e:-e-1;if(o<24){Ae[ue++]=n<<5|o}else if(o<256){Ae[ue++]=n<<5|24;Ae[ue++]=o}else if(o<65536){Ae[ue++]=n<<5|J;Ae[ue++]=o>>8;Ae[ue++]=o}else if(o<4294967296){Ae[ue++]=n<<5|j;le.setUint32(ue,o);ue+=4}else{Ae[ue++]=n<<5|K;le.setBigUint64(ue,BigInt(o));ue+=8}continue}Ae[ue++]=U<<5|K;le.setFloat64(ue,e);ue+=8;continue}else if(typeof e==="bigint"){const t=e>=0;const n=t?h:m;const o=t?e:-e-BigInt(1);const i=Number(o);if(i<24){Ae[ue++]=n<<5|i}else if(i<256){Ae[ue++]=n<<5|24;Ae[ue++]=i}else if(i<65536){Ae[ue++]=n<<5|J;Ae[ue++]=i>>8;Ae[ue++]=i&255}else if(i<4294967296){Ae[ue++]=n<<5|j;le.setUint32(ue,i);ue+=4}else if(o=0){n[n.byteLength-a]=Number(i&BigInt(255));i>>=BigInt(8)}ensureSpace(n.byteLength*2);Ae[ue++]=t?194:195;if(ae){encodeHeader(f,Buffer.byteLength(n))}else{encodeHeader(f,n.byteLength)}Ae.set(n,ue);ue+=n.byteLength}continue}else if(e===null){Ae[ue++]=U<<5|_;continue}else if(typeof e==="boolean"){Ae[ue++]=U<<5|(e?V:H);continue}else if(typeof e==="undefined"){throw new Error("@smithy/core/cbor: client may not serialize undefined value.")}else if(Array.isArray(e)){for(let n=e.length-1;n>=0;--n){t.push(e[n])}encodeHeader(k,e.length);continue}else if(typeof e.byteLength==="number"){ensureSpace(e.length*2);encodeHeader(f,e.length);Ae.set(e,ue);ue+=e.byteLength;continue}else if(typeof e==="object"){if(e instanceof o.NumericValue){const n=e.string.indexOf(".");const o=n===-1?0:n-e.string.length+1;const i=BigInt(e.string.replace(".",""));Ae[ue++]=196;t.push(i);t.push(o);encodeHeader(k,2);continue}if(e[Z]){if("tag"in e&&"value"in e){t.push(e.value);encodeHeader(L,e.tag);continue}else{throw new Error("tag encountered with missing fields, need 'tag' and 'value', found: "+JSON.stringify(e))}}const n=Object.keys(e);for(let o=n.length-1;o>=0;--o){const i=n[o];t.push(e[i]);t.push(i)}encodeHeader(P,n.length);continue}throw new Error(`data type ${e?.constructor?.name??typeof e} not compatible for encoding.`)}}const de={deserialize(e){setPayload(e);return decode(0,e.length)},serialize(e){try{encode(e);return toUint8Array()}catch(e){toUint8Array();throw e}},resizeEncodingBuffer(e){resize(e)}};const parseCborBody=(e,t)=>i.collectBody(e,t).then(async e=>{if(e.length){try{return de.deserialize(e)}catch(n){Object.defineProperty(n,"$responseBodyText",{value:t.utf8Encoder(e)});throw n}}return{}});const dateToTag=e=>tag({tag:1,value:e.getTime()/1e3});const parseCborErrorBody=async(e,t)=>{const n=await parseCborBody(e,t);n.message=n.message??n.Message;return n};const loadSmithyRpcV2CborErrorCode=(e,t)=>{const sanitizeErrorCode=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};if(t["__type"]!==undefined){return sanitizeErrorCode(t["__type"])}let n;for(const e in t){if(e.toLowerCase()==="code"){n=e;break}}if(n&&t[n]!==undefined){return sanitizeErrorCode(t[n])}};const checkCborResponse=e=>{if(String(e.headers["smithy-protocol"]).toLowerCase()!=="rpc-v2-cbor"){throw new Error("Malformed RPCv2 CBOR response, status: "+e.statusCode)}};const buildHttpRpcRequest=async(e,t,n,a,d)=>{const h=await e.endpoint();const{hostname:m,protocol:f="https",port:Q,path:k}=h;const P={protocol:f,hostname:m,port:Q,method:"POST",path:k.endsWith("/")?k.slice(0,-1)+n:k+n,headers:{...t}};if(a!==undefined){P.hostname=a}if(h.headers){for(const e in h.headers){P.headers[e]=h.headers[e]}}if(d!==undefined){P.body=d;try{P.headers["content-length"]=String(o.calculateBodyLength(d))}catch(e){}}return new i.HttpRequest(P)};class CborCodec extends i.SerdeContext{createSerializer(){const e=new CborShapeSerializer;e.setSerdeContext(this.serdeContext);return e}createDeserializer(){const e=new CborShapeDeserializer;e.setSerdeContext(this.serdeContext);return e}}class CborShapeSerializer extends i.SerdeContext{value;write(e,t){this.value=this.serialize(e,t)}serialize(e,t){const n=d.NormalizedSchema.of(e);if(t==null){if(n.isIdempotencyToken()){return o.generateIdempotencyToken()}return t}if(n.isBlobSchema()){if(typeof t==="string"){return(this.serdeContext?.base64Decoder??o.fromBase64)(t)}return t}if(n.isTimestampSchema()){if(typeof t==="number"||typeof t==="bigint"){return dateToTag(new Date(Number(t)/1e3|0))}return dateToTag(t)}if(typeof t==="function"||typeof t==="object"){const e=t;if(n.isListSchema()&&Array.isArray(e)){const t=!!n.getMergedTraits().sparse;const o=[];let i=0;for(const a of e){const e=this.serialize(n.getValueSchema(),a);if(e!=null||t){o[i++]=e}}return o}if(e instanceof Date){return dateToTag(e)}const o={};if(n.isMapSchema()){const t=!!n.getMergedTraits().sparse;for(const i in e){const a=this.serialize(n.getValueSchema(),e[i]);if(a!=null||t){o[i]=a}}}else if(n.isStructSchema()){for(const[t,i]of n.structIterator()){const n=this.serialize(i,e[t]);if(n!=null){o[t]=n}}const t=n.isUnionSchema();if(t&&Array.isArray(e.$unknown)){const[t,n]=e.$unknown;o[t]=n}else if(typeof e.__type==="string"){for(const t in e){if(!(t in o)){o[t]=this.serialize(15,e[t])}}}}else if(n.isDocumentSchema()){for(const t in e){o[t]=this.serialize(n.getValueSchema(),e[t])}}else if(n.isBigDecimalSchema()){return e}return o}return t}flush(){const e=de.serialize(this.value);this.value=undefined;return e}}class CborShapeDeserializer extends i.SerdeContext{read(e,t){const n=de.deserialize(t);return this.readValue(e,n)}readValue(e,t){const n=d.NormalizedSchema.of(e);if(n.isTimestampSchema()){if(typeof t==="number"){return o._parseEpochTimestamp(t)}if(typeof t==="object"){if(t.tag===1&&"value"in t){return o._parseEpochTimestamp(t.value)}}}if(n.isBlobSchema()){if(typeof t==="string"){return(this.serdeContext?.base64Decoder??o.fromBase64)(t)}return t}if(typeof t==="undefined"||typeof t==="boolean"||typeof t==="number"||typeof t==="string"||typeof t==="bigint"||typeof t==="symbol"){return t}else if(typeof t==="object"){if(t===null){return null}if("byteLength"in t){return t}if(t instanceof Date){return t}if(n.isDocumentSchema()){return t}if(n.isListSchema()){const e=[];const o=n.getValueSchema();for(const n of t){const t=this.readValue(o,n);e.push(t)}return e}const e={};if(n.isMapSchema()){const o=n.getValueSchema();for(const n in t){const i=this.readValue(o,t[n]);e[n]=i}}else if(n.isStructSchema()){const o=n.isUnionSchema();let i;if(o){i=new Set;for(const e in t){if(e!=="__type"){i.add(e)}}}for(const[a,d]of n.structIterator()){if(o){i.delete(a)}if(t[a]!=null){e[a]=this.readValue(d,t[a])}}if(o&&i?.size===1){let n=true;for(const t in e){n=false;break}if(n){const n=i.values().next().value;e.$unknown=[n,t[n]]}}else if(typeof t.__type==="string"){for(const n in t){if(!(n in e)){e[n]=t[n]}}}}else if(t instanceof o.NumericValue){return t}return e}else{return t}}}class SmithyRpcV2CborProtocol extends i.RpcProtocol{codec=new CborCodec;serializer=this.codec.createSerializer();deserializer=this.codec.createDeserializer();constructor({defaultNamespace:e,errorTypeRegistries:t}){super({defaultNamespace:e,errorTypeRegistries:t})}getShapeId(){return"smithy.protocols#rpcv2Cbor"}getPayloadCodec(){return this.codec}async serializeRequest(e,t,n){const o=await super.serializeRequest(e,t,n);Object.assign(o.headers,{"content-type":this.getDefaultContentType(),"smithy-protocol":"rpc-v2-cbor",accept:this.getDefaultContentType()});if(d.deref(e.input)==="unit"){delete o.body;delete o.headers["content-type"]}else{if(!o.body){this.serializer.write(15,{});o.body=this.serializer.flush()}try{o.headers["content-length"]=String(o.body.byteLength)}catch(e){}}const{service:i,operation:h}=a.getSmithyContext(n);const m=`/service/${i}/operation/${h}`;if(o.path.endsWith("/")){o.path+=m.slice(1)}else{o.path+=m}return o}async deserializeResponse(e,t,n){return super.deserializeResponse(e,t,n)}async handleError(e,t,n,o,i){const a=loadSmithyRpcV2CborErrorCode(n,o)??"Unknown";const h={$metadata:i,$fault:n.statusCode<=500?"client":"server"};let m=this.options.defaultNamespace;if(a.includes("#")){[m]=a.split("#")}const f=this.compositeErrorRegistry;const Q=d.TypeRegistry.for(m);f.copyFrom(Q);let k;try{k=f.getSchema(a)}catch(e){if(o.Message){o.message=o.Message}const t=d.TypeRegistry.for("smithy.ts.sdk.synthetic."+m);f.copyFrom(t);const n=f.getBaseException();if(n){const e=f.getErrorCtor(n);throw Object.assign(new e({name:a}),h,o)}throw Object.assign(new Error(a),h,o)}const P=d.NormalizedSchema.of(k);const L=f.getErrorCtor(k);const U=o.message??o.Message??"Unknown";const H=new L({});const V={};for(const[e,t]of P.structIterator()){V[e]=this.deserializer.readValue(t,o[e])}throw Object.assign(H,h,{$fault:P.getMergedTraits().error,message:U},V)}getDefaultContentType(){return"application/cbor"}}t.CborCodec=CborCodec;t.CborShapeDeserializer=CborShapeDeserializer;t.CborShapeSerializer=CborShapeSerializer;t.SmithyRpcV2CborProtocol=SmithyRpcV2CborProtocol;t.buildHttpRpcRequest=buildHttpRpcRequest;t.cbor=de;t.checkCborResponse=checkCborResponse;t.dateToTag=dateToTag;t.loadSmithyRpcV2CborErrorCode=loadSmithyRpcV2CborErrorCode;t.parseCborBody=parseCborBody;t.parseCborErrorBody=parseCborErrorBody;t.tag=tag;t.tagSymbol=Z},2658:(e,t,n)=>{"use strict";var o=n(4534);var i=n(690);var a=n(6890);const getAllAliases=(e,t)=>{const n=[];if(e){n.push(e)}if(t){for(const e of t){n.push(e)}}return n};const getMiddlewareNameWithAliases=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`;const constructStack=()=>{let e=[];let t=[];let n=false;const o=new Set;const sort=e=>e.sort((e,t)=>d[t.step]-d[e.step]||h[t.priority||"normal"]-h[e.priority||"normal"]);const removeByName=n=>{let i=false;const filterCb=e=>{const t=getAllAliases(e.name,e.aliases);if(t.includes(n)){i=true;for(const e of t){o.delete(e)}return false}return true};e=e.filter(filterCb);t=t.filter(filterCb);return i};const removeByReference=n=>{let i=false;const filterCb=e=>{if(e.middleware===n){i=true;for(const t of getAllAliases(e.name,e.aliases)){o.delete(t)}return false}return true};e=e.filter(filterCb);t=t.filter(filterCb);return i};const cloneTo=n=>{e.forEach(e=>{n.add(e.middleware,{...e})});t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})});n.identifyOnResolve?.(i.identifyOnResolve());return n};const expandRelativeMiddlewareList=e=>{const t=[];e.before.forEach(e=>{if(e.before.length===0&&e.after.length===0){t.push(e)}else{t.push(...expandRelativeMiddlewareList(e))}});t.push(e);e.after.reverse().forEach(e=>{if(e.before.length===0&&e.after.length===0){t.push(e)}else{t.push(...expandRelativeMiddlewareList(e))}});return t};const getMiddlewareList=(n=false)=>{const o=[];const i=[];const a={};e.forEach(e=>{const t={...e,before:[],after:[]};for(const e of getAllAliases(t.name,t.aliases)){a[e]=t}o.push(t)});t.forEach(e=>{const t={...e,before:[],after:[]};for(const e of getAllAliases(t.name,t.aliases)){a[e]=t}i.push(t)});i.forEach(e=>{if(e.toMiddleware){const t=a[e.toMiddleware];if(t===undefined){if(n){return}throw new Error(`${e.toMiddleware} is not found when adding `+`${getMiddlewareNameWithAliases(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 d=sort(o).map(expandRelativeMiddlewareList).reduce((e,t)=>{e.push(...t);return e},[]);return d};const i={add:(t,n={})=>{const{name:i,override:a,aliases:d}=n;const h={step:"initialize",priority:"normal",middleware:t,...n};const m=getAllAliases(i,d);if(m.length>0){if(m.some(e=>o.has(e))){if(!a)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(i,d)}'`);for(const t of m){const n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(n===-1){continue}const o=e[n];if(o.step!==h.step||h.priority!==o.priority){throw new Error(`"${getMiddlewareNameWithAliases(o.name,o.aliases)}" middleware with `+`${o.priority} priority in ${o.step} step cannot `+`be overridden by "${getMiddlewareNameWithAliases(i,d)}" middleware with `+`${h.priority} priority in ${h.step} step.`)}e.splice(n,1)}}for(const e of m){o.add(e)}}e.push(h)},addRelativeTo:(e,n)=>{const{name:i,override:a,aliases:d}=n;const h={middleware:e,...n};const m=getAllAliases(i,d);if(m.length>0){if(m.some(e=>o.has(e))){if(!a)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(i,d)}'`);for(const e of m){const n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(n===-1){continue}const o=t[n];if(o.toMiddleware!==h.toMiddleware||o.relation!==h.relation){throw new Error(`"${getMiddlewareNameWithAliases(o.name,o.aliases)}" middleware `+`${o.relation} "${o.toMiddleware}" middleware cannot be overridden `+`by "${getMiddlewareNameWithAliases(i,d)}" middleware ${h.relation} `+`"${h.toMiddleware}" middleware.`)}t.splice(n,1)}}for(const e of m){o.add(e)}}t.push(h)},clone:()=>cloneTo(constructStack()),use:e=>{e.applyToStack(i)},remove:e=>{if(typeof e==="string")return removeByName(e);else return removeByReference(e)},removeByTag:n=>{let i=false;const filterCb=e=>{const{tags:t,name:a,aliases:d}=e;if(t&&t.includes(n)){const e=getAllAliases(a,d);for(const t of e){o.delete(t)}i=true;return false}return true};e=e.filter(filterCb);t=t.filter(filterCb);return i},concat:e=>{const t=cloneTo(constructStack());t.use(e);t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??false));return t},applyToStack:cloneTo,identify:()=>getMiddlewareList(true).map(e=>{const t=e.step??e.relation+" "+e.toMiddleware;return getMiddlewareNameWithAliases(e.name,e.aliases)+" - "+t}),identifyOnResolve(e){if(typeof e==="boolean")n=e;return n},resolve:(e,t)=>{for(const n of getMiddlewareList().map(e=>e.middleware).reverse()){e=n(e,t)}if(n){console.log(i.identify())}return e}};return i};const d={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1};const h={high:3,normal:2,low:1};const invalidFunction=e=>()=>{throw new Error(e)};const invalidProvider=e=>()=>Promise.reject(e);const getCircularReplacer=()=>{const e=new WeakSet;return(t,n)=>{if(typeof n==="object"&&n!==null){if(e.has(n)){return"[Circular]"}e.add(n)}return n}};const sleep=e=>new Promise(t=>setTimeout(t,e*1e3));const m={minDelay:2,maxDelay:120};t.WaiterState=void 0;(function(e){e["ABORTED"]="ABORTED";e["FAILURE"]="FAILURE";e["SUCCESS"]="SUCCESS";e["RETRY"]="RETRY";e["TIMEOUT"]="TIMEOUT"})(t.WaiterState||(t.WaiterState={}));const checkExceptions=e=>{if(e.state===t.WaiterState.ABORTED){const t=new Error(`${JSON.stringify({...e,reason:"Request was aborted"},getCircularReplacer())}`);t.name="AbortError";throw t}else if(e.state===t.WaiterState.TIMEOUT){const t=new Error(`${JSON.stringify({...e,reason:"Waiter has timed out"},getCircularReplacer())}`);t.name="TimeoutError";throw t}else if(e.state!==t.WaiterState.SUCCESS){throw new Error(`${JSON.stringify(e,getCircularReplacer())}`)}return e};const runPolling=async({minDelay:e,maxDelay:n,maxWaitTime:o,abortController:i,client:a,abortSignal:d},h,m)=>{const f={};const[Q,k]=[e*1e3,n*1e3];let P=0;const L=Date.now()+o*1e3;const U=Date.now()+6e4;let H=false;while(true){if(P>0){const e=exponentialBackoffWithJitter(Q,k,P,L);if(i?.signal?.aborted||d?.aborted){const e="AbortController signal aborted.";f[e]|=0;f[e]+=1;return{state:t.WaiterState.ABORTED,observedResponses:f}}if(Date.now()+e>L){return{state:t.WaiterState.TIMEOUT,observedResponses:f}}await sleep(e/1e3)}const{state:e,reason:n}=await m(a,h);if(n){const e=createMessageFromResponse(n);f[e]|=0;f[e]+=1}if(e!==t.WaiterState.RETRY){return{state:e,reason:n,final:n,observedResponses:f}}P+=1;if(!H&&Date.now()>=U){checkWarn403(f,a);H=true}}};const checkWarn403=(e={},t)=>{const n=Object.keys(e);let o=0;for(const t of n){const n=e[t]|0;if(t.startsWith("403:")){o+=n}}const i=t?.config?.logger;const a=typeof i?.warn==="function"&&!i.constructor?.name?.includes?.("NoOpLogger")?i:console;if(o>=3||n[n.length-1]?.startsWith("403:")){a.warn(`@smithy/util-waiter WARN - 403 status code encountered during waiter polling.`)}};const createMessageFromResponse=e=>{const t=e?.$response?.statusCode??e?.$metadata?.httpStatusCode;if(e?.$responseBodyText){return`${t?t+": ":""}Deserialization error for body: ${e.$responseBodyText}`}if(t){if(e?.$response||e?.message){return`${t??"Unknown"}: ${e?.message}`}return`${t}: OK`}return String(e?.message??JSON.stringify(e,getCircularReplacer())??"Unknown")};const exponentialBackoffWithJitter=(e,t,n,o)=>{const i=Math.log(t/e)/Math.log(2)+1;if(n>i){return t}const a=e*2**(n-1);const d=Math.min(a,t);const h=randomInRange(e,d);if(Date.now()+h>o){const e=o-Date.now();return Math.max(0,e-500)}return h};const randomInRange=(e,t)=>e+Math.random()*(t-e);const validateWaiterOptions=e=>{if(e.maxWaitTime<=0){throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`)}else if(e.minDelay<=0){throw new Error(`WaiterConfiguration.minDelay must be greater than 0`)}else if(e.maxDelay<=0){throw new Error(`WaiterConfiguration.maxDelay must be greater than 0`)}else if(e.maxWaitTime<=e.minDelay){throw new Error(`WaiterConfiguration.maxWaitTime [${e.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${e.minDelay}] for this waiter`)}else if(e.maxDelay{let n;const o=new Promise(o=>{n=()=>o({state:t.WaiterState.ABORTED});if(typeof e.addEventListener==="function"){e.addEventListener("abort",n)}else{e.onabort=n}});return{clearListener(){if(typeof e.removeEventListener==="function"){e.removeEventListener("abort",n)}},aborted:o}};const createWaiter=async(e,t,n)=>{const o={...m,...e};validateWaiterOptions(o);const i=[runPolling(o,t,n)];const a=[];if(e.abortSignal){const{aborted:t,clearListener:n}=abortTimeout(e.abortSignal);a.push(n);i.push(t)}if(e.abortController?.signal){const{aborted:t,clearListener:n}=abortTimeout(e.abortController.signal);a.push(n);i.push(t)}return Promise.race(i).then(e=>{for(const e of a){e()}return e})};class Client{config;middlewareStack=constructStack();initConfig;handlers;constructor(e){this.config=e;const{protocol:t,protocolSettings:n}=e;if(n){if(typeof t==="function"){e.protocol=new t(n)}}}send(e,t,n){const o=typeof t!=="function"?t:undefined;const i=typeof t==="function"?t:n;const a=o===undefined&&this.config.cacheMiddleware===true;let d;if(a){if(!this.handlers){this.handlers=new WeakMap}const t=this.handlers;if(t.has(e.constructor)){d=t.get(e.constructor)}else{d=e.resolveMiddleware(this.middlewareStack,this.config,o);t.set(e.constructor,d)}}else{delete this.handlers;d=e.resolveMiddleware(this.middlewareStack,this.config,o)}if(i){d(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{})}else{return d(e).then(e=>e.output)}}destroy(){this.config?.requestHandler?.destroy?.();delete this.handlers}}const f="***SensitiveInformation***";function schemaLogFilter(e,t){if(t==null){return t}const n=a.NormalizedSchema.of(e);if(n.getMergedTraits().sensitive){return f}if(n.isListSchema()){const e=!!n.getValueSchema().getMergedTraits().sensitive;if(e){return f}}else if(n.isMapSchema()){const e=!!n.getKeySchema().getMergedTraits().sensitive||!!n.getValueSchema().getMergedTraits().sensitive;if(e){return f}}else if(n.isStructSchema()&&typeof t==="object"){const e=t;const o={};for(const[t,i]of n.structIterator()){if(e[t]!=null){o[t]=schemaLogFilter(i,e[t])}}return o}return t}class Command{middlewareStack=constructStack();schema;static classBuilder(){return new ClassBuilder}resolveMiddlewareWithContext(e,t,n,{middlewareFn:o,clientName:a,commandName:d,inputFilterSensitiveLog:h,outputFilterSensitiveLog:m,smithyContext:f,additionalContext:Q,CommandCtor:k}){for(const i of o.bind(this)(k,e,t,n)){this.middlewareStack.use(i)}const P=e.concat(this.middlewareStack);const{logger:L}=t;const U={logger:L,clientName:a,commandName:d,inputFilterSensitiveLog:h,outputFilterSensitiveLog:m,[i.SMITHY_CONTEXT_KEY]:{commandInstance:this,...f},...Q};const{requestHandler:H}=t;let V=n??{};if(f.eventStream){V={isEventStream:true,...V}}return P.resolve(e=>H.handle(e.request,V),U)}}class ClassBuilder{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=undefined;_outputFilterSensitiveLog=undefined;_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){this._ep=e;return this}m(e){this._middlewareFn=e;return this}s(e,t,n={}){this._smithyContext={service:e,operation:t,...n};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}sc(e){this._operationSchema=e;this._smithyContext.operationSchema=e;return this}build(){const e=this;let t;return t=class extends Command{input;static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super();this.input=t??{};e._init(this);this.schema=e._operationSchema}resolveMiddleware(n,o,i){const a=e._operationSchema;const d=a?.[4]??a?.input;const h=a?.[5]??a?.output;return this.resolveMiddlewareWithContext(n,o,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog??(a?schemaLogFilter.bind(null,d):e=>e),outputFilterSensitiveLog:e._outputFilterSensitiveLog??(a?schemaLogFilter.bind(null,h):e=>e),smithyContext:e._smithyContext,additionalContext:e._additionalContext})}serialize=e._serializer;deserialize=e._deserializer}}}const Q="***SensitiveInformation***";const createAggregatedClient=(e,t,n)=>{for(const[n,o]of Object.entries(e)){const methodImpl=async function(e,t,n){const i=new o(e);if(typeof t==="function"){this.send(i,t)}else if(typeof n==="function"){if(typeof t!=="object")throw new Error(`Expected http options but got ${typeof t}`);this.send(i,t||{},n)}else{return this.send(i,t)}};const e=(n[0].toLowerCase()+n.slice(1)).replace(/Command$/,"");t.prototype[e]=methodImpl}const{paginators:o={},waiters:i={}}=n??{};for(const[e,n]of Object.entries(o)){if(t.prototype[e]===void 0){t.prototype[e]=function(e={},t,...o){return n({...t,client:this},e,...o)}}}for(const[e,n]of Object.entries(i)){if(t.prototype[e]===void 0){t.prototype[e]=async function(e={},t,...o){let i=t;if(typeof t==="number"){i={maxWaitTime:t}}return n({...i,client:this},e,...o)}}}};class ServiceException extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message);Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype);this.name=e.name;this.$fault=e.$fault;this.$metadata=e.$metadata}static isInstance(e){if(!e)return false;const t=e;return ServiceException.prototype.isPrototypeOf(t)||Boolean(t.$fault)&&Boolean(t.$metadata)&&(t.$fault==="client"||t.$fault==="server")}static[Symbol.hasInstance](e){if(!e)return false;const t=e;if(this===ServiceException){return ServiceException.isInstance(e)}if(ServiceException.isInstance(e)){if(t.name&&this.name){return this.prototype.isPrototypeOf(e)||t.name===this.name}return this.prototype.isPrototypeOf(e)}return false}}const decorateServiceException=(e,t={})=>{Object.entries(t).filter(([,e])=>e!==undefined).forEach(([t,n])=>{if(e[t]==undefined||e[t]===""){e[t]=n}});const n=e.message||e.Message||"UnknownError";e.message=n;delete e.Message;return e};const throwDefaultError=({output:e,parsedBody:t,exceptionCtor:n,errorCode:o})=>{const i=deserializeMetadata(e);const a=i.httpStatusCode?i.httpStatusCode+"":undefined;const d=new n({name:t?.code||t?.Code||o||a||"UnknownError",$fault:"client",$metadata:i});throw decorateServiceException(d,t)};const withBaseException=e=>({output:t,parsedBody:n,errorCode:o})=>{throwDefaultError({output:t,parsedBody:n,exceptionCtor:e,errorCode:o})};const deserializeMetadata=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"]});const loadConfigsForDefaultMode=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{}}};let k=false;const emitWarningIfUnsupportedVersion=e=>{if(e&&!k&&parseInt(e.substring(1,e.indexOf(".")))<16){k=true}};const P=Object.values(i.AlgorithmId);const getChecksumConfiguration=e=>{const t=[];for(const n in i.AlgorithmId){const o=i.AlgorithmId[n];if(e[o]===undefined){continue}t.push({algorithmId:()=>o,checksumConstructor:()=>e[o]})}for(const[n,o]of Object.entries(e.checksumAlgorithms??{})){t.push({algorithmId:()=>n,checksumConstructor:()=>o})}return{addChecksumAlgorithm(n){e.checksumAlgorithms=e.checksumAlgorithms??{};const o=n.algorithmId();const i=n.checksumConstructor();if(P.includes(o)){e.checksumAlgorithms[o.toUpperCase()]=i}else{e.checksumAlgorithms[o]=i}t.push(n)},checksumAlgorithms(){return t}}};const resolveChecksumRuntimeConfig=e=>{const t={};e.checksumAlgorithms().forEach(e=>{const n=e.algorithmId();if(P.includes(n)){t[n]=e.checksumConstructor()}});return t};const getRetryConfiguration=e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy(){return e.retryStrategy}});const resolveRetryRuntimeConfig=e=>{const t={};t.retryStrategy=e.retryStrategy();return t};const getDefaultExtensionConfiguration=e=>Object.assign(getChecksumConfiguration(e),getRetryConfiguration(e));const L=getDefaultExtensionConfiguration;const resolveDefaultRuntimeConfig=e=>Object.assign(resolveChecksumRuntimeConfig(e),resolveRetryRuntimeConfig(e));const getArrayIfSingleItem=e=>Array.isArray(e)?e:[e];const getValueFromTextNode=e=>{const t="#text";for(const n in e){if(e.hasOwnProperty(n)&&e[n][t]!==undefined){e[n]=e[n][t]}else if(typeof e[n]==="object"&&e[n]!==null){e[n]=getValueFromTextNode(e[n])}}return e};const isSerializableHeaderValue=e=>e!=null;class NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}}function map(e,t,n){let o;let i;let a;if(typeof t==="undefined"&&typeof n==="undefined"){o={};a=e}else{o=e;if(typeof t==="function"){i=t;a=n;return mapWithFilter(o,i,a)}else{a=t}}for(const e of Object.keys(a)){if(!Array.isArray(a[e])){o[e]=a[e];continue}applyInstruction(o,null,a,e)}return o}const convertMap=e=>{const t={};for(const[n,o]of Object.entries(e||{})){t[n]=[,o]}return t};const take=(e,t)=>{const n={};for(const o in t){applyInstruction(n,e,t,o)}return n};const mapWithFilter=(e,t,n)=>map(e,Object.entries(n).reduce((e,[n,o])=>{if(Array.isArray(o)){e[n]=o}else{if(typeof o==="function"){e[n]=[t,o()]}else{e[n]=[t,o]}}return e},{}));const applyInstruction=(e,t,n,o)=>{if(t!==null){let i=n[o];if(typeof i==="function"){i=[,i]}const[a=nonNullish,d=pass,h=o]=i;if(typeof a==="function"&&a(t[h])||typeof a!=="function"&&!!a){e[o]=d(t[h])}return}let[i,a]=n[o];if(typeof a==="function"){let t;const n=i===undefined&&(t=a())!=null;const d=typeof i==="function"&&!!i(void 0)||typeof i!=="function"&&!!i;if(n){e[o]=t}else if(d){e[o]=a()}}else{const t=i===undefined&&a!=null;const n=typeof i==="function"&&!!i(a)||typeof i!=="function"&&!!i;if(t||n){e[o]=a}}};const nonNullish=e=>e!=null;const pass=e=>e;const serializeFloat=e=>{if(e!==e){return"NaN"}switch(e){case Infinity:return"Infinity";case-Infinity:return"-Infinity";default:return e}};const serializeDateTime=e=>e.toISOString().replace(".000Z","Z");const _json=e=>{if(e==null){return{}}if(Array.isArray(e)){return e.filter(e=>e!=null).map(_json)}if(typeof e==="object"){const t={};for(const n of Object.keys(e)){if(e[n]==null){continue}t[n]=_json(e[n])}return t}return e};t.getSmithyContext=o.getSmithyContext;t.normalizeProvider=o.normalizeProvider;t.AlgorithmId=i.AlgorithmId;t.Client=Client;t.Command=Command;t.NoOpLogger=NoOpLogger;t.SENSITIVE_STRING=Q;t.ServiceException=ServiceException;t._json=_json;t.checkExceptions=checkExceptions;t.constructStack=constructStack;t.convertMap=convertMap;t.createAggregatedClient=createAggregatedClient;t.createWaiter=createWaiter;t.decorateServiceException=decorateServiceException;t.emitWarningIfUnsupportedVersion=emitWarningIfUnsupportedVersion;t.getArrayIfSingleItem=getArrayIfSingleItem;t.getChecksumConfiguration=getChecksumConfiguration;t.getDefaultClientConfiguration=L;t.getDefaultExtensionConfiguration=getDefaultExtensionConfiguration;t.getRetryConfiguration=getRetryConfiguration;t.getValueFromTextNode=getValueFromTextNode;t.invalidFunction=invalidFunction;t.invalidProvider=invalidProvider;t.isSerializableHeaderValue=isSerializableHeaderValue;t.loadConfigsForDefaultMode=loadConfigsForDefaultMode;t.map=map;t.resolveChecksumRuntimeConfig=resolveChecksumRuntimeConfig;t.resolveDefaultRuntimeConfig=resolveDefaultRuntimeConfig;t.resolveRetryRuntimeConfig=resolveRetryRuntimeConfig;t.schemaLogFilter=schemaLogFilter;t.serializeDateTime=serializeDateTime;t.serializeFloat=serializeFloat;t.take=take;t.throwDefaultError=throwDefaultError;t.waiterServiceDefaults=m;t.withBaseException=withBaseException},7291:(e,t,n)=>{"use strict";var o=n(8161);var i=n(6760);var a=n(7598);var d=n(1455);var h=n(690);var m=n(2658);var f=n(4534);class ProviderError extends Error{name="ProviderError";tryNextLink;constructor(e,t=true){let n;let o=true;if(typeof t==="boolean"){n=undefined;o=t}else if(t!=null&&typeof t==="object"){n=t.logger;o=t.tryNextLink??true}super(e);this.tryNextLink=o;Object.setPrototypeOf(this,ProviderError.prototype);n?.debug?.(`@smithy/property-provider ${o?"->":"(!)"} ${e}`)}static from(e,t=true){return Object.assign(new this(e.message,t),e)}}class CredentialsProviderError extends ProviderError{name="CredentialsProviderError";constructor(e,t=true){super(e,t);Object.setPrototypeOf(this,CredentialsProviderError.prototype)}}class TokenProviderError extends ProviderError{name="TokenProviderError";constructor(e,t=true){super(e,t);Object.setPrototypeOf(this,TokenProviderError.prototype)}}const chain=(...e)=>async()=>{if(e.length===0){throw new ProviderError("No providers in chain")}let t;for(const n of e){try{const e=await n();return e}catch(e){t=e;if(e?.tryNextLink){continue}throw e}}throw t};const fromValue=e=>()=>Promise.resolve(e);const memoize=(e,t,n)=>{let o;let i;let a;let d=false;const coalesceProvider=async()=>{if(!i){i=e()}try{o=await i;a=true;d=false}finally{i=undefined}return o};if(t===undefined){return async e=>{if(!a||e?.forceRefresh){o=await coalesceProvider()}return o}}return async e=>{if(!a||e?.forceRefresh){o=await coalesceProvider()}if(d){return o}if(n&&!n(o)){d=true;return o}if(t(o)){await coalesceProvider();return o}return o}};const booleanSelector=(e,t,n)=>{if(!(t in e))return undefined;if(e[t]==="true")return true;if(e[t]==="false")return false;throw new Error(`Cannot load ${n} "${t}". Expected "true" or "false", got ${e[t]}.`)};const numberSelector=(e,t,n)=>{if(!(t in e))return undefined;const o=parseInt(e[t],10);if(Number.isNaN(o)){throw new TypeError(`Cannot load ${n} '${t}'. Expected number, got '${e[t]}'.`)}return o};t.SelectorType=void 0;(function(e){e["ENV"]="env";e["CONFIG"]="shared config entry"})(t.SelectorType||(t.SelectorType={}));const Q={};const getHomeDirCacheKey=()=>{if(process&&process.geteuid){return`${process.geteuid()}`}return"DEFAULT"};const getHomeDir=()=>{const{HOME:e,USERPROFILE:t,HOMEPATH:n,HOMEDRIVE:a=`C:${i.sep}`}=process.env;if(e)return e;if(t)return t;if(n)return`${a}${n}`;const d=getHomeDirCacheKey();if(!Q[d])Q[d]=o.homedir();return Q[d]};const k="AWS_PROFILE";const P="default";const getProfileName=e=>e.profile||process.env[k]||P;const getSSOTokenFilepath=e=>{const t=a.createHash("sha1");const n=t.update(e).digest("hex");return i.join(getHomeDir(),".aws","sso","cache",`${n}.json`)};const L={};const getSSOTokenFromFile=async e=>{if(L[e]){return L[e]}const t=getSSOTokenFilepath(e);const n=await d.readFile(t,"utf8");return JSON.parse(n)};const U=".";const getConfigData=e=>Object.entries(e).filter(([e])=>{const t=e.indexOf(U);if(t===-1){return false}return Object.values(h.IniSectionType).includes(e.substring(0,t))}).reduce((e,[t,n])=>{const o=t.indexOf(U);const i=t.substring(0,o)===h.IniSectionType.PROFILE?t.substring(o+1):t;e[i]=n;return e},{...e.default&&{default:e.default}});const H="AWS_CONFIG_FILE";const getConfigFilepath=()=>process.env[H]||i.join(getHomeDir(),".aws","config");const V="AWS_SHARED_CREDENTIALS_FILE";const getCredentialsFilepath=()=>process.env[V]||i.join(getHomeDir(),".aws","credentials");const _=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;const W=["__proto__","profile __proto__"];const parseIni=e=>{const t={};let n;let o;for(const i of e.split(/\r?\n/)){const e=i.split(/(^|\s)[;#]/)[0].trim();const a=e[0]==="["&&e[e.length-1]==="]";if(a){n=undefined;o=undefined;const t=e.substring(1,e.length-1);const i=_.exec(t);if(i){const[,e,,t]=i;if(Object.values(h.IniSectionType).includes(e)){n=[e,t].join(U)}}else{n=t}if(W.includes(t)){throw new Error(`Found invalid profile name "${t}"`)}}else if(n){const a=e.indexOf("=");if(![0,-1].includes(a)){const[d,h]=[e.substring(0,a).trim(),e.substring(a+1).trim()];if(h===""){o=d}else{if(o&&i.trimStart()===i){o=undefined}t[n]=t[n]||{};const e=o?[o,d].join(U):d;t[n][e]=h}}}}return t};const Y={};const J={};const readFile=(e,t)=>{if(J[e]!==undefined){return J[e]}if(!Y[e]||t?.ignoreCache){Y[e]=d.readFile(e,"utf8")}return Y[e]};const swallowError$1=()=>({});const loadSharedConfigFiles=async(e={})=>{const{filepath:t=getCredentialsFilepath(),configFilepath:n=getConfigFilepath()}=e;const o=getHomeDir();const a="~/";let d=t;if(t.startsWith(a)){d=i.join(o,t.slice(2))}let h=n;if(n.startsWith(a)){h=i.join(o,n.slice(2))}const m=await Promise.all([readFile(h,{ignoreCache:e.ignoreCache}).then(parseIni).then(getConfigData).catch(swallowError$1),readFile(d,{ignoreCache:e.ignoreCache}).then(parseIni).catch(swallowError$1)]);return{configFile:m[0],credentialsFile:m[1]}};const getSsoSessionData=e=>Object.entries(e).filter(([e])=>e.startsWith(h.IniSectionType.SSO_SESSION+U)).reduce((e,[t,n])=>({...e,[t.substring(t.indexOf(U)+1)]:n}),{});const swallowError=()=>({});const loadSsoSessionData=async(e={})=>readFile(e.configFilepath??getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError);const mergeConfigFiles=(...e)=>{const t={};for(const n of e){for(const[e,o]of Object.entries(n)){if(t[e]!==undefined){Object.assign(t[e],o)}else{t[e]=o}}}return t};const parseKnownFiles=async e=>{const t=await loadSharedConfigFiles(e);return mergeConfigFiles(t.configFile,t.credentialsFile)};const j={getFileRecord(){return J},interceptFile(e,t){J[e]=Promise.resolve(t)},getTokenRecord(){return L},interceptToken(e,t){L[e]=t}};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}}const fromEnv=(e,t)=>async()=>{try{const n=e(process.env,t);if(n===undefined){throw new Error}return n}catch(n){throw new CredentialsProviderError(n.message||`Not found in ENV: ${getSelectorName(e.toString())}`,{logger:t?.logger})}};const fromSharedConfigFiles=(e,{preferredFile:t="config",...n}={})=>async()=>{const o=getProfileName(n);const{configFile:i,credentialsFile:a}=await loadSharedConfigFiles(n);const d=a[o]||{};const h=i[o]||{};const m=t==="config"?{...d,...h}:{...h,...d};try{const n=t==="config"?i:a;const o=e(m,n);if(o===undefined){throw new Error}return o}catch(t){throw new CredentialsProviderError(t.message||`Not found in config files w/ profile [${o}]: ${getSelectorName(e.toString())}`,{logger:n.logger})}};const isFunction=e=>typeof e==="function";const fromStatic=e=>isFunction(e)?async()=>await e():fromValue(e);const loadConfig=({environmentVariableSelector:e,configFileSelector:t,default:n},o={})=>{const{signingName:i,logger:a}=o;const d={signingName:i,logger:a};return memoize(chain(fromEnv(e,d),fromSharedConfigFiles(t,o),fromStatic(n)))};const K="AWS_USE_DUALSTACK_ENDPOINT";const X="use_dualstack_endpoint";const Z=false;const ee={environmentVariableSelector:e=>booleanSelector(e,K,t.SelectorType.ENV),configFileSelector:e=>booleanSelector(e,X,t.SelectorType.CONFIG),default:false};const te={environmentVariableSelector:e=>booleanSelector(e,K,t.SelectorType.ENV),configFileSelector:e=>booleanSelector(e,X,t.SelectorType.CONFIG),default:undefined};const ne="AWS_USE_FIPS_ENDPOINT";const se="use_fips_endpoint";const oe=false;const re={environmentVariableSelector:e=>booleanSelector(e,ne,t.SelectorType.ENV),configFileSelector:e=>booleanSelector(e,se,t.SelectorType.CONFIG),default:false};const ie={environmentVariableSelector:e=>booleanSelector(e,ne,t.SelectorType.ENV),configFileSelector:e=>booleanSelector(e,se,t.SelectorType.CONFIG),default:undefined};const resolveCustomEndpointsConfig=e=>{const{tls:t,endpoint:n,urlParser:o,useDualstackEndpoint:i}=e;return Object.assign(e,{tls:t??true,endpoint:m.normalizeProvider(typeof n==="string"?o(n):n),isCustomEndpoint:true,useDualstackEndpoint:m.normalizeProvider(i??false)})};const getEndpointFromRegion=async e=>{const{tls:t=true}=e;const n=await e.region();const o=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);if(!o.test(n)){throw new Error("Invalid region in client config")}const i=await e.useDualstackEndpoint();const a=await e.useFipsEndpoint();const{hostname:d}=await e.regionInfoProvider(n,{useDualstackEndpoint:i,useFipsEndpoint:a})??{};if(!d){throw new Error("Cannot resolve hostname from client config")}return e.urlParser(`${t?"https:":"http:"}//${d}`)};const resolveEndpointsConfig=e=>{const t=m.normalizeProvider(e.useDualstackEndpoint??false);const{endpoint:n,useFipsEndpoint:o,urlParser:i,tls:a}=e;return Object.assign(e,{tls:a??true,endpoint:n?m.normalizeProvider(typeof n==="string"?i(n):n):()=>getEndpointFromRegion({...e,useDualstackEndpoint:t,useFipsEndpoint:o}),isCustomEndpoint:!!n,useDualstackEndpoint:t})};const ae="AWS_REGION";const ce="region";const Ae={environmentVariableSelector:e=>e[ae],configFileSelector:e=>e[ce],default:()=>{throw new Error("Region is missing")}};const le={preferredFile:"credentials"};const ue=new Set;const checkRegion=(e,t=f.isValidHostLabel)=>{if(!ue.has(e)&&!t(e)){if(e==="*"){console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`)}else{throw new Error(`Region not accepted: region="${e}" is not a valid hostname component.`)}}else{ue.add(e)}};const isFipsRegion=e=>typeof e==="string"&&(e.startsWith("fips-")||e.endsWith("-fips"));const getRealRegion=e=>isFipsRegion(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;const resolveRegionConfig=e=>{const{region:t,useFipsEndpoint:n}=e;if(!t){throw new Error("Region is missing")}return Object.assign(e,{region:async()=>{const e=typeof t==="function"?await t():t;const n=getRealRegion(e);checkRegion(n);return n},useFipsEndpoint:async()=>{const e=typeof t==="string"?t:await t();if(isFipsRegion(e)){return true}return typeof n!=="function"?Promise.resolve(!!n):n()}})};const getHostnameFromVariants=(e=[],{useFipsEndpoint:t,useDualstackEndpoint:n})=>e.find(({tags:e})=>t===e.includes("fips")&&n===e.includes("dualstack"))?.hostname;const getResolvedHostname=(e,{regionHostname:t,partitionHostname:n})=>t?t:n?n.replace("{region}",e):undefined;const getResolvedPartition=(e,{partitionHash:t})=>Object.keys(t||{}).find(n=>t[n].regions.includes(e))??"aws";const getResolvedSigningRegion=(e,{signingRegion:t,regionRegex:n,useFipsEndpoint:o})=>{if(t){return t}else if(o){const t=n.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\.");const o=e.match(t);if(o){return o[0].slice(1,-1)}}};const getRegionInfo=(e,{useFipsEndpoint:t=false,useDualstackEndpoint:n=false,signingService:o,regionHash:i,partitionHash:a})=>{const d=getResolvedPartition(e,{partitionHash:a});const h=e in i?e:a[d]?.endpoint??e;const m={useFipsEndpoint:t,useDualstackEndpoint:n};const f=getHostnameFromVariants(i[h]?.variants,m);const Q=getHostnameFromVariants(a[d]?.variants,m);const k=getResolvedHostname(h,{regionHostname:f,partitionHostname:Q});if(k===undefined){throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:h,useFipsEndpoint:t,useDualstackEndpoint:n}}`)}const P=getResolvedSigningRegion(k,{signingRegion:i[h]?.signingRegion,regionRegex:a[d].regionRegex,useFipsEndpoint:t});return{partition:d,signingService:o,hostname:k,...P&&{signingRegion:P},...i[h]?.signingService&&{signingService:i[h].signingService}}};const de="AWS_EXECUTION_ENV";const ge="AWS_REGION";const he="AWS_DEFAULT_REGION";const me="AWS_EC2_METADATA_DISABLED";const pe=["in-region","cross-region","mobile","standard","legacy"];const Ee="/latest/meta-data/placement/region";const fe="AWS_DEFAULTS_MODE";const Ie="defaults_mode";const Ce={environmentVariableSelector:e=>e[fe],configFileSelector:e=>e[Ie],default:"legacy"};const resolveDefaultsModeConfig=({region:e=loadConfig(Ae),defaultsMode:t=loadConfig(Ce)}={})=>memoize(async()=>{const n=typeof t==="function"?await t():t;switch(n?.toLowerCase()){case"auto":return resolveNodeDefaultsModeAuto(e);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(n?.toLocaleLowerCase());case undefined:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${pe.join(", ")}, got ${n}`)}});const resolveNodeDefaultsModeAuto=async e=>{if(e){const t=typeof e==="function"?await e():e;const n=await inferPhysicalRegion();if(!n){return"standard"}if(t===n){return"in-region"}else{return"cross-region"}}return"standard"};const inferPhysicalRegion=async()=>{if(process.env[de]&&(process.env[ge]||process.env[he])){return process.env[ge]??process.env[he]}if(!process.env[me]){try{const e=await getImdsEndpoint();return(await imdsHttpGet({hostname:e.hostname,path:Ee})).toString()}catch(e){}}};const getImdsEndpoint=async()=>{const e=process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;if(e){const t=new URL(e);return{hostname:t.hostname,path:t.pathname}}const t=process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE;if(t==="IPv6"){return{hostname:"fd00:ec2::254",path:"/"}}return{hostname:"169.254.169.254",path:"/"}};const imdsHttpGet=async({hostname:e,path:t})=>{const{request:o}=await Promise.resolve().then(n.t.bind(n,7067,23));return new Promise((n,i)=>{const a=o({method:"GET",hostname:e.replace(/^\[(.+)]$/,"$1"),path:t,timeout:1e3,signal:AbortSignal.timeout(1e3)});a.on("error",e=>{i(e);a.destroy()});a.on("timeout",()=>{i(new Error("TimeoutError from instance metadata service"));a.destroy()});a.on("response",e=>{const{statusCode:t=400}=e;if(t<200||300<=t){i(Object.assign(new Error("Error response received from instance metadata service"),{statusCode:t}));a.destroy();return}const o=[];e.on("data",e=>o.push(e));e.on("end",()=>{n(Buffer.concat(o));a.destroy()})});a.end()})};t.CONFIG_PREFIX_SEPARATOR=U;t.CONFIG_USE_DUALSTACK_ENDPOINT=X;t.CONFIG_USE_FIPS_ENDPOINT=se;t.CredentialsProviderError=CredentialsProviderError;t.DEFAULT_PROFILE=P;t.DEFAULT_USE_DUALSTACK_ENDPOINT=Z;t.DEFAULT_USE_FIPS_ENDPOINT=oe;t.ENV_PROFILE=k;t.ENV_USE_DUALSTACK_ENDPOINT=K;t.ENV_USE_FIPS_ENDPOINT=ne;t.NODE_REGION_CONFIG_FILE_OPTIONS=le;t.NODE_REGION_CONFIG_OPTIONS=Ae;t.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=ee;t.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=re;t.ProviderError=ProviderError;t.REGION_ENV_NAME=ae;t.REGION_INI_NAME=ce;t.TokenProviderError=TokenProviderError;t.booleanSelector=booleanSelector;t.chain=chain;t.externalDataInterceptor=j;t.fromStatic=fromStatic;t.fromValue=fromValue;t.getHomeDir=getHomeDir;t.getProfileName=getProfileName;t.getRegionInfo=getRegionInfo;t.getSSOTokenFilepath=getSSOTokenFilepath;t.getSSOTokenFromFile=getSSOTokenFromFile;t.loadConfig=loadConfig;t.loadSharedConfigFiles=loadSharedConfigFiles;t.loadSsoSessionData=loadSsoSessionData;t.memoize=memoize;t.nodeDualstackConfigSelectors=te;t.nodeFipsConfigSelectors=ie;t.numberSelector=numberSelector;t.parseKnownFiles=parseKnownFiles;t.readFile=readFile;t.resolveCustomEndpointsConfig=resolveCustomEndpointsConfig;t.resolveDefaultsModeConfig=resolveDefaultsModeConfig;t.resolveEndpointsConfig=resolveEndpointsConfig;t.resolveRegionConfig=resolveRegionConfig},2085:(e,t,n)=>{"use strict";var o=n(7291);var i=n(4534);var a=n(2658);var d=n(690);const h="AWS_ENDPOINT_URL";const m="endpoint_url";const getEndpointUrlConfig=e=>({environmentVariableSelector:t=>{const n=e.split(" ").map(e=>e.toUpperCase());const o=t[[h,...n].join("_")];if(o)return o;const i=t[h];if(i)return i;return undefined},configFileSelector:(t,n)=>{if(n&&t.services){const i=n[["services",t.services].join(o.CONFIG_PREFIX_SEPARATOR)];if(i){const t=e.split(" ").map(e=>e.toLowerCase());const n=i[[t.join("_"),m].join(o.CONFIG_PREFIX_SEPARATOR)];if(n)return n}}const i=t[m];if(i)return i;return undefined},default:undefined});const getEndpointFromConfig=async e=>o.loadConfig(getEndpointUrlConfig(e??""))();const resolveParamsForS3=async e=>{const t=e?.Bucket||"";if(typeof e.Bucket==="string"){e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))}if(isArnBucketName(t)){if(e.ForcePathStyle===true){throw new Error("Path-style addressing cannot be used with ARN buckets")}}else if(!isDnsCompatibleBucketName(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};const f=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/;const Q=/(\d+\.){3}\d+/;const k=/\.\./;const isDnsCompatibleBucketName=e=>f.test(e)&&!Q.test(e)&&!k.test(e);const isArnBucketName=e=>{const[t,n,o,,,i]=e.split(":");const a=t==="arn"&&e.split(":").length>=6;const d=Boolean(a&&n&&o&&i);if(a&&!d){throw new Error(`Invalid ARN: ${e} was an invalid ARN.`)}return d};const createConfigValueProvider=(e,t,n,o=false)=>{const configProvider=async()=>{let i;if(o){const o=n.clientContextParams;const a=o?.[e];i=a??n[e]??n[t]}else{i=n[e]??n[t]}if(typeof i==="function"){return i()}return i};if(e==="credentialScope"||t==="CredentialScope"){return async()=>{const e=typeof n.credentials==="function"?await n.credentials():n.credentials;const t=e?.credentialScope??e?.CredentialScope;return t}}if(e==="accountId"||t==="AccountId"){return async()=>{const e=typeof n.credentials==="function"?await n.credentials():n.credentials;const t=e?.accountId??e?.AccountId;return t}}if(e==="endpoint"||t==="endpoint"){return async()=>{if(n.isCustomEndpoint===false){return undefined}const e=await configProvider();if(e&&typeof e==="object"){if("url"in e){return e.url.href}if("hostname"in e){const{protocol:t,hostname:n,port:o,path:i}=e;return`${t}//${n}${o?":"+o:""}${i}`}}return e}}return configProvider};function bindGetEndpointFromInstructions(e){return async(t,n,o,a)=>{if(!o.isCustomEndpoint){let t;if(o.serviceConfiguredEndpoint){t=await o.serviceConfiguredEndpoint()}else{t=await e(o.serviceId)}if(t){o.endpoint=()=>Promise.resolve(i.toEndpointV1(t));o.isCustomEndpoint=true}}const d=await resolveParams(t,n,o);if(typeof o.endpointProvider!=="function"){throw new Error("config.endpointProvider is not set.")}const h=o.endpointProvider(d,a);if(o.isCustomEndpoint&&o.endpoint){const e=await o.endpoint();if(e?.headers){h.headers??={};for(const[t,n]of Object.entries(e.headers)){h.headers[t]=Array.isArray(n)?n:[n]}}}return h}}const resolveParams=async(e,t,n)=>{const o={};const i=t?.getEndpointParameterInstructions?.()||{};for(const[t,a]of Object.entries(i)){switch(a.type){case"staticContextParams":o[t]=a.value;break;case"contextParams":o[t]=e[a.name];break;case"clientContextParams":case"builtInParams":o[t]=await createConfigValueProvider(a.name,t,n,a.type!=="builtInParams")();break;case"operationContextParams":o[t]=a.get(e);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(a))}}if(Object.keys(i).length===0){Object.assign(o,n)}if(String(n.serviceId).toLowerCase()==="s3"){await resolveParamsForS3(o)}return o};function setFeature(e,t,n){if(!e.__smithy_context){e.__smithy_context={features:{}}}else if(!e.__smithy_context.features){e.__smithy_context.features={}}e.__smithy_context.features[t]=n}function bindEndpointMiddleware(e){const t=bindGetEndpointFromInstructions(e);return({config:e,instructions:n})=>(o,i)=>async d=>{if(e.isCustomEndpoint){setFeature(i,"ENDPOINT_OVERRIDE","N")}const h=await t(d.input,{getEndpointParameterInstructions(){return n}},{...e},i);i.endpointV2=h;i.authSchemes=h.properties?.authSchemes;const m=i.authSchemes?.[0];if(m){i["signing_region"]=m.signingRegion;i["signing_service"]=m.signingName;const e=a.getSmithyContext(i);const t=e?.selectedHttpAuthScheme?.httpAuthOption;if(t){t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:m.signingRegion,signingRegion:m.signingRegion,signing_service:m.signingName,signingName:m.signingName,signingRegionSet:m.signingRegionSet},m.properties)}}return o({...d})}}const P={name:"serializerMiddleware"};const L={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:true,relation:"before",toMiddleware:P.name};function bindGetEndpointPlugin(e){const t=bindEndpointMiddleware(e);return(e,n)=>({applyToStack:o=>{o.addRelativeTo(t({config:e,instructions:n}),L)}})}function bindResolveEndpointConfig(e){return t=>{const n=t.tls??true;const{endpoint:o,useDualstackEndpoint:a,useFipsEndpoint:d}=t;const h=o!=null?async()=>i.toEndpointV1(await i.normalizeProvider(o)()):undefined;const m=!!o;const f=Object.assign(t,{endpoint:h,tls:n,isCustomEndpoint:m,useDualstackEndpoint:i.normalizeProvider(a??false),useFipsEndpoint:i.normalizeProvider(d??false)});let Q=undefined;f.serviceConfiguredEndpoint=async()=>{if(t.serviceId&&!Q){Q=e(t.serviceId)}return Q};return f}}class BinaryDecisionDiagram{nodes;root;conditions;results;constructor(e,t,n,o){this.nodes=e;this.root=t;this.conditions=n;this.results=o}static from(e,t,n,o){return new BinaryDecisionDiagram(e,t,n,o)}}class EndpointCache{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50;if(t){this.parameters=t}}get(e,t){const n=this.hash(e);if(n===false){return t()}if(!this.data.has(n)){if(this.data.size>this.capacity+10){const e=this.data.keys();let t=0;while(true){const{value:n,done:o}=e.next();this.data.delete(n);if(o||++t>10){break}}}this.data.set(n,t())}return this.data.get(n)}size(){return this.data.size}hash(e){let t="";const{parameters:n}=this;if(n.length===0){return false}for(const o of n){const n=String(e[o]??"");if(n.includes("|;")){return false}t+=n+"|;"}return t}}class EndpointError extends Error{constructor(e){super(e);this.name="EndpointError"}}const U="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)}const H={};const booleanEquals=(e,t)=>e===t;function coalesce(...e){for(const t of e){if(t!=null){return t}}return undefined}const getAttrPathList=e=>{const t=e.split(".");const n=[];for(const o of t){const t=o.indexOf("[");if(t!==-1){if(o.indexOf("]")!==o.length-1){throw new EndpointError(`Path: '${e}' does not end with ']'`)}const i=o.slice(t+1,-1);if(Number.isNaN(parseInt(i))){throw new EndpointError(`Invalid array index: '${i}' in path: '${e}'`)}if(t!==0){n.push(o.slice(0,t))}n.push(i)}else{n.push(o)}}return n};const getAttr=(e,t)=>getAttrPathList(t).reduce((n,o)=>{if(typeof n!=="object"){throw new EndpointError(`Index '${o}' in '${t}' not found in '${JSON.stringify(e)}'`)}else if(Array.isArray(n)){const e=parseInt(o);return n[e<0?n.length+e:e]}return n[o]},e);const isSet=e=>e!=null;function ite(e,t,n){return e?t:n}const not=e=>!e;const V=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}$`);const isIpAddress=e=>V.test(e)||e.startsWith("[")&&e.endsWith("]");const _={[d.EndpointURLScheme.HTTP]:80,[d.EndpointURLScheme.HTTPS]:443};const parseURL=e=>{const t=(()=>{try{if(e instanceof URL){return e}if(typeof e==="object"&&"hostname"in e){const{hostname:t,port:n,protocol:o="",path:i="",query:a={}}=e;const d=new URL(`${o}//${t}${n?`:${n}`:""}${i}`);d.search=Object.entries(a).map(([e,t])=>`${e}=${t}`).join("&");return d}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 n=t.href;const{host:o,hostname:i,pathname:a,protocol:h,search:m}=t;if(m){return null}const f=h.slice(0,-1);if(!Object.values(d.EndpointURLScheme).includes(f)){return null}const Q=isIpAddress(i);const k=n.includes(`${o}:${_[f]}`)||typeof e==="string"&&e.includes(`${o}:${_[f]}`);const P=`${o}${k?`:${_[f]}`:``}`;return{scheme:f,authority:P,path:a,normalizedPath:a.endsWith("/")?a:`${a}/`,isIp:Q}};function split(e,t,n){if(n===1){return[e]}if(e===""){return[""]}const o=e.split(t);if(n===0){return o}return o.slice(0,n-1).concat(o.slice(1).join(t))}const stringEquals=(e,t)=>e===t;const substring=(e,t,n,o)=>{if(e==null||t>=n||e.lengthencodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`);const W={booleanEquals:booleanEquals,coalesce:coalesce,getAttr:getAttr,isSet:isSet,isValidHostLabel:i.isValidHostLabel,ite:ite,not:not,parseURL:parseURL,split:split,stringEquals:stringEquals,substring:substring,uriEncode:uriEncode};const evaluateTemplate=(e,t)=>{const n=[];const{referenceRecord:o,endpointParams:i}=t;let a=0;while(at.referenceRecord[e]??t.endpointParams[e];const evaluateExpression=(e,t,n)=>{if(typeof e==="string"){return evaluateTemplate(e,n)}else if(e["fn"]){return Y.callFunction(e,n)}else if(e["ref"]){return getReferenceValue(e,n)}throw new EndpointError(`'${t}': ${String(e)} is not a string, function or reference.`)};const callFunction=({fn:e,argv:t},n)=>{const o=Array(t.length);for(let e=0;e{const{assign:n}=e;if(n&&n in t.referenceRecord){throw new EndpointError(`'${n}' is already defined in Reference Record.`)}const o=callFunction(e,t);t.logger?.debug?.(`${U} evaluateCondition: ${toDebugString(e)} = ${toDebugString(o)}`);const i=o===""?true:!!o;if(n!=null){return{result:i,toAssign:{name:n,value:o}}}return{result:i}};const getEndpointHeaders=(e,t)=>Object.entries(e??{}).reduce((e,[n,o])=>{e[n]=o.map(e=>{const o=evaluateExpression(e,"Header value entry",t);if(typeof o!=="string"){throw new EndpointError(`Header '${n}' value '${o}' is not a string`)}return o});return e},{});const getEndpointProperties=(e,t)=>Object.entries(e).reduce((e,[n,o])=>{e[n]=J.getEndpointProperty(o,t);return e},{});const getEndpointProperty=(e,t)=>{if(Array.isArray(e)){return e.map(e=>getEndpointProperty(e,t))}switch(typeof e){case"string":return evaluateTemplate(e,t);case"object":if(e===null){throw new EndpointError(`Unexpected endpoint property: ${e}`)}return J.getEndpointProperties(e,t);case"boolean":return e;default:throw new EndpointError(`Unexpected endpoint property type: ${typeof e}`)}};const J={getEndpointProperty:getEndpointProperty,getEndpointProperties:getEndpointProperties};const getEndpointUrl=(e,t)=>{const n=evaluateExpression(e,"Endpoint URL",t);if(typeof n==="string"){try{return new URL(n)}catch(e){console.error(`Failed to construct URL with ${n}`,e);throw e}}throw new EndpointError(`Endpoint URL must be a string, got ${typeof n}`)};const j=1e8;const decideEndpoint=(e,t)=>{const{nodes:n,root:o,results:i,conditions:a}=e;let d=o;const h={};const m={referenceRecord:h,endpointParams:t.endpointParams,logger:t.logger};while(d!==1&&d!==-1&&d=0===P.result?o:i}if(d>=j){const e=i[d-j];if(e[0]===-1){const[,t]=e;throw new EndpointError(evaluateExpression(t,"Error",m))}const[t,n,o]=e;return{url:getEndpointUrl(t,m),properties:getEndpointProperties(n,m),headers:getEndpointHeaders(o??{},m)}}throw new EndpointError(`No matching endpoint.`)};const evaluateConditions=(e=[],t)=>{const n={};const o={...t,referenceRecord:{...t.referenceRecord}};let i=false;for(const a of e){const{result:e,toAssign:d}=evaluateCondition(a,o);if(!e){return{result:e}}if(d){i=true;n[d.name]=d.value;o.referenceRecord[d.name]=d.value;t.logger?.debug?.(`${U} assign: ${d.name} := ${toDebugString(d.value)}`)}}if(i){return{result:true,referenceRecord:n}}return{result:true}};const evaluateEndpointRule=(e,t)=>{const{conditions:n,endpoint:o}=e;const{result:i,referenceRecord:a}=evaluateConditions(n,t);if(!i){return}const d=a?{...t,referenceRecord:{...t.referenceRecord,...a}}:t;const{url:h,properties:m,headers:f}=o;t.logger?.debug?.(`${U} Resolving endpoint from template: ${toDebugString(o)}`);const Q={url:getEndpointUrl(h,d)};if(f!=null){Q.headers=getEndpointHeaders(f,d)}if(m!=null){Q.properties=getEndpointProperties(m,d)}return Q};const evaluateErrorRule=(e,t)=>{const{conditions:n,error:o}=e;const{result:i,referenceRecord:a}=evaluateConditions(n,t);if(!i){return}const d=a?{...t,referenceRecord:{...t.referenceRecord,...a}}:t;throw new EndpointError(evaluateExpression(o,"Error",d))};const evaluateRules=(e,t)=>{for(const n of e){if(n.type==="endpoint"){const e=evaluateEndpointRule(n,t);if(e){return e}}else if(n.type==="error"){evaluateErrorRule(n,t)}else if(n.type==="tree"){const e=K.evaluateTreeRule(n,t);if(e){return e}}else{throw new EndpointError(`Unknown endpoint rule: ${n}`)}}throw new EndpointError(`Rules evaluation failed`)};const evaluateTreeRule=(e,t)=>{const{conditions:n,rules:o}=e;const{result:i,referenceRecord:a}=evaluateConditions(n,t);if(!i){return}const d=a?{...t,referenceRecord:{...t.referenceRecord,...a}}:t;return K.evaluateRules(o,d)};const K={evaluateRules:evaluateRules,evaluateTreeRule:evaluateTreeRule};const resolveEndpoint=(e,t)=>{const{endpointParams:n,logger:o}=t;const{parameters:i,rules:a}=e;t.logger?.debug?.(`${U} Initial EndpointParams: ${toDebugString(n)}`);for(const e in i){const t=i[e];const o=n[e];if(o==null&&t.default!=null){n[e]=t.default;continue}if(t.required&&o==null){throw new EndpointError(`Missing required parameter: '${e}'`)}}const d=evaluateRules(a,{endpointParams:n,logger:o,referenceRecord:{}});t.logger?.debug?.(`${U} Resolved endpoint: ${toDebugString(d)}`);return d};const resolveEndpointRequiredConfig=e=>{const{endpoint:t}=e;if(t===undefined){e.endpoint=async()=>{throw new Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint.")}}return e};const X=bindGetEndpointFromInstructions(getEndpointFromConfig);const Z=bindResolveEndpointConfig(getEndpointFromConfig);const ee=bindEndpointMiddleware(getEndpointFromConfig);const te=bindGetEndpointPlugin(getEndpointFromConfig);t.isValidHostLabel=i.isValidHostLabel;t.middlewareEndpointToEndpointV1=i.toEndpointV1;t.toEndpointV1=i.toEndpointV1;t.BinaryDecisionDiagram=BinaryDecisionDiagram;t.EndpointCache=EndpointCache;t.EndpointError=EndpointError;t.customEndpointFunctions=H;t.decideEndpoint=decideEndpoint;t.endpointMiddleware=ee;t.endpointMiddlewareOptions=L;t.getEndpointFromInstructions=X;t.getEndpointPlugin=te;t.isIpAddress=isIpAddress;t.resolveEndpoint=resolveEndpoint;t.resolveEndpointConfig=Z;t.resolveEndpointRequiredConfig=resolveEndpointRequiredConfig;t.resolveParams=resolveParams},3422:(e,t,n)=>{"use strict";var o=n(2430);var i=n(6890);var a=n(4534);var d=n(690);const collectBody=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array){return o.Uint8ArrayBlobAdapter.mutate(e)}if(!e){return o.Uint8ArrayBlobAdapter.mutate(new Uint8Array)}const n=t.streamCollector(e);return o.Uint8ArrayBlobAdapter.mutate(await n)};function extendedEncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}class SerdeContext{serdeContext;setSerdeContext(e){this.serdeContext=e}}class HttpProtocol extends SerdeContext{options;compositeErrorRegistry;constructor(e){super();this.options=e;this.compositeErrorRegistry=i.TypeRegistry.for(e.defaultNamespace);for(const t of e.errorTypeRegistries??[]){this.compositeErrorRegistry.copyFrom(t)}}getRequestType(){return a.HttpRequest}getResponseType(){return a.HttpResponse}setSerdeContext(e){this.serdeContext=e;this.serializer.setSerdeContext(e);this.deserializer.setSerdeContext(e);if(this.getPayloadCodec()){this.getPayloadCodec().setSerdeContext(e)}}updateServiceEndpoint(e,t){if("url"in t){e.protocol=t.url.protocol;e.hostname=t.url.hostname;e.port=t.url.port?Number(t.url.port):undefined;e.path=t.url.pathname;e.fragment=t.url.hash||void 0;e.username=t.url.username||void 0;e.password=t.url.password||void 0;if(!e.query){e.query={}}for(const[n,o]of t.url.searchParams.entries()){e.query[n]=o}if(t.headers){for(const n in t.headers){e.headers[n]=t.headers[n].join(", ")}}return e}else{e.protocol=t.protocol;e.hostname=t.hostname;e.port=t.port?Number(t.port):undefined;e.path=t.path;e.query={...t.query};if(t.headers){for(const n in t.headers){e.headers[n]=t.headers[n]}}return e}}setHostPrefix(e,t,n){if(this.serdeContext?.disableHostPrefix){return}const o=i.NormalizedSchema.of(t.input);const a=i.translateTraits(t.traits??{});if(a.endpoint){let t=a.endpoint?.[0];if(typeof t==="string"){for(const[e,i]of o.structIterator()){if(!i.getMergedTraits().hostLabel){continue}const o=n[e];if(typeof o!=="string"){throw new Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`)}t=t.replace(`{${e}}`,o)}e.hostname=t+e.hostname}}}deserializeMetadata(e){return{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"]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n}){const o=await this.loadEventStreamCapability();return o.serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n}){const o=await this.loadEventStreamCapability();return o.deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n})}async loadEventStreamCapability(){const{EventStreamSerde:e}=await n.e(579).then(n.t.bind(n,6579,19));return new e({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,n,o,i){return[]}getEventStreamMarshaller(){const e=this.serdeContext;if(!e.eventStreamMarshaller){throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.")}return e.eventStreamMarshaller}}class HttpBindingProtocol extends HttpProtocol{async serializeRequest(e,t,n){const o=t&&typeof t==="object"?t:{};const d=this.serializer;const h={};const m={};const f=await n.endpoint();const Q=i.NormalizedSchema.of(e?.input);const k=[];const P=[];let L=false;let U;const H=new a.HttpRequest({protocol:"",hostname:"",port:undefined,path:"",fragment:undefined,query:h,headers:m,body:undefined});if(f){this.updateServiceEndpoint(H,f);this.setHostPrefix(H,e,o);const t=i.translateTraits(e.traits);if(t.http){H.method=t.http[0];const[e,n]=t.http[1].split("?");if(H.path=="/"){H.path=e}else{H.path+=e}const o=new URLSearchParams(n??"");for(const[e,t]of o){h[e]=t}}}for(const[e,t]of Q.structIterator()){const n=t.getMergedTraits()??{};const i=o[e];if(i==null&&!t.isIdempotencyToken()){if(n.httpLabel){if(H.path.includes(`{${e}+}`)||H.path.includes(`{${e}}`)){throw new Error(`No value provided for input HTTP label: ${e}.`)}}continue}if(n.httpPayload){const n=t.isStreaming();if(n){const n=t.isStructSchema();if(n){if(o[e]){U=await this.serializeEventStream({eventStream:o[e],requestSchema:Q})}}else{U=i}}else{d.write(t,i);U=d.flush()}}else if(n.httpLabel){d.write(t,i);const n=d.flush();if(H.path.includes(`{${e}+}`)){H.path=H.path.replace(`{${e}+}`,n.split("/").map(extendedEncodeURIComponent).join("/"))}else if(H.path.includes(`{${e}}`)){H.path=H.path.replace(`{${e}}`,extendedEncodeURIComponent(n))}}else if(n.httpHeader){d.write(t,i);m[n.httpHeader.toLowerCase()]=String(d.flush())}else if(typeof n.httpPrefixHeaders==="string"){for(const e in i){const o=i[e];const a=n.httpPrefixHeaders+e;d.write([t.getValueSchema(),{httpHeader:a}],o);m[a.toLowerCase()]=d.flush()}}else if(n.httpQuery||n.httpQueryParams){this.serializeQuery(t,i,h)}else{L=true;k.push(e);P.push(t)}}if(L&&o){const[e,t]=(Q.getName(true)??"#Unknown").split("#");const n=Q.getSchema()[6];const i=[3,e,t,Q.getMergedTraits(),k,P,undefined];if(n){i[6]=n}else{i.pop()}d.write(i,o);U=d.flush()}H.headers=m;H.query=h;H.body=U;return H}serializeQuery(e,t,n){const o=this.serializer;const i=e.getMergedTraits();if(i.httpQueryParams){for(const o in t){if(!(o in n)){const a=t[o];const d=e.getValueSchema();Object.assign(d.getMergedTraits(),{...i,httpQuery:o,httpQueryParams:undefined});this.serializeQuery(d,a,n)}}return}if(e.isListSchema()){const a=!!e.getMergedTraits().sparse;const d=[];for(const n of t){o.write([e.getValueSchema(),i],n);const t=o.flush();if(a||t!==undefined){d.push(t)}}n[i.httpQuery]=d}else{o.write([e,i],t);n[i.httpQuery]=o.flush()}}async deserializeResponse(e,t,n){const o=this.deserializer;const a=i.NormalizedSchema.of(e.output);const d={};if(n.statusCode>=300){const i=await collectBody(n.body,t);if(i.byteLength>0){Object.assign(d,await o.read(15,i))}await this.handleError(e,t,n,d,this.deserializeMetadata(n));throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(const e in n.headers){const t=n.headers[e];delete n.headers[e];n.headers[e.toLowerCase()]=t}const h=await this.deserializeHttpMessage(a,t,n,d);if(h.length){const e=await collectBody(n.body,t);if(e.byteLength>0){const t=await o.read(a,e);for(const e of h){if(t[e]!=null){d[e]=t[e]}}}}else if(h.discardResponseBody){await collectBody(n.body,t)}d.$metadata=this.deserializeMetadata(n);return d}async deserializeHttpMessage(e,t,n,a,d){let h;if(a instanceof Set){h=d}else{h=a}let m=true;const f=this.deserializer;const Q=i.NormalizedSchema.of(e);const k=[];for(const[e,i]of Q.structIterator()){const a=i.getMemberTraits();if(a.httpPayload){m=false;const a=i.isStreaming();if(a){const t=i.isStructSchema();if(t){h[e]=await this.deserializeEventStream({response:n,responseSchema:Q})}else{h[e]=o.sdkStreamMixin(n.body)}}else if(n.body){const o=await collectBody(n.body,t);if(o.byteLength>0){h[e]=await f.read(i,o)}}}else if(a.httpHeader){const t=String(a.httpHeader).toLowerCase();const d=n.headers[t];if(null!=d){if(i.isListSchema()){const n=i.getValueSchema();n.getMergedTraits().httpHeader=t;let a;if(n.isTimestampSchema()&&n.getSchema()===4){a=o.splitEvery(d,",",2)}else{a=o.splitHeader(d)}const m=[];for(const e of a){m.push(await f.read(n,e.trim()))}h[e]=m}else{h[e]=await f.read(i,d)}}}else if(a.httpPrefixHeaders!==undefined){h[e]={};for(const t in n.headers){if(t.startsWith(a.httpPrefixHeaders)){const o=n.headers[t];const d=i.getValueSchema();d.getMergedTraits().httpHeader=t;h[e][t.slice(a.httpPrefixHeaders.length)]=await f.read(d,o)}}}else if(a.httpResponseCode){h[e]=n.statusCode}else{k.push(e)}}k.discardResponseBody=m;return k}}class RpcProtocol extends HttpProtocol{async serializeRequest(e,t,n){const o=this.serializer;const d={};const h={};const m=await n.endpoint();const f=i.NormalizedSchema.of(e?.input);const Q=f.getSchema();let k;const P=t&&typeof t==="object"?t:{};const L=new a.HttpRequest({protocol:"",hostname:"",port:undefined,path:"/",fragment:undefined,query:d,headers:h,body:undefined});if(m){this.updateServiceEndpoint(L,m);this.setHostPrefix(L,e,P)}if(P){const e=f.getEventStreamMember();if(e){if(P[e]){const t={};for(const[n,i]of f.structIterator()){if(n!==e&&P[n]){o.write(i,P[n]);t[n]=o.flush()}}k=await this.serializeEventStream({eventStream:P[e],requestSchema:f,initialRequest:t})}}else{o.write(Q,P);k=o.flush()}}L.headers=Object.assign(L.headers,h);L.query=d;L.body=k;L.method="POST";return L}async deserializeResponse(e,t,n){const o=this.deserializer;const a=i.NormalizedSchema.of(e.output);const d={};if(n.statusCode>=300){const i=await collectBody(n.body,t);if(i.byteLength>0){Object.assign(d,await o.read(15,i))}await this.handleError(e,t,n,d,this.deserializeMetadata(n));throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(const e in n.headers){const t=n.headers[e];delete n.headers[e];n.headers[e.toLowerCase()]=t}const h=a.getEventStreamMember();if(h){d[h]=await this.deserializeEventStream({response:n,responseSchema:a,initialResponseContainer:d})}else{const e=await collectBody(n.body,t);if(e.byteLength>0){Object.assign(d,await o.read(a,e))}}d.$metadata=this.deserializeMetadata(n);return d}}const resolvedPath=(e,t,n,o,i,a)=>{if(t!=null&&t[n]!==undefined){const t=o();if(t==null||t.length<=0){throw new Error("Empty value provided for input HTTP label: "+n+".")}e=e.replace(i,a?t.split("/").map(e=>extendedEncodeURIComponent(e)).join("/"):extendedEncodeURIComponent(t))}else{throw new Error("No value provided for input HTTP label: "+n+".")}return e};function requestBuilder(e,t){return new RequestBuilder(e,t)}class RequestBuilder{input;context;query={};method="";headers={};path="";body=null;hostname="";resolvePathStack=[];constructor(e,t){this.input=e;this.context=t}async build(){const{hostname:e,protocol:t="https",port:n,path:o}=await this.context.endpoint();this.path=o;for(const e of this.resolvePathStack){e(this.path)}return new a.HttpRequest({protocol:t,hostname:this.hostname||e,port:n,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?.endsWith("/")?t.slice(0,-1):t||""}`+e});return this}p(e,t,n,o){this.resolvePathStack.push(i=>{this.path=resolvedPath(i,this.input,e,t,n,o)});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}}function determineTimestampFormat(e,t){if(t.timestampFormat.useTrait){if(e.isTimestampSchema()&&(e.getSchema()===5||e.getSchema()===6||e.getSchema()===7)){return e.getSchema()}}const{httpLabel:n,httpPrefixHeaders:o,httpHeader:i,httpQuery:a}=e.getMergedTraits();const d=t.httpBindings?typeof o==="string"||Boolean(i)?6:Boolean(a)||Boolean(n)?5:undefined:undefined;return d??t.timestampFormat.default}class FromStringShapeDeserializer extends SerdeContext{settings;constructor(e){super();this.settings=e}read(e,t){const n=i.NormalizedSchema.of(e);if(n.isListSchema()){return o.splitHeader(t).map(e=>this.read(n.getValueSchema(),e))}if(n.isBlobSchema()){return(this.serdeContext?.base64Decoder??o.fromBase64)(t)}if(n.isTimestampSchema()){const e=determineTimestampFormat(n,this.settings);switch(e){case 5:return o._parseRfc3339DateTimeWithOffset(t);case 6:return o._parseRfc7231DateTime(t);case 7:return o._parseEpochTimestamp(t);default:console.warn("Missing timestamp format, parsing value with Date constructor:",t);return new Date(t)}}if(n.isStringSchema()){const e=n.getMergedTraits().mediaType;let i=t;if(e){if(n.getMergedTraits().httpHeader){i=this.base64ToUtf8(i)}const t=e==="application/json"||e.endsWith("+json");if(t){i=o.LazyJsonString.from(i)}return i}}if(n.isNumericSchema()){return Number(t)}if(n.isBigIntegerSchema()){return BigInt(t)}if(n.isBigDecimalSchema()){return new o.NumericValue(t,"bigDecimal")}if(n.isBooleanSchema()){return String(t).toLowerCase()==="true"}return t}base64ToUtf8(e){return(this.serdeContext?.utf8Encoder??o.toUtf8)((this.serdeContext?.base64Decoder??o.fromBase64)(e))}}class HttpInterceptingShapeDeserializer extends SerdeContext{codecDeserializer;stringDeserializer;constructor(e,t){super();this.codecDeserializer=e;this.stringDeserializer=new FromStringShapeDeserializer(t)}setSerdeContext(e){this.stringDeserializer.setSerdeContext(e);this.codecDeserializer.setSerdeContext(e);this.serdeContext=e}read(e,t){const n=i.NormalizedSchema.of(e);const a=n.getMergedTraits();const d=this.serdeContext?.utf8Encoder??o.toUtf8;if(a.httpHeader||a.httpResponseCode){return this.stringDeserializer.read(n,d(t))}if(a.httpPayload){if(n.isBlobSchema()){const e=this.serdeContext?.utf8Decoder??o.fromUtf8;if(typeof t==="string"){return e(t)}return t}else if(n.isStringSchema()){if("byteLength"in t){return d(t)}return t}}return this.codecDeserializer.read(n,t)}}class ToStringShapeSerializer extends SerdeContext{settings;stringBuffer="";constructor(e){super();this.settings=e}write(e,t){const n=i.NormalizedSchema.of(e);switch(typeof t){case"object":if(t===null){this.stringBuffer="null";return}if(n.isTimestampSchema()){if(!(t instanceof Date)){throw new Error(`@smithy/core/protocols - received non-Date value ${t} when schema expected Date in ${n.getName(true)}`)}const e=determineTimestampFormat(n,this.settings);switch(e){case 5:this.stringBuffer=t.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=o.dateToUtcString(t);break;case 7:this.stringBuffer=String(t.getTime()/1e3);break;default:console.warn("Missing timestamp format, using epoch seconds",t);this.stringBuffer=String(t.getTime()/1e3)}return}if(n.isBlobSchema()&&"byteLength"in t){this.stringBuffer=(this.serdeContext?.base64Encoder??o.toBase64)(t);return}if(n.isListSchema()&&Array.isArray(t)){let e="";for(const i of t){this.write([n.getValueSchema(),n.getMergedTraits()],i);const t=this.flush();const a=n.getValueSchema().isTimestampSchema()?t:o.quoteHeader(t);if(e!==""){e+=", "}e+=a}this.stringBuffer=e;return}this.stringBuffer=JSON.stringify(t,null,2);break;case"string":const e=n.getMergedTraits().mediaType;let i=t;if(e){const t=e==="application/json"||e.endsWith("+json");if(t){i=o.LazyJsonString.from(i)}if(n.getMergedTraits().httpHeader){this.stringBuffer=(this.serdeContext?.base64Encoder??o.toBase64)(i.toString());return}}this.stringBuffer=t;break;default:if(n.isIdempotencyToken()){this.stringBuffer=o.generateIdempotencyToken()}else{this.stringBuffer=String(t)}}}flush(){const e=this.stringBuffer;this.stringBuffer="";return e}}class HttpInterceptingShapeSerializer{codecSerializer;stringSerializer;buffer;constructor(e,t,n=new ToStringShapeSerializer(t)){this.codecSerializer=e;this.stringSerializer=n}setSerdeContext(e){this.codecSerializer.setSerdeContext(e);this.stringSerializer.setSerdeContext(e)}write(e,t){const n=i.NormalizedSchema.of(e);const o=n.getMergedTraits();if(o.httpHeader||o.httpLabel||o.httpQuery){this.stringSerializer.write(n,t);this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(n,t)}flush(){if(this.buffer!==undefined){const e=this.buffer;this.buffer=undefined;return e}return this.codecSerializer.flush()}}class Field{name;kind;values;constructor({name:e,kind:t=d.FieldPosition.HEADER,values:n=[]}){this.name=e;this.kind=t;this.values=n}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}}class Fields{entries={};encoding;constructor({fields:e=[],encoding:t="utf-8"}){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)}}const getHttpHandlerExtensionConfiguration=e=>({setHttpHandler(t){e.httpHandler=t},httpHandler(){return e.httpHandler},updateHttpClientConfig(t,n){e.httpHandler?.updateHttpClientConfig(t,n)},httpHandlerConfigs(){return e.httpHandler.httpHandlerConfigs()}});const resolveHttpHandlerRuntimeConfig=e=>({httpHandler:e.httpHandler()});const h="content-length";function contentLengthMiddleware(e){return t=>async n=>{const o=n.request;if(a.HttpRequest.isInstance(o)){const{body:t,headers:n}=o;if(t&&Object.keys(n).map(e=>e.toLowerCase()).indexOf(h)===-1){try{const n=e(t);o.headers={...o.headers,[h]:String(n)}}catch(e){}}}return t({...n,request:o})}}const m={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:true};const getContentLengthPlugin=e=>({applyToStack:t=>{t.add(contentLengthMiddleware(e.bodyLengthChecker),m)}});const escapeUri=e=>encodeURIComponent(e).replace(/[!'()*]/g,hexEncode);const hexEncode=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;const escapeUriPath=e=>e.split("/").map(escapeUri).join("/");function buildQueryString(e){const t=[];for(let n of Object.keys(e).sort()){const o=e[n];n=escapeUri(n);if(Array.isArray(o)){for(let e=0,i=o.length;e{"use strict";var o=n(7075);var i=n(2658);var a=n(3422);var d=n(2430);const isStreamingPayload=e=>e?.body instanceof o.Readable||typeof ReadableStream!=="undefined"&&e?.body instanceof ReadableStream;const h=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];const m=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];const f=["TimeoutError","RequestTimeout","RequestTimeoutException"];const Q=[500,502,503,504];const k=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"];const P=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND","EAI_AGAIN"];const isRetryableByTrait=e=>e?.$retryable!==undefined;const isClockSkewError=e=>h.includes(e.name);const isClockSkewCorrectedError=e=>e.$metadata?.clockSkewCorrected;const isBrowserNetworkError=e=>{const t=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);const n=e&&e instanceof TypeError;if(!n){return false}return t.has(e.message)};const isThrottlingError=e=>e.$metadata?.httpStatusCode===429||m.includes(e.name)||e.$retryable?.throttling==true;const isTransientError=(e,t=0)=>isRetryableByTrait(e)||isClockSkewCorrectedError(e)||e.name==="InvalidSignatureException"&&e.message?.includes("Signature expired")||f.includes(e.name)||k.includes(e?.code||"")||P.includes(e?.code||"")||Q.includes(e.$metadata?.httpStatusCode||0)||isBrowserNetworkError(e)||isNodeJsHttp2TransientError(e)||e.cause!==undefined&&t<=10&&isTransientError(e.cause,t+1);const isServerError=e=>{if(e.$metadata?.httpStatusCode!==undefined){const t=e.$metadata.httpStatusCode;if(500<=t&&t<=599&&!isTransientError(e)){return true}return false}return false};function isNodeJsHttp2TransientError(e){return e.code==="ERR_HTTP2_STREAM_ERROR"&&e.message.includes("NGHTTP2_REFUSED_STREAM")}const L=100;const U=20*1e3;const H=500;const V=500;const _=5;const W=10;const Y=1;const J="amz-sdk-invocation-id";const j="amz-sdk-request";function parseRetryAfterHeader(e,t){if(!a.HttpResponse.isInstance(e)){return}for(const n of Object.keys(e.headers)){const o=n.toLowerCase();if(o==="retry-after"){const o=e.headers[n];let i=NaN;if(o.endsWith("GMT")){try{const e=d.parseRfc7231DateTime(o);i=(e.getTime()-Date.now())/1e3}catch(e){t?.trace?.("Failed to parse retry-after header");t?.trace?.(e)}}else if(o.match(/ GMT, ((\d+)|(\d+\.\d+))$/)){i=Number(o.match(/ GMT, ([\d.]+)$/)?.[1])}else if(o.match(/^((\d+)|(\d+\.\d+))$/)){i=Number(o)}else if(Date.parse(o)>=Date.now()){i=(Date.parse(o)-Date.now())/1e3}if(isNaN(i)){return}return new Date(Date.now()+i*1e3)}else if(o==="x-amz-retry-after"){const o=e.headers[n];const i=Number(o);if(isNaN(i)){t?.trace?.(`Failed to parse x-amz-retry-after=${o}`);return}return new Date(Date.now()+i)}}}function getRetryAfterHint(e,t){return parseRetryAfterHeader(e,t)}const asSdkError=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}`)};function bindRetryMiddleware(e){return t=>(n,o)=>async h=>{let m=await t.retryStrategy();const f=await t.maxAttempts();if(isRetryStrategyV2(m)){m=m;let Q=await m.acquireInitialRetryToken((o["partition_id"]??"")+(o.__retryLongPoll?":longpoll":""));let k=new Error;let P=0;let L=0;const{request:U}=h;const H=a.HttpRequest.isInstance(U);if(H){U.headers[J]=d.v4()}while(true){try{if(H){U.headers[j]=`attempt=${P+1}; max=${f}`}const{response:e,output:t}=await n(h);m.recordSuccess(Q);t.$metadata.attempts=P+1;t.$metadata.totalRetryDelay=L;return{response:e,output:t}}catch(n){const a=getRetryErrorInfo(n,t.logger);k=asSdkError(n);if(H&&e(U)){(o.logger instanceof i.NoOpLogger?console:o.logger)?.warn("An error was encountered in a non-retryable streaming request.");throw k}try{Q=await m.refreshRetryTokenForRetry(Q,a)}catch(e){if(!k.$metadata){k.$metadata={}}k.$metadata.attempts=P+1;k.$metadata.totalRetryDelay=L;throw k}P=Q.getRetryCount();const d=Q.getRetryDelay();L+=(Q?.$retryLog?.acquisitionDelay??0)+d;if(d>0){await cooldown(d)}}}}else{m=m;if(m?.mode){o.userAgent=[...o.userAgent||[],["cfg/retry-mode",m.mode]]}return m.retry(n,h)}}}const cooldown=e=>new Promise(t=>setTimeout(t,e));const isRetryStrategyV2=e=>typeof e.acquireInitialRetryToken!=="undefined"&&typeof e.refreshRetryTokenForRetry!=="undefined"&&typeof e.recordSuccess!=="undefined";const getRetryErrorInfo=(e,t)=>{const n={error:e,errorType:getRetryErrorType(e)};const o=parseRetryAfterHeader(e.$response,t);if(o){n.retryAfterHint=o}return n};const getRetryErrorType=e=>{if(isThrottlingError(e))return"THROTTLING";if(isTransientError(e))return"TRANSIENT";if(isServerError(e))return"SERVER_ERROR";return"CLIENT_ERROR"};const K={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:true};function bindGetRetryPlugin(e){const t=bindRetryMiddleware(e);return e=>({applyToStack:n=>{n.add(t(e),K)}})}class DefaultRateLimiter{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=false;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7;this.minCapacity=e?.minCapacity??1;this.minFillRate=e?.minFillRate??.5;this.scaleConstant=e?.scaleConstant??.4;this.smooth=e?.smooth??.8;this.lastThrottleTime=this.getCurrentTimeInSeconds();this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds());this.fillRate=this.minFillRate;this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let t;this.updateMeasuredRate();const n=e;const o=n?.errorType==="THROTTLING"||isThrottlingError(n?.error??e);if(o){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 i=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(i)}getCurrentTimeInSeconds(){return Date.now()/1e3}async acquireTokenBucket(e){if(!this.enabled){return}this.refillTokenBucket();while(e>this.availableTokens){const t=(e-this.availableTokens)/this.fillRate*1e3;await new Promise(e=>DefaultRateLimiter.setTimeoutFn(e,t));this.refillTokenBucket()}this.availableTokens=this.availableTokens-e}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}const t=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+t);this.lastTimestamp=e}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.availableTokens=Math.min(this.availableTokens,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))}}class Retry{static v2026=typeof process!=="undefined"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return Retry.v2026?50:100}static throttlingDelay(){return Retry.v2026?1e3:500}static cost(){return Retry.v2026?14:5}static throttlingCost(){return Retry.v2026?5:10}static modifiedCostType(){return Retry.v2026?"THROTTLING":"TRANSIENT"}}class DefaultRetryBackoffStrategy{x=Retry.delay();computeNextBackoffDelay(e){const t=Math.random();const n=2;const o=t*Math.min(this.x*n**e,U);return Math.floor(o)}setDelayBase(e){this.x=e}}class DefaultRetryToken{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(e,t,n,o){this.delay=e;this.count=t;this.cost=n;this.longPoll=o}getRetryCount(){return this.count}getRetryDelay(){return Math.min(U,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}t.RETRY_MODES=void 0;(function(e){e["STANDARD"]="standard";e["ADAPTIVE"]="adaptive"})(t.RETRY_MODES||(t.RETRY_MODES={}));const X=3;const Z=t.RETRY_MODES.STANDARD;const ee={incompatible:1,attempts:2,capacity:3};let te=class StandardRetryStrategy{mode=t.RETRY_MODES.STANDARD;retryBackoffStrategy;capacity=V;maxAttemptsProvider;baseDelay;constructor(e){if(typeof e==="number"){this.maxAttemptsProvider=async()=>e}else if(typeof e==="function"){this.maxAttemptsProvider=e}else if(e&&typeof e==="object"){this.maxAttemptsProvider=async()=>e.maxAttempts;this.baseDelay=e.baseDelay;this.retryBackoffStrategy=e.backoff}this.maxAttemptsProvider??=async()=>X;this.baseDelay??=Retry.delay();this.retryBackoffStrategy??=new DefaultRetryBackoffStrategy}async acquireInitialRetryToken(e){return new DefaultRetryToken(Retry.delay(),0,undefined,Retry.v2026&&e.includes(":longpoll"))}async refreshRetryTokenForRetry(e,t){const n=await this.getMaxAttempts();const o=this.retryCode(e,t,n);const i=o===0;const a=e.isLongPoll?.();if(i||a){const n=t.errorType;this.retryBackoffStrategy.setDelayBase(n==="THROTTLING"?Retry.throttlingDelay():this.baseDelay);const d=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount());let h=d;if(t.retryAfterHint instanceof Date){h=Math.max(d,Math.min(t.retryAfterHint.getTime()-Date.now(),d+5e3))}if(!i){const e=Retry.v2026&&o===ee.capacity&&a?h:0;if(e>0){await new Promise(t=>setTimeout(t,e))}}else{const t=this.getCapacityCost(n);this.capacity-=t;const o=new DefaultRetryToken(0,e.getRetryCount()+1,t,e.isLongPoll?.()??false);await new Promise(e=>setTimeout(e,h));o.$retryLog.acquisitionDelay=h;return o}}throw new Error("No retry token available")}recordSuccess(e){this.capacity=Math.min(V,this.capacity+(e.getRetryCost()??Y))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){console.warn(`Max attempts provider could not resolve. Using default of ${X}`);return X}}retryCode(e,t,n){const o=e.getRetryCount()+1;const i=this.isRetryableError(t.errorType)?0:ee.incompatible;const a=o=this.getCapacityCost(t.errorType)?0:ee.capacity;return i||a||d}getCapacityCost(e){return e===Retry.modifiedCostType()?Retry.throttlingCost():Retry.cost()}isRetryableError(e){return e==="THROTTLING"||e==="TRANSIENT"}};let ne=class AdaptiveRetryStrategy{mode=t.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(e,t){const{rateLimiter:n}=t??{};this.rateLimiter=n??new DefaultRateLimiter;this.standardRetryStrategy=t?new te({maxAttempts:typeof e==="number"?e:3,...t}):new te(e)}async acquireInitialRetryToken(e){const t=await this.standardRetryStrategy.acquireInitialRetryToken(e);await this.rateLimiter.getSendToken();return t}async refreshRetryTokenForRetry(e,t){this.rateLimiter.updateClientSendingRate(t);const n=await this.standardRetryStrategy.refreshRetryTokenForRetry(e,t);await this.rateLimiter.getSendToken();return n}recordSuccess(e){this.rateLimiter.updateClientSendingRate({});this.standardRetryStrategy.recordSuccess(e)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class ConfiguredRetryStrategy extends te{computeNextBackoffDelay;constructor(e,t=Retry.delay()){super(typeof e==="function"?e:async()=>e);if(typeof t==="number"){this.computeNextBackoffDelay=()=>t}else{this.computeNextBackoffDelay=t}this.retryBackoffStrategy.computeNextBackoffDelay=e=>{const t=e+1;return this.computeNextBackoffDelay(t)}}}const getDefaultRetryQuota=(e,t)=>{const n=e;const o=Y;const i=_;const a=W;let d=e;const getCapacityAmount=e=>e.name==="TimeoutError"?a:i;const hasRetryTokens=e=>getCapacityAmount(e)<=d;const retrieveRetryTokens=e=>{if(!hasRetryTokens(e)){throw new Error("No retry token available")}const t=getCapacityAmount(e);d-=t;return t};const releaseRetryTokens=e=>{d+=e??o;d=Math.min(d,n)};return Object.freeze({hasRetryTokens:hasRetryTokens,retrieveRetryTokens:retrieveRetryTokens,releaseRetryTokens:releaseRetryTokens})};const defaultDelayDecider=(e,t)=>Math.floor(Math.min(U,Math.random()*2**t*e));const defaultRetryDecider=e=>{if(!e){return false}return isRetryableByTrait(e)||isClockSkewError(e)||isThrottlingError(e)||isTransientError(e)};class StandardRetryStrategy{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=t.RETRY_MODES.STANDARD;constructor(e,t){this.maxAttemptsProvider=e;this.retryDecider=t?.retryDecider??defaultRetryDecider;this.delayDecider=t?.delayDecider??defaultDelayDecider;this.retryQuota=t?.retryQuota??getDefaultRetryQuota(V)}shouldRetry(e,t,n){return tsetTimeout(e,a));continue}if(!t.$metadata){t.$metadata={}}t.$metadata.attempts=i;t.$metadata.totalRetryDelay=h;throw t}}}}const getDelayFromRetryAfterHeader=e=>{if(!a.HttpResponse.isInstance(e))return;const t=Object.keys(e.headers).find(e=>e.toLowerCase()==="retry-after");if(!t)return;const n=e.headers[t];const o=Number(n);if(!Number.isNaN(o))return o*1e3;const i=new Date(n);return i.getTime()-Date.now()};class AdaptiveRetryStrategy extends StandardRetryStrategy{rateLimiter;constructor(e,n){const{rateLimiter:o,...i}=n??{};super(e,i);this.rateLimiter=o??new DefaultRateLimiter;this.mode=t.RETRY_MODES.ADAPTIVE}async retry(e,t){return super.retry(e,t,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:e=>{this.rateLimiter.updateClientSendingRate(e)}})}}const se="AWS_MAX_ATTEMPTS";const oe="max_attempts";const re={environmentVariableSelector:e=>{const t=e[se];if(!t)return undefined;const n=parseInt(t);if(Number.isNaN(n)){throw new Error(`Environment variable ${se} mast be a number, got "${t}"`)}return n},configFileSelector:e=>{const t=e[oe];if(!t)return undefined;const n=parseInt(t);if(Number.isNaN(n)){throw new Error(`Shared config file entry ${oe} mast be a number, got "${t}"`)}return n},default:X};const resolveRetryConfig=(e,n)=>{const{retryStrategy:o,retryMode:a}=e;const{defaultMaxAttempts:d=X,defaultBaseDelay:h=Retry.delay()}=n??{};const m=i.normalizeProvider(e.maxAttempts??d);let f=o?Promise.resolve(o):undefined;const getDefault=async()=>{const e=await m();const n=await i.normalizeProvider(a)()===t.RETRY_MODES.ADAPTIVE;if(n){return new ne(m,{maxAttempts:e,baseDelay:h})}return new te({maxAttempts:e,baseDelay:h})};return Object.assign(e,{maxAttempts:m,retryStrategy:()=>f??=getDefault()})};const ie="AWS_RETRY_MODE";const ae="retry_mode";const ce={environmentVariableSelector:e=>e[ie],configFileSelector:e=>e[ae],default:Z};const omitRetryHeadersMiddleware=()=>e=>async t=>{const{request:n}=t;if(a.HttpRequest.isInstance(n)){delete n.headers[J];delete n.headers[j]}return e(t)};const Ae={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:true};const getOmitRetryHeadersPlugin=e=>({applyToStack:e=>{e.addRelativeTo(omitRetryHeadersMiddleware(),Ae)}});const le=bindRetryMiddleware(isStreamingPayload);const ue=bindGetRetryPlugin(isStreamingPayload);t.AdaptiveRetryStrategy=ne;t.CONFIG_MAX_ATTEMPTS=oe;t.CONFIG_RETRY_MODE=ae;t.ConfiguredRetryStrategy=ConfiguredRetryStrategy;t.DEFAULT_MAX_ATTEMPTS=X;t.DEFAULT_RETRY_DELAY_BASE=L;t.DEFAULT_RETRY_MODE=Z;t.DefaultRateLimiter=DefaultRateLimiter;t.DeprecatedAdaptiveRetryStrategy=AdaptiveRetryStrategy;t.DeprecatedStandardRetryStrategy=StandardRetryStrategy;t.ENV_MAX_ATTEMPTS=se;t.ENV_RETRY_MODE=ie;t.INITIAL_RETRY_TOKENS=V;t.INVOCATION_ID_HEADER=J;t.MAXIMUM_RETRY_DELAY=U;t.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=re;t.NODE_RETRY_MODE_CONFIG_OPTIONS=ce;t.NO_RETRY_INCREMENT=Y;t.REQUEST_HEADER=j;t.RETRY_COST=_;t.Retry=Retry;t.StandardRetryStrategy=te;t.THROTTLING_RETRY_DELAY_BASE=H;t.TIMEOUT_RETRY_COST=W;t.defaultDelayDecider=defaultDelayDecider;t.defaultRetryDecider=defaultRetryDecider;t.getOmitRetryHeadersPlugin=getOmitRetryHeadersPlugin;t.getRetryAfterHint=getRetryAfterHint;t.getRetryPlugin=ue;t.isBrowserNetworkError=isBrowserNetworkError;t.isClockSkewCorrectedError=isClockSkewCorrectedError;t.isClockSkewError=isClockSkewError;t.isNodeJsHttp2TransientError=isNodeJsHttp2TransientError;t.isRetryableByTrait=isRetryableByTrait;t.isServerError=isServerError;t.isThrottlingError=isThrottlingError;t.isTransientError=isTransientError;t.omitRetryHeadersMiddleware=omitRetryHeadersMiddleware;t.omitRetryHeadersMiddlewareOptions=Ae;t.resolveRetryConfig=resolveRetryConfig;t.retryMiddleware=le;t.retryMiddlewareOptions=K},6890:(e,t,n)=>{"use strict";var o=n(4534);const deref=e=>{if(typeof e==="function"){return e()}return e};const operation=(e,t,n,o,i)=>({name:t,namespace:e,traits:n,input:o,output:i});const schemaDeserializationMiddleware=e=>(t,n)=>async i=>{const{response:a}=await t(i);const{operationSchema:d}=o.getSmithyContext(n);const[,h,m,f,Q,k]=d??[];try{const t=await e.protocol.deserializeResponse(operation(h,m,f,Q,k),{...e,...n},a);return{response:a,output:t}}catch(e){Object.defineProperty(e,"$response",{value:a,enumerable:false,writable:false,configurable:false});if(!("$metadata"in e)){const t=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;try{e.message+="\n "+t}catch(e){if(!n.logger||n.logger?.constructor?.name==="NoOpLogger"){console.warn(t)}else{n.logger?.warn?.(t)}}if(typeof e.$responseBodyText!=="undefined"){if(e.$response){e.$response.body=e.$responseBodyText}}try{if(o.HttpResponse.isInstance(a)){const{headers:t={},statusCode:n}=a;const o=Object.entries(t);e.$metadata={httpStatusCode:n,requestId:findHeader(/^x-[\w-]+-request-?id$/,o),extendedRequestId:findHeader(/^x-[\w-]+-id-2$/,o),cfId:findHeader(/^x-[\w-]+-cf-id$/,o)}}}catch(e){}}throw e}};const findHeader=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1];const schemaSerializationMiddleware=e=>(t,n)=>async i=>{const{operationSchema:a}=o.getSmithyContext(n);const[,d,h,m,f,Q]=a??[];const k=n.endpointV2?async()=>o.toEndpointV1(n.endpointV2):e.endpoint;const P=await e.protocol.serializeRequest(operation(d,h,m,f,Q),i.input,{...e,...n,endpoint:k});return t({...i,request:P})};const i={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:true};const a={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:true};function getSchemaSerdePlugin(e){return{applyToStack:t=>{t.add(schemaSerializationMiddleware(e),a);t.add(schemaDeserializationMiddleware(e),i);e.protocol.setSerdeContext(e)}}}class Schema{name;namespace;traits;static assign(e,t){const n=Object.assign(e,t);return n}static[Symbol.hasInstance](e){const t=this.prototype.isPrototypeOf(e);if(!t&&typeof e==="object"&&e!==null){const t=e;return t.symbol===this.symbol}return t}getName(){return this.namespace+"#"+this.name}}class ListSchema extends Schema{static symbol=Symbol.for("@smithy/lis");name;traits;valueSchema;symbol=ListSchema.symbol}const list=(e,t,n,o)=>Schema.assign(new ListSchema,{name:t,namespace:e,traits:n,valueSchema:o});class MapSchema extends Schema{static symbol=Symbol.for("@smithy/map");name;traits;keySchema;valueSchema;symbol=MapSchema.symbol}const map=(e,t,n,o,i)=>Schema.assign(new MapSchema,{name:t,namespace:e,traits:n,keySchema:o,valueSchema:i});class OperationSchema extends Schema{static symbol=Symbol.for("@smithy/ope");name;traits;input;output;symbol=OperationSchema.symbol}const op=(e,t,n,o,i)=>Schema.assign(new OperationSchema,{name:t,namespace:e,traits:n,input:o,output:i});class StructureSchema extends Schema{static symbol=Symbol.for("@smithy/str");name;traits;memberNames;memberList;symbol=StructureSchema.symbol}const struct=(e,t,n,o,i)=>Schema.assign(new StructureSchema,{name:t,namespace:e,traits:n,memberNames:o,memberList:i});class ErrorSchema extends StructureSchema{static symbol=Symbol.for("@smithy/err");ctor;symbol=ErrorSchema.symbol}const error=(e,t,n,o,i,a)=>Schema.assign(new ErrorSchema,{name:t,namespace:e,traits:n,memberNames:o,memberList:i,ctor:null});const d=[];function translateTraits(e){if(typeof e==="object"){return e}e=e|0;if(d[e]){return d[e]}const t={};let n=0;for(const o of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"]){if((e>>n++&1)===1){t[o]=1}}return d[e]=t}const h={it:Symbol.for("@smithy/nor-struct-it"),ns:Symbol.for("@smithy/ns")};const m=[];const f={};class NormalizedSchema{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=NormalizedSchema.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(e,t){this.ref=e;this.memberName=t;const n=[];let o=e;let i=e;this._isMemberSchema=false;while(isMemberSchema(o)){n.push(o[1]);o=o[0];i=deref(o);this._isMemberSchema=true}if(n.length>0){this.memberTraits={};for(let e=n.length-1;e>=0;--e){const t=n[e];Object.assign(this.memberTraits,translateTraits(t))}}else{this.memberTraits=0}if(i instanceof NormalizedSchema){const e=this.memberTraits;Object.assign(this,i);this.memberTraits=Object.assign({},e,i.getMemberTraits(),this.getMemberTraits());this.normalizedTraits=void 0;this.memberName=t??i.memberName;return}this.schema=deref(i);if(isStaticSchema(this.schema)){this.name=`${this.schema[1]}#${this.schema[2]}`;this.traits=this.schema[3]}else{this.name=this.memberName??String(i);this.traits=0}if(this._isMemberSchema&&!t){throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`)}}static[Symbol.hasInstance](e){const t=this.prototype.isPrototypeOf(e);if(!t&&typeof e==="object"&&e!==null){const t=e;return t.symbol===this.symbol}return t}static of(e){const t=typeof e==="function"||typeof e==="object"&&e!==null;if(typeof e==="number"){if(m[e]){return m[e]}}else if(typeof e==="string"){if(f[e]){return f[e]}}else if(t){if(e[h.ns]){return e[h.ns]}}const n=deref(e);if(n instanceof NormalizedSchema){return n}if(isMemberSchema(n)){const[t,o]=n;if(t instanceof NormalizedSchema){Object.assign(t.getMergedTraits(),translateTraits(o));return t}throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(e,null,2)}.`)}const o=new NormalizedSchema(n);if(t){return e[h.ns]=o}if(typeof n==="string"){return f[n]=o}if(typeof n==="number"){return m[n]=o}return o}getSchema(){const e=this.schema;if(Array.isArray(e)&&e[0]===0){return e[4]}return e}getName(e=false){const{name:t}=this;const n=!e&&t&&t.includes("#");return n?t.split("#")[1]:t||undefined}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){const e=this.getSchema();return typeof e==="number"?e>=64&&e<128:e[0]===1}isMapSchema(){const e=this.getSchema();return typeof e==="number"?e>=128&&e<=255:e[0]===2}isStructSchema(){const e=this.getSchema();if(typeof e!=="object"){return false}const t=e[0];return t===3||t===-3||t===4}isUnionSchema(){const e=this.getSchema();if(typeof e!=="object"){return false}return e[0]===4}isBlobSchema(){const e=this.getSchema();return e===21||e===42}isTimestampSchema(){const e=this.getSchema();return typeof e==="number"&&e>=4&&e<=7}isUnitSchema(){return this.getSchema()==="unit"}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){const{streaming:e}=this.getMergedTraits();return!!e||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return translateTraits(this.memberTraits)}getOwnTraits(){return translateTraits(this.traits)}getKeySchema(){const[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t){throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(true)}`)}const n=this.getSchema();const o=e?15:n[4]??0;return member([o,0],"key")}getValueSchema(){const e=this.getSchema();const[t,n,o]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()];const i=typeof e==="number"?63&e:e&&typeof e==="object"&&(n||o)?e[3+e[0]]:t?15:void 0;if(i!=null){return member([i,0],n?"value":"member")}throw new Error(`@smithy/core/schema - ${this.getName(true)} has no value member.`)}getMemberSchema(e){const t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){const n=t[4].indexOf(e);const o=t[5][n];return member(isMemberSchema(o)?o:[o,0],e)}if(this.isDocumentSchema()){return member([15,0],e)}throw new Error(`@smithy/core/schema - ${this.getName(true)} has no member=${e}.`)}getMemberSchemas(){const e={};try{for(const[t,n]of this.structIterator()){e[t]=n}}catch(e){}return e}getEventStreamMember(){if(this.isStructSchema()){for(const[e,t]of this.structIterator()){if(t.isStreaming()&&t.isStructSchema()){return e}}}return""}*structIterator(){if(this.isUnitSchema()){return}if(!this.isStructSchema()){throw new Error("@smithy/core/schema - cannot iterate non-struct schema.")}const e=this.getSchema();const t=e[4].length;let n=e[h.it];if(n&&t===n.length){yield*n;return}n=Array(t);for(let o=0;oArray.isArray(e)&&e.length===2;const isStaticSchema=e=>Array.isArray(e)&&e.length>=5;class SimpleSchema extends Schema{static symbol=Symbol.for("@smithy/sim");name;schemaRef;traits;symbol=SimpleSchema.symbol}const sim=(e,t,n,o)=>Schema.assign(new SimpleSchema,{name:t,namespace:e,traits:o,schemaRef:n});const simAdapter=(e,t,n,o)=>Schema.assign(new SimpleSchema,{name:t,namespace:e,traits:n,schemaRef:o});const Q={BLOB:21,STREAMING_BLOB:42,BOOLEAN:2,STRING:0,NUMERIC:1,BIG_INTEGER:17,BIG_DECIMAL:19,DOCUMENT:15,TIMESTAMP_DEFAULT:4,TIMESTAMP_DATE_TIME:5,TIMESTAMP_HTTP_DATE:6,TIMESTAMP_EPOCH_SECONDS:7,LIST_MODIFIER:64,MAP_MODIFIER:128};class TypeRegistry{namespace;schemas;exceptions;static registries=new Map;constructor(e,t=new Map,n=new Map){this.namespace=e;this.schemas=t;this.exceptions=n}static for(e){if(!TypeRegistry.registries.has(e)){TypeRegistry.registries.set(e,new TypeRegistry(e))}return TypeRegistry.registries.get(e)}copyFrom(e){const{schemas:t,exceptions:n}=this;for(const[n,o]of e.schemas){if(!t.has(n)){t.set(n,o)}}for(const[t,o]of e.exceptions){if(!n.has(t)){n.set(t,o)}}}register(e,t){const n=this.normalizeShapeId(e);for(const e of[this,TypeRegistry.for(n.split("#")[0])]){e.schemas.set(n,t)}}getSchema(e){const t=this.normalizeShapeId(e);if(!this.schemas.has(t)){if(!e.includes("#")){const t="#"+e;const n=[];for(const[e,o]of this.schemas.entries()){if(e.endsWith(t)){n.push(o)}}if(n.length===1){return n[0]}}throw new Error(`@smithy/core/schema - schema not found for ${t}`)}return this.schemas.get(t)}registerError(e,t){const n=e;const o=n[1];for(const e of[this,TypeRegistry.for(o)]){e.schemas.set(o+"#"+n[2],n);e.exceptions.set(n,t)}}getErrorCtor(e){const t=e;if(this.exceptions.has(t)){return this.exceptions.get(t)}const n=TypeRegistry.for(t[1]);return n.exceptions.get(t)}getBaseException(){for(const e of this.exceptions.keys()){if(Array.isArray(e)){const[,t,n]=e;const o=t+"#"+n;if(o.startsWith("smithy.ts.sdk.synthetic.")&&o.endsWith("ServiceException")){return e}}}return undefined}find(e){for(const t of this.schemas.values()){if(e(t)){return t}}return undefined}clear(){this.schemas.clear();this.exceptions.clear()}normalizeShapeId(e){if(e.includes("#")){return e}return this.namespace+"#"+e}}t.ErrorSchema=ErrorSchema;t.ListSchema=ListSchema;t.MapSchema=MapSchema;t.NormalizedSchema=NormalizedSchema;t.OperationSchema=OperationSchema;t.SCHEMA=Q;t.Schema=Schema;t.SimpleSchema=SimpleSchema;t.StructureSchema=StructureSchema;t.TypeRegistry=TypeRegistry;t.deref=deref;t.deserializerMiddlewareOption=i;t.error=error;t.getSchemaSerdePlugin=getSchemaSerdePlugin;t.isStaticSchema=isStaticSchema;t.list=list;t.map=map;t.op=op;t.operation=operation;t.serializerMiddlewareOption=a;t.sim=sim;t.simAdapter=simAdapter;t.simpleSchemaCacheN=m;t.simpleSchemaCacheS=f;t.struct=struct;t.traitsCache=d;t.translateTraits=translateTraits},2430:(e,t,n)=>{"use strict";var o=n(7598);var i=n(3024);var a=n(4534);var d=n(2085);var h=n(7075);const isArrayBuffer=e=>typeof ArrayBuffer==="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]";const fromArrayBuffer=(e,t=0,n=e.byteLength-t)=>{if(!isArrayBuffer(e)){throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`)}return Buffer.from(e,t,n)};const fromString=(e,t)=>{if(typeof e!=="string"){throw new TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`)}return t?Buffer.from(e,t):Buffer.from(e)};const m=/^[A-Za-z0-9+/]*={0,2}$/;const fromBase64$1=e=>{if(e.length*3%4!==0){throw new TypeError(`Incorrect padding on base64 string.`)}if(!m.exec(e)){throw new TypeError(`Invalid base64 string.`)}const t=fromString(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};const fromUtf8$1=e=>{const t=fromString(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)};const toBase64$1=e=>{let t;if(typeof e==="string"){t=fromUtf8$1(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 fromArrayBuffer(t.buffer,t.byteOffset,t.byteLength).toString("base64")};function bindUint8ArrayBlobAdapter(e,t,n,o){return class Uint8ArrayBlobAdapter extends Uint8Array{static fromString(e,n="utf-8"){if(typeof e==="string"){if(n==="base64"){return Uint8ArrayBlobAdapter.mutate(o(e))}return Uint8ArrayBlobAdapter.mutate(t(e))}throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){Object.setPrototypeOf(e,Uint8ArrayBlobAdapter.prototype);return e}transformToString(t="utf-8"){if(t==="base64"){return n(this)}return e(this)}}}const toUtf8$1=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 fromArrayBuffer(e.buffer,e.byteOffset,e.byteLength).toString("utf8")};const f=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function bindV4(e){if(typeof crypto!=="undefined"&&typeof crypto.randomUUID==="function"){return()=>crypto.randomUUID()}return()=>{const t=new Uint8Array(16);e(t);t[6]=t[6]&15|64;t[8]=t[8]&63|128;return f[t[0]]+f[t[1]]+f[t[2]]+f[t[3]]+"-"+f[t[4]]+f[t[5]]+"-"+f[t[6]]+f[t[7]]+"-"+f[t[8]]+f[t[9]]+"-"+f[t[10]]+f[t[11]]+f[t[12]]+f[t[13]]+f[t[14]]+f[t[15]]}}const copyDocumentWithTransform=(e,t,n=e=>e)=>e;const parseBoolean=e=>{switch(e){case"true":return true;case"false":return false;default:throw new Error(`Unable to parse boolean value "${e}"`)}};const expectBoolean=e=>{if(e===null||e===undefined){return undefined}if(typeof e==="number"){if(e===0||e===1){_.warn(stackTraceWarning(`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"){_.warn(stackTraceWarning(`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}`)};const expectNumber=e=>{if(e===null||e===undefined){return undefined}if(typeof e==="string"){const t=parseFloat(e);if(!Number.isNaN(t)){if(String(t)!==String(e)){_.warn(stackTraceWarning(`Expected number but observed string: ${e}`))}return t}}if(typeof e==="number"){return e}throw new TypeError(`Expected number, got ${typeof e}: ${e}`)};const Q=Math.ceil(2**127*(2-2**-23));const expectFloat32=e=>{const t=expectNumber(e);if(t!==undefined&&!Number.isNaN(t)&&t!==Infinity&&t!==-Infinity){if(Math.abs(t)>Q){throw new TypeError(`Expected 32-bit float, got ${e}`)}}return t};const expectLong=e=>{if(e===null||e===undefined){return undefined}if(Number.isInteger(e)&&!Number.isNaN(e)){return e}throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)};const k=expectLong;const expectInt32=e=>expectSizedInt(e,32);const expectShort=e=>expectSizedInt(e,16);const expectByte=e=>expectSizedInt(e,8);const expectSizedInt=(e,t)=>{const n=expectLong(e);if(n!==undefined&&castInt(n,t)!==n){throw new TypeError(`Expected ${t}-bit integer, got ${e}`)}return n};const castInt=(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]}};const expectNonNull=(e,t)=>{if(e===null||e===undefined){if(t){throw new TypeError(`Expected a non-null value for ${t}`)}throw new TypeError("Expected a non-null value")}return e};const expectObject=e=>{if(e===null||e===undefined){return undefined}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}`)};const expectString=e=>{if(e===null||e===undefined){return undefined}if(typeof e==="string"){return e}if(["boolean","number","bigint"].includes(typeof e)){_.warn(stackTraceWarning(`Expected string, got ${typeof e}: ${e}`));return String(e)}throw new TypeError(`Expected string, got ${typeof e}: ${e}`)};const expectUnion=e=>{if(e===null||e===undefined){return undefined}const t=expectObject(e);const n=[];for(const e in t){if(t[e]!=null){n.push(e)}}if(n.length===0){throw new TypeError(`Unions must have exactly one non-null member. None were found.`)}if(n.length>1){throw new TypeError(`Unions must have exactly one non-null member. Keys ${n} were not null.`)}return t};const strictParseDouble=e=>{if(typeof e=="string"){return expectNumber(parseNumber(e))}return expectNumber(e)};const P=strictParseDouble;const strictParseFloat32=e=>{if(typeof e=="string"){return expectFloat32(parseNumber(e))}return expectFloat32(e)};const L=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g;const parseNumber=e=>{const t=e.match(L);if(t===null||t[0].length!==e.length){throw new TypeError(`Expected real number, got implicit NaN`)}return parseFloat(e)};const limitedParseDouble=e=>{if(typeof e=="string"){return parseFloatString(e)}return expectNumber(e)};const U=limitedParseDouble;const H=limitedParseDouble;const limitedParseFloat32=e=>{if(typeof e=="string"){return parseFloatString(e)}return expectFloat32(e)};const parseFloatString=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}`)}};const strictParseLong=e=>{if(typeof e==="string"){return expectLong(parseNumber(e))}return expectLong(e)};const V=strictParseLong;const strictParseInt32=e=>{if(typeof e==="string"){return expectInt32(parseNumber(e))}return expectInt32(e)};const strictParseShort=e=>{if(typeof e==="string"){return expectShort(parseNumber(e))}return expectShort(e)};const strictParseByte=e=>{if(typeof e==="string"){return expectByte(parseNumber(e))}return expectByte(e)};const stackTraceWarning=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n");const _={warn:console.warn};const W=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const Y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dateToUtcString(e){const t=e.getUTCFullYear();const n=e.getUTCMonth();const o=e.getUTCDay();const i=e.getUTCDate();const a=e.getUTCHours();const d=e.getUTCMinutes();const h=e.getUTCSeconds();const m=i<10?`0${i}`:`${i}`;const f=a<10?`0${a}`:`${a}`;const Q=d<10?`0${d}`:`${d}`;const k=h<10?`0${h}`:`${h}`;return`${W[o]}, ${m} ${Y[n]} ${t} ${f}:${Q}:${k} GMT`}const J=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);const parseRfc3339DateTime=e=>{if(e===null||e===undefined){return undefined}if(typeof e!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const t=J.exec(e);if(!t){throw new TypeError("Invalid RFC-3339 date-time value")}const[n,o,i,a,d,h,m,f]=t;const Q=strictParseShort(stripLeadingZeroes(o));const k=parseDateValue(i,"month",1,12);const P=parseDateValue(a,"day",1,31);return buildDate(Q,k,P,{hours:d,minutes:h,seconds:m,fractionalMilliseconds:f})};const j=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/);const parseRfc3339DateTimeWithOffset=e=>{if(e===null||e===undefined){return undefined}if(typeof e!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const t=j.exec(e);if(!t){throw new TypeError("Invalid RFC-3339 date-time value")}const[n,o,i,a,d,h,m,f,Q]=t;const k=strictParseShort(stripLeadingZeroes(o));const P=parseDateValue(i,"month",1,12);const L=parseDateValue(a,"day",1,31);const U=buildDate(k,P,L,{hours:d,minutes:h,seconds:m,fractionalMilliseconds:f});if(Q.toUpperCase()!="Z"){U.setTime(U.getTime()-parseOffsetToMilliseconds(Q))}return U};const K=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$/);const X=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$/);const Z=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})$/);const parseRfc7231DateTime=e=>{if(e===null||e===undefined){return undefined}if(typeof e!=="string"){throw new TypeError("RFC-7231 date-times must be expressed as strings")}let t=K.exec(e);if(t){const[e,n,o,i,a,d,h,m]=t;return buildDate(strictParseShort(stripLeadingZeroes(i)),parseMonthByShortName(o),parseDateValue(n,"day",1,31),{hours:a,minutes:d,seconds:h,fractionalMilliseconds:m})}t=X.exec(e);if(t){const[e,n,o,i,a,d,h,m]=t;return adjustRfc850Year(buildDate(parseTwoDigitYear(i),parseMonthByShortName(o),parseDateValue(n,"day",1,31),{hours:a,minutes:d,seconds:h,fractionalMilliseconds:m}))}t=Z.exec(e);if(t){const[e,n,o,i,a,d,h,m]=t;return buildDate(strictParseShort(stripLeadingZeroes(m)),parseMonthByShortName(n),parseDateValue(o.trimLeft(),"day",1,31),{hours:i,minutes:a,seconds:d,fractionalMilliseconds:h})}throw new TypeError("Invalid RFC-7231 date-time value")};const parseEpochTimestamp=e=>{if(e===null||e===undefined){return undefined}let t;if(typeof e==="number"){t=e}else if(typeof e==="string"){t=strictParseDouble(e)}else if(typeof e==="object"&&e.tag===1){t=e.value}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))};const buildDate=(e,t,n,o)=>{const i=t-1;validateDayOfMonth(e,i,n);return new Date(Date.UTC(e,i,n,parseDateValue(o.hours,"hour",0,23),parseDateValue(o.minutes,"minute",0,59),parseDateValue(o.seconds,"seconds",0,60),parseMilliseconds(o.fractionalMilliseconds)))};const parseTwoDigitYear=e=>{const t=(new Date).getUTCFullYear();const n=Math.floor(t/100)*100+strictParseShort(stripLeadingZeroes(e));if(n{if(e.getTime()-(new Date).getTime()>ee){return new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()))}return e};const parseMonthByShortName=e=>{const t=Y.indexOf(e);if(t<0){throw new TypeError(`Invalid month: ${e}`)}return t+1};const te=[31,28,31,30,31,30,31,31,30,31,30,31];const validateDayOfMonth=(e,t,n)=>{let o=te[t];if(t===1&&isLeapYear(e)){o=29}if(n>o){throw new TypeError(`Invalid day for ${Y[t]} in ${e}: ${n}`)}};const isLeapYear=e=>e%4===0&&(e%100!==0||e%400===0);const parseDateValue=(e,t,n,o)=>{const i=strictParseByte(stripLeadingZeroes(e));if(io){throw new TypeError(`${t} must be between ${n} and ${o}, inclusive`)}return i};const parseMilliseconds=e=>{if(e===null||e===undefined){return 0}return strictParseFloat32("0."+e)*1e3};const parseOffsetToMilliseconds=e=>{const t=e[0];let n=1;if(t=="+"){n=1}else if(t=="-"){n=-1}else{throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`)}const o=Number(e.substring(1,3));const i=Number(e.substring(4,6));return n*(o*60+i)*60*1e3};const stripLeadingZeroes=e=>{let t=0;while(t{if(e&&typeof e==="object"&&(e instanceof ne||"deserializeJSON"in e)){return e}else if(typeof e==="string"||Object.getPrototypeOf(e)===String.prototype){return ne(String(e))}return ne(JSON.stringify(e))};ne.fromObject=ne.from;function quoteHeader(e){if(e.includes(",")||e.includes('"')){e=`"${e.replace(/"/g,'\\"')}"`}return e}const se=`(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;const oe=`(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;const re=`(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;const ie=`(\\d?\\d)`;const ae=`(\\d{4})`;const ce=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/);const Ae=new RegExp(`^${se}, ${ie} ${oe} ${ae} ${re} GMT$`);const le=new RegExp(`^${se}, ${ie}-${oe}-(\\d\\d) ${re} GMT$`);const ue=new RegExp(`^${se} ${oe} ( [1-9]|\\d\\d) ${re} ${ae}$`);const de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const _parseEpochTimestamp=e=>{if(e==null){return void 0}let t=NaN;if(typeof e==="number"){t=e}else if(typeof e==="string"){if(!/^-?\d*\.?\d+$/.test(e)){throw new TypeError(`parseEpochTimestamp - numeric string invalid.`)}t=Number.parseFloat(e)}else if(typeof e==="object"&&e.tag===1){t=e.value}if(isNaN(t)||Math.abs(t)===Infinity){throw new TypeError("Epoch timestamps must be valid finite numbers.")}return new Date(Math.round(t*1e3))};const _parseRfc3339DateTimeWithOffset=e=>{if(e==null){return void 0}if(typeof e!=="string"){throw new TypeError("RFC3339 timestamps must be strings")}const t=ce.exec(e);if(!t){throw new TypeError(`Invalid RFC3339 timestamp format ${e}`)}const[,n,o,i,a,d,h,,m,f]=t;range(o,1,12);range(i,1,31);range(a,0,23);range(d,0,59);range(h,0,60);const Q=new Date(Date.UTC(Number(n),Number(o)-1,Number(i),Number(a),Number(d),Number(h),Number(m)?Math.round(parseFloat(`0.${m}`)*1e3):0));Q.setUTCFullYear(Number(n));if(f.toUpperCase()!="Z"){const[,e,t,n]=/([+-])(\d\d):(\d\d)/.exec(f)||[void 0,"+",0,0];const o=e==="-"?1:-1;Q.setTime(Q.getTime()+o*(Number(t)*60*60*1e3+Number(n)*60*1e3))}return Q};const _parseRfc7231DateTime=e=>{if(e==null){return void 0}if(typeof e!=="string"){throw new TypeError("RFC7231 timestamps must be strings.")}let t;let n;let o;let i;let a;let d;let h;let m;if(m=Ae.exec(e)){[,t,n,o,i,a,d,h]=m}else if(m=le.exec(e)){[,t,n,o,i,a,d,h]=m;o=(Number(o)+1900).toString()}else if(m=ue.exec(e)){[,n,t,i,a,d,h,o]=m}if(o&&d){const e=Date.UTC(Number(o),de.indexOf(n),Number(t),Number(i),Number(a),Number(d),h?Math.round(parseFloat(`0.${h}`)*1e3):0);range(t,1,31);range(i,0,23);range(a,0,59);range(d,0,60);const m=new Date(e);m.setUTCFullYear(Number(o));return m}throw new TypeError(`Invalid RFC7231 date-time value ${e}.`)};function range(e,t,n){const o=Number(e);if(on){throw new Error(`Value ${o} out of range [${t}, ${n}]`)}}function splitEvery(e,t,n){if(n<=0||!Number.isInteger(n)){throw new Error("Invalid number of delimiters ("+n+") for splitEvery.")}const o=e.split(t);if(n===1){return o}const i=[];let a="";for(let e=0;e{const t=e.length;const n=[];let o=false;let i=undefined;let a=0;for(let d=0;d{e=e.trim();const t=e.length;if(t<2){return e}if(e[0]===`"`&&e[t-1]===`"`){e=e.slice(1,t-1)}return e.replace(/\\"/g,'"')})};const ge=/^-?\d*(\.\d+)?$/;class NumericValue{string;type;constructor(e,t){this.string=e;this.type=t;if(!ge.test(e)){throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`)}}toString(){return this.string}static[Symbol.hasInstance](e){if(!e||typeof e!=="object"){return false}const t=e;return NumericValue.prototype.isPrototypeOf(e)||t.type==="bigDecimal"&&ge.test(t.string)}}function nv(e){return new NumericValue(String(e),"bigDecimal")}const he={};const me={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();if(t.length===1){t=`0${t}`}he[e]=t;me[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 n=0;n{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(e instanceof i.ReadStream){if(e.path!=null){return i.lstatSync(e.path).size}else if(typeof e.fd==="number"){return i.fstatSync(e.fd).size}}throw new Error(`Body Length computation failed for ${e}`)};const toUint8Array=e=>{if(typeof e==="string"){return fromUtf8$1(e)}if(ArrayBuffer.isView(e)){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT)}return new Uint8Array(e)};const deserializerMiddleware=(e,t)=>(n,o)=>async i=>{const{response:d}=await n(i);try{const n=await t(d,e);return{response:d,output:n}}catch(e){Object.defineProperty(e,"$response",{value:d,enumerable:false,writable:false,configurable:false});if(!("$metadata"in e)){const t=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;try{e.message+="\n "+t}catch(e){if(!o.logger||o.logger?.constructor?.name==="NoOpLogger"){console.warn(t)}else{o.logger?.warn?.(t)}}if(typeof e.$responseBodyText!=="undefined"){if(e.$response){e.$response.body=e.$responseBodyText}}try{if(a.HttpResponse.isInstance(d)){const{headers:t={}}=d;const n=Object.entries(t);e.$metadata={httpStatusCode:d.statusCode,requestId:findHeader(/^x-[\w-]+-request-?id$/,n),extendedRequestId:findHeader(/^x-[\w-]+-id-2$/,n),cfId:findHeader(/^x-[\w-]+-cf-id$/,n)}}}catch(e){}}throw e}};const findHeader=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1];const serializerMiddleware=(e,t)=>(n,o)=>async i=>{const a=e;const h=o.endpointV2?async()=>d.toEndpointV1(o.endpointV2):a.endpoint;if(!h){throw new Error("No valid endpoint provider available.")}const m=await t(i.input,{...e,endpoint:h});return n({...i,request:m})};const pe={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:true};const Ee={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:true};function getSerdePlugin(e,t,n){return{applyToStack:o=>{o.add(deserializerMiddleware(e,n),pe);o.add(serializerMiddleware(e,t),Ee)}}}class Hash{algorithmIdentifier;secret;hash;constructor(e,t){this.algorithmIdentifier=e;this.secret=t;this.reset()}update(e,t){this.hash.update(toUint8Array(castSourceData(e,t)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?o.createHmac(this.algorithmIdentifier,castSourceData(this.secret)):o.createHash(this.algorithmIdentifier)}}function castSourceData(e,t){if(Buffer.isBuffer(e)){return e}if(typeof e==="string"){return fromString(e,t)}if(ArrayBuffer.isView(e)){return fromArrayBuffer(e.buffer,e.byteOffset,e.byteLength)}return fromArrayBuffer(e)}let fe=class ChecksumStream extends h.Duplex{expectedChecksum;checksumSourceLocation;checksum;source;base64Encoder;pendingCallback=null;constructor({expectedChecksum:e,checksum:t,source:n,checksumSourceLocation:o,base64Encoder:i}){super();if(typeof n.pipe==="function"){this.source=n}else{throw new Error(`@smithy/util-stream: unsupported source type ${n?.constructor?.name??n} in ChecksumStream.`)}this.base64Encoder=i??toBase64$1;this.expectedChecksum=e;this.checksum=t;this.checksumSourceLocation=o;this.source.pipe(this)}_read(e){if(this.pendingCallback){const e=this.pendingCallback;this.pendingCallback=null;e()}}_write(e,t,n){try{this.checksum.update(e);const t=this.push(e);if(!t){this.pendingCallback=n;return}}catch(e){return n(e)}return n()}async _final(e){try{const t=await this.checksum.digest();const n=this.base64Encoder(t);if(this.expectedChecksum!==n){return e(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${n}"`+` in response header "${this.checksumSourceLocation}".`))}}catch(t){return e(t)}this.push(null);return e()}};const isReadableStream=e=>typeof ReadableStream==="function"&&(e?.constructor?.name===ReadableStream.name||e instanceof ReadableStream);const isBlob=e=>typeof Blob==="function"&&(e?.constructor?.name===Blob.name||e instanceof Blob);const fromUtf8=e=>(new TextEncoder).encode(e);const Ie=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;const Ce=Object.entries(Ie).reduce((e,[t,n])=>{e[n]=Number(t);return e},{});const Be=Ie.split("");const Qe=6;const ye=8;const Se=63;function toBase64(e){let t;if(typeof e==="string"){t=fromUtf8(e)}else{t=e}const n=typeof t==="object"&&typeof t.length==="number";const o=typeof t==="object"&&typeof t.byteOffset==="number"&&typeof t.byteLength==="number";if(!n&&!o){throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.")}let i="";for(let e=0;e>t]}i+="==".slice(0,4-a)}return i}const Re=typeof ReadableStream==="function"?ReadableStream:function(){};class ChecksumStream extends Re{}const createChecksumStream$1=({expectedChecksum:e,checksum:t,source:n,checksumSourceLocation:o,base64Encoder:i})=>{if(!isReadableStream(n)){throw new Error(`@smithy/util-stream: unsupported source type ${n?.constructor?.name??n} in ChecksumStream.`)}const a=i??toBase64;if(typeof TransformStream!=="function"){throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.")}const d=new TransformStream({start(){},async transform(e,n){t.update(e);n.enqueue(e)},async flush(n){const i=await t.digest();const d=a(i);if(e!==d){const t=new Error(`Checksum mismatch: expected "${e}" but received "${d}"`+` in response header "${o}".`);n.error(t)}else{n.terminate()}}});n.pipeThrough(d);const h=d.readable;Object.setPrototypeOf(h,ChecksumStream.prototype);return h};function createChecksumStream(e){if(typeof ReadableStream==="function"&&isReadableStream(e.source)){return createChecksumStream$1(e)}return new fe(e)}class ByteArrayCollector{allocByteArray;byteLength=0;byteArrays=[];constructor(e){this.allocByteArray=e}push(e){this.byteArrays.push(e);this.byteLength+=e.byteLength}flush(){if(this.byteArrays.length===1){const e=this.byteArrays[0];this.reset();return e}const e=this.allocByteArray(this.byteLength);let t=0;for(let n=0;nnew Uint8Array(e))];let h=-1;const pull=async e=>{const{value:m,done:f}=await o.read();const Q=m;if(f){if(h!==-1){const t=flush(d,h);if(sizeOf(t)>0){e.enqueue(t)}}e.close()}else{const o=modeOf(Q,false);if(h!==o){if(h>=0){e.enqueue(flush(d,h))}h=o}if(h===-1){e.enqueue(Q);return}const m=sizeOf(Q);a+=m;const f=sizeOf(d[h]);if(m>=t&&f===0){e.enqueue(Q)}else{const o=merge(d,h,Q);if(!i&&a>t*2){i=true;n?.warn(`@smithy/util-stream - stream chunk size ${m} is below threshold of ${t}, automatically buffering.`)}if(o>=t){e.enqueue(flush(d,h))}else{await pull(e)}}}};return new ReadableStream({pull:pull})}function merge(e,t,n){switch(t){case 0:e[0]+=n;return sizeOf(e[0]);case 1:case 2:e[t].push(n);return sizeOf(e[t])}}function flush(e,t){switch(t){case 0:const n=e[0];e[0]="";return n;case 1:case 2:return e[t].flush()}throw new Error(`@smithy/util-stream - invalid index ${t} given to flush()`)}function sizeOf(e){return e?.byteLength??e?.length??0}function modeOf(e,t=true){if(t&&typeof Buffer!=="undefined"&&e instanceof Buffer){return 2}if(e instanceof Uint8Array){return 1}if(typeof e==="string"){return 0}return-1}function createBufferedReadable(e,t,n){if(isReadableStream(e)){return createBufferedReadableStream(e,t,n)}const o=new h.Readable({read(){}});let i=false;let a=0;const d=["",new ByteArrayCollector(e=>new Uint8Array(e)),new ByteArrayCollector(e=>Buffer.from(new Uint8Array(e)))];let m=-1;e.on("data",e=>{const h=modeOf(e,true);if(m!==h){if(m>=0){o.push(flush(d,m))}m=h}if(m===-1){o.push(e);return}const f=sizeOf(e);a+=f;const Q=sizeOf(d[m]);if(f>=t&&Q===0){o.push(e)}else{const h=merge(d,m,e);if(!i&&a>t*2){i=true;n?.warn(`@smithy/util-stream - stream chunk size ${f} is below threshold of ${t}, automatically buffering.`)}if(h>=t){o.push(flush(d,m))}}});e.on("end",()=>{if(m!==-1){const e=flush(d,m);if(sizeOf(e)>0){o.push(e)}}o.push(null)});return o}const getAwsChunkedEncodingStream$1=(e,t)=>{const{base64Encoder:n,bodyLengthChecker:o,checksumAlgorithmFn:i,checksumLocationName:a,streamHasher:d}=t;const h=n!==undefined&&o!==undefined&&i!==undefined&&a!==undefined&&d!==undefined;const m=h?d(i,e):undefined;const f=e.getReader();return new ReadableStream({async pull(e){const{value:t,done:i}=await f.read();if(i){e.enqueue(`0\r\n`);if(h){const t=n(await m);e.enqueue(`${a}:${t}\r\n`);e.enqueue(`\r\n`)}e.close()}else{e.enqueue(`${(o(t)||0).toString(16)}\r\n${t}\r\n`)}}})};function getAwsChunkedEncodingStream(e,t){const n=e;const o=e;if(isReadableStream(o)){return getAwsChunkedEncodingStream$1(o,t)}const{base64Encoder:i,bodyLengthChecker:a,checksumAlgorithmFn:d,checksumLocationName:m,streamHasher:f}=t;const Q=i!==undefined&&d!==undefined&&m!==undefined&&f!==undefined;const k=Q?f(d,n):undefined;const P=new h.Readable({read:()=>{}});n.on("data",e=>{const t=a(e)||0;if(t===0){return}P.push(`${t.toString(16)}\r\n`);P.push(e);P.push("\r\n")});n.on("end",async()=>{P.push(`0\r\n`);if(Q){const e=i(await k);P.push(`${m}:${e}\r\n`);P.push(`\r\n`)}P.push(null)});return P}async function headStream$1(e,t){let n=0;const o=[];const i=e.getReader();let a=false;while(!a){const{done:e,value:d}=await i.read();if(d){o.push(d);n+=d?.byteLength??0}if(n>=t){break}a=e}i.releaseLock();const d=new Uint8Array(Math.min(t,n));let h=0;for(const e of o){if(e.byteLength>d.byteLength-h){d.set(e.subarray(0,d.byteLength-h),h);break}else{d.set(e,h)}h+=e.length}return d}const headStream=(e,t)=>{if(isReadableStream(e)){return headStream$1(e,t)}return new Promise((n,o)=>{const i=new we;i.limit=t;e.pipe(i);e.on("error",e=>{i.end();o(e)});i.on("error",o);i.on("finish",function(){const e=new Uint8Array(Buffer.concat(this.buffers));n(e)})})};let we=class Collector extends h.Writable{buffers=[];limit=Infinity;bytesBuffered=0;_write(e,t,n){this.buffers.push(e);this.bytesBuffered+=e.byteLength??0;if(this.bytesBuffered>=this.limit){const e=this.bytesBuffered-this.limit;const t=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=t.subarray(0,t.byteLength-e);this.emit("finish")}n()}};const toUtf8=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 new TextDecoder("utf-8").decode(e)};const fromBase64=e=>{let t=e.length/4*3;if(e.slice(-2)==="=="){t-=2}else if(e.slice(-1)==="="){t--}const n=new ArrayBuffer(t);const o=new DataView(n);for(let t=0;t>=Qe}}const a=t/4*3;n>>=i%ye;const d=Math.floor(i/ye);for(let e=0;e>t)}}return new Uint8Array(n)};const streamCollector$1=async e=>{if(typeof Blob==="function"&&e instanceof Blob||e.constructor?.name==="Blob"){if(Blob.prototype.arrayBuffer!==undefined){return new Uint8Array(await e.arrayBuffer())}return collectBlob(e)}return collectStream(e)};async function collectBlob(e){const t=await readToBase64(e);const n=fromBase64(t);return new Uint8Array(n)}async function collectStream(e){const t=[];const n=e.getReader();let o=false;let i=0;while(!o){const{done:e,value:a}=await n.read();if(a){t.push(a);i+=a.length}o=e}const a=new Uint8Array(i);let d=0;for(const e of t){a.set(e,d);d+=e.length}return a}function readToBase64(e){return new Promise((t,n)=>{const o=new FileReader;o.onloadend=()=>{if(o.readyState!==2){return n(new Error("Reader aborted too early"))}const e=o.result??"";const i=e.indexOf(",");const a=i>-1?i+1:e.length;t(e.substring(a))};o.onabort=()=>n(new Error("Read aborted"));o.onerror=()=>n(o.error);o.readAsDataURL(e)})}const De="The stream has already been transformed.";const sdkStreamMixin$1=e=>{if(!isBlobInstance(e)&&!isReadableStream(e)){const t=e?.__proto__?.constructor?.name||e;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${t}`)}let t=false;const transformToByteArray=async()=>{if(t){throw new Error(De)}t=true;return await streamCollector$1(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 toBase64(t)}else if(e==="hex"){return toHex(t)}else if(e===undefined||e==="utf8"||e==="utf-8"){return 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(t){throw new Error(De)}t=true;if(isBlobInstance(e)){return blobToWebStream(e)}else if(isReadableStream(e)){return e}else{throw new Error(`Cannot transform payload to web stream, got ${e}`)}}})};const isBlobInstance=e=>typeof Blob==="function"&&e instanceof Blob;class Collector extends h.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e);n()}}const isReadableStreamInstance=e=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function collectReadableStream(e){const t=[];const n=e.getReader();let o=false;let i=0;while(!o){const{done:e,value:a}=await n.read();if(a){t.push(a);i+=a.length}o=e}const a=new Uint8Array(i);let d=0;for(const e of t){a.set(e,d);d+=e.length}return a}const streamCollector=e=>{if(isReadableStreamInstance(e)){return collectReadableStream(e)}return new Promise((t,n)=>{const o=new Collector;e.pipe(o);e.on("error",e=>{o.end();n(e)});o.on("error",n);o.on("finish",function(){const e=new Uint8Array(Buffer.concat(this.bufferedBytes));t(e)})})};const be="The stream has already been transformed.";const sdkStreamMixin=e=>{if(!(e instanceof h.Readable)){try{return sdkStreamMixin$1(e)}catch(t){const n=e?.__proto__?.constructor?.name||e;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${n}`)}}let t=false;const transformToByteArray=async()=>{if(t){throw new Error(be)}t=true;return await streamCollector(e)};return Object.assign(e,{transformToByteArray:transformToByteArray,transformToString:async e=>{const t=await transformToByteArray();if(e===undefined||Buffer.isEncoding(e)){return fromArrayBuffer(t.buffer,t.byteOffset,t.byteLength).toString(e)}else{const n=new TextDecoder(e);return n.decode(t)}},transformToWebStream:()=>{if(t){throw new Error(be)}if(e.readableFlowing!==null){throw new Error("The stream has been consumed by other callbacks.")}if(typeof h.Readable.toWeb!=="function"){throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.")}t=true;return h.Readable.toWeb(e)}})};async function splitStream$1(e){if(typeof e.stream==="function"){e=e.stream()}const t=e;return t.tee()}async function splitStream(e){if(isReadableStream(e)||isBlob(e)){return splitStream$1(e)}const t=new h.PassThrough;const n=new h.PassThrough;e.pipe(t);e.pipe(n);return[t,n]}class Uint8ArrayBlobAdapter extends(bindUint8ArrayBlobAdapter(toUtf8$1,fromUtf8$1,toBase64$1,fromBase64$1)){}const xe=o.getRandomValues;const Me=bindV4(xe);const ve=Me;t.ChecksumStream=fe;t.Hash=Hash;t.LazyJsonString=ne;t.NumericValue=NumericValue;t.Uint8ArrayBlobAdapter=Uint8ArrayBlobAdapter;t._parseEpochTimestamp=_parseEpochTimestamp;t._parseRfc3339DateTimeWithOffset=_parseRfc3339DateTimeWithOffset;t._parseRfc7231DateTime=_parseRfc7231DateTime;t.calculateBodyLength=calculateBodyLength;t.copyDocumentWithTransform=copyDocumentWithTransform;t.createBufferedReadable=createBufferedReadable;t.createChecksumStream=createChecksumStream;t.dateToUtcString=dateToUtcString;t.deserializerMiddleware=deserializerMiddleware;t.deserializerMiddlewareOption=pe;t.expectBoolean=expectBoolean;t.expectByte=expectByte;t.expectFloat32=expectFloat32;t.expectInt=k;t.expectInt32=expectInt32;t.expectLong=expectLong;t.expectNonNull=expectNonNull;t.expectNumber=expectNumber;t.expectObject=expectObject;t.expectShort=expectShort;t.expectString=expectString;t.expectUnion=expectUnion;t.fromArrayBuffer=fromArrayBuffer;t.fromBase64=fromBase64$1;t.fromHex=fromHex;t.fromString=fromString;t.fromUtf8=fromUtf8$1;t.generateIdempotencyToken=ve;t.getAwsChunkedEncodingStream=getAwsChunkedEncodingStream;t.getSerdePlugin=getSerdePlugin;t.handleFloat=U;t.headStream=headStream;t.isArrayBuffer=isArrayBuffer;t.isBlob=isBlob;t.isReadableStream=isReadableStream;t.limitedParseDouble=limitedParseDouble;t.limitedParseFloat=H;t.limitedParseFloat32=limitedParseFloat32;t.logger=_;t.nv=nv;t.parseBoolean=parseBoolean;t.parseEpochTimestamp=parseEpochTimestamp;t.parseRfc3339DateTime=parseRfc3339DateTime;t.parseRfc3339DateTimeWithOffset=parseRfc3339DateTimeWithOffset;t.parseRfc7231DateTime=parseRfc7231DateTime;t.quoteHeader=quoteHeader;t.sdkStreamMixin=sdkStreamMixin;t.serializerMiddleware=serializerMiddleware;t.serializerMiddlewareOption=Ee;t.splitEvery=splitEvery;t.splitHeader=splitHeader;t.splitStream=splitStream;t.strictParseByte=strictParseByte;t.strictParseDouble=strictParseDouble;t.strictParseFloat=P;t.strictParseFloat32=strictParseFloat32;t.strictParseInt=V;t.strictParseInt32=strictParseInt32;t.strictParseLong=strictParseLong;t.strictParseShort=strictParseShort;t.toBase64=toBase64$1;t.toHex=toHex;t.toUint8Array=toUint8Array;t.toUtf8=toUtf8$1;t.v4=Me},4534:(e,t,n)=>{"use strict";var o=n(690);const getSmithyContext=e=>e[o.SMITHY_CONTEXT_KEY]||(e[o.SMITHY_CONTEXT_KEY]={});class HttpRequest{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;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 clone(e){const t=new HttpRequest({...e,headers:{...e.headers}});if(t.query){t.query=cloneQuery(t.query)}return t}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(){return HttpRequest.clone(this)}}function cloneQuery(e){return Object.keys(e).reduce((t,n)=>{const o=e[n];return{...t,[n]:Array.isArray(o)?[...o]:o}},{})}class HttpResponse{statusCode;reason;headers;body;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"}}const i=new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);const isValidHostLabel=(e,t=false)=>{if(!t){return i.test(e)}const n=e.split(".");for(const e of n){if(!isValidHostLabel(e)){return false}}return true};function isValidHostname(e){const t=/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/;return t.test(e)}const normalizeProvider=e=>{if(typeof e==="function")return e;const t=Promise.resolve(e);return()=>t};function parseQueryString(e){const t={};e=e.replace(/^\?/,"");if(e){for(const n of e.split("&")){let[e,o=null]=n.split("=");e=decodeURIComponent(e);if(o){o=decodeURIComponent(o)}if(!(e in t)){t[e]=o}else if(Array.isArray(t[e])){t[e].push(o)}else{t[e]=[t[e],o]}}}return t}const parseUrl=e=>{if(typeof e==="string"){return parseUrl(new URL(e))}const{hostname:t,pathname:n,port:o,protocol:i,search:a}=e;let d;if(a){d=parseQueryString(a)}return{hostname:t,port:o?parseInt(o):undefined,protocol:i,path:n,query:d}};const toEndpointV1=e=>{if(typeof e==="object"){if("url"in e){const t=parseUrl(e.url);if(e.headers){t.headers={};for(const n in e.headers){t.headers[n.toLowerCase()]=e.headers[n].join(", ")}}return t}return e}return parseUrl(e)};t.HttpRequest=HttpRequest;t.HttpResponse=HttpResponse;t.getSmithyContext=getSmithyContext;t.isValidHostLabel=isValidHostLabel;t.isValidHostname=isValidHostname;t.normalizeProvider=normalizeProvider;t.parseQueryString=parseQueryString;t.parseUrl=parseUrl;t.toEndpointV1=toEndpointV1},1279:(e,t,n)=>{"use strict";var o=n(3422);var i=n(4708);var a=n(7075);var d=n(2467);function buildAbortError(e){const t=e&&typeof e==="object"&&"reason"in e?e.reason:undefined;if(t){if(t instanceof Error){const e=new Error("Request aborted");e.name="AbortError";e.cause=t;return e}const e=new Error(String(t));e.name="AbortError";return e}const n=new Error("Request aborted");n.name="AbortError";return n}const h=["ECONNRESET","EPIPE","ETIMEDOUT"];const getTransformedHeaders=e=>{const t={};for(const n in e){const o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t};const m={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)};const f=1e3;const setConnectionTimeout=(e,t,n=0)=>{if(!n){return-1}const registerTimeout=o=>{const i=m.setTimeout(()=>{e.destroy();t(Object.assign(new Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-o);const doWithSocket=e=>{if(e?.connecting){e.on("connect",()=>{m.clearTimeout(i)})}else{m.clearTimeout(i)}};if(e.socket){doWithSocket(e.socket)}else{e.on("socket",doWithSocket)}};if(n<2e3){registerTimeout(0);return 0}return m.setTimeout(registerTimeout.bind(null,f),f)};const setRequestTimeout=(e,t,n=0,o,i)=>{if(n){return m.setTimeout(()=>{let a=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){const n=Object.assign(new Error(a),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(n);t(n)}else{a+=` Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.`;i?.warn?.(a)}},n)}return-1};const Q=3e3;const setSocketKeepAlive=(e,{keepAlive:t,keepAliveMsecs:n},o=Q)=>{if(t!==true){return-1}const registerListener=()=>{if(e.socket){e.socket.setKeepAlive(t,n||0)}else{e.on("socket",e=>{e.setKeepAlive(t,n||0)})}};if(o===0){registerListener();return 0}return m.setTimeout(registerListener,o)};const k=3e3;const setSocketTimeout=(e,t,n=0)=>{const registerTimeout=o=>{const i=n-o;const onTimeout=()=>{e.destroy();t(Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket){e.socket.setTimeout(i,onTimeout);e.on("close",()=>e.socket?.removeListener("timeout",onTimeout))}else{e.setTimeout(i,onTimeout)}};if(0{d=Number(m.setTimeout(()=>e(true),Math.max(P,n)))}),new Promise(t=>{e.on("continue",()=>{m.clearTimeout(d);t(true)});e.on("response",()=>{m.clearTimeout(d);t(false)});e.on("error",()=>{m.clearTimeout(d);t(false)})})])}if(h){writeBody(e,t.body)}}function writeBody(e,t){if(t instanceof a.Readable){t.pipe(e);return}if(t){const n=Buffer.isBuffer(t);const o=typeof t==="string";if(n||o){if(n&&t.byteLength===0){e.end()}else{e.end(t)}return}const i=t;if(typeof i==="object"&&i.buffer&&typeof i.byteOffset==="number"&&typeof i.byteLength==="number"){e.end(Buffer.from(i.buffer,i.byteOffset,i.byteLength));return}e.end(Buffer.from(t));return}e.end()}const L=0;let U=undefined;let H=undefined;class NodeHttpHandler{config;configProvider;socketWarningTimestamp=0;externalAgent=false;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function"){return e}return new NodeHttpHandler(e)}static checkSocketUsage(e,t,n=console){const{sockets:o,requests:i,maxSockets:a}=e;if(typeof a!=="number"||a===Infinity){return t}const d=15e3;if(Date.now()-d=a&&d>=2*a){n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${t} and ${d} 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}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function"){e().then(e=>{t(this.resolveDefaultConfig(e))}).catch(n)}else{t(this.resolveDefaultConfig(e))}})}destroy(){this.config?.httpAgent?.destroy();this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config){this.config=await this.configProvider}const a=this.config;const d=e.protocol==="https:";if(!d&&!this.config.httpAgent){this.config.httpAgent=await this.config.httpAgentProvider()}return new Promise((f,Q)=>{let k=undefined;let P=-1;let L=-1;let V=-1;let _=-1;let W=-1;const clearTimeouts=()=>{m.clearTimeout(P);m.clearTimeout(L);m.clearTimeout(V);m.clearTimeout(_);m.clearTimeout(W)};const resolve=async e=>{await k;clearTimeouts();f(e)};const reject=async e=>{await k;clearTimeouts();Q(e)};if(t?.aborted){const e=buildAbortError(t);reject(e);return}const Y=e.headers;const J=Y?(Y.Expect??Y.expect)==="100-continue":false;let j=d?a.httpsAgent:a.httpAgent;if(J&&!this.externalAgent){j=new(d?i.Agent:U)({keepAlive:false,maxSockets:Infinity})}P=m.setTimeout(()=>{this.socketWarningTimestamp=NodeHttpHandler.checkSocketUsage(j,this.socketWarningTimestamp,a.logger)},a.socketAcquisitionWarningTimeout??(a.requestTimeout??2e3)+(a.connectionTimeout??1e3));const K=e.query?o.buildQueryString(e.query):"";let X=undefined;if(e.username!=null||e.password!=null){const t=e.username??"";const n=e.password??"";X=`${t}:${n}`}let Z=e.path;if(K){Z+=`?${K}`}if(e.fragment){Z+=`#${e.fragment}`}let ee=e.hostname??"";if(ee[0]==="["&&ee.endsWith("]")){ee=e.hostname.slice(1,-1)}else{ee=e.hostname}const te={headers:e.headers,host:ee,method:e.method,path:Z,port:e.port,agent:j,auth:X};const ne=d?i.request:H;const se=ne(te,e=>{const t=new o.HttpResponse({statusCode:e.statusCode||-1,reason:e.statusMessage,headers:getTransformedHeaders(e.headers),body:e});resolve({response:t})});se.on("error",e=>{if(h.includes(e.code)){reject(Object.assign(e,{name:"TimeoutError"}))}else{reject(e)}});if(t){const onAbort=()=>{se.destroy();const e=buildAbortError(t);reject(e)};if(typeof t.addEventListener==="function"){const e=t;e.addEventListener("abort",onAbort,{once:true});se.once("close",()=>e.removeEventListener("abort",onAbort))}else{t.onabort=onAbort}}const oe=n??a.requestTimeout;L=setConnectionTimeout(se,reject,a.connectionTimeout);V=setRequestTimeout(se,reject,oe,a.throwOnRequestTimeout,a.logger??console);_=setSocketTimeout(se,reject,a.socketTimeout);const re=te.agent;if(typeof re==="object"&&"keepAlive"in re){W=setSocketKeepAlive(se,{keepAlive:re.keepAlive,keepAliveMsecs:re.keepAliveMsecs})}k=writeRequestBody(se,e,oe,this.externalAgent).catch(e=>{clearTimeouts();return Q(e)})})}updateHttpClientConfig(e,t){this.config=undefined;this.configProvider=this.configProvider.then(n=>({...n,[e]:t}))}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){const{requestTimeout:t,connectionTimeout:o,socketTimeout:a,socketAcquisitionWarningTimeout:d,httpAgent:h,httpsAgent:m,throwOnRequestTimeout:f,logger:Q}=e||{};const k=true;const P=50;return{connectionTimeout:o,requestTimeout:t,socketTimeout:a,socketAcquisitionWarningTimeout:d,throwOnRequestTimeout:f,httpAgentProvider:async()=>{const e=await Promise.resolve().then(n.t.bind(n,7067,23));const{Agent:t,request:o}=e.default??e;H=o;U=t;if(h instanceof U||typeof h?.destroy==="function"){this.externalAgent=true;return h}return new U({keepAlive:k,maxSockets:P,...h})},httpsAgent:(()=>{if(m instanceof i.Agent||typeof m?.destroy==="function"){this.externalAgent=true;return m}return new i.Agent({keepAlive:k,maxSockets:P,...m})})(),logger:Q}}}const V=new Uint16Array(1);class ClientHttp2SessionRef{id=V[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref();this.session=e}retain(){if(this.session.destroyed){throw new Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.")}this.refs+=1;this.total+=1;this.max=Math.max(this.refs,this.max);this.session.ref()}free(){if(this.session.destroyed){return}this.refs-=1;if(this.refs===0){this.session.unref()}if(this.refs<0){throw new Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}}deref(){return this.session}close(){if(!this.session.closed){this.session.close()}}destroy(){this.refs=0;if(!this.session.destroyed){this.session.destroy()}}useCount(){return this.refs}}class NodeHttp2ConnectionPool{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map(e=>new ClientHttp2SessionRef(e))}poll(){let e=false;for(const t of this.sessions){if(t.deref().destroyed){e=true;continue}if(!this.maxConcurrency||t.useCount()-1){this.sessions.splice(t,1)}}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e);e.destroy()}}class NodeHttp2ConnectionManager{config;connectOptions;connectionPools=new Map;constructor(e){this.config=e;if(this.config.maxConcurrency&&this.config.maxConcurrency<=0){throw new RangeError("maxConcurrency must be greater than zero.")}}lease(e,t){const n=this.getUrlString(e);const o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){const e=o.poll();if(e){e.retain();return e}}const i=new ClientHttp2SessionRef(this.connect(n));const a=i.deref();if(this.config.maxConcurrency){a.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())}})}const graceful=()=>{this.removeFromPoolAndClose(n,i)};const ensureDestroyed=()=>{this.removeFromPoolAndCheckedDestroy(n,i)};a.on("goaway",graceful);a.on("error",ensureDestroyed);a.on("frameError",ensureDestroyed);a.on("close",ensureDestroyed);if(t.requestTimeout){a.setTimeout(t.requestTimeout,ensureDestroyed)}o.offerLast(i);i.retain();return i}release(e,t){t.free()}createIsolatedSession(e,t){const n=this.getUrlString(e);const o=new ClientHttp2SessionRef(this.connect(n));const i=o.deref();i.settings({maxConcurrentStreams:1});const ensureDestroyed=()=>{o.destroy()};i.on("error",ensureDestroyed);i.on("frameError",ensureDestroyed);i.on("close",ensureDestroyed);if(t.requestTimeout){i.setTimeout(t.requestTimeout,ensureDestroyed)}o.retain();return o}destroy(){for(const[e,t]of this.connectionPools){for(const e of[...t]){e.destroy()}this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0){throw new RangeError("maxConcurrentStreams must be greater than zero.")}this.config.maxConcurrency=e;for(const t of this.connectionPools.values()){t.setMaxConcurrency(e)}}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){const e={};for(const[t,n]of this.connectionPools){const o=[];for(const e of n){o.push({id:e.id,active:e.useCount(),maxConcurrent:e.max,totalRequests:e.total})}e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t);t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t);t.destroy()}getPool(e){if(!this.connectionPools.has(e)){const t=new NodeHttp2ConnectionPool;if(this.config.maxConcurrency){t.setMaxConcurrency(this.config.maxConcurrency)}this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===undefined?d.connect(e):d.connect(e,this.connectOptions)}}const{constants:_}=d;class NodeHttp2Handler{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new NodeHttp2ConnectionManager({});static create(e){if(typeof e?.handle==="function"){return e}return new NodeHttp2Handler(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function"){e().then(e=>{t(e||{})}).catch(n)}else{t(e||{})}})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:i}={}){if(!this.config){this.config=await this.configProvider;const{disableConcurrentStreams:e,maxConcurrentStreams:t,nodeHttp2ConnectOptions:n}=this.config;this.connectionManager.setDisableConcurrentStreams(e??false);if(t){this.connectionManager.setMaxConcurrentStreams(t)}if(n){this.connectionManager.setNodeHttp2ConnectOptions(n)}}const{requestTimeout:a,disableConcurrentStreams:d}=this.config;const h=d||i;const m=n??a;return new Promise((n,a)=>{let d=false;let f=undefined;const resolve=async e=>{await f;n(e)};const reject=async e=>{await f;a(e)};if(t?.aborted){d=true;const e=buildAbortError(t);reject(e);return}const{hostname:Q,method:k,port:P,protocol:L,query:U}=e;let H="";if(e.username!=null||e.password!=null){const t=e.username??"";const n=e.password??"";H=`${t}:${n}@`}const V=`${L}//${H}${Q}${P?`:${P}`:""}`;const W={destination:new URL(V)};const Y={requestTimeout:this.config?.sessionTimeout,isEventStream:i};const J=h?this.connectionManager.createIsolatedSession(W,Y):this.connectionManager.lease(W,Y);const j=J.deref();const rejectWithDestroy=e=>{if(h){J.destroy()}d=true;reject(e)};const K=U?o.buildQueryString(U):"";let X=e.path;if(K){X+=`?${K}`}if(e.fragment){X+=`#${e.fragment}`}const Z=j.request({...e.headers,[_.HTTP2_HEADER_PATH]:X,[_.HTTP2_HEADER_METHOD]:k});if(m){Z.setTimeout(m,()=>{Z.close();const e=new Error(`Stream timed out because of no activity for ${m} ms`);e.name="TimeoutError";rejectWithDestroy(e)})}if(t){const onAbort=()=>{Z.close();const e=buildAbortError(t);rejectWithDestroy(e)};if(typeof t.addEventListener==="function"){const e=t;e.addEventListener("abort",onAbort,{once:true});Z.once("close",()=>e.removeEventListener("abort",onAbort))}else{t.onabort=onAbort}}Z.on("frameError",(e,t,n)=>{rejectWithDestroy(new Error(`Frame type id ${e} in stream id ${n} has failed with code ${t}.`))});Z.on("error",rejectWithDestroy);Z.on("aborted",()=>{rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${Z.rstCode}.`))});Z.on("response",e=>{const t=new o.HttpResponse({statusCode:e[":status"]??-1,headers:getTransformedHeaders(e),body:Z});d=true;resolve({response:t});if(h){j.close()}});Z.on("close",()=>{if(h){J.destroy()}else{this.connectionManager.release(W,J)}if(!d){rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"))}});f=writeRequestBody(Z,e,m)})}updateHttpClientConfig(e,t){this.config=undefined;this.configProvider=this.configProvider.then(n=>({...n,[e]:t}))}httpHandlerConfigs(){return this.config??{}}}class Collector extends a.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e);n()}}const streamCollector=e=>{if(isReadableStreamInstance(e)){return collectReadableStream(e)}return new Promise((t,n)=>{const o=new Collector;e.pipe(o);e.on("error",e=>{o.end();n(e)});o.on("error",n);o.on("finish",function(){const e=new Uint8Array(Buffer.concat(this.bufferedBytes));t(e)})})};const isReadableStreamInstance=e=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function collectReadableStream(e){const t=[];const n=e.getReader();let o=false;let i=0;while(!o){const{done:e,value:a}=await n.read();if(a){t.push(a);i+=a.length}o=e}const a=new Uint8Array(i);let d=0;for(const e of t){a.set(e,d);d+=e.length}return a}t.DEFAULT_REQUEST_TIMEOUT=L;t.NodeHttp2Handler=NodeHttp2Handler;t.NodeHttpHandler=NodeHttpHandler;t.streamCollector=streamCollector},5118:(e,t,n)=>{"use strict";var o=n(2430);var i=n(2658);var a=n(3422);class HeaderFormatter{format(e){const t=[];for(const n of Object.keys(e)){const i=o.fromUtf8(n);t.push(Uint8Array.from([i.byteLength]),i,this.formatHeaderValue(e[n]))}const n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0));let i=0;for(const e of t){n.set(e,i);i+=e.byteLength}return n}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 n=new DataView(new ArrayBuffer(5));n.setUint8(0,4);n.setInt32(1,e.value,false);return new Uint8Array(n.buffer);case"long":const i=new Uint8Array(9);i[0]=5;i.set(e.value.bytes,1);return i;case"binary":const a=new DataView(new ArrayBuffer(3+e.value.byteLength));a.setUint8(0,6);a.setUint16(1,e.value.byteLength,false);const d=new Uint8Array(a.buffer);d.set(e.value,3);return d;case"string":const m=o.fromUtf8(e.value);const f=new DataView(new ArrayBuffer(3+m.byteLength));f.setUint8(0,7);f.setUint16(1,m.byteLength,false);const Q=new Uint8Array(f.buffer);Q.set(m,3);return Q;case"timestamp":const k=new Uint8Array(9);k[0]=8;k.set(Int64.fromNumber(e.value.valueOf()).bytes,1);return k;case"uuid":if(!h.test(e.value)){throw new Error(`Invalid UUID received: ${e.value}`)}const P=new Uint8Array(17);P[0]=9;P.set(o.fromHex(e.value.replace(/\-/g,"")),1);return P}}}var d;(function(e){e[e["boolTrue"]=0]="boolTrue";e[e["boolFalse"]=1]="boolFalse";e[e["byte"]=2]="byte";e[e["short"]=3]="short";e[e["integer"]=4]="integer";e[e["long"]=5]="long";e[e["byteArray"]=6]="byteArray";e[e["string"]=7]="string";e[e["timestamp"]=8]="timestamp";e[e["uuid"]=9]="uuid"})(d||(d={}));const h=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Int64{bytes;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 n=7,o=Math.abs(Math.round(e));n>-1&&o>0;n--,o/=256){t[n]=o}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(o.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}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}}const m="X-Amz-Algorithm";const f="X-Amz-Credential";const Q="X-Amz-Date";const k="X-Amz-SignedHeaders";const P="X-Amz-Expires";const L="X-Amz-Signature";const U="X-Amz-Security-Token";const H="X-Amz-Region-Set";const V="authorization";const _=Q.toLowerCase();const W="date";const Y=[V,_,W];const J=L.toLowerCase();const j="x-amz-content-sha256";const K=U.toLowerCase();const X="host";const Z={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};const ee=/^proxy-/;const te=/^sec-/;const ne=[/^proxy-/i,/^sec-/i];const se="AWS4-HMAC-SHA256";const oe="AWS4-ECDSA-P256-SHA256";const re="AWS4-HMAC-SHA256-PAYLOAD";const ie="UNSIGNED-PAYLOAD";const ae=50;const ce="aws4_request";const Ae=60*60*24*7;const getCanonicalQuery=({query:e={}})=>{const t=[];const n={};for(const o of Object.keys(e)){if(o.toLowerCase()===J){continue}const i=a.escapeUri(o);t.push(i);const d=e[o];if(typeof d==="string"){n[i]=`${i}=${a.escapeUri(d)}`}else if(Array.isArray(d)){n[i]=d.slice(0).reduce((e,t)=>e.concat([`${i}=${a.escapeUri(t)}`]),[]).sort().join("&")}}return t.sort().map(e=>n[e]).filter(e=>e).join("&")};const iso8601=e=>toDate(e).toISOString().replace(/\.\d{3}Z$/,"Z");const toDate=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};class SignatureV4Base{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:n,service:o,sha256:a,uriEscapePath:d=true}){this.service=o;this.sha256=a;this.uriEscapePath=d;this.applyChecksum=typeof e==="boolean"?e:true;this.regionProvider=i.normalizeProvider(n);this.credentialProvider=i.normalizeProvider(t)}createCanonicalRequest(e,t,n){const o=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${getCanonicalQuery(e)}\n${o.map(e=>`${e}:${t[e]}`).join("\n")}\n\n${o.join(";")}\n${n}`}async createStringToSign(e,t,n,i){const a=new this.sha256;a.update(o.toUint8Array(n));const d=await a.digest();return`${i}\n${e}\n${t}\n${o.toHex(d)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const n of e.split("/")){if(n?.length===0)continue;if(n===".")continue;if(n===".."){t.pop()}else{t.push(n)}}const n=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;const o=a.escapeUri(n);return o.replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if(typeof e!=="object"||typeof e.accessKeyId!=="string"||typeof e.secretAccessKey!=="string"){throw new Error("Resolved credential object is not valid")}}formatDate(e){const t=iso8601(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}const le={};const ue=[];const createScope=(e,t,n)=>`${e}/${t}/${n}/${ce}`;const getSigningKey=async(e,t,n,i,a)=>{const d=await hmac(e,t.secretAccessKey,t.accessKeyId);const h=`${n}:${i}:${a}:${o.toHex(d)}:${t.sessionToken}`;if(h in le){return le[h]}ue.push(h);while(ue.length>ae){delete le[ue.shift()]}let m=`AWS4${t.secretAccessKey}`;for(const t of[n,i,a,ce]){m=await hmac(e,m,t)}return le[h]=m};const clearCredentialCache=()=>{ue.length=0;Object.keys(le).forEach(e=>{delete le[e]})};const hmac=(e,t,n)=>{const i=new e(t);i.update(o.toUint8Array(n));return i.digest()};const getCanonicalHeaders=({headers:e},t,n)=>{const o={};for(const i of Object.keys(e).sort()){if(e[i]==undefined){continue}const a=i.toLowerCase();if(a in Z||t?.has(a)||ee.test(a)||te.test(a)){if(!n||n&&!n.has(a)){continue}}o[a]=e[i].trim().replace(/\s+/g," ")}return o};const getPayloadHash=async({headers:e,body:t},n)=>{for(const t of Object.keys(e)){if(t.toLowerCase()===j){return e[t]}}if(t==undefined){return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}else if(typeof t==="string"||ArrayBuffer.isView(t)||o.isArrayBuffer(t)){const e=new n;e.update(o.toUint8Array(t));return o.toHex(await e.digest())}return ie};const hasHeader=(e,t)=>{e=e.toLowerCase();for(const n of Object.keys(t)){if(e===n.toLowerCase()){return true}}return false};const moveHeadersToQuery=(e,t={})=>{const{headers:n,query:o={}}=a.HttpRequest.clone(e);for(const e of Object.keys(n)){const i=e.toLowerCase();if(i.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(i)||t.hoistableHeaders?.has(i)){o[e]=n[e];delete n[e]}}return{...e,headers:n,query:o}};const prepareRequest=e=>{e=a.HttpRequest.clone(e);for(const t of Object.keys(e.headers)){if(Y.indexOf(t.toLowerCase())>-1){delete e.headers[t]}}return e};class SignatureV4 extends SignatureV4Base{headerFormatter=new HeaderFormatter;constructor({applyChecksum:e,credentials:t,region:n,service:o,sha256:i,uriEscapePath:a=true}){super({applyChecksum:e,credentials:t,region:n,service:o,sha256:i,uriEscapePath:a})}async presign(e,t={}){const{signingDate:n=new Date,expiresIn:o=3600,unsignableHeaders:i,unhoistableHeaders:a,signableHeaders:d,hoistableHeaders:h,signingRegion:H,signingService:V}=t;const _=await this.credentialProvider();this.validateResolvedCredentials(_);const W=H??await this.regionProvider();const{longDate:Y,shortDate:J}=this.formatDate(n);if(o>Ae){return Promise.reject("Signature version 4 presigned URLs"+" must have an expiration date less than one week in"+" the future")}const j=createScope(J,W,V??this.service);const K=moveHeadersToQuery(prepareRequest(e),{unhoistableHeaders:a,hoistableHeaders:h});if(_.sessionToken){K.query[U]=_.sessionToken}K.query[m]=se;K.query[f]=`${_.accessKeyId}/${j}`;K.query[Q]=Y;K.query[P]=o.toString(10);const X=getCanonicalHeaders(K,i,d);K.query[k]=this.getCanonicalHeaderList(X);K.query[L]=await this.getSignature(Y,j,this.getSigningKey(_,W,J,V),this.createCanonicalRequest(K,X,await getPayloadHash(e,this.sha256)));return K}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:n=new Date,priorSignature:i,signingRegion:a,signingService:d,eventStreamCredentials:h}){const m=a??await this.regionProvider();const{shortDate:f,longDate:Q}=this.formatDate(n);const k=createScope(f,m,d??this.service);const P=await getPayloadHash({headers:{},body:t},this.sha256);const L=new this.sha256;L.update(e);const U=o.toHex(await L.digest());const H=[re,Q,k,i,U,P].join("\n");return this.signString(H,{signingDate:n,signingRegion:m,signingService:d,eventStreamCredentials:h})}async signMessage(e,{signingDate:t=new Date,signingRegion:n,signingService:o,eventStreamCredentials:i}){const a=this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:n,signingService:o,priorSignature:e.priorSignature,eventStreamCredentials:i});return a.then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:n,signingService:i,eventStreamCredentials:a}={}){const d=a??await this.credentialProvider();this.validateResolvedCredentials(d);const h=n??await this.regionProvider();const{shortDate:m}=this.formatDate(t);const f=new this.sha256(await this.getSigningKey(d,h,m,i));f.update(o.toUint8Array(e));return o.toHex(await f.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:n,unsignableHeaders:o,signingRegion:i,signingService:a}={}){const d=await this.credentialProvider();this.validateResolvedCredentials(d);const h=i??await this.regionProvider();const m=prepareRequest(e);const{longDate:f,shortDate:Q}=this.formatDate(t);const k=createScope(Q,h,a??this.service);m.headers[_]=f;if(d.sessionToken){m.headers[K]=d.sessionToken}const P=await getPayloadHash(m,this.sha256);if(!hasHeader(j,m.headers)&&this.applyChecksum){m.headers[j]=P}const L=getCanonicalHeaders(m,o,n);const U=await this.getSignature(f,k,this.getSigningKey(d,h,Q,a),this.createCanonicalRequest(m,L,P));m.headers[V]=`${se} `+`Credential=${d.accessKeyId}/${k}, `+`SignedHeaders=${this.getCanonicalHeaderList(L)}, `+`Signature=${U}`;return m}async getSignature(e,t,n,i){const a=await this.createStringToSign(e,t,i,se);const d=new this.sha256(await n);d.update(o.toUint8Array(a));return o.toHex(await d.digest())}getSigningKey(e,t,n,o){return getSigningKey(this.sha256,e,n,t,o||this.service)}}const de={SignatureV4a:null};t.ALGORITHM_IDENTIFIER=se;t.ALGORITHM_IDENTIFIER_V4A=oe;t.ALGORITHM_QUERY_PARAM=m;t.ALWAYS_UNSIGNABLE_HEADERS=Z;t.AMZ_DATE_HEADER=_;t.AMZ_DATE_QUERY_PARAM=Q;t.AUTH_HEADER=V;t.CREDENTIAL_QUERY_PARAM=f;t.DATE_HEADER=W;t.EVENT_ALGORITHM_IDENTIFIER=re;t.EXPIRES_QUERY_PARAM=P;t.GENERATED_HEADERS=Y;t.HOST_HEADER=X;t.KEY_TYPE_IDENTIFIER=ce;t.MAX_CACHE_SIZE=ae;t.MAX_PRESIGNED_TTL=Ae;t.PROXY_HEADER_PATTERN=ee;t.REGION_SET_PARAM=H;t.SEC_HEADER_PATTERN=te;t.SHA256_HEADER=j;t.SIGNATURE_HEADER=J;t.SIGNATURE_QUERY_PARAM=L;t.SIGNED_HEADERS_QUERY_PARAM=k;t.SignatureV4=SignatureV4;t.SignatureV4Base=SignatureV4Base;t.TOKEN_HEADER=K;t.TOKEN_QUERY_PARAM=U;t.UNSIGNABLE_PATTERNS=ne;t.UNSIGNED_PAYLOAD=ie;t.clearCredentialCache=clearCredentialCache;t.createScope=createScope;t.getCanonicalHeaders=getCanonicalHeaders;t.getCanonicalQuery=getCanonicalQuery;t.getPayloadHash=getPayloadHash;t.getSigningKey=getSigningKey;t.hasHeader=hasHeader;t.moveHeadersToQuery=moveHeadersToQuery;t.prepareRequest=prepareRequest;t.signatureV4aContainer=de},690:(e,t)=>{"use strict";t.HttpAuthLocation=void 0;(function(e){e["HEADER"]="header";e["QUERY"]="query"})(t.HttpAuthLocation||(t.HttpAuthLocation={}));t.HttpApiKeyAuthLocation=void 0;(function(e){e["HEADER"]="header";e["QUERY"]="query"})(t.HttpApiKeyAuthLocation||(t.HttpApiKeyAuthLocation={}));t.EndpointURLScheme=void 0;(function(e){e["HTTP"]="http";e["HTTPS"]="https"})(t.EndpointURLScheme||(t.EndpointURLScheme={}));t.AlgorithmId=void 0;(function(e){e["MD5"]="md5";e["CRC32"]="crc32";e["CRC32C"]="crc32c";e["SHA1"]="sha1";e["SHA256"]="sha256"})(t.AlgorithmId||(t.AlgorithmId={}));const getChecksumConfiguration=e=>{const n=[];if(e.sha256!==undefined){n.push({algorithmId:()=>t.AlgorithmId.SHA256,checksumConstructor:()=>e.sha256})}if(e.md5!=undefined){n.push({algorithmId:()=>t.AlgorithmId.MD5,checksumConstructor:()=>e.md5})}return{addChecksumAlgorithm(e){n.push(e)},checksumAlgorithms(){return n}}};const resolveChecksumRuntimeConfig=e=>{const t={};e.checksumAlgorithms().forEach(e=>{t[e.algorithmId()]=e.checksumConstructor()});return t};const getDefaultClientConfiguration=e=>getChecksumConfiguration(e);const resolveDefaultRuntimeConfig=e=>resolveChecksumRuntimeConfig(e);t.FieldPosition=void 0;(function(e){e[e["HEADER"]=0]="HEADER";e[e["TRAILER"]=1]="TRAILER"})(t.FieldPosition||(t.FieldPosition={}));const n="__smithy_context";t.IniSectionType=void 0;(function(e){e["PROFILE"]="profile";e["SSO_SESSION"]="sso-session";e["SERVICES"]="services"})(t.IniSectionType||(t.IniSectionType={}));t.RequestHandlerProtocol=void 0;(function(e){e["HTTP_0_9"]="http/0.9";e["HTTP_1_0"]="http/1.0";e["TDS_8_0"]="tds/8.0"})(t.RequestHandlerProtocol||(t.RequestHandlerProtocol={}));t.SMITHY_CONTEXT_KEY=n;t.getDefaultClientConfiguration=getDefaultClientConfiguration;t.resolveDefaultRuntimeConfig=resolveDefaultRuntimeConfig},1860:e=>{var t;var n;var o;var i;var a;var d;var h;var m;var f;var Q;var k;var P;var L;var U;var H;var V;var _;var W;var Y;var J;var j;var K;var X;var Z;var ee;var te;var ne;var se;var oe;var re;var ie;var ae;(function(t){var n=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],function(e){t(createExporter(n,createExporter(e)))})}else if(true&&typeof e.exports==="object"){t(createExporter(n,createExporter(e.exports)))}else{t(createExporter(n))}function createExporter(e,t){if(e!==n){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(n,o){return e[n]=t?t(n,o):o}}})(function(e){var ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ce(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=0;h--)if(d=e[h])a=(i<3?d(a):i>3?d(t,n,a):d(t,n))||a;return i>3&&a&&Object.defineProperty(t,n,a),a};a=function(e,t){return function(n,o){t(n,o,e)}};d=function(e,t,n,o,i,a){function accept(e){if(e!==void 0&&typeof e!=="function")throw new TypeError("Function expected");return e}var d=o.kind,h=d==="getter"?"get":d==="setter"?"set":"value";var m=!t&&e?o["static"]?e:e.prototype:null;var f=t||(m?Object.getOwnPropertyDescriptor(m,o.name):{});var Q,k=false;for(var P=n.length-1;P>=0;P--){var L={};for(var U in o)L[U]=U==="access"?{}:o[U];for(var U in o.access)L.access[U]=o.access[U];L.addInitializer=function(e){if(k)throw new TypeError("Cannot add initializers after decoration has completed");a.push(accept(e||null))};var H=(0,n[P])(d==="accessor"?{get:f.get,set:f.set}:f[h],L);if(d==="accessor"){if(H===void 0)continue;if(H===null||typeof H!=="object")throw new TypeError("Object expected");if(Q=accept(H.get))f.get=Q;if(Q=accept(H.set))f.set=Q;if(Q=accept(H.init))i.unshift(Q)}else if(Q=accept(H)){if(d==="field")i.unshift(Q);else f[h]=Q}}if(m)Object.defineProperty(m,o.name,f);k=true};h=function(e,t,n){var o=arguments.length>2;for(var i=0;i0&&a[a.length-1])&&(h[0]===6||h[0]===2)){n=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]=e.length)e=void 0;return{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};H=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],d;try{while((t===void 0||t-- >0)&&!(i=o.next()).done)a.push(i.value)}catch(e){d={error:e}}finally{try{if(i&&!i.done&&(n=o["return"]))n.call(o)}finally{if(d)throw d.error}}return a};V=function(){for(var e=[],t=0;t1||resume(e,t)})};if(t)i[e]=t(i[e])}}function resume(e,t){try{step(o[e](t))}catch(e){settle(a[0][3],e)}}function step(e){e.value instanceof Y?Promise.resolve(e.value.v).then(fulfill,reject):settle(a[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),a.shift(),a.length)resume(a[0][0],a[0][1])}};j=function(e){var t,n;return t={},verb("next"),verb("throw",function(e){throw e}),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(o,i){t[o]=e[o]?function(t){return(n=!n)?{value:Y(e[o](t)),done:false}:i?i(t):t}:i}};K=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof U==="function"?U(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise(function(o,i){n=e[t](n),settle(o,i,n.done,n.value)})}}function settle(e,t,n,o){Promise.resolve(o).then(function(t){e({value:t,done:n})},t)}};X=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var Ae=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t};var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};Z=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),o=0;o{n(218)},218:(e,t,n)=>{"use strict";var o;var i=n(9278);var a=n(4756);var d=n(8611);var h=n(5692);var m=n(4434);var f=n(2613);var Q=n(9023);o=httpOverHttp;o=httpsOverHttp;o=httpOverHttps;o=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=d.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=d.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=h.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=h.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||d.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",function onFree(e,n,o,i){var a=toOptions(n,o,i);for(var d=0,h=t.requests.length;d=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){i.emit("free",t,a)}function onCloseOrRemove(e){i.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var n=this;var o={};n.sockets.push(o);var i=mergeOptions({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){i.localAddress=e.localAddress}if(i.proxyAuth){i.headers=i.headers||{};i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")}k("making CONNECT request");var a=n.request(i);a.useChunkedEncodingByDefault=false;a.once("response",onResponse);a.once("upgrade",onUpgrade);a.once("connect",onConnect);a.once("error",onError);a.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,n){process.nextTick(function(){onConnect(e,t,n)})}function onConnect(i,d,h){a.removeAllListeners();d.removeAllListeners();if(i.statusCode!==200){k("tunneling socket could not be established, statusCode=%d",i.statusCode);d.destroy();var m=new Error("tunneling socket could not be established, "+"statusCode="+i.statusCode);m.code="ECONNRESET";e.request.emit("error",m);n.removeSocket(o);return}if(h.length>0){k("got illegal response body from proxy");d.destroy();var m=new Error("got illegal response body from proxy");m.code="ECONNRESET";e.request.emit("error",m);n.removeSocket(o);return}k("tunneling connection has established");n.sockets[n.sockets.indexOf(o)]=d;return t(d)}function onError(t){a.removeAllListeners();k("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var i=new Error("tunneling socket could not be established, "+"cause="+t.message);i.code="ECONNRESET";e.request.emit("error",i);n.removeSocket(o)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var n=this.requests.shift();if(n){this.createSocket(n,function(e){n.request.onSocket(e)})}};function createSecureSocket(e,t){var n=this;TunnelingAgent.prototype.createSocket.call(n,e,function(o){var i=e.request.getHeader("host");var d=mergeOptions({},n.options,{socket:o,servername:i?i.replace(/:.*$/,""):e.host});var h=a.connect(0,d);n.sockets[n.sockets.indexOf(o)]=h;t(h)})}function toOptions(e,t,n){if(typeof e==="string"){return{host:e,port:t,localAddress:n}}return e}function mergeOptions(e){for(var t=1,n=arguments.length;t{"use strict";var o;const i=n(3701);const a=n(883);const d=n(628);const h=n(837);const m=n(7405);const f=n(6672);const Q=n(3137);const k=n(50);const P=n(8707);const L=n(3440);const{InvalidArgumentError:U}=P;const H=n(6615);const V=n(9136);const _=n(7365);const W=n(7501);const Y=n(4004);const J=n(2429);const j=n(7816);const{getGlobalDispatcher:K,setGlobalDispatcher:X}=n(2581);const Z=n(8155);const ee=n(8754);const te=n(5092);Object.assign(a.prototype,H);o=a;o=i;o=d;o=h;o=m;o=f;o=Q;o=k;o=j;o=Z;o=ee;o=te;o={redirect:n(1514),retry:n(2026),dump:n(8060),dns:n(379)};o=V;o=P;o={parseHeaders:L.parseHeaders,headerNameToString:L.headerNameToString};function makeDispatcher(e){return(t,n,o)=>{if(typeof n==="function"){o=n;n=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new U("invalid url")}if(n!=null&&typeof n!=="object"){throw new U("invalid opts")}if(n&&n.path!=null){if(typeof n.path!=="string"){throw new U("invalid opts.path")}let e=n.path;if(!n.path.startsWith("/")){e=`/${e}`}t=new URL(L.parseOrigin(t).origin+e)}else{if(!n){n=typeof t==="object"?t:{}}t=L.parseURL(t)}const{agent:i,dispatcher:a=K()}=n;if(i){throw new U("unsupported opts.agent. Did you mean opts.client?")}return e.call(a,{...n,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:n.method||(n.body?"PUT":"GET")},o)}}o=X;o=K;const ne=n(4398).fetch;o=async function fetch(e,t=undefined){try{return await ne(e,t)}catch(e){if(e&&typeof e==="object"){Error.captureStackTrace(e)}throw e}};n(660).Headers;n(9051).Response;n(9967).Request;n(5910).FormData;o=globalThis.File??n(4573).File;n(8355).FileReader;const{setGlobalOrigin:se,getGlobalOrigin:oe}=n(1059);o=se;o=oe;const{CacheStorage:re}=n(3245);const{kConstruct:ie}=n(109);o=new re(ie);const{deleteCookie:ae,getCookies:ce,getSetCookies:Ae,setCookie:le}=n(9061);o=ae;o=ce;o=Ae;o=le;const{parseMIMEType:ue,serializeAMimeType:de}=n(1900);o=ue;o=de;const{CloseEvent:ge,ErrorEvent:he,MessageEvent:me}=n(5188);n(3726).WebSocket;o=ge;o=he;o=me;o=makeDispatcher(H.request);o=makeDispatcher(H.stream);o=makeDispatcher(H.pipeline);o=makeDispatcher(H.connect);o=makeDispatcher(H.upgrade);o=_;o=Y;o=W;o=J;const{EventSource:pe}=n(1238);o=pe},158:(e,t,n)=>{const{addAbortListener:o}=n(3440);const{RequestAbortedError:i}=n(8707);const a=Symbol("kListener");const d=Symbol("kSignal");function abort(e){if(e.abort){e.abort(e[d]?.reason)}else{e.reason=e[d]?.reason??new i}removeSignal(e)}function addSignal(e,t){e.reason=null;e[d]=null;e[a]=null;if(!t){return}if(t.aborted){abort(e);return}e[d]=t;e[a]=()=>{abort(e)};o(e[d],e[a])}function removeSignal(e){if(!e[d]){return}if("removeEventListener"in e[d]){e[d].removeEventListener("abort",e[a])}else{e[d].removeListener("abort",e[a])}e[d]=null;e[a]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},2279:(e,t,n)=>{"use strict";const o=n(4589);const{AsyncResource:i}=n(6698);const{InvalidArgumentError:a,SocketError:d}=n(8707);const h=n(3440);const{addSignal:m,removeSignal:f}=n(158);class ConnectHandler extends i{constructor(e,t){if(!e||typeof e!=="object"){throw new a("invalid opts")}if(typeof t!=="function"){throw new a("invalid callback")}const{signal:n,opaque:o,responseHeaders:i}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new a("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=o||null;this.responseHeaders=i||null;this.callback=t;this.abort=null;m(this,n)}onConnect(e,t){if(this.reason){e(this.reason);return}o(this.callback);this.abort=e;this.context=t}onHeaders(){throw new d("bad connect",null)}onUpgrade(e,t,n){const{callback:o,opaque:i,context:a}=this;f(this);this.callback=null;let d=t;if(d!=null){d=this.responseHeaders==="raw"?h.parseRawHeaders(t):h.parseHeaders(t)}this.runInAsyncScope(o,null,null,{statusCode:e,headers:d,socket:n,opaque:i,context:a})}onError(e){const{callback:t,opaque:n}=this;f(this);if(t){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:n})})}}}function connect(e,t){if(t===undefined){return new Promise((t,n)=>{connect.call(this,e,(e,o)=>e?n(e):t(o))})}try{const n=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},n)}catch(n){if(typeof t!=="function"){throw n}const o=e?.opaque;queueMicrotask(()=>t(n,{opaque:o}))}}e.exports=connect},6862:(e,t,n)=>{"use strict";const{Readable:o,Duplex:i,PassThrough:a}=n(7075);const{InvalidArgumentError:d,InvalidReturnValueError:h,RequestAbortedError:m}=n(8707);const f=n(3440);const{AsyncResource:Q}=n(6698);const{addSignal:k,removeSignal:P}=n(158);const L=n(4589);const U=Symbol("resume");class PipelineRequest extends o{constructor(){super({autoDestroy:true});this[U]=null}_read(){const{[U]:e}=this;if(e){this[U]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends o{constructor(e){super({autoDestroy:true});this[U]=e}_read(){this[U]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new m}t(e)}}class PipelineHandler extends Q{constructor(e,t){if(!e||typeof e!=="object"){throw new d("invalid opts")}if(typeof t!=="function"){throw new d("invalid handler")}const{signal:n,method:o,opaque:a,onInfo:h,responseHeaders:Q}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new d("signal must be an EventEmitter or EventTarget")}if(o==="CONNECT"){throw new d("invalid method")}if(h&&typeof h!=="function"){throw new d("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=a||null;this.responseHeaders=Q||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=h||null;this.req=(new PipelineRequest).on("error",f.nop);this.ret=new i({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e?.resume){e.resume()}},write:(e,t,n)=>{const{req:o}=this;if(o.push(e,t)||o._readableState.destroyed){n()}else{o[U]=n}},destroy:(e,t)=>{const{body:n,req:o,res:i,ret:a,abort:d}=this;if(!e&&!a._readableState.endEmitted){e=new m}if(d&&e){d()}f.destroy(n,e);f.destroy(o,e);f.destroy(i,e);P(this);t(e)}}).on("prefinish",()=>{const{req:e}=this;e.push(null)});this.res=null;k(this,n)}onConnect(e,t){const{ret:n,res:o}=this;if(this.reason){e(this.reason);return}L(!o,"pipeline cannot be retried");L(!n.destroyed);this.abort=e;this.context=t}onHeaders(e,t,n){const{opaque:o,handler:i,context:a}=this;if(e<200){if(this.onInfo){const n=this.responseHeaders==="raw"?f.parseRawHeaders(t):f.parseHeaders(t);this.onInfo({statusCode:e,headers:n})}return}this.res=new PipelineResponse(n);let d;try{this.handler=null;const n=this.responseHeaders==="raw"?f.parseRawHeaders(t):f.parseHeaders(t);d=this.runInAsyncScope(i,null,{statusCode:e,headers:n,opaque:o,body:this.res,context:a})}catch(e){this.res.on("error",f.nop);throw e}if(!d||typeof d.on!=="function"){throw new h("expected Readable")}d.on("data",e=>{const{ret:t,body:n}=this;if(!t.push(e)&&n.pause){n.pause()}}).on("error",e=>{const{ret:t}=this;f.destroy(t,e)}).on("end",()=>{const{ret:e}=this;e.push(null)}).on("close",()=>{const{ret:e}=this;if(!e._readableState.ended){f.destroy(e,new m)}});this.body=d}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;f.destroy(t,e)}}function pipeline(e,t){try{const n=new PipelineHandler(e,t);this.dispatch({...e,body:n.req},n);return n.ret}catch(e){return(new a).destroy(e)}}e.exports=pipeline},4043:(e,t,n)=>{"use strict";const o=n(4589);const{Readable:i}=n(9927);const{InvalidArgumentError:a,RequestAbortedError:d}=n(8707);const h=n(3440);const{getResolveErrorBodyCallback:m}=n(7655);const{AsyncResource:f}=n(6698);class RequestHandler extends f{constructor(e,t){if(!e||typeof e!=="object"){throw new a("invalid opts")}const{signal:n,method:o,opaque:i,body:m,onInfo:f,responseHeaders:Q,throwOnError:k,highWaterMark:P}=e;try{if(typeof t!=="function"){throw new a("invalid callback")}if(P&&(typeof P!=="number"||P<0)){throw new a("invalid highWaterMark")}if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new a("signal must be an EventEmitter or EventTarget")}if(o==="CONNECT"){throw new a("invalid method")}if(f&&typeof f!=="function"){throw new a("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(h.isStream(m)){h.destroy(m.on("error",h.nop),e)}throw e}this.method=o;this.responseHeaders=Q||null;this.opaque=i||null;this.callback=t;this.res=null;this.abort=null;this.body=m;this.trailers={};this.context=null;this.onInfo=f||null;this.throwOnError=k;this.highWaterMark=P;this.signal=n;this.reason=null;this.removeAbortListener=null;if(h.isStream(m)){m.on("error",e=>{this.onError(e)})}if(this.signal){if(this.signal.aborted){this.reason=this.signal.reason??new d}else{this.removeAbortListener=h.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new d;if(this.res){h.destroy(this.res.on("error",h.nop),this.reason)}else if(this.abort){this.abort(this.reason)}if(this.removeAbortListener){this.res?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}})}}}onConnect(e,t){if(this.reason){e(this.reason);return}o(this.callback);this.abort=e;this.context=t}onHeaders(e,t,n,o){const{callback:a,opaque:d,abort:f,context:Q,responseHeaders:k,highWaterMark:P}=this;const L=k==="raw"?h.parseRawHeaders(t):h.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:L})}return}const U=k==="raw"?h.parseHeaders(t):L;const H=U["content-type"];const V=U["content-length"];const _=new i({resume:n,abort:f,contentType:H,contentLength:this.method!=="HEAD"&&V?Number(V):null,highWaterMark:P});if(this.removeAbortListener){_.on("close",this.removeAbortListener)}this.callback=null;this.res=_;if(a!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(m,null,{callback:a,body:_,contentType:H,statusCode:e,statusMessage:o,headers:L})}else{this.runInAsyncScope(a,null,null,{statusCode:e,headers:L,trailers:this.trailers,opaque:d,body:_,context:Q})}}}onData(e){return this.res.push(e)}onComplete(e){h.parseHeaders(e,this.trailers);this.res.push(null)}onError(e){const{res:t,callback:n,body:o,opaque:i}=this;if(n){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})}if(t){this.res=null;queueMicrotask(()=>{h.destroy(t,e)})}if(o){this.body=null;h.destroy(o,e)}if(this.removeAbortListener){t?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}}function request(e,t){if(t===undefined){return new Promise((t,n)=>{request.call(this,e,(e,o)=>e?n(e):t(o))})}try{this.dispatch(e,new RequestHandler(e,t))}catch(n){if(typeof t!=="function"){throw n}const o=e?.opaque;queueMicrotask(()=>t(n,{opaque:o}))}}e.exports=request;e.exports.RequestHandler=RequestHandler},3560:(e,t,n)=>{"use strict";const o=n(4589);const{finished:i,PassThrough:a}=n(7075);const{InvalidArgumentError:d,InvalidReturnValueError:h}=n(8707);const m=n(3440);const{getResolveErrorBodyCallback:f}=n(7655);const{AsyncResource:Q}=n(6698);const{addSignal:k,removeSignal:P}=n(158);class StreamHandler extends Q{constructor(e,t,n){if(!e||typeof e!=="object"){throw new d("invalid opts")}const{signal:o,method:i,opaque:a,body:h,onInfo:f,responseHeaders:Q,throwOnError:P}=e;try{if(typeof n!=="function"){throw new d("invalid callback")}if(typeof t!=="function"){throw new d("invalid factory")}if(o&&typeof o.on!=="function"&&typeof o.addEventListener!=="function"){throw new d("signal must be an EventEmitter or EventTarget")}if(i==="CONNECT"){throw new d("invalid method")}if(f&&typeof f!=="function"){throw new d("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(m.isStream(h)){m.destroy(h.on("error",m.nop),e)}throw e}this.responseHeaders=Q||null;this.opaque=a||null;this.factory=t;this.callback=n;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=h;this.onInfo=f||null;this.throwOnError=P||false;if(m.isStream(h)){h.on("error",e=>{this.onError(e)})}k(this,o)}onConnect(e,t){if(this.reason){e(this.reason);return}o(this.callback);this.abort=e;this.context=t}onHeaders(e,t,n,o){const{factory:d,opaque:Q,context:k,callback:P,responseHeaders:L}=this;const U=L==="raw"?m.parseRawHeaders(t):m.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:U})}return}this.factory=null;let H;if(this.throwOnError&&e>=400){const n=L==="raw"?m.parseHeaders(t):U;const i=n["content-type"];H=new a;this.callback=null;this.runInAsyncScope(f,null,{callback:P,body:H,contentType:i,statusCode:e,statusMessage:o,headers:U})}else{if(d===null){return}H=this.runInAsyncScope(d,null,{statusCode:e,headers:U,opaque:Q,context:k});if(!H||typeof H.write!=="function"||typeof H.end!=="function"||typeof H.on!=="function"){throw new h("expected Writable")}i(H,{readable:false},e=>{const{callback:t,res:n,opaque:o,trailers:i,abort:a}=this;this.res=null;if(e||!n.readable){m.destroy(n,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:o,trailers:i});if(e){a()}})}H.on("drain",n);this.res=H;const V=H.writableNeedDrain!==undefined?H.writableNeedDrain:H._writableState?.needDrain;return V!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;P(this);if(!t){return}this.trailers=m.parseHeaders(e);t.end()}onError(e){const{res:t,callback:n,opaque:o,body:i}=this;P(this);this.factory=null;if(t){this.res=null;m.destroy(t,e)}else if(n){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:o})})}if(i){this.body=null;m.destroy(i,e)}}}function stream(e,t,n){if(n===undefined){return new Promise((n,o)=>{stream.call(this,e,t,(e,t)=>e?o(e):n(t))})}try{this.dispatch(e,new StreamHandler(e,t,n))}catch(t){if(typeof n!=="function"){throw t}const o=e?.opaque;queueMicrotask(()=>n(t,{opaque:o}))}}e.exports=stream},1882:(e,t,n)=>{"use strict";const{InvalidArgumentError:o,SocketError:i}=n(8707);const{AsyncResource:a}=n(6698);const d=n(3440);const{addSignal:h,removeSignal:m}=n(158);const f=n(4589);class UpgradeHandler extends a{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid callback")}const{signal:n,opaque:i,responseHeaders:a}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=a||null;this.opaque=i||null;this.callback=t;this.abort=null;this.context=null;h(this,n)}onConnect(e,t){if(this.reason){e(this.reason);return}f(this.callback);this.abort=e;this.context=null}onHeaders(){throw new i("bad upgrade",null)}onUpgrade(e,t,n){f(e===101);const{callback:o,opaque:i,context:a}=this;m(this);this.callback=null;const h=this.responseHeaders==="raw"?d.parseRawHeaders(t):d.parseHeaders(t);this.runInAsyncScope(o,null,null,{headers:h,socket:n,opaque:i,context:a})}onError(e){const{callback:t,opaque:n}=this;m(this);if(t){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:n})})}}}function upgrade(e,t){if(t===undefined){return new Promise((t,n)=>{upgrade.call(this,e,(e,o)=>e?n(e):t(o))})}try{const n=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},n)}catch(n){if(typeof t!=="function"){throw n}const o=e?.opaque;queueMicrotask(()=>t(n,{opaque:o}))}}e.exports=upgrade},6615:(e,t,n)=>{"use strict";e.exports.request=n(4043);e.exports.stream=n(3560);e.exports.pipeline=n(6862);e.exports.upgrade=n(1882);e.exports.connect=n(2279)},9927:(e,t,n)=>{"use strict";const o=n(4589);const{Readable:i}=n(7075);const{RequestAbortedError:a,NotSupportedError:d,InvalidArgumentError:h,AbortError:m}=n(8707);const f=n(3440);const{ReadableStreamFrom:Q}=n(3440);const k=Symbol("kConsume");const P=Symbol("kReading");const L=Symbol("kBody");const U=Symbol("kAbort");const H=Symbol("kContentType");const V=Symbol("kContentLength");const noop=()=>{};class BodyReadable extends i{constructor({resume:e,abort:t,contentType:n="",contentLength:o,highWaterMark:i=64*1024}){super({autoDestroy:true,read:e,highWaterMark:i});this._readableState.dataEmitted=false;this[U]=t;this[k]=null;this[L]=null;this[H]=n;this[V]=o;this[P]=false}destroy(e){if(!e&&!this._readableState.endEmitted){e=new a}if(e){this[U]()}return super.destroy(e)}_destroy(e,t){if(!this[P]){setImmediate(()=>{t(e)})}else{t(e)}}on(e,...t){if(e==="data"||e==="readable"){this[P]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const n=super.off(e,...t);if(e==="data"||e==="readable"){this[P]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return n}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[k]&&e!==null){consumePush(this[k],e);return this[P]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async bytes(){return consume(this,"bytes")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new d}get bodyUsed(){return f.isDisturbed(this)}get body(){if(!this[L]){this[L]=Q(this);if(this[k]){this[L].getReader();o(this[L].locked)}}return this[L]}async dump(e){let t=Number.isFinite(e?.limit)?e.limit:128*1024;const n=e?.signal;if(n!=null&&(typeof n!=="object"||!("aborted"in n))){throw new h("signal must be an AbortSignal")}n?.throwIfAborted();if(this._readableState.closeEmitted){return null}return await new Promise((e,o)=>{if(this[V]>t){this.destroy(new m)}const onAbort=()=>{this.destroy(n.reason??new m)};n?.addEventListener("abort",onAbort);this.on("close",function(){n?.removeEventListener("abort",onAbort);if(n?.aborted){o(n.reason??new m)}else{e(null)}}).on("error",noop).on("data",function(e){t-=e.length;if(t<=0){this.destroy()}}).resume()})}}function isLocked(e){return e[L]&&e[L].locked===true||e[k]}function isUnusable(e){return f.isDisturbed(e)||isLocked(e)}async function consume(e,t){o(!e[k]);return new Promise((n,o)=>{if(isUnusable(e)){const t=e._readableState;if(t.destroyed&&t.closeEmitted===false){e.on("error",e=>{o(e)}).on("close",()=>{o(new TypeError("unusable"))})}else{o(t.errored??new TypeError("unusable"))}}else{queueMicrotask(()=>{e[k]={type:t,stream:e,resolve:n,reject:o,length:0,body:[]};e.on("error",function(e){consumeFinish(this[k],e)}).on("close",function(){if(this[k].body!==null){consumeFinish(this[k],new a)}});consumeStart(e[k])})}})}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;if(t.bufferIndex){const n=t.bufferIndex;const o=t.buffer.length;for(let i=n;i2&&n[0]===239&&n[1]===187&&n[2]===191?3:0;return n.utf8Slice(i,o)}function chunksConcat(e,t){if(e.length===0||t===0){return new Uint8Array(0)}if(e.length===1){return new Uint8Array(e[0])}const n=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer);let o=0;for(let t=0;t{const o=n(4589);const{ResponseStatusCodeError:i}=n(8707);const{chunksDecode:a}=n(9927);const d=128*1024;async function getResolveErrorBodyCallback({callback:e,body:t,contentType:n,statusCode:h,statusMessage:m,headers:f}){o(t);let Q=[];let k=0;try{for await(const e of t){Q.push(e);k+=e.length;if(k>d){Q=[];k=0;break}}}catch{Q=[];k=0}const P=`Response status code ${h}${m?`: ${m}`:""}`;if(h===204||!n||!k){queueMicrotask(()=>e(new i(P,h,f)));return}const L=Error.stackTraceLimit;Error.stackTraceLimit=0;let U;try{if(isContentTypeApplicationJson(n)){U=JSON.parse(a(Q,k))}else if(isContentTypeText(n)){U=a(Q,k)}}catch{}finally{Error.stackTraceLimit=L}queueMicrotask(()=>e(new i(P,h,f,U)))}const isContentTypeApplicationJson=e=>e.length>15&&e[11]==="/"&&e[0]==="a"&&e[1]==="p"&&e[2]==="p"&&e[3]==="l"&&e[4]==="i"&&e[5]==="c"&&e[6]==="a"&&e[7]==="t"&&e[8]==="i"&&e[9]==="o"&&e[10]==="n"&&e[12]==="j"&&e[13]==="s"&&e[14]==="o"&&e[15]==="n";const isContentTypeText=e=>e.length>4&&e[4]==="/"&&e[0]==="t"&&e[1]==="e"&&e[2]==="x"&&e[3]==="t";e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback,isContentTypeApplicationJson:isContentTypeApplicationJson,isContentTypeText:isContentTypeText}},9136:(e,t,n)=>{"use strict";const o=n(7030);const i=n(4589);const a=n(3440);const{InvalidArgumentError:d,ConnectTimeoutError:h}=n(8707);const m=n(6603);function noop(){}let f;let Q;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)){Q=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry(e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:h,timeout:m,session:P,...L}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new d("maxCachedSessions must be a positive integer or zero")}const U={path:h,...L};const H=new Q(t==null?100:t);m=m==null?1e4:m;e=e!=null?e:false;return function connect({hostname:t,host:d,protocol:h,port:Q,servername:L,localAddress:V,httpSocket:_},W){let Y;if(h==="https:"){if(!f){f=n(1692)}L=L||U.servername||a.getServerName(d)||null;const o=L||t;i(o);const h=P||H.get(o)||null;Q=Q||443;Y=f.connect({highWaterMark:16384,...U,servername:L,session:h,localAddress:V,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:_,port:Q,host:t});Y.on("session",function(e){H.set(o,e)})}else{i(!_,"httpSocket can only be sent on TLS update");Q=Q||80;Y=o.connect({highWaterMark:64*1024,...U,localAddress:V,port:Q,host:t})}if(U.keepAlive==null||U.keepAlive){const e=U.keepAliveInitialDelay===undefined?6e4:U.keepAliveInitialDelay;Y.setKeepAlive(true,e)}const J=k(new WeakRef(Y),{timeout:m,hostname:t,port:Q});Y.setNoDelay(true).once(h==="https:"?"secureConnect":"connect",function(){queueMicrotask(J);if(W){const e=W;W=null;e(null,this)}}).on("error",function(e){queueMicrotask(J);if(W){const t=W;W=null;t(e)}});return Y}}const k=process.platform==="win32"?(e,t)=>{if(!t.timeout){return noop}let n=null;let o=null;const i=m.setFastTimeout(()=>{n=setImmediate(()=>{o=setImmediate(()=>onConnectTimeout(e.deref(),t))})},t.timeout);return()=>{m.clearFastTimeout(i);clearImmediate(n);clearImmediate(o)}}:(e,t)=>{if(!t.timeout){return noop}let n=null;const o=m.setFastTimeout(()=>{n=setImmediate(()=>{onConnectTimeout(e.deref(),t)})},t.timeout);return()=>{m.clearFastTimeout(o);clearImmediate(n)}};function onConnectTimeout(e,t){if(e==null){return}let n="Connect Timeout Error";if(Array.isArray(e.autoSelectFamilyAttemptedAddresses)){n+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`}else{n+=` (attempted address: ${t.hostname}:${t.port},`}n+=` timeout: ${t.timeout}ms)`;a.destroy(e,new h(n))}e.exports=buildConnector},735:e=>{"use strict";const t={};const n=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e{"use strict";const o=n(3053);const i=n(7975);const a=i.debuglog("undici");const d=i.debuglog("fetch");const h=i.debuglog("websocket");let m=false;const f={beforeConnect:o.channel("undici:client:beforeConnect"),connected:o.channel("undici:client:connected"),connectError:o.channel("undici:client:connectError"),sendHeaders:o.channel("undici:client:sendHeaders"),create:o.channel("undici:request:create"),bodySent:o.channel("undici:request:bodySent"),headers:o.channel("undici:request:headers"),trailers:o.channel("undici:request:trailers"),error:o.channel("undici:request:error"),open:o.channel("undici:websocket:open"),close:o.channel("undici:websocket:close"),socketError:o.channel("undici:websocket:socket_error"),ping:o.channel("undici:websocket:ping"),pong:o.channel("undici:websocket:pong")};if(a.enabled||d.enabled){const e=d.enabled?d:a;o.channel("undici:client:beforeConnect").subscribe(t=>{const{connectParams:{version:n,protocol:o,port:i,host:a}}=t;e("connecting to %s using %s%s",`${a}${i?`:${i}`:""}`,o,n)});o.channel("undici:client:connected").subscribe(t=>{const{connectParams:{version:n,protocol:o,port:i,host:a}}=t;e("connected to %s using %s%s",`${a}${i?`:${i}`:""}`,o,n)});o.channel("undici:client:connectError").subscribe(t=>{const{connectParams:{version:n,protocol:o,port:i,host:a},error:d}=t;e("connection to %s using %s%s errored - %s",`${a}${i?`:${i}`:""}`,o,n,d.message)});o.channel("undici:client:sendHeaders").subscribe(t=>{const{request:{method:n,path:o,origin:i}}=t;e("sending request to %s %s/%s",n,i,o)});o.channel("undici:request:headers").subscribe(t=>{const{request:{method:n,path:o,origin:i},response:{statusCode:a}}=t;e("received response to %s %s/%s - HTTP %d",n,i,o,a)});o.channel("undici:request:trailers").subscribe(t=>{const{request:{method:n,path:o,origin:i}}=t;e("trailers received from %s %s/%s",n,i,o)});o.channel("undici:request:error").subscribe(t=>{const{request:{method:n,path:o,origin:i},error:a}=t;e("request to %s %s/%s errored - %s",n,i,o,a.message)});m=true}if(h.enabled){if(!m){const e=a.enabled?a:h;o.channel("undici:client:beforeConnect").subscribe(t=>{const{connectParams:{version:n,protocol:o,port:i,host:a}}=t;e("connecting to %s%s using %s%s",a,i?`:${i}`:"",o,n)});o.channel("undici:client:connected").subscribe(t=>{const{connectParams:{version:n,protocol:o,port:i,host:a}}=t;e("connected to %s%s using %s%s",a,i?`:${i}`:"",o,n)});o.channel("undici:client:connectError").subscribe(t=>{const{connectParams:{version:n,protocol:o,port:i,host:a},error:d}=t;e("connection to %s%s using %s%s errored - %s",a,i?`:${i}`:"",o,n,d.message)});o.channel("undici:client:sendHeaders").subscribe(t=>{const{request:{method:n,path:o,origin:i}}=t;e("sending request to %s %s/%s",n,i,o)})}o.channel("undici:websocket:open").subscribe(e=>{const{address:{address:t,port:n}}=e;h("connection opened %s%s",t,n?`:${n}`:"")});o.channel("undici:websocket:close").subscribe(e=>{const{websocket:t,code:n,reason:o}=e;h("closed connection to %s - %s %s",t.url,n,o)});o.channel("undici:websocket:socket_error").subscribe(e=>{h("connection errored - %s",e.message)});o.channel("undici:websocket:ping").subscribe(e=>{h("ping received")});o.channel("undici:websocket:pong").subscribe(e=>{h("pong received")})}e.exports={channels:f}},8707:e=>{"use strict";const t=Symbol.for("undici.error.UND_ERR");class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[t]===true}[t]=true}const n=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class ConnectTimeoutError extends UndiciError{constructor(e){super(e);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[n]===true}[n]=true}const o=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class HeadersTimeoutError extends UndiciError{constructor(e){super(e);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[o]===true}[o]=true}const i=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class HeadersOverflowError extends UndiciError{constructor(e){super(e);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[i]===true}[i]=true}const a=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class BodyTimeoutError extends UndiciError{constructor(e){super(e);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[a]===true}[a]=true}const d=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class ResponseStatusCodeError extends UndiciError{constructor(e,t,n,o){super(e);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=o;this.status=t;this.statusCode=t;this.headers=n}static[Symbol.hasInstance](e){return e&&e[d]===true}[d]=true}const h=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class InvalidArgumentError extends UndiciError{constructor(e){super(e);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[h]===true}[h]=true}const m=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class InvalidReturnValueError extends UndiciError{constructor(e){super(e);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[m]===true}[m]=true}const f=Symbol.for("undici.error.UND_ERR_ABORT");class AbortError extends UndiciError{constructor(e){super(e);this.name="AbortError";this.message=e||"The operation was aborted";this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[f]===true}[f]=true}const Q=Symbol.for("undici.error.UND_ERR_ABORTED");class RequestAbortedError extends AbortError{constructor(e){super(e);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[Q]===true}[Q]=true}const k=Symbol.for("undici.error.UND_ERR_INFO");class InformationalError extends UndiciError{constructor(e){super(e);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[k]===true}[k]=true}const P=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[P]===true}[P]=true}const L=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[L]===true}[L]=true}const U=Symbol.for("undici.error.UND_ERR_DESTROYED");class ClientDestroyedError extends UndiciError{constructor(e){super(e);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[U]===true}[U]=true}const H=Symbol.for("undici.error.UND_ERR_CLOSED");class ClientClosedError extends UndiciError{constructor(e){super(e);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[H]===true}[H]=true}const V=Symbol.for("undici.error.UND_ERR_SOCKET");class SocketError extends UndiciError{constructor(e,t){super(e);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}static[Symbol.hasInstance](e){return e&&e[V]===true}[V]=true}const _=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class NotSupportedError extends UndiciError{constructor(e){super(e);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[_]===true}[_]=true}const W=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[W]===true}[W]=true}const Y=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class HTTPParserError extends Error{constructor(e,t,n){super(e);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=n?n.toString():undefined}static[Symbol.hasInstance](e){return e&&e[Y]===true}[Y]=true}const J=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[J]===true}[J]=true}const j=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class RequestRetryError extends UndiciError{constructor(e,t,{headers:n,data:o}){super(e);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=o;this.headers=n}static[Symbol.hasInstance](e){return e&&e[j]===true}[j]=true}const K=Symbol.for("undici.error.UND_ERR_RESPONSE");class ResponseError extends UndiciError{constructor(e,t,{headers:n,data:o}){super(e);this.name="ResponseError";this.message=e||"Response error";this.code="UND_ERR_RESPONSE";this.statusCode=t;this.data=o;this.headers=n}static[Symbol.hasInstance](e){return e&&e[K]===true}[K]=true}const X=Symbol.for("undici.error.UND_ERR_PRX_TLS");class SecureProxyConnectionError extends UndiciError{constructor(e,t,n){super(t,{cause:e,...n??{}});this.name="SecureProxyConnectionError";this.message=t||"Secure Proxy Connection failed";this.code="UND_ERR_PRX_TLS";this.cause=e}static[Symbol.hasInstance](e){return e&&e[X]===true}[X]=true}const Z=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class MessageSizeExceededError extends UndiciError{constructor(e){super(e);this.name="MessageSizeExceededError";this.message=e||"Max decompressed message size exceeded";this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[Z]===true}get[Z](){return true}}e.exports={AbortError:AbortError,HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError,ResponseError:ResponseError,SecureProxyConnectionError:SecureProxyConnectionError,MessageSizeExceededError:MessageSizeExceededError}},4655:(e,t,n)=>{"use strict";const{InvalidArgumentError:o,NotSupportedError:i}=n(8707);const a=n(4589);const{isValidHTTPToken:d,isValidHeaderValue:h,isStream:m,destroy:f,isBuffer:Q,isFormDataLike:k,isIterable:P,isBlobLike:L,buildURL:U,validateHandler:H,getServerName:V,normalizedMethodRecords:_}=n(3440);const{channels:W}=n(2414);const{headerNameLowerCasedRecord:Y}=n(735);const J=/[^\u0021-\u00ff]/;const j=Symbol("handler");class Request{constructor(e,{path:t,method:n,body:i,headers:a,query:Y,idempotent:K,blocking:X,upgrade:Z,headersTimeout:ee,bodyTimeout:te,reset:ne,throwOnError:se,expectContinue:oe,servername:re},ie){if(typeof t!=="string"){throw new o("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&n!=="CONNECT"){throw new o("path must be an absolute URL or start with a slash")}else if(J.test(t)){throw new o("invalid request path")}if(typeof n!=="string"){throw new o("method must be a string")}else if(_[n]===undefined&&!d(n)){throw new o("invalid request method")}if(Z&&typeof Z!=="string"){throw new o("upgrade must be a string")}if(Z&&!h(Z)){throw new o("invalid upgrade header")}if(ee!=null&&(!Number.isFinite(ee)||ee<0)){throw new o("invalid headersTimeout")}if(te!=null&&(!Number.isFinite(te)||te<0)){throw new o("invalid bodyTimeout")}if(ne!=null&&typeof ne!=="boolean"){throw new o("invalid reset")}if(oe!=null&&typeof oe!=="boolean"){throw new o("invalid expectContinue")}this.headersTimeout=ee;this.bodyTimeout=te;this.throwOnError=se===true;this.method=n;this.abort=null;if(i==null){this.body=null}else if(m(i)){this.body=i;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){f(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(Q(i)){this.body=i.byteLength?i:null}else if(ArrayBuffer.isView(i)){this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null}else if(i instanceof ArrayBuffer){this.body=i.byteLength?Buffer.from(i):null}else if(typeof i==="string"){this.body=i.length?Buffer.from(i):null}else if(k(i)||P(i)||L(i)){this.body=i}else{throw new o("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=Z||null;this.path=Y?U(t,Y):t;this.origin=e;this.idempotent=K==null?n==="HEAD"||n==="GET":K;this.blocking=X==null?false:X;this.reset=ne==null?null:ne;this.host=null;this.contentLength=null;this.contentType=null;this.headers=[];this.expectContinue=oe!=null?oe:false;if(Array.isArray(a)){if(a.length%2!==0){throw new o("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}},7752:(e,t,n)=>{"use strict";const{wellknownHeaderNames:o,headerNameLowerCasedRecord:i}=n(735);class TstNode{value=null;left=null;middle=null;right=null;code;constructor(e,t,n){if(n===undefined||n>=e.length){throw new TypeError("Unreachable")}const o=this.code=e.charCodeAt(n);if(o>127){throw new TypeError("key must be ascii string")}if(e.length!==++n){this.middle=new TstNode(e,t,n)}else{this.value=t}}add(e,t){const n=e.length;if(n===0){throw new TypeError("Unreachable")}let o=0;let i=this;while(true){const a=e.charCodeAt(o);if(a>127){throw new TypeError("key must be ascii string")}if(i.code===a){if(n===++o){i.value=t;break}else if(i.middle!==null){i=i.middle}else{i.middle=new TstNode(e,t,o);break}}else if(i.code=65){i|=32}while(o!==null){if(i===o.code){if(t===++n){return o}o=o.middle;break}o=o.code{"use strict";const o=n(4589);const{kDestroyed:i,kBodyUsed:a,kListeners:d,kBody:h}=n(6443);const{IncomingMessage:m}=n(7067);const f=n(7075);const Q=n(7030);const{Blob:k}=n(4573);const P=n(7975);const{stringify:L}=n(1792);const{EventEmitter:U}=n(8474);const{InvalidArgumentError:H}=n(8707);const{headerNameLowerCasedRecord:V}=n(735);const{tree:_}=n(7752);const[W,Y]=process.versions.node.split(".").map(e=>Number(e));class BodyAsyncIterable{constructor(e){this[h]=e;this[a]=false}async*[Symbol.asyncIterator](){o(!this[a],"disturbed");this[a]=true;yield*this[h]}}function wrapRequestBody(e){if(isStream(e)){if(bodyLength(e)===0){e.on("data",function(){o(false)})}if(typeof e.readableDidRead!=="boolean"){e[a]=false;U.prototype.on.call(e,"data",function(){this[a]=true})}return e}else if(e&&typeof e.pipeTo==="function"){return new BodyAsyncIterable(e)}else if(e&&typeof e!=="string"&&!ArrayBuffer.isView(e)&&isIterable(e)){return new BodyAsyncIterable(e)}else{return e}}function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){if(e===null){return false}else if(e instanceof k){return true}else if(typeof e!=="object"){return false}else{const t=e[Symbol.toStringTag];return(t==="Blob"||t==="File")&&("stream"in e&&typeof e.stream==="function"||"arrayBuffer"in e&&typeof e.arrayBuffer==="function")}}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const n=L(t);if(n){e+="?"+n}return e}function isValidPort(e){const t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function isHttpOrHttpsPrefixed(e){return e!=null&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&(e[4]===":"||e[4]==="s"&&e[5]===":")}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new H("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new H("Invalid URL: The URL argument must be a non-null object.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&isValidPort(e.port)===false){throw new H("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new H("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new H("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new H("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new H("Invalid URL origin: the origin must be a string or null/undefined.")}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new H("Invalid URL protocol: the URL must start with `http:` or `https:`.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let n=e.origin!=null?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`;let o=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(n[n.length-1]==="/"){n=n.slice(0,n.length-1)}if(o&&o[0]!=="/"){o=`/${o}`}return new URL(`${n}${o}`)}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new H("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new H("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");o(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}o(typeof e==="string");const t=getHostname(e);if(Q.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return e&&!!(e.destroyed||e[i]||f.isDestroyed?.(e))}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===m){e.socket=null}e.destroy(t)}else if(t){queueMicrotask(()=>{e.emit("error",t)})}if(e.destroyed!==true){e[i]=true}}const J=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(J);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return typeof e==="string"?V[e]??e.toLowerCase():_.lookup(e)??e.toString("latin1").toLowerCase()}function bufferToLowerCasedHeaderName(e){return _.lookup(e)??e.toString("latin1").toLowerCase()}function parseHeaders(e,t){if(t===undefined)t={};for(let n=0;ne.toString("utf8")):i.toString("utf8")}}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=e.length;const n=new Array(t);let o=false;let i=-1;let a;let d;let h=0;for(let t=0;t{e.close();e.byobRequest?.respond(0)})}else{const t=Buffer.isBuffer(o)?o:Buffer.from(o);if(t.byteLength){e.enqueue(new Uint8Array(t))}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const j=typeof String.prototype.toWellFormed==="function";const K=typeof String.prototype.isWellFormed==="function";function toUSVString(e){return j?`${e}`.toWellFormed():P.toUSVString(e)}function isUSVString(e){return K?`${e}`.isWellFormed():toUSVString(e)===`${e}`}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;t{"use strict";const{InvalidArgumentError:o}=n(8707);const{kClients:i,kRunning:a,kClose:d,kDestroy:h,kDispatch:m,kInterceptors:f}=n(6443);const Q=n(1841);const k=n(628);const P=n(3701);const L=n(3440);const U=n(5092);const H=Symbol("onConnect");const V=Symbol("onDisconnect");const _=Symbol("onConnectionError");const W=Symbol("maxRedirections");const Y=Symbol("onDrain");const J=Symbol("factory");const j=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new P(e,t):new k(e,t)}class Agent extends Q{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:n,...a}={}){if(typeof e!=="function"){throw new o("factory must be a function.")}if(n!=null&&typeof n!=="function"&&typeof n!=="object"){throw new o("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new o("maxRedirections must be a positive number")}super(a);if(n&&typeof n!=="function"){n={...n}}this[f]=a.interceptors?.Agent&&Array.isArray(a.interceptors.Agent)?a.interceptors.Agent:[U({maxRedirections:t})];this[j]={...L.deepClone(a),connect:n};this[j].interceptors=a.interceptors?{...a.interceptors}:undefined;this[W]=t;this[J]=e;this[i]=new Map;this[Y]=(e,t)=>{this.emit("drain",e,[this,...t])};this[H]=(e,t)=>{this.emit("connect",e,[this,...t])};this[V]=(e,t,n)=>{this.emit("disconnect",e,[this,...t],n)};this[_]=(e,t,n)=>{this.emit("connectionError",e,[this,...t],n)}}get[a](){let e=0;for(const t of this[i].values()){e+=t[a]}return e}[m](e,t){let n;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){n=String(e.origin)}else{throw new o("opts.origin must be a non-empty string or URL.")}let a=this[i].get(n);if(!a){a=this[J](e.origin,this[j]).on("drain",this[Y]).on("connect",this[H]).on("disconnect",this[V]).on("connectionError",this[_]);this[i].set(n,a)}return a.dispatch(e,t)}async[d](){const e=[];for(const t of this[i].values()){e.push(t.close())}this[i].clear();await Promise.all(e)}async[h](e){const t=[];for(const n of this[i].values()){t.push(n.destroy(e))}this[i].clear();await Promise.all(t)}}e.exports=Agent},837:(e,t,n)=>{"use strict";const{BalancedPoolMissingUpstreamError:o,InvalidArgumentError:i}=n(8707);const{PoolBase:a,kClients:d,kNeedDrain:h,kAddClient:m,kRemoveClient:f,kGetDispatcher:Q}=n(2128);const k=n(628);const{kUrl:P,kInterceptors:L}=n(6443);const{parseOrigin:U}=n(3440);const H=Symbol("factory");const V=Symbol("options");const _=Symbol("kGreatestCommonDivisor");const W=Symbol("kCurrentWeight");const Y=Symbol("kIndex");const J=Symbol("kWeight");const j=Symbol("kMaxWeightPerServer");const K=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(e===0)return t;while(t!==0){const n=t;t=e%t;e=n}return e}function defaultFactory(e,t){return new k(e,t)}class BalancedPool extends a{constructor(e=[],{factory:t=defaultFactory,...n}={}){super();this[V]=n;this[Y]=-1;this[W]=0;this[j]=this[V].maxWeightPerServer||100;this[K]=this[V].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new i("factory must be a function.")}this[L]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[];this[H]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=U(e).origin;if(this[d].find(e=>e[P].origin===t&&e.closed!==true&&e.destroyed!==true)){return this}const n=this[H](t,Object.assign({},this[V]));this[m](n);n.on("connect",()=>{n[J]=Math.min(this[j],n[J]+this[K])});n.on("connectionError",()=>{n[J]=Math.max(1,n[J]-this[K]);this._updateBalancedPoolStats()});n.on("disconnect",(...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){n[J]=Math.max(1,n[J]-this[K]);this._updateBalancedPoolStats()}});for(const e of this[d]){e[J]=this[j]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){let e=0;for(let t=0;te[P].origin===t&&e.closed!==true&&e.destroyed!==true);if(n){this[f](n)}return this}get upstreams(){return this[d].filter(e=>e.closed!==true&&e.destroyed!==true).map(e=>e[P].origin)}[Q](){if(this[d].length===0){throw new o}const e=this[d].find(e=>!e[h]&&e.closed!==true&&e.destroyed!==true);if(!e){return}const t=this[d].map(e=>e[h]).reduce((e,t)=>e&&t,true);if(t){return}let n=0;let i=this[d].findIndex(e=>!e[h]);while(n++this[d][i][J]&&!e[h]){i=this[Y]}if(this[Y]===0){this[W]=this[W]-this[_];if(this[W]<=0){this[W]=this[j]}}if(e[J]>=this[W]&&!e[h]){return e}}this[W]=this[d][i][J];this[Y]=i;return this[d][i]}}e.exports=BalancedPool},637:(e,t,n)=>{"use strict";const o=n(4589);const i=n(3440);const{channels:a}=n(2414);const d=n(6603);const{RequestContentLengthMismatchError:h,ResponseContentLengthMismatchError:m,RequestAbortedError:f,HeadersTimeoutError:Q,HeadersOverflowError:k,SocketError:P,InformationalError:L,BodyTimeoutError:U,HTTPParserError:H,ResponseExceededMaxSizeError:V}=n(8707);const{kUrl:_,kReset:W,kClient:Y,kParser:J,kBlocking:j,kRunning:K,kPending:X,kSize:Z,kWriting:ee,kQueue:te,kNoRef:ne,kKeepAliveDefaultTimeout:se,kHostHeader:oe,kPendingIdx:re,kRunningIdx:ie,kError:ae,kPipelining:ce,kSocket:Ae,kKeepAliveTimeoutValue:le,kMaxHeadersSize:ue,kKeepAliveMaxTimeout:de,kKeepAliveTimeoutThreshold:ge,kHeadersTimeout:he,kBodyTimeout:me,kStrictContentLength:pe,kMaxRequests:Ee,kCounter:fe,kMaxResponseSize:Ie,kOnError:Ce,kResume:Be,kHTTPContext:Qe}=n(6443);const ye=n(2824);const Se=Buffer.alloc(0);const Re=Buffer[Symbol.species];const we=i.addListener;const De=i.removeAllListeners;let be;async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?n(3870):undefined;let t;try{t=await WebAssembly.compile(n(3434))}catch(o){t=await WebAssembly.compile(e||n(3870))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,n)=>0,wasm_on_status:(e,t,n)=>{o(ve.ptr===e);const i=t-ke+Te.byteOffset;return ve.onStatus(new Re(Te.buffer,i,n))||0},wasm_on_message_begin:e=>{o(ve.ptr===e);return ve.onMessageBegin()||0},wasm_on_header_field:(e,t,n)=>{o(ve.ptr===e);const i=t-ke+Te.byteOffset;return ve.onHeaderField(new Re(Te.buffer,i,n))||0},wasm_on_header_value:(e,t,n)=>{o(ve.ptr===e);const i=t-ke+Te.byteOffset;return ve.onHeaderValue(new Re(Te.buffer,i,n))||0},wasm_on_headers_complete:(e,t,n,i)=>{o(ve.ptr===e);return ve.onHeadersComplete(t,Boolean(n),Boolean(i))||0},wasm_on_body:(e,t,n)=>{o(ve.ptr===e);const i=t-ke+Te.byteOffset;return ve.onBody(new Re(Te.buffer,i,n))||0},wasm_on_message_complete:e=>{o(ve.ptr===e);return ve.onMessageComplete()||0}}})}let xe=null;let Me=lazyllhttp();Me.catch();let ve=null;let Te=null;let Ne=0;let ke=null;const Pe=0;const Fe=1;const Le=2|Fe;const Ue=4|Fe;const Oe=8|Pe;class Parser{constructor(e,t,{exports:n}){o(Number.isFinite(e[ue])&&e[ue]>0);this.llhttp=n;this.ptr=this.llhttp.llhttp_alloc(ye.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[ue];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[Ie]}setTimeout(e,t){if(e!==this.timeoutValue||t&Fe^this.timeoutType&Fe){if(this.timeout){d.clearTimeout(this.timeout);this.timeout=null}if(e){if(t&Fe){this.timeout=d.setFastTimeout(onParserTimeout,e,new WeakRef(this))}else{this.timeout=setTimeout(onParserTimeout,e,new WeakRef(this));this.timeout.unref()}}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.timeoutType=t}resume(){if(this.socket.destroyed||!this.paused){return}o(this.ptr!=null);o(ve==null);this.llhttp.llhttp_resume(this.ptr);o(this.timeoutType===Ue);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Se);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){o(this.ptr!=null);o(ve==null);o(!this.paused);const{socket:t,llhttp:n}=this;if(e.length>Ne){if(ke){n.free(ke)}Ne=Math.ceil(e.length/4096)*4096;ke=n.malloc(Ne)}new Uint8Array(n.memory.buffer,ke,Ne).set(e);try{let o;try{Te=e;ve=this;o=n.llhttp_execute(this.ptr,ke,e.length)}catch(e){throw e}finally{ve=null;Te=null}const i=n.llhttp_get_error_pos(this.ptr)-ke;if(o!==ye.ERROR.OK){const n=e.subarray(i);if(o===ye.ERROR.PAUSED_UPGRADE){this.onUpgrade(n)}else if(o===ye.ERROR.PAUSED){this.paused=true;t.unshift(n)}else{throw this.createError(o,n)}}}catch(e){i.destroy(t,e)}}finish(){o(ve===null);o(this.ptr!=null);o(!this.paused);const{llhttp:e}=this;let t;try{ve=this;t=e.llhttp_finish(this.ptr)}finally{ve=null}if(t===ye.ERROR.OK){return null}if(t===ye.ERROR.PAUSED||t===ye.ERROR.PAUSED_UPGRADE){this.paused=true;return null}return this.createError(t,Se)}createError(e,t){const{llhttp:n,contentLength:o,bytesRead:i}=this;if(o&&i!==parseInt(o,10)){return new m}const a=n.llhttp_get_error_reason(this.ptr);let d="";if(a){const e=new Uint8Array(n.memory.buffer,a).indexOf(0);d="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,e).toString()+")"}return new H(d,ye.ERROR[e],t)}destroy(){o(this.ptr!=null);o(ve==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;this.timeout&&d.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}const n=t[te][t[ie]];if(!n){return-1}n.onResponseStarted()}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const n=this.headers[t-2];if(n.length===10){const t=i.bufferToLowerCasedHeaderName(n);if(t==="keep-alive"){this.keepAlive+=e.toString()}else if(t==="connection"){this.connection+=e.toString()}}else if(n.length===14&&i.bufferToLowerCasedHeaderName(n)==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){i.destroy(this.socket,new k)}}onUpgrade(e){const{upgrade:t,client:n,socket:a,headers:d,statusCode:h}=this;o(t);o(n[Ae]===a);o(!a.destroyed);o(!this.paused);o((d.length&1)===0);const m=n[te][n[ie]];o(m);o(m.upgrade||m.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;this.headers=[];this.headersSize=0;a.unshift(e);a[J].destroy();a[J]=null;a[Y]=null;a[ae]=null;De(a);n[Ae]=null;n[Qe]=null;n[te][n[ie]++]=null;n.emit("disconnect",n[_],[n],new L("upgrade"));try{m.onUpgrade(h,d,a)}catch(e){i.destroy(a,e)}n[Be]()}onHeadersComplete(e,t,n){const{client:a,socket:d,headers:h,statusText:m}=this;if(d.destroyed){return-1}const f=a[te][a[ie]];if(!f){return-1}o(!this.upgrade);o(this.statusCode<200);if(e===100){i.destroy(d,new P("bad response",i.getSocketInfo(d)));return-1}if(t&&!f.upgrade){i.destroy(d,new P("bad upgrade",i.getSocketInfo(d)));return-1}o(this.timeoutType===Le);this.statusCode=e;this.shouldKeepAlive=n||f.method==="HEAD"&&!d[W]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=f.bodyTimeout!=null?f.bodyTimeout:a[me];this.setTimeout(e,Ue)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(f.method==="CONNECT"){o(a[K]===1);this.upgrade=true;return 2}if(t){o(a[K]===1);this.upgrade=true;return 2}o((this.headers.length&1)===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&a[ce]){const e=this.keepAlive?i.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-a[ge],a[de]);if(t<=0){d[W]=true}else{a[le]=t}}else{a[le]=a[se]}}else{d[W]=true}const Q=f.onHeaders(e,h,this.resume,m)===false;if(f.aborted){return-1}if(f.method==="HEAD"){return 1}if(e<200){return 1}if(d[j]){d[j]=false;a[Be]()}return Q?ye.ERROR.PAUSED:0}onBody(e){const{client:t,socket:n,statusCode:a,maxResponseSize:d}=this;if(n.destroyed){return-1}const h=t[te][t[ie]];o(h);o(this.timeoutType===Ue);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}o(a>=200);if(d>-1&&this.bytesRead+e.length>d){i.destroy(n,new V);return-1}this.bytesRead+=e.length;if(h.onData(e)===false){return ye.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:n,upgrade:a,headers:d,contentLength:h,bytesRead:f,shouldKeepAlive:Q}=this;if(t.destroyed&&(!n||Q)){return-1}if(a){return}o(n>=100);o((this.headers.length&1)===0);const k=e[te][e[ie]];o(k);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";this.headers=[];this.headersSize=0;if(n<200){return}if(k.method!=="HEAD"&&h&&f!==parseInt(h,10)){i.destroy(t,new m);return-1}k.onComplete(d);e[te][e[ie]++]=null;if(t[ee]){o(e[K]===0);i.destroy(t,new L("reset"));return ye.ERROR.PAUSED}else if(!Q){i.destroy(t,new L("reset"));return ye.ERROR.PAUSED}else if(t[W]&&e[K]===0){i.destroy(t,new L("reset"));return ye.ERROR.PAUSED}else if(e[ce]==null||e[ce]===1){setImmediate(()=>e[Be]())}else{e[Be]()}}}function onParserTimeout(e){const{socket:t,timeoutType:n,client:a,paused:d}=e.deref();if(n===Le){if(!t[ee]||t.writableNeedDrain||a[K]>1){o(!d,"cannot be paused while waiting for headers");i.destroy(t,new Q)}}else if(n===Ue){if(!d){i.destroy(t,new U)}}else if(n===Oe){o(a[K]===0&&a[le]);i.destroy(t,new L("socket idle timeout"))}}async function connectH1(e,t){e[Ae]=t;if(!xe){xe=await Me;Me=null}t[ne]=false;t[ee]=false;t[W]=false;t[j]=false;t[J]=new Parser(e,t,xe);we(t,"error",function(e){o(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");const t=this[J];if(e.code==="ECONNRESET"&&t.statusCode&&!t.shouldKeepAlive){const e=t.finish();if(e){this[ae]=e;this[Y][Ce](e)}return}this[ae]=e;this[Y][Ce](e)});we(t,"readable",function(){const e=this[J];if(e){e.readMore()}});we(t,"end",function(){const e=this[J];if(e.statusCode&&!e.shouldKeepAlive){const t=e.finish();if(t){i.destroy(this,t)}return}i.destroy(this,new P("other side closed",i.getSocketInfo(this)))});we(t,"close",function(){const e=this[Y];const t=this[J];if(t){if(!this[ae]&&t.statusCode&&!t.shouldKeepAlive){this[ae]=t.finish()||this[ae]}this[J].destroy();this[J]=null}const n=this[ae]||new P("closed",i.getSocketInfo(this));e[Ae]=null;e[Qe]=null;if(e.destroyed){o(e[X]===0);const t=e[te].splice(e[ie]);for(let o=0;o0&&n.code!=="UND_ERR_INFO"){const t=e[te][e[ie]];e[te][e[ie]++]=null;i.errorRequest(e,t,n)}e[re]=e[ie];o(e[K]===0);e.emit("disconnect",e[_],[e],n);e[Be]()});let n=false;t.on("close",()=>{n=true});return{version:"h1",defaultPipelining:1,write(...t){return writeH1(e,...t)},resume(){resumeH1(e)},destroy(e,o){if(n){queueMicrotask(o)}else{t.destroy(e).on("close",o)}},get destroyed(){return t.destroyed},busy(n){if(t[ee]||t[W]||t[j]){return true}if(n){if(e[K]>0&&!n.idempotent){return true}if(e[K]>0&&(n.upgrade||n.method==="CONNECT")){return true}if(e[K]>0&&i.bodyLength(n.body)!==0&&(i.isStream(n.body)||i.isAsyncIterable(n.body)||i.isFormDataLike(n.body))){return true}}return false}}}function resumeH1(e){const t=e[Ae];if(t&&!t.destroyed){if(e[Z]===0){if(!t[ne]&&t.unref){t.unref();t[ne]=true}}else if(t[ne]&&t.ref){t.ref();t[ne]=false}if(e[Z]===0){if(t[J].timeoutType!==Oe){t[J].setTimeout(e[le],Oe)}}else if(e[K]>0&&t[J].statusCode<200){if(t[J].timeoutType!==Le){const n=e[te][e[ie]];const o=n.headersTimeout!=null?n.headersTimeout:e[he];t[J].setTimeout(o,Le)}}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function writeH1(e,t){const{method:d,path:m,host:Q,upgrade:k,blocking:P,reset:U}=t;let{body:H,headers:V,contentLength:_}=t;const Y=d==="PUT"||d==="POST"||d==="PATCH"||d==="QUERY"||d==="PROPFIND"||d==="PROPPATCH";if(i.isFormDataLike(H)){if(!be){be=n(4492).extractBody}const[e,o]=be(H);if(t.contentType==null){V.push("content-type",o)}H=e.stream;_=e.length}else if(i.isBlobLike(H)&&t.contentType==null&&H.type){V.push("content-type",H.type)}if(H&&typeof H.read==="function"){H.read(0)}const J=i.bodyLength(H);_=J??_;if(_===null){_=t.contentLength}if(_===0&&!Y){_=null}if(shouldSendContentLength(d)&&_>0&&t.contentLength!==null&&t.contentLength!==_){if(e[pe]){i.errorRequest(e,t,new h);return false}process.emitWarning(new h)}const K=e[Ae];const abort=n=>{if(t.aborted||t.completed){return}i.errorRequest(e,t,n||new f);i.destroy(H);i.destroy(K,new L("aborted"))};try{t.onConnect(abort)}catch(n){i.errorRequest(e,t,n)}if(t.aborted){return false}if(d==="HEAD"){K[W]=true}if(k||d==="CONNECT"){K[W]=true}if(U!=null){K[W]=U}if(e[Ee]&&K[fe]++>=e[Ee]){K[W]=true}if(P){K[j]=true}let X=`${d} ${m} HTTP/1.1\r\n`;if(typeof Q==="string"){X+=`host: ${Q}\r\n`}else{X+=e[oe]}if(k){X+=`connection: upgrade\r\nupgrade: ${k}\r\n`}else if(e[ce]&&!K[W]){X+="connection: keep-alive\r\n"}else{X+="connection: close\r\n"}if(Array.isArray(V)){for(let e=0;e{t.removeListener("error",onFinished)});if(!k){const e=new f;queueMicrotask(()=>onFinished(e))}};const onFinished=function(e){if(k){return}k=true;o(d.destroyed||d[ee]&&n[K]<=1);d.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("close",onClose);if(!e){try{P.end()}catch(t){e=t}}P.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){i.destroy(t,e)}else{i.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onClose);if(t.resume){t.resume()}d.on("drain",onDrain).on("error",onFinished);if(t.errorEmitted??t.errored){setImmediate(()=>onFinished(t.errored))}else if(t.endEmitted??t.readableEnded){setImmediate(()=>onFinished(null))}if(t.closeEmitted??t.closed){setImmediate(onClose)}}function writeBuffer(e,t,n,a,d,h,m,f){try{if(!t){if(h===0){d.write(`${m}content-length: 0\r\n\r\n`,"latin1")}else{o(h===null,"no body must not have content length");d.write(`${m}\r\n`,"latin1")}}else if(i.isBuffer(t)){o(h===t.byteLength,"buffer body must have content length");d.cork();d.write(`${m}content-length: ${h}\r\n\r\n`,"latin1");d.write(t);d.uncork();a.onBodySent(t);if(!f&&a.reset!==false){d[W]=true}}a.onRequestSent();n[Be]()}catch(t){e(t)}}async function writeBlob(e,t,n,i,a,d,m,f){o(d===t.size,"blob body must have content length");try{if(d!=null&&d!==t.size){throw new h}const e=Buffer.from(await t.arrayBuffer());a.cork();a.write(`${m}content-length: ${d}\r\n\r\n`,"latin1");a.write(e);a.uncork();i.onBodySent(e);i.onRequestSent();if(!f&&i.reset!==false){a[W]=true}n[Be]()}catch(t){e(t)}}async function writeIterable(e,t,n,i,a,d,h,m){o(d!==0||n[K]===0,"iterator body cannot be pipelined");let f=null;function onDrain(){if(f){const e=f;f=null;e()}}const waitForDrain=()=>new Promise((e,t)=>{o(f===null);if(a[ae]){t(a[ae])}else{f=e}});a.on("close",onDrain).on("drain",onDrain);const Q=new AsyncWriter({abort:e,socket:a,request:i,contentLength:d,client:n,expectsPayload:m,header:h});try{for await(const e of t){if(a[ae]){throw a[ae]}if(!Q.write(e)){await waitForDrain()}}Q.end()}catch(e){Q.destroy(e)}finally{a.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({abort:e,socket:t,request:n,contentLength:o,client:i,expectsPayload:a,header:d}){this.socket=t;this.request=n;this.contentLength=o;this.client=i;this.bytesWritten=0;this.expectsPayload=a;this.header=d;this.abort=e;t[ee]=true}write(e){const{socket:t,request:n,contentLength:o,client:i,bytesWritten:a,expectsPayload:d,header:m}=this;if(t[ae]){throw t[ae]}if(t.destroyed){return false}const f=Buffer.byteLength(e);if(!f){return true}if(o!==null&&a+f>o){if(i[pe]){throw new h}process.emitWarning(new h)}t.cork();if(a===0){if(!d&&n.reset!==false){t[W]=true}if(o===null){t.write(`${m}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${m}content-length: ${o}\r\n\r\n`,"latin1")}}if(o===null){t.write(`\r\n${f.toString(16)}\r\n`,"latin1")}this.bytesWritten+=f;const Q=t.write(e);t.uncork();n.onBodySent(e);if(!Q){if(t[J].timeout&&t[J].timeoutType===Le){if(t[J].timeout.refresh){t[J].timeout.refresh()}}}return Q}end(){const{socket:e,contentLength:t,client:n,bytesWritten:o,expectsPayload:i,header:a,request:d}=this;d.onRequestSent();e[ee]=false;if(e[ae]){throw e[ae]}if(e.destroyed){return}if(o===0){if(i){e.write(`${a}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${a}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&o!==t){if(n[pe]){throw new h}else{process.emitWarning(new h)}}if(e[J].timeout&&e[J].timeoutType===Le){if(e[J].timeout.refresh){e[J].timeout.refresh()}}n[Be]()}destroy(e){const{socket:t,client:n,abort:i}=this;t[ee]=false;if(e){o(n[K]<=1,"pipeline should only contain this request");i(e)}}}e.exports=connectH1},8788:(e,t,n)=>{"use strict";const o=n(4589);const{pipeline:i}=n(7075);const a=n(3440);const{RequestContentLengthMismatchError:d,RequestAbortedError:h,SocketError:m,InformationalError:f}=n(8707);const{kUrl:Q,kReset:k,kClient:P,kRunning:L,kPending:U,kQueue:H,kPendingIdx:V,kRunningIdx:_,kError:W,kSocket:Y,kStrictContentLength:J,kOnError:j,kMaxConcurrentStreams:K,kHTTP2Session:X,kResume:Z,kSize:ee,kHTTPContext:te}=n(6443);const ne=Symbol("open streams");let se;let oe=false;let re;try{re=n(2467)}catch{re={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:ie,HTTP2_HEADER_METHOD:ae,HTTP2_HEADER_PATH:ce,HTTP2_HEADER_SCHEME:Ae,HTTP2_HEADER_CONTENT_LENGTH:le,HTTP2_HEADER_EXPECT:ue,HTTP2_HEADER_STATUS:de}}=re;function parseH2Headers(e){const t=[];for(const[n,o]of Object.entries(e)){if(Array.isArray(o)){for(const e of o){t.push(Buffer.from(n),Buffer.from(e))}}else{t.push(Buffer.from(n),Buffer.from(o))}}return t}async function connectH2(e,t){e[Y]=t;if(!oe){oe=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const n=re.connect(e[Q],{createConnection:()=>t,peerMaxConcurrentStreams:e[K]});n[ne]=0;n[P]=e;n[Y]=t;a.addListener(n,"error",onHttp2SessionError);a.addListener(n,"frameError",onHttp2FrameError);a.addListener(n,"end",onHttp2SessionEnd);a.addListener(n,"goaway",onHTTP2GoAway);a.addListener(n,"close",function(){const{[P]:e}=this;const{[Y]:t}=e;const n=this[Y][W]||this[W]||new m("closed",a.getSocketInfo(t));e[X]=null;if(e.destroyed){o(e[U]===0);const t=e[H].splice(e[_]);for(let o=0;o{i=true});return{version:"h2",defaultPipelining:Infinity,write(...t){return writeH2(e,...t)},resume(){resumeH2(e)},destroy(e,n){if(i){queueMicrotask(n)}else{t.destroy(e).on("close",n)}},get destroyed(){return t.destroyed},busy(){return false}}}function resumeH2(e){const t=e[Y];if(t?.destroyed===false){if(e[ee]===0&&e[K]===0){t.unref();e[X].unref()}else{t.ref();e[X].ref()}}}function onHttp2SessionError(e){o(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[Y][W]=e;this[P][j](e)}function onHttp2FrameError(e,t,n){if(n===0){const n=new f(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[Y][W]=n;this[P][j](n)}}function onHttp2SessionEnd(){const e=new m("other side closed",a.getSocketInfo(this[Y]));this.destroy(e);a.destroy(this[Y],e)}function onHTTP2GoAway(e){const t=this[W]||new m(`HTTP/2: "GOAWAY" frame received with code ${e}`,a.getSocketInfo(this));const n=this[P];n[Y]=null;n[te]=null;if(this[X]!=null){this[X].destroy(t);this[X]=null}a.destroy(this[Y],t);if(n[_]{if(t.aborted||t.completed){return}n=n||new h;a.errorRequest(e,t,n);if(te!=null){a.destroy(te,n)}a.destroy(K,n);e[H][e[_]++]=null;e[Z]()};try{t.onConnect(abort)}catch(n){a.errorRequest(e,t,n)}if(t.aborted){return false}if(m==="CONNECT"){i.ref();te=i.request(ee,{endStream:false,signal:W});if(te.id&&!te.pending){t.onUpgrade(null,null,te);++i[ne];e[H][e[_]++]=null}else{te.once("ready",()=>{t.onUpgrade(null,null,te);++i[ne];e[H][e[_]++]=null})}te.once("close",()=>{i[ne]-=1;if(i[ne]===0)i.unref()});return true}ee[ce]=k;ee[Ae]="https";const ge=m==="PUT"||m==="POST"||m==="PATCH";if(K&&typeof K.read==="function"){K.read(0)}let he=a.bodyLength(K);if(a.isFormDataLike(K)){se??=n(4492).extractBody;const[e,t]=se(K);ee["content-type"]=t;K=e.stream;he=e.length}if(he==null){he=t.contentLength}if(he===0||!ge){he=null}if(shouldSendContentLength(m)&&he>0&&t.contentLength!=null&&t.contentLength!==he){if(e[J]){a.errorRequest(e,t,new d);return false}process.emitWarning(new d)}if(he!=null){o(K,"no body must not have content length");ee[le]=`${he}`}i.ref();const me=m==="GET"||m==="HEAD"||K===null;if(U){ee[ue]="100-continue";te=i.request(ee,{endStream:me,signal:W});te.once("continue",writeBodyH2)}else{te=i.request(ee,{endStream:me,signal:W});writeBodyH2()}++i[ne];te.once("response",n=>{const{[de]:o,...i}=n;t.onResponseStarted();if(t.aborted){const n=new h;a.errorRequest(e,t,n);a.destroy(te,n);return}if(t.onHeaders(Number(o),parseH2Headers(i),te.resume.bind(te),"")===false){te.pause()}te.on("data",e=>{if(t.onData(e)===false){te.pause()}})});te.once("end",()=>{if(te.state?.state==null||te.state.state<6){t.onComplete([])}if(i[ne]===0){i.unref()}abort(new f("HTTP/2: stream half-closed (remote)"));e[H][e[_]++]=null;e[V]=e[_];e[Z]()});te.once("close",()=>{i[ne]-=1;if(i[ne]===0){i.unref()}});te.once("error",function(e){abort(e)});te.once("frameError",(e,t)=>{abort(new f(`HTTP/2: "frameError" received - type ${e}, code ${t}`))});return true;function writeBodyH2(){if(!K||he===0){writeBuffer(abort,te,null,e,t,e[Y],he,ge)}else if(a.isBuffer(K)){writeBuffer(abort,te,K,e,t,e[Y],he,ge)}else if(a.isBlobLike(K)){if(typeof K.stream==="function"){writeIterable(abort,te,K.stream(),e,t,e[Y],he,ge)}else{writeBlob(abort,te,K,e,t,e[Y],he,ge)}}else if(a.isStream(K)){writeStream(abort,e[Y],ge,te,K,e,t,he)}else if(a.isIterable(K)){writeIterable(abort,te,K,e,t,e[Y],he,ge)}else{o(false)}}}function writeBuffer(e,t,n,i,d,h,m,f){try{if(n!=null&&a.isBuffer(n)){o(m===n.byteLength,"buffer body must have content length");t.cork();t.write(n);t.uncork();t.end();d.onBodySent(n)}if(!f){h[k]=true}d.onRequestSent();i[Z]()}catch(t){e(t)}}function writeStream(e,t,n,d,h,m,f,Q){o(Q!==0||m[L]===0,"stream body cannot be pipelined");const P=i(h,d,o=>{if(o){a.destroy(P,o);e(o)}else{a.removeAllListeners(P);f.onRequestSent();if(!n){t[k]=true}m[Z]()}});a.addListener(P,"data",onPipeData);function onPipeData(e){f.onBodySent(e)}}async function writeBlob(e,t,n,i,a,h,m,f){o(m===n.size,"blob body must have content length");try{if(m!=null&&m!==n.size){throw new d}const e=Buffer.from(await n.arrayBuffer());t.cork();t.write(e);t.uncork();t.end();a.onBodySent(e);a.onRequestSent();if(!f){h[k]=true}i[Z]()}catch(t){e(t)}}async function writeIterable(e,t,n,i,a,d,h,m){o(h!==0||i[L]===0,"iterator body cannot be pipelined");let f=null;function onDrain(){if(f){const e=f;f=null;e()}}const waitForDrain=()=>new Promise((e,t)=>{o(f===null);if(d[W]){t(d[W])}else{f=e}});t.on("close",onDrain).on("drain",onDrain);try{for await(const e of n){if(d[W]){throw d[W]}const n=t.write(e);a.onBodySent(e);if(!n){await waitForDrain()}}t.end();a.onRequestSent();if(!m){d[k]=true}i[Z]()}catch(t){e(t)}finally{t.off("close",onDrain).off("drain",onDrain)}}e.exports=connectH2},3701:(e,t,n)=>{"use strict";const o=n(4589);const i=n(7030);const a=n(7067);const d=n(3440);const{channels:h}=n(2414);const m=n(4655);const f=n(1841);const{InvalidArgumentError:Q,InformationalError:k,ClientDestroyedError:P}=n(8707);const L=n(9136);const{kUrl:U,kServerName:H,kClient:V,kBusy:_,kConnect:W,kResuming:Y,kRunning:J,kPending:j,kSize:K,kQueue:X,kConnected:Z,kConnecting:ee,kNeedDrain:te,kKeepAliveDefaultTimeout:ne,kHostHeader:se,kPendingIdx:oe,kRunningIdx:re,kError:ie,kPipelining:ae,kKeepAliveTimeoutValue:ce,kMaxHeadersSize:Ae,kKeepAliveMaxTimeout:le,kKeepAliveTimeoutThreshold:ue,kHeadersTimeout:de,kBodyTimeout:ge,kStrictContentLength:he,kConnector:me,kMaxRedirections:pe,kMaxRequests:Ee,kCounter:fe,kClose:Ie,kDestroy:Ce,kDispatch:Be,kInterceptors:Qe,kLocalAddress:ye,kMaxResponseSize:Se,kOnError:Re,kHTTPContext:we,kMaxConcurrentStreams:De,kResume:be}=n(6443);const xe=n(637);const Me=n(8788);let ve=false;const Te=Symbol("kClosedResolve");const noop=()=>{};function getPipelining(e){return e[ae]??e[we]?.defaultPipelining??1}class Client extends f{constructor(e,{interceptors:t,maxHeaderSize:n,headersTimeout:o,socketTimeout:h,requestTimeout:m,connectTimeout:f,bodyTimeout:k,idleTimeout:P,keepAlive:V,keepAliveTimeout:_,maxKeepAliveTimeout:W,keepAliveMaxTimeout:J,keepAliveTimeoutThreshold:j,socketPath:K,pipelining:Z,tls:ee,strictContentLength:ie,maxCachedSessions:fe,maxRedirections:Ie,connect:Ce,maxRequestsPerClient:Be,localAddress:xe,maxResponseSize:Me,autoSelectFamily:ke,autoSelectFamilyAttemptTimeout:Pe,maxConcurrentStreams:Fe,allowH2:Le,webSocket:Ue}={}){super({webSocket:Ue});if(V!==undefined){throw new Q("unsupported keepAlive, use pipelining=0 instead")}if(h!==undefined){throw new Q("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(m!==undefined){throw new Q("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(P!==undefined){throw new Q("unsupported idleTimeout, use keepAliveTimeout instead")}if(W!==undefined){throw new Q("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(n!=null&&!Number.isFinite(n)){throw new Q("invalid maxHeaderSize")}if(K!=null&&typeof K!=="string"){throw new Q("invalid socketPath")}if(f!=null&&(!Number.isFinite(f)||f<0)){throw new Q("invalid connectTimeout")}if(_!=null&&(!Number.isFinite(_)||_<=0)){throw new Q("invalid keepAliveTimeout")}if(J!=null&&(!Number.isFinite(J)||J<=0)){throw new Q("invalid keepAliveMaxTimeout")}if(j!=null&&!Number.isFinite(j)){throw new Q("invalid keepAliveTimeoutThreshold")}if(o!=null&&(!Number.isInteger(o)||o<0)){throw new Q("headersTimeout must be a positive integer or zero")}if(k!=null&&(!Number.isInteger(k)||k<0)){throw new Q("bodyTimeout must be a positive integer or zero")}if(Ce!=null&&typeof Ce!=="function"&&typeof Ce!=="object"){throw new Q("connect must be a function or an object")}if(Ie!=null&&(!Number.isInteger(Ie)||Ie<0)){throw new Q("maxRedirections must be a positive number")}if(Be!=null&&(!Number.isInteger(Be)||Be<0)){throw new Q("maxRequestsPerClient must be a positive number")}if(xe!=null&&(typeof xe!=="string"||i.isIP(xe)===0)){throw new Q("localAddress must be valid string IP address")}if(Me!=null&&(!Number.isInteger(Me)||Me<-1)){throw new Q("maxResponseSize must be a positive number")}if(Pe!=null&&(!Number.isInteger(Pe)||Pe<-1)){throw new Q("autoSelectFamilyAttemptTimeout must be a positive number")}if(Le!=null&&typeof Le!=="boolean"){throw new Q("allowH2 must be a valid boolean value")}if(Fe!=null&&(typeof Fe!=="number"||Fe<1)){throw new Q("maxConcurrentStreams must be a positive integer, greater than 0")}if(typeof Ce!=="function"){Ce=L({...ee,maxCachedSessions:fe,allowH2:Le,socketPath:K,timeout:f,...ke?{autoSelectFamily:ke,autoSelectFamilyAttemptTimeout:Pe}:undefined,...Ce})}if(t?.Client&&Array.isArray(t.Client)){this[Qe]=t.Client;if(!ve){ve=true;process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}}else{this[Qe]=[Ne({maxRedirections:Ie})]}this[U]=d.parseOrigin(e);this[me]=Ce;this[ae]=Z!=null?Z:1;this[Ae]=n||a.maxHeaderSize;this[ne]=_==null?4e3:_;this[le]=J==null?6e5:J;this[ue]=j==null?2e3:j;this[ce]=this[ne];this[H]=null;this[ye]=xe!=null?xe:null;this[Y]=0;this[te]=0;this[se]=`host: ${this[U].hostname}${this[U].port?`:${this[U].port}`:""}\r\n`;this[ge]=k!=null?k:3e5;this[de]=o!=null?o:3e5;this[he]=ie==null?true:ie;this[pe]=Ie;this[Ee]=Be;this[Te]=null;this[Se]=Me>-1?Me:-1;this[De]=Fe!=null?Fe:100;this[we]=null;this[X]=[];this[re]=0;this[oe]=0;this[be]=e=>resume(this,e);this[Re]=e=>onError(this,e)}get pipelining(){return this[ae]}set pipelining(e){this[ae]=e;this[be](true)}get[j](){return this[X].length-this[oe]}get[J](){return this[oe]-this[re]}get[K](){return this[X].length-this[re]}get[Z](){return!!this[we]&&!this[ee]&&!this[we].destroyed}get[_](){return Boolean(this[we]?.busy(null)||this[K]>=(getPipelining(this)||1)||this[j]>0)}[W](e){connect(this);this.once("connect",e)}[Be](e,t){const n=e.origin||this[U].origin;const o=new m(n,e,t);this[X].push(o);if(this[Y]){}else if(d.bodyLength(o.body)==null&&d.isIterable(o.body)){this[Y]=1;queueMicrotask(()=>resume(this))}else{this[be](true)}if(this[Y]&&this[te]!==2&&this[_]){this[te]=2}return this[te]<2}async[Ie](){return new Promise(e=>{if(this[K]){this[Te]=e}else{e(null)}})}async[Ce](e){return new Promise(t=>{const n=this[X].splice(this[oe]);for(let t=0;t{if(this[Te]){this[Te]();this[Te]=null}t(null)};if(this[we]){this[we].destroy(e,callback);this[we]=null}else{queueMicrotask(callback)}this[be]()})}}const Ne=n(5092);function onError(e,t){if(e[J]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){o(e[oe]===e[re]);const n=e[X].splice(e[re]);for(let o=0;o{e[me]({host:t,hostname:n,protocol:a,port:m,servername:e[H],localAddress:e[ye]},(e,t)=>{if(e){i(e)}else{o(t)}})});if(e.destroyed){d.destroy(i.on("error",noop),new P);return}o(i);try{e[we]=i.alpnProtocol==="h2"?await Me(e,i):await xe(e,i)}catch(e){i.destroy().on("error",noop);throw e}e[ee]=false;i[fe]=0;i[Ee]=e[Ee];i[V]=e;i[ie]=null;if(h.connected.hasSubscribers){h.connected.publish({connectParams:{host:t,hostname:n,protocol:a,port:m,version:e[we]?.version,servername:e[H],localAddress:e[ye]},connector:e[me],socket:i})}e.emit("connect",e[U],[e])}catch(i){if(e.destroyed){return}e[ee]=false;if(h.connectError.hasSubscribers){h.connectError.publish({connectParams:{host:t,hostname:n,protocol:a,port:m,version:e[we]?.version,servername:e[H],localAddress:e[ye]},connector:e[me],error:i})}if(i.code==="ERR_TLS_CERT_ALTNAME_INVALID"){o(e[J]===0);while(e[j]>0&&e[X][e[oe]].servername===e[H]){const t=e[X][e[oe]++];d.errorRequest(e,t,i)}}else{onError(e,i)}e.emit("connectionError",e[U],[e],i)}e[be]()}function emitDrain(e){e[te]=0;e.emit("drain",e[U],[e])}function resume(e,t){if(e[Y]===2){return}e[Y]=2;_resume(e,t);e[Y]=0;if(e[re]>256){e[X].splice(0,e[re]);e[oe]-=e[re];e[re]=0}}function _resume(e,t){while(true){if(e.destroyed){o(e[j]===0);return}if(e[Te]&&!e[K]){e[Te]();e[Te]=null;return}if(e[we]){e[we].resume()}if(e[_]){e[te]=2}else if(e[te]===2){if(t){e[te]=1;queueMicrotask(()=>emitDrain(e))}else{emitDrain(e)}continue}if(e[j]===0){return}if(e[J]>=(getPipelining(e)||1)){return}const n=e[X][e[oe]];if(e[U].protocol==="https:"&&e[H]!==n.servername){if(e[J]>0){return}e[H]=n.servername;e[we]?.destroy(new k("servername changed"),()=>{e[we]=null;resume(e)})}if(e[ee]){return}if(!e[we]){connect(e);return}if(e[we].destroyed){return}if(e[we].busy(n)){return}if(!n.aborted&&e[we].write(n)){e[oe]++}else{e[X].splice(e[oe],1)}}}e.exports=Client},1841:(e,t,n)=>{"use strict";const o=n(883);const{ClientDestroyedError:i,ClientClosedError:a,InvalidArgumentError:d}=n(8707);const{kDestroy:h,kClose:m,kClosed:f,kDestroyed:Q,kDispatch:k,kInterceptors:P}=n(6443);const L=Symbol("onDestroyed");const U=Symbol("onClosed");const H=Symbol("Intercepted Dispatch");const V=Symbol("webSocketOptions");class DispatcherBase extends o{constructor(e){super();this[Q]=false;this[L]=null;this[f]=false;this[U]=[];this[V]=e?.webSocket??{}}get webSocketOptions(){return{maxPayloadSize:this[V].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Q]}get closed(){return this[f]}get interceptors(){return this[P]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[P][t];if(typeof e!=="function"){throw new d("interceptor must be an function")}}}this[P]=e}close(e){if(e===undefined){return new Promise((e,t)=>{this.close((n,o)=>n?t(n):e(o))})}if(typeof e!=="function"){throw new d("invalid callback")}if(this[Q]){queueMicrotask(()=>e(new i,null));return}if(this[f]){if(this[U]){this[U].push(e)}else{queueMicrotask(()=>e(null,null))}return}this[f]=true;this[U].push(e);const onClosed=()=>{const e=this[U];this[U]=null;for(let t=0;tthis.destroy()).then(()=>{queueMicrotask(onClosed)})}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise((t,n)=>{this.destroy(e,(e,o)=>e?n(e):t(o))})}if(typeof t!=="function"){throw new d("invalid callback")}if(this[Q]){if(this[L]){this[L].push(t)}else{queueMicrotask(()=>t(null,null))}return}if(!e){e=new i}this[Q]=true;this[L]=this[L]||[];this[L].push(t);const onDestroyed=()=>{const e=this[L];this[L]=null;for(let t=0;t{queueMicrotask(onDestroyed)})}[H](e,t){if(!this[P]||this[P].length===0){this[H]=this[k];return this[k](e,t)}let n=this[k].bind(this);for(let e=this[P].length-1;e>=0;e--){n=this[P][e](n)}this[H]=n;return n(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new d("handler must be an object")}try{if(!e||typeof e!=="object"){throw new d("opts must be an object.")}if(this[Q]||this[L]){throw new i}if(this[f]){throw new a}return this[H](e,t)}catch(e){if(typeof t.onError!=="function"){throw new d("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},883:(e,t,n)=>{"use strict";const o=n(8474);class Dispatcher extends o{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){const t=Array.isArray(e[0])?e[0]:e;let n=this.dispatch.bind(this);for(const e of t){if(e==null){continue}if(typeof e!=="function"){throw new TypeError(`invalid interceptor, expected function received ${typeof e}`)}n=e(n);if(n==null||typeof n!=="function"||n.length!==2){throw new TypeError("invalid interceptor")}}return new ComposedDispatcher(this,n)}}class ComposedDispatcher extends Dispatcher{#e=null;#t=null;constructor(e,t){super();this.#e=e;this.#t=t}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}}e.exports=Dispatcher},3137:(e,t,n)=>{"use strict";const o=n(1841);const{kClose:i,kDestroy:a,kClosed:d,kDestroyed:h,kDispatch:m,kNoProxyAgent:f,kHttpProxyAgent:Q,kHttpsProxyAgent:k}=n(6443);const P=n(6672);const L=n(7405);const U={"http:":80,"https:":443};let H=false;class EnvHttpProxyAgent extends o{#n=null;#s=null;#o=null;constructor(e={}){super();this.#o=e;if(!H){H=true;process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"})}const{httpProxy:t,httpsProxy:n,noProxy:o,...i}=e;this[f]=new L(i);const a=t??process.env.http_proxy??process.env.HTTP_PROXY;if(a){this[Q]=new P({...i,uri:a})}else{this[Q]=this[f]}const d=n??process.env.https_proxy??process.env.HTTPS_PROXY;if(d){this[k]=new P({...i,uri:d})}else{this[k]=this[Q]}this.#r()}[m](e,t){const n=new URL(e.origin);const o=this.#i(n);return o.dispatch(e,t)}async[i](){await this[f].close();if(!this[Q][d]){await this[Q].close()}if(!this[k][d]){await this[k].close()}}async[a](e){await this[f].destroy(e);if(!this[Q][h]){await this[Q].destroy(e)}if(!this[k][h]){await this[k].destroy(e)}}#i(e){let{protocol:t,host:n,port:o}=e;n=n.replace(/:\d*$/,"").toLowerCase();o=Number.parseInt(o,10)||U[t]||0;if(!this.#a(n,o)){return this[f]}if(t==="https:"){return this[k]}return this[Q]}#a(e,t){if(this.#c){this.#r()}if(this.#s.length===0){return true}if(this.#n==="*"){return false}for(let n=0;n{"use strict";const t=2048;const n=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&n)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&n}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&n;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}}},2128:(e,t,n)=>{"use strict";const o=n(1841);const i=n(4660);const{kConnected:a,kSize:d,kRunning:h,kPending:m,kQueued:f,kBusy:Q,kFree:k,kUrl:P,kClose:L,kDestroy:U,kDispatch:H}=n(6443);const V=n(3246);const _=Symbol("clients");const W=Symbol("needDrain");const Y=Symbol("queue");const J=Symbol("closed resolve");const j=Symbol("onDrain");const K=Symbol("onConnect");const X=Symbol("onDisconnect");const Z=Symbol("onConnectionError");const ee=Symbol("get dispatcher");const te=Symbol("add client");const ne=Symbol("remove client");const se=Symbol("stats");class PoolBase extends o{constructor(e){super(e);this[Y]=new i;this[_]=[];this[f]=0;const t=this;this[j]=function onDrain(e,n){const o=t[Y];let i=false;while(!i){const e=o.shift();if(!e){break}t[f]--;i=!this.dispatch(e.opts,e.handler)}this[W]=i;if(!this[W]&&t[W]){t[W]=false;t.emit("drain",e,[t,...n])}if(t[J]&&o.isEmpty()){Promise.all(t[_].map(e=>e.close())).then(t[J])}};this[K]=(e,n)=>{t.emit("connect",e,[t,...n])};this[X]=(e,n,o)=>{t.emit("disconnect",e,[t,...n],o)};this[Z]=(e,n,o)=>{t.emit("connectionError",e,[t,...n],o)};this[se]=new V(this)}get[Q](){return this[W]}get[a](){return this[_].filter(e=>e[a]).length}get[k](){return this[_].filter(e=>e[a]&&!e[W]).length}get[m](){let e=this[f];for(const{[m]:t}of this[_]){e+=t}return e}get[h](){let e=0;for(const{[h]:t}of this[_]){e+=t}return e}get[d](){let e=this[f];for(const{[d]:t}of this[_]){e+=t}return e}get stats(){return this[se]}async[L](){if(this[Y].isEmpty()){await Promise.all(this[_].map(e=>e.close()))}else{await new Promise(e=>{this[J]=e})}}async[U](e){while(true){const t=this[Y].shift();if(!t){break}t.handler.onError(e)}await Promise.all(this[_].map(t=>t.destroy(e)))}[H](e,t){const n=this[ee]();if(!n){this[W]=true;this[Y].push({opts:e,handler:t});this[f]++}else if(!n.dispatch(e,t)){n[W]=true;this[W]=!this[ee]()}return!this[W]}[te](e){e.on("drain",this[j]).on("connect",this[K]).on("disconnect",this[X]).on("connectionError",this[Z]);this[_].push(e);if(this[W]){queueMicrotask(()=>{if(this[W]){this[j](e[P],[this,e])}})}return this}[ne](e){e.close(()=>{const t=this[_].indexOf(e);if(t!==-1){this[_].splice(t,1)}});this[W]=this[_].some(e=>!e[W]&&e.closed!==true&&e.destroyed!==true)}}e.exports={PoolBase:PoolBase,kClients:_,kNeedDrain:W,kAddClient:te,kRemoveClient:ne,kGetDispatcher:ee}},3246:(e,t,n)=>{const{kFree:o,kConnected:i,kPending:a,kQueued:d,kRunning:h,kSize:m}=n(6443);const f=Symbol("pool");class PoolStats{constructor(e){this[f]=e}get connected(){return this[f][i]}get free(){return this[f][o]}get pending(){return this[f][a]}get queued(){return this[f][d]}get running(){return this[f][h]}get size(){return this[f][m]}}e.exports=PoolStats},628:(e,t,n)=>{"use strict";const{PoolBase:o,kClients:i,kNeedDrain:a,kAddClient:d,kGetDispatcher:h}=n(2128);const m=n(3701);const{InvalidArgumentError:f}=n(8707);const Q=n(3440);const{kUrl:k,kInterceptors:P}=n(6443);const L=n(9136);const U=Symbol("options");const H=Symbol("connections");const V=Symbol("factory");function defaultFactory(e,t){return new m(e,t)}class Pool extends o{constructor(e,{connections:t,factory:n=defaultFactory,connect:o,connectTimeout:a,tls:d,maxCachedSessions:h,socketPath:m,autoSelectFamily:_,autoSelectFamilyAttemptTimeout:W,allowH2:Y,...J}={}){if(t!=null&&(!Number.isFinite(t)||t<0)){throw new f("invalid connections")}if(typeof n!=="function"){throw new f("factory must be a function.")}if(o!=null&&typeof o!=="function"&&typeof o!=="object"){throw new f("connect must be a function or an object")}if(typeof o!=="function"){o=L({...d,maxCachedSessions:h,allowH2:Y,socketPath:m,timeout:a,..._?{autoSelectFamily:_,autoSelectFamilyAttemptTimeout:W}:undefined,...o})}super(J);this[P]=J.interceptors?.Pool&&Array.isArray(J.interceptors.Pool)?J.interceptors.Pool:[];this[H]=t||null;this[k]=Q.parseOrigin(e);this[U]={...Q.deepClone(J),connect:o,allowH2:Y};this[U].interceptors=J.interceptors?{...J.interceptors}:undefined;this[V]=n;this.on("connectionError",(e,t,n)=>{for(const e of t){const t=this[i].indexOf(e);if(t!==-1){this[i].splice(t,1)}}})}[h](){for(const e of this[i]){if(!e[a]){return e}}if(!this[H]||this[i].length{"use strict";const{kProxy:o,kClose:i,kDestroy:a,kDispatch:d,kInterceptors:h}=n(6443);const{URL:m}=n(3136);const f=n(7405);const Q=n(628);const k=n(1841);const{InvalidArgumentError:P,RequestAbortedError:L,SecureProxyConnectionError:U}=n(8707);const H=n(9136);const V=n(3701);const _=Symbol("proxy agent");const W=Symbol("proxy client");const Y=Symbol("proxy headers");const J=Symbol("request tls settings");const j=Symbol("proxy tls settings");const K=Symbol("connect endpoint function");const X=Symbol("tunnel proxy");function defaultProtocolPort(e){return e==="https:"?443:80}function defaultFactory(e,t){return new Q(e,t)}const noop=()=>{};function defaultAgentFactory(e,t){if(t.connections===1){return new V(e,t)}return new Q(e,t)}class Http1ProxyWrapper extends k{#l;constructor(e,{headers:t={},connect:n,factory:o}){super();if(!e){throw new P("Proxy URL is mandatory")}this[Y]=t;if(o){this.#l=o(e,{connect:n})}else{this.#l=new V(e,{connect:n})}}[d](e,t){const n=t.onHeaders;t.onHeaders=function(e,o,i){if(e===407){if(typeof t.onError==="function"){t.onError(new P("Proxy Authentication Required (407)"))}return}if(n)n.call(this,e,o,i)};const{origin:o,path:i="/",headers:a={}}=e;e.path=o+i;if(!("host"in a)&&!("Host"in a)){const{host:e}=new m(o);a.host=e}e.headers={...this[Y],...a};return this.#l[d](e,t)}async[i](){return this.#l.close()}async[a](e){return this.#l.destroy(e)}}class ProxyAgent extends k{constructor(e){super();if(!e||typeof e==="object"&&!(e instanceof m)&&!e.uri){throw new P("Proxy uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new P("Proxy opts.clientFactory must be a function.")}const{proxyTunnel:n=true}=e;const i=this.#u(e);const{href:a,origin:d,port:Q,protocol:k,username:V,password:Z,hostname:ee}=i;this[o]={uri:a,protocol:k};this[h]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];this[J]=e.requestTls;this[j]=e.proxyTls;this[Y]=e.headers||{};this[X]=n;if(e.auth&&e.token){throw new P("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[Y]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[Y]["proxy-authorization"]=e.token}else if(V&&Z){this[Y]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(V)}:${decodeURIComponent(Z)}`).toString("base64")}`}const te=H({...e.proxyTls});this[K]=H({...e.requestTls});const ne=e.factory||defaultAgentFactory;const factory=(e,t)=>{const{protocol:n}=new m(e);if(!this[X]&&n==="http:"&&this[o].protocol==="http:"){return new Http1ProxyWrapper(this[o].uri,{headers:this[Y],connect:te,factory:ne})}return ne(e,t)};this[W]=t(i,{connect:te});this[_]=new f({...e,factory:factory,connect:async(e,t)=>{let n=e.host;if(!e.port){n+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:o,statusCode:i}=await this[W].connect({origin:d,port:Q,path:n,signal:e.signal,headers:{...this[Y],host:e.host},servername:this[j]?.servername||ee});if(i!==200){o.on("error",noop).destroy();t(new L(`Proxy response (${i}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,o);return}let a;if(this[J]){a=this[J].servername}else{a=e.servername}this[K]({...e,servername:a,httpSocket:o},t)}catch(e){if(e.code==="ERR_TLS_CERT_ALTNAME_INVALID"){t(new U(e))}else{t(e)}}}})}dispatch(e,t){const n=buildHeaders(e.headers);throwIfProxyAuthIsSent(n);if(n&&!("host"in n)&&!("Host"in n)){const{host:t}=new m(e.origin);n.host=t}return this[_].dispatch({...e,headers:n},t)}#u(e){if(typeof e==="string"){return new m(e)}else if(e instanceof m){return e}else{return new m(e.uri)}}async[i](){await this[_].close();await this[W].close()}async[a](){await this[_].destroy();await this[W].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let n=0;ne.toLowerCase()==="proxy-authorization");if(t){throw new P("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},50:(e,t,n)=>{"use strict";const o=n(883);const i=n(7816);class RetryAgent extends o{#d=null;#g=null;constructor(e,t={}){super(t);this.#d=e;this.#g=t}dispatch(e,t){const n=new i({...e,retryOptions:this.#g},{dispatch:this.#d.dispatch.bind(this.#d),handler:t});return this.#d.dispatch(e,n)}close(){return this.#d.close()}destroy(){return this.#d.destroy()}}e.exports=RetryAgent},2581:(e,t,n)=>{"use strict";const o=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:i}=n(8707);const a=n(7405);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new a)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new i("Argument agent must implement Agent")}Object.defineProperty(globalThis,o,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[o]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},8155:e=>{"use strict";e.exports=class DecoratorHandler{#h;constructor(e){if(typeof e!=="object"||e===null){throw new TypeError("handler must be an object")}this.#h=e}onConnect(...e){return this.#h.onConnect?.(...e)}onError(...e){return this.#h.onError?.(...e)}onUpgrade(...e){return this.#h.onUpgrade?.(...e)}onResponseStarted(...e){return this.#h.onResponseStarted?.(...e)}onHeaders(...e){return this.#h.onHeaders?.(...e)}onData(...e){return this.#h.onData?.(...e)}onComplete(...e){return this.#h.onComplete?.(...e)}onBodySent(...e){return this.#h.onBodySent?.(...e)}}},8754:(e,t,n)=>{"use strict";const o=n(3440);const{kBodyUsed:i}=n(6443);const a=n(4589);const{InvalidArgumentError:d}=n(8707);const h=n(8474);const m=[300,301,302,303,307,308];const f=Symbol("body");class BodyAsyncIterable{constructor(e){this[f]=e;this[i]=false}async*[Symbol.asyncIterator](){a(!this[i],"disturbed");this[i]=true;yield*this[f]}}class RedirectHandler{constructor(e,t,n,m){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new d("maxRedirections must be a positive number")}o.validateHandler(m,n.method,n.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...n,maxRedirections:0};this.maxRedirections=t;this.handler=m;this.history=[];this.redirectionLimitReached=false;if(o.isStream(this.opts.body)){if(o.bodyLength(this.opts.body)===0){this.opts.body.on("data",function(){a(false)})}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[i]=false;h.prototype.on.call(this.opts.body,"data",function(){this[i]=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)&&o.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,n){this.handler.onUpgrade(e,t,n)}onError(e){this.handler.onError(e)}onHeaders(e,t,n,i){this.location=this.history.length>=this.maxRedirections||o.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){if(this.request){this.request.abort(new Error("max redirects"))}this.redirectionLimitReached=true;this.abort(new Error("max redirects"));return}if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,n,i)}const{origin:a,pathname:d,search:h}=o.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const m=h?`${d}${h}`:d;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==a);this.opts.path=m;this.opts.origin=a;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(m.indexOf(e)===-1){return null}for(let e=0;e{"use strict";const o=n(4589);const{kRetryHandlerDefaultRetry:i}=n(6443);const{RequestRetryError:a}=n(8707);const{isDisturbed:d,parseHeaders:h,parseRangeHeader:m,wrapRequestBody:f}=n(3440);function calculateRetryAfterHeader(e){const t=Date.now();return new Date(e).getTime()-t}class RetryHandler{constructor(e,t){const{retryOptions:n,...o}=e;const{retry:a,maxRetries:d,maxTimeout:h,minTimeout:m,timeoutFactor:Q,methods:k,errorCodes:P,retryAfter:L,statusCodes:U}=n??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts={...o,body:f(e.body)};this.abort=null;this.aborted=false;this.retryOpts={retry:a??RetryHandler[i],retryAfter:L??true,maxTimeout:h??30*1e3,minTimeout:m??500,timeoutFactor:Q??2,maxRetries:d??5,methods:k??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:U??[500,502,503,504,429],errorCodes:P??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]};this.retryCount=0;this.retryCountCheckpoint=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,n){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,n)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[i](e,{state:t,opts:n},o){const{statusCode:i,code:a,headers:d}=e;const{method:h,retryOptions:m}=n;const{maxRetries:f,minTimeout:Q,maxTimeout:k,timeoutFactor:P,statusCodes:L,errorCodes:U,methods:H}=m;const{counter:V}=t;if(a&&a!=="UND_ERR_REQ_RETRY"&&!U.includes(a)){o(e);return}if(Array.isArray(H)&&!H.includes(h)){o(e);return}if(i!=null&&Array.isArray(L)&&!L.includes(i)){o(e);return}if(V>f){o(e);return}let _=d?.["retry-after"];if(_){_=Number(_);_=Number.isNaN(_)?calculateRetryAfterHeader(_):_*1e3}const W=_>0?Math.min(_,k):Math.min(Q*P**(V-1),k);setTimeout(()=>o(null),W)}onHeaders(e,t,n,i){const d=h(t);this.retryCount+=1;if(e>=300){if(this.retryOpts.statusCodes.includes(e)===false){return this.handler.onHeaders(e,t,n,i)}else{this.abort(new a("Request failed",e,{headers:d,data:{count:this.retryCount}}));return false}}if(this.resume!=null){this.resume=null;if(e!==206&&(this.start>0||e!==200)){this.abort(new a("server does not support the range header and the payload was partially consumed",e,{headers:d,data:{count:this.retryCount}}));return false}const t=m(d["content-range"]);if(!t){this.abort(new a("Content-Range mismatch",e,{headers:d,data:{count:this.retryCount}}));return false}if(this.etag!=null&&this.etag!==d.etag){this.abort(new a("ETag mismatch",e,{headers:d,data:{count:this.retryCount}}));return false}const{start:i,size:h,end:f=h-1}=t;o(this.start===i,"content-range mismatch");o(this.end==null||this.end===f,"content-range mismatch");this.resume=n;return true}if(this.end==null){if(e===206){const a=m(d["content-range"]);if(a==null){return this.handler.onHeaders(e,t,n,i)}const{start:h,size:f,end:Q=f-1}=a;o(h!=null&&Number.isFinite(h),"content-range mismatch");o(Q!=null&&Number.isFinite(Q),"invalid content-length");this.start=h;this.end=Q}if(this.end==null){const e=d["content-length"];this.end=e!=null?Number(e)-1:null}o(Number.isFinite(this.start));o(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=n;this.etag=d.etag!=null?d.etag:null;if(this.etag!=null&&this.etag.startsWith("W/")){this.etag=null}return this.handler.onHeaders(e,t,n,i)}const f=new a("Request failed",e,{headers:d,data:{count:this.retryCount}});this.abort(f);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||d(this.opts.body)){return this.handler.onError(e)}if(this.retryCount-this.retryCountCheckpoint>0){this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint)}else{this.retryCount+=1}this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||d(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){const e={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null){e["if-match"]=this.etag}this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount;this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},379:(e,t,n)=>{"use strict";const{isIP:o}=n(7030);const{lookup:i}=n(610);const a=n(8155);const{InvalidArgumentError:d,InformationalError:h}=n(8707);const m=Math.pow(2,31)-1;class DNSInstance{#m=0;#p=0;#E=new Map;dualStack=true;affinity=null;lookup=null;pick=null;constructor(e){this.#m=e.maxTTL;this.#p=e.maxItems;this.dualStack=e.dualStack;this.affinity=e.affinity;this.lookup=e.lookup??this.#f;this.pick=e.pick??this.#I}get full(){return this.#E.size===this.#p}runLookup(e,t,n){const o=this.#E.get(e.hostname);if(o==null&&this.full){n(null,e.origin);return}const i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#m,maxItems:this.#p};if(o==null){this.lookup(e,i,(t,o)=>{if(t||o==null||o.length===0){n(t??new h("No DNS entries found"));return}this.setRecords(e,o);const a=this.#E.get(e.hostname);const d=this.pick(e,a,i.affinity);let m;if(typeof d.port==="number"){m=`:${d.port}`}else if(e.port!==""){m=`:${e.port}`}else{m=""}n(null,`${e.protocol}//${d.family===6?`[${d.address}]`:d.address}${m}`)})}else{const a=this.pick(e,o,i.affinity);if(a==null){this.#E.delete(e.hostname);this.runLookup(e,t,n);return}let d;if(typeof a.port==="number"){d=`:${a.port}`}else if(e.port!==""){d=`:${e.port}`}else{d=""}n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${d}`)}}#f(e,t,n){i(e.hostname,{all:true,family:this.dualStack===false?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e){return n(e)}const o=new Map;for(const e of t){o.set(`${e.address}:${e.family}`,e)}n(null,o.values())})}#I(e,t,n){let o=null;const{records:i,offset:a}=t;let d;if(this.dualStack){if(n==null){if(a==null||a===m){t.offset=0;n=4}else{t.offset++;n=(t.offset&1)===1?6:4}}if(i[n]!=null&&i[n].ips.length>0){d=i[n]}else{d=i[n===4?6:4]}}else{d=i[n]}if(d==null||d.ips.length===0){return o}if(d.offset==null||d.offset===m){d.offset=0}else{d.offset++}const h=d.offset%d.ips.length;o=d.ips[h]??null;if(o==null){return o}if(Date.now()-o.timestamp>o.ttl){d.ips.splice(h,1);return this.pick(e,t,n)}return o}setRecords(e,t){const n=Date.now();const o={records:{4:null,6:null}};for(const e of t){e.timestamp=n;if(typeof e.ttl==="number"){e.ttl=Math.min(e.ttl,this.#m)}else{e.ttl=this.#m}const t=o.records[e.family]??{ips:[]};t.ips.push(e);o.records[e.family]=t}this.#E.set(e.hostname,o)}getHandler(e,t){return new DNSDispatchHandler(this,e,t)}}class DNSDispatchHandler extends a{#C=null;#o=null;#t=null;#h=null;#B=null;constructor(e,{origin:t,handler:n,dispatch:o},i){super(n);this.#B=t;this.#h=n;this.#o={...i};this.#C=e;this.#t=o}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#C.dualStack){this.#C.runLookup(this.#B,this.#o,(e,t)=>{if(e){return this.#h.onError(e)}const n={...this.#o,origin:t};this.#t(n,this)});return}this.#h.onError(e);return}case"ENOTFOUND":this.#C.deleteRecord(this.#B);default:this.#h.onError(e);break}}}e.exports=e=>{if(e?.maxTTL!=null&&(typeof e?.maxTTL!=="number"||e?.maxTTL<0)){throw new d("Invalid maxTTL. Must be a positive number")}if(e?.maxItems!=null&&(typeof e?.maxItems!=="number"||e?.maxItems<1)){throw new d("Invalid maxItems. Must be a positive number and greater than zero")}if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6){throw new d("Invalid affinity. Must be either 4 or 6")}if(e?.dualStack!=null&&typeof e?.dualStack!=="boolean"){throw new d("Invalid dualStack. Must be a boolean")}if(e?.lookup!=null&&typeof e?.lookup!=="function"){throw new d("Invalid lookup. Must be a function")}if(e?.pick!=null&&typeof e?.pick!=="function"){throw new d("Invalid pick. Must be a function")}const t=e?.dualStack??true;let n;if(t){n=e?.affinity??null}else{n=e?.affinity??4}const i={maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:t,affinity:n,maxItems:e?.maxItems??Infinity};const a=new DNSInstance(i);return e=>function dnsInterceptor(t,n){const i=t.origin.constructor===URL?t.origin:new URL(t.origin);if(o(i.hostname)!==0){return e(t,n)}a.runLookup(i,t,(o,d)=>{if(o){return n.onError(o)}let h=null;h={...t,servername:i.hostname,origin:d,headers:{host:i.hostname,...t.headers}};e(h,a.getHandler({origin:i,dispatch:e,handler:n},t))});return true}}},8060:(e,t,n)=>{"use strict";const o=n(3440);const{InvalidArgumentError:i,RequestAbortedError:a}=n(8707);const d=n(8155);class DumpHandler extends d{#Q=1024*1024;#y=null;#S=false;#R=false;#w=0;#D=null;#h=null;constructor({maxSize:e},t){super(t);if(e!=null&&(!Number.isFinite(e)||e<1)){throw new i("maxSize must be a number greater than 0")}this.#Q=e??this.#Q;this.#h=t}onConnect(e){this.#y=e;this.#h.onConnect(this.#b.bind(this))}#b(e){this.#R=true;this.#D=e}onHeaders(e,t,n,i){const d=o.parseHeaders(t);const h=d["content-length"];if(h!=null&&h>this.#Q){throw new a(`Response size (${h}) larger than maxSize (${this.#Q})`)}if(this.#R){return true}return this.#h.onHeaders(e,t,n,i)}onError(e){if(this.#S){return}e=this.#D??e;this.#h.onError(e)}onData(e){this.#w=this.#w+e.length;if(this.#w>=this.#Q){this.#S=true;if(this.#R){this.#h.onError(this.#D)}else{this.#h.onComplete([])}}return true}onComplete(e){if(this.#S){return}if(this.#R){this.#h.onError(this.reason);return}this.#h.onComplete(e)}}function createDumpInterceptor({maxSize:e}={maxSize:1024*1024}){return t=>function Intercept(n,o){const{dumpMaxSize:i=e}=n;const a=new DumpHandler({maxSize:i},o);return t(n,a)}}e.exports=createDumpInterceptor},5092:(e,t,n)=>{"use strict";const o=n(8754);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(n,i){const{maxRedirections:a=e}=n;if(!a){return t(n,i)}const d=new o(t,a,n,i);n={...n,maxRedirections:0};return t(n,d)}}e.exports=createRedirectInterceptor},1514:(e,t,n)=>{"use strict";const o=n(8754);e.exports=e=>{const t=e?.maxRedirections;return e=>function redirectInterceptor(n,i){const{maxRedirections:a=t,...d}=n;if(!a){return e(n,i)}const h=new o(e,a,n,i);return e(d,h)}}},2026:(e,t,n)=>{"use strict";const o=n(7816);e.exports=e=>t=>function retryInterceptor(n,i){return t(n,new o({...n,retryOptions:{...e,...n.retryOptions}},{handler:i,dispatch:t}))}},2824:(e,t,n)=>{"use strict";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 o=n(172);var i;(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"})(i=t.ERROR||(t.ERROR={}));var a;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(a=t.TYPE||(t.TYPE={}));var d;(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"})(d=t.FLAGS||(t.FLAGS={}));var h;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(h=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var m;(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"})(m=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[m.DELETE,m.GET,m.HEAD,m.POST,m.PUT,m.CONNECT,m.OPTIONS,m.TRACE,m.COPY,m.LOCK,m.MKCOL,m.MOVE,m.PROPFIND,m.PROPPATCH,m.SEARCH,m.UNLOCK,m.BIND,m.REBIND,m.UNBIND,m.ACL,m.REPORT,m.MKACTIVITY,m.CHECKOUT,m.MERGE,m["M-SEARCH"],m.NOTIFY,m.SUBSCRIBE,m.UNSUBSCRIBE,m.PATCH,m.PURGE,m.MKCALENDAR,m.LINK,m.UNLINK,m.PRI,m.SOURCE];t.METHODS_ICE=[m.SOURCE];t.METHODS_RTSP=[m.OPTIONS,m.DESCRIBE,m.ANNOUNCE,m.SETUP,m.PLAY,m.PAUSE,m.TEARDOWN,m.GET_PARAMETER,m.SET_PARAMETER,m.REDIRECT,m.RECORD,m.FLUSH,m.GET,m.POST];t.METHOD_MAP=o.enumToMap(m);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 f;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(f=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 Q;(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"})(Q=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:Q.CONNECTION,"content-length":Q.CONTENT_LENGTH,"proxy-connection":Q.CONNECTION,"transfer-encoding":Q.TRANSFER_ENCODING,upgrade:Q.UPGRADE}},3870:(e,t,n)=>{"use strict";const{Buffer:o}=n(4573);e.exports=o.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38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CACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA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kACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBh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QMM7QELQacBIQMgASAERg2FAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEHQzwBqLQAARw1AIABBCEYN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IUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgB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HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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QAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Oz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NgIQIAJBBzYCDEEAIQMMuAELIAJBADYCHCACIAE2AhQgAkGMHDYCECACQQc2AgxBACEDDLcBCyACQQA2AhwgAiABNgIUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADY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EVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")},172:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach(n=>{const o=e[n];if(typeof o==="number"){t[n]=o}});return t}t.enumToMap=enumToMap},7501:(e,t,n)=>{"use strict";const{kClients:o}=n(6443);const i=n(7405);const{kAgent:a,kMockAgentSet:d,kMockAgentGet:h,kDispatches:m,kIsMockActive:f,kNetConnect:Q,kGetNetConnect:k,kOptions:P,kFactory:L}=n(1117);const U=n(7365);const H=n(4004);const{matchValue:V,buildMockOptions:_}=n(3397);const{InvalidArgumentError:W,UndiciError:Y}=n(8707);const J=n(883);const j=n(1529);const K=n(6142);class MockAgent extends J{constructor(e){super(e);this[Q]=true;this[f]=true;if(e?.agent&&typeof e.agent.dispatch!=="function"){throw new W("Argument opts.agent must implement Agent")}const t=e?.agent?e.agent:new i(e);this[a]=t;this[o]=t[o];this[P]=_(e)}get(e){let t=this[h](e);if(!t){t=this[L](e);this[d](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[a].dispatch(e,t)}async close(){await this[a].close();this[o].clear()}deactivate(){this[f]=false}activate(){this[f]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[Q])){this[Q].push(e)}else{this[Q]=[e]}}else if(typeof e==="undefined"){this[Q]=true}else{throw new W("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[Q]=false}get isMockActive(){return this[f]}[d](e,t){this[o].set(e,t)}[L](e){const t=Object.assign({agent:this},this[P]);return this[P]&&this[P].connections===1?new U(e,t):new H(e,t)}[h](e){const t=this[o].get(e);if(t){return t}if(typeof e!=="string"){const t=this[L]("http://localhost:9999");this[d](e,t);return t}for(const[t,n]of Array.from(this[o])){if(n&&typeof t!=="string"&&V(t,e)){const t=this[L](e);this[d](e,t);t[m]=n[m];return t}}}[k](){return this[Q]}pendingInterceptors(){const e=this[o];return Array.from(e.entries()).flatMap(([e,t])=>t[m].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new K}={}){const t=this.pendingInterceptors();if(t.length===0){return}const n=new j("interceptor","interceptors").pluralize(t.length);throw new Y(`\n${n.count} ${n.noun} ${n.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},7365:(e,t,n)=>{"use strict";const{promisify:o}=n(7975);const i=n(3701);const{buildMockDispatch:a}=n(3397);const{kDispatches:d,kMockAgent:h,kClose:m,kOriginalClose:f,kOrigin:Q,kOriginalDispatch:k,kConnected:P}=n(1117);const{MockInterceptor:L}=n(1511);const U=n(6443);const{InvalidArgumentError:H}=n(8707);class MockClient extends i{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[h]=t.agent;this[Q]=e;this[d]=[];this[P]=1;this[k]=this.dispatch;this[f]=this.close.bind(this);this.dispatch=a.call(this);this.close=this[m]}get[U.kConnected](){return this[P]}intercept(e){return new L(e,this[d])}async[m](){await o(this[f])();this[P]=0;this[h][U.kClients].delete(this[Q])}}e.exports=MockClient},2429:(e,t,n)=>{"use strict";const{UndiciError:o}=n(8707);const i=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class MockNotMatchedError extends o{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"}static[Symbol.hasInstance](e){return e&&e[i]===true}[i]=true}e.exports={MockNotMatchedError:MockNotMatchedError}},1511:(e,t,n)=>{"use strict";const{getResponseData:o,buildKey:i,addMockDispatch:a}=n(3397);const{kDispatches:d,kDispatchKey:h,kDefaultHeaders:m,kDefaultTrailers:f,kContentLength:Q,kMockDispatch:k}=n(1117);const{InvalidArgumentError:P}=n(8707);const{buildURL:L}=n(3440);class MockScope{constructor(e){this[k]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new P("waitInMs must be a valid integer > 0")}this[k].delay=e;return this}persist(){this[k].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new P("repeatTimes must be a valid integer > 0")}this[k].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new P("opts must be an object")}if(typeof e.path==="undefined"){throw new P("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=L(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[h]=i(e);this[d]=t;this[m]={};this[f]={};this[Q]=false}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:n}){const i=o(t);const a=this[Q]?{"content-length":i.length}:{};const d={...this[m],...a,...n.headers};const h={...this[f],...n.trailers};return{statusCode:e,data:t,headers:d,trailers:h}}validateReplyParameters(e){if(typeof e.statusCode==="undefined"){throw new P("statusCode must be defined")}if(typeof e.responseOptions!=="object"||e.responseOptions===null){throw new P("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const n=e(t);if(typeof n!=="object"||n===null){throw new P("reply options callback must return an object")}const o={data:"",responseOptions:{},...n};this.validateReplyParameters(o);return{...this.createMockScopeDispatchData(o)}};const t=a(this[d],this[h],wrappedDefaultsCallback);return new MockScope(t)}const t={statusCode:e,data:arguments[1]===undefined?"":arguments[1],responseOptions:arguments[2]===undefined?{}:arguments[2]};this.validateReplyParameters(t);const n=this.createMockScopeDispatchData(t);const o=a(this[d],this[h],n);return new MockScope(o)}replyWithError(e){if(typeof e==="undefined"){throw new P("error must be defined")}const t=a(this[d],this[h],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new P("headers must be defined")}this[m]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new P("trailers must be defined")}this[f]=e;return this}replyContentLength(){this[Q]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},4004:(e,t,n)=>{"use strict";const{promisify:o}=n(7975);const i=n(628);const{buildMockDispatch:a}=n(3397);const{kDispatches:d,kMockAgent:h,kClose:m,kOriginalClose:f,kOrigin:Q,kOriginalDispatch:k,kConnected:P}=n(1117);const{MockInterceptor:L}=n(1511);const U=n(6443);const{InvalidArgumentError:H}=n(8707);class MockPool extends i{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[h]=t.agent;this[Q]=e;this[d]=[];this[P]=1;this[k]=this.dispatch;this[f]=this.close.bind(this);this.dispatch=a.call(this);this.close=this[m]}get[U.kConnected](){return this[P]}intercept(e){return new L(e,this[d])}async[m](){await o(this[f])();this[P]=0;this[h][U.kClients].delete(this[Q])}}e.exports=MockPool},1117:e=>{"use strict";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")}},3397:(e,t,n)=>{"use strict";const{MockNotMatchedError:o}=n(2429);const{kDispatches:i,kMockAgent:a,kOriginalDispatch:d,kOrigin:h,kGetNetConnect:m}=n(1117);const{buildURL:f}=n(3440);const{STATUS_CODES:Q}=n(7067);const{types:{isPromise:k}}=n(7975);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 n=0;n!e).filter(({path:e})=>matchValue(safeUrl(e),i));if(a.length===0){throw new o(`Mock dispatch not matched for path '${i}'`)}a=a.filter(({method:e})=>matchValue(e,t.method));if(a.length===0){throw new o(`Mock dispatch not matched for method '${t.method}' on path '${i}'`)}a=a.filter(({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true);if(a.length===0){throw new o(`Mock dispatch not matched for body '${t.body}' on path '${i}'`)}a=a.filter(e=>matchHeaders(e,t.headers));if(a.length===0){const e=typeof t.headers==="object"?JSON.stringify(t.headers):t.headers;throw new o(`Mock dispatch not matched for headers '${e}' on path '${i}'`)}return a[0]}function addMockDispatch(e,t,n){const o={timesInvoked:0,times:1,persist:false,consumed:false};const i=typeof n==="function"?{callback:n}:{...n};const a={...o,...t,pending:true,data:{error:null,...i}};e.push(a);return a}function deleteMockDispatch(e,t){const n=e.findIndex(e=>{if(!e.consumed){return false}return matchKey(e,t)});if(n!==-1){e.splice(n,1)}}function buildKey(e){const{path:t,method:n,body:o,headers:i,query:a}=e;return{path:t,method:n,body:o,headers:i,query:a}}function generateKeyValues(e){const t=Object.keys(e);const n=[];for(let o=0;o=U;o.pending=L0){setTimeout(()=>{handleReply(this[i])},Q)}else{handleReply(this[i])}function handleReply(o,i=d){const f=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const Q=typeof i==="function"?i({...e,headers:f}):i;if(k(Q)){Q.then(e=>handleReply(o,e));return}const P=getResponseData(Q);const L=generateKeyValues(h);const U=generateKeyValues(m);t.onConnect?.(e=>t.onError(e),null);t.onHeaders?.(a,L,resume,getStatusText(a));t.onData?.(Buffer.from(P));t.onComplete?.(U);deleteMockDispatch(o,n)}function resume(){}return true}function buildMockDispatch(){const e=this[a];const t=this[h];const n=this[d];return function dispatch(i,a){if(e.isMockActive){try{mockDispatch.call(this,i,a)}catch(d){if(d instanceof o){const h=e[m]();if(h===false){throw new o(`${d.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(h,t)){n.call(this,i,a)}else{throw new o(`${d.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw d}}}else{n.call(this,i,a)}}}function checkNetConnect(e,t){const n=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some(e=>matchValue(e,n.host))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...n}=e;return n}}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,buildHeadersFromArray:buildHeadersFromArray}},6142:(e,t,n)=>{"use strict";const{Transform:o}=n(7075);const{Console:i}=n(7540);const a=process.versions.icu?"✅":"Y ";const d=process.versions.icu?"❌":"N ";e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new o({transform(e,t,n){n(null,e)}});this.logger=new i({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map(({method:e,path:t,data:{statusCode:n},persist:o,times:i,timesInvoked:h,origin:m})=>({Method:e,Origin:m,Path:t,"Status code":n,Persistent:o?a:d,Invocations:h,Remaining:o?Infinity:i-h}));this.logger.table(t);return this.transform.read().toString()}}},1529:e=>{"use strict";const t={pronoun:"it",is:"is",was:"was",this:"this"};const n={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const o=e===1;const i=o?t:n;const a=o?this.singular:this.plural;return{...i,count:e,noun:a}}}},6603:e=>{"use strict";let t=0;const n=1e3;const o=(n>>1)-1;let i;const a=Symbol("kFastTimer");const d=[];const h=-2;const m=-1;const f=0;const Q=1;function onTick(){t+=o;let e=0;let n=d.length;while(e=i._idleStart+i._idleTimeout){i._state=m;i._idleStart=-1;i._onTimeout(i._timerArg)}if(i._state===m){i._state=h;if(--n!==0){d[e]=d[n]}}else{++e}}d.length=n;if(d.length!==0){refreshTimeout()}}function refreshTimeout(){if(i){i.refresh()}else{clearTimeout(i);i=setTimeout(onTick,o);if(i.unref){i.unref()}}}class FastTimer{[a]=true;_state=h;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,n){this._onTimeout=e;this._idleTimeout=t;this._timerArg=n;this.refresh()}refresh(){if(this._state===h){d.push(this)}if(!i||d.length===1){refreshTimeout()}this._state=f}clear(){this._state=m;this._idleStart=-1}}e.exports={setTimeout(e,t,o){return t<=n?setTimeout(e,t,o):new FastTimer(e,t,o)},clearTimeout(e){if(e[a]){e.clear()}else{clearTimeout(e)}},setFastTimeout(e,t,n){return new FastTimer(e,t,n)},clearFastTimeout(e){e.clear()},now(){return t},tick(e=0){t+=e-n+1;onTick();onTick()},reset(){t=0;d.length=0;clearTimeout(i);i=null},kFastTimer:a}},9634:(e,t,n)=>{"use strict";const{kConstruct:o}=n(109);const{urlEquals:i,getFieldValues:a}=n(6798);const{kEnumerableProperty:d,isDisturbed:h}=n(3440);const{webidl:m}=n(5893);const{Response:f,cloneResponse:Q,fromInnerResponse:k}=n(9051);const{Request:P,fromInnerRequest:L}=n(9967);const{kState:U}=n(3627);const{fetching:H}=n(4398);const{urlIsHttpHttpsScheme:V,createDeferredPromise:_,readAllBytes:W}=n(3168);const Y=n(4589);class Cache{#x;constructor(){if(arguments[0]!==o){m.illegalConstructor()}m.util.markAsUncloneable(this);this.#x=arguments[1]}async match(e,t={}){m.brandCheck(this,Cache);const n="Cache.match";m.argumentLengthCheck(arguments,1,n);e=m.converters.RequestInfo(e,n,"request");t=m.converters.CacheQueryOptions(t,n,"options");const o=this.#M(e,t,1);if(o.length===0){return}return o[0]}async matchAll(e=undefined,t={}){m.brandCheck(this,Cache);const n="Cache.matchAll";if(e!==undefined)e=m.converters.RequestInfo(e,n,"request");t=m.converters.CacheQueryOptions(t,n,"options");return this.#M(e,t)}async add(e){m.brandCheck(this,Cache);const t="Cache.add";m.argumentLengthCheck(arguments,1,t);e=m.converters.RequestInfo(e,t,"request");const n=[e];const o=this.addAll(n);return await o}async addAll(e){m.brandCheck(this,Cache);const t="Cache.addAll";m.argumentLengthCheck(arguments,1,t);const n=[];const o=[];for(let n of e){if(n===undefined){throw m.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]})}n=m.converters.RequestInfo(n);if(typeof n==="string"){continue}const e=n[U];if(!V(e.url)||e.method!=="GET"){throw m.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}}const i=[];for(const d of e){const e=new P(d)[U];if(!V(e.url)){throw m.errors.exception({header:t,message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";o.push(e);const h=_();i.push(H({request:e,processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){h.reject(m.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=a(e.headersList.get("vary"));for(const e of t){if(e==="*"){h.reject(m.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of i){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(e)}}));n.push(h.promise)}const d=Promise.all(n);const h=await d;const f=[];let Q=0;for(const e of h){const t={type:"put",request:o[Q],response:e};f.push(t);Q++}const k=_();let L=null;try{this.#v(f)}catch(e){L=e}queueMicrotask(()=>{if(L===null){k.resolve(undefined)}else{k.reject(L)}});return k.promise}async put(e,t){m.brandCheck(this,Cache);const n="Cache.put";m.argumentLengthCheck(arguments,2,n);e=m.converters.RequestInfo(e,n,"request");t=m.converters.Response(t,n,"response");let o=null;if(e instanceof P){o=e[U]}else{o=new P(e)[U]}if(!V(o.url)||o.method!=="GET"){throw m.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"})}const i=t[U];if(i.status===206){throw m.errors.exception({header:n,message:"Got 206 status"})}if(i.headersList.contains("vary")){const e=a(i.headersList.get("vary"));for(const t of e){if(t==="*"){throw m.errors.exception({header:n,message:"Got * vary field value"})}}}if(i.body&&(h(i.body.stream)||i.body.stream.locked)){throw m.errors.exception({header:n,message:"Response body is locked or disturbed"})}const d=Q(i);const f=_();if(i.body!=null){const e=i.body.stream;const t=e.getReader();W(t).then(f.resolve,f.reject)}else{f.resolve(undefined)}const k=[];const L={type:"put",request:o,response:d};k.push(L);const H=await f.promise;if(d.body!=null){d.body.source=H}const Y=_();let J=null;try{this.#v(k)}catch(e){J=e}queueMicrotask(()=>{if(J===null){Y.resolve()}else{Y.reject(J)}});return Y.promise}async delete(e,t={}){m.brandCheck(this,Cache);const n="Cache.delete";m.argumentLengthCheck(arguments,1,n);e=m.converters.RequestInfo(e,n,"request");t=m.converters.CacheQueryOptions(t,n,"options");let o=null;if(e instanceof P){o=e[U];if(o.method!=="GET"&&!t.ignoreMethod){return false}}else{Y(typeof e==="string");o=new P(e)[U]}const i=[];const a={type:"delete",request:o,options:t};i.push(a);const d=_();let h=null;let f;try{f=this.#v(i)}catch(e){h=e}queueMicrotask(()=>{if(h===null){d.resolve(!!f?.length)}else{d.reject(h)}});return d.promise}async keys(e=undefined,t={}){m.brandCheck(this,Cache);const n="Cache.keys";if(e!==undefined)e=m.converters.RequestInfo(e,n,"request");t=m.converters.CacheQueryOptions(t,n,"options");let o=null;if(e!==undefined){if(e instanceof P){o=e[U];if(o.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){o=new P(e)[U]}}const i=_();const a=[];if(e===undefined){for(const e of this.#x){a.push(e[0])}}else{const e=this.#T(o,t);for(const t of e){a.push(t[0])}}queueMicrotask(()=>{const e=[];for(const t of a){const n=L(t,(new AbortController).signal,"immutable");e.push(n)}i.resolve(Object.freeze(e))});return i.promise}#v(e){const t=this.#x;const n=[...t];const o=[];const i=[];try{for(const n of e){if(n.type!=="delete"&&n.type!=="put"){throw m.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(n.type==="delete"&&n.response!=null){throw m.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#T(n.request,n.options,o).length){throw new DOMException("???","InvalidStateError")}let e;if(n.type==="delete"){e=this.#T(n.request,n.options);if(e.length===0){return[]}for(const n of e){const e=t.indexOf(n);Y(e!==-1);t.splice(e,1)}}else if(n.type==="put"){if(n.response==null){throw m.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const i=n.request;if(!V(i.url)){throw m.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(i.method!=="GET"){throw m.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(n.options!=null){throw m.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#T(n.request);for(const n of e){const e=t.indexOf(n);Y(e!==-1);t.splice(e,1)}t.push([n.request,n.response]);o.push([n.request,n.response])}i.push([n.request,n.response])}return i}catch(e){this.#x.length=0;this.#x=n;throw e}}#T(e,t,n){const o=[];const i=n??this.#x;for(const n of i){const[i,a]=n;if(this.#N(e,i,a,t)){o.push(n)}}return o}#N(e,t,n=null,o){const d=new URL(e.url);const h=new URL(t.url);if(o?.ignoreSearch){h.search="";d.search=""}if(!i(d,h,true)){return false}if(n==null||o?.ignoreVary||!n.headersList.contains("vary")){return true}const m=a(n.headersList.get("vary"));for(const n of m){if(n==="*"){return false}const o=t.headersList.get(n);const i=e.headersList.get(n);if(o!==i){return false}}return true}#M(e,t,n=Infinity){let o=null;if(e!==undefined){if(e instanceof P){o=e[U];if(o.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){o=new P(e)[U]}}const i=[];if(e===undefined){for(const e of this.#x){i.push(e[1])}}else{const e=this.#T(o,t);for(const t of e){i.push(t[1])}}const a=[];for(const e of i){const t=k(e,"immutable");a.push(t.clone());if(a.length>=n){break}}return Object.freeze(a)}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:d,matchAll:d,add:d,addAll:d,put:d,delete:d,keys:d});const J=[{key:"ignoreSearch",converter:m.converters.boolean,defaultValue:()=>false},{key:"ignoreMethod",converter:m.converters.boolean,defaultValue:()=>false},{key:"ignoreVary",converter:m.converters.boolean,defaultValue:()=>false}];m.converters.CacheQueryOptions=m.dictionaryConverter(J);m.converters.MultiCacheQueryOptions=m.dictionaryConverter([...J,{key:"cacheName",converter:m.converters.DOMString}]);m.converters.Response=m.interfaceConverter(f);m.converters["sequence"]=m.sequenceConverter(m.converters.RequestInfo);e.exports={Cache:Cache}},3245:(e,t,n)=>{"use strict";const{kConstruct:o}=n(109);const{Cache:i}=n(9634);const{webidl:a}=n(5893);const{kEnumerableProperty:d}=n(3440);class CacheStorage{#k=new Map;constructor(){if(arguments[0]!==o){a.illegalConstructor()}a.util.markAsUncloneable(this)}async match(e,t={}){a.brandCheck(this,CacheStorage);a.argumentLengthCheck(arguments,1,"CacheStorage.match");e=a.converters.RequestInfo(e);t=a.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#k.has(t.cacheName)){const n=this.#k.get(t.cacheName);const a=new i(o,n);return await a.match(e,t)}}else{for(const n of this.#k.values()){const a=new i(o,n);const d=await a.match(e,t);if(d!==undefined){return d}}}}async has(e){a.brandCheck(this,CacheStorage);const t="CacheStorage.has";a.argumentLengthCheck(arguments,1,t);e=a.converters.DOMString(e,t,"cacheName");return this.#k.has(e)}async open(e){a.brandCheck(this,CacheStorage);const t="CacheStorage.open";a.argumentLengthCheck(arguments,1,t);e=a.converters.DOMString(e,t,"cacheName");if(this.#k.has(e)){const t=this.#k.get(e);return new i(o,t)}const n=[];this.#k.set(e,n);return new i(o,n)}async delete(e){a.brandCheck(this,CacheStorage);const t="CacheStorage.delete";a.argumentLengthCheck(arguments,1,t);e=a.converters.DOMString(e,t,"cacheName");return this.#k.delete(e)}async keys(){a.brandCheck(this,CacheStorage);const e=this.#k.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:d,has:d,open:d,delete:d,keys:d});e.exports={CacheStorage:CacheStorage}},109:(e,t,n)=>{"use strict";e.exports={kConstruct:n(6443).kConstruct}},6798:(e,t,n)=>{"use strict";const o=n(4589);const{URLSerializer:i}=n(1900);const{isValidHeaderName:a}=n(3168);function urlEquals(e,t,n=false){const o=i(e,n);const a=i(t,n);return o===a}function getFieldValues(e){o(e!==null);const t=[];for(let n of e.split(",")){n=n.trim();if(a(n)){t.push(n)}}return t}e.exports={urlEquals:urlEquals,getFieldValues:getFieldValues}},1276:e=>{"use strict";const t=1024;const n=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:n}},9061:(e,t,n)=>{"use strict";const{parseSetCookie:o}=n(1978);const{stringify:i}=n(7797);const{webidl:a}=n(5893);const{Headers:d}=n(660);function getCookies(e){a.argumentLengthCheck(arguments,1,"getCookies");a.brandCheck(e,d,{strict:false});const t=e.get("cookie");const n={};if(!t){return n}for(const e of t.split(";")){const[t,...o]=e.split("=");n[t.trim()]=o.join("=")}return n}function deleteCookie(e,t,n){a.brandCheck(e,d,{strict:false});const o="deleteCookie";a.argumentLengthCheck(arguments,2,o);t=a.converters.DOMString(t,o,"name");n=a.converters.DeleteCookieAttributes(n);setCookie(e,{name:t,value:"",expires:new Date(0),...n})}function getSetCookies(e){a.argumentLengthCheck(arguments,1,"getSetCookies");a.brandCheck(e,d,{strict:false});const t=e.getSetCookie();if(!t){return[]}return t.map(e=>o(e))}function setCookie(e,t){a.argumentLengthCheck(arguments,2,"setCookie");a.brandCheck(e,d,{strict:false});t=a.converters.Cookie(t);const n=i(t);if(n){e.append("Set-Cookie",n)}}a.converters.DeleteCookieAttributes=a.dictionaryConverter([{converter:a.nullableConverter(a.converters.DOMString),key:"path",defaultValue:()=>null},{converter:a.nullableConverter(a.converters.DOMString),key:"domain",defaultValue:()=>null}]);a.converters.Cookie=a.dictionaryConverter([{converter:a.converters.DOMString,key:"name"},{converter:a.converters.DOMString,key:"value"},{converter:a.nullableConverter(e=>{if(typeof e==="number"){return a.converters["unsigned long long"](e)}return new Date(e)}),key:"expires",defaultValue:()=>null},{converter:a.nullableConverter(a.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:a.nullableConverter(a.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:a.nullableConverter(a.converters.DOMString),key:"path",defaultValue:()=>null},{converter:a.nullableConverter(a.converters.boolean),key:"secure",defaultValue:()=>null},{converter:a.nullableConverter(a.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:a.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:a.sequenceConverter(a.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},1978:(e,t,n)=>{"use strict";const{maxNameValuePairSize:o,maxAttributeValueSize:i}=n(1276);const{isCTLExcludingHtab:a}=n(7797);const{collectASequenceOfCodePointsFast:d}=n(1900);const h=n(4589);function parseSetCookie(e){if(a(e)){return null}let t="";let n="";let i="";let h="";if(e.includes(";")){const o={position:0};t=d(";",e,o);n=e.slice(o.position)}else{t=e}if(!t.includes("=")){h=t}else{const e={position:0};i=d("=",t,e);h=t.slice(e.position+1)}i=i.trim();h=h.trim();if(i.length+h.length>o){return null}return{name:i,value:h,...parseUnparsedAttributes(n)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}h(e[0]===";");e=e.slice(1);let n="";if(e.includes(";")){n=d(";",e,{position:0});e=e.slice(n.length)}else{n=e;e=""}let o="";let a="";if(n.includes("=")){const e={position:0};o=d("=",n,e);a=n.slice(e.position+1)}else{o=n}o=o.trim();a=a.trim();if(a.length>i){return parseUnparsedAttributes(e,t)}const m=o.toLowerCase();if(m==="expires"){const e=new Date(a);t.expires=e}else if(m==="max-age"){const n=a.charCodeAt(0);if((n<48||n>57)&&a[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(a)){return parseUnparsedAttributes(e,t)}const o=Number(a);t.maxAge=o}else if(m==="domain"){let e=a;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(m==="path"){let e="";if(a.length===0||a[0]!=="/"){e="/"}else{e=a}t.path=e}else if(m==="secure"){t.secure=true}else if(m==="httponly"){t.httpOnly=true}else if(m==="samesite"){let e="Default";const n=a.toLowerCase();if(n.includes("none")){e="None"}if(n.includes("strict")){e="Strict"}if(n.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${o}=${a}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},7797:e=>{"use strict";function isCTLExcludingHtab(e){for(let t=0;t=0&&n<=8||n>=10&&n<=31||n===127){return true}}return false}function validateCookieName(e){for(let t=0;t126||n===34||n===40||n===41||n===60||n===62||n===64||n===44||n===59||n===58||n===92||n===47||n===91||n===93||n===63||n===61||n===123||n===125){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){let t=e.length;let n=0;if(e[0]==='"'){if(t===1||e[t-1]!=='"'){throw new Error("Invalid cookie value")}--t;++n}while(n126||t===34||t===44||t===59||t===92){throw new Error("Invalid cookie value")}}}function validateCookiePath(e){for(let t=0;tt.toString().padStart(2,"0"));function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}return`${t[e.getUTCDay()]}, ${o[e.getUTCDate()]} ${n[e.getUTCMonth()]} ${e.getUTCFullYear()} ${o[e.getUTCHours()]}:${o[e.getUTCMinutes()]}:${o[e.getUTCSeconds()]} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const n of e.unparsed){if(!n.includes("=")){throw new Error("Invalid unparsed")}const[e,...o]=n.split("=");t.push(`${e.trim()}=${o.join("=")}`)}return t.join("; ")}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},4031:(e,t,n)=>{"use strict";const{Transform:o}=n(7075);const{isASCIINumber:i,isValidLastEventId:a}=n(4811);const d=[239,187,191];const h=10;const m=13;const f=58;const Q=32;class EventSourceStream extends o{state=null;checkBOM=true;crlfCheck=false;eventEndCheck=false;buffer=null;pos=0;event={data:undefined,event:undefined,id:undefined,retry:undefined};constructor(e={}){e.readableObjectMode=true;super(e);this.state=e.eventSourceSettings||{};if(e.push){this.push=e.push}}_transform(e,t,n){if(e.length===0){n();return}if(this.buffer){this.buffer=Buffer.concat([this.buffer,e])}else{this.buffer=e}if(this.checkBOM){switch(this.buffer.length){case 1:if(this.buffer[0]===d[0]){n();return}this.checkBOM=false;n();return;case 2:if(this.buffer[0]===d[0]&&this.buffer[1]===d[1]){n();return}this.checkBOM=false;break;case 3:if(this.buffer[0]===d[0]&&this.buffer[1]===d[1]&&this.buffer[2]===d[2]){this.buffer=Buffer.alloc(0);this.checkBOM=false;n();return}this.checkBOM=false;break;default:if(this.buffer[0]===d[0]&&this.buffer[1]===d[1]&&this.buffer[2]===d[2]){this.buffer=this.buffer.subarray(3)}this.checkBOM=false;break}}while(this.pos0){t[o]=d}break}}processEvent(e){if(e.retry&&i(e.retry)){this.state.reconnectionTime=parseInt(e.retry,10)}if(e.id&&a(e.id)){this.state.lastEventId=e.id}if(e.data!==undefined){this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}}clearEvent(){this.event={data:undefined,event:undefined,id:undefined,retry:undefined}}}e.exports={EventSourceStream:EventSourceStream}},1238:(e,t,n)=>{"use strict";const{pipeline:o}=n(7075);const{fetching:i}=n(4398);const{makeRequest:a}=n(9967);const{webidl:d}=n(5893);const{EventSourceStream:h}=n(4031);const{parseMIMEType:m}=n(1900);const{createFastMessageEvent:f}=n(5188);const{isNetworkError:Q}=n(9051);const{delay:k}=n(4811);const{kEnumerableProperty:P}=n(3440);const{environmentSettingsObject:L}=n(3168);let U=false;const H=3e3;const V=0;const _=1;const W=2;const Y="anonymous";const J="use-credentials";class EventSource extends EventTarget{#P={open:null,error:null,message:null};#F=null;#L=false;#U=V;#O=null;#$=null;#e;#C;constructor(e,t={}){super();d.util.markAsUncloneable(this);const n="EventSource constructor";d.argumentLengthCheck(arguments,1,n);if(!U){U=true;process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})}e=d.converters.USVString(e,n,"url");t=d.converters.EventSourceInitDict(t,n,"eventSourceInitDict");this.#e=t.dispatcher;this.#C={lastEventId:"",reconnectionTime:H};const o=L;let i;try{i=new URL(e,o.settingsObject.baseUrl);this.#C.origin=i.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#F=i.href;let h=Y;if(t.withCredentials){h=J;this.#L=true}const m={redirect:"follow",keepalive:true,mode:"cors",credentials:h==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};m.client=L.settingsObject;m.headersList=[["accept",{name:"accept",value:"text/event-stream"}]];m.cache="no-store";m.initiator="other";m.urlList=[new URL(this.#F)];this.#O=a(m);this.#G()}get readyState(){return this.#U}get url(){return this.#F}get withCredentials(){return this.#L}#G(){if(this.#U===W)return;this.#U=V;const e={request:this.#O,dispatcher:this.#e};const processEventSourceEndOfBody=e=>{if(Q(e)){this.dispatchEvent(new Event("error"));this.close()}this.#H()};e.processResponseEndOfBody=processEventSourceEndOfBody;e.processResponse=e=>{if(Q(e)){if(e.aborted){this.close();this.dispatchEvent(new Event("error"));return}else{this.#H();return}}const t=e.headersList.get("content-type",true);const n=t!==null?m(t):"failure";const i=n!=="failure"&&n.essence==="text/event-stream";if(e.status!==200||i===false){this.close();this.dispatchEvent(new Event("error"));return}this.#U=_;this.dispatchEvent(new Event("open"));this.#C.origin=e.urlList[e.urlList.length-1].origin;const a=new h({eventSourceSettings:this.#C,push:e=>{this.dispatchEvent(f(e.type,e.options))}});o(e.body.stream,a,e=>{if(e?.aborted===false){this.close();this.dispatchEvent(new Event("error"))}})};this.#$=i(e)}async#H(){if(this.#U===W)return;this.#U=V;this.dispatchEvent(new Event("error"));await k(this.#C.reconnectionTime);if(this.#U!==V)return;if(this.#C.lastEventId.length){this.#O.headersList.set("last-event-id",this.#C.lastEventId,true)}this.#G()}close(){d.brandCheck(this,EventSource);if(this.#U===W)return;this.#U=W;this.#$.abort();this.#O=null}get onopen(){return this.#P.open}set onopen(e){if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof e==="function"){this.#P.open=e;this.addEventListener("open",e)}else{this.#P.open=null}}get onmessage(){return this.#P.message}set onmessage(e){if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof e==="function"){this.#P.message=e;this.addEventListener("message",e)}else{this.#P.message=null}}get onerror(){return this.#P.error}set onerror(e){if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof e==="function"){this.#P.error=e;this.addEventListener("error",e)}else{this.#P.error=null}}}const j={CONNECTING:{__proto__:null,configurable:false,enumerable:true,value:V,writable:false},OPEN:{__proto__:null,configurable:false,enumerable:true,value:_,writable:false},CLOSED:{__proto__:null,configurable:false,enumerable:true,value:W,writable:false}};Object.defineProperties(EventSource,j);Object.defineProperties(EventSource.prototype,j);Object.defineProperties(EventSource.prototype,{close:P,onerror:P,onmessage:P,onopen:P,readyState:P,url:P,withCredentials:P});d.converters.EventSourceInitDict=d.dictionaryConverter([{key:"withCredentials",converter:d.converters.boolean,defaultValue:()=>false},{key:"dispatcher",converter:d.converters.any}]);e.exports={EventSource:EventSource,defaultReconnectionTime:H}},4811:e=>{"use strict";function isValidLastEventId(e){return e.indexOf("\0")===-1}function isASCIINumber(e){if(e.length===0)return false;for(let t=0;t57)return false}return true}function delay(e){return new Promise(t=>{setTimeout(t,e).unref()})}e.exports={isValidLastEventId:isValidLastEventId,isASCIINumber:isASCIINumber,delay:delay}},4492:(e,t,n)=>{"use strict";const o=n(3440);const{ReadableStreamFrom:i,isBlobLike:a,isReadableStreamLike:d,readableStreamClose:h,createDeferredPromise:m,fullyReadBody:f,extractMimeType:Q,utf8DecodeBytes:k}=n(3168);const{FormData:P}=n(5910);const{kState:L}=n(3627);const{webidl:U}=n(5893);const{Blob:H}=n(4573);const V=n(4589);const{isErrored:_,isDisturbed:W}=n(7075);const{isArrayBuffer:Y}=n(3429);const{serializeAMimeType:J}=n(1900);const{multipartFormDataParser:j}=n(116);let K;try{const e=n(7598);K=t=>e.randomInt(0,t)}catch{K=e=>Math.floor(Math.random(e))}const X=new TextEncoder;function noop(){}const Z=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0;let ee;if(Z){ee=new FinalizationRegistry(e=>{const t=e.deref();if(t&&!t.locked&&!W(t)&&!_(t)){t.cancel("Response object has been garbage collected").catch(noop)}})}function extractBody(e,t=false){let n=null;if(e instanceof ReadableStream){n=e}else if(a(e)){n=e.stream()}else{n=new ReadableStream({async pull(e){const t=typeof f==="string"?X.encode(f):f;if(t.byteLength){e.enqueue(t)}queueMicrotask(()=>h(e))},start(){},type:"bytes"})}V(d(n));let m=null;let f=null;let Q=null;let k=null;if(typeof e==="string"){f=e;k="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){f=e.toString();k="application/x-www-form-urlencoded;charset=UTF-8"}else if(Y(e)){f=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){f=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(o.isFormDataLike(e)){const t=`----formdata-undici-0${`${K(1e11)}`.padStart(11,"0")}`;const n=`--${t}\r\nContent-Disposition: form-data` +/*! 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 o=[];const i=new Uint8Array([13,10]);Q=0;let a=false;for(const[t,d]of e){if(typeof d==="string"){const e=X.encode(n+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(d)}\r\n`);o.push(e);Q+=e.byteLength}else{const e=X.encode(`${n}; name="${escape(normalizeLinefeeds(t))}"`+(d.name?`; filename="${escape(d.name)}"`:"")+"\r\n"+`Content-Type: ${d.type||"application/octet-stream"}\r\n\r\n`);o.push(e,d,i);if(typeof d.size==="number"){Q+=e.byteLength+d.size+i.byteLength}else{a=true}}}const d=X.encode(`--${t}--\r\n`);o.push(d);Q+=d.byteLength;if(a){Q=null}f=e;m=async function*(){for(const e of o){if(e.stream){yield*e.stream()}else{yield e}}};k=`multipart/form-data; boundary=${t}`}else if(a(e)){f=e;Q=e.size;if(e.type){k=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 ReadableStream?e:i(e)}if(typeof f==="string"||o.isBuffer(f)){Q=Buffer.byteLength(f)}if(m!=null){let t;n=new ReadableStream({async start(){t=m(e)[Symbol.asyncIterator]()},async pull(e){const{value:o,done:i}=await t.next();if(i){queueMicrotask(()=>{e.close();e.byobRequest?.respond(0)})}else{if(!_(n)){const t=new Uint8Array(o);if(t.byteLength){e.enqueue(t)}}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}const P={stream:n,source:f,length:Q};return[P,k]}function safelyExtractBody(e,t=false){if(e instanceof ReadableStream){V(!o.isDisturbed(e),"The body has already been consumed.");V(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e,t){const[n,o]=t.stream.tee();t.stream=n;return{stream:o,length:t.length,source:t.source}}function throwIfAborted(e){if(e.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return consumeBody(this,e=>{let t=bodyMimeType(this);if(t===null){t=""}else if(t){t=J(t)}return new H([e],{type:t})},e)},arrayBuffer(){return consumeBody(this,e=>new Uint8Array(e).buffer,e)},text(){return consumeBody(this,k,e)},json(){return consumeBody(this,parseJSONFromBytes,e)},formData(){return consumeBody(this,e=>{const t=bodyMimeType(this);if(t!==null){switch(t.essence){case"multipart/form-data":{const n=j(e,t);if(n==="failure"){throw new TypeError("Failed to parse body as FormData.")}const o=new P;o[L]=n;return o}case"application/x-www-form-urlencoded":{const t=new URLSearchParams(e.toString());const n=new P;for(const[e,o]of t){n.append(e,o)}return n}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e)},bytes(){return consumeBody(this,e=>new Uint8Array(e),e)}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function consumeBody(e,t,n){U.brandCheck(e,n);if(bodyUnusable(e)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(e[L]);const o=m();const errorSteps=e=>o.reject(e);const successSteps=e=>{try{o.resolve(t(e))}catch(e){errorSteps(e)}};if(e[L].body==null){successSteps(Buffer.allocUnsafe(0));return o.promise}await f(e[L].body,successSteps,errorSteps);return o.promise}function bodyUnusable(e){const t=e[L].body;return t!=null&&(t.stream.locked||o.isDisturbed(t.stream))}function parseJSONFromBytes(e){return JSON.parse(k(e))}function bodyMimeType(e){const t=e[L].headersList;const n=Q(t);if(n==="failure"){return null}return n}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:ee,hasFinalizationRegistry:Z,bodyUnusable:bodyUnusable}},4495:e=>{"use strict";const t=["GET","HEAD","POST"];const n=new Set(t);const o=[101,204,205,304];const i=[301,302,303,307,308];const a=new Set(i);const d=["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","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const h=new Set(d);const m=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const f=new Set(m);const Q=["follow","manual","error"];const k=["GET","HEAD","OPTIONS","TRACE"];const P=new Set(k);const L=["navigate","same-origin","no-cors","cors"];const U=["omit","same-origin","include"];const H=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const V=["content-encoding","content-language","content-location","content-type","content-length"];const _=["half"];const W=["CONNECT","TRACE","TRACK"];const Y=new Set(W);const J=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const j=new Set(J);e.exports={subresource:J,forbiddenMethods:W,requestBodyHeader:V,referrerPolicy:m,requestRedirect:Q,requestMode:L,requestCredentials:U,requestCache:H,redirectStatus:i,corsSafeListedMethods:t,nullBodyStatus:o,safeMethods:k,badPorts:d,requestDuplex:_,subresourceSet:j,badPortsSet:h,redirectStatusSet:a,corsSafeListedMethodsSet:n,safeMethodsSet:P,forbiddenMethodsSet:Y,referrerPolicySet:f}},1900:(e,t,n)=>{"use strict";const o=n(4589);const i=new TextEncoder;const a=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/;const d=/[\u000A\u000D\u0009\u0020]/;const h=/[\u0009\u000A\u000C\u000D\u0020]/g;const m=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dataURLProcessor(e){o(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const n={position:0};let i=collectASequenceOfCodePointsFast(",",t,n);const a=i.length;i=removeASCIIWhitespace(i,true,true);if(n.position>=t.length){return"failure"}n.position++;const d=t.slice(a+1);let h=stringPercentDecode(d);if(/;(\u0020){0,}base64$/i.test(i)){const e=isomorphicDecode(h);h=forgivingBase64(e);if(h==="failure"){return"failure"}i=i.slice(0,-6);i=i.replace(/(\u0020)+$/,"");i=i.slice(0,-1)}if(i.startsWith(";")){i="text/plain"+i}let m=parseMIMEType(i);if(m==="failure"){m=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:m,body:h}}function URLSerializer(e,t=false){if(!t){return e.href}const n=e.href;const o=e.hash.length;const i=o===0?n:n.substring(0,n.length-o);if(!o&&n.endsWith("#")){return i.slice(0,-1)}return i}function collectASequenceOfCodePoints(e,t,n){let o="";while(n.position=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexByteToNumber(e){return e>=48&&e<=57?e-48:(e&223)-55}function percentDecode(e){const t=e.length;const n=new Uint8Array(t);let o=0;for(let i=0;ie.length){return"failure"}t.position++;let o=collectASequenceOfCodePointsFast(";",e,t);o=removeHTTPWhitespace(o,false,true);if(o.length===0||!a.test(o)){return"failure"}const i=n.toLowerCase();const h=o.toLowerCase();const f={type:i,subtype:h,parameters:new Map,essence:`${i}/${h}`};while(t.positiond.test(e),e,t);let n=collectASequenceOfCodePoints(e=>e!==";"&&e!=="=",e,t);n=n.toLowerCase();if(t.positione.length){break}let o=null;if(e[t.position]==='"'){o=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{o=collectASequenceOfCodePointsFast(";",e,t);o=removeHTTPWhitespace(o,false,true);if(o.length===0){continue}}if(n.length!==0&&a.test(n)&&(o.length===0||m.test(o))&&!f.parameters.has(n)){f.parameters.set(n,o)}}return f}function forgivingBase64(e){e=e.replace(h,"");let t=e.length;if(t%4===0){if(e.charCodeAt(t-1)===61){--t;if(e.charCodeAt(t-1)===61){--t}}}if(t%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t))){return"failure"}const n=Buffer.from(e,"base64");return new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}function collectAnHTTPQuotedString(e,t,n){const i=t.position;let a="";o(e[t.position]==='"');t.position++;while(true){a+=collectASequenceOfCodePoints(e=>e!=='"'&&e!=="\\",e,t);if(t.position>=e.length){break}const n=e[t.position];t.position++;if(n==="\\"){if(t.position>=e.length){a+="\\";break}a+=e[t.position];t.position++}else{o(n==='"');break}}if(n){return a}return e.slice(i,t.position)}function serializeAMimeType(e){o(e!=="failure");const{parameters:t,essence:n}=e;let i=n;for(let[e,n]of t.entries()){i+=";";i+=e;i+="=";if(!a.test(n)){n=n.replace(/(\\|")/g,"\\$1");n='"'+n;n+='"'}i+=n}return i}function isHTTPWhiteSpace(e){return e===13||e===10||e===9||e===32}function removeHTTPWhitespace(e,t=true,n=true){return removeChars(e,t,n,isHTTPWhiteSpace)}function isASCIIWhitespace(e){return e===13||e===10||e===9||e===12||e===32}function removeASCIIWhitespace(e,t=true,n=true){return removeChars(e,t,n,isASCIIWhitespace)}function removeChars(e,t,n,o){let i=0;let a=e.length-1;if(t){while(i0&&o(e.charCodeAt(a)))a--}return i===0&&a===e.length-1?e:e.slice(i,a+1)}function isomorphicDecode(e){const t=e.length;if((2<<15)-1>t){return String.fromCharCode.apply(null,e)}let n="";let o=0;let i=(2<<15)-1;while(ot){i=t-o}n+=String.fromCharCode.apply(null,e.subarray(o,o+=i))}return n}function minimizeSupportedMimeType(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}if(e.subtype.endsWith("+json")){return"application/json"}if(e.subtype.endsWith("+xml")){return"application/xml"}return""}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType,removeChars:removeChars,removeHTTPWhitespace:removeHTTPWhitespace,minimizeSupportedMimeType:minimizeSupportedMimeType,HTTP_TOKEN_CODEPOINTS:a,isomorphicDecode:isomorphicDecode}},6653:(e,t,n)=>{"use strict";const{kConnected:o,kSize:i}=n(6443);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[o]===0&&this.value[i]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",()=>{if(e[o]===0&&e[i]===0){this.finalizer(t)}})}}unregister(e){}}e.exports=function(){if(process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")){process._rawDebug("Using compatibility WeakRef and FinalizationRegistry");return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:WeakRef,FinalizationRegistry:FinalizationRegistry}}},7114:(e,t,n)=>{"use strict";const{Blob:o,File:i}=n(4573);const{kState:a}=n(3627);const{webidl:d}=n(5893);class FileLike{constructor(e,t,n={}){const o=t;const i=n.type;const d=n.lastModified??Date.now();this[a]={blobLike:e,name:o,type:i,lastModified:d}}stream(...e){d.brandCheck(this,FileLike);return this[a].blobLike.stream(...e)}arrayBuffer(...e){d.brandCheck(this,FileLike);return this[a].blobLike.arrayBuffer(...e)}slice(...e){d.brandCheck(this,FileLike);return this[a].blobLike.slice(...e)}text(...e){d.brandCheck(this,FileLike);return this[a].blobLike.text(...e)}get size(){d.brandCheck(this,FileLike);return this[a].blobLike.size}get type(){d.brandCheck(this,FileLike);return this[a].blobLike.type}get name(){d.brandCheck(this,FileLike);return this[a].name}get lastModified(){d.brandCheck(this,FileLike);return this[a].lastModified}get[Symbol.toStringTag](){return"File"}}d.converters.Blob=d.interfaceConverter(o);function isFileLike(e){return e instanceof i||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={FileLike:FileLike,isFileLike:isFileLike}},116:(e,t,n)=>{"use strict";const{isUSVString:o,bufferToLowerCasedHeaderName:i}=n(3440);const{utf8DecodeBytes:a}=n(3168);const{HTTP_TOKEN_CODEPOINTS:d,isomorphicDecode:h}=n(1900);const{isFileLike:m}=n(7114);const{makeEntry:f}=n(5910);const Q=n(4589);const{File:k}=n(4573);const P=globalThis.File??k;const L=Buffer.from('form-data; name="');const U=Buffer.from("; filename");const H=Buffer.from("--");const V=Buffer.from("--\r\n");function isAsciiString(e){for(let t=0;t70){return false}for(let n=0;n=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===39||t===45||t===95)){return false}}return true}function multipartFormDataParser(e,t){Q(t!=="failure"&&t.essence==="multipart/form-data");const n=t.parameters.get("boundary");if(n===undefined){return"failure"}const i=Buffer.from(`--${n}`,"utf8");const d=[];const h={position:0};while(e[h.position]===13&&e[h.position+1]===10){h.position+=2}let k=e.length;while(e[k-1]===10&&e[k-2]===13){k-=2}if(k!==e.length){e=e.subarray(0,k)}while(true){if(e.subarray(h.position,h.position+i.length).equals(i)){h.position+=i.length}else{return"failure"}if(h.position===e.length-2&&bufferStartsWith(e,H,h)||h.position===e.length-4&&bufferStartsWith(e,V,h)){return d}if(e[h.position]!==13||e[h.position+1]!==10){return"failure"}h.position+=2;const t=parseMultipartFormDataHeaders(e,h);if(t==="failure"){return"failure"}let{name:n,filename:k,contentType:L,encoding:U}=t;h.position+=2;let _;{const t=e.indexOf(i.subarray(2),h.position);if(t===-1){return"failure"}_=e.subarray(h.position,t-4);h.position+=_.length;if(U==="base64"){_=Buffer.from(_.toString(),"base64")}}if(e[h.position]!==13||e[h.position+1]!==10){return"failure"}else{h.position+=2}let W;if(k!==null){L??="text/plain";if(!isAsciiString(L)){L=""}W=new P([_],k,{type:L})}else{W=a(Buffer.from(_))}Q(o(n));Q(typeof W==="string"&&o(W)||m(W));d.push(f(n,W,k))}}function parseMultipartFormDataHeaders(e,t){let n=null;let o=null;let a=null;let m=null;while(true){if(e[t.position]===13&&e[t.position+1]===10){if(n===null){return"failure"}return{name:n,filename:o,contentType:a,encoding:m}}let f=collectASequenceOfBytes(e=>e!==10&&e!==13&&e!==58,e,t);f=removeChars(f,true,true,e=>e===9||e===32);if(!d.test(f.toString())){return"failure"}if(e[t.position]!==58){return"failure"}t.position++;collectASequenceOfBytes(e=>e===32||e===9,e,t);switch(i(f)){case"content-disposition":{n=o=null;if(!bufferStartsWith(e,L,t)){return"failure"}t.position+=17;n=parseMultipartFormDataName(e,t);if(n===null){return"failure"}if(bufferStartsWith(e,U,t)){let n=t.position+U.length;if(e[n]===42){t.position+=1;n+=1}if(e[n]!==61||e[n+1]!==34){return"failure"}t.position+=12;o=parseMultipartFormDataName(e,t);if(o===null){return"failure"}}break}case"content-type":{let n=collectASequenceOfBytes(e=>e!==10&&e!==13,e,t);n=removeChars(n,false,true,e=>e===9||e===32);a=h(n);break}case"content-transfer-encoding":{let n=collectASequenceOfBytes(e=>e!==10&&e!==13,e,t);n=removeChars(n,false,true,e=>e===9||e===32);m=h(n);break}default:{collectASequenceOfBytes(e=>e!==10&&e!==13,e,t)}}if(e[t.position]!==13&&e[t.position+1]!==10){return"failure"}else{t.position+=2}}}function parseMultipartFormDataName(e,t){Q(e[t.position-1]===34);let n=collectASequenceOfBytes(e=>e!==10&&e!==13&&e!==34,e,t);if(e[t.position]!==34){return null}else{t.position++}n=(new TextDecoder).decode(n).replace(/%0A/gi,"\n").replace(/%0D/gi,"\r").replace(/%22/g,'"');return n}function collectASequenceOfBytes(e,t,n){let o=n.position;while(o0&&o(e[a]))a--}return i===0&&a===e.length-1?e:e.subarray(i,a+1)}function bufferStartsWith(e,t,n){if(e.length{"use strict";const{isBlobLike:o,iteratorMixin:i}=n(3168);const{kState:a}=n(3627);const{kEnumerableProperty:d}=n(3440);const{FileLike:h,isFileLike:m}=n(7114);const{webidl:f}=n(5893);const{File:Q}=n(4573);const k=n(7975);const P=globalThis.File??Q;class FormData{constructor(e){f.util.markAsUncloneable(this);if(e!==undefined){throw f.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[a]=[]}append(e,t,n=undefined){f.brandCheck(this,FormData);const i="FormData.append";f.argumentLengthCheck(arguments,2,i);if(arguments.length===3&&!o(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=f.converters.USVString(e,i,"name");t=o(t)?f.converters.Blob(t,i,"value",{strict:false}):f.converters.USVString(t,i,"value");n=arguments.length===3?f.converters.USVString(n,i,"filename"):undefined;const d=makeEntry(e,t,n);this[a].push(d)}delete(e){f.brandCheck(this,FormData);const t="FormData.delete";f.argumentLengthCheck(arguments,1,t);e=f.converters.USVString(e,t,"name");this[a]=this[a].filter(t=>t.name!==e)}get(e){f.brandCheck(this,FormData);const t="FormData.get";f.argumentLengthCheck(arguments,1,t);e=f.converters.USVString(e,t,"name");const n=this[a].findIndex(t=>t.name===e);if(n===-1){return null}return this[a][n].value}getAll(e){f.brandCheck(this,FormData);const t="FormData.getAll";f.argumentLengthCheck(arguments,1,t);e=f.converters.USVString(e,t,"name");return this[a].filter(t=>t.name===e).map(e=>e.value)}has(e){f.brandCheck(this,FormData);const t="FormData.has";f.argumentLengthCheck(arguments,1,t);e=f.converters.USVString(e,t,"name");return this[a].findIndex(t=>t.name===e)!==-1}set(e,t,n=undefined){f.brandCheck(this,FormData);const i="FormData.set";f.argumentLengthCheck(arguments,2,i);if(arguments.length===3&&!o(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=f.converters.USVString(e,i,"name");t=o(t)?f.converters.Blob(t,i,"name",{strict:false}):f.converters.USVString(t,i,"name");n=arguments.length===3?f.converters.USVString(n,i,"name"):undefined;const d=makeEntry(e,t,n);const h=this[a].findIndex(t=>t.name===e);if(h!==-1){this[a]=[...this[a].slice(0,h),d,...this[a].slice(h+1).filter(t=>t.name!==e)]}else{this[a].push(d)}}[k.inspect.custom](e,t){const n=this[a].reduce((e,t)=>{if(e[t.name]){if(Array.isArray(e[t.name])){e[t.name].push(t.value)}else{e[t.name]=[e[t.name],t.value]}}else{e[t.name]=t.value}return e},{__proto__:null});t.depth??=e;t.colors??=true;const o=k.formatWithOptions(t,n);return`FormData ${o.slice(o.indexOf("]")+2)}`}}i("FormData",FormData,a,"name","value");Object.defineProperties(FormData.prototype,{append:d,delete:d,get:d,getAll:d,has:d,set:d,[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,n){if(typeof t==="string"){}else{if(!m(t)){t=t instanceof Blob?new P([t],"blob",{type:t.type}):new h(t,"blob",{type:t.type})}if(n!==undefined){const e={type:t.type,lastModified:t.lastModified};t=t instanceof Q?new P([t],n,e):new h(t,n,e)}}return{name:e,value:t}}e.exports={FormData:FormData,makeEntry:makeEntry}},1059:e=>{"use strict";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 n=new URL(e);if(n.protocol!=="http:"&&n.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${n.protocol}`)}Object.defineProperty(globalThis,t,{value:n,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},660:(e,t,n)=>{"use strict";const{kConstruct:o}=n(6443);const{kEnumerableProperty:i}=n(3440);const{iteratorMixin:a,isValidHeaderName:d,isValidHeaderValue:h}=n(3168);const{webidl:m}=n(5893);const f=n(4589);const Q=n(7975);const k=Symbol("headers map");const P=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let n=e.length;while(n>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(n-1)))--n;while(n>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&n===e.length?e:e.substring(t,n)}function fill(e,t){if(Array.isArray(t)){for(let n=0;n>","record"]})}}function appendHeader(e,t,n){n=headerValueNormalize(n);if(!d(t)){throw m.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!h(n)){throw m.errors.invalidArgument({prefix:"Headers.append",value:n,type:"header value"})}if(L(e)==="immutable"){throw new TypeError("immutable")}return H(e).append(t,n,false)}function compareHeaderName(e,t){return e[0]>1);if(t[h][0]<=m[0]){d=h+1}else{a=h}}if(o!==h){i=o;while(i>d){t[i]=t[--i]}t[d]=m}}if(!n.next().done){throw new TypeError("Unreachable")}return t}else{let e=0;for(const{0:n,1:{value:o}}of this[k]){t[e++]=[n,o];f(o!==null)}return t.sort(compareHeaderName)}}}class Headers{#V;#_;constructor(e=undefined){m.util.markAsUncloneable(this);if(e===o){return}this.#_=new HeadersList;this.#V="none";if(e!==undefined){e=m.converters.HeadersInit(e,"Headers contructor","init");fill(this,e)}}append(e,t){m.brandCheck(this,Headers);m.argumentLengthCheck(arguments,2,"Headers.append");const n="Headers.append";e=m.converters.ByteString(e,n,"name");t=m.converters.ByteString(t,n,"value");return appendHeader(this,e,t)}delete(e){m.brandCheck(this,Headers);m.argumentLengthCheck(arguments,1,"Headers.delete");const t="Headers.delete";e=m.converters.ByteString(e,t,"name");if(!d(e)){throw m.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this.#V==="immutable"){throw new TypeError("immutable")}if(!this.#_.contains(e,false)){return}this.#_.delete(e,false)}get(e){m.brandCheck(this,Headers);m.argumentLengthCheck(arguments,1,"Headers.get");const t="Headers.get";e=m.converters.ByteString(e,t,"name");if(!d(e)){throw m.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#_.get(e,false)}has(e){m.brandCheck(this,Headers);m.argumentLengthCheck(arguments,1,"Headers.has");const t="Headers.has";e=m.converters.ByteString(e,t,"name");if(!d(e)){throw m.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#_.contains(e,false)}set(e,t){m.brandCheck(this,Headers);m.argumentLengthCheck(arguments,2,"Headers.set");const n="Headers.set";e=m.converters.ByteString(e,n,"name");t=m.converters.ByteString(t,n,"value");t=headerValueNormalize(t);if(!d(e)){throw m.errors.invalidArgument({prefix:n,value:e,type:"header name"})}else if(!h(t)){throw m.errors.invalidArgument({prefix:n,value:t,type:"header value"})}if(this.#V==="immutable"){throw new TypeError("immutable")}this.#_.set(e,t,false)}getSetCookie(){m.brandCheck(this,Headers);const e=this.#_.cookies;if(e){return[...e]}return[]}get[P](){if(this.#_[P]){return this.#_[P]}const e=[];const t=this.#_.toSortedArray();const n=this.#_.cookies;if(n===null||n.length===1){return this.#_[P]=t}for(let o=0;o>"](e,t,n,o.bind(e))}return m.converters["record"](e,t,n)}throw m.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,compareHeaderName:compareHeaderName,Headers:Headers,HeadersList:HeadersList,getHeadersGuard:L,setHeadersGuard:U,setHeadersList:V,getHeadersList:H}},4398:(e,t,n)=>{"use strict";const{makeNetworkError:o,makeAppropriateNetworkError:i,filterResponse:a,makeResponse:d,fromInnerResponse:h}=n(9051);const{HeadersList:m}=n(660);const{Request:f,cloneRequest:Q}=n(9967);const k=n(8522);const{bytesMatch:P,makePolicyContainer:L,clonePolicyContainer:U,requestBadPort:H,TAOCheck:V,appendRequestOriginHeader:_,responseLocationURL:W,requestCurrentURL:Y,setRequestReferrerPolicyOnRedirect:J,tryUpgradeRequestToAPotentiallyTrustworthyURL:j,createOpaqueTimingInfo:K,appendFetchMetadata:X,corsCheck:Z,crossOriginResourcePolicyCheck:ee,determineRequestsReferrer:te,coarsenedSharedCurrentTime:ne,createDeferredPromise:se,isBlobLike:oe,sameOrigin:re,isCancelled:ie,isAborted:ae,isErrorLike:ce,fullyReadBody:Ae,readableStreamClose:le,isomorphicEncode:ue,urlIsLocal:de,urlIsHttpHttpsScheme:ge,urlHasHttpsScheme:he,clampAndCoarsenConnectionTimingInfo:me,simpleRangeHeaderValue:pe,buildContentRange:Ee,createInflate:fe,extractMimeType:Ie}=n(3168);const{kState:Ce,kDispatcher:Be}=n(3627);const Qe=n(4589);const{safelyExtractBody:ye,extractBody:Se}=n(4492);const{redirectStatusSet:Re,nullBodyStatus:we,safeMethodsSet:De,requestBodyHeader:be,subresourceSet:xe}=n(4495);const Me=n(8474);const{Readable:ve,pipeline:Te,finished:Ne}=n(7075);const{addAbortListener:ke,isErrored:Pe,isReadable:Fe,bufferToLowerCasedHeaderName:Le}=n(3440);const{dataURLProcessor:Ue,serializeAMimeType:Oe,minimizeSupportedMimeType:$e}=n(1900);const{getGlobalDispatcher:Ge}=n(2581);const{webidl:He}=n(5893);const{STATUS_CODES:Ve}=n(7067);const _e=["GET","HEAD"];const qe=typeof __UNDICI_IS_NODE__!=="undefined"||typeof esbuildDetection!=="undefined"?"node":"undici";let We;class Fetch extends Me{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing"}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 DOMException("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function handleFetchDone(e){finalizeAndReportTiming(e,"fetch")}function fetch(e,t=undefined){He.argumentLengthCheck(arguments,1,"globalThis.fetch");let n=se();let o;try{o=new f(e,t)}catch(e){n.reject(e);return n.promise}const i=o[Ce];if(o.signal.aborted){abortFetch(n,i,null,o.signal.reason);return n.promise}const a=i.client.globalObject;if(a?.constructor?.name==="ServiceWorkerGlobalScope"){i.serviceWorkers="none"}let d=null;let m=false;let Q=null;ke(o.signal,()=>{m=true;Qe(Q!=null);Q.abort(o.signal.reason);const e=d?.deref();abortFetch(n,i,e,o.signal.reason)});const processResponse=e=>{if(m){return}if(e.aborted){abortFetch(n,i,d,Q.serializedAbortReason);return}if(e.type==="error"){n.reject(new TypeError("fetch failed",{cause:e.error}));return}d=new WeakRef(h(e,"immutable"));n.resolve(d.deref());n=null};Q=fetching({request:i,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:o[Be]});return n.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const n=e.urlList[0];let o=e.timingInfo;let i=e.cacheState;if(!ge(n)){return}if(o===null){return}if(!e.timingAllowPassed){o=K({startTime:o.startTime});i=""}o.endTime=ne();e.timingInfo=o;Ye(o,n.href,t,globalThis,i)}const Ye=performance.markResourceTiming;function abortFetch(e,t,n,o){if(e){e.reject(o)}if(t.body!=null&&Fe(t.body?.stream)){t.body.stream.cancel(o).catch(e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e})}if(n==null){return}const i=n[Ce];if(i.body!=null&&Fe(i.body?.stream)){i.body.stream.cancel(o).catch(e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e})}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:o,processResponseEndOfBody:i,processResponseConsumeBody:a,useParallelQueue:d=false,dispatcher:h=Ge()}){Qe(h);let m=null;let f=false;if(e.client!=null){m=e.client.globalObject;f=e.client.crossOriginIsolatedCapability}const Q=ne(f);const k=K({startTime:Q});const P={controller:new Fetch(h),request:e,timingInfo:k,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:o,processResponseConsumeBody:a,processResponseEndOfBody:i,taskDestination:m,crossOriginIsolatedCapability:f};Qe(!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=U(e.client.policyContainer)}else{e.policyContainer=L()}}if(!e.headersList.contains("accept",true)){const t="*/*";e.headersList.append("accept",t,true)}if(!e.headersList.contains("accept-language",true)){e.headersList.append("accept-language","*",true)}if(e.priority===null){}if(xe.has(e.destination)){}mainFetch(P).catch(e=>{P.controller.terminate(e)});return P.controller}async function mainFetch(e,t=false){const n=e.request;let i=null;if(n.localURLsOnly&&!de(Y(n))){i=o("local URLs only")}j(n);if(H(n)==="blocked"){i=o("bad port")}if(n.referrerPolicy===""){n.referrerPolicy=n.policyContainer.referrerPolicy}if(n.referrer!=="no-referrer"){n.referrer=te(n)}if(i===null){i=await(async()=>{const t=Y(n);if(re(t,n.url)&&n.responseTainting==="basic"||t.protocol==="data:"||(n.mode==="navigate"||n.mode==="websocket")){n.responseTainting="basic";return await schemeFetch(e)}if(n.mode==="same-origin"){return o('request mode cannot be "same-origin"')}if(n.mode==="no-cors"){if(n.redirect!=="follow"){return o('redirect mode cannot be "follow" for "no-cors" request')}n.responseTainting="opaque";return await schemeFetch(e)}if(!ge(Y(n))){return o("URL scheme must be a HTTP(S) scheme")}n.responseTainting="cors";return await httpFetch(e)})()}if(t){return i}if(i.status!==0&&!i.internalResponse){if(n.responseTainting==="cors"){}if(n.responseTainting==="basic"){i=a(i,"basic")}else if(n.responseTainting==="cors"){i=a(i,"cors")}else if(n.responseTainting==="opaque"){i=a(i,"opaque")}else{Qe(false)}}let d=i.status===0?i:i.internalResponse;if(d.urlList.length===0){d.urlList.push(...n.urlList)}if(!n.timingAllowFailed){i.timingAllowPassed=true}if(i.type==="opaque"&&d.status===206&&d.rangeRequested&&!n.headers.contains("range",true)){i=d=o()}if(i.status!==0&&(n.method==="HEAD"||n.method==="CONNECT"||we.includes(d.status))){d.body=null;e.controller.dump=true}if(n.integrity){const processBodyError=t=>fetchFinale(e,o(t));if(n.responseTainting==="opaque"||i.body==null){processBodyError(i.error);return}const processBody=t=>{if(!P(t,n.integrity)){processBodyError("integrity mismatch");return}i.body=ye(t)[0];fetchFinale(e,i)};await Ae(i.body,processBody,processBodyError)}else{fetchFinale(e,i)}}function schemeFetch(e){if(ie(e)&&e.request.redirectCount===0){return Promise.resolve(i(e))}const{request:t}=e;const{protocol:a}=Y(t);switch(a){case"about:":{return Promise.resolve(o("about scheme is not supported"))}case"blob:":{if(!We){We=n(4573).resolveObjectURL}const e=Y(t);if(e.search.length!==0){return Promise.resolve(o("NetworkError when attempting to fetch resource."))}const i=We(e.toString());if(t.method!=="GET"||!oe(i)){return Promise.resolve(o("invalid method"))}const a=d();const h=i.size;const m=ue(`${h}`);const f=i.type;if(!t.headersList.contains("range",true)){const e=Se(i);a.statusText="OK";a.body=e[0];a.headersList.set("content-length",m,true);a.headersList.set("content-type",f,true)}else{a.rangeRequested=true;const e=t.headersList.get("range",true);const n=pe(e,true);if(n==="failure"){return Promise.resolve(o("failed to fetch the data URL"))}let{rangeStartValue:d,rangeEndValue:m}=n;if(d===null){d=h-m;m=d+m-1}else{if(d>=h){return Promise.resolve(o("Range start is greater than the blob's size."))}if(m===null||m>=h){m=h-1}}const Q=i.slice(d,m,f);const k=Se(Q);a.body=k[0];const P=ue(`${Q.size}`);const L=Ee(d,m,h);a.status=206;a.statusText="Partial Content";a.headersList.set("content-length",P,true);a.headersList.set("content-type",f,true);a.headersList.set("content-range",L,true)}return Promise.resolve(a)}case"data:":{const e=Y(t);const n=Ue(e);if(n==="failure"){return Promise.resolve(o("failed to fetch the data URL"))}const i=Oe(n.mimeType);return Promise.resolve(d({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:ye(n.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){let n=e.timingInfo;const processResponseEndOfBody=()=>{const o=Date.now();if(e.request.destination==="document"){e.controller.fullTimingInfo=n}e.controller.reportTimingSteps=()=>{if(e.request.url.protocol!=="https:"){return}n.endTime=o;let i=t.cacheState;const a=t.bodyInfo;if(!t.timingAllowPassed){n=K(n);i=""}let d=0;if(e.request.mode!=="navigator"||!t.hasCrossOriginRedirects){d=t.status;const e=Ie(t.headersList);if(e!=="failure"){a.contentType=$e(e)}}if(e.request.initiatorType!=null){Ye(n,e.request.url.href,e.request.initiatorType,globalThis,i,a,d)}};const processResponseEndOfBodyTask=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask(()=>e.processResponseEndOfBody(t))}if(e.request.initiatorType!=null){e.controller.reportTimingSteps()}};queueMicrotask(()=>processResponseEndOfBodyTask())};if(e.processResponse!=null){queueMicrotask(()=>{e.processResponse(t);e.processResponse=null})}const o=t.type==="error"?t:t.internalResponse??t;if(o.body==null){processResponseEndOfBody()}else{Ne(o.body.stream,()=>{processResponseEndOfBody()})}}async function httpFetch(e){const t=e.request;let n=null;let i=null;const a=e.timingInfo;if(t.serviceWorkers==="all"){}if(n===null){if(t.redirect==="follow"){t.serviceWorkers="none"}i=n=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&Z(t,n)==="failure"){return o("cors failure")}if(V(t,n)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||n.type==="opaque")&&ee(t.origin,t.client,t.destination,i)==="blocked"){return o("blocked")}if(Re.has(i.status)){if(t.redirect!=="manual"){e.controller.connection.destroy(undefined,false)}if(t.redirect==="error"){n=o("unexpected redirect")}else if(t.redirect==="manual"){n=i}else if(t.redirect==="follow"){n=await httpRedirectFetch(e,n)}else{Qe(false)}}n.timingInfo=a;return n}function httpRedirectFetch(e,t){const n=e.request;const i=t.internalResponse?t.internalResponse:t;let a;try{a=W(i,Y(n).hash);if(a==null){return t}}catch(e){return Promise.resolve(o(e))}if(!ge(a)){return Promise.resolve(o("URL scheme must be a HTTP(S) scheme"))}if(n.redirectCount===20){return Promise.resolve(o("redirect count exceeded"))}n.redirectCount+=1;if(n.mode==="cors"&&(a.username||a.password)&&!re(n,a)){return Promise.resolve(o('cross origin not allowed for request mode "cors"'))}if(n.responseTainting==="cors"&&(a.username||a.password)){return Promise.resolve(o('URL cannot contain credentials for request mode "cors"'))}if(i.status!==303&&n.body!=null&&n.body.source==null){return Promise.resolve(o())}if([301,302].includes(i.status)&&n.method==="POST"||i.status===303&&!_e.includes(n.method)){n.method="GET";n.body=null;for(const e of be){n.headersList.delete(e)}}if(!re(Y(n),a)){n.headersList.delete("authorization",true);n.headersList.delete("proxy-authorization",true);n.headersList.delete("cookie",true);n.headersList.delete("host",true)}if(n.body!=null){Qe(n.body.source!=null);n.body=ye(n.body.source)[0]}const d=e.timingInfo;d.redirectEndTime=d.postRedirectStartTime=ne(e.crossOriginIsolatedCapability);if(d.redirectStartTime===0){d.redirectStartTime=d.startTime}n.urlList.push(a);J(n,i);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,n=false){const a=e.request;let d=null;let h=null;let m=null;const f=null;const k=false;if(a.window==="no-window"&&a.redirect==="error"){d=e;h=a}else{h=Q(a);d={...e};d.request=h}const P=a.credentials==="include"||a.credentials==="same-origin"&&a.responseTainting==="basic";const L=h.body?h.body.length:null;let U=null;if(h.body==null&&["POST","PUT"].includes(h.method)){U="0"}if(L!=null){U=ue(`${L}`)}if(U!=null){h.headersList.append("content-length",U,true)}if(L!=null&&h.keepalive){}if(h.referrer instanceof URL){h.headersList.append("referer",ue(h.referrer.href),true)}_(h);X(h);if(!h.headersList.contains("user-agent",true)){h.headersList.append("user-agent",qe)}if(h.cache==="default"&&(h.headersList.contains("if-modified-since",true)||h.headersList.contains("if-none-match",true)||h.headersList.contains("if-unmodified-since",true)||h.headersList.contains("if-match",true)||h.headersList.contains("if-range",true))){h.cache="no-store"}if(h.cache==="no-cache"&&!h.preventNoCacheCacheControlHeaderModification&&!h.headersList.contains("cache-control",true)){h.headersList.append("cache-control","max-age=0",true)}if(h.cache==="no-store"||h.cache==="reload"){if(!h.headersList.contains("pragma",true)){h.headersList.append("pragma","no-cache",true)}if(!h.headersList.contains("cache-control",true)){h.headersList.append("cache-control","no-cache",true)}}if(h.headersList.contains("range",true)){h.headersList.append("accept-encoding","identity",true)}if(!h.headersList.contains("accept-encoding",true)){if(he(Y(h))){h.headersList.append("accept-encoding","br, gzip, deflate",true)}else{h.headersList.append("accept-encoding","gzip, deflate",true)}}h.headersList.delete("host",true);if(P){}if(f==null){h.cache="no-store"}if(h.cache!=="no-store"&&h.cache!=="reload"){}if(m==null){if(h.cache==="only-if-cached"){return o("only if cached")}const e=await httpNetworkFetch(d,P,n);if(!De.has(h.method)&&e.status>=200&&e.status<=399){}if(k&&e.status===304){}if(m==null){m=e}}m.urlList=[...h.urlList];if(h.headersList.contains("range",true)){m.rangeRequested=true}m.requestIncludesCredentials=P;if(m.status===407){if(a.window==="no-window"){return o()}if(ie(e)){return i(e)}return o("proxy authentication required")}if(m.status===421&&!n&&(a.body==null||a.body.source!=null)){if(ie(e)){return i(e)}e.controller.connection.destroy();m=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return m}async function httpNetworkFetch(e,t=false,n=false){Qe(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e,t=true){if(!this.destroyed){this.destroyed=true;if(t){this.abort?.(e??new DOMException("The operation was aborted.","AbortError"))}}}};const a=e.request;let h=null;const f=e.timingInfo;const Q=null;if(Q==null){a.cache="no-store"}const P=n?"yes":"no";if(a.mode==="websocket"){}else{}let L=null;if(a.body==null&&e.processRequestEndOfBody){queueMicrotask(()=>e.processRequestEndOfBody())}else if(a.body!=null){const processBodyChunk=async function*(t){if(ie(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(ie(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(ie(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};L=async function*(){try{for await(const e of a.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:n,statusText:o,headersList:i,socket:a}=await dispatch({body:L});if(a){h=d({status:n,statusText:o,headersList:i,socket:a})}else{const a=t[Symbol.asyncIterator]();e.controller.next=()=>a.next();h=d({status:n,statusText:o,headersList:i})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return i(e,t)}return o(t)}const pullAlgorithm=async()=>{await e.controller.resume()};const cancelAlgorithm=t=>{if(!ie(e)){e.controller.abort(t)}};const U=new ReadableStream({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)},type:"bytes"});h.body={stream:U,source:null,length:null};e.controller.onAborted=onAborted;e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let n;try{const{done:n,value:o}=await e.controller.next();if(ae(e)){break}t=n?undefined:o}catch(o){if(e.controller.ended&&!f.encodedBodySize){t=undefined}else{t=o;n=true}}if(t===undefined){le(e.controller.controller);finalizeResponse(e,h);return}f.decodedBodySize+=t?.byteLength??0;if(n){e.controller.terminate(t);return}const o=new Uint8Array(t);if(o.byteLength){e.controller.controller.enqueue(o)}if(Pe(U)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0){return}}};function onAborted(t){if(ae(e)){h.aborted=true;if(Fe(U)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(Fe(U)){e.controller.controller.error(new TypeError("terminated",{cause:ce(t)?t:undefined}))}}e.controller.connection.destroy()}return h;function dispatch({body:t}){const n=Y(a);const o=e.controller.dispatcher;return new Promise((i,d)=>o.dispatch({path:n.pathname+n.search,origin:n.origin,method:a.method,body:o.isMockActive?a.body&&(a.body.source||a.body.stream):t,headers:a.headersList.entries,maxRedirections:0,upgrade:a.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:n}=e.controller;f.finalConnectionTimingInfo=me(undefined,f.postRedirectStartTime,e.crossOriginIsolatedCapability);if(n.destroyed){t(new DOMException("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=n.abort=t}f.finalNetworkRequestStartTime=ne(e.crossOriginIsolatedCapability)},onResponseStarted(){f.finalNetworkResponseStartTime=ne(e.crossOriginIsolatedCapability)},onHeaders(e,t,n,o){if(e<200){return}let h="";const f=new m;for(let e=0;en){d(new Error(`too many content-encodings in response: ${t.length}, maximum allowed is ${n}`));return true}for(let e=t.length-1;e>=0;--e){const n=t[e].trim();if(n==="x-gzip"||n==="gzip"){Q.push(k.createGunzip({flush:k.constants.Z_SYNC_FLUSH,finishFlush:k.constants.Z_SYNC_FLUSH}))}else if(n==="deflate"){Q.push(fe({flush:k.constants.Z_SYNC_FLUSH,finishFlush:k.constants.Z_SYNC_FLUSH}))}else if(n==="br"){Q.push(k.createBrotliDecompress({flush:k.constants.BROTLI_OPERATION_FLUSH,finishFlush:k.constants.BROTLI_OPERATION_FLUSH}))}else{Q.length=0;break}}}const L=this.onError.bind(this);i({status:e,statusText:o,headersList:f,body:Q.length?Te(this.body,...Q,e=>{if(e){this.onError(e)}}).on("error",L):this.body.on("error",L)});return true},onData(t){if(e.controller.dump){return}const n=t;f.encodedBodySize+=n.byteLength;return this.body.push(n)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}if(e.controller.onAborted){e.controller.off("terminated",e.controller.onAborted)}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);d(t)},onUpgrade(e,t,n){if(e!==101){return}const o=new m;for(let e=0;e{"use strict";const{extractBody:o,mixinBody:i,cloneBody:a,bodyUnusable:d}=n(4492);const{Headers:h,fill:m,HeadersList:f,setHeadersGuard:Q,getHeadersGuard:k,setHeadersList:P,getHeadersList:L}=n(660);const{FinalizationRegistry:U}=n(6653)();const H=n(3440);const V=n(7975);const{isValidHTTPToken:_,sameOrigin:W,environmentSettingsObject:Y}=n(3168);const{forbiddenMethodsSet:J,corsSafeListedMethodsSet:j,referrerPolicy:K,requestRedirect:X,requestMode:Z,requestCredentials:ee,requestCache:te,requestDuplex:ne}=n(4495);const{kEnumerableProperty:se,normalizedMethodRecordsBase:oe,normalizedMethodRecords:re}=H;const{kHeaders:ie,kSignal:ae,kState:ce,kDispatcher:Ae}=n(3627);const{webidl:le}=n(5893);const{URLSerializer:ue}=n(1900);const{kConstruct:de}=n(6443);const ge=n(4589);const{getMaxListeners:he,setMaxListeners:me,getEventListeners:pe,defaultMaxListeners:Ee}=n(8474);const fe=Symbol("abortController");const Ie=new U(({signal:e,abort:t})=>{e.removeEventListener("abort",t)});const Ce=new WeakMap;function buildAbort(e){return abort;function abort(){const t=e.deref();if(t!==undefined){Ie.unregister(abort);this.removeEventListener("abort",abort);t.abort(this.reason);const e=Ce.get(t.signal);if(e!==undefined){if(e.size!==0){for(const t of e){const e=t.deref();if(e!==undefined){e.abort(this.reason)}}e.clear()}Ce.delete(t.signal)}}}}let Be=false;class Request{constructor(e,t={}){le.util.markAsUncloneable(this);if(e===de){return}const n="Request constructor";le.argumentLengthCheck(arguments,1,n);e=le.converters.RequestInfo(e,n,"input");t=le.converters.RequestInit(t,n,"init");let i=null;let a=null;const k=Y.settingsObject.baseUrl;let U=null;if(typeof e==="string"){this[Ae]=t.dispatcher;let n;try{n=new URL(e,k)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(n.username||n.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}i=makeRequest({urlList:[n]});a="cors"}else{this[Ae]=t.dispatcher||e[Ae];ge(e instanceof Request);i=e[ce];U=e[ae]}const V=Y.settingsObject.origin;let K="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&W(i.window,V)){K=i.window}if(t.window!=null){throw new TypeError(`'window' option '${K}' must be null`)}if("window"in t){K="no-window"}i=makeRequest({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Y.settingsObject,window:K,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});const X=Object.keys(t).length!==0;if(X){if(i.mode==="navigate"){i.mode="same-origin"}i.reloadNavigation=false;i.historyNavigation=false;i.origin="client";i.referrer="client";i.referrerPolicy="";i.url=i.urlList[i.urlList.length-1];i.urlList=[i.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){i.referrer="no-referrer"}else{let t;try{t=new URL(e,k)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||V&&!W(t,Y.settingsObject.baseUrl)){i.referrer="client"}else{i.referrer=t}}}if(t.referrerPolicy!==undefined){i.referrerPolicy=t.referrerPolicy}let Z;if(t.mode!==undefined){Z=t.mode}else{Z=a}if(Z==="navigate"){throw le.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(Z!=null){i.mode=Z}if(t.credentials!==undefined){i.credentials=t.credentials}if(t.cache!==undefined){i.cache=t.cache}if(i.cache==="only-if-cached"&&i.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){i.redirect=t.redirect}if(t.integrity!=null){i.integrity=String(t.integrity)}if(t.keepalive!==undefined){i.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;const n=re[e];if(n!==undefined){i.method=n}else{if(!_(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}const t=e.toUpperCase();if(J.has(t)){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=oe[t]??e;i.method=e}if(!Be&&i.method==="patch"){process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"});Be=true}}if(t.signal!==undefined){U=t.signal}this[ce]=i;const ee=new AbortController;this[ae]=ee.signal;if(U!=null){if(!U||typeof U.aborted!=="boolean"||typeof U.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(U.aborted){ee.abort(U.reason)}else{this[fe]=ee;const e=new WeakRef(ee);const t=buildAbort(e);try{if(typeof he==="function"&&he(U)===Ee){me(1500,U)}else if(pe(U,"abort").length>=Ee){me(1500,U)}}catch{}H.addAbortListener(U,t);Ie.register(ee,{signal:U,abort:t},t)}}this[ie]=new h(de);P(this[ie],i.headersList);Q(this[ie],"request");if(Z==="no-cors"){if(!j.has(i.method)){throw new TypeError(`'${i.method} is unsupported in no-cors mode.`)}Q(this[ie],"request-no-cors")}if(X){const e=L(this[ie]);const n=t.headers!==undefined?t.headers:new f(e);e.clear();if(n instanceof f){for(const{name:t,value:o}of n.rawValues()){e.append(t,o,false)}e.cookies=n.cookies}else{m(this[ie],n)}}const te=e instanceof Request?e[ce].body:null;if((t.body!=null||te!=null)&&(i.method==="GET"||i.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let ne=null;if(t.body!=null){const[e,n]=o(t.body,i.keepalive);ne=e;if(n&&!L(this[ie]).contains("content-type",true)){this[ie].append("content-type",n)}}const se=ne??te;if(se!=null&&se.source==null){if(ne!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(i.mode!=="same-origin"&&i.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}i.useCORSPreflightFlag=true}let ue=se;if(ne==null&&te!=null){if(d(e)){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}const t=new TransformStream;te.stream.pipeThrough(t);ue={source:te.source,length:te.length,stream:t.readable}}this[ce].body=ue}get method(){le.brandCheck(this,Request);return this[ce].method}get url(){le.brandCheck(this,Request);return ue(this[ce].url)}get headers(){le.brandCheck(this,Request);return this[ie]}get destination(){le.brandCheck(this,Request);return this[ce].destination}get referrer(){le.brandCheck(this,Request);if(this[ce].referrer==="no-referrer"){return""}if(this[ce].referrer==="client"){return"about:client"}return this[ce].referrer.toString()}get referrerPolicy(){le.brandCheck(this,Request);return this[ce].referrerPolicy}get mode(){le.brandCheck(this,Request);return this[ce].mode}get credentials(){return this[ce].credentials}get cache(){le.brandCheck(this,Request);return this[ce].cache}get redirect(){le.brandCheck(this,Request);return this[ce].redirect}get integrity(){le.brandCheck(this,Request);return this[ce].integrity}get keepalive(){le.brandCheck(this,Request);return this[ce].keepalive}get isReloadNavigation(){le.brandCheck(this,Request);return this[ce].reloadNavigation}get isHistoryNavigation(){le.brandCheck(this,Request);return this[ce].historyNavigation}get signal(){le.brandCheck(this,Request);return this[ae]}get body(){le.brandCheck(this,Request);return this[ce].body?this[ce].body.stream:null}get bodyUsed(){le.brandCheck(this,Request);return!!this[ce].body&&H.isDisturbed(this[ce].body.stream)}get duplex(){le.brandCheck(this,Request);return"half"}clone(){le.brandCheck(this,Request);if(d(this)){throw new TypeError("unusable")}const e=cloneRequest(this[ce]);const t=new AbortController;if(this.signal.aborted){t.abort(this.signal.reason)}else{let e=Ce.get(this.signal);if(e===undefined){e=new Set;Ce.set(this.signal,e)}const n=new WeakRef(t);e.add(n);H.addAbortListener(t.signal,buildAbort(n))}return fromInnerRequest(e,t.signal,k(this[ie]))}[V.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${V.formatWithOptions(t,n)}`}}i(Request);function makeRequest(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??false,unsafeRequest:e.unsafeRequest??false,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??false,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??false,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??false,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??false,historyNavigation:e.historyNavigation??false,userActivation:e.userActivation??false,taintedOrigin:e.taintedOrigin??false,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??false,done:e.done??false,timingAllowFailed:e.timingAllowFailed??false,urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new f(e.headersList):new f}}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=a(t,e.body)}return t}function fromInnerRequest(e,t,n){const o=new Request(de);o[ce]=e;o[ae]=t;o[ie]=new h(de);P(o[ie],e.headersList);Q(o[ie],n);return o}Object.defineProperties(Request.prototype,{method:se,url:se,headers:se,redirect:se,clone:se,signal:se,duplex:se,destination:se,body:se,bodyUsed:se,isHistoryNavigation:se,isReloadNavigation:se,keepalive:se,integrity:se,cache:se,credentials:se,attribute:se,referrerPolicy:se,referrer:se,mode:se,[Symbol.toStringTag]:{value:"Request",configurable:true}});le.converters.Request=le.interfaceConverter(Request);le.converters.RequestInfo=function(e,t,n){if(typeof e==="string"){return le.converters.USVString(e,t,n)}if(e instanceof Request){return le.converters.Request(e,t,n)}return le.converters.USVString(e,t,n)};le.converters.AbortSignal=le.interfaceConverter(AbortSignal);le.converters.RequestInit=le.dictionaryConverter([{key:"method",converter:le.converters.ByteString},{key:"headers",converter:le.converters.HeadersInit},{key:"body",converter:le.nullableConverter(le.converters.BodyInit)},{key:"referrer",converter:le.converters.USVString},{key:"referrerPolicy",converter:le.converters.DOMString,allowedValues:K},{key:"mode",converter:le.converters.DOMString,allowedValues:Z},{key:"credentials",converter:le.converters.DOMString,allowedValues:ee},{key:"cache",converter:le.converters.DOMString,allowedValues:te},{key:"redirect",converter:le.converters.DOMString,allowedValues:X},{key:"integrity",converter:le.converters.DOMString},{key:"keepalive",converter:le.converters.boolean},{key:"signal",converter:le.nullableConverter(e=>le.converters.AbortSignal(e,"RequestInit","signal",{strict:false}))},{key:"window",converter:le.converters.any},{key:"duplex",converter:le.converters.DOMString,allowedValues:ne},{key:"dispatcher",converter:le.converters.any}]);e.exports={Request:Request,makeRequest:makeRequest,fromInnerRequest:fromInnerRequest,cloneRequest:cloneRequest}},9051:(e,t,n)=>{"use strict";const{Headers:o,HeadersList:i,fill:a,getHeadersGuard:d,setHeadersGuard:h,setHeadersList:m}=n(660);const{extractBody:f,cloneBody:Q,mixinBody:k,hasFinalizationRegistry:P,streamRegistry:L,bodyUnusable:U}=n(4492);const H=n(3440);const V=n(7975);const{kEnumerableProperty:_}=H;const{isValidReasonPhrase:W,isCancelled:Y,isAborted:J,isBlobLike:j,serializeJavascriptValueToJSONString:K,isErrorLike:X,isomorphicEncode:Z,environmentSettingsObject:ee}=n(3168);const{redirectStatusSet:te,nullBodyStatus:ne}=n(4495);const{kState:se,kHeaders:oe}=n(3627);const{webidl:re}=n(5893);const{FormData:ie}=n(5910);const{URLSerializer:ae}=n(1900);const{kConstruct:ce}=n(6443);const Ae=n(4589);const{types:le}=n(7975);const ue=new TextEncoder("utf-8");class Response{static error(){const e=fromInnerResponse(makeNetworkError(),"immutable");return e}static json(e,t={}){re.argumentLengthCheck(arguments,1,"Response.json");if(t!==null){t=re.converters.ResponseInit(t)}const n=ue.encode(K(e));const o=f(n);const i=fromInnerResponse(makeResponse({}),"response");initializeResponse(i,t,{body:o[0],type:"application/json"});return i}static redirect(e,t=302){re.argumentLengthCheck(arguments,1,"Response.redirect");e=re.converters.USVString(e);t=re.converters["unsigned short"](t);let n;try{n=new URL(e,ee.settingsObject.baseUrl)}catch(t){throw new TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!te.has(t)){throw new RangeError(`Invalid status code ${t}`)}const o=fromInnerResponse(makeResponse({}),"immutable");o[se].status=t;const i=Z(ae(n));o[se].headersList.append("location",i,true);return o}constructor(e=null,t={}){re.util.markAsUncloneable(this);if(e===ce){return}if(e!==null){e=re.converters.BodyInit(e)}t=re.converters.ResponseInit(t);this[se]=makeResponse({});this[oe]=new o(ce);h(this[oe],"response");m(this[oe],this[se].headersList);let n=null;if(e!=null){const[t,o]=f(e);n={body:t,type:o}}initializeResponse(this,t,n)}get type(){re.brandCheck(this,Response);return this[se].type}get url(){re.brandCheck(this,Response);const e=this[se].urlList;const t=e[e.length-1]??null;if(t===null){return""}return ae(t,true)}get redirected(){re.brandCheck(this,Response);return this[se].urlList.length>1}get status(){re.brandCheck(this,Response);return this[se].status}get ok(){re.brandCheck(this,Response);return this[se].status>=200&&this[se].status<=299}get statusText(){re.brandCheck(this,Response);return this[se].statusText}get headers(){re.brandCheck(this,Response);return this[oe]}get body(){re.brandCheck(this,Response);return this[se].body?this[se].body.stream:null}get bodyUsed(){re.brandCheck(this,Response);return!!this[se].body&&H.isDisturbed(this[se].body.stream)}clone(){re.brandCheck(this,Response);if(U(this)){throw re.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[se]);if(P&&this[se].body?.stream){L.register(this,new WeakRef(this[se].body.stream))}return fromInnerResponse(e,d(this[oe]))}[V.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${V.formatWithOptions(t,n)}`}}k(Response);Object.defineProperties(Response.prototype,{type:_,url:_,status:_,ok:_,redirected:_,statusText:_,headers:_,clone:_,body:_,bodyUsed:_,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:_,redirect:_,error:_});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=Q(t,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 i(e?.headersList):new i,urlList:e?.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=X(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function isNetworkError(e){return e.type==="error"&&e.status===0}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,n){return n in t?t[n]:e[n]},set(e,n,o){Ae(!(n in t));e[n]=o;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{Ae(false)}}function makeAppropriateNetworkError(e,t=null){Ae(Y(e));return J(e)?makeNetworkError(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new DOMException("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,n){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(!W(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[se].status=t.status}if("statusText"in t&&t.statusText!=null){e[se].statusText=t.statusText}if("headers"in t&&t.headers!=null){a(e[oe],t.headers)}if(n){if(ne.includes(e.status)){throw re.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`})}e[se].body=n.body;if(n.type!=null&&!e[se].headersList.contains("content-type",true)){e[se].headersList.append("content-type",n.type,true)}}}function fromInnerResponse(e,t){const n=new Response(ce);n[se]=e;n[oe]=new o(ce);m(n[oe],e.headersList);h(n[oe],t);if(P&&e.body?.stream){L.register(n,new WeakRef(e.body.stream))}return n}re.converters.ReadableStream=re.interfaceConverter(ReadableStream);re.converters.FormData=re.interfaceConverter(ie);re.converters.URLSearchParams=re.interfaceConverter(URLSearchParams);re.converters.XMLHttpRequestBodyInit=function(e,t,n){if(typeof e==="string"){return re.converters.USVString(e,t,n)}if(j(e)){return re.converters.Blob(e,t,n,{strict:false})}if(ArrayBuffer.isView(e)||le.isArrayBuffer(e)){return re.converters.BufferSource(e,t,n)}if(H.isFormDataLike(e)){return re.converters.FormData(e,t,n,{strict:false})}if(e instanceof URLSearchParams){return re.converters.URLSearchParams(e,t,n)}return re.converters.DOMString(e,t,n)};re.converters.BodyInit=function(e,t,n){if(e instanceof ReadableStream){return re.converters.ReadableStream(e,t,n)}if(e?.[Symbol.asyncIterator]){return e}return re.converters.XMLHttpRequestBodyInit(e,t,n)};re.converters.ResponseInit=re.dictionaryConverter([{key:"status",converter:re.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:re.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:re.converters.HeadersInit}]);e.exports={isNetworkError:isNetworkError,makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse,fromInnerResponse:fromInnerResponse}},3627:e=>{"use strict";e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}},3168:(e,t,n)=>{"use strict";const{Transform:o}=n(7075);const i=n(8522);const{redirectStatusSet:a,referrerPolicySet:d,badPortsSet:h}=n(4495);const{getGlobalOrigin:m}=n(1059);const{collectASequenceOfCodePoints:f,collectAnHTTPQuotedString:Q,removeChars:k,parseMIMEType:P}=n(1900);const{performance:L}=n(643);const{isBlobLike:U,ReadableStreamFrom:H,isValidHTTPToken:V,normalizedMethodRecordsBase:_}=n(3440);const W=n(4589);const{isUint8Array:Y}=n(3429);const{webidl:J}=n(5893);let j=[];let K;try{K=n(7598);const e=["sha256","sha384","sha512"];j=K.getHashes().filter(t=>e.includes(t))}catch{}function responseURL(e){const t=e.urlList;const n=t.length;return n===0?null:t[n-1].toString()}function responseLocationURL(e,t){if(!a.has(e.status)){return null}let n=e.headersList.get("location",true);if(n!==null&&isValidHeaderValue(n)){if(!isValidEncodedURL(n)){n=normalizeBinaryStringToUtf8(n)}n=new URL(n,responseURL(e))}if(n&&!n.hash){n.hash=t}return n}function isValidEncodedURL(e){for(let t=0;t126||n<32){return false}}return true}function normalizeBinaryStringToUtf8(e){return Buffer.from(e,"binary").toString("utf8")}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&h.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&&n<=126||n>=128&&n<=255)){return false}}return true}const X=V;function isValidHeaderValue(e){return(e[0]==="\t"||e[0]===" "||e[e.length-1]==="\t"||e[e.length-1]===" "||e.includes("\n")||e.includes("\r")||e.includes("\0"))===false}function setRequestReferrerPolicyOnRedirect(e,t){const{headersList:n}=t;const o=(n.get("referrer-policy",true)??"").split(",");let i="";if(o.length>0){for(let e=o.length;e!==0;e--){const t=o[e-1].trim();if(d.has(t)){i=t;break}}}if(i!==""){e.referrerPolicy=i}}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,true)}function appendRequestOriginHeader(e){let t=e.origin;if(t==="client"||t===undefined){return}if(e.responseTainting==="cors"||e.mode==="websocket"){e.headersList.append("origin",t,true)}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:}e.headersList.append("origin",t,true)}}function coarsenTime(e,t){return e}function clampAndCoarsenConnectionTimingInfo(e,t,n){if(!e?.startTime||e.startTime4096){o=i}const a=sameOrigin(e,o);const d=isURLPotentiallyTrustworthy(o)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return i!=null?i:stripURLForReferrer(n,true);case"unsafe-url":return o;case"same-origin":return a?i:"no-referrer";case"origin-when-cross-origin":return a?o:i;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(o,t)){return o}if(isURLPotentiallyTrustworthy(o)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return i}case"strict-origin":case"no-referrer-when-downgrade":default:return d?"no-referrer":i}}function stripURLForReferrer(e,t){W(e instanceof URL);e=new URL(e);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(K===undefined){return true}const n=parseMetadata(t);if(n==="no metadata"){return true}if(n.length===0){return true}const o=getStrongestMetadata(n);const i=filterMetadataListByAlgorithm(n,o);for(const t of i){const n=t.algo;const o=t.hash;let i=K.createHash(n).update(e).digest("base64");if(i[i.length-1]==="="){if(i[i.length-2]==="="){i=i.slice(0,-2)}else{i=i.slice(0,-1)}}if(compareBase64Mixed(i,o)){return true}}return false}const Z=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let n=true;for(const o of e.split(" ")){n=false;const e=Z.exec(o);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const i=e.groups.algo.toLowerCase();if(j.includes(i)){t.push(e.groups)}}if(n===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let n=1;n{e=n;t=o});return{promise:n,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}function normalizeMethod(e){return _[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}W(typeof t==="string");return t}const ee=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function createIterator(e,t,n=0,o=1){class FastIterableIterator{#q;#W;#Y;constructor(e,t){this.#q=e;this.#W=t;this.#Y=0}next(){if(typeof this!=="object"||this===null||!(#q in this)){throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`)}const i=this.#Y;const a=this.#q[t];const d=a.length;if(i>=d){return{value:undefined,done:true}}const{[n]:h,[o]:m}=a[i];this.#Y=i+1;let f;switch(this.#W){case"key":f=h;break;case"value":f=m;break;case"key+value":f=[h,m];break}return{value:f,done:false}}}delete FastIterableIterator.prototype.constructor;Object.setPrototypeOf(FastIterableIterator.prototype,ee);Object.defineProperties(FastIterableIterator.prototype,{[Symbol.toStringTag]:{writable:false,enumerable:false,configurable:true,value:`${e} Iterator`},next:{writable:true,enumerable:true,configurable:true}});return function(e,t){return new FastIterableIterator(e,t)}}function iteratorMixin(e,t,n,o=0,i=1){const a=createIterator(e,n,o,i);const d={keys:{writable:true,enumerable:true,configurable:true,value:function keys(){J.brandCheck(this,t);return a(this,"key")}},values:{writable:true,enumerable:true,configurable:true,value:function values(){J.brandCheck(this,t);return a(this,"value")}},entries:{writable:true,enumerable:true,configurable:true,value:function entries(){J.brandCheck(this,t);return a(this,"key+value")}},forEach:{writable:true,enumerable:true,configurable:true,value:function forEach(n,o=globalThis){J.brandCheck(this,t);J.argumentLengthCheck(arguments,1,`${e}.forEach`);if(typeof n!=="function"){throw new TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`)}for(const{0:e,1:t}of a(this,"key+value")){n.call(o,t,e,this)}}}};return Object.defineProperties(t.prototype,{...d,[Symbol.iterator]:{writable:true,enumerable:false,configurable:true,value:d.entries.value}})}async function fullyReadBody(e,t,n){const o=t;const i=n;let a;try{a=e.stream.getReader()}catch(e){i(e);return}try{o(await readAllBytes(a))}catch(e){i(e)}}function isReadableStreamLike(e){return e instanceof ReadableStream||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}function readableStreamClose(e){try{e.close();e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed")){throw e}}}const te=/[^\x00-\xFF]/;function isomorphicEncode(e){W(!te.test(e));return e}async function readAllBytes(e){const t=[];let n=0;while(true){const{done:o,value:i}=await e.read();if(o){return Buffer.concat(t,n)}if(!Y(i)){throw new TypeError("Received non-Uint8Array chunk")}t.push(i);n+=i.length}}function urlIsLocal(e){W("protocol"in e);const t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function urlHasHttpsScheme(e){return typeof e==="string"&&e[5]===":"&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&e[4]==="s"||e.protocol==="https:"}function urlIsHttpHttpsScheme(e){W("protocol"in e);const t=e.protocol;return t==="http:"||t==="https:"}function simpleRangeHeaderValue(e,t){const n=e;if(!n.startsWith("bytes")){return"failure"}const o={position:5};if(t){f(e=>e==="\t"||e===" ",n,o)}if(n.charCodeAt(o.position)!==61){return"failure"}o.position++;if(t){f(e=>e==="\t"||e===" ",n,o)}const i=f(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57},n,o);const a=i.length?Number(i):null;if(t){f(e=>e==="\t"||e===" ",n,o)}if(n.charCodeAt(o.position)!==45){return"failure"}o.position++;if(t){f(e=>e==="\t"||e===" ",n,o)}const d=f(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57},n,o);const h=d.length?Number(d):null;if(o.positionh){return"failure"}return{rangeStartValue:a,rangeEndValue:h}}function buildContentRange(e,t,n){let o="bytes ";o+=isomorphicEncode(`${e}`);o+="-";o+=isomorphicEncode(`${t}`);o+="/";o+=isomorphicEncode(`${n}`);return o}class InflateStream extends o{#J;constructor(e){super();this.#J=e}_transform(e,t,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?i.createInflate(this.#J):i.createInflateRaw(this.#J);this._inflateStream.on("data",this.push.bind(this));this._inflateStream.on("end",()=>this.push(null));this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,n)}_final(e){if(this._inflateStream){this._inflateStream.end();this._inflateStream=null}e()}}function createInflate(e){return new InflateStream(e)}function extractMimeType(e){let t=null;let n=null;let o=null;const i=getDecodeSplit("content-type",e);if(i===null){return"failure"}for(const e of i){const i=P(e);if(i==="failure"||i.essence==="*/*"){continue}o=i;if(o.essence!==n){t=null;if(o.parameters.has("charset")){t=o.parameters.get("charset")}n=o.essence}else if(!o.parameters.has("charset")&&t!==null){o.parameters.set("charset",t)}}if(o==null){return"failure"}return o}function gettingDecodingSplitting(e){const t=e;const n={position:0};const o=[];let i="";while(n.positione!=='"'&&e!==",",t,n);if(n.positione===9||e===32);o.push(i);i=""}return o}function getDecodeSplit(e,t){const n=t.get(e,true);if(n===null){return null}return gettingDecodingSplitting(n)}const ne=new TextDecoder;function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=ne.decode(e);return t}class EnvironmentSettingsObjectBase{get baseUrl(){return m()}get origin(){return this.baseUrl?.origin}policyContainer=makePolicyContainer()}class EnvironmentSettingsObject{settingsObject=new EnvironmentSettingsObjectBase}const se=new EnvironmentSettingsObject;e.exports={isAborted:isAborted,isCancelled:isCancelled,isValidEncodedURL:isValidEncodedURL,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:H,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,clampAndCoarsenConnectionTimingInfo:clampAndCoarsenConnectionTimingInfo,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:V,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:U,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,iteratorMixin:iteratorMixin,createIterator:createIterator,isValidHeaderName:X,isValidHeaderValue:isValidHeaderValue,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,simpleRangeHeaderValue:simpleRangeHeaderValue,buildContentRange:buildContentRange,parseMetadata:parseMetadata,createInflate:createInflate,extractMimeType:extractMimeType,getDecodeSplit:getDecodeSplit,utf8DecodeBytes:utf8DecodeBytes,environmentSettingsObject:se}},5893:(e,t,n)=>{"use strict";const{types:o,inspect:i}=n(7975);const{markAsUncloneable:a}=n(5919);const{toUSVString:d}=n(3440);const h={};h.converters={};h.util={};h.errors={};h.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};h.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const n=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return h.errors.exception({header:e.prefix,message:n})};h.errors.invalidArgument=function(e){return h.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};h.brandCheck=function(e,t,n){if(n?.strict!==false){if(!(e instanceof t)){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}else{if(e?.[Symbol.toStringTag]!==t.prototype[Symbol.toStringTag]){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}};h.argumentLengthCheck=function({length:e},t,n){if(e{});h.util.ConvertToInt=function(e,t,n,o){let i;let a;if(t===64){i=Math.pow(2,53)-1;if(n==="unsigned"){a=0}else{a=Math.pow(-2,53)+1}}else if(n==="unsigned"){a=0;i=Math.pow(2,t)-1}else{a=Math.pow(-2,t)-1;i=Math.pow(2,t-1)-1}let d=Number(e);if(d===0){d=0}if(o?.enforceRange===true){if(Number.isNaN(d)||d===Number.POSITIVE_INFINITY||d===Number.NEGATIVE_INFINITY){throw h.errors.exception({header:"Integer conversion",message:`Could not convert ${h.util.Stringify(e)} to an integer.`})}d=h.util.IntegerPart(d);if(di){throw h.errors.exception({header:"Integer conversion",message:`Value must be between ${a}-${i}, got ${d}.`})}return d}if(!Number.isNaN(d)&&o?.clamp===true){d=Math.min(Math.max(d,a),i);if(Math.floor(d)%2===0){d=Math.floor(d)}else{d=Math.ceil(d)}return d}if(Number.isNaN(d)||d===0&&Object.is(0,d)||d===Number.POSITIVE_INFINITY||d===Number.NEGATIVE_INFINITY){return 0}d=h.util.IntegerPart(d);d=d%Math.pow(2,t);if(n==="signed"&&d>=Math.pow(2,t)-1){return d-Math.pow(2,t)}return d};h.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};h.util.Stringify=function(e){const t=h.util.Type(e);switch(t){case"Symbol":return`Symbol(${e.description})`;case"Object":return i(e);case"String":return`"${e}"`;default:return`${e}`}};h.sequenceConverter=function(e){return(t,n,o,i)=>{if(h.util.Type(t)!=="Object"){throw h.errors.exception({header:n,message:`${o} (${h.util.Stringify(t)}) is not iterable.`})}const a=typeof i==="function"?i():t?.[Symbol.iterator]?.();const d=[];let m=0;if(a===undefined||typeof a.next!=="function"){throw h.errors.exception({header:n,message:`${o} is not iterable.`})}while(true){const{done:t,value:i}=a.next();if(t){break}d.push(e(i,n,`${o}[${m++}]`))}return d}};h.recordConverter=function(e,t){return(n,i,a)=>{if(h.util.Type(n)!=="Object"){throw h.errors.exception({header:i,message:`${a} ("${h.util.Type(n)}") is not an Object.`})}const d={};if(!o.isProxy(n)){const o=[...Object.getOwnPropertyNames(n),...Object.getOwnPropertySymbols(n)];for(const h of o){const o=e(h,i,a);const m=t(n[h],i,a);d[o]=m}return d}const m=Reflect.ownKeys(n);for(const o of m){const h=Reflect.getOwnPropertyDescriptor(n,o);if(h?.enumerable){const h=e(o,i,a);const m=t(n[o],i,a);d[h]=m}}return d}};h.interfaceConverter=function(e){return(t,n,o,i)=>{if(i?.strict!==false&&!(t instanceof e)){throw h.errors.exception({header:n,message:`Expected ${o} ("${h.util.Stringify(t)}") to be an instance of ${e.name}.`})}return t}};h.dictionaryConverter=function(e){return(t,n,o)=>{const i=h.util.Type(t);const a={};if(i==="Null"||i==="Undefined"){return a}else if(i!=="Object"){throw h.errors.exception({header:n,message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const i of e){const{key:e,defaultValue:d,required:m,converter:f}=i;if(m===true){if(!Object.hasOwn(t,e)){throw h.errors.exception({header:n,message:`Missing required key "${e}".`})}}let Q=t[e];const k=Object.hasOwn(i,"defaultValue");if(k&&Q!==null){Q??=d()}if(m||k||Q!==undefined){Q=f(Q,n,`${o}.${e}`);if(i.allowedValues&&!i.allowedValues.includes(Q)){throw h.errors.exception({header:n,message:`${Q} is not an accepted type. Expected one of ${i.allowedValues.join(", ")}.`})}a[e]=Q}}return a}};h.nullableConverter=function(e){return(t,n,o)=>{if(t===null){return t}return e(t,n,o)}};h.converters.DOMString=function(e,t,n,o){if(e===null&&o?.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw h.errors.exception({header:t,message:`${n} is a symbol, which cannot be converted to a DOMString.`})}return String(e)};h.converters.ByteString=function(e,t,n){const o=h.converters.DOMString(e,t,n);for(let e=0;e255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${o.charCodeAt(e)} which is greater than 255.`)}}return o};h.converters.USVString=d;h.converters.boolean=function(e){const t=Boolean(e);return t};h.converters.any=function(e){return e};h.converters["long long"]=function(e,t,n){const o=h.util.ConvertToInt(e,64,"signed",undefined,t,n);return o};h.converters["unsigned long long"]=function(e,t,n){const o=h.util.ConvertToInt(e,64,"unsigned",undefined,t,n);return o};h.converters["unsigned long"]=function(e,t,n){const o=h.util.ConvertToInt(e,32,"unsigned",undefined,t,n);return o};h.converters["unsigned short"]=function(e,t,n,o){const i=h.util.ConvertToInt(e,16,"unsigned",o,t,n);return i};h.converters.ArrayBuffer=function(e,t,n,i){if(h.util.Type(e)!=="Object"||!o.isAnyArrayBuffer(e)){throw h.errors.conversionFailed({prefix:t,argument:`${n} ("${h.util.Stringify(e)}")`,types:["ArrayBuffer"]})}if(i?.allowShared===false&&o.isSharedArrayBuffer(e)){throw h.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.resizable||e.growable){throw h.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};h.converters.TypedArray=function(e,t,n,i,a){if(h.util.Type(e)!=="Object"||!o.isTypedArray(e)||e.constructor.name!==t.name){throw h.errors.conversionFailed({prefix:n,argument:`${i} ("${h.util.Stringify(e)}")`,types:[t.name]})}if(a?.allowShared===false&&o.isSharedArrayBuffer(e.buffer)){throw h.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw h.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};h.converters.DataView=function(e,t,n,i){if(h.util.Type(e)!=="Object"||!o.isDataView(e)){throw h.errors.exception({header:t,message:`${n} is not a DataView.`})}if(i?.allowShared===false&&o.isSharedArrayBuffer(e.buffer)){throw h.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw h.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};h.converters.BufferSource=function(e,t,n,i){if(o.isAnyArrayBuffer(e)){return h.converters.ArrayBuffer(e,t,n,{...i,allowShared:false})}if(o.isTypedArray(e)){return h.converters.TypedArray(e,e.constructor,t,n,{...i,allowShared:false})}if(o.isDataView(e)){return h.converters.DataView(e,t,n,{...i,allowShared:false})}throw h.errors.conversionFailed({prefix:t,argument:`${n} ("${h.util.Stringify(e)}")`,types:["BufferSource"]})};h.converters["sequence"]=h.sequenceConverter(h.converters.ByteString);h.converters["sequence>"]=h.sequenceConverter(h.converters["sequence"]);h.converters["record"]=h.recordConverter(h.converters.ByteString,h.converters.ByteString);e.exports={webidl:h}},2607:e=>{"use strict";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}},8355:(e,t,n)=>{"use strict";const{staticPropertyDescriptors:o,readOperation:i,fireAProgressEvent:a}=n(3610);const{kState:d,kError:h,kResult:m,kEvents:f,kAborted:Q}=n(961);const{webidl:k}=n(5893);const{kEnumerableProperty:P}=n(3440);class FileReader extends EventTarget{constructor(){super();this[d]="empty";this[m]=null;this[h]=null;this[f]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){k.brandCheck(this,FileReader);k.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer");e=k.converters.Blob(e,{strict:false});i(this,e,"ArrayBuffer")}readAsBinaryString(e){k.brandCheck(this,FileReader);k.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString");e=k.converters.Blob(e,{strict:false});i(this,e,"BinaryString")}readAsText(e,t=undefined){k.brandCheck(this,FileReader);k.argumentLengthCheck(arguments,1,"FileReader.readAsText");e=k.converters.Blob(e,{strict:false});if(t!==undefined){t=k.converters.DOMString(t,"FileReader.readAsText","encoding")}i(this,e,"Text",t)}readAsDataURL(e){k.brandCheck(this,FileReader);k.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL");e=k.converters.Blob(e,{strict:false});i(this,e,"DataURL")}abort(){if(this[d]==="empty"||this[d]==="done"){this[m]=null;return}if(this[d]==="loading"){this[d]="done";this[m]=null}this[Q]=true;a("abort",this);if(this[d]!=="loading"){a("loadend",this)}}get readyState(){k.brandCheck(this,FileReader);switch(this[d]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){k.brandCheck(this,FileReader);return this[m]}get error(){k.brandCheck(this,FileReader);return this[h]}get onloadend(){k.brandCheck(this,FileReader);return this[f].loadend}set onloadend(e){k.brandCheck(this,FileReader);if(this[f].loadend){this.removeEventListener("loadend",this[f].loadend)}if(typeof e==="function"){this[f].loadend=e;this.addEventListener("loadend",e)}else{this[f].loadend=null}}get onerror(){k.brandCheck(this,FileReader);return this[f].error}set onerror(e){k.brandCheck(this,FileReader);if(this[f].error){this.removeEventListener("error",this[f].error)}if(typeof e==="function"){this[f].error=e;this.addEventListener("error",e)}else{this[f].error=null}}get onloadstart(){k.brandCheck(this,FileReader);return this[f].loadstart}set onloadstart(e){k.brandCheck(this,FileReader);if(this[f].loadstart){this.removeEventListener("loadstart",this[f].loadstart)}if(typeof e==="function"){this[f].loadstart=e;this.addEventListener("loadstart",e)}else{this[f].loadstart=null}}get onprogress(){k.brandCheck(this,FileReader);return this[f].progress}set onprogress(e){k.brandCheck(this,FileReader);if(this[f].progress){this.removeEventListener("progress",this[f].progress)}if(typeof e==="function"){this[f].progress=e;this.addEventListener("progress",e)}else{this[f].progress=null}}get onload(){k.brandCheck(this,FileReader);return this[f].load}set onload(e){k.brandCheck(this,FileReader);if(this[f].load){this.removeEventListener("load",this[f].load)}if(typeof e==="function"){this[f].load=e;this.addEventListener("load",e)}else{this[f].load=null}}get onabort(){k.brandCheck(this,FileReader);return this[f].abort}set onabort(e){k.brandCheck(this,FileReader);if(this[f].abort){this.removeEventListener("abort",this[f].abort)}if(typeof e==="function"){this[f].abort=e;this.addEventListener("abort",e)}else{this[f].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:o,LOADING:o,DONE:o,readAsArrayBuffer:P,readAsBinaryString:P,readAsText:P,readAsDataURL:P,abort:P,readyState:P,result:P,error:P,onloadstart:P,onprogress:P,onload:P,onabort:P,onerror:P,onloadend:P,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:o,LOADING:o,DONE:o});e.exports={FileReader:FileReader}},8573:(e,t,n)=>{"use strict";const{webidl:o}=n(5893);const i=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=o.converters.DOMString(e,"ProgressEvent constructor","type");t=o.converters.ProgressEventInit(t??{});super(e,t);this[i]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){o.brandCheck(this,ProgressEvent);return this[i].lengthComputable}get loaded(){o.brandCheck(this,ProgressEvent);return this[i].loaded}get total(){o.brandCheck(this,ProgressEvent);return this[i].total}}o.converters.ProgressEventInit=o.dictionaryConverter([{key:"lengthComputable",converter:o.converters.boolean,defaultValue:()=>false},{key:"loaded",converter:o.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:o.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:o.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:o.converters.boolean,defaultValue:()=>false},{key:"composed",converter:o.converters.boolean,defaultValue:()=>false}]);e.exports={ProgressEvent:ProgressEvent}},961:e=>{"use strict";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")}},3610:(e,t,n)=>{"use strict";const{kState:o,kError:i,kResult:a,kAborted:d,kLastProgressEventFired:h}=n(961);const{ProgressEvent:m}=n(8573);const{getEncoding:f}=n(2607);const{serializeAMimeType:Q,parseMIMEType:k}=n(1900);const{types:P}=n(7975);const{StringDecoder:L}=n(3193);const{btoa:U}=n(4573);const H={enumerable:true,writable:false,configurable:false};function readOperation(e,t,n,m){if(e[o]==="loading"){throw new DOMException("Invalid state","InvalidStateError")}e[o]="loading";e[a]=null;e[i]=null;const f=t.stream();const Q=f.getReader();const k=[];let L=Q.read();let U=true;(async()=>{while(!e[d]){try{const{done:f,value:H}=await L;if(U&&!e[d]){queueMicrotask(()=>{fireAProgressEvent("loadstart",e)})}U=false;if(!f&&P.isUint8Array(H)){k.push(H);if((e[h]===undefined||Date.now()-e[h]>=50)&&!e[d]){e[h]=Date.now();queueMicrotask(()=>{fireAProgressEvent("progress",e)})}L=Q.read()}else if(f){queueMicrotask(()=>{e[o]="done";try{const o=packageData(k,n,t.type,m);if(e[d]){return}e[a]=o;fireAProgressEvent("load",e)}catch(t){e[i]=t;fireAProgressEvent("error",e)}if(e[o]!=="loading"){fireAProgressEvent("loadend",e)}});break}}catch(t){if(e[d]){return}queueMicrotask(()=>{e[o]="done";e[i]=t;fireAProgressEvent("error",e);if(e[o]!=="loading"){fireAProgressEvent("loadend",e)}});break}}})()}function fireAProgressEvent(e,t){const n=new m(e,{bubbles:false,cancelable:false});t.dispatchEvent(n)}function packageData(e,t,n,o){switch(t){case"DataURL":{let t="data:";const o=k(n||"application/octet-stream");if(o!=="failure"){t+=Q(o)}t+=";base64,";const i=new L("latin1");for(const n of e){t+=U(i.write(n))}t+=U(i.end());return t}case"Text":{let t="failure";if(o){t=f(o)}if(t==="failure"&&n){const e=k(n);if(e!=="failure"){t=f(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 n=new L("latin1");for(const o of e){t+=n.write(o)}t+=n.end();return t}}}function decode(e,t){const n=combineByteSequences(e);const o=BOMSniffing(n);let i=0;if(o!==null){t=o;i=o==="UTF-8"?3:2}const a=n.slice(i);return new TextDecoder(t).decode(a)}function BOMSniffing(e){const[t,n,o]=e;if(t===239&&n===187&&o===191){return"UTF-8"}else if(t===254&&n===255){return"UTF-16BE"}else if(t===255&&n===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce((e,t)=>e+t.byteLength,0);let n=0;return e.reduce((e,t)=>{e.set(t,n);n+=t.byteLength;return e},new Uint8Array(t))}e.exports={staticPropertyDescriptors:H,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},6897:(e,t,n)=>{"use strict";const{uid:o,states:i,sentCloseFrameState:a,emptyBuffer:d,opcodes:h}=n(736);const{kReadyState:m,kSentClose:f,kByteParser:Q,kReceivedClose:k,kResponse:P}=n(1216);const{fireEvent:L,failWebsocketConnection:U,isClosing:H,isClosed:V,isEstablished:_,parseExtensions:W}=n(8625);const{channels:Y}=n(2414);const{CloseEvent:J}=n(5188);const{makeRequest:j}=n(9967);const{fetching:K}=n(4398);const{Headers:X,getHeadersList:Z}=n(660);const{getDecodeSplit:ee}=n(3168);const{WebsocketFrameSend:te}=n(3264);let ne;try{ne=n(7598)}catch{}function establishWebSocketConnection(e,t,n,i,a,d){const h=e;h.protocol=e.protocol==="ws:"?"http:":"https:";const m=j({urlList:[h],client:n,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(d.headers){const e=Z(new X(d.headers));m.headersList=e}const f=ne.randomBytes(16).toString("base64");m.headersList.append("sec-websocket-key",f);m.headersList.append("sec-websocket-version","13");for(const e of t){m.headersList.append("sec-websocket-protocol",e)}const Q="permessage-deflate; client_max_window_bits";m.headersList.append("sec-websocket-extensions",Q);const k=K({request:m,useParallelQueue:true,dispatcher:d.dispatcher,processResponse(e){if(e.type==="error"||e.status!==101){U(i,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){U(i,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){U(i,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){U(i,'Server did not set Connection header to "upgrade".');return}const n=e.headersList.get("Sec-WebSocket-Accept");const d=ne.createHash("sha1").update(f+o).digest("base64");if(n!==d){U(i,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const h=e.headersList.get("Sec-WebSocket-Extensions");let Q;if(h!==null){Q=W(h);if(!Q.has("permessage-deflate")){U(i,"Sec-WebSocket-Extensions header does not match.");return}}const k=e.headersList.get("Sec-WebSocket-Protocol");if(k!==null){const e=ee("sec-websocket-protocol",m.headersList);if(!e.includes(k)){U(i,"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(Y.open.hasSubscribers){Y.open.publish({address:e.socket.address(),protocol:k,extensions:h})}a(e,Q)}});return k}function closeWebSocketConnection(e,t,n,o){if(H(e)||V(e)){}else if(!_(e)){U(e,"Connection was closed before it was established.");e[m]=i.CLOSING}else if(e[f]===a.NOT_SENT){e[f]=a.PROCESSING;const Q=new te;if(t!==undefined&&n===undefined){Q.frameData=Buffer.allocUnsafe(2);Q.frameData.writeUInt16BE(t,0)}else if(t!==undefined&&n!==undefined){Q.frameData=Buffer.allocUnsafe(2+o);Q.frameData.writeUInt16BE(t,0);Q.frameData.write(n,2,"utf-8")}else{Q.frameData=d}const k=e[P].socket;k.write(Q.createFrame(h.CLOSE));e[f]=a.SENT;e[m]=i.CLOSING}else{e[m]=i.CLOSING}}function onSocketData(e){if(!this.ws[Q].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const{[P]:t}=e;t.socket.off("data",onSocketData);t.socket.off("close",onSocketClose);t.socket.off("error",onSocketError);const n=e[f]===a.SENT&&e[k];let o=1005;let d="";const h=e[Q].closingInfo;if(h&&!h.error){o=h.code??1005;d=h.reason}else if(!e[k]){o=1006}e[m]=i.CLOSED;L("close",e,(e,t)=>new J(e,t),{wasClean:n,code:o,reason:d});if(Y.close.hasSubscribers){Y.close.publish({websocket:e,code:o,reason:d})}}function onSocketError(e){const{ws:t}=this;t[m]=i.CLOSING;if(Y.socketError.hasSubscribers){Y.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection,closeWebSocketConnection:closeWebSocketConnection}},736:e=>{"use strict";const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const n={enumerable:true,writable:false,configurable:false};const o={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const i={NOT_SENT:0,PROCESSING:1,SENT:2};const a={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const d=2**16-1;const h={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const m=Buffer.allocUnsafe(0);const f={string:1,typedArray:2,arrayBuffer:3,blob:4};e.exports={uid:t,sentCloseFrameState:i,staticPropertyDescriptors:n,states:o,opcodes:a,maxUnsigned16Bit:d,parserStates:h,emptyBuffer:m,sendHints:f}},5188:(e,t,n)=>{"use strict";const{webidl:o}=n(5893);const{kEnumerableProperty:i}=n(3440);const{kConstruct:a}=n(6443);const{MessagePort:d}=n(5919);class MessageEvent extends Event{#z;constructor(e,t={}){if(e===a){super(arguments[1],arguments[2]);o.util.markAsUncloneable(this);return}const n="MessageEvent constructor";o.argumentLengthCheck(arguments,1,n);e=o.converters.DOMString(e,n,"type");t=o.converters.MessageEventInit(t,n,"eventInitDict");super(e,t);this.#z=t;o.util.markAsUncloneable(this)}get data(){o.brandCheck(this,MessageEvent);return this.#z.data}get origin(){o.brandCheck(this,MessageEvent);return this.#z.origin}get lastEventId(){o.brandCheck(this,MessageEvent);return this.#z.lastEventId}get source(){o.brandCheck(this,MessageEvent);return this.#z.source}get ports(){o.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#z.ports)){Object.freeze(this.#z.ports)}return this.#z.ports}initMessageEvent(e,t=false,n=false,i=null,a="",d="",h=null,m=[]){o.brandCheck(this,MessageEvent);o.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent");return new MessageEvent(e,{bubbles:t,cancelable:n,data:i,origin:a,lastEventId:d,source:h,ports:m})}static createFastMessageEvent(e,t){const n=new MessageEvent(a,e,t);n.#z=t;n.#z.data??=null;n.#z.origin??="";n.#z.lastEventId??="";n.#z.source??=null;n.#z.ports??=[];return n}}const{createFastMessageEvent:h}=MessageEvent;delete MessageEvent.createFastMessageEvent;class CloseEvent extends Event{#z;constructor(e,t={}){const n="CloseEvent constructor";o.argumentLengthCheck(arguments,1,n);e=o.converters.DOMString(e,n,"type");t=o.converters.CloseEventInit(t);super(e,t);this.#z=t;o.util.markAsUncloneable(this)}get wasClean(){o.brandCheck(this,CloseEvent);return this.#z.wasClean}get code(){o.brandCheck(this,CloseEvent);return this.#z.code}get reason(){o.brandCheck(this,CloseEvent);return this.#z.reason}}class ErrorEvent extends Event{#z;constructor(e,t){const n="ErrorEvent constructor";o.argumentLengthCheck(arguments,1,n);super(e,t);o.util.markAsUncloneable(this);e=o.converters.DOMString(e,n,"type");t=o.converters.ErrorEventInit(t??{});this.#z=t}get message(){o.brandCheck(this,ErrorEvent);return this.#z.message}get filename(){o.brandCheck(this,ErrorEvent);return this.#z.filename}get lineno(){o.brandCheck(this,ErrorEvent);return this.#z.lineno}get colno(){o.brandCheck(this,ErrorEvent);return this.#z.colno}get error(){o.brandCheck(this,ErrorEvent);return this.#z.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:i,origin:i,lastEventId:i,source:i,ports:i,initMessageEvent:i});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:i,code:i,wasClean:i});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:i,filename:i,lineno:i,colno:i,error:i});o.converters.MessagePort=o.interfaceConverter(d);o.converters["sequence"]=o.sequenceConverter(o.converters.MessagePort);const m=[{key:"bubbles",converter:o.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:o.converters.boolean,defaultValue:()=>false},{key:"composed",converter:o.converters.boolean,defaultValue:()=>false}];o.converters.MessageEventInit=o.dictionaryConverter([...m,{key:"data",converter:o.converters.any,defaultValue:()=>null},{key:"origin",converter:o.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:o.converters.DOMString,defaultValue:()=>""},{key:"source",converter:o.nullableConverter(o.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:o.converters["sequence"],defaultValue:()=>new Array(0)}]);o.converters.CloseEventInit=o.dictionaryConverter([...m,{key:"wasClean",converter:o.converters.boolean,defaultValue:()=>false},{key:"code",converter:o.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:o.converters.USVString,defaultValue:()=>""}]);o.converters.ErrorEventInit=o.dictionaryConverter([...m,{key:"message",converter:o.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:o.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:o.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:o.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:o.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,createFastMessageEvent:h}},3264:(e,t,n)=>{"use strict";const{maxUnsigned16Bit:o}=n(736);const i=16386;let a;let d=null;let h=i;try{a=n(7598)}catch{a={randomFillSync:function randomFillSync(e,t,n){for(let t=0;to){d+=8;a=127}else if(i>125){d+=2;a=126}const h=Buffer.allocUnsafe(i+d);h[0]=h[1]=0;h[0]|=128;h[0]=(h[0]&240)+e; +/*! ws. MIT License. Einar Otto Stangvik */h[d-4]=n[0];h[d-3]=n[1];h[d-2]=n[2];h[d-1]=n[3];h[1]=a;if(a===126){h.writeUInt16BE(i,2)}else if(a===127){h[2]=h[3]=0;h.writeUIntBE(i,4,6)}h[1]|=128;for(let e=0;e{"use strict";const{createInflateRaw:o,Z_DEFAULT_WINDOWBITS:i}=n(8522);const{isValidClientWindowBits:a}=n(8625);const{MessageSizeExceededError:d}=n(8707);const h=Buffer.from([0,0,255,255]);const m=Symbol("kBuffer");const f=Symbol("kLength");class PerMessageDeflate{#j;#g={};#K=0;constructor(e,t){this.#g.serverNoContextTakeover=e.has("server_no_context_takeover");this.#g.serverMaxWindowBits=e.get("server_max_window_bits");this.#K=t.maxPayloadSize}decompress(e,t,n){if(!this.#j){let e=i;if(this.#g.serverMaxWindowBits){if(!a(this.#g.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}e=Number.parseInt(this.#g.serverMaxWindowBits)}try{this.#j=o({windowBits:e})}catch(e){n(e);return}this.#j[m]=[];this.#j[f]=0;this.#j.on("data",e=>{this.#j[f]+=e.length;if(this.#K>0&&this.#j[f]>this.#K){n(new d);this.#j.removeAllListeners();this.#j=null;return}this.#j[m].push(e)});this.#j.on("error",e=>{this.#j=null;n(e)})}this.#j.write(e);if(t){this.#j.write(h)}this.#j.flush(()=>{if(!this.#j){return}const e=Buffer.concat(this.#j[m],this.#j[f]);this.#j[m].length=0;this.#j[f]=0;n(null,e)})}}e.exports={PerMessageDeflate:PerMessageDeflate}},1652:(e,t,n)=>{"use strict";const{Writable:o}=n(7075);const i=n(4589);const{parserStates:a,opcodes:d,states:h,emptyBuffer:m,sentCloseFrameState:f}=n(736);const{kReadyState:Q,kSentClose:k,kResponse:P,kReceivedClose:L}=n(1216);const{channels:U}=n(2414);const{isValidStatusCode:H,isValidOpcode:V,failWebsocketConnection:_,websocketMessageReceived:W,utf8Decode:Y,isControlFrame:J,isTextBinaryFrame:j,isContinuationFrame:K}=n(8625);const{WebsocketFrameSend:X}=n(3264);const{closeWebSocketConnection:Z}=n(6897);const{PerMessageDeflate:ee}=n(9469);const{MessageSizeExceededError:te}=n(8707);class ByteParser extends o{#X=[];#Z=0;#ee=0;#te=false;#C=a.INFO;#ne={};#se=[];#oe;#K;constructor(e,t,n={}){super();this.ws=e;this.#oe=t==null?new Map:t;this.#K=n.maxPayloadSize??0;if(this.#oe.has("permessage-deflate")){this.#oe.set("permessage-deflate",new ee(t,n))}}_write(e,t,n){this.#X.push(e);this.#ee+=e.length;this.#te=true;this.run(n)}#re(){if(this.#K>0&&!J(this.#ne.opcode)&&this.#ne.payloadLength>this.#K){_(this.ws,"Payload size exceeds maximum allowed size");return false}return true}run(e){while(this.#te){if(this.#C===a.INFO){if(this.#ee<2){return e()}const t=this.consume(2);const n=(t[0]&128)!==0;const o=t[0]&15;const i=(t[1]&128)===128;const h=!n&&o!==d.CONTINUATION;const m=t[1]&127;const f=t[0]&64;const Q=t[0]&32;const k=t[0]&16;if(!V(o)){_(this.ws,"Invalid opcode received");return e()}if(i){_(this.ws,"Frame cannot be masked");return e()}if(f!==0&&!this.#oe.has("permessage-deflate")){_(this.ws,"Expected RSV1 to be clear.");return}if(Q!==0||k!==0){_(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(h&&!j(o)){_(this.ws,"Invalid frame type was fragmented.");return}if(j(o)&&this.#se.length>0){_(this.ws,"Expected continuation frame");return}if(this.#ne.fragmented&&h){_(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((m>125||h)&&J(o)){_(this.ws,"Control frame either too large or fragmented");return}if(K(o)&&this.#se.length===0&&!this.#ne.compressed){_(this.ws,"Unexpected continuation frame");return}if(m<=125){this.#ne.payloadLength=m;this.#C=a.READ_DATA;if(!this.#re()){return}}else if(m===126){this.#C=a.PAYLOADLENGTH_16}else if(m===127){this.#C=a.PAYLOADLENGTH_64}if(j(o)){this.#ne.binaryType=o;this.#ne.compressed=f!==0}this.#ne.opcode=o;this.#ne.masked=i;this.#ne.fin=n;this.#ne.fragmented=h}else if(this.#C===a.PAYLOADLENGTH_16){if(this.#ee<2){return e()}const t=this.consume(2);this.#ne.payloadLength=t.readUInt16BE(0);this.#C=a.READ_DATA;if(!this.#re()){return}}else if(this.#C===a.PAYLOADLENGTH_64){if(this.#ee<8){return e()}const t=this.consume(8);const n=t.readUInt32BE(0);const o=t.readUInt32BE(4);if(n!==0||o>2**31-1){_(this.ws,"Received payload length > 2^31 bytes.");return}this.#ne.payloadLength=o;this.#C=a.READ_DATA;if(!this.#re()){return}}else if(this.#C===a.READ_DATA){if(this.#ee0&&this.#Z>this.#K){_(this.ws,(new te).message);return}if(!this.#ne.fragmented&&this.#ne.fin){W(this.ws,this.#ne.binaryType,this.consumeFragments())}this.#C=a.INFO}else{this.#oe.get("permessage-deflate").decompress(t,this.#ne.fin,(t,n)=>{if(t){_(this.ws,t.message);return}this.writeFragments(n);if(this.#K>0&&this.#Z>this.#K){_(this.ws,(new te).message);return}if(!this.#ne.fin){this.#C=a.INFO;this.#te=true;this.run(e);return}W(this.ws,this.#ne.binaryType,this.consumeFragments());this.#te=true;this.#C=a.INFO;this.run(e)});this.#te=false;break}}}}}consume(e){if(e>this.#ee){throw new Error("Called consume() before buffers satiated.")}else if(e===0){return m}if(this.#X[0].length===e){this.#ee-=this.#X[0].length;return this.#X.shift()}const t=Buffer.allocUnsafe(e);let n=0;while(n!==e){const o=this.#X[0];const{length:i}=o;if(i+n===e){t.set(this.#X.shift(),n);break}else if(i+n>e){t.set(o.subarray(0,e-n),n);this.#X[0]=o.subarray(e-n);break}else{t.set(this.#X.shift(),n);n+=o.length}}this.#ee-=e;return t}writeFragments(e){this.#Z+=e.length;this.#se.push(e)}consumeFragments(){const e=this.#se;if(e.length===1){this.#Z=0;return e.shift()}const t=Buffer.concat(e,this.#Z);this.#se=[];this.#Z=0;return t}parseCloseBody(e){i(e.length!==1);let t;if(e.length>=2){t=e.readUInt16BE(0)}if(t!==undefined&&!H(t)){return{code:1002,reason:"Invalid status code",error:true}}let n=e.subarray(2);if(n[0]===239&&n[1]===187&&n[2]===191){n=n.subarray(3)}try{n=Y(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:true}}return{code:t,reason:n,error:false}}parseControlFrame(e){const{opcode:t,payloadLength:n}=this.#ne;if(t===d.CLOSE){if(n===1){_(this.ws,"Received close frame with a 1-byte body.");return false}this.#ne.closeInfo=this.parseCloseBody(e);if(this.#ne.closeInfo.error){const{code:e,reason:t}=this.#ne.closeInfo;Z(this.ws,e,t,t.length);_(this.ws,t);return false}if(this.ws[k]!==f.SENT){let e=m;if(this.#ne.closeInfo.code){e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#ne.closeInfo.code,0)}const t=new X(e);this.ws[P].socket.write(t.createFrame(d.CLOSE),e=>{if(!e){this.ws[k]=f.SENT}})}this.ws[Q]=h.CLOSING;this.ws[L]=true;return false}else if(t===d.PING){if(!this.ws[L]){const t=new X(e);this.ws[P].socket.write(t.createFrame(d.PONG));if(U.ping.hasSubscribers){U.ping.publish({payload:e})}}}else if(t===d.PONG){if(U.pong.hasSubscribers){U.pong.publish({payload:e})}}return true}get closingInfo(){return this.#ne.closeInfo}}e.exports={ByteParser:ByteParser}},3900:(e,t,n)=>{"use strict";const{WebsocketFrameSend:o}=n(3264);const{opcodes:i,sendHints:a}=n(736);const d=n(4660);const h=Buffer[Symbol.species];class SendQueue{#ie=new d;#ae=false;#ce;constructor(e){this.#ce=e}add(e,t,n){if(n!==a.blob){const o=createFrame(e,n);if(!this.#ae){this.#ce.write(o,t)}else{const e={promise:null,callback:t,frame:o};this.#ie.push(e)}return}const o={promise:e.arrayBuffer().then(e=>{o.promise=null;o.frame=createFrame(e,n)}),callback:t,frame:null};this.#ie.push(o);if(!this.#ae){this.#Ae()}}async#Ae(){this.#ae=true;const e=this.#ie;while(!e.isEmpty()){const t=e.shift();if(t.promise!==null){await t.promise}this.#ce.write(t.frame,t.callback);t.callback=t.frame=null}this.#ae=false}}function createFrame(e,t){return new o(toBuffer(e,t)).createFrame(t===a.string?i.TEXT:i.BINARY)}function toBuffer(e,t){switch(t){case a.string:return Buffer.from(e);case a.arrayBuffer:case a.blob:return new h(e);case a.typedArray:return new h(e.buffer,e.byteOffset,e.byteLength)}}e.exports={SendQueue:SendQueue}},1216:e=>{"use strict";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")}},8625:(e,t,n)=>{"use strict";const{kReadyState:o,kController:i,kResponse:a,kBinaryType:d,kWebSocketURL:h}=n(1216);const{states:m,opcodes:f}=n(736);const{ErrorEvent:Q,createFastMessageEvent:k}=n(5188);const{isUtf8:P}=n(4573);const{collectASequenceOfCodePointsFast:L,removeHTTPWhitespace:U}=n(1900);function isConnecting(e){return e[o]===m.CONNECTING}function isEstablished(e){return e[o]===m.OPEN}function isClosing(e){return e[o]===m.CLOSING}function isClosed(e){return e[o]===m.CLOSED}function fireEvent(e,t,n=(e,t)=>new Event(e,t),o={}){const i=n(e,o);t.dispatchEvent(i)}function websocketMessageReceived(e,t,n){if(e[o]!==m.OPEN){return}let i;if(t===f.TEXT){try{i=_(n)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===f.BINARY){if(e[d]==="blob"){i=new Blob([n])}else{i=toArrayBuffer(n)}}fireEvent("message",e,k,{origin:e[h].origin,data:i})}function toArrayBuffer(e){if(e.byteLength===e.buffer.byteLength){return e.buffer}return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function isValidSubprotocol(e){if(e.length===0){return false}for(let t=0;t126||n===34||n===40||n===41||n===44||n===47||n===58||n===59||n===60||n===61||n===62||n===63||n===64||n===91||n===92||n===93||n===123||n===125){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{[i]:n,[a]:o}=e;n.abort();if(o?.socket&&!o.socket.destroyed){o.socket.destroy()}if(t){fireEvent("error",e,(e,t)=>new Q(e,t),{error:new Error(t),message:t})}}function isControlFrame(e){return e===f.CLOSE||e===f.PING||e===f.PONG}function isContinuationFrame(e){return e===f.CONTINUATION}function isTextBinaryFrame(e){return e===f.TEXT||e===f.BINARY}function isValidOpcode(e){return isTextBinaryFrame(e)||isContinuationFrame(e)||isControlFrame(e)}function parseExtensions(e){const t={position:0};const n=new Map;while(t.position57){return false}}const t=Number.parseInt(e,10);return t>=8&&t<=15}const H=typeof process.versions.icu==="string";const V=H?new TextDecoder("utf-8",{fatal:true}):undefined;const _=H?V.decode.bind(V):function(e){if(P(e)){return e.toString("utf-8")}throw new TypeError("Invalid utf-8 received.")};e.exports={isConnecting:isConnecting,isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived,utf8Decode:_,isControlFrame:isControlFrame,isContinuationFrame:isContinuationFrame,isTextBinaryFrame:isTextBinaryFrame,isValidOpcode:isValidOpcode,parseExtensions:parseExtensions,isValidClientWindowBits:isValidClientWindowBits}},3726:(e,t,n)=>{"use strict";const{webidl:o}=n(5893);const{URLSerializer:i}=n(1900);const{environmentSettingsObject:a}=n(3168);const{staticPropertyDescriptors:d,states:h,sentCloseFrameState:m,sendHints:f}=n(736);const{kWebSocketURL:Q,kReadyState:k,kController:P,kBinaryType:L,kResponse:U,kSentClose:H,kByteParser:V}=n(1216);const{isConnecting:_,isEstablished:W,isClosing:Y,isValidSubprotocol:J,fireEvent:j}=n(8625);const{establishWebSocketConnection:K,closeWebSocketConnection:X}=n(6897);const{ByteParser:Z}=n(1652);const{kEnumerableProperty:ee,isBlobLike:te}=n(3440);const{getGlobalDispatcher:ne}=n(2581);const{types:se}=n(7975);const{ErrorEvent:oe,CloseEvent:re}=n(5188);const{SendQueue:ie}=n(3900);class WebSocket extends EventTarget{#P={open:null,error:null,close:null,message:null};#le=0;#ue="";#oe="";#de;constructor(e,t=[]){super();o.util.markAsUncloneable(this);const n="WebSocket constructor";o.argumentLengthCheck(arguments,1,n);const i=o.converters["DOMString or sequence or WebSocketInit"](t,n,"options");e=o.converters.USVString(e,n,"url");t=i.protocols;const d=a.settingsObject.baseUrl;let h;try{h=new URL(e,d)}catch(e){throw new DOMException(e,"SyntaxError")}if(h.protocol==="http:"){h.protocol="ws:"}else if(h.protocol==="https:"){h.protocol="wss:"}if(h.protocol!=="ws:"&&h.protocol!=="wss:"){throw new DOMException(`Expected a ws: or wss: protocol, got ${h.protocol}`,"SyntaxError")}if(h.hash||h.href.endsWith("#")){throw new DOMException("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map(e=>e.toLowerCase())).size){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every(e=>J(e))){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[Q]=new URL(h.href);const f=a.settingsObject;this[P]=K(h,t,f,this,(e,t)=>this.#ge(e,t),i);this[k]=WebSocket.CONNECTING;this[H]=m.NOT_SENT;this[L]="blob"}close(e=undefined,t=undefined){o.brandCheck(this,WebSocket);const n="WebSocket.close";if(e!==undefined){e=o.converters["unsigned short"](e,n,"code",{clamp:true})}if(t!==undefined){t=o.converters.USVString(t,n,"reason")}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new DOMException("invalid code","InvalidAccessError")}}let i=0;if(t!==undefined){i=Buffer.byteLength(t);if(i>123){throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError")}}X(this,e,t,i)}send(e){o.brandCheck(this,WebSocket);const t="WebSocket.send";o.argumentLengthCheck(arguments,1,t);e=o.converters.WebSocketSendData(e,t,"data");if(_(this)){throw new DOMException("Sent before connected.","InvalidStateError")}if(!W(this)||Y(this)){return}if(typeof e==="string"){const t=Buffer.byteLength(e);this.#le+=t;this.#de.add(e,()=>{this.#le-=t},f.string)}else if(se.isArrayBuffer(e)){this.#le+=e.byteLength;this.#de.add(e,()=>{this.#le-=e.byteLength},f.arrayBuffer)}else if(ArrayBuffer.isView(e)){this.#le+=e.byteLength;this.#de.add(e,()=>{this.#le-=e.byteLength},f.typedArray)}else if(te(e)){this.#le+=e.size;this.#de.add(e,()=>{this.#le-=e.size},f.blob)}}get readyState(){o.brandCheck(this,WebSocket);return this[k]}get bufferedAmount(){o.brandCheck(this,WebSocket);return this.#le}get url(){o.brandCheck(this,WebSocket);return i(this[Q])}get extensions(){o.brandCheck(this,WebSocket);return this.#oe}get protocol(){o.brandCheck(this,WebSocket);return this.#ue}get onopen(){o.brandCheck(this,WebSocket);return this.#P.open}set onopen(e){o.brandCheck(this,WebSocket);if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof e==="function"){this.#P.open=e;this.addEventListener("open",e)}else{this.#P.open=null}}get onerror(){o.brandCheck(this,WebSocket);return this.#P.error}set onerror(e){o.brandCheck(this,WebSocket);if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof e==="function"){this.#P.error=e;this.addEventListener("error",e)}else{this.#P.error=null}}get onclose(){o.brandCheck(this,WebSocket);return this.#P.close}set onclose(e){o.brandCheck(this,WebSocket);if(this.#P.close){this.removeEventListener("close",this.#P.close)}if(typeof e==="function"){this.#P.close=e;this.addEventListener("close",e)}else{this.#P.close=null}}get onmessage(){o.brandCheck(this,WebSocket);return this.#P.message}set onmessage(e){o.brandCheck(this,WebSocket);if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof e==="function"){this.#P.message=e;this.addEventListener("message",e)}else{this.#P.message=null}}get binaryType(){o.brandCheck(this,WebSocket);return this[L]}set binaryType(e){o.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[L]="blob"}else{this[L]=e}}#ge(e,t){this[U]=e;const n=this[P]?.dispatcher?.webSocketOptions?.maxPayloadSize;const o=new Z(this,t,{maxPayloadSize:n});o.on("drain",onParserDrain);o.on("error",onParserError.bind(this));e.socket.ws=this;this[V]=o;this.#de=new ie(e.socket);this[k]=h.OPEN;const i=e.headersList.get("sec-websocket-extensions");if(i!==null){this.#oe=i}const a=e.headersList.get("sec-websocket-protocol");if(a!==null){this.#ue=a}j("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=h.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=h.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=h.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=h.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:d,OPEN:d,CLOSING:d,CLOSED:d,url:ee,readyState:ee,bufferedAmount:ee,onopen:ee,onerror:ee,onclose:ee,close:ee,onmessage:ee,binaryType:ee,send:ee,extensions:ee,protocol:ee,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:d,OPEN:d,CLOSING:d,CLOSED:d});o.converters["sequence"]=o.sequenceConverter(o.converters.DOMString);o.converters["DOMString or sequence"]=function(e,t,n){if(o.util.Type(e)==="Object"&&Symbol.iterator in e){return o.converters["sequence"](e)}return o.converters.DOMString(e,t,n)};o.converters.WebSocketInit=o.dictionaryConverter([{key:"protocols",converter:o.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:o.converters.any,defaultValue:()=>ne()},{key:"headers",converter:o.nullableConverter(o.converters.HeadersInit)}]);o.converters["DOMString or sequence or WebSocketInit"]=function(e){if(o.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return o.converters.WebSocketInit(e)}return{protocols:o.converters["DOMString or sequence"](e)}};o.converters.WebSocketSendData=function(e){if(o.util.Type(e)==="Object"){if(te(e)){return o.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||se.isArrayBuffer(e)){return o.converters.BufferSource(e)}}return o.converters.USVString(e)};function onParserDrain(){this.ws[U].socket.resume()}function onParserError(e){let t;let n;if(e instanceof re){t=e.reason;n=e.code}else{t=e.message}j("error",this,()=>new oe("error",{error:e,message:t}));X(this,n)}e.exports={WebSocket:WebSocket}},2613:e=>{"use strict";e.exports=require("assert")},181:e=>{"use strict";e.exports=require("buffer")},4434:e=>{"use strict";e.exports=require("events")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},9278:e=>{"use strict";e.exports=require("net")},4589:e=>{"use strict";e.exports=require("node:assert")},6698:e=>{"use strict";e.exports=require("node:async_hooks")},4573:e=>{"use strict";e.exports=require("node:buffer")},1421:e=>{"use strict";e.exports=require("node:child_process")},7540:e=>{"use strict";e.exports=require("node:console")},7598:e=>{"use strict";e.exports=require("node:crypto")},3053:e=>{"use strict";e.exports=require("node:diagnostics_channel")},610:e=>{"use strict";e.exports=require("node:dns")},8474:e=>{"use strict";e.exports=require("node:events")},3024:e=>{"use strict";e.exports=require("node:fs")},1455:e=>{"use strict";e.exports=require("node:fs/promises")},7067:e=>{"use strict";e.exports=require("node:http")},2467:e=>{"use strict";e.exports=require("node:http2")},4708:e=>{"use strict";e.exports=require("node:https")},7030:e=>{"use strict";e.exports=require("node:net")},8161:e=>{"use strict";e.exports=require("node:os")},6760:e=>{"use strict";e.exports=require("node:path")},643:e=>{"use strict";e.exports=require("node:perf_hooks")},1708:e=>{"use strict";e.exports=require("node:process")},1792:e=>{"use strict";e.exports=require("node:querystring")},7075:e=>{"use strict";e.exports=require("node:stream")},1692:e=>{"use strict";e.exports=require("node:tls")},3136:e=>{"use strict";e.exports=require("node:url")},7975:e=>{"use strict";e.exports=require("node:util")},3429:e=>{"use strict";e.exports=require("node:util/types")},5919:e=>{"use strict";e.exports=require("node:worker_threads")},8522:e=>{"use strict";e.exports=require("node:zlib")},3193:e=>{"use strict";e.exports=require("string_decoder")},4756:e=>{"use strict";e.exports=require("tls")},9023:e=>{"use strict";e.exports=require("util")},591:e=>{(()=>{"use strict";var t={d:(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{XMLBuilder:()=>oe,XMLParser:()=>Tt,XMLValidator:()=>re});const o=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i=new RegExp("^["+o+"]["+o+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(e,t){const n=[];let o=t.exec(e);for(;o;){const i=[];i.startIndex=t.lastIndex-o[0].length;const a=o.length;for(let e=0;e"!==e[a]&&" "!==e[a]&&"\t"!==e[a]&&"\n"!==e[a]&&"\r"!==e[a];a++)m+=e[a];if(m=m.trim(),"/"===m[m.length-1]&&(m=m.substring(0,m.length-1),a--),!E(m)){let t;return t=0===m.trim().length?"Invalid space after '<'.":"Tag '"+m+"' is an invalid name.",b("InvalidTag",t,w(e,a))}const f=g(e,a);if(!1===f)return b("InvalidAttr","Attributes for '"+m+"' have open quote.",w(e,a));let Q=f.value;if(a=f.index,"/"===Q[Q.length-1]){const n=a-Q.length;Q=Q.substring(0,Q.length-1);const i=x(Q,t);if(!0!==i)return b(i.err.code,i.err.msg,w(e,n+i.err.line));o=!0}else if(h){if(!f.tagClosed)return b("InvalidTag","Closing tag '"+m+"' doesn't have proper closing.",w(e,a));if(Q.trim().length>0)return b("InvalidTag","Closing tag '"+m+"' can't have attributes or invalid starting.",w(e,d));if(0===n.length)return b("InvalidTag","Closing tag '"+m+"' has not been opened.",w(e,d));{const t=n.pop();if(m!==t.tagName){let n=w(e,t.tagStartPos);return b("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+m+"'.",w(e,d))}0==n.length&&(i=!0)}}else{const h=x(Q,t);if(!0!==h)return b(h.err.code,h.err.msg,w(e,a-Q.length+h.err.line));if(!0===i)return b("InvalidXml","Multiple possible root nodes found.",w(e,a));-1!==t.unpairedTags.indexOf(m)||n.push({tagName:m,tagStartPos:d}),o=!0}for(a++;a0)||b("InvalidXml","Invalid '"+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):b("InvalidXml","Start tag expected.",1)}function u(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function p(e,t){const n=t;for(;t5&&"xml"===o)return b("InvalidXml","XML declaration allowed only at the start of the document.",w(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}continue}return t}function c(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t"===e[t]&&(n--,0===n))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t"===e[t+2]){t+=2;break}return t}const m='"',f="'";function g(e,t){let n="",o="",i=!1;for(;t"===e[t]&&""===o){i=!0;break}n+=e[t]}return""===o&&{value:n,index:t,tagClosed:i}}const Q=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function x(e,t){const n=s(e,Q),o={};for(let e=0;ea.includes(e)?"__"+e:e,k={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:S};function A(e,t){if("string"!=typeof e)return;const n=e.toLowerCase();if(a.some(e=>n===e.toLowerCase()))throw new Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);if(d.some(e=>n===e.toLowerCase()))throw new Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}function T(e,t){return"boolean"==typeof e?{enabled:e,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof e&&null!==e?{enabled:!1!==e.enabled,maxEntitySize:Math.max(1,e.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,e.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,e.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,e.maxExpandedLength??1e5),maxEntityCount:Math.max(1,e.maxEntityCount??1e3),allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null,appliesTo:e.appliesTo??"all"}:T(!0)}const C=function(e){const t=Object.assign({},k,e),n=[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}];for(const{value:e,name:t}of n)e&&A(e,t);return null===t.onDangerousProperty&&(t.onDangerousProperty=S),t.processEntities=T(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};let P;P="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class O{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][P]={startIndex:t})}static getMetaDataSymbol(){return P}}class ${constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,t){const n=Object.create(null);let o=0;if("O"!==e[t+3]||"C"!==e[t+4]||"T"!==e[t+5]||"Y"!==e[t+6]||"P"!==e[t+7]||"E"!==e[t+8])throw new Error("Invalid Tag instead of DOCTYPE");{t+=9;let i=1,a=!1,d=!1,h="";for(;t"===e[t]){if(d?"-"===e[t-1]&&"-"===e[t-2]&&(d=!1,i--):i--,0===i)break}else"["===e[t]?a=!0:h+=e[t];else{if(a&&D(e,"!ENTITY",t)){let i,a;if(t+=7,[i,a,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===a.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&o>=this.options.maxEntityCount)throw new Error(`Entity count (${o+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[i]=a,o++}}else if(a&&D(e,"!ELEMENT",t)){t+=8;const{index:n}=this.readElementExp(e,t+1);t=n}else if(a&&D(e,"!ATTLIST",t))t+=8;else if(a&&D(e,"!NOTATION",t)){t+=9;const{index:n}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=n}else{if(!D(e,"!--",t))throw new Error("Invalid DOCTYPE");d=!0}i++,h=""}if(0!==i)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:t}}readEntityExp(e,t){const n=t=I(e,t);for(;tthis.options.maxEntitySize)throw new Error(`Entity "${o}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[o,i,--t]}readNotationExp(e,t){const n=t=I(e,t);for(;t{for(;t0?e[e.length-1].tag:void 0}getCurrentNamespace(){const e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){const t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){const t=this._matcher.path;if(0===t.length)return!1;const n=t[t.length-1];return void 0!==n.values&&e in n.values}getPosition(){const e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){const e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class R{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new F(this)}push(e,t=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const o=this.path.length;this.siblingStacks[o]||(this.siblingStacks[o]=new Map);const i=this.siblingStacks[o],a=n?`${n}:${e}`:e,d=i.get(a)||0;let h=0;for(const e of i.values())h+=e;i.set(a,d+1);const m={tag:e,position:h,counter:d};null!=n&&(m.namespace=n),null!=t&&(m.values=t),this.path.push(m)}pop(){if(0===this.path.length)return;this._pathStringCache=null;const e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){const t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;const t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){const n=e||this.separator;if(n===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;const e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){const t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t=0&&t>=0;){const o=e[n];if("deep-wildcard"===o.type){if(n--,n<0)return!0;const o=e[n];let i=!1;for(let e=t;e>=0;e--)if(this._matchSegment(o,this.path[e],e===this.path.length-1)){t=e-1,n--,i=!0;break}if(!i)return!1}else{if(!this._matchSegment(o,this.path[t],t===this.path.length-1))return!1;t--,n--}}return n<0}_matchSegment(e,t,n){if("*"!==e.tag&&e.tag!==t.tag)return!1;if(void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace)return!1;if(void 0!==e.attrName){if(!n)return!1;if(!t.values||!(e.attrName in t.values))return!1;if(void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue))return!1}if(void 0!==e.position){if(!n)return!1;const o=t.counter??0;if("first"===e.position&&0!==o)return!1;if("odd"===e.position&&o%2!=1)return!1;if("even"===e.position&&o%2!=0)return!1;if("nth"===e.position&&o!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>new Map(e))}readOnly(){return this._view}}class G{constructor(e,t={},n){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){const t=[];let n=0,o="";for(;n",lt:"<",quot:'"'},Y={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"},J=new Set("!?\\\\/[]$%{}^&*()<>|+");function z(e){if("#"===e[0])throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(const t of e)if(J.has(t))throw new Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function q(...e){const t=Object.create(null);for(const n of e)if(n)for(const e of Object.keys(n)){const o=n[e];if("string"==typeof o)t[e]=o;else if(o&&"object"==typeof o&&void 0!==o.val){const n=o.val;"string"==typeof n&&(t[e]=n)}}return t}const j="external",K="base",X="all",Z=Object.freeze({allow:0,leave:1,remove:2,throw:3}),ee=new Set([9,10,13]);class tt{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=(t=this._limit.applyLimitsTo??j)&&t!==j?t===X?new Set([X]):t===K?new Set([K]):Array.isArray(t)?new Set(t):new Set([j]):new Set([j]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=q(W,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);const n=function(e){if(!e)return{xmlVersion:1,onLevel:Z.allow,nullLevel:Z.remove};const t=1.1===e.xmlVersion?1.1:1,n=Z[e.onNCR]??Z.allow,o=Z[e.nullNCR]??Z.remove;return{xmlVersion:t,onLevel:n,nullLevel:Math.max(o,Z.remove)}}(e.ncr);this._ncrXmlVersion=n.xmlVersion,this._ncrOnLevel=n.onLevel,this._ncrNullLevel=n.nullLevel}setExternalEntities(e){if(e)for(const t of Object.keys(e))z(t);this._externalMap=q(e)}addExternalEntity(e,t){z(e),"string"==typeof t&&-1===t.indexOf("&")&&(this._externalMap[e]=t)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=q(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length)return e;const t=e,n=[],o=e.length;let i=0,a=0;const d=this._maxTotalExpansions>0,h=this._maxExpandedLength>0,m=d||h;for(;a=o||59!==e.charCodeAt(t)){a++;continue}const f=e.slice(a+1,t);if(0===f.length){a++;continue}let Q,k;if(this._removeSet.has(f))Q="",void 0===k&&(k=j);else{if(this._leaveSet.has(f)){a++;continue}if(35===f.charCodeAt(0)){const e=this._resolveNCR(f);if(void 0===e){a++;continue}Q=e,k=K}else{const e=this._resolveName(f);Q=e?.value,k=e?.tier}}if(void 0!==Q){if(a>i&&n.push(e.slice(i,a)),n.push(Q),i=t+1,a=i,m&&this._tierCounts(k)){if(d&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(h){const e=Q.length-(f.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}else a++}i=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!ee.has(e)?Z.remove:-1}_applyNCRAction(e,t,n){switch(e){case Z.allow:return String.fromCodePoint(n);case Z.remove:return"";case Z.leave:return;case Z.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${n.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){const t=e.charCodeAt(1);let n;if(n=120===t||88===t?parseInt(e.slice(2),16):parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;const o=this._classifyNCR(n);if(!this._numericAllowed&&o0){const n=e.substring(0,t);if("xmlns"!==n)return n}}class it{constructor(e,t){var n;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=ht,this.parseTextData=st,this.resolveNameSpace=rt,this.buildAttributesMap=at,this.isItStopNode=ct,this.replaceEntitiesValue=ut,this.readStopNodeData=mt,this.saveTextToParentTag=pt,this.addChild=lt,this.ignoreAttributesFn="function"==typeof(n=this.options.ignoreAttributes)?n:Array.isArray(n)?e=>{for(const t of n){if("string"==typeof t&&e===t)return!0;if(t instanceof RegExp&&t.test(e))return!0}}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0;let o={...W};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?o=this.options.htmlEntities:!0===this.options.htmlEntities&&(o={...Y,..._}),this.entityDecoder=new tt({namedEntities:{...o,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new R,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new B;const i=this.options.stopNodes;if(i&&i.length>0){for(let e=0;e0)){d||(e=this.replaceEntitiesValue(e,t,n));const o=h.jPath?n.toString():n,m=h.tagValueProcessor(t,e,o,i,a);return null==m?e:typeof m!=typeof e||m!==e?m:h.trimValues||e.trim()===e?xt(e,h.parseTagValue,h.numberParseOptions):e}}function rt(e){if(this.options.removeNSPrefix){const t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}const te=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function at(e,t,n,o=!1){const i=this.options;if(!0===o||!0!==i.ignoreAttributes&&"string"==typeof e){const o=s(e,te),a=o.length,d={},h=new Array(a);let m=!1;const f={};for(let e=0;e",h,"Closing Tag is not closed.");let a=e.substring(h+2,t).trim();if(i.removeNSPrefix){const e=a.indexOf(":");-1!==e&&(a=a.substr(e+1))}a=Nt(i.transformTagName,a,"",i).tagName,n&&(o=this.saveTextToParentTag(o,n,this.readonlyMatcher));const d=this.matcher.getCurrentTag();if(a&&i.unpairedTagsSet.has(a))throw new Error(`Unpaired tag can not be used as closing tag: `);d&&i.unpairedTagsSet.has(d)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,n=this.tagsNodeStack.pop(),o="",h=t}else if(63===m){let t=gt(e,h,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");o=this.saveTextToParentTag(o,n,this.readonlyMatcher);const a=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(a){const e=a[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1)}if(i.ignoreDeclaration&&"?xml"===t.tagName||i.ignorePiTags);else{const e=new O(t.tagName);e.add(i.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==i.ignoreAttributes&&(e[":@"]=a),this.addChild(n,e,this.readonlyMatcher,h)}h=t.closeIndex+1}else if(33===m&&45===e.charCodeAt(h+2)&&45===e.charCodeAt(h+3)){const t=dt(e,"--\x3e",h+4,"Comment is not closed.");if(i.commentPropName){const a=e.substring(h+4,t-2);o=this.saveTextToParentTag(o,n,this.readonlyMatcher),n.add(i.commentPropName,[{[i.textNodeName]:a}])}h=t}else if(33===m&&68===e.charCodeAt(h+2)){const t=a.readDocType(e,h);this.entityDecoder.addInputEntities(t.entities),h=t.i}else if(33===m&&91===e.charCodeAt(h+2)){const t=dt(e,"]]>",h,"CDATA is not closed.")-2,a=e.substring(h+9,t);o=this.saveTextToParentTag(o,n,this.readonlyMatcher);let d=this.parseTextData(a,n.tagname,this.readonlyMatcher,!0,!1,!0,!0);null==d&&(d=""),i.cdataPropName?n.add(i.cdataPropName,[{[i.textNodeName]:a}]):n.add(i.textNodeName,d),h=t+2}else{let a=gt(e,h,i.removeNSPrefix);if(!a){const t=e.substring(Math.max(0,h-50),Math.min(d,h+50));throw new Error(`readTagExp returned undefined at position ${h}. Context: "${t}"`)}let m=a.tagName;const f=a.rawTagName;let Q=a.tagExp,k=a.attrExpPresent,P=a.closeIndex;if(({tagName:m,tagExp:Q}=Nt(i.transformTagName,m,Q,i)),i.strictReservedNames&&(m===i.commentPropName||m===i.cdataPropName||m===i.textNodeName||m===i.attributesGroupName))throw new Error(`Invalid tag name: ${m}`);n&&o&&"!xml"!==n.tagname&&(o=this.saveTextToParentTag(o,n,this.readonlyMatcher,!1));const L=n;L&&i.unpairedTagsSet.has(L.tagname)&&(n=this.tagsNodeStack.pop(),this.matcher.pop());let U=!1;Q.length>0&&Q.lastIndexOf("/")===Q.length-1&&(U=!0,"/"===m[m.length-1]?(m=m.substr(0,m.length-1),Q=m):Q=Q.substr(0,Q.length-1),k=m!==Q);let H,V=null,_={};H=nt(f),m!==t.tagname&&this.matcher.push(m,{},H),m!==Q&&k&&(V=this.buildAttributesMap(Q,this.matcher,m),V&&(_=et(V,i))),m!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());const W=h;if(this.isCurrentNodeStopNode){let t="";if(U)h=a.closeIndex;else if(i.unpairedTagsSet.has(m))h=a.closeIndex;else{const n=this.readStopNodeData(e,f,P+1);if(!n)throw new Error(`Unexpected end of ${f}`);h=n.i,t=n.tagContent}const o=new O(m);V&&(o[":@"]=V),o.add(i.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(n,o,this.readonlyMatcher,W)}else{if(U){({tagName:m,tagExp:Q}=Nt(i.transformTagName,m,Q,i));const e=new O(m);V&&(e[":@"]=V),this.addChild(n,e,this.readonlyMatcher,W),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(i.unpairedTagsSet.has(m)){const e=new O(m);V&&(e[":@"]=V),this.addChild(n,e,this.readonlyMatcher,W),this.matcher.pop(),this.isCurrentNodeStopNode=!1,h=a.closeIndex;continue}{const e=new O(m);if(this.tagsNodeStack.length>i.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(n),V&&(e[":@"]=V),this.addChild(n,e,this.readonlyMatcher,W),n=e}}o="",h=P}}}else o+=e[h];return t.child};function lt(e,t,n,o){this.options.captureMetaData||(o=void 0);const i=this.options.jPath?n.toString():n,a=this.options.updateTag(t.tagname,i,t[":@"]);!1===a||("string"==typeof a?(t.tagname=a,e.addChild(t,o)):e.addChild(t,o))}function ut(e,t,n){const o=this.options.processEntities;if(!o||!o.enabled)return e;if(o.allowedTags){const i=this.options.jPath?n.toString():n;if(!(Array.isArray(o.allowedTags)?o.allowedTags.includes(t):o.allowedTags(t,i)))return e}if(o.tagFilter){const i=this.options.jPath?n.toString():n;if(!o.tagFilter(t,i))return e}return this.entityDecoder.decode(e)}function pt(e,t,n,o){return e&&(void 0===o&&(o=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,o))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function ct(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function dt(e,t,n,o){const i=e.indexOf(t,n);if(-1===i)throw new Error(o);return i+t.length-1}function ft(e,t,n,o){const i=e.indexOf(t,n);if(-1===i)throw new Error(o);return i}function gt(e,t,n,o=">"){const i=function(e,t,n=">"){let o=0;const i=e.length,a=n.charCodeAt(0),d=n.length>1?n.charCodeAt(1):-1;let h="",m=t;for(let n=t;n",n,`${t} is not closed`);if(e.substring(n+2,a).trim()===t&&(i--,0===i))return{tagContent:e.substring(o,n),i:a};n=a}else if(63===a)n=dt(e,"?>",n+1,"StopNode is not closed.");else if(33===a&&45===e.charCodeAt(n+2)&&45===e.charCodeAt(n+3))n=dt(e,"--\x3e",n+3,"StopNode is not closed.");else if(33===a&&91===e.charCodeAt(n+2))n=dt(e,"]]>",n,"StopNode is not closed.")-2;else{const o=gt(e,n,!1);o&&((o&&o.tagName)===t&&"/"!==o.tagExp[o.tagExp.length-1]&&i++,n=o.closeIndex)}}}function xt(e,t,n){if(t&&"string"==typeof e){const t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},H,t),!e||"string"!=typeof e)return e;let n=e.trim();if(0===n.length)return e;if(void 0!==t.skipLike&&t.skipLike.test(n))return e;if("0"===n)return 0;if(t.hex&&L.test(n))return function(e){if(parseInt)return parseInt(e,16);if(Number.parseInt)return Number.parseInt(e,16);if(window&&window.parseInt)return window.parseInt(e,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(n);if(isFinite(n)){if(n.includes("e")||n.includes("E"))return function(e,t,n){if(!n.eNotation)return e;const o=t.match(V);if(o){let i=o[1]||"";const a=-1===o[3].indexOf("e")?"E":"e",d=o[2],h=i?e[d.length+1]===a:e[d.length]===a;return d.length>1&&h?e:(1!==d.length||!o[3].startsWith(`.${a}`)&&o[3][0]!==a)&&d.length>0?n.leadingZeros&&!h?(t=(o[1]||"")+o[3],Number(t)):e:Number(t)}return e}(e,n,t);{const i=U.exec(n);if(i){const a=i[1]||"",d=i[2];let h=(o=i[3])&&-1!==o.indexOf(".")?("."===(o=o.replace(/0+$/,""))?o="0":"."===o[0]?o="0"+o:"."===o[o.length-1]&&(o=o.substring(0,o.length-1)),o):o;const m=a?"."===e[d.length+1]:"."===e[d.length];if(!t.leadingZeros&&(d.length>1||1===d.length&&!m))return e;{const o=Number(n),i=String(o);if(0===o)return o;if(-1!==i.search(/[eE]/))return t.eNotation?o:e;if(-1!==n.indexOf("."))return"0"===i||i===h||i===`${a}${h}`?o:e;let m=d?h:n;return d?m===i||a+m===i?o:e:m===i||m===a+i?o:e}}return e}}var o;return function(e,t,n){const o=t===1/0;switch(n.infinity.toLowerCase()){case"null":return null;case"infinity":return t;case"string":return o?"Infinity":"-Infinity";default:return e}}(e,Number(n),t)}(e,n)}return void 0!==e?e:""}function Nt(e,t,n,o){if(e){const o=e(t);n===t&&(n=o),t=o}return{tagName:t=bt(t,o),tagExp:n}}function bt(e,t){if(d.includes(e))throw new Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return a.includes(e)?t.onDangerousProperty(e):e}const ne=O.getMetaDataSymbol();function Et(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;const n={};for(const o in e)o.startsWith(t)?n[o.substring(t.length)]=e[o]:n[o]=e[o];return n}function wt(e,t,n,o){return vt(e,t,n,o)}function vt(e,t,n,o){let i;const a={};for(let d=0;d0&&(a[t.textNodeName]=i):void 0!==i&&(a[t.textNodeName]=i),a}function St(e){const t=Object.keys(e);for(let e=0;e/g,"]]]]>")}function Ot(e){return String(e).replace(/"/g,""").replace(/'/g,"'")}function $t(e,t){let n="";t.format&&t.indentBy.length>0&&(n="\n");const o=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;et.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(e)){if(null!=e){let n=e.toString();return n=Ft(n,t),n}return""}for(let h=0;h`,d=!1,o.pop();continue}if(f===t.commentPropName){a+=n+`\x3c!--${Ct(m[f][0][t.textNodeName])}--\x3e`,d=!0,o.pop();continue}if("?"===f[0]){const e=Lt(m[":@"],t,k),i="?xml"===f?"":n;let h=m[f][0][t.textNodeName];h=0!==h.length?" "+h:"",a+=i+`<${f}${h}${e}?>`,d=!0,o.pop();continue}let P=n;""!==P&&(P+=t.indentBy);const L=n+`<${f}${Lt(m[":@"],t,k)}`;let U;U=k?Mt(m[f],t):It(m[f],t,P,o,i),-1!==t.unpairedTags.indexOf(f)?t.suppressUnpairedNode?a+=L+">":a+=L+"/>":U&&0!==U.length||!t.suppressEmptyNode?U&&U.endsWith(">")?a+=L+`>${U}${n}`:(a+=L+">",U&&""!==n&&(U.includes("/>")||U.includes("`):a+=L+"/>",d=!0,o.pop()}return a}function Dt(e,t){if(!e||t.ignoreAttributes)return null;const n={};let o=!1;for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i.startsWith(t.attributeNamePrefix)?i.substr(t.attributeNamePrefix.length):i]=Ot(e[i]),o=!0);return o?n:null}function Mt(e,t){if(!Array.isArray(e))return null!=e?e.toString():"";let n="";for(let o=0;o${o}`:n+=`<${a}${e}/>`}}}return n}function jt(e,t){let n="";if(e&&!t.ignoreAttributes)for(let o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;let i=e[o];!0===i&&t.suppressBooleanAttributes?n+=` ${o.substr(t.attributeNamePrefix.length)}`:n+=` ${o.substr(t.attributeNamePrefix.length)}="${Ot(i)}"`}return n}function Vt(e){const t=Object.keys(e);for(let n=0;n0&&t.processEntities)for(let n=0;n","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function Gt(e){if(this.options=Object.assign({},se,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e{for(const n of t){if("string"==typeof n&&e===n)return!0;if(n instanceof RegExp&&n.test(e))return!0}}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Wt),this.processTextOrObjNode=Bt,this.options.format?(this.indentate=Ut,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Bt(e,t,n,o){const i=this.extractAttributes(e);if(o.push(t,i),this.checkStopNode(o)){const i=this.buildRawContent(e),a=this.buildAttributesForStopNode(e);return o.pop(),this.buildObjectNode(i,t,a,n)}const a=this.j2x(e,n+1,o);return o.pop(),void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,a.attrStr,n,o):this.buildObjectNode(a.val,t,a.attrStr,n)}function Ut(e){return this.options.indentBy.repeat(e)}function Wt(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}Gt.prototype.build=function(e){if(this.options.preserveOrder)return $t(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});const t=new R;return this.j2x(e,0,t).val}},Gt.prototype.j2x=function(e,t,n){let o="",i="";if(this.options.maxNestedTags&&n.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const a=this.options.jPath?n.toString():n,d=this.checkStopNode(n);for(let h in e)if(Object.prototype.hasOwnProperty.call(e,h))if(void 0===e[h])this.isAttribute(h)&&(i+="");else if(null===e[h])this.isAttribute(h)||h===this.options.cdataPropName||h===this.options.commentPropName?i+="":"?"===h[0]?i+=this.indentate(t)+"<"+h+"?"+this.tagEndChar:i+=this.indentate(t)+"<"+h+"/"+this.tagEndChar;else if(e[h]instanceof Date)i+=this.buildTextValNode(e[h],h,"",t,n);else if("object"!=typeof e[h]){const m=this.isAttribute(h);if(m&&!this.ignoreAttributesFn(m,a))o+=this.buildAttrPairStr(m,""+e[h],d);else if(!m)if(h===this.options.textNodeName){let t=this.options.tagValueProcessor(h,""+e[h]);i+=this.replaceEntitiesValue(t)}else{n.push(h);const o=this.checkStopNode(n);if(n.pop(),o){const n=""+e[h];i+=""===n?this.indentate(t)+"<"+h+this.closeTag(h)+this.tagEndChar:this.indentate(t)+"<"+h+">"+n+""+e+"${e}`;else if("object"==typeof e&&null!==e){const o=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);t+=""===o?`<${n}${i}/>`:`<${n}${i}>${o}`}}else if("object"==typeof o&&null!==o){const e=this.buildRawContent(o),i=this.buildAttributesForStopNode(o);t+=""===e?`<${n}${i}/>`:`<${n}${i}>${e}`}else t+=`<${n}>${o}`}return t},Gt.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){const n=e[this.options.attributesGroupName];for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;const o=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,i=n[e];!0===i&&this.options.suppressBooleanAttributes?t+=" "+o:t+=" "+o+'="'+i+'"'}}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const o=this.isAttribute(n);if(o){const i=e[n];!0===i&&this.options.suppressBooleanAttributes?t+=" "+o:t+=" "+o+'="'+i+'"'}}return t},Gt.prototype.buildObjectNode=function(e,t,n,o){if(""===e)return"?"===t[0]?this.indentate(o)+"<"+t+n+"?"+this.tagEndChar:this.indentate(o)+"<"+t+n+this.closeTag(t)+this.tagEndChar;{let i=""+e+i}},Gt.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){const t=Ct(e);return this.indentate(o)+`\x3c!--${t}--\x3e`+this.newLine}if("?"===t[0])return this.indentate(o)+"<"+t+n+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),""===i?this.indentate(o)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(o)+"<"+t+n+">"+i+"0&&this.options.processEntities)for(let t=0;t{"use strict";e.exports=JSON.parse('{"name":"@aws-sdk/client-ssm","description":"AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native","version":"3.1067.0","scripts":{"build":"concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo ssm","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts --mode development","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:index":"tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"},"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.974.20","@aws-sdk/credential-provider-node":"^3.972.55","@aws-sdk/types":"^3.973.12","@smithy/core":"^3.24.6","@smithy/fetch-http-handler":"^5.4.6","@smithy/node-http-handler":"^4.7.6","@smithy/types":"^4.14.3","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node20":"20.1.8","@types/node":"^20.14.8","concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"engines":{"node":">=20.0.0"},"typesVersions":{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/sdk-for-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-ssm","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-ssm"}}')}};var t={};function __nccwpck_require__(n){var o=t[n];if(o!==undefined){return o.exports}var i=t[n]={exports:{}};var a=true;try{e[n].call(i.exports,i,i.exports,__nccwpck_require__);a=false}finally{if(a)delete t[n]}return i.exports}__nccwpck_require__.m=e;(()=>{var e=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;var t;__nccwpck_require__.t=function(n,o){if(o&1)n=this(n);if(o&8)return n;if(typeof n==="object"&&n){if(o&4&&n.__esModule)return n;if(o&16&&typeof n.then==="function")return n}var i=Object.create(null);__nccwpck_require__.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var d=o&2&&n;typeof d=="object"&&!~t.indexOf(d);d=e(d)){Object.getOwnPropertyNames(d).forEach(e=>a[e]=()=>n[e])}a["default"]=()=>n;__nccwpck_require__.d(i,a);return i}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var n in t){if(__nccwpck_require__.o(t,n)&&!__nccwpck_require__.o(e,n)){Object.defineProperty(e,n,{enumerable:true,get:t[n]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=e=>Promise.all(Object.keys(__nccwpck_require__.f).reduce((t,n)=>{__nccwpck_require__.f[n](e,t);return t},[]))})();(()=>{__nccwpck_require__.u=e=>""+e+".index.js"})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";(()=>{var e={792:1};var installChunk=t=>{var n=t.modules,o=t.ids,i=t.runtime;for(var a in n){if(__nccwpck_require__.o(n,a)){__nccwpck_require__.m[a]=n[a]}}if(i)i(__nccwpck_require__);for(var d=0;d{if(!e[t]){if(true){installChunk(require("./"+__nccwpck_require__.u(t)))}else e[t]=1}}})();var n={};(()=>{"use strict";const e=require("os");function utils_toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}function utils_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}}function command_issueCommand(t,n,o){const i=new Command(t,n,o);process.stdout.write(i.toString()+e.EOL)}function command_issue(e,t=""){command_issueCommand(e,{},t)}const t="::";class Command{constructor(e,t,n){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=n}toString(){let e=t+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const o=this.properties[n];if(o){if(t){t=false}else{e+=","}e+=`${n}=${escapeProperty(o)}`}}}}e+=`${t}${escapeData(this.message)}`;return e}}function escapeData(e){return utils_toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return utils_toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}const n=require("crypto");const o=require("fs");function file_command_issueFileCommand(t,n){const i=process.env[`GITHUB_${t}`];if(!i){throw new Error(`Unable to find environment variable for file command ${t}`)}if(!o.existsSync(i)){throw new Error(`Missing file at path: ${i}`)}o.appendFileSync(i,`${utils_toCommandValue(n)}${e.EOL}`,{encoding:"utf8"})}function file_command_prepareKeyValueMessage(t,o){const i=`ghadelimiter_${n.randomUUID()}`;const a=utils_toCommandValue(o);if(t.includes(i)){throw new Error(`Unexpected input: name should not contain the delimiter "${i}"`)}if(a.includes(i)){throw new Error(`Unexpected input: value should not contain the delimiter "${i}"`)}return`${t}<<${i}${e.EOL}${a}${e.EOL}${i}`}const i=require("path");var a=__nccwpck_require__(8611);var d=__nccwpck_require__(5692);function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const n=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(n){try{return new DecodedURL(n)}catch(e){if(!n.startsWith("http://")&&!n.startsWith("https://"))return new DecodedURL(`http://${n}`)}}else{return undefined}}function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const n=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!n){return false}let o;if(e.port){o=Number(e.port)}else if(e.protocol==="http:"){o=80}else if(e.protocol==="https:"){o=443}const i=[e.hostname.toUpperCase()];if(typeof o==="number"){i.push(`${i[0]}:${o}`)}for(const e of n.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)){if(e==="*"||i.some(t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`))){return true}}return false}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]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}var h=__nccwpck_require__(770);var m=__nccwpck_require__(6752);var f=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};var Q;(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"})(Q||(Q={}));var k;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(k||(k={}));var P;(function(e){e["ApplicationJson"]="application/json"})(P||(P={}));function lib_getProxyUrl(e){const t=pm.getProxyUrl(new URL(e));return t?t.href:""}const L=[Q.MovedPermanently,Q.ResourceMoved,Q.SeeOther,Q.TemporaryRedirect,Q.PermanentRedirect];const U=[Q.BadGateway,Q.ServiceUnavailable,Q.GatewayTimeout];const H=null&&["OPTIONS","GET","DELETE","HEAD"];const V=10;const _=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}class HttpClientResponse{constructor(e){this.message=e}readBody(){return f(this,void 0,void 0,function*(){return new Promise(e=>f(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 f(this,void 0,void 0,function*(){return new Promise(e=>f(this,void 0,void 0,function*(){const t=[];this.message.on("data",e=>{t.push(e)});this.message.on("end",()=>{e(Buffer.concat(t))})}))})}}function isHttps(e){const t=new URL(e);return t.protocol==="https:"}class lib_HttpClient{constructor(e,t,n){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=this._getUserAgentWithOrchestrationId(e);this.handlers=t||[];this.requestOptions=n;if(n){if(n.ignoreSslError!=null){this._ignoreSslError=n.ignoreSslError}this._socketTimeout=n.socketTimeout;if(n.allowRedirects!=null){this._allowRedirects=n.allowRedirects}if(n.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=n.allowRedirectDowngrade}if(n.maxRedirects!=null){this._maxRedirects=Math.max(n.maxRedirects,0)}if(n.keepAlive!=null){this._keepAlive=n.keepAlive}if(n.allowRetries!=null){this._allowRetries=n.allowRetries}if(n.maxRetries!=null){this._maxRetries=n.maxRetries}}}options(e,t){return f(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{})})}get(e,t){return f(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{})})}del(e,t){return f(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{})})}post(e,t,n){return f(this,void 0,void 0,function*(){return this.request("POST",e,t,n||{})})}patch(e,t,n){return f(this,void 0,void 0,function*(){return this.request("PATCH",e,t,n||{})})}put(e,t,n){return f(this,void 0,void 0,function*(){return this.request("PUT",e,t,n||{})})}head(e,t){return f(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{})})}sendStream(e,t,n,o){return f(this,void 0,void 0,function*(){return this.request(e,t,n,o)})}getJson(e){return f(this,arguments,void 0,function*(e,t={}){t[k.Accept]=this._getExistingOrDefaultHeader(t,k.Accept,P.ApplicationJson);const n=yield this.get(e,t);return this._processResponse(n,this.requestOptions)})}postJson(e,t){return f(this,arguments,void 0,function*(e,t,n={}){const o=JSON.stringify(t,null,2);n[k.Accept]=this._getExistingOrDefaultHeader(n,k.Accept,P.ApplicationJson);n[k.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,P.ApplicationJson);const i=yield this.post(e,o,n);return this._processResponse(i,this.requestOptions)})}putJson(e,t){return f(this,arguments,void 0,function*(e,t,n={}){const o=JSON.stringify(t,null,2);n[k.Accept]=this._getExistingOrDefaultHeader(n,k.Accept,P.ApplicationJson);n[k.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,P.ApplicationJson);const i=yield this.put(e,o,n);return this._processResponse(i,this.requestOptions)})}patchJson(e,t){return f(this,arguments,void 0,function*(e,t,n={}){const o=JSON.stringify(t,null,2);n[k.Accept]=this._getExistingOrDefaultHeader(n,k.Accept,P.ApplicationJson);n[k.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,P.ApplicationJson);const i=yield this.patch(e,o,n);return this._processResponse(i,this.requestOptions)})}request(e,t,n,o){return f(this,void 0,void 0,function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const i=new URL(t);let a=this._prepareRequest(e,i,o);const d=this._allowRetries&&H.includes(e)?this._maxRetries+1:1;let h=0;let m;do{m=yield this.requestRaw(a,n);if(m&&m.message&&m.message.statusCode===Q.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(m)){e=t;break}}if(e){return e.handleAuthentication(this,a,n)}else{return m}}let t=this._maxRedirects;while(m.message.statusCode&&L.includes(m.message.statusCode)&&this._allowRedirects&&t>0){const d=m.message.headers["location"];if(!d){break}const h=new URL(d);if(i.protocol==="https:"&&i.protocol!==h.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 m.readBody();if(h.hostname!==i.hostname){for(const e in o){if(e.toLowerCase()==="authorization"){delete o[e]}}}a=this._prepareRequest(e,h,o);m=yield this.requestRaw(a,n);t--}if(!m.message.statusCode||!U.includes(m.message.statusCode)){return m}h+=1;if(h{function callbackForResult(e,t){if(e){o(e)}else if(!t){o(new Error("Unknown error"))}else{n(t)}}this.requestRawWithCallback(e,t,callbackForResult)})})}requestRawWithCallback(e,t,n){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let o=false;function handleResult(e,t){if(!o){o=true;n(e,t)}}const i=e.httpModule.request(e.options,e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)});let a;i.on("socket",e=>{a=e});i.setTimeout(this._socketTimeout||3*6e4,()=>{if(a){a.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))});i.on("error",function(e){handleResult(e)});if(t&&typeof t==="string"){i.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",function(){i.end()});t.pipe(i)}else{i.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const n=pm.getProxyUrl(t);const o=n&&n.hostname;if(!o){return}return this._getProxyAgentDispatcher(t,n)}_prepareRequest(e,t,n){const o={};o.parsedUrl=t;const i=o.parsedUrl.protocol==="https:";o.httpModule=i?https:http;const a=i?443:80;o.options={};o.options.host=o.parsedUrl.hostname;o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):a;o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||"");o.options.method=e;o.options.headers=this._mergeHeaders(n);if(this.userAgent!=null){o.options.headers["user-agent"]=this.userAgent}o.options.agent=this._getAgent(o.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(o.options)}}return o}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,n){let o;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[t];if(e){o=typeof e==="number"?e.toString():e}}const i=e[t];if(i!==undefined){return typeof i==="number"?i.toString():i}if(o!==undefined){return o}return n}_getExistingOrDefaultContentTypeHeader(e,t){let n;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[k.ContentType];if(e){if(typeof e==="number"){n=String(e)}else if(Array.isArray(e)){n=e.join(", ")}else{n=e}}}const o=e[k.ContentType];if(o!==undefined){if(typeof o==="number"){return String(o)}else if(Array.isArray(o)){return o.join(", ")}else{return o}}if(n!==undefined){return n}return t}_getAgent(e){let t;const n=pm.getProxyUrl(e);const o=n&&n.hostname;if(this._keepAlive&&o){t=this._proxyAgent}if(!o){t=this._agent}if(t){return t}const i=e.protocol==="https:";let a=100;if(this.requestOptions){a=this.requestOptions.maxSockets||http.globalAgent.maxSockets}if(n&&n.hostname){const e={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})};let o;const d=n.protocol==="https:";if(i){o=d?tunnel.httpsOverHttps:tunnel.httpsOverHttp}else{o=d?tunnel.httpOverHttps:tunnel.httpOverHttp}t=o(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:a};t=i?new https.Agent(e):new http.Agent(e);this._agent=t}if(i&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let n;if(this._keepAlive){n=this._proxyAgentDispatcher}if(n){return n}const o=e.protocol==="https:";n=new ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=n;if(o&&this._ignoreSslError){n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:false})}return n}_getUserAgentWithOrchestrationId(e){const t=e||"actions/http-client";const n=process.env["ACTIONS_ORCHESTRATION_ID"];if(n){const e=n.replace(/[^a-z0-9_.-]/gi,"_");return`${t} actions_orchestration_id/${e}`}return t}_performExponentialBackoff(e){return f(this,void 0,void 0,function*(){e=Math.min(V,e);const t=_*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t))})}_processResponse(e,t){return f(this,void 0,void 0,function*(){return new Promise((n,o)=>f(this,void 0,void 0,function*(){const i=e.message.statusCode||0;const a={statusCode:i,result:null,headers:{}};if(i===Q.NotFound){n(a)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let d;let h;try{h=yield e.readBody();if(h&&h.length>0){if(t&&t.deserializeDates){d=JSON.parse(h,dateTimeDeserializer)}else{d=JSON.parse(h)}a.result=d}a.headers=e.message.headers}catch(e){}if(i>299){let e;if(d&&d.message){e=d.message}else if(h&&h.length>0){e=h}else{e=`Failed request: (${i})`}const t=new HttpClientError(e,i);t.result=a.result;o(t)}else{n(a)}}))})}}const lowercaseKeys=e=>Object.keys(e).reduce((t,n)=>(t[n.toLowerCase()]=e[n],t),{});var W=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};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 W(this,void 0,void 0,function*(){throw new Error("not implemented")})}}class auth_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 W(this,void 0,void 0,function*(){throw new Error("not implemented")})}}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 W(this,void 0,void 0,function*(){throw new Error("not implemented")})}}var Y=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};class oidc_utils_OidcClient{static createHttpClient(e=true,t=10){const n={allowRetries:e,maxRetries:t};return new HttpClient("actions/oidc-client",[new BearerCredentialHandler(oidc_utils_OidcClient.getRequestToken())],n)}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){return Y(this,void 0,void 0,function*(){var t;const n=oidc_utils_OidcClient.createHttpClient();const o=yield n.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 i=(t=o.result)===null||t===void 0?void 0:t.value;if(!i){throw new Error("Response json body do not have ID Token field")}return i})}static getIDToken(e){return Y(this,void 0,void 0,function*(){try{let t=oidc_utils_OidcClient.getIDTokenUrl();if(e){const n=encodeURIComponent(e);t=`${t}&audience=${n}`}debug(`ID token url is ${t}`);const n=yield oidc_utils_OidcClient.getCall(t);setSecret(n);return n}catch(e){throw new Error(`Error message: ${e.message}`)}})}}var J=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};const{access:j,appendFile:K,writeFile:X}=o.promises;const Z="GITHUB_STEP_SUMMARY";const ee="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return J(this,void 0,void 0,function*(){if(this._filePath){return this._filePath}const e=process.env[Z];if(!e){throw new Error(`Unable to find environment variable for $${Z}. Check if your runtime environment supports job summaries.`)}try{yield j(e,o.constants.R_OK|o.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath})}wrap(e,t,n={}){const o=Object.entries(n).map(([e,t])=>` ${e}="${t}"`).join("");if(!t){return`<${e}${o}>`}return`<${e}${o}>${t}`}write(e){return J(this,void 0,void 0,function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const n=yield this.filePath();const o=t?X:K;yield o(n,this._buffer,{encoding:"utf8"});return this.emptyBuffer()})}clear(){return J(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(e.EOL)}addCodeBlock(e,t){const n=Object.assign({},t&&{lang:t});const o=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(o).addEOL()}addList(e,t=false){const n=t?"ol":"ul";const o=e.map(e=>this.wrap("li",e)).join("");const i=this.wrap(n,o);return this.addRaw(i).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:n,colspan:o,rowspan:i}=e;const a=t?"th":"td";const d=Object.assign(Object.assign({},o&&{colspan:o}),i&&{rowspan:i});return this.wrap(a,n,d)}).join("");return this.wrap("tr",t)}).join("");const n=this.wrap("table",t);return this.addRaw(n).addEOL()}addDetails(e,t){const n=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(n).addEOL()}addImage(e,t,n){const{width:o,height:i}=n||{};const a=Object.assign(Object.assign({},o&&{width:o}),i&&{height:i});const d=this.wrap("img",null,Object.assign({src:e,alt:t},a));return this.addRaw(d).addEOL()}addHeading(e,t){const n=`h${t}`;const o=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1";const i=this.wrap(o,e);return this.addRaw(i).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 n=Object.assign({},t&&{cite:t});const o=this.wrap("blockquote",e,n);return this.addRaw(o).addEOL()}addLink(e,t){const n=this.wrap("a",e,{href:t});return this.addRaw(n).addEOL()}}const te=new Summary;const ne=null&&te;const se=null&&te;function toPosixPath(e){return e.replace(/[\\]/g,"/")}function toWin32Path(e){return e.replace(/[/]/g,"\\")}function toPlatformPath(e){return e.replace(/[/\\]/g,path.sep)}var oe=__nccwpck_require__(3193);var re=__nccwpck_require__(4434);const ie=require("child_process");var ae=__nccwpck_require__(2613);var ce=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};const{chmod:Ae,copyFile:le,lstat:ue,mkdir:de,open:ge,readdir:he,rename:me,rm:pe,rmdir:Ee,stat:fe,symlink:Ie,unlink:Ce}=o.promises;const Be=process.platform==="win32";function readlink(e){return ce(this,void 0,void 0,function*(){const t=yield fs.promises.readlink(e);if(Be&&!t.endsWith("\\")){return`${t}\\`}return t})}const Qe=268435456;const ye=o.constants.O_RDONLY;function exists(e){return ce(this,void 0,void 0,function*(){try{yield fe(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true})}function isDirectory(e){return ce(this,arguments,void 0,function*(e,t=false){const n=t?yield fe(e):yield ue(e);return n.isDirectory()})}function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(Be){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}function tryGetExecutablePath(e,t){return ce(this,void 0,void 0,function*(){let n=undefined;try{n=yield fe(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(n&&n.isFile()){if(Be){const n=i.extname(e).toUpperCase();if(t.some(e=>e.toUpperCase()===n)){return e}}else{if(isUnixExecutable(n)){return e}}}const o=e;for(const a of t){e=o+a;n=undefined;try{n=yield fe(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(n&&n.isFile()){if(Be){try{const t=i.dirname(e);const n=i.basename(e).toUpperCase();for(const o of yield he(t)){if(n===o.toUpperCase()){e=i.join(t,o);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(n)){return e}}}}return""})}function normalizeSeparators(e){e=e||"";if(Be){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&process.getgid!==undefined&&e.gid===process.getgid()||(e.mode&64)>0&&process.getuid!==undefined&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}var Se=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};function cp(e,t){return Se(this,arguments,void 0,function*(e,t,n={}){const{force:o,recursive:i,copySourceDirectory:a}=readCopyOptions(n);const d=(yield ioUtil.exists(t))?yield ioUtil.stat(t):null;if(d&&d.isFile()&&!o){return}const h=d&&d.isDirectory()&&a?path.join(t,path.basename(e)):t;if(!(yield ioUtil.exists(e))){throw new Error(`no such file or directory: ${e}`)}const m=yield ioUtil.stat(e);if(m.isDirectory()){if(!i){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,h,0,o)}}else{if(path.relative(e,h)===""){throw new Error(`'${h}' and '${e}' are the same file`)}yield io_copyFile(e,h,o)}})}function mv(e,t){return Se(this,arguments,void 0,function*(e,t,n={}){if(yield ioUtil.exists(t)){let o=true;if(yield ioUtil.isDirectory(t)){t=path.join(t,path.basename(e));o=yield ioUtil.exists(t)}if(o){if(n.force==null||n.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(path.dirname(t));yield ioUtil.rename(e,t)})}function rmRF(e){return Se(this,void 0,void 0,function*(){if(ioUtil.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield ioUtil.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}function mkdirP(e){return Se(this,void 0,void 0,function*(){ok(e,"a path argument must be provided");yield ioUtil.mkdir(e,{recursive:true})})}function which(e,t){return Se(this,void 0,void 0,function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(Be){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const n=yield findInPath(e);if(n&&n.length>0){return n[0]}return""})}function findInPath(e){return Se(this,void 0,void 0,function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(Be&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(i.delimiter)){if(e){t.push(e)}}}if(isRooted(e)){const n=yield tryGetExecutablePath(e,t);if(n){return[n]}return[]}if(e.includes(i.sep)){return[]}const n=[];if(process.env.PATH){for(const e of process.env.PATH.split(i.delimiter)){if(e){n.push(e)}}}const o=[];for(const a of n){const n=yield tryGetExecutablePath(i.join(a,e),t);if(n){o.push(n)}}return o})}function readCopyOptions(e){const t=e.force==null?true:e.force;const n=Boolean(e.recursive);const o=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:n,copySourceDirectory:o}}function cpDirRecursive(e,t,n,o){return Se(this,void 0,void 0,function*(){if(n>=255)return;n++;yield mkdirP(t);const i=yield ioUtil.readdir(e);for(const a of i){const i=`${e}/${a}`;const d=`${t}/${a}`;const h=yield ioUtil.lstat(i);if(h.isDirectory()){yield cpDirRecursive(i,d,n,o)}else{yield io_copyFile(i,d,o)}}yield ioUtil.chmod(t,(yield ioUtil.stat(e)).mode)})}function io_copyFile(e,t,n){return Se(this,void 0,void 0,function*(){if((yield ioUtil.lstat(e)).isSymbolicLink()){try{yield ioUtil.lstat(t);yield ioUtil.unlink(t)}catch(e){if(e.code==="EPERM"){yield ioUtil.chmod(t,"0666");yield ioUtil.unlink(t)}}const n=yield ioUtil.readlink(e);yield ioUtil.symlink(n,t,ioUtil.IS_WINDOWS?"junction":null)}else if(!(yield ioUtil.exists(t))||n){yield ioUtil.copyFile(e,t)}})}const Re=require("timers");var we=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};const De=process.platform==="win32";class ToolRunner extends re.EventEmitter{constructor(e,t,n){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=n||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const n=this._getSpawnFileName();const o=this._getSpawnArgs(e);let i=t?"":"[command]";if(De){if(this._isCmdFile()){i+=n;for(const e of o){i+=` ${e}`}}else if(e.windowsVerbatimArguments){i+=`"${n}"`;for(const e of o){i+=` ${e}`}}else{i+=this._windowsQuoteCmdArg(n);for(const e of o){i+=` ${this._windowsQuoteCmdArg(e)}`}}}else{i+=n;for(const e of o){i+=` ${e}`}}return i}_processLineBuffer(t,n,o){try{let i=n+t.toString();let a=i.indexOf(e.EOL);while(a>-1){const t=i.substring(0,a);o(t);i=i.substring(a+e.EOL.length);a=i.indexOf(e.EOL)}return i}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(De){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(De){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const n of this.args){t+=" ";t+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let n=false;for(const o of e){if(t.some(e=>e===o)){n=true;break}}if(!n){return e}let o='"';let i=true;for(let t=e.length;t>0;t--){o+=e[t-1];if(i&&e[t-1]==="\\"){o+="\\"}else if(e[t-1]==='"'){i=true;o+='"'}else{i=false}}o+='"';return o.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let n=true;for(let o=e.length;o>0;o--){t+=e[o-1];if(n&&e[o-1]==="\\"){t+="\\"}else if(e[o-1]==='"'){n=true;t+="\\"}else{n=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const n={};n.cwd=e.cwd;n.env=e.env;n["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){n.argv0=`"${t}"`}return n}exec(){return we(this,void 0,void 0,function*(){if(!isRooted(this.toolPath)&&(this.toolPath.includes("/")||De&&this.toolPath.includes("\\"))){this.toolPath=i.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield which(this.toolPath,true);return new Promise((t,n)=>we(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const o=this._cloneExecOptions(this.options);if(!o.silent&&o.outStream){o.outStream.write(this._getCommandString(o)+e.EOL)}const i=new ExecState(o,this.toolPath);i.on("debug",e=>{this._debug(e)});if(this.options.cwd&&!(yield exists(this.options.cwd))){return n(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const a=this._getSpawnFileName();const d=ie.spawn(a,this._getSpawnArgs(o),this._getSpawnOptions(this.options,a));let h="";if(d.stdout){d.stdout.on("data",e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!o.silent&&o.outStream){o.outStream.write(e)}h=this._processLineBuffer(e,h,e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}})})}let m="";if(d.stderr){d.stderr.on("data",e=>{i.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!o.silent&&o.errStream&&o.outStream){const t=o.failOnStdErr?o.errStream:o.outStream;t.write(e)}m=this._processLineBuffer(e,m,e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}})})}d.on("error",e=>{i.processError=e.message;i.processExited=true;i.processClosed=true;i.CheckComplete()});d.on("exit",e=>{i.processExitCode=e;i.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);i.CheckComplete()});d.on("close",e=>{i.processExitCode=e;i.processExited=true;i.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);i.CheckComplete()});i.on("done",(e,o)=>{if(h.length>0){this.emit("stdline",h)}if(m.length>0){this.emit("errline",m)}d.removeAllListeners();if(e){n(e)}else{t(o)}});if(this.options.input){if(!d.stdin){throw new Error("child process missing stdin")}d.stdin.end(this.options.input)}}))})}}function argStringToArray(e){const t=[];let n=false;let o=false;let i="";function append(e){if(o&&e!=='"'){i+="\\"}i+=e;o=false}for(let a=0;a0){t.push(i);i=""}continue}append(d)}if(i.length>0){t.push(i.trim())}return t}class ExecState extends re.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,Re.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}var be=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};function exec_exec(e,t,n){return be(this,void 0,void 0,function*(){const o=tr.argStringToArray(e);if(o.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const i=o[0];t=o.slice(1).concat(t||[]);const a=new tr.ToolRunner(i,t,n);return a.exec()})}function getExecOutput(e,t,n){return be(this,void 0,void 0,function*(){var o,i;let a="";let d="";const h=new StringDecoder("utf8");const m=new StringDecoder("utf8");const f=(o=n===null||n===void 0?void 0:n.listeners)===null||o===void 0?void 0:o.stdout;const Q=(i=n===null||n===void 0?void 0:n.listeners)===null||i===void 0?void 0:i.stderr;const stdErrListener=e=>{d+=m.write(e);if(Q){Q(e)}};const stdOutListener=e=>{a+=h.write(e);if(f){f(e)}};const k=Object.assign(Object.assign({},n===null||n===void 0?void 0:n.listeners),{stdout:stdOutListener,stderr:stdErrListener});const P=yield exec_exec(e,t,Object.assign(Object.assign({},n),{listeners:k}));a+=h.end();d+=m.end();return{exitCode:P,stdout:a,stderr:d}})}var xe=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};const getWindowsInfo=()=>xe(void 0,void 0,void 0,function*(){const{stdout:e}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}});const getMacOsInfo=()=>xe(void 0,void 0,void 0,function*(){var e,t,n,o;const{stdout:i}=yield exec.getExecOutput("sw_vers",undefined,{silent:true});const a=(t=(e=i.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const d=(o=(n=i.match(/ProductName:\s*(.+)/))===null||n===void 0?void 0:n[1])!==null&&o!==void 0?o:"";return{name:d,version:a}});const getLinuxInfo=()=>xe(void 0,void 0,void 0,function*(){const{stdout:e}=yield exec.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,n]=e.trim().split("\n");return{name:t,version:n}});const Me=e.platform();const ve=e.arch();const Te=Me==="win32";const Ne=Me==="darwin";const ke=Me==="linux";function getDetails(){return xe(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield Te?getWindowsInfo():Ne?getMacOsInfo():getLinuxInfo()),{platform:Me,arch:ve,isWindows:Te,isMacOS:Ne,isLinux:ke})})}var Pe=undefined&&undefined.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())})};var Fe;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(Fe||(Fe={}));function exportVariable(e,t){const n=utils_toCommandValue(t);process.env[e]=n;const o=process.env["GITHUB_ENV"]||"";if(o){return file_command_issueFileCommand("ENV",file_command_prepareKeyValueMessage(e,t))}command_issueCommand("set-env",{name:e},n)}function core_setSecret(e){command_issueCommand("add-mask",{},e)}function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){issueFileCommand("PATH",e)}else{issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${path.delimiter}${process.env["PATH"]}`}function getInput(e,t){const n=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!n){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return n}return n.trim()}function getMultilineInput(e,t){const n=getInput(e,t).split("\n").filter(e=>e!=="");if(t&&t.trimWhitespace===false){return n}return n.map(e=>e.trim())}function getBooleanInput(e,t){const n=["true","True","TRUE"];const o=["false","False","FALSE"];const i=getInput(e,t);if(n.includes(i))return true;if(o.includes(i))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\``)}function setOutput(e,t){const n=process.env["GITHUB_OUTPUT"]||"";if(n){return issueFileCommand("OUTPUT",prepareKeyValueMessage(e,t))}process.stdout.write(os.EOL);issueCommand("set-output",{name:e},toCommandValue(t))}function setCommandEcho(e){issue("echo",e?"on":"off")}function setFailed(e){process.exitCode=Fe.Failure;error(e)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function core_debug(e){issueCommand("debug",{},e)}function error(e,t={}){command_issueCommand("error",utils_toCommandProperties(t),e instanceof Error?e.toString():e)}function warning(e,t={}){issueCommand("warning",toCommandProperties(t),e instanceof Error?e.toString():e)}function notice(e,t={}){issueCommand("notice",toCommandProperties(t),e instanceof Error?e.toString():e)}function info(t){process.stdout.write(t+e.EOL)}function startGroup(e){issue("group",e)}function endGroup(){issue("endgroup")}function group(e,t){return Pe(this,void 0,void 0,function*(){startGroup(e);let n;try{n=yield t()}finally{endGroup()}return n})}function saveState(e,t){const n=process.env["GITHUB_STATE"]||"";if(n){return issueFileCommand("STATE",prepareKeyValueMessage(e,t))}issueCommand("save-state",{name:e},toCommandValue(t))}function getState(e){return process.env[`STATE_${e}`]||""}function getIDToken(e){return Pe(this,void 0,void 0,function*(){return yield OidcClient.getIDToken(e)})}var Le=__nccwpck_require__(4736);const Ue=10;const Oe=process.env.AWS_REGION??process.env.AWS_DEFAULT_REGION??"us-east-1";function parsePairs(e){const t=[];for(const n of e.split(",")){const e=n.trim();if(e==="")continue;const o=e.indexOf("=");const i=o===-1?"":e.slice(0,o).trim();const a=o===-1?"":e.slice(o+1).trim();if(i===""||a===""){throw new Error(`Malformed ssm_parameter_pairs entry: '${e}' (expected '/ssm/path = ENV_NAME')`)}if(i.includes(":")){throw new Error(`SSM parameter '${i}' uses a version/label selector (':'), which is not `+`supported; reference the parameter by name only.`)}t.push({ssmPath:i,envName:a})}return t}function chunk(e,t){const n=[];for(let o=0;oe.ssmPath))];for(const e of chunk(i,Ue)){const n=await t.send(new Le.GetParametersCommand({Names:e,WithDecryption:true}));for(const e of n.Parameters??[]){if(e.Name===undefined||e.Value===undefined)continue;core_setSecret(e.Value);o.set(e.Name,e.Value)}}for(const{ssmPath:e,envName:t}of n){if(!o.has(e)){throw new Error(`SSM parameter '${e}' (-> ${t}) was not returned by AWS `+`(missing parameter or insufficient permissions).`)}}for(const{ssmPath:e,envName:t}of n){exportVariable(t,o.get(e));info(`Env variable ${t} set with value from ssm parameterName ${e}`)}}run(process.env.SSM_PARAMETER_PAIRS??"").catch(e=>{setFailed(e instanceof Error?e.message:String(e))})})();module.exports=n})(); \ No newline at end of file diff --git a/actions/release-secrets/ssm/package.json b/actions/release-secrets/ssm/package.json new file mode 100644 index 0000000..7d201f0 --- /dev/null +++ b/actions/release-secrets/ssm/package.json @@ -0,0 +1,29 @@ +{ + "name": "release-secrets-ssm", + "version": "1.0.0", + "private": true, + "description": "Fetch SSM parameters, mask them, and export them to GITHUB_ENV. Run via `node dist/index.js` from the release-secrets composite action.", + "main": "dist/index.js", + "engines": { + "node": ">=20" + }, + "packageManager": "yarn@4.17.0", + "scripts": { + "build": "ncc build src/main.ts -o dist --minify --no-source-map-register", + "test": "vitest run", + "typecheck": "tsc --noEmit", + "all": "yarn typecheck && yarn test && yarn build" + }, + "license": "Apache-2.0", + "dependencies": { + "@actions/core": "^3.0.1", + "@aws-sdk/client-ssm": "^3.1067.0" + }, + "devDependencies": { + "@types/node": "^25.9.3", + "@vercel/ncc": "^0.44.0", + "aws-sdk-client-mock": "^4.1.0", + "typescript": "^6.0.3", + "vitest": "^4.1.8" + } +} diff --git a/actions/release-secrets/ssm/src/index.test.ts b/actions/release-secrets/ssm/src/index.test.ts new file mode 100644 index 0000000..e6832ae --- /dev/null +++ b/actions/release-secrets/ssm/src/index.test.ts @@ -0,0 +1,150 @@ +import { describe, it, expect, vi, beforeEach } from 'vitest' +import * as core from '@actions/core' +import { SSMClient, GetParametersCommand } from '@aws-sdk/client-ssm' +import { mockClient } from 'aws-sdk-client-mock' +import { parsePairs, chunk, run } from './index' + +vi.mock('@actions/core', () => ({ + info: vi.fn(), + setSecret: vi.fn(), + exportVariable: vi.fn(), + setFailed: vi.fn(), +})) + +const setSecret = vi.mocked(core.setSecret) +const exportVariable = vi.mocked(core.exportVariable) +const ssmMock = mockClient(SSMClient) + +// Resolve GetParametersCommand against a path -> value fixture: present names go +// to Parameters, absent ones to InvalidParameters (mirroring the real API, which +// succeeds either way), and reject any call with >10 names like the real limit. +function withFixture(fixture: Record) { + ssmMock.on(GetParametersCommand).callsFake((input: { Names: string[] }) => { + if (input.Names.length > 10) { + throw new Error('ValidationException: Member must have length <= 10') + } + return { + Parameters: input.Names.filter((n) => n in fixture).map((n) => ({ Name: n, Value: fixture[n] })), + InvalidParameters: input.Names.filter((n) => !(n in fixture)), + } + }) +} + +beforeEach(() => { + vi.clearAllMocks() + ssmMock.reset() +}) + +describe('parsePairs', () => { + it('parses and trims a single pair', () => { + expect(parsePairs(' /app/db = DB_PASS ')).toEqual([{ ssmPath: '/app/db', envName: 'DB_PASS' }]) + }) + it('parses multiple pairs and preserves order/duplicates', () => { + expect(parsePairs('/a = X, /a = Y')).toEqual([ + { ssmPath: '/a', envName: 'X' }, + { ssmPath: '/a', envName: 'Y' }, + ]) + }) + it('ignores empty entries', () => { + expect(parsePairs('')).toEqual([]) + expect(parsePairs(' , ')).toEqual([]) + }) + it('throws on a missing "="', () => { + expect(() => parsePairs('/app/orphan')).toThrow(/Malformed/) + }) + it('throws on an empty path or env name', () => { + expect(() => parsePairs(' = DB')).toThrow(/Malformed/) + expect(() => parsePairs('/app/db = ')).toThrow(/Malformed/) + }) + it('throws on a version/label selector, which SSM does not echo back by name', () => { + expect(() => parsePairs('/app/db:3 = DB_PASS')).toThrow(/selector/) + expect(() => parsePairs('/app/db:prod = DB_PASS')).toThrow(/selector/) + }) +}) + +describe('chunk', () => { + it('splits into chunks of the given size', () => { + expect(chunk([1, 2, 3, 4, 5], 2)).toEqual([[1, 2], [3, 4], [5]]) + }) +}) + +describe('run', () => { + it('masks and exports a single value', async () => { + withFixture({ '/app/db': 'secretDB' }) + await run('/app/db = DB_PASS', new SSMClient({})) + expect(setSecret).toHaveBeenCalledWith('secretDB') + expect(exportVariable).toHaveBeenCalledWith('DB_PASS', 'secretDB') + }) + + it('registers a multiline value with setSecret (the runner masks each line)', async () => { + const pem = '-----BEGIN-----\nLINE2\n-----END-----' + withFixture({ '/app/key': pem }) + await run('/app/key = PRIVATE_KEY', new SSMClient({})) + // We register the whole value once; the runner's add-mask handler splits it + // on newlines and masks each line, so we do not replicate that here. + expect(setSecret).toHaveBeenCalledWith(pem) + expect(setSecret).toHaveBeenCalledTimes(1) + expect(exportVariable).toHaveBeenCalledWith('PRIVATE_KEY', pem) + }) + + it('propagates an SDK error as a rejection and exports nothing', async () => { + ssmMock.on(GetParametersCommand).rejects(new Error('AccessDeniedException')) + await expect(run('/app/db = DB_PASS', new SSMClient({}))).rejects.toThrow(/AccessDenied/) + expect(exportVariable).not.toHaveBeenCalled() + }) + + it('throws when a requested parameter is missing', async () => { + withFixture({ '/app/db': 'secretDB' }) + await expect( + run('/app/db = DB_PASS, /app/missing = API_KEY', new SSMClient({})), + ).rejects.toThrow(/\/app\/missing/) + }) + + it('does not export anything if any parameter is missing (no partial write)', async () => { + withFixture({ '/app/db': 'secretDB' }) + await run('/app/db = DB_PASS, /app/missing = API_KEY', new SSMClient({})).catch(() => {}) + expect(exportVariable).not.toHaveBeenCalled() + }) + + it('exports a duplicate path under two env vars', async () => { + withFixture({ '/app/shared': 'v' }) + await run('/app/shared = ENV_A, /app/shared = ENV_B', new SSMClient({})) + expect(exportVariable).toHaveBeenCalledWith('ENV_A', 'v') + expect(exportVariable).toHaveBeenCalledWith('ENV_B', 'v') + }) + + it('preserves values containing "=" and "&"', async () => { + withFixture({ '/app/url': 'a=b&c=d' }) + await run('/app/url = URL', new SSMClient({})) + expect(exportVariable).toHaveBeenCalledWith('URL', 'a=b&c=d') + }) + + it('chunks across the 10-parameter API limit', async () => { + const fixture: Record = {} + let input = '' + for (let n = 1; n <= 12; n++) { + fixture[`/p/${n}`] = `v${n}` + input += `${n > 1 ? ', ' : ''}/p/${n} = E_${n}` + } + withFixture(fixture) // throws if a single command exceeds 10 names + await run(input, new SSMClient({})) + expect(exportVariable).toHaveBeenCalledTimes(12) + expect(exportVariable).toHaveBeenCalledWith('E_11', 'v11') + // 12 unique paths -> two GetParameters calls (10 + 2). + expect(ssmMock.commandCalls(GetParametersCommand)).toHaveLength(2) + }) + + it('requests decryption', async () => { + withFixture({ '/app/db': 'secretDB' }) + await run('/app/db = DB_PASS', new SSMClient({})) + const call = ssmMock.commandCalls(GetParametersCommand)[0] + expect(call.args[0].input).toMatchObject({ WithDecryption: true, Names: ['/app/db'] }) + }) + + it('is a no-op for empty input', async () => { + withFixture({}) + await run('', new SSMClient({})) + expect(exportVariable).not.toHaveBeenCalled() + expect(ssmMock.commandCalls(GetParametersCommand)).toHaveLength(0) + }) +}) diff --git a/actions/release-secrets/ssm/src/index.ts b/actions/release-secrets/ssm/src/index.ts new file mode 100644 index 0000000..bc2698f --- /dev/null +++ b/actions/release-secrets/ssm/src/index.ts @@ -0,0 +1,108 @@ +import * as core from '@actions/core' +import { SSMClient, GetParametersCommand } from '@aws-sdk/client-ssm' + +interface Pair { + ssmPath: string + envName: string +} + +// AWS SSM GetParameters accepts at most 10 names per call. +const CHUNK_SIZE = 10 + +// Region is configured by the upstream `configure-aws-credentials` step (via +// AWS_REGION/AWS_DEFAULT_REGION); the action pins it to us-east-1, so we fall +// back to that if the env var is somehow absent. +const REGION = process.env.AWS_REGION ?? process.env.AWS_DEFAULT_REGION ?? 'us-east-1' + +/** + * Parse the `ssm_parameter_pairs` input, of the form + * "/ssm/path = ENV_NAME, /ssm/path2 = ENV_NAME2" + * into ordered { ssmPath, envName } pairs. Duplicate paths are allowed (the + * same secret can be exported under more than one env var). Throws on a + * malformed entry rather than silently skipping it. + */ +export function parsePairs(input: string): Pair[] { + const pairs: Pair[] = [] + for (const raw of input.split(',')) { + const entry = raw.trim() + if (entry === '') continue + const eq = entry.indexOf('=') + const ssmPath = eq === -1 ? '' : entry.slice(0, eq).trim() + const envName = eq === -1 ? '' : entry.slice(eq + 1).trim() + if (ssmPath === '' || envName === '') { + throw new Error( + `Malformed ssm_parameter_pairs entry: '${entry}' (expected '/ssm/path = ENV_NAME')`, + ) + } + // Reject version/label selectors (`name:3`, `name:prod`). SSM returns the + // base name in Parameter.Name (the selector goes in a separate field), so a + // selector would never match on lookup and the secret would be fetched but + // then reported as missing. Fail early with a clear message instead. + if (ssmPath.includes(':')) { + throw new Error( + `SSM parameter '${ssmPath}' uses a version/label selector (':'), which is not ` + + `supported; reference the parameter by name only.`, + ) + } + pairs.push({ ssmPath, envName }) + } + return pairs +} + +export function chunk(items: T[], size: number): T[][] { + const out: T[][] = [] + for (let i = 0; i < items.length; i += size) { + out.push(items.slice(i, i + size)) + } + return out +} + +export async function run( + input: string, + client: SSMClient = new SSMClient({ region: REGION }), +): Promise { + const pairs = parsePairs(input) + if (pairs.length === 0) { + core.info('No SSM parameter pairs to process.') + return + } + + // Fetch every requested parameter (chunked to the 10-name API limit) and build + // a path -> value map. setSecret is called the moment a value is read, before + // it is stored or used anywhere else, so it is registered for masking as early + // as possible. The response contains decrypted secrets and is never logged. + const values = new Map() + const uniquePaths = [...new Set(pairs.map((p) => p.ssmPath))] + for (const names of chunk(uniquePaths, CHUNK_SIZE)) { + const res = await client.send( + new GetParametersCommand({ Names: names, WithDecryption: true }), + ) + for (const param of res.Parameters ?? []) { + if (param.Name === undefined || param.Value === undefined) continue + // setSecret masks multiline secrets correctly: it emits one `::add-mask::` + // command and the runner masks both the whole value and each line — see + // https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs + // (AddMaskCommandExtension splits the value on \r\n and masks each line). + core.setSecret(param.Value) + values.set(param.Name, param.Value) + } + } + + // Validate that every requested path resolved BEFORE exporting anything, so a + // missing parameter (it lands in InvalidParameters and the API still succeeds) + // never leaves a partially-populated environment for downstream steps. + for (const { ssmPath, envName } of pairs) { + if (!values.has(ssmPath)) { + throw new Error( + `SSM parameter '${ssmPath}' (-> ${envName}) was not returned by AWS ` + + `(missing parameter or insufficient permissions).`, + ) + } + } + + for (const { ssmPath, envName } of pairs) { + // exportVariable handles masking-safe, multiline-safe writes to GITHUB_ENV. + core.exportVariable(envName, values.get(ssmPath) as string) + core.info(`Env variable ${envName} set with value from ssm parameterName ${ssmPath}`) + } +} diff --git a/actions/release-secrets/ssm/src/main.ts b/actions/release-secrets/ssm/src/main.ts new file mode 100644 index 0000000..11a02ec --- /dev/null +++ b/actions/release-secrets/ssm/src/main.ts @@ -0,0 +1,14 @@ +import * as core from '@actions/core' +import { run } from './index' + +// Bundle entrypoint: ncc builds this file to dist/index.js, which the +// release-secrets composite action runs via `node dist/index.js`. It is invoked +// only as a standalone process, so it runs unconditionally — the library lives +// in ./index, which the tests import without triggering execution. +// +// Do NOT gate this on `require.main === module`: ncc bundles the ESM entry with +// a webpack module wrapper for which that identity check is always false, so the +// guard would silently no-op the entire action. +run(process.env.SSM_PARAMETER_PAIRS ?? '').catch((err) => { + core.setFailed(err instanceof Error ? err.message : String(err)) +}) diff --git a/actions/release-secrets/ssm/tsconfig.json b/actions/release-secrets/ssm/tsconfig.json new file mode 100644 index 0000000..82196f0 --- /dev/null +++ b/actions/release-secrets/ssm/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "ES2022", + // ncc is the bundler; "Preserve" + "Bundler" lets it consume ESM-only deps + // (e.g. @actions/core v3) from this CommonJS entrypoint without tsc raising + // a spurious CJS/ESM interop error. + "module": "Preserve", + "moduleResolution": "Bundler", + "lib": ["ES2022"], + "types": ["node"], + "rootDir": "src", + "strict": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "noEmit": true + }, + "include": ["src"] +} diff --git a/actions/release-secrets/ssm/yarn.lock b/actions/release-secrets/ssm/yarn.lock new file mode 100644 index 0000000..a2ef9b0 --- /dev/null +++ b/actions/release-secrets/ssm/yarn.lock @@ -0,0 +1,1672 @@ +# This file is generated by running "yarn install" inside your project. +# Manual changes might be lost - proceed with caution! + +__metadata: + version: 10 + cacheKey: 10c0 + +"@actions/core@npm:^3.0.1": + version: 3.0.1 + resolution: "@actions/core@npm:3.0.1" + dependencies: + "@actions/exec": "npm:^3.0.0" + "@actions/http-client": "npm:^4.0.0" + checksum: 10c0/c1b86364e923e8b1bdcd338943d453c114b2cd8eb9507e07b7614679ea15ddf938b3bb75484aaf363bc3aa55ba926b9514ec08d79811a991f75c732a76c4d854 + languageName: node + linkType: hard + +"@actions/exec@npm:^3.0.0": + version: 3.0.0 + resolution: "@actions/exec@npm:3.0.0" + dependencies: + "@actions/io": "npm:^3.0.2" + checksum: 10c0/5e4357cd8538ae8d94ffef653559202e7d18db18c5ecccd2c943b4aab989df9cf4e466fcc3c4405887a3c30b88e87b89fb7c7f5b179622d1192525ec891f0274 + languageName: node + linkType: hard + +"@actions/http-client@npm:^4.0.0": + version: 4.0.1 + resolution: "@actions/http-client@npm:4.0.1" + dependencies: + tunnel: "npm:^0.0.6" + undici: "npm:^6.23.0" + checksum: 10c0/2470880a461e00bfeee13462f05f089542af2a6da02bfd73422c549119a5078fbf2cc0c6d3f64d4e5a9df5aeef7f0cf08925a41793c136631ac2ec55dc7a697d + languageName: node + linkType: hard + +"@actions/io@npm:^3.0.2": + version: 3.0.2 + resolution: "@actions/io@npm:3.0.2" + checksum: 10c0/25fae323886544f965e90ab9655e3fb60816eb379c78418c4b06a5dc9da27810eb5b0bd0629146dbd5482a03e3c60a5b8713223e4f789abede23df643ddcae8c + languageName: node + linkType: hard + +"@aws-crypto/crc32@npm:5.2.0": + version: 5.2.0 + resolution: "@aws-crypto/crc32@npm:5.2.0" + dependencies: + "@aws-crypto/util": "npm:^5.2.0" + "@aws-sdk/types": "npm:^3.222.0" + tslib: "npm:^2.6.2" + checksum: 10c0/eab9581d3363af5ea498ae0e72de792f54d8890360e14a9d8261b7b5c55ebe080279fb2556e07994d785341cdaa99ab0b1ccf137832b53b5904cd6928f2b094b + languageName: node + linkType: hard + +"@aws-crypto/sha256-browser@npm:5.2.0": + version: 5.2.0 + resolution: "@aws-crypto/sha256-browser@npm:5.2.0" + dependencies: + "@aws-crypto/sha256-js": "npm:^5.2.0" + "@aws-crypto/supports-web-crypto": "npm:^5.2.0" + "@aws-crypto/util": "npm:^5.2.0" + "@aws-sdk/types": "npm:^3.222.0" + "@aws-sdk/util-locate-window": "npm:^3.0.0" + "@smithy/util-utf8": "npm:^2.0.0" + tslib: "npm:^2.6.2" + checksum: 10c0/05f6d256794df800fe9aef5f52f2ac7415f7f3117d461f85a6aecaa4e29e91527b6fd503681a17136fa89e9dd3d916e9c7e4cfb5eba222875cb6c077bdc1d00d + languageName: node + linkType: hard + +"@aws-crypto/sha256-js@npm:5.2.0, @aws-crypto/sha256-js@npm:^5.2.0": + version: 5.2.0 + resolution: "@aws-crypto/sha256-js@npm:5.2.0" + dependencies: + "@aws-crypto/util": "npm:^5.2.0" + "@aws-sdk/types": "npm:^3.222.0" + tslib: "npm:^2.6.2" + checksum: 10c0/6c48701f8336341bb104dfde3d0050c89c288051f6b5e9bdfeb8091cf3ffc86efcd5c9e6ff2a4a134406b019c07aca9db608128f8d9267c952578a3108db9fd1 + languageName: node + linkType: hard + +"@aws-crypto/supports-web-crypto@npm:^5.2.0": + version: 5.2.0 + resolution: "@aws-crypto/supports-web-crypto@npm:5.2.0" + dependencies: + tslib: "npm:^2.6.2" + checksum: 10c0/4d2118e29d68ca3f5947f1e37ce1fbb3239a0c569cc938cdc8ab8390d595609b5caf51a07c9e0535105b17bf5c52ea256fed705a07e9681118120ab64ee73af2 + languageName: node + linkType: hard + +"@aws-crypto/util@npm:^5.2.0": + version: 5.2.0 + resolution: "@aws-crypto/util@npm:5.2.0" + dependencies: + "@aws-sdk/types": "npm:^3.222.0" + "@smithy/util-utf8": "npm:^2.0.0" + tslib: "npm:^2.6.2" + checksum: 10c0/0362d4c197b1fd64b423966945130207d1fe23e1bb2878a18e361f7743c8d339dad3f8729895a29aa34fff6a86c65f281cf5167c4bf253f21627ae80b6dd2951 + languageName: node + linkType: hard + +"@aws-sdk/client-ssm@npm:^3.1067.0": + version: 3.1067.0 + resolution: "@aws-sdk/client-ssm@npm:3.1067.0" + dependencies: + "@aws-crypto/sha256-browser": "npm:5.2.0" + "@aws-crypto/sha256-js": "npm:5.2.0" + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/credential-provider-node": "npm:^3.972.55" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/fetch-http-handler": "npm:^5.4.6" + "@smithy/node-http-handler": "npm:^4.7.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/1b92fb6798f9cdf09d0856d1cf0fa62816b9ac8e5a61608fb3d3baa0ec2b1b4a66ba6755aaf8a7214574372e5689e2683dc6e3cd8a767ffabc6f6b158b3ec2c3 + languageName: node + linkType: hard + +"@aws-sdk/core@npm:^3.974.20": + version: 3.974.20 + resolution: "@aws-sdk/core@npm:3.974.20" + dependencies: + "@aws-sdk/types": "npm:^3.973.12" + "@aws-sdk/xml-builder": "npm:^3.972.29" + "@aws/lambda-invoke-store": "npm:^0.2.2" + "@smithy/core": "npm:^3.24.6" + "@smithy/signature-v4": "npm:^5.4.6" + "@smithy/types": "npm:^4.14.3" + bowser: "npm:^2.11.0" + tslib: "npm:^2.6.2" + checksum: 10c0/ed6a1b274802c7332dd4e10ab8f615402019de3d86fdae6de928c1ffea83575234410e0ed921a03ef5bf789fbbdbfd00998967fc133c88d93ee7f7e0d31f96b1 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-env@npm:^3.972.46": + version: 3.972.46 + resolution: "@aws-sdk/credential-provider-env@npm:3.972.46" + dependencies: + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/b535e8b4b41e15aead05027074dd14dab26eb7273027085508383e0aadbb1fea7c0a58d85cde79071169a2956ecca3035310492d4da2c2275fe869cbc35b69d2 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-http@npm:^3.972.48": + version: 3.972.48 + resolution: "@aws-sdk/credential-provider-http@npm:3.972.48" + dependencies: + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/fetch-http-handler": "npm:^5.4.6" + "@smithy/node-http-handler": "npm:^4.7.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/e8418a8faba5a148ef27d28810ddf0152c7dbf45a8087e62afc07e395f654dc647e4ca9c2c5e9e4cfa1089c8c96809c4a23383880c9b8743b1e4c2a128d99257 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-ini@npm:^3.972.53": + version: 3.972.53 + resolution: "@aws-sdk/credential-provider-ini@npm:3.972.53" + dependencies: + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/credential-provider-env": "npm:^3.972.46" + "@aws-sdk/credential-provider-http": "npm:^3.972.48" + "@aws-sdk/credential-provider-login": "npm:^3.972.52" + "@aws-sdk/credential-provider-process": "npm:^3.972.46" + "@aws-sdk/credential-provider-sso": "npm:^3.972.52" + "@aws-sdk/credential-provider-web-identity": "npm:^3.972.52" + "@aws-sdk/nested-clients": "npm:^3.997.20" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/credential-provider-imds": "npm:^4.3.7" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/e43fd1f3d01266ff3b32d8b46b5caf054af9c944acecfd7c556cc75527bad4029f7872fa5f1458a9713cda99ac871a829a28f554b12d8f0bf8826d2f64692407 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-login@npm:^3.972.52": + version: 3.972.52 + resolution: "@aws-sdk/credential-provider-login@npm:3.972.52" + dependencies: + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/nested-clients": "npm:^3.997.20" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/beaaacdc2462a450e247cedf100f0299072cc342783dd27ee3206513870e90d64ab2e68c01c7af4254439418096359294581080213ebdf4499280f2d3f0d7790 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-node@npm:^3.972.55": + version: 3.972.55 + resolution: "@aws-sdk/credential-provider-node@npm:3.972.55" + dependencies: + "@aws-sdk/credential-provider-env": "npm:^3.972.46" + "@aws-sdk/credential-provider-http": "npm:^3.972.48" + "@aws-sdk/credential-provider-ini": "npm:^3.972.53" + "@aws-sdk/credential-provider-process": "npm:^3.972.46" + "@aws-sdk/credential-provider-sso": "npm:^3.972.52" + "@aws-sdk/credential-provider-web-identity": "npm:^3.972.52" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/credential-provider-imds": "npm:^4.3.7" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/230854be40054778d2b55691cfe0b42752ec84407e9ef5c97f4fcaec5fd043827dabc02f5a39a91c6b1518735c19e0dff7bf3c232ea248f02d3d4b13c183c546 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-process@npm:^3.972.46": + version: 3.972.46 + resolution: "@aws-sdk/credential-provider-process@npm:3.972.46" + dependencies: + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/942d20417ae2476c36ae3549bf27b4f6adbc5acf35e121e2bb09c3cabbb85299dcf488e8a2c5faaa8208efde5abc4d689afc1966f96ebbb3f8219c9185602ec0 + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-sso@npm:^3.972.52": + version: 3.972.52 + resolution: "@aws-sdk/credential-provider-sso@npm:3.972.52" + dependencies: + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/nested-clients": "npm:^3.997.20" + "@aws-sdk/token-providers": "npm:3.1066.0" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/bbbdda4307915d5bba83643b69e5841a5097deb51cacb9cae32b1ba1a05c866689fb310d8aea184db0cfd9cea5d4f5a77b96521c5a853e90daca179de3d5d72f + languageName: node + linkType: hard + +"@aws-sdk/credential-provider-web-identity@npm:^3.972.52": + version: 3.972.52 + resolution: "@aws-sdk/credential-provider-web-identity@npm:3.972.52" + dependencies: + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/nested-clients": "npm:^3.997.20" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/febea54b749e6667a0273770f9f7355e66b82cf77ed69c142d95aac24d4834c61afbdb685fc87ec8d7d57e71fa7c284289dd8debec8fe08a8183c67c98f30296 + languageName: node + linkType: hard + +"@aws-sdk/nested-clients@npm:^3.997.20": + version: 3.997.20 + resolution: "@aws-sdk/nested-clients@npm:3.997.20" + dependencies: + "@aws-crypto/sha256-browser": "npm:5.2.0" + "@aws-crypto/sha256-js": "npm:5.2.0" + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/signature-v4-multi-region": "npm:^3.996.34" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/fetch-http-handler": "npm:^5.4.6" + "@smithy/node-http-handler": "npm:^4.7.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/ec7e5fa933b6b01afdc0b911b8bef26f4240dec8ff63a466b1a65b82dc1aa82d4cdc719486718f5df2e06d31384ecf681e122d43f96f8ca0498a3caf4d0582e9 + languageName: node + linkType: hard + +"@aws-sdk/signature-v4-multi-region@npm:^3.996.34": + version: 3.996.34 + resolution: "@aws-sdk/signature-v4-multi-region@npm:3.996.34" + dependencies: + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/signature-v4": "npm:^5.4.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/ed50acd3009d744d2684ca3b6f81196a6d7e3afdcb56f1009ff3c4113b6a012f6b659e141bcf3482c80a7eff8df73789ffb2176b81d0da211ad88cae66248eb2 + languageName: node + linkType: hard + +"@aws-sdk/token-providers@npm:3.1066.0": + version: 3.1066.0 + resolution: "@aws-sdk/token-providers@npm:3.1066.0" + dependencies: + "@aws-sdk/core": "npm:^3.974.20" + "@aws-sdk/nested-clients": "npm:^3.997.20" + "@aws-sdk/types": "npm:^3.973.12" + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/475af61b6390222f2e9d2bcc61efb98e5aa342ca99796d7ffdaf761559e64830bbf1317bc817eb473a4496244c0005b281988f3dbcb4153310ea007ba5de41ea + languageName: node + linkType: hard + +"@aws-sdk/types@npm:^3.222.0, @aws-sdk/types@npm:^3.973.12": + version: 3.973.12 + resolution: "@aws-sdk/types@npm:3.973.12" + dependencies: + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/ed3730c983a0162e0ee9b6d85f834e53dcbb387396710bdb85c1e5197cf8c48e98622445667a7490cc6c487a575af79b2c99f49276af7719601aabae4de62f40 + languageName: node + linkType: hard + +"@aws-sdk/util-locate-window@npm:^3.0.0": + version: 3.965.7 + resolution: "@aws-sdk/util-locate-window@npm:3.965.7" + dependencies: + tslib: "npm:^2.6.2" + checksum: 10c0/f7730eb16e297b6e7b2e10c9d1fc6f5c28d793d6ff642aed86feae703a6bd877926f44cf57ca1723dc5d12e4a18e6638c8eb99b7470e58976305f815c5af7929 + languageName: node + linkType: hard + +"@aws-sdk/xml-builder@npm:^3.972.29": + version: 3.972.29 + resolution: "@aws-sdk/xml-builder@npm:3.972.29" + dependencies: + "@smithy/types": "npm:^4.14.3" + fast-xml-parser: "npm:5.7.3" + tslib: "npm:^2.6.2" + checksum: 10c0/677936c5f2ecadb73943a63b6835d91b39d6cf2826235e33ba0fd996180fa8eaae6d5f846aee0224fa954307f61afe015a12354058f9fe0f6151f48ac044e356 + languageName: node + linkType: hard + +"@aws/lambda-invoke-store@npm:^0.2.2": + version: 0.2.4 + resolution: "@aws/lambda-invoke-store@npm:0.2.4" + checksum: 10c0/29d874d7c1a2d971e0c02980594204f89cda718f215f2fc52b6c56eacbdad1fa5f6ce1b358e5811f5cd35d04c76299a67a8aff95318446af2bdfb4910f213e13 + languageName: node + linkType: hard + +"@emnapi/core@npm:1.10.0": + version: 1.10.0 + resolution: "@emnapi/core@npm:1.10.0" + dependencies: + "@emnapi/wasi-threads": "npm:1.2.1" + tslib: "npm:^2.4.0" + checksum: 10c0/f51d08227857b60632de7714d708124f0e100a1462dde6df8221760939aa3204a73193830371830fac0716f3ccd2129f2cac1b17cd7d7958bc4da9018a296edb + languageName: node + linkType: hard + +"@emnapi/runtime@npm:1.10.0": + version: 1.10.0 + resolution: "@emnapi/runtime@npm:1.10.0" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/953f14991d1aefb92ee6f8eb27dea725e484791a53a0cb5f47d9e0087b9a2c929ff2e92adf95af15d6ad456db6300c6b761ebf72b50a875b874a83520b3ba093 + languageName: node + linkType: hard + +"@emnapi/wasi-threads@npm:1.2.1": + version: 1.2.1 + resolution: "@emnapi/wasi-threads@npm:1.2.1" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/32fcfa81ab396533b2ec1f4082b1ff779a05d9c836bbbd3f4398405b0e6814c0d9503b7993130e37bc6941dbc1ded49f55e9700ae9ca4e803bab2b5bc5deb331 + languageName: node + linkType: hard + +"@isaacs/fs-minipass@npm:^4.0.0": + version: 4.0.1 + resolution: "@isaacs/fs-minipass@npm:4.0.1" + dependencies: + minipass: "npm:^7.0.4" + checksum: 10c0/c25b6dc1598790d5b55c0947a9b7d111cfa92594db5296c3b907e2f533c033666f692a3939eadac17b1c7c40d362d0b0635dc874cbfe3e70db7c2b07cc97a5d2 + languageName: node + linkType: hard + +"@jridgewell/sourcemap-codec@npm:^1.5.5": + version: 1.5.5 + resolution: "@jridgewell/sourcemap-codec@npm:1.5.5" + checksum: 10c0/f9e538f302b63c0ebc06eecb1dd9918dd4289ed36147a0ddce35d6ea4d7ebbda243cda7b2213b6a5e1d8087a298d5cf630fb2bd39329cdecb82017023f6081a0 + languageName: node + linkType: hard + +"@napi-rs/wasm-runtime@npm:^1.1.4": + version: 1.1.5 + resolution: "@napi-rs/wasm-runtime@npm:1.1.5" + dependencies: + "@tybys/wasm-util": "npm:^0.10.2" + peerDependencies: + "@emnapi/core": ^1.7.1 + "@emnapi/runtime": ^1.7.1 + checksum: 10c0/727f2b6ae0e68bbe5d39aeb68aa6f183314e9f03dc50bb55a962849535b2db53ecc3fbf1554d8656a54488a608df5a2634670595cf5874dc4af2ee59f817c65d + languageName: node + linkType: hard + +"@nodable/entities@npm:^2.1.0": + version: 2.1.1 + resolution: "@nodable/entities@npm:2.1.1" + checksum: 10c0/d295c148a3a4a30dbcbb453d464ff93b28301d72c8f6f3a2f138f8a2bc1ad9f8c5210a70d857e7133f44468c3d8e90d3026e1aecee5a632d6c3f74898c14e5b9 + languageName: node + linkType: hard + +"@oxc-project/types@npm:=0.133.0": + version: 0.133.0 + resolution: "@oxc-project/types@npm:0.133.0" + checksum: 10c0/70c57ba58644f7ec217b670c301801f4d06995f4ccdba6b2bd106ea3e5ee49d616573e6ef8d55530b87571a960696543687f3850e87ad173d3f88965c30cdd63 + languageName: node + linkType: hard + +"@rolldown/binding-android-arm64@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-android-arm64@npm:1.0.3" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@rolldown/binding-darwin-arm64@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-darwin-arm64@npm:1.0.3" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rolldown/binding-darwin-x64@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-darwin-x64@npm:1.0.3" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rolldown/binding-freebsd-x64@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-freebsd-x64@npm:1.0.3" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@rolldown/binding-linux-arm-gnueabihf@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-linux-arm-gnueabihf@npm:1.0.3" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@rolldown/binding-linux-arm64-gnu@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-linux-arm64-gnu@npm:1.0.3" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rolldown/binding-linux-arm64-musl@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-linux-arm64-musl@npm:1.0.3" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rolldown/binding-linux-ppc64-gnu@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-linux-ppc64-gnu@npm:1.0.3" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@rolldown/binding-linux-s390x-gnu@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-linux-s390x-gnu@npm:1.0.3" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@rolldown/binding-linux-x64-gnu@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-linux-x64-gnu@npm:1.0.3" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rolldown/binding-linux-x64-musl@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-linux-x64-musl@npm:1.0.3" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rolldown/binding-openharmony-arm64@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-openharmony-arm64@npm:1.0.3" + conditions: os=openharmony & cpu=arm64 + languageName: node + linkType: hard + +"@rolldown/binding-wasm32-wasi@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-wasm32-wasi@npm:1.0.3" + dependencies: + "@emnapi/core": "npm:1.10.0" + "@emnapi/runtime": "npm:1.10.0" + "@napi-rs/wasm-runtime": "npm:^1.1.4" + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@rolldown/binding-win32-arm64-msvc@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-win32-arm64-msvc@npm:1.0.3" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rolldown/binding-win32-x64-msvc@npm:1.0.3": + version: 1.0.3 + resolution: "@rolldown/binding-win32-x64-msvc@npm:1.0.3" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@rolldown/pluginutils@npm:^1.0.0": + version: 1.0.1 + resolution: "@rolldown/pluginutils@npm:1.0.1" + checksum: 10c0/99d9b06d90196823e4d8c841f258db7a16e5dbba5824a2962b05d907b79f1ba929d56f22dd744fd530936e568c865ee56a719dc31e57e13bc0a8eb4764a8d8dd + languageName: node + linkType: hard + +"@sinonjs/commons@npm:^3.0.0, @sinonjs/commons@npm:^3.0.1": + version: 3.0.1 + resolution: "@sinonjs/commons@npm:3.0.1" + dependencies: + type-detect: "npm:4.0.8" + checksum: 10c0/1227a7b5bd6c6f9584274db996d7f8cee2c8c350534b9d0141fc662eaf1f292ea0ae3ed19e5e5271c8fd390d27e492ca2803acd31a1978be2cdc6be0da711403 + languageName: node + linkType: hard + +"@sinonjs/fake-timers@npm:11.2.2": + version: 11.2.2 + resolution: "@sinonjs/fake-timers@npm:11.2.2" + dependencies: + "@sinonjs/commons": "npm:^3.0.0" + checksum: 10c0/a4218efa6fdafda622d02d4c0a6ab7df3641cb038bb0b14f0a3ee56f50c95aab4f1ab2d7798ce928b40c6fc1839465a558c9393a77e4dca879e1b2f8d60d8136 + languageName: node + linkType: hard + +"@sinonjs/fake-timers@npm:^15.1.1": + version: 15.4.0 + resolution: "@sinonjs/fake-timers@npm:15.4.0" + dependencies: + "@sinonjs/commons": "npm:^3.0.1" + checksum: 10c0/de4522afe0699fa8d3ae9d1715cbaa4b47e518c707bb7988a9ec6c7c67557d9f6df451f6be0338598b984a86f65aab9fab38dd9ce75a3c0ffb801a9500d5b10d + languageName: node + linkType: hard + +"@sinonjs/samsam@npm:^8.0.0": + version: 8.0.3 + resolution: "@sinonjs/samsam@npm:8.0.3" + dependencies: + "@sinonjs/commons": "npm:^3.0.1" + type-detect: "npm:^4.1.0" + checksum: 10c0/9bf57a8f8a484b3455696786e1679db7f0d6017de62099ee304bd364281fcb20895b7c6b05292aa10fecf76df27691e914fc3e1cb8a56d88c027e87d869dcf0c + languageName: node + linkType: hard + +"@smithy/core@npm:^3.24.6": + version: 3.24.6 + resolution: "@smithy/core@npm:3.24.6" + dependencies: + "@aws-crypto/crc32": "npm:5.2.0" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/4d3db2296a99a4bcb17007b8276a243930f63c3169b9b86b973a2d1422e8dee7e95e3b98eea115e2759b989b23db1ff89ca505bddbacb7391ca3fe4e222b84ff + languageName: node + linkType: hard + +"@smithy/credential-provider-imds@npm:^4.3.7": + version: 4.3.8 + resolution: "@smithy/credential-provider-imds@npm:4.3.8" + dependencies: + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/657c02171c6daba5ebcd0623121b58341cfeeb4cdff596f31954a035fd824f6553a40107e0a86704495550c21d33bb975da6154de1db31b2af64ee06c5a995f2 + languageName: node + linkType: hard + +"@smithy/fetch-http-handler@npm:^5.4.6": + version: 5.4.6 + resolution: "@smithy/fetch-http-handler@npm:5.4.6" + dependencies: + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/06fd6f9a819766d1071ad0eca774ecd936b0b130057076a5e42f1bcc9c751deeddfa279adc4bcddd71ac7699744a2ed06a0405a239a379d98670855d18a6586b + languageName: node + linkType: hard + +"@smithy/is-array-buffer@npm:^2.2.0": + version: 2.2.0 + resolution: "@smithy/is-array-buffer@npm:2.2.0" + dependencies: + tslib: "npm:^2.6.2" + checksum: 10c0/2f2523cd8cc4538131e408eb31664983fecb0c8724956788b015aaf3ab85a0c976b50f4f09b176f1ed7bbe79f3edf80743be7a80a11f22cd9ce1285d77161aaf + languageName: node + linkType: hard + +"@smithy/node-http-handler@npm:^4.7.6": + version: 4.7.7 + resolution: "@smithy/node-http-handler@npm:4.7.7" + dependencies: + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/02c4592f83097d46fccc7d8ff80a978767520e3be798c5d851df68d857d6287527684380adfbdd55c8e7ca06f6f1710f7cfc5a3f591aa6ce791d18a109612d5d + languageName: node + linkType: hard + +"@smithy/signature-v4@npm:^5.4.6": + version: 5.4.6 + resolution: "@smithy/signature-v4@npm:5.4.6" + dependencies: + "@smithy/core": "npm:^3.24.6" + "@smithy/types": "npm:^4.14.3" + tslib: "npm:^2.6.2" + checksum: 10c0/7d7db13f4ddb09cca0a902dd760d83ff9770c085657e577153e4a93c0cd0314a36cbafaaae58c7be1aa1162e81ecab8b1395b0b0e488b20c22eb0dd9714b2b25 + languageName: node + linkType: hard + +"@smithy/types@npm:^4.14.3": + version: 4.14.3 + resolution: "@smithy/types@npm:4.14.3" + dependencies: + tslib: "npm:^2.6.2" + checksum: 10c0/c80244d5ca88992e5609e372eaf2441497d36063688af44e9f0e81ab0ee8d5a4cbdb644822243e4cdfad2dd6484c6274e618dc2a9e91b3b9befe7c7b55e09ddc + languageName: node + linkType: hard + +"@smithy/util-buffer-from@npm:^2.2.0": + version: 2.2.0 + resolution: "@smithy/util-buffer-from@npm:2.2.0" + dependencies: + "@smithy/is-array-buffer": "npm:^2.2.0" + tslib: "npm:^2.6.2" + checksum: 10c0/223d6a508b52ff236eea01cddc062b7652d859dd01d457a4e50365af3de1e24a05f756e19433f6ccf1538544076b4215469e21a4ea83dc1d58d829725b0dbc5a + languageName: node + linkType: hard + +"@smithy/util-utf8@npm:^2.0.0": + version: 2.3.0 + resolution: "@smithy/util-utf8@npm:2.3.0" + dependencies: + "@smithy/util-buffer-from": "npm:^2.2.0" + tslib: "npm:^2.6.2" + checksum: 10c0/e18840c58cc507ca57fdd624302aefd13337ee982754c9aa688463ffcae598c08461e8620e9852a424d662ffa948fc64919e852508028d09e89ced459bd506ab + languageName: node + linkType: hard + +"@standard-schema/spec@npm:^1.1.0": + version: 1.1.0 + resolution: "@standard-schema/spec@npm:1.1.0" + checksum: 10c0/d90f55acde4b2deb983529c87e8025fa693de1a5e8b49ecc6eb84d1fd96328add0e03d7d551442156c7432fd78165b2c26ff561b970a9a881f046abb78d6a526 + languageName: node + linkType: hard + +"@tybys/wasm-util@npm:^0.10.2": + version: 0.10.2 + resolution: "@tybys/wasm-util@npm:0.10.2" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10c0/26165bcd1fd7269f42d7fbe3de318f854a8968de8397e89fc9a423bb3e2da35a52150f382e6323b3367595beb16d9800a6f35971a5599daf76da1742ec3afc25 + languageName: node + linkType: hard + +"@types/chai@npm:^5.2.2": + version: 5.2.3 + resolution: "@types/chai@npm:5.2.3" + dependencies: + "@types/deep-eql": "npm:*" + assertion-error: "npm:^2.0.1" + checksum: 10c0/e0ef1de3b6f8045a5e473e867c8565788c444271409d155588504840ad1a53611011f85072188c2833941189400228c1745d78323dac13fcede9c2b28bacfb2f + languageName: node + linkType: hard + +"@types/deep-eql@npm:*": + version: 4.0.2 + resolution: "@types/deep-eql@npm:4.0.2" + checksum: 10c0/bf3f811843117900d7084b9d0c852da9a044d12eb40e6de73b552598a6843c21291a8a381b0532644574beecd5e3491c5ff3a0365ab86b15d59862c025384844 + languageName: node + linkType: hard + +"@types/estree@npm:^1.0.0": + version: 1.0.9 + resolution: "@types/estree@npm:1.0.9" + checksum: 10c0/3ad3286ca2988cd550dafb8f2ad599c8474868e954fa601a36655bdfefd8039f7c714b8c1c7f2ae219ffbd58bd4660e66fa7479a0120fc02d4777057d4865387 + languageName: node + linkType: hard + +"@types/node@npm:^25.9.3": + version: 25.9.3 + resolution: "@types/node@npm:25.9.3" + dependencies: + undici-types: "npm:>=7.24.0 <7.24.7" + checksum: 10c0/72d3aece9d42c2c641bcd3f3cb2dc2828b4bd384dfcbd910c404b8859a68bd69d50c4769ce7defd4ff5e049768e23e615f09407ea2cbbb5f44b90d75a7c6b8ca + languageName: node + linkType: hard + +"@types/sinon@npm:^17.0.3": + version: 17.0.4 + resolution: "@types/sinon@npm:17.0.4" + dependencies: + "@types/sinonjs__fake-timers": "npm:*" + checksum: 10c0/7c67ae1050d98a86d8dd771f0a764e97adb9d54812bf3b001195f8cfaa1e2bdfc725d5b970b91e7b0bb6b7c1ca209f47993f2c6f84f1f868313c37441313ca5b + languageName: node + linkType: hard + +"@types/sinonjs__fake-timers@npm:*": + version: 15.0.1 + resolution: "@types/sinonjs__fake-timers@npm:15.0.1" + checksum: 10c0/be8daa4e19746f4c249ce4926b83676bb2e5500a8c33b61d81cd303495b56697c28c910f7c57c0ecfd1d7c8ead87449570586d9568b0b5c6fd94c45f116197f4 + languageName: node + linkType: hard + +"@vercel/ncc@npm:^0.44.0": + version: 0.44.0 + resolution: "@vercel/ncc@npm:0.44.0" + dependencies: + node-gyp: "npm:latest" + bin: + ncc: dist/ncc/cli.js + checksum: 10c0/2ace9b5e812180af59d3f8e9d104da41d997eba0729b7b73970f5622f8d8e9b28758cf611e76b0304745e2cade19190b85a9059d33ed4aa1283751ef457ff533 + languageName: node + linkType: hard + +"@vitest/expect@npm:4.1.8": + version: 4.1.8 + resolution: "@vitest/expect@npm:4.1.8" + dependencies: + "@standard-schema/spec": "npm:^1.1.0" + "@types/chai": "npm:^5.2.2" + "@vitest/spy": "npm:4.1.8" + "@vitest/utils": "npm:4.1.8" + chai: "npm:^6.2.2" + tinyrainbow: "npm:^3.1.0" + checksum: 10c0/f7bf6c720d2427c3bd0b35472ebd84d963be7d09ecf52a0fb05e8c4d5d0c9ee164a8c28eee6360947be1b245b47faefab54560cb98e5cb678c1c1074260b9149 + languageName: node + linkType: hard + +"@vitest/mocker@npm:4.1.8": + version: 4.1.8 + resolution: "@vitest/mocker@npm:4.1.8" + dependencies: + "@vitest/spy": "npm:4.1.8" + estree-walker: "npm:^3.0.3" + magic-string: "npm:^0.30.21" + peerDependencies: + msw: ^2.4.9 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + checksum: 10c0/f8cb2b8b55dc2cba0b2399aeee528b0187042f22cbc2d50a4fd6141f5aa246ebc41700f45dd1d73eca44ddfb57dcde48b2eb317bfbb1198f5ab2cc4fd04b2ea0 + languageName: node + linkType: hard + +"@vitest/pretty-format@npm:4.1.8": + version: 4.1.8 + resolution: "@vitest/pretty-format@npm:4.1.8" + dependencies: + tinyrainbow: "npm:^3.1.0" + checksum: 10c0/553c456692a4b9ae13cd116c234c74b4495e0f1a0d5c51ffc3fab8ea085e3550769967e29db79bdac0cf127b1bf88b7f70bfba3dcc72be6bddf834433e30cc91 + languageName: node + linkType: hard + +"@vitest/runner@npm:4.1.8": + version: 4.1.8 + resolution: "@vitest/runner@npm:4.1.8" + dependencies: + "@vitest/utils": "npm:4.1.8" + pathe: "npm:^2.0.3" + checksum: 10c0/706808a4b7b95ea9a9268fc152dd39e15a9a754f37c7990aea167486a9094caa913dae454771ae02c18dccfabd667f8cc38eed33a1307a79d32a89878b5bcce1 + languageName: node + linkType: hard + +"@vitest/snapshot@npm:4.1.8": + version: 4.1.8 + resolution: "@vitest/snapshot@npm:4.1.8" + dependencies: + "@vitest/pretty-format": "npm:4.1.8" + "@vitest/utils": "npm:4.1.8" + magic-string: "npm:^0.30.21" + pathe: "npm:^2.0.3" + checksum: 10c0/ba4c32112491d42d24986f921c50ede5edbdb4b7eafa16c72cf8d2c9ecc44121fdb3d9365236747a9841f0d6776affc6457470fcbb082df9dbc28c24792a0c6d + languageName: node + linkType: hard + +"@vitest/spy@npm:4.1.8": + version: 4.1.8 + resolution: "@vitest/spy@npm:4.1.8" + checksum: 10c0/3c10c0325a09d16bc0e77c0be96c47c15416186e33332880c0d1dd0a51d51a866091067b81f2a2ef6fb422a7760e6cf15c04d91a0eca4d59f62e8c8401fa53fc + languageName: node + linkType: hard + +"@vitest/utils@npm:4.1.8": + version: 4.1.8 + resolution: "@vitest/utils@npm:4.1.8" + dependencies: + "@vitest/pretty-format": "npm:4.1.8" + convert-source-map: "npm:^2.0.0" + tinyrainbow: "npm:^3.1.0" + checksum: 10c0/acda9d3d640c1ebc81afb358ac30589d7d7d583af81e2d09419f0af9cbe41f3ce0b90527326943bf0da51614be5fc31afcd32259f6beb32b3417999d6ef380f3 + languageName: node + linkType: hard + +"abbrev@npm:^4.0.0": + version: 4.0.0 + resolution: "abbrev@npm:4.0.0" + checksum: 10c0/b4cc16935235e80702fc90192e349e32f8ef0ed151ef506aa78c81a7c455ec18375c4125414b99f84b2e055199d66383e787675f0bcd87da7a4dbd59f9eac1d5 + languageName: node + linkType: hard + +"anynum@npm:^1.0.0": + version: 1.0.0 + resolution: "anynum@npm:1.0.0" + checksum: 10c0/c929fed8f4127cd706312da58ae2aa83a06e62059eef04392fe2bacec003b6f6b7ca5f2719bd09c693b100f185bcf6405419744812f1096cdb53aed4034b9209 + languageName: node + linkType: hard + +"assertion-error@npm:^2.0.1": + version: 2.0.1 + resolution: "assertion-error@npm:2.0.1" + checksum: 10c0/bbbcb117ac6480138f8c93cf7f535614282dea9dc828f540cdece85e3c665e8f78958b96afac52f29ff883c72638e6a87d469ecc9fe5bc902df03ed24a55dba8 + languageName: node + linkType: hard + +"aws-sdk-client-mock@npm:^4.1.0": + version: 4.1.0 + resolution: "aws-sdk-client-mock@npm:4.1.0" + dependencies: + "@types/sinon": "npm:^17.0.3" + sinon: "npm:^18.0.1" + tslib: "npm:^2.1.0" + checksum: 10c0/045caad0cff0ffeb08e69849dcae51aac8999163c58d71220bf47a82c237aabab2abf92bf6bf3bd7666e6e8984513c628e01a89eafa46fb230201d6587bc01e9 + languageName: node + linkType: hard + +"bowser@npm:^2.11.0": + version: 2.14.1 + resolution: "bowser@npm:2.14.1" + checksum: 10c0/bb69b55ba7f0456e3dc07d0cfd9467f985581f640ba8fd426b08754a6737ee0d6cf3b50607941e5255f04c83075b952ece0599f978dd4d20f1e95461104c5ffd + languageName: node + linkType: hard + +"chai@npm:^6.2.2": + version: 6.2.2 + resolution: "chai@npm:6.2.2" + checksum: 10c0/e6c69e5f0c11dffe6ea13d0290936ebb68fcc1ad688b8e952e131df6a6d5797d5e860bc55cef1aca2e950c3e1f96daf79e9d5a70fb7dbaab4e46355e2635ed53 + languageName: node + linkType: hard + +"chownr@npm:^3.0.0": + version: 3.0.0 + resolution: "chownr@npm:3.0.0" + checksum: 10c0/43925b87700f7e3893296c8e9c56cc58f926411cce3a6e5898136daaf08f08b9a8eb76d37d3267e707d0dcc17aed2e2ebdf5848c0c3ce95cf910a919935c1b10 + languageName: node + linkType: hard + +"convert-source-map@npm:^2.0.0": + version: 2.0.0 + resolution: "convert-source-map@npm:2.0.0" + checksum: 10c0/8f2f7a27a1a011cc6cc88cc4da2d7d0cfa5ee0369508baae3d98c260bb3ac520691464e5bbe4ae7cdf09860c1d69ecc6f70c63c6e7c7f7e3f18ec08484dc7d9b + languageName: node + linkType: hard + +"detect-libc@npm:^2.0.3": + version: 2.1.2 + resolution: "detect-libc@npm:2.1.2" + checksum: 10c0/acc675c29a5649fa1fb6e255f993b8ee829e510b6b56b0910666949c80c364738833417d0edb5f90e4e46be17228b0f2b66a010513984e18b15deeeac49369c4 + languageName: node + linkType: hard + +"diff@npm:^5.2.0": + version: 5.2.2 + resolution: "diff@npm:5.2.2" + checksum: 10c0/52da594c54e9033423da26984b1449ae6accd782d5afc4431c9a192a8507ddc83120fe8f925d7220b9da5b5963c7b6f5e46add3660a00cb36df7a13420a09d4b + languageName: node + linkType: hard + +"env-paths@npm:^2.2.0": + version: 2.2.1 + resolution: "env-paths@npm:2.2.1" + checksum: 10c0/285325677bf00e30845e330eec32894f5105529db97496ee3f598478e50f008c5352a41a30e5e72ec9de8a542b5a570b85699cd63bd2bc646dbcb9f311d83bc4 + languageName: node + linkType: hard + +"es-module-lexer@npm:^2.0.0": + version: 2.1.0 + resolution: "es-module-lexer@npm:2.1.0" + checksum: 10c0/93bcf2454fa72d67fe3ccd0abef8ce7933f5840a319513418a643dd8e9c6aa8f49709cecfae02ded722805dd327232d30723a807cc52e6809d6ac697c62c29fb + languageName: node + linkType: hard + +"estree-walker@npm:^3.0.3": + version: 3.0.3 + resolution: "estree-walker@npm:3.0.3" + dependencies: + "@types/estree": "npm:^1.0.0" + checksum: 10c0/c12e3c2b2642d2bcae7d5aa495c60fa2f299160946535763969a1c83fc74518ffa9c2cd3a8b69ac56aea547df6a8aac25f729a342992ef0bbac5f1c73e78995d + languageName: node + linkType: hard + +"expect-type@npm:^1.3.0": + version: 1.3.0 + resolution: "expect-type@npm:1.3.0" + checksum: 10c0/8412b3fe4f392c420ab41dae220b09700e4e47c639a29ba7ba2e83cc6cffd2b4926f7ac9e47d7e277e8f4f02acda76fd6931cb81fd2b382fa9477ef9ada953fd + languageName: node + linkType: hard + +"exponential-backoff@npm:^3.1.1": + version: 3.1.3 + resolution: "exponential-backoff@npm:3.1.3" + checksum: 10c0/77e3ae682b7b1f4972f563c6dbcd2b0d54ac679e62d5d32f3e5085feba20483cf28bd505543f520e287a56d4d55a28d7874299941faf637e779a1aa5994d1267 + languageName: node + linkType: hard + +"fast-xml-builder@npm:^1.1.7": + version: 1.2.0 + resolution: "fast-xml-builder@npm:1.2.0" + dependencies: + path-expression-matcher: "npm:^1.5.0" + xml-naming: "npm:^0.1.0" + checksum: 10c0/84bb105cd04e91d6dcb746c4dbaeb12903b510e7ab9a06ffde55b5a582e005559a87d84467f18a655c6c4baf098f696fd74cee3cbe1aea9d01385907768ba32d + languageName: node + linkType: hard + +"fast-xml-parser@npm:5.7.3": + version: 5.7.3 + resolution: "fast-xml-parser@npm:5.7.3" + dependencies: + "@nodable/entities": "npm:^2.1.0" + fast-xml-builder: "npm:^1.1.7" + path-expression-matcher: "npm:^1.5.0" + strnum: "npm:^2.2.3" + bin: + fxparser: src/cli/cli.js + checksum: 10c0/eeb802855e852ce16121396297f04131c6dbc74f863be94f19e26e386656bdb31677af469ddc6627983a48b99d8842888460ac5413063cb648fde547bb579978 + languageName: node + linkType: hard + +"fdir@npm:^6.5.0": + version: 6.5.0 + resolution: "fdir@npm:6.5.0" + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + checksum: 10c0/e345083c4306b3aed6cb8ec551e26c36bab5c511e99ea4576a16750ddc8d3240e63826cc624f5ae17ad4dc82e68a253213b60d556c11bfad064b7607847ed07f + languageName: node + linkType: hard + +"fsevents@npm:~2.3.3": + version: 2.3.3 + resolution: "fsevents@npm:2.3.3" + dependencies: + node-gyp: "npm:latest" + checksum: 10c0/a1f0c44595123ed717febbc478aa952e47adfc28e2092be66b8ab1635147254ca6cfe1df792a8997f22716d4cbafc73309899ff7bfac2ac3ad8cf2e4ecc3ec60 + conditions: os=darwin + languageName: node + linkType: hard + +"fsevents@patch:fsevents@npm%3A~2.3.3#optional!builtin": + version: 2.3.3 + resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" + dependencies: + node-gyp: "npm:latest" + conditions: os=darwin + languageName: node + linkType: hard + +"graceful-fs@npm:^4.2.6": + version: 4.2.11 + resolution: "graceful-fs@npm:4.2.11" + checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 + languageName: node + linkType: hard + +"has-flag@npm:^4.0.0": + version: 4.0.0 + resolution: "has-flag@npm:4.0.0" + checksum: 10c0/2e789c61b7888d66993e14e8331449e525ef42aac53c627cc53d1c3334e768bcb6abdc4f5f0de1478a25beec6f0bd62c7549058b7ac53e924040d4f301f02fd1 + languageName: node + linkType: hard + +"isexe@npm:^4.0.0": + version: 4.0.0 + resolution: "isexe@npm:4.0.0" + checksum: 10c0/5884815115bceac452877659a9c7726382531592f43dc29e5d48b7c4100661aed54018cb90bd36cb2eaeba521092570769167acbb95c18d39afdccbcca06c5ce + languageName: node + linkType: hard + +"just-extend@npm:^6.2.0": + version: 6.2.0 + resolution: "just-extend@npm:6.2.0" + checksum: 10c0/d41cbdb6d85b986d4deaf2144d81d4f7266cd408fc95189d046d63f610c2dc486b141aeb6ef319c2d76fe904d45a6bb31f19b098ff0427c35688e0c383fc0511 + languageName: node + linkType: hard + +"lightningcss-android-arm64@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-android-arm64@npm:1.32.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"lightningcss-darwin-arm64@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-darwin-arm64@npm:1.32.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"lightningcss-darwin-x64@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-darwin-x64@npm:1.32.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"lightningcss-freebsd-x64@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-freebsd-x64@npm:1.32.0" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"lightningcss-linux-arm-gnueabihf@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-linux-arm-gnueabihf@npm:1.32.0" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"lightningcss-linux-arm64-gnu@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-linux-arm64-gnu@npm:1.32.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"lightningcss-linux-arm64-musl@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-linux-arm64-musl@npm:1.32.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"lightningcss-linux-x64-gnu@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-linux-x64-gnu@npm:1.32.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"lightningcss-linux-x64-musl@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-linux-x64-musl@npm:1.32.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"lightningcss-win32-arm64-msvc@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-win32-arm64-msvc@npm:1.32.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"lightningcss-win32-x64-msvc@npm:1.32.0": + version: 1.32.0 + resolution: "lightningcss-win32-x64-msvc@npm:1.32.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"lightningcss@npm:^1.32.0": + version: 1.32.0 + resolution: "lightningcss@npm:1.32.0" + dependencies: + detect-libc: "npm:^2.0.3" + lightningcss-android-arm64: "npm:1.32.0" + lightningcss-darwin-arm64: "npm:1.32.0" + lightningcss-darwin-x64: "npm:1.32.0" + lightningcss-freebsd-x64: "npm:1.32.0" + lightningcss-linux-arm-gnueabihf: "npm:1.32.0" + lightningcss-linux-arm64-gnu: "npm:1.32.0" + lightningcss-linux-arm64-musl: "npm:1.32.0" + lightningcss-linux-x64-gnu: "npm:1.32.0" + lightningcss-linux-x64-musl: "npm:1.32.0" + lightningcss-win32-arm64-msvc: "npm:1.32.0" + lightningcss-win32-x64-msvc: "npm:1.32.0" + dependenciesMeta: + lightningcss-android-arm64: + optional: true + lightningcss-darwin-arm64: + optional: true + lightningcss-darwin-x64: + optional: true + lightningcss-freebsd-x64: + optional: true + lightningcss-linux-arm-gnueabihf: + optional: true + lightningcss-linux-arm64-gnu: + optional: true + lightningcss-linux-arm64-musl: + optional: true + lightningcss-linux-x64-gnu: + optional: true + lightningcss-linux-x64-musl: + optional: true + lightningcss-win32-arm64-msvc: + optional: true + lightningcss-win32-x64-msvc: + optional: true + checksum: 10c0/70945bd55097af46fc9fab7f5ed09cd5869d85940a2acab7ee06d0117004a1d68155708a2d462531cea2fc3c67aefc9333a7068c80b0b78dd404c16838809e03 + languageName: node + linkType: hard + +"magic-string@npm:^0.30.21": + version: 0.30.21 + resolution: "magic-string@npm:0.30.21" + dependencies: + "@jridgewell/sourcemap-codec": "npm:^1.5.5" + checksum: 10c0/299378e38f9a270069fc62358522ddfb44e94244baa0d6a8980ab2a9b2490a1d03b236b447eee309e17eb3bddfa482c61259d47960eb018a904f0ded52780c4a + languageName: node + linkType: hard + +"minipass@npm:^7.0.4, minipass@npm:^7.1.2": + version: 7.1.3 + resolution: "minipass@npm:7.1.3" + checksum: 10c0/539da88daca16533211ea5a9ee98dc62ff5742f531f54640dd34429e621955e91cc280a91a776026264b7f9f6735947629f920944e9c1558369e8bf22eb33fbb + languageName: node + linkType: hard + +"minizlib@npm:^3.1.0": + version: 3.1.0 + resolution: "minizlib@npm:3.1.0" + dependencies: + minipass: "npm:^7.1.2" + checksum: 10c0/5aad75ab0090b8266069c9aabe582c021ae53eb33c6c691054a13a45db3b4f91a7fb1bd79151e6b4e9e9a86727b522527c0a06ec7d45206b745d54cd3097bcec + languageName: node + linkType: hard + +"nanoid@npm:^3.3.12": + version: 3.3.12 + resolution: "nanoid@npm:3.3.12" + bin: + nanoid: bin/nanoid.cjs + checksum: 10c0/ba142b7b39e11e80c16dd74b0365d407880c87c1cf7e1480956981ae940ee36060fa5b6f092cd1e315184dd19244c657bd017d03327bd3c62247d691c5e8edfb + languageName: node + linkType: hard + +"nise@npm:^6.0.0": + version: 6.1.5 + resolution: "nise@npm:6.1.5" + dependencies: + "@sinonjs/commons": "npm:^3.0.1" + "@sinonjs/fake-timers": "npm:^15.1.1" + just-extend: "npm:^6.2.0" + path-to-regexp: "npm:^8.3.0" + checksum: 10c0/c190366749dcb9fb6912aeb238c0f86e3d69d6baa17e4e7483e92aa5131270fdcd47462914be288dd0e3fcf6abdf57bdc44a8eb25fa703358600188dfd5518d0 + languageName: node + linkType: hard + +"node-gyp@npm:latest": + version: 12.4.0 + resolution: "node-gyp@npm:12.4.0" + dependencies: + env-paths: "npm:^2.2.0" + exponential-backoff: "npm:^3.1.1" + graceful-fs: "npm:^4.2.6" + nopt: "npm:^9.0.0" + proc-log: "npm:^6.0.0" + semver: "npm:^7.3.5" + tar: "npm:^7.5.4" + tinyglobby: "npm:^0.2.12" + undici: "npm:^6.25.0" + which: "npm:^6.0.0" + bin: + node-gyp: bin/node-gyp.js + checksum: 10c0/9acb7c798e124275a6f9c1f7eb64b5abd6196bb885a3945fb44ee0dccf435514e88cdfb0f228ee7ff76ef25107c1f39ff37a067bf92fd00b9aff9234db29ff9e + languageName: node + linkType: hard + +"nopt@npm:^9.0.0": + version: 9.0.0 + resolution: "nopt@npm:9.0.0" + dependencies: + abbrev: "npm:^4.0.0" + bin: + nopt: bin/nopt.js + checksum: 10c0/1822eb6f9b020ef6f7a7516d7b64a8036e09666ea55ac40416c36e4b2b343122c3cff0e2f085675f53de1d2db99a2a89a60ccea1d120bcd6a5347bf6ceb4a7fd + languageName: node + linkType: hard + +"obug@npm:^2.1.1": + version: 2.1.2 + resolution: "obug@npm:2.1.2" + checksum: 10c0/e857080ef23c018bd4ad8553238cd97008cd4ab8472b4b83eafe75c19e9b6f84ac8fe53ef7f50b515a1dbf83e6372dd0b198aece33bc716edfa70366f6f6ed5e + languageName: node + linkType: hard + +"path-expression-matcher@npm:^1.5.0": + version: 1.5.0 + resolution: "path-expression-matcher@npm:1.5.0" + checksum: 10c0/646cb5bc66cd7d809a52288336f3ac1e6223f156fd8e912936e490e590f7f93e8056d4fd25fcbcc7da61bb698fa520112cb050372a3f65e7b79bd4afa0f77610 + languageName: node + linkType: hard + +"path-to-regexp@npm:^8.3.0": + version: 8.4.2 + resolution: "path-to-regexp@npm:8.4.2" + checksum: 10c0/05b115c49b47ad252ce05faa32930f643f23769c68b8bcfe78ad833545140c48bbffb3266986d6c8d5db13a64cf12e07e0d72d9882cab830efeefa553533ebaf + languageName: node + linkType: hard + +"pathe@npm:^2.0.3": + version: 2.0.3 + resolution: "pathe@npm:2.0.3" + checksum: 10c0/c118dc5a8b5c4166011b2b70608762e260085180bb9e33e80a50dcdb1e78c010b1624f4280c492c92b05fc276715a4c357d1f9edc570f8f1b3d90b6839ebaca1 + languageName: node + linkType: hard + +"picocolors@npm:^1.1.1": + version: 1.1.1 + resolution: "picocolors@npm:1.1.1" + checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58 + languageName: node + linkType: hard + +"picomatch@npm:^4.0.3, picomatch@npm:^4.0.4": + version: 4.0.4 + resolution: "picomatch@npm:4.0.4" + checksum: 10c0/e2c6023372cc7b5764719a5ffb9da0f8e781212fa7ca4bd0562db929df8e117460f00dff3cb7509dacfc06b86de924b247f504d0ce1806a37fac4633081466b0 + languageName: node + linkType: hard + +"postcss@npm:^8.5.15": + version: 8.5.15 + resolution: "postcss@npm:8.5.15" + dependencies: + nanoid: "npm:^3.3.12" + picocolors: "npm:^1.1.1" + source-map-js: "npm:^1.2.1" + checksum: 10c0/7f2e63ae22fbe43aace1bf652bd99da4e90737c64194d49e51ddc9cd0f9e51ff2861a7d734379b494deffa03a880a5c65eec70bc29ee9ebaa7136dde3eee8f31 + languageName: node + linkType: hard + +"proc-log@npm:^6.0.0": + version: 6.1.0 + resolution: "proc-log@npm:6.1.0" + checksum: 10c0/4f178d4062733ead9d71a9b1ab24ebcecdfe2250916a5b1555f04fe2eda972a0ec76fbaa8df1ad9c02707add6749219d118a4fc46dc56bdfe4dde4b47d80bb82 + languageName: node + linkType: hard + +"release-secrets-ssm@workspace:.": + version: 0.0.0-use.local + resolution: "release-secrets-ssm@workspace:." + dependencies: + "@actions/core": "npm:^3.0.1" + "@aws-sdk/client-ssm": "npm:^3.1067.0" + "@types/node": "npm:^25.9.3" + "@vercel/ncc": "npm:^0.44.0" + aws-sdk-client-mock: "npm:^4.1.0" + typescript: "npm:^6.0.3" + vitest: "npm:^4.1.8" + languageName: unknown + linkType: soft + +"rolldown@npm:1.0.3": + version: 1.0.3 + resolution: "rolldown@npm:1.0.3" + dependencies: + "@oxc-project/types": "npm:=0.133.0" + "@rolldown/binding-android-arm64": "npm:1.0.3" + "@rolldown/binding-darwin-arm64": "npm:1.0.3" + "@rolldown/binding-darwin-x64": "npm:1.0.3" + "@rolldown/binding-freebsd-x64": "npm:1.0.3" + "@rolldown/binding-linux-arm-gnueabihf": "npm:1.0.3" + "@rolldown/binding-linux-arm64-gnu": "npm:1.0.3" + "@rolldown/binding-linux-arm64-musl": "npm:1.0.3" + "@rolldown/binding-linux-ppc64-gnu": "npm:1.0.3" + "@rolldown/binding-linux-s390x-gnu": "npm:1.0.3" + "@rolldown/binding-linux-x64-gnu": "npm:1.0.3" + "@rolldown/binding-linux-x64-musl": "npm:1.0.3" + "@rolldown/binding-openharmony-arm64": "npm:1.0.3" + "@rolldown/binding-wasm32-wasi": "npm:1.0.3" + "@rolldown/binding-win32-arm64-msvc": "npm:1.0.3" + "@rolldown/binding-win32-x64-msvc": "npm:1.0.3" + "@rolldown/pluginutils": "npm:^1.0.0" + dependenciesMeta: + "@rolldown/binding-android-arm64": + optional: true + "@rolldown/binding-darwin-arm64": + optional: true + "@rolldown/binding-darwin-x64": + optional: true + "@rolldown/binding-freebsd-x64": + optional: true + "@rolldown/binding-linux-arm-gnueabihf": + optional: true + "@rolldown/binding-linux-arm64-gnu": + optional: true + "@rolldown/binding-linux-arm64-musl": + optional: true + "@rolldown/binding-linux-ppc64-gnu": + optional: true + "@rolldown/binding-linux-s390x-gnu": + optional: true + "@rolldown/binding-linux-x64-gnu": + optional: true + "@rolldown/binding-linux-x64-musl": + optional: true + "@rolldown/binding-openharmony-arm64": + optional: true + "@rolldown/binding-wasm32-wasi": + optional: true + "@rolldown/binding-win32-arm64-msvc": + optional: true + "@rolldown/binding-win32-x64-msvc": + optional: true + bin: + rolldown: ./bin/cli.mjs + checksum: 10c0/5f9dd47b7abf203b16bc600db68542f245e974c800e59ff50b76157d1dada1403657690435b036fabca88e93d13a67c31abe5cfaa6f61ce33717f61720204cdf + languageName: node + linkType: hard + +"semver@npm:^7.3.5": + version: 7.8.4 + resolution: "semver@npm:7.8.4" + bin: + semver: bin/semver.js + checksum: 10c0/81b7c296fd7927b80f67fa516b75fa1017caac8167795320de28e76ccbc6f7f01763c30ecd10d6a0d8fd089708ab0548a5aebb94b0870e99c2a2b4600a46389b + languageName: node + linkType: hard + +"siginfo@npm:^2.0.0": + version: 2.0.0 + resolution: "siginfo@npm:2.0.0" + checksum: 10c0/3def8f8e516fbb34cb6ae415b07ccc5d9c018d85b4b8611e3dc6f8be6d1899f693a4382913c9ed51a06babb5201639d76453ab297d1c54a456544acf5c892e34 + languageName: node + linkType: hard + +"sinon@npm:^18.0.1": + version: 18.0.1 + resolution: "sinon@npm:18.0.1" + dependencies: + "@sinonjs/commons": "npm:^3.0.1" + "@sinonjs/fake-timers": "npm:11.2.2" + "@sinonjs/samsam": "npm:^8.0.0" + diff: "npm:^5.2.0" + nise: "npm:^6.0.0" + supports-color: "npm:^7" + checksum: 10c0/c4554b8d9654d42fc4baefecd3b5ac42bcce73ad926d58521233d9c355dc2c1a0d73c55e5b2c929b6814e528cd9b54bc61096b9288579f9b284edd6e3d2da3df + languageName: node + linkType: hard + +"source-map-js@npm:^1.2.1": + version: 1.2.1 + resolution: "source-map-js@npm:1.2.1" + checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf + languageName: node + linkType: hard + +"stackback@npm:0.0.2": + version: 0.0.2 + resolution: "stackback@npm:0.0.2" + checksum: 10c0/89a1416668f950236dd5ac9f9a6b2588e1b9b62b1b6ad8dff1bfc5d1a15dbf0aafc9b52d2226d00c28dffff212da464eaeebfc6b7578b9d180cef3e3782c5983 + languageName: node + linkType: hard + +"std-env@npm:^4.0.0-rc.1": + version: 4.1.0 + resolution: "std-env@npm:4.1.0" + checksum: 10c0/2e14b6b490db34cb969a48d9cf7c35bca4a47653914aac2814221baae7b867a5b15940d133625c391621971f98cd2266a5dc7036669960e883f1081db2a56558 + languageName: node + linkType: hard + +"strnum@npm:^2.2.3": + version: 2.4.0 + resolution: "strnum@npm:2.4.0" + dependencies: + anynum: "npm:^1.0.0" + checksum: 10c0/36ac1ca6f511d8216d9b07934359f78afb158eedee73fb057c77b1cffa160a60cb848b35f219bd2c115b0037e8ec3962f492874ea4b10ef021ab6403dbb10e7e + languageName: node + linkType: hard + +"supports-color@npm:^7": + version: 7.2.0 + resolution: "supports-color@npm:7.2.0" + dependencies: + has-flag: "npm:^4.0.0" + checksum: 10c0/afb4c88521b8b136b5f5f95160c98dee7243dc79d5432db7efc27efb219385bbc7d9427398e43dd6cc730a0f87d5085ce1652af7efbe391327bc0a7d0f7fc124 + languageName: node + linkType: hard + +"tar@npm:^7.5.4": + version: 7.5.16 + resolution: "tar@npm:7.5.16" + dependencies: + "@isaacs/fs-minipass": "npm:^4.0.0" + chownr: "npm:^3.0.0" + minipass: "npm:^7.1.2" + minizlib: "npm:^3.1.0" + yallist: "npm:^5.0.0" + checksum: 10c0/4f37f3c4bd2ca2755fd736a5df1d573c1a868ec1b1e893346aeafa95ac510f9e2fd1469420bd866cc7904799e5bd4ac62b5d4f03fe27747d6e1e373b44505c5c + languageName: node + linkType: hard + +"tinybench@npm:^2.9.0": + version: 2.9.0 + resolution: "tinybench@npm:2.9.0" + checksum: 10c0/c3500b0f60d2eb8db65250afe750b66d51623057ee88720b7f064894a6cb7eb93360ca824a60a31ab16dab30c7b1f06efe0795b352e37914a9d4bad86386a20c + languageName: node + linkType: hard + +"tinyexec@npm:^1.0.2": + version: 1.2.4 + resolution: "tinyexec@npm:1.2.4" + checksum: 10c0/153b8db6b080194b558ff145b9cffc36b80a6e07babd644dcfbe49c807eee668c876049d28bdee90b96304476f883352f2dad91b3f86bc23832532f4363e66ff + languageName: node + linkType: hard + +"tinyglobby@npm:^0.2.12, tinyglobby@npm:^0.2.15, tinyglobby@npm:^0.2.17": + version: 0.2.17 + resolution: "tinyglobby@npm:0.2.17" + dependencies: + fdir: "npm:^6.5.0" + picomatch: "npm:^4.0.4" + checksum: 10c0/7f7bb0f197c88bc4b20c231e0deca4240ca3bf313a88f5a7fee93a872b84966a4d50220947c0455ad07a60b3b360961c5b7fd979222aeb716a9f99b412002e4c + languageName: node + linkType: hard + +"tinyrainbow@npm:^3.1.0": + version: 3.1.0 + resolution: "tinyrainbow@npm:3.1.0" + checksum: 10c0/f11cf387a26c5c9255bec141a90ac511b26172981b10c3e50053bc6700ea7d2336edcc4a3a21dbb8412fe7c013477d2ba4d7e4877800f3f8107be5105aad6511 + languageName: node + linkType: hard + +"tslib@npm:^2.1.0, tslib@npm:^2.4.0, tslib@npm:^2.6.2": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 + languageName: node + linkType: hard + +"tunnel@npm:^0.0.6": + version: 0.0.6 + resolution: "tunnel@npm:0.0.6" + checksum: 10c0/e27e7e896f2426c1c747325b5f54efebc1a004647d853fad892b46d64e37591ccd0b97439470795e5262b5c0748d22beb4489a04a0a448029636670bfd801b75 + languageName: node + linkType: hard + +"type-detect@npm:4.0.8": + version: 4.0.8 + resolution: "type-detect@npm:4.0.8" + checksum: 10c0/8fb9a51d3f365a7de84ab7f73b653534b61b622aa6800aecdb0f1095a4a646d3f5eb295322127b6573db7982afcd40ab492d038cf825a42093a58b1e1353e0bd + languageName: node + linkType: hard + +"type-detect@npm:^4.1.0": + version: 4.1.0 + resolution: "type-detect@npm:4.1.0" + checksum: 10c0/df8157ca3f5d311edc22885abc134e18ff8ffbc93d6a9848af5b682730ca6a5a44499259750197250479c5331a8a75b5537529df5ec410622041650a7f293e2a + languageName: node + linkType: hard + +"typescript@npm:^6.0.3": + version: 6.0.3 + resolution: "typescript@npm:6.0.3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/4a25ff5045b984370f48f196b3a0120779b1b343d40b9a68d114ea5e5fff099809b2bb777576991a63a5cd59cf7bffd96ff6fe10afcefbcb8bd6fb96ad4b6606 + languageName: node + linkType: hard + +"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin": + version: 6.0.3 + resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=5786d5" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/2f25c74e65663c248fa1ade2b8459d9ce5372ff9dad07067310f132966ebec1d93f6c42f0baf77a6b6a7a91460463f708e6887013aaade22111037457c6b25df + languageName: node + linkType: hard + +"undici-types@npm:>=7.24.0 <7.24.7": + version: 7.24.6 + resolution: "undici-types@npm:7.24.6" + checksum: 10c0/d9cd8befb643ac904615c280a095ba4240531f6bb4a5e75a22a7483630ca8d3f1016d2ab6ace6ceda1f63b3a2db2fe037fafe121d6917a0187573aa548ff78ca + languageName: node + linkType: hard + +"undici@npm:^6.23.0, undici@npm:^6.25.0": + version: 6.26.0 + resolution: "undici@npm:6.26.0" + checksum: 10c0/cf2b4caf58c33d6582970991290cc7a6486d6e738845f25dcdd16952d708ec844815c6d30362919764fcaf30f719891289341f1ada496f003ce2700310453a47 + languageName: node + linkType: hard + +"vite@npm:^6.0.0 || ^7.0.0 || ^8.0.0": + version: 8.0.16 + resolution: "vite@npm:8.0.16" + dependencies: + fsevents: "npm:~2.3.3" + lightningcss: "npm:^1.32.0" + picomatch: "npm:^4.0.4" + postcss: "npm:^8.5.15" + rolldown: "npm:1.0.3" + tinyglobby: "npm:^0.2.17" + peerDependencies: + "@types/node": ^20.19.0 || >=22.12.0 + "@vitejs/devtools": ^0.1.18 + esbuild: ^0.27.0 || ^0.28.0 + jiti: ">=1.21.0" + less: ^4.0.0 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: ">=0.54.8" + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@types/node": + optional: true + "@vitejs/devtools": + optional: true + esbuild: + optional: true + jiti: + optional: true + less: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + bin: + vite: bin/vite.js + checksum: 10c0/d75be3fbe2f63e6a8145325970338afaf0dd4d96ba9175c13f9a286fd5f95afc489401b693e4fa6c0899a4dd0e137be91cdf9401a40a635563911ad5036e3467 + languageName: node + linkType: hard + +"vitest@npm:^4.1.8": + version: 4.1.8 + resolution: "vitest@npm:4.1.8" + dependencies: + "@vitest/expect": "npm:4.1.8" + "@vitest/mocker": "npm:4.1.8" + "@vitest/pretty-format": "npm:4.1.8" + "@vitest/runner": "npm:4.1.8" + "@vitest/snapshot": "npm:4.1.8" + "@vitest/spy": "npm:4.1.8" + "@vitest/utils": "npm:4.1.8" + es-module-lexer: "npm:^2.0.0" + expect-type: "npm:^1.3.0" + magic-string: "npm:^0.30.21" + obug: "npm:^2.1.1" + pathe: "npm:^2.0.3" + picomatch: "npm:^4.0.3" + std-env: "npm:^4.0.0-rc.1" + tinybench: "npm:^2.9.0" + tinyexec: "npm:^1.0.2" + tinyglobby: "npm:^0.2.15" + tinyrainbow: "npm:^3.1.0" + vite: "npm:^6.0.0 || ^7.0.0 || ^8.0.0" + why-is-node-running: "npm:^2.3.0" + peerDependencies: + "@edge-runtime/vm": "*" + "@opentelemetry/api": ^1.9.0 + "@types/node": ^20.0.0 || ^22.0.0 || >=24.0.0 + "@vitest/browser-playwright": 4.1.8 + "@vitest/browser-preview": 4.1.8 + "@vitest/browser-webdriverio": 4.1.8 + "@vitest/coverage-istanbul": 4.1.8 + "@vitest/coverage-v8": 4.1.8 + "@vitest/ui": 4.1.8 + happy-dom: "*" + jsdom: "*" + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + "@edge-runtime/vm": + optional: true + "@opentelemetry/api": + optional: true + "@types/node": + optional: true + "@vitest/browser-playwright": + optional: true + "@vitest/browser-preview": + optional: true + "@vitest/browser-webdriverio": + optional: true + "@vitest/coverage-istanbul": + optional: true + "@vitest/coverage-v8": + optional: true + "@vitest/ui": + optional: true + happy-dom: + optional: true + jsdom: + optional: true + vite: + optional: false + bin: + vitest: vitest.mjs + checksum: 10c0/f459c500f8818c7a2318cd23228b4e5c0b5efb25bf8e5cb7f116c6d26e51482b2f800a8bb19837c0b5f0d05c51519edbf502bc8ceb5bd86868e8facf1d2c498e + languageName: node + linkType: hard + +"which@npm:^6.0.0": + version: 6.0.1 + resolution: "which@npm:6.0.1" + dependencies: + isexe: "npm:^4.0.0" + bin: + node-which: bin/which.js + checksum: 10c0/7e710e54ea36d2d6183bee2f9caa27a3b47b9baf8dee55a199b736fcf85eab3b9df7556fca3d02b50af7f3dfba5ea3a45644189836df06267df457e354da66d5 + languageName: node + linkType: hard + +"why-is-node-running@npm:^2.3.0": + version: 2.3.0 + resolution: "why-is-node-running@npm:2.3.0" + dependencies: + siginfo: "npm:^2.0.0" + stackback: "npm:0.0.2" + bin: + why-is-node-running: cli.js + checksum: 10c0/1cde0b01b827d2cf4cb11db962f3958b9175d5d9e7ac7361d1a7b0e2dc6069a263e69118bd974c4f6d0a890ef4eedfe34cf3d5167ec14203dbc9a18620537054 + languageName: node + linkType: hard + +"xml-naming@npm:^0.1.0": + version: 0.1.0 + resolution: "xml-naming@npm:0.1.0" + checksum: 10c0/8c7614865361bcb7e53e3e091dac21c567e2b92d447919b2f072775aa9dcfc94a5255bd52fbaa0fd53c93513e53a23a6a835218ad2af512451dbc678392f85fe + languageName: node + linkType: hard + +"yallist@npm:^5.0.0": + version: 5.0.0 + resolution: "yallist@npm:5.0.0" + checksum: 10c0/a499c81ce6d4a1d260d4ea0f6d49ab4da09681e32c3f0472dee16667ed69d01dae63a3b81745a24bd78476ec4fcf856114cb4896ace738e01da34b2c42235416 + languageName: node + linkType: hard