@contrail/cli 3.4.4-alpha.1 → 3.4.4-alpha.7adb62a
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/README.md +1 -38
- package/node_modules/@contrail/entity-types/.github/pull_request_template.md +31 -0
- package/node_modules/@contrail/entity-types/.github/workflows/empty.yml +10 -0
- package/node_modules/@contrail/entity-types/.github/workflows/generate-entity-types-docs.yml +32 -0
- package/node_modules/@contrail/entity-types/.prettierrc.yaml +2 -0
- package/node_modules/@contrail/entity-types/README.md +13 -0
- package/node_modules/@contrail/entity-types/home-hero.svg +11 -0
- package/node_modules/@contrail/entity-types/lib/action-definition-config.d.ts +6 -0
- package/node_modules/@contrail/entity-types/lib/action-definition-config.js +2 -0
- package/node_modules/@contrail/entity-types/lib/app-access-grant.d.ts +15 -0
- package/node_modules/@contrail/entity-types/lib/app-access-grant.js +7 -0
- package/node_modules/@contrail/entity-types/lib/app-api-key.d.ts +15 -0
- package/node_modules/@contrail/entity-types/lib/app-api-key.js +2 -0
- package/node_modules/@contrail/entity-types/lib/app-code-package.d.ts +17 -0
- package/node_modules/@contrail/entity-types/lib/app-code-package.js +2 -0
- package/node_modules/@contrail/entity-types/lib/app-extension-definition.d.ts +53 -0
- package/node_modules/@contrail/entity-types/lib/app-extension-definition.js +18 -0
- package/node_modules/@contrail/entity-types/lib/app-extension.d.ts +24 -0
- package/node_modules/@contrail/entity-types/lib/app-extension.js +2 -0
- package/node_modules/@contrail/entity-types/lib/app-org.d.ts +20 -0
- package/node_modules/@contrail/entity-types/lib/app-org.js +11 -0
- package/node_modules/@contrail/entity-types/lib/app-version.d.ts +57 -0
- package/node_modules/@contrail/entity-types/lib/app-version.js +21 -0
- package/node_modules/@contrail/entity-types/lib/app.d.ts +25 -0
- package/node_modules/@contrail/entity-types/lib/app.js +2 -0
- package/node_modules/@contrail/entity-types/lib/asset.d.ts +16 -0
- package/node_modules/@contrail/entity-types/lib/asset.js +2 -0
- package/node_modules/@contrail/entity-types/lib/assortment-item.d.ts +27 -0
- package/node_modules/@contrail/entity-types/lib/assortment-item.js +2 -0
- package/node_modules/@contrail/entity-types/lib/assortment-publish-change.d.ts +48 -0
- package/node_modules/@contrail/entity-types/lib/assortment-publish-change.js +2 -0
- package/node_modules/@contrail/entity-types/lib/assortment-summary.d.ts +15 -0
- package/node_modules/@contrail/entity-types/lib/assortment-summary.js +2 -0
- package/node_modules/@contrail/entity-types/lib/assortment.d.ts +39 -0
- package/node_modules/@contrail/entity-types/lib/assortment.js +11 -0
- package/node_modules/@contrail/entity-types/lib/base-managed-entity.d.ts +8 -0
- package/node_modules/@contrail/entity-types/lib/base-managed-entity.js +2 -0
- package/node_modules/@contrail/entity-types/lib/batch-fetch-response.d.ts +11 -0
- package/node_modules/@contrail/entity-types/lib/batch-fetch-response.js +2 -0
- package/node_modules/@contrail/entity-types/lib/client.d.ts +107 -0
- package/node_modules/@contrail/entity-types/lib/client.js +114 -0
- package/node_modules/@contrail/entity-types/lib/color.d.ts +14 -0
- package/node_modules/@contrail/entity-types/lib/color.js +2 -0
- package/node_modules/@contrail/entity-types/lib/composite-plans-summary.d.ts +15 -0
- package/node_modules/@contrail/entity-types/lib/composite-plans-summary.js +2 -0
- package/node_modules/@contrail/entity-types/lib/content-custom-size.d.ts +14 -0
- package/node_modules/@contrail/entity-types/lib/content-custom-size.js +2 -0
- package/node_modules/@contrail/entity-types/lib/content.d.ts +25 -0
- package/node_modules/@contrail/entity-types/lib/content.js +2 -0
- package/node_modules/@contrail/entity-types/lib/contentholder-content.d.ts +5 -0
- package/node_modules/@contrail/entity-types/lib/contentholder-content.js +2 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-action-definition.d.ts +21 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-action-definition.js +2 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-process.d.ts +27 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-process.js +11 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-task.d.ts +30 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-task.js +2 -0
- package/node_modules/@contrail/entity-types/lib/file.d.ts +13 -0
- package/node_modules/@contrail/entity-types/lib/file.js +2 -0
- package/node_modules/@contrail/entity-types/lib/index.d.ts +40 -0
- package/node_modules/@contrail/entity-types/lib/index.js +56 -0
- package/node_modules/@contrail/entity-types/lib/item.d.ts +20 -0
- package/node_modules/@contrail/entity-types/lib/item.js +2 -0
- package/node_modules/@contrail/entity-types/lib/loader.d.ts +234 -0
- package/node_modules/@contrail/entity-types/lib/loader.js +134 -0
- package/node_modules/@contrail/entity-types/lib/log-level.d.ts +8 -0
- package/node_modules/@contrail/entity-types/lib/log-level.js +12 -0
- package/node_modules/@contrail/entity-types/lib/org-managed-entity.d.ts +5 -0
- package/node_modules/@contrail/entity-types/lib/org-managed-entity.js +2 -0
- package/node_modules/@contrail/entity-types/lib/org.d.ts +11 -0
- package/node_modules/@contrail/entity-types/lib/org.js +2 -0
- package/node_modules/@contrail/entity-types/lib/project-configuration.d.ts +39 -0
- package/node_modules/@contrail/entity-types/lib/project-configuration.js +9 -0
- package/node_modules/@contrail/entity-types/lib/project-item.d.ts +9 -0
- package/node_modules/@contrail/entity-types/lib/project-item.js +2 -0
- package/node_modules/@contrail/entity-types/lib/project.d.ts +4 -0
- package/node_modules/@contrail/entity-types/lib/project.js +2 -0
- package/node_modules/@contrail/entity-types/lib/property-type.d.ts +32 -0
- package/node_modules/@contrail/entity-types/lib/property-type.js +31 -0
- package/node_modules/@contrail/entity-types/lib/shared-links.d.ts +46 -0
- package/node_modules/@contrail/entity-types/lib/shared-links.js +11 -0
- package/node_modules/@contrail/entity-types/lib/subscription.d.ts +38 -0
- package/node_modules/@contrail/entity-types/lib/subscription.js +22 -0
- package/node_modules/@contrail/entity-types/lib/type-managed-entity.d.ts +8 -0
- package/node_modules/@contrail/entity-types/lib/type-managed-entity.js +2 -0
- package/node_modules/@contrail/entity-types/lib/user.d.ts +79 -0
- package/node_modules/@contrail/entity-types/lib/user.js +20 -0
- package/node_modules/@contrail/entity-types/lib/workspace-managed-entity.d.ts +5 -0
- package/node_modules/@contrail/entity-types/lib/workspace-managed-entity.js +2 -0
- package/node_modules/@contrail/entity-types/lib/workspace-principal.d.ts +24 -0
- package/node_modules/@contrail/entity-types/lib/workspace-principal.js +9 -0
- package/node_modules/@contrail/entity-types/lib/workspace.d.ts +32 -0
- package/node_modules/@contrail/entity-types/lib/workspace.js +9 -0
- package/node_modules/@contrail/entity-types/package.json +56 -0
- package/node_modules/@contrail/org-config-migration/.husky/pre-commit +10 -0
- package/node_modules/@contrail/org-config-migration/.lintstagedrc-check.json +3 -0
- package/node_modules/@contrail/org-config-migration/.lintstagedrc-format.json +3 -0
- package/node_modules/@contrail/org-config-migration/.prettierrc.yaml +2 -0
- package/node_modules/@contrail/org-config-migration/lib/index.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/index.js +19 -0
- package/node_modules/@contrail/org-config-migration/lib/interfaces.d.ts +97 -0
- package/node_modules/@contrail/org-config-migration/lib/interfaces.js +2 -0
- package/node_modules/@contrail/org-config-migration/lib/services/index.d.ts +1 -0
- package/node_modules/@contrail/org-config-migration/lib/services/index.js +17 -0
- package/node_modules/@contrail/org-config-migration/lib/services/types.d.ts +17 -0
- package/node_modules/@contrail/org-config-migration/lib/services/types.js +155 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportAll.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportAll.js +40 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSet.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSet.js +20 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSetHierarchies.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSetHierarchies.js +47 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOverrides.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOverrides.js +8 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportRuleSets.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportRuleSets.js +39 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypePolicies.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypePolicies.js +56 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypePropertyPolicies.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypePropertyPolicies.js +71 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypes.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypes.js +85 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportUsageInfo.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportUsageInfo.js +39 -0
- package/node_modules/@contrail/org-config-migration/lib/types/importAll.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/importAll.js +451 -0
- package/node_modules/@contrail/org-config-migration/lib/types/index.d.ts +9 -0
- package/node_modules/@contrail/org-config-migration/lib/types/index.js +25 -0
- package/node_modules/@contrail/org-config-migration/lib/types/parseOptionSetHierarchy.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/parseOptionSetHierarchy.js +210 -0
- package/node_modules/@contrail/org-config-migration/lib/users/export.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/users/export.js +40 -0
- package/node_modules/@contrail/org-config-migration/lib/users/import.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/users/import.js +41 -0
- package/node_modules/@contrail/org-config-migration/lib/users/index.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/users/index.js +18 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/CHANGELOG.md +361 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/LICENSE +22 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/Readme.md +791 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/index.js +1881 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/package.json +51 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/typings/index.d.ts +410 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.eslintrc +10 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.gitattributes +3 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.prettierrc.js +3 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/LICENSE.md +14 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/README.md +15 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/json2csv.js +192 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/utils/TablePrinter.js +117 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/utils/parseNdjson.js +11 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/docs/cli-examples.md +73 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/docs/parser-examples.md +488 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVAsyncParser.js +35 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVBase.js +175 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVParser.js +72 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVStreamParser.js +150 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVTransform.js +74 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/default.js +7 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/number.js +26 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/object.js +17 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/string.js +18 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/stringExcel.js +8 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/stringQuoteOnlyIfNecessary.js +21 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/symbol.js +7 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/json2csv.js +43 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/transforms/flatten.js +37 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/transforms/unwind.js +60 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/utils.js +86 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/package.json +73 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/rollup.config.js +44 -0
- package/node_modules/@contrail/org-config-migration/package.json +50 -0
- package/node_modules/@contrail/policies/README.md +0 -0
- package/node_modules/@contrail/policies/lib/index.d.ts +1 -0
- package/node_modules/@contrail/policies/lib/index.js +17 -0
- package/node_modules/@contrail/policies/lib/policies/index.d.ts +1 -0
- package/node_modules/@contrail/policies/lib/policies/index.js +17 -0
- package/node_modules/@contrail/policies/lib/policies/policies.d.ts +41 -0
- package/node_modules/@contrail/policies/lib/policies/policies.js +132 -0
- package/node_modules/@contrail/policies/package.json +40 -0
- package/node_modules/@contrail/sdk/.github/pull_request_template.md +31 -0
- package/node_modules/@contrail/sdk/.github/workflows/check-code-formatting.yml +34 -0
- package/node_modules/@contrail/sdk/.github/workflows/empty.yml +10 -0
- package/node_modules/@contrail/sdk/.github/workflows/generate-sdk-docs.yml +32 -0
- package/node_modules/@contrail/sdk/.github/workflows/sdk-lib.yml +27 -0
- package/node_modules/@contrail/sdk/.prettierrc.yaml +2 -0
- package/node_modules/@contrail/sdk/README.md +72 -0
- package/node_modules/@contrail/sdk/home-hero.svg +11 -0
- package/node_modules/@contrail/sdk/lib/assets/assets.d.ts +9 -0
- package/node_modules/@contrail/sdk/lib/assets/assets.js +54 -0
- package/node_modules/@contrail/sdk/lib/assets/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/assets/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/auth/auth.d.ts +10 -0
- package/node_modules/@contrail/sdk/lib/auth/auth.js +6 -0
- package/node_modules/@contrail/sdk/lib/auth/index.d.ts +2 -0
- package/node_modules/@contrail/sdk/lib/auth/index.js +18 -0
- package/node_modules/@contrail/sdk/lib/auth/login.d.ts +10 -0
- package/node_modules/@contrail/sdk/lib/auth/login.js +170 -0
- package/node_modules/@contrail/sdk/lib/config/config.d.ts +45 -0
- package/node_modules/@contrail/sdk/lib/config/config.js +36 -0
- package/node_modules/@contrail/sdk/lib/config/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/config/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/content/content.d.ts +12 -0
- package/node_modules/@contrail/sdk/lib/content/content.js +70 -0
- package/node_modules/@contrail/sdk/lib/content/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/content/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/core/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/core/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/core/request.d.ts +12 -0
- package/node_modules/@contrail/sdk/lib/core/request.js +145 -0
- package/node_modules/@contrail/sdk/lib/entities/entities.client.d.ts +101 -0
- package/node_modules/@contrail/sdk/lib/entities/entities.client.js +306 -0
- package/node_modules/@contrail/sdk/lib/entities/entity-reference-expander.d.ts +9 -0
- package/node_modules/@contrail/sdk/lib/entities/entity-reference-expander.js +86 -0
- package/node_modules/@contrail/sdk/lib/entities/entity-reference.d.ts +6 -0
- package/node_modules/@contrail/sdk/lib/entities/entity-reference.js +19 -0
- package/node_modules/@contrail/sdk/lib/entities/entity.resource.registry.d.ts +5 -0
- package/node_modules/@contrail/sdk/lib/entities/entity.resource.registry.js +57 -0
- package/node_modules/@contrail/sdk/lib/entities/index.d.ts +3 -0
- package/node_modules/@contrail/sdk/lib/entities/index.js +19 -0
- package/node_modules/@contrail/sdk/lib/files/file-type-helper.d.ts +3 -0
- package/node_modules/@contrail/sdk/lib/files/file-type-helper.js +24 -0
- package/node_modules/@contrail/sdk/lib/files/files.d.ts +9 -0
- package/node_modules/@contrail/sdk/lib/files/files.js +110 -0
- package/node_modules/@contrail/sdk/lib/files/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/files/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/index.d.ts +10 -0
- package/node_modules/@contrail/sdk/lib/index.js +26 -0
- package/node_modules/@contrail/sdk/lib/notifications/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/notifications/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/notifications/notifications-dispatcher.d.ts +16 -0
- package/node_modules/@contrail/sdk/lib/notifications/notifications-dispatcher.js +37 -0
- package/node_modules/@contrail/sdk/lib/policies/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/policies/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/policies/policies-cache.d.ts +12 -0
- package/node_modules/@contrail/sdk/lib/policies/policies-cache.js +55 -0
- package/node_modules/@contrail/sdk/lib/policies/policies.client.d.ts +9 -0
- package/node_modules/@contrail/sdk/lib/policies/policies.client.js +74 -0
- package/node_modules/@contrail/sdk/lib/types/index.d.ts +2 -0
- package/node_modules/@contrail/sdk/lib/types/index.js +18 -0
- package/node_modules/@contrail/sdk/lib/types/sub-types-helper.d.ts +18 -0
- package/node_modules/@contrail/sdk/lib/types/sub-types-helper.js +98 -0
- package/node_modules/@contrail/sdk/lib/types/types-cache.d.ts +19 -0
- package/node_modules/@contrail/sdk/lib/types/types-cache.js +73 -0
- package/node_modules/@contrail/sdk/lib/types/types.client.d.ts +42 -0
- package/node_modules/@contrail/sdk/lib/types/types.client.js +217 -0
- package/node_modules/@contrail/sdk/package.json +61 -0
- package/node_modules/@contrail/types/README.md +1 -0
- package/node_modules/@contrail/types/lib/copy/copy-helper.d.ts +16 -0
- package/node_modules/@contrail/types/lib/copy/copy-helper.js +103 -0
- package/node_modules/@contrail/types/lib/copy/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/copy/index.js +17 -0
- package/node_modules/@contrail/types/lib/formatter/formatDate.d.ts +3 -0
- package/node_modules/@contrail/types/lib/formatter/formatDate.js +77 -0
- package/node_modules/@contrail/types/lib/formatter/formatDateCache.d.ts +6 -0
- package/node_modules/@contrail/types/lib/formatter/formatDateCache.js +19 -0
- package/node_modules/@contrail/types/lib/formatter/formatNumber.d.ts +3 -0
- package/node_modules/@contrail/types/lib/formatter/formatNumber.js +40 -0
- package/node_modules/@contrail/types/lib/formatter/formatNumberCache.d.ts +6 -0
- package/node_modules/@contrail/types/lib/formatter/formatNumberCache.js +19 -0
- package/node_modules/@contrail/types/lib/formatter/formatSizeRange.d.ts +1 -0
- package/node_modules/@contrail/types/lib/formatter/formatSizeRange.js +25 -0
- package/node_modules/@contrail/types/lib/formatter/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/formatter/index.js +17 -0
- package/node_modules/@contrail/types/lib/formatter/property-value-formatter.d.ts +37 -0
- package/node_modules/@contrail/types/lib/formatter/property-value-formatter.js +332 -0
- package/node_modules/@contrail/types/lib/index.d.ts +11 -0
- package/node_modules/@contrail/types/lib/index.js +27 -0
- package/node_modules/@contrail/types/lib/mocks/type-mocks.d.ts +3 -0
- package/node_modules/@contrail/types/lib/mocks/type-mocks.js +5466 -0
- package/node_modules/@contrail/types/lib/relations/relation.d.ts +6 -0
- package/node_modules/@contrail/types/lib/relations/relation.js +2 -0
- package/node_modules/@contrail/types/lib/type-interfaces/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-interfaces/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-interfaces/type-interface.d.ts +4 -0
- package/node_modules/@contrail/types/lib/type-interfaces/type-interface.js +2 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/index.d.ts +2 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/index.js +18 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy-helper.d.ts +10 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy-helper.js +37 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy.d.ts +20 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy.js +2 -0
- package/node_modules/@contrail/types/lib/type-policies/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-policies/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-policies/type-policy.d.ts +9 -0
- package/node_modules/@contrail/types/lib/type-policies/type-policy.js +2 -0
- package/node_modules/@contrail/types/lib/type-properties/index.d.ts +3 -0
- package/node_modules/@contrail/types/lib/type-properties/index.js +19 -0
- package/node_modules/@contrail/types/lib/type-properties/property-types.d.ts +35 -0
- package/node_modules/@contrail/types/lib/type-properties/property-types.js +66 -0
- package/node_modules/@contrail/types/lib/type-properties/size-range/size-range.d.ts +12 -0
- package/node_modules/@contrail/types/lib/type-properties/size-range/size-range.js +2 -0
- package/node_modules/@contrail/types/lib/type-properties/type-property.d.ts +103 -0
- package/node_modules/@contrail/types/lib/type-properties/type-property.js +39 -0
- package/node_modules/@contrail/types/lib/type-property-policies/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-property-policies/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-property-policies/type-property-policy.d.ts +9 -0
- package/node_modules/@contrail/types/lib/type-property-policies/type-property-policy.js +2 -0
- package/node_modules/@contrail/types/lib/type-roots/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-roots/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-roots/type-root.d.ts +7 -0
- package/node_modules/@contrail/types/lib/type-roots/type-root.js +2 -0
- package/node_modules/@contrail/types/lib/type-rule-sets/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-rule-sets/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-rule-sets/type-rules.d.ts +18 -0
- package/node_modules/@contrail/types/lib/type-rule-sets/type-rules.js +2 -0
- package/node_modules/@contrail/types/lib/types/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/types/index.js +17 -0
- package/node_modules/@contrail/types/lib/types/type.d.ts +28 -0
- package/node_modules/@contrail/types/lib/types/type.js +2 -0
- package/node_modules/@contrail/types/lib/types-processor/index.d.ts +3 -0
- package/node_modules/@contrail/types/lib/types-processor/index.js +19 -0
- package/node_modules/@contrail/types/lib/types-processor/interfaces.d.ts +32 -0
- package/node_modules/@contrail/types/lib/types-processor/interfaces.js +2 -0
- package/node_modules/@contrail/types/lib/types-processor/parse-optionSet.d.ts +3 -0
- package/node_modules/@contrail/types/lib/types-processor/parse-optionSet.js +57 -0
- package/node_modules/@contrail/types/lib/types-processor/process-orchestrator.d.ts +13 -0
- package/node_modules/@contrail/types/lib/types-processor/process-orchestrator.js +300 -0
- package/node_modules/@contrail/types/lib/types-processor/type-creation-helper.d.ts +10 -0
- package/node_modules/@contrail/types/lib/types-processor/type-creation-helper.js +147 -0
- package/node_modules/@contrail/types/package.json +46 -0
- package/node_modules/@contrail/util/CHANGELOG.md +17 -0
- package/node_modules/@contrail/util/README.md +1 -0
- package/node_modules/@contrail/util/lib/app-util/app-util.d.ts +25 -0
- package/node_modules/@contrail/util/lib/app-util/app-util.js +72 -0
- package/node_modules/@contrail/util/lib/compression-util/compression.d.ts +2 -0
- package/node_modules/@contrail/util/lib/compression-util/compression.js +25 -0
- package/node_modules/@contrail/util/lib/compression-util/index.d.ts +1 -0
- package/node_modules/@contrail/util/lib/compression-util/index.js +17 -0
- package/node_modules/@contrail/util/lib/date-util/date-util.d.ts +4 -0
- package/node_modules/@contrail/util/lib/date-util/date-util.js +8 -0
- package/node_modules/@contrail/util/lib/date-util/getIsoDatePart/getIsoDatePart.d.ts +1 -0
- package/node_modules/@contrail/util/lib/date-util/getIsoDatePart/getIsoDatePart.js +16 -0
- package/node_modules/@contrail/util/lib/index.d.ts +11 -0
- package/node_modules/@contrail/util/lib/index.js +27 -0
- package/node_modules/@contrail/util/lib/map-util/map-util.d.ts +3 -0
- package/node_modules/@contrail/util/lib/map-util/map-util.js +18 -0
- package/node_modules/@contrail/util/lib/object-util/applyChangesIfEqual/applyChangesIfEqual.d.ts +4 -0
- package/node_modules/@contrail/util/lib/object-util/applyChangesIfEqual/applyChangesIfEqual.js +83 -0
- package/node_modules/@contrail/util/lib/object-util/cloneDeep/cloneDeep.d.ts +9 -0
- package/node_modules/@contrail/util/lib/object-util/cloneDeep/cloneDeep.js +8 -0
- package/node_modules/@contrail/util/lib/object-util/cloneDeepPreserveDates/cloneDeepPreserveDates.d.ts +6 -0
- package/node_modules/@contrail/util/lib/object-util/cloneDeepPreserveDates/cloneDeepPreserveDates.js +37 -0
- package/node_modules/@contrail/util/lib/object-util/compareDeep/compareDeep.d.ts +7 -0
- package/node_modules/@contrail/util/lib/object-util/compareDeep/compareDeep.js +96 -0
- package/node_modules/@contrail/util/lib/object-util/compareDeep/mockData.d.ts +88 -0
- package/node_modules/@contrail/util/lib/object-util/compareDeep/mockData.js +91 -0
- package/node_modules/@contrail/util/lib/object-util/flattenObject/flattenObject.d.ts +4 -0
- package/node_modules/@contrail/util/lib/object-util/flattenObject/flattenObject.js +60 -0
- package/node_modules/@contrail/util/lib/object-util/isObject/isObject.d.ts +1 -0
- package/node_modules/@contrail/util/lib/object-util/isObject/isObject.js +6 -0
- package/node_modules/@contrail/util/lib/object-util/mergeDeep/mergeDeep.d.ts +1 -0
- package/node_modules/@contrail/util/lib/object-util/mergeDeep/mergeDeep.js +25 -0
- package/node_modules/@contrail/util/lib/object-util/object-util.d.ts +26 -0
- package/node_modules/@contrail/util/lib/object-util/object-util.js +91 -0
- package/node_modules/@contrail/util/lib/object-util/retainOnlyProperties/retainOnlyProperties.d.ts +8 -0
- package/node_modules/@contrail/util/lib/object-util/retainOnlyProperties/retainOnlyProperties.js +30 -0
- package/node_modules/@contrail/util/lib/order-util/order-util.d.ts +3 -0
- package/node_modules/@contrail/util/lib/order-util/order-util.js +13 -0
- package/node_modules/@contrail/util/lib/performance-util/example-usage.d.ts +1 -0
- package/node_modules/@contrail/util/lib/performance-util/example-usage.js +298 -0
- package/node_modules/@contrail/util/lib/performance-util/performance-util.d.ts +35 -0
- package/node_modules/@contrail/util/lib/performance-util/performance-util.js +257 -0
- package/node_modules/@contrail/util/lib/promise-util/promise-util.d.ts +4 -0
- package/node_modules/@contrail/util/lib/promise-util/promise-util.js +34 -0
- package/node_modules/@contrail/util/lib/retry-util/retry-util.d.ts +6 -0
- package/node_modules/@contrail/util/lib/retry-util/retry-util.js +41 -0
- package/node_modules/@contrail/util/lib/string-util/string-util.d.ts +10 -0
- package/node_modules/@contrail/util/lib/string-util/string-util.js +85 -0
- package/node_modules/@contrail/util/lib/timer-util/timer-util.d.ts +32 -0
- package/node_modules/@contrail/util/lib/timer-util/timer-util.js +119 -0
- package/node_modules/@contrail/util/package.json +46 -0
- package/node_modules/@streamparser/json/.eslintrc.js +16 -0
- package/node_modules/@streamparser/json/.github/workflows/on-push.yaml +33 -0
- package/node_modules/@streamparser/json/.github/workflows/on-release.yaml +19 -0
- package/node_modules/@streamparser/json/LICENSE +21 -0
- package/node_modules/@streamparser/json/README.md +329 -0
- package/node_modules/@streamparser/json/build.deno.js +57 -0
- package/node_modules/@streamparser/json/build.mjs.js +35 -0
- package/node_modules/@streamparser/json/dist/cjs/index.d.ts +5 -0
- package/node_modules/@streamparser/json/dist/cjs/index.js +12 -0
- package/node_modules/@streamparser/json/dist/cjs/jsonparser.d.ts +18 -0
- package/node_modules/@streamparser/json/dist/cjs/jsonparser.js +46 -0
- package/node_modules/@streamparser/json/dist/cjs/tokenizer.d.ts +45 -0
- package/node_modules/@streamparser/json/dist/cjs/tokenizer.js +517 -0
- package/node_modules/@streamparser/json/dist/cjs/tokenparser.d.ts +55 -0
- package/node_modules/@streamparser/json/dist/cjs/tokenparser.js +269 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/bufferedString.d.ts +29 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/bufferedString.js +63 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/constants.d.ts +14 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/constants.js +18 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/types.d.ts +7 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/types.js +2 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/utf-8.d.ts +105 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/utf-8.js +116 -0
- package/node_modules/@streamparser/json/dist/deno/README.md +329 -0
- package/node_modules/@streamparser/json/dist/deno/index.ts +5 -0
- package/node_modules/@streamparser/json/dist/deno/jsonparser.ts +65 -0
- package/node_modules/@streamparser/json/dist/deno/tokenizer.ts +678 -0
- package/node_modules/@streamparser/json/dist/deno/tokenparser.ts +390 -0
- package/node_modules/@streamparser/json/dist/deno/utils/bufferedString.ts +75 -0
- package/node_modules/@streamparser/json/dist/deno/utils/constants.ts +14 -0
- package/node_modules/@streamparser/json/dist/deno/utils/types.ts +5 -0
- package/node_modules/@streamparser/json/dist/deno/utils/utf-8.ts +113 -0
- package/node_modules/@streamparser/json/dist/mjs/index.d.ts +5 -0
- package/node_modules/@streamparser/json/dist/mjs/jsonparser.d.ts +18 -0
- package/node_modules/@streamparser/json/dist/mjs/tokenizer.d.ts +45 -0
- package/node_modules/@streamparser/json/dist/mjs/tokenparser.d.ts +55 -0
- package/node_modules/@streamparser/json/dist/mjs/utils/bufferedString.d.ts +29 -0
- package/node_modules/@streamparser/json/dist/mjs/utils/constants.d.ts +14 -0
- package/node_modules/@streamparser/json/dist/mjs/utils/types.d.ts +7 -0
- package/node_modules/@streamparser/json/dist/mjs/utils/utf-8.d.ts +105 -0
- package/node_modules/@streamparser/json/dist/umd/index.d.ts +5 -0
- package/node_modules/@streamparser/json/dist/umd/index.js +1111 -0
- package/node_modules/@streamparser/json/dist/umd/jsonparser.d.ts +18 -0
- package/node_modules/@streamparser/json/dist/umd/tokenizer.d.ts +45 -0
- package/node_modules/@streamparser/json/dist/umd/tokenparser.d.ts +55 -0
- package/node_modules/@streamparser/json/dist/umd/utils/bufferedString.d.ts +29 -0
- package/node_modules/@streamparser/json/dist/umd/utils/constants.d.ts +14 -0
- package/node_modules/@streamparser/json/dist/umd/utils/types.d.ts +7 -0
- package/node_modules/@streamparser/json/dist/umd/utils/utf-8.d.ts +105 -0
- package/node_modules/@streamparser/json/package.json +45 -0
- package/node_modules/@streamparser/json/performance/index.deno.ts +61 -0
- package/node_modules/@streamparser/json/performance/index.node.mjs +62 -0
- package/node_modules/@streamparser/json/performance/package-lock.json +32 -0
- package/node_modules/@streamparser/json/performance/package.json +17 -0
- package/node_modules/@streamparser/json/rollup.config.js +22 -0
- package/node_modules/@streamparser/json/samplejson/basic-no-numbers.json +353 -0
- package/node_modules/@streamparser/json/samplejson/basic.json +353 -0
- package/node_modules/@streamparser/json/src/index.ts +5 -0
- package/node_modules/@streamparser/json/src/jsonparser.ts +65 -0
- package/node_modules/@streamparser/json/src/tokenizer.ts +678 -0
- package/node_modules/@streamparser/json/src/tokenparser.ts +390 -0
- package/node_modules/@streamparser/json/src/utils/bufferedString.ts +75 -0
- package/node_modules/@streamparser/json/src/utils/constants.ts +14 -0
- package/node_modules/@streamparser/json/src/utils/types.ts +5 -0
- package/node_modules/@streamparser/json/src/utils/utf-8.ts +113 -0
- package/node_modules/@streamparser/json/test/callbacks.ts +89 -0
- package/node_modules/@streamparser/json/test/end.ts +127 -0
- package/node_modules/@streamparser/json/test/inputs.ts +89 -0
- package/node_modules/@streamparser/json/test/keepStack.ts +45 -0
- package/node_modules/@streamparser/json/test/offset.ts +89 -0
- package/node_modules/@streamparser/json/test/performance.ts +151 -0
- package/node_modules/@streamparser/json/test/selectors.ts +87 -0
- package/node_modules/@streamparser/json/test/separator.ts +106 -0
- package/node_modules/@streamparser/json/test/types/arrays.ts +108 -0
- package/node_modules/@streamparser/json/test/types/booleans.ts +75 -0
- package/node_modules/@streamparser/json/test/types/null.ts +67 -0
- package/node_modules/@streamparser/json/test/types/numbers.ts +117 -0
- package/node_modules/@streamparser/json/test/types/objects.ts +134 -0
- package/node_modules/@streamparser/json/test/types/strings.ts +233 -0
- package/node_modules/@streamparser/json/tsconfig.json +18 -0
- package/node_modules/amazon-cognito-identity-js/.eslintignore +1 -0
- package/node_modules/amazon-cognito-identity-js/.eslintrc.yaml +30 -0
- package/node_modules/amazon-cognito-identity-js/CHANGELOG.md +1756 -0
- package/node_modules/amazon-cognito-identity-js/LICENSE.txt +73 -0
- package/node_modules/amazon-cognito-identity-js/NOTICE.txt +63 -0
- package/node_modules/amazon-cognito-identity-js/README.md +1121 -0
- package/node_modules/amazon-cognito-identity-js/RNAWSCognito.podspec +23 -0
- package/node_modules/amazon-cognito-identity-js/__mocks__/mocks.js +73 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/AuthenticationDetails.test.js +32 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/AuthenticationHelper.test.js +893 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/BigInteger.test.js +17 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/Client.test.js +108 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoAccessToken.test.js +16 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoIdToken.test.js +8 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoJwtToken.test.js +40 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoRefreshToken.test.js +13 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUser.test.js +1660 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserAttribute.test.js +57 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserPool.test.js +92 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserSession.test.js +78 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CookieStorage.test.js +72 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/DateHelper.test.js +12 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/StorageHelper.test.js +65 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/StorageHelperRN.test.js +120 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/UserAgent.test.js +42 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/UserAgentDefault.test.js +9 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/constants.js +122 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/cryptoSecureRandomInt.test.js +59 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/index.test.js +23 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/util.js +24 -0
- package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/fileChanges/last-build.bin +0 -0
- package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/fileHashes/fileHashes.lock +0 -0
- package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/gc.properties +0 -0
- package/node_modules/amazon-cognito-identity-js/android/.gradle/vcs-1/gc.properties +0 -0
- package/node_modules/amazon-cognito-identity-js/android/.project +17 -0
- package/node_modules/amazon-cognito-identity-js/android/.settings/org.eclipse.buildship.core.prefs +13 -0
- package/node_modules/amazon-cognito-identity-js/android/build.gradle +38 -0
- package/node_modules/amazon-cognito-identity-js/android/src/main/AndroidManifest.xml +4 -0
- package/node_modules/amazon-cognito-identity-js/android/src/main/java/com/amazonaws/RNAWSCognitoModule.java +88 -0
- package/node_modules/amazon-cognito-identity-js/android/src/main/java/com/amazonaws/RNAWSCognitoPackage.java +27 -0
- package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.js +8036 -0
- package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js +40 -0
- package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz +0 -0
- package/node_modules/amazon-cognito-identity-js/enhance-rn.js +50 -0
- package/node_modules/amazon-cognito-identity-js/es/AuthenticationDetails.js +66 -0
- package/node_modules/amazon-cognito-identity-js/es/AuthenticationHelper.js +343 -0
- package/node_modules/amazon-cognito-identity-js/es/BigInteger.js +758 -0
- package/node_modules/amazon-cognito-identity-js/es/Client.js +215 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoAccessToken.js +24 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoIdToken.js +24 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoJwtToken.js +55 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoRefreshToken.js +27 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoUser.js +1807 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoUserAttribute.js +73 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoUserPool.js +174 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoUserSession.js +79 -0
- package/node_modules/amazon-cognito-identity-js/es/CookieStorage.js +112 -0
- package/node_modules/amazon-cognito-identity-js/es/DateHelper.js +41 -0
- package/node_modules/amazon-cognito-identity-js/es/Platform/index.js +34 -0
- package/node_modules/amazon-cognito-identity-js/es/Platform/version.js +2 -0
- package/node_modules/amazon-cognito-identity-js/es/StorageHelper-rn.js +102 -0
- package/node_modules/amazon-cognito-identity-js/es/StorageHelper.js +78 -0
- package/node_modules/amazon-cognito-identity-js/es/UserAgent.js +19 -0
- package/node_modules/amazon-cognito-identity-js/es/index.js +18 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/WordArray.js +46 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.js +46 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.native.js +9 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.web.js +34 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/getRandomBase64.native.js +5 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/getRandomValues.native.js +58 -0
- package/node_modules/amazon-cognito-identity-js/index.d.ts +426 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigDecimal.h +40 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigDecimal.m +224 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigInteger.h +58 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigInteger.m +419 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LICENSE.txt +18 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath.c +6925 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath.h +584 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath_class.h +999 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath_superclass.h +76 -0
- package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.h +9 -0
- package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.m +59 -0
- package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.xcodeproj/project.pbxproj +295 -0
- package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/node_modules/amazon-cognito-identity-js/jest.config.js +41 -0
- package/node_modules/amazon-cognito-identity-js/lib/AuthenticationDetails.js +70 -0
- package/node_modules/amazon-cognito-identity-js/lib/AuthenticationHelper.js +348 -0
- package/node_modules/amazon-cognito-identity-js/lib/BigInteger.js +760 -0
- package/node_modules/amazon-cognito-identity-js/lib/Client.js +220 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoAccessToken.js +23 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoIdToken.js +23 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoJwtToken.js +57 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoRefreshToken.js +31 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoUser.js +1813 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoUserAttribute.js +77 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoUserPool.js +179 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoUserSession.js +83 -0
- package/node_modules/amazon-cognito-identity-js/lib/CookieStorage.js +117 -0
- package/node_modules/amazon-cognito-identity-js/lib/DateHelper.js +45 -0
- package/node_modules/amazon-cognito-identity-js/lib/Platform/index.js +42 -0
- package/node_modules/amazon-cognito-identity-js/lib/Platform/version.js +7 -0
- package/node_modules/amazon-cognito-identity-js/lib/StorageHelper-rn.js +107 -0
- package/node_modules/amazon-cognito-identity-js/lib/StorageHelper.js +82 -0
- package/node_modules/amazon-cognito-identity-js/lib/UserAgent.js +25 -0
- package/node_modules/amazon-cognito-identity-js/lib/index.js +31 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/WordArray.js +50 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.js +50 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.native.js +13 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.web.js +38 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/getRandomBase64.native.js +10 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/getRandomValues.native.js +63 -0
- package/node_modules/amazon-cognito-identity-js/package.json +94 -0
- package/node_modules/amazon-cognito-identity-js/src/AuthenticationDetails.js +65 -0
- package/node_modules/amazon-cognito-identity-js/src/AuthenticationHelper.js +416 -0
- package/node_modules/amazon-cognito-identity-js/src/BigInteger.js +809 -0
- package/node_modules/amazon-cognito-identity-js/src/Client.js +224 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoAccessToken.js +17 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoIdToken.js +17 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoJwtToken.js +52 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoRefreshToken.js +23 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoUser.js +2205 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoUserAttribute.js +68 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoUserPool.js +194 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoUserSession.js +82 -0
- package/node_modules/amazon-cognito-identity-js/src/CookieStorage.js +117 -0
- package/node_modules/amazon-cognito-identity-js/src/DateHelper.js +56 -0
- package/node_modules/amazon-cognito-identity-js/src/Platform/index.js +38 -0
- package/node_modules/amazon-cognito-identity-js/src/Platform/version.js +2 -0
- package/node_modules/amazon-cognito-identity-js/src/StorageHelper-rn.js +99 -0
- package/node_modules/amazon-cognito-identity-js/src/StorageHelper.js +75 -0
- package/node_modules/amazon-cognito-identity-js/src/UserAgent.js +26 -0
- package/node_modules/amazon-cognito-identity-js/src/index.js +18 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/WordArray.js +50 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.js +49 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.native.js +9 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.web.js +37 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/getRandomBase64.native.js +12 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/getRandomValues.native.js +61 -0
- package/node_modules/amazon-cognito-identity-js/webpack.config.js +58 -0
- package/node_modules/asynckit/LICENSE +21 -0
- package/node_modules/asynckit/README.md +233 -0
- package/node_modules/asynckit/bench.js +76 -0
- package/node_modules/asynckit/index.js +6 -0
- package/node_modules/asynckit/lib/abort.js +29 -0
- package/node_modules/asynckit/lib/async.js +34 -0
- package/node_modules/asynckit/lib/defer.js +26 -0
- package/node_modules/asynckit/lib/iterate.js +75 -0
- package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules/asynckit/lib/state.js +37 -0
- package/node_modules/asynckit/lib/streamify.js +141 -0
- package/node_modules/asynckit/lib/terminator.js +29 -0
- package/node_modules/asynckit/package.json +63 -0
- package/node_modules/asynckit/parallel.js +43 -0
- package/node_modules/asynckit/serial.js +17 -0
- package/node_modules/asynckit/serialOrdered.js +75 -0
- package/node_modules/asynckit/stream.js +21 -0
- package/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/buffer/.travis.yml +8 -0
- package/node_modules/buffer/AUTHORS.md +44 -0
- package/node_modules/buffer/LICENSE +21 -0
- package/node_modules/buffer/README.md +378 -0
- package/node_modules/buffer/bin/download-node-tests.js +106 -0
- package/node_modules/buffer/bin/test.js +41 -0
- package/node_modules/buffer/bin/update-authors.sh +21 -0
- package/node_modules/buffer/bin/zuul-es5.yml +14 -0
- package/node_modules/buffer/bin/zuul-es6.yml +6 -0
- package/node_modules/buffer/index.js +1789 -0
- package/node_modules/buffer/package.json +77 -0
- package/node_modules/buffer/test/_polyfill.js +150 -0
- package/node_modules/buffer/test/base64.js +47 -0
- package/node_modules/buffer/test/basic.js +85 -0
- package/node_modules/buffer/test/compare.js +59 -0
- package/node_modules/buffer/test/constructor.js +193 -0
- package/node_modules/buffer/test/from-string.js +132 -0
- package/node_modules/buffer/test/is-buffer.js +22 -0
- package/node_modules/buffer/test/methods.js +127 -0
- package/node_modules/buffer/test/node/test-buffer-alloc.js +1501 -0
- package/node_modules/buffer/test/node/test-buffer-arraybuffer.js +112 -0
- package/node_modules/buffer/test/node/test-buffer-ascii.js +28 -0
- package/node_modules/buffer/test/node/test-buffer-bad-overload.js +18 -0
- package/node_modules/buffer/test/node/test-buffer-badhex.js +46 -0
- package/node_modules/buffer/test/node/test-buffer-bytelength.js +90 -0
- package/node_modules/buffer/test/node/test-buffer-compare-offset.js +66 -0
- package/node_modules/buffer/test/node/test-buffer-concat.js +40 -0
- package/node_modules/buffer/test/node/test-buffer-fill.js +272 -0
- package/node_modules/buffer/test/node/test-buffer-includes.js +305 -0
- package/node_modules/buffer/test/node/test-buffer-indexof.js +523 -0
- package/node_modules/buffer/test/node/test-buffer-inheritance.js +42 -0
- package/node_modules/buffer/test/node/test-buffer-inspect.js +41 -0
- package/node_modules/buffer/test/node/test-buffer-iterator.js +65 -0
- package/node_modules/buffer/test/node/test-buffer-safe-unsafe.js +27 -0
- package/node_modules/buffer/test/node/test-buffer-slow.js +63 -0
- package/node_modules/buffer/test/node/test-buffer-swap.js +141 -0
- package/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js +35 -0
- package/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js +22 -0
- package/node_modules/buffer/test/node/test-buffer.js +1534 -0
- package/node_modules/buffer/test/slice.js +37 -0
- package/node_modules/buffer/test/static.js +17 -0
- package/node_modules/buffer/test/to-string.js +233 -0
- package/node_modules/buffer/test/write.js +131 -0
- package/node_modules/buffer/test/write_infinity.js +45 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/combined-stream/License +19 -0
- package/node_modules/combined-stream/Readme.md +138 -0
- package/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/node_modules/combined-stream/package.json +25 -0
- package/node_modules/crypto-js/CONTRIBUTING.md +28 -0
- package/node_modules/crypto-js/LICENSE +24 -0
- package/node_modules/crypto-js/README.md +275 -0
- package/node_modules/crypto-js/aes.js +234 -0
- package/node_modules/crypto-js/blowfish.js +471 -0
- package/node_modules/crypto-js/bower.json +39 -0
- package/node_modules/crypto-js/cipher-core.js +895 -0
- package/node_modules/crypto-js/core.js +807 -0
- package/node_modules/crypto-js/crypto-js.js +6657 -0
- package/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
- package/node_modules/crypto-js/enc-base64.js +136 -0
- package/node_modules/crypto-js/enc-base64url.js +148 -0
- package/node_modules/crypto-js/enc-hex.js +18 -0
- package/node_modules/crypto-js/enc-latin1.js +18 -0
- package/node_modules/crypto-js/enc-utf16.js +149 -0
- package/node_modules/crypto-js/enc-utf8.js +18 -0
- package/node_modules/crypto-js/evpkdf.js +134 -0
- package/node_modules/crypto-js/format-hex.js +66 -0
- package/node_modules/crypto-js/format-openssl.js +18 -0
- package/node_modules/crypto-js/hmac-md5.js +18 -0
- package/node_modules/crypto-js/hmac-ripemd160.js +18 -0
- package/node_modules/crypto-js/hmac-sha1.js +18 -0
- package/node_modules/crypto-js/hmac-sha224.js +18 -0
- package/node_modules/crypto-js/hmac-sha256.js +18 -0
- package/node_modules/crypto-js/hmac-sha3.js +18 -0
- package/node_modules/crypto-js/hmac-sha384.js +18 -0
- package/node_modules/crypto-js/hmac-sha512.js +18 -0
- package/node_modules/crypto-js/hmac.js +143 -0
- package/node_modules/crypto-js/index.js +18 -0
- package/node_modules/crypto-js/lib-typedarrays.js +76 -0
- package/node_modules/crypto-js/md5.js +268 -0
- package/node_modules/crypto-js/mode-cfb.js +80 -0
- package/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
- package/node_modules/crypto-js/mode-ctr.js +58 -0
- package/node_modules/crypto-js/mode-ecb.js +40 -0
- package/node_modules/crypto-js/mode-ofb.js +54 -0
- package/node_modules/crypto-js/package.json +42 -0
- package/node_modules/crypto-js/pad-ansix923.js +49 -0
- package/node_modules/crypto-js/pad-iso10126.js +44 -0
- package/node_modules/crypto-js/pad-iso97971.js +40 -0
- package/node_modules/crypto-js/pad-nopadding.js +30 -0
- package/node_modules/crypto-js/pad-pkcs7.js +18 -0
- package/node_modules/crypto-js/pad-zeropadding.js +47 -0
- package/node_modules/crypto-js/pbkdf2.js +145 -0
- package/node_modules/crypto-js/rabbit-legacy.js +190 -0
- package/node_modules/crypto-js/rabbit.js +192 -0
- package/node_modules/crypto-js/rc4.js +139 -0
- package/node_modules/crypto-js/ripemd160.js +267 -0
- package/node_modules/crypto-js/sha1.js +150 -0
- package/node_modules/crypto-js/sha224.js +80 -0
- package/node_modules/crypto-js/sha256.js +199 -0
- package/node_modules/crypto-js/sha3.js +326 -0
- package/node_modules/crypto-js/sha384.js +83 -0
- package/node_modules/crypto-js/sha512.js +326 -0
- package/node_modules/crypto-js/tripledes.js +779 -0
- package/node_modules/crypto-js/x64-core.js +304 -0
- package/node_modules/delayed-stream/.npmignore +1 -0
- package/node_modules/delayed-stream/License +19 -0
- package/node_modules/delayed-stream/Makefile +7 -0
- package/node_modules/delayed-stream/Readme.md +141 -0
- package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules/delayed-stream/package.json +27 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +80 -0
- package/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
- package/node_modules/es-set-tostringtag/LICENSE +21 -0
- package/node_modules/es-set-tostringtag/README.md +53 -0
- package/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/node_modules/es-set-tostringtag/index.js +35 -0
- package/node_modules/es-set-tostringtag/package.json +78 -0
- package/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
- package/node_modules/es6-promisify/LICENSE +19 -0
- package/node_modules/es6-promisify/README.md +99 -0
- package/node_modules/es6-promisify/dist/promisify.js +76 -0
- package/node_modules/es6-promisify/package.json +41 -0
- package/node_modules/fast-base64-decode/index.d.ts +2 -0
- package/node_modules/fast-base64-decode/index.js +33 -0
- package/node_modules/fast-base64-decode/package.json +21 -0
- package/node_modules/fast-base64-decode/readme.md +21 -0
- package/node_modules/fflate/CHANGELOG.md +115 -0
- package/node_modules/fflate/LICENSE +21 -0
- package/node_modules/fflate/README.md +558 -0
- package/node_modules/fflate/esm/browser.d.ts +1501 -0
- package/node_modules/fflate/esm/browser.js +2665 -0
- package/node_modules/fflate/esm/index.d.mts +1501 -0
- package/node_modules/fflate/esm/index.mjs +2679 -0
- package/node_modules/fflate/lib/browser.cjs +2688 -0
- package/node_modules/fflate/lib/browser.d.cts +1501 -0
- package/node_modules/fflate/lib/index.cjs +2668 -0
- package/node_modules/fflate/lib/index.d.ts +1501 -0
- package/node_modules/fflate/lib/node-worker.cjs +32 -0
- package/node_modules/fflate/lib/node.cjs +2700 -0
- package/node_modules/fflate/lib/node.d.cts +1501 -0
- package/node_modules/fflate/lib/worker.cjs +20 -0
- package/node_modules/fflate/package.json +127 -0
- package/node_modules/fflate/umd/index.js +1 -0
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/License +19 -0
- package/node_modules/form-data/README.md +355 -0
- package/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/form-data/lib/browser.js +4 -0
- package/node_modules/form-data/lib/form_data.js +494 -0
- package/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/form-data/package.json +82 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +378 -0
- package/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/test/index.js +36 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/has-tostringtag/.eslintrc +5 -0
- package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/node_modules/has-tostringtag/.nycrc +13 -0
- package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/node_modules/has-tostringtag/LICENSE +21 -0
- package/node_modules/has-tostringtag/README.md +46 -0
- package/node_modules/has-tostringtag/index.d.ts +3 -0
- package/node_modules/has-tostringtag/index.js +8 -0
- package/node_modules/has-tostringtag/package.json +108 -0
- package/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/node_modules/has-tostringtag/shams.js +8 -0
- package/node_modules/has-tostringtag/test/index.js +21 -0
- package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/node_modules/has-tostringtag/test/tests.js +15 -0
- package/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/node_modules/hasown/.eslintrc +5 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +40 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +92 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/ieee754/README.md +53 -0
- package/node_modules/ieee754/index.js +84 -0
- package/node_modules/ieee754/package.json +37 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/isomorphic-unfetch/browser.js +1 -0
- package/node_modules/isomorphic-unfetch/index.d.ts +19 -0
- package/node_modules/isomorphic-unfetch/index.js +6 -0
- package/node_modules/isomorphic-unfetch/package.json +19 -0
- package/node_modules/isomorphic-unfetch/readme.md +53 -0
- package/node_modules/js-cookie/CONTRIBUTING.md +79 -0
- package/node_modules/js-cookie/LICENSE +21 -0
- package/node_modules/js-cookie/README.md +327 -0
- package/node_modules/js-cookie/SERVER_SIDE.md +107 -0
- package/node_modules/js-cookie/package.json +47 -0
- package/node_modules/js-cookie/src/js.cookie.js +163 -0
- package/node_modules/jsurl/.npmignore +2 -0
- package/node_modules/jsurl/.travis.yml +6 -0
- package/node_modules/jsurl/AUTHORS +3 -0
- package/node_modules/jsurl/README.md +76 -0
- package/node_modules/jsurl/bower.json +18 -0
- package/node_modules/jsurl/examples/demo.css +40 -0
- package/node_modules/jsurl/examples/demo.html +52 -0
- package/node_modules/jsurl/examples/simple.js +12 -0
- package/node_modules/jsurl/index.js +1 -0
- package/node_modules/jsurl/lib/jsurl.js +169 -0
- package/node_modules/jsurl/package.json +22 -0
- package/node_modules/jsurl/test/common/jsurlTest.js +83 -0
- package/node_modules/jsurl/test/index.js +25 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +20 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +29 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flake.lock +40 -0
- package/node_modules/lodash/flake.nix +20 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +28 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17209 -0
- package/node_modules/lodash/lodash.min.js +140 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +17 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +82 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/release.md +48 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +272 -0
- package/node_modules/lodash/templateSettings.js +67 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/lodash.get/LICENSE +47 -0
- package/node_modules/lodash.get/README.md +18 -0
- package/node_modules/lodash.get/index.js +931 -0
- package/node_modules/lodash.get/package.json +17 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/mime-db/HISTORY.md +507 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +100 -0
- package/node_modules/mime-db/db.json +8519 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +60 -0
- package/node_modules/mime-types/HISTORY.md +397 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +113 -0
- package/node_modules/mime-types/index.js +188 -0
- package/node_modules/mime-types/package.json +44 -0
- package/node_modules/node-fetch/LICENSE.md +22 -0
- package/node_modules/node-fetch/README.md +590 -0
- package/node_modules/node-fetch/browser.js +25 -0
- package/node_modules/node-fetch/lib/index.es.js +1688 -0
- package/node_modules/node-fetch/lib/index.js +1697 -0
- package/node_modules/node-fetch/lib/index.mjs +1686 -0
- package/node_modules/node-fetch/package.json +76 -0
- package/node_modules/p-limit/index.d.ts +42 -0
- package/node_modules/p-limit/index.js +71 -0
- package/node_modules/p-limit/license +9 -0
- package/node_modules/p-limit/package.json +52 -0
- package/node_modules/p-limit/readme.md +101 -0
- package/node_modules/tr46/.npmignore +4 -0
- package/node_modules/tr46/index.js +193 -0
- package/node_modules/tr46/lib/.gitkeep +0 -0
- package/node_modules/tr46/lib/mappingTable.json +1 -0
- package/node_modules/tr46/package.json +31 -0
- package/node_modules/unfetch/LICENSE.md +21 -0
- package/node_modules/unfetch/README.md +247 -0
- package/node_modules/unfetch/dist/unfetch.es.js +2 -0
- package/node_modules/unfetch/dist/unfetch.js +2 -0
- package/node_modules/unfetch/dist/unfetch.js.map +1 -0
- package/node_modules/unfetch/dist/unfetch.module.js +2 -0
- package/node_modules/unfetch/dist/unfetch.module.js.map +1 -0
- package/node_modules/unfetch/dist/unfetch.umd.js +2 -0
- package/node_modules/unfetch/dist/unfetch.umd.js.map +1 -0
- package/node_modules/unfetch/package.json +67 -0
- package/node_modules/unfetch/polyfill/index.js +1 -0
- package/node_modules/unfetch/polyfill/package.json +5 -0
- package/node_modules/unfetch/polyfill/polyfill.mjs +2 -0
- package/node_modules/unfetch/src/index.d.ts +46 -0
- package/node_modules/unfetch/src/index.mjs +47 -0
- package/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/node_modules/webidl-conversions/README.md +53 -0
- package/node_modules/webidl-conversions/lib/index.js +189 -0
- package/node_modules/webidl-conversions/package.json +23 -0
- package/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/node_modules/whatwg-url/README.md +67 -0
- package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- package/node_modules/whatwg-url/lib/URL.js +196 -0
- package/node_modules/whatwg-url/lib/public-api.js +11 -0
- package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- package/node_modules/whatwg-url/lib/utils.js +20 -0
- package/node_modules/whatwg-url/package.json +32 -0
- package/node_modules/yocto-queue/index.d.ts +56 -0
- package/node_modules/yocto-queue/index.js +68 -0
- package/node_modules/yocto-queue/license +9 -0
- package/node_modules/yocto-queue/package.json +43 -0
- package/node_modules/yocto-queue/readme.md +64 -0
- package/oclif.manifest.json +1 -85
- package/package.json +10 -8
- package/dist/commands/load-local/index.d.ts +0 -17
- package/dist/commands/load-local/index.js +0 -156
- package/dist/helpers/pipeline/formatters.d.ts +0 -6
- package/dist/helpers/pipeline/formatters.js +0 -219
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(function(){try{return require("crypto")}catch(t){}}()):"function"==typeof define&&define.amd?define(["crypto"],e):"object"==typeof exports?exports.AmazonCognitoIdentity=e(function(){try{return require("crypto")}catch(t){}}()):t.AmazonCognitoIdentity=e(t.crypto)}("undefined"!=typeof self?self:this,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=21)}([function(t,e,n){(function(r){!function(n,r){t.exports=e=r()}(0,function(){var t=t||function(t,e){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==r&&r.crypto&&(i=r.crypto),!i)try{i=n(4)}catch(t){}var s=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),a={},u=a.lib={},c=u.Base=function(){return{extend:function(t){var e=o(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=u.WordArray=c.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length},toString:function(t){return(t||l).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var s=0;s<i;s++){var o=n[s>>>2]>>>24-s%4*8&255;e[r+s>>>2]|=o<<24-(r+s)%4*8}else for(var a=0;a<i;a+=4)e[r+a>>>2]=n[a>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(s());return new h.init(e,t)}}),f=a.enc={},l=f.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var s=e[i>>>2]>>>24-i%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new h.init(n,e/2)}},d=f.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var s=e[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new h.init(n,e)}},g=f.Utf8={stringify:function(t){try{return decodeURIComponent(escape(d.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return d.parse(unescape(encodeURIComponent(t)))}},p=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=g.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n,r=this._data,i=r.words,s=r.sigBytes,o=this.blockSize,a=4*o,u=s/a;u=e?t.ceil(u):t.max((0|u)-this._minBufferSize,0);var c=u*o,f=t.min(4*c,s);if(c){for(var l=0;l<c;l+=o)this._doProcessBlock(i,l);n=i.splice(0,c),r.sigBytes-=f}return new h.init(n,f)},clone:function(){var t=c.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),v=(u.Hasher=p.extend({cfg:c.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new v.HMAC.init(t,n).finalize(e)}}}),a.algo={});return a}(Math);return t})}).call(e,n(2))},function(t,e,n){"use strict";(function(t){function r(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(r()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=s.prototype):(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,n){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}return o(this,t,e,n)}function o(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?l(t,e,n,r):"string"==typeof e?h(t,e,n):d(t,e)}function a(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function u(t,e,n,r){return a(e),e<=0?i(t,e):void 0!==n?"string"==typeof r?i(t,e).fill(n,r):i(t,e).fill(n):i(t,e)}function c(t,e){if(a(e),t=i(t,e<0?0:0|g(e)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!s.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|v(e,n);t=i(t,r);var o=t.write(e,n);return o!==r&&(t=t.slice(0,o)),t}function f(t,e){var n=e.length<0?0:0|g(e.length);t=i(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function l(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),s.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=s.prototype):t=f(t,e),t}function d(t,e){if(s.isBuffer(e)){var n=0|g(e.length);return t=i(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||G(e.length)?i(t,0):f(t,e);if("Buffer"===e.type&&$(e.data))return f(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function g(t){if(t>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function p(t){return+t!=t&&(t=0),s.alloc(+t)}function v(t,e){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(r)return j(t).length;e=(""+e).toLowerCase(),r=!0}}function y(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return k(this,e,n);case"utf8":case"utf-8":return b(this,e,n);case"ascii":return P(this,e,n);case"latin1":case"binary":return _(this,e,n);case"base64":return I(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function S(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:w(t,e,n,r,i);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):w(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,n,r,i){function s(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}var o=1,a=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;o=2,a/=2,u/=2,n/=2}var c;if(i){var h=-1;for(c=n;c<a;c++)if(s(t,c)===s(e,-1===h?0:c-h)){if(-1===h&&(h=c),c-h+1===u)return h*o}else-1!==h&&(c-=c-h),h=-1}else for(n+u>a&&(n=a-u),c=n;c>=0;c--){for(var f=!0,l=0;l<u;l++)if(s(t,c+l)!==s(e,l)){f=!1;break}if(f)return c}return-1}function A(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(e.substr(2*o,2),16);if(isNaN(a))return o;t[n+o]=a}return o}function C(t,e,n,r){return z(j(e,t.length-n),t,n,r)}function U(t,e,n,r){return z(Y(e),t,n,r)}function T(t,e,n,r){return U(t,e,n,r)}function E(t,e,n,r){return z(J(e),t,n,r)}function D(t,e,n,r){return z(W(e,t.length-n),t,n,r)}function I(t,e,n){return 0===e&&n===t.length?Z.fromByteArray(t):Z.fromByteArray(t.slice(e,n))}function b(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var s=t[i],o=null,a=s>239?4:s>223?3:s>191?2:1;if(i+a<=n){var u,c,h,f;switch(a){case 1:s<128&&(o=s);break;case 2:u=t[i+1],128==(192&u)&&(f=(31&s)<<6|63&u)>127&&(o=f);break;case 3:u=t[i+1],c=t[i+2],128==(192&u)&&128==(192&c)&&(f=(15&s)<<12|(63&u)<<6|63&c)>2047&&(f<55296||f>57343)&&(o=f);break;case 4:u=t[i+1],c=t[i+2],h=t[i+3],128==(192&u)&&128==(192&c)&&128==(192&h)&&(f=(15&s)<<18|(63&u)<<12|(63&c)<<6|63&h)>65535&&f<1114112&&(o=f)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return R(r)}function R(t){var e=t.length;if(e<=Q)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=Q));return n}function P(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function _(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function k(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",s=e;s<n;++s)i+=H(t[s]);return i}function B(t,e,n){for(var r=t.slice(e,n),i="",s=0;s<r.length;s+=2)i+=String.fromCharCode(r[s]+256*r[s+1]);return i}function F(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function x(t,e,n,r,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function M(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,s=Math.min(t.length-n,2);i<s;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function O(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,s=Math.min(t.length-n,4);i<s;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function N(t,e,n,r,i,s){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(t,e,n,r,i){return i||N(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(t,e,n,r,23,4),n+4}function K(t,e,n,r,i){return i||N(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(t,e,n,r,52,8),n+8}function q(t){if(t=L(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function L(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return t<16?"0"+t.toString(16):t.toString(16)}function j(t,e){e=e||1/0;for(var n,r=t.length,i=null,s=[],o=0;o<r;++o){if((n=t.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===r){(e-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&s.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;s.push(n)}else if(n<2048){if((e-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function Y(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function W(t,e){for(var n,r,i,s=[],o=0;o<t.length&&!((e-=2)<0);++o)n=t.charCodeAt(o),r=n>>8,i=n%256,s.push(i),s.push(r);return s}function J(t){return Z.toByteArray(q(t))}function z(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function G(t){return t!==t}/*!
|
|
6
|
+
* The buffer module from node.js, for the browser.
|
|
7
|
+
*
|
|
8
|
+
* @author Feross Aboukhadijeh <http://feross.org>
|
|
9
|
+
* @license MIT
|
|
10
|
+
*/
|
|
11
|
+
var Z=n(23),X=n(24),$=n(25);e.Buffer=s,e.SlowBuffer=p,e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=r(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,n){return o(null,t,e,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,n){return u(null,t,e,n)},s.allocUnsafe=function(t){return c(null,t)},s.allocUnsafeSlow=function(t){return c(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,e){if(!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!$(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=s.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(!s.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},s.byteLength=v,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?b(this,0,t):y.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,e,n,r,i){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,a=n-e,u=Math.min(o,a),c=this.slice(r,i),h=t.slice(e,n),f=0;f<u;++f)if(c[f]!==h[f]){o=c[f],a=h[f];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},s.prototype.indexOf=function(t,e,n){return S(this,t,e,n,!0)},s.prototype.lastIndexOf=function(t,e,n){return S(this,t,e,n,!1)},s.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return A(this,t,e,n);case"utf8":case"utf-8":return C(this,t,e,n);case"ascii":return U(this,t,e,n);case"latin1":case"binary":return T(this,t,e,n);case"base64":return E(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,e,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;s.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r;if(s.TYPED_ARRAY_SUPPORT)r=this.subarray(t,e),r.__proto__=s.prototype;else{var i=e-t;r=new s(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},s.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);for(var r=this[t],i=1,s=0;++s<e&&(i*=256);)r+=this[t+s]*i;return r},s.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);for(var r=this[t],i=1,s=0;++s<e&&(i*=256);)r+=this[t+s]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);for(var r=e,i=1,s=this[t+--r];r>0&&(i*=256);)s+=this[t+--r]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*e)),s},s.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),X.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),X.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),X.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),X.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){x(this,t,e,n,Math.pow(2,8*n)-1,0)}var i=1,s=0;for(this[e]=255&t;++s<n&&(i*=256);)this[e+s]=t/i&255;return e+n},s.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){x(this,t,e,n,Math.pow(2,8*n)-1,0)}var i=n-1,s=1;for(this[e+i]=255&t;--i>=0&&(s*=256);)this[e+i]=t/s&255;return e+n},s.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):O(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):O(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);x(this,t,e,n,i-1,-i)}var s=0,o=1,a=0;for(this[e]=255&t;++s<n&&(o*=256);)t<0&&0===a&&0!==this[e+s-1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);x(this,t,e,n,i-1,-i)}var s=n-1,o=1,a=0;for(this[e+s]=255&t;--s>=0&&(o*=256);)t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):O(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||x(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):O(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return V(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return V(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return K(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return K(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},s.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var o;if("number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=s.isBuffer(t)?t:j(new s(t,r).toString()),u=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%u]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(e,n(2))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";/*!
|
|
12
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
13
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
14
|
+
*/
|
|
15
|
+
function r(t){return i.Buffer.from((new l.a).random(t).toString(),"hex")}n.d(e,"a",function(){return v});var i=n(1),s=(n.n(i),n(0)),o=n.n(s),a=n(5),u=(n.n(a),n(6)),c=n.n(u),h=n(7),f=n.n(h),l=n(8),d=n(9),g=/^[89a-f]/i,p="FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",v=function(){function t(t){this.N=new d.a(p,16),this.g=new d.a("2",16),this.k=new d.a(this.hexHash(""+this.padHex(this.N)+this.padHex(this.g)),16),this.smallAValue=this.generateRandomSmallA(),this.getLargeAValue(function(){}),this.infoBits=i.Buffer.from("Caldera Derived Key","utf8"),this.poolName=t}var e=t.prototype;return e.getSmallAValue=function(){return this.smallAValue},e.getLargeAValue=function(t){var e=this;this.largeAValue?t(null,this.largeAValue):this.calculateA(this.smallAValue,function(n,r){n&&t(n,null),e.largeAValue=r,t(null,e.largeAValue)})},e.generateRandomSmallA=function(){var t=r(128).toString("hex");return new d.a(t,16)},e.generateRandomString=function(){return r(40).toString("base64")},e.getRandomPassword=function(){return this.randomPassword},e.getSaltDevices=function(){return this.SaltToHashDevices},e.getVerifierDevices=function(){return this.verifierDevices},e.generateHashDevice=function(t,e,n){var i=this;this.randomPassword=this.generateRandomString();var s=""+t+e+":"+this.randomPassword,o=this.hash(s),a=r(16).toString("hex");this.SaltToHashDevices=this.padHex(new d.a(a,16)),this.g.modPow(new d.a(this.hexHash(this.SaltToHashDevices+o),16),this.N,function(t,e){t&&n(t,null),i.verifierDevices=i.padHex(e),n(null,null)})},e.calculateA=function(t,e){var n=this;this.g.modPow(t,this.N,function(t,r){t&&e(t,null),r.mod(n.N).equals(d.a.ZERO)&&e(new Error("Illegal paramater. A mod N cannot be 0."),null),e(null,r)})},e.calculateU=function(t,e){return this.UHexHash=this.hexHash(this.padHex(t)+this.padHex(e)),new d.a(this.UHexHash,16)},e.hash=function(t){var e=t instanceof i.Buffer?o.a.lib.WordArray.create(t):t,n=c()(e).toString();return new Array(64-n.length).join("0")+n},e.hexHash=function(t){return this.hash(i.Buffer.from(t,"hex"))},e.computehkdf=function(t,e){var n=o.a.lib.WordArray.create(i.Buffer.concat([this.infoBits,i.Buffer.from(String.fromCharCode(1),"utf8")])),r=t instanceof i.Buffer?o.a.lib.WordArray.create(t):t,s=e instanceof i.Buffer?o.a.lib.WordArray.create(e):e,a=f()(r,s),u=f()(n,a);return i.Buffer.from(u.toString(),"hex").slice(0,16)},e.getPasswordAuthenticationKey=function(t,e,n,r,s){var o=this;if(n.mod(this.N).equals(d.a.ZERO))throw new Error("B cannot be zero.");if(this.UValue=this.calculateU(this.largeAValue,n),this.UValue.equals(d.a.ZERO))throw new Error("U cannot be zero.");var a=""+this.poolName+t+":"+e,u=this.hash(a),c=new d.a(this.hexHash(this.padHex(r)+u),16);this.calculateS(c,n,function(t,e){t&&s(t,null);var n=o.computehkdf(i.Buffer.from(o.padHex(e),"hex"),i.Buffer.from(o.padHex(o.UValue),"hex"));s(null,n)})},e.calculateS=function(t,e,n){var r=this;this.g.modPow(t,this.N,function(i,s){i&&n(i,null),e.subtract(r.k.multiply(s)).modPow(r.smallAValue.add(r.UValue.multiply(t)),r.N,function(t,e){t&&n(t,null),n(null,e.mod(r.N))})})},e.getNewPasswordRequiredChallengeUserAttributePrefix=function(){return"userAttributes."},e.padHex=function(t){if(!(t instanceof d.a))throw new Error("Not a BigInteger");var e=t.compareTo(d.a.ZERO)<0,n=t.abs().toString(16);if(n=n.length%2!=0?"0"+n:n,n=g.test(n)?"00"+n:n,e){var r=n.split("").map(function(t){return"0123456789ABCDEF".charAt(15&~parseInt(t,16))}).join("");n=new d.a(r,16).add(d.a.ONE).toString(16),n.toUpperCase().startsWith("FF8")&&(n=n.substring(2))}return n},t}()},function(e,n){if(void 0===t){var r=new Error('Cannot find module "crypto"');throw r.code="MODULE_NOT_FOUND",r}e.exports=t},function(t,e,n){!function(r,i){t.exports=e=i(n(0))}(0,function(t){return function(){if("function"==typeof ArrayBuffer){var e=t,n=e.lib,r=n.WordArray,i=r.init;(r.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,n=[],r=0;r<e;r++)n[r>>>2]|=t[r]<<24-r%4*8;i.call(this,n,e)}else i.apply(this,arguments)}).prototype=r}}(),t.lib.WordArray})},function(t,e,n){!function(r,i){t.exports=e=i(n(0))}(0,function(t){return function(e){var n=t,r=n.lib,i=r.WordArray,s=r.Hasher,o=n.algo,a=[],u=[];!function(){function t(t){return 4294967296*(t-(0|t))|0}for(var n=2,r=0;r<64;)(function(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0})(n)&&(r<8&&(a[r]=t(e.pow(n,.5))),u[r]=t(e.pow(n,1/3)),r++),n++}();var c=[],h=o.SHA256=s.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],i=n[1],s=n[2],o=n[3],a=n[4],h=n[5],f=n[6],l=n[7],d=0;d<64;d++){if(d<16)c[d]=0|t[e+d];else{var g=c[d-15],p=(g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3,v=c[d-2],y=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;c[d]=p+c[d-7]+y+c[d-16]}var m=a&h^~a&f,S=r&i^r&s^i&s,w=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),A=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),C=l+A+m+u[d]+c[d],U=w+S;l=f,f=h,h=a,a=o+C|0,o=s,s=i,i=r,r=C+U|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+s|0,n[3]=n[3]+o|0,n[4]=n[4]+a|0,n[5]=n[5]+h|0,n[6]=n[6]+f|0,n[7]=n[7]+l|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}});n.SHA256=s._createHelper(h),n.HmacSHA256=s._createHmacHelper(h)}(Math),t.SHA256})},function(t,e,n){!function(r,i,s){t.exports=e=i(n(0),n(6),n(26))}(0,function(t){return t.HmacSHA256})},function(t,e,n){"use strict";function r(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var s=e[i>>>2]>>>24-i%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")}n.d(e,"a",function(){return s});var i=n(27),s=function(){function t(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length}var e=t.prototype;return e.random=function(e){for(var n=[],r=0;r<e;r+=4)n.push(Object(i.a)());return new t(n,e)},e.toString=function(){return r(this)},t}()},function(t,e,n){"use strict";function r(t,e){null!=t&&this.fromString(t,e)}function i(){return new r(null)}function s(t,e,n,r,i,s){for(;--s>=0;){var o=e*this[t++]+n[r]+i;i=Math.floor(o/67108864),n[r++]=67108863&o}return i}function o(t,e,n,r,i,s){for(var o=32767&e,a=e>>15;--s>=0;){var u=32767&this[t],c=this[t++]>>15,h=a*u+c*o;u=o*u+((32767&h)<<15)+n[r]+(1073741823&i),i=(u>>>30)+(h>>>15)+a*c+(i>>>30),n[r++]=1073741823&u}return i}function a(t,e,n,r,i,s){for(var o=16383&e,a=e>>14;--s>=0;){var u=16383&this[t],c=this[t++]>>14,h=a*u+c*o;u=o*u+((16383&h)<<14)+n[r]+i,i=(u>>28)+(h>>14)+a*c,n[r++]=268435455&u}return i}function u(t){return z.charAt(t)}function c(t,e){var n=G[t.charCodeAt(e)];return null==n?-1:n}function h(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s}function f(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0}function l(t){var e=i();return e.fromInt(t),e}function d(t,e){var n;if(16==e)n=4;else if(8==e)n=3;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");n=2}this.t=0,this.s=0;for(var i=t.length,s=!1,o=0;--i>=0;){var a=c(t,i);a<0?"-"==t.charAt(i)&&(s=!0):(s=!1,0==o?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,(o+=n)>=this.DB&&(o-=this.DB))}this.clamp(),s&&r.ZERO.subTo(this,this)}function g(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t}function p(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");e=2}var n,r=(1<<e)-1,i=!1,s="",o=this.t,a=this.DB-o*this.DB%e;if(o-- >0)for(a<this.DB&&(n=this[o]>>a)>0&&(i=!0,s=u(n));o>=0;)a<e?(n=(this[o]&(1<<a)-1)<<e-a,n|=this[--o]>>(a+=this.DB-e)):(n=this[o]>>(a-=e)&r,a<=0&&(a+=this.DB,--o)),n>0&&(i=!0),i&&(s+=u(n));return i?s:"0"}function v(){var t=i();return r.ZERO.subTo(this,t),t}function y(){return this.s<0?this.negate():this}function m(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(0!=(e=n-t.t))return this.s<0?-e:e;for(;--n>=0;)if(0!=(e=this[n]-t[n]))return e;return 0}function S(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}function w(){return this.t<=0?0:this.DB*(this.t-1)+S(this[this.t-1]^this.s&this.DM)}function A(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s}function C(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s}function U(t,e){var n,r=t%this.DB,i=this.DB-r,s=(1<<i)-1,o=Math.floor(t/this.DB),a=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)e[n+o+1]=this[n]>>i|a,a=(this[n]&s)<<r;for(n=o-1;n>=0;--n)e[n]=0;e[o]=a,e.t=this.t+o+1,e.s=this.s,e.clamp()}function T(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)return void(e.t=0);var r=t%this.DB,i=this.DB-r,s=(1<<r)-1;e[0]=this[n]>>r;for(var o=n+1;o<this.t;++o)e[o-n-1]|=(this[o]&s)<<i,e[o-n]=this[o]>>r;r>0&&(e[this.t-n-1]|=(this.s&s)<<i),e.t=this.t-n,e.clamp()}function E(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]-t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r-=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r-=t[n],e[n++]=r&this.DM,r>>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[n++]=this.DV+r:r>0&&(e[n++]=r),e.t=n,e.clamp()}function D(t,e){var n=this.abs(),i=t.abs(),s=n.t;for(e.t=s+i.t;--s>=0;)e[s]=0;for(s=0;s<i.t;++s)e[s+n.t]=n.am(0,i[s],e,s,0,n.t);e.s=0,e.clamp(),this.s!=t.s&&r.ZERO.subTo(e,e)}function I(t){for(var e=this.abs(),n=t.t=2*e.t;--n>=0;)t[n]=0;for(n=0;n<e.t-1;++n){var r=e.am(n,e[n],t,2*n,0,1);(t[n+e.t]+=e.am(n+1,2*e[n],t,2*n+1,r,e.t-n-1))>=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()}function b(t,e,n){var s=t.abs();if(!(s.t<=0)){var o=this.abs();if(o.t<s.t)return null!=e&&e.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=i());var a=i(),u=this.s,c=t.s,h=this.DB-S(s[s.t-1]);h>0?(s.lShiftTo(h,a),o.lShiftTo(h,n)):(s.copyTo(a),o.copyTo(n));var f=a.t,l=a[f-1];if(0!=l){var d=l*(1<<this.F1)+(f>1?a[f-2]>>this.F2:0),g=this.FV/d,p=(1<<this.F1)/d,v=1<<this.F2,y=n.t,m=y-f,w=null==e?i():e;for(a.dlShiftTo(m,w),n.compareTo(w)>=0&&(n[n.t++]=1,n.subTo(w,n)),r.ONE.dlShiftTo(f,w),w.subTo(a,a);a.t<f;)a[a.t++]=0;for(;--m>=0;){var A=n[--y]==l?this.DM:Math.floor(n[y]*g+(n[y-1]+v)*p);if((n[y]+=a.am(0,A,n,m,0,f))<A)for(a.dlShiftTo(m,w),n.subTo(w,n);n[y]<--A;)n.subTo(w,n)}null!=e&&(n.drShiftTo(f,e),u!=c&&r.ZERO.subTo(e,e)),n.t=f,n.clamp(),h>0&&n.rShiftTo(h,n),u<0&&r.ZERO.subTo(n,n)}}}function R(t){var e=i();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(r.ZERO)>0&&t.subTo(e,e),e}function P(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return e=e*(2-(15&t)*e)&15,e=e*(2-(255&t)*e)&255,e=e*(2-((65535&t)*e&65535))&65535,e=e*(2-t*e%this.DV)%this.DV,e>0?this.DV-e:-e}function _(t){return 0==this.compareTo(t)}function k(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]+t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r+=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r+=t[n],e[n++]=r&this.DM,r>>=this.DB;r+=t.s}e.s=r<0?-1:0,r>0?e[n++]=r:r<-1&&(e[n++]=this.DV+r),e.t=n,e.clamp()}function B(t){var e=i();return this.addTo(t,e),e}function F(t){var e=i();return this.subTo(t,e),e}function x(t){var e=i();return this.multiplyTo(t,e),e}function M(t){var e=i();return this.divRemTo(t,e,null),e}function O(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function N(t){var e=i();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(r.ZERO)>0&&this.m.subTo(e,e),e}function V(t){var e=i();return t.copyTo(e),this.reduce(e),e}function K(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var n=32767&t[e],r=n*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(n=e+this.m.t,t[n]+=this.m.am(0,r,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)}function q(t,e){t.squareTo(e),this.reduce(e)}function L(t,e,n){t.multiplyTo(e,n),this.reduce(n)}function H(t,e,n){var r,s=t.bitLength(),o=l(1),a=new O(e);if(s<=0)return o;r=s<18?1:s<48?3:s<144?4:s<768?5:6;var u=new Array,c=3,h=r-1,f=(1<<r)-1;if(u[1]=a.convert(this),r>1){var d=i();for(a.sqrTo(u[1],d);c<=f;)u[c]=i(),a.mulTo(d,u[c-2],u[c]),c+=2}var g,p,v=t.t-1,y=!0,m=i();for(s=S(t[v])-1;v>=0;){for(s>=h?g=t[v]>>s-h&f:(g=(t[v]&(1<<s+1)-1)<<h-s,v>0&&(g|=t[v-1]>>this.DB+s-h)),c=r;0==(1&g);)g>>=1,--c;if((s-=c)<0&&(s+=this.DB,--v),y)u[g].copyTo(o),y=!1;else{for(;c>1;)a.sqrTo(o,m),a.sqrTo(m,o),c-=2;c>0?a.sqrTo(o,m):(p=o,o=m,m=p),a.mulTo(m,u[g],o)}for(;v>=0&&0==(t[v]&1<<s);)a.sqrTo(o,m),p=o,o=m,m=p,--s<0&&(s=this.DB-1,--v)}var w=a.revert(o);return n(null,w),w}e.a=r;var j,Y="undefined"!=typeof navigator;Y&&"Microsoft Internet Explorer"==navigator.appName?(r.prototype.am=o,j=30):Y&&"Netscape"!=navigator.appName?(r.prototype.am=s,j=26):(r.prototype.am=a,j=28),r.prototype.DB=j,r.prototype.DM=(1<<j)-1,r.prototype.DV=1<<j;r.prototype.FV=Math.pow(2,52),r.prototype.F1=52-j,r.prototype.F2=2*j-52;var W,J,z="0123456789abcdefghijklmnopqrstuvwxyz",G=new Array;for(W="0".charCodeAt(0),J=0;J<=9;++J)G[W++]=J;for(W="a".charCodeAt(0),J=10;J<36;++J)G[W++]=J;for(W="A".charCodeAt(0),J=10;J<36;++J)G[W++]=J;O.prototype.convert=N,O.prototype.revert=V,O.prototype.reduce=K,O.prototype.mulTo=L,O.prototype.sqrTo=q,r.prototype.copyTo=h,r.prototype.fromInt=f,r.prototype.fromString=d,r.prototype.clamp=g,r.prototype.dlShiftTo=A,r.prototype.drShiftTo=C,r.prototype.lShiftTo=U,r.prototype.rShiftTo=T,r.prototype.subTo=E,r.prototype.multiplyTo=D,r.prototype.squareTo=I,r.prototype.divRemTo=b,r.prototype.invDigit=P,r.prototype.addTo=k,r.prototype.toString=p,r.prototype.negate=v,r.prototype.abs=y,r.prototype.compareTo=m,r.prototype.bitLength=w,r.prototype.mod=R,r.prototype.equals=_,r.prototype.add=B,r.prototype.subtract=F,r.prototype.multiply=x,r.prototype.divide=M,r.prototype.modPow=H,r.ZERO=l(0),r.ONE=l(1)},function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e)}function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",function(){return o});var s=n(11),o=function(t){function e(e){var n=void 0===e?{}:e,r=n.AccessToken;return t.call(this,r||"")||this}return r(e,t),e}(s.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(1),i=(n.n(r),function(){function t(t){this.jwtToken=t||"",this.payload=this.decodePayload()}var e=t.prototype;return e.getJwtToken=function(){return this.jwtToken},e.getExpiration=function(){return this.payload.exp},e.getIssuedAt=function(){return this.payload.iat},e.decodePayload=function(){var t=this.jwtToken.split(".")[1];try{return JSON.parse(r.Buffer.from(t,"base64").toString("utf8"))}catch(t){return{}}},t}())},function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e)}function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,"a",function(){return o});var s=n(11),o=function(t){function e(e){var n=void 0===e?{}:e,r=n.IdToken;return t.call(this,r||"")||this}return r(e,t),e}(s.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/*!
|
|
16
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
17
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
18
|
+
*/
|
|
19
|
+
var r=function(){function t(t){var e=void 0===t?{}:t,n=e.RefreshToken;this.token=n||""}return t.prototype.getToken=function(){return this.token},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return C});var r=n(1),i=(n.n(r),n(0)),s=n.n(i),o=n(5),a=(n.n(o),n(28)),u=n.n(a),c=n(7),h=n.n(c),f=n(9),l=n(3),d=n(10),g=n(12),p=n(13),v=n(15),y=n(16),m=n(17),S=n(18),w="undefined"!=typeof navigator,A=w?navigator.userAgent:"nodejs",C=function(){function t(t){if(null==t||null==t.Username||null==t.Pool)throw new Error("Username and Pool information are required.");this.username=t.Username||"",this.pool=t.Pool,this.Session=null,this.client=t.Pool.client,this.signInUserSession=null,this.authenticationFlowType="USER_SRP_AUTH",this.storage=t.Storage||(new S.a).getStorage(),this.keyPrefix="CognitoIdentityServiceProvider."+this.pool.getClientId(),this.userDataKey=this.keyPrefix+"."+this.username+".userData"}var e=t.prototype;return e.setSignInUserSession=function(t){this.clearCachedUserData(),this.signInUserSession=t,this.cacheTokens()},e.getSignInUserSession=function(){return this.signInUserSession},e.getUsername=function(){return this.username},e.getAuthenticationFlowType=function(){return this.authenticationFlowType},e.setAuthenticationFlowType=function(t){this.authenticationFlowType=t},e.initiateAuth=function(t,e){var n=this,r=t.getAuthParameters();r.USERNAME=this.username;var i=0!==Object.keys(t.getValidationData()).length?t.getValidationData():t.getClientMetadata(),s={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:r,ClientMetadata:i};this.getUserContextData()&&(s.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",s,function(t,r){if(t)return e.onFailure(t);var i=r.ChallengeName,s=r.ChallengeParameters;return"CUSTOM_CHALLENGE"===i?(n.Session=r.Session,e.customChallenge(s)):(n.signInUserSession=n.getCognitoUserSession(r.AuthenticationResult),n.cacheTokens(),e.onSuccess(n.signInUserSession))})},e.authenticateUser=function(t,e){return"USER_PASSWORD_AUTH"===this.authenticationFlowType?this.authenticateUserPlainUsernamePassword(t,e):"USER_SRP_AUTH"===this.authenticationFlowType||"CUSTOM_AUTH"===this.authenticationFlowType?this.authenticateUserDefaultAuth(t,e):e.onFailure(new Error("Authentication flow type is invalid."))},e.authenticateUserDefaultAuth=function(t,e){var n,i,o=this,a=new l.a(this.pool.getUserPoolName()),c=new y.a,d={};null!=this.deviceKey&&(d.DEVICE_KEY=this.deviceKey),d.USERNAME=this.username,a.getLargeAValue(function(l,g){l&&e.onFailure(l),d.SRP_A=g.toString(16),"CUSTOM_AUTH"===o.authenticationFlowType&&(d.CHALLENGE_NAME="SRP_A");var p=0!==Object.keys(t.getValidationData()).length?t.getValidationData():t.getClientMetadata(),v={AuthFlow:o.authenticationFlowType,ClientId:o.pool.getClientId(),AuthParameters:d,ClientMetadata:p};o.getUserContextData(o.username)&&(v.UserContextData=o.getUserContextData(o.username)),o.client.request("InitiateAuth",v,function(l,d){if(l)return e.onFailure(l);var g=d.ChallengeParameters;o.username=g.USER_ID_FOR_SRP,o.userDataKey=o.keyPrefix+"."+o.username+".userData",n=new f.a(g.SRP_B,16),i=new f.a(g.SALT,16),o.getCachedDeviceKeyAndPassword(),a.getPasswordAuthenticationKey(o.username,t.getPassword(),n,i,function(t,n){t&&e.onFailure(t);var i=c.getNowString(),f=s.a.lib.WordArray.create(r.Buffer.concat([r.Buffer.from(o.pool.getUserPoolName(),"utf8"),r.Buffer.from(o.username,"utf8"),r.Buffer.from(g.SECRET_BLOCK,"base64"),r.Buffer.from(i,"utf8")])),l=s.a.lib.WordArray.create(n),v=u.a.stringify(h()(f,l)),y={};y.USERNAME=o.username,y.PASSWORD_CLAIM_SECRET_BLOCK=g.SECRET_BLOCK,y.TIMESTAMP=i,y.PASSWORD_CLAIM_SIGNATURE=v,null!=o.deviceKey&&(y.DEVICE_KEY=o.deviceKey);var m={ChallengeName:"PASSWORD_VERIFIER",ClientId:o.pool.getClientId(),ChallengeResponses:y,Session:d.Session,ClientMetadata:p};o.getUserContextData()&&(m.UserContextData=o.getUserContextData()),function t(e,n){return o.client.request("RespondToAuthChallenge",e,function(r,i){return r&&"ResourceNotFoundException"===r.code&&-1!==r.message.toLowerCase().indexOf("device")?(y.DEVICE_KEY=null,o.deviceKey=null,o.randomPassword=null,o.deviceGroupKey=null,o.clearCachedDeviceKeyAndPassword(),t(e,n)):n(r,i)})}(m,function(t,n){return t?e.onFailure(t):o.authenticateUserInternal(n,a,e)})})})})},e.authenticateUserPlainUsernamePassword=function(t,e){var n=this,r={};if(r.USERNAME=this.username,r.PASSWORD=t.getPassword(),!r.PASSWORD)return void e.onFailure(new Error("PASSWORD parameter is required"));var i=new l.a(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(r.DEVICE_KEY=this.deviceKey);var s=0!==Object.keys(t.getValidationData()).length?t.getValidationData():t.getClientMetadata(),o={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:r,ClientMetadata:s};this.getUserContextData(this.username)&&(o.UserContextData=this.getUserContextData(this.username)),this.client.request("InitiateAuth",o,function(t,r){return t?e.onFailure(t):n.authenticateUserInternal(r,i,e)})},e.authenticateUserInternal=function(t,e,n){var i=this,s=t.ChallengeName,o=t.ChallengeParameters;if("SMS_MFA"===s)return this.Session=t.Session,n.mfaRequired(s,o);if("SELECT_MFA_TYPE"===s)return this.Session=t.Session,n.selectMFAType(s,o);if("MFA_SETUP"===s)return this.Session=t.Session,n.mfaSetup(s,o);if("SOFTWARE_TOKEN_MFA"===s)return this.Session=t.Session,n.totpRequired(s,o);if("CUSTOM_CHALLENGE"===s)return this.Session=t.Session,n.customChallenge(o);if("NEW_PASSWORD_REQUIRED"===s){this.Session=t.Session;var a=null,u=null,c=[],h=e.getNewPasswordRequiredChallengeUserAttributePrefix();if(o&&(a=JSON.parse(t.ChallengeParameters.userAttributes),u=JSON.parse(t.ChallengeParameters.requiredAttributes)),u)for(var f=0;f<u.length;f++)c[f]=u[f].substr(h.length);return n.newPasswordRequired(a,c)}if("DEVICE_SRP_AUTH"===s)return this.Session=t.Session,void this.getDeviceResponse(n);this.signInUserSession=this.getCognitoUserSession(t.AuthenticationResult),this.challengeName=s,this.cacheTokens();var l=t.AuthenticationResult.NewDeviceMetadata;if(null==l)return n.onSuccess(this.signInUserSession);e.generateHashDevice(t.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,t.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(s){if(s)return n.onFailure(s);var o={Salt:r.Buffer.from(e.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:r.Buffer.from(e.getVerifierDevices(),"hex").toString("base64")};i.verifierDevices=o.PasswordVerifier,i.deviceGroupKey=l.DeviceGroupKey,i.randomPassword=e.getRandomPassword(),i.client.request("ConfirmDevice",{DeviceKey:l.DeviceKey,AccessToken:i.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:o,DeviceName:A},function(e,r){return e?n.onFailure(e):(i.deviceKey=t.AuthenticationResult.NewDeviceMetadata.DeviceKey,i.cacheDeviceKeyAndPassword(),!0===r.UserConfirmationNecessary?n.onSuccess(i.signInUserSession,r.UserConfirmationNecessary):n.onSuccess(i.signInUserSession))})})},e.completeNewPasswordChallenge=function(t,e,n,r){var i=this;if(!t)return n.onFailure(new Error("New password is required."));var s=new l.a(this.pool.getUserPoolName()),o=s.getNewPasswordRequiredChallengeUserAttributePrefix(),a={};e&&Object.keys(e).forEach(function(t){a[o+t]=e[t]}),a.NEW_PASSWORD=t,a.USERNAME=this.username;var u={ChallengeName:"NEW_PASSWORD_REQUIRED",ClientId:this.pool.getClientId(),ChallengeResponses:a,Session:this.Session,ClientMetadata:r};this.getUserContextData()&&(u.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",u,function(t,e){return t?n.onFailure(t):i.authenticateUserInternal(e,s,n)})},e.getDeviceResponse=function(t,e){var n=this,i=new l.a(this.deviceGroupKey),o=new y.a,a={};a.USERNAME=this.username,a.DEVICE_KEY=this.deviceKey,i.getLargeAValue(function(c,l){c&&t.onFailure(c),a.SRP_A=l.toString(16);var d={ChallengeName:"DEVICE_SRP_AUTH",ClientId:n.pool.getClientId(),ChallengeResponses:a,ClientMetadata:e,Session:n.Session};n.getUserContextData()&&(d.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",d,function(e,a){if(e)return t.onFailure(e);var c=a.ChallengeParameters,l=new f.a(c.SRP_B,16),d=new f.a(c.SALT,16);i.getPasswordAuthenticationKey(n.deviceKey,n.randomPassword,l,d,function(e,i){if(e)return t.onFailure(e);var f=o.getNowString(),l=s.a.lib.WordArray.create(r.Buffer.concat([r.Buffer.from(n.deviceGroupKey,"utf8"),r.Buffer.from(n.deviceKey,"utf8"),r.Buffer.from(c.SECRET_BLOCK,"base64"),r.Buffer.from(f,"utf8")])),d=s.a.lib.WordArray.create(i),g=u.a.stringify(h()(l,d)),p={};p.USERNAME=n.username,p.PASSWORD_CLAIM_SECRET_BLOCK=c.SECRET_BLOCK,p.TIMESTAMP=f,p.PASSWORD_CLAIM_SIGNATURE=g,p.DEVICE_KEY=n.deviceKey;var v={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:n.pool.getClientId(),ChallengeResponses:p,Session:a.Session};n.getUserContextData()&&(v.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",v,function(e,r){return e?t.onFailure(e):(n.signInUserSession=n.getCognitoUserSession(r.AuthenticationResult),n.cacheTokens(),t.onSuccess(n.signInUserSession))})})})})},e.confirmRegistration=function(t,e,n,r){var i={ClientId:this.pool.getClientId(),ConfirmationCode:t,Username:this.username,ForceAliasCreation:e,ClientMetadata:r};this.getUserContextData()&&(i.UserContextData=this.getUserContextData()),this.client.request("ConfirmSignUp",i,function(t){return t?n(t,null):n(null,"SUCCESS")})},e.sendCustomChallengeAnswer=function(t,e,n){var r=this,i={};i.USERNAME=this.username,i.ANSWER=t;var s=new l.a(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(i.DEVICE_KEY=this.deviceKey);var o={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:i,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:n};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",o,function(t,n){return t?e.onFailure(t):r.authenticateUserInternal(n,s,e)})},e.sendMFACode=function(t,e,n,i){var s=this,o={};o.USERNAME=this.username,o.SMS_MFA_CODE=t;var a=n||"SMS_MFA";"SOFTWARE_TOKEN_MFA"===a&&(o.SOFTWARE_TOKEN_MFA_CODE=t),null!=this.deviceKey&&(o.DEVICE_KEY=this.deviceKey);var u={ChallengeName:a,ChallengeResponses:o,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:i};this.getUserContextData()&&(u.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",u,function(t,n){if(t)return e.onFailure(t);if("DEVICE_SRP_AUTH"===n.ChallengeName)return void s.getDeviceResponse(e);if(s.signInUserSession=s.getCognitoUserSession(n.AuthenticationResult),s.cacheTokens(),null==n.AuthenticationResult.NewDeviceMetadata)return e.onSuccess(s.signInUserSession);var i=new l.a(s.pool.getUserPoolName());i.generateHashDevice(n.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,n.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(t){if(t)return e.onFailure(t);var o={Salt:r.Buffer.from(i.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:r.Buffer.from(i.getVerifierDevices(),"hex").toString("base64")};s.verifierDevices=o.PasswordVerifier,s.deviceGroupKey=n.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,s.randomPassword=i.getRandomPassword(),s.client.request("ConfirmDevice",{DeviceKey:n.AuthenticationResult.NewDeviceMetadata.DeviceKey,AccessToken:s.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:o,DeviceName:A},function(t,r){return t?e.onFailure(t):(s.deviceKey=n.AuthenticationResult.NewDeviceMetadata.DeviceKey,s.cacheDeviceKeyAndPassword(),!0===r.UserConfirmationNecessary?e.onSuccess(s.signInUserSession,r.UserConfirmationNecessary):e.onSuccess(s.signInUserSession))})})})},e.changePassword=function(t,e,n,r){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(new Error("User is not authenticated"),null);this.client.request("ChangePassword",{PreviousPassword:t,ProposedPassword:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:r},function(t){return t?n(t,null):n(null,"SUCCESS")})},e.enableMFA=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);var e=[],n={DeliveryMedium:"SMS",AttributeName:"phone_number"};e.push(n),this.client.request("SetUserSettings",{MFAOptions:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?t(e,null):t(null,"SUCCESS")})},e.setUserMfaPreference=function(t,e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(new Error("User is not authenticated"),null);this.client.request("SetUserMFAPreference",{SMSMfaSettings:t,SoftwareTokenMfaSettings:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?n(t,null):n(null,"SUCCESS")})},e.disableMFA=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);var e=[];this.client.request("SetUserSettings",{MFAOptions:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?t(e,null):t(null,"SUCCESS")})},e.deleteUser=function(t,e){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("DeleteUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:e},function(e){return e?t(e,null):(n.clearCachedUser(),t(null,"SUCCESS"))})},e.updateAttributes=function(t,e,n){var r=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("UpdateUserAttributes",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserAttributes:t,ClientMetadata:n},function(t){return t?e(t,null):r.getUserData(function(){return e(null,"SUCCESS")},{bypassCache:!0})})},e.getUserAttributes=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e,n){if(e)return t(e,null);for(var r=[],i=0;i<n.UserAttributes.length;i++){var s={Name:n.UserAttributes[i].Name,Value:n.UserAttributes[i].Value},o=new m.a(s);r.push(o)}return t(null,r)})},e.getMFAOptions=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e,n){return e?t(e,null):t(null,n.MFAOptions)})},e.createGetUserRequest=function(){return this.client.promisifyRequest("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()})},e.refreshSessionIfPossible=function(t){var e=this;return void 0===t&&(t={}),new Promise(function(n){var r=e.signInUserSession.getRefreshToken();r&&r.getToken()?e.refreshSession(r,n,t.clientMetadata):n()})},e.getUserData=function(t,e){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return this.clearCachedUserData(),t(new Error("User is not authenticated"),null);var r=this.getUserDataFromCache();if(!r)return void this.fetchUserData().then(function(e){t(null,e)}).catch(t);if(this.isFetchUserDataAndTokenRequired(e))return void this.fetchUserData().then(function(t){return n.refreshSessionIfPossible(e).then(function(){return t})}).then(function(e){return t(null,e)}).catch(t);try{return void t(null,JSON.parse(r))}catch(e){return this.clearCachedUserData(),void t(e,null)}},e.getUserDataFromCache=function(){return this.storage.getItem(this.userDataKey)},e.isFetchUserDataAndTokenRequired=function(t){var e=t||{},n=e.bypassCache;return void 0!==n&&n},e.fetchUserData=function(){var t=this;return this.createGetUserRequest().then(function(e){return t.cacheUserData(e),e})},e.deleteAttributes=function(t,e){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("DeleteUserAttributes",{UserAttributeNames:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?e(t,null):n.getUserData(function(){return e(null,"SUCCESS")},{bypassCache:!0})})},e.resendConfirmationCode=function(t,e){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:e};this.client.request("ResendConfirmationCode",n,function(e,n){return e?t(e,null):t(null,n)})},e.getSession=function(t,e){if(void 0===e&&(e={}),null==this.username)return t(new Error("Username is null. Cannot retrieve a new session"),null);if(null!=this.signInUserSession&&this.signInUserSession.isValid())return t(null,this.signInUserSession);var n="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,r=n+".idToken",i=n+".accessToken",s=n+".refreshToken",o=n+".clockDrift";if(this.storage.getItem(r)){var a=new g.a({IdToken:this.storage.getItem(r)}),u=new d.a({AccessToken:this.storage.getItem(i)}),c=new p.a({RefreshToken:this.storage.getItem(s)}),h=parseInt(this.storage.getItem(o),0)||0,f={IdToken:a,AccessToken:u,RefreshToken:c,ClockDrift:h},l=new v.a(f);if(l.isValid())return this.signInUserSession=l,t(null,this.signInUserSession);if(!c.getToken())return t(new Error("Cannot retrieve a new session. Please authenticate."),null);this.refreshSession(c,t,e.clientMetadata)}else t(new Error("Local storage is missing an ID Token, Please authenticate"),null)},e.refreshSession=function(t,e,n){var r=this,i=this.pool.wrapRefreshSessionCallback?this.pool.wrapRefreshSessionCallback(e):e,s={};s.REFRESH_TOKEN=t.getToken();var o="CognitoIdentityServiceProvider."+this.pool.getClientId(),a=o+".LastAuthUser";if(this.storage.getItem(a)){this.username=this.storage.getItem(a);var u=o+"."+this.username+".deviceKey";this.deviceKey=this.storage.getItem(u),s.DEVICE_KEY=this.deviceKey}var c={ClientId:this.pool.getClientId(),AuthFlow:"REFRESH_TOKEN_AUTH",AuthParameters:s,ClientMetadata:n};this.getUserContextData()&&(c.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",c,function(e,n){if(e)return"NotAuthorizedException"===e.code&&r.clearCachedUser(),i(e,null);if(n){var s=n.AuthenticationResult;return Object.prototype.hasOwnProperty.call(s,"RefreshToken")||(s.RefreshToken=t.getToken()),r.signInUserSession=r.getCognitoUserSession(s),r.cacheTokens(),i(null,r.signInUserSession)}})},e.cacheTokens=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId(),e=t+"."+this.username+".idToken",n=t+"."+this.username+".accessToken",r=t+"."+this.username+".refreshToken",i=t+"."+this.username+".clockDrift",s=t+".LastAuthUser";this.storage.setItem(e,this.signInUserSession.getIdToken().getJwtToken()),this.storage.setItem(n,this.signInUserSession.getAccessToken().getJwtToken()),this.storage.setItem(r,this.signInUserSession.getRefreshToken().getToken()),this.storage.setItem(i,""+this.signInUserSession.getClockDrift()),this.storage.setItem(s,this.username)},e.cacheUserData=function(t){this.storage.setItem(this.userDataKey,JSON.stringify(t))},e.clearCachedUserData=function(){this.storage.removeItem(this.userDataKey)},e.clearCachedUser=function(){this.clearCachedTokens(),this.clearCachedUserData()},e.cacheDeviceKeyAndPassword=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,e=t+".deviceKey",n=t+".randomPasswordKey",r=t+".deviceGroupKey";this.storage.setItem(e,this.deviceKey),this.storage.setItem(n,this.randomPassword),this.storage.setItem(r,this.deviceGroupKey)},e.getCachedDeviceKeyAndPassword=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,e=t+".deviceKey",n=t+".randomPasswordKey",r=t+".deviceGroupKey";this.storage.getItem(e)&&(this.deviceKey=this.storage.getItem(e),this.randomPassword=this.storage.getItem(n),this.deviceGroupKey=this.storage.getItem(r))},e.clearCachedDeviceKeyAndPassword=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,e=t+".deviceKey",n=t+".randomPasswordKey",r=t+".deviceGroupKey";this.storage.removeItem(e),this.storage.removeItem(n),this.storage.removeItem(r)},e.clearCachedTokens=function(){var t="CognitoIdentityServiceProvider."+this.pool.getClientId(),e=t+"."+this.username+".idToken",n=t+"."+this.username+".accessToken",r=t+"."+this.username+".refreshToken",i=t+".LastAuthUser",s=t+"."+this.username+".clockDrift";this.storage.removeItem(e),this.storage.removeItem(n),this.storage.removeItem(r),this.storage.removeItem(i),this.storage.removeItem(s)},e.getCognitoUserSession=function(t){var e=new g.a(t),n=new d.a(t),r=new p.a(t),i={IdToken:e,AccessToken:n,RefreshToken:r};return new v.a(i)},e.forgotPassword=function(t,e){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:e};this.getUserContextData()&&(n.UserContextData=this.getUserContextData()),this.client.request("ForgotPassword",n,function(e,n){return e?t.onFailure(e):"function"==typeof t.inputVerificationCode?t.inputVerificationCode(n):t.onSuccess(n)})},e.confirmPassword=function(t,e,n,r){var i={ClientId:this.pool.getClientId(),Username:this.username,ConfirmationCode:t,Password:e,ClientMetadata:r};this.getUserContextData()&&(i.UserContextData=this.getUserContextData()),this.client.request("ConfirmForgotPassword",i,function(t){return t?n.onFailure(t):n.onSuccess("SUCCESS")})},e.getAttributeVerificationCode=function(t,e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("GetUserAttributeVerificationCode",{AttributeName:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:n},function(t,n){return t?e.onFailure(t):"function"==typeof e.inputVerificationCode?e.inputVerificationCode(n):e.onSuccess("SUCCESS")})},e.verifyAttribute=function(t,e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(new Error("User is not authenticated"));this.client.request("VerifyUserAttribute",{AttributeName:t,Code:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?n.onFailure(t):n.onSuccess("SUCCESS")})},e.getDevice=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("GetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey},function(e,n){return e?t.onFailure(e):t.onSuccess(n)})},e.forgetSpecificDevice=function(t,e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("ForgetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:t},function(t){return t?e.onFailure(t):e.onSuccess("SUCCESS")})},e.forgetDevice=function(t){var e=this;this.forgetSpecificDevice(this.deviceKey,{onFailure:t.onFailure,onSuccess:function(n){return e.deviceKey=null,e.deviceGroupKey=null,e.randomPassword=null,e.clearCachedDeviceKeyAndPassword(),t.onSuccess(n)}})},e.setDeviceStatusRemembered=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"remembered"},function(e){return e?t.onFailure(e):t.onSuccess("SUCCESS")})},e.setDeviceStatusNotRemembered=function(t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"not_remembered"},function(e){return e?t.onFailure(e):t.onSuccess("SUCCESS")})},e.listDevices=function(t,e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(new Error("User is not authenticated"));var r={AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),Limit:t};e&&(r.PaginationToken=e),this.client.request("ListDevices",r,function(t,e){return t?n.onFailure(t):n.onSuccess(e)})},e.globalSignOut=function(t){var e=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("GlobalSignOut",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(n){return n?t.onFailure(n):(e.clearCachedUser(),t.onSuccess("SUCCESS"))})},e.signOut=function(t){var e=this;if(!t||"function"!=typeof t)return void this.cleanClientData();this.getSession(function(n,r){if(n)return t(n);e.revokeTokens(function(n){e.cleanClientData(),t(n)})})},e.revokeTokens=function(t){if(void 0===t&&(t=function(){}),"function"!=typeof t)throw new Error("Invalid revokeTokenCallback. It should be a function.");if(!this.signInUserSession){return t(new Error("User is not authenticated"))}if(!this.signInUserSession.getAccessToken()){return t(new Error("No Access token available"))}var e=this.signInUserSession.getRefreshToken().getToken(),n=this.signInUserSession.getAccessToken();if(this.isSessionRevocable(n)&&e)return this.revokeToken({token:e,callback:t});t()},e.isSessionRevocable=function(t){if(t&&"function"==typeof t.decodePayload)try{return!!t.decodePayload().origin_jti}catch(t){}return!1},e.cleanClientData=function(){this.signInUserSession=null,this.clearCachedUser()},e.revokeToken=function(t){var e=t.token,n=t.callback;this.client.requestWithRetry("RevokeToken",{Token:e,ClientId:this.pool.getClientId()},function(t){if(t)return n(t);n()})},e.sendMFASelectionAnswer=function(t,e){var n=this,r={};r.USERNAME=this.username,r.ANSWER=t;var i={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:r,ClientId:this.pool.getClientId(),Session:this.Session};this.getUserContextData()&&(i.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",i,function(r,i){return r?e.onFailure(r):(n.Session=i.Session,"SMS_MFA"===t?e.mfaRequired(i.ChallengeName,i.ChallengeParameters):"SOFTWARE_TOKEN_MFA"===t?e.totpRequired(i.ChallengeName,i.ChallengeParameters):void 0)})},e.getUserContextData=function(){return this.pool.getUserContextData(this.username)},e.associateSoftwareToken=function(t){var e=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("AssociateSoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e,n){return e?t.onFailure(e):t.associateSecretCode(n.SecretCode)}):this.client.request("AssociateSoftwareToken",{Session:this.Session},function(n,r){return n?t.onFailure(n):(e.Session=r.Session,t.associateSecretCode(r.SecretCode))})},e.verifySoftwareToken=function(t,e,n){var r=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("VerifySoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserCode:t,FriendlyDeviceName:e},function(t,e){return t?n.onFailure(t):n.onSuccess(e)}):this.client.request("VerifySoftwareToken",{Session:this.Session,UserCode:t,FriendlyDeviceName:e},function(t,e){if(t)return n.onFailure(t);r.Session=e.Session;var i={};i.USERNAME=r.username;var s={ChallengeName:"MFA_SETUP",ClientId:r.pool.getClientId(),ChallengeResponses:i,Session:r.Session};r.getUserContextData()&&(s.UserContextData=r.getUserContextData()),r.client.request("RespondToAuthChallenge",s,function(t,e){return t?n.onFailure(t):(r.signInUserSession=r.getCognitoUserSession(e.AuthenticationResult),r.cacheTokens(),n.onSuccess(r.signInUserSession))})})},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/*!
|
|
20
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
21
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
22
|
+
*/
|
|
23
|
+
var r=function(){function t(t){var e=void 0===t?{}:t,n=e.IdToken,r=e.RefreshToken,i=e.AccessToken,s=e.ClockDrift;if(null==i||null==n)throw new Error("Id token and Access Token must be present.");this.idToken=n,this.refreshToken=r,this.accessToken=i,this.clockDrift=void 0===s?this.calculateClockDrift():s}var e=t.prototype;return e.getIdToken=function(){return this.idToken},e.getRefreshToken=function(){return this.refreshToken},e.getAccessToken=function(){return this.accessToken},e.getClockDrift=function(){return this.clockDrift},e.calculateClockDrift=function(){return Math.floor(new Date/1e3)-Math.min(this.accessToken.getIssuedAt(),this.idToken.getIssuedAt())},e.isValid=function(){var t=Math.floor(new Date/1e3),e=t-this.clockDrift;return e<this.accessToken.getExpiration()&&e<this.idToken.getExpiration()},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});/*!
|
|
24
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
25
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
26
|
+
*/
|
|
27
|
+
var r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=function(){function t(){}return t.prototype.getNowString=function(){var t=new Date,e=i[t.getUTCDay()],n=r[t.getUTCMonth()],s=t.getUTCDate(),o=t.getUTCHours();o<10&&(o="0"+o);var a=t.getUTCMinutes();a<10&&(a="0"+a);var u=t.getUTCSeconds();return u<10&&(u="0"+u),e+" "+n+" "+s+" "+o+":"+a+":"+u+" UTC "+t.getUTCFullYear()},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/*!
|
|
28
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
29
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
30
|
+
*/
|
|
31
|
+
var r=function(){function t(t){var e=void 0===t?{}:t,n=e.Name,r=e.Value;this.Name=n||"",this.Value=r||""}var e=t.prototype;return e.getValue=function(){return this.Value},e.setValue=function(t){return this.Value=t,this},e.getName=function(){return this.Name},e.setName=function(t){return this.Name=t,this},e.toString=function(){return JSON.stringify(this)},e.toJSON=function(){return{Name:this.Name,Value:this.Value}},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});/*!
|
|
32
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
33
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
34
|
+
*/
|
|
35
|
+
var r={},i=function(){function t(){}return t.setItem=function(t,e){return r[t]=e,r[t]},t.getItem=function(t){return Object.prototype.hasOwnProperty.call(r,t)?r[t]:void 0},t.removeItem=function(t){return delete r[t]},t.clear=function(){return r={}},t}(),s=function(){function t(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.cognito.test-ls",1),this.storageWindow.removeItem("aws.cognito.test-ls")}catch(t){this.storageWindow=i}}return t.prototype.getStorage=function(){return this.storageWindow},t}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return e=e||{},new Promise(function(n,r){var i=new XMLHttpRequest,s=[],o=[],a={},u=function(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:u,headers:{keys:function(){return s},entries:function(){return o},get:function(t){return a[t.toLowerCase()]},has:function(t){return t.toLowerCase()in a}}}};for(var c in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(t,e,n){s.push(e=e.toLowerCase()),o.push([e,n]),a[e]=a[e]?a[e]+","+n:n}),n(u())},i.onerror=r,i.withCredentials="include"==e.credentials,e.headers)i.setRequestHeader(c,e.headers[c]);i.send(e.body||null)})}},function(t,e,n){"use strict";function r(){}n.d(e,"a",function(){return s});var i=n(32);r.prototype.userAgent=Object(i.a)();var s=function(t){t&&(r.prototype.userAgent&&!r.prototype.userAgent.includes(t)&&(r.prototype.userAgent=r.prototype.userAgent.concat(" ",t)),r.prototype.userAgent&&""!==r.prototype.userAgent||(r.prototype.userAgent=t))};e.b=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(22);n.d(e,"AuthenticationDetails",function(){return r.a});var i=n(3);n.d(e,"AuthenticationHelper",function(){return i.a});var s=n(10);n.d(e,"CognitoAccessToken",function(){return s.a});var o=n(12);n.d(e,"CognitoIdToken",function(){return o.a});var a=n(13);n.d(e,"CognitoRefreshToken",function(){return a.a});var u=n(14);n.d(e,"CognitoUser",function(){return u.a});var c=n(17);n.d(e,"CognitoUserAttribute",function(){return c.a});var h=n(29);n.d(e,"CognitoUserPool",function(){return h.a});var f=n(15);n.d(e,"CognitoUserSession",function(){return f.a});var l=n(34);n.d(e,"CookieStorage",function(){return l.a});var d=n(16);n.d(e,"DateHelper",function(){return d.a});var g=n(20);n.d(e,"appendToCognitoUserAgent",function(){return g.a});var p=n(8);n.d(e,"WordArray",function(){return p.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return r});/*!
|
|
36
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
37
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
38
|
+
*/
|
|
39
|
+
var r=function(){function t(t){var e=t||{},n=e.ValidationData,r=e.Username,i=e.Password,s=e.AuthParameters,o=e.ClientMetadata;this.validationData=n||{},this.authParameters=s||{},this.clientMetadata=o||{},this.username=r,this.password=i}var e=t.prototype;return e.getUsername=function(){return this.username},e.getPassword=function(){return this.password},e.getValidationData=function(){return this.validationData},e.getAuthParameters=function(){return this.authParameters},e.getClientMetadata=function(){return this.clientMetadata},t}()},function(t,e,n){"use strict";function r(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function i(t){var e=r(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function s(t,e,n){return 3*(e+n)/4-n}function o(t){var e,n,i=r(t),o=i[0],a=i[1],u=new l(s(t,o,a)),c=0,h=a>0?o-4:o;for(n=0;n<h;n+=4)e=f[t.charCodeAt(n)]<<18|f[t.charCodeAt(n+1)]<<12|f[t.charCodeAt(n+2)]<<6|f[t.charCodeAt(n+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;return 2===a&&(e=f[t.charCodeAt(n)]<<2|f[t.charCodeAt(n+1)]>>4,u[c++]=255&e),1===a&&(e=f[t.charCodeAt(n)]<<10|f[t.charCodeAt(n+1)]<<4|f[t.charCodeAt(n+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e),u}function a(t){return h[t>>18&63]+h[t>>12&63]+h[t>>6&63]+h[63&t]}function u(t,e,n){for(var r,i=[],s=e;s<n;s+=3)r=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),i.push(a(r));return i.join("")}function c(t){for(var e,n=t.length,r=n%3,i=[],s=0,o=n-r;s<o;s+=16383)i.push(u(t,s,s+16383>o?o:s+16383));return 1===r?(e=t[n-1],i.push(h[e>>2]+h[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],i.push(h[e>>10]+h[e>>4&63]+h[e<<2&63]+"=")),i.join("")}e.byteLength=i,e.toByteArray=o,e.fromByteArray=c;for(var h=[],f=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,p=d.length;g<p;++g)h[g]=d[g],f[d.charCodeAt(g)]=g;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},function(t,e){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
40
|
+
e.read=function(t,e,n,r,i){var s,o,a=8*i-r-1,u=(1<<a)-1,c=u>>1,h=-7,f=n?i-1:0,l=n?-1:1,d=t[e+f];for(f+=l,s=d&(1<<-h)-1,d>>=-h,h+=a;h>0;s=256*s+t[e+f],f+=l,h-=8);for(o=s&(1<<-h)-1,s>>=-h,h+=r;h>0;o=256*o+t[e+f],f+=l,h-=8);if(0===s)s=1-c;else{if(s===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,r),s-=c}return(d?-1:1)*o*Math.pow(2,s-r)},e.write=function(t,e,n,r,i,s){var o,a,u,c=8*s-i-1,h=(1<<c)-1,f=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:s-1,g=r?1:-1,p=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),e+=o+f>=1?l/u:l*Math.pow(2,1-f),e*u>=2&&(o++,u/=2),o+f>=h?(a=0,o=h):o+f>=1?(a=(e*u-1)*Math.pow(2,i),o+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[n+d]=255&a,d+=g,a/=256,i-=8);for(o=o<<i|a,c+=i;c>0;t[n+d]=255&o,d+=g,o/=256,c-=8);t[n+d-g]|=128*p}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){!function(r,i){t.exports=e=i(n(0))}(0,function(t){!function(){var e=t,n=e.lib,r=n.Base,i=e.enc,s=i.Utf8,o=e.algo;o.HMAC=r.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=s.parse(e));var n=t.blockSize,r=4*n;e.sigBytes>r&&(e=t.finalize(e)),e.clamp();for(var i=this._oKey=e.clone(),o=this._iKey=e.clone(),a=i.words,u=o.words,c=0;c<n;c++)a[c]^=1549556828,u[c]^=909522486;i.sigBytes=o.sigBytes=r,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,n=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(n))}})}()})},function(t,e,n){"use strict";(function(t){function r(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")}e.a=r;var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==t&&t.crypto&&(i=t.crypto),!i)try{i=n(4)}catch(t){}}).call(e,n(2))},function(t,e,n){!function(r,i){t.exports=e=i(n(0))}(0,function(t){return function(){function e(t,e,n){for(var r=[],s=0,o=0;o<e;o++)if(o%4){var a=n[t.charCodeAt(o-1)]<<o%4*2,u=n[t.charCodeAt(o)]>>>6-o%4*2,c=a|u;r[s>>>2]|=c<<24-s%4*8,s++}return i.create(r,s)}var n=t,r=n.lib,i=r.WordArray,s=n.enc;s.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,r=this._map;t.clamp();for(var i=[],s=0;s<n;s+=3)for(var o=e[s>>>2]>>>24-s%4*8&255,a=e[s+1>>>2]>>>24-(s+1)%4*8&255,u=e[s+2>>>2]>>>24-(s+2)%4*8&255,c=o<<16|a<<8|u,h=0;h<4&&s+.75*h<n;h++)i.push(r.charAt(c>>>6*(3-h)&63));var f=r.charAt(64);if(f)for(;i.length%4;)i.push(f);return i.join("")},parse:function(t){var n=t.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s<r.length;s++)i[r.charCodeAt(s)]=s}var o=r.charAt(64);if(o){var a=t.indexOf(o);-1!==a&&(n=a)}return e(t,n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),t.enc.Base64})},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(30),i=n(14),s=n(18),o=55,a=function(){function t(t,e){var n=t||{},i=n.UserPoolId,a=n.ClientId,u=n.endpoint,c=n.fetchOptions,h=n.AdvancedSecurityDataCollectionFlag;if(!i||!a)throw new Error("Both UserPoolId and ClientId are required.");if(i.length>o||!/^[\w-]+_[0-9a-zA-Z]+$/.test(i))throw new Error("Invalid UserPoolId format.");var f=i.split("_")[0];this.userPoolId=i,this.clientId=a,this.client=new r.a(f,u,c),this.advancedSecurityDataCollectionFlag=!1!==h,this.storage=t.Storage||(new s.a).getStorage(),e&&(this.wrapRefreshSessionCallback=e)}var e=t.prototype;return e.getUserPoolId=function(){return this.userPoolId},e.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]},e.getClientId=function(){return this.clientId},e.signUp=function(t,e,n,r,s,o){var a=this,u={ClientId:this.clientId,Username:t,Password:e,UserAttributes:n,ValidationData:r,ClientMetadata:o};this.getUserContextData(t)&&(u.UserContextData=this.getUserContextData(t)),this.client.request("SignUp",u,function(e,n){if(e)return s(e,null);var r={Username:t,Pool:a,Storage:a.storage},o={user:new i.a(r),userConfirmed:n.UserConfirmed,userSub:n.UserSub,codeDeliveryDetails:n.CodeDeliveryDetails};return s(null,o)})},e.getCurrentUser=function(){var t="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",e=this.storage.getItem(t);if(e){var n={Username:e,Pool:this,Storage:this.storage};return new i.a(n)}return null},e.getUserContextData=function(t){if("undefined"!=typeof AmazonCognitoAdvancedSecurityData){var e=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var n=e.getData(t,this.userPoolId,this.clientId);if(n){return{EncodedData:n}}}return{}}},t}()},function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,u(t,e)}function i(t){var e="function"==typeof Map?new Map:void 0;return(i=function(t){function n(){return s(t,arguments,c(this).constructor)}if(null===t||!a(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,t)})(t)}function s(t,e,n){return s=o()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var i=Function.bind.apply(t,r),s=new i;return n&&u(s,n.prototype),s},s.apply(null,arguments)}function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function a(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function u(t,e){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e,n,r){if(void 0===r&&(r=1),"function"!=typeof t)throw Error("functionToRetry must be a function");return y.debug(t.name+" attempt #"+r+" with args: "+JSON.stringify(e)),t.apply(void 0,e).catch(function(i){if(y.debug("error on "+t.name,i),m(i))throw y.debug(t.name+" non retryable error",i),i;var s=n(r,e,i);if(y.debug(t.name+" retrying in "+s+" ms"),!1!==s)return new Promise(function(t){return setTimeout(t,s)}).then(function(){return h(t,e,n,r+1)});throw i})}function f(t){return function(e){var n=100*Math.pow(2,e)+100*Math.random();return!(n>t)&&n}}function l(t,e,n){return void 0===n&&(n=S),h(t,e,f(n))}n.d(e,"a",function(){return v});var d=n(31),g=(n.n(d),n(20)),p=function(t){function e(e,n,r,i){var s;return s=t.call(this,e)||this,s.code=n,s.name=r,s.statusCode=i,s}return r(e,t),e}(i(Error)),v=function(){function t(t,e,n){this.endpoint=e||"https://cognito-idp."+t+".amazonaws.com/";var r=n||{},i=r.credentials;this.fetchOptions=i?{credentials:i}:{}}var e=t.prototype;return e.promisifyRequest=function(t,e){var n=this;return new Promise(function(r,i){n.request(t,e,function(t,e){t?i(new p(t.message,t.code,t.name,t.statusCode)):r(e)})})},e.requestWithRetry=function(t,e,n){var r=this;l(function(e){return new Promise(function(n,i){r.request(t,e,function(t,e){t?i(t):n(e)})})},[e],5e3).then(function(t){return n(null,t)}).catch(function(t){return n(t)})},e.request=function(t,e,n){var r,i,s={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+t,"X-Amz-User-Agent":g.b.prototype.userAgent,"Cache-Control":"no-store"},o=Object.assign({},this.fetchOptions,{headers:s,method:"POST",mode:"cors",body:JSON.stringify(e)});fetch(this.endpoint,o).then(function(t){return r=t,t},function(t){if(t instanceof TypeError)throw new Error("Network error");throw t}).then(function(t){return t.json().catch(function(){return{}})}).then(function(t){if(r.ok)return n(null,t);i=t;var e=(t.__type||t.code).split("#").pop(),s=new Error(t.message||t.Message||null);return s.name=e,s.code=e,n(s)}).catch(function(t){if(r&&r.headers&&r.headers.get("x-amzn-errortype"))try{var e=r.headers.get("x-amzn-errortype").split(":")[0],i=new Error(r.status?r.status.toString():null);return i.code=e,i.name=e,i.statusCode=r.status,n(i)}catch(e){return n(t)}else t instanceof Error&&"Network error"===t.message&&(t.code="NetworkError");return n(t)})},t}(),y={debug:function(){}},m=(Error,function(t){return t&&t.nonRetryable}),S=3e5},function(t,e,n){t.exports=self.fetch||(self.fetch=n(19).default||n(19))},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(33),i="aws-amplify/"+r.a,s={userAgent:i+" js",product:"",navigator:null,isReactNative:!1};if("undefined"!=typeof navigator&&navigator.product)switch(s.product=navigator.product||"",s.navigator=navigator||null,navigator.product){case"ReactNative":s.userAgent=i+" react-native",s.isReactNative=!0;break;default:s.userAgent=i+" js",s.isReactNative=!1}var o=function(){return s.userAgent}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="5.0.4"},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(35),i=(n.n(r),function(){function t(t){if(!t.domain)throw new Error("The domain of cookieStorage can not be undefined.");if(this.domain=t.domain,t.path?this.path=t.path:this.path="/",Object.prototype.hasOwnProperty.call(t,"expires")?this.expires=t.expires:this.expires=365,Object.prototype.hasOwnProperty.call(t,"secure")?this.secure=t.secure:this.secure=!0,Object.prototype.hasOwnProperty.call(t,"sameSite")){if(!["strict","lax","none"].includes(t.sameSite))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===t.sameSite&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=t.sameSite}else this.sameSite=null}var e=t.prototype;return e.setItem=function(t,e){var n={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(n.sameSite=this.sameSite),r.set(t,e,n),r.get(t)},e.getItem=function(t){return r.get(t)},e.removeItem=function(t){var e={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(e.sameSite=this.sameSite),r.remove(t,e)},e.clear=function(){for(var t=r.get(),e=Object.keys(t).length,n=0;n<e;++n)this.removeItem(Object.keys(t)[n]);return{}},t}())},function(t,e,n){var r,i;!function(s){var o;if(r=s,void 0!==(i="function"==typeof r?r.call(e,n,e,t):r)&&(t.exports=i),o=!0,t.exports=s(),o=!0,!o){var a=window.Cookies,u=window.Cookies=s();u.noConflict=function(){return window.Cookies=a,u}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(r){function i(){}function s(e,n,s){if("undefined"!=typeof document){s=t({path:"/"},i.defaults,s),"number"==typeof s.expires&&(s.expires=new Date(1*new Date+864e5*s.expires)),s.expires=s.expires?s.expires.toUTCString():"";try{var o=JSON.stringify(n);/^[\{\[]/.test(o)&&(n=o)}catch(t){}n=r.write?r.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var u in s)s[u]&&(a+="; "+u,!0!==s[u]&&(a+="="+s[u].split(";")[0]));return document.cookie=e+"="+n+a}}function o(t,n){if("undefined"!=typeof document){for(var i={},s=document.cookie?document.cookie.split("; "):[],o=0;o<s.length;o++){var a=s[o].split("="),u=a.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var c=e(a[0]);if(u=(r.read||r)(u,c)||e(u),n)try{u=JSON.parse(u)}catch(t){}if(i[c]=u,t===c)break}catch(t){}}return t?i[t]:i}}return i.set=s,i.get=function(t){return o(t,!1)},i.getJSON=function(t){return o(t,!0)},i.remove=function(e,n){s(e,"",t(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}return n(function(){})})}])});
|
|
Binary file
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { NativeModules } from 'react-native';
|
|
2
|
+
import * as src from './src';
|
|
3
|
+
|
|
4
|
+
import BigInteger from './src/BigInteger';
|
|
5
|
+
|
|
6
|
+
export * from './src';
|
|
7
|
+
|
|
8
|
+
const { RNAWSCognito } = NativeModules;
|
|
9
|
+
|
|
10
|
+
BigInteger.prototype.modPow = function nativeModPow(e, m, callback) {
|
|
11
|
+
RNAWSCognito.computeModPow(
|
|
12
|
+
{
|
|
13
|
+
target: this.toString(16),
|
|
14
|
+
value: e.toString(16),
|
|
15
|
+
modifier: m.toString(16),
|
|
16
|
+
},
|
|
17
|
+
(err, result) => {
|
|
18
|
+
if (err) {
|
|
19
|
+
return callback(new Error(err), null);
|
|
20
|
+
}
|
|
21
|
+
const bigIntResult = new BigInteger(result, 16);
|
|
22
|
+
return callback(null, bigIntResult);
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
src.AuthenticationHelper.prototype.calculateS = function nativeComputeS(
|
|
28
|
+
xValue,
|
|
29
|
+
serverBValue,
|
|
30
|
+
callback
|
|
31
|
+
) {
|
|
32
|
+
RNAWSCognito.computeS(
|
|
33
|
+
{
|
|
34
|
+
g: this.g.toString(16),
|
|
35
|
+
x: xValue.toString(16),
|
|
36
|
+
k: this.k.toString(16),
|
|
37
|
+
a: this.smallAValue.toString(16),
|
|
38
|
+
b: serverBValue.toString(16),
|
|
39
|
+
u: this.UValue.toString(16),
|
|
40
|
+
},
|
|
41
|
+
(err, result) => {
|
|
42
|
+
if (err) {
|
|
43
|
+
return callback(new Error(err), null);
|
|
44
|
+
}
|
|
45
|
+
const bigIntResult = new BigInteger(result, 16);
|
|
46
|
+
return callback(null, bigIntResult);
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
return undefined;
|
|
50
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
/** @class */
|
|
6
|
+
var AuthenticationDetails = /*#__PURE__*/function () {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a new AuthenticationDetails object
|
|
9
|
+
* @param {object=} data Creation options.
|
|
10
|
+
* @param {string} data.Username User being authenticated.
|
|
11
|
+
* @param {string} data.Password Plain-text password to authenticate with.
|
|
12
|
+
* @param {(AttributeArg[])?} data.ValidationData Application extra metadata.
|
|
13
|
+
* @param {(AttributeArg[])?} data.AuthParamaters Authentication paramaters for custom auth.
|
|
14
|
+
*/
|
|
15
|
+
function AuthenticationDetails(data) {
|
|
16
|
+
var _ref = data || {},
|
|
17
|
+
ValidationData = _ref.ValidationData,
|
|
18
|
+
Username = _ref.Username,
|
|
19
|
+
Password = _ref.Password,
|
|
20
|
+
AuthParameters = _ref.AuthParameters,
|
|
21
|
+
ClientMetadata = _ref.ClientMetadata;
|
|
22
|
+
this.validationData = ValidationData || {};
|
|
23
|
+
this.authParameters = AuthParameters || {};
|
|
24
|
+
this.clientMetadata = ClientMetadata || {};
|
|
25
|
+
this.username = Username;
|
|
26
|
+
this.password = Password;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @returns {string} the record's username
|
|
31
|
+
*/
|
|
32
|
+
var _proto = AuthenticationDetails.prototype;
|
|
33
|
+
_proto.getUsername = function getUsername() {
|
|
34
|
+
return this.username;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @returns {string} the record's password
|
|
39
|
+
*/;
|
|
40
|
+
_proto.getPassword = function getPassword() {
|
|
41
|
+
return this.password;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @returns {Array} the record's validationData
|
|
46
|
+
*/;
|
|
47
|
+
_proto.getValidationData = function getValidationData() {
|
|
48
|
+
return this.validationData;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @returns {Array} the record's authParameters
|
|
53
|
+
*/;
|
|
54
|
+
_proto.getAuthParameters = function getAuthParameters() {
|
|
55
|
+
return this.authParameters;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @returns {ClientMetadata} the clientMetadata for a Lambda trigger
|
|
60
|
+
*/;
|
|
61
|
+
_proto.getClientMetadata = function getClientMetadata() {
|
|
62
|
+
return this.clientMetadata;
|
|
63
|
+
};
|
|
64
|
+
return AuthenticationDetails;
|
|
65
|
+
}();
|
|
66
|
+
export { AuthenticationDetails as default };
|