@slycode/slycode 0.2.10 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/messaging/index.js +4 -2
- package/dist/messaging/index.js.map +1 -1
- package/dist/messaging/stt.d.ts +1 -0
- package/dist/messaging/stt.js +66 -57
- package/dist/messaging/stt.js.map +1 -1
- package/dist/messaging/types.d.ts +1 -0
- package/dist/web/.next/BUILD_ID +1 -1
- package/dist/web/.next/build-manifest.json +2 -2
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/index.js +3057 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/S3ServiceException.js +12 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/errors.js +203 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.js +67 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.shared.js +56 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/schemas/schemas_0.js +3258 -0
- package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/package.json +127 -0
- package/dist/web/.next/prerender-manifest.json +3 -3
- package/dist/web/.next/server/app/_global-error.html +2 -2
- package/dist/web/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/_not-found.html +1 -1
- package/dist/web/.next/server/app/_not-found.rsc +2 -2
- package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/web/.next/server/app/api/cli-assets/assistant/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/cli-assets/fix/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/cli-assets/import/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/cli-assets/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/cli-assets/store/preview/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/cli-assets/store/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/cli-assets/sync/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/cli-assets/updates/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/dashboard/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/file/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/git-status/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/kanban/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/kanban/stream/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/projects/reorder/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/scheduler/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/search/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/sly-actions/invalidate/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/sly-actions/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/transcribe/route.js +5 -5
- package/dist/web/.next/server/app/api/transcribe/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/api/version-check/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/page.js.nft.json +1 -1
- package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/project/[id]/page.js.nft.json +1 -1
- package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/chunks/[root-of-the-server]__1b9e0d6e._.js +19 -0
- package/dist/web/.next/server/chunks/{[root-of-the-server]__104b2da3._.js → [root-of-the-server]__4297cb97._.js} +3 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__52da7fe0._.js +5 -0
- package/dist/web/.next/server/chunks/{[root-of-the-server]__41df0777._.js → [root-of-the-server]__cf14e306._.js} +2 -2
- package/dist/web/.next/server/chunks/[root-of-the-server]__d5272169._.js +3 -0
- package/dist/web/.next/server/chunks/[root-of-the-server]__d56e68cb._.js +3 -0
- package/dist/web/.next/server/chunks/[root-of-the-server]__f5dae2ad._.js +3 -0
- package/dist/web/.next/server/chunks/{node_modules_ec9ae6c4._.js → node_modules_269a84e6._.js} +5 -5
- package/dist/web/.next/server/chunks/node_modules_9fc3887b._.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js +1 -1
- package/dist/web/.next/server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_c58ca22f._.js +3 -0
- package/dist/web/.next/server/chunks/node_modules_f96dfac4._.js +7 -0
- package/dist/web/.next/server/pages/404.html +1 -1
- package/dist/web/.next/server/pages/500.html +2 -2
- package/dist/web/.next/server/server-reference-manifest.js +1 -1
- package/dist/web/.next/server/server-reference-manifest.json +1 -1
- package/dist/web/.next/static/chunks/{0bab8c7c82cef548.js → 17bf7ad67057dc74.js} +1 -1
- package/dist/web/.next/static/chunks/{1b46e836090e130b.js → 29b5d391d655a999.js} +1 -1
- package/dist/web/.next/static/chunks/3df3846316317676.css +1 -0
- package/dist/web/.next/static/chunks/{345c46e638c28d26.js → 8cb404d087e9f3c7.js} +1 -1
- package/dist/web/.next/static/chunks/{de965b463aff71a9.js → e8b318caa49fce00.js} +1 -1
- package/dist/web/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
- package/dist/web/node_modules/@aws/lambda-invoke-store/package.json +55 -0
- package/dist/web/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
- package/dist/web/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
- package/dist/web/node_modules/@aws-crypto/crc32/package.json +32 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js +31 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/build/main/index.js +78 -0
- package/dist/web/node_modules/@aws-crypto/crc32c/package.json +32 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/index.js +14 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
- package/dist/web/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
- package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
- package/dist/web/node_modules/@aws-crypto/util/package.json +32 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3057 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +67 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
- package/dist/web/node_modules/@aws-sdk/client-s3/package.json +127 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/index.js +2212 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +307 -0
- package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1859 -0
- package/dist/web/node_modules/@aws-sdk/core/package.json +121 -0
- package/dist/web/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
- package/dist/web/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +41 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-env/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-http/package.json +70 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +224 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-ini/package.json +74 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +156 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-node/package.json +72 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +79 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-process/package.json +64 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +192 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-sso/package.json +66 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +34 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +62 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/package.json +73 -0
- package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +352 -0
- package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +60 -0
- package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +48 -0
- package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/package.json +58 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +26 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +451 -0
- package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +78 -0
- package/dist/web/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +41 -0
- package/dist/web/node_modules/@aws-sdk/middleware-host-header/package.json +59 -0
- package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/package.json +57 -0
- package/dist/web/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +48 -0
- package/dist/web/node_modules/@aws-sdk/middleware-logger/package.json +59 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +29 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
- package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +570 -0
- package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/package.json +72 -0
- package/dist/web/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +73 -0
- package/dist/web/node_modules/@aws-sdk/middleware-ssec/package.json +57 -0
- package/dist/web/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +194 -0
- package/dist/web/node_modules/@aws-sdk/middleware-user-agent/package.json +63 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +170 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +172 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +54 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +202 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
- package/dist/web/node_modules/@aws-sdk/nested-clients/package.json +147 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +38 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
- package/dist/web/node_modules/@aws-sdk/region-config-resolver/package.json +62 -0
- package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
- package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
- package/dist/web/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
- package/dist/web/node_modules/@aws-sdk/token-providers/package.json +70 -0
- package/dist/web/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
- package/dist/web/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +406 -0
- package/dist/web/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/dist/web/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +185 -0
- package/dist/web/node_modules/@aws-sdk/util-user-agent-node/package.json +69 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +131 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +23 -0
- package/dist/web/node_modules/@aws-sdk/xml-builder/package.json +63 -0
- package/dist/web/node_modules/@smithy/config-resolver/dist-cjs/index.js +198 -0
- package/dist/web/node_modules/@smithy/config-resolver/package.json +66 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/index.js +345 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1096 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +259 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +884 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +698 -0
- package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +694 -0
- package/dist/web/node_modules/@smithy/core/package.json +146 -0
- package/dist/web/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
- package/dist/web/node_modules/@smithy/credential-provider-imds/package.json +70 -0
- package/dist/web/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +388 -0
- package/dist/web/node_modules/@smithy/eventstream-codec/package.json +65 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +7 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/package.json +62 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +53 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-node/package.json +62 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +132 -0
- package/dist/web/node_modules/@smithy/eventstream-serde-universal/package.json +66 -0
- package/dist/web/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +233 -0
- package/dist/web/node_modules/@smithy/fetch-http-handler/package.json +69 -0
- package/dist/web/node_modules/@smithy/hash-node/dist-cjs/index.js +42 -0
- package/dist/web/node_modules/@smithy/hash-node/package.json +65 -0
- package/dist/web/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +67 -0
- package/dist/web/node_modules/@smithy/hash-stream-node/package.json +65 -0
- package/dist/web/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
- package/dist/web/node_modules/@smithy/is-array-buffer/package.json +61 -0
- package/dist/web/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +46 -0
- package/dist/web/node_modules/@smithy/middleware-content-length/package.json +64 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +7 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +35 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +264 -0
- package/dist/web/node_modules/@smithy/middleware-endpoint/package.json +75 -0
- package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/index.js +355 -0
- package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
- package/dist/web/node_modules/@smithy/middleware-retry/package.json +79 -0
- package/dist/web/node_modules/@smithy/middleware-serde/dist-cjs/index.js +104 -0
- package/dist/web/node_modules/@smithy/middleware-serde/package.json +66 -0
- package/dist/web/node_modules/@smithy/middleware-stack/dist-cjs/index.js +285 -0
- package/dist/web/node_modules/@smithy/middleware-stack/package.json +64 -0
- package/dist/web/node_modules/@smithy/node-config-provider/dist-cjs/index.js +62 -0
- package/dist/web/node_modules/@smithy/node-config-provider/package.json +66 -0
- package/dist/web/node_modules/@smithy/node-http-handler/dist-cjs/index.js +762 -0
- package/dist/web/node_modules/@smithy/node-http-handler/package.json +68 -0
- package/dist/web/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
- package/dist/web/node_modules/@smithy/property-provider/package.json +61 -0
- package/dist/web/node_modules/@smithy/protocol-http/dist-cjs/index.js +169 -0
- package/dist/web/node_modules/@smithy/protocol-http/package.json +62 -0
- package/dist/web/node_modules/@smithy/querystring-builder/dist-cjs/index.js +26 -0
- package/dist/web/node_modules/@smithy/querystring-builder/package.json +61 -0
- package/dist/web/node_modules/@smithy/querystring-parser/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@smithy/querystring-parser/package.json +61 -0
- package/dist/web/node_modules/@smithy/service-error-classification/dist-cjs/index.js +77 -0
- package/dist/web/node_modules/@smithy/service-error-classification/package.json +60 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
- package/dist/web/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
- package/dist/web/node_modules/@smithy/signature-v4/dist-cjs/index.js +556 -0
- package/dist/web/node_modules/@smithy/signature-v4/package.json +70 -0
- package/dist/web/node_modules/@smithy/smithy-client/dist-cjs/index.js +635 -0
- package/dist/web/node_modules/@smithy/smithy-client/package.json +70 -0
- package/dist/web/node_modules/@smithy/types/dist-cjs/index.js +91 -0
- package/dist/web/node_modules/@smithy/types/package.json +61 -0
- package/dist/web/node_modules/@smithy/url-parser/dist-cjs/index.js +23 -0
- package/dist/web/node_modules/@smithy/url-parser/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
- package/dist/web/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
- package/dist/web/node_modules/@smithy/util-base64/package.json +74 -0
- package/dist/web/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@smithy/util-body-length-browser/package.json +61 -0
- package/dist/web/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@smithy/util-body-length-node/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
- package/dist/web/node_modules/@smithy/util-buffer-from/package.json +62 -0
- package/dist/web/node_modules/@smithy/util-config-provider/dist-cjs/index.js +30 -0
- package/dist/web/node_modules/@smithy/util-config-provider/package.json +63 -0
- package/dist/web/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +74 -0
- package/dist/web/node_modules/@smithy/util-defaults-mode-node/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-endpoints/dist-cjs/index.js +472 -0
- package/dist/web/node_modules/@smithy/util-endpoints/package.json +69 -0
- package/dist/web/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +38 -0
- package/dist/web/node_modules/@smithy/util-hex-encoding/package.json +61 -0
- package/dist/web/node_modules/@smithy/util-middleware/dist-cjs/index.js +15 -0
- package/dist/web/node_modules/@smithy/util-middleware/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
- package/dist/web/node_modules/@smithy/util-retry/package.json +71 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +36 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +64 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +39 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +12 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +60 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +103 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +31 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +41 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +34 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.js +42 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/index.js +108 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +68 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +54 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +10 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +16 -0
- package/dist/web/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +10 -0
- package/dist/web/node_modules/@smithy/util-stream/package.json +99 -0
- package/dist/web/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +9 -0
- package/dist/web/node_modules/@smithy/util-uri-escape/package.json +60 -0
- package/dist/web/node_modules/@smithy/util-utf8/dist-cjs/index.js +32 -0
- package/dist/web/node_modules/@smithy/util-utf8/package.json +67 -0
- package/dist/web/node_modules/@smithy/util-waiter/dist-cjs/index.js +179 -0
- package/dist/web/node_modules/@smithy/util-waiter/package.json +63 -0
- package/dist/web/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
- package/dist/web/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
- package/dist/web/node_modules/@smithy/uuid/package.json +66 -0
- package/dist/web/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/dist/web/node_modules/fast-xml-parser/package.json +94 -0
- package/dist/web/node_modules/tslib/package.json +47 -0
- package/dist/web/node_modules/tslib/tslib.js +484 -0
- package/dist/web/package-lock.json +470 -161
- package/dist/web/package.json +3 -1
- package/dist/web/src/app/api/transcribe/route.ts +84 -68
- package/dist/web/src/components/VoiceControlBar.tsx +1 -0
- package/dist/web/src/lib/webm-to-ogg-opus.ts +254 -0
- package/dist/web/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/templates/kanban-seed.json +1 -1
- package/dist/web/.next/server/chunks/[root-of-the-server]__0f8687da._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__1cdc76ef._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__3998d59e._.js +0 -19
- package/dist/web/.next/server/chunks/[root-of-the-server]__3dc5531f._.js +0 -5
- package/dist/web/.next/server/chunks/[root-of-the-server]__403750fd._.js +0 -3
- package/dist/web/.next/server/chunks/[root-of-the-server]__934c9bb4._.js +0 -5
- package/dist/web/.next/server/chunks/[root-of-the-server]__e00fb85f._.js +0 -9
- package/dist/web/.next/server/chunks/a9bf9_@aws-sdk_core_dist-es_submodules_protocols_json_AwsRestJsonProtocol_764d7a83.js +0 -3
- package/dist/web/.next/static/chunks/f3d7065d54a0b9ac.css +0 -1
- /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_buildManifest.js +0 -0
- /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_clientMiddlewareManifest.json +0 -0
- /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[76535,e=>{"use strict";var r=e.i(46277);let i=async e=>{let i=await (0,r.loadSharedConfigFiles)(e);return((...e)=>{let r={};for(let i of e)for(let[e,t]of Object.entries(i))void 0!==r[e]?Object.assign(r[e],t):r[e]=t;return r})(i.configFile,i.credentialsFile)};e.s(["parseKnownFiles",0,i],76535)},24868,(e,r,i)=>{r.exports=e.x("fs/promises",()=>require("fs/promises"))},23897,32961,e=>{"use strict";var r=e.i(24868),i=e.i(54799),t=e.i(14747),s=e.i(65790);let o=e=>{let r=(0,i.createHash)("sha1").update(e).digest("hex");return(0,t.join)((0,s.getHomeDir)(),".aws","sso","cache",`${r}.json`)};e.s(["getSSOTokenFilepath",0,o],32961);let n={},a=async e=>{if(n[e])return n[e];let i=o(e);return JSON.parse(await (0,r.readFile)(i,"utf8"))};e.s(["getSSOTokenFromFile",0,a,"tokenIntercept",0,n],23897)},26709,e=>{"use strict";e.s([],23957),e.i(23957);var r=e.i(60400),i=e.i(81355),t=e.i(92395),s=e.i(96405),o=e.i(3289);let n=e=>Object.entries(e).filter(([e])=>e.startsWith(s.IniSectionType.SSO_SESSION+o.CONFIG_PREFIX_SEPARATOR)).reduce((e,[r,i])=>({...e,[r.substring(r.indexOf(o.CONFIG_PREFIX_SEPARATOR)+1)]:i}),{});var a=e.i(7104),l=e.i(49487);let
|
|
2
|
-
Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:i});return e};e.s(["validateSsoProfile",0,x],61980);let P=(e={})=>async({callerClientConfig:t}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:s,ssoAccountId:o,ssoRegion:n,ssoRoleName:a,ssoSession:l}=e,{ssoClient:
|
|
1
|
+
module.exports=[76535,e=>{"use strict";var r=e.i(46277);let i=async e=>{let i=await (0,r.loadSharedConfigFiles)(e);return((...e)=>{let r={};for(let i of e)for(let[e,t]of Object.entries(i))void 0!==r[e]?Object.assign(r[e],t):r[e]=t;return r})(i.configFile,i.credentialsFile)};e.s(["parseKnownFiles",0,i],76535)},24868,(e,r,i)=>{r.exports=e.x("fs/promises",()=>require("fs/promises"))},23897,32961,e=>{"use strict";var r=e.i(24868),i=e.i(54799),t=e.i(14747),s=e.i(65790);let o=e=>{let r=(0,i.createHash)("sha1").update(e).digest("hex");return(0,t.join)((0,s.getHomeDir)(),".aws","sso","cache",`${r}.json`)};e.s(["getSSOTokenFilepath",0,o],32961);let n={},a=async e=>{if(n[e])return n[e];let i=o(e);return JSON.parse(await (0,r.readFile)(i,"utf8"))};e.s(["getSSOTokenFromFile",0,a,"tokenIntercept",0,n],23897)},26709,e=>{"use strict";e.s([],23957),e.i(23957);var r=e.i(60400),i=e.i(81355),t=e.i(92395),s=e.i(96405),o=e.i(3289);let n=e=>Object.entries(e).filter(([e])=>e.startsWith(s.IniSectionType.SSO_SESSION+o.CONFIG_PREFIX_SEPARATOR)).reduce((e,[r,i])=>({...e,[r.substring(r.indexOf(o.CONFIG_PREFIX_SEPARATOR)+1)]:i}),{});var a=e.i(7104),l=e.i(49487);let c=()=>({}),g=async(e={})=>(0,l.readFile)(e.configFilepath??(0,t.getConfigFilepath)()).then(a.parseIni).then(n).catch(c);var d=e.i(76535);let f=e=>e&&("string"==typeof e.sso_start_url||"string"==typeof e.sso_account_id||"string"==typeof e.sso_session||"string"==typeof e.sso_region||"string"==typeof e.sso_role_name);e.s(["isSsoProfile",0,f],70487);var p=e.i(9212),h=e.i(48979);class w extends h.ProviderError{name="TokenProviderError";constructor(e,r=!0){super(e,r),Object.setPrototypeOf(this,w.prototype)}}var u=e.i(23897);let S="To refresh this SSO session run 'aws sso login' with the corresponding profile.",_=async(r,i={},t)=>{let{SSOOIDCClient:s}=await e.A(57227),o=e=>i.clientConfig?.[e]??i.parentClientConfig?.[e]??t?.[e];return new s(Object.assign({},i.clientConfig??{},{region:r??i.clientConfig?.region,logger:o("logger"),userAgentAppId:o("userAgentAppId")}))},C=async(r,i,t={},s)=>{let{CreateTokenCommand:o}=await e.A(57227);return(await _(i,t,s)).send(new o({clientId:r.clientId,clientSecret:r.clientSecret,refreshToken:r.refreshToken,grantType:"refresh_token"}))},m=e=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new w(`Token is expired. ${S}`,!1)},k=(e,r,i=!1)=>{if(void 0===r)throw new w(`Value not present for '${e}' in SSO Token${i?". Cannot refresh":""}. ${S}`,!1)};var O=e.i(32961);let{writeFile:v}=e.i(2157).promises,y=new Date(0),T=async({ssoStartUrl:t,ssoSession:s,ssoAccountId:o,ssoRegion:n,ssoRoleName:a,ssoClient:l,clientConfig:c,parentClientConfig:f,callerClientConfig:h,profile:_,filepath:T,configFilepath:x,ignoreCache:P,logger:A})=>{let I,F,E="To refresh this SSO session run aws sso login with the corresponding profile.";if(s)try{let e=await ((e={})=>async({callerClientConfig:r}={})=>{let t;e.logger?.debug("@aws-sdk/token-providers - fromSso");let s=await (0,d.parseKnownFiles)(e),o=(0,i.getProfileName)({profile:e.profile??r?.profile}),n=s[o];if(n){if(!n.sso_session)throw new w(`Profile '${o}' is missing required property 'sso_session'.`)}else throw new w(`Profile '${o}' could not be found in shared credentials file.`,!1);let a=n.sso_session,l=(await g(e))[a];if(!l)throw new w(`Sso session '${a}' could not be found in shared credentials file.`,!1);for(let e of["sso_start_url","sso_region"])if(!l[e])throw new w(`Sso session '${a}' is missing required property '${e}'.`,!1);l.sso_start_url;let c=l.sso_region;try{t=await (0,u.getSSOTokenFromFile)(a)}catch(e){throw new w(`The SSO session token associated with profile=${o} was not found or is invalid. ${S}`,!1)}k("accessToken",t.accessToken),k("expiresAt",t.expiresAt);let{accessToken:f,expiresAt:p}=t,h={token:f,expiration:new Date(p)};if(h.expiration.getTime()-Date.now()>3e5)return h;if(Date.now()-y.getTime()<3e4)return m(h),h;k("clientId",t.clientId,!0),k("clientSecret",t.clientSecret,!0),k("refreshToken",t.refreshToken,!0);try{y.setTime(Date.now());let i=await C(t,c,e,r);k("accessToken",i.accessToken),k("expiresIn",i.expiresIn);let s=new Date(Date.now()+1e3*i.expiresIn);try{var _;let e;await (_={...t,accessToken:i.accessToken,expiresAt:s.toISOString(),refreshToken:i.refreshToken},e=(0,O.getSSOTokenFilepath)(a),v(e,JSON.stringify(_,null,2)))}catch(e){}return{token:i.accessToken,expiration:s}}catch(e){return m(h),h}})({profile:_,filepath:T,configFilepath:x,ignoreCache:P})();I={accessToken:e.token,expiresAt:new Date(e.expiration).toISOString()}}catch(e){throw new r.CredentialsProviderError(e.message,{tryNextLink:!1,logger:A})}else try{I=await (0,u.getSSOTokenFromFile)(t)}catch(e){throw new r.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${E}`,{tryNextLink:!1,logger:A})}if(new Date(I.expiresAt).getTime()-Date.now()<=0)throw new r.CredentialsProviderError(`The SSO session associated with this profile has expired. ${E}`,{tryNextLink:!1,logger:A});let{accessToken:N}=I,{SSOClient:$,GetRoleCredentialsCommand:b}=await e.A(94624),j=l||new $(Object.assign({},c??{},{logger:c?.logger??h?.logger??f?.logger,region:c?.region??n,userAgentAppId:c?.userAgentAppId??h?.userAgentAppId??f?.userAgentAppId}));try{F=await j.send(new b({accountId:o,roleName:a,accessToken:N}))}catch(e){throw new r.CredentialsProviderError(e,{tryNextLink:!1,logger:A})}let{roleCredentials:{accessKeyId:D,secretAccessKey:R,sessionToken:L,expiration:q,credentialScope:G,accountId:K}={}}=F;if(!D||!R||!L||!q)throw new r.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:!1,logger:A});let H={accessKeyId:D,secretAccessKey:R,sessionToken:L,expiration:new Date(q),...G&&{credentialScope:G},...K&&{accountId:K}};return s?(0,p.setCredentialFeature)(H,"CREDENTIALS_SSO","s"):(0,p.setCredentialFeature)(H,"CREDENTIALS_SSO_LEGACY","u"),H},x=(e,i)=>{let{sso_start_url:t,sso_account_id:s,sso_region:o,sso_role_name:n}=e;if(!t||!s||!o||!n)throw new r.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
|
|
2
|
+
Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:i});return e};e.s(["validateSsoProfile",0,x],61980);let P=(e={})=>async({callerClientConfig:t}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:s,ssoAccountId:o,ssoRegion:n,ssoRoleName:a,ssoSession:l}=e,{ssoClient:c}=e,p=(0,i.getProfileName)({profile:e.profile??t?.profile});if(s||o||n||a||l)if(s&&o&&n&&a)return T({ssoStartUrl:s,ssoSession:l,ssoAccountId:o,ssoRegion:n,ssoRoleName:a,ssoClient:c,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:p,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger});else throw new r.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});{let i=(await (0,d.parseKnownFiles)(e))[p];if(!i)throw new r.CredentialsProviderError(`Profile ${p} was not found.`,{logger:e.logger});if(!f(i))throw new r.CredentialsProviderError(`Profile ${p} is not configured with SSO credentials.`,{logger:e.logger});if(i?.sso_session){let t=(await g(e))[i.sso_session],o=` configurations in profile ${p} and sso-session ${i.sso_session}`;if(n&&n!==t.sso_region)throw new r.CredentialsProviderError("Conflicting SSO region"+o,{tryNextLink:!1,logger:e.logger});if(s&&s!==t.sso_start_url)throw new r.CredentialsProviderError("Conflicting SSO start_url"+o,{tryNextLink:!1,logger:e.logger});i.sso_region=t.sso_region,i.sso_start_url=t.sso_start_url}let{sso_start_url:t,sso_account_id:o,sso_region:a,sso_role_name:l,sso_session:h}=x(i,e.logger);return T({ssoStartUrl:t,ssoSession:h,ssoAccountId:o,ssoRegion:a,ssoRoleName:l,ssoClient:c,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:p,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}};e.s(["fromSSO",0,P],75670),e.i(75670),e.i(70487),e.s([],10105),e.i(10105),e.i(61980),e.s(["fromSSO",0,P,"isSsoProfile",0,f,"validateSsoProfile",0,x],26709)},57227,e=>{e.v(r=>Promise.all(["server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js","server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sso-oidc_index_df09d547.js","server/chunks/node_modules_c58ca22f._.js"].map(r=>e.l(r))).then(()=>r(86799)))},94624,e=>{e.v(r=>Promise.all(["server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js","server/chunks/node_modules_c58ca22f._.js"].map(r=>e.l(r))).then(()=>r(56690)))}];
|
|
3
3
|
|
|
4
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
4
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__4297cb97._.js.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
module.exports=[31875,e=>{"use strict";class t{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){return!!e&&"number"==typeof e.statusCode&&"object"==typeof e.headers}}e.s(["HttpResponse",()=>t])},88947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},83784,e=>{"use strict";let t={},r={};for(let e=0;e<256;e++){let n=e.toString(16).toLowerCase();1===n.length&&(n=`0${n}`),t[e]=n,r[n]=e}function n(e){if(e.length%2!=0)throw Error("Hex encoded strings must have an even number length");let t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){let o=e.slice(n,n+2).toLowerCase();if(o in r)t[n/2]=r[o];else throw Error(`Cannot decode unrecognized sequence ${o} as hexadecimal`)}return t}function o(e){let r="";for(let n=0;n<e.byteLength;n++)r+=t[e[n]];return r}e.s(["fromHex",()=>n,"toHex",()=>o])},43698,(e,t,r)=>{t.exports=e.x("node:https",()=>require("node:https"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},84912,12623,e=>{"use strict";let t,r;var n=e.i(31875);let o=e=>encodeURIComponent(e).replace(/[!'()*]/g,s),s=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;e.s(["escapeUri",0,o],12623);var i=e.i(43698);function a(e){let t=e&&"object"==typeof e&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let e=Error("Request aborted");return e.name="AbortError",e.cause=t,e}let e=Error(String(t));return e.name="AbortError",e}let r=Error("Request aborted");return r.name="AbortError",r}let u=["ECONNRESET","EPIPE","ETIMEDOUT"],l=e=>clearTimeout(e),c=3e3;var f=e.i(81111);async function d(e,t,r=6e3,n=!1){let o=t.headers??{},s=o.Expect||o.expect,i=-1,a=!0;n||"100-continue"!==s||(a=await Promise.race([new Promise(e=>{i=Number(setTimeout(()=>e(!0),Math.max(6e3,r)))}),new Promise(t=>{e.on("continue",()=>{l(i),t(!0)}),e.on("response",()=>{l(i),t(!1)}),e.on("error",()=>{l(i),t(!1)})})])),a&&function(e,t){if(t instanceof f.Readable)return t.pipe(e);if(t){let r=Buffer.isBuffer(t),n="string"==typeof t;return r||n?r&&0===t.byteLength?e.end():e.end(t):"object"==typeof t&&t.buffer&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength?e.end(Buffer.from(t.buffer,t.byteOffset,t.byteLength)):e.end(Buffer.from(t))}e.end()}(e,t.body)}class h{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){return"function"==typeof e?.handle?e:new h(e)}static checkSocketUsage(e,t,r=console){let{sockets:n,requests:o,maxSockets:s}=e;if("number"!=typeof s||s===1/0||Date.now()-15e3<t)return t;if(n&&o)for(let e in n){let t=n[e]?.length??0,i=o[e]?.length??0;if(t>=s&&i>=2*s)return r?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${t} and ${i} additional requests are enqueued.
|
|
2
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,r)=>{"function"==typeof e?e().then(e=>{t(this.resolveDefaultConfig(e))}).catch(r):t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:s,requestTimeout:f}={}){this.config||(this.config=await this.configProvider);let p=this.config,g="https:"===e.protocol;return g||this.config.httpAgent||(this.config.httpAgent=await this.config.httpAgentProvider()),new Promise((m,y)=>{let b,T,w=[],E=async e=>{await b,w.forEach(l),m(e)},v=async e=>{await b,w.forEach(l),y(e)};if(s?.aborted)return void v(a(s));let A=e.headers??{},$=(A.Expect??A.expect)==="100-continue",x=g?p.httpsAgent:p.httpAgent;$&&!this.externalAgent&&(x=new(g?i.Agent:t)({keepAlive:!1,maxSockets:1/0})),w.push(setTimeout(()=>{this.socketWarningTimestamp=h.checkSocketUsage(x,this.socketWarningTimestamp,p.logger)},p.socketAcquisitionWarningTimeout??(p.requestTimeout??2e3)+(p.connectionTimeout??1e3)));let C=function(e){let t=[];for(let r of Object.keys(e).sort()){let n=e[r];if(r=o(r),Array.isArray(n))for(let e=0,s=n.length;e<s;e++)t.push(`${r}=${o(n[e])}`);else{let e=r;(n||"string"==typeof n)&&(e+=`=${o(n)}`),t.push(e)}}return t.join("&")}(e.query||{});if(null!=e.username||null!=e.password){let t=e.username??"",r=e.password??"";T=`${t}:${r}`}let k=e.path;C&&(k+=`?${C}`),e.fragment&&(k+=`#${e.fragment}`);let N=e.hostname??"";N="["===N[0]&&N.endsWith("]")?e.hostname.slice(1,-1):e.hostname;let S={headers:e.headers,host:N,method:e.method,path:k,port:e.port,agent:x,auth:T},U=(g?i.request:r)(S,e=>{E({response:new n.HttpResponse({statusCode:e.statusCode||-1,reason:e.statusMessage,headers:(e=>{let t={};for(let r of Object.keys(e)){let n=e[r];t[r]=Array.isArray(n)?n.join(","):n}return t})(e.headers),body:e})})});if(U.on("error",e=>{u.includes(e.code)?v(Object.assign(e,{name:"TimeoutError"})):v(e)}),s){let e=()=>{U.destroy(),v(a(s))};"function"==typeof s.addEventListener?(s.addEventListener("abort",e,{once:!0}),U.once("close",()=>s.removeEventListener("abort",e))):s.onabort=e}let M=f??p.requestTimeout;w.push(((e,t,r=0)=>{if(!r)return -1;let n=n=>{let o=setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${r} ms.`),{name:"TimeoutError"}))},r-n),s=e=>{e?.connecting?e.on("connect",()=>{l(o)}):l(o)};e.socket?s(e.socket):e.on("socket",s)};return r<2e3?(n(0),0):setTimeout(n.bind(null,1e3),1e3)})(U,v,p.connectionTimeout)),w.push(((e,t,r=0,n,o)=>r?setTimeout(()=>{let s=`@smithy/node-http-handler - [${n?"ERROR":"WARN"}] a request has exceeded the configured ${r} ms requestTimeout.`;if(n){let r=Object.assign(Error(s),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(r),t(r)}else s+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",o?.warn?.(s)},r):-1)(U,v,M,p.throwOnRequestTimeout,p.logger??console)),w.push(((e,t,r=0)=>{let n=n=>{let o=r-n,s=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${r} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};e.socket?(e.socket.setTimeout(o,s),e.on("close",()=>e.socket?.removeListener("timeout",s))):e.setTimeout(o,s)};return 0<r&&r<6e3?(n(0),0):setTimeout(n.bind(null,3e3*(0!==r)),3e3)})(U,v,p.socketTimeout));let R=S.agent;"object"==typeof R&&"keepAlive"in R&&w.push(((e,{keepAlive:t,keepAliveMsecs:r},n=c)=>{if(!0!==t)return -1;let o=()=>{e.socket?e.socket.setKeepAlive(t,r||0):e.on("socket",e=>{e.setKeepAlive(t,r||0)})};return 0===n?(o(),0):setTimeout(o,n)})(U,{keepAlive:R.keepAlive,keepAliveMsecs:R.keepAliveMsecs})),b=d(U,e,M,this.externalAgent).catch(e=>(w.forEach(l),y(e)))})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>({...r,[e]:t}))}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(n){let{requestTimeout:o,connectionTimeout:s,socketTimeout:a,socketAcquisitionWarningTimeout:u,httpAgent:l,httpsAgent:c,throwOnRequestTimeout:f,logger:d}=n||{};return{connectionTimeout:s,requestTimeout:o,socketTimeout:a,socketAcquisitionWarningTimeout:u,throwOnRequestTimeout:f,httpAgentProvider:async()=>{let{Agent:n,request:o}=await e.A(91956);return(r=o,l instanceof(t=n)||"function"==typeof l?.destroy)?(this.externalAgent=!0,l):new t({keepAlive:!0,maxSockets:50,...l})},httpsAgent:c instanceof i.Agent||"function"==typeof c?.destroy?(this.externalAgent=!0,c):new i.Agent({keepAlive:!0,maxSockets:50,...c}),logger:d}}}e.s(["NodeHttpHandler",()=>h],84912)},56884,49151,71225,e=>{"use strict";var t=e.i(81111);class r extends t.Writable{bufferedBytes=[];_write(e,t,r){this.bufferedBytes.push(e),r()}}async function n(e){let t=[],r=e.getReader(),n=!1,o=0;for(;!n;){let{done:e,value:s}=await r.read();s&&(t.push(s),o+=s.length),n=e}let s=new Uint8Array(o),i=0;for(let e of t)s.set(e,i),i+=e.length;return s}e.s(["streamCollector",0,e=>{let t;return(t=e,"function"==typeof ReadableStream&&t instanceof ReadableStream)?n(e):new Promise((t,n)=>{let o=new r;e.pipe(o),e.on("error",e=>{o.end(),n(e)}),o.on("error",n),o.on("finish",function(){t(new Uint8Array(Buffer.concat(this.bufferedBytes)))})})}],56884);var o=e.i(47797);let s=/^[A-Za-z0-9+/]*={0,2}$/;e.s(["fromBase64",0,e=>{if(3*e.length%4!=0)throw TypeError("Incorrect padding on base64 string.");if(!s.exec(e))throw TypeError("Invalid base64 string.");let t=(0,o.fromString)(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}],49151);var i=e.i(55103);e.s(["toBase64",0,e=>{let t;if("object"!=typeof(t="string"==typeof e?(0,i.fromUtf8)(e):e)||"number"!=typeof t.byteOffset||"number"!=typeof t.byteLength)throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return(0,o.fromArrayBuffer)(t.buffer,t.byteOffset,t.byteLength).toString("base64")}],71225)},19898,e=>{"use strict";let t=e=>{if(null!=e){if("string"==typeof e){let t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&c.warn(l(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw TypeError(`Expected number, got ${typeof e}: ${e}`)}},r=Math.ceil(17014118346046923e22*(2-11920928955078125e-23)),n=e=>{let n=t(e);if(void 0!==n&&!Number.isNaN(n)&&n!==1/0&&n!==-1/0&&Math.abs(n)>r)throw TypeError(`Expected 32-bit float, got ${e}`);return n},o=(e,t)=>{let r=(e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw TypeError(`Expected integer, got ${typeof e}: ${e}`)}})(e);if(void 0!==r&&s(r,t)!==r)throw TypeError(`Expected ${t}-bit integer, got ${e}`);return r},s=(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]}},i=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,a=e=>{let t=e.match(i);if(null===t||t[0].length!==e.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat(e)},u=e=>"string"==typeof e?o(a(e),16):o(e,16),l=e=>String(TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),c={warn:console.warn},f=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function h(e){let t=e.getUTCFullYear(),r=e.getUTCMonth(),n=e.getUTCDay(),o=e.getUTCDate(),s=e.getUTCHours(),i=e.getUTCMinutes(),a=e.getUTCSeconds(),u=o<10?`0${o}`:`${o}`,l=s<10?`0${s}`:`${s}`,c=i<10?`0${i}`:`${i}`,h=a<10?`0${a}`:`${a}`;return`${f[n]}, ${u} ${d[r]} ${t} ${l}:${c}:${h} GMT`}let p=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),g=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),m=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$/),y=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$/),b=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})$/),T=(e,t,r,n)=>{let o=t-1;return v(e,o,r),new Date(Date.UTC(e,o,r,$(n.hours,"hour",0,23),$(n.minutes,"minute",0,59),$(n.seconds,"seconds",0,60),x(n.fractionalMilliseconds)))},w=e=>{let t=d.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},E=[31,28,31,30,31,30,31,31,30,31,30,31],v=(e,t,r)=>{let n=E[t];if(1===t&&A(e)&&(n=29),r>n)throw TypeError(`Invalid day for ${d[t]} in ${e}: ${r}`)},A=e=>e%4==0&&(e%100!=0||e%400==0),$=(e,t,r,n)=>{var s;let i="string"==typeof(s=C(e))?o(a(s),8):o(s,8);if(i<r||i>n)throw TypeError(`${t} must be between ${r} and ${n}, inclusive`);return i},x=e=>{var t;return null==e?0:1e3*("string"==typeof(t="0."+e)?n(a(t)):n(t))},C=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)};e.s(["dateToUtcString",()=>h,"parseEpochTimestamp",0,e=>{let r;if(null!=e){if("number"==typeof e)r=e;else if("string"==typeof e)r="string"==typeof e?t(a(e)):t(e);else if("object"==typeof e&&1===e.tag)r=e.value;else throw TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(r)||r===1/0||r===-1/0)throw TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*r))}},"parseRfc3339DateTime",0,e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-3339 date-times must be expressed as strings");let t=p.exec(e);if(!t)throw TypeError("Invalid RFC-3339 date-time value");let[r,n,o,s,i,a,l,c]=t;return T(u(C(n)),$(o,"month",1,12),$(s,"day",1,31),{hours:i,minutes:a,seconds:l,fractionalMilliseconds:c})},"parseRfc3339DateTimeWithOffset",0,e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-3339 date-times must be expressed as strings");let t=g.exec(e);if(!t)throw TypeError("Invalid RFC-3339 date-time value");let[r,n,o,s,i,a,l,c,f]=t,d=T(u(C(n)),$(o,"month",1,12),$(s,"day",1,31),{hours:i,minutes:a,seconds:l,fractionalMilliseconds:c});return"Z"!=f.toUpperCase()&&d.setTime(d.getTime()-(e=>{let t=e[0],r=1;if("+"==t)r=1;else if("-"==t)r=-1;else throw TypeError(`Offset direction, ${t}, must be "+" or "-"`);return r*(60*Number(e.substring(1,3))+Number(e.substring(4,6)))*6e4})(f)),d},"parseRfc7231DateTime",0,e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-7231 date-times must be expressed as strings");let t=m.exec(e);if(t){let[e,r,n,o,s,i,a,l]=t;return T(u(C(o)),w(n),$(r,"day",1,31),{hours:s,minutes:i,seconds:a,fractionalMilliseconds:l})}if(t=y.exec(e)){var r;let e,n,o,[s,i,a,l,c,f,d,h]=t;return(o=T((r=l,(n=100*Math.floor((e=new Date().getUTCFullYear())/100)+u(C(r)))<e?n+100:n),w(a),$(i,"day",1,31),{hours:c,minutes:f,seconds:d,fractionalMilliseconds:h})).getTime()-new Date().getTime()>15768e8?new Date(Date.UTC(o.getUTCFullYear()-100,o.getUTCMonth(),o.getUTCDate(),o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds())):o}if(t=b.exec(e)){let[e,r,n,o,s,i,a,l]=t;return T(u(C(l)),w(r),$(n.trimLeft(),"day",1,31),{hours:o,minutes:s,seconds:i,fractionalMilliseconds:a})}throw TypeError("Invalid RFC-7231 date-time value")}],19898)}];
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__52da7fe0._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[76535,e=>{"use strict";var r=e.i(46277);let t=async e=>{let t=await (0,r.loadSharedConfigFiles)(e);return((...e)=>{let r={};for(let t of e)for(let[e,i]of Object.entries(t))void 0!==r[e]?Object.assign(r[e],i):r[e]=i;return r})(t.configFile,t.credentialsFile)};e.s(["parseKnownFiles",0,t],76535)},66680,(e,r,t)=>{r.exports=e.x("node:crypto",()=>require("node:crypto"))},1346,e=>{"use strict";e.s([],58014),e.i(58014);var r=e.i(81355),t=e.i(76535),i=e.i(60400),n=e.i(9212),s=e.i(39866);let o=e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_NAMED_PROVIDER","p"),a=async(t,a,c,d,g={},f)=>{c.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");let u=a[t],{source_profile:_,region:p}=u;if(!c.roleAssumer){let{getDefaultRoleAssumer:r}=await e.A(43109);c.roleAssumer=r({...c.clientConfig,credentialProviderLogger:c.logger,parentClientConfig:{...d,...c?.parentClientConfig,region:p??c?.parentClientConfig?.region??d?.region}},c.clientPlugins)}if(_&&_ in g)throw new i.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${(0,r.getProfileName)(c)}. Profiles visited: `+Object.keys(g).join(", "),{logger:c.logger});c.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${_?`source_profile=[${_}]`:`profile=[${t}]`}`);let h=_?f(_,a,c,d,{...g,[_]:!0},l(a[_]??{})):(await ((r,t,n)=>{let a={EcsContainer:async r=>{let{fromHttp:t}=await e.A(93306),{fromContainerMetadata:i}=await e.A(14277);return n?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),async()=>(0,s.chain)(t(r??{}),i(r))().then(o)},Ec2InstanceMetadata:async r=>{n?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");let{fromInstanceMetadata:t}=await e.A(14277);return async()=>t(r)().then(o)},Environment:async r=>{n?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");let{fromEnv:t}=await e.A(31605);return async()=>t(r)().then(o)}};if(r in a)return a[r];throw new i.CredentialsProviderError(`Unsupported credential source in profile ${t}. Got ${r}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:n})})(u.credential_source,t,c.logger)(c))();if(l(u))return h.then(e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"));{let e={RoleArn:u.role_arn,RoleSessionName:u.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:u.external_id,DurationSeconds:parseInt(u.duration_seconds||"3600",10)},{mfa_serial:r}=u;if(r){if(!c.mfaCodeProvider)throw new i.CredentialsProviderError(`Profile ${t} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:c.logger,tryNextLink:!1});e.SerialNumber=r,e.TokenCode=await c.mfaCodeProvider(r)}let s=await h;return c.roleAssumer(s,e).then(e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"))}},l=e=>!e.role_arn&&!!e.credential_source;var c=e.i(89073),d=e.i(49487),g=e.i(66680),f=e.i(2157),u=e.i(60526),_=e.i(50227);class p{profileData;init;callerClientConfig;static REFRESH_THRESHOLD=3e5;constructor(e,r,t){this.profileData=e,this.init=r,this.callerClientConfig=t}async loadCredentials(){let e=await this.loadToken();if(!e)throw new i.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`,{tryNextLink:!1,logger:this.logger});let r=e.accessToken,t=Date.now();return new Date(r.expiresAt).getTime()-t<=p.REFRESH_THRESHOLD?this.refresh(e):{accessKeyId:r.accessKeyId,secretAccessKey:r.secretAccessKey,sessionToken:r.sessionToken,accountId:r.accountId,expiration:new Date(r.expiresAt)}}get logger(){return this.init?.logger}get loginSession(){return this.profileData.login_session}async refresh(r){let t,{SigninClient:n,CreateOAuth2TokenCommand:s}=await e.A(54608),{logger:o,userAgentAppId:a}=this.callerClientConfig??{},l=(t=this.callerClientConfig?.requestHandler,t?.metadata?.handlerProtocol==="h2")?void 0:this.callerClientConfig?.requestHandler,c=new n({credentials:{accessKeyId:"",secretAccessKey:""},region:this.profileData.region??await this.callerClientConfig?.region?.()??process.env.AWS_REGION,requestHandler:l,logger:o,userAgentAppId:a,...this.init?.clientConfig});this.createDPoPInterceptor(c.middlewareStack);let d={tokenInput:{clientId:r.clientId,refreshToken:r.refreshToken,grantType:"refresh_token"}};try{let e=await c.send(new s(d)),{accessKeyId:t,secretAccessKey:n,sessionToken:o}=e.tokenOutput?.accessToken??{},{refreshToken:a,expiresIn:l}=e.tokenOutput??{};if(!t||!n||!o||!a)throw new i.CredentialsProviderError("Token refresh response missing required fields",{logger:this.logger,tryNextLink:!1});let g=new Date(Date.now()+(l??900)*1e3),f={...r,accessToken:{...r.accessToken,accessKeyId:t,secretAccessKey:n,sessionToken:o,expiresAt:g.toISOString()},refreshToken:a};await this.saveToken(f);let u=f.accessToken;return{accessKeyId:u.accessKeyId,secretAccessKey:u.secretAccessKey,sessionToken:u.sessionToken,accountId:u.accountId,expiration:g}}catch(e){if("AccessDeniedException"===e.name){let r;switch(e.error){case"TOKEN_EXPIRED":r="Your session has expired. Please reauthenticate.";break;case"USER_CREDENTIALS_CHANGED":r="Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";break;case"INSUFFICIENT_PERMISSIONS":r="Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";break;default:r=`Failed to refresh token: ${String(e)}. Please re-authenticate using \`aws login\``}throw new i.CredentialsProviderError(r,{logger:this.logger,tryNextLink:!1})}throw new i.CredentialsProviderError(`Failed to refresh token: ${String(e)}. Please re-authenticate using aws login`,{logger:this.logger})}}async loadToken(){let e=this.getTokenFilePath();try{let r;try{r=await (0,d.readFile)(e,{ignoreCache:this.init?.ignoreCache})}catch{r=await f.promises.readFile(e,"utf8")}let t=JSON.parse(r),n=["accessToken","clientId","refreshToken","dpopKey"].filter(e=>!t[e]);if(t.accessToken?.accountId||n.push("accountId"),n.length>0)throw new i.CredentialsProviderError(`Token validation failed, missing fields: ${n.join(", ")}`,{logger:this.logger,tryNextLink:!1});return t}catch(r){throw new i.CredentialsProviderError(`Failed to load token from ${e}: ${String(r)}`,{logger:this.logger,tryNextLink:!1})}}async saveToken(e){let r=this.getTokenFilePath(),t=(0,_.dirname)(r);try{await f.promises.mkdir(t,{recursive:!0})}catch(e){}await f.promises.writeFile(r,JSON.stringify(e,null,2),"utf8")}getTokenFilePath(){let e=process.env.AWS_LOGIN_CACHE_DIRECTORY??(0,_.join)((0,u.homedir)(),".aws","login","cache"),r=Buffer.from(this.loginSession,"utf8"),t=(0,g.createHash)("sha256").update(r).digest("hex");return(0,_.join)(e,`${t}.json`)}derToRawSignature(e){let r=2;if(2!==e[2])throw Error("Invalid DER signature");r++;let t=e[r++],i=e.subarray(r,r+t);if(2!==e[r+=t])throw Error("Invalid DER signature");r++;let n=e[r++],s=e.subarray(r,r+n);i=0===i[0]?i.subarray(1):i,s=0===s[0]?s.subarray(1):s;let o=Buffer.concat([Buffer.alloc(32-i.length),i]),a=Buffer.concat([Buffer.alloc(32-s.length),s]);return Buffer.concat([o,a])}createDPoPInterceptor(e){e.add(e=>async r=>{if(c.HttpRequest.isInstance(r.request)){let e=r.request,t=`${e.protocol}//${e.hostname}${e.port?`:${e.port}`:""}${e.path}`,i=await this.generateDpop(e.method,t);e.headers={...e.headers,DPoP:i}}return e(r)},{step:"finalizeRequest",name:"dpopInterceptor",override:!0})}async generateDpop(e="POST",r){let t=await this.loadToken();try{let i=(0,g.createPrivateKey)({key:t.dpopKey,format:"pem",type:"sec1"}),n=(0,g.createPublicKey)(i).export({format:"der",type:"spki"}),s=-1;for(let e=0;e<n.length;e++)if(4===n[e]){s=e;break}let o=n.slice(s+1,s+33),a=n.slice(s+33,s+65),l={alg:"ES256",typ:"dpop+jwt",jwk:{kty:"EC",crv:"P-256",x:o.toString("base64url"),y:a.toString("base64url")}},c={jti:crypto.randomUUID(),htm:e,htu:r,iat:Math.floor(Date.now()/1e3)},d=Buffer.from(JSON.stringify(l)).toString("base64url"),f=Buffer.from(JSON.stringify(c)).toString("base64url"),u=`${d}.${f}`,_=(0,g.sign)("sha256",Buffer.from(u),i),p=this.derToRawSignature(_).toString("base64url");return`${u}.${p}`}catch(e){throw new i.CredentialsProviderError(`Failed to generate Dpop proof: ${e instanceof Error?e.message:String(e)}`,{logger:this.logger,tryNextLink:!1})}}}let h=async(e,s,o)=>{let a,l=await (a={...s,profile:e},async({callerClientConfig:e}={})=>{a?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");let s=await (0,t.parseKnownFiles)(a||{}),o=(0,r.getProfileName)({profile:a?.profile??e?.profile}),l=s[o];if(!l?.login_session)throw new i.CredentialsProviderError(`Profile ${o} does not contain login_session.`,{tryNextLink:!0,logger:a?.logger});let c=new p(l,a,e),d=await c.loadCredentials();return(0,n.setCredentialFeature)(d,"CREDENTIALS_LOGIN","AD")})({callerClientConfig:o});return(0,n.setCredentialFeature)(l,"CREDENTIALS_PROFILE_LOGIN","AC")},y=async(r,t)=>e.A(85365).then(({fromProcess:e})=>e({...r,profile:t})().then(e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_PROCESS","v"))),w=async(r,t,i={},s)=>{let{fromSSO:o}=await e.A(14115);return o({profile:r,logger:i.logger,parentClientConfig:i.parentClientConfig,clientConfig:i.clientConfig})({callerClientConfig:s}).then(e=>t.sso_session?(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_SSO","r"):(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_SSO_LEGACY","t"))},C=e=>!!e&&"object"==typeof e&&"string"==typeof e.aws_access_key_id&&"string"==typeof e.aws_secret_access_key&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,E=async(e,r)=>{r?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");let t={accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}};return(0,n.setCredentialFeature)(t,"CREDENTIALS_PROFILE","n")},k=async(r,t,i)=>e.A(52170).then(({fromTokenFile:e})=>e({webIdentityTokenFile:r.web_identity_token_file,roleArn:r.role_arn,roleSessionName:r.role_session_name,roleAssumerWithWebIdentity:t.roleAssumerWithWebIdentity,logger:t.logger,parentClientConfig:t.parentClientConfig})({callerClientConfig:i}).then(e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN","q"))),m=async(e,r,t,n,s={},o=!1)=>{let l=r[e];if(Object.keys(s).length>0&&C(l))return E(l,t);if(o||((e,{profile:r="default",logger:t}={})=>!!e&&"object"==typeof e&&"string"==typeof e.role_arn&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(((e,{profile:r,logger:t})=>{let i="string"==typeof e.source_profile&&void 0===e.credential_source;return i&&t?.debug?.(` ${r} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`),i})(e,{profile:r,logger:t})||((e,{profile:r,logger:t})=>{let i="string"==typeof e.credential_source&&void 0===e.source_profile;return i&&t?.debug?.(` ${r} isCredentialSourceProfile credential_source=${e.credential_source}`),i})(e,{profile:r,logger:t})))(l,{profile:e,logger:t.logger}))return a(e,r,t,n,s,m);if(C(l))return E(l,t);if(l&&"object"==typeof l&&"string"==typeof l.web_identity_token_file&&"string"==typeof l.role_arn&&["undefined","string"].indexOf(typeof l.role_session_name)>-1)return k(l,t,n);if(l&&"object"==typeof l&&"string"==typeof l.credential_process)return y(t,e);if(l&&("string"==typeof l.sso_start_url||"string"==typeof l.sso_account_id||"string"==typeof l.sso_session||"string"==typeof l.sso_region||"string"==typeof l.sso_role_name))return await w(e,l,t,n);if(l&&l.login_session)return h(e,t,n);throw new i.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:t.logger})},I=(e={})=>async({callerClientConfig:i}={})=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");let n=await (0,t.parseKnownFiles)(e);return m((0,r.getProfileName)({profile:e.profile??i?.profile}),n,e,i)};e.s(["fromIni",0,I],24518),e.i(24518),e.s(["fromIni",0,I],1346)},31605,e=>{e.v(r=>Promise.all(["server/chunks/node_modules_@aws-sdk_credential-provider-env_dist-es_index_55d96139.js"].map(r=>e.l(r))).then(()=>r(97301)))},43109,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__3dc5531f._.js","server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js"].map(r=>e.l(r))).then(()=>r(90222)))},54608,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__3dc5531f._.js","server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_6712dec9.js"].map(r=>e.l(r))).then(()=>r(20083)))}];
|
|
1
|
+
module.exports=[76535,e=>{"use strict";var r=e.i(46277);let t=async e=>{let t=await (0,r.loadSharedConfigFiles)(e);return((...e)=>{let r={};for(let t of e)for(let[e,i]of Object.entries(t))void 0!==r[e]?Object.assign(r[e],i):r[e]=i;return r})(t.configFile,t.credentialsFile)};e.s(["parseKnownFiles",0,t],76535)},66680,(e,r,t)=>{r.exports=e.x("node:crypto",()=>require("node:crypto"))},1346,e=>{"use strict";e.s([],58014),e.i(58014);var r=e.i(81355),t=e.i(76535),i=e.i(60400),n=e.i(9212),s=e.i(39866);let o=e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_NAMED_PROVIDER","p"),a=async(t,a,c,d,g={},u)=>{c.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");let f=a[t],{source_profile:_,region:p}=f;if(!c.roleAssumer){let{getDefaultRoleAssumer:r}=await e.A(43109);c.roleAssumer=r({...c.clientConfig,credentialProviderLogger:c.logger,parentClientConfig:{...d,...c?.parentClientConfig,region:p??c?.parentClientConfig?.region??d?.region}},c.clientPlugins)}if(_&&_ in g)throw new i.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${(0,r.getProfileName)(c)}. Profiles visited: `+Object.keys(g).join(", "),{logger:c.logger});c.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${_?`source_profile=[${_}]`:`profile=[${t}]`}`);let h=_?u(_,a,c,d,{...g,[_]:!0},l(a[_]??{})):(await ((r,t,n)=>{let a={EcsContainer:async r=>{let{fromHttp:t}=await e.A(93306),{fromContainerMetadata:i}=await e.A(14277);return n?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"),async()=>(0,s.chain)(t(r??{}),i(r))().then(o)},Ec2InstanceMetadata:async r=>{n?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");let{fromInstanceMetadata:t}=await e.A(14277);return async()=>t(r)().then(o)},Environment:async r=>{n?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");let{fromEnv:t}=await e.A(31605);return async()=>t(r)().then(o)}};if(r in a)return a[r];throw new i.CredentialsProviderError(`Unsupported credential source in profile ${t}. Got ${r}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,{logger:n})})(f.credential_source,t,c.logger)(c))();if(l(f))return h.then(e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"));{let e={RoleArn:f.role_arn,RoleSessionName:f.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:f.external_id,DurationSeconds:parseInt(f.duration_seconds||"3600",10)},{mfa_serial:r}=f;if(r){if(!c.mfaCodeProvider)throw new i.CredentialsProviderError(`Profile ${t} requires multi-factor authentication, but no MFA code callback was provided.`,{logger:c.logger,tryNextLink:!1});e.SerialNumber=r,e.TokenCode=await c.mfaCodeProvider(r)}let s=await h;return c.roleAssumer(s,e).then(e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_SOURCE_PROFILE","o"))}},l=e=>!e.role_arn&&!!e.credential_source;var c=e.i(89073),d=e.i(49487),g=e.i(66680),u=e.i(2157),f=e.i(60526),_=e.i(50227);class p{profileData;init;callerClientConfig;static REFRESH_THRESHOLD=3e5;constructor(e,r,t){this.profileData=e,this.init=r,this.callerClientConfig=t}async loadCredentials(){let e=await this.loadToken();if(!e)throw new i.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`,{tryNextLink:!1,logger:this.logger});let r=e.accessToken,t=Date.now();return new Date(r.expiresAt).getTime()-t<=p.REFRESH_THRESHOLD?this.refresh(e):{accessKeyId:r.accessKeyId,secretAccessKey:r.secretAccessKey,sessionToken:r.sessionToken,accountId:r.accountId,expiration:new Date(r.expiresAt)}}get logger(){return this.init?.logger}get loginSession(){return this.profileData.login_session}async refresh(r){let t,{SigninClient:n,CreateOAuth2TokenCommand:s}=await e.A(54608),{logger:o,userAgentAppId:a}=this.callerClientConfig??{},l=(t=this.callerClientConfig?.requestHandler,t?.metadata?.handlerProtocol==="h2")?void 0:this.callerClientConfig?.requestHandler,c=new n({credentials:{accessKeyId:"",secretAccessKey:""},region:this.profileData.region??await this.callerClientConfig?.region?.()??process.env.AWS_REGION,requestHandler:l,logger:o,userAgentAppId:a,...this.init?.clientConfig});this.createDPoPInterceptor(c.middlewareStack);let d={tokenInput:{clientId:r.clientId,refreshToken:r.refreshToken,grantType:"refresh_token"}};try{let e=await c.send(new s(d)),{accessKeyId:t,secretAccessKey:n,sessionToken:o}=e.tokenOutput?.accessToken??{},{refreshToken:a,expiresIn:l}=e.tokenOutput??{};if(!t||!n||!o||!a)throw new i.CredentialsProviderError("Token refresh response missing required fields",{logger:this.logger,tryNextLink:!1});let g=new Date(Date.now()+(l??900)*1e3),u={...r,accessToken:{...r.accessToken,accessKeyId:t,secretAccessKey:n,sessionToken:o,expiresAt:g.toISOString()},refreshToken:a};await this.saveToken(u);let f=u.accessToken;return{accessKeyId:f.accessKeyId,secretAccessKey:f.secretAccessKey,sessionToken:f.sessionToken,accountId:f.accountId,expiration:g}}catch(e){if("AccessDeniedException"===e.name){let r;switch(e.error){case"TOKEN_EXPIRED":r="Your session has expired. Please reauthenticate.";break;case"USER_CREDENTIALS_CHANGED":r="Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password.";break;case"INSUFFICIENT_PERMISSIONS":r="Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action.";break;default:r=`Failed to refresh token: ${String(e)}. Please re-authenticate using \`aws login\``}throw new i.CredentialsProviderError(r,{logger:this.logger,tryNextLink:!1})}throw new i.CredentialsProviderError(`Failed to refresh token: ${String(e)}. Please re-authenticate using aws login`,{logger:this.logger})}}async loadToken(){let e=this.getTokenFilePath();try{let r;try{r=await (0,d.readFile)(e,{ignoreCache:this.init?.ignoreCache})}catch{r=await u.promises.readFile(e,"utf8")}let t=JSON.parse(r),n=["accessToken","clientId","refreshToken","dpopKey"].filter(e=>!t[e]);if(t.accessToken?.accountId||n.push("accountId"),n.length>0)throw new i.CredentialsProviderError(`Token validation failed, missing fields: ${n.join(", ")}`,{logger:this.logger,tryNextLink:!1});return t}catch(r){throw new i.CredentialsProviderError(`Failed to load token from ${e}: ${String(r)}`,{logger:this.logger,tryNextLink:!1})}}async saveToken(e){let r=this.getTokenFilePath(),t=(0,_.dirname)(r);try{await u.promises.mkdir(t,{recursive:!0})}catch(e){}await u.promises.writeFile(r,JSON.stringify(e,null,2),"utf8")}getTokenFilePath(){let e=process.env.AWS_LOGIN_CACHE_DIRECTORY??(0,_.join)((0,f.homedir)(),".aws","login","cache"),r=Buffer.from(this.loginSession,"utf8"),t=(0,g.createHash)("sha256").update(r).digest("hex");return(0,_.join)(e,`${t}.json`)}derToRawSignature(e){let r=2;if(2!==e[2])throw Error("Invalid DER signature");r++;let t=e[r++],i=e.subarray(r,r+t);if(2!==e[r+=t])throw Error("Invalid DER signature");r++;let n=e[r++],s=e.subarray(r,r+n);i=0===i[0]?i.subarray(1):i,s=0===s[0]?s.subarray(1):s;let o=Buffer.concat([Buffer.alloc(32-i.length),i]),a=Buffer.concat([Buffer.alloc(32-s.length),s]);return Buffer.concat([o,a])}createDPoPInterceptor(e){e.add(e=>async r=>{if(c.HttpRequest.isInstance(r.request)){let e=r.request,t=`${e.protocol}//${e.hostname}${e.port?`:${e.port}`:""}${e.path}`,i=await this.generateDpop(e.method,t);e.headers={...e.headers,DPoP:i}}return e(r)},{step:"finalizeRequest",name:"dpopInterceptor",override:!0})}async generateDpop(e="POST",r){let t=await this.loadToken();try{let i=(0,g.createPrivateKey)({key:t.dpopKey,format:"pem",type:"sec1"}),n=(0,g.createPublicKey)(i).export({format:"der",type:"spki"}),s=-1;for(let e=0;e<n.length;e++)if(4===n[e]){s=e;break}let o=n.slice(s+1,s+33),a=n.slice(s+33,s+65),l={alg:"ES256",typ:"dpop+jwt",jwk:{kty:"EC",crv:"P-256",x:o.toString("base64url"),y:a.toString("base64url")}},c={jti:crypto.randomUUID(),htm:e,htu:r,iat:Math.floor(Date.now()/1e3)},d=Buffer.from(JSON.stringify(l)).toString("base64url"),u=Buffer.from(JSON.stringify(c)).toString("base64url"),f=`${d}.${u}`,_=(0,g.sign)("sha256",Buffer.from(f),i),p=this.derToRawSignature(_).toString("base64url");return`${f}.${p}`}catch(e){throw new i.CredentialsProviderError(`Failed to generate Dpop proof: ${e instanceof Error?e.message:String(e)}`,{logger:this.logger,tryNextLink:!1})}}}let h=async(e,s,o)=>{let a,l=await (a={...s,profile:e},async({callerClientConfig:e}={})=>{a?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");let s=await (0,t.parseKnownFiles)(a||{}),o=(0,r.getProfileName)({profile:a?.profile??e?.profile}),l=s[o];if(!l?.login_session)throw new i.CredentialsProviderError(`Profile ${o} does not contain login_session.`,{tryNextLink:!0,logger:a?.logger});let c=new p(l,a,e),d=await c.loadCredentials();return(0,n.setCredentialFeature)(d,"CREDENTIALS_LOGIN","AD")})({callerClientConfig:o});return(0,n.setCredentialFeature)(l,"CREDENTIALS_PROFILE_LOGIN","AC")},y=async(r,t)=>e.A(85365).then(({fromProcess:e})=>e({...r,profile:t})().then(e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_PROCESS","v"))),w=async(r,t,i={},s)=>{let{fromSSO:o}=await e.A(14115);return o({profile:r,logger:i.logger,parentClientConfig:i.parentClientConfig,clientConfig:i.clientConfig})({callerClientConfig:s}).then(e=>t.sso_session?(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_SSO","r"):(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_SSO_LEGACY","t"))},C=e=>!!e&&"object"==typeof e&&"string"==typeof e.aws_access_key_id&&"string"==typeof e.aws_secret_access_key&&["undefined","string"].indexOf(typeof e.aws_session_token)>-1&&["undefined","string"].indexOf(typeof e.aws_account_id)>-1,E=async(e,r)=>{r?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");let t={accessKeyId:e.aws_access_key_id,secretAccessKey:e.aws_secret_access_key,sessionToken:e.aws_session_token,...e.aws_credential_scope&&{credentialScope:e.aws_credential_scope},...e.aws_account_id&&{accountId:e.aws_account_id}};return(0,n.setCredentialFeature)(t,"CREDENTIALS_PROFILE","n")},k=async(r,t,i)=>e.A(52170).then(({fromTokenFile:e})=>e({webIdentityTokenFile:r.web_identity_token_file,roleArn:r.role_arn,roleSessionName:r.role_session_name,roleAssumerWithWebIdentity:t.roleAssumerWithWebIdentity,logger:t.logger,parentClientConfig:t.parentClientConfig})({callerClientConfig:i}).then(e=>(0,n.setCredentialFeature)(e,"CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN","q"))),m=async(e,r,t,n,s={},o=!1)=>{let l=r[e];if(Object.keys(s).length>0&&C(l))return E(l,t);if(o||((e,{profile:r="default",logger:t}={})=>!!e&&"object"==typeof e&&"string"==typeof e.role_arn&&["undefined","string"].indexOf(typeof e.role_session_name)>-1&&["undefined","string"].indexOf(typeof e.external_id)>-1&&["undefined","string"].indexOf(typeof e.mfa_serial)>-1&&(((e,{profile:r,logger:t})=>{let i="string"==typeof e.source_profile&&void 0===e.credential_source;return i&&t?.debug?.(` ${r} isAssumeRoleWithSourceProfile source_profile=${e.source_profile}`),i})(e,{profile:r,logger:t})||((e,{profile:r,logger:t})=>{let i="string"==typeof e.credential_source&&void 0===e.source_profile;return i&&t?.debug?.(` ${r} isCredentialSourceProfile credential_source=${e.credential_source}`),i})(e,{profile:r,logger:t})))(l,{profile:e,logger:t.logger}))return a(e,r,t,n,s,m);if(C(l))return E(l,t);if(l&&"object"==typeof l&&"string"==typeof l.web_identity_token_file&&"string"==typeof l.role_arn&&["undefined","string"].indexOf(typeof l.role_session_name)>-1)return k(l,t,n);if(l&&"object"==typeof l&&"string"==typeof l.credential_process)return y(t,e);if(l&&("string"==typeof l.sso_start_url||"string"==typeof l.sso_account_id||"string"==typeof l.sso_session||"string"==typeof l.sso_region||"string"==typeof l.sso_role_name))return await w(e,l,t,n);if(l&&l.login_session)return h(e,t,n);throw new i.CredentialsProviderError(`Could not resolve credentials using profile: [${e}] in configuration/credentials file(s).`,{logger:t.logger})},I=(e={})=>async({callerClientConfig:i}={})=>{e.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");let n=await (0,t.parseKnownFiles)(e);return m((0,r.getProfileName)({profile:e.profile??i?.profile}),n,e,i)};e.s(["fromIni",0,I],24518),e.i(24518),e.s(["fromIni",0,I],1346)},31605,e=>{e.v(r=>Promise.all(["server/chunks/node_modules_@aws-sdk_credential-provider-env_dist-es_index_55d96139.js"].map(r=>e.l(r))).then(()=>r(97301)))},43109,e=>{e.v(r=>Promise.all(["server/chunks/node_modules_9fc3887b._.js","server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js"].map(r=>e.l(r))).then(()=>r(90222)))},54608,e=>{e.v(r=>Promise.all(["server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js","server/chunks/node_modules_c58ca22f._.js","server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_signin_index_6712dec9.js"].map(r=>e.l(r))).then(()=>r(20083)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__cf14e306._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},59639,(e,t,r)=>{t.exports=e.x("node:process",()=>require("node:process"))},874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},55103,34036,47797,25145,e=>{"use strict";let t=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e);e.s(["isArrayBuffer",0,t],34036);var r=e.i(874);let i=(e,i=0,s=e.byteLength-i)=>{if(!t(e))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`);return r.Buffer.from(e,i,s)},s=(e,t)=>{if("string"!=typeof e)throw TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`);return t?r.Buffer.from(e,t):r.Buffer.from(e)};e.s(["fromArrayBuffer",0,i,"fromString",0,s],47797),e.s(["fromUtf8",0,e=>{let t=s(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)}],55103),e.s(["toUtf8",0,e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return i(e.buffer,e.byteOffset,e.byteLength).toString("utf8")}],25145)},41175,e=>{"use strict";let t=e=>{let r;if("string"==typeof e)return t(new URL(e));let{hostname:i,pathname:s,port:o,protocol:n,search:a}=e;return a&&(r=function(e){let t={};if(e=e.replace(/^\?/,""))for(let r of e.split("&")){let[e,i=null]=r.split("=");e=decodeURIComponent(e),i&&(i=decodeURIComponent(i)),e in t?Array.isArray(t[e])?t[e].push(i):t[e]=[t[e],i]:t[e]=i}return t}(a)),{hostname:i,port:o?parseInt(o):void 0,protocol:n,path:s,query:r}};e.s(["parseUrl",0,t],41175)},15189,72783,e=>{"use strict";var t=e.i(39866);let r=(e,t,r)=>{let i,s,o,n=!1,a=async()=>{s||(s=e());try{i=await s,o=!0,n=!1}finally{s=void 0}return i};return void 0===t?async e=>((!o||e?.forceRefresh)&&(i=await a()),i):async e=>((!o||e?.forceRefresh)&&(i=await a()),n||(r&&!r(i)?n=!0:t(i)&&await a()),i)};e.s(["memoize",0,r],72783);var i=e.i(60400);function s(e){try{let t=new Set(Array.from(e.match(/([A-Z_]){3,}/g)??[]));return t.delete("CONFIG"),t.delete("CONFIG_PREFIX_SEPARATOR"),t.delete("ENV"),[...t].join(", ")}catch(t){return e}}var o=e.i(81355),n=e.i(46277);e.s(["loadConfig",0,({environmentVariableSelector:e,configFileSelector:a,default:c},u={})=>{let f,{signingName:l,logger:h}=u;return r((0,t.chain)((f={signingName:l,logger:h},async()=>{try{let t=e(process.env,f);if(void 0===t)throw Error();return t}catch(t){throw new i.CredentialsProviderError(t.message||`Not found in ENV: ${s(e.toString())}`,{logger:f?.logger})}}),((e,{preferredFile:t="config",...r}={})=>async()=>{let a=(0,o.getProfileName)(r),{configFile:c,credentialsFile:u}=await (0,n.loadSharedConfigFiles)(r),f=u[a]||{},l=c[a]||{},h="config"===t?{...f,...l}:{...l,...f};try{let r="config"===t?c:u,i=e(h,r);if(void 0===i)throw Error();return i}catch(t){throw new i.CredentialsProviderError(t.message||`Not found in config files w/ profile [${a}]: ${s(e.toString())}`,{logger:r.logger})}})(a,u),(e=>"function"==typeof e?async()=>await e():()=>Promise.resolve(e))(c)))}],15189)},39866,e=>{"use strict";var t=e.i(48979);e.s(["chain",0,(...e)=>async()=>{let r;if(0===e.length)throw new t.ProviderError("No providers in chain");for(let t of e)try{return await t()}catch(e){if(r=e,e?.tryNextLink)continue;throw e}throw r}])},89073,e=>{"use strict";class t{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){var r;let i=new t({...e,headers:{...e.headers}});return i.query&&(i.query=Object.keys(r=i.query).reduce((e,t)=>{let i=r[t];return{...e,[t]:Array.isArray(i)?[...i]:i}},{})),i}static isInstance(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return t.clone(this)}}e.s(["HttpRequest",()=>t])},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},65790,49487,e=>{"use strict";var t=e.i(46786),r=e.i(14747);let i={};e.s(["getHomeDir",0,()=>{let{HOME:e,USERPROFILE:s,HOMEPATH:o,HOMEDRIVE:n=`C:${r.sep}`}=process.env;if(e)return e;if(s)return s;if(o)return`${n}${o}`;let a=process&&process.geteuid?`${process.geteuid()}`:"DEFAULT";return i[a]||(i[a]=(0,t.homedir)()),i[a]}],65790);var s=e.i(12714);let o={},n={};e.s(["fileIntercept",0,n,"readFile",0,(e,t)=>void 0!==n[e]?n[e]:((!o[e]||t?.ignoreCache)&&(o[e]=(0,s.readFile)(e,"utf8")),o[e])],49487)},9212,e=>{"use strict";function t(e,t,r){return e.$source||(e.$source={}),e.$source[t]=r,e}e.s(["setCredentialFeature",()=>t])},60400,48979,e=>{"use strict";class t extends Error{name="ProviderError";tryNextLink;constructor(e,r=!0){let i,s=!0;"boolean"==typeof r?(i=void 0,s=r):null!=r&&"object"==typeof r&&(i=r.logger,s=r.tryNextLink??!0),super(e),this.tryNextLink=s,Object.setPrototypeOf(this,t.prototype),i?.debug?.(`@smithy/property-provider ${s?"->":"(!)"} ${e}`)}static from(e,t=!0){return Object.assign(new this(e.message,t),e)}}e.s(["ProviderError",()=>t],48979);class r extends t{name="CredentialsProviderError";constructor(e,t=!0){super(e,t),Object.setPrototypeOf(this,r.prototype)}}e.s(["CredentialsProviderError",()=>r],60400)},12714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},81355,e=>{"use strict";let t="AWS_PROFILE";e.s(["ENV_PROFILE",0,t,"getProfileName",0,e=>e.profile||process.env[t]||"default"])},96405,3289,e=>{"use strict";var t,r;(r=t||(t={})).PROFILE="profile",r.SSO_SESSION="sso-session",r.SERVICES="services",e.s(["IniSectionType",()=>t],96405),e.s(["CONFIG_PREFIX_SEPARATOR",0,"."],3289)},21334,e=>{"use strict";var t=e.i(96405),r=e.i(3289);e.s(["getConfigData",0,e=>Object.entries(e).filter(([e])=>{let i=e.indexOf(r.CONFIG_PREFIX_SEPARATOR);return -1!==i&&Object.values(t.IniSectionType).includes(e.substring(0,i))}).reduce((e,[i,s])=>{let o=i.indexOf(r.CONFIG_PREFIX_SEPARATOR);return e[i.substring(0,o)===t.IniSectionType.PROFILE?i.substring(o+1):i]=s,e},{...e.default&&{default:e.default}})])},92395,e=>{"use strict";var t=e.i(14747),r=e.i(65790);e.s(["getConfigFilepath",0,()=>process.env.AWS_CONFIG_FILE||(0,t.join)((0,r.getHomeDir)(),".aws","config")])},61487,e=>{"use strict";var t=e.i(14747),r=e.i(65790);e.s(["getCredentialsFilepath",0,()=>process.env.AWS_SHARED_CREDENTIALS_FILE||(0,t.join)((0,r.getHomeDir)(),".aws","credentials")])},7104,e=>{"use strict";var t=e.i(96405),r=e.i(3289);let i=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,s=["__proto__","profile __proto__"];e.s(["parseIni",0,e=>{let o,n,a={};for(let c of e.split(/\r?\n/)){let e=c.split(/(^|\s)[;#]/)[0].trim();if("["===e[0]&&"]"===e[e.length-1]){o=void 0,n=void 0;let a=e.substring(1,e.length-1),c=i.exec(a);if(c){let[,e,,i]=c;Object.values(t.IniSectionType).includes(e)&&(o=[e,i].join(r.CONFIG_PREFIX_SEPARATOR))}else o=a;if(s.includes(a))throw Error(`Found invalid profile name "${a}"`)}else if(o){let t=e.indexOf("=");if(![0,-1].includes(t)){let[i,s]=[e.substring(0,t).trim(),e.substring(t+1).trim()];if(""===s)n=i;else{n&&c.trimStart()===c&&(n=void 0),a[o]=a[o]||{};let e=n?[n,i].join(r.CONFIG_PREFIX_SEPARATOR):i;a[o][e]=s}}}}return a}])},46277,e=>{"use strict";var t=e.i(14747),r=e.i(21334),i=e.i(92395),s=e.i(61487),o=e.i(65790),n=e.i(7104),a=e.i(49487);let c=()=>({}),u=async(e={})=>{let{filepath:u=(0,s.getCredentialsFilepath)(),configFilepath:f=(0,i.getConfigFilepath)()}=e,l=(0,o.getHomeDir)(),h=u;u.startsWith("~/")&&(h=(0,t.join)(l,u.slice(2)));let p=f;f.startsWith("~/")&&(p=(0,t.join)(l,f.slice(2)));let d=await Promise.all([(0,a.readFile)(p,{ignoreCache:e.ignoreCache}).then(n.parseIni).then(r.getConfigData).catch(c),(0,a.readFile)(h,{ignoreCache:e.ignoreCache}).then(n.parseIni).catch(c)]);return{configFile:d[0],credentialsFile:d[1]}};e.s(["loadSharedConfigFiles",0,u])},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},98505,77463,e=>{"use strict";var t=e.i(76207),r=e.i(75504),i=e.i(34220),s=e.i(39765),o=e.i(88298),n=e.i(19898),a=e.i(49151),c=t,u=e.i(40274);function f(e,t,r){if(r?.source){let e=r.source;if("number"==typeof t&&(t>Number.MAX_SAFE_INTEGER||t<Number.MIN_SAFE_INTEGER||e!==String(t)))return e.includes(".")?new o.NumericValue(e,"bigDecimal"):BigInt(e)}return t}var l=e.i(14988),h=e.i(25145);let p=(e,t)=>(0,l.collectBody)(e,t).then(e=>(t?.utf8Encoder??h.toUtf8)(e)).then(e=>{if(e.length)try{return JSON.parse(e)}catch(t){throw t?.name==="SyntaxError"&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}return{}});e.s(["loadRestJsonErrorCode",0,(e,t)=>{let r=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),i=e=>{let t=e;return"number"==typeof t&&(t=t.toString()),t.indexOf(",")>=0&&(t=t.split(",")[0]),t.indexOf(":")>=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},s=r(e.headers,"x-amzn-errortype");if(void 0!==s)return i(e.headers[s]);if(t&&"object"==typeof t){let e=r(t,"code");if(e&&void 0!==t[e])return i(t[e]);if(void 0!==t.__type)return i(t.__type)}},"parseJsonBody",0,p],77463);class d extends c.SerdeContextConfig{settings;constructor(e){super(),this.settings=e}async read(e,t){return this._read(e,"string"==typeof t?JSON.parse(t,f):await p(t,this.serdeContext))}readObject(e,t){return this._read(e,t)}_read(e,t){let c=null!==t&&"object"==typeof t,f=i.NormalizedSchema.of(e);if(c){if(f.isStructSchema()){let e,r,i=f.isUnionSchema(),s={},{jsonName:o}=this.settings;for(let[n,a]of(o&&(r={}),i&&(e=new u.UnionSerde(t,s)),f.structIterator())){let c=n;o&&(r[c=a.getMergedTraits().jsonName??c]=n),i&&e.mark(c),null!=t[c]&&(s[n]=this._read(a,t[c]))}if(i)e.writeUnknown();else if("string"==typeof t.__type)for(let[e,i]of Object.entries(t)){let t=o?r[e]??e:e;t in s||(s[t]=i)}return s}if(Array.isArray(t)&&f.isListSchema()){let e=f.getValueSchema(),r=[];for(let i of t)r.push(this._read(e,i));return r}if(f.isMapSchema()){let e=f.getValueSchema(),r={};for(let[i,s]of Object.entries(t))r[i]=this._read(e,s);return r}}if(f.isBlobSchema()&&"string"==typeof t)return(0,a.fromBase64)(t);let l=f.getMergedTraits().mediaType;if(f.isStringSchema()&&"string"==typeof t&&l)return"application/json"===l||l.endsWith("+json")?s.LazyJsonString.from(t):t;if(f.isTimestampSchema()&&null!=t)switch((0,r.determineTimestampFormat)(f,this.settings)){case 5:return(0,n.parseRfc3339DateTimeWithOffset)(t);case 6:return(0,n.parseRfc7231DateTime)(t);case 7:return(0,n.parseEpochTimestamp)(t);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}if(f.isBigIntegerSchema()&&("number"==typeof t||"string"==typeof t))return BigInt(t);if(f.isBigDecimalSchema()&&void 0!=t)return t instanceof o.NumericValue?t:"bigDecimal"===t.type&&"string"in t?new o.NumericValue(t.string,t.type):new o.NumericValue(String(t),"bigDecimal");if(f.isNumericSchema()&&"string"==typeof t){switch(t){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN}return t}if(f.isDocumentSchema())if(!c)return structuredClone(t);else{let e=Array.isArray(t)?[]:{};for(let[r,i]of Object.entries(t))i instanceof o.NumericValue?e[r]=i:e[r]=this._read(f,i);return e}return t}}var m=e.i(90183),g=e.i(71225),y=t;let S=String.fromCharCode(925);class b{values=new Map;counter=0;stage=0;createReplacer(){if(1===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer already created.");if(2===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");return this.stage=1,(e,t)=>{if(t instanceof o.NumericValue){let e=`${S+"nv"+this.counter++}_`+t.string;return this.values.set(`"${e}"`,t.string),e}if("bigint"==typeof t){let e=t.toString(),r=`${S+"b"+this.counter++}_`+e;return this.values.set(`"${r}"`,e),r}return t}}replaceInJson(e){if(0===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");if(2===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");if(this.stage=2,0===this.counter)return e;for(let[t,r]of this.values)e=e.replace(t,r);return e}}class w extends y.SerdeContextConfig{settings;buffer;useReplacer=!1;rootSchema;constructor(e){super(),this.settings=e}write(e,t){this.rootSchema=i.NormalizedSchema.of(e),this.buffer=this._write(this.rootSchema,t)}writeDiscriminatedDocument(e,t){this.write(e,t),"object"==typeof this.buffer&&(this.buffer.__type=i.NormalizedSchema.of(e).getName(!0))}flush(){let{rootSchema:e,useReplacer:t}=this;if(this.rootSchema=void 0,this.useReplacer=!1,e?.isStructSchema()||e?.isDocumentSchema()){if(!t)return JSON.stringify(this.buffer);let e=new b;return e.replaceInJson(JSON.stringify(this.buffer,e.createReplacer(),0))}return this.buffer}_write(e,t,a){let c=null!==t&&"object"==typeof t,u=i.NormalizedSchema.of(e);if(c){if(u.isStructSchema()){let e,r={},{jsonName:i}=this.settings;for(let[s,o]of(i&&(e={}),u.structIterator())){let n=this._write(o,t[s],u);if(void 0!==n){let t=s;i&&(t=o.getMergedTraits().jsonName??s,e[s]=t),r[t]=n}}if(u.isUnionSchema()&&0===Object.keys(r).length){let{$unknown:e}=t;if(Array.isArray(e)){let[t,i]=e;r[t]=this._write(15,i)}}else if("string"==typeof t.__type)for(let[s,o]of Object.entries(t)){let t=i?e[s]??s:s;t in r||(r[t]=this._write(15,o))}return r}if(Array.isArray(t)&&u.isListSchema()){let e=u.getValueSchema(),r=[],i=!!u.getMergedTraits().sparse;for(let s of t)(i||null!=s)&&r.push(this._write(e,s));return r}if(u.isMapSchema()){let e=u.getValueSchema(),r={},i=!!u.getMergedTraits().sparse;for(let[s,o]of Object.entries(t))(i||null!=o)&&(r[s]=this._write(e,o));return r}if(t instanceof Uint8Array&&(u.isBlobSchema()||u.isDocumentSchema()))return u===this.rootSchema?t:(this.serdeContext?.base64Encoder??g.toBase64)(t);if(t instanceof Date&&(u.isTimestampSchema()||u.isDocumentSchema()))switch((0,r.determineTimestampFormat)(u,this.settings)){case 5:return t.toISOString().replace(".000Z","Z");case 6:return(0,n.dateToUtcString)(t);case 7:return t.getTime()/1e3;default:return console.warn("Missing timestamp format, using epoch seconds",t),t.getTime()/1e3}t instanceof o.NumericValue&&(this.useReplacer=!0)}if(!(null===t&&a?.isStructSchema())){if(u.isStringSchema()){if(void 0===t&&u.isIdempotencyToken())return(0,m.generateIdempotencyToken)();let e=u.getMergedTraits().mediaType;return null!=t&&e&&("application/json"===e||e.endsWith("+json"))?s.LazyJsonString.from(t):t}if("number"==typeof t&&u.isNumericSchema())return Math.abs(t)===1/0||isNaN(t)?String(t):t;if("string"==typeof t&&u.isBlobSchema())return u===this.rootSchema?t:(this.serdeContext?.base64Encoder??g.toBase64)(t);if("bigint"==typeof t&&(this.useReplacer=!0),u.isDocumentSchema())if(!c)return structuredClone(t);else{let e=Array.isArray(t)?[]:{};for(let[r,i]of Object.entries(t))i instanceof o.NumericValue?(this.useReplacer=!0,e[r]=i):e[r]=this._write(u,i);return e}return t}}}class E extends t.SerdeContextConfig{settings;constructor(e){super(),this.settings=e}createSerializer(){let e=new w(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new d(this.settings);return e.setSerdeContext(this.serdeContext),e}}e.s(["JsonCodec",()=>E],98505)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__d5272169._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[18622,(e,r,t)=>{r.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},70406,(e,r,t)=>{r.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},93695,(e,r,t)=>{r.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},14747,(e,r,t)=>{r.exports=e.x("path",()=>require("path"))},22734,(e,r,t)=>{r.exports=e.x("fs",()=>require("fs"))},7367,e=>{"use strict";var r=e.i(14747),t=e.i(22734);function s(){if(process.env.SLYCODE_HOME)return process.env.SLYCODE_HOME;let e=process.cwd();return(console.warn("[paths] SLYCODE_HOME not set in production — falling back to cwd:",e),e.endsWith("/web")||e.endsWith("\\web"))?r.default.dirname(e):e}function o(){let e=s(),o=r.default.join(e,"node_modules","@slycode","slycode","dist");return t.default.existsSync(o)?o:e}function a(){return process.env.BRIDGE_URL?process.env.BRIDGE_URL:"http://127.0.0.1:3004"}e.s(["getBridgeUrl",()=>a,"getPackageDir",()=>o,"getSlycodeRoot",()=>s])},54799,(e,r,t)=>{r.exports=e.x("crypto",()=>require("crypto"))},33405,(e,r,t)=>{r.exports=e.x("child_process",()=>require("child_process"))},7335,e=>{"use strict";var r=e.i(9212),t=e.i(60400);let s="AWS_ACCESS_KEY_ID",o="AWS_SECRET_ACCESS_KEY",a="AWS_SESSION_TOKEN",n="AWS_CREDENTIAL_EXPIRATION",i="AWS_CREDENTIAL_SCOPE",l="AWS_ACCOUNT_ID";e.s(["ENV_ACCOUNT_ID",0,l,"ENV_CREDENTIAL_SCOPE",0,i,"ENV_EXPIRATION",0,n,"ENV_KEY",0,s,"ENV_SECRET",0,o,"ENV_SESSION",0,a,"fromEnv",0,e=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let d=process.env[s],c=process.env[o],p=process.env[a],h=process.env[n],_=process.env[i],u=process.env[l];if(d&&c){let e={accessKeyId:d,secretAccessKey:c,...p&&{sessionToken:p},...h&&{expiration:new Date(h)},..._&&{credentialScope:_},...u&&{accountId:u}};return(0,r.setCredentialFeature)(e,"CREDENTIALS_ENV_VARS","g"),e}throw new t.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})}])},25465,e=>{"use strict";var r=e.i(34220),t=e.i(89073),s=e.i(14988),o=e.i(76022);class a extends o.HttpProtocol{async serializeRequest(e,s,o){let a,n=this.serializer,i={},l={},d=await o.endpoint(),c=r.NormalizedSchema.of(e?.input),p=c.getSchema(),h=new t.HttpRequest({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:i,headers:l,body:void 0});d&&(this.updateServiceEndpoint(h,d),this.setHostPrefix(h,e,s));let _={...s};if(s){let e=c.getEventStreamMember();if(e){if(_[e]){let r={};for(let[t,s]of c.structIterator())t!==e&&_[t]&&(n.write(s,_[t]),r[t]=n.flush());a=await this.serializeEventStream({eventStream:_[e],requestSchema:c,initialRequest:r})}}else n.write(p,_),a=n.flush()}return h.headers=Object.assign(h.headers,l),h.query=i,h.body=a,h.method="POST",h}async deserializeResponse(e,t,o){let a=this.deserializer,n=r.NormalizedSchema.of(e.output),i={};if(o.statusCode>=300){let r=await (0,s.collectBody)(o.body,t);throw r.byteLength>0&&Object.assign(i,await a.read(15,r)),await this.handleError(e,t,o,i,this.deserializeMetadata(o)),Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(let e in o.headers){let r=o.headers[e];delete o.headers[e],o.headers[e.toLowerCase()]=r}let l=n.getEventStreamMember();if(l)i[l]=await this.deserializeEventStream({response:o,responseSchema:n,initialResponseContainer:i});else{let e=await (0,s.collectBody)(o.body,t);e.byteLength>0&&Object.assign(i,await a.read(n,e))}return i.$metadata=this.deserializeMetadata(o),i}}e.s(["RpcProtocol",()=>a])},5389,e=>{e.v(r=>Promise.all(["server/chunks/[externals]_node:async_hooks_b485b2a4._.js"].map(r=>e.l(r))).then(()=>r(78500)))},14277,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__e4988941._.js"].map(r=>e.l(r))).then(()=>r(63152)))},93306,e=>{e.v(r=>Promise.all(["server/chunks/node_modules_f96dfac4._.js"].map(r=>e.l(r))).then(()=>r(38788)))},14115,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__4297cb97._.js"].map(r=>e.l(r))).then(()=>r(26709)))},9193,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__cf14e306._.js"].map(r=>e.l(r))).then(()=>r(1346)))},85365,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__0234f869._.js"].map(r=>e.l(r))).then(()=>r(33073)))},52170,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__f5dae2ad._.js"].map(r=>e.l(r))).then(()=>r(23492)))},91956,e=>{e.v(r=>Promise.all(["server/chunks/[externals]_node:http_c3a9e25f._.js"].map(r=>e.l(r))).then(()=>r(47299)))},36806,e=>{e.v(r=>Promise.all(["server/chunks/node_modules_@smithy_core_dist-es_submodules_event-streams_index_73e35402.js"].map(r=>e.l(r))).then(()=>r(30360)))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__d56e68cb._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[24868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},23897,32961,e=>{"use strict";var t=e.i(24868),r=e.i(54799),i=e.i(14747),n=e.i(65790);let o=e=>{let t=(0,r.createHash)("sha1").update(e).digest("hex");return(0,i.join)((0,n.getHomeDir)(),".aws","sso","cache",`${t}.json`)};e.s(["getSSOTokenFilepath",0,o],32961);let s={},l=async e=>{if(s[e])return s[e];let r=o(e);return JSON.parse(await (0,t.readFile)(r,"utf8"))};e.s(["getSSOTokenFromFile",0,l,"tokenIntercept",0,s],23897)},7729,e=>{"use strict";var t=e.i(23897),r=e.i(49487);e.s(["externalDataInterceptor",0,{getFileRecord:()=>r.fileIntercept,interceptFile(e,t){r.fileIntercept[e]=Promise.resolve(t)},getTokenRecord:()=>t.tokenIntercept,interceptToken(e,r){t.tokenIntercept[e]=r}}])},23492,e=>{"use strict";e.s([],25249),e.i(25249);var t=e.i(9212),r=e.i(60400),i=e.i(7729),n=e.i(2157);let o=t=>async r=>{t.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");let{roleArn:i,roleSessionName:n,webIdentityToken:o,providerId:s,policyArns:l,policy:a,durationSeconds:c}=t,{roleAssumerWithWebIdentity:d}=t;if(!d){let{getDefaultRoleAssumerWithWebIdentity:i}=await e.A(43109);d=i({...t.clientConfig,credentialProviderLogger:t.logger,parentClientConfig:{...r?.callerClientConfig,...t.parentClientConfig}},t.clientPlugins)}return d({RoleArn:i,RoleSessionName:n??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:o,ProviderId:s,PolicyArns:l,Policy:a,DurationSeconds:c})};e.s(["fromWebToken",0,o],93966);let s="AWS_WEB_IDENTITY_TOKEN_FILE",l=(e={})=>async l=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");let a=e?.webIdentityTokenFile??process.env[s],c=e?.roleArn??process.env.AWS_ROLE_ARN,d=e?.roleSessionName??process.env.AWS_ROLE_SESSION_NAME;if(!a||!c)throw new r.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger});let g=await o({...e,webIdentityToken:i.externalDataInterceptor?.getTokenRecord?.()[a]??(0,n.readFileSync)(a,{encoding:"ascii"}),roleArn:c,roleSessionName:d})(l);return a===process.env[s]&&(0,t.setCredentialFeature)(g,"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN","h"),g};e.s(["fromTokenFile",0,l],93875),e.i(93875),e.i(93966),e.s(["fromTokenFile",0,l,"fromWebToken",0,o],23492)},43109,e=>{e.v(t=>Promise.all(["server/chunks/node_modules_9fc3887b._.js","server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js"].map(t=>e.l(t))).then(()=>t(90222)))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__f5dae2ad._.js.map
|