diff --git a/README.md b/README.md
index c72dfcc1..78cf3a31 100644
--- a/README.md
+++ b/README.md
@@ -21,19 +21,20 @@ See [below](#example) the YAML code of the depicted workflow.
**Table of Contents**
-- [Use cases](#use-cases)
- - [Access private resources in your VPC](#access-private-resources-in-your-vpc)
- - [Customize hardware configuration](#customize-hardware-configuration)
- - [Save costs](#save-costs)
-- [Usage](#usage)
- - [How to start](#how-to-start)
- - [Inputs](#inputs)
- - [Environment variables](#environment-variables)
- - [Outputs](#outputs)
- - [Example](#example)
- - [Real user examples](#real-user-examples)
-- [Self-hosted runner security with public repositories](#self-hosted-runner-security-with-public-repositories)
-- [License Summary](#license-summary)
+- [On-demand self-hosted AWS EC2 runner for GitHub Actions](#on-demand-self-hosted-aws-ec2-runner-for-github-actions)
+ - [Use cases](#use-cases)
+ - [Access private resources in your VPC](#access-private-resources-in-your-vpc)
+ - [Customize hardware configuration](#customize-hardware-configuration)
+ - [Save costs](#save-costs)
+ - [Usage](#usage)
+ - [How to start](#how-to-start)
+ - [Inputs](#inputs)
+ - [Environment variables](#environment-variables)
+ - [Outputs](#outputs)
+ - [Example](#example)
+ - [Real user examples](#real-user-examples)
+ - [Self-hosted runner security with public repositories](#self-hosted-runner-security-with-public-repositories)
+ - [License Summary](#license-summary)
## Use cases
@@ -192,7 +193,9 @@ Now you're ready to go!
| Name | Required | Description |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `mode` | Always required. | Specify here which mode you want to use:
- `start` - to start a new runner;
- `stop` - to stop the previously created runner. |
-| `github-token` | Always required. | GitHub Personal Access Token with the `repo` scope assigned. |
+| `github-token` | Either `github-token` or `github-app-private-key` is Always required. | GitHub Personal Access Token with the `repo` scope assigned. | |
+`github-app-private-key` | Either `github-token` or `github-app-private-key` is Always required. | To avoid using a PAT token a Github App with 'repo' scope can be used (https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps) |
+|`github-app-id` | Required if `github-app-private-key` is used. | If using a Github App to generate the token for runner registration, then the Github App Id is needed. |
| `ec2-image-id` | Required if you use the `start` mode. | EC2 Image Id (AMI).
The new runner will be launched from this image.
The action is compatible with Amazon Linux 2 images. |
| `ec2-instance-type` | Required if you use the `start` mode. | EC2 Instance Type. |
| `subnet-id` | Required if you use the `start` mode. | VPC Subnet Id.
The subnet should belong to the same VPC as the specified security group. |
@@ -202,6 +205,7 @@ Now you're ready to go!
| `iam-role-name` | Optional. Used only with the `start` mode. | IAM role name to attach to the created EC2 runner.
This allows the runner to have permissions to run additional actions within the AWS account, without having to manage additional GitHub secrets and AWS users.
Setting this requires additional AWS permissions for the role launching the instance (see above). |
| `aws-resource-tags` | Optional. Used only with the `start` mode. | Specifies tags to add to the EC2 instance and any attached storage.
This field is a stringified JSON array of tag objects, each containing a `Key` and `Value` field (see example below).
Setting this requires additional AWS permissions for the role launching the instance (see above). |
| `runner-home-dir` | Optional. Used only with the `start` mode. | Specifies a directory where pre-installed actions-runner software and scripts are located.
|
+| `leave-ec2-instance-running` | Optional. Used only with the `stop` mode. | When `stop` mode is used only deregister the runner in Github and leave the instace running instead of terminating it.
This is a boolean.
This is useful if you need to debug failures that requires logging into the instance after the workflow completes. The instance can then be manually stopped or terminated after. |
### Environment variables
diff --git a/action.yml b/action.yml
index e5aa6f83..4017a360 100644
--- a/action.yml
+++ b/action.yml
@@ -14,7 +14,16 @@ inputs:
github-token:
description: >-
GitHub Personal Access Token with the 'repo' scope assigned.
- required: true
+ required: false
+ github-app-private-key:
+ description: >-
+ To avoid using a PAT token a Github App with 'repo' scope can be used.
+ https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps
+ required: false
+ github-app-id:
+ description: >-
+ If using a Github App to generate the token for runner registration, then the Github App Id is needed.
+ required: false
ec2-image-id:
description: >-
EC2 Image Id (AMI). The new runner will be launched from this image.
@@ -74,6 +83,11 @@ inputs:
./svc.sh start
required: false
default: 'root'
+ leave-ec2-instance-running:
+ description: >-
+ When stop mode is used only deregister the runner in Github and leave the instace running instead of terminating it.
+ required: false
+ default: false
outputs:
label:
description: >-
diff --git a/dist/index.js b/dist/index.js
index 54884ff8..bdaed805 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,9 +1,8 @@
-module.exports =
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
-/***/ 87351:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 44914:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -28,8 +27,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.issue = exports.issueCommand = void 0;
-const os = __importStar(__webpack_require__(12087));
-const utils_1 = __webpack_require__(5278);
+const os = __importStar(__nccwpck_require__(70857));
+const utils_1 = __nccwpck_require__(30302);
/**
* Commands
*
@@ -101,8 +100,8 @@ function escapeProperty(s) {
/***/ }),
-/***/ 42186:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 37484:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -136,12 +135,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
-const command_1 = __webpack_require__(87351);
-const file_command_1 = __webpack_require__(717);
-const utils_1 = __webpack_require__(5278);
-const os = __importStar(__webpack_require__(12087));
-const path = __importStar(__webpack_require__(85622));
-const oidc_utils_1 = __webpack_require__(98041);
+const command_1 = __nccwpck_require__(44914);
+const file_command_1 = __nccwpck_require__(24753);
+const utils_1 = __nccwpck_require__(30302);
+const os = __importStar(__nccwpck_require__(70857));
+const path = __importStar(__nccwpck_require__(16928));
+const oidc_utils_1 = __nccwpck_require__(35306);
/**
* The code to exit an action
*/
@@ -426,17 +425,17 @@ exports.getIDToken = getIDToken;
/**
* Summary exports
*/
-var summary_1 = __webpack_require__(81327);
+var summary_1 = __nccwpck_require__(71847);
Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } }));
/**
* @deprecated use core.summary
*/
-var summary_2 = __webpack_require__(81327);
+var summary_2 = __nccwpck_require__(71847);
Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } }));
/**
* Path exports
*/
-var path_utils_1 = __webpack_require__(2981);
+var path_utils_1 = __nccwpck_require__(31976);
Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } }));
Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } }));
Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }));
@@ -444,8 +443,8 @@ Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: funct
/***/ }),
-/***/ 717:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 24753:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -473,10 +472,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.prepareKeyValueMessage = exports.issueFileCommand = void 0;
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
-const fs = __importStar(__webpack_require__(35747));
-const os = __importStar(__webpack_require__(12087));
-const uuid_1 = __webpack_require__(4552);
-const utils_1 = __webpack_require__(5278);
+const fs = __importStar(__nccwpck_require__(79896));
+const os = __importStar(__nccwpck_require__(70857));
+const uuid_1 = __nccwpck_require__(12048);
+const utils_1 = __nccwpck_require__(30302);
function issueFileCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
@@ -509,8 +508,8 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage;
/***/ }),
-/***/ 98041:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 35306:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -525,9 +524,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.OidcClient = void 0;
-const http_client_1 = __webpack_require__(96255);
-const auth_1 = __webpack_require__(35526);
-const core_1 = __webpack_require__(42186);
+const http_client_1 = __nccwpck_require__(54844);
+const auth_1 = __nccwpck_require__(44552);
+const core_1 = __nccwpck_require__(37484);
class OidcClient {
static createHttpClient(allowRetry = true, maxRetry = 10) {
const requestOptions = {
@@ -593,8 +592,8 @@ exports.OidcClient = OidcClient;
/***/ }),
-/***/ 2981:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 31976:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -619,7 +618,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;
-const path = __importStar(__webpack_require__(85622));
+const path = __importStar(__nccwpck_require__(16928));
/**
* toPosixPath converts the given path to the posix form. On Windows, \\ will be
* replaced with /.
@@ -658,8 +657,8 @@ exports.toPlatformPath = toPlatformPath;
/***/ }),
-/***/ 81327:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 71847:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -674,8 +673,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;
-const os_1 = __webpack_require__(12087);
-const fs_1 = __webpack_require__(35747);
+const os_1 = __nccwpck_require__(70857);
+const fs_1 = __nccwpck_require__(79896);
const { access, appendFile, writeFile } = fs_1.promises;
exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';
exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';
@@ -948,7 +947,7 @@ exports.summary = _summary;
/***/ }),
-/***/ 5278:
+/***/ 30302:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -995,15 +994,15 @@ exports.toCommandProperties = toCommandProperties;
/***/ }),
-/***/ 74087:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 51648:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.Context = void 0;
-const fs_1 = __webpack_require__(35747);
-const os_1 = __webpack_require__(12087);
+const fs_1 = __nccwpck_require__(79896);
+const os_1 = __nccwpck_require__(70857);
class Context {
/**
* Hydrate the context from the environment
@@ -1052,8 +1051,8 @@ exports.Context = Context;
/***/ }),
-/***/ 95438:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 93228:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1078,8 +1077,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getOctokit = exports.context = void 0;
-const Context = __importStar(__webpack_require__(74087));
-const utils_1 = __webpack_require__(73030);
+const Context = __importStar(__nccwpck_require__(51648));
+const utils_1 = __nccwpck_require__(38006);
exports.context = new Context.Context();
/**
* Returns a hydrated octokit ready to use for GitHub Actions
@@ -1095,8 +1094,8 @@ exports.getOctokit = getOctokit;
/***/ }),
-/***/ 47914:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 65156:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1121,7 +1120,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0;
-const httpClient = __importStar(__webpack_require__(70893));
+const httpClient = __importStar(__nccwpck_require__(84939));
function getAuthString(token, options) {
if (!token && !options.auth) {
throw new Error('Parameter token or opts.auth is required');
@@ -1145,8 +1144,8 @@ exports.getApiBaseUrl = getApiBaseUrl;
/***/ }),
-/***/ 73030:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 38006:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1171,12 +1170,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getOctokitOptions = exports.GitHub = exports.context = void 0;
-const Context = __importStar(__webpack_require__(74087));
-const Utils = __importStar(__webpack_require__(47914));
+const Context = __importStar(__nccwpck_require__(51648));
+const Utils = __importStar(__nccwpck_require__(65156));
// octokit + plugins
-const core_1 = __webpack_require__(76762);
-const plugin_rest_endpoint_methods_1 = __webpack_require__(83044);
-const plugin_paginate_rest_1 = __webpack_require__(64193);
+const core_1 = __nccwpck_require__(61897);
+const plugin_rest_endpoint_methods_1 = __nccwpck_require__(84935);
+const plugin_paginate_rest_1 = __nccwpck_require__(38082);
exports.context = new Context.Context();
const baseUrl = Utils.getApiBaseUrl();
const defaults = {
@@ -1206,15 +1205,15 @@ exports.getOctokitOptions = getOctokitOptions;
/***/ }),
-/***/ 70893:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 84939:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({ value: true }));
-const http = __webpack_require__(98605);
-const https = __webpack_require__(57211);
-const pm = __webpack_require__(80211);
+const http = __nccwpck_require__(58611);
+const https = __nccwpck_require__(65692);
+const pm = __nccwpck_require__(24759);
let tunnel;
var HttpCodes;
(function (HttpCodes) {
@@ -1633,7 +1632,7 @@ class HttpClient {
if (useProxy) {
// If using proxy, need tunnel
if (!tunnel) {
- tunnel = __webpack_require__(74294);
+ tunnel = __nccwpck_require__(20770);
}
const agentOptions = {
maxSockets: maxSockets,
@@ -1751,7 +1750,7 @@ exports.HttpClient = HttpClient;
/***/ }),
-/***/ 80211:
+/***/ 24759:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -1816,7 +1815,7 @@ exports.checkBypass = checkBypass;
/***/ }),
-/***/ 35526:
+/***/ 44552:
/***/ (function(__unused_webpack_module, exports) {
"use strict";
@@ -1904,8 +1903,8 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand
/***/ }),
-/***/ 96255:
-/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+/***/ 54844:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
@@ -1940,10 +1939,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;
-const http = __importStar(__webpack_require__(98605));
-const https = __importStar(__webpack_require__(57211));
-const pm = __importStar(__webpack_require__(19835));
-const tunnel = __importStar(__webpack_require__(74294));
+const http = __importStar(__nccwpck_require__(58611));
+const https = __importStar(__nccwpck_require__(65692));
+const pm = __importStar(__nccwpck_require__(54988));
+const tunnel = __importStar(__nccwpck_require__(20770));
var HttpCodes;
(function (HttpCodes) {
HttpCodes[HttpCodes["OK"] = 200] = "OK";
@@ -2516,7 +2515,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa
/***/ }),
-/***/ 19835:
+/***/ 54988:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -2584,7 +2583,7 @@ exports.checkBypass = checkBypass;
/***/ }),
-/***/ 40334:
+/***/ 77864:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -2647,19 +2646,19 @@ exports.createTokenAuth = createTokenAuth;
/***/ }),
-/***/ 76762:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 61897:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({ value: true }));
-var universalUserAgent = __webpack_require__(45030);
-var beforeAfterHook = __webpack_require__(83682);
-var request = __webpack_require__(36234);
-var graphql = __webpack_require__(88467);
-var authToken = __webpack_require__(40334);
+var universalUserAgent = __nccwpck_require__(33843);
+var beforeAfterHook = __nccwpck_require__(52732);
+var request = __nccwpck_require__(66255);
+var graphql = __nccwpck_require__(70007);
+var authToken = __nccwpck_require__(77864);
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
@@ -2831,16 +2830,16 @@ exports.Octokit = Octokit;
/***/ }),
-/***/ 59440:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 54471:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({ value: true }));
-var isPlainObject = __webpack_require__(63287);
-var universalUserAgent = __webpack_require__(45030);
+var isPlainObject = __nccwpck_require__(93407);
+var universalUserAgent = __nccwpck_require__(33843);
function lowercaseKeys(object) {
if (!object) {
@@ -3229,16 +3228,16 @@ exports.endpoint = endpoint;
/***/ }),
-/***/ 88467:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 70007:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({ value: true }));
-var request = __webpack_require__(36234);
-var universalUserAgent = __webpack_require__(45030);
+var request = __nccwpck_require__(66255);
+var universalUserAgent = __nccwpck_require__(33843);
const VERSION = "4.8.0";
@@ -3355,7 +3354,7 @@ exports.withCustomRequest = withCustomRequest;
/***/ }),
-/***/ 64193:
+/***/ 38082:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -3568,7 +3567,7 @@ exports.paginatingEndpoints = paginatingEndpoints;
/***/ }),
-/***/ 83044:
+/***/ 84935:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -4805,8 +4804,8 @@ exports.restEndpointMethods = restEndpointMethods;
/***/ }),
-/***/ 10537:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 93708:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -4815,8 +4814,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
-var deprecation = __webpack_require__(58932);
-var once = _interopDefault(__webpack_require__(1223));
+var deprecation = __nccwpck_require__(14150);
+var once = _interopDefault(__nccwpck_require__(55560));
const logOnceCode = once(deprecation => console.warn(deprecation));
const logOnceHeaders = once(deprecation => console.warn(deprecation));
@@ -4887,8 +4886,8 @@ exports.RequestError = RequestError;
/***/ }),
-/***/ 36234:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 66255:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -4897,11 +4896,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
-var endpoint = __webpack_require__(59440);
-var universalUserAgent = __webpack_require__(45030);
-var isPlainObject = __webpack_require__(63287);
-var nodeFetch = _interopDefault(__webpack_require__(80467));
-var requestError = __webpack_require__(10537);
+var endpoint = __nccwpck_require__(54471);
+var universalUserAgent = __nccwpck_require__(33843);
+var isPlainObject = __nccwpck_require__(93407);
+var nodeFetch = _interopDefault(__nccwpck_require__(26705));
+var requestError = __nccwpck_require__(93708);
const VERSION = "5.6.3";
@@ -5072,11 +5071,452 @@ exports.request = request;
/***/ }),
-/***/ 20940:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 31324:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+module.exports =
+{
+ parallel : __nccwpck_require__(83857),
+ serial : __nccwpck_require__(31054),
+ serialOrdered : __nccwpck_require__(53961)
+};
+
+
+/***/ }),
+
+/***/ 24818:
+/***/ ((module) => {
+
+// API
+module.exports = abort;
+
+/**
+ * Aborts leftover active jobs
+ *
+ * @param {object} state - current state object
+ */
+function abort(state)
+{
+ Object.keys(state.jobs).forEach(clean.bind(state));
+
+ // reset leftover jobs
+ state.jobs = {};
+}
+
+/**
+ * Cleans up leftover job by invoking abort function for the provided job id
+ *
+ * @this state
+ * @param {string|number} key - job id to abort
+ */
+function clean(key)
+{
+ if (typeof this.jobs[key] == 'function')
+ {
+ this.jobs[key]();
+ }
+}
+
+
+/***/ }),
+
+/***/ 78452:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var defer = __nccwpck_require__(29200);
+
+// API
+module.exports = async;
+
+/**
+ * Runs provided callback asynchronously
+ * even if callback itself is not
+ *
+ * @param {function} callback - callback to invoke
+ * @returns {function} - augmented callback
+ */
+function async(callback)
+{
+ var isAsync = false;
+
+ // check if async happened
+ defer(function() { isAsync = true; });
+
+ return function async_callback(err, result)
+ {
+ if (isAsync)
+ {
+ callback(err, result);
+ }
+ else
+ {
+ defer(function nextTick_callback()
+ {
+ callback(err, result);
+ });
+ }
+ };
+}
+
+
+/***/ }),
+
+/***/ 29200:
+/***/ ((module) => {
+
+module.exports = defer;
+
+/**
+ * Runs provided function on next iteration of the event loop
+ *
+ * @param {function} fn - function to run
+ */
+function defer(fn)
+{
+ var nextTick = typeof setImmediate == 'function'
+ ? setImmediate
+ : (
+ typeof process == 'object' && typeof process.nextTick == 'function'
+ ? process.nextTick
+ : null
+ );
+
+ if (nextTick)
+ {
+ nextTick(fn);
+ }
+ else
+ {
+ setTimeout(fn, 0);
+ }
+}
+
+
+/***/ }),
+
+/***/ 24902:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var async = __nccwpck_require__(78452)
+ , abort = __nccwpck_require__(24818)
+ ;
+
+// API
+module.exports = iterate;
+
+/**
+ * Iterates over each job object
+ *
+ * @param {array|object} list - array or object (named list) to iterate over
+ * @param {function} iterator - iterator to run
+ * @param {object} state - current job status
+ * @param {function} callback - invoked when all elements processed
+ */
+function iterate(list, iterator, state, callback)
+{
+ // store current index
+ var key = state['keyedList'] ? state['keyedList'][state.index] : state.index;
+
+ state.jobs[key] = runJob(iterator, key, list[key], function(error, output)
+ {
+ // don't repeat yourself
+ // skip secondary callbacks
+ if (!(key in state.jobs))
+ {
+ return;
+ }
+
+ // clean up jobs
+ delete state.jobs[key];
+
+ if (error)
+ {
+ // don't process rest of the results
+ // stop still active jobs
+ // and reset the list
+ abort(state);
+ }
+ else
+ {
+ state.results[key] = output;
+ }
+
+ // return salvaged results
+ callback(error, state.results);
+ });
+}
+
+/**
+ * Runs iterator over provided job element
+ *
+ * @param {function} iterator - iterator to invoke
+ * @param {string|number} key - key/index of the element in the list of jobs
+ * @param {mixed} item - job description
+ * @param {function} callback - invoked after iterator is done with the job
+ * @returns {function|mixed} - job abort function or something else
+ */
+function runJob(iterator, key, item, callback)
+{
+ var aborter;
+
+ // allow shortcut if iterator expects only two arguments
+ if (iterator.length == 2)
+ {
+ aborter = iterator(item, async(callback));
+ }
+ // otherwise go with full three arguments
+ else
+ {
+ aborter = iterator(item, key, async(callback));
+ }
+
+ return aborter;
+}
+
+
+/***/ }),
+
+/***/ 81721:
+/***/ ((module) => {
+
+// API
+module.exports = state;
+
+/**
+ * Creates initial state object
+ * for iteration over list
+ *
+ * @param {array|object} list - list to iterate over
+ * @param {function|null} sortMethod - function to use for keys sort,
+ * or `null` to keep them as is
+ * @returns {object} - initial state object
+ */
+function state(list, sortMethod)
+{
+ var isNamedList = !Array.isArray(list)
+ , initState =
+ {
+ index : 0,
+ keyedList: isNamedList || sortMethod ? Object.keys(list) : null,
+ jobs : {},
+ results : isNamedList ? {} : [],
+ size : isNamedList ? Object.keys(list).length : list.length
+ }
+ ;
+
+ if (sortMethod)
+ {
+ // sort array keys based on it's values
+ // sort object's keys just on own merit
+ initState.keyedList.sort(isNamedList ? sortMethod : function(a, b)
+ {
+ return sortMethod(list[a], list[b]);
+ });
+ }
+
+ return initState;
+}
+
+
+/***/ }),
+
+/***/ 33351:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var abort = __nccwpck_require__(24818)
+ , async = __nccwpck_require__(78452)
+ ;
+
+// API
+module.exports = terminator;
+
+/**
+ * Terminates jobs in the attached state context
+ *
+ * @this AsyncKitState#
+ * @param {function} callback - final callback to invoke after termination
+ */
+function terminator(callback)
+{
+ if (!Object.keys(this.jobs).length)
+ {
+ return;
+ }
+
+ // fast forward iteration index
+ this.index = this.size;
+
+ // abort jobs
+ abort(this);
+
+ // send back results we have so far
+ async(callback)(null, this.results);
+}
+
+
+/***/ }),
+
+/***/ 83857:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var iterate = __nccwpck_require__(24902)
+ , initState = __nccwpck_require__(81721)
+ , terminator = __nccwpck_require__(33351)
+ ;
+
+// Public API
+module.exports = parallel;
+
+/**
+ * Runs iterator over provided array elements in parallel
+ *
+ * @param {array|object} list - array or object (named list) to iterate over
+ * @param {function} iterator - iterator to run
+ * @param {function} callback - invoked when all elements processed
+ * @returns {function} - jobs terminator
+ */
+function parallel(list, iterator, callback)
+{
+ var state = initState(list);
+
+ while (state.index < (state['keyedList'] || list).length)
+ {
+ iterate(list, iterator, state, function(error, result)
+ {
+ if (error)
+ {
+ callback(error, result);
+ return;
+ }
+
+ // looks like it's the last one
+ if (Object.keys(state.jobs).length === 0)
+ {
+ callback(null, state.results);
+ return;
+ }
+ });
+
+ state.index++;
+ }
+
+ return terminator.bind(state, callback);
+}
+
+
+/***/ }),
+
+/***/ 31054:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var serialOrdered = __nccwpck_require__(53961);
+
+// Public API
+module.exports = serial;
+
+/**
+ * Runs iterator over provided array elements in series
+ *
+ * @param {array|object} list - array or object (named list) to iterate over
+ * @param {function} iterator - iterator to run
+ * @param {function} callback - invoked when all elements processed
+ * @returns {function} - jobs terminator
+ */
+function serial(list, iterator, callback)
+{
+ return serialOrdered(list, iterator, null, callback);
+}
+
+
+/***/ }),
+
+/***/ 53961:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var iterate = __nccwpck_require__(24902)
+ , initState = __nccwpck_require__(81721)
+ , terminator = __nccwpck_require__(33351)
+ ;
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+// Public API
+module.exports = serialOrdered;
+// sorting helpers
+module.exports.ascending = ascending;
+module.exports.descending = descending;
+
+/**
+ * Runs iterator over provided sorted array elements in series
+ *
+ * @param {array|object} list - array or object (named list) to iterate over
+ * @param {function} iterator - iterator to run
+ * @param {function} sortMethod - custom sort function
+ * @param {function} callback - invoked when all elements processed
+ * @returns {function} - jobs terminator
+ */
+function serialOrdered(list, iterator, sortMethod, callback)
+{
+ var state = initState(list, sortMethod);
+
+ iterate(list, iterator, state, function iteratorHandler(error, result)
+ {
+ if (error)
+ {
+ callback(error, result);
+ return;
+ }
+
+ state.index++;
+
+ // are we there yet?
+ if (state.index < (state['keyedList'] || list).length)
+ {
+ iterate(list, iterator, state, iteratorHandler);
+ return;
+ }
+
+ // done here
+ callback(null, state.results);
+ });
+
+ return terminator.bind(state, callback);
+}
+
+/*
+ * -- Sort methods
+ */
+
+/**
+ * sort helper to sort array elements in ascending order
+ *
+ * @param {mixed} a - an item to compare
+ * @param {mixed} b - an item to compare
+ * @returns {number} - comparison result
+ */
+function ascending(a, b)
+{
+ return a < b ? -1 : a > b ? 1 : 0;
+}
+
+/**
+ * sort helper to sort array elements in descending order
+ *
+ * @param {mixed} a - an item to compare
+ * @param {mixed} b - an item to compare
+ * @returns {number} - comparison result
+ */
+function descending(a, b)
+{
+ return -1 * ascending(a, b);
+}
+
+
+/***/ }),
+
+/***/ 29711:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5084,8 +5524,8 @@ apiLoader.services['accessanalyzer'] = {};
AWS.AccessAnalyzer = Service.defineService('accessanalyzer', ['2019-11-01']);
Object.defineProperty(apiLoader.services['accessanalyzer'], '2019-11-01', {
get: function get() {
- var model = __webpack_require__(24955);
- model.paginators = __webpack_require__(7997)/* .pagination */ .o;
+ var model = __nccwpck_require__(80204);
+ model.paginators = (__nccwpck_require__(88104)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5097,11 +5537,11 @@ module.exports = AWS.AccessAnalyzer;
/***/ }),
-/***/ 20234:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 63604:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5109,8 +5549,8 @@ apiLoader.services['account'] = {};
AWS.Account = Service.defineService('account', ['2021-02-01']);
Object.defineProperty(apiLoader.services['account'], '2021-02-01', {
get: function get() {
- var model = __webpack_require__(25870);
- model.paginators = __webpack_require__(69544)/* .pagination */ .o;
+ var model = __nccwpck_require__(1746);
+ model.paginators = (__nccwpck_require__(28434)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5122,11 +5562,11 @@ module.exports = AWS.Account;
/***/ }),
-/***/ 30838:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 10996:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5134,9 +5574,9 @@ apiLoader.services['acm'] = {};
AWS.ACM = Service.defineService('acm', ['2015-12-08']);
Object.defineProperty(apiLoader.services['acm'], '2015-12-08', {
get: function get() {
- var model = __webpack_require__(22335);
- model.paginators = __webpack_require__(63763)/* .pagination */ .o;
- model.waiters = __webpack_require__(12336)/* .waiters */ .V;
+ var model = __nccwpck_require__(17145);
+ model.paginators = (__nccwpck_require__(92483)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(24800)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -5148,11 +5588,11 @@ module.exports = AWS.ACM;
/***/ }),
-/***/ 18450:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87850:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5160,9 +5600,9 @@ apiLoader.services['acmpca'] = {};
AWS.ACMPCA = Service.defineService('acmpca', ['2017-08-22']);
Object.defineProperty(apiLoader.services['acmpca'], '2017-08-22', {
get: function get() {
- var model = __webpack_require__(2794);
- model.paginators = __webpack_require__(92031)/* .pagination */ .o;
- model.waiters = __webpack_require__(50728)/* .waiters */ .V;
+ var model = __nccwpck_require__(62337);
+ model.paginators = (__nccwpck_require__(10011)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(58232)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -5174,365 +5614,405 @@ module.exports = AWS.ACMPCA;
/***/ }),
-/***/ 14578:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['alexaforbusiness'] = {};
-AWS.AlexaForBusiness = Service.defineService('alexaforbusiness', ['2017-11-09']);
-Object.defineProperty(apiLoader.services['alexaforbusiness'], '2017-11-09', {
- get: function get() {
- var model = __webpack_require__(4946);
- model.paginators = __webpack_require__(74967)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AlexaForBusiness;
-
-
-/***/ }),
-
-/***/ 26296:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 91984:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
+__nccwpck_require__(84902);
module.exports = {
- ACM: __webpack_require__(30838),
- APIGateway: __webpack_require__(91759),
- ApplicationAutoScaling: __webpack_require__(25598),
- AppStream: __webpack_require__(21730),
- AutoScaling: __webpack_require__(31652),
- Batch: __webpack_require__(10000),
- Budgets: __webpack_require__(43923),
- CloudDirectory: __webpack_require__(56231),
- CloudFormation: __webpack_require__(74643),
- CloudFront: __webpack_require__(48058),
- CloudHSM: __webpack_require__(10569),
- CloudSearch: __webpack_require__(72321),
- CloudSearchDomain: __webpack_require__(64072),
- CloudTrail: __webpack_require__(65512),
- CloudWatch: __webpack_require__(6763),
- CloudWatchEvents: __webpack_require__(38124),
- CloudWatchLogs: __webpack_require__(96693),
- CodeBuild: __webpack_require__(60450),
- CodeCommit: __webpack_require__(71323),
- CodeDeploy: __webpack_require__(54599),
- CodePipeline: __webpack_require__(22938),
- CognitoIdentity: __webpack_require__(58291),
- CognitoIdentityServiceProvider: __webpack_require__(31379),
- CognitoSync: __webpack_require__(74770),
- ConfigService: __webpack_require__(34061),
- CUR: __webpack_require__(5026),
- DataPipeline: __webpack_require__(65688),
- DeviceFarm: __webpack_require__(26272),
- DirectConnect: __webpack_require__(73783),
- DirectoryService: __webpack_require__(83908),
- Discovery: __webpack_require__(81690),
- DMS: __webpack_require__(69868),
- DynamoDB: __webpack_require__(14347),
- DynamoDBStreams: __webpack_require__(88090),
- EC2: __webpack_require__(7778),
- ECR: __webpack_require__(15211),
- ECS: __webpack_require__(16615),
- EFS: __webpack_require__(34375),
- ElastiCache: __webpack_require__(81065),
- ElasticBeanstalk: __webpack_require__(14897),
- ELB: __webpack_require__(10907),
- ELBv2: __webpack_require__(44311),
- EMR: __webpack_require__(50470),
- ES: __webpack_require__(84462),
- ElasticTranscoder: __webpack_require__(40745),
- Firehose: __webpack_require__(92831),
- GameLift: __webpack_require__(8085),
- Glacier: __webpack_require__(63249),
- Health: __webpack_require__(21834),
- IAM: __webpack_require__(50058),
- ImportExport: __webpack_require__(6769),
- Inspector: __webpack_require__(89439),
- Iot: __webpack_require__(98392),
- IotData: __webpack_require__(6564),
- Kinesis: __webpack_require__(49876),
- KinesisAnalytics: __webpack_require__(90042),
- KMS: __webpack_require__(56782),
- Lambda: __webpack_require__(13321),
- LexRuntime: __webpack_require__(62716),
- Lightsail: __webpack_require__(22718),
- MachineLearning: __webpack_require__(82907),
- MarketplaceCommerceAnalytics: __webpack_require__(4540),
- MarketplaceMetering: __webpack_require__(39297),
- MTurk: __webpack_require__(79954),
- MobileAnalytics: __webpack_require__(66690),
- OpsWorks: __webpack_require__(75691),
- OpsWorksCM: __webpack_require__(80388),
- Organizations: __webpack_require__(44670),
- Pinpoint: __webpack_require__(18388),
- Polly: __webpack_require__(97332),
- RDS: __webpack_require__(71578),
- Redshift: __webpack_require__(84853),
- Rekognition: __webpack_require__(65470),
- ResourceGroupsTaggingAPI: __webpack_require__(7385),
- Route53: __webpack_require__(44968),
- Route53Domains: __webpack_require__(51994),
- S3: __webpack_require__(83256),
- S3Control: __webpack_require__(99817),
- ServiceCatalog: __webpack_require__(822),
- SES: __webpack_require__(46816),
- Shield: __webpack_require__(20271),
- SimpleDB: __webpack_require__(10120),
- SMS: __webpack_require__(57719),
- Snowball: __webpack_require__(510),
- SNS: __webpack_require__(28581),
- SQS: __webpack_require__(63172),
- SSM: __webpack_require__(83380),
- StorageGateway: __webpack_require__(89190),
- StepFunctions: __webpack_require__(8136),
- STS: __webpack_require__(57513),
- Support: __webpack_require__(1099),
- SWF: __webpack_require__(32327),
- XRay: __webpack_require__(41548),
- WAF: __webpack_require__(72742),
- WAFRegional: __webpack_require__(23153),
- WorkDocs: __webpack_require__(38835),
- WorkSpaces: __webpack_require__(25513),
- CodeStar: __webpack_require__(98336),
- LexModelBuildingService: __webpack_require__(37397),
- MarketplaceEntitlementService: __webpack_require__(53707),
- Athena: __webpack_require__(29434),
- Greengrass: __webpack_require__(20690),
- DAX: __webpack_require__(71398),
- MigrationHub: __webpack_require__(14688),
- CloudHSMV2: __webpack_require__(70889),
- Glue: __webpack_require__(31658),
- Mobile: __webpack_require__(39782),
- Pricing: __webpack_require__(92765),
- CostExplorer: __webpack_require__(79523),
- MediaConvert: __webpack_require__(57220),
- MediaLive: __webpack_require__(7509),
- MediaPackage: __webpack_require__(91620),
- MediaStore: __webpack_require__(83748),
- MediaStoreData: __webpack_require__(98703),
- AppSync: __webpack_require__(12402),
- GuardDuty: __webpack_require__(40755),
- MQ: __webpack_require__(23093),
- Comprehend: __webpack_require__(62878),
- IoTJobsDataPlane: __webpack_require__(42332),
- KinesisVideoArchivedMedia: __webpack_require__(5580),
- KinesisVideoMedia: __webpack_require__(81308),
- KinesisVideo: __webpack_require__(89927),
- SageMakerRuntime: __webpack_require__(85044),
- SageMaker: __webpack_require__(77657),
- Translate: __webpack_require__(72544),
- ResourceGroups: __webpack_require__(58756),
- AlexaForBusiness: __webpack_require__(14578),
- Cloud9: __webpack_require__(85473),
- ServerlessApplicationRepository: __webpack_require__(62402),
- ServiceDiscovery: __webpack_require__(91569),
- WorkMail: __webpack_require__(38374),
- AutoScalingPlans: __webpack_require__(2554),
- TranscribeService: __webpack_require__(75811),
- Connect: __webpack_require__(13879),
- ACMPCA: __webpack_require__(18450),
- FMS: __webpack_require__(11316),
- SecretsManager: __webpack_require__(85131),
- IoTAnalytics: __webpack_require__(67409),
- IoT1ClickDevicesService: __webpack_require__(39474),
- IoT1ClickProjects: __webpack_require__(4686),
- PI: __webpack_require__(15505),
- Neptune: __webpack_require__(30047),
- MediaTailor: __webpack_require__(99658),
- EKS: __webpack_require__(23337),
- Macie: __webpack_require__(86427),
- DLM: __webpack_require__(24958),
- Signer: __webpack_require__(71596),
- Chime: __webpack_require__(84646),
- PinpointEmail: __webpack_require__(83060),
- RAM: __webpack_require__(94394),
- Route53Resolver: __webpack_require__(25894),
- PinpointSMSVoice: __webpack_require__(46605),
- QuickSight: __webpack_require__(29898),
- RDSDataService: __webpack_require__(30147),
- Amplify: __webpack_require__(38090),
- DataSync: __webpack_require__(15472),
- RoboMaker: __webpack_require__(18068),
- Transfer: __webpack_require__(51585),
- GlobalAccelerator: __webpack_require__(19306),
- ComprehendMedical: __webpack_require__(32349),
- KinesisAnalyticsV2: __webpack_require__(74631),
- MediaConnect: __webpack_require__(67639),
- FSx: __webpack_require__(60642),
- SecurityHub: __webpack_require__(21550),
- AppMesh: __webpack_require__(69226),
- LicenseManager: __webpack_require__(34693),
- Kafka: __webpack_require__(56775),
- ApiGatewayManagementApi: __webpack_require__(31762),
- ApiGatewayV2: __webpack_require__(44987),
- DocDB: __webpack_require__(55129),
- Backup: __webpack_require__(82455),
- WorkLink: __webpack_require__(48579),
- Textract: __webpack_require__(58523),
- ManagedBlockchain: __webpack_require__(85143),
- MediaPackageVod: __webpack_require__(14962),
- GroundStation: __webpack_require__(80494),
- IoTThingsGraph: __webpack_require__(58905),
- IoTEvents: __webpack_require__(88065),
- IoTEventsData: __webpack_require__(56973),
- Personalize: __webpack_require__(33696),
- PersonalizeEvents: __webpack_require__(88170),
- PersonalizeRuntime: __webpack_require__(66184),
- ApplicationInsights: __webpack_require__(83972),
- ServiceQuotas: __webpack_require__(57800),
- EC2InstanceConnect: __webpack_require__(92209),
- EventBridge: __webpack_require__(898),
- LakeFormation: __webpack_require__(6726),
- ForecastService: __webpack_require__(12942),
- ForecastQueryService: __webpack_require__(36822),
- QLDB: __webpack_require__(71266),
- QLDBSession: __webpack_require__(55423),
- WorkMailMessageFlow: __webpack_require__(67025),
- CodeStarNotifications: __webpack_require__(15141),
- SavingsPlans: __webpack_require__(62825),
- SSO: __webpack_require__(71096),
- SSOOIDC: __webpack_require__(49870),
- MarketplaceCatalog: __webpack_require__(2609),
- DataExchange: __webpack_require__(11024),
- SESV2: __webpack_require__(20142),
- MigrationHubConfig: __webpack_require__(62658),
- ConnectParticipant: __webpack_require__(94198),
- AppConfig: __webpack_require__(78606),
- IoTSecureTunneling: __webpack_require__(98562),
- WAFV2: __webpack_require__(50353),
- ElasticInference: __webpack_require__(37708),
- Imagebuilder: __webpack_require__(57511),
- Schemas: __webpack_require__(55713),
- AccessAnalyzer: __webpack_require__(20940),
- CodeGuruReviewer: __webpack_require__(60070),
- CodeGuruProfiler: __webpack_require__(65704),
- ComputeOptimizer: __webpack_require__(64459),
- FraudDetector: __webpack_require__(99830),
- Kendra: __webpack_require__(66122),
- NetworkManager: __webpack_require__(37610),
- Outposts: __webpack_require__(27551),
- AugmentedAIRuntime: __webpack_require__(33960),
- EBS: __webpack_require__(62837),
- KinesisVideoSignalingChannels: __webpack_require__(12710),
- Detective: __webpack_require__(60674),
- CodeStarconnections: __webpack_require__(78270),
- Synthetics: __webpack_require__(25910),
- IoTSiteWise: __webpack_require__(89690),
- Macie2: __webpack_require__(57330),
- CodeArtifact: __webpack_require__(91983),
- Honeycode: __webpack_require__(38889),
- IVS: __webpack_require__(67701),
- Braket: __webpack_require__(35429),
- IdentityStore: __webpack_require__(60222),
- Appflow: __webpack_require__(60844),
- RedshiftData: __webpack_require__(203),
- SSOAdmin: __webpack_require__(66644),
- TimestreamQuery: __webpack_require__(24529),
- TimestreamWrite: __webpack_require__(1573),
- S3Outposts: __webpack_require__(90493),
- DataBrew: __webpack_require__(35846),
- ServiceCatalogAppRegistry: __webpack_require__(79068),
- NetworkFirewall: __webpack_require__(84626),
- MWAA: __webpack_require__(32712),
- AmplifyBackend: __webpack_require__(2806),
- AppIntegrations: __webpack_require__(85479),
- ConnectContactLens: __webpack_require__(41847),
- DevOpsGuru: __webpack_require__(90673),
- ECRPUBLIC: __webpack_require__(90244),
- LookoutVision: __webpack_require__(65046),
- SageMakerFeatureStoreRuntime: __webpack_require__(67644),
- CustomerProfiles: __webpack_require__(28379),
- AuditManager: __webpack_require__(20472),
- EMRcontainers: __webpack_require__(49984),
- HealthLake: __webpack_require__(64254),
- SagemakerEdge: __webpack_require__(38966),
- Amp: __webpack_require__(96881),
- GreengrassV2: __webpack_require__(45126),
- IotDeviceAdvisor: __webpack_require__(97569),
- IoTFleetHub: __webpack_require__(42513),
- IoTWireless: __webpack_require__(8226),
- Location: __webpack_require__(44594),
- WellArchitected: __webpack_require__(86263),
- LexModelsV2: __webpack_require__(27254),
- LexRuntimeV2: __webpack_require__(33855),
- Fis: __webpack_require__(73003),
- LookoutMetrics: __webpack_require__(78708),
- Mgn: __webpack_require__(41339),
- LookoutEquipment: __webpack_require__(21843),
- Nimble: __webpack_require__(89428),
- Finspace: __webpack_require__(3052),
- Finspacedata: __webpack_require__(96869),
- SSMContacts: __webpack_require__(12577),
- SSMIncidents: __webpack_require__(20590),
- ApplicationCostProfiler: __webpack_require__(20887),
- AppRunner: __webpack_require__(75589),
- Proton: __webpack_require__(9275),
- Route53RecoveryCluster: __webpack_require__(35738),
- Route53RecoveryControlConfig: __webpack_require__(16063),
- Route53RecoveryReadiness: __webpack_require__(79106),
- ChimeSDKIdentity: __webpack_require__(55975),
- ChimeSDKMessaging: __webpack_require__(25255),
- SnowDeviceManagement: __webpack_require__(64655),
- MemoryDB: __webpack_require__(50782),
- OpenSearch: __webpack_require__(60358),
- KafkaConnect: __webpack_require__(61879),
- VoiceID: __webpack_require__(28747),
- Wisdom: __webpack_require__(85266),
- Account: __webpack_require__(20234),
- CloudControl: __webpack_require__(25630),
- Grafana: __webpack_require__(51050),
- Panorama: __webpack_require__(20368),
- ChimeSDKMeetings: __webpack_require__(80788),
- Resiliencehub: __webpack_require__(21173),
- MigrationHubStrategy: __webpack_require__(96533),
- AppConfigData: __webpack_require__(45282),
- Drs: __webpack_require__(41116),
- MigrationHubRefactorSpaces: __webpack_require__(2925),
- Evidently: __webpack_require__(21440),
- Inspector2: __webpack_require__(98650),
- Rbin: __webpack_require__(70145),
- RUM: __webpack_require__(53237),
- BackupGateway: __webpack_require__(68277),
- IoTTwinMaker: __webpack_require__(65010),
- WorkSpacesWeb: __webpack_require__(94124),
- AmplifyUIBuilder: __webpack_require__(89937),
- Keyspaces: __webpack_require__(24789),
- Billingconductor: __webpack_require__(38416),
- GameSparks: __webpack_require__(83025),
- PinpointSMSVoiceV2: __webpack_require__(478),
- Ivschat: __webpack_require__(17077),
- ChimeSDKMediaPipelines: __webpack_require__(18423),
- EMRServerless: __webpack_require__(219),
- M2: __webpack_require__(22482),
- ConnectCampaigns: __webpack_require__(42789),
- RedshiftServerless: __webpack_require__(29987),
- RolesAnywhere: __webpack_require__(83604),
- LicenseManagerUserSubscriptions: __webpack_require__(37725),
- BackupStorage: __webpack_require__(82304),
- PrivateNetworks: __webpack_require__(63088),
- SupportApp: __webpack_require__(51288),
- ControlTower: __webpack_require__(77574),
- IoTFleetWise: __webpack_require__(94329),
- MigrationHubOrchestrator: __webpack_require__(66120),
- ConnectCases: __webpack_require__(72223),
- ResourceExplorer2: __webpack_require__(74071)
+ ACM: __nccwpck_require__(10996),
+ APIGateway: __nccwpck_require__(31961),
+ ApplicationAutoScaling: __nccwpck_require__(72313),
+ AppStream: __nccwpck_require__(79208),
+ AutoScaling: __nccwpck_require__(60887),
+ Batch: __nccwpck_require__(30807),
+ Budgets: __nccwpck_require__(11649),
+ CloudDirectory: __nccwpck_require__(80563),
+ CloudFormation: __nccwpck_require__(79599),
+ CloudFront: __nccwpck_require__(44323),
+ CloudHSM: __nccwpck_require__(75940),
+ CloudSearch: __nccwpck_require__(27518),
+ CloudSearchDomain: __nccwpck_require__(97186),
+ CloudTrail: __nccwpck_require__(48372),
+ CloudWatch: __nccwpck_require__(52083),
+ CloudWatchEvents: __nccwpck_require__(22766),
+ CloudWatchLogs: __nccwpck_require__(48220),
+ CodeBuild: __nccwpck_require__(25200),
+ CodeCommit: __nccwpck_require__(71035),
+ CodeDeploy: __nccwpck_require__(9601),
+ CodePipeline: __nccwpck_require__(43376),
+ CognitoIdentity: __nccwpck_require__(74566),
+ CognitoIdentityServiceProvider: __nccwpck_require__(67386),
+ CognitoSync: __nccwpck_require__(74851),
+ ConfigService: __nccwpck_require__(80118),
+ CUR: __nccwpck_require__(37797),
+ DataPipeline: __nccwpck_require__(56081),
+ DeviceFarm: __nccwpck_require__(9369),
+ DirectConnect: __nccwpck_require__(11742),
+ DirectoryService: __nccwpck_require__(91225),
+ Discovery: __nccwpck_require__(14701),
+ DMS: __nccwpck_require__(36951),
+ DynamoDB: __nccwpck_require__(86639),
+ DynamoDBStreams: __nccwpck_require__(23810),
+ EC2: __nccwpck_require__(36645),
+ ECR: __nccwpck_require__(95045),
+ ECS: __nccwpck_require__(10950),
+ EFS: __nccwpck_require__(98607),
+ ElastiCache: __nccwpck_require__(47063),
+ ElasticBeanstalk: __nccwpck_require__(19083),
+ ELB: __nccwpck_require__(67202),
+ ELBv2: __nccwpck_require__(67350),
+ EMR: __nccwpck_require__(57387),
+ ES: __nccwpck_require__(38067),
+ ElasticTranscoder: __nccwpck_require__(7843),
+ Firehose: __nccwpck_require__(81106),
+ GameLift: __nccwpck_require__(6272),
+ Glacier: __nccwpck_require__(40369),
+ Health: __nccwpck_require__(27433),
+ IAM: __nccwpck_require__(25650),
+ ImportExport: __nccwpck_require__(63376),
+ Inspector: __nccwpck_require__(27066),
+ Iot: __nccwpck_require__(43791),
+ IotData: __nccwpck_require__(7863),
+ Kinesis: __nccwpck_require__(86553),
+ KinesisAnalytics: __nccwpck_require__(87825),
+ KMS: __nccwpck_require__(5926),
+ Lambda: __nccwpck_require__(55256),
+ LexRuntime: __nccwpck_require__(25852),
+ Lightsail: __nccwpck_require__(25930),
+ MachineLearning: __nccwpck_require__(68904),
+ MarketplaceCommerceAnalytics: __nccwpck_require__(95903),
+ MarketplaceMetering: __nccwpck_require__(50375),
+ MTurk: __nccwpck_require__(25776),
+ MobileAnalytics: __nccwpck_require__(52917),
+ OpsWorks: __nccwpck_require__(80049),
+ OpsWorksCM: __nccwpck_require__(31881),
+ Organizations: __nccwpck_require__(7299),
+ Pinpoint: __nccwpck_require__(50436),
+ Polly: __nccwpck_require__(3027),
+ RDS: __nccwpck_require__(59132),
+ Redshift: __nccwpck_require__(23310),
+ Rekognition: __nccwpck_require__(36228),
+ ResourceGroupsTaggingAPI: __nccwpck_require__(19998),
+ Route53: __nccwpck_require__(29386),
+ Route53Domains: __nccwpck_require__(88933),
+ S3: __nccwpck_require__(67545),
+ S3Control: __nccwpck_require__(18776),
+ ServiceCatalog: __nccwpck_require__(45505),
+ SES: __nccwpck_require__(4774),
+ Shield: __nccwpck_require__(47674),
+ SimpleDB: __nccwpck_require__(87303),
+ SMS: __nccwpck_require__(99486),
+ Snowball: __nccwpck_require__(77393),
+ SNS: __nccwpck_require__(94149),
+ SQS: __nccwpck_require__(55362),
+ SSM: __nccwpck_require__(82898),
+ StorageGateway: __nccwpck_require__(34926),
+ StepFunctions: __nccwpck_require__(69508),
+ STS: __nccwpck_require__(98595),
+ Support: __nccwpck_require__(83908),
+ SWF: __nccwpck_require__(51843),
+ XRay: __nccwpck_require__(35747),
+ WAF: __nccwpck_require__(67249),
+ WAFRegional: __nccwpck_require__(43892),
+ WorkDocs: __nccwpck_require__(20253),
+ WorkSpaces: __nccwpck_require__(5973),
+ LexModelBuildingService: __nccwpck_require__(78610),
+ MarketplaceEntitlementService: __nccwpck_require__(57794),
+ Athena: __nccwpck_require__(37384),
+ Greengrass: __nccwpck_require__(66228),
+ DAX: __nccwpck_require__(81614),
+ MigrationHub: __nccwpck_require__(48568),
+ CloudHSMV2: __nccwpck_require__(32112),
+ Glue: __nccwpck_require__(55294),
+ Pricing: __nccwpck_require__(78025),
+ CostExplorer: __nccwpck_require__(941),
+ MediaConvert: __nccwpck_require__(10216),
+ MediaLive: __nccwpck_require__(54817),
+ MediaPackage: __nccwpck_require__(3003),
+ MediaStore: __nccwpck_require__(22454),
+ MediaStoreData: __nccwpck_require__(76070),
+ AppSync: __nccwpck_require__(24435),
+ GuardDuty: __nccwpck_require__(73986),
+ MQ: __nccwpck_require__(60749),
+ Comprehend: __nccwpck_require__(36668),
+ IoTJobsDataPlane: __nccwpck_require__(85077),
+ KinesisVideoArchivedMedia: __nccwpck_require__(16142),
+ KinesisVideoMedia: __nccwpck_require__(93464),
+ KinesisVideo: __nccwpck_require__(58726),
+ SageMakerRuntime: __nccwpck_require__(10579),
+ SageMaker: __nccwpck_require__(94455),
+ Translate: __nccwpck_require__(75121),
+ ResourceGroups: __nccwpck_require__(35019),
+ Cloud9: __nccwpck_require__(29527),
+ ServerlessApplicationRepository: __nccwpck_require__(70439),
+ ServiceDiscovery: __nccwpck_require__(15240),
+ WorkMail: __nccwpck_require__(75217),
+ AutoScalingPlans: __nccwpck_require__(79327),
+ TranscribeService: __nccwpck_require__(82561),
+ Connect: __nccwpck_require__(21025),
+ ACMPCA: __nccwpck_require__(87850),
+ FMS: __nccwpck_require__(33685),
+ SecretsManager: __nccwpck_require__(29667),
+ IoTAnalytics: __nccwpck_require__(25143),
+ IoT1ClickDevicesService: __nccwpck_require__(27976),
+ IoT1ClickProjects: __nccwpck_require__(97972),
+ PI: __nccwpck_require__(80736),
+ Neptune: __nccwpck_require__(99442),
+ MediaTailor: __nccwpck_require__(38184),
+ EKS: __nccwpck_require__(43358),
+ DLM: __nccwpck_require__(65332),
+ Signer: __nccwpck_require__(85925),
+ Chime: __nccwpck_require__(30243),
+ PinpointEmail: __nccwpck_require__(83750),
+ RAM: __nccwpck_require__(29607),
+ Route53Resolver: __nccwpck_require__(79772),
+ PinpointSMSVoice: __nccwpck_require__(58429),
+ QuickSight: __nccwpck_require__(2747),
+ RDSDataService: __nccwpck_require__(44765),
+ Amplify: __nccwpck_require__(96519),
+ DataSync: __nccwpck_require__(10000),
+ RoboMaker: __nccwpck_require__(14027),
+ Transfer: __nccwpck_require__(77384),
+ GlobalAccelerator: __nccwpck_require__(70969),
+ ComprehendMedical: __nccwpck_require__(22489),
+ KinesisAnalyticsV2: __nccwpck_require__(51737),
+ MediaConnect: __nccwpck_require__(42141),
+ FSx: __nccwpck_require__(9914),
+ SecurityHub: __nccwpck_require__(13286),
+ AppMesh: __nccwpck_require__(84737),
+ LicenseManager: __nccwpck_require__(18789),
+ Kafka: __nccwpck_require__(97385),
+ ApiGatewayManagementApi: __nccwpck_require__(85404),
+ ApiGatewayV2: __nccwpck_require__(10081),
+ DocDB: __nccwpck_require__(50043),
+ Backup: __nccwpck_require__(24465),
+ WorkLink: __nccwpck_require__(21482),
+ Textract: __nccwpck_require__(15918),
+ ManagedBlockchain: __nccwpck_require__(31016),
+ MediaPackageVod: __nccwpck_require__(81230),
+ GroundStation: __nccwpck_require__(45562),
+ IoTThingsGraph: __nccwpck_require__(87860),
+ IoTEvents: __nccwpck_require__(31186),
+ IoTEventsData: __nccwpck_require__(93298),
+ Personalize: __nccwpck_require__(28245),
+ PersonalizeEvents: __nccwpck_require__(53660),
+ PersonalizeRuntime: __nccwpck_require__(89949),
+ ApplicationInsights: __nccwpck_require__(60360),
+ ServiceQuotas: __nccwpck_require__(33393),
+ EC2InstanceConnect: __nccwpck_require__(74362),
+ EventBridge: __nccwpck_require__(88614),
+ LakeFormation: __nccwpck_require__(1549),
+ ForecastService: __nccwpck_require__(93307),
+ ForecastQueryService: __nccwpck_require__(6681),
+ QLDB: __nccwpck_require__(62640),
+ QLDBSession: __nccwpck_require__(41398),
+ WorkMailMessageFlow: __nccwpck_require__(77902),
+ CodeStarNotifications: __nccwpck_require__(84832),
+ SavingsPlans: __nccwpck_require__(73106),
+ SSO: __nccwpck_require__(55080),
+ SSOOIDC: __nccwpck_require__(1977),
+ MarketplaceCatalog: __nccwpck_require__(82089),
+ DataExchange: __nccwpck_require__(2486),
+ SESV2: __nccwpck_require__(58354),
+ MigrationHubConfig: __nccwpck_require__(56522),
+ ConnectParticipant: __nccwpck_require__(13472),
+ AppConfig: __nccwpck_require__(68506),
+ IoTSecureTunneling: __nccwpck_require__(84558),
+ WAFV2: __nccwpck_require__(6201),
+ ElasticInference: __nccwpck_require__(58709),
+ Imagebuilder: __nccwpck_require__(90255),
+ Schemas: __nccwpck_require__(60095),
+ AccessAnalyzer: __nccwpck_require__(29711),
+ CodeGuruReviewer: __nccwpck_require__(50540),
+ CodeGuruProfiler: __nccwpck_require__(31530),
+ ComputeOptimizer: __nccwpck_require__(631),
+ FraudDetector: __nccwpck_require__(95915),
+ Kendra: __nccwpck_require__(17788),
+ NetworkManager: __nccwpck_require__(87374),
+ Outposts: __nccwpck_require__(57116),
+ AugmentedAIRuntime: __nccwpck_require__(76691),
+ EBS: __nccwpck_require__(88083),
+ KinesisVideoSignalingChannels: __nccwpck_require__(78044),
+ Detective: __nccwpck_require__(4256),
+ CodeStarconnections: __nccwpck_require__(92813),
+ Synthetics: __nccwpck_require__(63527),
+ IoTSiteWise: __nccwpck_require__(35536),
+ Macie2: __nccwpck_require__(76546),
+ CodeArtifact: __nccwpck_require__(68264),
+ IVS: __nccwpck_require__(24659),
+ Braket: __nccwpck_require__(18150),
+ IdentityStore: __nccwpck_require__(58928),
+ Appflow: __nccwpck_require__(48060),
+ RedshiftData: __nccwpck_require__(95134),
+ SSOAdmin: __nccwpck_require__(73682),
+ TimestreamQuery: __nccwpck_require__(6252),
+ TimestreamWrite: __nccwpck_require__(7063),
+ S3Outposts: __nccwpck_require__(28734),
+ DataBrew: __nccwpck_require__(19091),
+ ServiceCatalogAppRegistry: __nccwpck_require__(61201),
+ NetworkFirewall: __nccwpck_require__(20653),
+ MWAA: __nccwpck_require__(29729),
+ AmplifyBackend: __nccwpck_require__(36319),
+ AppIntegrations: __nccwpck_require__(87719),
+ ConnectContactLens: __nccwpck_require__(67997),
+ DevOpsGuru: __nccwpck_require__(53303),
+ ECRPUBLIC: __nccwpck_require__(86240),
+ LookoutVision: __nccwpck_require__(71842),
+ SageMakerFeatureStoreRuntime: __nccwpck_require__(14354),
+ CustomerProfiles: __nccwpck_require__(2293),
+ AuditManager: __nccwpck_require__(18153),
+ EMRcontainers: __nccwpck_require__(78271),
+ HealthLake: __nccwpck_require__(29998),
+ SagemakerEdge: __nccwpck_require__(16558),
+ Amp: __nccwpck_require__(67993),
+ GreengrassV2: __nccwpck_require__(23168),
+ IotDeviceAdvisor: __nccwpck_require__(17985),
+ IoTFleetHub: __nccwpck_require__(14008),
+ IoTWireless: __nccwpck_require__(94119),
+ Location: __nccwpck_require__(83516),
+ WellArchitected: __nccwpck_require__(26185),
+ LexModelsV2: __nccwpck_require__(87208),
+ LexRuntimeV2: __nccwpck_require__(82344),
+ Fis: __nccwpck_require__(56593),
+ LookoutMetrics: __nccwpck_require__(83033),
+ Mgn: __nccwpck_require__(86845),
+ LookoutEquipment: __nccwpck_require__(88340),
+ Nimble: __nccwpck_require__(24806),
+ Finspace: __nccwpck_require__(1910),
+ Finspacedata: __nccwpck_require__(64934),
+ SSMContacts: __nccwpck_require__(60331),
+ SSMIncidents: __nccwpck_require__(44783),
+ ApplicationCostProfiler: __nccwpck_require__(25193),
+ AppRunner: __nccwpck_require__(63394),
+ Proton: __nccwpck_require__(3447),
+ Route53RecoveryCluster: __nccwpck_require__(98643),
+ Route53RecoveryControlConfig: __nccwpck_require__(60374),
+ Route53RecoveryReadiness: __nccwpck_require__(32113),
+ ChimeSDKIdentity: __nccwpck_require__(57741),
+ ChimeSDKMessaging: __nccwpck_require__(39471),
+ SnowDeviceManagement: __nccwpck_require__(27389),
+ MemoryDB: __nccwpck_require__(86366),
+ OpenSearch: __nccwpck_require__(95067),
+ KafkaConnect: __nccwpck_require__(55539),
+ VoiceID: __nccwpck_require__(24316),
+ Wisdom: __nccwpck_require__(56912),
+ Account: __nccwpck_require__(63604),
+ CloudControl: __nccwpck_require__(68069),
+ Grafana: __nccwpck_require__(52519),
+ Panorama: __nccwpck_require__(43728),
+ ChimeSDKMeetings: __nccwpck_require__(79409),
+ Resiliencehub: __nccwpck_require__(7515),
+ MigrationHubStrategy: __nccwpck_require__(35425),
+ AppConfigData: __nccwpck_require__(65018),
+ Drs: __nccwpck_require__(23056),
+ MigrationHubRefactorSpaces: __nccwpck_require__(6461),
+ Evidently: __nccwpck_require__(2051),
+ Inspector2: __nccwpck_require__(54010),
+ Rbin: __nccwpck_require__(22816),
+ RUM: __nccwpck_require__(62875),
+ BackupGateway: __nccwpck_require__(30383),
+ IoTTwinMaker: __nccwpck_require__(80377),
+ WorkSpacesWeb: __nccwpck_require__(59539),
+ AmplifyUIBuilder: __nccwpck_require__(14918),
+ Keyspaces: __nccwpck_require__(81807),
+ Billingconductor: __nccwpck_require__(82951),
+ PinpointSMSVoiceV2: __nccwpck_require__(42205),
+ Ivschat: __nccwpck_require__(30818),
+ ChimeSDKMediaPipelines: __nccwpck_require__(64464),
+ EMRServerless: __nccwpck_require__(22901),
+ M2: __nccwpck_require__(20292),
+ ConnectCampaigns: __nccwpck_require__(45342),
+ RedshiftServerless: __nccwpck_require__(57824),
+ RolesAnywhere: __nccwpck_require__(70987),
+ LicenseManagerUserSubscriptions: __nccwpck_require__(25598),
+ PrivateNetworks: __nccwpck_require__(33991),
+ SupportApp: __nccwpck_require__(54573),
+ ControlTower: __nccwpck_require__(85597),
+ IoTFleetWise: __nccwpck_require__(30427),
+ MigrationHubOrchestrator: __nccwpck_require__(47568),
+ ConnectCases: __nccwpck_require__(48000),
+ ResourceExplorer2: __nccwpck_require__(18360),
+ Scheduler: __nccwpck_require__(20174),
+ ChimeSDKVoice: __nccwpck_require__(95933),
+ SsmSap: __nccwpck_require__(24044),
+ OAM: __nccwpck_require__(21528),
+ ARCZonalShift: __nccwpck_require__(16261),
+ Omics: __nccwpck_require__(74738),
+ OpenSearchServerless: __nccwpck_require__(18085),
+ SecurityLake: __nccwpck_require__(98286),
+ SimSpaceWeaver: __nccwpck_require__(60044),
+ DocDBElastic: __nccwpck_require__(32756),
+ SageMakerGeospatial: __nccwpck_require__(97040),
+ CodeCatalyst: __nccwpck_require__(29097),
+ Pipes: __nccwpck_require__(19374),
+ SageMakerMetrics: __nccwpck_require__(34798),
+ KinesisVideoWebRTCStorage: __nccwpck_require__(39958),
+ LicenseManagerLinuxSubscriptions: __nccwpck_require__(61577),
+ KendraRanking: __nccwpck_require__(73480),
+ CleanRooms: __nccwpck_require__(75676),
+ CloudTrailData: __nccwpck_require__(24124),
+ Tnb: __nccwpck_require__(11867),
+ InternetMonitor: __nccwpck_require__(7770),
+ IVSRealTime: __nccwpck_require__(83698),
+ VPCLattice: __nccwpck_require__(42764),
+ OSIS: __nccwpck_require__(87057),
+ MediaPackageV2: __nccwpck_require__(13483),
+ PaymentCryptography: __nccwpck_require__(37855),
+ PaymentCryptographyData: __nccwpck_require__(15271),
+ CodeGuruSecurity: __nccwpck_require__(89893),
+ VerifiedPermissions: __nccwpck_require__(20967),
+ AppFabric: __nccwpck_require__(1293),
+ MedicalImaging: __nccwpck_require__(67196),
+ EntityResolution: __nccwpck_require__(18444),
+ ManagedBlockchainQuery: __nccwpck_require__(64434),
+ Neptunedata: __nccwpck_require__(21682),
+ PcaConnectorAd: __nccwpck_require__(87689),
+ Bedrock: __nccwpck_require__(10337),
+ BedrockRuntime: __nccwpck_require__(30809),
+ DataZone: __nccwpck_require__(39505),
+ LaunchWizard: __nccwpck_require__(96835),
+ TrustedAdvisor: __nccwpck_require__(90814),
+ InspectorScan: __nccwpck_require__(54971),
+ BCMDataExports: __nccwpck_require__(55486),
+ CostOptimizationHub: __nccwpck_require__(22568),
+ EKSAuth: __nccwpck_require__(69364),
+ FreeTier: __nccwpck_require__(17449),
+ Repostspace: __nccwpck_require__(19164),
+ WorkSpacesThinClient: __nccwpck_require__(81581),
+ B2bi: __nccwpck_require__(39858),
+ BedrockAgent: __nccwpck_require__(94608),
+ BedrockAgentRuntime: __nccwpck_require__(90078),
+ QBusiness: __nccwpck_require__(20966),
+ QConnect: __nccwpck_require__(42844),
+ CleanRoomsML: __nccwpck_require__(13945),
+ MarketplaceAgreement: __nccwpck_require__(64070),
+ MarketplaceDeployment: __nccwpck_require__(10091),
+ NetworkMonitor: __nccwpck_require__(74407),
+ SupplyChain: __nccwpck_require__(9684),
+ Artifact: __nccwpck_require__(30541),
+ Chatbot: __nccwpck_require__(55284),
+ TimestreamInfluxDB: __nccwpck_require__(91248),
+ CodeConnections: __nccwpck_require__(34561),
+ Deadline: __nccwpck_require__(98459),
+ ControlCatalog: __nccwpck_require__(34687),
+ Route53Profiles: __nccwpck_require__(61912),
+ MailManager: __nccwpck_require__(79649),
+ TaxSettings: __nccwpck_require__(38551),
+ ApplicationSignals: __nccwpck_require__(54772),
+ PcaConnectorScep: __nccwpck_require__(57003),
+ AppTest: __nccwpck_require__(91020),
+ QApps: __nccwpck_require__(75924),
+ SSMQuickSetup: __nccwpck_require__(9822),
+ PCS: __nccwpck_require__(75921)
};
/***/ }),
-/***/ 96881:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 67993:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5540,9 +6020,9 @@ apiLoader.services['amp'] = {};
AWS.Amp = Service.defineService('amp', ['2020-08-01']);
Object.defineProperty(apiLoader.services['amp'], '2020-08-01', {
get: function get() {
- var model = __webpack_require__(36184);
- model.paginators = __webpack_require__(7850)/* .pagination */ .o;
- model.waiters = __webpack_require__(49041)/* .waiters */ .V;
+ var model = __nccwpck_require__(28064);
+ model.paginators = (__nccwpck_require__(12852)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(32487)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -5554,11 +6034,11 @@ module.exports = AWS.Amp;
/***/ }),
-/***/ 38090:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 96519:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5566,8 +6046,8 @@ apiLoader.services['amplify'] = {};
AWS.Amplify = Service.defineService('amplify', ['2017-07-25']);
Object.defineProperty(apiLoader.services['amplify'], '2017-07-25', {
get: function get() {
- var model = __webpack_require__(59237);
- model.paginators = __webpack_require__(89594)/* .pagination */ .o;
+ var model = __nccwpck_require__(19333);
+ model.paginators = (__nccwpck_require__(69703)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5579,11 +6059,11 @@ module.exports = AWS.Amplify;
/***/ }),
-/***/ 2806:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 36319:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5591,8 +6071,8 @@ apiLoader.services['amplifybackend'] = {};
AWS.AmplifyBackend = Service.defineService('amplifybackend', ['2020-08-11']);
Object.defineProperty(apiLoader.services['amplifybackend'], '2020-08-11', {
get: function get() {
- var model = __webpack_require__(70211);
- model.paginators = __webpack_require__(72426)/* .pagination */ .o;
+ var model = __nccwpck_require__(48219);
+ model.paginators = (__nccwpck_require__(42649)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5604,11 +6084,11 @@ module.exports = AWS.AmplifyBackend;
/***/ }),
-/***/ 89937:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 14918:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5616,8 +6096,9 @@ apiLoader.services['amplifyuibuilder'] = {};
AWS.AmplifyUIBuilder = Service.defineService('amplifyuibuilder', ['2021-08-11']);
Object.defineProperty(apiLoader.services['amplifyuibuilder'], '2021-08-11', {
get: function get() {
- var model = __webpack_require__(36902);
- model.paginators = __webpack_require__(90795)/* .pagination */ .o;
+ var model = __nccwpck_require__(43847);
+ model.paginators = (__nccwpck_require__(38077)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(55222)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -5629,21 +6110,21 @@ module.exports = AWS.AmplifyUIBuilder;
/***/ }),
-/***/ 91759:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 31961:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['apigateway'] = {};
AWS.APIGateway = Service.defineService('apigateway', ['2015-07-09']);
-__webpack_require__(4338);
+__nccwpck_require__(14823);
Object.defineProperty(apiLoader.services['apigateway'], '2015-07-09', {
get: function get() {
- var model = __webpack_require__(33895);
- model.paginators = __webpack_require__(61271)/* .pagination */ .o;
+ var model = __nccwpck_require__(21499);
+ model.paginators = (__nccwpck_require__(38713)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5655,11 +6136,11 @@ module.exports = AWS.APIGateway;
/***/ }),
-/***/ 31762:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 85404:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5667,8 +6148,8 @@ apiLoader.services['apigatewaymanagementapi'] = {};
AWS.ApiGatewayManagementApi = Service.defineService('apigatewaymanagementapi', ['2018-11-29']);
Object.defineProperty(apiLoader.services['apigatewaymanagementapi'], '2018-11-29', {
get: function get() {
- var model = __webpack_require__(31775);
- model.paginators = __webpack_require__(19890)/* .pagination */ .o;
+ var model = __nccwpck_require__(12116);
+ model.paginators = (__nccwpck_require__(63232)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5680,11 +6161,11 @@ module.exports = AWS.ApiGatewayManagementApi;
/***/ }),
-/***/ 44987:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 10081:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5692,8 +6173,8 @@ apiLoader.services['apigatewayv2'] = {};
AWS.ApiGatewayV2 = Service.defineService('apigatewayv2', ['2018-11-29']);
Object.defineProperty(apiLoader.services['apigatewayv2'], '2018-11-29', {
get: function get() {
- var model = __webpack_require__(18767);
- model.paginators = __webpack_require__(96828)/* .pagination */ .o;
+ var model = __nccwpck_require__(58739);
+ model.paginators = (__nccwpck_require__(68097)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5705,11 +6186,11 @@ module.exports = AWS.ApiGatewayV2;
/***/ }),
-/***/ 78606:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 68506:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5717,8 +6198,8 @@ apiLoader.services['appconfig'] = {};
AWS.AppConfig = Service.defineService('appconfig', ['2019-10-09']);
Object.defineProperty(apiLoader.services['appconfig'], '2019-10-09', {
get: function get() {
- var model = __webpack_require__(5832);
- model.paginators = __webpack_require__(38388)/* .pagination */ .o;
+ var model = __nccwpck_require__(60169);
+ model.paginators = (__nccwpck_require__(78206)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5730,11 +6211,11 @@ module.exports = AWS.AppConfig;
/***/ }),
-/***/ 45282:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 65018:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5742,8 +6223,8 @@ apiLoader.services['appconfigdata'] = {};
AWS.AppConfigData = Service.defineService('appconfigdata', ['2021-11-11']);
Object.defineProperty(apiLoader.services['appconfigdata'], '2021-11-11', {
get: function get() {
- var model = __webpack_require__(32619);
- model.paginators = __webpack_require__(44762)/* .pagination */ .o;
+ var model = __nccwpck_require__(14341);
+ model.paginators = (__nccwpck_require__(23175)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5755,11 +6236,37 @@ module.exports = AWS.AppConfigData;
/***/ }),
-/***/ 60844:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 1293:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['appfabric'] = {};
+AWS.AppFabric = Service.defineService('appfabric', ['2023-05-19']);
+Object.defineProperty(apiLoader.services['appfabric'], '2023-05-19', {
+ get: function get() {
+ var model = __nccwpck_require__(47693);
+ model.paginators = (__nccwpck_require__(56639)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(11252)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.AppFabric;
+
+
+/***/ }),
+
+/***/ 48060:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5767,8 +6274,8 @@ apiLoader.services['appflow'] = {};
AWS.Appflow = Service.defineService('appflow', ['2020-08-23']);
Object.defineProperty(apiLoader.services['appflow'], '2020-08-23', {
get: function get() {
- var model = __webpack_require__(63769);
- model.paginators = __webpack_require__(3505)/* .pagination */ .o;
+ var model = __nccwpck_require__(10343);
+ model.paginators = (__nccwpck_require__(2493)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5780,11 +6287,11 @@ module.exports = AWS.Appflow;
/***/ }),
-/***/ 85479:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87719:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5792,8 +6299,8 @@ apiLoader.services['appintegrations'] = {};
AWS.AppIntegrations = Service.defineService('appintegrations', ['2020-07-29']);
Object.defineProperty(apiLoader.services['appintegrations'], '2020-07-29', {
get: function get() {
- var model = __webpack_require__(26469);
- model.paginators = __webpack_require__(74824)/* .pagination */ .o;
+ var model = __nccwpck_require__(53239);
+ model.paginators = (__nccwpck_require__(61549)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5805,11 +6312,11 @@ module.exports = AWS.AppIntegrations;
/***/ }),
-/***/ 25598:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 72313:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5817,8 +6324,8 @@ apiLoader.services['applicationautoscaling'] = {};
AWS.ApplicationAutoScaling = Service.defineService('applicationautoscaling', ['2016-02-06']);
Object.defineProperty(apiLoader.services['applicationautoscaling'], '2016-02-06', {
get: function get() {
- var model = __webpack_require__(14452);
- model.paginators = __webpack_require__(11157)/* .pagination */ .o;
+ var model = __nccwpck_require__(69821);
+ model.paginators = (__nccwpck_require__(4623)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5830,11 +6337,11 @@ module.exports = AWS.ApplicationAutoScaling;
/***/ }),
-/***/ 20887:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 25193:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5842,8 +6349,8 @@ apiLoader.services['applicationcostprofiler'] = {};
AWS.ApplicationCostProfiler = Service.defineService('applicationcostprofiler', ['2020-09-10']);
Object.defineProperty(apiLoader.services['applicationcostprofiler'], '2020-09-10', {
get: function get() {
- var model = __webpack_require__(87634);
- model.paginators = __webpack_require__(47987)/* .pagination */ .o;
+ var model = __nccwpck_require__(24087);
+ model.paginators = (__nccwpck_require__(1357)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5855,11 +6362,11 @@ module.exports = AWS.ApplicationCostProfiler;
/***/ }),
-/***/ 83972:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 60360:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5867,8 +6374,8 @@ apiLoader.services['applicationinsights'] = {};
AWS.ApplicationInsights = Service.defineService('applicationinsights', ['2018-11-25']);
Object.defineProperty(apiLoader.services['applicationinsights'], '2018-11-25', {
get: function get() {
- var model = __webpack_require__(48728);
- model.paginators = __webpack_require__(9986)/* .pagination */ .o;
+ var model = __nccwpck_require__(92817);
+ model.paginators = (__nccwpck_require__(72555)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5880,11 +6387,36 @@ module.exports = AWS.ApplicationInsights;
/***/ }),
-/***/ 69226:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 54772:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['applicationsignals'] = {};
+AWS.ApplicationSignals = Service.defineService('applicationsignals', ['2024-04-15']);
+Object.defineProperty(apiLoader.services['applicationsignals'], '2024-04-15', {
+ get: function get() {
+ var model = __nccwpck_require__(39757);
+ model.paginators = (__nccwpck_require__(65439)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.ApplicationSignals;
+
+
+/***/ }),
+
+/***/ 84737:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5892,8 +6424,8 @@ apiLoader.services['appmesh'] = {};
AWS.AppMesh = Service.defineService('appmesh', ['2018-10-01', '2018-10-01*', '2019-01-25']);
Object.defineProperty(apiLoader.services['appmesh'], '2018-10-01', {
get: function get() {
- var model = __webpack_require__(4710);
- model.paginators = __webpack_require__(74196)/* .pagination */ .o;
+ var model = __nccwpck_require__(29920);
+ model.paginators = (__nccwpck_require__(44020)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5901,8 +6433,8 @@ Object.defineProperty(apiLoader.services['appmesh'], '2018-10-01', {
});
Object.defineProperty(apiLoader.services['appmesh'], '2019-01-25', {
get: function get() {
- var model = __webpack_require__(99818);
- model.paginators = __webpack_require__(9865)/* .pagination */ .o;
+ var model = __nccwpck_require__(7955);
+ model.paginators = (__nccwpck_require__(40801)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5914,11 +6446,11 @@ module.exports = AWS.AppMesh;
/***/ }),
-/***/ 75589:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 63394:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5926,8 +6458,8 @@ apiLoader.services['apprunner'] = {};
AWS.AppRunner = Service.defineService('apprunner', ['2020-05-15']);
Object.defineProperty(apiLoader.services['apprunner'], '2020-05-15', {
get: function get() {
- var model = __webpack_require__(74076);
- model.paginators = __webpack_require__(81788)/* .pagination */ .o;
+ var model = __nccwpck_require__(38917);
+ model.paginators = (__nccwpck_require__(55207)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5939,11 +6471,11 @@ module.exports = AWS.AppRunner;
/***/ }),
-/***/ 21730:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 79208:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5951,9 +6483,9 @@ apiLoader.services['appstream'] = {};
AWS.AppStream = Service.defineService('appstream', ['2016-12-01']);
Object.defineProperty(apiLoader.services['appstream'], '2016-12-01', {
get: function get() {
- var model = __webpack_require__(12513);
- model.paginators = __webpack_require__(81915)/* .pagination */ .o;
- model.waiters = __webpack_require__(98407)/* .waiters */ .V;
+ var model = __nccwpck_require__(86175);
+ model.paginators = (__nccwpck_require__(35877)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(62750)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -5965,11 +6497,11 @@ module.exports = AWS.AppStream;
/***/ }),
-/***/ 12402:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 24435:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -5977,8 +6509,8 @@ apiLoader.services['appsync'] = {};
AWS.AppSync = Service.defineService('appsync', ['2017-07-25']);
Object.defineProperty(apiLoader.services['appsync'], '2017-07-25', {
get: function get() {
- var model = __webpack_require__(3651);
- model.paginators = __webpack_require__(93930)/* .pagination */ .o;
+ var model = __nccwpck_require__(45769);
+ model.paginators = (__nccwpck_require__(31603)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -5990,11 +6522,88 @@ module.exports = AWS.AppSync;
/***/ }),
-/***/ 29434:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 91020:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['apptest'] = {};
+AWS.AppTest = Service.defineService('apptest', ['2022-12-06']);
+Object.defineProperty(apiLoader.services['apptest'], '2022-12-06', {
+ get: function get() {
+ var model = __nccwpck_require__(26973);
+ model.paginators = (__nccwpck_require__(64463)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(83300)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.AppTest;
+
+
+/***/ }),
+
+/***/ 16261:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['arczonalshift'] = {};
+AWS.ARCZonalShift = Service.defineService('arczonalshift', ['2022-10-30']);
+Object.defineProperty(apiLoader.services['arczonalshift'], '2022-10-30', {
+ get: function get() {
+ var model = __nccwpck_require__(90697);
+ model.paginators = (__nccwpck_require__(93363)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.ARCZonalShift;
+
+
+/***/ }),
+
+/***/ 30541:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['artifact'] = {};
+AWS.Artifact = Service.defineService('artifact', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['artifact'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(48448);
+ model.paginators = (__nccwpck_require__(21748)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(88167)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Artifact;
+
+
+/***/ }),
+
+/***/ 37384:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6002,8 +6611,8 @@ apiLoader.services['athena'] = {};
AWS.Athena = Service.defineService('athena', ['2017-05-18']);
Object.defineProperty(apiLoader.services['athena'], '2017-05-18', {
get: function get() {
- var model = __webpack_require__(19898);
- model.paginators = __webpack_require__(23135)/* .pagination */ .o;
+ var model = __nccwpck_require__(15214);
+ model.paginators = (__nccwpck_require__(21958)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6015,11 +6624,11 @@ module.exports = AWS.Athena;
/***/ }),
-/***/ 20472:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 18153:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6027,8 +6636,8 @@ apiLoader.services['auditmanager'] = {};
AWS.AuditManager = Service.defineService('auditmanager', ['2017-07-25']);
Object.defineProperty(apiLoader.services['auditmanager'], '2017-07-25', {
get: function get() {
- var model = __webpack_require__(66702);
- model.paginators = __webpack_require__(99387)/* .pagination */ .o;
+ var model = __nccwpck_require__(82511);
+ model.paginators = (__nccwpck_require__(38805)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6040,11 +6649,11 @@ module.exports = AWS.AuditManager;
/***/ }),
-/***/ 33960:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 76691:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6052,8 +6661,8 @@ apiLoader.services['augmentedairuntime'] = {};
AWS.AugmentedAIRuntime = Service.defineService('augmentedairuntime', ['2019-11-07']);
Object.defineProperty(apiLoader.services['augmentedairuntime'], '2019-11-07', {
get: function get() {
- var model = __webpack_require__(60302);
- model.paginators = __webpack_require__(58181)/* .pagination */ .o;
+ var model = __nccwpck_require__(93284);
+ model.paginators = (__nccwpck_require__(19696)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6065,11 +6674,11 @@ module.exports = AWS.AugmentedAIRuntime;
/***/ }),
-/***/ 31652:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 60887:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6077,8 +6686,8 @@ apiLoader.services['autoscaling'] = {};
AWS.AutoScaling = Service.defineService('autoscaling', ['2011-01-01']);
Object.defineProperty(apiLoader.services['autoscaling'], '2011-01-01', {
get: function get() {
- var model = __webpack_require__(68489);
- model.paginators = __webpack_require__(38676)/* .pagination */ .o;
+ var model = __nccwpck_require__(33359);
+ model.paginators = (__nccwpck_require__(56949)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6090,11 +6699,11 @@ module.exports = AWS.AutoScaling;
/***/ }),
-/***/ 2554:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 79327:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6102,8 +6711,8 @@ apiLoader.services['autoscalingplans'] = {};
AWS.AutoScalingPlans = Service.defineService('autoscalingplans', ['2018-01-06']);
Object.defineProperty(apiLoader.services['autoscalingplans'], '2018-01-06', {
get: function get() {
- var model = __webpack_require__(95300);
- model.paginators = __webpack_require__(4511)/* .pagination */ .o;
+ var model = __nccwpck_require__(1550);
+ model.paginators = (__nccwpck_require__(77862)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6115,11 +6724,36 @@ module.exports = AWS.AutoScalingPlans;
/***/ }),
-/***/ 82455:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 39858:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['b2bi'] = {};
+AWS.B2bi = Service.defineService('b2bi', ['2022-06-23']);
+Object.defineProperty(apiLoader.services['b2bi'], '2022-06-23', {
+ get: function get() {
+ var model = __nccwpck_require__(59941);
+ model.paginators = (__nccwpck_require__(64487)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.B2bi;
+
+
+/***/ }),
+
+/***/ 24465:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6127,8 +6761,8 @@ apiLoader.services['backup'] = {};
AWS.Backup = Service.defineService('backup', ['2018-11-15']);
Object.defineProperty(apiLoader.services['backup'], '2018-11-15', {
get: function get() {
- var model = __webpack_require__(65918);
- model.paginators = __webpack_require__(61080)/* .pagination */ .o;
+ var model = __nccwpck_require__(3780);
+ model.paginators = (__nccwpck_require__(62768)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6140,11 +6774,11 @@ module.exports = AWS.Backup;
/***/ }),
-/***/ 68277:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 30383:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6152,8 +6786,8 @@ apiLoader.services['backupgateway'] = {};
AWS.BackupGateway = Service.defineService('backupgateway', ['2021-01-01']);
Object.defineProperty(apiLoader.services['backupgateway'], '2021-01-01', {
get: function get() {
- var model = __webpack_require__(50816);
- model.paginators = __webpack_require__(42274)/* .pagination */ .o;
+ var model = __nccwpck_require__(99339);
+ model.paginators = (__nccwpck_require__(9833)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6165,61 +6799,163 @@ module.exports = AWS.BackupGateway;
/***/ }),
-/***/ 82304:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 30807:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
-apiLoader.services['backupstorage'] = {};
-AWS.BackupStorage = Service.defineService('backupstorage', ['2018-04-10']);
-Object.defineProperty(apiLoader.services['backupstorage'], '2018-04-10', {
+apiLoader.services['batch'] = {};
+AWS.Batch = Service.defineService('batch', ['2016-08-10']);
+Object.defineProperty(apiLoader.services['batch'], '2016-08-10', {
get: function get() {
- var model = __webpack_require__(52960);
- model.paginators = __webpack_require__(43627)/* .pagination */ .o;
+ var model = __nccwpck_require__(71121);
+ model.paginators = (__nccwpck_require__(90667)/* .pagination */ .X);
return model;
},
enumerable: true,
configurable: true
});
-module.exports = AWS.BackupStorage;
+module.exports = AWS.Batch;
/***/ }),
-/***/ 10000:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 55486:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
-apiLoader.services['batch'] = {};
-AWS.Batch = Service.defineService('batch', ['2016-08-10']);
-Object.defineProperty(apiLoader.services['batch'], '2016-08-10', {
+apiLoader.services['bcmdataexports'] = {};
+AWS.BCMDataExports = Service.defineService('bcmdataexports', ['2023-11-26']);
+Object.defineProperty(apiLoader.services['bcmdataexports'], '2023-11-26', {
get: function get() {
- var model = __webpack_require__(97171);
- model.paginators = __webpack_require__(27755)/* .pagination */ .o;
+ var model = __nccwpck_require__(39539);
+ model.paginators = (__nccwpck_require__(61633)/* .pagination */ .X);
return model;
},
enumerable: true,
configurable: true
});
-module.exports = AWS.Batch;
+module.exports = AWS.BCMDataExports;
/***/ }),
-/***/ 38416:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 10337:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['bedrock'] = {};
+AWS.Bedrock = Service.defineService('bedrock', ['2023-04-20']);
+Object.defineProperty(apiLoader.services['bedrock'], '2023-04-20', {
+ get: function get() {
+ var model = __nccwpck_require__(91116);
+ model.paginators = (__nccwpck_require__(70760)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(67059)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Bedrock;
+
+
+/***/ }),
+
+/***/ 94608:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['bedrockagent'] = {};
+AWS.BedrockAgent = Service.defineService('bedrockagent', ['2023-06-05']);
+Object.defineProperty(apiLoader.services['bedrockagent'], '2023-06-05', {
+ get: function get() {
+ var model = __nccwpck_require__(45915);
+ model.paginators = (__nccwpck_require__(77529)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.BedrockAgent;
+
+
+/***/ }),
+
+/***/ 90078:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['bedrockagentruntime'] = {};
+AWS.BedrockAgentRuntime = Service.defineService('bedrockagentruntime', ['2023-07-26']);
+Object.defineProperty(apiLoader.services['bedrockagentruntime'], '2023-07-26', {
+ get: function get() {
+ var model = __nccwpck_require__(23126);
+ model.paginators = (__nccwpck_require__(9054)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.BedrockAgentRuntime;
+
+
+/***/ }),
+
+/***/ 30809:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['bedrockruntime'] = {};
+AWS.BedrockRuntime = Service.defineService('bedrockruntime', ['2023-09-30']);
+Object.defineProperty(apiLoader.services['bedrockruntime'], '2023-09-30', {
+ get: function get() {
+ var model = __nccwpck_require__(6559);
+ model.paginators = (__nccwpck_require__(29093)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(16574)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.BedrockRuntime;
+
+
+/***/ }),
+
+/***/ 82951:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6227,9 +6963,9 @@ apiLoader.services['billingconductor'] = {};
AWS.Billingconductor = Service.defineService('billingconductor', ['2021-07-30']);
Object.defineProperty(apiLoader.services['billingconductor'], '2021-07-30', {
get: function get() {
- var model = __webpack_require__(92966);
- model.paginators = __webpack_require__(34646)/* .pagination */ .o;
- model.waiters = __webpack_require__(88376)/* .waiters */ .V;
+ var model = __nccwpck_require__(74546);
+ model.paginators = (__nccwpck_require__(41234)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(5401)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6241,11 +6977,11 @@ module.exports = AWS.Billingconductor;
/***/ }),
-/***/ 35429:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 18150:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6253,8 +6989,8 @@ apiLoader.services['braket'] = {};
AWS.Braket = Service.defineService('braket', ['2019-09-01']);
Object.defineProperty(apiLoader.services['braket'], '2019-09-01', {
get: function get() {
- var model = __webpack_require__(44714);
- model.paginators = __webpack_require__(60058)/* .pagination */ .o;
+ var model = __nccwpck_require__(37532);
+ model.paginators = (__nccwpck_require__(5432)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6266,11 +7002,11 @@ module.exports = AWS.Braket;
/***/ }),
-/***/ 43923:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 11649:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6278,8 +7014,8 @@ apiLoader.services['budgets'] = {};
AWS.Budgets = Service.defineService('budgets', ['2016-10-20']);
Object.defineProperty(apiLoader.services['budgets'], '2016-10-20', {
get: function get() {
- var model = __webpack_require__(47942);
- model.paginators = __webpack_require__(64219)/* .pagination */ .o;
+ var model = __nccwpck_require__(50491);
+ model.paginators = (__nccwpck_require__(23417)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6291,11 +7027,36 @@ module.exports = AWS.Budgets;
/***/ }),
-/***/ 84646:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 55284:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['chatbot'] = {};
+AWS.Chatbot = Service.defineService('chatbot', ['2017-10-11']);
+Object.defineProperty(apiLoader.services['chatbot'], '2017-10-11', {
+ get: function get() {
+ var model = __nccwpck_require__(10487);
+ model.paginators = (__nccwpck_require__(43245)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Chatbot;
+
+
+/***/ }),
+
+/***/ 30243:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6303,8 +7064,8 @@ apiLoader.services['chime'] = {};
AWS.Chime = Service.defineService('chime', ['2018-05-01']);
Object.defineProperty(apiLoader.services['chime'], '2018-05-01', {
get: function get() {
- var model = __webpack_require__(55823);
- model.paginators = __webpack_require__(6307)/* .pagination */ .o;
+ var model = __nccwpck_require__(37380);
+ model.paginators = (__nccwpck_require__(81136)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6316,11 +7077,11 @@ module.exports = AWS.Chime;
/***/ }),
-/***/ 55975:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 57741:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6328,8 +7089,8 @@ apiLoader.services['chimesdkidentity'] = {};
AWS.ChimeSDKIdentity = Service.defineService('chimesdkidentity', ['2021-04-20']);
Object.defineProperty(apiLoader.services['chimesdkidentity'], '2021-04-20', {
get: function get() {
- var model = __webpack_require__(62052);
- model.paginators = __webpack_require__(77523)/* .pagination */ .o;
+ var model = __nccwpck_require__(514);
+ model.paginators = (__nccwpck_require__(8418)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6341,11 +7102,11 @@ module.exports = AWS.ChimeSDKIdentity;
/***/ }),
-/***/ 18423:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 64464:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6353,8 +7114,8 @@ apiLoader.services['chimesdkmediapipelines'] = {};
AWS.ChimeSDKMediaPipelines = Service.defineService('chimesdkmediapipelines', ['2021-07-15']);
Object.defineProperty(apiLoader.services['chimesdkmediapipelines'], '2021-07-15', {
get: function get() {
- var model = __webpack_require__(73501);
- model.paginators = __webpack_require__(1890)/* .pagination */ .o;
+ var model = __nccwpck_require__(29177);
+ model.paginators = (__nccwpck_require__(7523)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6366,11 +7127,11 @@ module.exports = AWS.ChimeSDKMediaPipelines;
/***/ }),
-/***/ 80788:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 79409:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6378,8 +7139,8 @@ apiLoader.services['chimesdkmeetings'] = {};
AWS.ChimeSDKMeetings = Service.defineService('chimesdkmeetings', ['2021-07-15']);
Object.defineProperty(apiLoader.services['chimesdkmeetings'], '2021-07-15', {
get: function get() {
- var model = __webpack_require__(15081);
- model.paginators = __webpack_require__(29537)/* .pagination */ .o;
+ var model = __nccwpck_require__(1949);
+ model.paginators = (__nccwpck_require__(62223)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6391,11 +7152,11 @@ module.exports = AWS.ChimeSDKMeetings;
/***/ }),
-/***/ 25255:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 39471:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6403,8 +7164,8 @@ apiLoader.services['chimesdkmessaging'] = {};
AWS.ChimeSDKMessaging = Service.defineService('chimesdkmessaging', ['2021-05-15']);
Object.defineProperty(apiLoader.services['chimesdkmessaging'], '2021-05-15', {
get: function get() {
- var model = __webpack_require__(4378);
- model.paginators = __webpack_require__(8921)/* .pagination */ .o;
+ var model = __nccwpck_require__(80477);
+ model.paginators = (__nccwpck_require__(3471)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6416,11 +7177,88 @@ module.exports = AWS.ChimeSDKMessaging;
/***/ }),
-/***/ 85473:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 95933:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['chimesdkvoice'] = {};
+AWS.ChimeSDKVoice = Service.defineService('chimesdkvoice', ['2022-08-03']);
+Object.defineProperty(apiLoader.services['chimesdkvoice'], '2022-08-03', {
+ get: function get() {
+ var model = __nccwpck_require__(77248);
+ model.paginators = (__nccwpck_require__(85396)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.ChimeSDKVoice;
+
+
+/***/ }),
+
+/***/ 75676:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['cleanrooms'] = {};
+AWS.CleanRooms = Service.defineService('cleanrooms', ['2022-02-17']);
+Object.defineProperty(apiLoader.services['cleanrooms'], '2022-02-17', {
+ get: function get() {
+ var model = __nccwpck_require__(6812);
+ model.paginators = (__nccwpck_require__(31032)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(67107)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.CleanRooms;
+
+
+/***/ }),
+
+/***/ 13945:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['cleanroomsml'] = {};
+AWS.CleanRoomsML = Service.defineService('cleanroomsml', ['2023-09-06']);
+Object.defineProperty(apiLoader.services['cleanroomsml'], '2023-09-06', {
+ get: function get() {
+ var model = __nccwpck_require__(84933);
+ model.paginators = (__nccwpck_require__(83431)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(39676)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.CleanRoomsML;
+
+
+/***/ }),
+
+/***/ 29527:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6428,8 +7266,8 @@ apiLoader.services['cloud9'] = {};
AWS.Cloud9 = Service.defineService('cloud9', ['2017-09-23']);
Object.defineProperty(apiLoader.services['cloud9'], '2017-09-23', {
get: function get() {
- var model = __webpack_require__(90697);
- model.paginators = __webpack_require__(79426)/* .pagination */ .o;
+ var model = __nccwpck_require__(46613);
+ model.paginators = (__nccwpck_require__(33943)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6441,11 +7279,11 @@ module.exports = AWS.Cloud9;
/***/ }),
-/***/ 25630:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 68069:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6453,9 +7291,9 @@ apiLoader.services['cloudcontrol'] = {};
AWS.CloudControl = Service.defineService('cloudcontrol', ['2021-09-30']);
Object.defineProperty(apiLoader.services['cloudcontrol'], '2021-09-30', {
get: function get() {
- var model = __webpack_require__(56373);
- model.paginators = __webpack_require__(86078)/* .pagination */ .o;
- model.waiters = __webpack_require__(50992)/* .waiters */ .V;
+ var model = __nccwpck_require__(12582);
+ model.paginators = (__nccwpck_require__(31854)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(157)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6467,11 +7305,11 @@ module.exports = AWS.CloudControl;
/***/ }),
-/***/ 56231:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 80563:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6479,8 +7317,8 @@ apiLoader.services['clouddirectory'] = {};
AWS.CloudDirectory = Service.defineService('clouddirectory', ['2016-05-10', '2016-05-10*', '2017-01-11']);
Object.defineProperty(apiLoader.services['clouddirectory'], '2016-05-10', {
get: function get() {
- var model = __webpack_require__(87301);
- model.paginators = __webpack_require__(72446)/* .pagination */ .o;
+ var model = __nccwpck_require__(92044);
+ model.paginators = (__nccwpck_require__(20744)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6488,8 +7326,8 @@ Object.defineProperty(apiLoader.services['clouddirectory'], '2016-05-10', {
});
Object.defineProperty(apiLoader.services['clouddirectory'], '2017-01-11', {
get: function get() {
- var model = __webpack_require__(79943);
- model.paginators = __webpack_require__(20410)/* .pagination */ .o;
+ var model = __nccwpck_require__(34084);
+ model.paginators = (__nccwpck_require__(30224)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6501,11 +7339,11 @@ module.exports = AWS.CloudDirectory;
/***/ }),
-/***/ 74643:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 79599:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6513,9 +7351,9 @@ apiLoader.services['cloudformation'] = {};
AWS.CloudFormation = Service.defineService('cloudformation', ['2010-05-15']);
Object.defineProperty(apiLoader.services['cloudformation'], '2010-05-15', {
get: function get() {
- var model = __webpack_require__(50980);
- model.paginators = __webpack_require__(43078)/* .pagination */ .o;
- model.waiters = __webpack_require__(11714)/* .waiters */ .V;
+ var model = __nccwpck_require__(84681);
+ model.paginators = (__nccwpck_require__(82067)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(22032)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6527,22 +7365,22 @@ module.exports = AWS.CloudFormation;
/***/ }),
-/***/ 48058:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 44323:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['cloudfront'] = {};
AWS.CloudFront = Service.defineService('cloudfront', ['2013-05-12*', '2013-11-11*', '2014-05-31*', '2014-10-21*', '2014-11-06*', '2015-04-17*', '2015-07-27*', '2015-09-17*', '2016-01-13*', '2016-01-28*', '2016-08-01*', '2016-08-20*', '2016-09-07*', '2016-09-29*', '2016-11-25', '2016-11-25*', '2017-03-25', '2017-03-25*', '2017-10-30', '2017-10-30*', '2018-06-18', '2018-06-18*', '2018-11-05', '2018-11-05*', '2019-03-26', '2019-03-26*', '2020-05-31']);
-__webpack_require__(95483);
+__nccwpck_require__(20089);
Object.defineProperty(apiLoader.services['cloudfront'], '2016-11-25', {
get: function get() {
- var model = __webpack_require__(81977);
- model.paginators = __webpack_require__(12819)/* .pagination */ .o;
- model.waiters = __webpack_require__(52832)/* .waiters */ .V;
+ var model = __nccwpck_require__(63907);
+ model.paginators = (__nccwpck_require__(78353)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(17170)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6550,9 +7388,9 @@ Object.defineProperty(apiLoader.services['cloudfront'], '2016-11-25', {
});
Object.defineProperty(apiLoader.services['cloudfront'], '2017-03-25', {
get: function get() {
- var model = __webpack_require__(38288);
- model.paginators = __webpack_require__(19896)/* .pagination */ .o;
- model.waiters = __webpack_require__(43589)/* .waiters */ .V;
+ var model = __nccwpck_require__(62549);
+ model.paginators = (__nccwpck_require__(12055)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(22988)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6560,9 +7398,9 @@ Object.defineProperty(apiLoader.services['cloudfront'], '2017-03-25', {
});
Object.defineProperty(apiLoader.services['cloudfront'], '2017-10-30', {
get: function get() {
- var model = __webpack_require__(62352);
- model.paginators = __webpack_require__(94430)/* .pagination */ .o;
- model.waiters = __webpack_require__(36502)/* .waiters */ .V;
+ var model = __nccwpck_require__(4447);
+ model.paginators = (__nccwpck_require__(43653)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(97438)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6570,9 +7408,9 @@ Object.defineProperty(apiLoader.services['cloudfront'], '2017-10-30', {
});
Object.defineProperty(apiLoader.services['cloudfront'], '2018-06-18', {
get: function get() {
- var model = __webpack_require__(59976);
- model.paginators = __webpack_require__(43510)/* .pagination */ .o;
- model.waiters = __webpack_require__(67512)/* .waiters */ .V;
+ var model = __nccwpck_require__(38029);
+ model.paginators = (__nccwpck_require__(44191)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(71764)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6580,9 +7418,9 @@ Object.defineProperty(apiLoader.services['cloudfront'], '2018-06-18', {
});
Object.defineProperty(apiLoader.services['cloudfront'], '2018-11-05', {
get: function get() {
- var model = __webpack_require__(2861);
- model.paginators = __webpack_require__(94484)/* .pagination */ .o;
- model.waiters = __webpack_require__(94992)/* .waiters */ .V;
+ var model = __nccwpck_require__(32635);
+ model.paginators = (__nccwpck_require__(9753)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(37658)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6590,9 +7428,9 @@ Object.defineProperty(apiLoader.services['cloudfront'], '2018-11-05', {
});
Object.defineProperty(apiLoader.services['cloudfront'], '2019-03-26', {
get: function get() {
- var model = __webpack_require__(22621);
- model.paginators = __webpack_require__(49289)/* .pagination */ .o;
- model.waiters = __webpack_require__(89078)/* .waiters */ .V;
+ var model = __nccwpck_require__(51222);
+ model.paginators = (__nccwpck_require__(22462)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(76173)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6600,9 +7438,9 @@ Object.defineProperty(apiLoader.services['cloudfront'], '2019-03-26', {
});
Object.defineProperty(apiLoader.services['cloudfront'], '2020-05-31', {
get: function get() {
- var model = __webpack_require__(44946);
- model.paginators = __webpack_require__(92022)/* .pagination */ .o;
- model.waiters = __webpack_require__(83035)/* .waiters */ .V;
+ var model = __nccwpck_require__(51100);
+ model.paginators = (__nccwpck_require__(17624)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(51907)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6614,11 +7452,11 @@ module.exports = AWS.CloudFront;
/***/ }),
-/***/ 10569:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 75940:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6626,8 +7464,8 @@ apiLoader.services['cloudhsm'] = {};
AWS.CloudHSM = Service.defineService('cloudhsm', ['2014-05-30']);
Object.defineProperty(apiLoader.services['cloudhsm'], '2014-05-30', {
get: function get() {
- var model = __webpack_require__(59717);
- model.paginators = __webpack_require__(26512)/* .pagination */ .o;
+ var model = __nccwpck_require__(37245);
+ model.paginators = (__nccwpck_require__(83791)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6639,11 +7477,11 @@ module.exports = AWS.CloudHSM;
/***/ }),
-/***/ 70889:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 32112:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6651,8 +7489,8 @@ apiLoader.services['cloudhsmv2'] = {};
AWS.CloudHSMV2 = Service.defineService('cloudhsmv2', ['2017-04-28']);
Object.defineProperty(apiLoader.services['cloudhsmv2'], '2017-04-28', {
get: function get() {
- var model = __webpack_require__(19362);
- model.paginators = __webpack_require__(96674)/* .pagination */ .o;
+ var model = __nccwpck_require__(59848);
+ model.paginators = (__nccwpck_require__(684)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6664,11 +7502,11 @@ module.exports = AWS.CloudHSMV2;
/***/ }),
-/***/ 72321:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 27518:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6676,8 +7514,8 @@ apiLoader.services['cloudsearch'] = {};
AWS.CloudSearch = Service.defineService('cloudsearch', ['2011-02-01', '2013-01-01']);
Object.defineProperty(apiLoader.services['cloudsearch'], '2011-02-01', {
get: function get() {
- var model = __webpack_require__(4999);
- model.paginators = __webpack_require__(74483)/* .pagination */ .o;
+ var model = __nccwpck_require__(20527);
+ model.paginators = (__nccwpck_require__(20725)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6685,8 +7523,8 @@ Object.defineProperty(apiLoader.services['cloudsearch'], '2011-02-01', {
});
Object.defineProperty(apiLoader.services['cloudsearch'], '2013-01-01', {
get: function get() {
- var model = __webpack_require__(93200);
- model.paginators = __webpack_require__(82352)/* .pagination */ .o;
+ var model = __nccwpck_require__(28062);
+ model.paginators = (__nccwpck_require__(51990)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6698,20 +7536,20 @@ module.exports = AWS.CloudSearch;
/***/ }),
-/***/ 64072:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 97186:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['cloudsearchdomain'] = {};
AWS.CloudSearchDomain = Service.defineService('cloudsearchdomain', ['2013-01-01']);
-__webpack_require__(48571);
+__nccwpck_require__(84944);
Object.defineProperty(apiLoader.services['cloudsearchdomain'], '2013-01-01', {
get: function get() {
- var model = __webpack_require__(56588);
+ var model = __nccwpck_require__(23970);
return model;
},
enumerable: true,
@@ -6723,11 +7561,11 @@ module.exports = AWS.CloudSearchDomain;
/***/ }),
-/***/ 65512:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 48372:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6735,8 +7573,8 @@ apiLoader.services['cloudtrail'] = {};
AWS.CloudTrail = Service.defineService('cloudtrail', ['2013-11-01']);
Object.defineProperty(apiLoader.services['cloudtrail'], '2013-11-01', {
get: function get() {
- var model = __webpack_require__(90967);
- model.paginators = __webpack_require__(78414)/* .pagination */ .o;
+ var model = __nccwpck_require__(54947);
+ model.paginators = (__nccwpck_require__(5201)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6748,11 +7586,36 @@ module.exports = AWS.CloudTrail;
/***/ }),
-/***/ 6763:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 24124:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['cloudtraildata'] = {};
+AWS.CloudTrailData = Service.defineService('cloudtraildata', ['2021-08-11']);
+Object.defineProperty(apiLoader.services['cloudtraildata'], '2021-08-11', {
+ get: function get() {
+ var model = __nccwpck_require__(8386);
+ model.paginators = (__nccwpck_require__(53506)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.CloudTrailData;
+
+
+/***/ }),
+
+/***/ 52083:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6760,9 +7623,9 @@ apiLoader.services['cloudwatch'] = {};
AWS.CloudWatch = Service.defineService('cloudwatch', ['2010-08-01']);
Object.defineProperty(apiLoader.services['cloudwatch'], '2010-08-01', {
get: function get() {
- var model = __webpack_require__(12505);
- model.paginators = __webpack_require__(16758)/* .pagination */ .o;
- model.waiters = __webpack_require__(4112)/* .waiters */ .V;
+ var model = __nccwpck_require__(35999);
+ model.paginators = (__nccwpck_require__(49445)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(39998)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6774,11 +7637,11 @@ module.exports = AWS.CloudWatch;
/***/ }),
-/***/ 38124:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 22766:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6786,8 +7649,8 @@ apiLoader.services['cloudwatchevents'] = {};
AWS.CloudWatchEvents = Service.defineService('cloudwatchevents', ['2014-02-03*', '2015-10-07']);
Object.defineProperty(apiLoader.services['cloudwatchevents'], '2015-10-07', {
get: function get() {
- var model = __webpack_require__(2845);
- model.paginators = __webpack_require__(96939)/* .pagination */ .o;
+ var model = __nccwpck_require__(82196);
+ model.paginators = (__nccwpck_require__(59328)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6799,11 +7662,11 @@ module.exports = AWS.CloudWatchEvents;
/***/ }),
-/***/ 96693:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 48220:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6811,8 +7674,8 @@ apiLoader.services['cloudwatchlogs'] = {};
AWS.CloudWatchLogs = Service.defineService('cloudwatchlogs', ['2014-03-28']);
Object.defineProperty(apiLoader.services['cloudwatchlogs'], '2014-03-28', {
get: function get() {
- var model = __webpack_require__(69022);
- model.paginators = __webpack_require__(26273)/* .pagination */ .o;
+ var model = __nccwpck_require__(63038);
+ model.paginators = (__nccwpck_require__(85686)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6824,11 +7687,11 @@ module.exports = AWS.CloudWatchLogs;
/***/ }),
-/***/ 91983:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 68264:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6836,8 +7699,8 @@ apiLoader.services['codeartifact'] = {};
AWS.CodeArtifact = Service.defineService('codeartifact', ['2018-09-22']);
Object.defineProperty(apiLoader.services['codeartifact'], '2018-09-22', {
get: function get() {
- var model = __webpack_require__(26175);
- model.paginators = __webpack_require__(21307)/* .pagination */ .o;
+ var model = __nccwpck_require__(46738);
+ model.paginators = (__nccwpck_require__(33074)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6849,11 +7712,11 @@ module.exports = AWS.CodeArtifact;
/***/ }),
-/***/ 60450:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 25200:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6861,8 +7724,8 @@ apiLoader.services['codebuild'] = {};
AWS.CodeBuild = Service.defineService('codebuild', ['2016-10-06']);
Object.defineProperty(apiLoader.services['codebuild'], '2016-10-06', {
get: function get() {
- var model = __webpack_require__(32310);
- model.paginators = __webpack_require__(10589)/* .pagination */ .o;
+ var model = __nccwpck_require__(68364);
+ model.paginators = (__nccwpck_require__(3368)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6874,11 +7737,37 @@ module.exports = AWS.CodeBuild;
/***/ }),
-/***/ 71323:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 29097:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['codecatalyst'] = {};
+AWS.CodeCatalyst = Service.defineService('codecatalyst', ['2022-09-28']);
+Object.defineProperty(apiLoader.services['codecatalyst'], '2022-09-28', {
+ get: function get() {
+ var model = __nccwpck_require__(36506);
+ model.paginators = (__nccwpck_require__(21226)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(32881)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.CodeCatalyst;
+
+
+/***/ }),
+
+/***/ 71035:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6886,8 +7775,8 @@ apiLoader.services['codecommit'] = {};
AWS.CodeCommit = Service.defineService('codecommit', ['2015-04-13']);
Object.defineProperty(apiLoader.services['codecommit'], '2015-04-13', {
get: function get() {
- var model = __webpack_require__(2091);
- model.paginators = __webpack_require__(11742)/* .pagination */ .o;
+ var model = __nccwpck_require__(35093);
+ model.paginators = (__nccwpck_require__(86775)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6899,11 +7788,36 @@ module.exports = AWS.CodeCommit;
/***/ }),
-/***/ 54599:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 34561:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['codeconnections'] = {};
+AWS.CodeConnections = Service.defineService('codeconnections', ['2023-12-01']);
+Object.defineProperty(apiLoader.services['codeconnections'], '2023-12-01', {
+ get: function get() {
+ var model = __nccwpck_require__(70980);
+ model.paginators = (__nccwpck_require__(39600)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.CodeConnections;
+
+
+/***/ }),
+
+/***/ 9601:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6911,9 +7825,9 @@ apiLoader.services['codedeploy'] = {};
AWS.CodeDeploy = Service.defineService('codedeploy', ['2014-10-06']);
Object.defineProperty(apiLoader.services['codedeploy'], '2014-10-06', {
get: function get() {
- var model = __webpack_require__(33531);
- model.paginators = __webpack_require__(63203)/* .pagination */ .o;
- model.waiters = __webpack_require__(56338)/* .waiters */ .V;
+ var model = __nccwpck_require__(15965);
+ model.paginators = (__nccwpck_require__(60815)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(10948)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6925,11 +7839,11 @@ module.exports = AWS.CodeDeploy;
/***/ }),
-/***/ 65704:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 31530:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6937,8 +7851,8 @@ apiLoader.services['codeguruprofiler'] = {};
AWS.CodeGuruProfiler = Service.defineService('codeguruprofiler', ['2019-07-18']);
Object.defineProperty(apiLoader.services['codeguruprofiler'], '2019-07-18', {
get: function get() {
- var model = __webpack_require__(55790);
- model.paginators = __webpack_require__(14789)/* .pagination */ .o;
+ var model = __nccwpck_require__(89832);
+ model.paginators = (__nccwpck_require__(86988)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -6950,11 +7864,11 @@ module.exports = AWS.CodeGuruProfiler;
/***/ }),
-/***/ 60070:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 50540:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -6962,9 +7876,9 @@ apiLoader.services['codegurureviewer'] = {};
AWS.CodeGuruReviewer = Service.defineService('codegurureviewer', ['2019-09-19']);
Object.defineProperty(apiLoader.services['codegurureviewer'], '2019-09-19', {
get: function get() {
- var model = __webpack_require__(16420);
- model.paginators = __webpack_require__(89571)/* .pagination */ .o;
- model.waiters = __webpack_require__(12860)/* .waiters */ .V;
+ var model = __nccwpck_require__(27850);
+ model.paginators = (__nccwpck_require__(57114)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(32833)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -6976,61 +7890,61 @@ module.exports = AWS.CodeGuruReviewer;
/***/ }),
-/***/ 22938:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 89893:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
-apiLoader.services['codepipeline'] = {};
-AWS.CodePipeline = Service.defineService('codepipeline', ['2015-07-09']);
-Object.defineProperty(apiLoader.services['codepipeline'], '2015-07-09', {
+apiLoader.services['codegurusecurity'] = {};
+AWS.CodeGuruSecurity = Service.defineService('codegurusecurity', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['codegurusecurity'], '2018-05-10', {
get: function get() {
- var model = __webpack_require__(92486);
- model.paginators = __webpack_require__(38160)/* .pagination */ .o;
+ var model = __nccwpck_require__(71345);
+ model.paginators = (__nccwpck_require__(68235)/* .pagination */ .X);
return model;
},
enumerable: true,
configurable: true
});
-module.exports = AWS.CodePipeline;
+module.exports = AWS.CodeGuruSecurity;
/***/ }),
-/***/ 98336:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 43376:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
-apiLoader.services['codestar'] = {};
-AWS.CodeStar = Service.defineService('codestar', ['2017-04-19']);
-Object.defineProperty(apiLoader.services['codestar'], '2017-04-19', {
+apiLoader.services['codepipeline'] = {};
+AWS.CodePipeline = Service.defineService('codepipeline', ['2015-07-09']);
+Object.defineProperty(apiLoader.services['codepipeline'], '2015-07-09', {
get: function get() {
- var model = __webpack_require__(71626);
- model.paginators = __webpack_require__(78653)/* .pagination */ .o;
+ var model = __nccwpck_require__(7668);
+ model.paginators = (__nccwpck_require__(16096)/* .pagination */ .X);
return model;
},
enumerable: true,
configurable: true
});
-module.exports = AWS.CodeStar;
+module.exports = AWS.CodePipeline;
/***/ }),
-/***/ 78270:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 92813:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7038,8 +7952,8 @@ apiLoader.services['codestarconnections'] = {};
AWS.CodeStarconnections = Service.defineService('codestarconnections', ['2019-12-01']);
Object.defineProperty(apiLoader.services['codestarconnections'], '2019-12-01', {
get: function get() {
- var model = __webpack_require__(81568);
- model.paginators = __webpack_require__(7656)/* .pagination */ .o;
+ var model = __nccwpck_require__(47856);
+ model.paginators = (__nccwpck_require__(11012)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7051,11 +7965,11 @@ module.exports = AWS.CodeStarconnections;
/***/ }),
-/***/ 15141:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 84832:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7063,8 +7977,8 @@ apiLoader.services['codestarnotifications'] = {};
AWS.CodeStarNotifications = Service.defineService('codestarnotifications', ['2019-10-15']);
Object.defineProperty(apiLoader.services['codestarnotifications'], '2019-10-15', {
get: function get() {
- var model = __webpack_require__(41964);
- model.paginators = __webpack_require__(5741)/* .pagination */ .o;
+ var model = __nccwpck_require__(67028);
+ model.paginators = (__nccwpck_require__(48096)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7076,11 +7990,11 @@ module.exports = AWS.CodeStarNotifications;
/***/ }),
-/***/ 58291:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 74566:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7088,8 +8002,8 @@ apiLoader.services['cognitoidentity'] = {};
AWS.CognitoIdentity = Service.defineService('cognitoidentity', ['2014-06-30']);
Object.defineProperty(apiLoader.services['cognitoidentity'], '2014-06-30', {
get: function get() {
- var model = __webpack_require__(26102);
- model.paginators = __webpack_require__(80796)/* .pagination */ .o;
+ var model = __nccwpck_require__(36607);
+ model.paginators = (__nccwpck_require__(76741)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7101,11 +8015,11 @@ module.exports = AWS.CognitoIdentity;
/***/ }),
-/***/ 31379:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 67386:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7113,8 +8027,8 @@ apiLoader.services['cognitoidentityserviceprovider'] = {};
AWS.CognitoIdentityServiceProvider = Service.defineService('cognitoidentityserviceprovider', ['2016-04-18']);
Object.defineProperty(apiLoader.services['cognitoidentityserviceprovider'], '2016-04-18', {
get: function get() {
- var model = __webpack_require__(60923);
- model.paginators = __webpack_require__(32568)/* .pagination */ .o;
+ var model = __nccwpck_require__(91354);
+ model.paginators = (__nccwpck_require__(86154)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7126,11 +8040,11 @@ module.exports = AWS.CognitoIdentityServiceProvider;
/***/ }),
-/***/ 74770:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 74851:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7138,8 +8052,8 @@ apiLoader.services['cognitosync'] = {};
AWS.CognitoSync = Service.defineService('cognitosync', ['2014-06-30']);
Object.defineProperty(apiLoader.services['cognitosync'], '2014-06-30', {
get: function get() {
- var model = __webpack_require__(91406);
- model.paginators = __webpack_require__(23418)/* .pagination */ .o;
+ var model = __nccwpck_require__(37892);
+ model.paginators = (__nccwpck_require__(8912)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7151,11 +8065,11 @@ module.exports = AWS.CognitoSync;
/***/ }),
-/***/ 62878:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 36668:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7163,8 +8077,8 @@ apiLoader.services['comprehend'] = {};
AWS.Comprehend = Service.defineService('comprehend', ['2017-11-27']);
Object.defineProperty(apiLoader.services['comprehend'], '2017-11-27', {
get: function get() {
- var model = __webpack_require__(71004);
- model.paginators = __webpack_require__(70341)/* .pagination */ .o;
+ var model = __nccwpck_require__(9355);
+ model.paginators = (__nccwpck_require__(9193)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7176,11 +8090,11 @@ module.exports = AWS.Comprehend;
/***/ }),
-/***/ 32349:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 22489:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7188,8 +8102,8 @@ apiLoader.services['comprehendmedical'] = {};
AWS.ComprehendMedical = Service.defineService('comprehendmedical', ['2018-10-30']);
Object.defineProperty(apiLoader.services['comprehendmedical'], '2018-10-30', {
get: function get() {
- var model = __webpack_require__(65085);
- model.paginators = __webpack_require__(89772)/* .pagination */ .o;
+ var model = __nccwpck_require__(75004);
+ model.paginators = (__nccwpck_require__(2680)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7201,11 +8115,11 @@ module.exports = AWS.ComprehendMedical;
/***/ }),
-/***/ 64459:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 631:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7213,8 +8127,8 @@ apiLoader.services['computeoptimizer'] = {};
AWS.ComputeOptimizer = Service.defineService('computeoptimizer', ['2019-11-01']);
Object.defineProperty(apiLoader.services['computeoptimizer'], '2019-11-01', {
get: function get() {
- var model = __webpack_require__(559);
- model.paginators = __webpack_require__(16060)/* .pagination */ .o;
+ var model = __nccwpck_require__(49593);
+ model.paginators = (__nccwpck_require__(97699)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7226,11 +8140,11 @@ module.exports = AWS.ComputeOptimizer;
/***/ }),
-/***/ 34061:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 80118:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7238,8 +8152,8 @@ apiLoader.services['configservice'] = {};
AWS.ConfigService = Service.defineService('configservice', ['2014-11-12']);
Object.defineProperty(apiLoader.services['configservice'], '2014-11-12', {
get: function get() {
- var model = __webpack_require__(85031);
- model.paginators = __webpack_require__(55050)/* .pagination */ .o;
+ var model = __nccwpck_require__(53229);
+ model.paginators = (__nccwpck_require__(73215)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7251,11 +8165,11 @@ module.exports = AWS.ConfigService;
/***/ }),
-/***/ 13879:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 21025:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7263,8 +8177,8 @@ apiLoader.services['connect'] = {};
AWS.Connect = Service.defineService('connect', ['2017-08-08']);
Object.defineProperty(apiLoader.services['connect'], '2017-08-08', {
get: function get() {
- var model = __webpack_require__(13649);
- model.paginators = __webpack_require__(35649)/* .pagination */ .o;
+ var model = __nccwpck_require__(64421);
+ model.paginators = (__nccwpck_require__(56615)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7276,11 +8190,11 @@ module.exports = AWS.Connect;
/***/ }),
-/***/ 42789:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 45342:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7288,8 +8202,8 @@ apiLoader.services['connectcampaigns'] = {};
AWS.ConnectCampaigns = Service.defineService('connectcampaigns', ['2021-01-30']);
Object.defineProperty(apiLoader.services['connectcampaigns'], '2021-01-30', {
get: function get() {
- var model = __webpack_require__(46240);
- model.paginators = __webpack_require__(27367)/* .pagination */ .o;
+ var model = __nccwpck_require__(33551);
+ model.paginators = (__nccwpck_require__(67189)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7301,11 +8215,11 @@ module.exports = AWS.ConnectCampaigns;
/***/ }),
-/***/ 72223:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 48000:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7313,8 +8227,8 @@ apiLoader.services['connectcases'] = {};
AWS.ConnectCases = Service.defineService('connectcases', ['2022-10-03']);
Object.defineProperty(apiLoader.services['connectcases'], '2022-10-03', {
get: function get() {
- var model = __webpack_require__(64583);
- model.paginators = __webpack_require__(64672)/* .pagination */ .o;
+ var model = __nccwpck_require__(88344);
+ model.paginators = (__nccwpck_require__(83772)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7326,11 +8240,11 @@ module.exports = AWS.ConnectCases;
/***/ }),
-/***/ 41847:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 67997:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7338,8 +8252,8 @@ apiLoader.services['connectcontactlens'] = {};
AWS.ConnectContactLens = Service.defineService('connectcontactlens', ['2020-08-21']);
Object.defineProperty(apiLoader.services['connectcontactlens'], '2020-08-21', {
get: function get() {
- var model = __webpack_require__(86739);
- model.paginators = __webpack_require__(49692)/* .pagination */ .o;
+ var model = __nccwpck_require__(14730);
+ model.paginators = (__nccwpck_require__(22234)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7351,11 +8265,11 @@ module.exports = AWS.ConnectContactLens;
/***/ }),
-/***/ 94198:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 13472:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7363,8 +8277,8 @@ apiLoader.services['connectparticipant'] = {};
AWS.ConnectParticipant = Service.defineService('connectparticipant', ['2018-09-07']);
Object.defineProperty(apiLoader.services['connectparticipant'], '2018-09-07', {
get: function get() {
- var model = __webpack_require__(46788);
- model.paginators = __webpack_require__(2813)/* .pagination */ .o;
+ var model = __nccwpck_require__(24459);
+ model.paginators = (__nccwpck_require__(78313)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7376,11 +8290,37 @@ module.exports = AWS.ConnectParticipant;
/***/ }),
-/***/ 77574:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 34687:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['controlcatalog'] = {};
+AWS.ControlCatalog = Service.defineService('controlcatalog', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['controlcatalog'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(96774);
+ model.paginators = (__nccwpck_require__(83374)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(8829)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.ControlCatalog;
+
+
+/***/ }),
+
+/***/ 85597:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7388,8 +8328,8 @@ apiLoader.services['controltower'] = {};
AWS.ControlTower = Service.defineService('controltower', ['2018-05-10']);
Object.defineProperty(apiLoader.services['controltower'], '2018-05-10', {
get: function get() {
- var model = __webpack_require__(1066);
- model.paginators = __webpack_require__(55009)/* .pagination */ .o;
+ var model = __nccwpck_require__(27716);
+ model.paginators = (__nccwpck_require__(16464)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7401,11 +8341,11 @@ module.exports = AWS.ControlTower;
/***/ }),
-/***/ 79523:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 941:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7413,8 +8353,8 @@ apiLoader.services['costexplorer'] = {};
AWS.CostExplorer = Service.defineService('costexplorer', ['2017-10-25']);
Object.defineProperty(apiLoader.services['costexplorer'], '2017-10-25', {
get: function get() {
- var model = __webpack_require__(86565);
- model.paginators = __webpack_require__(94382)/* .pagination */ .o;
+ var model = __nccwpck_require__(39333);
+ model.paginators = (__nccwpck_require__(74535)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7426,11 +8366,37 @@ module.exports = AWS.CostExplorer;
/***/ }),
-/***/ 5026:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 22568:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['costoptimizationhub'] = {};
+AWS.CostOptimizationHub = Service.defineService('costoptimizationhub', ['2022-07-26']);
+Object.defineProperty(apiLoader.services['costoptimizationhub'], '2022-07-26', {
+ get: function get() {
+ var model = __nccwpck_require__(82073);
+ model.paginators = (__nccwpck_require__(78435)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(26560)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.CostOptimizationHub;
+
+
+/***/ }),
+
+/***/ 37797:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7438,8 +8404,8 @@ apiLoader.services['cur'] = {};
AWS.CUR = Service.defineService('cur', ['2017-01-06']);
Object.defineProperty(apiLoader.services['cur'], '2017-01-06', {
get: function get() {
- var model = __webpack_require__(4138);
- model.paginators = __webpack_require__(29271)/* .pagination */ .o;
+ var model = __nccwpck_require__(10998);
+ model.paginators = (__nccwpck_require__(23230)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7451,11 +8417,11 @@ module.exports = AWS.CUR;
/***/ }),
-/***/ 28379:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 2293:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7463,8 +8429,8 @@ apiLoader.services['customerprofiles'] = {};
AWS.CustomerProfiles = Service.defineService('customerprofiles', ['2020-08-15']);
Object.defineProperty(apiLoader.services['customerprofiles'], '2020-08-15', {
get: function get() {
- var model = __webpack_require__(39734);
- model.paginators = __webpack_require__(35003)/* .pagination */ .o;
+ var model = __nccwpck_require__(99812);
+ model.paginators = (__nccwpck_require__(13008)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7476,11 +8442,11 @@ module.exports = AWS.CustomerProfiles;
/***/ }),
-/***/ 35846:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 19091:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7488,8 +8454,8 @@ apiLoader.services['databrew'] = {};
AWS.DataBrew = Service.defineService('databrew', ['2017-07-25']);
Object.defineProperty(apiLoader.services['databrew'], '2017-07-25', {
get: function get() {
- var model = __webpack_require__(42529);
- model.paginators = __webpack_require__(91224)/* .pagination */ .o;
+ var model = __nccwpck_require__(20957);
+ model.paginators = (__nccwpck_require__(58383)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7501,11 +8467,11 @@ module.exports = AWS.DataBrew;
/***/ }),
-/***/ 11024:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 2486:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7513,9 +8479,9 @@ apiLoader.services['dataexchange'] = {};
AWS.DataExchange = Service.defineService('dataexchange', ['2017-07-25']);
Object.defineProperty(apiLoader.services['dataexchange'], '2017-07-25', {
get: function get() {
- var model = __webpack_require__(25676);
- model.paginators = __webpack_require__(44399)/* .pagination */ .o;
- model.waiters = __webpack_require__(75202)/* .waiters */ .V;
+ var model = __nccwpck_require__(27674);
+ model.paginators = (__nccwpck_require__(89770)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(17297)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -7527,11 +8493,11 @@ module.exports = AWS.DataExchange;
/***/ }),
-/***/ 65688:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 56081:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7539,8 +8505,8 @@ apiLoader.services['datapipeline'] = {};
AWS.DataPipeline = Service.defineService('datapipeline', ['2012-10-29']);
Object.defineProperty(apiLoader.services['datapipeline'], '2012-10-29', {
get: function get() {
- var model = __webpack_require__(9547);
- model.paginators = __webpack_require__(48471)/* .pagination */ .o;
+ var model = __nccwpck_require__(52784);
+ model.paginators = (__nccwpck_require__(18052)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7552,11 +8518,11 @@ module.exports = AWS.DataPipeline;
/***/ }),
-/***/ 15472:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 10000:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7564,8 +8530,8 @@ apiLoader.services['datasync'] = {};
AWS.DataSync = Service.defineService('datasync', ['2018-11-09']);
Object.defineProperty(apiLoader.services['datasync'], '2018-11-09', {
get: function get() {
- var model = __webpack_require__(37374);
- model.paginators = __webpack_require__(18448)/* .pagination */ .o;
+ var model = __nccwpck_require__(226);
+ model.paginators = (__nccwpck_require__(70018)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7577,11 +8543,36 @@ module.exports = AWS.DataSync;
/***/ }),
-/***/ 71398:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 39505:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['datazone'] = {};
+AWS.DataZone = Service.defineService('datazone', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['datazone'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(85756);
+ model.paginators = (__nccwpck_require__(95640)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.DataZone;
+
+
+/***/ }),
+
+/***/ 81614:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7589,8 +8580,8 @@ apiLoader.services['dax'] = {};
AWS.DAX = Service.defineService('dax', ['2017-04-19']);
Object.defineProperty(apiLoader.services['dax'], '2017-04-19', {
get: function get() {
- var model = __webpack_require__(97287);
- model.paginators = __webpack_require__(15791)/* .pagination */ .o;
+ var model = __nccwpck_require__(20990);
+ model.paginators = (__nccwpck_require__(34518)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7602,11 +8593,37 @@ module.exports = AWS.DAX;
/***/ }),
-/***/ 60674:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 98459:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['deadline'] = {};
+AWS.Deadline = Service.defineService('deadline', ['2023-10-12']);
+Object.defineProperty(apiLoader.services['deadline'], '2023-10-12', {
+ get: function get() {
+ var model = __nccwpck_require__(25552);
+ model.paginators = (__nccwpck_require__(78788)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(12951)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Deadline;
+
+
+/***/ }),
+
+/***/ 4256:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7614,8 +8631,8 @@ apiLoader.services['detective'] = {};
AWS.Detective = Service.defineService('detective', ['2018-10-26']);
Object.defineProperty(apiLoader.services['detective'], '2018-10-26', {
get: function get() {
- var model = __webpack_require__(38107);
- model.paginators = __webpack_require__(26554)/* .pagination */ .o;
+ var model = __nccwpck_require__(98172);
+ model.paginators = (__nccwpck_require__(19416)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7627,11 +8644,11 @@ module.exports = AWS.Detective;
/***/ }),
-/***/ 26272:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 9369:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7639,8 +8656,8 @@ apiLoader.services['devicefarm'] = {};
AWS.DeviceFarm = Service.defineService('devicefarm', ['2015-06-23']);
Object.defineProperty(apiLoader.services['devicefarm'], '2015-06-23', {
get: function get() {
- var model = __webpack_require__(87206);
- model.paginators = __webpack_require__(85524)/* .pagination */ .o;
+ var model = __nccwpck_require__(83662);
+ model.paginators = (__nccwpck_require__(68358)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7652,11 +8669,11 @@ module.exports = AWS.DeviceFarm;
/***/ }),
-/***/ 90673:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 53303:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7664,8 +8681,8 @@ apiLoader.services['devopsguru'] = {};
AWS.DevOpsGuru = Service.defineService('devopsguru', ['2020-12-01']);
Object.defineProperty(apiLoader.services['devopsguru'], '2020-12-01', {
get: function get() {
- var model = __webpack_require__(82176);
- model.paginators = __webpack_require__(91556)/* .pagination */ .o;
+ var model = __nccwpck_require__(96772);
+ model.paginators = (__nccwpck_require__(87920)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7677,11 +8694,11 @@ module.exports = AWS.DevOpsGuru;
/***/ }),
-/***/ 73783:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 11742:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7689,8 +8706,8 @@ apiLoader.services['directconnect'] = {};
AWS.DirectConnect = Service.defineService('directconnect', ['2012-10-25']);
Object.defineProperty(apiLoader.services['directconnect'], '2012-10-25', {
get: function get() {
- var model = __webpack_require__(49177);
- model.paginators = __webpack_require__(57373)/* .pagination */ .o;
+ var model = __nccwpck_require__(59117);
+ model.paginators = (__nccwpck_require__(74463)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7702,11 +8719,11 @@ module.exports = AWS.DirectConnect;
/***/ }),
-/***/ 83908:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 91225:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7714,8 +8731,8 @@ apiLoader.services['directoryservice'] = {};
AWS.DirectoryService = Service.defineService('directoryservice', ['2015-04-16']);
Object.defineProperty(apiLoader.services['directoryservice'], '2015-04-16', {
get: function get() {
- var model = __webpack_require__(3174);
- model.paginators = __webpack_require__(1714)/* .pagination */ .o;
+ var model = __nccwpck_require__(84589);
+ model.paginators = (__nccwpck_require__(21695)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7727,11 +8744,11 @@ module.exports = AWS.DirectoryService;
/***/ }),
-/***/ 81690:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 14701:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7739,8 +8756,8 @@ apiLoader.services['discovery'] = {};
AWS.Discovery = Service.defineService('discovery', ['2015-11-01']);
Object.defineProperty(apiLoader.services['discovery'], '2015-11-01', {
get: function get() {
- var model = __webpack_require__(32400);
- model.paginators = __webpack_require__(54052)/* .pagination */ .o;
+ var model = __nccwpck_require__(21666);
+ model.paginators = (__nccwpck_require__(34018)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7752,11 +8769,11 @@ module.exports = AWS.Discovery;
/***/ }),
-/***/ 24958:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 65332:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7764,8 +8781,8 @@ apiLoader.services['dlm'] = {};
AWS.DLM = Service.defineService('dlm', ['2018-01-12']);
Object.defineProperty(apiLoader.services['dlm'], '2018-01-12', {
get: function get() {
- var model = __webpack_require__(19210);
- model.paginators = __webpack_require__(69943)/* .pagination */ .o;
+ var model = __nccwpck_require__(65597);
+ model.paginators = (__nccwpck_require__(53551)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7777,11 +8794,11 @@ module.exports = AWS.DLM;
/***/ }),
-/***/ 69868:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 36951:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7789,9 +8806,9 @@ apiLoader.services['dms'] = {};
AWS.DMS = Service.defineService('dms', ['2016-01-01']);
Object.defineProperty(apiLoader.services['dms'], '2016-01-01', {
get: function get() {
- var model = __webpack_require__(85765);
- model.paginators = __webpack_require__(170)/* .pagination */ .o;
- model.waiters = __webpack_require__(31491)/* .waiters */ .V;
+ var model = __nccwpck_require__(34086);
+ model.paginators = (__nccwpck_require__(6606)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(29437)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -7803,22 +8820,22 @@ module.exports = AWS.DMS;
/***/ }),
-/***/ 55129:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 50043:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['docdb'] = {};
AWS.DocDB = Service.defineService('docdb', ['2014-10-31']);
-__webpack_require__(59050);
+__nccwpck_require__(92057);
Object.defineProperty(apiLoader.services['docdb'], '2014-10-31', {
get: function get() {
- var model = __webpack_require__(78804);
- model.paginators = __webpack_require__(97929)/* .pagination */ .o;
- model.waiters = __webpack_require__(61159)/* .waiters */ .V;
+ var model = __nccwpck_require__(31057);
+ model.paginators = (__nccwpck_require__(76491)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(59752)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -7830,11 +8847,36 @@ module.exports = AWS.DocDB;
/***/ }),
-/***/ 41116:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 32756:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['docdbelastic'] = {};
+AWS.DocDBElastic = Service.defineService('docdbelastic', ['2022-11-28']);
+Object.defineProperty(apiLoader.services['docdbelastic'], '2022-11-28', {
+ get: function get() {
+ var model = __nccwpck_require__(88753);
+ model.paginators = (__nccwpck_require__(87307)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.DocDBElastic;
+
+
+/***/ }),
+
+/***/ 23056:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7842,8 +8884,8 @@ apiLoader.services['drs'] = {};
AWS.Drs = Service.defineService('drs', ['2020-02-26']);
Object.defineProperty(apiLoader.services['drs'], '2020-02-26', {
get: function get() {
- var model = __webpack_require__(15526);
- model.paginators = __webpack_require__(68795)/* .pagination */ .o;
+ var model = __nccwpck_require__(30430);
+ model.paginators = (__nccwpck_require__(54998)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7855,22 +8897,22 @@ module.exports = AWS.Drs;
/***/ }),
-/***/ 14347:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 86639:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['dynamodb'] = {};
AWS.DynamoDB = Service.defineService('dynamodb', ['2011-12-05', '2012-08-10']);
-__webpack_require__(17101);
+__nccwpck_require__(50961);
Object.defineProperty(apiLoader.services['dynamodb'], '2011-12-05', {
get: function get() {
- var model = __webpack_require__(59225);
- model.paginators = __webpack_require__(30867)/* .pagination */ .o;
- model.waiters = __webpack_require__(15606)/* .waiters */ .V;
+ var model = __nccwpck_require__(15055);
+ model.paginators = (__nccwpck_require__(6005)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(55790)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -7878,9 +8920,9 @@ Object.defineProperty(apiLoader.services['dynamodb'], '2011-12-05', {
});
Object.defineProperty(apiLoader.services['dynamodb'], '2012-08-10', {
get: function get() {
- var model = __webpack_require__(10198);
- model.paginators = __webpack_require__(79199)/* .pagination */ .o;
- model.waiters = __webpack_require__(13814)/* .waiters */ .V;
+ var model = __nccwpck_require__(90013);
+ model.paginators = (__nccwpck_require__(35247)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(69540)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -7892,11 +8934,11 @@ module.exports = AWS.DynamoDB;
/***/ }),
-/***/ 88090:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 23810:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7904,8 +8946,8 @@ apiLoader.services['dynamodbstreams'] = {};
AWS.DynamoDBStreams = Service.defineService('dynamodbstreams', ['2012-08-10']);
Object.defineProperty(apiLoader.services['dynamodbstreams'], '2012-08-10', {
get: function get() {
- var model = __webpack_require__(69705);
- model.paginators = __webpack_require__(18467)/* .pagination */ .o;
+ var model = __nccwpck_require__(19458);
+ model.paginators = (__nccwpck_require__(22274)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7917,11 +8959,11 @@ module.exports = AWS.DynamoDBStreams;
/***/ }),
-/***/ 62837:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 88083:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7929,8 +8971,8 @@ apiLoader.services['ebs'] = {};
AWS.EBS = Service.defineService('ebs', ['2019-11-02']);
Object.defineProperty(apiLoader.services['ebs'], '2019-11-02', {
get: function get() {
- var model = __webpack_require__(67263);
- model.paginators = __webpack_require__(94934)/* .pagination */ .o;
+ var model = __nccwpck_require__(649);
+ model.paginators = (__nccwpck_require__(92915)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7942,22 +8984,22 @@ module.exports = AWS.EBS;
/***/ }),
-/***/ 7778:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 36645:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['ec2'] = {};
AWS.EC2 = Service.defineService('ec2', ['2013-06-15*', '2013-10-15*', '2014-02-01*', '2014-05-01*', '2014-06-15*', '2014-09-01*', '2014-10-01*', '2015-03-01*', '2015-04-15*', '2015-10-01*', '2016-04-01*', '2016-09-15*', '2016-11-15']);
-__webpack_require__(92501);
+__nccwpck_require__(39007);
Object.defineProperty(apiLoader.services['ec2'], '2016-11-15', {
get: function get() {
- var model = __webpack_require__(8893);
- model.paginators = __webpack_require__(32127)/* .pagination */ .o;
- model.waiters = __webpack_require__(90157)/* .waiters */ .V;
+ var model = __nccwpck_require__(77222);
+ model.paginators = (__nccwpck_require__(74926)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(2973)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -7969,11 +9011,11 @@ module.exports = AWS.EC2;
/***/ }),
-/***/ 92209:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 74362:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -7981,8 +9023,8 @@ apiLoader.services['ec2instanceconnect'] = {};
AWS.EC2InstanceConnect = Service.defineService('ec2instanceconnect', ['2018-04-02']);
Object.defineProperty(apiLoader.services['ec2instanceconnect'], '2018-04-02', {
get: function get() {
- var model = __webpack_require__(14703);
- model.paginators = __webpack_require__(73353)/* .pagination */ .o;
+ var model = __nccwpck_require__(91767);
+ model.paginators = (__nccwpck_require__(22637)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -7994,11 +9036,11 @@ module.exports = AWS.EC2InstanceConnect;
/***/ }),
-/***/ 15211:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 95045:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8006,9 +9048,9 @@ apiLoader.services['ecr'] = {};
AWS.ECR = Service.defineService('ecr', ['2015-09-21']);
Object.defineProperty(apiLoader.services['ecr'], '2015-09-21', {
get: function get() {
- var model = __webpack_require__(80948);
- model.paginators = __webpack_require__(66855)/* .pagination */ .o;
- model.waiters = __webpack_require__(69800)/* .waiters */ .V;
+ var model = __nccwpck_require__(81947);
+ model.paginators = (__nccwpck_require__(44185)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(69754)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8020,11 +9062,11 @@ module.exports = AWS.ECR;
/***/ }),
-/***/ 90244:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 86240:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8032,8 +9074,8 @@ apiLoader.services['ecrpublic'] = {};
AWS.ECRPUBLIC = Service.defineService('ecrpublic', ['2020-10-30']);
Object.defineProperty(apiLoader.services['ecrpublic'], '2020-10-30', {
get: function get() {
- var model = __webpack_require__(82416);
- model.paginators = __webpack_require__(41518)/* .pagination */ .o;
+ var model = __nccwpck_require__(65305);
+ model.paginators = (__nccwpck_require__(15683)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8045,11 +9087,11 @@ module.exports = AWS.ECRPUBLIC;
/***/ }),
-/***/ 16615:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 10950:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8057,9 +9099,9 @@ apiLoader.services['ecs'] = {};
AWS.ECS = Service.defineService('ecs', ['2014-11-13']);
Object.defineProperty(apiLoader.services['ecs'], '2014-11-13', {
get: function get() {
- var model = __webpack_require__(68155);
- model.paginators = __webpack_require__(33629)/* .pagination */ .o;
- model.waiters = __webpack_require__(54199)/* .waiters */ .V;
+ var model = __nccwpck_require__(24247);
+ model.paginators = (__nccwpck_require__(15149)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(90022)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8071,11 +9113,11 @@ module.exports = AWS.ECS;
/***/ }),
-/***/ 34375:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 98607:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8083,8 +9125,8 @@ apiLoader.services['efs'] = {};
AWS.EFS = Service.defineService('efs', ['2015-02-01']);
Object.defineProperty(apiLoader.services['efs'], '2015-02-01', {
get: function get() {
- var model = __webpack_require__(54989);
- model.paginators = __webpack_require__(73750)/* .pagination */ .o;
+ var model = __nccwpck_require__(43424);
+ model.paginators = (__nccwpck_require__(17972)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8096,11 +9138,11 @@ module.exports = AWS.EFS;
/***/ }),
-/***/ 23337:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 43358:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8108,9 +9150,9 @@ apiLoader.services['eks'] = {};
AWS.EKS = Service.defineService('eks', ['2017-11-01']);
Object.defineProperty(apiLoader.services['eks'], '2017-11-01', {
get: function get() {
- var model = __webpack_require__(7766);
- model.paginators = __webpack_require__(17233)/* .pagination */ .o;
- model.waiters = __webpack_require__(11545)/* .waiters */ .V;
+ var model = __nccwpck_require__(33221);
+ model.paginators = (__nccwpck_require__(3655)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(45564)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8122,11 +9164,37 @@ module.exports = AWS.EKS;
/***/ }),
-/***/ 81065:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 69364:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['eksauth'] = {};
+AWS.EKSAuth = Service.defineService('eksauth', ['2023-11-26']);
+Object.defineProperty(apiLoader.services['eksauth'], '2023-11-26', {
+ get: function get() {
+ var model = __nccwpck_require__(53932);
+ model.paginators = (__nccwpck_require__(8424)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(73235)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.EKSAuth;
+
+
+/***/ }),
+
+/***/ 47063:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8134,9 +9202,9 @@ apiLoader.services['elasticache'] = {};
AWS.ElastiCache = Service.defineService('elasticache', ['2012-11-15*', '2014-03-24*', '2014-07-15*', '2014-09-30*', '2015-02-02']);
Object.defineProperty(apiLoader.services['elasticache'], '2015-02-02', {
get: function get() {
- var model = __webpack_require__(78248);
- model.paginators = __webpack_require__(47954)/* .pagination */ .o;
- model.waiters = __webpack_require__(35402)/* .waiters */ .V;
+ var model = __nccwpck_require__(84757);
+ model.paginators = (__nccwpck_require__(38807)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(12172)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8148,11 +9216,11 @@ module.exports = AWS.ElastiCache;
/***/ }),
-/***/ 14897:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 19083:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8160,9 +9228,9 @@ apiLoader.services['elasticbeanstalk'] = {};
AWS.ElasticBeanstalk = Service.defineService('elasticbeanstalk', ['2010-12-01']);
Object.defineProperty(apiLoader.services['elasticbeanstalk'], '2010-12-01', {
get: function get() {
- var model = __webpack_require__(26770);
- model.paginators = __webpack_require__(14282)/* .pagination */ .o;
- model.waiters = __webpack_require__(125)/* .waiters */ .V;
+ var model = __nccwpck_require__(92104);
+ model.paginators = (__nccwpck_require__(44076)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(33983)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8174,11 +9242,11 @@ module.exports = AWS.ElasticBeanstalk;
/***/ }),
-/***/ 37708:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 58709:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8186,8 +9254,8 @@ apiLoader.services['elasticinference'] = {};
AWS.ElasticInference = Service.defineService('elasticinference', ['2017-07-25']);
Object.defineProperty(apiLoader.services['elasticinference'], '2017-07-25', {
get: function get() {
- var model = __webpack_require__(76263);
- model.paginators = __webpack_require__(73815)/* .pagination */ .o;
+ var model = __nccwpck_require__(73994);
+ model.paginators = (__nccwpck_require__(63386)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8199,11 +9267,11 @@ module.exports = AWS.ElasticInference;
/***/ }),
-/***/ 40745:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 7843:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8211,9 +9279,9 @@ apiLoader.services['elastictranscoder'] = {};
AWS.ElasticTranscoder = Service.defineService('elastictranscoder', ['2012-09-25']);
Object.defineProperty(apiLoader.services['elastictranscoder'], '2012-09-25', {
get: function get() {
- var model = __webpack_require__(45610);
- model.paginators = __webpack_require__(35370)/* .pagination */ .o;
- model.waiters = __webpack_require__(13314)/* .waiters */ .V;
+ var model = __nccwpck_require__(2600);
+ model.paginators = (__nccwpck_require__(5356)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(83871)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8225,11 +9293,11 @@ module.exports = AWS.ElasticTranscoder;
/***/ }),
-/***/ 10907:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 67202:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8237,9 +9305,9 @@ apiLoader.services['elb'] = {};
AWS.ELB = Service.defineService('elb', ['2012-06-01']);
Object.defineProperty(apiLoader.services['elb'], '2012-06-01', {
get: function get() {
- var model = __webpack_require__(16234);
- model.paginators = __webpack_require__(87921)/* .pagination */ .o;
- model.waiters = __webpack_require__(41073)/* .waiters */ .V;
+ var model = __nccwpck_require__(77119);
+ model.paginators = (__nccwpck_require__(87749)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(15646)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8251,11 +9319,11 @@ module.exports = AWS.ELB;
/***/ }),
-/***/ 44311:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 67350:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8263,9 +9331,9 @@ apiLoader.services['elbv2'] = {};
AWS.ELBv2 = Service.defineService('elbv2', ['2015-12-01']);
Object.defineProperty(apiLoader.services['elbv2'], '2015-12-01', {
get: function get() {
- var model = __webpack_require__(95067);
- model.paginators = __webpack_require__(49154)/* .pagination */ .o;
- model.waiters = __webpack_require__(14244)/* .waiters */ .V;
+ var model = __nccwpck_require__(78941);
+ model.paginators = (__nccwpck_require__(96143)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(43460)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8277,11 +9345,11 @@ module.exports = AWS.ELBv2;
/***/ }),
-/***/ 50470:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 57387:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8289,9 +9357,9 @@ apiLoader.services['emr'] = {};
AWS.EMR = Service.defineService('emr', ['2009-03-31']);
Object.defineProperty(apiLoader.services['emr'], '2009-03-31', {
get: function get() {
- var model = __webpack_require__(61812);
- model.paginators = __webpack_require__(45852)/* .pagination */ .o;
- model.waiters = __webpack_require__(70234)/* .waiters */ .V;
+ var model = __nccwpck_require__(25740);
+ model.paginators = (__nccwpck_require__(65480)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(67315)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8303,11 +9371,11 @@ module.exports = AWS.EMR;
/***/ }),
-/***/ 49984:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 78271:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8315,8 +9383,8 @@ apiLoader.services['emrcontainers'] = {};
AWS.EMRcontainers = Service.defineService('emrcontainers', ['2020-10-01']);
Object.defineProperty(apiLoader.services['emrcontainers'], '2020-10-01', {
get: function get() {
- var model = __webpack_require__(96210);
- model.paginators = __webpack_require__(83173)/* .pagination */ .o;
+ var model = __nccwpck_require__(13644);
+ model.paginators = (__nccwpck_require__(47976)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8328,11 +9396,11 @@ module.exports = AWS.EMRcontainers;
/***/ }),
-/***/ 219:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 22901:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8340,8 +9408,8 @@ apiLoader.services['emrserverless'] = {};
AWS.EMRServerless = Service.defineService('emrserverless', ['2021-07-13']);
Object.defineProperty(apiLoader.services['emrserverless'], '2021-07-13', {
get: function get() {
- var model = __webpack_require__(20914);
- model.paginators = __webpack_require__(12326)/* .pagination */ .o;
+ var model = __nccwpck_require__(22886);
+ model.paginators = (__nccwpck_require__(32302)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8353,11 +9421,36 @@ module.exports = AWS.EMRServerless;
/***/ }),
-/***/ 84462:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 18444:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['entityresolution'] = {};
+AWS.EntityResolution = Service.defineService('entityresolution', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['entityresolution'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(72837);
+ model.paginators = (__nccwpck_require__(94183)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.EntityResolution;
+
+
+/***/ }),
+
+/***/ 38067:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8365,8 +9458,8 @@ apiLoader.services['es'] = {};
AWS.ES = Service.defineService('es', ['2015-01-01']);
Object.defineProperty(apiLoader.services['es'], '2015-01-01', {
get: function get() {
- var model = __webpack_require__(69235);
- model.paginators = __webpack_require__(5589)/* .pagination */ .o;
+ var model = __nccwpck_require__(93259);
+ model.paginators = (__nccwpck_require__(92489)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8378,21 +9471,21 @@ module.exports = AWS.ES;
/***/ }),
-/***/ 898:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 88614:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['eventbridge'] = {};
AWS.EventBridge = Service.defineService('eventbridge', ['2015-10-07']);
-__webpack_require__(3034);
+__nccwpck_require__(90300);
Object.defineProperty(apiLoader.services['eventbridge'], '2015-10-07', {
get: function get() {
- var model = __webpack_require__(16181);
- model.paginators = __webpack_require__(41745)/* .pagination */ .o;
+ var model = __nccwpck_require__(62116);
+ model.paginators = (__nccwpck_require__(44528)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8404,11 +9497,11 @@ module.exports = AWS.EventBridge;
/***/ }),
-/***/ 21440:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 2051:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8416,8 +9509,8 @@ apiLoader.services['evidently'] = {};
AWS.Evidently = Service.defineService('evidently', ['2021-02-01']);
Object.defineProperty(apiLoader.services['evidently'], '2021-02-01', {
get: function get() {
- var model = __webpack_require__(28544);
- model.paginators = __webpack_require__(54840)/* .pagination */ .o;
+ var model = __nccwpck_require__(32783);
+ model.paginators = (__nccwpck_require__(16533)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8429,11 +9522,11 @@ module.exports = AWS.Evidently;
/***/ }),
-/***/ 3052:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 1910:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8441,8 +9534,8 @@ apiLoader.services['finspace'] = {};
AWS.Finspace = Service.defineService('finspace', ['2021-03-12']);
Object.defineProperty(apiLoader.services['finspace'], '2021-03-12', {
get: function get() {
- var model = __webpack_require__(37103);
- model.paginators = __webpack_require__(57240)/* .pagination */ .o;
+ var model = __nccwpck_require__(77285);
+ model.paginators = (__nccwpck_require__(78823)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8454,11 +9547,11 @@ module.exports = AWS.Finspace;
/***/ }),
-/***/ 96869:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 64934:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8466,8 +9559,8 @@ apiLoader.services['finspacedata'] = {};
AWS.Finspacedata = Service.defineService('finspacedata', ['2020-07-13']);
Object.defineProperty(apiLoader.services['finspacedata'], '2020-07-13', {
get: function get() {
- var model = __webpack_require__(76667);
- model.paginators = __webpack_require__(92445)/* .pagination */ .o;
+ var model = __nccwpck_require__(4110);
+ model.paginators = (__nccwpck_require__(65510)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8479,11 +9572,11 @@ module.exports = AWS.Finspacedata;
/***/ }),
-/***/ 92831:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 81106:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8491,8 +9584,8 @@ apiLoader.services['firehose'] = {};
AWS.Firehose = Service.defineService('firehose', ['2015-08-04']);
Object.defineProperty(apiLoader.services['firehose'], '2015-08-04', {
get: function get() {
- var model = __webpack_require__(53370);
- model.paginators = __webpack_require__(16459)/* .pagination */ .o;
+ var model = __nccwpck_require__(69694);
+ model.paginators = (__nccwpck_require__(49334)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8504,11 +9597,11 @@ module.exports = AWS.Firehose;
/***/ }),
-/***/ 73003:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 56593:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8516,8 +9609,8 @@ apiLoader.services['fis'] = {};
AWS.Fis = Service.defineService('fis', ['2020-12-01']);
Object.defineProperty(apiLoader.services['fis'], '2020-12-01', {
get: function get() {
- var model = __webpack_require__(75416);
- model.paginators = __webpack_require__(703)/* .pagination */ .o;
+ var model = __nccwpck_require__(47561);
+ model.paginators = (__nccwpck_require__(98771)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8529,11 +9622,11 @@ module.exports = AWS.Fis;
/***/ }),
-/***/ 11316:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 33685:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8541,8 +9634,8 @@ apiLoader.services['fms'] = {};
AWS.FMS = Service.defineService('fms', ['2018-01-01']);
Object.defineProperty(apiLoader.services['fms'], '2018-01-01', {
get: function get() {
- var model = __webpack_require__(86359);
- model.paginators = __webpack_require__(47569)/* .pagination */ .o;
+ var model = __nccwpck_require__(63166);
+ model.paginators = (__nccwpck_require__(64726)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8554,11 +9647,11 @@ module.exports = AWS.FMS;
/***/ }),
-/***/ 36822:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 6681:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8566,8 +9659,8 @@ apiLoader.services['forecastqueryservice'] = {};
AWS.ForecastQueryService = Service.defineService('forecastqueryservice', ['2018-06-26']);
Object.defineProperty(apiLoader.services['forecastqueryservice'], '2018-06-26', {
get: function get() {
- var model = __webpack_require__(6430);
- model.paginators = __webpack_require__(30372)/* .pagination */ .o;
+ var model = __nccwpck_require__(90369);
+ model.paginators = (__nccwpck_require__(35835)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8579,11 +9672,11 @@ module.exports = AWS.ForecastQueryService;
/***/ }),
-/***/ 12942:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 93307:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8591,8 +9684,8 @@ apiLoader.services['forecastservice'] = {};
AWS.ForecastService = Service.defineService('forecastservice', ['2018-06-26']);
Object.defineProperty(apiLoader.services['forecastservice'], '2018-06-26', {
get: function get() {
- var model = __webpack_require__(55586);
- model.paginators = __webpack_require__(83052)/* .pagination */ .o;
+ var model = __nccwpck_require__(58243);
+ model.paginators = (__nccwpck_require__(51889)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8604,11 +9697,11 @@ module.exports = AWS.ForecastService;
/***/ }),
-/***/ 99830:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 95915:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8616,8 +9709,8 @@ apiLoader.services['frauddetector'] = {};
AWS.FraudDetector = Service.defineService('frauddetector', ['2019-11-15']);
Object.defineProperty(apiLoader.services['frauddetector'], '2019-11-15', {
get: function get() {
- var model = __webpack_require__(93807);
- model.paginators = __webpack_require__(32681)/* .pagination */ .o;
+ var model = __nccwpck_require__(56697);
+ model.paginators = (__nccwpck_require__(6435)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8629,97 +9722,97 @@ module.exports = AWS.FraudDetector;
/***/ }),
-/***/ 60642:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 17449:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
-apiLoader.services['fsx'] = {};
-AWS.FSx = Service.defineService('fsx', ['2018-03-01']);
-Object.defineProperty(apiLoader.services['fsx'], '2018-03-01', {
+apiLoader.services['freetier'] = {};
+AWS.FreeTier = Service.defineService('freetier', ['2023-09-07']);
+Object.defineProperty(apiLoader.services['freetier'], '2023-09-07', {
get: function get() {
- var model = __webpack_require__(85233);
- model.paginators = __webpack_require__(8719)/* .pagination */ .o;
+ var model = __nccwpck_require__(87390);
+ model.paginators = (__nccwpck_require__(5206)/* .pagination */ .X);
return model;
},
enumerable: true,
configurable: true
});
-module.exports = AWS.FSx;
+module.exports = AWS.FreeTier;
/***/ }),
-/***/ 8085:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 9914:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
-apiLoader.services['gamelift'] = {};
-AWS.GameLift = Service.defineService('gamelift', ['2015-10-01']);
-Object.defineProperty(apiLoader.services['gamelift'], '2015-10-01', {
+apiLoader.services['fsx'] = {};
+AWS.FSx = Service.defineService('fsx', ['2018-03-01']);
+Object.defineProperty(apiLoader.services['fsx'], '2018-03-01', {
get: function get() {
- var model = __webpack_require__(71658);
- model.paginators = __webpack_require__(32274)/* .pagination */ .o;
+ var model = __nccwpck_require__(55145);
+ model.paginators = (__nccwpck_require__(85331)/* .pagination */ .X);
return model;
},
enumerable: true,
configurable: true
});
-module.exports = AWS.GameLift;
+module.exports = AWS.FSx;
/***/ }),
-/***/ 83025:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 6272:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
-apiLoader.services['gamesparks'] = {};
-AWS.GameSparks = Service.defineService('gamesparks', ['2021-08-17']);
-Object.defineProperty(apiLoader.services['gamesparks'], '2021-08-17', {
+apiLoader.services['gamelift'] = {};
+AWS.GameLift = Service.defineService('gamelift', ['2015-10-01']);
+Object.defineProperty(apiLoader.services['gamelift'], '2015-10-01', {
get: function get() {
- var model = __webpack_require__(22116);
- model.paginators = __webpack_require__(66322)/* .pagination */ .o;
+ var model = __nccwpck_require__(8064);
+ model.paginators = (__nccwpck_require__(92308)/* .pagination */ .X);
return model;
},
enumerable: true,
configurable: true
});
-module.exports = AWS.GameSparks;
+module.exports = AWS.GameLift;
/***/ }),
-/***/ 63249:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 40369:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['glacier'] = {};
AWS.Glacier = Service.defineService('glacier', ['2012-06-01']);
-__webpack_require__(14472);
+__nccwpck_require__(98028);
Object.defineProperty(apiLoader.services['glacier'], '2012-06-01', {
get: function get() {
- var model = __webpack_require__(47563);
- model.paginators = __webpack_require__(77100)/* .pagination */ .o;
- model.waiters = __webpack_require__(81219)/* .waiters */ .V;
+ var model = __nccwpck_require__(26578);
+ model.paginators = (__nccwpck_require__(70706)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(37305)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8731,11 +9824,11 @@ module.exports = AWS.Glacier;
/***/ }),
-/***/ 19306:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 70969:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8743,8 +9836,8 @@ apiLoader.services['globalaccelerator'] = {};
AWS.GlobalAccelerator = Service.defineService('globalaccelerator', ['2018-08-08']);
Object.defineProperty(apiLoader.services['globalaccelerator'], '2018-08-08', {
get: function get() {
- var model = __webpack_require__(5157);
- model.paginators = __webpack_require__(9696)/* .pagination */ .o;
+ var model = __nccwpck_require__(70172);
+ model.paginators = (__nccwpck_require__(85304)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8756,11 +9849,11 @@ module.exports = AWS.GlobalAccelerator;
/***/ }),
-/***/ 31658:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 55294:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8768,8 +9861,8 @@ apiLoader.services['glue'] = {};
AWS.Glue = Service.defineService('glue', ['2017-03-31']);
Object.defineProperty(apiLoader.services['glue'], '2017-03-31', {
get: function get() {
- var model = __webpack_require__(91789);
- model.paginators = __webpack_require__(14005)/* .pagination */ .o;
+ var model = __nccwpck_require__(115);
+ model.paginators = (__nccwpck_require__(74625)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8781,11 +9874,11 @@ module.exports = AWS.Glue;
/***/ }),
-/***/ 51050:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 52519:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8793,8 +9886,8 @@ apiLoader.services['grafana'] = {};
AWS.Grafana = Service.defineService('grafana', ['2020-08-18']);
Object.defineProperty(apiLoader.services['grafana'], '2020-08-18', {
get: function get() {
- var model = __webpack_require__(1266);
- model.paginators = __webpack_require__(72877)/* .pagination */ .o;
+ var model = __nccwpck_require__(3400);
+ model.paginators = (__nccwpck_require__(74060)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8806,11 +9899,11 @@ module.exports = AWS.Grafana;
/***/ }),
-/***/ 20690:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 66228:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8818,7 +9911,7 @@ apiLoader.services['greengrass'] = {};
AWS.Greengrass = Service.defineService('greengrass', ['2017-06-07']);
Object.defineProperty(apiLoader.services['greengrass'], '2017-06-07', {
get: function get() {
- var model = __webpack_require__(25031);
+ var model = __nccwpck_require__(19493);
return model;
},
enumerable: true,
@@ -8830,11 +9923,11 @@ module.exports = AWS.Greengrass;
/***/ }),
-/***/ 45126:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 23168:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8842,8 +9935,8 @@ apiLoader.services['greengrassv2'] = {};
AWS.GreengrassV2 = Service.defineService('greengrassv2', ['2020-11-30']);
Object.defineProperty(apiLoader.services['greengrassv2'], '2020-11-30', {
get: function get() {
- var model = __webpack_require__(22710);
- model.paginators = __webpack_require__(94180)/* .pagination */ .o;
+ var model = __nccwpck_require__(8437);
+ model.paginators = (__nccwpck_require__(44983)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8855,11 +9948,11 @@ module.exports = AWS.GreengrassV2;
/***/ }),
-/***/ 80494:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 45562:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8867,8 +9960,9 @@ apiLoader.services['groundstation'] = {};
AWS.GroundStation = Service.defineService('groundstation', ['2019-05-23']);
Object.defineProperty(apiLoader.services['groundstation'], '2019-05-23', {
get: function get() {
- var model = __webpack_require__(78309);
- model.paginators = __webpack_require__(76938)/* .pagination */ .o;
+ var model = __nccwpck_require__(92112);
+ model.paginators = (__nccwpck_require__(13060)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(17463)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -8880,11 +9974,11 @@ module.exports = AWS.GroundStation;
/***/ }),
-/***/ 40755:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 73986:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8892,8 +9986,8 @@ apiLoader.services['guardduty'] = {};
AWS.GuardDuty = Service.defineService('guardduty', ['2017-11-28']);
Object.defineProperty(apiLoader.services['guardduty'], '2017-11-28', {
get: function get() {
- var model = __webpack_require__(89297);
- model.paginators = __webpack_require__(69484)/* .pagination */ .o;
+ var model = __nccwpck_require__(47324);
+ model.paginators = (__nccwpck_require__(19704)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8905,11 +9999,11 @@ module.exports = AWS.GuardDuty;
/***/ }),
-/***/ 21834:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 27433:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8917,8 +10011,8 @@ apiLoader.services['health'] = {};
AWS.Health = Service.defineService('health', ['2016-08-04']);
Object.defineProperty(apiLoader.services['health'], '2016-08-04', {
get: function get() {
- var model = __webpack_require__(48698);
- model.paginators = __webpack_require__(87844)/* .pagination */ .o;
+ var model = __nccwpck_require__(93570);
+ model.paginators = (__nccwpck_require__(61058)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8930,11 +10024,11 @@ module.exports = AWS.Health;
/***/ }),
-/***/ 64254:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 29998:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8942,8 +10036,8 @@ apiLoader.services['healthlake'] = {};
AWS.HealthLake = Service.defineService('healthlake', ['2017-07-01']);
Object.defineProperty(apiLoader.services['healthlake'], '2017-07-01', {
get: function get() {
- var model = __webpack_require__(78700);
- model.paginators = __webpack_require__(31590)/* .pagination */ .o;
+ var model = __nccwpck_require__(30336);
+ model.paginators = (__nccwpck_require__(19508)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -8955,36 +10049,11 @@ module.exports = AWS.HealthLake;
/***/ }),
-/***/ 38889:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 25650:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['honeycode'] = {};
-AWS.Honeycode = Service.defineService('honeycode', ['2020-03-01']);
-Object.defineProperty(apiLoader.services['honeycode'], '2020-03-01', {
- get: function get() {
- var model = __webpack_require__(77536);
- model.paginators = __webpack_require__(83349)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Honeycode;
-
-
-/***/ }),
-
-/***/ 50058:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -8992,9 +10061,9 @@ apiLoader.services['iam'] = {};
AWS.IAM = Service.defineService('iam', ['2010-05-08']);
Object.defineProperty(apiLoader.services['iam'], '2010-05-08', {
get: function get() {
- var model = __webpack_require__(46818);
- model.paginators = __webpack_require__(49015)/* .pagination */ .o;
- model.waiters = __webpack_require__(48986)/* .waiters */ .V;
+ var model = __nccwpck_require__(83316);
+ model.paginators = (__nccwpck_require__(40704)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(30347)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -9006,11 +10075,11 @@ module.exports = AWS.IAM;
/***/ }),
-/***/ 60222:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 58928:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9018,8 +10087,8 @@ apiLoader.services['identitystore'] = {};
AWS.IdentityStore = Service.defineService('identitystore', ['2020-06-15']);
Object.defineProperty(apiLoader.services['identitystore'], '2020-06-15', {
get: function get() {
- var model = __webpack_require__(14536);
- model.paginators = __webpack_require__(96554)/* .pagination */ .o;
+ var model = __nccwpck_require__(67392);
+ model.paginators = (__nccwpck_require__(8020)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9031,11 +10100,11 @@ module.exports = AWS.IdentityStore;
/***/ }),
-/***/ 57511:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 90255:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9043,8 +10112,8 @@ apiLoader.services['imagebuilder'] = {};
AWS.Imagebuilder = Service.defineService('imagebuilder', ['2019-12-02']);
Object.defineProperty(apiLoader.services['imagebuilder'], '2019-12-02', {
get: function get() {
- var model = __webpack_require__(79595);
- model.paginators = __webpack_require__(57060)/* .pagination */ .o;
+ var model = __nccwpck_require__(92534);
+ model.paginators = (__nccwpck_require__(3070)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9056,11 +10125,11 @@ module.exports = AWS.Imagebuilder;
/***/ }),
-/***/ 6769:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 63376:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9068,8 +10137,8 @@ apiLoader.services['importexport'] = {};
AWS.ImportExport = Service.defineService('importexport', ['2010-06-01']);
Object.defineProperty(apiLoader.services['importexport'], '2010-06-01', {
get: function get() {
- var model = __webpack_require__(85415);
- model.paginators = __webpack_require__(60069)/* .pagination */ .o;
+ var model = __nccwpck_require__(80606);
+ model.paginators = (__nccwpck_require__(8534)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9081,11 +10150,11 @@ module.exports = AWS.ImportExport;
/***/ }),
-/***/ 89439:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 27066:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9093,8 +10162,8 @@ apiLoader.services['inspector'] = {};
AWS.Inspector = Service.defineService('inspector', ['2015-08-18*', '2016-02-16']);
Object.defineProperty(apiLoader.services['inspector'], '2016-02-16', {
get: function get() {
- var model = __webpack_require__(92652);
- model.paginators = __webpack_require__(98432)/* .pagination */ .o;
+ var model = __nccwpck_require__(61534);
+ model.paginators = (__nccwpck_require__(41750)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9106,11 +10175,11 @@ module.exports = AWS.Inspector;
/***/ }),
-/***/ 98650:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 54010:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9118,8 +10187,8 @@ apiLoader.services['inspector2'] = {};
AWS.Inspector2 = Service.defineService('inspector2', ['2020-06-08']);
Object.defineProperty(apiLoader.services['inspector2'], '2020-06-08', {
get: function get() {
- var model = __webpack_require__(7545);
- model.paginators = __webpack_require__(55254)/* .pagination */ .o;
+ var model = __nccwpck_require__(73408);
+ model.paginators = (__nccwpck_require__(53236)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9131,11 +10200,62 @@ module.exports = AWS.Inspector2;
/***/ }),
-/***/ 98392:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 54971:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['inspectorscan'] = {};
+AWS.InspectorScan = Service.defineService('inspectorscan', ['2023-08-08']);
+Object.defineProperty(apiLoader.services['inspectorscan'], '2023-08-08', {
+ get: function get() {
+ var model = __nccwpck_require__(79627);
+ model.paginators = (__nccwpck_require__(92137)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.InspectorScan;
+
+
+/***/ }),
+
+/***/ 7770:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['internetmonitor'] = {};
+AWS.InternetMonitor = Service.defineService('internetmonitor', ['2021-06-03']);
+Object.defineProperty(apiLoader.services['internetmonitor'], '2021-06-03', {
+ get: function get() {
+ var model = __nccwpck_require__(43742);
+ model.paginators = (__nccwpck_require__(23574)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(98213)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.InternetMonitor;
+
+
+/***/ }),
+
+/***/ 43791:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9143,8 +10263,8 @@ apiLoader.services['iot'] = {};
AWS.Iot = Service.defineService('iot', ['2015-05-28']);
Object.defineProperty(apiLoader.services['iot'], '2015-05-28', {
get: function get() {
- var model = __webpack_require__(47091);
- model.paginators = __webpack_require__(39946)/* .pagination */ .o;
+ var model = __nccwpck_require__(90750);
+ model.paginators = (__nccwpck_require__(3318)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9156,11 +10276,11 @@ module.exports = AWS.Iot;
/***/ }),
-/***/ 39474:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 27976:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9168,7 +10288,7 @@ apiLoader.services['iot1clickdevicesservice'] = {};
AWS.IoT1ClickDevicesService = Service.defineService('iot1clickdevicesservice', ['2018-05-14']);
Object.defineProperty(apiLoader.services['iot1clickdevicesservice'], '2018-05-14', {
get: function get() {
- var model = __webpack_require__(69668);
+ var model = __nccwpck_require__(71495);
return model;
},
enumerable: true,
@@ -9180,11 +10300,11 @@ module.exports = AWS.IoT1ClickDevicesService;
/***/ }),
-/***/ 4686:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 97972:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9192,8 +10312,8 @@ apiLoader.services['iot1clickprojects'] = {};
AWS.IoT1ClickProjects = Service.defineService('iot1clickprojects', ['2018-05-14']);
Object.defineProperty(apiLoader.services['iot1clickprojects'], '2018-05-14', {
get: function get() {
- var model = __webpack_require__(66389);
- model.paginators = __webpack_require__(42078)/* .pagination */ .o;
+ var model = __nccwpck_require__(95988);
+ model.paginators = (__nccwpck_require__(98784)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9205,11 +10325,11 @@ module.exports = AWS.IoT1ClickProjects;
/***/ }),
-/***/ 67409:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 25143:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9217,8 +10337,8 @@ apiLoader.services['iotanalytics'] = {};
AWS.IoTAnalytics = Service.defineService('iotanalytics', ['2017-11-27']);
Object.defineProperty(apiLoader.services['iotanalytics'], '2017-11-27', {
get: function get() {
- var model = __webpack_require__(87696);
- model.paginators = __webpack_require__(58536)/* .pagination */ .o;
+ var model = __nccwpck_require__(26942);
+ model.paginators = (__nccwpck_require__(66614)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9230,21 +10350,21 @@ module.exports = AWS.IoTAnalytics;
/***/ }),
-/***/ 6564:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 7863:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['iotdata'] = {};
AWS.IotData = Service.defineService('iotdata', ['2015-05-28']);
-__webpack_require__(27062);
+__nccwpck_require__(16245);
Object.defineProperty(apiLoader.services['iotdata'], '2015-05-28', {
get: function get() {
- var model = __webpack_require__(94126);
- model.paginators = __webpack_require__(6435)/* .pagination */ .o;
+ var model = __nccwpck_require__(25495);
+ model.paginators = (__nccwpck_require__(84397)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9256,11 +10376,11 @@ module.exports = AWS.IotData;
/***/ }),
-/***/ 97569:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 17985:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9268,8 +10388,8 @@ apiLoader.services['iotdeviceadvisor'] = {};
AWS.IotDeviceAdvisor = Service.defineService('iotdeviceadvisor', ['2020-09-18']);
Object.defineProperty(apiLoader.services['iotdeviceadvisor'], '2020-09-18', {
get: function get() {
- var model = __webpack_require__(19317);
- model.paginators = __webpack_require__(9465)/* .pagination */ .o;
+ var model = __nccwpck_require__(59591);
+ model.paginators = (__nccwpck_require__(66301)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9281,11 +10401,11 @@ module.exports = AWS.IotDeviceAdvisor;
/***/ }),
-/***/ 88065:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 31186:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9293,8 +10413,8 @@ apiLoader.services['iotevents'] = {};
AWS.IoTEvents = Service.defineService('iotevents', ['2018-07-27']);
Object.defineProperty(apiLoader.services['iotevents'], '2018-07-27', {
get: function get() {
- var model = __webpack_require__(55666);
- model.paginators = __webpack_require__(13523)/* .pagination */ .o;
+ var model = __nccwpck_require__(58629);
+ model.paginators = (__nccwpck_require__(32295)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9306,11 +10426,11 @@ module.exports = AWS.IoTEvents;
/***/ }),
-/***/ 56973:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 93298:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9318,8 +10438,8 @@ apiLoader.services['ioteventsdata'] = {};
AWS.IoTEventsData = Service.defineService('ioteventsdata', ['2018-10-23']);
Object.defineProperty(apiLoader.services['ioteventsdata'], '2018-10-23', {
get: function get() {
- var model = __webpack_require__(14647);
- model.paginators = __webpack_require__(12541)/* .pagination */ .o;
+ var model = __nccwpck_require__(25658);
+ model.paginators = (__nccwpck_require__(75498)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9331,11 +10451,11 @@ module.exports = AWS.IoTEventsData;
/***/ }),
-/***/ 42513:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 14008:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9343,8 +10463,8 @@ apiLoader.services['iotfleethub'] = {};
AWS.IoTFleetHub = Service.defineService('iotfleethub', ['2020-11-03']);
Object.defineProperty(apiLoader.services['iotfleethub'], '2020-11-03', {
get: function get() {
- var model = __webpack_require__(53518);
- model.paginators = __webpack_require__(90350)/* .pagination */ .o;
+ var model = __nccwpck_require__(52595);
+ model.paginators = (__nccwpck_require__(68737)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9356,11 +10476,11 @@ module.exports = AWS.IoTFleetHub;
/***/ }),
-/***/ 94329:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 30427:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9368,9 +10488,9 @@ apiLoader.services['iotfleetwise'] = {};
AWS.IoTFleetWise = Service.defineService('iotfleetwise', ['2021-06-17']);
Object.defineProperty(apiLoader.services['iotfleetwise'], '2021-06-17', {
get: function get() {
- var model = __webpack_require__(71934);
- model.paginators = __webpack_require__(88597)/* .pagination */ .o;
- model.waiters = __webpack_require__(78067)/* .waiters */ .V;
+ var model = __nccwpck_require__(65212);
+ model.paginators = (__nccwpck_require__(11960)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(34275)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -9382,11 +10502,11 @@ module.exports = AWS.IoTFleetWise;
/***/ }),
-/***/ 42332:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 85077:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9394,8 +10514,8 @@ apiLoader.services['iotjobsdataplane'] = {};
AWS.IoTJobsDataPlane = Service.defineService('iotjobsdataplane', ['2017-09-29']);
Object.defineProperty(apiLoader.services['iotjobsdataplane'], '2017-09-29', {
get: function get() {
- var model = __webpack_require__(27052);
- model.paginators = __webpack_require__(87653)/* .pagination */ .o;
+ var model = __nccwpck_require__(51145);
+ model.paginators = (__nccwpck_require__(81459)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9407,11 +10527,11 @@ module.exports = AWS.IoTJobsDataPlane;
/***/ }),
-/***/ 98562:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 84558:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9419,8 +10539,8 @@ apiLoader.services['iotsecuretunneling'] = {};
AWS.IoTSecureTunneling = Service.defineService('iotsecuretunneling', ['2018-10-05']);
Object.defineProperty(apiLoader.services['iotsecuretunneling'], '2018-10-05', {
get: function get() {
- var model = __webpack_require__(47810);
- model.paginators = __webpack_require__(16978)/* .pagination */ .o;
+ var model = __nccwpck_require__(71861);
+ model.paginators = (__nccwpck_require__(12023)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9432,11 +10552,11 @@ module.exports = AWS.IoTSecureTunneling;
/***/ }),
-/***/ 89690:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 35536:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9444,9 +10564,9 @@ apiLoader.services['iotsitewise'] = {};
AWS.IoTSiteWise = Service.defineService('iotsitewise', ['2019-12-02']);
Object.defineProperty(apiLoader.services['iotsitewise'], '2019-12-02', {
get: function get() {
- var model = __webpack_require__(94166);
- model.paginators = __webpack_require__(81755)/* .pagination */ .o;
- model.waiters = __webpack_require__(4197)/* .waiters */ .V;
+ var model = __nccwpck_require__(70359);
+ model.paginators = (__nccwpck_require__(70925)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(87814)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -9458,11 +10578,11 @@ module.exports = AWS.IoTSiteWise;
/***/ }),
-/***/ 58905:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87860:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9470,8 +10590,8 @@ apiLoader.services['iotthingsgraph'] = {};
AWS.IoTThingsGraph = Service.defineService('iotthingsgraph', ['2018-09-06']);
Object.defineProperty(apiLoader.services['iotthingsgraph'], '2018-09-06', {
get: function get() {
- var model = __webpack_require__(6038);
- model.paginators = __webpack_require__(91296)/* .pagination */ .o;
+ var model = __nccwpck_require__(80476);
+ model.paginators = (__nccwpck_require__(35672)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9483,11 +10603,11 @@ module.exports = AWS.IoTThingsGraph;
/***/ }),
-/***/ 65010:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 80377:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9495,9 +10615,9 @@ apiLoader.services['iottwinmaker'] = {};
AWS.IoTTwinMaker = Service.defineService('iottwinmaker', ['2021-11-29']);
Object.defineProperty(apiLoader.services['iottwinmaker'], '2021-11-29', {
get: function get() {
- var model = __webpack_require__(46721);
- model.paginators = __webpack_require__(18823)/* .pagination */ .o;
- model.waiters = __webpack_require__(2950)/* .waiters */ .V;
+ var model = __nccwpck_require__(61095);
+ model.paginators = (__nccwpck_require__(98589)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(26102)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -9509,11 +10629,11 @@ module.exports = AWS.IoTTwinMaker;
/***/ }),
-/***/ 8226:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 94119:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9521,8 +10641,8 @@ apiLoader.services['iotwireless'] = {};
AWS.IoTWireless = Service.defineService('iotwireless', ['2020-11-22']);
Object.defineProperty(apiLoader.services['iotwireless'], '2020-11-22', {
get: function get() {
- var model = __webpack_require__(44396);
- model.paginators = __webpack_require__(31164)/* .pagination */ .o;
+ var model = __nccwpck_require__(49175);
+ model.paginators = (__nccwpck_require__(52333)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9534,11 +10654,11 @@ module.exports = AWS.IoTWireless;
/***/ }),
-/***/ 67701:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 24659:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9546,8 +10666,8 @@ apiLoader.services['ivs'] = {};
AWS.IVS = Service.defineService('ivs', ['2020-07-14']);
Object.defineProperty(apiLoader.services['ivs'], '2020-07-14', {
get: function get() {
- var model = __webpack_require__(41816);
- model.paginators = __webpack_require__(38184)/* .pagination */ .o;
+ var model = __nccwpck_require__(65955);
+ model.paginators = (__nccwpck_require__(73649)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9559,11 +10679,11 @@ module.exports = AWS.IVS;
/***/ }),
-/***/ 17077:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 30818:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9571,8 +10691,9 @@ apiLoader.services['ivschat'] = {};
AWS.Ivschat = Service.defineService('ivschat', ['2020-07-14']);
Object.defineProperty(apiLoader.services['ivschat'], '2020-07-14', {
get: function get() {
- var model = __webpack_require__(70907);
- model.paginators = __webpack_require__(14120)/* .pagination */ .o;
+ var model = __nccwpck_require__(93121);
+ model.paginators = (__nccwpck_require__(77403)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(24120)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -9584,11 +10705,37 @@ module.exports = AWS.Ivschat;
/***/ }),
-/***/ 56775:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 83698:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['ivsrealtime'] = {};
+AWS.IVSRealTime = Service.defineService('ivsrealtime', ['2020-07-14']);
+Object.defineProperty(apiLoader.services['ivsrealtime'], '2020-07-14', {
+ get: function get() {
+ var model = __nccwpck_require__(68025);
+ model.paginators = (__nccwpck_require__(5091)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(77856)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.IVSRealTime;
+
+
+/***/ }),
+
+/***/ 97385:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9596,8 +10743,8 @@ apiLoader.services['kafka'] = {};
AWS.Kafka = Service.defineService('kafka', ['2018-11-14']);
Object.defineProperty(apiLoader.services['kafka'], '2018-11-14', {
get: function get() {
- var model = __webpack_require__(52315);
- model.paginators = __webpack_require__(71066)/* .pagination */ .o;
+ var model = __nccwpck_require__(10427);
+ model.paginators = (__nccwpck_require__(82681)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9609,11 +10756,11 @@ module.exports = AWS.Kafka;
/***/ }),
-/***/ 61879:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 55539:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9621,8 +10768,8 @@ apiLoader.services['kafkaconnect'] = {};
AWS.KafkaConnect = Service.defineService('kafkaconnect', ['2021-09-14']);
Object.defineProperty(apiLoader.services['kafkaconnect'], '2021-09-14', {
get: function get() {
- var model = __webpack_require__(37421);
- model.paginators = __webpack_require__(67736)/* .pagination */ .o;
+ var model = __nccwpck_require__(40614);
+ model.paginators = (__nccwpck_require__(59950)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9634,11 +10781,11 @@ module.exports = AWS.KafkaConnect;
/***/ }),
-/***/ 66122:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 17788:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9646,8 +10793,8 @@ apiLoader.services['kendra'] = {};
AWS.Kendra = Service.defineService('kendra', ['2019-02-03']);
Object.defineProperty(apiLoader.services['kendra'], '2019-02-03', {
get: function get() {
- var model = __webpack_require__(61785);
- model.paginators = __webpack_require__(31633)/* .pagination */ .o;
+ var model = __nccwpck_require__(78671);
+ model.paginators = (__nccwpck_require__(11957)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9659,11 +10806,36 @@ module.exports = AWS.Kendra;
/***/ }),
-/***/ 24789:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 73480:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['kendraranking'] = {};
+AWS.KendraRanking = Service.defineService('kendraranking', ['2022-10-19']);
+Object.defineProperty(apiLoader.services['kendraranking'], '2022-10-19', {
+ get: function get() {
+ var model = __nccwpck_require__(78446);
+ model.paginators = (__nccwpck_require__(48038)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.KendraRanking;
+
+
+/***/ }),
+
+/***/ 81807:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9671,9 +10843,9 @@ apiLoader.services['keyspaces'] = {};
AWS.Keyspaces = Service.defineService('keyspaces', ['2022-02-10']);
Object.defineProperty(apiLoader.services['keyspaces'], '2022-02-10', {
get: function get() {
- var model = __webpack_require__(52836);
- model.paginators = __webpack_require__(39387)/* .pagination */ .o;
- model.waiters = __webpack_require__(86799)/* .waiters */ .V;
+ var model = __nccwpck_require__(33640);
+ model.paginators = (__nccwpck_require__(68396)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(50399)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -9685,11 +10857,11 @@ module.exports = AWS.Keyspaces;
/***/ }),
-/***/ 49876:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 86553:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9697,9 +10869,9 @@ apiLoader.services['kinesis'] = {};
AWS.Kinesis = Service.defineService('kinesis', ['2013-12-02']);
Object.defineProperty(apiLoader.services['kinesis'], '2013-12-02', {
get: function get() {
- var model = __webpack_require__(74556);
- model.paginators = __webpack_require__(38540)/* .pagination */ .o;
- model.waiters = __webpack_require__(80745)/* .waiters */ .V;
+ var model = __nccwpck_require__(66658);
+ model.paginators = (__nccwpck_require__(27714)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(2249)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -9711,11 +10883,11 @@ module.exports = AWS.Kinesis;
/***/ }),
-/***/ 90042:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87825:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9723,8 +10895,8 @@ apiLoader.services['kinesisanalytics'] = {};
AWS.KinesisAnalytics = Service.defineService('kinesisanalytics', ['2015-08-14']);
Object.defineProperty(apiLoader.services['kinesisanalytics'], '2015-08-14', {
get: function get() {
- var model = __webpack_require__(91105);
- model.paginators = __webpack_require__(18363)/* .pagination */ .o;
+ var model = __nccwpck_require__(59454);
+ model.paginators = (__nccwpck_require__(90038)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9736,11 +10908,11 @@ module.exports = AWS.KinesisAnalytics;
/***/ }),
-/***/ 74631:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 51737:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9748,8 +10920,8 @@ apiLoader.services['kinesisanalyticsv2'] = {};
AWS.KinesisAnalyticsV2 = Service.defineService('kinesisanalyticsv2', ['2018-05-23']);
Object.defineProperty(apiLoader.services['kinesisanalyticsv2'], '2018-05-23', {
get: function get() {
- var model = __webpack_require__(70128);
- model.paginators = __webpack_require__(6842)/* .pagination */ .o;
+ var model = __nccwpck_require__(94590);
+ model.paginators = (__nccwpck_require__(80854)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9761,11 +10933,11 @@ module.exports = AWS.KinesisAnalyticsV2;
/***/ }),
-/***/ 89927:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 58726:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9773,8 +10945,8 @@ apiLoader.services['kinesisvideo'] = {};
AWS.KinesisVideo = Service.defineService('kinesisvideo', ['2017-09-30']);
Object.defineProperty(apiLoader.services['kinesisvideo'], '2017-09-30', {
get: function get() {
- var model = __webpack_require__(28189);
- model.paginators = __webpack_require__(15191)/* .pagination */ .o;
+ var model = __nccwpck_require__(17346);
+ model.paginators = (__nccwpck_require__(53282)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9786,11 +10958,11 @@ module.exports = AWS.KinesisVideo;
/***/ }),
-/***/ 5580:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 16142:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9798,8 +10970,8 @@ apiLoader.services['kinesisvideoarchivedmedia'] = {};
AWS.KinesisVideoArchivedMedia = Service.defineService('kinesisvideoarchivedmedia', ['2017-09-30']);
Object.defineProperty(apiLoader.services['kinesisvideoarchivedmedia'], '2017-09-30', {
get: function get() {
- var model = __webpack_require__(64288);
- model.paginators = __webpack_require__(78514)/* .pagination */ .o;
+ var model = __nccwpck_require__(1621);
+ model.paginators = (__nccwpck_require__(33815)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9811,11 +10983,11 @@ module.exports = AWS.KinesisVideoArchivedMedia;
/***/ }),
-/***/ 81308:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 93464:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9823,8 +10995,8 @@ apiLoader.services['kinesisvideomedia'] = {};
AWS.KinesisVideoMedia = Service.defineService('kinesisvideomedia', ['2017-09-30']);
Object.defineProperty(apiLoader.services['kinesisvideomedia'], '2017-09-30', {
get: function get() {
- var model = __webpack_require__(97818);
- model.paginators = __webpack_require__(16923)/* .pagination */ .o;
+ var model = __nccwpck_require__(36674);
+ model.paginators = (__nccwpck_require__(70370)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9836,11 +11008,11 @@ module.exports = AWS.KinesisVideoMedia;
/***/ }),
-/***/ 12710:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 78044:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9848,8 +11020,8 @@ apiLoader.services['kinesisvideosignalingchannels'] = {};
AWS.KinesisVideoSignalingChannels = Service.defineService('kinesisvideosignalingchannels', ['2019-12-04']);
Object.defineProperty(apiLoader.services['kinesisvideosignalingchannels'], '2019-12-04', {
get: function get() {
- var model = __webpack_require__(58849);
- model.paginators = __webpack_require__(10473)/* .pagination */ .o;
+ var model = __nccwpck_require__(65667);
+ model.paginators = (__nccwpck_require__(77617)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9861,11 +11033,36 @@ module.exports = AWS.KinesisVideoSignalingChannels;
/***/ }),
-/***/ 56782:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 39958:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['kinesisvideowebrtcstorage'] = {};
+AWS.KinesisVideoWebRTCStorage = Service.defineService('kinesisvideowebrtcstorage', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['kinesisvideowebrtcstorage'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(90148);
+ model.paginators = (__nccwpck_require__(84400)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.KinesisVideoWebRTCStorage;
+
+
+/***/ }),
+
+/***/ 5926:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9873,8 +11070,8 @@ apiLoader.services['kms'] = {};
AWS.KMS = Service.defineService('kms', ['2014-11-01']);
Object.defineProperty(apiLoader.services['kms'], '2014-11-01', {
get: function get() {
- var model = __webpack_require__(60611);
- model.paginators = __webpack_require__(97690)/* .pagination */ .o;
+ var model = __nccwpck_require__(40996);
+ model.paginators = (__nccwpck_require__(6992)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9886,11 +11083,11 @@ module.exports = AWS.KMS;
/***/ }),
-/***/ 6726:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 1549:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9898,8 +11095,8 @@ apiLoader.services['lakeformation'] = {};
AWS.LakeFormation = Service.defineService('lakeformation', ['2017-03-31']);
Object.defineProperty(apiLoader.services['lakeformation'], '2017-03-31', {
get: function get() {
- var model = __webpack_require__(65408);
- model.paginators = __webpack_require__(89923)/* .pagination */ .o;
+ var model = __nccwpck_require__(49530);
+ model.paginators = (__nccwpck_require__(48778)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9911,21 +11108,21 @@ module.exports = AWS.LakeFormation;
/***/ }),
-/***/ 13321:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 55256:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['lambda'] = {};
AWS.Lambda = Service.defineService('lambda', ['2014-11-11', '2015-03-31']);
-__webpack_require__(8452);
+__nccwpck_require__(87066);
Object.defineProperty(apiLoader.services['lambda'], '2014-11-11', {
get: function get() {
- var model = __webpack_require__(63935);
- model.paginators = __webpack_require__(86208)/* .pagination */ .o;
+ var model = __nccwpck_require__(7847);
+ model.paginators = (__nccwpck_require__(72189)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9933,9 +11130,9 @@ Object.defineProperty(apiLoader.services['lambda'], '2014-11-11', {
});
Object.defineProperty(apiLoader.services['lambda'], '2015-03-31', {
get: function get() {
- var model = __webpack_require__(50409);
- model.paginators = __webpack_require__(98920)/* .pagination */ .o;
- model.waiters = __webpack_require__(37582)/* .waiters */ .V;
+ var model = __nccwpck_require__(59855);
+ model.paginators = (__nccwpck_require__(38549)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(51726)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -9947,11 +11144,36 @@ module.exports = AWS.Lambda;
/***/ }),
-/***/ 37397:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 96835:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['launchwizard'] = {};
+AWS.LaunchWizard = Service.defineService('launchwizard', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['launchwizard'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(29929);
+ model.paginators = (__nccwpck_require__(51)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.LaunchWizard;
+
+
+/***/ }),
+
+/***/ 78610:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9959,8 +11181,8 @@ apiLoader.services['lexmodelbuildingservice'] = {};
AWS.LexModelBuildingService = Service.defineService('lexmodelbuildingservice', ['2017-04-19']);
Object.defineProperty(apiLoader.services['lexmodelbuildingservice'], '2017-04-19', {
get: function get() {
- var model = __webpack_require__(57942);
- model.paginators = __webpack_require__(34148)/* .pagination */ .o;
+ var model = __nccwpck_require__(91703);
+ model.paginators = (__nccwpck_require__(61677)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -9972,11 +11194,11 @@ module.exports = AWS.LexModelBuildingService;
/***/ }),
-/***/ 27254:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87208:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -9984,9 +11206,9 @@ apiLoader.services['lexmodelsv2'] = {};
AWS.LexModelsV2 = Service.defineService('lexmodelsv2', ['2020-08-07']);
Object.defineProperty(apiLoader.services['lexmodelsv2'], '2020-08-07', {
get: function get() {
- var model = __webpack_require__(28033);
- model.paginators = __webpack_require__(20751)/* .pagination */ .o;
- model.waiters = __webpack_require__(78897)/* .waiters */ .V;
+ var model = __nccwpck_require__(83875);
+ model.paginators = (__nccwpck_require__(29137)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(35410)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -9998,11 +11220,11 @@ module.exports = AWS.LexModelsV2;
/***/ }),
-/***/ 62716:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 25852:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10010,8 +11232,8 @@ apiLoader.services['lexruntime'] = {};
AWS.LexRuntime = Service.defineService('lexruntime', ['2016-11-28']);
Object.defineProperty(apiLoader.services['lexruntime'], '2016-11-28', {
get: function get() {
- var model = __webpack_require__(28098);
- model.paginators = __webpack_require__(17108)/* .pagination */ .o;
+ var model = __nccwpck_require__(16813);
+ model.paginators = (__nccwpck_require__(50815)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10023,11 +11245,11 @@ module.exports = AWS.LexRuntime;
/***/ }),
-/***/ 33855:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 82344:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10035,8 +11257,8 @@ apiLoader.services['lexruntimev2'] = {};
AWS.LexRuntimeV2 = Service.defineService('lexruntimev2', ['2020-08-07']);
Object.defineProperty(apiLoader.services['lexruntimev2'], '2020-08-07', {
get: function get() {
- var model = __webpack_require__(72007);
- model.paginators = __webpack_require__(88199)/* .pagination */ .o;
+ var model = __nccwpck_require__(7913);
+ model.paginators = (__nccwpck_require__(3635)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10048,11 +11270,11 @@ module.exports = AWS.LexRuntimeV2;
/***/ }),
-/***/ 34693:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 18789:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10060,8 +11282,8 @@ apiLoader.services['licensemanager'] = {};
AWS.LicenseManager = Service.defineService('licensemanager', ['2018-08-01']);
Object.defineProperty(apiLoader.services['licensemanager'], '2018-08-01', {
get: function get() {
- var model = __webpack_require__(58445);
- model.paginators = __webpack_require__(73736)/* .pagination */ .o;
+ var model = __nccwpck_require__(7638);
+ model.paginators = (__nccwpck_require__(85886)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10073,11 +11295,36 @@ module.exports = AWS.LicenseManager;
/***/ }),
-/***/ 37725:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 61577:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['licensemanagerlinuxsubscriptions'] = {};
+AWS.LicenseManagerLinuxSubscriptions = Service.defineService('licensemanagerlinuxsubscriptions', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['licensemanagerlinuxsubscriptions'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(35529);
+ model.paginators = (__nccwpck_require__(83507)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.LicenseManagerLinuxSubscriptions;
+
+
+/***/ }),
+
+/***/ 25598:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10085,8 +11332,8 @@ apiLoader.services['licensemanagerusersubscriptions'] = {};
AWS.LicenseManagerUserSubscriptions = Service.defineService('licensemanagerusersubscriptions', ['2018-05-10']);
Object.defineProperty(apiLoader.services['licensemanagerusersubscriptions'], '2018-05-10', {
get: function get() {
- var model = __webpack_require__(89032);
- model.paginators = __webpack_require__(71211)/* .pagination */ .o;
+ var model = __nccwpck_require__(87102);
+ model.paginators = (__nccwpck_require__(65590)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10098,11 +11345,11 @@ module.exports = AWS.LicenseManagerUserSubscriptions;
/***/ }),
-/***/ 22718:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 25930:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10110,8 +11357,8 @@ apiLoader.services['lightsail'] = {};
AWS.Lightsail = Service.defineService('lightsail', ['2016-11-28']);
Object.defineProperty(apiLoader.services['lightsail'], '2016-11-28', {
get: function get() {
- var model = __webpack_require__(59034);
- model.paginators = __webpack_require__(96768)/* .pagination */ .o;
+ var model = __nccwpck_require__(5027);
+ model.paginators = (__nccwpck_require__(64145)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10123,11 +11370,11 @@ module.exports = AWS.Lightsail;
/***/ }),
-/***/ 44594:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 83516:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10135,8 +11382,8 @@ apiLoader.services['location'] = {};
AWS.Location = Service.defineService('location', ['2020-11-19']);
Object.defineProperty(apiLoader.services['location'], '2020-11-19', {
get: function get() {
- var model = __webpack_require__(77371);
- model.paginators = __webpack_require__(23890)/* .pagination */ .o;
+ var model = __nccwpck_require__(30204);
+ model.paginators = (__nccwpck_require__(3320)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10148,11 +11395,11 @@ module.exports = AWS.Location;
/***/ }),
-/***/ 21843:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 88340:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10160,8 +11407,8 @@ apiLoader.services['lookoutequipment'] = {};
AWS.LookoutEquipment = Service.defineService('lookoutequipment', ['2020-12-15']);
Object.defineProperty(apiLoader.services['lookoutequipment'], '2020-12-15', {
get: function get() {
- var model = __webpack_require__(31015);
- model.paginators = __webpack_require__(93065)/* .pagination */ .o;
+ var model = __nccwpck_require__(49659);
+ model.paginators = (__nccwpck_require__(25401)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10173,11 +11420,11 @@ module.exports = AWS.LookoutEquipment;
/***/ }),
-/***/ 78708:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 83033:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10185,8 +11432,8 @@ apiLoader.services['lookoutmetrics'] = {};
AWS.LookoutMetrics = Service.defineService('lookoutmetrics', ['2017-07-25']);
Object.defineProperty(apiLoader.services['lookoutmetrics'], '2017-07-25', {
get: function get() {
- var model = __webpack_require__(99604);
- model.paginators = __webpack_require__(86272)/* .pagination */ .o;
+ var model = __nccwpck_require__(30231);
+ model.paginators = (__nccwpck_require__(44109)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10198,11 +11445,11 @@ module.exports = AWS.LookoutMetrics;
/***/ }),
-/***/ 65046:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 71842:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10210,8 +11457,8 @@ apiLoader.services['lookoutvision'] = {};
AWS.LookoutVision = Service.defineService('lookoutvision', ['2020-11-20']);
Object.defineProperty(apiLoader.services['lookoutvision'], '2020-11-20', {
get: function get() {
- var model = __webpack_require__(43317);
- model.paginators = __webpack_require__(34273)/* .pagination */ .o;
+ var model = __nccwpck_require__(25490);
+ model.paginators = (__nccwpck_require__(99154)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10223,11 +11470,11 @@ module.exports = AWS.LookoutVision;
/***/ }),
-/***/ 22482:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 20292:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10235,8 +11482,8 @@ apiLoader.services['m2'] = {};
AWS.M2 = Service.defineService('m2', ['2021-04-28']);
Object.defineProperty(apiLoader.services['m2'], '2021-04-28', {
get: function get() {
- var model = __webpack_require__(23833);
- model.paginators = __webpack_require__(63444)/* .pagination */ .o;
+ var model = __nccwpck_require__(23277);
+ model.paginators = (__nccwpck_require__(49759)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10248,22 +11495,22 @@ module.exports = AWS.M2;
/***/ }),
-/***/ 82907:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 68904:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['machinelearning'] = {};
AWS.MachineLearning = Service.defineService('machinelearning', ['2014-12-12']);
-__webpack_require__(19174);
+__nccwpck_require__(5506);
Object.defineProperty(apiLoader.services['machinelearning'], '2014-12-12', {
get: function get() {
- var model = __webpack_require__(41946);
- model.paginators = __webpack_require__(11688)/* .pagination */ .o;
- model.waiters = __webpack_require__(92349)/* .waiters */ .V;
+ var model = __nccwpck_require__(43617);
+ model.paginators = (__nccwpck_require__(73051)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(74488)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -10275,62 +11522,62 @@ module.exports = AWS.MachineLearning;
/***/ }),
-/***/ 86427:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 76546:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
-apiLoader.services['macie'] = {};
-AWS.Macie = Service.defineService('macie', ['2017-12-19']);
-Object.defineProperty(apiLoader.services['macie'], '2017-12-19', {
+apiLoader.services['macie2'] = {};
+AWS.Macie2 = Service.defineService('macie2', ['2020-01-01']);
+Object.defineProperty(apiLoader.services['macie2'], '2020-01-01', {
get: function get() {
- var model = __webpack_require__(27101);
- model.paginators = __webpack_require__(9057)/* .pagination */ .o;
+ var model = __nccwpck_require__(752);
+ model.paginators = (__nccwpck_require__(1764)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(29847)/* .waiters */ .C);
return model;
},
enumerable: true,
configurable: true
});
-module.exports = AWS.Macie;
+module.exports = AWS.Macie2;
/***/ }),
-/***/ 57330:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 79649:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
-apiLoader.services['macie2'] = {};
-AWS.Macie2 = Service.defineService('macie2', ['2020-01-01']);
-Object.defineProperty(apiLoader.services['macie2'], '2020-01-01', {
+apiLoader.services['mailmanager'] = {};
+AWS.MailManager = Service.defineService('mailmanager', ['2023-10-17']);
+Object.defineProperty(apiLoader.services['mailmanager'], '2023-10-17', {
get: function get() {
- var model = __webpack_require__(27105);
- model.paginators = __webpack_require__(93284)/* .pagination */ .o;
- model.waiters = __webpack_require__(70582)/* .waiters */ .V;
+ var model = __nccwpck_require__(49117);
+ model.paginators = (__nccwpck_require__(21519)/* .pagination */ .X);
return model;
},
enumerable: true,
configurable: true
});
-module.exports = AWS.Macie2;
+module.exports = AWS.MailManager;
/***/ }),
-/***/ 85143:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 31016:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10338,8 +11585,8 @@ apiLoader.services['managedblockchain'] = {};
AWS.ManagedBlockchain = Service.defineService('managedblockchain', ['2018-09-24']);
Object.defineProperty(apiLoader.services['managedblockchain'], '2018-09-24', {
get: function get() {
- var model = __webpack_require__(70690);
- model.paginators = __webpack_require__(45932)/* .pagination */ .o;
+ var model = __nccwpck_require__(36936);
+ model.paginators = (__nccwpck_require__(98348)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10351,11 +11598,62 @@ module.exports = AWS.ManagedBlockchain;
/***/ }),
-/***/ 2609:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 64434:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['managedblockchainquery'] = {};
+AWS.ManagedBlockchainQuery = Service.defineService('managedblockchainquery', ['2023-05-04']);
+Object.defineProperty(apiLoader.services['managedblockchainquery'], '2023-05-04', {
+ get: function get() {
+ var model = __nccwpck_require__(23419);
+ model.paginators = (__nccwpck_require__(80345)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(81370)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.ManagedBlockchainQuery;
+
+
+/***/ }),
+
+/***/ 64070:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['marketplaceagreement'] = {};
+AWS.MarketplaceAgreement = Service.defineService('marketplaceagreement', ['2020-03-01']);
+Object.defineProperty(apiLoader.services['marketplaceagreement'], '2020-03-01', {
+ get: function get() {
+ var model = __nccwpck_require__(11263);
+ model.paginators = (__nccwpck_require__(91749)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.MarketplaceAgreement;
+
+
+/***/ }),
+
+/***/ 82089:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10363,8 +11661,8 @@ apiLoader.services['marketplacecatalog'] = {};
AWS.MarketplaceCatalog = Service.defineService('marketplacecatalog', ['2018-09-17']);
Object.defineProperty(apiLoader.services['marketplacecatalog'], '2018-09-17', {
get: function get() {
- var model = __webpack_require__(15560);
- model.paginators = __webpack_require__(23129)/* .pagination */ .o;
+ var model = __nccwpck_require__(11744);
+ model.paginators = (__nccwpck_require__(13076)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10376,11 +11674,11 @@ module.exports = AWS.MarketplaceCatalog;
/***/ }),
-/***/ 4540:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 95903:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10388,8 +11686,8 @@ apiLoader.services['marketplacecommerceanalytics'] = {};
AWS.MarketplaceCommerceAnalytics = Service.defineService('marketplacecommerceanalytics', ['2015-07-01']);
Object.defineProperty(apiLoader.services['marketplacecommerceanalytics'], '2015-07-01', {
get: function get() {
- var model = __webpack_require__(30768);
- model.paginators = __webpack_require__(88266)/* .pagination */ .o;
+ var model = __nccwpck_require__(83989);
+ model.paginators = (__nccwpck_require__(14615)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10401,11 +11699,36 @@ module.exports = AWS.MarketplaceCommerceAnalytics;
/***/ }),
-/***/ 53707:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 10091:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['marketplacedeployment'] = {};
+AWS.MarketplaceDeployment = Service.defineService('marketplacedeployment', ['2023-01-25']);
+Object.defineProperty(apiLoader.services['marketplacedeployment'], '2023-01-25', {
+ get: function get() {
+ var model = __nccwpck_require__(85607);
+ model.paginators = (__nccwpck_require__(85277)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.MarketplaceDeployment;
+
+
+/***/ }),
+
+/***/ 57794:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10413,8 +11736,8 @@ apiLoader.services['marketplaceentitlementservice'] = {};
AWS.MarketplaceEntitlementService = Service.defineService('marketplaceentitlementservice', ['2017-01-11']);
Object.defineProperty(apiLoader.services['marketplaceentitlementservice'], '2017-01-11', {
get: function get() {
- var model = __webpack_require__(23864);
- model.paginators = __webpack_require__(98218)/* .pagination */ .o;
+ var model = __nccwpck_require__(85898);
+ model.paginators = (__nccwpck_require__(57882)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10426,11 +11749,11 @@ module.exports = AWS.MarketplaceEntitlementService;
/***/ }),
-/***/ 39297:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 50375:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10438,8 +11761,8 @@ apiLoader.services['marketplacemetering'] = {};
AWS.MarketplaceMetering = Service.defineService('marketplacemetering', ['2016-01-14']);
Object.defineProperty(apiLoader.services['marketplacemetering'], '2016-01-14', {
get: function get() {
- var model = __webpack_require__(150);
- model.paginators = __webpack_require__(34742)/* .pagination */ .o;
+ var model = __nccwpck_require__(98854);
+ model.paginators = (__nccwpck_require__(94062)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10451,11 +11774,11 @@ module.exports = AWS.MarketplaceMetering;
/***/ }),
-/***/ 67639:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 42141:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10463,9 +11786,9 @@ apiLoader.services['mediaconnect'] = {};
AWS.MediaConnect = Service.defineService('mediaconnect', ['2018-11-14']);
Object.defineProperty(apiLoader.services['mediaconnect'], '2018-11-14', {
get: function get() {
- var model = __webpack_require__(38828);
- model.paginators = __webpack_require__(52701)/* .pagination */ .o;
- model.waiters = __webpack_require__(69547)/* .waiters */ .V;
+ var model = __nccwpck_require__(60227);
+ model.paginators = (__nccwpck_require__(34737)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(52626)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -10477,11 +11800,11 @@ module.exports = AWS.MediaConnect;
/***/ }),
-/***/ 57220:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 10216:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10489,8 +11812,8 @@ apiLoader.services['mediaconvert'] = {};
AWS.MediaConvert = Service.defineService('mediaconvert', ['2017-08-29']);
Object.defineProperty(apiLoader.services['mediaconvert'], '2017-08-29', {
get: function get() {
- var model = __webpack_require__(95103);
- model.paginators = __webpack_require__(12236)/* .pagination */ .o;
+ var model = __nccwpck_require__(20239);
+ model.paginators = (__nccwpck_require__(77461)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10502,11 +11825,11 @@ module.exports = AWS.MediaConvert;
/***/ }),
-/***/ 7509:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 54817:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10514,9 +11837,9 @@ apiLoader.services['medialive'] = {};
AWS.MediaLive = Service.defineService('medialive', ['2017-10-14']);
Object.defineProperty(apiLoader.services['medialive'], '2017-10-14', {
get: function get() {
- var model = __webpack_require__(71020);
- model.paginators = __webpack_require__(45939)/* .pagination */ .o;
- model.waiters = __webpack_require__(77702)/* .waiters */ .V;
+ var model = __nccwpck_require__(41171);
+ model.paginators = (__nccwpck_require__(55521)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(59746)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -10528,11 +11851,11 @@ module.exports = AWS.MediaLive;
/***/ }),
-/***/ 91620:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 3003:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10540,8 +11863,8 @@ apiLoader.services['mediapackage'] = {};
AWS.MediaPackage = Service.defineService('mediapackage', ['2017-10-12']);
Object.defineProperty(apiLoader.services['mediapackage'], '2017-10-12', {
get: function get() {
- var model = __webpack_require__(3524);
- model.paginators = __webpack_require__(28168)/* .pagination */ .o;
+ var model = __nccwpck_require__(99475);
+ model.paginators = (__nccwpck_require__(49441)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10553,11 +11876,37 @@ module.exports = AWS.MediaPackage;
/***/ }),
-/***/ 14962:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 13483:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['mediapackagev2'] = {};
+AWS.MediaPackageV2 = Service.defineService('mediapackagev2', ['2022-12-25']);
+Object.defineProperty(apiLoader.services['mediapackagev2'], '2022-12-25', {
+ get: function get() {
+ var model = __nccwpck_require__(73639);
+ model.paginators = (__nccwpck_require__(37949)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(83414)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.MediaPackageV2;
+
+
+/***/ }),
+
+/***/ 81230:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10565,8 +11914,8 @@ apiLoader.services['mediapackagevod'] = {};
AWS.MediaPackageVod = Service.defineService('mediapackagevod', ['2018-11-07']);
Object.defineProperty(apiLoader.services['mediapackagevod'], '2018-11-07', {
get: function get() {
- var model = __webpack_require__(62182);
- model.paginators = __webpack_require__(9108)/* .pagination */ .o;
+ var model = __nccwpck_require__(12245);
+ model.paginators = (__nccwpck_require__(42519)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10578,11 +11927,11 @@ module.exports = AWS.MediaPackageVod;
/***/ }),
-/***/ 83748:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 22454:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10590,8 +11939,8 @@ apiLoader.services['mediastore'] = {};
AWS.MediaStore = Service.defineService('mediastore', ['2017-09-01']);
Object.defineProperty(apiLoader.services['mediastore'], '2017-09-01', {
get: function get() {
- var model = __webpack_require__(86331);
- model.paginators = __webpack_require__(85011)/* .pagination */ .o;
+ var model = __nccwpck_require__(73302);
+ model.paginators = (__nccwpck_require__(93054)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10603,11 +11952,11 @@ module.exports = AWS.MediaStore;
/***/ }),
-/***/ 98703:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 76070:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10615,8 +11964,8 @@ apiLoader.services['mediastoredata'] = {};
AWS.MediaStoreData = Service.defineService('mediastoredata', ['2017-09-01']);
Object.defineProperty(apiLoader.services['mediastoredata'], '2017-09-01', {
get: function get() {
- var model = __webpack_require__(78855);
- model.paginators = __webpack_require__(12340)/* .pagination */ .o;
+ var model = __nccwpck_require__(66489);
+ model.paginators = (__nccwpck_require__(43747)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10628,11 +11977,11 @@ module.exports = AWS.MediaStoreData;
/***/ }),
-/***/ 99658:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 38184:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10640,8 +11989,8 @@ apiLoader.services['mediatailor'] = {};
AWS.MediaTailor = Service.defineService('mediatailor', ['2018-04-23']);
Object.defineProperty(apiLoader.services['mediatailor'], '2018-04-23', {
get: function get() {
- var model = __webpack_require__(32863);
- model.paginators = __webpack_require__(76134)/* .pagination */ .o;
+ var model = __nccwpck_require__(64720);
+ model.paginators = (__nccwpck_require__(13028)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10653,11 +12002,37 @@ module.exports = AWS.MediaTailor;
/***/ }),
-/***/ 50782:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 67196:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['medicalimaging'] = {};
+AWS.MedicalImaging = Service.defineService('medicalimaging', ['2023-07-19']);
+Object.defineProperty(apiLoader.services['medicalimaging'], '2023-07-19', {
+ get: function get() {
+ var model = __nccwpck_require__(1089);
+ model.paginators = (__nccwpck_require__(35707)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(45368)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.MedicalImaging;
+
+
+/***/ }),
+
+/***/ 86366:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10665,8 +12040,8 @@ apiLoader.services['memorydb'] = {};
AWS.MemoryDB = Service.defineService('memorydb', ['2021-01-01']);
Object.defineProperty(apiLoader.services['memorydb'], '2021-01-01', {
get: function get() {
- var model = __webpack_require__(64138);
- model.paginators = __webpack_require__(50497)/* .pagination */ .o;
+ var model = __nccwpck_require__(67155);
+ model.paginators = (__nccwpck_require__(75681)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10678,11 +12053,11 @@ module.exports = AWS.MemoryDB;
/***/ }),
-/***/ 41339:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 86845:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10690,8 +12065,8 @@ apiLoader.services['mgn'] = {};
AWS.Mgn = Service.defineService('mgn', ['2020-02-26']);
Object.defineProperty(apiLoader.services['mgn'], '2020-02-26', {
get: function get() {
- var model = __webpack_require__(96297);
- model.paginators = __webpack_require__(36566)/* .pagination */ .o;
+ var model = __nccwpck_require__(23021);
+ model.paginators = (__nccwpck_require__(85215)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10703,11 +12078,11 @@ module.exports = AWS.Mgn;
/***/ }),
-/***/ 14688:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 48568:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10715,8 +12090,8 @@ apiLoader.services['migrationhub'] = {};
AWS.MigrationHub = Service.defineService('migrationhub', ['2017-05-31']);
Object.defineProperty(apiLoader.services['migrationhub'], '2017-05-31', {
get: function get() {
- var model = __webpack_require__(51639);
- model.paginators = __webpack_require__(63013)/* .pagination */ .o;
+ var model = __nccwpck_require__(67864);
+ model.paginators = (__nccwpck_require__(45020)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10728,11 +12103,11 @@ module.exports = AWS.MigrationHub;
/***/ }),
-/***/ 62658:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 56522:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10740,8 +12115,8 @@ apiLoader.services['migrationhubconfig'] = {};
AWS.MigrationHubConfig = Service.defineService('migrationhubconfig', ['2019-06-30']);
Object.defineProperty(apiLoader.services['migrationhubconfig'], '2019-06-30', {
get: function get() {
- var model = __webpack_require__(89101);
- model.paginators = __webpack_require__(59977)/* .pagination */ .o;
+ var model = __nccwpck_require__(89792);
+ model.paginators = (__nccwpck_require__(55348)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10753,11 +12128,11 @@ module.exports = AWS.MigrationHubConfig;
/***/ }),
-/***/ 66120:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 47568:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10765,9 +12140,9 @@ apiLoader.services['migrationhuborchestrator'] = {};
AWS.MigrationHubOrchestrator = Service.defineService('migrationhuborchestrator', ['2021-08-28']);
Object.defineProperty(apiLoader.services['migrationhuborchestrator'], '2021-08-28', {
get: function get() {
- var model = __webpack_require__(47212);
- model.paginators = __webpack_require__(65613)/* .pagination */ .o;
- model.waiters = __webpack_require__(76842)/* .waiters */ .V;
+ var model = __nccwpck_require__(62625);
+ model.paginators = (__nccwpck_require__(21339)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(36024)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -10779,11 +12154,11 @@ module.exports = AWS.MigrationHubOrchestrator;
/***/ }),
-/***/ 2925:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 6461:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10791,8 +12166,8 @@ apiLoader.services['migrationhubrefactorspaces'] = {};
AWS.MigrationHubRefactorSpaces = Service.defineService('migrationhubrefactorspaces', ['2021-10-26']);
Object.defineProperty(apiLoader.services['migrationhubrefactorspaces'], '2021-10-26', {
get: function get() {
- var model = __webpack_require__(17685);
- model.paginators = __webpack_require__(38574)/* .pagination */ .o;
+ var model = __nccwpck_require__(90514);
+ model.paginators = (__nccwpck_require__(85682)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10804,11 +12179,11 @@ module.exports = AWS.MigrationHubRefactorSpaces;
/***/ }),
-/***/ 96533:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 35425:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10816,8 +12191,8 @@ apiLoader.services['migrationhubstrategy'] = {};
AWS.MigrationHubStrategy = Service.defineService('migrationhubstrategy', ['2020-02-19']);
Object.defineProperty(apiLoader.services['migrationhubstrategy'], '2020-02-19', {
get: function get() {
- var model = __webpack_require__(42549);
- model.paginators = __webpack_require__(37439)/* .pagination */ .o;
+ var model = __nccwpck_require__(71815);
+ model.paginators = (__nccwpck_require__(85181)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10829,36 +12204,11 @@ module.exports = AWS.MigrationHubStrategy;
/***/ }),
-/***/ 39782:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 52917:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mobile'] = {};
-AWS.Mobile = Service.defineService('mobile', ['2017-07-01']);
-Object.defineProperty(apiLoader.services['mobile'], '2017-07-01', {
- get: function get() {
- var model = __webpack_require__(44027);
- model.paginators = __webpack_require__(81940)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Mobile;
-
-
-/***/ }),
-
-/***/ 66690:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10866,7 +12216,7 @@ apiLoader.services['mobileanalytics'] = {};
AWS.MobileAnalytics = Service.defineService('mobileanalytics', ['2014-06-05']);
Object.defineProperty(apiLoader.services['mobileanalytics'], '2014-06-05', {
get: function get() {
- var model = __webpack_require__(40634);
+ var model = __nccwpck_require__(30577);
return model;
},
enumerable: true,
@@ -10878,11 +12228,11 @@ module.exports = AWS.MobileAnalytics;
/***/ }),
-/***/ 23093:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 60749:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10890,8 +12240,8 @@ apiLoader.services['mq'] = {};
AWS.MQ = Service.defineService('mq', ['2017-11-27']);
Object.defineProperty(apiLoader.services['mq'], '2017-11-27', {
get: function get() {
- var model = __webpack_require__(73219);
- model.paginators = __webpack_require__(59835)/* .pagination */ .o;
+ var model = __nccwpck_require__(65872);
+ model.paginators = (__nccwpck_require__(14052)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10903,11 +12253,11 @@ module.exports = AWS.MQ;
/***/ }),
-/***/ 79954:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 25776:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10915,8 +12265,8 @@ apiLoader.services['mturk'] = {};
AWS.MTurk = Service.defineService('mturk', ['2017-01-17']);
Object.defineProperty(apiLoader.services['mturk'], '2017-01-17', {
get: function get() {
- var model = __webpack_require__(55676);
- model.paginators = __webpack_require__(51396)/* .pagination */ .o;
+ var model = __nccwpck_require__(88926);
+ model.paginators = (__nccwpck_require__(24470)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10928,11 +12278,11 @@ module.exports = AWS.MTurk;
/***/ }),
-/***/ 32712:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 29729:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10940,8 +12290,8 @@ apiLoader.services['mwaa'] = {};
AWS.MWAA = Service.defineService('mwaa', ['2020-07-01']);
Object.defineProperty(apiLoader.services['mwaa'], '2020-07-01', {
get: function get() {
- var model = __webpack_require__(3499);
- model.paginators = __webpack_require__(30606)/* .pagination */ .o;
+ var model = __nccwpck_require__(94379);
+ model.paginators = (__nccwpck_require__(68489)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -10953,22 +12303,22 @@ module.exports = AWS.MWAA;
/***/ }),
-/***/ 30047:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 99442:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['neptune'] = {};
AWS.Neptune = Service.defineService('neptune', ['2014-10-31']);
-__webpack_require__(73090);
+__nccwpck_require__(94492);
Object.defineProperty(apiLoader.services['neptune'], '2014-10-31', {
get: function get() {
- var model = __webpack_require__(44749);
- model.paginators = __webpack_require__(36058)/* .pagination */ .o;
- model.waiters = __webpack_require__(83629)/* .waiters */ .V;
+ var model = __nccwpck_require__(50746);
+ model.paginators = (__nccwpck_require__(64970)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(97553)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -10980,11 +12330,36 @@ module.exports = AWS.Neptune;
/***/ }),
-/***/ 84626:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 21682:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['neptunedata'] = {};
+AWS.Neptunedata = Service.defineService('neptunedata', ['2023-08-01']);
+Object.defineProperty(apiLoader.services['neptunedata'], '2023-08-01', {
+ get: function get() {
+ var model = __nccwpck_require__(76672);
+ model.paginators = (__nccwpck_require__(73332)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Neptunedata;
+
+
+/***/ }),
+
+/***/ 20653:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -10992,8 +12367,8 @@ apiLoader.services['networkfirewall'] = {};
AWS.NetworkFirewall = Service.defineService('networkfirewall', ['2020-11-12']);
Object.defineProperty(apiLoader.services['networkfirewall'], '2020-11-12', {
get: function get() {
- var model = __webpack_require__(71930);
- model.paginators = __webpack_require__(50334)/* .pagination */ .o;
+ var model = __nccwpck_require__(64111);
+ model.paginators = (__nccwpck_require__(19541)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11005,11 +12380,11 @@ module.exports = AWS.NetworkFirewall;
/***/ }),
-/***/ 37610:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87374:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11017,8 +12392,8 @@ apiLoader.services['networkmanager'] = {};
AWS.NetworkManager = Service.defineService('networkmanager', ['2019-07-05']);
Object.defineProperty(apiLoader.services['networkmanager'], '2019-07-05', {
get: function get() {
- var model = __webpack_require__(11902);
- model.paginators = __webpack_require__(91477)/* .pagination */ .o;
+ var model = __nccwpck_require__(77602);
+ model.paginators = (__nccwpck_require__(21890)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11030,11 +12405,37 @@ module.exports = AWS.NetworkManager;
/***/ }),
-/***/ 89428:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 74407:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['networkmonitor'] = {};
+AWS.NetworkMonitor = Service.defineService('networkmonitor', ['2023-08-01']);
+Object.defineProperty(apiLoader.services['networkmonitor'], '2023-08-01', {
+ get: function get() {
+ var model = __nccwpck_require__(24095);
+ model.paginators = (__nccwpck_require__(73669)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(90206)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.NetworkMonitor;
+
+
+/***/ }),
+
+/***/ 24806:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11042,9 +12443,9 @@ apiLoader.services['nimble'] = {};
AWS.Nimble = Service.defineService('nimble', ['2020-08-01']);
Object.defineProperty(apiLoader.services['nimble'], '2020-08-01', {
get: function get() {
- var model = __webpack_require__(95712);
- model.paginators = __webpack_require__(98909)/* .pagination */ .o;
- model.waiters = __webpack_require__(90597)/* .waiters */ .V;
+ var model = __nccwpck_require__(55649);
+ model.paginators = (__nccwpck_require__(16795)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(50744)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11056,11 +12457,62 @@ module.exports = AWS.Nimble;
/***/ }),
-/***/ 60358:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 21528:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['oam'] = {};
+AWS.OAM = Service.defineService('oam', ['2022-06-10']);
+Object.defineProperty(apiLoader.services['oam'], '2022-06-10', {
+ get: function get() {
+ var model = __nccwpck_require__(25089);
+ model.paginators = (__nccwpck_require__(28347)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.OAM;
+
+
+/***/ }),
+
+/***/ 74738:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['omics'] = {};
+AWS.Omics = Service.defineService('omics', ['2022-11-28']);
+Object.defineProperty(apiLoader.services['omics'], '2022-11-28', {
+ get: function get() {
+ var model = __nccwpck_require__(15416);
+ model.paginators = (__nccwpck_require__(56860)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(4188)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Omics;
+
+
+/***/ }),
+
+/***/ 95067:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11068,8 +12520,8 @@ apiLoader.services['opensearch'] = {};
AWS.OpenSearch = Service.defineService('opensearch', ['2021-01-01']);
Object.defineProperty(apiLoader.services['opensearch'], '2021-01-01', {
get: function get() {
- var model = __webpack_require__(19949);
- model.paginators = __webpack_require__(55508)/* .pagination */ .o;
+ var model = __nccwpck_require__(11248);
+ model.paginators = (__nccwpck_require__(39492)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11081,11 +12533,36 @@ module.exports = AWS.OpenSearch;
/***/ }),
-/***/ 75691:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 18085:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['opensearchserverless'] = {};
+AWS.OpenSearchServerless = Service.defineService('opensearchserverless', ['2021-11-01']);
+Object.defineProperty(apiLoader.services['opensearchserverless'], '2021-11-01', {
+ get: function get() {
+ var model = __nccwpck_require__(32293);
+ model.paginators = (__nccwpck_require__(35687)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.OpenSearchServerless;
+
+
+/***/ }),
+
+/***/ 80049:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11093,9 +12570,9 @@ apiLoader.services['opsworks'] = {};
AWS.OpsWorks = Service.defineService('opsworks', ['2013-02-18']);
Object.defineProperty(apiLoader.services['opsworks'], '2013-02-18', {
get: function get() {
- var model = __webpack_require__(95315);
- model.paginators = __webpack_require__(63589)/* .pagination */ .o;
- model.waiters = __webpack_require__(8700)/* .waiters */ .V;
+ var model = __nccwpck_require__(97950);
+ model.paginators = (__nccwpck_require__(22582)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(2245)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11107,11 +12584,11 @@ module.exports = AWS.OpsWorks;
/***/ }),
-/***/ 80388:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 31881:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11119,9 +12596,9 @@ apiLoader.services['opsworkscm'] = {};
AWS.OpsWorksCM = Service.defineService('opsworkscm', ['2016-11-01']);
Object.defineProperty(apiLoader.services['opsworkscm'], '2016-11-01', {
get: function get() {
- var model = __webpack_require__(25033);
- model.paginators = __webpack_require__(68422)/* .pagination */ .o;
- model.waiters = __webpack_require__(89353)/* .waiters */ .V;
+ var model = __nccwpck_require__(20523);
+ model.paginators = (__nccwpck_require__(42505)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(54986)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11133,11 +12610,11 @@ module.exports = AWS.OpsWorksCM;
/***/ }),
-/***/ 44670:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 7299:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11145,8 +12622,8 @@ apiLoader.services['organizations'] = {};
AWS.Organizations = Service.defineService('organizations', ['2016-11-28']);
Object.defineProperty(apiLoader.services['organizations'], '2016-11-28', {
get: function get() {
- var model = __webpack_require__(28258);
- model.paginators = __webpack_require__(70916)/* .pagination */ .o;
+ var model = __nccwpck_require__(94872);
+ model.paginators = (__nccwpck_require__(2940)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11158,11 +12635,36 @@ module.exports = AWS.Organizations;
/***/ }),
-/***/ 27551:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87057:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['osis'] = {};
+AWS.OSIS = Service.defineService('osis', ['2022-01-01']);
+Object.defineProperty(apiLoader.services['osis'], '2022-01-01', {
+ get: function get() {
+ var model = __nccwpck_require__(16383);
+ model.paginators = (__nccwpck_require__(92581)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.OSIS;
+
+
+/***/ }),
+
+/***/ 57116:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11170,8 +12672,8 @@ apiLoader.services['outposts'] = {};
AWS.Outposts = Service.defineService('outposts', ['2019-12-03']);
Object.defineProperty(apiLoader.services['outposts'], '2019-12-03', {
get: function get() {
- var model = __webpack_require__(79304);
- model.paginators = __webpack_require__(91740)/* .pagination */ .o;
+ var model = __nccwpck_require__(3732);
+ model.paginators = (__nccwpck_require__(64992)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11183,11 +12685,11 @@ module.exports = AWS.Outposts;
/***/ }),
-/***/ 20368:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 43728:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11195,8 +12697,8 @@ apiLoader.services['panorama'] = {};
AWS.Panorama = Service.defineService('panorama', ['2019-07-24']);
Object.defineProperty(apiLoader.services['panorama'], '2019-07-24', {
get: function get() {
- var model = __webpack_require__(11360);
- model.paginators = __webpack_require__(85327)/* .pagination */ .o;
+ var model = __nccwpck_require__(46701);
+ model.paginators = (__nccwpck_require__(88895)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11208,11 +12710,140 @@ module.exports = AWS.Panorama;
/***/ }),
-/***/ 33696:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 37855:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['paymentcryptography'] = {};
+AWS.PaymentCryptography = Service.defineService('paymentcryptography', ['2021-09-14']);
+Object.defineProperty(apiLoader.services['paymentcryptography'], '2021-09-14', {
+ get: function get() {
+ var model = __nccwpck_require__(66427);
+ model.paginators = (__nccwpck_require__(58873)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(62234)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.PaymentCryptography;
+
+
+/***/ }),
+
+/***/ 15271:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['paymentcryptographydata'] = {};
+AWS.PaymentCryptographyData = Service.defineService('paymentcryptographydata', ['2022-02-03']);
+Object.defineProperty(apiLoader.services['paymentcryptographydata'], '2022-02-03', {
+ get: function get() {
+ var model = __nccwpck_require__(82098);
+ model.paginators = (__nccwpck_require__(20018)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(42009)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.PaymentCryptographyData;
+
+
+/***/ }),
+
+/***/ 87689:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['pcaconnectorad'] = {};
+AWS.PcaConnectorAd = Service.defineService('pcaconnectorad', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['pcaconnectorad'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(79534);
+ model.paginators = (__nccwpck_require__(92518)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.PcaConnectorAd;
+
+
+/***/ }),
+
+/***/ 57003:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['pcaconnectorscep'] = {};
+AWS.PcaConnectorScep = Service.defineService('pcaconnectorscep', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['pcaconnectorscep'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(65376);
+ model.paginators = (__nccwpck_require__(82100)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(30919)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.PcaConnectorScep;
+
+
+/***/ }),
+
+/***/ 75921:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['pcs'] = {};
+AWS.PCS = Service.defineService('pcs', ['2023-02-10']);
+Object.defineProperty(apiLoader.services['pcs'], '2023-02-10', {
+ get: function get() {
+ var model = __nccwpck_require__(50389);
+ model.paginators = (__nccwpck_require__(3639)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(25068)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.PCS;
+
+
+/***/ }),
+
+/***/ 28245:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11220,8 +12851,8 @@ apiLoader.services['personalize'] = {};
AWS.Personalize = Service.defineService('personalize', ['2018-05-22']);
Object.defineProperty(apiLoader.services['personalize'], '2018-05-22', {
get: function get() {
- var model = __webpack_require__(16402);
- model.paginators = __webpack_require__(76828)/* .pagination */ .o;
+ var model = __nccwpck_require__(50129);
+ model.paginators = (__nccwpck_require__(71435)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11233,11 +12864,11 @@ module.exports = AWS.Personalize;
/***/ }),
-/***/ 88170:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 53660:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11245,8 +12876,8 @@ apiLoader.services['personalizeevents'] = {};
AWS.PersonalizeEvents = Service.defineService('personalizeevents', ['2018-03-22']);
Object.defineProperty(apiLoader.services['personalizeevents'], '2018-03-22', {
get: function get() {
- var model = __webpack_require__(8792);
- model.paginators = __webpack_require__(52110)/* .pagination */ .o;
+ var model = __nccwpck_require__(82861);
+ model.paginators = (__nccwpck_require__(63967)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11258,11 +12889,11 @@ module.exports = AWS.PersonalizeEvents;
/***/ }),
-/***/ 66184:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 89949:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11270,8 +12901,8 @@ apiLoader.services['personalizeruntime'] = {};
AWS.PersonalizeRuntime = Service.defineService('personalizeruntime', ['2018-05-22']);
Object.defineProperty(apiLoader.services['personalizeruntime'], '2018-05-22', {
get: function get() {
- var model = __webpack_require__(86682);
- model.paginators = __webpack_require__(32049)/* .pagination */ .o;
+ var model = __nccwpck_require__(94858);
+ model.paginators = (__nccwpck_require__(86970)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11283,11 +12914,11 @@ module.exports = AWS.PersonalizeRuntime;
/***/ }),
-/***/ 15505:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 80736:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11295,8 +12926,8 @@ apiLoader.services['pi'] = {};
AWS.PI = Service.defineService('pi', ['2018-02-27']);
Object.defineProperty(apiLoader.services['pi'], '2018-02-27', {
get: function get() {
- var model = __webpack_require__(38006);
- model.paginators = __webpack_require__(75147)/* .pagination */ .o;
+ var model = __nccwpck_require__(27654);
+ model.paginators = (__nccwpck_require__(21070)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11308,11 +12939,11 @@ module.exports = AWS.PI;
/***/ }),
-/***/ 18388:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 50436:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11320,7 +12951,7 @@ apiLoader.services['pinpoint'] = {};
AWS.Pinpoint = Service.defineService('pinpoint', ['2016-12-01']);
Object.defineProperty(apiLoader.services['pinpoint'], '2016-12-01', {
get: function get() {
- var model = __webpack_require__(73536);
+ var model = __nccwpck_require__(83619);
return model;
},
enumerable: true,
@@ -11332,11 +12963,11 @@ module.exports = AWS.Pinpoint;
/***/ }),
-/***/ 83060:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 83750:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11344,8 +12975,8 @@ apiLoader.services['pinpointemail'] = {};
AWS.PinpointEmail = Service.defineService('pinpointemail', ['2018-07-26']);
Object.defineProperty(apiLoader.services['pinpointemail'], '2018-07-26', {
get: function get() {
- var model = __webpack_require__(42680);
- model.paginators = __webpack_require__(58107)/* .pagination */ .o;
+ var model = __nccwpck_require__(18103);
+ model.paginators = (__nccwpck_require__(90925)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11357,11 +12988,11 @@ module.exports = AWS.PinpointEmail;
/***/ }),
-/***/ 46605:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 58429:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11369,7 +13000,7 @@ apiLoader.services['pinpointsmsvoice'] = {};
AWS.PinpointSMSVoice = Service.defineService('pinpointsmsvoice', ['2018-09-05']);
Object.defineProperty(apiLoader.services['pinpointsmsvoice'], '2018-09-05', {
get: function get() {
- var model = __webpack_require__(6641);
+ var model = __nccwpck_require__(4230);
return model;
},
enumerable: true,
@@ -11381,11 +13012,11 @@ module.exports = AWS.PinpointSMSVoice;
/***/ }),
-/***/ 478:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 42205:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11393,9 +13024,9 @@ apiLoader.services['pinpointsmsvoicev2'] = {};
AWS.PinpointSMSVoiceV2 = Service.defineService('pinpointsmsvoicev2', ['2022-03-31']);
Object.defineProperty(apiLoader.services['pinpointsmsvoicev2'], '2022-03-31', {
get: function get() {
- var model = __webpack_require__(53129);
- model.paginators = __webpack_require__(75142)/* .pagination */ .o;
- model.waiters = __webpack_require__(51868)/* .waiters */ .V;
+ var model = __nccwpck_require__(11101);
+ model.paginators = (__nccwpck_require__(49807)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(39364)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11407,21 +13038,47 @@ module.exports = AWS.PinpointSMSVoiceV2;
/***/ }),
-/***/ 97332:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 19374:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['pipes'] = {};
+AWS.Pipes = Service.defineService('pipes', ['2015-10-07']);
+Object.defineProperty(apiLoader.services['pipes'], '2015-10-07', {
+ get: function get() {
+ var model = __nccwpck_require__(51876);
+ model.paginators = (__nccwpck_require__(87344)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(98427)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Pipes;
+
+
+/***/ }),
+
+/***/ 3027:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['polly'] = {};
AWS.Polly = Service.defineService('polly', ['2016-06-10']);
-__webpack_require__(53199);
+__nccwpck_require__(50321);
Object.defineProperty(apiLoader.services['polly'], '2016-06-10', {
get: function get() {
- var model = __webpack_require__(58020);
- model.paginators = __webpack_require__(28573)/* .pagination */ .o;
+ var model = __nccwpck_require__(97347);
+ model.paginators = (__nccwpck_require__(39921)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11433,11 +13090,11 @@ module.exports = AWS.Polly;
/***/ }),
-/***/ 92765:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 78025:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11445,8 +13102,9 @@ apiLoader.services['pricing'] = {};
AWS.Pricing = Service.defineService('pricing', ['2017-10-15']);
Object.defineProperty(apiLoader.services['pricing'], '2017-10-15', {
get: function get() {
- var model = __webpack_require__(19792);
- model.paginators = __webpack_require__(45992)/* .pagination */ .o;
+ var model = __nccwpck_require__(6572);
+ model.paginators = (__nccwpck_require__(63208)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(65907)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11458,11 +13116,11 @@ module.exports = AWS.Pricing;
/***/ }),
-/***/ 63088:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 33991:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11470,8 +13128,8 @@ apiLoader.services['privatenetworks'] = {};
AWS.PrivateNetworks = Service.defineService('privatenetworks', ['2021-12-03']);
Object.defineProperty(apiLoader.services['privatenetworks'], '2021-12-03', {
get: function get() {
- var model = __webpack_require__(65807);
- model.paginators = __webpack_require__(89557)/* .pagination */ .o;
+ var model = __nccwpck_require__(98058);
+ model.paginators = (__nccwpck_require__(77178)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11483,11 +13141,11 @@ module.exports = AWS.PrivateNetworks;
/***/ }),
-/***/ 9275:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 3447:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11495,9 +13153,9 @@ apiLoader.services['proton'] = {};
AWS.Proton = Service.defineService('proton', ['2020-07-20']);
Object.defineProperty(apiLoader.services['proton'], '2020-07-20', {
get: function get() {
- var model = __webpack_require__(39939);
- model.paginators = __webpack_require__(18911)/* .pagination */ .o;
- model.waiters = __webpack_require__(64)/* .waiters */ .V;
+ var model = __nccwpck_require__(54104);
+ model.paginators = (__nccwpck_require__(65532)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(58767)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11509,11 +13167,88 @@ module.exports = AWS.Proton;
/***/ }),
-/***/ 71266:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 75924:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['qapps'] = {};
+AWS.QApps = Service.defineService('qapps', ['2023-11-27']);
+Object.defineProperty(apiLoader.services['qapps'], '2023-11-27', {
+ get: function get() {
+ var model = __nccwpck_require__(99712);
+ model.paginators = (__nccwpck_require__(2228)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(54695)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.QApps;
+
+
+/***/ }),
+
+/***/ 20966:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['qbusiness'] = {};
+AWS.QBusiness = Service.defineService('qbusiness', ['2023-11-27']);
+Object.defineProperty(apiLoader.services['qbusiness'], '2023-11-27', {
+ get: function get() {
+ var model = __nccwpck_require__(56178);
+ model.paginators = (__nccwpck_require__(84050)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(73977)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.QBusiness;
+
+
+/***/ }),
+
+/***/ 42844:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['qconnect'] = {};
+AWS.QConnect = Service.defineService('qconnect', ['2020-10-19']);
+Object.defineProperty(apiLoader.services['qconnect'], '2020-10-19', {
+ get: function get() {
+ var model = __nccwpck_require__(2229);
+ model.paginators = (__nccwpck_require__(86679)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.QConnect;
+
+
+/***/ }),
+
+/***/ 62640:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11521,8 +13256,8 @@ apiLoader.services['qldb'] = {};
AWS.QLDB = Service.defineService('qldb', ['2019-01-02']);
Object.defineProperty(apiLoader.services['qldb'], '2019-01-02', {
get: function get() {
- var model = __webpack_require__(52675);
- model.paginators = __webpack_require__(4367)/* .pagination */ .o;
+ var model = __nccwpck_require__(51827);
+ model.paginators = (__nccwpck_require__(61793)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11534,11 +13269,11 @@ module.exports = AWS.QLDB;
/***/ }),
-/***/ 55423:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 41398:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11546,8 +13281,8 @@ apiLoader.services['qldbsession'] = {};
AWS.QLDBSession = Service.defineService('qldbsession', ['2019-07-11']);
Object.defineProperty(apiLoader.services['qldbsession'], '2019-07-11', {
get: function get() {
- var model = __webpack_require__(67426);
- model.paginators = __webpack_require__(96527)/* .pagination */ .o;
+ var model = __nccwpck_require__(93182);
+ model.paginators = (__nccwpck_require__(67062)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11559,11 +13294,11 @@ module.exports = AWS.QLDBSession;
/***/ }),
-/***/ 29898:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 2747:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11571,8 +13306,8 @@ apiLoader.services['quicksight'] = {};
AWS.QuickSight = Service.defineService('quicksight', ['2018-04-01']);
Object.defineProperty(apiLoader.services['quicksight'], '2018-04-01', {
get: function get() {
- var model = __webpack_require__(6807);
- model.paginators = __webpack_require__(81489)/* .pagination */ .o;
+ var model = __nccwpck_require__(65625);
+ model.paginators = (__nccwpck_require__(74595)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11584,11 +13319,11 @@ module.exports = AWS.QuickSight;
/***/ }),
-/***/ 94394:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 29607:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11596,8 +13331,8 @@ apiLoader.services['ram'] = {};
AWS.RAM = Service.defineService('ram', ['2018-01-04']);
Object.defineProperty(apiLoader.services['ram'], '2018-01-04', {
get: function get() {
- var model = __webpack_require__(83728);
- model.paginators = __webpack_require__(83147)/* .pagination */ .o;
+ var model = __nccwpck_require__(44563);
+ model.paginators = (__nccwpck_require__(65825)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11609,11 +13344,11 @@ module.exports = AWS.RAM;
/***/ }),
-/***/ 70145:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 22816:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11621,8 +13356,8 @@ apiLoader.services['rbin'] = {};
AWS.Rbin = Service.defineService('rbin', ['2021-06-15']);
Object.defineProperty(apiLoader.services['rbin'], '2021-06-15', {
get: function get() {
- var model = __webpack_require__(95122);
- model.paginators = __webpack_require__(28107)/* .pagination */ .o;
+ var model = __nccwpck_require__(58775);
+ model.paginators = (__nccwpck_require__(48621)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11634,21 +13369,21 @@ module.exports = AWS.Rbin;
/***/ }),
-/***/ 71578:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 59132:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['rds'] = {};
AWS.RDS = Service.defineService('rds', ['2013-01-10', '2013-02-12', '2013-09-09', '2014-09-01', '2014-09-01*', '2014-10-31']);
-__webpack_require__(71928);
+__nccwpck_require__(85726);
Object.defineProperty(apiLoader.services['rds'], '2013-01-10', {
get: function get() {
- var model = __webpack_require__(56144);
- model.paginators = __webpack_require__(76660)/* .pagination */ .o;
+ var model = __nccwpck_require__(9506);
+ model.paginators = (__nccwpck_require__(76706)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11656,8 +13391,8 @@ Object.defineProperty(apiLoader.services['rds'], '2013-01-10', {
});
Object.defineProperty(apiLoader.services['rds'], '2013-02-12', {
get: function get() {
- var model = __webpack_require__(15633);
- model.paginators = __webpack_require__(37654)/* .pagination */ .o;
+ var model = __nccwpck_require__(85191);
+ model.paginators = (__nccwpck_require__(66333)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11665,9 +13400,9 @@ Object.defineProperty(apiLoader.services['rds'], '2013-02-12', {
});
Object.defineProperty(apiLoader.services['rds'], '2013-09-09', {
get: function get() {
- var model = __webpack_require__(53439);
- model.paginators = __webpack_require__(17223)/* .pagination */ .o;
- model.waiters = __webpack_require__(60967)/* .waiters */ .V;
+ var model = __nccwpck_require__(66180);
+ model.paginators = (__nccwpck_require__(22672)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(46363)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11675,8 +13410,8 @@ Object.defineProperty(apiLoader.services['rds'], '2013-09-09', {
});
Object.defineProperty(apiLoader.services['rds'], '2014-09-01', {
get: function get() {
- var model = __webpack_require__(72333);
- model.paginators = __webpack_require__(86022)/* .pagination */ .o;
+ var model = __nccwpck_require__(44009);
+ model.paginators = (__nccwpck_require__(51315)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11684,9 +13419,9 @@ Object.defineProperty(apiLoader.services['rds'], '2014-09-01', {
});
Object.defineProperty(apiLoader.services['rds'], '2014-10-31', {
get: function get() {
- var model = __webpack_require__(6210);
- model.paginators = __webpack_require__(60972)/* .pagination */ .o;
- model.waiters = __webpack_require__(6606)/* .waiters */ .V;
+ var model = __nccwpck_require__(26128);
+ model.paginators = (__nccwpck_require__(132)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(50135)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11698,21 +13433,21 @@ module.exports = AWS.RDS;
/***/ }),
-/***/ 30147:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 44765:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['rdsdataservice'] = {};
AWS.RDSDataService = Service.defineService('rdsdataservice', ['2018-08-01']);
-__webpack_require__(64070);
+__nccwpck_require__(99731);
Object.defineProperty(apiLoader.services['rdsdataservice'], '2018-08-01', {
get: function get() {
- var model = __webpack_require__(4983);
- model.paginators = __webpack_require__(1270)/* .pagination */ .o;
+ var model = __nccwpck_require__(32387);
+ model.paginators = (__nccwpck_require__(22961)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11724,11 +13459,11 @@ module.exports = AWS.RDSDataService;
/***/ }),
-/***/ 84853:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 23310:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11736,9 +13471,9 @@ apiLoader.services['redshift'] = {};
AWS.Redshift = Service.defineService('redshift', ['2012-12-01']);
Object.defineProperty(apiLoader.services['redshift'], '2012-12-01', {
get: function get() {
- var model = __webpack_require__(17066);
- model.paginators = __webpack_require__(7755)/* .pagination */ .o;
- model.waiters = __webpack_require__(91400)/* .waiters */ .V;
+ var model = __nccwpck_require__(85761);
+ model.paginators = (__nccwpck_require__(80251)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(80856)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11750,11 +13485,11 @@ module.exports = AWS.Redshift;
/***/ }),
-/***/ 203:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 95134:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11762,8 +13497,8 @@ apiLoader.services['redshiftdata'] = {};
AWS.RedshiftData = Service.defineService('redshiftdata', ['2019-12-20']);
Object.defineProperty(apiLoader.services['redshiftdata'], '2019-12-20', {
get: function get() {
- var model = __webpack_require__(34805);
- model.paginators = __webpack_require__(28484)/* .pagination */ .o;
+ var model = __nccwpck_require__(91382);
+ model.paginators = (__nccwpck_require__(23838)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11775,11 +13510,11 @@ module.exports = AWS.RedshiftData;
/***/ }),
-/***/ 29987:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 57824:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11787,8 +13522,8 @@ apiLoader.services['redshiftserverless'] = {};
AWS.RedshiftServerless = Service.defineService('redshiftserverless', ['2021-04-21']);
Object.defineProperty(apiLoader.services['redshiftserverless'], '2021-04-21', {
get: function get() {
- var model = __webpack_require__(46395);
- model.paginators = __webpack_require__(97597)/* .pagination */ .o;
+ var model = __nccwpck_require__(98705);
+ model.paginators = (__nccwpck_require__(83115)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11800,11 +13535,11 @@ module.exports = AWS.RedshiftServerless;
/***/ }),
-/***/ 65470:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 36228:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11812,9 +13547,9 @@ apiLoader.services['rekognition'] = {};
AWS.Rekognition = Service.defineService('rekognition', ['2016-06-27']);
Object.defineProperty(apiLoader.services['rekognition'], '2016-06-27', {
get: function get() {
- var model = __webpack_require__(65852);
- model.paginators = __webpack_require__(49860)/* .pagination */ .o;
- model.waiters = __webpack_require__(19491)/* .waiters */ .V;
+ var model = __nccwpck_require__(34856);
+ model.paginators = (__nccwpck_require__(78828)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(27359)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -11826,11 +13561,36 @@ module.exports = AWS.Rekognition;
/***/ }),
-/***/ 21173:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 19164:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['repostspace'] = {};
+AWS.Repostspace = Service.defineService('repostspace', ['2022-05-13']);
+Object.defineProperty(apiLoader.services['repostspace'], '2022-05-13', {
+ get: function get() {
+ var model = __nccwpck_require__(58807);
+ model.paginators = (__nccwpck_require__(84429)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Repostspace;
+
+
+/***/ }),
+
+/***/ 7515:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11838,8 +13598,8 @@ apiLoader.services['resiliencehub'] = {};
AWS.Resiliencehub = Service.defineService('resiliencehub', ['2020-04-30']);
Object.defineProperty(apiLoader.services['resiliencehub'], '2020-04-30', {
get: function get() {
- var model = __webpack_require__(69249);
- model.paginators = __webpack_require__(56661)/* .pagination */ .o;
+ var model = __nccwpck_require__(32814);
+ model.paginators = (__nccwpck_require__(82598)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11851,11 +13611,11 @@ module.exports = AWS.Resiliencehub;
/***/ }),
-/***/ 74071:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 18360:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11863,8 +13623,8 @@ apiLoader.services['resourceexplorer2'] = {};
AWS.ResourceExplorer2 = Service.defineService('resourceexplorer2', ['2022-07-28']);
Object.defineProperty(apiLoader.services['resourceexplorer2'], '2022-07-28', {
get: function get() {
- var model = __webpack_require__(40912);
- model.paginators = __webpack_require__(36428)/* .pagination */ .o;
+ var model = __nccwpck_require__(46159);
+ model.paginators = (__nccwpck_require__(45301)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11876,11 +13636,11 @@ module.exports = AWS.ResourceExplorer2;
/***/ }),
-/***/ 58756:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 35019:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11888,8 +13648,8 @@ apiLoader.services['resourcegroups'] = {};
AWS.ResourceGroups = Service.defineService('resourcegroups', ['2017-11-27']);
Object.defineProperty(apiLoader.services['resourcegroups'], '2017-11-27', {
get: function get() {
- var model = __webpack_require__(28629);
- model.paginators = __webpack_require__(71378)/* .pagination */ .o;
+ var model = __nccwpck_require__(98903);
+ model.paginators = (__nccwpck_require__(22509)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11901,11 +13661,11 @@ module.exports = AWS.ResourceGroups;
/***/ }),
-/***/ 7385:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 19998:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11913,8 +13673,8 @@ apiLoader.services['resourcegroupstaggingapi'] = {};
AWS.ResourceGroupsTaggingAPI = Service.defineService('resourcegroupstaggingapi', ['2017-01-26']);
Object.defineProperty(apiLoader.services['resourcegroupstaggingapi'], '2017-01-26', {
get: function get() {
- var model = __webpack_require__(83914);
- model.paginators = __webpack_require__(64865)/* .pagination */ .o;
+ var model = __nccwpck_require__(70749);
+ model.paginators = (__nccwpck_require__(18511)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11926,11 +13686,11 @@ module.exports = AWS.ResourceGroupsTaggingAPI;
/***/ }),
-/***/ 18068:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 14027:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11938,8 +13698,8 @@ apiLoader.services['robomaker'] = {};
AWS.RoboMaker = Service.defineService('robomaker', ['2018-06-29']);
Object.defineProperty(apiLoader.services['robomaker'], '2018-06-29', {
get: function get() {
- var model = __webpack_require__(36854);
- model.paginators = __webpack_require__(52592)/* .pagination */ .o;
+ var model = __nccwpck_require__(45697);
+ model.paginators = (__nccwpck_require__(33243)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11951,11 +13711,11 @@ module.exports = AWS.RoboMaker;
/***/ }),
-/***/ 83604:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 70987:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -11963,8 +13723,8 @@ apiLoader.services['rolesanywhere'] = {};
AWS.RolesAnywhere = Service.defineService('rolesanywhere', ['2018-05-10']);
Object.defineProperty(apiLoader.services['rolesanywhere'], '2018-05-10', {
get: function get() {
- var model = __webpack_require__(58275);
- model.paginators = __webpack_require__(67346)/* .pagination */ .o;
+ var model = __nccwpck_require__(38254);
+ model.paginators = (__nccwpck_require__(98086)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -11976,22 +13736,22 @@ module.exports = AWS.RolesAnywhere;
/***/ }),
-/***/ 44968:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 29386:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['route53'] = {};
AWS.Route53 = Service.defineService('route53', ['2013-04-01']);
-__webpack_require__(69627);
+__nccwpck_require__(43944);
Object.defineProperty(apiLoader.services['route53'], '2013-04-01', {
get: function get() {
- var model = __webpack_require__(91499);
- model.paginators = __webpack_require__(54519)/* .pagination */ .o;
- model.waiters = __webpack_require__(4628)/* .waiters */ .V;
+ var model = __nccwpck_require__(28835);
+ model.paginators = (__nccwpck_require__(3217)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(49778)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -12003,11 +13763,11 @@ module.exports = AWS.Route53;
/***/ }),
-/***/ 51994:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 88933:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12015,8 +13775,8 @@ apiLoader.services['route53domains'] = {};
AWS.Route53Domains = Service.defineService('route53domains', ['2014-05-15']);
Object.defineProperty(apiLoader.services['route53domains'], '2014-05-15', {
get: function get() {
- var model = __webpack_require__(6535);
- model.paginators = __webpack_require__(26777)/* .pagination */ .o;
+ var model = __nccwpck_require__(45999);
+ model.paginators = (__nccwpck_require__(43221)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12028,11 +13788,36 @@ module.exports = AWS.Route53Domains;
/***/ }),
-/***/ 35738:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 61912:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['route53profiles'] = {};
+AWS.Route53Profiles = Service.defineService('route53profiles', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['route53profiles'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(12075);
+ model.paginators = (__nccwpck_require__(45353)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Route53Profiles;
+
+
+/***/ }),
+
+/***/ 98643:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12040,8 +13825,8 @@ apiLoader.services['route53recoverycluster'] = {};
AWS.Route53RecoveryCluster = Service.defineService('route53recoverycluster', ['2019-12-02']);
Object.defineProperty(apiLoader.services['route53recoverycluster'], '2019-12-02', {
get: function get() {
- var model = __webpack_require__(77257);
- model.paginators = __webpack_require__(33426)/* .pagination */ .o;
+ var model = __nccwpck_require__(54898);
+ model.paginators = (__nccwpck_require__(80242)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12053,11 +13838,11 @@ module.exports = AWS.Route53RecoveryCluster;
/***/ }),
-/***/ 16063:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 60374:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12065,9 +13850,9 @@ apiLoader.services['route53recoverycontrolconfig'] = {};
AWS.Route53RecoveryControlConfig = Service.defineService('route53recoverycontrolconfig', ['2020-11-02']);
Object.defineProperty(apiLoader.services['route53recoverycontrolconfig'], '2020-11-02', {
get: function get() {
- var model = __webpack_require__(29886);
- model.paginators = __webpack_require__(43116)/* .pagination */ .o;
- model.waiters = __webpack_require__(79230)/* .waiters */ .V;
+ var model = __nccwpck_require__(67665);
+ model.paginators = (__nccwpck_require__(89163)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(58440)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -12079,11 +13864,11 @@ module.exports = AWS.Route53RecoveryControlConfig;
/***/ }),
-/***/ 79106:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 32113:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12091,8 +13876,8 @@ apiLoader.services['route53recoveryreadiness'] = {};
AWS.Route53RecoveryReadiness = Service.defineService('route53recoveryreadiness', ['2019-12-02']);
Object.defineProperty(apiLoader.services['route53recoveryreadiness'], '2019-12-02', {
get: function get() {
- var model = __webpack_require__(41608);
- model.paginators = __webpack_require__(70416)/* .pagination */ .o;
+ var model = __nccwpck_require__(1172);
+ model.paginators = (__nccwpck_require__(30752)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12104,11 +13889,11 @@ module.exports = AWS.Route53RecoveryReadiness;
/***/ }),
-/***/ 25894:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 79772:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12116,8 +13901,8 @@ apiLoader.services['route53resolver'] = {};
AWS.Route53Resolver = Service.defineService('route53resolver', ['2018-04-01']);
Object.defineProperty(apiLoader.services['route53resolver'], '2018-04-01', {
get: function get() {
- var model = __webpack_require__(99309);
- model.paginators = __webpack_require__(21261)/* .pagination */ .o;
+ var model = __nccwpck_require__(64036);
+ model.paginators = (__nccwpck_require__(83600)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12129,11 +13914,11 @@ module.exports = AWS.Route53Resolver;
/***/ }),
-/***/ 53237:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 62875:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12141,8 +13926,8 @@ apiLoader.services['rum'] = {};
AWS.RUM = Service.defineService('rum', ['2018-05-10']);
Object.defineProperty(apiLoader.services['rum'], '2018-05-10', {
get: function get() {
- var model = __webpack_require__(22298);
- model.paginators = __webpack_require__(67053)/* .pagination */ .o;
+ var model = __nccwpck_require__(96554);
+ model.paginators = (__nccwpck_require__(954)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12154,22 +13939,22 @@ module.exports = AWS.RUM;
/***/ }),
-/***/ 83256:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 67545:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['s3'] = {};
AWS.S3 = Service.defineService('s3', ['2006-03-01']);
-__webpack_require__(26543);
+__nccwpck_require__(51919);
Object.defineProperty(apiLoader.services['s3'], '2006-03-01', {
get: function get() {
- var model = __webpack_require__(32581);
- model.paginators = __webpack_require__(53175)/* .pagination */ .o;
- model.waiters = __webpack_require__(44494)/* .waiters */ .V;
+ var model = __nccwpck_require__(82879);
+ model.paginators = (__nccwpck_require__(45221)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(23934)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -12181,21 +13966,21 @@ module.exports = AWS.S3;
/***/ }),
-/***/ 99817:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 18776:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['s3control'] = {};
AWS.S3Control = Service.defineService('s3control', ['2018-08-20']);
-__webpack_require__(71207);
+__nccwpck_require__(5574);
Object.defineProperty(apiLoader.services['s3control'], '2018-08-20', {
get: function get() {
- var model = __webpack_require__(52092);
- model.paginators = __webpack_require__(62498)/* .pagination */ .o;
+ var model = __nccwpck_require__(1137);
+ model.paginators = (__nccwpck_require__(52491)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12207,11 +13992,11 @@ module.exports = AWS.S3Control;
/***/ }),
-/***/ 90493:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 28734:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12219,8 +14004,8 @@ apiLoader.services['s3outposts'] = {};
AWS.S3Outposts = Service.defineService('s3outposts', ['2017-07-25']);
Object.defineProperty(apiLoader.services['s3outposts'], '2017-07-25', {
get: function get() {
- var model = __webpack_require__(90331);
- model.paginators = __webpack_require__(8746)/* .pagination */ .o;
+ var model = __nccwpck_require__(68894);
+ model.paginators = (__nccwpck_require__(85398)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12232,11 +14017,11 @@ module.exports = AWS.S3Outposts;
/***/ }),
-/***/ 77657:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 94455:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12244,9 +14029,9 @@ apiLoader.services['sagemaker'] = {};
AWS.SageMaker = Service.defineService('sagemaker', ['2017-07-24']);
Object.defineProperty(apiLoader.services['sagemaker'], '2017-07-24', {
get: function get() {
- var model = __webpack_require__(20227);
- model.paginators = __webpack_require__(44955)/* .pagination */ .o;
- model.waiters = __webpack_require__(50026)/* .waiters */ .V;
+ var model = __nccwpck_require__(87526);
+ model.paginators = (__nccwpck_require__(88398)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(39741)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -12258,11 +14043,11 @@ module.exports = AWS.SageMaker;
/***/ }),
-/***/ 38966:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 16558:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12270,8 +14055,8 @@ apiLoader.services['sagemakeredge'] = {};
AWS.SagemakerEdge = Service.defineService('sagemakeredge', ['2020-09-23']);
Object.defineProperty(apiLoader.services['sagemakeredge'], '2020-09-23', {
get: function get() {
- var model = __webpack_require__(48750);
- model.paginators = __webpack_require__(2769)/* .pagination */ .o;
+ var model = __nccwpck_require__(56901);
+ model.paginators = (__nccwpck_require__(85415)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12283,11 +14068,11 @@ module.exports = AWS.SagemakerEdge;
/***/ }),
-/***/ 67644:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 14354:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12295,8 +14080,8 @@ apiLoader.services['sagemakerfeaturestoreruntime'] = {};
AWS.SageMakerFeatureStoreRuntime = Service.defineService('sagemakerfeaturestoreruntime', ['2020-07-01']);
Object.defineProperty(apiLoader.services['sagemakerfeaturestoreruntime'], '2020-07-01', {
get: function get() {
- var model = __webpack_require__(98420);
- model.paginators = __webpack_require__(45590)/* .pagination */ .o;
+ var model = __nccwpck_require__(71366);
+ model.paginators = (__nccwpck_require__(14574)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12308,11 +14093,61 @@ module.exports = AWS.SageMakerFeatureStoreRuntime;
/***/ }),
-/***/ 85044:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 97040:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['sagemakergeospatial'] = {};
+AWS.SageMakerGeospatial = Service.defineService('sagemakergeospatial', ['2020-05-27']);
+Object.defineProperty(apiLoader.services['sagemakergeospatial'], '2020-05-27', {
+ get: function get() {
+ var model = __nccwpck_require__(81691);
+ model.paginators = (__nccwpck_require__(76857)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.SageMakerGeospatial;
+
+
+/***/ }),
+
+/***/ 34798:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['sagemakermetrics'] = {};
+AWS.SageMakerMetrics = Service.defineService('sagemakermetrics', ['2022-09-30']);
+Object.defineProperty(apiLoader.services['sagemakermetrics'], '2022-09-30', {
+ get: function get() {
+ var model = __nccwpck_require__(25145);
+ model.paginators = (__nccwpck_require__(68931)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.SageMakerMetrics;
+
+
+/***/ }),
+
+/***/ 10579:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12320,8 +14155,8 @@ apiLoader.services['sagemakerruntime'] = {};
AWS.SageMakerRuntime = Service.defineService('sagemakerruntime', ['2017-05-13']);
Object.defineProperty(apiLoader.services['sagemakerruntime'], '2017-05-13', {
get: function get() {
- var model = __webpack_require__(82783);
- model.paginators = __webpack_require__(17272)/* .pagination */ .o;
+ var model = __nccwpck_require__(77512);
+ model.paginators = (__nccwpck_require__(85740)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12333,11 +14168,11 @@ module.exports = AWS.SageMakerRuntime;
/***/ }),
-/***/ 62825:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 73106:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12345,8 +14180,8 @@ apiLoader.services['savingsplans'] = {};
AWS.SavingsPlans = Service.defineService('savingsplans', ['2019-06-28']);
Object.defineProperty(apiLoader.services['savingsplans'], '2019-06-28', {
get: function get() {
- var model = __webpack_require__(2810);
- model.paginators = __webpack_require__(56794)/* .pagination */ .o;
+ var model = __nccwpck_require__(26898);
+ model.paginators = (__nccwpck_require__(99698)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12358,11 +14193,36 @@ module.exports = AWS.SavingsPlans;
/***/ }),
-/***/ 55713:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 20174:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['scheduler'] = {};
+AWS.Scheduler = Service.defineService('scheduler', ['2021-06-30']);
+Object.defineProperty(apiLoader.services['scheduler'], '2021-06-30', {
+ get: function get() {
+ var model = __nccwpck_require__(84768);
+ model.paginators = (__nccwpck_require__(60852)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Scheduler;
+
+
+/***/ }),
+
+/***/ 60095:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12370,9 +14230,9 @@ apiLoader.services['schemas'] = {};
AWS.Schemas = Service.defineService('schemas', ['2019-12-02']);
Object.defineProperty(apiLoader.services['schemas'], '2019-12-02', {
get: function get() {
- var model = __webpack_require__(85225);
- model.paginators = __webpack_require__(50738)/* .pagination */ .o;
- model.waiters = __webpack_require__(34671)/* .waiters */ .V;
+ var model = __nccwpck_require__(15970);
+ model.paginators = (__nccwpck_require__(89634)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(97097)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -12384,11 +14244,11 @@ module.exports = AWS.Schemas;
/***/ }),
-/***/ 85131:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 29667:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12396,8 +14256,8 @@ apiLoader.services['secretsmanager'] = {};
AWS.SecretsManager = Service.defineService('secretsmanager', ['2017-10-17']);
Object.defineProperty(apiLoader.services['secretsmanager'], '2017-10-17', {
get: function get() {
- var model = __webpack_require__(97209);
- model.paginators = __webpack_require__(38503)/* .pagination */ .o;
+ var model = __nccwpck_require__(41108);
+ model.paginators = (__nccwpck_require__(49088)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12409,11 +14269,11 @@ module.exports = AWS.SecretsManager;
/***/ }),
-/***/ 21550:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 13286:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12421,8 +14281,8 @@ apiLoader.services['securityhub'] = {};
AWS.SecurityHub = Service.defineService('securityhub', ['2018-10-26']);
Object.defineProperty(apiLoader.services['securityhub'], '2018-10-26', {
get: function get() {
- var model = __webpack_require__(40359);
- model.paginators = __webpack_require__(27612)/* .pagination */ .o;
+ var model = __nccwpck_require__(3146);
+ model.paginators = (__nccwpck_require__(4058)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12434,11 +14294,36 @@ module.exports = AWS.SecurityHub;
/***/ }),
-/***/ 62402:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 98286:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['securitylake'] = {};
+AWS.SecurityLake = Service.defineService('securitylake', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['securitylake'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(32897);
+ model.paginators = (__nccwpck_require__(33819)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.SecurityLake;
+
+
+/***/ }),
+
+/***/ 70439:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12446,8 +14331,8 @@ apiLoader.services['serverlessapplicationrepository'] = {};
AWS.ServerlessApplicationRepository = Service.defineService('serverlessapplicationrepository', ['2017-09-08']);
Object.defineProperty(apiLoader.services['serverlessapplicationrepository'], '2017-09-08', {
get: function get() {
- var model = __webpack_require__(8591);
- model.paginators = __webpack_require__(96164)/* .pagination */ .o;
+ var model = __nccwpck_require__(13368);
+ model.paginators = (__nccwpck_require__(38460)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12459,11 +14344,11 @@ module.exports = AWS.ServerlessApplicationRepository;
/***/ }),
-/***/ 822:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 45505:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12471,8 +14356,8 @@ apiLoader.services['servicecatalog'] = {};
AWS.ServiceCatalog = Service.defineService('servicecatalog', ['2015-12-10']);
Object.defineProperty(apiLoader.services['servicecatalog'], '2015-12-10', {
get: function get() {
- var model = __webpack_require__(80503);
- model.paginators = __webpack_require__(71855)/* .pagination */ .o;
+ var model = __nccwpck_require__(89159);
+ model.paginators = (__nccwpck_require__(73021)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12484,11 +14369,11 @@ module.exports = AWS.ServiceCatalog;
/***/ }),
-/***/ 79068:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 61201:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12496,8 +14381,8 @@ apiLoader.services['servicecatalogappregistry'] = {};
AWS.ServiceCatalogAppRegistry = Service.defineService('servicecatalogappregistry', ['2020-06-24']);
Object.defineProperty(apiLoader.services['servicecatalogappregistry'], '2020-06-24', {
get: function get() {
- var model = __webpack_require__(47635);
- model.paginators = __webpack_require__(67278)/* .pagination */ .o;
+ var model = __nccwpck_require__(18936);
+ model.paginators = (__nccwpck_require__(70524)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12509,11 +14394,11 @@ module.exports = AWS.ServiceCatalogAppRegistry;
/***/ }),
-/***/ 91569:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 15240:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12521,8 +14406,8 @@ apiLoader.services['servicediscovery'] = {};
AWS.ServiceDiscovery = Service.defineService('servicediscovery', ['2017-03-14']);
Object.defineProperty(apiLoader.services['servicediscovery'], '2017-03-14', {
get: function get() {
- var model = __webpack_require__(20459);
- model.paginators = __webpack_require__(19834)/* .pagination */ .o;
+ var model = __nccwpck_require__(63152);
+ model.paginators = (__nccwpck_require__(21252)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12534,11 +14419,11 @@ module.exports = AWS.ServiceDiscovery;
/***/ }),
-/***/ 57800:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 33393:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12546,8 +14431,8 @@ apiLoader.services['servicequotas'] = {};
AWS.ServiceQuotas = Service.defineService('servicequotas', ['2019-06-24']);
Object.defineProperty(apiLoader.services['servicequotas'], '2019-06-24', {
get: function get() {
- var model = __webpack_require__(14304);
- model.paginators = __webpack_require__(90635)/* .pagination */ .o;
+ var model = __nccwpck_require__(29088);
+ model.paginators = (__nccwpck_require__(21332)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12559,11 +14444,11 @@ module.exports = AWS.ServiceQuotas;
/***/ }),
-/***/ 46816:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 4774:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12571,9 +14456,9 @@ apiLoader.services['ses'] = {};
AWS.SES = Service.defineService('ses', ['2010-12-01']);
Object.defineProperty(apiLoader.services['ses'], '2010-12-01', {
get: function get() {
- var model = __webpack_require__(87825);
- model.paginators = __webpack_require__(61348)/* .pagination */ .o;
- model.waiters = __webpack_require__(84476)/* .waiters */ .V;
+ var model = __nccwpck_require__(6392);
+ model.paginators = (__nccwpck_require__(41340)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(62639)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -12585,11 +14470,11 @@ module.exports = AWS.SES;
/***/ }),
-/***/ 20142:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 58354:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12597,8 +14482,8 @@ apiLoader.services['sesv2'] = {};
AWS.SESV2 = Service.defineService('sesv2', ['2019-09-27']);
Object.defineProperty(apiLoader.services['sesv2'], '2019-09-27', {
get: function get() {
- var model = __webpack_require__(32530);
- model.paginators = __webpack_require__(39567)/* .pagination */ .o;
+ var model = __nccwpck_require__(38612);
+ model.paginators = (__nccwpck_require__(14400)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12610,11 +14495,11 @@ module.exports = AWS.SESV2;
/***/ }),
-/***/ 20271:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 47674:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12622,8 +14507,8 @@ apiLoader.services['shield'] = {};
AWS.Shield = Service.defineService('shield', ['2016-06-02']);
Object.defineProperty(apiLoader.services['shield'], '2016-06-02', {
get: function get() {
- var model = __webpack_require__(78621);
- model.paginators = __webpack_require__(75743)/* .pagination */ .o;
+ var model = __nccwpck_require__(66579);
+ model.paginators = (__nccwpck_require__(44321)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12635,11 +14520,11 @@ module.exports = AWS.Shield;
/***/ }),
-/***/ 71596:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 85925:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12647,9 +14532,9 @@ apiLoader.services['signer'] = {};
AWS.Signer = Service.defineService('signer', ['2017-08-25']);
Object.defineProperty(apiLoader.services['signer'], '2017-08-25', {
get: function get() {
- var model = __webpack_require__(21884);
- model.paginators = __webpack_require__(69839)/* .pagination */ .o;
- model.waiters = __webpack_require__(61331)/* .waiters */ .V;
+ var model = __nccwpck_require__(1372);
+ model.paginators = (__nccwpck_require__(32875)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(73091)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -12661,11 +14546,11 @@ module.exports = AWS.Signer;
/***/ }),
-/***/ 10120:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87303:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12673,8 +14558,8 @@ apiLoader.services['simpledb'] = {};
AWS.SimpleDB = Service.defineService('simpledb', ['2009-04-15']);
Object.defineProperty(apiLoader.services['simpledb'], '2009-04-15', {
get: function get() {
- var model = __webpack_require__(96016);
- model.paginators = __webpack_require__(73820)/* .pagination */ .o;
+ var model = __nccwpck_require__(62391);
+ model.paginators = (__nccwpck_require__(6029)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12686,11 +14571,36 @@ module.exports = AWS.SimpleDB;
/***/ }),
-/***/ 57719:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 60044:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['simspaceweaver'] = {};
+AWS.SimSpaceWeaver = Service.defineService('simspaceweaver', ['2022-10-28']);
+Object.defineProperty(apiLoader.services['simspaceweaver'], '2022-10-28', {
+ get: function get() {
+ var model = __nccwpck_require__(55631);
+ model.paginators = (__nccwpck_require__(26101)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.SimSpaceWeaver;
+
+
+/***/ }),
+
+/***/ 99486:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12698,8 +14608,8 @@ apiLoader.services['sms'] = {};
AWS.SMS = Service.defineService('sms', ['2016-10-24']);
Object.defineProperty(apiLoader.services['sms'], '2016-10-24', {
get: function get() {
- var model = __webpack_require__(51530);
- model.paginators = __webpack_require__(72874)/* .pagination */ .o;
+ var model = __nccwpck_require__(28514);
+ model.paginators = (__nccwpck_require__(86242)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12711,11 +14621,11 @@ module.exports = AWS.SMS;
/***/ }),
-/***/ 510:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 77393:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12723,8 +14633,8 @@ apiLoader.services['snowball'] = {};
AWS.Snowball = Service.defineService('snowball', ['2016-06-30']);
Object.defineProperty(apiLoader.services['snowball'], '2016-06-30', {
get: function get() {
- var model = __webpack_require__(41624);
- model.paginators = __webpack_require__(14147)/* .pagination */ .o;
+ var model = __nccwpck_require__(90359);
+ model.paginators = (__nccwpck_require__(16653)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12736,11 +14646,11 @@ module.exports = AWS.Snowball;
/***/ }),
-/***/ 64655:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 27389:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12748,8 +14658,8 @@ apiLoader.services['snowdevicemanagement'] = {};
AWS.SnowDeviceManagement = Service.defineService('snowdevicemanagement', ['2021-08-04']);
Object.defineProperty(apiLoader.services['snowdevicemanagement'], '2021-08-04', {
get: function get() {
- var model = __webpack_require__(94140);
- model.paginators = __webpack_require__(20626)/* .pagination */ .o;
+ var model = __nccwpck_require__(66554);
+ model.paginators = (__nccwpck_require__(37674)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12761,11 +14671,11 @@ module.exports = AWS.SnowDeviceManagement;
/***/ }),
-/***/ 28581:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 94149:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12773,8 +14683,8 @@ apiLoader.services['sns'] = {};
AWS.SNS = Service.defineService('sns', ['2010-03-31']);
Object.defineProperty(apiLoader.services['sns'], '2010-03-31', {
get: function get() {
- var model = __webpack_require__(22671);
- model.paginators = __webpack_require__(92788)/* .pagination */ .o;
+ var model = __nccwpck_require__(23535);
+ model.paginators = (__nccwpck_require__(18837)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12786,21 +14696,21 @@ module.exports = AWS.SNS;
/***/ }),
-/***/ 63172:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 55362:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['sqs'] = {};
AWS.SQS = Service.defineService('sqs', ['2012-11-05']);
-__webpack_require__(94571);
+__nccwpck_require__(74820);
Object.defineProperty(apiLoader.services['sqs'], '2012-11-05', {
get: function get() {
- var model = __webpack_require__(31635);
- model.paginators = __webpack_require__(48324)/* .pagination */ .o;
+ var model = __nccwpck_require__(25062);
+ model.paginators = (__nccwpck_require__(25038)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12812,11 +14722,11 @@ module.exports = AWS.SQS;
/***/ }),
-/***/ 83380:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 82898:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12824,9 +14734,9 @@ apiLoader.services['ssm'] = {};
AWS.SSM = Service.defineService('ssm', ['2014-11-06']);
Object.defineProperty(apiLoader.services['ssm'], '2014-11-06', {
get: function get() {
- var model = __webpack_require__(7667);
- model.paginators = __webpack_require__(84951)/* .pagination */ .o;
- model.waiters = __webpack_require__(80315)/* .waiters */ .V;
+ var model = __nccwpck_require__(47477);
+ model.paginators = (__nccwpck_require__(89239)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(88140)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -12838,11 +14748,11 @@ module.exports = AWS.SSM;
/***/ }),
-/***/ 12577:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 60331:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12850,8 +14760,8 @@ apiLoader.services['ssmcontacts'] = {};
AWS.SSMContacts = Service.defineService('ssmcontacts', ['2021-05-03']);
Object.defineProperty(apiLoader.services['ssmcontacts'], '2021-05-03', {
get: function get() {
- var model = __webpack_require__(99205);
- model.paginators = __webpack_require__(49636)/* .pagination */ .o;
+ var model = __nccwpck_require__(38169);
+ model.paginators = (__nccwpck_require__(47235)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12863,11 +14773,11 @@ module.exports = AWS.SSMContacts;
/***/ }),
-/***/ 20590:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 44783:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12875,9 +14785,9 @@ apiLoader.services['ssmincidents'] = {};
AWS.SSMIncidents = Service.defineService('ssmincidents', ['2018-05-10']);
Object.defineProperty(apiLoader.services['ssmincidents'], '2018-05-10', {
get: function get() {
- var model = __webpack_require__(16847);
- model.paginators = __webpack_require__(30464)/* .pagination */ .o;
- model.waiters = __webpack_require__(23020)/* .waiters */ .V;
+ var model = __nccwpck_require__(45671);
+ model.paginators = (__nccwpck_require__(18909)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(88918)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -12889,11 +14799,61 @@ module.exports = AWS.SSMIncidents;
/***/ }),
-/***/ 71096:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 9822:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['ssmquicksetup'] = {};
+AWS.SSMQuickSetup = Service.defineService('ssmquicksetup', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['ssmquicksetup'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(35830);
+ model.paginators = (__nccwpck_require__(54878)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.SSMQuickSetup;
+
+
+/***/ }),
+
+/***/ 24044:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['ssmsap'] = {};
+AWS.SsmSap = Service.defineService('ssmsap', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['ssmsap'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(3514);
+ model.paginators = (__nccwpck_require__(62858)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.SsmSap;
+
+
+/***/ }),
+
+/***/ 55080:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12901,8 +14861,8 @@ apiLoader.services['sso'] = {};
AWS.SSO = Service.defineService('sso', ['2019-06-10']);
Object.defineProperty(apiLoader.services['sso'], '2019-06-10', {
get: function get() {
- var model = __webpack_require__(77888);
- model.paginators = __webpack_require__(18046)/* .pagination */ .o;
+ var model = __nccwpck_require__(19523);
+ model.paginators = (__nccwpck_require__(17073)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12914,11 +14874,11 @@ module.exports = AWS.SSO;
/***/ }),
-/***/ 66644:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 73682:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12926,8 +14886,8 @@ apiLoader.services['ssoadmin'] = {};
AWS.SSOAdmin = Service.defineService('ssoadmin', ['2020-07-20']);
Object.defineProperty(apiLoader.services['ssoadmin'], '2020-07-20', {
get: function get() {
- var model = __webpack_require__(93165);
- model.paginators = __webpack_require__(61022)/* .pagination */ .o;
+ var model = __nccwpck_require__(20863);
+ model.paginators = (__nccwpck_require__(70949)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12939,11 +14899,11 @@ module.exports = AWS.SSOAdmin;
/***/ }),
-/***/ 49870:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 1977:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12951,8 +14911,8 @@ apiLoader.services['ssooidc'] = {};
AWS.SSOOIDC = Service.defineService('ssooidc', ['2019-06-10']);
Object.defineProperty(apiLoader.services['ssooidc'], '2019-06-10', {
get: function get() {
- var model = __webpack_require__(43979);
- model.paginators = __webpack_require__(16125)/* .pagination */ .o;
+ var model = __nccwpck_require__(5583);
+ model.paginators = (__nccwpck_require__(1525)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12964,11 +14924,11 @@ module.exports = AWS.SSOOIDC;
/***/ }),
-/***/ 8136:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 69508:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -12976,8 +14936,8 @@ apiLoader.services['stepfunctions'] = {};
AWS.StepFunctions = Service.defineService('stepfunctions', ['2016-11-23']);
Object.defineProperty(apiLoader.services['stepfunctions'], '2016-11-23', {
get: function get() {
- var model = __webpack_require__(58492);
- model.paginators = __webpack_require__(95424)/* .pagination */ .o;
+ var model = __nccwpck_require__(99851);
+ model.paginators = (__nccwpck_require__(35433)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -12989,11 +14949,11 @@ module.exports = AWS.StepFunctions;
/***/ }),
-/***/ 89190:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 34926:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13001,8 +14961,8 @@ apiLoader.services['storagegateway'] = {};
AWS.StorageGateway = Service.defineService('storagegateway', ['2013-06-30']);
Object.defineProperty(apiLoader.services['storagegateway'], '2013-06-30', {
get: function get() {
- var model = __webpack_require__(33480);
- model.paginators = __webpack_require__(6062)/* .pagination */ .o;
+ var model = __nccwpck_require__(28685);
+ model.paginators = (__nccwpck_require__(72895)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13014,21 +14974,21 @@ module.exports = AWS.StorageGateway;
/***/ }),
-/***/ 57513:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 98595:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['sts'] = {};
AWS.STS = Service.defineService('sts', ['2011-06-15']);
-__webpack_require__(91055);
+__nccwpck_require__(23429);
Object.defineProperty(apiLoader.services['sts'], '2011-06-15', {
get: function get() {
- var model = __webpack_require__(18976);
- model.paginators = __webpack_require__(82952)/* .pagination */ .o;
+ var model = __nccwpck_require__(9105);
+ model.paginators = (__nccwpck_require__(44747)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13040,11 +15000,36 @@ module.exports = AWS.STS;
/***/ }),
-/***/ 1099:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 9684:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['supplychain'] = {};
+AWS.SupplyChain = Service.defineService('supplychain', ['2024-01-01']);
+Object.defineProperty(apiLoader.services['supplychain'], '2024-01-01', {
+ get: function get() {
+ var model = __nccwpck_require__(92519);
+ model.paginators = (__nccwpck_require__(44381)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.SupplyChain;
+
+
+/***/ }),
+
+/***/ 83908:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13052,8 +15037,8 @@ apiLoader.services['support'] = {};
AWS.Support = Service.defineService('support', ['2013-04-15']);
Object.defineProperty(apiLoader.services['support'], '2013-04-15', {
get: function get() {
- var model = __webpack_require__(77180);
- model.paginators = __webpack_require__(83878)/* .pagination */ .o;
+ var model = __nccwpck_require__(93308);
+ model.paginators = (__nccwpck_require__(71704)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13065,11 +15050,11 @@ module.exports = AWS.Support;
/***/ }),
-/***/ 51288:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 54573:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13077,8 +15062,8 @@ apiLoader.services['supportapp'] = {};
AWS.SupportApp = Service.defineService('supportapp', ['2021-08-20']);
Object.defineProperty(apiLoader.services['supportapp'], '2021-08-20', {
get: function get() {
- var model = __webpack_require__(57601);
- model.paginators = __webpack_require__(45691)/* .pagination */ .o;
+ var model = __nccwpck_require__(98343);
+ model.paginators = (__nccwpck_require__(73597)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13090,21 +15075,21 @@ module.exports = AWS.SupportApp;
/***/ }),
-/***/ 32327:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 51843:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
apiLoader.services['swf'] = {};
AWS.SWF = Service.defineService('swf', ['2012-01-25']);
-__webpack_require__(31987);
+__nccwpck_require__(87377);
Object.defineProperty(apiLoader.services['swf'], '2012-01-25', {
get: function get() {
- var model = __webpack_require__(4974);
- model.paginators = __webpack_require__(65798)/* .pagination */ .o;
+ var model = __nccwpck_require__(84556);
+ model.paginators = (__nccwpck_require__(92552)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13116,11 +15101,11 @@ module.exports = AWS.SWF;
/***/ }),
-/***/ 25910:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 63527:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13128,8 +15113,8 @@ apiLoader.services['synthetics'] = {};
AWS.Synthetics = Service.defineService('synthetics', ['2017-10-11']);
Object.defineProperty(apiLoader.services['synthetics'], '2017-10-11', {
get: function get() {
- var model = __webpack_require__(82853);
- model.paginators = __webpack_require__(27742)/* .pagination */ .o;
+ var model = __nccwpck_require__(88569);
+ model.paginators = (__nccwpck_require__(37006)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13141,11 +15126,36 @@ module.exports = AWS.Synthetics;
/***/ }),
-/***/ 58523:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 38551:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['taxsettings'] = {};
+AWS.TaxSettings = Service.defineService('taxsettings', ['2018-05-10']);
+Object.defineProperty(apiLoader.services['taxsettings'], '2018-05-10', {
+ get: function get() {
+ var model = __nccwpck_require__(24498);
+ model.paginators = (__nccwpck_require__(99570)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.TaxSettings;
+
+
+/***/ }),
+
+/***/ 15918:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13153,8 +15163,8 @@ apiLoader.services['textract'] = {};
AWS.Textract = Service.defineService('textract', ['2018-06-27']);
Object.defineProperty(apiLoader.services['textract'], '2018-06-27', {
get: function get() {
- var model = __webpack_require__(66368);
- model.paginators = __webpack_require__(75909)/* .pagination */ .o;
+ var model = __nccwpck_require__(8084);
+ model.paginators = (__nccwpck_require__(43936)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13166,11 +15176,36 @@ module.exports = AWS.Textract;
/***/ }),
-/***/ 24529:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 91248:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['timestreaminfluxdb'] = {};
+AWS.TimestreamInfluxDB = Service.defineService('timestreaminfluxdb', ['2023-01-27']);
+Object.defineProperty(apiLoader.services['timestreaminfluxdb'], '2023-01-27', {
+ get: function get() {
+ var model = __nccwpck_require__(10692);
+ model.paginators = (__nccwpck_require__(91856)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.TimestreamInfluxDB;
+
+
+/***/ }),
+
+/***/ 6252:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13178,8 +15213,8 @@ apiLoader.services['timestreamquery'] = {};
AWS.TimestreamQuery = Service.defineService('timestreamquery', ['2018-11-01']);
Object.defineProperty(apiLoader.services['timestreamquery'], '2018-11-01', {
get: function get() {
- var model = __webpack_require__(27578);
- model.paginators = __webpack_require__(99094)/* .pagination */ .o;
+ var model = __nccwpck_require__(34943);
+ model.paginators = (__nccwpck_require__(98085)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13191,11 +15226,11 @@ module.exports = AWS.TimestreamQuery;
/***/ }),
-/***/ 1573:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 7063:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13203,8 +15238,8 @@ apiLoader.services['timestreamwrite'] = {};
AWS.TimestreamWrite = Service.defineService('timestreamwrite', ['2018-11-01']);
Object.defineProperty(apiLoader.services['timestreamwrite'], '2018-11-01', {
get: function get() {
- var model = __webpack_require__(79095);
- model.paginators = __webpack_require__(50262)/* .pagination */ .o;
+ var model = __nccwpck_require__(15606);
+ model.paginators = (__nccwpck_require__(48030)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13216,11 +15251,36 @@ module.exports = AWS.TimestreamWrite;
/***/ }),
-/***/ 75811:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 11867:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['tnb'] = {};
+AWS.Tnb = Service.defineService('tnb', ['2008-10-21']);
+Object.defineProperty(apiLoader.services['tnb'], '2008-10-21', {
+ get: function get() {
+ var model = __nccwpck_require__(99241);
+ model.paginators = (__nccwpck_require__(22387)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.Tnb;
+
+
+/***/ }),
+
+/***/ 82561:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13228,8 +15288,8 @@ apiLoader.services['transcribeservice'] = {};
AWS.TranscribeService = Service.defineService('transcribeservice', ['2017-10-26']);
Object.defineProperty(apiLoader.services['transcribeservice'], '2017-10-26', {
get: function get() {
- var model = __webpack_require__(10903);
- model.paginators = __webpack_require__(92036)/* .pagination */ .o;
+ var model = __nccwpck_require__(57905);
+ model.paginators = (__nccwpck_require__(46475)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13241,11 +15301,11 @@ module.exports = AWS.TranscribeService;
/***/ }),
-/***/ 51585:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 77384:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13253,9 +15313,9 @@ apiLoader.services['transfer'] = {};
AWS.Transfer = Service.defineService('transfer', ['2018-11-05']);
Object.defineProperty(apiLoader.services['transfer'], '2018-11-05', {
get: function get() {
- var model = __webpack_require__(42419);
- model.paginators = __webpack_require__(70586)/* .pagination */ .o;
- model.waiters = __webpack_require__(73183)/* .waiters */ .V;
+ var model = __nccwpck_require__(7174);
+ model.paginators = (__nccwpck_require__(71630)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(3997)/* .waiters */ .C);
return model;
},
enumerable: true,
@@ -13267,11 +15327,11 @@ module.exports = AWS.Transfer;
/***/ }),
-/***/ 72544:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 75121:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13279,8 +15339,8 @@ apiLoader.services['translate'] = {};
AWS.Translate = Service.defineService('translate', ['2017-07-01']);
Object.defineProperty(apiLoader.services['translate'], '2017-07-01', {
get: function get() {
- var model = __webpack_require__(12983);
- model.paginators = __webpack_require__(85886)/* .pagination */ .o;
+ var model = __nccwpck_require__(10305);
+ model.paginators = (__nccwpck_require__(70715)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13292,11 +15352,62 @@ module.exports = AWS.Translate;
/***/ }),
-/***/ 28747:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 90814:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['trustedadvisor'] = {};
+AWS.TrustedAdvisor = Service.defineService('trustedadvisor', ['2022-09-15']);
+Object.defineProperty(apiLoader.services['trustedadvisor'], '2022-09-15', {
+ get: function get() {
+ var model = __nccwpck_require__(2047);
+ model.paginators = (__nccwpck_require__(27909)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.TrustedAdvisor;
+
+
+/***/ }),
+
+/***/ 20967:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['verifiedpermissions'] = {};
+AWS.VerifiedPermissions = Service.defineService('verifiedpermissions', ['2021-12-01']);
+Object.defineProperty(apiLoader.services['verifiedpermissions'], '2021-12-01', {
+ get: function get() {
+ var model = __nccwpck_require__(65880);
+ model.paginators = (__nccwpck_require__(1148)/* .pagination */ .X);
+ model.waiters = (__nccwpck_require__(15439)/* .waiters */ .C);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.VerifiedPermissions;
+
+
+/***/ }),
+
+/***/ 24316:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13304,8 +15415,8 @@ apiLoader.services['voiceid'] = {};
AWS.VoiceID = Service.defineService('voiceid', ['2021-09-27']);
Object.defineProperty(apiLoader.services['voiceid'], '2021-09-27', {
get: function get() {
- var model = __webpack_require__(12372);
- model.paginators = __webpack_require__(89603)/* .pagination */ .o;
+ var model = __nccwpck_require__(59744);
+ model.paginators = (__nccwpck_require__(8660)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13317,11 +15428,36 @@ module.exports = AWS.VoiceID;
/***/ }),
-/***/ 72742:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 42764:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['vpclattice'] = {};
+AWS.VPCLattice = Service.defineService('vpclattice', ['2022-11-30']);
+Object.defineProperty(apiLoader.services['vpclattice'], '2022-11-30', {
+ get: function get() {
+ var model = __nccwpck_require__(13810);
+ model.paginators = (__nccwpck_require__(15986)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.VPCLattice;
+
+
+/***/ }),
+
+/***/ 67249:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13329,8 +15465,8 @@ apiLoader.services['waf'] = {};
AWS.WAF = Service.defineService('waf', ['2015-08-24']);
Object.defineProperty(apiLoader.services['waf'], '2015-08-24', {
get: function get() {
- var model = __webpack_require__(93997);
- model.paginators = __webpack_require__(45770)/* .pagination */ .o;
+ var model = __nccwpck_require__(23801);
+ model.paginators = (__nccwpck_require__(82851)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13342,11 +15478,11 @@ module.exports = AWS.WAF;
/***/ }),
-/***/ 23153:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 43892:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13354,8 +15490,8 @@ apiLoader.services['wafregional'] = {};
AWS.WAFRegional = Service.defineService('wafregional', ['2016-11-28']);
Object.defineProperty(apiLoader.services['wafregional'], '2016-11-28', {
get: function get() {
- var model = __webpack_require__(72867);
- model.paginators = __webpack_require__(68917)/* .pagination */ .o;
+ var model = __nccwpck_require__(89444);
+ model.paginators = (__nccwpck_require__(19728)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13367,11 +15503,11 @@ module.exports = AWS.WAFRegional;
/***/ }),
-/***/ 50353:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 6201:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13379,8 +15515,8 @@ apiLoader.services['wafv2'] = {};
AWS.WAFV2 = Service.defineService('wafv2', ['2019-07-29']);
Object.defineProperty(apiLoader.services['wafv2'], '2019-07-29', {
get: function get() {
- var model = __webpack_require__(27916);
- model.paginators = __webpack_require__(51265)/* .pagination */ .o;
+ var model = __nccwpck_require__(66453);
+ model.paginators = (__nccwpck_require__(49495)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13392,11 +15528,11 @@ module.exports = AWS.WAFV2;
/***/ }),
-/***/ 86263:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 26185:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13404,8 +15540,8 @@ apiLoader.services['wellarchitected'] = {};
AWS.WellArchitected = Service.defineService('wellarchitected', ['2020-03-31']);
Object.defineProperty(apiLoader.services['wellarchitected'], '2020-03-31', {
get: function get() {
- var model = __webpack_require__(5684);
- model.paginators = __webpack_require__(47645)/* .pagination */ .o;
+ var model = __nccwpck_require__(40800);
+ model.paginators = (__nccwpck_require__(75604)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13417,11 +15553,11 @@ module.exports = AWS.WellArchitected;
/***/ }),
-/***/ 85266:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 56912:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13429,8 +15565,8 @@ apiLoader.services['wisdom'] = {};
AWS.Wisdom = Service.defineService('wisdom', ['2020-10-19']);
Object.defineProperty(apiLoader.services['wisdom'], '2020-10-19', {
get: function get() {
- var model = __webpack_require__(95090);
- model.paginators = __webpack_require__(52237)/* .pagination */ .o;
+ var model = __nccwpck_require__(14553);
+ model.paginators = (__nccwpck_require__(60739)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13442,11 +15578,11 @@ module.exports = AWS.Wisdom;
/***/ }),
-/***/ 38835:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 20253:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13454,8 +15590,8 @@ apiLoader.services['workdocs'] = {};
AWS.WorkDocs = Service.defineService('workdocs', ['2016-05-01']);
Object.defineProperty(apiLoader.services['workdocs'], '2016-05-01', {
get: function get() {
- var model = __webpack_require__(12789);
- model.paginators = __webpack_require__(20074)/* .pagination */ .o;
+ var model = __nccwpck_require__(18568);
+ model.paginators = (__nccwpck_require__(83244)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13467,11 +15603,11 @@ module.exports = AWS.WorkDocs;
/***/ }),
-/***/ 48579:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 21482:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13479,8 +15615,8 @@ apiLoader.services['worklink'] = {};
AWS.WorkLink = Service.defineService('worklink', ['2018-09-25']);
Object.defineProperty(apiLoader.services['worklink'], '2018-09-25', {
get: function get() {
- var model = __webpack_require__(44786);
- model.paginators = __webpack_require__(88012)/* .pagination */ .o;
+ var model = __nccwpck_require__(61349);
+ model.paginators = (__nccwpck_require__(81255)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13492,11 +15628,11 @@ module.exports = AWS.WorkLink;
/***/ }),
-/***/ 38374:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 75217:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13504,8 +15640,8 @@ apiLoader.services['workmail'] = {};
AWS.WorkMail = Service.defineService('workmail', ['2017-10-01']);
Object.defineProperty(apiLoader.services['workmail'], '2017-10-01', {
get: function get() {
- var model = __webpack_require__(31611);
- model.paginators = __webpack_require__(64931)/* .pagination */ .o;
+ var model = __nccwpck_require__(13733);
+ model.paginators = (__nccwpck_require__(38343)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13517,11 +15653,11 @@ module.exports = AWS.WorkMail;
/***/ }),
-/***/ 67025:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 77902:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13529,8 +15665,8 @@ apiLoader.services['workmailmessageflow'] = {};
AWS.WorkMailMessageFlow = Service.defineService('workmailmessageflow', ['2019-05-01']);
Object.defineProperty(apiLoader.services['workmailmessageflow'], '2019-05-01', {
get: function get() {
- var model = __webpack_require__(15648);
- model.paginators = __webpack_require__(88532)/* .pagination */ .o;
+ var model = __nccwpck_require__(60328);
+ model.paginators = (__nccwpck_require__(50796)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13542,11 +15678,11 @@ module.exports = AWS.WorkMailMessageFlow;
/***/ }),
-/***/ 25513:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 5973:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13554,8 +15690,8 @@ apiLoader.services['workspaces'] = {};
AWS.WorkSpaces = Service.defineService('workspaces', ['2015-04-08']);
Object.defineProperty(apiLoader.services['workspaces'], '2015-04-08', {
get: function get() {
- var model = __webpack_require__(66372);
- model.paginators = __webpack_require__(37567)/* .pagination */ .o;
+ var model = __nccwpck_require__(87351);
+ model.paginators = (__nccwpck_require__(33517)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13567,11 +15703,36 @@ module.exports = AWS.WorkSpaces;
/***/ }),
-/***/ 94124:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 81581:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
+var Service = AWS.Service;
+var apiLoader = AWS.apiLoader;
+
+apiLoader.services['workspacesthinclient'] = {};
+AWS.WorkSpacesThinClient = Service.defineService('workspacesthinclient', ['2023-08-22']);
+Object.defineProperty(apiLoader.services['workspacesthinclient'], '2023-08-22', {
+ get: function get() {
+ var model = __nccwpck_require__(44926);
+ model.paginators = (__nccwpck_require__(27574)/* .pagination */ .X);
+ return model;
+ },
+ enumerable: true,
+ configurable: true
+});
+
+module.exports = AWS.WorkSpacesThinClient;
+
+
+/***/ }),
+
+/***/ 59539:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13579,8 +15740,8 @@ apiLoader.services['workspacesweb'] = {};
AWS.WorkSpacesWeb = Service.defineService('workspacesweb', ['2020-07-08']);
Object.defineProperty(apiLoader.services['workspacesweb'], '2020-07-08', {
get: function get() {
- var model = __webpack_require__(53596);
- model.paginators = __webpack_require__(61133)/* .pagination */ .o;
+ var model = __nccwpck_require__(80725);
+ model.paginators = (__nccwpck_require__(52279)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13592,11 +15753,11 @@ module.exports = AWS.WorkSpacesWeb;
/***/ }),
-/***/ 41548:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 35747:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
+__nccwpck_require__(84902);
+var AWS = __nccwpck_require__(60085);
var Service = AWS.Service;
var apiLoader = AWS.apiLoader;
@@ -13604,8 +15765,8 @@ apiLoader.services['xray'] = {};
AWS.XRay = Service.defineService('xray', ['2016-04-12']);
Object.defineProperty(apiLoader.services['xray'], '2016-04-12', {
get: function get() {
- var model = __webpack_require__(37289);
- model.paginators = __webpack_require__(83127)/* .pagination */ .o;
+ var model = __nccwpck_require__(24147);
+ model.paginators = (__nccwpck_require__(40609)/* .pagination */ .X);
return model;
},
enumerable: true,
@@ -13617,7 +15778,7 @@ module.exports = AWS.XRay;
/***/ }),
-/***/ 52793:
+/***/ 44948:
/***/ ((module) => {
function apiLoader(svc, version) {
@@ -13643,15 +15804,15 @@ module.exports = apiLoader;
/***/ }),
-/***/ 71786:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 62605:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(73639);
+__nccwpck_require__(84902);
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
// Load all service classes
-__webpack_require__(26296);
+__nccwpck_require__(91984);
/**
* @api private
@@ -13661,10 +15822,10 @@ module.exports = AWS;
/***/ }),
-/***/ 93260:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 63143:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437),
+var AWS = __nccwpck_require__(60085),
url = AWS.util.url,
crypto = AWS.util.crypto.lib,
base64Encode = AWS.util.base64.encode,
@@ -13878,12 +16039,12 @@ module.exports = AWS.CloudFront.Signer;
/***/ }),
-/***/ 38110:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 62384:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-__webpack_require__(53819);
-__webpack_require__(36965);
+var AWS = __nccwpck_require__(60085);
+__nccwpck_require__(92118);
+__nccwpck_require__(30364);
var PromisesDependency;
/**
@@ -14592,10 +16753,10 @@ AWS.config = new AWS.Config();
/***/ }),
-/***/ 85566:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 44568:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* @api private
*/
@@ -14666,13 +16827,13 @@ module.exports = resolveRegionalEndpointsFlag;
/***/ }),
-/***/ 28437:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 60085:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
* The main AWS namespace
*/
-var AWS = { util: __webpack_require__(77985) };
+var AWS = { util: __nccwpck_require__(65742) };
/**
* @api private
@@ -14691,7 +16852,7 @@ AWS.util.update(AWS, {
/**
* @constant
*/
- VERSION: '2.1250.0',
+ VERSION: '2.1693.0',
/**
* @api private
@@ -14702,18 +16863,18 @@ AWS.util.update(AWS, {
* @api private
*/
Protocol: {
- Json: __webpack_require__(30083),
- Query: __webpack_require__(90761),
- Rest: __webpack_require__(98200),
- RestJson: __webpack_require__(5883),
- RestXml: __webpack_require__(15143)
+ Json: __nccwpck_require__(75507),
+ Query: __nccwpck_require__(22881),
+ Rest: __nccwpck_require__(80031),
+ RestJson: __nccwpck_require__(84032),
+ RestXml: __nccwpck_require__(81153)
},
/**
* @api private
*/
XML: {
- Builder: __webpack_require__(23546),
+ Builder: __nccwpck_require__(8665),
Parser: null // conditionally set based on environment
},
@@ -14721,41 +16882,42 @@ AWS.util.update(AWS, {
* @api private
*/
JSON: {
- Builder: __webpack_require__(47495),
- Parser: __webpack_require__(5474)
+ Builder: __nccwpck_require__(84516),
+ Parser: __nccwpck_require__(36964)
},
/**
* @api private
*/
Model: {
- Api: __webpack_require__(17657),
- Operation: __webpack_require__(28083),
- Shape: __webpack_require__(71349),
- Paginator: __webpack_require__(45938),
- ResourceWaiter: __webpack_require__(41368)
+ Api: __nccwpck_require__(38738),
+ Operation: __nccwpck_require__(3359),
+ Shape: __nccwpck_require__(64147),
+ Paginator: __nccwpck_require__(46605),
+ ResourceWaiter: __nccwpck_require__(51301)
},
/**
* @api private
*/
- apiLoader: __webpack_require__(52793),
+ apiLoader: __nccwpck_require__(44948),
/**
* @api private
*/
- EndpointCache: __webpack_require__(96323)/* .EndpointCache */ .$
-});
-__webpack_require__(55948);
-__webpack_require__(68903);
-__webpack_require__(38110);
-__webpack_require__(1556);
-__webpack_require__(54995);
-__webpack_require__(78652);
-__webpack_require__(58743);
-__webpack_require__(39925);
-__webpack_require__(9897);
-__webpack_require__(99127);
+ EndpointCache: (__nccwpck_require__(3846)/* .EndpointCache */ .k)
+});
+__nccwpck_require__(81525);
+__nccwpck_require__(54263);
+__nccwpck_require__(62384);
+__nccwpck_require__(82578);
+__nccwpck_require__(32726);
+__nccwpck_require__(94849);
+__nccwpck_require__(30229);
+__nccwpck_require__(80971);
+__nccwpck_require__(63610);
+__nccwpck_require__(37660);
+__nccwpck_require__(98517);
/**
* @readonly
@@ -14782,10 +16944,10 @@ AWS.util.memoizedProperty(AWS, 'endpointCache', function() {
/***/ }),
-/***/ 53819:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 92118:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* Represents your AWS security credentials, specifically the
@@ -15035,11 +17197,11 @@ AWS.util.addPromises(AWS.Credentials);
/***/ }),
-/***/ 57083:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 13761:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
+var AWS = __nccwpck_require__(60085);
+var STS = __nccwpck_require__(98595);
/**
* Represents temporary credentials retrieved from {AWS.STS}. Without any
@@ -15242,12 +17404,12 @@ AWS.ChainableTemporaryCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 3498:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 12298:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var CognitoIdentity = __webpack_require__(58291);
-var STS = __webpack_require__(57513);
+var AWS = __nccwpck_require__(60085);
+var CognitoIdentity = __nccwpck_require__(74566);
+var STS = __nccwpck_require__(98595);
/**
* Represents credentials retrieved from STS Web Identity Federation using
@@ -15270,6 +17432,15 @@ var STS = __webpack_require__(57513);
* identity providers. See {constructor} for an example on creating a credentials
* object with proper property values.
*
+ * DISCLAIMER: This convenience method leverages the Enhanced (simplified) Authflow. The underlying
+ * implementation calls Cognito's `getId()` and `GetCredentialsForIdentity()`.
+ * In this flow there is no way to explicitly set a session policy, resulting in
+ * STS attaching the default policy and limiting the permissions of the federated role.
+ * To be able to explicitly set a session policy, do not use this convenience method.
+ * Instead, you can use the Cognito client to call `getId()`, `GetOpenIdToken()` and then use
+ * that token with your desired session policy to call STS's `AssumeRoleWithWebIdentity()`
+ * For further reading refer to: https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html
+ *
* ## Refreshing Credentials from Identity Service
*
* In addition to AWS credentials expiring after a given amount of time, the
@@ -15634,10 +17805,10 @@ AWS.CognitoIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 36965:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 30364:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* Creates a credential provider chain that searches for AWS credentials
@@ -15821,11 +17992,11 @@ AWS.util.addPromises(AWS.CredentialProviderChain);
/***/ }),
-/***/ 73379:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 98414:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-__webpack_require__(25768);
+var AWS = __nccwpck_require__(60085);
+__nccwpck_require__(67647);
/**
* Represents credentials received from the metadata service on an EC2 instance.
@@ -15846,6 +18017,7 @@ __webpack_require__(25768);
* maxRetries: 10, // retry 10 times
* retryDelayOptions: { base: 200 }, // see AWS.Config for information
* logger: console // see AWS.Config for information
+ * ec2MetadataV1Disabled: false // whether to block IMDS v1 fallback.
* });
* ```
*
@@ -15992,10 +18164,10 @@ AWS.EC2MetadataCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 10645:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 91593:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* Represents credentials received from relative URI specified in the ECS container.
@@ -16027,10 +18199,10 @@ AWS.ECSCredentials = AWS.RemoteCredentials;
/***/ }),
-/***/ 57714:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 91269:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* Represents credentials from the environment.
@@ -16125,10 +18297,10 @@ AWS.EnvironmentCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 27454:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 82550:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* Represents credentials from a JSON file on disk.
@@ -16200,11 +18372,11 @@ AWS.FileSystemCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 80371:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 51685:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var proc = __webpack_require__(63129);
+var AWS = __nccwpck_require__(60085);
+var proc = __nccwpck_require__(35317);
var iniLoader = AWS.util.iniLoader;
/**
@@ -16372,16 +18544,19 @@ AWS.ProcessCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 88764:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 15950:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var fs = __nccwpck_require__(79896);
-var AWS = __webpack_require__(28437),
+var AWS = __nccwpck_require__(60085),
ENV_RELATIVE_URI = 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI',
ENV_FULL_URI = 'AWS_CONTAINER_CREDENTIALS_FULL_URI',
ENV_AUTH_TOKEN = 'AWS_CONTAINER_AUTHORIZATION_TOKEN',
+ ENV_AUTH_TOKEN_FILE = 'AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE',
FULL_URI_UNRESTRICTED_PROTOCOLS = ['https:'],
FULL_URI_ALLOWED_PROTOCOLS = ['http:', 'https:'],
- FULL_URI_ALLOWED_HOSTNAMES = ['localhost', '127.0.0.1'],
+ FULL_URI_ALLOWED_HOSTNAMES = ['localhost', '127.0.0.1', '169.254.170.23'],
RELATIVE_URI_HOST = '169.254.170.2';
/**
@@ -16490,7 +18665,16 @@ AWS.RemoteCredentials = AWS.util.inherit(AWS.Credentials, {
* @api private
*/
getECSAuthToken: function getECSAuthToken() {
- if (process && process.env && process.env[ENV_FULL_URI]) {
+ if (process && process.env && (process.env[ENV_FULL_URI] || process.env[ENV_AUTH_TOKEN_FILE])) {
+ if (!process.env[ENV_AUTH_TOKEN] && process.env[ENV_AUTH_TOKEN_FILE]) {
+ try {
+ var data = fs.readFileSync(process.env[ENV_AUTH_TOKEN_FILE]).toString();
+ return data;
+ } catch (error) {
+ console.error('Error reading token file:', error);
+ throw error; // Re-throw the error to propagate it
+ }
+ }
return process.env[ENV_AUTH_TOKEN];
}
},
@@ -16587,11 +18771,11 @@ AWS.RemoteCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 15037:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 40669:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
+var AWS = __nccwpck_require__(60085);
+var STS = __nccwpck_require__(98595);
/**
* Represents credentials retrieved from STS SAML support.
@@ -16688,11 +18872,11 @@ AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 13754:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 95703:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
+var AWS = __nccwpck_require__(60085);
+var STS = __nccwpck_require__(98595);
var iniLoader = AWS.util.iniLoader;
var ASSUME_ROLE_DEFAULT_REGION = 'us-east-1';
@@ -16885,6 +19069,7 @@ AWS.SharedIniFileCredentials = AWS.util.inherit(AWS.Credentials, {
var externalId = roleProfile['external_id'];
var mfaSerial = roleProfile['mfa_serial'];
var sourceProfileName = roleProfile['source_profile'];
+ var durationSeconds = parseInt(roleProfile['duration_seconds'], 10) || undefined;
// From experimentation, the following behavior mimics the AWS CLI:
//
@@ -16939,6 +19124,7 @@ AWS.SharedIniFileCredentials = AWS.util.inherit(AWS.Credentials, {
});
var roleParams = {
+ DurationSeconds: durationSeconds,
RoleArn: roleArn,
RoleSessionName: roleSessionName || 'aws-sdk-js-' + Date.now()
};
@@ -16977,12 +19163,12 @@ AWS.SharedIniFileCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 68335:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 95971:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var path = __webpack_require__(85622);
-var crypto = __webpack_require__(76417);
+var AWS = __nccwpck_require__(60085);
+var path = __nccwpck_require__(16928);
+var crypto = __nccwpck_require__(76982);
var iniLoader = AWS.util.iniLoader;
/**
@@ -16993,11 +19179,22 @@ var iniLoader = AWS.util.iniLoader;
*
* The credentials file must specify the information below to use sso:
*
- * [default]
+ * [profile sso-profile]
* sso_account_id = 012345678901
- * sso_region = us-east-1
+ * sso_region = **-****-*
* sso_role_name = SampleRole
- * sso_start_url = https://d-abc123.awsapps.com/start
+ * sso_start_url = https://d-******.awsapps.com/start
+ *
+ * or using the session format:
+ *
+ * [profile sso-token]
+ * sso_session = prod
+ * sso_account_id = 012345678901
+ * sso_role_name = SampleRole
+ *
+ * [sso-session prod]
+ * sso_region = **-****-*
+ * sso_start_url = https://d-******.awsapps.com/start
*
* This information will be automatically added to your shared credentials file by running
* `aws configure sso`.
@@ -17050,14 +19247,8 @@ AWS.SsoCredentials = AWS.util.inherit(AWS.Credentials, {
* @api private
*/
load: function load(callback) {
- /**
- * The time window (15 mins) that SDK will treat the SSO token expires in before the defined expiration date in token.
- * This is needed because server side may have invalidated the token before the defined expiration date.
- *
- * @internal
- */
- var EXPIRE_WINDOW_MS = 15 * 60 * 1000;
var self = this;
+
try {
var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader, this.filename);
var profile = profiles[this.profile] || {};
@@ -17069,17 +19260,107 @@ AWS.SsoCredentials = AWS.util.inherit(AWS.Credentials, {
);
}
- if (!profile.sso_start_url || !profile.sso_account_id || !profile.sso_region || !profile.sso_role_name) {
- throw AWS.util.error(
- new Error('Profile ' + this.profile + ' does not have valid SSO credentials. Required parameters "sso_account_id", "sso_region", ' +
- '"sso_role_name", "sso_start_url". Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html'),
- { code: self.errorCode }
- );
+ if (profile.sso_session) {
+ if (!profile.sso_account_id || !profile.sso_role_name) {
+ throw AWS.util.error(
+ new Error('Profile ' + this.profile + ' with session ' + profile.sso_session +
+ ' does not have valid SSO credentials. Required parameters "sso_account_id", "sso_session", ' +
+ '"sso_role_name". Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html'),
+ { code: self.errorCode }
+ );
+ }
+ } else {
+ if (!profile.sso_start_url || !profile.sso_account_id || !profile.sso_region || !profile.sso_role_name) {
+ throw AWS.util.error(
+ new Error('Profile ' + this.profile + ' does not have valid SSO credentials. Required parameters "sso_account_id", "sso_region", ' +
+ '"sso_role_name", "sso_start_url". Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html'),
+ { code: self.errorCode }
+ );
+ }
}
+ this.getToken(this.profile, profile, function (err, token) {
+ if (err) {
+ return callback(err);
+ }
+ var request = {
+ accessToken: token,
+ accountId: profile.sso_account_id,
+ roleName: profile.sso_role_name,
+ };
+
+ if (!self.service || self.service.config.region !== profile.sso_region) {
+ self.service = new AWS.SSO({
+ region: profile.sso_region,
+ httpOptions: self.httpOptions,
+ });
+ }
+
+ self.service.getRoleCredentials(request, function(err, data) {
+ if (err || !data || !data.roleCredentials) {
+ callback(AWS.util.error(
+ err || new Error('Please log in using "aws sso login"'),
+ { code: self.errorCode }
+ ), null);
+ } else if (!data.roleCredentials.accessKeyId || !data.roleCredentials.secretAccessKey || !data.roleCredentials.sessionToken || !data.roleCredentials.expiration) {
+ throw AWS.util.error(new Error(
+ 'SSO returns an invalid temporary credential.'
+ ));
+ } else {
+ self.expired = false;
+ self.accessKeyId = data.roleCredentials.accessKeyId;
+ self.secretAccessKey = data.roleCredentials.secretAccessKey;
+ self.sessionToken = data.roleCredentials.sessionToken;
+ self.expireTime = new Date(data.roleCredentials.expiration);
+ callback(null);
+ }
+ });
+ });
+ } catch (err) {
+ callback(err);
+ }
+ },
+
+ /**
+ * @private
+ * Uses legacy file system retrieval or if sso-session is set,
+ * use the SSOTokenProvider.
+ *
+ * @param {string} profileName - name of the profile.
+ * @param {object} profile - profile data containing sso_session or sso_start_url etc.
+ * @param {function} callback - called with (err, (string) token).
+ *
+ * @returns {void}
+ */
+ getToken: function getToken(profileName, profile, callback) {
+ var self = this;
+
+ if (profile.sso_session) {
+ var _iniLoader = AWS.util.iniLoader;
+ var ssoSessions = _iniLoader.loadSsoSessionsFrom();
+ var ssoSession = ssoSessions[profile.sso_session];
+ Object.assign(profile, ssoSession);
+
+ var ssoTokenProvider = new AWS.SSOTokenProvider({
+ profile: profileName,
+ });
+ ssoTokenProvider.get(function (err) {
+ if (err) {
+ return callback(err);
+ }
+ return callback(null, ssoTokenProvider.token);
+ });
+ return;
+ }
+
+ try {
+ /**
+ * The time window (15 mins) that SDK will treat the SSO token expires in before the defined expiration date in token.
+ * This is needed because server side may have invalidated the token before the defined expiration date.
+ */
+ var EXPIRE_WINDOW_MS = 15 * 60 * 1000;
var hasher = crypto.createHash('sha1');
var fileName = hasher.update(profile.sso_start_url).digest('hex') + '.json';
-
var cachePath = path.join(
iniLoader.getHomeDir(),
'.aws',
@@ -17092,7 +19373,6 @@ AWS.SsoCredentials = AWS.util.inherit(AWS.Credentials, {
if (cacheFile) {
cacheContent = JSON.parse(cacheFile);
}
-
if (!cacheContent) {
throw AWS.util.error(
new Error('Cached credentials not found under ' + this.profile + ' profile. Please make sure you log in with aws sso login first'),
@@ -17112,38 +19392,9 @@ AWS.SsoCredentials = AWS.util.inherit(AWS.Credentials, {
));
}
- if (!self.service || self.service.config.region !== profile.sso_region) {
- self.service = new AWS.SSO({
- region: profile.sso_region,
- httpOptions: this.httpOptions,
- });
- }
- var request = {
- accessToken: cacheContent.accessToken,
- accountId: profile.sso_account_id,
- roleName: profile.sso_role_name,
- };
- self.service.getRoleCredentials(request, function(err, data) {
- if (err || !data || !data.roleCredentials) {
- callback(AWS.util.error(
- err || new Error('Please log in using "aws sso login"'),
- { code: self.errorCode }
- ), null);
- } else if (!data.roleCredentials.accessKeyId || !data.roleCredentials.secretAccessKey || !data.roleCredentials.sessionToken || !data.roleCredentials.expiration) {
- throw AWS.util.error(new Error(
- 'SSO returns an invalid temporary credential.'
- ));
- } else {
- self.expired = false;
- self.accessKeyId = data.roleCredentials.accessKeyId;
- self.secretAccessKey = data.roleCredentials.secretAccessKey;
- self.sessionToken = data.roleCredentials.sessionToken;
- self.expireTime = new Date(data.roleCredentials.expiration);
- callback(null);
- }
- });
+ return callback(null, cacheContent.accessToken);
} catch (err) {
- callback(err);
+ return callback(err, null);
}
},
@@ -17167,11 +19418,11 @@ AWS.SsoCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 77360:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 8031:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
+var AWS = __nccwpck_require__(60085);
+var STS = __nccwpck_require__(98595);
/**
* Represents temporary credentials retrieved from {AWS.STS}. Without any
@@ -17303,12 +19554,12 @@ AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 11017:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 15820:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var fs = __webpack_require__(35747);
-var STS = __webpack_require__(57513);
+var AWS = __nccwpck_require__(60085);
+var fs = __nccwpck_require__(79896);
+var STS = __nccwpck_require__(98595);
var iniLoader = AWS.util.iniLoader;
/**
@@ -17517,11 +19768,11 @@ AWS.TokenFileWebIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 74998:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 71685:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
+var AWS = __nccwpck_require__(60085);
+var STS = __nccwpck_require__(98595);
/**
* Represents credentials retrieved from STS Web Identity Federation support.
@@ -17639,11 +19890,11 @@ AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
/***/ }),
-/***/ 45313:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 11549:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var util = __webpack_require__(77985);
+var AWS = __nccwpck_require__(60085);
+var util = __nccwpck_require__(65742);
var endpointDiscoveryEnabledEnvs = ['AWS_ENABLE_ENDPOINT_DISCOVERY', 'AWS_ENDPOINT_DISCOVERY_ENABLED'];
/**
@@ -18023,14 +20274,14 @@ module.exports = {
/***/ }),
-/***/ 76663:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 85209:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var util = AWS.util;
-var typeOf = __webpack_require__(48084).typeOf;
-var DynamoDBSet = __webpack_require__(20304);
-var NumberValue = __webpack_require__(91593);
+var typeOf = (__nccwpck_require__(23412).typeOf);
+var DynamoDBSet = __nccwpck_require__(33409);
+var NumberValue = __nccwpck_require__(82967);
AWS.DynamoDB.Converter = {
/**
@@ -18324,12 +20575,12 @@ module.exports = AWS.DynamoDB.Converter;
/***/ }),
-/***/ 90030:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 64216:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var Translator = __webpack_require__(34222);
-var DynamoDBSet = __webpack_require__(20304);
+var AWS = __nccwpck_require__(60085);
+var Translator = __nccwpck_require__(35735);
+var DynamoDBSet = __nccwpck_require__(33409);
/**
* The document client simplifies working with items in Amazon DynamoDB
@@ -18726,7 +20977,7 @@ AWS.DynamoDB.DocumentClient = AWS.util.inherit({
},
/**
- * Synchronous write operation that groups up to 25 action requests.
+ * Synchronous write operation that groups up to 100 action requests.
*
* Supply the same parameters as {AWS.DynamoDB.transactWriteItems} with
* `AttributeValue`s substituted by native JavaScript types.
@@ -18914,10 +21165,10 @@ module.exports = AWS.DynamoDB.DocumentClient;
/***/ }),
-/***/ 91593:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 82967:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(28437).util;
+var util = (__nccwpck_require__(60085).util);
/**
* An object recognizable as a numeric value that stores the underlying number
@@ -18964,11 +21215,11 @@ module.exports = DynamoDBNumberValue;
/***/ }),
-/***/ 20304:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 33409:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(28437).util;
-var typeOf = __webpack_require__(48084).typeOf;
+var util = (__nccwpck_require__(60085).util);
+var typeOf = (__nccwpck_require__(23412).typeOf);
/**
* @api private
@@ -19042,11 +21293,11 @@ module.exports = DynamoDBSet;
/***/ }),
-/***/ 34222:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 35735:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(28437).util;
-var convert = __webpack_require__(76663);
+var util = (__nccwpck_require__(60085).util);
+var convert = __nccwpck_require__(85209);
var Translator = function(options) {
options = options || {};
@@ -19136,10 +21387,10 @@ module.exports = Translator;
/***/ }),
-/***/ 48084:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 23412:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(28437).util;
+var util = (__nccwpck_require__(60085).util);
function typeOf(data) {
if (data === null && typeof data === 'object') {
@@ -19192,11 +21443,11 @@ module.exports = {
/***/ }),
-/***/ 63727:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 91266:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var eventMessageChunker = __webpack_require__(73630).eventMessageChunker;
-var parseEvent = __webpack_require__(52123).parseEvent;
+var eventMessageChunker = (__nccwpck_require__(11055).eventMessageChunker);
+var parseEvent = (__nccwpck_require__(91220).parseEvent);
function createEventStream(body, parser, model) {
var eventMessages = eventMessageChunker(body);
@@ -19220,11 +21471,11 @@ module.exports = {
/***/ }),
-/***/ 18518:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 9164:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(28437).util;
-var Transform = __webpack_require__(92413).Transform;
+var util = (__nccwpck_require__(60085).util);
+var Transform = (__nccwpck_require__(2203).Transform);
var allocBuffer = util.buffer.alloc;
/** @type {Transform} */
@@ -19348,7 +21599,7 @@ module.exports = {
/***/ }),
-/***/ 73630:
+/***/ 11055:
/***/ ((module) => {
/**
@@ -19385,11 +21636,11 @@ module.exports = {
/***/ }),
-/***/ 93773:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 71836:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var Transform = __webpack_require__(92413).Transform;
-var parseEvent = __webpack_require__(52123).parseEvent;
+var Transform = (__nccwpck_require__(2203).Transform);
+var parseEvent = (__nccwpck_require__(91220).parseEvent);
/** @type {Transform} */
function EventUnmarshallerStream(options) {
@@ -19431,10 +21682,10 @@ module.exports = {
/***/ }),
-/***/ 48583:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 90173:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(28437).util;
+var util = (__nccwpck_require__(60085).util);
var toBuffer = util.buffer.toBuffer;
/**
@@ -19531,10 +21782,10 @@ module.exports = {
/***/ }),
-/***/ 52123:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 91220:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var parseMessage = __webpack_require__(30866).parseMessage;
+var parseMessage = (__nccwpck_require__(99979).parseMessage);
/**
*
@@ -19611,12 +21862,12 @@ module.exports = {
/***/ }),
-/***/ 30866:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 99979:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var Int64 = __webpack_require__(48583).Int64;
+var Int64 = (__nccwpck_require__(90173).Int64);
-var splitMessage = __webpack_require__(71765).splitMessage;
+var splitMessage = (__nccwpck_require__(84500).splitMessage);
var BOOLEAN_TAG = 'boolean';
var BYTE_TAG = 'byte';
@@ -19746,10 +21997,10 @@ module.exports = {
/***/ }),
-/***/ 71765:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 84500:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(28437).util;
+var util = (__nccwpck_require__(60085).util);
var toBuffer = util.buffer.toBuffer;
// All prelude components are unsigned, 32-bit integers
@@ -19823,8 +22074,8 @@ module.exports = {
/***/ }),
-/***/ 69643:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 26575:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/**
* What is necessary to create an event stream in node?
@@ -19833,8 +22084,8 @@ module.exports = {
* - event stream model
*/
-var EventMessageChunkerStream = __webpack_require__(18518).EventMessageChunkerStream;
-var EventUnmarshallerStream = __webpack_require__(93773).EventUnmarshallerStream;
+var EventMessageChunkerStream = (__nccwpck_require__(9164).EventMessageChunkerStream);
+var EventUnmarshallerStream = (__nccwpck_require__(71836).EventUnmarshallerStream);
function createEventStream(stream, parser, model) {
var eventStream = new EventUnmarshallerStream({
@@ -19869,12 +22120,12 @@ module.exports = {
/***/ }),
-/***/ 54995:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 32726:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var SequentialExecutor = __webpack_require__(55948);
-var DISCOVER_ENDPOINT = __webpack_require__(45313).discoverEndpoint;
+var AWS = __nccwpck_require__(60085);
+var SequentialExecutor = __nccwpck_require__(81525);
+var DISCOVER_ENDPOINT = (__nccwpck_require__(11549).discoverEndpoint);
/**
* The namespace used to register global event listeners for request building
* and sending.
@@ -19947,18 +22198,52 @@ function getOperationAuthtype(req) {
return operation ? operation.authtype : '';
}
+/**
+ * @api private
+ */
+function getIdentityType(req) {
+ var service = req.service;
+
+ if (service.config.signatureVersion) {
+ return service.config.signatureVersion;
+ }
+
+ if (service.api.signatureVersion) {
+ return service.api.signatureVersion;
+ }
+
+ return getOperationAuthtype(req);
+}
+
AWS.EventListeners = {
Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) {
- addAsync('VALIDATE_CREDENTIALS', 'validate',
- function VALIDATE_CREDENTIALS(req, done) {
- if (!req.service.api.signatureVersion && !req.service.config.signatureVersion) return done(); // none
- req.service.config.getCredentials(function(err) {
- if (err) {
- req.response.error = AWS.util.error(err,
- {code: 'CredentialsError', message: 'Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1'});
+ addAsync(
+ 'VALIDATE_CREDENTIALS', 'validate',
+ function VALIDATE_CREDENTIALS(req, done) {
+ if (!req.service.api.signatureVersion && !req.service.config.signatureVersion) return done(); // none
+
+ var identityType = getIdentityType(req);
+ if (identityType === 'bearer') {
+ req.service.config.getToken(function(err) {
+ if (err) {
+ req.response.error = AWS.util.error(err, {code: 'TokenError'});
+ }
+ done();
+ });
+ return;
}
- done();
- });
+
+ req.service.config.getCredentials(function(err) {
+ if (err) {
+ req.response.error = AWS.util.error(err,
+ {
+ code: 'CredentialsError',
+ message: 'Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1'
+ }
+ );
+ }
+ done();
+ });
});
add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) {
@@ -20124,12 +22409,10 @@ AWS.EventListeners = {
addAsync('SIGN', 'sign', function SIGN(req, done) {
var service = req.service;
- var operations = req.service.api.operations || {};
- var operation = operations[req.operation];
- var authtype = operation ? operation.authtype : '';
- if (!service.api.signatureVersion && !authtype && !service.config.signatureVersion) return done(); // none
+ var identityType = getIdentityType(req);
+ if (!identityType || identityType.length === 0) return done(); // none
- if (authtype === 'bearer' || service.config.signatureVersion === 'bearer') {
+ if (identityType === 'bearer') {
service.config.getToken(function (err, token) {
if (err) {
req.response.error = err;
@@ -20155,6 +22438,8 @@ AWS.EventListeners = {
try {
var date = service.getSkewCorrectedDate();
var SignerClass = service.getSignerClass(req);
+ var operations = req.service.api.operations || {};
+ var operation = operations[req.operation];
var signer = new SignerClass(req.httpRequest,
service.getSigningName(req),
{
@@ -20394,6 +22679,7 @@ AWS.EventListeners = {
this.httpRequest.endpoint =
new AWS.Endpoint(resp.httpResponse.headers['location']);
this.httpRequest.headers['Host'] = this.httpRequest.endpoint.host;
+ this.httpRequest.path = this.httpRequest.endpoint.path;
resp.error.redirect = true;
resp.error.retryable = true;
}
@@ -20513,7 +22799,7 @@ AWS.EventListeners = {
var inputShape = req.service.api.operations[req.operation].input;
censoredParams = filterSensitiveLog(inputShape, req.params);
}
- var params = __webpack_require__(31669).inspect(censoredParams, true, null);
+ var params = (__nccwpck_require__(39023).inspect)(censoredParams, true, null);
var message = '';
if (ansi) message += '\x1B[33m';
message += '[AWS ' + req.service.serviceIdentifier + ' ' + status;
@@ -20535,21 +22821,21 @@ AWS.EventListeners = {
}),
Json: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(30083);
+ var svc = __nccwpck_require__(75507);
add('BUILD', 'build', svc.buildRequest);
add('EXTRACT_DATA', 'extractData', svc.extractData);
add('EXTRACT_ERROR', 'extractError', svc.extractError);
}),
Rest: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(98200);
+ var svc = __nccwpck_require__(80031);
add('BUILD', 'build', svc.buildRequest);
add('EXTRACT_DATA', 'extractData', svc.extractData);
add('EXTRACT_ERROR', 'extractError', svc.extractError);
}),
RestJson: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(5883);
+ var svc = __nccwpck_require__(84032);
add('BUILD', 'build', svc.buildRequest);
add('EXTRACT_DATA', 'extractData', svc.extractData);
add('EXTRACT_ERROR', 'extractError', svc.extractError);
@@ -20557,14 +22843,14 @@ AWS.EventListeners = {
}),
RestXml: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(15143);
+ var svc = __nccwpck_require__(81153);
add('BUILD', 'build', svc.buildRequest);
add('EXTRACT_DATA', 'extractData', svc.extractData);
add('EXTRACT_ERROR', 'extractError', svc.extractError);
}),
Query: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(90761);
+ var svc = __nccwpck_require__(22881);
add('BUILD', 'build', svc.buildRequest);
add('EXTRACT_DATA', 'extractData', svc.extractData);
add('EXTRACT_ERROR', 'extractError', svc.extractError);
@@ -20574,10 +22860,10 @@ AWS.EventListeners = {
/***/ }),
-/***/ 1556:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 82578:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var inherit = AWS.util.inherit;
/**
@@ -20819,14 +23105,14 @@ AWS.HttpClient.getInstance = function getInstance() {
/***/ }),
-/***/ 2310:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 10905:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var Stream = AWS.util.stream.Stream;
var TransformStream = AWS.util.stream.Transform;
var ReadableStream = AWS.util.stream.Readable;
-__webpack_require__(1556);
+__nccwpck_require__(82578);
var CONNECTION_REUSE_ENV_NAME = 'AWS_NODEJS_CONNECTION_REUSE_ENABLED';
/**
@@ -20847,7 +23133,7 @@ AWS.NodeHttpClient = AWS.util.inherit({
}
var useSSL = endpoint.protocol === 'https:';
- var http = useSSL ? __webpack_require__(57211) : __webpack_require__(98605);
+ var http = useSSL ? __nccwpck_require__(65692) : __nccwpck_require__(58611);
var options = {
host: endpoint.hostname,
port: endpoint.port,
@@ -20856,13 +23142,14 @@ AWS.NodeHttpClient = AWS.util.inherit({
path: pathPrefix + httpRequest.path
};
+ AWS.util.update(options, httpOptions);
+
if (!httpOptions.agent) {
options.agent = this.getAgent(useSSL, {
keepAlive: process.env[CONNECTION_REUSE_ENV_NAME] === '1' ? true : false
});
}
- AWS.util.update(options, httpOptions);
delete options.proxy; // proxy isn't an HTTP option
delete options.timeout; // timeout isn't an HTTP option
@@ -20973,7 +23260,7 @@ AWS.NodeHttpClient = AWS.util.inherit({
* Create the https.Agent or http.Agent according to the request schema.
*/
getAgent: function getAgent(useSSL, agentOptions) {
- var http = useSSL ? __webpack_require__(57211) : __webpack_require__(98605);
+ var http = useSSL ? __nccwpck_require__(65692) : __nccwpck_require__(58611);
if (useSSL) {
if (!AWS.NodeHttpClient.sslAgent) {
AWS.NodeHttpClient.sslAgent = new http.Agent(AWS.util.merge({
@@ -21044,10 +23331,10 @@ AWS.HttpClient.streamsApiVersion = ReadableStream ? 2 : 1;
/***/ }),
-/***/ 47495:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 84516:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
+var util = __nccwpck_require__(65742);
function JsonBuilder() { }
@@ -21113,10 +23400,10 @@ module.exports = JsonBuilder;
/***/ }),
-/***/ 5474:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 36964:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
+var util = __nccwpck_require__(65742);
function JsonParser() { }
@@ -21141,12 +23428,17 @@ function translateStructure(structure, shape) {
var struct = {};
var shapeMembers = shape.members;
+ var isAwsQueryCompatible = shape.api && shape.api.awsQueryCompatible;
util.each(shapeMembers, function(name, memberShape) {
var locationName = memberShape.isLocationName ? memberShape.name : name;
if (Object.prototype.hasOwnProperty.call(structure, locationName)) {
var value = structure[locationName];
var result = translate(value, memberShape);
if (result !== undefined) struct[name] = result;
+ } else if (isAwsQueryCompatible && memberShape.defaultValue) {
+ if (memberShape.type === 'list') {
+ struct[name] = typeof memberShape.defaultValue === 'function' ? memberShape.defaultValue() : memberShape.defaultValue;
+ }
}
});
return struct;
@@ -21188,14 +23480,69 @@ module.exports = JsonParser;
/***/ }),
-/***/ 25768:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 98517:
+/***/ ((module) => {
+
+var warning = [
+ 'The AWS SDK for JavaScript (v2) has reached end-of-support.',
+ 'It will no longer receive updates or releases.\n',
+ 'Please migrate your code to use AWS SDK for JavaScript (v3).',
+ 'For more information, check the blog post at https://a.co/cUPnyil'
+].join('\n');
+
+module.exports = {
+ suppress: false
+};
+
+/**
+ * To suppress this message:
+ * @example
+ * require('aws-sdk/lib/maintenance_mode_message').suppress = true;
+ */
+function emitWarning() {
+ if (typeof process === 'undefined')
+ return;
+
+ // Skip maintenance mode message in Lambda environments
+ if (
+ typeof process.env === 'object' &&
+ typeof process.env.AWS_EXECUTION_ENV !== 'undefined' &&
+ process.env.AWS_EXECUTION_ENV.indexOf('AWS_Lambda_') === 0
+ ) {
+ return;
+ }
+
+ if (
+ typeof process.env === 'object' &&
+ typeof process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE !== 'undefined'
+ ) {
+ return;
+ }
+
+ if (typeof process.emitWarning === 'function') {
+ process.emitWarning(warning, {
+ type: 'NOTE'
+ });
+ }
+}
+
+setTimeout(function () {
+ if (!module.exports.suppress) {
+ emitWarning();
+ }
+}, 0);
+
+
+/***/ }),
+
+/***/ 67647:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-__webpack_require__(1556);
+var AWS = __nccwpck_require__(60085);
+__nccwpck_require__(82578);
var inherit = AWS.util.inherit;
-var getMetadataServiceEndpoint = __webpack_require__(608);
-var URL = __webpack_require__(78835).URL;
+var getMetadataServiceEndpoint = __nccwpck_require__(12016);
+var URL = (__nccwpck_require__(87016).URL);
/**
* Represents a metadata service available on EC2 instances. Using the
@@ -21251,12 +23598,18 @@ AWS.MetadataService = inherit({
* perform for timeout errors
* @option options retryDelayOptions [map] A set of options to configure the
* retry delay on retryable errors. See AWS.Config for details.
+ * @option options ec2MetadataV1Disabled [boolean] Whether to block IMDS v1 fallback.
+ * @option options profile [string] A profile to check for IMDSv1 fallback settings.
+ * @option options filename [string] Optional filename for the config file.
*/
constructor: function MetadataService(options) {
if (options && options.host) {
options.endpoint = 'http://' + options.host;
delete options.host;
}
+ this.profile = options && options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile;
+ this.ec2MetadataV1Disabled = !!(options && options.ec2MetadataV1Disabled);
+ this.filename = options && options.filename;
AWS.util.update(this, options);
},
@@ -21307,9 +23660,8 @@ AWS.MetadataService = inherit({
loadCredentialsCallbacks: [],
/**
- * Fetches metadata token used for getting credentials
+ * Fetches metadata token used for authenticating against the instance metadata service.
*
- * @api private
* @callback callback function(err, token)
* Called when token is loaded from the resource
*/
@@ -21339,6 +23691,36 @@ AWS.MetadataService = inherit({
var self = this;
var basePath = '/latest/meta-data/iam/security-credentials/';
+ var isImdsV1Fallback = self.disableFetchToken
+ || !(options && options.headers && options.headers['x-aws-ec2-metadata-token']);
+
+ if (isImdsV1Fallback && !(process.env.AWS_EC2_METADATA_DISABLED)) {
+ try {
+ var profiles = AWS.util.getProfilesFromSharedConfig(AWS.util.iniLoader, this.filename);
+ var profileSettings = profiles[this.profile] || {};
+ } catch (e) {
+ profileSettings = {};
+ }
+
+ if (profileSettings.ec2_metadata_v1_disabled && profileSettings.ec2_metadata_v1_disabled !== 'false') {
+ return cb(AWS.util.error(
+ new Error('AWS EC2 Metadata v1 fallback has been blocked by AWS config file profile.')
+ ));
+ }
+
+ if (self.ec2MetadataV1Disabled) {
+ return cb(AWS.util.error(
+ new Error('AWS EC2 Metadata v1 fallback has been blocked by AWS.MetadataService::options.ec2MetadataV1Disabled=true.')
+ ));
+ }
+
+ if (process.env.AWS_EC2_METADATA_V1_DISABLED && process.env.AWS_EC2_METADATA_V1_DISABLED !== 'false') {
+ return cb(AWS.util.error(
+ new Error('AWS EC2 Metadata v1 fallback has been blocked by process.env.AWS_EC2_METADATA_V1_DISABLED.')
+ ));
+ }
+ }
+
self.request(basePath, options, function (err, roleName) {
if (err) {
self.disableFetchToken = !(err.statusCode === 401);
@@ -21440,7 +23822,7 @@ module.exports = AWS.MetadataService;
/***/ }),
-/***/ 83205:
+/***/ 50378:
/***/ ((module) => {
var getEndpoint = function() {
@@ -21455,7 +23837,7 @@ module.exports = getEndpoint;
/***/ }),
-/***/ 95578:
+/***/ 29706:
/***/ ((module) => {
var ENV_ENDPOINT_NAME = 'AWS_EC2_METADATA_SERVICE_ENDPOINT';
@@ -21474,7 +23856,7 @@ module.exports = getEndpointConfigOptions;
/***/ }),
-/***/ 37997:
+/***/ 3130:
/***/ ((module) => {
var getEndpointMode = function() {
@@ -21489,10 +23871,10 @@ module.exports = getEndpointMode;
/***/ }),
-/***/ 45509:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 70970:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var EndpointMode = __webpack_require__(37997)();
+var EndpointMode = __nccwpck_require__(3130)();
var ENV_ENDPOINT_MODE_NAME = 'AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE';
var CONFIG_ENDPOINT_MODE_NAME = 'ec2_metadata_service_endpoint_mode';
@@ -21510,16 +23892,16 @@ module.exports = getEndpointModeConfigOptions;
/***/ }),
-/***/ 608:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 12016:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
-var Endpoint = __webpack_require__(83205)();
-var EndpointMode = __webpack_require__(37997)();
+var Endpoint = __nccwpck_require__(50378)();
+var EndpointMode = __nccwpck_require__(3130)();
-var ENDPOINT_CONFIG_OPTIONS = __webpack_require__(95578)();
-var ENDPOINT_MODE_CONFIG_OPTIONS = __webpack_require__(45509)();
+var ENDPOINT_CONFIG_OPTIONS = __nccwpck_require__(29706)();
+var ENDPOINT_MODE_CONFIG_OPTIONS = __nccwpck_require__(70970)();
var getMetadataServiceEndpoint = function() {
var endpoint = AWS.util.loadConfig(ENDPOINT_CONFIG_OPTIONS);
@@ -21541,17 +23923,17 @@ module.exports = getMetadataServiceEndpoint;
/***/ }),
-/***/ 17657:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 38738:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var Collection = __webpack_require__(71965);
-var Operation = __webpack_require__(28083);
-var Shape = __webpack_require__(71349);
-var Paginator = __webpack_require__(45938);
-var ResourceWaiter = __webpack_require__(41368);
-var metadata = __webpack_require__(49497);
+var Collection = __nccwpck_require__(16920);
+var Operation = __nccwpck_require__(3359);
+var Shape = __nccwpck_require__(64147);
+var Paginator = __nccwpck_require__(46605);
+var ResourceWaiter = __nccwpck_require__(51301);
+var metadata = __nccwpck_require__(15087);
-var util = __webpack_require__(77985);
+var util = __nccwpck_require__(65742);
var property = util.property;
var memoizedProperty = util.memoizedProperty;
@@ -21637,10 +24019,10 @@ module.exports = Api;
/***/ }),
-/***/ 71965:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 16920:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var memoizedProperty = __webpack_require__(77985).memoizedProperty;
+var memoizedProperty = (__nccwpck_require__(65742).memoizedProperty);
function memoize(name, value, factory, nameTr) {
memoizedProperty(this, nameTr(name), function() {
@@ -21668,12 +24050,12 @@ module.exports = Collection;
/***/ }),
-/***/ 28083:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 3359:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var Shape = __webpack_require__(71349);
+var Shape = __nccwpck_require__(64147);
-var util = __webpack_require__(77985);
+var util = __nccwpck_require__(65742);
var property = util.property;
var memoizedProperty = util.memoizedProperty;
@@ -21794,10 +24176,10 @@ module.exports = Operation;
/***/ }),
-/***/ 45938:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 46605:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var property = __webpack_require__(77985).property;
+var property = (__nccwpck_require__(65742).property);
function Paginator(name, paginator) {
property(this, 'inputToken', paginator.input_token);
@@ -21815,10 +24197,10 @@ module.exports = Paginator;
/***/ }),
-/***/ 41368:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 51301:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
+var util = __nccwpck_require__(65742);
var property = util.property;
function ResourceWaiter(name, waiter, options) {
@@ -21855,12 +24237,12 @@ module.exports = ResourceWaiter;
/***/ }),
-/***/ 71349:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 64147:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var Collection = __webpack_require__(71965);
+var Collection = __nccwpck_require__(16920);
-var util = __webpack_require__(77985);
+var util = __nccwpck_require__(65742);
function property(obj, name, value) {
if (value !== null && value !== undefined) {
@@ -22269,12 +24651,12 @@ module.exports = Shape;
/***/ }),
-/***/ 73639:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 84902:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
+var util = __nccwpck_require__(65742);
-var region_utils = __webpack_require__(99517);
+var region_utils = __nccwpck_require__(53412);
var isFipsRegion = region_utils.isFipsRegion;
var getRealRegion = region_utils.getRealRegion;
@@ -22282,22 +24664,22 @@ util.isBrowser = function() { return false; };
util.isNode = function() { return true; };
// node.js specific modules
-util.crypto.lib = __webpack_require__(76417);
-util.Buffer = __webpack_require__(64293).Buffer;
-util.domain = __webpack_require__(85229);
-util.stream = __webpack_require__(92413);
-util.url = __webpack_require__(78835);
-util.querystring = __webpack_require__(71191);
+util.crypto.lib = __nccwpck_require__(76982);
+util.Buffer = (__nccwpck_require__(20181).Buffer);
+util.domain = __nccwpck_require__(73167);
+util.stream = __nccwpck_require__(2203);
+util.url = __nccwpck_require__(87016);
+util.querystring = __nccwpck_require__(83480);
util.environment = 'nodejs';
util.createEventStream = util.stream.Readable ?
- __webpack_require__(69643).createEventStream : __webpack_require__(63727).createEventStream;
-util.realClock = __webpack_require__(81370);
+ (__nccwpck_require__(26575).createEventStream) : (__nccwpck_require__(91266).createEventStream);
+util.realClock = __nccwpck_require__(95463);
util.clientSideMonitoring = {
- Publisher: __webpack_require__(66807).Publisher,
- configProvider: __webpack_require__(91822),
+ Publisher: (__nccwpck_require__(78335).Publisher),
+ configProvider: __nccwpck_require__(31281),
};
-util.iniLoader = __webpack_require__(29697)/* .iniLoader */ .b;
-util.getSystemErrorName = __webpack_require__(31669).getSystemErrorName;
+util.iniLoader = (__nccwpck_require__(6955)/* .iniLoader */ .s);
+util.getSystemErrorName = (__nccwpck_require__(39023).getSystemErrorName);
util.loadConfig = function(options) {
var envValue = options.environmentVariableSelector(process.env);
@@ -22331,35 +24713,35 @@ var AWS;
/**
* @api private
*/
-module.exports = AWS = __webpack_require__(28437);
+module.exports = AWS = __nccwpck_require__(60085);
-__webpack_require__(53819);
-__webpack_require__(36965);
-__webpack_require__(77360);
-__webpack_require__(57083);
-__webpack_require__(74998);
-__webpack_require__(3498);
-__webpack_require__(15037);
-__webpack_require__(80371);
+__nccwpck_require__(92118);
+__nccwpck_require__(30364);
+__nccwpck_require__(8031);
+__nccwpck_require__(13761);
+__nccwpck_require__(71685);
+__nccwpck_require__(12298);
+__nccwpck_require__(40669);
+__nccwpck_require__(51685);
// Load the xml2js XML parser
-AWS.XML.Parser = __webpack_require__(96752);
+AWS.XML.Parser = __nccwpck_require__(26236);
// Load Node HTTP client
-__webpack_require__(2310);
+__nccwpck_require__(10905);
-__webpack_require__(95417);
+__nccwpck_require__(48149);
// Load custom credential providers
-__webpack_require__(11017);
-__webpack_require__(73379);
-__webpack_require__(88764);
-__webpack_require__(10645);
-__webpack_require__(57714);
-__webpack_require__(27454);
-__webpack_require__(13754);
-__webpack_require__(80371);
-__webpack_require__(68335);
+__nccwpck_require__(15820);
+__nccwpck_require__(98414);
+__nccwpck_require__(15950);
+__nccwpck_require__(91593);
+__nccwpck_require__(91269);
+__nccwpck_require__(82550);
+__nccwpck_require__(95703);
+__nccwpck_require__(51685);
+__nccwpck_require__(95971);
// Setup default providers for credentials chain
// If this changes, please update documentation for
@@ -22377,9 +24759,9 @@ AWS.CredentialProviderChain.defaultProviders = [
];
// Load custom token providers
-__webpack_require__(82647);
-__webpack_require__(50126);
-__webpack_require__(90327);
+__nccwpck_require__(64065);
+__nccwpck_require__(51893);
+__nccwpck_require__(85439);
// Setup default providers for token chain
// If this changes, please update documentation for
@@ -22480,10 +24862,10 @@ AWS.config = new AWS.Config();
/***/ }),
-/***/ 99127:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 37660:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* @api private
@@ -22758,10 +25140,10 @@ AWS.ParamValidator = AWS.util.inherit({
/***/ }),
-/***/ 44086:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 16860:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var rest = AWS.Protocol.Rest;
/**
@@ -22880,11 +25262,11 @@ AWS.Polly.Presigner = AWS.util.inherit({
/***/ }),
-/***/ 97969:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 35644:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
-var AWS = __webpack_require__(28437);
+var util = __nccwpck_require__(65742);
+var AWS = __nccwpck_require__(60085);
/**
* Prepend prefix defined by API model to endpoint that's already
@@ -22976,13 +25358,13 @@ module.exports = {
/***/ }),
-/***/ 30083:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 75507:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
-var JsonBuilder = __webpack_require__(47495);
-var JsonParser = __webpack_require__(5474);
-var populateHostPrefix = __webpack_require__(97969).populateHostPrefix;
+var util = __nccwpck_require__(65742);
+var JsonBuilder = __nccwpck_require__(84516);
+var JsonParser = __nccwpck_require__(36964);
+var populateHostPrefix = (__nccwpck_require__(35644).populateHostPrefix);
function buildRequest(req) {
var httpRequest = req.httpRequest;
@@ -22993,6 +25375,15 @@ function buildRequest(req) {
var builder = new JsonBuilder();
if (version === 1) version = '1.0';
+
+ if (api.awsQueryCompatible) {
+ if (!httpRequest.params) {
+ httpRequest.params = {};
+ }
+ // because Query protocol does this.
+ Object.assign(httpRequest.params, req.params);
+ }
+
httpRequest.body = builder.build(req.params || {}, input);
httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version;
httpRequest.headers['X-Amz-Target'] = target;
@@ -23012,6 +25403,7 @@ function extractError(resp) {
if (httpResponse.body.length > 0) {
try {
var e = JSON.parse(httpResponse.body.toString());
+
var code = e.__type || e.code || e.Code;
if (code) {
error.code = code.split('#').pop();
@@ -23021,6 +25413,24 @@ function extractError(resp) {
} else {
error.message = (e.message || e.Message || null);
}
+
+ // The minimized models do not have error shapes, so
+ // without expanding the model size, it's not possible
+ // to validate the response shape (members) or
+ // check if any are sensitive to logging.
+
+ // Assign the fields as non-enumerable, allowing specific access only.
+ for (var key in e || {}) {
+ if (key === 'code' || key === 'message') {
+ continue;
+ }
+ error['[' + key + ']'] = 'See error.' + key + ' for details.';
+ Object.defineProperty(error, key, {
+ value: e[key],
+ enumerable: false,
+ writable: true
+ });
+ }
} catch (e) {
error.statusCode = httpResponse.statusCode;
error.message = httpResponse.statusMessage;
@@ -23057,14 +25467,14 @@ module.exports = {
/***/ }),
-/***/ 90761:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 22881:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var util = __webpack_require__(77985);
-var QueryParamSerializer = __webpack_require__(45175);
-var Shape = __webpack_require__(71349);
-var populateHostPrefix = __webpack_require__(97969).populateHostPrefix;
+var AWS = __nccwpck_require__(60085);
+var util = __nccwpck_require__(65742);
+var QueryParamSerializer = __nccwpck_require__(91068);
+var Shape = __nccwpck_require__(64147);
+var populateHostPrefix = (__nccwpck_require__(35644).populateHostPrefix);
function buildRequest(req) {
var operation = req.service.api.operations[req.operation];
@@ -23174,11 +25584,11 @@ module.exports = {
/***/ }),
-/***/ 98200:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 80031:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
-var populateHostPrefix = __webpack_require__(97969).populateHostPrefix;
+var util = __nccwpck_require__(65742);
+var populateHostPrefix = (__nccwpck_require__(35644).populateHostPrefix);
function populateMethod(req) {
req.httpRequest.method = req.service.api.operations[req.operation].httpMethod;
@@ -23329,14 +25739,15 @@ module.exports = {
/***/ }),
-/***/ 5883:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 84032:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
-var Rest = __webpack_require__(98200);
-var Json = __webpack_require__(30083);
-var JsonBuilder = __webpack_require__(47495);
-var JsonParser = __webpack_require__(5474);
+var AWS = __nccwpck_require__(60085);
+var util = __nccwpck_require__(65742);
+var Rest = __nccwpck_require__(80031);
+var Json = __nccwpck_require__(75507);
+var JsonBuilder = __nccwpck_require__(84516);
+var JsonParser = __nccwpck_require__(36964);
var METHODS_WITHOUT_BODY = ['GET', 'HEAD', 'DELETE'];
@@ -23409,7 +25820,7 @@ function extractData(resp) {
var body = resp.httpResponse.body;
if (payloadMember.isEventStream) {
parser = new JsonParser();
- resp.data[payload] = util.createEventStream(
+ resp.data[rules.payload] = util.createEventStream(
AWS.HttpClient.streamsApiVersion === 2 ? resp.httpResponse.stream : body,
parser,
payloadMember
@@ -23442,12 +25853,12 @@ module.exports = {
/***/ }),
-/***/ 15143:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 81153:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var util = __webpack_require__(77985);
-var Rest = __webpack_require__(98200);
+var AWS = __nccwpck_require__(60085);
+var util = __nccwpck_require__(65742);
+var Rest = __nccwpck_require__(80031);
function populateBody(req) {
var input = req.service.api.operations[req.operation].input;
@@ -23557,10 +25968,10 @@ module.exports = {
/***/ }),
-/***/ 91822:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 31281:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* Resolve client-side monitoring configuration from either environmental variables
@@ -23646,11 +26057,11 @@ module.exports = resolveMonitoringConfig;
/***/ }),
-/***/ 66807:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 78335:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(28437).util;
-var dgram = __webpack_require__(76200);
+var util = (__nccwpck_require__(60085).util);
+var dgram = __nccwpck_require__(7194);
var stringToBuffer = util.buffer.toBuffer;
var MAX_MESSAGE_SIZE = 1024 * 8; // 8 KB
@@ -23778,10 +26189,10 @@ module.exports = {
/***/ }),
-/***/ 45175:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 91068:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
+var util = __nccwpck_require__(65742);
function QueryParamSerializer() {
}
@@ -23825,7 +26236,9 @@ function serializeList(name, list, rules, fn) {
var memberRules = rules.member || {};
if (list.length === 0) {
- fn.call(this, name, null);
+ if (rules.api.protocol !== 'ec2') {
+ fn.call(this, name, null);
+ }
return;
}
@@ -23869,10 +26282,10 @@ module.exports = QueryParamSerializer;
/***/ }),
-/***/ 16612:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 64060:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* @api private
@@ -24094,7 +26507,7 @@ AWS.RDS.Signer = AWS.util.inherit({
/***/ }),
-/***/ 81370:
+/***/ 95463:
/***/ ((module) => {
module.exports = {
@@ -24108,7 +26521,7 @@ module.exports = {
/***/ }),
-/***/ 99517:
+/***/ 53412:
/***/ ((module) => {
function isFipsRegion(region) {
@@ -24136,11 +26549,11 @@ module.exports = {
/***/ }),
-/***/ 18262:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 48603:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
-var regionConfig = __webpack_require__(51765);
+var util = __nccwpck_require__(65742);
+var regionConfig = __nccwpck_require__(33548);
function generateRegionPrefix(region) {
if (!region) return null;
@@ -24160,6 +26573,7 @@ function derivedKeys(service) {
[region, '*'],
[regionPrefix, '*'],
['*', endpointPrefix],
+ [region, 'internal-*'],
['*', '*']
].map(function(item) {
return item[0] && item[1] ? item.join('/') : null;
@@ -24204,10 +26618,21 @@ function configureEndpoint(service) {
}
// signature version
- if (!config.signatureVersion) config.signatureVersion = 'v4';
+ if (!config.signatureVersion) {
+ // Note: config is a global object and should not be mutated here.
+ // However, we are retaining this line for backwards compatibility.
+ // The non-v4 signatureVersion will be set in a copied object below.
+ config.signatureVersion = 'v4';
+ }
+
+ var useBearer = (service.api && service.api.signatureVersion) === 'bearer';
// merge config
- applyConfig(service, config);
+ applyConfig(service, Object.assign(
+ {},
+ config,
+ { signatureVersion: useBearer ? 'bearer' : config.signatureVersion }
+ ));
return;
}
}
@@ -24219,7 +26644,9 @@ function getEndpointSuffix(region) {
'^cn\\-\\w+\\-\\d+$': 'amazonaws.com.cn',
'^us\\-gov\\-\\w+\\-\\d+$': 'amazonaws.com',
'^us\\-iso\\-\\w+\\-\\d+$': 'c2s.ic.gov',
- '^us\\-isob\\-\\w+\\-\\d+$': 'sc2s.sgov.gov'
+ '^us\\-isob\\-\\w+\\-\\d+$': 'sc2s.sgov.gov',
+ '^eu\\-isoe\\-west\\-1$': 'cloud.adc-e.uk',
+ '^us\\-isof\\-\\w+\\-\\d+$': 'csp.hci.ic.gov',
};
var defaultSuffix = 'amazonaws.com';
var regexes = Object.keys(regionRegexes);
@@ -24242,14 +26669,14 @@ module.exports = {
/***/ }),
-/***/ 78652:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 94849:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var AcceptorStateMachine = __webpack_require__(68118);
+var AWS = __nccwpck_require__(60085);
+var AcceptorStateMachine = __nccwpck_require__(76435);
var inherit = AWS.util.inherit;
var domain = AWS.util.domain;
-var jmespath = __webpack_require__(87783);
+var jmespath = __nccwpck_require__(7598);
/**
* @api private
@@ -25058,8 +27485,8 @@ AWS.util.mixin(AWS.Request, AWS.SequentialExecutor);
/***/ }),
-/***/ 39925:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 80971:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
/**
* Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
@@ -25076,9 +27503,9 @@ AWS.util.mixin(AWS.Request, AWS.SequentialExecutor);
* language governing permissions and limitations under the License.
*/
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var inherit = AWS.util.inherit;
-var jmespath = __webpack_require__(87783);
+var jmespath = __nccwpck_require__(7598);
/**
* @api private
@@ -25269,12 +27696,12 @@ AWS.ResourceWaiter = inherit({
/***/ }),
-/***/ 58743:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 30229:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var inherit = AWS.util.inherit;
-var jmespath = __webpack_require__(87783);
+var jmespath = __nccwpck_require__(7598);
/**
* This class encapsulates the response information
@@ -25477,10 +27904,10 @@ AWS.Response = inherit({
/***/ }),
-/***/ 81600:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 32412:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var byteLength = AWS.util.string.byteLength;
var Buffer = AWS.util.Buffer;
@@ -26216,10 +28643,10 @@ module.exports = AWS.S3.ManagedUpload;
/***/ }),
-/***/ 55948:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 81525:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* @api private
@@ -26458,16 +28885,16 @@ module.exports = AWS.SequentialExecutor;
/***/ }),
-/***/ 68903:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 54263:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var Api = __webpack_require__(17657);
-var regionConfig = __webpack_require__(18262);
+var AWS = __nccwpck_require__(60085);
+var Api = __nccwpck_require__(38738);
+var regionConfig = __nccwpck_require__(48603);
var inherit = AWS.util.inherit;
var clientCount = 0;
-var region_utils = __webpack_require__(99517);
+var region_utils = __nccwpck_require__(53412);
/**
* The service class representing an AWS service.
@@ -27319,10 +29746,10 @@ module.exports = AWS.Service;
/***/ }),
-/***/ 4338:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 14823:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.update(AWS.APIGateway.prototype, {
/**
@@ -27355,13 +29782,13 @@ AWS.util.update(AWS.APIGateway.prototype, {
/***/ }),
-/***/ 95483:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 20089:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
// pull in CloudFront signer
-__webpack_require__(93260);
+__nccwpck_require__(63143);
AWS.util.update(AWS.CloudFront.prototype, {
@@ -27374,10 +29801,10 @@ AWS.util.update(AWS.CloudFront.prototype, {
/***/ }),
-/***/ 48571:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 84944:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* Constructs a service interface object. Each API operation is exposed as a
@@ -27478,6 +29905,9 @@ AWS.util.update(AWS.CloudSearchDomain.prototype, {
*/
convertGetToPost: function(request) {
var httpRequest = request.httpRequest;
+ if (httpRequest.method === 'POST') {
+ return;
+ }
// convert queries to POST to avoid length restrictions
var path = httpRequest.path.split('?');
httpRequest.method = 'POST';
@@ -27501,11 +29931,11 @@ AWS.util.update(AWS.CloudSearchDomain.prototype, {
/***/ }),
-/***/ 59050:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 92057:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var rdsutil = __webpack_require__(30650);
+var AWS = __nccwpck_require__(60085);
+var rdsutil = __nccwpck_require__(18914);
/**
* @api private
@@ -27533,11 +29963,11 @@ AWS.util.update(AWS.DocDB.prototype, {
/***/ }),
-/***/ 17101:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 50961:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-__webpack_require__(90030);
+var AWS = __nccwpck_require__(60085);
+__nccwpck_require__(64216);
AWS.util.update(AWS.DynamoDB.prototype, {
/**
@@ -27598,10 +30028,10 @@ AWS.util.update(AWS.DynamoDB.prototype, {
/***/ }),
-/***/ 92501:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 39007:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.update(AWS.EC2.prototype, {
/**
@@ -27667,10 +30097,10 @@ AWS.util.update(AWS.EC2.prototype, {
/***/ }),
-/***/ 3034:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 90300:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.update(AWS.EventBridge.prototype, {
/**
@@ -27693,10 +30123,10 @@ AWS.util.update(AWS.EventBridge.prototype, {
/***/ }),
-/***/ 14472:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 98028:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.update(AWS.Glacier.prototype, {
/**
@@ -27814,10 +30244,10 @@ AWS.util.update(AWS.Glacier.prototype, {
/***/ }),
-/***/ 27062:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 16245:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* @api private
@@ -27921,10 +30351,10 @@ AWS.util.update(AWS.IotData.prototype, {
/***/ }),
-/***/ 8452:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87066:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.update(AWS.Lambda.prototype, {
/**
@@ -27941,10 +30371,10 @@ AWS.util.update(AWS.Lambda.prototype, {
/***/ }),
-/***/ 19174:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 5506:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.update(AWS.MachineLearning.prototype, {
/**
@@ -27972,11 +30402,11 @@ AWS.util.update(AWS.MachineLearning.prototype, {
/***/ }),
-/***/ 73090:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 94492:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var rdsutil = __webpack_require__(30650);
+var AWS = __nccwpck_require__(60085);
+var rdsutil = __nccwpck_require__(18914);
/**
* @api private
@@ -28004,20 +30434,20 @@ AWS.util.update(AWS.Neptune.prototype, {
/***/ }),
-/***/ 53199:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 50321:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-__webpack_require__(44086);
+__nccwpck_require__(16860);
/***/ }),
-/***/ 71928:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 85726:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var rdsutil = __webpack_require__(30650);
-__webpack_require__(16612);
+var AWS = __nccwpck_require__(60085);
+var rdsutil = __nccwpck_require__(18914);
+__nccwpck_require__(64060);
/**
* @api private
*/
@@ -28035,10 +30465,10 @@ __webpack_require__(16612);
/***/ }),
-/***/ 64070:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 99731:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.update(AWS.RDSDataService.prototype, {
/**
@@ -28061,10 +30491,10 @@ AWS.util.update(AWS.RDSDataService.prototype, {
/***/ }),
-/***/ 30650:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 18914:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var rdsutil = {
/**
@@ -28129,10 +30559,10 @@ module.exports = rdsutil;
/***/ }),
-/***/ 69627:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 43944:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.update(AWS.Route53.prototype, {
/**
@@ -28168,17 +30598,17 @@ AWS.util.update(AWS.Route53.prototype, {
/***/ }),
-/***/ 26543:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 51919:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var v4Credentials = __webpack_require__(62660);
-var resolveRegionalEndpointsFlag = __webpack_require__(85566);
-var s3util = __webpack_require__(35895);
-var regionUtil = __webpack_require__(18262);
+var AWS = __nccwpck_require__(60085);
+var v4Credentials = __nccwpck_require__(76445);
+var resolveRegionalEndpointsFlag = __nccwpck_require__(44568);
+var s3util = __nccwpck_require__(53659);
+var regionUtil = __nccwpck_require__(48603);
// Pull in managed upload extension
-__webpack_require__(81600);
+__nccwpck_require__(32412);
/**
* @api private
@@ -28292,6 +30722,7 @@ AWS.util.update(AWS.S3.prototype, {
* @api private
*/
setupRequestListeners: function setupRequestListeners(request) {
+ request.addListener('validateResponse', this.setExpiresString);
var prependListener = true;
request.addListener('validate', this.validateScheme);
request.addListener('validate', this.validateBucketName, prependListener);
@@ -28451,7 +30882,7 @@ AWS.util.update(AWS.S3.prototype, {
req.httpRequest.endpoint.hostname.indexOf('s3.amazonaws.com') >= 0
) {
var insertPoint = config.endpoint.indexOf('.amazonaws.com');
- regionalEndpoint = config.endpoint.substring(0, insertPoint) +
+ var regionalEndpoint = config.endpoint.substring(0, insertPoint) +
'.us-east-1' + config.endpoint.substring(insertPoint);
req.httpRequest.updateEndpoint(regionalEndpoint);
}
@@ -28703,17 +31134,21 @@ AWS.util.update(AWS.S3.prototype, {
* @api private
*/
extractErrorFrom200Response: function extractErrorFrom200Response(resp) {
- if (!operationsWith200StatusCodeError[resp.request.operation]) return;
+ var service = this.service ? this.service : this;
+ if (!service.is200Error(resp) && !operationsWith200StatusCodeError[resp.request.operation]) {
+ return;
+ }
var httpResponse = resp.httpResponse;
- if (httpResponse.body && httpResponse.body.toString().match('')) {
+ var bodyString = httpResponse.body && httpResponse.body.toString() || '';
+ if (bodyString && bodyString.indexOf('') === bodyString.length - 8) {
// Response body with '...' indicates an exception.
// Get S3 client object. In ManagedUpload, this.service refers to
// S3 client object.
resp.data = null;
- var service = this.service ? this.service : this;
service.extractError(resp);
+ resp.error.is200Error = true;
throw resp.error;
- } else if (!httpResponse.body || !httpResponse.body.toString().match(/<[\w_]/)) {
+ } else if (!httpResponse.body || !bodyString.match(/<[\w_]/)) {
// When body is empty or incomplete, S3 might stop the request on detecting client
// side aborting the request.
resp.data = null;
@@ -28724,13 +31159,54 @@ AWS.util.update(AWS.S3.prototype, {
}
},
+ /**
+ * @api private
+ * @param resp - to evaluate.
+ * @return true if the response has status code 200 but is an error.
+ */
+ is200Error: function is200Error(resp) {
+ var code = resp && resp.httpResponse && resp.httpResponse.statusCode;
+ if (code !== 200) {
+ return false;
+ }
+ try {
+ var req = resp.request;
+ var outputMembers = req.service.api.operations[req.operation].output.members;
+ var keys = Object.keys(outputMembers);
+ for (var i = 0; i < keys.length; ++i) {
+ var member = outputMembers[keys[i]];
+ if (member.type === 'binary' && member.isStreaming) {
+ return false;
+ }
+ }
+
+ var body = resp.httpResponse.body;
+ if (body && body.byteLength !== undefined) {
+ if (body.byteLength < 15 || body.byteLength > 3000) {
+ // body is too short or long to be an error message.
+ return false;
+ }
+ }
+ if (!body) {
+ return false;
+ }
+ var bodyString = body.toString();
+ if (bodyString.indexOf('') === bodyString.length - 8) {
+ return true;
+ }
+ } catch (e) {
+ return false;
+ }
+ return false;
+ },
+
/**
* @return [Boolean] whether the error can be retried
* @api private
*/
retryableError: function retryableError(error, request) {
- if (operationsWith200StatusCodeError[request.operation] &&
- error.statusCode === 200) {
+ if (error.is200Error ||
+ (operationsWith200StatusCodeError[request.operation] && error.statusCode === 200)) {
return true;
} else if (request._requestRegionForBucket &&
request.service.bucketRegionCache[request._requestRegionForBucket]) {
@@ -29390,7 +31866,11 @@ AWS.util.update(AWS.S3.prototype, {
// mutate params object argument passed in by user
var copiedParams = AWS.util.copy(params);
- if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) {
+ if (
+ this.config.region !== 'us-east-1'
+ && hostname !== this.api.globalEndpoint
+ && !params.CreateBucketConfiguration
+ ) {
copiedParams.CreateBucketConfiguration = { LocationConstraint: this.config.region };
}
return this.makeRequest('createBucket', copiedParams, callback);
@@ -29457,6 +31937,30 @@ AWS.util.update(AWS.S3.prototype, {
var uploader = new AWS.S3.ManagedUpload(options);
if (typeof callback === 'function') uploader.send(callback);
return uploader;
+ },
+
+ /**
+ * @api private
+ */
+ setExpiresString: function setExpiresString(response) {
+ // Check if response contains Expires value, and populate ExpiresString.
+ if (response && response.httpResponse && response.httpResponse.headers) {
+ if ('expires' in response.httpResponse.headers) {
+ response.httpResponse.headers.expiresstring = response.httpResponse.headers.expires;
+ }
+ }
+
+ // Check if value in Expires is not a Date using parseTimestamp.
+ try {
+ if (response && response.httpResponse && response.httpResponse.headers) {
+ if ('expires' in response.httpResponse.headers) {
+ AWS.util.date.parseTimestamp(response.httpResponse.headers.expires);
+ }
+ }
+ } catch (e) {
+ console.log('AWS SDK', '(warning)', e);
+ delete response.httpResponse.headers.expires;
+ }
}
});
@@ -29479,12 +31983,12 @@ AWS.util.addPromises(AWS.S3);
/***/ }),
-/***/ 71207:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 5574:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var s3util = __webpack_require__(35895);
-var regionUtil = __webpack_require__(18262);
+var AWS = __nccwpck_require__(60085);
+var s3util = __nccwpck_require__(53659);
+var regionUtil = __nccwpck_require__(48603);
AWS.util.update(AWS.S3Control.prototype, {
/**
@@ -29697,11 +32201,11 @@ AWS.util.update(AWS.S3Control.prototype, {
/***/ }),
-/***/ 35895:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 53659:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var regionUtil = __webpack_require__(18262);
+var AWS = __nccwpck_require__(60085);
+var regionUtil = __nccwpck_require__(48603);
var s3util = {
/**
@@ -29987,10 +32491,10 @@ module.exports = s3util;
/***/ }),
-/***/ 94571:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 74820:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.update(AWS.SQS.prototype, {
/**
@@ -30125,11 +32629,11 @@ AWS.util.update(AWS.SQS.prototype, {
/***/ }),
-/***/ 91055:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 23429:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var resolveRegionalEndpointsFlag = __webpack_require__(85566);
+var AWS = __nccwpck_require__(60085);
+var resolveRegionalEndpointsFlag = __nccwpck_require__(44568);
var ENV_REGIONAL_ENDPOINT_ENABLED = 'AWS_STS_REGIONAL_ENDPOINTS';
var CONFIG_REGIONAL_ENDPOINT_ENABLED = 'sts_regional_endpoints';
@@ -30218,10 +32722,10 @@ AWS.util.update(AWS.STS.prototype, {
/***/ }),
-/***/ 31987:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 87377:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
AWS.util.hideProperties(AWS, ['SimpleWorkflow']);
@@ -30235,25 +32739,25 @@ AWS.SimpleWorkflow = AWS.SWF;
/***/ }),
-/***/ 29697:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 6955:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var IniLoader = __webpack_require__(95417).IniLoader;
+var IniLoader = (__nccwpck_require__(48149).IniLoader);
/**
* Singleton object to load specified config/credentials files.
* It will cache all the files ever loaded;
*/
-module.exports.b = new IniLoader();
+module.exports.s = new IniLoader();
/***/ }),
-/***/ 95417:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 48149:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var os = __webpack_require__(12087);
-var path = __webpack_require__(85622);
+var AWS = __nccwpck_require__(60085);
+var os = __nccwpck_require__(70857);
+var path = __nccwpck_require__(16928);
function parseFile(filename) {
return AWS.util.ini.parse(AWS.util.readFileSync(filename));
@@ -30356,9 +32860,6 @@ AWS.IniLoader = AWS.util.inherit({
return this.resolvedSsoSessions[filename];
},
- /**
- * @api private
- */
getDefaultFilePath: function getDefaultFilePath(isConfig) {
return path.join(
this.getHomeDir(),
@@ -30367,9 +32868,6 @@ AWS.IniLoader = AWS.util.inherit({
);
},
- /**
- * @api private
- */
getHomeDir: function getHomeDir() {
var env = process.env;
var home = env.HOME ||
@@ -30399,10 +32897,10 @@ module.exports = {
/***/ }),
-/***/ 98382:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 40579:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* @api private
@@ -30413,17 +32911,17 @@ AWS.Signers.Bearer = AWS.util.inherit(AWS.Signers.RequestSigner, {
},
addAuthorization: function addAuthorization(token) {
- this.request.httpRequest.headers['Authorization'] = 'Bearer ' + token.token;
+ this.request.headers['Authorization'] = 'Bearer ' + token.token;
}
});
/***/ }),
-/***/ 60328:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 23452:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var inherit = AWS.util.inherit;
/**
@@ -30546,10 +33044,10 @@ module.exports = AWS.Signers.Presign;
/***/ }),
-/***/ 9897:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 63610:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var inherit = AWS.util.inherit;
@@ -30583,21 +33081,21 @@ AWS.Signers.RequestSigner.getVersion = function getVersion(version) {
throw new Error('Unknown signing version ' + version);
};
-__webpack_require__(28489);
-__webpack_require__(66458);
-__webpack_require__(24473);
-__webpack_require__(26529);
-__webpack_require__(58616);
-__webpack_require__(60328);
-__webpack_require__(98382);
+__nccwpck_require__(45790);
+__nccwpck_require__(29533);
+__nccwpck_require__(27696);
+__nccwpck_require__(10184);
+__nccwpck_require__(79516);
+__nccwpck_require__(23452);
+__nccwpck_require__(40579);
/***/ }),
-/***/ 58616:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 79516:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var inherit = AWS.util.inherit;
/**
@@ -30776,10 +33274,10 @@ module.exports = AWS.Signers.S3;
/***/ }),
-/***/ 28489:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 45790:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var inherit = AWS.util.inherit;
/**
@@ -30831,10 +33329,10 @@ module.exports = AWS.Signers.V2;
/***/ }),
-/***/ 66458:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 29533:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var inherit = AWS.util.inherit;
/**
@@ -30915,13 +33413,13 @@ module.exports = AWS.Signers.V3;
/***/ }),
-/***/ 24473:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 27696:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var inherit = AWS.util.inherit;
-__webpack_require__(66458);
+__nccwpck_require__(29533);
/**
* @api private
@@ -30947,11 +33445,11 @@ module.exports = AWS.Signers.V3Https;
/***/ }),
-/***/ 26529:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 10184:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var v4Credentials = __webpack_require__(62660);
+var AWS = __nccwpck_require__(60085);
+var v4Credentials = __nccwpck_require__(76445);
var inherit = AWS.util.inherit;
/**
@@ -31169,10 +33667,10 @@ module.exports = AWS.Signers.V4;
/***/ }),
-/***/ 62660:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 76445:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* @api private
@@ -31276,7 +33774,7 @@ module.exports = {
/***/ }),
-/***/ 68118:
+/***/ 76435:
/***/ ((module) => {
function AcceptorStateMachine(states, state) {
@@ -31328,10 +33826,10 @@ module.exports = AcceptorStateMachine;
/***/ }),
-/***/ 82647:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 64065:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* Represents AWS token object, which contains {token}, and optional
@@ -31554,13 +34052,13 @@ AWS.util.addPromises(AWS.Token);
/***/ }),
-/***/ 90327:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 85439:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
-var crypto = __webpack_require__(76417);
-var fs = __webpack_require__(35747);
-var path = __webpack_require__(85622);
+var AWS = __nccwpck_require__(60085);
+var crypto = __nccwpck_require__(76982);
+var fs = __nccwpck_require__(79896);
+var path = __nccwpck_require__(16928);
var iniLoader = AWS.util.iniLoader;
// Tracking refresh attempt to ensure refresh is not attempted more than once every 30 seconds.
@@ -31681,7 +34179,7 @@ AWS.SSOTokenProvider = AWS.util.inherit(AWS.Token, {
);
} else if (!profile['sso_session']) {
throw AWS.util.error(
- new Error('Profile "' + profileName + '" is missing required property "sso_session".'),
+ new Error('Profile "' + this.profile + '" is missing required property "sso_session".'),
{ code: 'SSOTokenProviderFailure' }
);
}
@@ -31697,12 +34195,12 @@ AWS.SSOTokenProvider = AWS.util.inherit(AWS.Token, {
);
} else if (!ssoSession['sso_start_url']) {
throw AWS.util.error(
- new Error('Sso session "' + profileName + '" is missing required property "sso_start_url".'),
+ new Error('Sso session "' + this.profile + '" is missing required property "sso_start_url".'),
{ code: 'SSOTokenProviderFailure' }
);
} else if (!ssoSession['sso_region']) {
throw AWS.util.error(
- new Error('Sso session "' + profileName + '" is missing required property "sso_region".'),
+ new Error('Sso session "' + this.profile + '" is missing required property "sso_region".'),
{ code: 'SSOTokenProviderFailure' }
);
}
@@ -31806,10 +34304,10 @@ AWS.SSOTokenProvider = AWS.util.inherit(AWS.Token, {
/***/ }),
-/***/ 50126:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 51893:
+/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
/**
* Creates a token provider chain that searches for token in a list of
@@ -31978,8 +34476,8 @@ AWS.util.addPromises(AWS.TokenProviderChain);
/***/ }),
-/***/ 77985:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 65742:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/* eslint guard-for-in:0 */
var AWS;
@@ -32014,7 +34512,7 @@ var util = {
userAgent: function userAgent() {
var name = util.environment;
- var agent = 'aws-sdk-' + name + '/' + __webpack_require__(28437).VERSION;
+ var agent = 'aws-sdk-' + name + '/' + (__nccwpck_require__(60085).VERSION);
if (name === 'nodejs') agent += ' ' + util.engine();
return agent;
},
@@ -32075,7 +34573,7 @@ var util = {
readFileSync: function readFileSync(path) {
if (util.isBrowser()) return null;
- return __webpack_require__(35747).readFileSync(path, 'utf-8');
+ return (__nccwpck_require__(79896).readFileSync)(path, 'utf-8');
},
base64: {
@@ -32178,7 +34676,7 @@ var util = {
} else if (typeof string.size === 'number') {
return string.size;
} else if (typeof string.path === 'string') {
- return __webpack_require__(35747).lstatSync(string.path).size;
+ return (__nccwpck_require__(79896).lstatSync)(string.path).size;
} else {
throw util.error(new Error('Cannot determine length of ' + string),
{ object: string });
@@ -32264,7 +34762,7 @@ var util = {
* requests.
*/
getDate: function getDate() {
- if (!AWS) AWS = __webpack_require__(28437);
+ if (!AWS) AWS = __nccwpck_require__(60085);
if (AWS.config.systemClockOffset) { // use offset when non-zero
return new Date(new Date().getTime() + AWS.config.systemClockOffset);
} else {
@@ -32593,7 +35091,25 @@ var util = {
err.name = String(options && options.name || err.name || err.code || 'Error');
err.time = new Date();
- if (originalError) err.originalError = originalError;
+ if (originalError) {
+ err.originalError = originalError;
+ }
+
+
+ for (var key in options || {}) {
+ if (key[0] === '[' && key[key.length - 1] === ']') {
+ key = key.slice(1, -1);
+ if (key === 'code' || key === 'message') {
+ continue;
+ }
+ err['[' + key + ']'] = 'See error.' + key + ' for details.';
+ Object.defineProperty(err, key, {
+ value: err[key] || (options && options[key]) || (originalError && originalError[key]),
+ enumerable: false,
+ writable: true
+ });
+ }
+ }
return err;
},
@@ -32721,7 +35237,7 @@ var util = {
computeSha256: function computeSha256(body, done) {
if (util.isNode()) {
var Stream = util.stream.Stream;
- var fs = __webpack_require__(35747);
+ var fs = __nccwpck_require__(79896);
if (typeof Stream === 'function' && body instanceof Stream) {
if (typeof body.path === 'string') { // assume file object
var settings = {};
@@ -32837,7 +35353,7 @@ var util = {
*/
isDualstackAvailable: function isDualstackAvailable(service) {
if (!service) return false;
- var metadata = __webpack_require__(49497);
+ var metadata = __nccwpck_require__(15087);
if (typeof service !== 'string') service = service.serviceIdentifier;
if (typeof service !== 'string' || !metadata.hasOwnProperty(service)) return false;
return !!metadata[service].dualstackAvailable;
@@ -32913,7 +35429,7 @@ var util = {
*/
uuid: {
v4: function uuidV4() {
- return __webpack_require__(57821).v4();
+ return (__nccwpck_require__(95960).v4)();
}
},
@@ -33054,12 +35570,12 @@ module.exports = util;
/***/ }),
-/***/ 23546:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 8665:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var util = __webpack_require__(77985);
-var XmlNode = __webpack_require__(20397).XmlNode;
-var XmlText = __webpack_require__(90971).XmlText;
+var util = __nccwpck_require__(65742);
+var XmlNode = (__nccwpck_require__(720).XmlNode);
+var XmlText = (__nccwpck_require__(43035).XmlText);
function XmlBuilder() { }
@@ -33163,7 +35679,7 @@ module.exports = XmlBuilder;
/***/ }),
-/***/ 98241:
+/***/ 7374:
/***/ ((module) => {
/**
@@ -33183,7 +35699,7 @@ module.exports = {
/***/ }),
-/***/ 98464:
+/***/ 5090:
/***/ ((module) => {
/**
@@ -33209,14 +35725,14 @@ module.exports = {
/***/ }),
-/***/ 96752:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 26236:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var AWS = __webpack_require__(28437);
+var AWS = __nccwpck_require__(60085);
var util = AWS.util;
var Shape = AWS.Model.Shape;
-var xml2js = __webpack_require__(66189);
+var xml2js = __nccwpck_require__(758);
/**
* @api private
@@ -33379,10 +35895,10 @@ module.exports = NodeXmlParser;
/***/ }),
-/***/ 20397:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 720:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var escapeAttribute = __webpack_require__(98241).escapeAttribute;
+var escapeAttribute = (__nccwpck_require__(7374).escapeAttribute);
/**
* Represents an XML node.
@@ -33431,10 +35947,10 @@ module.exports = {
/***/ }),
-/***/ 90971:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 43035:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var escapeElement = __webpack_require__(98464).escapeElement;
+var escapeElement = (__nccwpck_require__(5090).escapeElement);
/**
* Represents an XML text value.
@@ -33458,7 +35974,7 @@ module.exports = {
/***/ }),
-/***/ 35827:
+/***/ 59685:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -33467,7 +35983,7 @@ module.exports = {
Object.defineProperty(exports, "__esModule", ({
value: true
}));
-exports.default = void 0;
+exports["default"] = void 0;
/**
* Convert array of 16 byte values to UUID string format of the form:
@@ -33487,12 +36003,12 @@ function bytesToUuid(buf, offset) {
}
var _default = bytesToUuid;
-exports.default = _default;
+exports["default"] = _default;
/***/ }),
-/***/ 57821:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 95960:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
var __webpack_unused_export__;
@@ -33526,20 +36042,20 @@ __webpack_unused_export__ = ({
}
});
-var _v = _interopRequireDefault(__webpack_require__(67668));
+var _v = _interopRequireDefault(__nccwpck_require__(7607));
-var _v2 = _interopRequireDefault(__webpack_require__(98573));
+var _v2 = _interopRequireDefault(__nccwpck_require__(35289));
-var _v3 = _interopRequireDefault(__webpack_require__(7811));
+var _v3 = _interopRequireDefault(__nccwpck_require__(76460));
-var _v4 = _interopRequireDefault(__webpack_require__(46508));
+var _v4 = _interopRequireDefault(__nccwpck_require__(26195));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/***/ }),
-/***/ 93525:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 11216:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -33547,9 +36063,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
Object.defineProperty(exports, "__esModule", ({
value: true
}));
-exports.default = void 0;
+exports["default"] = void 0;
-var _crypto = _interopRequireDefault(__webpack_require__(76417));
+var _crypto = _interopRequireDefault(__nccwpck_require__(76982));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -33564,12 +36080,12 @@ function md5(bytes) {
}
var _default = md5;
-exports.default = _default;
+exports["default"] = _default;
/***/ }),
-/***/ 49788:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 34933:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -33577,9 +36093,9 @@ exports.default = _default;
Object.defineProperty(exports, "__esModule", ({
value: true
}));
-exports.default = rng;
+exports["default"] = rng;
-var _crypto = _interopRequireDefault(__webpack_require__(76417));
+var _crypto = _interopRequireDefault(__nccwpck_require__(76982));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -33589,8 +36105,8 @@ function rng() {
/***/ }),
-/***/ 7387:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 4435:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -33598,9 +36114,9 @@ function rng() {
Object.defineProperty(exports, "__esModule", ({
value: true
}));
-exports.default = void 0;
+exports["default"] = void 0;
-var _crypto = _interopRequireDefault(__webpack_require__(76417));
+var _crypto = _interopRequireDefault(__nccwpck_require__(76982));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -33615,12 +36131,12 @@ function sha1(bytes) {
}
var _default = sha1;
-exports.default = _default;
+exports["default"] = _default;
/***/ }),
-/***/ 67668:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 7607:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -33628,11 +36144,11 @@ exports.default = _default;
Object.defineProperty(exports, "__esModule", ({
value: true
}));
-exports.default = void 0;
+exports["default"] = void 0;
-var _rng = _interopRequireDefault(__webpack_require__(49788));
+var _rng = _interopRequireDefault(__nccwpck_require__(34933));
-var _bytesToUuid = _interopRequireDefault(__webpack_require__(35827));
+var _bytesToUuid = _interopRequireDefault(__nccwpck_require__(59685));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -33729,12 +36245,12 @@ function v1(options, buf, offset) {
}
var _default = v1;
-exports.default = _default;
+exports["default"] = _default;
/***/ }),
-/***/ 98573:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 35289:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -33742,22 +36258,22 @@ exports.default = _default;
Object.defineProperty(exports, "__esModule", ({
value: true
}));
-exports.default = void 0;
+exports["default"] = void 0;
-var _v = _interopRequireDefault(__webpack_require__(36097));
+var _v = _interopRequireDefault(__nccwpck_require__(25786));
-var _md = _interopRequireDefault(__webpack_require__(93525));
+var _md = _interopRequireDefault(__nccwpck_require__(11216));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const v3 = (0, _v.default)('v3', 0x30, _md.default);
var _default = v3;
-exports.default = _default;
+exports["default"] = _default;
/***/ }),
-/***/ 36097:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 25786:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -33765,10 +36281,10 @@ exports.default = _default;
Object.defineProperty(exports, "__esModule", ({
value: true
}));
-exports.default = _default;
+exports["default"] = _default;
exports.URL = exports.DNS = void 0;
-var _bytesToUuid = _interopRequireDefault(__webpack_require__(35827));
+var _bytesToUuid = _interopRequireDefault(__nccwpck_require__(59685));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -33832,8 +36348,8 @@ function _default(name, version, hashfunc) {
/***/ }),
-/***/ 7811:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 76460:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -33841,11 +36357,11 @@ function _default(name, version, hashfunc) {
Object.defineProperty(exports, "__esModule", ({
value: true
}));
-exports.default = void 0;
+exports["default"] = void 0;
-var _rng = _interopRequireDefault(__webpack_require__(49788));
+var _rng = _interopRequireDefault(__nccwpck_require__(34933));
-var _bytesToUuid = _interopRequireDefault(__webpack_require__(35827));
+var _bytesToUuid = _interopRequireDefault(__nccwpck_require__(59685));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -33875,12 +36391,12 @@ function v4(options, buf, offset) {
}
var _default = v4;
-exports.default = _default;
+exports["default"] = _default;
/***/ }),
-/***/ 46508:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 26195:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -33888,28 +36404,28 @@ exports.default = _default;
Object.defineProperty(exports, "__esModule", ({
value: true
}));
-exports.default = void 0;
+exports["default"] = void 0;
-var _v = _interopRequireDefault(__webpack_require__(36097));
+var _v = _interopRequireDefault(__nccwpck_require__(25786));
-var _sha = _interopRequireDefault(__webpack_require__(7387));
+var _sha = _interopRequireDefault(__nccwpck_require__(4435));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const v5 = (0, _v.default)('v5', 0x50, _sha.default);
var _default = v5;
-exports.default = _default;
+exports["default"] = _default;
/***/ }),
-/***/ 96323:
-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+/***/ 3846:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
var __webpack_unused_export__;
__webpack_unused_export__ = ({ value: true });
-var LRU_1 = __webpack_require__(77710);
+var LRU_1 = __nccwpck_require__(12309);
var CACHE_SIZE = 1000;
/**
* Inspired node-lru-cache[https://github.com/isaacs/node-lru-cache]
@@ -33978,11 +36494,11 @@ var EndpointCache = /** @class */ (function () {
};
return EndpointCache;
}());
-exports.$ = EndpointCache;
+exports.k = EndpointCache;
/***/ }),
-/***/ 77710:
+/***/ 12309:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -34096,12 +36612,12 @@ exports.LRUCache = LRUCache;
/***/ }),
-/***/ 83682:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+/***/ 52732:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-var register = __webpack_require__(56190);
-var addHook = __webpack_require__(5549);
-var removeHook = __webpack_require__(6819);
+var register = __nccwpck_require__(11063);
+var addHook = __nccwpck_require__(22027);
+var removeHook = __nccwpck_require__(59934);
// bind with array of arguments: https://stackoverflow.com/a/21792913
var bind = Function.bind;
@@ -34164,7 +36680,7 @@ module.exports.Collection = Hook.Collection;
/***/ }),
-/***/ 5549:
+/***/ 22027:
/***/ ((module) => {
module.exports = addHook;
@@ -34217,7 +36733,7 @@ function addHook(state, kind, name, hook) {
/***/ }),
-/***/ 56190:
+/***/ 11063:
/***/ ((module) => {
module.exports = register;
@@ -34251,7 +36767,7 @@ function register(state, name, method, options) {
/***/ }),
-/***/ 6819:
+/***/ 59934:
/***/ ((module) => {
module.exports = removeHook;
@@ -34277,23834 +36793,32728 @@ function removeHook(state, name, method) {
/***/ }),
-/***/ 58932:
-/***/ ((__unused_webpack_module, exports) => {
+/***/ 39732:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
+/*jshint node:true */
+var Buffer = (__nccwpck_require__(20181).Buffer); // browserify
+var SlowBuffer = (__nccwpck_require__(20181).SlowBuffer);
-Object.defineProperty(exports, "__esModule", ({ value: true }));
-
-class Deprecation extends Error {
- constructor(message) {
- super(message); // Maintains proper stack trace (only available on V8)
+module.exports = bufferEq;
- /* istanbul ignore next */
+function bufferEq(a, b) {
- if (Error.captureStackTrace) {
- Error.captureStackTrace(this, this.constructor);
- }
+ // shortcutting on type is necessary for correctness
+ if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
+ return false;
+ }
- this.name = 'Deprecation';
+ // buffer sizes should be well-known information, so despite this
+ // shortcutting, it doesn't leak any information about the *contents* of the
+ // buffers.
+ if (a.length !== b.length) {
+ return false;
}
+ var c = 0;
+ for (var i = 0; i < a.length; i++) {
+ /*jshint bitwise:false */
+ c |= a[i] ^ b[i]; // XOR
+ }
+ return c === 0;
}
-exports.Deprecation = Deprecation;
+bufferEq.install = function() {
+ Buffer.prototype.equal = SlowBuffer.prototype.equal = function equal(that) {
+ return bufferEq(this, that);
+ };
+};
+
+var origBufEqual = Buffer.prototype.equal;
+var origSlowBufEqual = SlowBuffer.prototype.equal;
+bufferEq.restore = function() {
+ Buffer.prototype.equal = origBufEqual;
+ SlowBuffer.prototype.equal = origSlowBufEqual;
+};
/***/ }),
-/***/ 63287:
-/***/ ((__unused_webpack_module, exports) => {
+/***/ 22639:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
-Object.defineProperty(exports, "__esModule", ({ value: true }));
+var bind = __nccwpck_require__(37564);
-/*!
- * is-plain-object
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */
+var $apply = __nccwpck_require__(33945);
+var $call = __nccwpck_require__(88093);
+var $reflectApply = __nccwpck_require__(31330);
-function isObject(o) {
- return Object.prototype.toString.call(o) === '[object Object]';
-}
+/** @type {import('./actualApply')} */
+module.exports = $reflectApply || bind.call($call, $apply);
-function isPlainObject(o) {
- var ctor,prot;
- if (isObject(o) === false) return false;
+/***/ }),
- // If has modified constructor
- ctor = o.constructor;
- if (ctor === undefined) return true;
+/***/ 33945:
+/***/ ((module) => {
- // If has modified prototype
- prot = ctor.prototype;
- if (isObject(prot) === false) return false;
+"use strict";
- // If constructor does not have an Object-specific method
- if (prot.hasOwnProperty('isPrototypeOf') === false) {
- return false;
- }
- // Most likely a plain Object
- return true;
-}
+/** @type {import('./functionApply')} */
+module.exports = Function.prototype.apply;
+
+
+/***/ }),
+
+/***/ 88093:
+/***/ ((module) => {
+
+"use strict";
-exports.isPlainObject = isPlainObject;
+
+/** @type {import('./functionCall')} */
+module.exports = Function.prototype.call;
/***/ }),
-/***/ 87783:
-/***/ ((__unused_webpack_module, exports) => {
+/***/ 88705:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-(function(exports) {
- "use strict";
+"use strict";
- function isArray(obj) {
- if (obj !== null) {
- return Object.prototype.toString.call(obj) === "[object Array]";
- } else {
- return false;
- }
- }
- function isObject(obj) {
- if (obj !== null) {
- return Object.prototype.toString.call(obj) === "[object Object]";
- } else {
- return false;
- }
+var bind = __nccwpck_require__(37564);
+var $TypeError = __nccwpck_require__(73314);
+
+var $call = __nccwpck_require__(88093);
+var $actualApply = __nccwpck_require__(22639);
+
+/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
+module.exports = function callBindBasic(args) {
+ if (args.length < 1 || typeof args[0] !== 'function') {
+ throw new $TypeError('a function is required');
+ }
+ return $actualApply(bind, $call, args);
+};
+
+
+/***/ }),
+
+/***/ 31330:
+/***/ ((module) => {
+
+"use strict";
+
+
+/** @type {import('./reflectApply')} */
+module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
+
+
+/***/ }),
+
+/***/ 35630:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var util = __nccwpck_require__(39023);
+var Stream = (__nccwpck_require__(2203).Stream);
+var DelayedStream = __nccwpck_require__(72710);
+
+module.exports = CombinedStream;
+function CombinedStream() {
+ this.writable = false;
+ this.readable = true;
+ this.dataSize = 0;
+ this.maxDataSize = 2 * 1024 * 1024;
+ this.pauseStreams = true;
+
+ this._released = false;
+ this._streams = [];
+ this._currentStream = null;
+ this._insideLoop = false;
+ this._pendingNext = false;
+}
+util.inherits(CombinedStream, Stream);
+
+CombinedStream.create = function(options) {
+ var combinedStream = new this();
+
+ options = options || {};
+ for (var option in options) {
+ combinedStream[option] = options[option];
}
- function strictDeepEqual(first, second) {
- // Check the scalar case first.
- if (first === second) {
- return true;
- }
+ return combinedStream;
+};
- // Check if they are the same type.
- var firstType = Object.prototype.toString.call(first);
- if (firstType !== Object.prototype.toString.call(second)) {
- return false;
- }
- // We know that first and second have the same type so we can just check the
- // first type from now on.
- if (isArray(first) === true) {
- // Short circuit if they're not the same length;
- if (first.length !== second.length) {
- return false;
- }
- for (var i = 0; i < first.length; i++) {
- if (strictDeepEqual(first[i], second[i]) === false) {
- return false;
- }
- }
- return true;
- }
- if (isObject(first) === true) {
- // An object is equal if it has the same key/value pairs.
- var keysSeen = {};
- for (var key in first) {
- if (hasOwnProperty.call(first, key)) {
- if (strictDeepEqual(first[key], second[key]) === false) {
- return false;
- }
- keysSeen[key] = true;
- }
- }
- // Now check that there aren't any keys in second that weren't
- // in first.
- for (var key2 in second) {
- if (hasOwnProperty.call(second, key2)) {
- if (keysSeen[key2] !== true) {
- return false;
- }
- }
- }
- return true;
+CombinedStream.isStreamLike = function(stream) {
+ return (typeof stream !== 'function')
+ && (typeof stream !== 'string')
+ && (typeof stream !== 'boolean')
+ && (typeof stream !== 'number')
+ && (!Buffer.isBuffer(stream));
+};
+
+CombinedStream.prototype.append = function(stream) {
+ var isStreamLike = CombinedStream.isStreamLike(stream);
+
+ if (isStreamLike) {
+ if (!(stream instanceof DelayedStream)) {
+ var newStream = DelayedStream.create(stream, {
+ maxDataSize: Infinity,
+ pauseStream: this.pauseStreams,
+ });
+ stream.on('data', this._checkDataSize.bind(this));
+ stream = newStream;
}
- return false;
- }
- function isFalse(obj) {
- // From the spec:
- // A false value corresponds to the following values:
- // Empty list
- // Empty object
- // Empty string
- // False boolean
- // null value
+ this._handleErrors(stream);
- // First check the scalar values.
- if (obj === "" || obj === false || obj === null) {
- return true;
- } else if (isArray(obj) && obj.length === 0) {
- // Check for an empty array.
- return true;
- } else if (isObject(obj)) {
- // Check for an empty object.
- for (var key in obj) {
- // If there are any keys, then
- // the object is not empty so the object
- // is not false.
- if (obj.hasOwnProperty(key)) {
- return false;
- }
- }
- return true;
- } else {
- return false;
+ if (this.pauseStreams) {
+ stream.pause();
}
}
- function objValues(obj) {
- var keys = Object.keys(obj);
- var values = [];
- for (var i = 0; i < keys.length; i++) {
- values.push(obj[keys[i]]);
- }
- return values;
+ this._streams.push(stream);
+ return this;
+};
+
+CombinedStream.prototype.pipe = function(dest, options) {
+ Stream.prototype.pipe.call(this, dest, options);
+ this.resume();
+ return dest;
+};
+
+CombinedStream.prototype._getNext = function() {
+ this._currentStream = null;
+
+ if (this._insideLoop) {
+ this._pendingNext = true;
+ return; // defer call
}
- function merge(a, b) {
- var merged = {};
- for (var key in a) {
- merged[key] = a[key];
- }
- for (var key2 in b) {
- merged[key2] = b[key2];
- }
- return merged;
+ this._insideLoop = true;
+ try {
+ do {
+ this._pendingNext = false;
+ this._realGetNext();
+ } while (this._pendingNext);
+ } finally {
+ this._insideLoop = false;
}
+};
- var trimLeft;
- if (typeof String.prototype.trimLeft === "function") {
- trimLeft = function(str) {
- return str.trimLeft();
- };
- } else {
- trimLeft = function(str) {
- return str.match(/^\s*(.*)/)[1];
- };
+CombinedStream.prototype._realGetNext = function() {
+ var stream = this._streams.shift();
+
+
+ if (typeof stream == 'undefined') {
+ this.end();
+ return;
}
- // Type constants used to define functions.
- var TYPE_NUMBER = 0;
- var TYPE_ANY = 1;
- var TYPE_STRING = 2;
- var TYPE_ARRAY = 3;
- var TYPE_OBJECT = 4;
- var TYPE_BOOLEAN = 5;
- var TYPE_EXPREF = 6;
- var TYPE_NULL = 7;
- var TYPE_ARRAY_NUMBER = 8;
- var TYPE_ARRAY_STRING = 9;
- var TYPE_NAME_TABLE = {
- 0: 'number',
- 1: 'any',
- 2: 'string',
- 3: 'array',
- 4: 'object',
- 5: 'boolean',
- 6: 'expression',
- 7: 'null',
- 8: 'Array',
- 9: 'Array'
- };
+ if (typeof stream !== 'function') {
+ this._pipeNext(stream);
+ return;
+ }
- var TOK_EOF = "EOF";
- var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier";
- var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier";
- var TOK_RBRACKET = "Rbracket";
- var TOK_RPAREN = "Rparen";
- var TOK_COMMA = "Comma";
- var TOK_COLON = "Colon";
- var TOK_RBRACE = "Rbrace";
- var TOK_NUMBER = "Number";
- var TOK_CURRENT = "Current";
- var TOK_EXPREF = "Expref";
- var TOK_PIPE = "Pipe";
- var TOK_OR = "Or";
- var TOK_AND = "And";
- var TOK_EQ = "EQ";
- var TOK_GT = "GT";
- var TOK_LT = "LT";
- var TOK_GTE = "GTE";
- var TOK_LTE = "LTE";
- var TOK_NE = "NE";
- var TOK_FLATTEN = "Flatten";
- var TOK_STAR = "Star";
- var TOK_FILTER = "Filter";
- var TOK_DOT = "Dot";
- var TOK_NOT = "Not";
- var TOK_LBRACE = "Lbrace";
- var TOK_LBRACKET = "Lbracket";
- var TOK_LPAREN= "Lparen";
- var TOK_LITERAL= "Literal";
+ var getStream = stream;
+ getStream(function(stream) {
+ var isStreamLike = CombinedStream.isStreamLike(stream);
+ if (isStreamLike) {
+ stream.on('data', this._checkDataSize.bind(this));
+ this._handleErrors(stream);
+ }
- // The "&", "[", "<", ">" tokens
- // are not in basicToken because
- // there are two token variants
- // ("&&", "[?", "<=", ">="). This is specially handled
- // below.
+ this._pipeNext(stream);
+ }.bind(this));
+};
- var basicTokens = {
- ".": TOK_DOT,
- "*": TOK_STAR,
- ",": TOK_COMMA,
- ":": TOK_COLON,
- "{": TOK_LBRACE,
- "}": TOK_RBRACE,
- "]": TOK_RBRACKET,
- "(": TOK_LPAREN,
- ")": TOK_RPAREN,
- "@": TOK_CURRENT
- };
+CombinedStream.prototype._pipeNext = function(stream) {
+ this._currentStream = stream;
- var operatorStartToken = {
- "<": true,
- ">": true,
- "=": true,
- "!": true
- };
+ var isStreamLike = CombinedStream.isStreamLike(stream);
+ if (isStreamLike) {
+ stream.on('end', this._getNext.bind(this));
+ stream.pipe(this, {end: false});
+ return;
+ }
- var skipChars = {
- " ": true,
- "\t": true,
- "\n": true
- };
+ var value = stream;
+ this.write(value);
+ this._getNext();
+};
+CombinedStream.prototype._handleErrors = function(stream) {
+ var self = this;
+ stream.on('error', function(err) {
+ self._emitError(err);
+ });
+};
- function isAlpha(ch) {
- return (ch >= "a" && ch <= "z") ||
- (ch >= "A" && ch <= "Z") ||
- ch === "_";
- }
+CombinedStream.prototype.write = function(data) {
+ this.emit('data', data);
+};
- function isNum(ch) {
- return (ch >= "0" && ch <= "9") ||
- ch === "-";
- }
- function isAlphaNum(ch) {
- return (ch >= "a" && ch <= "z") ||
- (ch >= "A" && ch <= "Z") ||
- (ch >= "0" && ch <= "9") ||
- ch === "_";
+CombinedStream.prototype.pause = function() {
+ if (!this.pauseStreams) {
+ return;
}
- function Lexer() {
- }
- Lexer.prototype = {
- tokenize: function(stream) {
- var tokens = [];
- this._current = 0;
- var start;
- var identifier;
- var token;
- while (this._current < stream.length) {
- if (isAlpha(stream[this._current])) {
- start = this._current;
- identifier = this._consumeUnquotedIdentifier(stream);
- tokens.push({type: TOK_UNQUOTEDIDENTIFIER,
- value: identifier,
- start: start});
- } else if (basicTokens[stream[this._current]] !== undefined) {
- tokens.push({type: basicTokens[stream[this._current]],
- value: stream[this._current],
- start: this._current});
- this._current++;
- } else if (isNum(stream[this._current])) {
- token = this._consumeNumber(stream);
- tokens.push(token);
- } else if (stream[this._current] === "[") {
- // No need to increment this._current. This happens
- // in _consumeLBracket
- token = this._consumeLBracket(stream);
- tokens.push(token);
- } else if (stream[this._current] === "\"") {
- start = this._current;
- identifier = this._consumeQuotedIdentifier(stream);
- tokens.push({type: TOK_QUOTEDIDENTIFIER,
- value: identifier,
- start: start});
- } else if (stream[this._current] === "'") {
- start = this._current;
- identifier = this._consumeRawStringLiteral(stream);
- tokens.push({type: TOK_LITERAL,
- value: identifier,
- start: start});
- } else if (stream[this._current] === "`") {
- start = this._current;
- var literal = this._consumeLiteral(stream);
- tokens.push({type: TOK_LITERAL,
- value: literal,
- start: start});
- } else if (operatorStartToken[stream[this._current]] !== undefined) {
- tokens.push(this._consumeOperator(stream));
- } else if (skipChars[stream[this._current]] !== undefined) {
- // Ignore whitespace.
- this._current++;
- } else if (stream[this._current] === "&") {
- start = this._current;
- this._current++;
- if (stream[this._current] === "&") {
- this._current++;
- tokens.push({type: TOK_AND, value: "&&", start: start});
- } else {
- tokens.push({type: TOK_EXPREF, value: "&", start: start});
- }
- } else if (stream[this._current] === "|") {
- start = this._current;
- this._current++;
- if (stream[this._current] === "|") {
- this._current++;
- tokens.push({type: TOK_OR, value: "||", start: start});
- } else {
- tokens.push({type: TOK_PIPE, value: "|", start: start});
- }
- } else {
- var error = new Error("Unknown character:" + stream[this._current]);
- error.name = "LexerError";
- throw error;
- }
- }
- return tokens;
- },
+ if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause();
+ this.emit('pause');
+};
- _consumeUnquotedIdentifier: function(stream) {
- var start = this._current;
- this._current++;
- while (this._current < stream.length && isAlphaNum(stream[this._current])) {
- this._current++;
- }
- return stream.slice(start, this._current);
- },
+CombinedStream.prototype.resume = function() {
+ if (!this._released) {
+ this._released = true;
+ this.writable = true;
+ this._getNext();
+ }
- _consumeQuotedIdentifier: function(stream) {
- var start = this._current;
- this._current++;
- var maxLength = stream.length;
- while (stream[this._current] !== "\"" && this._current < maxLength) {
- // You can escape a double quote and you can escape an escape.
- var current = this._current;
- if (stream[current] === "\\" && (stream[current + 1] === "\\" ||
- stream[current + 1] === "\"")) {
- current += 2;
- } else {
- current++;
- }
- this._current = current;
- }
- this._current++;
- return JSON.parse(stream.slice(start, this._current));
- },
+ if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume();
+ this.emit('resume');
+};
- _consumeRawStringLiteral: function(stream) {
- var start = this._current;
- this._current++;
- var maxLength = stream.length;
- while (stream[this._current] !== "'" && this._current < maxLength) {
- // You can escape a single quote and you can escape an escape.
- var current = this._current;
- if (stream[current] === "\\" && (stream[current + 1] === "\\" ||
- stream[current + 1] === "'")) {
- current += 2;
- } else {
- current++;
- }
- this._current = current;
- }
- this._current++;
- var literal = stream.slice(start + 1, this._current - 1);
- return literal.replace("\\'", "'");
- },
+CombinedStream.prototype.end = function() {
+ this._reset();
+ this.emit('end');
+};
- _consumeNumber: function(stream) {
- var start = this._current;
- this._current++;
- var maxLength = stream.length;
- while (isNum(stream[this._current]) && this._current < maxLength) {
- this._current++;
- }
- var value = parseInt(stream.slice(start, this._current));
- return {type: TOK_NUMBER, value: value, start: start};
- },
+CombinedStream.prototype.destroy = function() {
+ this._reset();
+ this.emit('close');
+};
- _consumeLBracket: function(stream) {
- var start = this._current;
- this._current++;
- if (stream[this._current] === "?") {
- this._current++;
- return {type: TOK_FILTER, value: "[?", start: start};
- } else if (stream[this._current] === "]") {
- this._current++;
- return {type: TOK_FLATTEN, value: "[]", start: start};
- } else {
- return {type: TOK_LBRACKET, value: "[", start: start};
- }
- },
+CombinedStream.prototype._reset = function() {
+ this.writable = false;
+ this._streams = [];
+ this._currentStream = null;
+};
- _consumeOperator: function(stream) {
- var start = this._current;
- var startingChar = stream[start];
- this._current++;
- if (startingChar === "!") {
- if (stream[this._current] === "=") {
- this._current++;
- return {type: TOK_NE, value: "!=", start: start};
- } else {
- return {type: TOK_NOT, value: "!", start: start};
- }
- } else if (startingChar === "<") {
- if (stream[this._current] === "=") {
- this._current++;
- return {type: TOK_LTE, value: "<=", start: start};
- } else {
- return {type: TOK_LT, value: "<", start: start};
- }
- } else if (startingChar === ">") {
- if (stream[this._current] === "=") {
- this._current++;
- return {type: TOK_GTE, value: ">=", start: start};
- } else {
- return {type: TOK_GT, value: ">", start: start};
- }
- } else if (startingChar === "=") {
- if (stream[this._current] === "=") {
- this._current++;
- return {type: TOK_EQ, value: "==", start: start};
- }
- }
- },
+CombinedStream.prototype._checkDataSize = function() {
+ this._updateDataSize();
+ if (this.dataSize <= this.maxDataSize) {
+ return;
+ }
- _consumeLiteral: function(stream) {
- this._current++;
- var start = this._current;
- var maxLength = stream.length;
- var literal;
- while(stream[this._current] !== "`" && this._current < maxLength) {
- // You can escape a literal char or you can escape the escape.
- var current = this._current;
- if (stream[current] === "\\" && (stream[current + 1] === "\\" ||
- stream[current + 1] === "`")) {
- current += 2;
- } else {
- current++;
- }
- this._current = current;
- }
- var literalString = trimLeft(stream.slice(start, this._current));
- literalString = literalString.replace("\\`", "`");
- if (this._looksLikeJSON(literalString)) {
- literal = JSON.parse(literalString);
- } else {
- // Try to JSON parse it as ""
- literal = JSON.parse("\"" + literalString + "\"");
- }
- // +1 gets us to the ending "`", +1 to move on to the next char.
- this._current++;
- return literal;
- },
+ var message =
+ 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.';
+ this._emitError(new Error(message));
+};
- _looksLikeJSON: function(literalString) {
- var startingChars = "[{\"";
- var jsonLiterals = ["true", "false", "null"];
- var numberLooking = "-0123456789";
+CombinedStream.prototype._updateDataSize = function() {
+ this.dataSize = 0;
- if (literalString === "") {
- return false;
- } else if (startingChars.indexOf(literalString[0]) >= 0) {
- return true;
- } else if (jsonLiterals.indexOf(literalString) >= 0) {
- return true;
- } else if (numberLooking.indexOf(literalString[0]) >= 0) {
- try {
- JSON.parse(literalString);
- return true;
- } catch (ex) {
- return false;
- }
- } else {
- return false;
- }
- }
- };
+ var self = this;
+ this._streams.forEach(function(stream) {
+ if (!stream.dataSize) {
+ return;
+ }
- var bindingPower = {};
- bindingPower[TOK_EOF] = 0;
- bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0;
- bindingPower[TOK_QUOTEDIDENTIFIER] = 0;
- bindingPower[TOK_RBRACKET] = 0;
- bindingPower[TOK_RPAREN] = 0;
- bindingPower[TOK_COMMA] = 0;
- bindingPower[TOK_RBRACE] = 0;
- bindingPower[TOK_NUMBER] = 0;
- bindingPower[TOK_CURRENT] = 0;
- bindingPower[TOK_EXPREF] = 0;
- bindingPower[TOK_PIPE] = 1;
- bindingPower[TOK_OR] = 2;
- bindingPower[TOK_AND] = 3;
- bindingPower[TOK_EQ] = 5;
- bindingPower[TOK_GT] = 5;
- bindingPower[TOK_LT] = 5;
- bindingPower[TOK_GTE] = 5;
- bindingPower[TOK_LTE] = 5;
- bindingPower[TOK_NE] = 5;
- bindingPower[TOK_FLATTEN] = 9;
- bindingPower[TOK_STAR] = 20;
- bindingPower[TOK_FILTER] = 21;
- bindingPower[TOK_DOT] = 40;
- bindingPower[TOK_NOT] = 45;
- bindingPower[TOK_LBRACE] = 50;
- bindingPower[TOK_LBRACKET] = 55;
- bindingPower[TOK_LPAREN] = 60;
+ self.dataSize += stream.dataSize;
+ });
- function Parser() {
+ if (this._currentStream && this._currentStream.dataSize) {
+ this.dataSize += this._currentStream.dataSize;
}
+};
- Parser.prototype = {
- parse: function(expression) {
- this._loadTokens(expression);
- this.index = 0;
- var ast = this.expression(0);
- if (this._lookahead(0) !== TOK_EOF) {
- var t = this._lookaheadToken(0);
- var error = new Error(
- "Unexpected token type: " + t.type + ", value: " + t.value);
- error.name = "ParserError";
- throw error;
- }
- return ast;
- },
+CombinedStream.prototype._emitError = function(err) {
+ this._reset();
+ this.emit('error', err);
+};
- _loadTokens: function(expression) {
- var lexer = new Lexer();
- var tokens = lexer.tokenize(expression);
- tokens.push({type: TOK_EOF, value: "", start: expression.length});
- this.tokens = tokens;
- },
- expression: function(rbp) {
- var leftToken = this._lookaheadToken(0);
- this._advance();
- var left = this.nud(leftToken);
- var currentToken = this._lookahead(0);
- while (rbp < bindingPower[currentToken]) {
- this._advance();
- left = this.led(currentToken, left);
- currentToken = this._lookahead(0);
- }
- return left;
- },
+/***/ }),
- _lookahead: function(number) {
- return this.tokens[this.index + number].type;
- },
+/***/ 6110:
+/***/ ((module, exports, __nccwpck_require__) => {
- _lookaheadToken: function(number) {
- return this.tokens[this.index + number];
- },
+/* eslint-env browser */
- _advance: function() {
- this.index++;
- },
+/**
+ * This is the web browser implementation of `debug()`.
+ */
- nud: function(token) {
- var left;
- var right;
- var expression;
- switch (token.type) {
- case TOK_LITERAL:
- return {type: "Literal", value: token.value};
- case TOK_UNQUOTEDIDENTIFIER:
- return {type: "Field", name: token.value};
- case TOK_QUOTEDIDENTIFIER:
- var node = {type: "Field", name: token.value};
- if (this._lookahead(0) === TOK_LPAREN) {
- throw new Error("Quoted identifier not allowed for function names.");
- }
- return node;
- case TOK_NOT:
- right = this.expression(bindingPower.Not);
- return {type: "NotExpression", children: [right]};
- case TOK_STAR:
- left = {type: "Identity"};
- right = null;
- if (this._lookahead(0) === TOK_RBRACKET) {
- // This can happen in a multiselect,
- // [a, b, *]
- right = {type: "Identity"};
- } else {
- right = this._parseProjectionRHS(bindingPower.Star);
- }
- return {type: "ValueProjection", children: [left, right]};
- case TOK_FILTER:
- return this.led(token.type, {type: "Identity"});
- case TOK_LBRACE:
- return this._parseMultiselectHash();
- case TOK_FLATTEN:
- left = {type: TOK_FLATTEN, children: [{type: "Identity"}]};
- right = this._parseProjectionRHS(bindingPower.Flatten);
- return {type: "Projection", children: [left, right]};
- case TOK_LBRACKET:
- if (this._lookahead(0) === TOK_NUMBER || this._lookahead(0) === TOK_COLON) {
- right = this._parseIndexExpression();
- return this._projectIfSlice({type: "Identity"}, right);
- } else if (this._lookahead(0) === TOK_STAR &&
- this._lookahead(1) === TOK_RBRACKET) {
- this._advance();
- this._advance();
- right = this._parseProjectionRHS(bindingPower.Star);
- return {type: "Projection",
- children: [{type: "Identity"}, right]};
- }
- return this._parseMultiselectList();
- case TOK_CURRENT:
- return {type: TOK_CURRENT};
- case TOK_EXPREF:
- expression = this.expression(bindingPower.Expref);
- return {type: "ExpressionReference", children: [expression]};
- case TOK_LPAREN:
- var args = [];
- while (this._lookahead(0) !== TOK_RPAREN) {
- if (this._lookahead(0) === TOK_CURRENT) {
- expression = {type: TOK_CURRENT};
- this._advance();
- } else {
- expression = this.expression(0);
- }
- args.push(expression);
- }
- this._match(TOK_RPAREN);
- return args[0];
- default:
- this._errorToken(token);
- }
- },
+exports.formatArgs = formatArgs;
+exports.save = save;
+exports.load = load;
+exports.useColors = useColors;
+exports.storage = localstorage();
+exports.destroy = (() => {
+ let warned = false;
+
+ return () => {
+ if (!warned) {
+ warned = true;
+ console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
+ }
+ };
+})();
- led: function(tokenName, left) {
- var right;
- switch(tokenName) {
- case TOK_DOT:
- var rbp = bindingPower.Dot;
- if (this._lookahead(0) !== TOK_STAR) {
- right = this._parseDotRHS(rbp);
- return {type: "Subexpression", children: [left, right]};
- }
- // Creating a projection.
- this._advance();
- right = this._parseProjectionRHS(rbp);
- return {type: "ValueProjection", children: [left, right]};
- case TOK_PIPE:
- right = this.expression(bindingPower.Pipe);
- return {type: TOK_PIPE, children: [left, right]};
- case TOK_OR:
- right = this.expression(bindingPower.Or);
- return {type: "OrExpression", children: [left, right]};
- case TOK_AND:
- right = this.expression(bindingPower.And);
- return {type: "AndExpression", children: [left, right]};
- case TOK_LPAREN:
- var name = left.name;
- var args = [];
- var expression, node;
- while (this._lookahead(0) !== TOK_RPAREN) {
- if (this._lookahead(0) === TOK_CURRENT) {
- expression = {type: TOK_CURRENT};
- this._advance();
- } else {
- expression = this.expression(0);
- }
- if (this._lookahead(0) === TOK_COMMA) {
- this._match(TOK_COMMA);
- }
- args.push(expression);
- }
- this._match(TOK_RPAREN);
- node = {type: "Function", name: name, children: args};
- return node;
- case TOK_FILTER:
- var condition = this.expression(0);
- this._match(TOK_RBRACKET);
- if (this._lookahead(0) === TOK_FLATTEN) {
- right = {type: "Identity"};
- } else {
- right = this._parseProjectionRHS(bindingPower.Filter);
- }
- return {type: "FilterProjection", children: [left, right, condition]};
- case TOK_FLATTEN:
- var leftNode = {type: TOK_FLATTEN, children: [left]};
- var rightNode = this._parseProjectionRHS(bindingPower.Flatten);
- return {type: "Projection", children: [leftNode, rightNode]};
- case TOK_EQ:
- case TOK_NE:
- case TOK_GT:
- case TOK_GTE:
- case TOK_LT:
- case TOK_LTE:
- return this._parseComparator(left, tokenName);
- case TOK_LBRACKET:
- var token = this._lookaheadToken(0);
- if (token.type === TOK_NUMBER || token.type === TOK_COLON) {
- right = this._parseIndexExpression();
- return this._projectIfSlice(left, right);
- }
- this._match(TOK_STAR);
- this._match(TOK_RBRACKET);
- right = this._parseProjectionRHS(bindingPower.Star);
- return {type: "Projection", children: [left, right]};
- default:
- this._errorToken(this._lookaheadToken(0));
- }
- },
+/**
+ * Colors.
+ */
- _match: function(tokenType) {
- if (this._lookahead(0) === tokenType) {
- this._advance();
- } else {
- var t = this._lookaheadToken(0);
- var error = new Error("Expected " + tokenType + ", got: " + t.type);
- error.name = "ParserError";
- throw error;
- }
- },
+exports.colors = [
+ '#0000CC',
+ '#0000FF',
+ '#0033CC',
+ '#0033FF',
+ '#0066CC',
+ '#0066FF',
+ '#0099CC',
+ '#0099FF',
+ '#00CC00',
+ '#00CC33',
+ '#00CC66',
+ '#00CC99',
+ '#00CCCC',
+ '#00CCFF',
+ '#3300CC',
+ '#3300FF',
+ '#3333CC',
+ '#3333FF',
+ '#3366CC',
+ '#3366FF',
+ '#3399CC',
+ '#3399FF',
+ '#33CC00',
+ '#33CC33',
+ '#33CC66',
+ '#33CC99',
+ '#33CCCC',
+ '#33CCFF',
+ '#6600CC',
+ '#6600FF',
+ '#6633CC',
+ '#6633FF',
+ '#66CC00',
+ '#66CC33',
+ '#9900CC',
+ '#9900FF',
+ '#9933CC',
+ '#9933FF',
+ '#99CC00',
+ '#99CC33',
+ '#CC0000',
+ '#CC0033',
+ '#CC0066',
+ '#CC0099',
+ '#CC00CC',
+ '#CC00FF',
+ '#CC3300',
+ '#CC3333',
+ '#CC3366',
+ '#CC3399',
+ '#CC33CC',
+ '#CC33FF',
+ '#CC6600',
+ '#CC6633',
+ '#CC9900',
+ '#CC9933',
+ '#CCCC00',
+ '#CCCC33',
+ '#FF0000',
+ '#FF0033',
+ '#FF0066',
+ '#FF0099',
+ '#FF00CC',
+ '#FF00FF',
+ '#FF3300',
+ '#FF3333',
+ '#FF3366',
+ '#FF3399',
+ '#FF33CC',
+ '#FF33FF',
+ '#FF6600',
+ '#FF6633',
+ '#FF9900',
+ '#FF9933',
+ '#FFCC00',
+ '#FFCC33'
+];
- _errorToken: function(token) {
- var error = new Error("Invalid token (" +
- token.type + "): \"" +
- token.value + "\"");
- error.name = "ParserError";
- throw error;
- },
+/**
+ * Currently only WebKit-based Web Inspectors, Firefox >= v31,
+ * and the Firebug extension (any Firefox version) are known
+ * to support "%c" CSS customizations.
+ *
+ * TODO: add a `localStorage` variable to explicitly enable/disable colors
+ */
+// eslint-disable-next-line complexity
+function useColors() {
+ // NB: In an Electron preload script, document will be defined but not fully
+ // initialized. Since we know we're in Chrome, we'll just detect this case
+ // explicitly
+ if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {
+ return true;
+ }
- _parseIndexExpression: function() {
- if (this._lookahead(0) === TOK_COLON || this._lookahead(1) === TOK_COLON) {
- return this._parseSliceExpression();
- } else {
- var node = {
- type: "Index",
- value: this._lookaheadToken(0).value};
- this._advance();
- this._match(TOK_RBRACKET);
- return node;
- }
- },
+ // Internet Explorer and Edge do not support colors.
+ if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
+ return false;
+ }
- _projectIfSlice: function(left, right) {
- var indexExpr = {type: "IndexExpression", children: [left, right]};
- if (right.type === "Slice") {
- return {
- type: "Projection",
- children: [indexExpr, this._parseProjectionRHS(bindingPower.Star)]
- };
- } else {
- return indexExpr;
- }
- },
+ // Is webkit? http://stackoverflow.com/a/16459606/376773
+ // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
+ return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
+ // Is firebug? http://stackoverflow.com/a/398120/376773
+ (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
+ // Is firefox >= v31?
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
+ (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||
+ // Double check webkit in userAgent just in case we are in a worker
+ (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
+}
- _parseSliceExpression: function() {
- // [start:end:step] where each part is optional, as well as the last
- // colon.
- var parts = [null, null, null];
- var index = 0;
- var currentToken = this._lookahead(0);
- while (currentToken !== TOK_RBRACKET && index < 3) {
- if (currentToken === TOK_COLON) {
- index++;
- this._advance();
- } else if (currentToken === TOK_NUMBER) {
- parts[index] = this._lookaheadToken(0).value;
- this._advance();
- } else {
- var t = this._lookahead(0);
- var error = new Error("Syntax error, unexpected token: " +
- t.value + "(" + t.type + ")");
- error.name = "Parsererror";
- throw error;
- }
- currentToken = this._lookahead(0);
- }
- this._match(TOK_RBRACKET);
- return {
- type: "Slice",
- children: parts
- };
- },
+/**
+ * Colorize log arguments if enabled.
+ *
+ * @api public
+ */
- _parseComparator: function(left, comparator) {
- var right = this.expression(bindingPower[comparator]);
- return {type: "Comparator", name: comparator, children: [left, right]};
- },
+function formatArgs(args) {
+ args[0] = (this.useColors ? '%c' : '') +
+ this.namespace +
+ (this.useColors ? ' %c' : ' ') +
+ args[0] +
+ (this.useColors ? '%c ' : ' ') +
+ '+' + module.exports.humanize(this.diff);
- _parseDotRHS: function(rbp) {
- var lookahead = this._lookahead(0);
- var exprTokens = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER, TOK_STAR];
- if (exprTokens.indexOf(lookahead) >= 0) {
- return this.expression(rbp);
- } else if (lookahead === TOK_LBRACKET) {
- this._match(TOK_LBRACKET);
- return this._parseMultiselectList();
- } else if (lookahead === TOK_LBRACE) {
- this._match(TOK_LBRACE);
- return this._parseMultiselectHash();
- }
- },
+ if (!this.useColors) {
+ return;
+ }
- _parseProjectionRHS: function(rbp) {
- var right;
- if (bindingPower[this._lookahead(0)] < 10) {
- right = {type: "Identity"};
- } else if (this._lookahead(0) === TOK_LBRACKET) {
- right = this.expression(rbp);
- } else if (this._lookahead(0) === TOK_FILTER) {
- right = this.expression(rbp);
- } else if (this._lookahead(0) === TOK_DOT) {
- this._match(TOK_DOT);
- right = this._parseDotRHS(rbp);
- } else {
- var t = this._lookaheadToken(0);
- var error = new Error("Sytanx error, unexpected token: " +
- t.value + "(" + t.type + ")");
- error.name = "ParserError";
- throw error;
- }
- return right;
- },
+ const c = 'color: ' + this.color;
+ args.splice(1, 0, c, 'color: inherit');
- _parseMultiselectList: function() {
- var expressions = [];
- while (this._lookahead(0) !== TOK_RBRACKET) {
- var expression = this.expression(0);
- expressions.push(expression);
- if (this._lookahead(0) === TOK_COMMA) {
- this._match(TOK_COMMA);
- if (this._lookahead(0) === TOK_RBRACKET) {
- throw new Error("Unexpected token Rbracket");
- }
- }
- }
- this._match(TOK_RBRACKET);
- return {type: "MultiSelectList", children: expressions};
- },
+ // The final "%c" is somewhat tricky, because there could be other
+ // arguments passed either before or after the %c, so we need to
+ // figure out the correct index to insert the CSS into
+ let index = 0;
+ let lastC = 0;
+ args[0].replace(/%[a-zA-Z%]/g, match => {
+ if (match === '%%') {
+ return;
+ }
+ index++;
+ if (match === '%c') {
+ // We only are interested in the *last* %c
+ // (the user may have provided their own)
+ lastC = index;
+ }
+ });
- _parseMultiselectHash: function() {
- var pairs = [];
- var identifierTypes = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER];
- var keyToken, keyName, value, node;
- for (;;) {
- keyToken = this._lookaheadToken(0);
- if (identifierTypes.indexOf(keyToken.type) < 0) {
- throw new Error("Expecting an identifier token, got: " +
- keyToken.type);
- }
- keyName = keyToken.value;
- this._advance();
- this._match(TOK_COLON);
- value = this.expression(0);
- node = {type: "KeyValuePair", name: keyName, value: value};
- pairs.push(node);
- if (this._lookahead(0) === TOK_COMMA) {
- this._match(TOK_COMMA);
- } else if (this._lookahead(0) === TOK_RBRACE) {
- this._match(TOK_RBRACE);
- break;
- }
- }
- return {type: "MultiSelectHash", children: pairs};
- }
- };
+ args.splice(lastC, 0, c);
+}
+/**
+ * Invokes `console.debug()` when available.
+ * No-op when `console.debug` is not a "function".
+ * If `console.debug` is not available, falls back
+ * to `console.log`.
+ *
+ * @api public
+ */
+exports.log = console.debug || console.log || (() => {});
- function TreeInterpreter(runtime) {
- this.runtime = runtime;
- }
+/**
+ * Save `namespaces`.
+ *
+ * @param {String} namespaces
+ * @api private
+ */
+function save(namespaces) {
+ try {
+ if (namespaces) {
+ exports.storage.setItem('debug', namespaces);
+ } else {
+ exports.storage.removeItem('debug');
+ }
+ } catch (error) {
+ // Swallow
+ // XXX (@Qix-) should we be logging these?
+ }
+}
- TreeInterpreter.prototype = {
- search: function(node, value) {
- return this.visit(node, value);
- },
+/**
+ * Load `namespaces`.
+ *
+ * @return {String} returns the previously persisted debug modes
+ * @api private
+ */
+function load() {
+ let r;
+ try {
+ r = exports.storage.getItem('debug');
+ } catch (error) {
+ // Swallow
+ // XXX (@Qix-) should we be logging these?
+ }
- visit: function(node, value) {
- var matched, current, result, first, second, field, left, right, collected, i;
- switch (node.type) {
- case "Field":
- if (value !== null && isObject(value)) {
- field = value[node.name];
- if (field === undefined) {
- return null;
- } else {
- return field;
- }
- }
- return null;
- case "Subexpression":
- result = this.visit(node.children[0], value);
- for (i = 1; i < node.children.length; i++) {
- result = this.visit(node.children[1], result);
- if (result === null) {
- return null;
- }
- }
- return result;
- case "IndexExpression":
- left = this.visit(node.children[0], value);
- right = this.visit(node.children[1], left);
- return right;
- case "Index":
- if (!isArray(value)) {
- return null;
- }
- var index = node.value;
- if (index < 0) {
- index = value.length + index;
- }
- result = value[index];
- if (result === undefined) {
- result = null;
- }
- return result;
- case "Slice":
- if (!isArray(value)) {
- return null;
- }
- var sliceParams = node.children.slice(0);
- var computed = this.computeSliceParams(value.length, sliceParams);
- var start = computed[0];
- var stop = computed[1];
- var step = computed[2];
- result = [];
- if (step > 0) {
- for (i = start; i < stop; i += step) {
- result.push(value[i]);
- }
- } else {
- for (i = start; i > stop; i += step) {
- result.push(value[i]);
- }
- }
- return result;
- case "Projection":
- // Evaluate left child.
- var base = this.visit(node.children[0], value);
- if (!isArray(base)) {
- return null;
- }
- collected = [];
- for (i = 0; i < base.length; i++) {
- current = this.visit(node.children[1], base[i]);
- if (current !== null) {
- collected.push(current);
- }
- }
- return collected;
- case "ValueProjection":
- // Evaluate left child.
- base = this.visit(node.children[0], value);
- if (!isObject(base)) {
- return null;
- }
- collected = [];
- var values = objValues(base);
- for (i = 0; i < values.length; i++) {
- current = this.visit(node.children[1], values[i]);
- if (current !== null) {
- collected.push(current);
- }
- }
- return collected;
- case "FilterProjection":
- base = this.visit(node.children[0], value);
- if (!isArray(base)) {
- return null;
- }
- var filtered = [];
- var finalResults = [];
- for (i = 0; i < base.length; i++) {
- matched = this.visit(node.children[2], base[i]);
- if (!isFalse(matched)) {
- filtered.push(base[i]);
- }
- }
- for (var j = 0; j < filtered.length; j++) {
- current = this.visit(node.children[1], filtered[j]);
- if (current !== null) {
- finalResults.push(current);
- }
- }
- return finalResults;
- case "Comparator":
- first = this.visit(node.children[0], value);
- second = this.visit(node.children[1], value);
- switch(node.name) {
- case TOK_EQ:
- result = strictDeepEqual(first, second);
- break;
- case TOK_NE:
- result = !strictDeepEqual(first, second);
- break;
- case TOK_GT:
- result = first > second;
- break;
- case TOK_GTE:
- result = first >= second;
- break;
- case TOK_LT:
- result = first < second;
- break;
- case TOK_LTE:
- result = first <= second;
- break;
- default:
- throw new Error("Unknown comparator: " + node.name);
- }
- return result;
- case TOK_FLATTEN:
- var original = this.visit(node.children[0], value);
- if (!isArray(original)) {
- return null;
- }
- var merged = [];
- for (i = 0; i < original.length; i++) {
- current = original[i];
- if (isArray(current)) {
- merged.push.apply(merged, current);
- } else {
- merged.push(current);
- }
- }
- return merged;
- case "Identity":
- return value;
- case "MultiSelectList":
- if (value === null) {
- return null;
- }
- collected = [];
- for (i = 0; i < node.children.length; i++) {
- collected.push(this.visit(node.children[i], value));
- }
- return collected;
- case "MultiSelectHash":
- if (value === null) {
- return null;
- }
- collected = {};
- var child;
- for (i = 0; i < node.children.length; i++) {
- child = node.children[i];
- collected[child.name] = this.visit(child.value, value);
- }
- return collected;
- case "OrExpression":
- matched = this.visit(node.children[0], value);
- if (isFalse(matched)) {
- matched = this.visit(node.children[1], value);
- }
- return matched;
- case "AndExpression":
- first = this.visit(node.children[0], value);
+ // If debug isn't set in LS, and we're in Electron, try to load $DEBUG
+ if (!r && typeof process !== 'undefined' && 'env' in process) {
+ r = process.env.DEBUG;
+ }
- if (isFalse(first) === true) {
- return first;
- }
- return this.visit(node.children[1], value);
- case "NotExpression":
- first = this.visit(node.children[0], value);
- return isFalse(first);
- case "Literal":
- return node.value;
- case TOK_PIPE:
- left = this.visit(node.children[0], value);
- return this.visit(node.children[1], left);
- case TOK_CURRENT:
- return value;
- case "Function":
- var resolvedArgs = [];
- for (i = 0; i < node.children.length; i++) {
- resolvedArgs.push(this.visit(node.children[i], value));
- }
- return this.runtime.callFunction(node.name, resolvedArgs);
- case "ExpressionReference":
- var refNode = node.children[0];
- // Tag the node with a specific attribute so the type
- // checker verify the type.
- refNode.jmespathType = TOK_EXPREF;
- return refNode;
- default:
- throw new Error("Unknown node type: " + node.type);
- }
- },
+ return r;
+}
- computeSliceParams: function(arrayLength, sliceParams) {
- var start = sliceParams[0];
- var stop = sliceParams[1];
- var step = sliceParams[2];
- var computed = [null, null, null];
- if (step === null) {
- step = 1;
- } else if (step === 0) {
- var error = new Error("Invalid slice, step cannot be 0");
- error.name = "RuntimeError";
- throw error;
- }
- var stepValueNegative = step < 0 ? true : false;
+/**
+ * Localstorage attempts to return the localstorage.
+ *
+ * This is necessary because safari throws
+ * when a user disables cookies/localstorage
+ * and you attempt to access it.
+ *
+ * @return {LocalStorage}
+ * @api private
+ */
- if (start === null) {
- start = stepValueNegative ? arrayLength - 1 : 0;
- } else {
- start = this.capSliceRange(arrayLength, start, step);
- }
+function localstorage() {
+ try {
+ // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context
+ // The Browser also has localStorage in the global context.
+ return localStorage;
+ } catch (error) {
+ // Swallow
+ // XXX (@Qix-) should we be logging these?
+ }
+}
- if (stop === null) {
- stop = stepValueNegative ? -1 : arrayLength;
- } else {
- stop = this.capSliceRange(arrayLength, stop, step);
- }
- computed[0] = start;
- computed[1] = stop;
- computed[2] = step;
- return computed;
- },
+module.exports = __nccwpck_require__(40897)(exports);
- capSliceRange: function(arrayLength, actualValue, step) {
- if (actualValue < 0) {
- actualValue += arrayLength;
- if (actualValue < 0) {
- actualValue = step < 0 ? -1 : 0;
- }
- } else if (actualValue >= arrayLength) {
- actualValue = step < 0 ? arrayLength - 1 : arrayLength;
- }
- return actualValue;
- }
+const {formatters} = module.exports;
- };
+/**
+ * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
+ */
- function Runtime(interpreter) {
- this._interpreter = interpreter;
- this.functionTable = {
- // name: [function, ]
- // The can be:
- //
- // {
- // args: [[type1, type2], [type1, type2]],
- // variadic: true|false
- // }
- //
- // Each arg in the arg list is a list of valid types
- // (if the function is overloaded and supports multiple
- // types. If the type is "any" then no type checking
- // occurs on the argument. Variadic is optional
- // and if not provided is assumed to be false.
- abs: {_func: this._functionAbs, _signature: [{types: [TYPE_NUMBER]}]},
- avg: {_func: this._functionAvg, _signature: [{types: [TYPE_ARRAY_NUMBER]}]},
- ceil: {_func: this._functionCeil, _signature: [{types: [TYPE_NUMBER]}]},
- contains: {
- _func: this._functionContains,
- _signature: [{types: [TYPE_STRING, TYPE_ARRAY]},
- {types: [TYPE_ANY]}]},
- "ends_with": {
- _func: this._functionEndsWith,
- _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]},
- floor: {_func: this._functionFloor, _signature: [{types: [TYPE_NUMBER]}]},
- length: {
- _func: this._functionLength,
- _signature: [{types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT]}]},
- map: {
- _func: this._functionMap,
- _signature: [{types: [TYPE_EXPREF]}, {types: [TYPE_ARRAY]}]},
- max: {
- _func: this._functionMax,
- _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]},
- "merge": {
- _func: this._functionMerge,
- _signature: [{types: [TYPE_OBJECT], variadic: true}]
- },
- "max_by": {
- _func: this._functionMaxBy,
- _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}]
- },
- sum: {_func: this._functionSum, _signature: [{types: [TYPE_ARRAY_NUMBER]}]},
- "starts_with": {
- _func: this._functionStartsWith,
- _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]},
- min: {
- _func: this._functionMin,
- _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]},
- "min_by": {
- _func: this._functionMinBy,
- _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}]
- },
- type: {_func: this._functionType, _signature: [{types: [TYPE_ANY]}]},
- keys: {_func: this._functionKeys, _signature: [{types: [TYPE_OBJECT]}]},
- values: {_func: this._functionValues, _signature: [{types: [TYPE_OBJECT]}]},
- sort: {_func: this._functionSort, _signature: [{types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER]}]},
- "sort_by": {
- _func: this._functionSortBy,
- _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}]
- },
- join: {
- _func: this._functionJoin,
- _signature: [
- {types: [TYPE_STRING]},
- {types: [TYPE_ARRAY_STRING]}
- ]
- },
- reverse: {
- _func: this._functionReverse,
- _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}]},
- "to_array": {_func: this._functionToArray, _signature: [{types: [TYPE_ANY]}]},
- "to_string": {_func: this._functionToString, _signature: [{types: [TYPE_ANY]}]},
- "to_number": {_func: this._functionToNumber, _signature: [{types: [TYPE_ANY]}]},
- "not_null": {
- _func: this._functionNotNull,
- _signature: [{types: [TYPE_ANY], variadic: true}]
- }
- };
- }
+formatters.j = function (v) {
+ try {
+ return JSON.stringify(v);
+ } catch (error) {
+ return '[UnexpectedJSONParseError]: ' + error.message;
+ }
+};
- Runtime.prototype = {
- callFunction: function(name, resolvedArgs) {
- var functionEntry = this.functionTable[name];
- if (functionEntry === undefined) {
- throw new Error("Unknown function: " + name + "()");
- }
- this._validateArgs(name, resolvedArgs, functionEntry._signature);
- return functionEntry._func.call(this, resolvedArgs);
- },
- _validateArgs: function(name, args, signature) {
- // Validating the args requires validating
- // the correct arity and the correct type of each arg.
- // If the last argument is declared as variadic, then we need
- // a minimum number of args to be required. Otherwise it has to
- // be an exact amount.
- var pluralized;
- if (signature[signature.length - 1].variadic) {
- if (args.length < signature.length) {
- pluralized = signature.length === 1 ? " argument" : " arguments";
- throw new Error("ArgumentError: " + name + "() " +
- "takes at least" + signature.length + pluralized +
- " but received " + args.length);
- }
- } else if (args.length !== signature.length) {
- pluralized = signature.length === 1 ? " argument" : " arguments";
- throw new Error("ArgumentError: " + name + "() " +
- "takes " + signature.length + pluralized +
- " but received " + args.length);
- }
- var currentSpec;
- var actualType;
- var typeMatched;
- for (var i = 0; i < signature.length; i++) {
- typeMatched = false;
- currentSpec = signature[i].types;
- actualType = this._getTypeName(args[i]);
- for (var j = 0; j < currentSpec.length; j++) {
- if (this._typeMatches(actualType, currentSpec[j], args[i])) {
- typeMatched = true;
- break;
- }
- }
- if (!typeMatched) {
- var expected = currentSpec
- .map(function(typeIdentifier) {
- return TYPE_NAME_TABLE[typeIdentifier];
- })
- .join(',');
- throw new Error("TypeError: " + name + "() " +
- "expected argument " + (i + 1) +
- " to be type " + expected +
- " but received type " +
- TYPE_NAME_TABLE[actualType] + " instead.");
- }
- }
- },
+/***/ }),
- _typeMatches: function(actual, expected, argValue) {
- if (expected === TYPE_ANY) {
- return true;
- }
- if (expected === TYPE_ARRAY_STRING ||
- expected === TYPE_ARRAY_NUMBER ||
- expected === TYPE_ARRAY) {
- // The expected type can either just be array,
- // or it can require a specific subtype (array of numbers).
- //
- // The simplest case is if "array" with no subtype is specified.
- if (expected === TYPE_ARRAY) {
- return actual === TYPE_ARRAY;
- } else if (actual === TYPE_ARRAY) {
- // Otherwise we need to check subtypes.
- // I think this has potential to be improved.
- var subtype;
- if (expected === TYPE_ARRAY_NUMBER) {
- subtype = TYPE_NUMBER;
- } else if (expected === TYPE_ARRAY_STRING) {
- subtype = TYPE_STRING;
- }
- for (var i = 0; i < argValue.length; i++) {
- if (!this._typeMatches(
- this._getTypeName(argValue[i]), subtype,
- argValue[i])) {
- return false;
- }
- }
- return true;
- }
- } else {
- return actual === expected;
- }
- },
- _getTypeName: function(obj) {
- switch (Object.prototype.toString.call(obj)) {
- case "[object String]":
- return TYPE_STRING;
- case "[object Number]":
- return TYPE_NUMBER;
- case "[object Array]":
- return TYPE_ARRAY;
- case "[object Boolean]":
- return TYPE_BOOLEAN;
- case "[object Null]":
- return TYPE_NULL;
- case "[object Object]":
- // Check if it's an expref. If it has, it's been
- // tagged with a jmespathType attr of 'Expref';
- if (obj.jmespathType === TOK_EXPREF) {
- return TYPE_EXPREF;
- } else {
- return TYPE_OBJECT;
- }
- }
- },
+/***/ 40897:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- _functionStartsWith: function(resolvedArgs) {
- return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0;
- },
- _functionEndsWith: function(resolvedArgs) {
- var searchStr = resolvedArgs[0];
- var suffix = resolvedArgs[1];
- return searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1;
- },
+/**
+ * This is the common logic for both the Node.js and web browser
+ * implementations of `debug()`.
+ */
- _functionReverse: function(resolvedArgs) {
- var typeName = this._getTypeName(resolvedArgs[0]);
- if (typeName === TYPE_STRING) {
- var originalStr = resolvedArgs[0];
- var reversedStr = "";
- for (var i = originalStr.length - 1; i >= 0; i--) {
- reversedStr += originalStr[i];
- }
- return reversedStr;
- } else {
- var reversedArray = resolvedArgs[0].slice(0);
- reversedArray.reverse();
- return reversedArray;
- }
- },
+function setup(env) {
+ createDebug.debug = createDebug;
+ createDebug.default = createDebug;
+ createDebug.coerce = coerce;
+ createDebug.disable = disable;
+ createDebug.enable = enable;
+ createDebug.enabled = enabled;
+ createDebug.humanize = __nccwpck_require__(70744);
+ createDebug.destroy = destroy;
+
+ Object.keys(env).forEach(key => {
+ createDebug[key] = env[key];
+ });
- _functionAbs: function(resolvedArgs) {
- return Math.abs(resolvedArgs[0]);
- },
+ /**
+ * The currently active debug mode names, and names to skip.
+ */
- _functionCeil: function(resolvedArgs) {
- return Math.ceil(resolvedArgs[0]);
- },
+ createDebug.names = [];
+ createDebug.skips = [];
- _functionAvg: function(resolvedArgs) {
- var sum = 0;
- var inputArray = resolvedArgs[0];
- for (var i = 0; i < inputArray.length; i++) {
- sum += inputArray[i];
- }
- return sum / inputArray.length;
- },
+ /**
+ * Map of special "%n" handling functions, for the debug "format" argument.
+ *
+ * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
+ */
+ createDebug.formatters = {};
- _functionContains: function(resolvedArgs) {
- return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0;
- },
+ /**
+ * Selects a color for a debug namespace
+ * @param {String} namespace The namespace string for the debug instance to be colored
+ * @return {Number|String} An ANSI color code for the given namespace
+ * @api private
+ */
+ function selectColor(namespace) {
+ let hash = 0;
+
+ for (let i = 0; i < namespace.length; i++) {
+ hash = ((hash << 5) - hash) + namespace.charCodeAt(i);
+ hash |= 0; // Convert to 32bit integer
+ }
- _functionFloor: function(resolvedArgs) {
- return Math.floor(resolvedArgs[0]);
- },
+ return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
+ }
+ createDebug.selectColor = selectColor;
- _functionLength: function(resolvedArgs) {
- if (!isObject(resolvedArgs[0])) {
- return resolvedArgs[0].length;
- } else {
- // As far as I can tell, there's no way to get the length
- // of an object without O(n) iteration through the object.
- return Object.keys(resolvedArgs[0]).length;
- }
- },
+ /**
+ * Create a debugger with the given `namespace`.
+ *
+ * @param {String} namespace
+ * @return {Function}
+ * @api public
+ */
+ function createDebug(namespace) {
+ let prevTime;
+ let enableOverride = null;
+ let namespacesCache;
+ let enabledCache;
+
+ function debug(...args) {
+ // Disabled?
+ if (!debug.enabled) {
+ return;
+ }
- _functionMap: function(resolvedArgs) {
- var mapped = [];
- var interpreter = this._interpreter;
- var exprefNode = resolvedArgs[0];
- var elements = resolvedArgs[1];
- for (var i = 0; i < elements.length; i++) {
- mapped.push(interpreter.visit(exprefNode, elements[i]));
- }
- return mapped;
- },
+ const self = debug;
- _functionMerge: function(resolvedArgs) {
- var merged = {};
- for (var i = 0; i < resolvedArgs.length; i++) {
- var current = resolvedArgs[i];
- for (var key in current) {
- merged[key] = current[key];
- }
- }
- return merged;
- },
+ // Set `diff` timestamp
+ const curr = Number(new Date());
+ const ms = curr - (prevTime || curr);
+ self.diff = ms;
+ self.prev = prevTime;
+ self.curr = curr;
+ prevTime = curr;
- _functionMax: function(resolvedArgs) {
- if (resolvedArgs[0].length > 0) {
- var typeName = this._getTypeName(resolvedArgs[0][0]);
- if (typeName === TYPE_NUMBER) {
- return Math.max.apply(Math, resolvedArgs[0]);
- } else {
- var elements = resolvedArgs[0];
- var maxElement = elements[0];
- for (var i = 1; i < elements.length; i++) {
- if (maxElement.localeCompare(elements[i]) < 0) {
- maxElement = elements[i];
- }
- }
- return maxElement;
- }
- } else {
- return null;
- }
- },
+ args[0] = createDebug.coerce(args[0]);
- _functionMin: function(resolvedArgs) {
- if (resolvedArgs[0].length > 0) {
- var typeName = this._getTypeName(resolvedArgs[0][0]);
- if (typeName === TYPE_NUMBER) {
- return Math.min.apply(Math, resolvedArgs[0]);
- } else {
- var elements = resolvedArgs[0];
- var minElement = elements[0];
- for (var i = 1; i < elements.length; i++) {
- if (elements[i].localeCompare(minElement) < 0) {
- minElement = elements[i];
- }
- }
- return minElement;
- }
- } else {
- return null;
- }
- },
+ if (typeof args[0] !== 'string') {
+ // Anything else let's inspect with %O
+ args.unshift('%O');
+ }
- _functionSum: function(resolvedArgs) {
- var sum = 0;
- var listToSum = resolvedArgs[0];
- for (var i = 0; i < listToSum.length; i++) {
- sum += listToSum[i];
- }
- return sum;
- },
+ // Apply any `formatters` transformations
+ let index = 0;
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
+ // If we encounter an escaped % then don't increase the array index
+ if (match === '%%') {
+ return '%';
+ }
+ index++;
+ const formatter = createDebug.formatters[format];
+ if (typeof formatter === 'function') {
+ const val = args[index];
+ match = formatter.call(self, val);
+
+ // Now we need to remove `args[index]` since it's inlined in the `format`
+ args.splice(index, 1);
+ index--;
+ }
+ return match;
+ });
- _functionType: function(resolvedArgs) {
- switch (this._getTypeName(resolvedArgs[0])) {
- case TYPE_NUMBER:
- return "number";
- case TYPE_STRING:
- return "string";
- case TYPE_ARRAY:
- return "array";
- case TYPE_OBJECT:
- return "object";
- case TYPE_BOOLEAN:
- return "boolean";
- case TYPE_EXPREF:
- return "expref";
- case TYPE_NULL:
- return "null";
- }
- },
+ // Apply env-specific formatting (colors, etc.)
+ createDebug.formatArgs.call(self, args);
- _functionKeys: function(resolvedArgs) {
- return Object.keys(resolvedArgs[0]);
- },
+ const logFn = self.log || createDebug.log;
+ logFn.apply(self, args);
+ }
- _functionValues: function(resolvedArgs) {
- var obj = resolvedArgs[0];
- var keys = Object.keys(obj);
- var values = [];
- for (var i = 0; i < keys.length; i++) {
- values.push(obj[keys[i]]);
- }
- return values;
- },
+ debug.namespace = namespace;
+ debug.useColors = createDebug.useColors();
+ debug.color = createDebug.selectColor(namespace);
+ debug.extend = extend;
+ debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.
+
+ Object.defineProperty(debug, 'enabled', {
+ enumerable: true,
+ configurable: false,
+ get: () => {
+ if (enableOverride !== null) {
+ return enableOverride;
+ }
+ if (namespacesCache !== createDebug.namespaces) {
+ namespacesCache = createDebug.namespaces;
+ enabledCache = createDebug.enabled(namespace);
+ }
- _functionJoin: function(resolvedArgs) {
- var joinChar = resolvedArgs[0];
- var listJoin = resolvedArgs[1];
- return listJoin.join(joinChar);
- },
+ return enabledCache;
+ },
+ set: v => {
+ enableOverride = v;
+ }
+ });
- _functionToArray: function(resolvedArgs) {
- if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) {
- return resolvedArgs[0];
- } else {
- return [resolvedArgs[0]];
- }
- },
+ // Env-specific initialization logic for debug instances
+ if (typeof createDebug.init === 'function') {
+ createDebug.init(debug);
+ }
- _functionToString: function(resolvedArgs) {
- if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) {
- return resolvedArgs[0];
- } else {
- return JSON.stringify(resolvedArgs[0]);
- }
- },
+ return debug;
+ }
- _functionToNumber: function(resolvedArgs) {
- var typeName = this._getTypeName(resolvedArgs[0]);
- var convertedValue;
- if (typeName === TYPE_NUMBER) {
- return resolvedArgs[0];
- } else if (typeName === TYPE_STRING) {
- convertedValue = +resolvedArgs[0];
- if (!isNaN(convertedValue)) {
- return convertedValue;
- }
- }
- return null;
- },
+ function extend(namespace, delimiter) {
+ const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);
+ newDebug.log = this.log;
+ return newDebug;
+ }
- _functionNotNull: function(resolvedArgs) {
- for (var i = 0; i < resolvedArgs.length; i++) {
- if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) {
- return resolvedArgs[i];
- }
- }
- return null;
- },
+ /**
+ * Enables a debug mode by namespaces. This can include modes
+ * separated by a colon and wildcards.
+ *
+ * @param {String} namespaces
+ * @api public
+ */
+ function enable(namespaces) {
+ createDebug.save(namespaces);
+ createDebug.namespaces = namespaces;
+
+ createDebug.names = [];
+ createDebug.skips = [];
+
+ let i;
+ const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/);
+ const len = split.length;
+
+ for (i = 0; i < len; i++) {
+ if (!split[i]) {
+ // ignore empty strings
+ continue;
+ }
- _functionSort: function(resolvedArgs) {
- var sortedArray = resolvedArgs[0].slice(0);
- sortedArray.sort();
- return sortedArray;
- },
+ namespaces = split[i].replace(/\*/g, '.*?');
- _functionSortBy: function(resolvedArgs) {
- var sortedArray = resolvedArgs[0].slice(0);
- if (sortedArray.length === 0) {
- return sortedArray;
- }
- var interpreter = this._interpreter;
- var exprefNode = resolvedArgs[1];
- var requiredType = this._getTypeName(
- interpreter.visit(exprefNode, sortedArray[0]));
- if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) {
- throw new Error("TypeError");
- }
- var that = this;
- // In order to get a stable sort out of an unstable
- // sort algorithm, we decorate/sort/undecorate (DSU)
- // by creating a new list of [index, element] pairs.
- // In the cmp function, if the evaluated elements are
- // equal, then the index will be used as the tiebreaker.
- // After the decorated list has been sorted, it will be
- // undecorated to extract the original elements.
- var decorated = [];
- for (var i = 0; i < sortedArray.length; i++) {
- decorated.push([i, sortedArray[i]]);
- }
- decorated.sort(function(a, b) {
- var exprA = interpreter.visit(exprefNode, a[1]);
- var exprB = interpreter.visit(exprefNode, b[1]);
- if (that._getTypeName(exprA) !== requiredType) {
- throw new Error(
- "TypeError: expected " + requiredType + ", received " +
- that._getTypeName(exprA));
- } else if (that._getTypeName(exprB) !== requiredType) {
- throw new Error(
- "TypeError: expected " + requiredType + ", received " +
- that._getTypeName(exprB));
- }
- if (exprA > exprB) {
- return 1;
- } else if (exprA < exprB) {
- return -1;
- } else {
- // If they're equal compare the items by their
- // order to maintain relative order of equal keys
- // (i.e. to get a stable sort).
- return a[0] - b[0];
- }
- });
- // Undecorate: extract out the original list elements.
- for (var j = 0; j < decorated.length; j++) {
- sortedArray[j] = decorated[j][1];
- }
- return sortedArray;
- },
+ if (namespaces[0] === '-') {
+ createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));
+ } else {
+ createDebug.names.push(new RegExp('^' + namespaces + '$'));
+ }
+ }
+ }
- _functionMaxBy: function(resolvedArgs) {
- var exprefNode = resolvedArgs[1];
- var resolvedArray = resolvedArgs[0];
- var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]);
- var maxNumber = -Infinity;
- var maxRecord;
- var current;
- for (var i = 0; i < resolvedArray.length; i++) {
- current = keyFunction(resolvedArray[i]);
- if (current > maxNumber) {
- maxNumber = current;
- maxRecord = resolvedArray[i];
- }
- }
- return maxRecord;
- },
+ /**
+ * Disable debug output.
+ *
+ * @return {String} namespaces
+ * @api public
+ */
+ function disable() {
+ const namespaces = [
+ ...createDebug.names.map(toNamespace),
+ ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)
+ ].join(',');
+ createDebug.enable('');
+ return namespaces;
+ }
- _functionMinBy: function(resolvedArgs) {
- var exprefNode = resolvedArgs[1];
- var resolvedArray = resolvedArgs[0];
- var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]);
- var minNumber = Infinity;
- var minRecord;
- var current;
- for (var i = 0; i < resolvedArray.length; i++) {
- current = keyFunction(resolvedArray[i]);
- if (current < minNumber) {
- minNumber = current;
- minRecord = resolvedArray[i];
- }
- }
- return minRecord;
- },
+ /**
+ * Returns true if the given mode name is enabled, false otherwise.
+ *
+ * @param {String} name
+ * @return {Boolean}
+ * @api public
+ */
+ function enabled(name) {
+ if (name[name.length - 1] === '*') {
+ return true;
+ }
- createKeyFunction: function(exprefNode, allowedTypes) {
- var that = this;
- var interpreter = this._interpreter;
- var keyFunc = function(x) {
- var current = interpreter.visit(exprefNode, x);
- if (allowedTypes.indexOf(that._getTypeName(current)) < 0) {
- var msg = "TypeError: expected one of " + allowedTypes +
- ", received " + that._getTypeName(current);
- throw new Error(msg);
- }
- return current;
- };
- return keyFunc;
- }
+ let i;
+ let len;
- };
+ for (i = 0, len = createDebug.skips.length; i < len; i++) {
+ if (createDebug.skips[i].test(name)) {
+ return false;
+ }
+ }
- function compile(stream) {
- var parser = new Parser();
- var ast = parser.parse(stream);
- return ast;
- }
+ for (i = 0, len = createDebug.names.length; i < len; i++) {
+ if (createDebug.names[i].test(name)) {
+ return true;
+ }
+ }
- function tokenize(stream) {
- var lexer = new Lexer();
- return lexer.tokenize(stream);
- }
+ return false;
+ }
- function search(data, expression) {
- var parser = new Parser();
- // This needs to be improved. Both the interpreter and runtime depend on
- // each other. The runtime needs the interpreter to support exprefs.
- // There's likely a clean way to avoid the cyclic dependency.
- var runtime = new Runtime();
- var interpreter = new TreeInterpreter(runtime);
- runtime._interpreter = interpreter;
- var node = parser.parse(expression);
- return interpreter.search(node, data);
- }
+ /**
+ * Convert regexp to namespace
+ *
+ * @param {RegExp} regxep
+ * @return {String} namespace
+ * @api private
+ */
+ function toNamespace(regexp) {
+ return regexp.toString()
+ .substring(2, regexp.toString().length - 2)
+ .replace(/\.\*\?$/, '*');
+ }
- exports.tokenize = tokenize;
- exports.compile = compile;
- exports.search = search;
- exports.strictDeepEqual = strictDeepEqual;
-})( false ? 0 : exports);
+ /**
+ * Coerce `val`.
+ *
+ * @param {Mixed} val
+ * @return {Mixed}
+ * @api private
+ */
+ function coerce(val) {
+ if (val instanceof Error) {
+ return val.stack || val.message;
+ }
+ return val;
+ }
+
+ /**
+ * XXX DO NOT USE. This is a temporary stub function.
+ * XXX It WILL be removed in the next major release.
+ */
+ function destroy() {
+ console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
+ }
+
+ createDebug.enable(createDebug.load());
+
+ return createDebug;
+}
+
+module.exports = setup;
/***/ }),
-/***/ 90250:
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 2830:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-/* module decorator */ module = __webpack_require__.nmd(module);
/**
- * @license
- * Lodash
- * Copyright OpenJS Foundation and other contributors
- * Released under MIT license
- * Based on Underscore.js 1.8.3
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ * Detect Electron renderer / nwjs process, which is node, but we should
+ * treat as a browser.
*/
-;(function() {
-
- /** Used as a safe reference for `undefined` in pre-ES5 environments. */
- var undefined;
- /** Used as the semantic version number. */
- var VERSION = '4.17.21';
+if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
+ module.exports = __nccwpck_require__(6110);
+} else {
+ module.exports = __nccwpck_require__(95108);
+}
- /** Used as the size to enable large array optimizations. */
- var LARGE_ARRAY_SIZE = 200;
- /** Error message constants. */
- var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
- FUNC_ERROR_TEXT = 'Expected a function',
- INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';
+/***/ }),
- /** Used to stand-in for `undefined` hash values. */
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
+/***/ 95108:
+/***/ ((module, exports, __nccwpck_require__) => {
- /** Used as the maximum memoize cache size. */
- var MAX_MEMOIZE_SIZE = 500;
+/**
+ * Module dependencies.
+ */
- /** Used as the internal argument placeholder. */
- var PLACEHOLDER = '__lodash_placeholder__';
+const tty = __nccwpck_require__(52018);
+const util = __nccwpck_require__(39023);
- /** Used to compose bitmasks for cloning. */
- var CLONE_DEEP_FLAG = 1,
- CLONE_FLAT_FLAG = 2,
- CLONE_SYMBOLS_FLAG = 4;
+/**
+ * This is the Node.js implementation of `debug()`.
+ */
- /** Used to compose bitmasks for value comparisons. */
- var COMPARE_PARTIAL_FLAG = 1,
- COMPARE_UNORDERED_FLAG = 2;
+exports.init = init;
+exports.log = log;
+exports.formatArgs = formatArgs;
+exports.save = save;
+exports.load = load;
+exports.useColors = useColors;
+exports.destroy = util.deprecate(
+ () => {},
+ 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'
+);
- /** Used to compose bitmasks for function metadata. */
- var WRAP_BIND_FLAG = 1,
- WRAP_BIND_KEY_FLAG = 2,
- WRAP_CURRY_BOUND_FLAG = 4,
- WRAP_CURRY_FLAG = 8,
- WRAP_CURRY_RIGHT_FLAG = 16,
- WRAP_PARTIAL_FLAG = 32,
- WRAP_PARTIAL_RIGHT_FLAG = 64,
- WRAP_ARY_FLAG = 128,
- WRAP_REARG_FLAG = 256,
- WRAP_FLIP_FLAG = 512;
+/**
+ * Colors.
+ */
- /** Used as default options for `_.truncate`. */
- var DEFAULT_TRUNC_LENGTH = 30,
- DEFAULT_TRUNC_OMISSION = '...';
+exports.colors = [6, 2, 3, 4, 5, 1];
- /** Used to detect hot functions by number of calls within a span of milliseconds. */
- var HOT_COUNT = 800,
- HOT_SPAN = 16;
+try {
+ // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)
+ // eslint-disable-next-line import/no-extraneous-dependencies
+ const supportsColor = __nccwpck_require__(21450);
+
+ if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
+ exports.colors = [
+ 20,
+ 21,
+ 26,
+ 27,
+ 32,
+ 33,
+ 38,
+ 39,
+ 40,
+ 41,
+ 42,
+ 43,
+ 44,
+ 45,
+ 56,
+ 57,
+ 62,
+ 63,
+ 68,
+ 69,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 92,
+ 93,
+ 98,
+ 99,
+ 112,
+ 113,
+ 128,
+ 129,
+ 134,
+ 135,
+ 148,
+ 149,
+ 160,
+ 161,
+ 162,
+ 163,
+ 164,
+ 165,
+ 166,
+ 167,
+ 168,
+ 169,
+ 170,
+ 171,
+ 172,
+ 173,
+ 178,
+ 179,
+ 184,
+ 185,
+ 196,
+ 197,
+ 198,
+ 199,
+ 200,
+ 201,
+ 202,
+ 203,
+ 204,
+ 205,
+ 206,
+ 207,
+ 208,
+ 209,
+ 214,
+ 215,
+ 220,
+ 221
+ ];
+ }
+} catch (error) {
+ // Swallow - we only care if `supports-color` is available; it doesn't have to be.
+}
- /** Used to indicate the type of lazy iteratees. */
- var LAZY_FILTER_FLAG = 1,
- LAZY_MAP_FLAG = 2,
- LAZY_WHILE_FLAG = 3;
+/**
+ * Build up the default `inspectOpts` object from the environment variables.
+ *
+ * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
+ */
- /** Used as references for various `Number` constants. */
- var INFINITY = 1 / 0,
- MAX_SAFE_INTEGER = 9007199254740991,
- MAX_INTEGER = 1.7976931348623157e+308,
- NAN = 0 / 0;
+exports.inspectOpts = Object.keys(process.env).filter(key => {
+ return /^debug_/i.test(key);
+}).reduce((obj, key) => {
+ // Camel-case
+ const prop = key
+ .substring(6)
+ .toLowerCase()
+ .replace(/_([a-z])/g, (_, k) => {
+ return k.toUpperCase();
+ });
- /** Used as references for the maximum length and index of an array. */
- var MAX_ARRAY_LENGTH = 4294967295,
- MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,
- HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;
+ // Coerce string value into JS value
+ let val = process.env[key];
+ if (/^(yes|on|true|enabled)$/i.test(val)) {
+ val = true;
+ } else if (/^(no|off|false|disabled)$/i.test(val)) {
+ val = false;
+ } else if (val === 'null') {
+ val = null;
+ } else {
+ val = Number(val);
+ }
- /** Used to associate wrap methods with their bit flags. */
- var wrapFlags = [
- ['ary', WRAP_ARY_FLAG],
- ['bind', WRAP_BIND_FLAG],
- ['bindKey', WRAP_BIND_KEY_FLAG],
- ['curry', WRAP_CURRY_FLAG],
- ['curryRight', WRAP_CURRY_RIGHT_FLAG],
- ['flip', WRAP_FLIP_FLAG],
- ['partial', WRAP_PARTIAL_FLAG],
- ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],
- ['rearg', WRAP_REARG_FLAG]
- ];
+ obj[prop] = val;
+ return obj;
+}, {});
- /** `Object#toString` result references. */
- var argsTag = '[object Arguments]',
- arrayTag = '[object Array]',
- asyncTag = '[object AsyncFunction]',
- boolTag = '[object Boolean]',
- dateTag = '[object Date]',
- domExcTag = '[object DOMException]',
- errorTag = '[object Error]',
- funcTag = '[object Function]',
- genTag = '[object GeneratorFunction]',
- mapTag = '[object Map]',
- numberTag = '[object Number]',
- nullTag = '[object Null]',
- objectTag = '[object Object]',
- promiseTag = '[object Promise]',
- proxyTag = '[object Proxy]',
- regexpTag = '[object RegExp]',
- setTag = '[object Set]',
- stringTag = '[object String]',
- symbolTag = '[object Symbol]',
- undefinedTag = '[object Undefined]',
- weakMapTag = '[object WeakMap]',
- weakSetTag = '[object WeakSet]';
+/**
+ * Is stdout a TTY? Colored output is enabled when `true`.
+ */
- var arrayBufferTag = '[object ArrayBuffer]',
- dataViewTag = '[object DataView]',
- float32Tag = '[object Float32Array]',
- float64Tag = '[object Float64Array]',
- int8Tag = '[object Int8Array]',
- int16Tag = '[object Int16Array]',
- int32Tag = '[object Int32Array]',
- uint8Tag = '[object Uint8Array]',
- uint8ClampedTag = '[object Uint8ClampedArray]',
- uint16Tag = '[object Uint16Array]',
- uint32Tag = '[object Uint32Array]';
+function useColors() {
+ return 'colors' in exports.inspectOpts ?
+ Boolean(exports.inspectOpts.colors) :
+ tty.isatty(process.stderr.fd);
+}
- /** Used to match empty string literals in compiled template source. */
- var reEmptyStringLeading = /\b__p \+= '';/g,
- reEmptyStringMiddle = /\b(__p \+=) '' \+/g,
- reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;
+/**
+ * Adds ANSI color escape codes if enabled.
+ *
+ * @api public
+ */
- /** Used to match HTML entities and HTML characters. */
- var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
- reUnescapedHtml = /[&<>"']/g,
- reHasEscapedHtml = RegExp(reEscapedHtml.source),
- reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
+function formatArgs(args) {
+ const {namespace: name, useColors} = this;
- /** Used to match template delimiters. */
- var reEscape = /<%-([\s\S]+?)%>/g,
- reEvaluate = /<%([\s\S]+?)%>/g,
- reInterpolate = /<%=([\s\S]+?)%>/g;
+ if (useColors) {
+ const c = this.color;
+ const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c);
+ const prefix = ` ${colorCode};1m${name} \u001B[0m`;
- /** Used to match property names within property paths. */
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
- reIsPlainProp = /^\w*$/,
- rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
+ args[0] = prefix + args[0].split('\n').join('\n' + prefix);
+ args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m');
+ } else {
+ args[0] = getDate() + name + ' ' + args[0];
+ }
+}
- /**
- * Used to match `RegExp`
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
- */
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
- reHasRegExpChar = RegExp(reRegExpChar.source);
+function getDate() {
+ if (exports.inspectOpts.hideDate) {
+ return '';
+ }
+ return new Date().toISOString() + ' ';
+}
- /** Used to match leading whitespace. */
- var reTrimStart = /^\s+/;
+/**
+ * Invokes `util.format()` with the specified arguments and writes to stderr.
+ */
- /** Used to match a single whitespace character. */
- var reWhitespace = /\s/;
+function log(...args) {
+ return process.stderr.write(util.format(...args) + '\n');
+}
- /** Used to match wrap detail comments. */
- var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
- reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/,
- reSplitDetails = /,? & /;
+/**
+ * Save `namespaces`.
+ *
+ * @param {String} namespaces
+ * @api private
+ */
+function save(namespaces) {
+ if (namespaces) {
+ process.env.DEBUG = namespaces;
+ } else {
+ // If you set a process.env field to null or undefined, it gets cast to the
+ // string 'null' or 'undefined'. Just delete instead.
+ delete process.env.DEBUG;
+ }
+}
- /** Used to match words composed of alphanumeric characters. */
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
+/**
+ * Load `namespaces`.
+ *
+ * @return {String} returns the previously persisted debug modes
+ * @api private
+ */
- /**
- * Used to validate the `validate` option in `_.template` variable.
- *
- * Forbids characters which could potentially change the meaning of the function argument definition:
- * - "()," (modification of function parameters)
- * - "=" (default value)
- * - "[]{}" (destructuring of function parameters)
- * - "/" (beginning of a comment)
- * - whitespace
- */
- var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/;
+function load() {
+ return process.env.DEBUG;
+}
- /** Used to match backslashes in property paths. */
- var reEscapeChar = /\\(\\)?/g;
+/**
+ * Init logic for `debug` instances.
+ *
+ * Create a new `inspectOpts` object in case `useColors` is set
+ * differently for a particular `debug` instance.
+ */
- /**
- * Used to match
- * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).
- */
- var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;
+function init(debug) {
+ debug.inspectOpts = {};
- /** Used to match `RegExp` flags from their coerced string values. */
- var reFlags = /\w*$/;
+ const keys = Object.keys(exports.inspectOpts);
+ for (let i = 0; i < keys.length; i++) {
+ debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
+ }
+}
- /** Used to detect bad signed hexadecimal string values. */
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
+module.exports = __nccwpck_require__(40897)(exports);
- /** Used to detect binary string values. */
- var reIsBinary = /^0b[01]+$/i;
+const {formatters} = module.exports;
- /** Used to detect host constructors (Safari). */
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
+/**
+ * Map %o to `util.inspect()`, all on a single line.
+ */
- /** Used to detect octal string values. */
- var reIsOctal = /^0o[0-7]+$/i;
+formatters.o = function (v) {
+ this.inspectOpts.colors = this.useColors;
+ return util.inspect(v, this.inspectOpts)
+ .split('\n')
+ .map(str => str.trim())
+ .join(' ');
+};
- /** Used to detect unsigned integer values. */
- var reIsUint = /^(?:0|[1-9]\d*)$/;
+/**
+ * Map %O to `util.inspect()`, allowing multiple lines if needed.
+ */
- /** Used to match Latin Unicode letters (excluding mathematical operators). */
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
+formatters.O = function (v) {
+ this.inspectOpts.colors = this.useColors;
+ return util.inspect(v, this.inspectOpts);
+};
- /** Used to ensure capturing order of template delimiters. */
- var reNoMatch = /($^)/;
- /** Used to match unescaped characters in compiled string literals. */
- var reUnescapedString = /['\n\r\u2028\u2029\\]/g;
+/***/ }),
- /** Used to compose unicode character classes. */
- var rsAstralRange = '\\ud800-\\udfff',
- rsComboMarksRange = '\\u0300-\\u036f',
- reComboHalfMarksRange = '\\ufe20-\\ufe2f',
- rsComboSymbolsRange = '\\u20d0-\\u20ff',
- rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
- rsDingbatRange = '\\u2700-\\u27bf',
- rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
- rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
- rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
- rsPunctuationRange = '\\u2000-\\u206f',
- rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
- rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
- rsVarRange = '\\ufe0e\\ufe0f',
- rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
+/***/ 72710:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /** Used to compose unicode capture groups. */
- var rsApos = "['\u2019]",
- rsAstral = '[' + rsAstralRange + ']',
- rsBreak = '[' + rsBreakRange + ']',
- rsCombo = '[' + rsComboRange + ']',
- rsDigits = '\\d+',
- rsDingbat = '[' + rsDingbatRange + ']',
- rsLower = '[' + rsLowerRange + ']',
- rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
- rsFitz = '\\ud83c[\\udffb-\\udfff]',
- rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
- rsNonAstral = '[^' + rsAstralRange + ']',
- rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
- rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
- rsUpper = '[' + rsUpperRange + ']',
- rsZWJ = '\\u200d';
+var Stream = (__nccwpck_require__(2203).Stream);
+var util = __nccwpck_require__(39023);
- /** Used to compose unicode regexes. */
- var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
- rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
- rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
- rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
- reOptMod = rsModifier + '?',
- rsOptVar = '[' + rsVarRange + ']?',
- rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
- rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
- rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
- rsSeq = rsOptVar + reOptMod + rsOptJoin,
- rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,
- rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
+module.exports = DelayedStream;
+function DelayedStream() {
+ this.source = null;
+ this.dataSize = 0;
+ this.maxDataSize = 1024 * 1024;
+ this.pauseStream = true;
- /** Used to match apostrophes. */
- var reApos = RegExp(rsApos, 'g');
+ this._maxDataSizeExceeded = false;
+ this._released = false;
+ this._bufferedEvents = [];
+}
+util.inherits(DelayedStream, Stream);
- /**
- * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
- * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
- */
- var reComboMark = RegExp(rsCombo, 'g');
+DelayedStream.create = function(source, options) {
+ var delayedStream = new this();
- /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
- var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
+ options = options || {};
+ for (var option in options) {
+ delayedStream[option] = options[option];
+ }
- /** Used to match complex or compound words. */
- var reUnicodeWord = RegExp([
- rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
- rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
- rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
- rsUpper + '+' + rsOptContrUpper,
- rsOrdUpper,
- rsOrdLower,
- rsDigits,
- rsEmoji
- ].join('|'), 'g');
+ delayedStream.source = source;
- /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
- var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');
+ var realEmit = source.emit;
+ source.emit = function() {
+ delayedStream._handleEmit(arguments);
+ return realEmit.apply(source, arguments);
+ };
- /** Used to detect strings that need a more robust regexp to match words. */
- var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
+ source.on('error', function() {});
+ if (delayedStream.pauseStream) {
+ source.pause();
+ }
- /** Used to assign default `context` object properties. */
- var contextProps = [
- 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',
- 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',
- 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',
- 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',
- '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'
- ];
+ return delayedStream;
+};
- /** Used to make template sourceURLs easier to identify. */
- var templateCounter = -1;
+Object.defineProperty(DelayedStream.prototype, 'readable', {
+ configurable: true,
+ enumerable: true,
+ get: function() {
+ return this.source.readable;
+ }
+});
- /** Used to identify `toStringTag` values of typed arrays. */
- var typedArrayTags = {};
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
- typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
- typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
- typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
- typedArrayTags[uint32Tag] = true;
- typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
- typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
- typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
- typedArrayTags[errorTag] = typedArrayTags[funcTag] =
- typedArrayTags[mapTag] = typedArrayTags[numberTag] =
- typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
- typedArrayTags[setTag] = typedArrayTags[stringTag] =
- typedArrayTags[weakMapTag] = false;
+DelayedStream.prototype.setEncoding = function() {
+ return this.source.setEncoding.apply(this.source, arguments);
+};
- /** Used to identify `toStringTag` values supported by `_.clone`. */
- var cloneableTags = {};
- cloneableTags[argsTag] = cloneableTags[arrayTag] =
- cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
- cloneableTags[boolTag] = cloneableTags[dateTag] =
- cloneableTags[float32Tag] = cloneableTags[float64Tag] =
- cloneableTags[int8Tag] = cloneableTags[int16Tag] =
- cloneableTags[int32Tag] = cloneableTags[mapTag] =
- cloneableTags[numberTag] = cloneableTags[objectTag] =
- cloneableTags[regexpTag] = cloneableTags[setTag] =
- cloneableTags[stringTag] = cloneableTags[symbolTag] =
- cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
- cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
- cloneableTags[errorTag] = cloneableTags[funcTag] =
- cloneableTags[weakMapTag] = false;
+DelayedStream.prototype.resume = function() {
+ if (!this._released) {
+ this.release();
+ }
- /** Used to map Latin Unicode letters to basic Latin letters. */
- var deburredLetters = {
- // Latin-1 Supplement block.
- '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
- '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
- '\xc7': 'C', '\xe7': 'c',
- '\xd0': 'D', '\xf0': 'd',
- '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
- '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
- '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
- '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
- '\xd1': 'N', '\xf1': 'n',
- '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
- '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
- '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
- '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
- '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
- '\xc6': 'Ae', '\xe6': 'ae',
- '\xde': 'Th', '\xfe': 'th',
- '\xdf': 'ss',
- // Latin Extended-A block.
- '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
- '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
- '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
- '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
- '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
- '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
- '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
- '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
- '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
- '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
- '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
- '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
- '\u0134': 'J', '\u0135': 'j',
- '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
- '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
- '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
- '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
- '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
- '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
- '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
- '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
- '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
- '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
- '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
- '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
- '\u0163': 't', '\u0165': 't', '\u0167': 't',
- '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
- '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
- '\u0174': 'W', '\u0175': 'w',
- '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
- '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
- '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
- '\u0132': 'IJ', '\u0133': 'ij',
- '\u0152': 'Oe', '\u0153': 'oe',
- '\u0149': "'n", '\u017f': 's'
- };
+ this.source.resume();
+};
- /** Used to map characters to HTML entities. */
- var htmlEscapes = {
- '&': '&',
- '<': '<',
- '>': '>',
- '"': '"',
- "'": '''
- };
+DelayedStream.prototype.pause = function() {
+ this.source.pause();
+};
- /** Used to map HTML entities to characters. */
- var htmlUnescapes = {
- '&': '&',
- '<': '<',
- '>': '>',
- '"': '"',
- ''': "'"
- };
+DelayedStream.prototype.release = function() {
+ this._released = true;
- /** Used to escape characters for inclusion in compiled string literals. */
- var stringEscapes = {
- '\\': '\\',
- "'": "'",
- '\n': 'n',
- '\r': 'r',
- '\u2028': 'u2028',
- '\u2029': 'u2029'
- };
+ this._bufferedEvents.forEach(function(args) {
+ this.emit.apply(this, args);
+ }.bind(this));
+ this._bufferedEvents = [];
+};
- /** Built-in method references without a dependency on `root`. */
- var freeParseFloat = parseFloat,
- freeParseInt = parseInt;
+DelayedStream.prototype.pipe = function() {
+ var r = Stream.prototype.pipe.apply(this, arguments);
+ this.resume();
+ return r;
+};
- /** Detect free variable `global` from Node.js. */
- var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
+DelayedStream.prototype._handleEmit = function(args) {
+ if (this._released) {
+ this.emit.apply(this, args);
+ return;
+ }
- /** Detect free variable `self`. */
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
+ if (args[0] === 'data') {
+ this.dataSize += args[1].length;
+ this._checkIfMaxDataSizeExceeded();
+ }
- /** Used as a reference to the global object. */
- var root = freeGlobal || freeSelf || Function('return this')();
+ this._bufferedEvents.push(args);
+};
- /** Detect free variable `exports`. */
- var freeExports = true && exports && !exports.nodeType && exports;
+DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() {
+ if (this._maxDataSizeExceeded) {
+ return;
+ }
- /** Detect free variable `module`. */
- var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
+ if (this.dataSize <= this.maxDataSize) {
+ return;
+ }
- /** Detect the popular CommonJS extension `module.exports`. */
- var moduleExports = freeModule && freeModule.exports === freeExports;
+ this._maxDataSizeExceeded = true;
+ var message =
+ 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'
+ this.emit('error', new Error(message));
+};
- /** Detect free variable `process` from Node.js. */
- var freeProcess = moduleExports && freeGlobal.process;
- /** Used to access faster Node.js helpers. */
- var nodeUtil = (function() {
- try {
- // Use `util.types` for Node.js 10+.
- var types = freeModule && freeModule.require && freeModule.require('util').types;
+/***/ }),
- if (types) {
- return types;
- }
+/***/ 14150:
+/***/ ((__unused_webpack_module, exports) => {
- // Legacy `process.binding('util')` for Node.js < 10.
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
- } catch (e) {}
- }());
+"use strict";
- /* Node.js helper references. */
- var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,
- nodeIsDate = nodeUtil && nodeUtil.isDate,
- nodeIsMap = nodeUtil && nodeUtil.isMap,
- nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,
- nodeIsSet = nodeUtil && nodeUtil.isSet,
- nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
- /*--------------------------------------------------------------------------*/
+Object.defineProperty(exports, "__esModule", ({ value: true }));
- /**
- * A faster alternative to `Function#apply`, this function invokes `func`
- * with the `this` binding of `thisArg` and the arguments of `args`.
- *
- * @private
- * @param {Function} func The function to invoke.
- * @param {*} thisArg The `this` binding of `func`.
- * @param {Array} args The arguments to invoke `func` with.
- * @returns {*} Returns the result of `func`.
- */
- function apply(func, thisArg, args) {
- switch (args.length) {
- case 0: return func.call(thisArg);
- case 1: return func.call(thisArg, args[0]);
- case 2: return func.call(thisArg, args[0], args[1]);
- case 3: return func.call(thisArg, args[0], args[1], args[2]);
- }
- return func.apply(thisArg, args);
- }
+class Deprecation extends Error {
+ constructor(message) {
+ super(message); // Maintains proper stack trace (only available on V8)
- /**
- * A specialized version of `baseAggregator` for arrays.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} setter The function to set `accumulator` values.
- * @param {Function} iteratee The iteratee to transform keys.
- * @param {Object} accumulator The initial aggregated object.
- * @returns {Function} Returns `accumulator`.
- */
- function arrayAggregator(array, setter, iteratee, accumulator) {
- var index = -1,
- length = array == null ? 0 : array.length;
+ /* istanbul ignore next */
- while (++index < length) {
- var value = array[index];
- setter(accumulator, value, iteratee(value), array);
+ if (Error.captureStackTrace) {
+ Error.captureStackTrace(this, this.constructor);
}
- return accumulator;
+
+ this.name = 'Deprecation';
}
- /**
- * A specialized version of `_.forEach` for arrays without support for
- * iteratee shorthands.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Array} Returns `array`.
- */
- function arrayEach(array, iteratee) {
- var index = -1,
- length = array == null ? 0 : array.length;
+}
- while (++index < length) {
- if (iteratee(array[index], index, array) === false) {
- break;
- }
- }
- return array;
- }
+exports.Deprecation = Deprecation;
- /**
- * A specialized version of `_.forEachRight` for arrays without support for
- * iteratee shorthands.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Array} Returns `array`.
- */
- function arrayEachRight(array, iteratee) {
- var length = array == null ? 0 : array.length;
- while (length--) {
- if (iteratee(array[length], length, array) === false) {
- break;
- }
- }
- return array;
- }
+/***/ }),
- /**
- * A specialized version of `_.every` for arrays without support for
- * iteratee shorthands.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} predicate The function invoked per iteration.
- * @returns {boolean} Returns `true` if all elements pass the predicate check,
- * else `false`.
- */
- function arrayEvery(array, predicate) {
- var index = -1,
- length = array == null ? 0 : array.length;
+/***/ 26669:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- while (++index < length) {
- if (!predicate(array[index], index, array)) {
- return false;
- }
- }
- return true;
- }
+"use strict";
- /**
- * A specialized version of `_.filter` for arrays without support for
- * iteratee shorthands.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} predicate The function invoked per iteration.
- * @returns {Array} Returns the new filtered array.
- */
- function arrayFilter(array, predicate) {
- var index = -1,
- length = array == null ? 0 : array.length,
- resIndex = 0,
- result = [];
- while (++index < length) {
- var value = array[index];
- if (predicate(value, index, array)) {
- result[resIndex++] = value;
- }
- }
- return result;
- }
+var callBind = __nccwpck_require__(88705);
+var gOPD = __nccwpck_require__(33170);
- /**
- * A specialized version of `_.includes` for arrays without support for
- * specifying an index to search from.
- *
- * @private
- * @param {Array} [array] The array to inspect.
- * @param {*} target The value to search for.
- * @returns {boolean} Returns `true` if `target` is found, else `false`.
- */
- function arrayIncludes(array, value) {
- var length = array == null ? 0 : array.length;
- return !!length && baseIndexOf(array, value, 0) > -1;
- }
+var hasProtoAccessor;
+try {
+ // eslint-disable-next-line no-extra-parens, no-proto
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
+} catch (e) {
+ if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
+ throw e;
+ }
+}
- /**
- * This function is like `arrayIncludes` except that it accepts a comparator.
- *
- * @private
- * @param {Array} [array] The array to inspect.
- * @param {*} target The value to search for.
- * @param {Function} comparator The comparator invoked per element.
- * @returns {boolean} Returns `true` if `target` is found, else `false`.
- */
- function arrayIncludesWith(array, value, comparator) {
- var index = -1,
- length = array == null ? 0 : array.length;
+// eslint-disable-next-line no-extra-parens
+var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
- while (++index < length) {
- if (comparator(value, array[index])) {
- return true;
- }
- }
- return false;
- }
+var $Object = Object;
+var $getPrototypeOf = $Object.getPrototypeOf;
- /**
- * A specialized version of `_.map` for arrays without support for iteratee
- * shorthands.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Array} Returns the new mapped array.
- */
- function arrayMap(array, iteratee) {
- var index = -1,
- length = array == null ? 0 : array.length,
- result = Array(length);
+/** @type {import('./get')} */
+module.exports = desc && typeof desc.get === 'function'
+ ? callBind([desc.get])
+ : typeof $getPrototypeOf === 'function'
+ ? /** @type {import('./get')} */ function getDunder(value) {
+ // eslint-disable-next-line eqeqeq
+ return $getPrototypeOf(value == null ? value : $Object(value));
+ }
+ : false;
- while (++index < length) {
- result[index] = iteratee(array[index], index, array);
- }
- return result;
- }
- /**
- * Appends the elements of `values` to `array`.
- *
- * @private
- * @param {Array} array The array to modify.
- * @param {Array} values The values to append.
- * @returns {Array} Returns `array`.
- */
- function arrayPush(array, values) {
- var index = -1,
- length = values.length,
- offset = array.length;
+/***/ }),
- while (++index < length) {
- array[offset + index] = values[index];
- }
- return array;
- }
+/***/ 325:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * A specialized version of `_.reduce` for arrays without support for
- * iteratee shorthands.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @param {*} [accumulator] The initial value.
- * @param {boolean} [initAccum] Specify using the first element of `array` as
- * the initial value.
- * @returns {*} Returns the accumulated value.
- */
- function arrayReduce(array, iteratee, accumulator, initAccum) {
- var index = -1,
- length = array == null ? 0 : array.length;
+"use strict";
- if (initAccum && length) {
- accumulator = array[++index];
- }
- while (++index < length) {
- accumulator = iteratee(accumulator, array[index], index, array);
- }
- return accumulator;
- }
- /**
- * A specialized version of `_.reduceRight` for arrays without support for
- * iteratee shorthands.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @param {*} [accumulator] The initial value.
- * @param {boolean} [initAccum] Specify using the last element of `array` as
- * the initial value.
- * @returns {*} Returns the accumulated value.
- */
- function arrayReduceRight(array, iteratee, accumulator, initAccum) {
- var length = array == null ? 0 : array.length;
- if (initAccum && length) {
- accumulator = array[--length];
- }
- while (length--) {
- accumulator = iteratee(accumulator, array[length], length, array);
- }
- return accumulator;
- }
+var Buffer = (__nccwpck_require__(93058).Buffer);
- /**
- * A specialized version of `_.some` for arrays without support for iteratee
- * shorthands.
- *
- * @private
- * @param {Array} [array] The array to iterate over.
- * @param {Function} predicate The function invoked per iteration.
- * @returns {boolean} Returns `true` if any element passes the predicate check,
- * else `false`.
- */
- function arraySome(array, predicate) {
- var index = -1,
- length = array == null ? 0 : array.length;
+var getParamBytesForAlg = __nccwpck_require__(5028);
- while (++index < length) {
- if (predicate(array[index], index, array)) {
- return true;
- }
- }
- return false;
- }
+var MAX_OCTET = 0x80,
+ CLASS_UNIVERSAL = 0,
+ PRIMITIVE_BIT = 0x20,
+ TAG_SEQ = 0x10,
+ TAG_INT = 0x02,
+ ENCODED_TAG_SEQ = (TAG_SEQ | PRIMITIVE_BIT) | (CLASS_UNIVERSAL << 6),
+ ENCODED_TAG_INT = TAG_INT | (CLASS_UNIVERSAL << 6);
- /**
- * Gets the size of an ASCII `string`.
- *
- * @private
- * @param {string} string The string inspect.
- * @returns {number} Returns the string size.
- */
- var asciiSize = baseProperty('length');
+function base64Url(base64) {
+ return base64
+ .replace(/=/g, '')
+ .replace(/\+/g, '-')
+ .replace(/\//g, '_');
+}
- /**
- * Converts an ASCII `string` to an array.
- *
- * @private
- * @param {string} string The string to convert.
- * @returns {Array} Returns the converted array.
- */
- function asciiToArray(string) {
- return string.split('');
- }
+function signatureAsBuffer(signature) {
+ if (Buffer.isBuffer(signature)) {
+ return signature;
+ } else if ('string' === typeof signature) {
+ return Buffer.from(signature, 'base64');
+ }
- /**
- * Splits an ASCII `string` into an array of its words.
- *
- * @private
- * @param {string} The string to inspect.
- * @returns {Array} Returns the words of `string`.
- */
- function asciiWords(string) {
- return string.match(reAsciiWord) || [];
- }
+ throw new TypeError('ECDSA signature must be a Base64 string or a Buffer');
+}
- /**
- * The base implementation of methods like `_.findKey` and `_.findLastKey`,
- * without support for iteratee shorthands, which iterates over `collection`
- * using `eachFunc`.
- *
- * @private
- * @param {Array|Object} collection The collection to inspect.
- * @param {Function} predicate The function invoked per iteration.
- * @param {Function} eachFunc The function to iterate over `collection`.
- * @returns {*} Returns the found element or its key, else `undefined`.
- */
- function baseFindKey(collection, predicate, eachFunc) {
- var result;
- eachFunc(collection, function(value, key, collection) {
- if (predicate(value, key, collection)) {
- result = key;
- return false;
- }
- });
- return result;
- }
+function derToJose(signature, alg) {
+ signature = signatureAsBuffer(signature);
+ var paramBytes = getParamBytesForAlg(alg);
- /**
- * The base implementation of `_.findIndex` and `_.findLastIndex` without
- * support for iteratee shorthands.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {Function} predicate The function invoked per iteration.
- * @param {number} fromIndex The index to search from.
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {number} Returns the index of the matched value, else `-1`.
- */
- function baseFindIndex(array, predicate, fromIndex, fromRight) {
- var length = array.length,
- index = fromIndex + (fromRight ? 1 : -1);
+ // the DER encoded param should at most be the param size, plus a padding
+ // zero, since due to being a signed integer
+ var maxEncodedParamLength = paramBytes + 1;
- while ((fromRight ? index-- : ++index < length)) {
- if (predicate(array[index], index, array)) {
- return index;
- }
- }
- return -1;
- }
+ var inputLength = signature.length;
- /**
- * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {*} value The value to search for.
- * @param {number} fromIndex The index to search from.
- * @returns {number} Returns the index of the matched value, else `-1`.
- */
- function baseIndexOf(array, value, fromIndex) {
- return value === value
- ? strictIndexOf(array, value, fromIndex)
- : baseFindIndex(array, baseIsNaN, fromIndex);
- }
+ var offset = 0;
+ if (signature[offset++] !== ENCODED_TAG_SEQ) {
+ throw new Error('Could not find expected "seq"');
+ }
- /**
- * This function is like `baseIndexOf` except that it accepts a comparator.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {*} value The value to search for.
- * @param {number} fromIndex The index to search from.
- * @param {Function} comparator The comparator invoked per element.
- * @returns {number} Returns the index of the matched value, else `-1`.
- */
- function baseIndexOfWith(array, value, fromIndex, comparator) {
- var index = fromIndex - 1,
- length = array.length;
+ var seqLength = signature[offset++];
+ if (seqLength === (MAX_OCTET | 1)) {
+ seqLength = signature[offset++];
+ }
- while (++index < length) {
- if (comparator(array[index], value)) {
- return index;
- }
- }
- return -1;
- }
+ if (inputLength - offset < seqLength) {
+ throw new Error('"seq" specified length of "' + seqLength + '", only "' + (inputLength - offset) + '" remaining');
+ }
- /**
- * The base implementation of `_.isNaN` without support for number objects.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
- */
- function baseIsNaN(value) {
- return value !== value;
- }
+ if (signature[offset++] !== ENCODED_TAG_INT) {
+ throw new Error('Could not find expected "int" for "r"');
+ }
- /**
- * The base implementation of `_.mean` and `_.meanBy` without support for
- * iteratee shorthands.
- *
- * @private
- * @param {Array} array The array to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {number} Returns the mean.
- */
- function baseMean(array, iteratee) {
- var length = array == null ? 0 : array.length;
- return length ? (baseSum(array, iteratee) / length) : NAN;
- }
+ var rLength = signature[offset++];
- /**
- * The base implementation of `_.property` without support for deep paths.
- *
- * @private
- * @param {string} key The key of the property to get.
- * @returns {Function} Returns the new accessor function.
- */
- function baseProperty(key) {
- return function(object) {
- return object == null ? undefined : object[key];
- };
- }
+ if (inputLength - offset - 2 < rLength) {
+ throw new Error('"r" specified length of "' + rLength + '", only "' + (inputLength - offset - 2) + '" available');
+ }
- /**
- * The base implementation of `_.propertyOf` without support for deep paths.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Function} Returns the new accessor function.
- */
- function basePropertyOf(object) {
- return function(key) {
- return object == null ? undefined : object[key];
- };
- }
+ if (maxEncodedParamLength < rLength) {
+ throw new Error('"r" specified length of "' + rLength + '", max of "' + maxEncodedParamLength + '" is acceptable');
+ }
- /**
- * The base implementation of `_.reduce` and `_.reduceRight`, without support
- * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
- *
- * @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @param {*} accumulator The initial value.
- * @param {boolean} initAccum Specify using the first or last element of
- * `collection` as the initial value.
- * @param {Function} eachFunc The function to iterate over `collection`.
- * @returns {*} Returns the accumulated value.
- */
- function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
- eachFunc(collection, function(value, index, collection) {
- accumulator = initAccum
- ? (initAccum = false, value)
- : iteratee(accumulator, value, index, collection);
- });
- return accumulator;
- }
+ var rOffset = offset;
+ offset += rLength;
- /**
- * The base implementation of `_.sortBy` which uses `comparer` to define the
- * sort order of `array` and replaces criteria objects with their corresponding
- * values.
- *
- * @private
- * @param {Array} array The array to sort.
- * @param {Function} comparer The function to define sort order.
- * @returns {Array} Returns `array`.
- */
- function baseSortBy(array, comparer) {
- var length = array.length;
+ if (signature[offset++] !== ENCODED_TAG_INT) {
+ throw new Error('Could not find expected "int" for "s"');
+ }
- array.sort(comparer);
- while (length--) {
- array[length] = array[length].value;
- }
- return array;
- }
+ var sLength = signature[offset++];
- /**
- * The base implementation of `_.sum` and `_.sumBy` without support for
- * iteratee shorthands.
- *
- * @private
- * @param {Array} array The array to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {number} Returns the sum.
- */
- function baseSum(array, iteratee) {
- var result,
- index = -1,
- length = array.length;
+ if (inputLength - offset !== sLength) {
+ throw new Error('"s" specified length of "' + sLength + '", expected "' + (inputLength - offset) + '"');
+ }
- while (++index < length) {
- var current = iteratee(array[index]);
- if (current !== undefined) {
- result = result === undefined ? current : (result + current);
- }
- }
- return result;
- }
+ if (maxEncodedParamLength < sLength) {
+ throw new Error('"s" specified length of "' + sLength + '", max of "' + maxEncodedParamLength + '" is acceptable');
+ }
- /**
- * The base implementation of `_.times` without support for iteratee shorthands
- * or max array length checks.
- *
- * @private
- * @param {number} n The number of times to invoke `iteratee`.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Array} Returns the array of results.
- */
- function baseTimes(n, iteratee) {
- var index = -1,
- result = Array(n);
+ var sOffset = offset;
+ offset += sLength;
- while (++index < n) {
- result[index] = iteratee(index);
- }
- return result;
- }
+ if (offset !== inputLength) {
+ throw new Error('Expected to consume entire buffer, but "' + (inputLength - offset) + '" bytes remain');
+ }
- /**
- * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array
- * of key-value pairs for `object` corresponding to the property names of `props`.
- *
- * @private
- * @param {Object} object The object to query.
- * @param {Array} props The property names to get values for.
- * @returns {Object} Returns the key-value pairs.
- */
- function baseToPairs(object, props) {
- return arrayMap(props, function(key) {
- return [key, object[key]];
- });
- }
+ var rPadding = paramBytes - rLength,
+ sPadding = paramBytes - sLength;
- /**
- * The base implementation of `_.trim`.
- *
- * @private
- * @param {string} string The string to trim.
- * @returns {string} Returns the trimmed string.
- */
- function baseTrim(string) {
- return string
- ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
- : string;
- }
+ var dst = Buffer.allocUnsafe(rPadding + rLength + sPadding + sLength);
- /**
- * The base implementation of `_.unary` without support for storing metadata.
- *
- * @private
- * @param {Function} func The function to cap arguments for.
- * @returns {Function} Returns the new capped function.
- */
- function baseUnary(func) {
- return function(value) {
- return func(value);
- };
- }
+ for (offset = 0; offset < rPadding; ++offset) {
+ dst[offset] = 0;
+ }
+ signature.copy(dst, offset, rOffset + Math.max(-rPadding, 0), rOffset + rLength);
- /**
- * The base implementation of `_.values` and `_.valuesIn` which creates an
- * array of `object` property values corresponding to the property names
- * of `props`.
- *
- * @private
- * @param {Object} object The object to query.
- * @param {Array} props The property names to get values for.
- * @returns {Object} Returns the array of property values.
- */
- function baseValues(object, props) {
- return arrayMap(props, function(key) {
- return object[key];
- });
- }
+ offset = paramBytes;
- /**
- * Checks if a `cache` value for `key` exists.
- *
- * @private
- * @param {Object} cache The cache to query.
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
- */
- function cacheHas(cache, key) {
- return cache.has(key);
- }
+ for (var o = offset; offset < o + sPadding; ++offset) {
+ dst[offset] = 0;
+ }
+ signature.copy(dst, offset, sOffset + Math.max(-sPadding, 0), sOffset + sLength);
- /**
- * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
- * that is not found in the character symbols.
- *
- * @private
- * @param {Array} strSymbols The string symbols to inspect.
- * @param {Array} chrSymbols The character symbols to find.
- * @returns {number} Returns the index of the first unmatched string symbol.
- */
- function charsStartIndex(strSymbols, chrSymbols) {
- var index = -1,
- length = strSymbols.length;
+ dst = dst.toString('base64');
+ dst = base64Url(dst);
- while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
- return index;
- }
+ return dst;
+}
- /**
- * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol
- * that is not found in the character symbols.
- *
- * @private
- * @param {Array} strSymbols The string symbols to inspect.
- * @param {Array} chrSymbols The character symbols to find.
- * @returns {number} Returns the index of the last unmatched string symbol.
- */
- function charsEndIndex(strSymbols, chrSymbols) {
- var index = strSymbols.length;
+function countPadding(buf, start, stop) {
+ var padding = 0;
+ while (start + padding < stop && buf[start + padding] === 0) {
+ ++padding;
+ }
- while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
- return index;
- }
+ var needsSign = buf[start + padding] >= MAX_OCTET;
+ if (needsSign) {
+ --padding;
+ }
- /**
- * Gets the number of `placeholder` occurrences in `array`.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {*} placeholder The placeholder to search for.
- * @returns {number} Returns the placeholder count.
- */
- function countHolders(array, placeholder) {
- var length = array.length,
- result = 0;
+ return padding;
+}
- while (length--) {
- if (array[length] === placeholder) {
- ++result;
- }
- }
- return result;
- }
+function joseToDer(signature, alg) {
+ signature = signatureAsBuffer(signature);
+ var paramBytes = getParamBytesForAlg(alg);
- /**
- * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
- * letters to basic Latin letters.
- *
- * @private
- * @param {string} letter The matched letter to deburr.
- * @returns {string} Returns the deburred letter.
- */
- var deburrLetter = basePropertyOf(deburredLetters);
+ var signatureBytes = signature.length;
+ if (signatureBytes !== paramBytes * 2) {
+ throw new TypeError('"' + alg + '" signatures must be "' + paramBytes * 2 + '" bytes, saw "' + signatureBytes + '"');
+ }
- /**
- * Used by `_.escape` to convert characters to HTML entities.
- *
- * @private
- * @param {string} chr The matched character to escape.
- * @returns {string} Returns the escaped character.
- */
- var escapeHtmlChar = basePropertyOf(htmlEscapes);
+ var rPadding = countPadding(signature, 0, paramBytes);
+ var sPadding = countPadding(signature, paramBytes, signature.length);
+ var rLength = paramBytes - rPadding;
+ var sLength = paramBytes - sPadding;
- /**
- * Used by `_.template` to escape characters for inclusion in compiled string literals.
- *
- * @private
- * @param {string} chr The matched character to escape.
- * @returns {string} Returns the escaped character.
- */
- function escapeStringChar(chr) {
- return '\\' + stringEscapes[chr];
- }
+ var rsBytes = 1 + 1 + rLength + 1 + 1 + sLength;
- /**
- * Gets the value at `key` of `object`.
- *
- * @private
- * @param {Object} [object] The object to query.
- * @param {string} key The key of the property to get.
- * @returns {*} Returns the property value.
- */
- function getValue(object, key) {
- return object == null ? undefined : object[key];
- }
+ var shortLength = rsBytes < MAX_OCTET;
- /**
- * Checks if `string` contains Unicode symbols.
- *
- * @private
- * @param {string} string The string to inspect.
- * @returns {boolean} Returns `true` if a symbol is found, else `false`.
- */
- function hasUnicode(string) {
- return reHasUnicode.test(string);
- }
+ var dst = Buffer.allocUnsafe((shortLength ? 2 : 3) + rsBytes);
- /**
- * Checks if `string` contains a word composed of Unicode symbols.
- *
- * @private
- * @param {string} string The string to inspect.
- * @returns {boolean} Returns `true` if a word is found, else `false`.
- */
- function hasUnicodeWord(string) {
- return reHasUnicodeWord.test(string);
- }
+ var offset = 0;
+ dst[offset++] = ENCODED_TAG_SEQ;
+ if (shortLength) {
+ // Bit 8 has value "0"
+ // bits 7-1 give the length.
+ dst[offset++] = rsBytes;
+ } else {
+ // Bit 8 of first octet has value "1"
+ // bits 7-1 give the number of additional length octets.
+ dst[offset++] = MAX_OCTET | 1;
+ // length, base 256
+ dst[offset++] = rsBytes & 0xff;
+ }
+ dst[offset++] = ENCODED_TAG_INT;
+ dst[offset++] = rLength;
+ if (rPadding < 0) {
+ dst[offset++] = 0;
+ offset += signature.copy(dst, offset, 0, paramBytes);
+ } else {
+ offset += signature.copy(dst, offset, rPadding, paramBytes);
+ }
+ dst[offset++] = ENCODED_TAG_INT;
+ dst[offset++] = sLength;
+ if (sPadding < 0) {
+ dst[offset++] = 0;
+ signature.copy(dst, offset, paramBytes);
+ } else {
+ signature.copy(dst, offset, paramBytes + sPadding);
+ }
- /**
- * Converts `iterator` to an array.
- *
- * @private
- * @param {Object} iterator The iterator to convert.
- * @returns {Array} Returns the converted array.
- */
- function iteratorToArray(iterator) {
- var data,
- result = [];
+ return dst;
+}
- while (!(data = iterator.next()).done) {
- result.push(data.value);
- }
- return result;
- }
+module.exports = {
+ derToJose: derToJose,
+ joseToDer: joseToDer
+};
- /**
- * Converts `map` to its key-value pairs.
- *
- * @private
- * @param {Object} map The map to convert.
- * @returns {Array} Returns the key-value pairs.
- */
- function mapToArray(map) {
- var index = -1,
- result = Array(map.size);
- map.forEach(function(value, key) {
- result[++index] = [key, value];
- });
- return result;
- }
+/***/ }),
- /**
- * Creates a unary function that invokes `func` with its argument transformed.
- *
- * @private
- * @param {Function} func The function to wrap.
- * @param {Function} transform The argument transform.
- * @returns {Function} Returns the new function.
- */
- function overArg(func, transform) {
- return function(arg) {
- return func(transform(arg));
- };
- }
+/***/ 5028:
+/***/ ((module) => {
- /**
- * Replaces all `placeholder` elements in `array` with an internal placeholder
- * and returns an array of their indexes.
- *
- * @private
- * @param {Array} array The array to modify.
- * @param {*} placeholder The placeholder to replace.
- * @returns {Array} Returns the new array of placeholder indexes.
- */
- function replaceHolders(array, placeholder) {
- var index = -1,
- length = array.length,
- resIndex = 0,
- result = [];
+"use strict";
- while (++index < length) {
- var value = array[index];
- if (value === placeholder || value === PLACEHOLDER) {
- array[index] = PLACEHOLDER;
- result[resIndex++] = index;
- }
- }
- return result;
- }
- /**
- * Converts `set` to an array of its values.
- *
- * @private
- * @param {Object} set The set to convert.
- * @returns {Array} Returns the values.
- */
- function setToArray(set) {
- var index = -1,
- result = Array(set.size);
+function getParamSize(keySize) {
+ var result = ((keySize / 8) | 0) + (keySize % 8 === 0 ? 0 : 1);
+ return result;
+}
- set.forEach(function(value) {
- result[++index] = value;
- });
- return result;
- }
+var paramBytesForAlg = {
+ ES256: getParamSize(256),
+ ES384: getParamSize(384),
+ ES512: getParamSize(521)
+};
- /**
- * Converts `set` to its value-value pairs.
- *
- * @private
- * @param {Object} set The set to convert.
- * @returns {Array} Returns the value-value pairs.
- */
- function setToPairs(set) {
- var index = -1,
- result = Array(set.size);
+function getParamBytesForAlg(alg) {
+ var paramBytes = paramBytesForAlg[alg];
+ if (paramBytes) {
+ return paramBytes;
+ }
- set.forEach(function(value) {
- result[++index] = [value, value];
- });
- return result;
- }
+ throw new Error('Unknown algorithm "' + alg + '"');
+}
- /**
- * A specialized version of `_.indexOf` which performs strict equality
- * comparisons of values, i.e. `===`.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {*} value The value to search for.
- * @param {number} fromIndex The index to search from.
- * @returns {number} Returns the index of the matched value, else `-1`.
- */
- function strictIndexOf(array, value, fromIndex) {
- var index = fromIndex - 1,
- length = array.length;
+module.exports = getParamBytesForAlg;
- while (++index < length) {
- if (array[index] === value) {
- return index;
- }
- }
- return -1;
- }
- /**
- * A specialized version of `_.lastIndexOf` which performs strict equality
- * comparisons of values, i.e. `===`.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {*} value The value to search for.
- * @param {number} fromIndex The index to search from.
- * @returns {number} Returns the index of the matched value, else `-1`.
- */
- function strictLastIndexOf(array, value, fromIndex) {
- var index = fromIndex + 1;
- while (index--) {
- if (array[index] === value) {
- return index;
- }
- }
- return index;
- }
+/***/ }),
- /**
- * Gets the number of symbols in `string`.
- *
- * @private
- * @param {string} string The string to inspect.
- * @returns {number} Returns the string size.
- */
- function stringSize(string) {
- return hasUnicode(string)
- ? unicodeSize(string)
- : asciiSize(string);
- }
+/***/ 79094:
+/***/ ((module) => {
- /**
- * Converts `string` to an array.
- *
- * @private
- * @param {string} string The string to convert.
- * @returns {Array} Returns the converted array.
- */
- function stringToArray(string) {
- return hasUnicode(string)
- ? unicodeToArray(string)
- : asciiToArray(string);
- }
+"use strict";
- /**
- * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
- * character of `string`.
- *
- * @private
- * @param {string} string The string to inspect.
- * @returns {number} Returns the index of the last non-whitespace character.
- */
- function trimmedEndIndex(string) {
- var index = string.length;
- while (index-- && reWhitespace.test(string.charAt(index))) {}
- return index;
- }
+/** @type {import('.')} */
+var $defineProperty = Object.defineProperty || false;
+if ($defineProperty) {
+ try {
+ $defineProperty({}, 'a', { value: 1 });
+ } catch (e) {
+ // IE 8 has a broken defineProperty
+ $defineProperty = false;
+ }
+}
- /**
- * Used by `_.unescape` to convert HTML entities to characters.
- *
- * @private
- * @param {string} chr The matched character to unescape.
- * @returns {string} Returns the unescaped character.
- */
- var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
+module.exports = $defineProperty;
- /**
- * Gets the size of a Unicode `string`.
- *
- * @private
- * @param {string} string The string inspect.
- * @returns {number} Returns the string size.
- */
- function unicodeSize(string) {
- var result = reUnicode.lastIndex = 0;
- while (reUnicode.test(string)) {
- ++result;
- }
- return result;
- }
- /**
- * Converts a Unicode `string` to an array.
- *
- * @private
- * @param {string} string The string to convert.
- * @returns {Array} Returns the converted array.
- */
- function unicodeToArray(string) {
- return string.match(reUnicode) || [];
- }
+/***/ }),
- /**
- * Splits a Unicode `string` into an array of its words.
- *
- * @private
- * @param {string} The string to inspect.
- * @returns {Array} Returns the words of `string`.
- */
- function unicodeWords(string) {
- return string.match(reUnicodeWord) || [];
- }
+/***/ 33056:
+/***/ ((module) => {
- /*--------------------------------------------------------------------------*/
+"use strict";
- /**
- * Create a new pristine `lodash` function using the `context` object.
- *
- * @static
- * @memberOf _
- * @since 1.1.0
- * @category Util
- * @param {Object} [context=root] The context object.
- * @returns {Function} Returns a new `lodash` function.
- * @example
- *
- * _.mixin({ 'foo': _.constant('foo') });
- *
- * var lodash = _.runInContext();
- * lodash.mixin({ 'bar': lodash.constant('bar') });
- *
- * _.isFunction(_.foo);
- * // => true
- * _.isFunction(_.bar);
- * // => false
- *
- * lodash.isFunction(lodash.foo);
- * // => false
- * lodash.isFunction(lodash.bar);
- * // => true
- *
- * // Create a suped-up `defer` in Node.js.
- * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
- */
- var runInContext = (function runInContext(context) {
- context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
- /** Built-in constructor references. */
- var Array = context.Array,
- Date = context.Date,
- Error = context.Error,
- Function = context.Function,
- Math = context.Math,
- Object = context.Object,
- RegExp = context.RegExp,
- String = context.String,
- TypeError = context.TypeError;
+/** @type {import('./eval')} */
+module.exports = EvalError;
- /** Used for built-in method references. */
- var arrayProto = Array.prototype,
- funcProto = Function.prototype,
- objectProto = Object.prototype;
- /** Used to detect overreaching core-js shims. */
- var coreJsData = context['__core-js_shared__'];
+/***/ }),
- /** Used to resolve the decompiled source of functions. */
- var funcToString = funcProto.toString;
+/***/ 31620:
+/***/ ((module) => {
- /** Used to check objects for own properties. */
- var hasOwnProperty = objectProto.hasOwnProperty;
+"use strict";
- /** Used to generate unique IDs. */
- var idCounter = 0;
- /** Used to detect methods masquerading as native. */
- var maskSrcKey = (function() {
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
- return uid ? ('Symbol(src)_1.' + uid) : '';
- }());
+/** @type {import('.')} */
+module.exports = Error;
- /**
- * Used to resolve the
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
- * of values.
- */
- var nativeObjectToString = objectProto.toString;
- /** Used to infer the `Object` constructor. */
- var objectCtorString = funcToString.call(Object);
+/***/ }),
- /** Used to restore the original `_` reference in `_.noConflict`. */
- var oldDash = root._;
+/***/ 14585:
+/***/ ((module) => {
- /** Used to detect if a method is native. */
- var reIsNative = RegExp('^' +
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
- );
+"use strict";
- /** Built-in value references. */
- var Buffer = moduleExports ? context.Buffer : undefined,
- Symbol = context.Symbol,
- Uint8Array = context.Uint8Array,
- allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,
- getPrototype = overArg(Object.getPrototypeOf, Object),
- objectCreate = Object.create,
- propertyIsEnumerable = objectProto.propertyIsEnumerable,
- splice = arrayProto.splice,
- spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,
- symIterator = Symbol ? Symbol.iterator : undefined,
- symToStringTag = Symbol ? Symbol.toStringTag : undefined;
- var defineProperty = (function() {
- try {
- var func = getNative(Object, 'defineProperty');
- func({}, '', {});
- return func;
- } catch (e) {}
- }());
+/** @type {import('./range')} */
+module.exports = RangeError;
- /** Mocked built-ins. */
- var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,
- ctxNow = Date && Date.now !== root.Date.now && Date.now,
- ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
- /* Built-in method references for those with the same name as other `lodash` methods. */
- var nativeCeil = Math.ceil,
- nativeFloor = Math.floor,
- nativeGetSymbols = Object.getOwnPropertySymbols,
- nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
- nativeIsFinite = context.isFinite,
- nativeJoin = arrayProto.join,
- nativeKeys = overArg(Object.keys, Object),
- nativeMax = Math.max,
- nativeMin = Math.min,
- nativeNow = Date.now,
- nativeParseInt = context.parseInt,
- nativeRandom = Math.random,
- nativeReverse = arrayProto.reverse;
+/***/ }),
- /* Built-in method references that are verified to be native. */
- var DataView = getNative(context, 'DataView'),
- Map = getNative(context, 'Map'),
- Promise = getNative(context, 'Promise'),
- Set = getNative(context, 'Set'),
- WeakMap = getNative(context, 'WeakMap'),
- nativeCreate = getNative(Object, 'create');
+/***/ 46905:
+/***/ ((module) => {
- /** Used to store function metadata. */
- var metaMap = WeakMap && new WeakMap;
+"use strict";
- /** Used to lookup unminified function names. */
- var realNames = {};
- /** Used to detect maps, sets, and weakmaps. */
- var dataViewCtorString = toSource(DataView),
- mapCtorString = toSource(Map),
- promiseCtorString = toSource(Promise),
- setCtorString = toSource(Set),
- weakMapCtorString = toSource(WeakMap);
+/** @type {import('./ref')} */
+module.exports = ReferenceError;
- /** Used to convert symbols to primitives and strings. */
- var symbolProto = Symbol ? Symbol.prototype : undefined,
- symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,
- symbolToString = symbolProto ? symbolProto.toString : undefined;
- /*------------------------------------------------------------------------*/
+/***/ }),
- /**
- * Creates a `lodash` object which wraps `value` to enable implicit method
- * chain sequences. Methods that operate on and return arrays, collections,
- * and functions can be chained together. Methods that retrieve a single value
- * or may return a primitive value will automatically end the chain sequence
- * and return the unwrapped value. Otherwise, the value must be unwrapped
- * with `_#value`.
- *
- * Explicit chain sequences, which must be unwrapped with `_#value`, may be
- * enabled using `_.chain`.
- *
- * The execution of chained methods is lazy, that is, it's deferred until
- * `_#value` is implicitly or explicitly called.
- *
- * Lazy evaluation allows several methods to support shortcut fusion.
- * Shortcut fusion is an optimization to merge iteratee calls; this avoids
- * the creation of intermediate arrays and can greatly reduce the number of
- * iteratee executions. Sections of a chain sequence qualify for shortcut
- * fusion if the section is applied to an array and iteratees accept only
- * one argument. The heuristic for whether a section qualifies for shortcut
- * fusion is subject to change.
- *
- * Chaining is supported in custom builds as long as the `_#value` method is
- * directly or indirectly included in the build.
- *
- * In addition to lodash methods, wrappers have `Array` and `String` methods.
- *
- * The wrapper `Array` methods are:
- * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`
- *
- * The wrapper `String` methods are:
- * `replace` and `split`
- *
- * The wrapper methods that support shortcut fusion are:
- * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,
- * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,
- * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`
- *
- * The chainable wrapper methods are:
- * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
- * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
- * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
- * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,
- * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,
- * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,
- * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,
- * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,
- * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,
- * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
- * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,
- * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
- * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,
- * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,
- * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,
- * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,
- * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
- * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,
- * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,
- * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,
- * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,
- * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,
- * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,
- * `zipObject`, `zipObjectDeep`, and `zipWith`
- *
- * The wrapper methods that are **not** chainable by default are:
- * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,
- * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,
- * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,
- * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,
- * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,
- * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,
- * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,
- * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,
- * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,
- * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,
- * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,
- * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,
- * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,
- * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,
- * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,
- * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,
- * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,
- * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,
- * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,
- * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,
- * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,
- * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,
- * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,
- * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,
- * `upperFirst`, `value`, and `words`
- *
- * @name _
- * @constructor
- * @category Seq
- * @param {*} value The value to wrap in a `lodash` instance.
- * @returns {Object} Returns the new `lodash` wrapper instance.
- * @example
- *
- * function square(n) {
- * return n * n;
- * }
- *
- * var wrapped = _([1, 2, 3]);
- *
- * // Returns an unwrapped value.
- * wrapped.reduce(_.add);
- * // => 6
- *
- * // Returns a wrapped value.
- * var squares = wrapped.map(square);
- *
- * _.isArray(squares);
- * // => false
- *
- * _.isArray(squares.value());
- * // => true
- */
- function lodash(value) {
- if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
- if (value instanceof LodashWrapper) {
- return value;
- }
- if (hasOwnProperty.call(value, '__wrapped__')) {
- return wrapperClone(value);
- }
- }
- return new LodashWrapper(value);
- }
+/***/ 80105:
+/***/ ((module) => {
- /**
- * The base implementation of `_.create` without support for assigning
- * properties to the created object.
- *
- * @private
- * @param {Object} proto The object to inherit from.
- * @returns {Object} Returns the new object.
- */
- var baseCreate = (function() {
- function object() {}
- return function(proto) {
- if (!isObject(proto)) {
- return {};
- }
- if (objectCreate) {
- return objectCreate(proto);
- }
- object.prototype = proto;
- var result = new object;
- object.prototype = undefined;
- return result;
- };
- }());
+"use strict";
- /**
- * The function whose prototype chain sequence wrappers inherit from.
- *
- * @private
- */
- function baseLodash() {
- // No operation performed.
- }
- /**
- * The base constructor for creating `lodash` wrapper objects.
- *
- * @private
- * @param {*} value The value to wrap.
- * @param {boolean} [chainAll] Enable explicit method chain sequences.
- */
- function LodashWrapper(value, chainAll) {
- this.__wrapped__ = value;
- this.__actions__ = [];
- this.__chain__ = !!chainAll;
- this.__index__ = 0;
- this.__values__ = undefined;
- }
+/** @type {import('./syntax')} */
+module.exports = SyntaxError;
- /**
- * By default, the template delimiters used by lodash are like those in
- * embedded Ruby (ERB) as well as ES2015 template strings. Change the
- * following template settings to use alternative delimiters.
- *
- * @static
- * @memberOf _
- * @type {Object}
- */
- lodash.templateSettings = {
- /**
- * Used to detect `data` property values to be HTML-escaped.
- *
- * @memberOf _.templateSettings
- * @type {RegExp}
- */
- 'escape': reEscape,
+/***/ }),
- /**
- * Used to detect code to be evaluated.
- *
- * @memberOf _.templateSettings
- * @type {RegExp}
- */
- 'evaluate': reEvaluate,
+/***/ 73314:
+/***/ ((module) => {
- /**
- * Used to detect `data` property values to inject.
- *
- * @memberOf _.templateSettings
- * @type {RegExp}
- */
- 'interpolate': reInterpolate,
+"use strict";
- /**
- * Used to reference the data object in the template text.
- *
- * @memberOf _.templateSettings
- * @type {string}
- */
- 'variable': '',
- /**
- * Used to import variables into the compiled template.
- *
- * @memberOf _.templateSettings
- * @type {Object}
- */
- 'imports': {
+/** @type {import('./type')} */
+module.exports = TypeError;
- /**
- * A reference to the `lodash` function.
- *
- * @memberOf _.templateSettings.imports
- * @type {Function}
- */
- '_': lodash
- }
- };
- // Ensure wrappers are instances of `baseLodash`.
- lodash.prototype = baseLodash.prototype;
- lodash.prototype.constructor = lodash;
+/***/ }),
- LodashWrapper.prototype = baseCreate(baseLodash.prototype);
- LodashWrapper.prototype.constructor = LodashWrapper;
+/***/ 32578:
+/***/ ((module) => {
- /*------------------------------------------------------------------------*/
+"use strict";
- /**
- * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
- *
- * @private
- * @constructor
- * @param {*} value The value to wrap.
- */
- function LazyWrapper(value) {
- this.__wrapped__ = value;
- this.__actions__ = [];
- this.__dir__ = 1;
- this.__filtered__ = false;
- this.__iteratees__ = [];
- this.__takeCount__ = MAX_ARRAY_LENGTH;
- this.__views__ = [];
- }
- /**
- * Creates a clone of the lazy wrapper object.
- *
- * @private
- * @name clone
- * @memberOf LazyWrapper
- * @returns {Object} Returns the cloned `LazyWrapper` object.
- */
- function lazyClone() {
- var result = new LazyWrapper(this.__wrapped__);
- result.__actions__ = copyArray(this.__actions__);
- result.__dir__ = this.__dir__;
- result.__filtered__ = this.__filtered__;
- result.__iteratees__ = copyArray(this.__iteratees__);
- result.__takeCount__ = this.__takeCount__;
- result.__views__ = copyArray(this.__views__);
- return result;
- }
+/** @type {import('./uri')} */
+module.exports = URIError;
- /**
- * Reverses the direction of lazy iteration.
- *
- * @private
- * @name reverse
- * @memberOf LazyWrapper
- * @returns {Object} Returns the new reversed `LazyWrapper` object.
- */
- function lazyReverse() {
- if (this.__filtered__) {
- var result = new LazyWrapper(this);
- result.__dir__ = -1;
- result.__filtered__ = true;
- } else {
- result = this.clone();
- result.__dir__ *= -1;
- }
- return result;
- }
- /**
- * Extracts the unwrapped value from its lazy wrapper.
- *
- * @private
- * @name value
- * @memberOf LazyWrapper
- * @returns {*} Returns the unwrapped value.
- */
- function lazyValue() {
- var array = this.__wrapped__.value(),
- dir = this.__dir__,
- isArr = isArray(array),
- isRight = dir < 0,
- arrLength = isArr ? array.length : 0,
- view = getView(0, arrLength, this.__views__),
- start = view.start,
- end = view.end,
- length = end - start,
- index = isRight ? end : (start - 1),
- iteratees = this.__iteratees__,
- iterLength = iteratees.length,
- resIndex = 0,
- takeCount = nativeMin(length, this.__takeCount__);
+/***/ }),
- if (!isArr || (!isRight && arrLength == length && takeCount == length)) {
- return baseWrapperValue(array, this.__actions__);
- }
- var result = [];
+/***/ 95399:
+/***/ ((module) => {
- outer:
- while (length-- && resIndex < takeCount) {
- index += dir;
+"use strict";
- var iterIndex = -1,
- value = array[index];
- while (++iterIndex < iterLength) {
- var data = iteratees[iterIndex],
- iteratee = data.iteratee,
- type = data.type,
- computed = iteratee(value);
+/** @type {import('.')} */
+module.exports = Object;
- if (type == LAZY_MAP_FLAG) {
- value = computed;
- } else if (!computed) {
- if (type == LAZY_FILTER_FLAG) {
- continue outer;
- } else {
- break outer;
- }
- }
- }
- result[resIndex++] = value;
- }
- return result;
- }
- // Ensure `LazyWrapper` is an instance of `baseLodash`.
- LazyWrapper.prototype = baseCreate(baseLodash.prototype);
- LazyWrapper.prototype.constructor = LazyWrapper;
+/***/ }),
- /*------------------------------------------------------------------------*/
+/***/ 88700:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * Creates a hash object.
- *
- * @private
- * @constructor
- * @param {Array} [entries] The key-value pairs to cache.
- */
- function Hash(entries) {
- var index = -1,
- length = entries == null ? 0 : entries.length;
+"use strict";
- this.clear();
- while (++index < length) {
- var entry = entries[index];
- this.set(entry[0], entry[1]);
- }
- }
- /**
- * Removes all key-value entries from the hash.
- *
- * @private
- * @name clear
- * @memberOf Hash
- */
- function hashClear() {
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
- this.size = 0;
- }
+var GetIntrinsic = __nccwpck_require__(60470);
- /**
- * Removes `key` and its value from the hash.
- *
- * @private
- * @name delete
- * @memberOf Hash
- * @param {Object} hash The hash to modify.
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
- */
- function hashDelete(key) {
- var result = this.has(key) && delete this.__data__[key];
- this.size -= result ? 1 : 0;
- return result;
- }
+var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
- /**
- * Gets the hash value for `key`.
- *
- * @private
- * @name get
- * @memberOf Hash
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
- */
- function hashGet(key) {
- var data = this.__data__;
- if (nativeCreate) {
- var result = data[key];
- return result === HASH_UNDEFINED ? undefined : result;
- }
- return hasOwnProperty.call(data, key) ? data[key] : undefined;
- }
+var hasToStringTag = __nccwpck_require__(85479)();
+var hasOwn = __nccwpck_require__(54076);
+var $TypeError = __nccwpck_require__(73314);
- /**
- * Checks if a hash value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf Hash
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
- */
- function hashHas(key) {
- var data = this.__data__;
- return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
- }
+var toStringTag = hasToStringTag ? Symbol.toStringTag : null;
- /**
- * Sets the hash `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf Hash
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the hash instance.
- */
- function hashSet(key, value) {
- var data = this.__data__;
- this.size += this.has(key) ? 0 : 1;
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
- return this;
- }
+/** @type {import('.')} */
+module.exports = function setToStringTag(object, value) {
+ var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force;
+ var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
+ if (
+ (typeof overrideIfSet !== 'undefined' && typeof overrideIfSet !== 'boolean')
+ || (typeof nonConfigurable !== 'undefined' && typeof nonConfigurable !== 'boolean')
+ ) {
+ throw new $TypeError('if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans');
+ }
+ if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) {
+ if ($defineProperty) {
+ $defineProperty(object, toStringTag, {
+ configurable: !nonConfigurable,
+ enumerable: false,
+ value: value,
+ writable: false
+ });
+ } else {
+ object[toStringTag] = value; // eslint-disable-line no-param-reassign
+ }
+ }
+};
- // Add methods to `Hash`.
- Hash.prototype.clear = hashClear;
- Hash.prototype['delete'] = hashDelete;
- Hash.prototype.get = hashGet;
- Hash.prototype.has = hashHas;
- Hash.prototype.set = hashSet;
- /*------------------------------------------------------------------------*/
+/***/ }),
- /**
- * Creates an list cache object.
- *
- * @private
- * @constructor
- * @param {Array} [entries] The key-value pairs to cache.
- */
- function ListCache(entries) {
- var index = -1,
- length = entries == null ? 0 : entries.length;
+/***/ 34778:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- this.clear();
- while (++index < length) {
- var entry = entries[index];
- this.set(entry[0], entry[1]);
- }
- }
+var debug;
- /**
- * Removes all key-value entries from the list cache.
- *
- * @private
- * @name clear
- * @memberOf ListCache
- */
- function listCacheClear() {
- this.__data__ = [];
- this.size = 0;
+module.exports = function () {
+ if (!debug) {
+ try {
+ /* eslint global-require: off */
+ debug = __nccwpck_require__(2830)("follow-redirects");
+ }
+ catch (error) { /* */ }
+ if (typeof debug !== "function") {
+ debug = function () { /* */ };
}
+ }
+ debug.apply(null, arguments);
+};
- /**
- * Removes `key` and its value from the list cache.
- *
- * @private
- * @name delete
- * @memberOf ListCache
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
- */
- function listCacheDelete(key) {
- var data = this.__data__,
- index = assocIndexOf(data, key);
- if (index < 0) {
- return false;
- }
- var lastIndex = data.length - 1;
- if (index == lastIndex) {
- data.pop();
- } else {
- splice.call(data, index, 1);
- }
- --this.size;
- return true;
- }
+/***/ }),
- /**
- * Gets the list cache value for `key`.
- *
- * @private
- * @name get
- * @memberOf ListCache
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
- */
- function listCacheGet(key) {
- var data = this.__data__,
- index = assocIndexOf(data, key);
+/***/ 1573:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var url = __nccwpck_require__(87016);
+var URL = url.URL;
+var http = __nccwpck_require__(58611);
+var https = __nccwpck_require__(65692);
+var Writable = (__nccwpck_require__(2203).Writable);
+var assert = __nccwpck_require__(42613);
+var debug = __nccwpck_require__(34778);
+
+// Preventive platform detection
+// istanbul ignore next
+(function detectUnsupportedEnvironment() {
+ var looksLikeNode = typeof process !== "undefined";
+ var looksLikeBrowser = typeof window !== "undefined" && typeof document !== "undefined";
+ var looksLikeV8 = isFunction(Error.captureStackTrace);
+ if (!looksLikeNode && (looksLikeBrowser || !looksLikeV8)) {
+ console.warn("The follow-redirects package should be excluded from browser builds.");
+ }
+}());
- return index < 0 ? undefined : data[index][1];
- }
+// Whether to use the native URL object or the legacy url module
+var useNativeURL = false;
+try {
+ assert(new URL(""));
+}
+catch (error) {
+ useNativeURL = error.code === "ERR_INVALID_URL";
+}
- /**
- * Checks if a list cache value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf ListCache
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
- */
- function listCacheHas(key) {
- return assocIndexOf(this.__data__, key) > -1;
- }
+// URL fields to preserve in copy operations
+var preservedUrlFields = [
+ "auth",
+ "host",
+ "hostname",
+ "href",
+ "path",
+ "pathname",
+ "port",
+ "protocol",
+ "query",
+ "search",
+ "hash",
+];
- /**
- * Sets the list cache `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf ListCache
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the list cache instance.
- */
- function listCacheSet(key, value) {
- var data = this.__data__,
- index = assocIndexOf(data, key);
+// Create handlers that pass events from native requests
+var events = ["abort", "aborted", "connect", "error", "socket", "timeout"];
+var eventHandlers = Object.create(null);
+events.forEach(function (event) {
+ eventHandlers[event] = function (arg1, arg2, arg3) {
+ this._redirectable.emit(event, arg1, arg2, arg3);
+ };
+});
- if (index < 0) {
- ++this.size;
- data.push([key, value]);
- } else {
- data[index][1] = value;
- }
- return this;
- }
+// Error types with codes
+var InvalidUrlError = createErrorType(
+ "ERR_INVALID_URL",
+ "Invalid URL",
+ TypeError
+);
+var RedirectionError = createErrorType(
+ "ERR_FR_REDIRECTION_FAILURE",
+ "Redirected request failed"
+);
+var TooManyRedirectsError = createErrorType(
+ "ERR_FR_TOO_MANY_REDIRECTS",
+ "Maximum number of redirects exceeded",
+ RedirectionError
+);
+var MaxBodyLengthExceededError = createErrorType(
+ "ERR_FR_MAX_BODY_LENGTH_EXCEEDED",
+ "Request body larger than maxBodyLength limit"
+);
+var WriteAfterEndError = createErrorType(
+ "ERR_STREAM_WRITE_AFTER_END",
+ "write after end"
+);
+
+// istanbul ignore next
+var destroy = Writable.prototype.destroy || noop;
+
+// An HTTP(S) request that can be redirected
+function RedirectableRequest(options, responseCallback) {
+ // Initialize the request
+ Writable.call(this);
+ this._sanitizeOptions(options);
+ this._options = options;
+ this._ended = false;
+ this._ending = false;
+ this._redirectCount = 0;
+ this._redirects = [];
+ this._requestBodyLength = 0;
+ this._requestBodyBuffers = [];
+
+ // Attach a callback if passed
+ if (responseCallback) {
+ this.on("response", responseCallback);
+ }
- // Add methods to `ListCache`.
- ListCache.prototype.clear = listCacheClear;
- ListCache.prototype['delete'] = listCacheDelete;
- ListCache.prototype.get = listCacheGet;
- ListCache.prototype.has = listCacheHas;
- ListCache.prototype.set = listCacheSet;
+ // React to responses of native requests
+ var self = this;
+ this._onNativeResponse = function (response) {
+ try {
+ self._processResponse(response);
+ }
+ catch (cause) {
+ self.emit("error", cause instanceof RedirectionError ?
+ cause : new RedirectionError({ cause: cause }));
+ }
+ };
- /*------------------------------------------------------------------------*/
+ // Perform the first request
+ this._performRequest();
+}
+RedirectableRequest.prototype = Object.create(Writable.prototype);
- /**
- * Creates a map cache object to store key-value pairs.
- *
- * @private
- * @constructor
- * @param {Array} [entries] The key-value pairs to cache.
- */
- function MapCache(entries) {
- var index = -1,
- length = entries == null ? 0 : entries.length;
+RedirectableRequest.prototype.abort = function () {
+ destroyRequest(this._currentRequest);
+ this._currentRequest.abort();
+ this.emit("abort");
+};
- this.clear();
- while (++index < length) {
- var entry = entries[index];
- this.set(entry[0], entry[1]);
- }
- }
+RedirectableRequest.prototype.destroy = function (error) {
+ destroyRequest(this._currentRequest, error);
+ destroy.call(this, error);
+ return this;
+};
- /**
- * Removes all key-value entries from the map.
- *
- * @private
- * @name clear
- * @memberOf MapCache
- */
- function mapCacheClear() {
- this.size = 0;
- this.__data__ = {
- 'hash': new Hash,
- 'map': new (Map || ListCache),
- 'string': new Hash
- };
- }
+// Writes buffered data to the current native request
+RedirectableRequest.prototype.write = function (data, encoding, callback) {
+ // Writing is not allowed if end has been called
+ if (this._ending) {
+ throw new WriteAfterEndError();
+ }
- /**
- * Removes `key` and its value from the map.
- *
- * @private
- * @name delete
- * @memberOf MapCache
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
- */
- function mapCacheDelete(key) {
- var result = getMapData(this, key)['delete'](key);
- this.size -= result ? 1 : 0;
- return result;
- }
+ // Validate input and shift parameters if necessary
+ if (!isString(data) && !isBuffer(data)) {
+ throw new TypeError("data should be a string, Buffer or Uint8Array");
+ }
+ if (isFunction(encoding)) {
+ callback = encoding;
+ encoding = null;
+ }
- /**
- * Gets the map value for `key`.
- *
- * @private
- * @name get
- * @memberOf MapCache
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
- */
- function mapCacheGet(key) {
- return getMapData(this, key).get(key);
+ // Ignore empty buffers, since writing them doesn't invoke the callback
+ // https://github.com/nodejs/node/issues/22066
+ if (data.length === 0) {
+ if (callback) {
+ callback();
}
+ return;
+ }
+ // Only write when we don't exceed the maximum body length
+ if (this._requestBodyLength + data.length <= this._options.maxBodyLength) {
+ this._requestBodyLength += data.length;
+ this._requestBodyBuffers.push({ data: data, encoding: encoding });
+ this._currentRequest.write(data, encoding, callback);
+ }
+ // Error when we exceed the maximum body length
+ else {
+ this.emit("error", new MaxBodyLengthExceededError());
+ this.abort();
+ }
+};
- /**
- * Checks if a map value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf MapCache
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
- */
- function mapCacheHas(key) {
- return getMapData(this, key).has(key);
- }
+// Ends the current native request
+RedirectableRequest.prototype.end = function (data, encoding, callback) {
+ // Shift parameters if necessary
+ if (isFunction(data)) {
+ callback = data;
+ data = encoding = null;
+ }
+ else if (isFunction(encoding)) {
+ callback = encoding;
+ encoding = null;
+ }
- /**
- * Sets the map `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf MapCache
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the map cache instance.
- */
- function mapCacheSet(key, value) {
- var data = getMapData(this, key),
- size = data.size;
+ // Write data if needed and end
+ if (!data) {
+ this._ended = this._ending = true;
+ this._currentRequest.end(null, null, callback);
+ }
+ else {
+ var self = this;
+ var currentRequest = this._currentRequest;
+ this.write(data, encoding, function () {
+ self._ended = true;
+ currentRequest.end(null, null, callback);
+ });
+ this._ending = true;
+ }
+};
- data.set(key, value);
- this.size += data.size == size ? 0 : 1;
- return this;
- }
+// Sets a header value on the current native request
+RedirectableRequest.prototype.setHeader = function (name, value) {
+ this._options.headers[name] = value;
+ this._currentRequest.setHeader(name, value);
+};
- // Add methods to `MapCache`.
- MapCache.prototype.clear = mapCacheClear;
- MapCache.prototype['delete'] = mapCacheDelete;
- MapCache.prototype.get = mapCacheGet;
- MapCache.prototype.has = mapCacheHas;
- MapCache.prototype.set = mapCacheSet;
+// Clears a header value on the current native request
+RedirectableRequest.prototype.removeHeader = function (name) {
+ delete this._options.headers[name];
+ this._currentRequest.removeHeader(name);
+};
- /*------------------------------------------------------------------------*/
+// Global timeout for all underlying requests
+RedirectableRequest.prototype.setTimeout = function (msecs, callback) {
+ var self = this;
- /**
- *
- * Creates an array cache object to store unique values.
- *
- * @private
- * @constructor
- * @param {Array} [values] The values to cache.
- */
- function SetCache(values) {
- var index = -1,
- length = values == null ? 0 : values.length;
+ // Destroys the socket on timeout
+ function destroyOnTimeout(socket) {
+ socket.setTimeout(msecs);
+ socket.removeListener("timeout", socket.destroy);
+ socket.addListener("timeout", socket.destroy);
+ }
- this.__data__ = new MapCache;
- while (++index < length) {
- this.add(values[index]);
- }
+ // Sets up a timer to trigger a timeout event
+ function startTimer(socket) {
+ if (self._timeout) {
+ clearTimeout(self._timeout);
}
+ self._timeout = setTimeout(function () {
+ self.emit("timeout");
+ clearTimer();
+ }, msecs);
+ destroyOnTimeout(socket);
+ }
- /**
- * Adds `value` to the array cache.
- *
- * @private
- * @name add
- * @memberOf SetCache
- * @alias push
- * @param {*} value The value to cache.
- * @returns {Object} Returns the cache instance.
- */
- function setCacheAdd(value) {
- this.__data__.set(value, HASH_UNDEFINED);
- return this;
+ // Stops a timeout from triggering
+ function clearTimer() {
+ // Clear the timeout
+ if (self._timeout) {
+ clearTimeout(self._timeout);
+ self._timeout = null;
}
- /**
- * Checks if `value` is in the array cache.
- *
- * @private
- * @name has
- * @memberOf SetCache
- * @param {*} value The value to search for.
- * @returns {number} Returns `true` if `value` is found, else `false`.
- */
- function setCacheHas(value) {
- return this.__data__.has(value);
+ // Clean up all attached listeners
+ self.removeListener("abort", clearTimer);
+ self.removeListener("error", clearTimer);
+ self.removeListener("response", clearTimer);
+ self.removeListener("close", clearTimer);
+ if (callback) {
+ self.removeListener("timeout", callback);
}
+ if (!self.socket) {
+ self._currentRequest.removeListener("socket", startTimer);
+ }
+ }
- // Add methods to `SetCache`.
- SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
- SetCache.prototype.has = setCacheHas;
+ // Attach callback if passed
+ if (callback) {
+ this.on("timeout", callback);
+ }
- /*------------------------------------------------------------------------*/
+ // Start the timer if or when the socket is opened
+ if (this.socket) {
+ startTimer(this.socket);
+ }
+ else {
+ this._currentRequest.once("socket", startTimer);
+ }
- /**
- * Creates a stack cache object to store key-value pairs.
- *
- * @private
- * @constructor
- * @param {Array} [entries] The key-value pairs to cache.
- */
- function Stack(entries) {
- var data = this.__data__ = new ListCache(entries);
- this.size = data.size;
- }
+ // Clean up on events
+ this.on("socket", destroyOnTimeout);
+ this.on("abort", clearTimer);
+ this.on("error", clearTimer);
+ this.on("response", clearTimer);
+ this.on("close", clearTimer);
- /**
- * Removes all key-value entries from the stack.
- *
- * @private
- * @name clear
- * @memberOf Stack
- */
- function stackClear() {
- this.__data__ = new ListCache;
- this.size = 0;
- }
+ return this;
+};
- /**
- * Removes `key` and its value from the stack.
- *
- * @private
- * @name delete
- * @memberOf Stack
- * @param {string} key The key of the value to remove.
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
- */
- function stackDelete(key) {
- var data = this.__data__,
- result = data['delete'](key);
+// Proxy all other public ClientRequest methods
+[
+ "flushHeaders", "getHeader",
+ "setNoDelay", "setSocketKeepAlive",
+].forEach(function (method) {
+ RedirectableRequest.prototype[method] = function (a, b) {
+ return this._currentRequest[method](a, b);
+ };
+});
- this.size = data.size;
- return result;
- }
+// Proxy all public ClientRequest properties
+["aborted", "connection", "socket"].forEach(function (property) {
+ Object.defineProperty(RedirectableRequest.prototype, property, {
+ get: function () { return this._currentRequest[property]; },
+ });
+});
- /**
- * Gets the stack value for `key`.
- *
- * @private
- * @name get
- * @memberOf Stack
- * @param {string} key The key of the value to get.
- * @returns {*} Returns the entry value.
- */
- function stackGet(key) {
- return this.__data__.get(key);
- }
+RedirectableRequest.prototype._sanitizeOptions = function (options) {
+ // Ensure headers are always present
+ if (!options.headers) {
+ options.headers = {};
+ }
- /**
- * Checks if a stack value for `key` exists.
- *
- * @private
- * @name has
- * @memberOf Stack
- * @param {string} key The key of the entry to check.
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
- */
- function stackHas(key) {
- return this.__data__.has(key);
+ // Since http.request treats host as an alias of hostname,
+ // but the url module interprets host as hostname plus port,
+ // eliminate the host property to avoid confusion.
+ if (options.host) {
+ // Use hostname if set, because it has precedence
+ if (!options.hostname) {
+ options.hostname = options.host;
}
+ delete options.host;
+ }
- /**
- * Sets the stack `key` to `value`.
- *
- * @private
- * @name set
- * @memberOf Stack
- * @param {string} key The key of the value to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns the stack cache instance.
- */
- function stackSet(key, value) {
- var data = this.__data__;
- if (data instanceof ListCache) {
- var pairs = data.__data__;
- if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
- pairs.push([key, value]);
- this.size = ++data.size;
- return this;
- }
- data = this.__data__ = new MapCache(pairs);
- }
- data.set(key, value);
- this.size = data.size;
- return this;
+ // Complete the URL object when necessary
+ if (!options.pathname && options.path) {
+ var searchPos = options.path.indexOf("?");
+ if (searchPos < 0) {
+ options.pathname = options.path;
}
+ else {
+ options.pathname = options.path.substring(0, searchPos);
+ options.search = options.path.substring(searchPos);
+ }
+ }
+};
- // Add methods to `Stack`.
- Stack.prototype.clear = stackClear;
- Stack.prototype['delete'] = stackDelete;
- Stack.prototype.get = stackGet;
- Stack.prototype.has = stackHas;
- Stack.prototype.set = stackSet;
- /*------------------------------------------------------------------------*/
+// Executes the next native request (initial or redirect)
+RedirectableRequest.prototype._performRequest = function () {
+ // Load the native protocol
+ var protocol = this._options.protocol;
+ var nativeProtocol = this._options.nativeProtocols[protocol];
+ if (!nativeProtocol) {
+ throw new TypeError("Unsupported protocol " + protocol);
+ }
- /**
- * Creates an array of the enumerable property names of the array-like `value`.
- *
- * @private
- * @param {*} value The value to query.
- * @param {boolean} inherited Specify returning inherited property names.
- * @returns {Array} Returns the array of property names.
- */
- function arrayLikeKeys(value, inherited) {
- var isArr = isArray(value),
- isArg = !isArr && isArguments(value),
- isBuff = !isArr && !isArg && isBuffer(value),
- isType = !isArr && !isArg && !isBuff && isTypedArray(value),
- skipIndexes = isArr || isArg || isBuff || isType,
- result = skipIndexes ? baseTimes(value.length, String) : [],
- length = result.length;
+ // If specified, use the agent corresponding to the protocol
+ // (HTTP and HTTPS use different types of agents)
+ if (this._options.agents) {
+ var scheme = protocol.slice(0, -1);
+ this._options.agent = this._options.agents[scheme];
+ }
- for (var key in value) {
- if ((inherited || hasOwnProperty.call(value, key)) &&
- !(skipIndexes && (
- // Safari 9 has enumerable `arguments.length` in strict mode.
- key == 'length' ||
- // Node.js 0.10 has enumerable non-index properties on buffers.
- (isBuff && (key == 'offset' || key == 'parent')) ||
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
- (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
- // Skip index properties.
- isIndex(key, length)
- ))) {
- result.push(key);
+ // Create the native request and set up its event handlers
+ var request = this._currentRequest =
+ nativeProtocol.request(this._options, this._onNativeResponse);
+ request._redirectable = this;
+ for (var event of events) {
+ request.on(event, eventHandlers[event]);
+ }
+
+ // RFC7230§5.3.1: When making a request directly to an origin server, […]
+ // a client MUST send only the absolute path […] as the request-target.
+ this._currentUrl = /^\//.test(this._options.path) ?
+ url.format(this._options) :
+ // When making a request to a proxy, […]
+ // a client MUST send the target URI in absolute-form […].
+ this._options.path;
+
+ // End a redirected request
+ // (The first request must be ended explicitly with RedirectableRequest#end)
+ if (this._isRedirect) {
+ // Write the request entity and end
+ var i = 0;
+ var self = this;
+ var buffers = this._requestBodyBuffers;
+ (function writeNext(error) {
+ // Only write if this request has not been redirected yet
+ // istanbul ignore else
+ if (request === self._currentRequest) {
+ // Report any write errors
+ // istanbul ignore if
+ if (error) {
+ self.emit("error", error);
+ }
+ // Write the next buffer if there are still left
+ else if (i < buffers.length) {
+ var buffer = buffers[i++];
+ // istanbul ignore else
+ if (!request.finished) {
+ request.write(buffer.data, buffer.encoding, writeNext);
+ }
+ }
+ // End the request if `end` has been called on us
+ else if (self._ended) {
+ request.end();
}
}
- return result;
- }
+ }());
+ }
+};
- /**
- * A specialized version of `_.sample` for arrays.
- *
- * @private
- * @param {Array} array The array to sample.
- * @returns {*} Returns the random element.
- */
- function arraySample(array) {
- var length = array.length;
- return length ? array[baseRandom(0, length - 1)] : undefined;
- }
+// Processes a response from the current native request
+RedirectableRequest.prototype._processResponse = function (response) {
+ // Store the redirected response
+ var statusCode = response.statusCode;
+ if (this._options.trackRedirects) {
+ this._redirects.push({
+ url: this._currentUrl,
+ headers: response.headers,
+ statusCode: statusCode,
+ });
+ }
- /**
- * A specialized version of `_.sampleSize` for arrays.
- *
- * @private
- * @param {Array} array The array to sample.
- * @param {number} n The number of elements to sample.
- * @returns {Array} Returns the random elements.
- */
- function arraySampleSize(array, n) {
- return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));
- }
+ // RFC7231§6.4: The 3xx (Redirection) class of status code indicates
+ // that further action needs to be taken by the user agent in order to
+ // fulfill the request. If a Location header field is provided,
+ // the user agent MAY automatically redirect its request to the URI
+ // referenced by the Location field value,
+ // even if the specific status code is not understood.
+
+ // If the response is not a redirect; return it as-is
+ var location = response.headers.location;
+ if (!location || this._options.followRedirects === false ||
+ statusCode < 300 || statusCode >= 400) {
+ response.responseUrl = this._currentUrl;
+ response.redirects = this._redirects;
+ this.emit("response", response);
+
+ // Clean up
+ this._requestBodyBuffers = [];
+ return;
+ }
- /**
- * A specialized version of `_.shuffle` for arrays.
- *
- * @private
- * @param {Array} array The array to shuffle.
- * @returns {Array} Returns the new shuffled array.
- */
- function arrayShuffle(array) {
- return shuffleSelf(copyArray(array));
- }
+ // The response is a redirect, so abort the current request
+ destroyRequest(this._currentRequest);
+ // Discard the remainder of the response to avoid waiting for data
+ response.destroy();
- /**
- * This function is like `assignValue` except that it doesn't assign
- * `undefined` values.
- *
- * @private
- * @param {Object} object The object to modify.
- * @param {string} key The key of the property to assign.
- * @param {*} value The value to assign.
- */
- function assignMergeValue(object, key, value) {
- if ((value !== undefined && !eq(object[key], value)) ||
- (value === undefined && !(key in object))) {
- baseAssignValue(object, key, value);
- }
- }
+ // RFC7231§6.4: A client SHOULD detect and intervene
+ // in cyclical redirections (i.e., "infinite" redirection loops).
+ if (++this._redirectCount > this._options.maxRedirects) {
+ throw new TooManyRedirectsError();
+ }
- /**
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * for equality comparisons.
- *
- * @private
- * @param {Object} object The object to modify.
- * @param {string} key The key of the property to assign.
- * @param {*} value The value to assign.
- */
- function assignValue(object, key, value) {
- var objValue = object[key];
- if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
- (value === undefined && !(key in object))) {
- baseAssignValue(object, key, value);
+ // Store the request headers if applicable
+ var requestHeaders;
+ var beforeRedirect = this._options.beforeRedirect;
+ if (beforeRedirect) {
+ requestHeaders = Object.assign({
+ // The Host header was set by nativeProtocol.request
+ Host: response.req.getHeader("host"),
+ }, this._options.headers);
+ }
+
+ // RFC7231§6.4: Automatic redirection needs to done with
+ // care for methods not known to be safe, […]
+ // RFC7231§6.4.2–3: For historical reasons, a user agent MAY change
+ // the request method from POST to GET for the subsequent request.
+ var method = this._options.method;
+ if ((statusCode === 301 || statusCode === 302) && this._options.method === "POST" ||
+ // RFC7231§6.4.4: The 303 (See Other) status code indicates that
+ // the server is redirecting the user agent to a different resource […]
+ // A user agent can perform a retrieval request targeting that URI
+ // (a GET or HEAD request if using HTTP) […]
+ (statusCode === 303) && !/^(?:GET|HEAD)$/.test(this._options.method)) {
+ this._options.method = "GET";
+ // Drop a possible entity and headers related to it
+ this._requestBodyBuffers = [];
+ removeMatchingHeaders(/^content-/i, this._options.headers);
+ }
+
+ // Drop the Host header, as the redirect might lead to a different host
+ var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);
+
+ // If the redirect is relative, carry over the host of the last request
+ var currentUrlParts = parseUrl(this._currentUrl);
+ var currentHost = currentHostHeader || currentUrlParts.host;
+ var currentUrl = /^\w+:/.test(location) ? this._currentUrl :
+ url.format(Object.assign(currentUrlParts, { host: currentHost }));
+
+ // Create the redirected request
+ var redirectUrl = resolveUrl(location, currentUrl);
+ debug("redirecting to", redirectUrl.href);
+ this._isRedirect = true;
+ spreadUrlObject(redirectUrl, this._options);
+
+ // Drop confidential headers when redirecting to a less secure protocol
+ // or to a different domain that is not a superdomain
+ if (redirectUrl.protocol !== currentUrlParts.protocol &&
+ redirectUrl.protocol !== "https:" ||
+ redirectUrl.host !== currentHost &&
+ !isSubdomain(redirectUrl.host, currentHost)) {
+ removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
+ }
+
+ // Evaluate the beforeRedirect callback
+ if (isFunction(beforeRedirect)) {
+ var responseDetails = {
+ headers: response.headers,
+ statusCode: statusCode,
+ };
+ var requestDetails = {
+ url: currentUrl,
+ method: method,
+ headers: requestHeaders,
+ };
+ beforeRedirect(this._options, responseDetails, requestDetails);
+ this._sanitizeOptions(this._options);
+ }
+
+ // Perform the redirected request
+ this._performRequest();
+};
+
+// Wraps the key/value object of protocols with redirect functionality
+function wrap(protocols) {
+ // Default settings
+ var exports = {
+ maxRedirects: 21,
+ maxBodyLength: 10 * 1024 * 1024,
+ };
+
+ // Wrap each protocol
+ var nativeProtocols = {};
+ Object.keys(protocols).forEach(function (scheme) {
+ var protocol = scheme + ":";
+ var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
+ var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);
+
+ // Executes a request, following redirects
+ function request(input, options, callback) {
+ // Parse parameters, ensuring that input is an object
+ if (isURL(input)) {
+ input = spreadUrlObject(input);
+ }
+ else if (isString(input)) {
+ input = spreadUrlObject(parseUrl(input));
+ }
+ else {
+ callback = options;
+ options = validateUrl(input);
+ input = { protocol: protocol };
+ }
+ if (isFunction(options)) {
+ callback = options;
+ options = null;
}
- }
- /**
- * Gets the index at which the `key` is found in `array` of key-value pairs.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {*} key The key to search for.
- * @returns {number} Returns the index of the matched value, else `-1`.
- */
- function assocIndexOf(array, key) {
- var length = array.length;
- while (length--) {
- if (eq(array[length][0], key)) {
- return length;
- }
+ // Set defaults
+ options = Object.assign({
+ maxRedirects: exports.maxRedirects,
+ maxBodyLength: exports.maxBodyLength,
+ }, input, options);
+ options.nativeProtocols = nativeProtocols;
+ if (!isString(options.host) && !isString(options.hostname)) {
+ options.hostname = "::1";
}
- return -1;
- }
- /**
- * Aggregates elements of `collection` on `accumulator` with keys transformed
- * by `iteratee` and values set by `setter`.
- *
- * @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} setter The function to set `accumulator` values.
- * @param {Function} iteratee The iteratee to transform keys.
- * @param {Object} accumulator The initial aggregated object.
- * @returns {Function} Returns `accumulator`.
- */
- function baseAggregator(collection, setter, iteratee, accumulator) {
- baseEach(collection, function(value, key, collection) {
- setter(accumulator, value, iteratee(value), collection);
- });
- return accumulator;
+ assert.equal(options.protocol, protocol, "protocol mismatch");
+ debug("options", options);
+ return new RedirectableRequest(options, callback);
}
- /**
- * The base implementation of `_.assign` without support for multiple sources
- * or `customizer` functions.
- *
- * @private
- * @param {Object} object The destination object.
- * @param {Object} source The source object.
- * @returns {Object} Returns `object`.
- */
- function baseAssign(object, source) {
- return object && copyObject(source, keys(source), object);
+ // Executes a GET request, following redirects
+ function get(input, options, callback) {
+ var wrappedRequest = wrappedProtocol.request(input, options, callback);
+ wrappedRequest.end();
+ return wrappedRequest;
}
- /**
- * The base implementation of `_.assignIn` without support for multiple sources
- * or `customizer` functions.
- *
- * @private
- * @param {Object} object The destination object.
- * @param {Object} source The source object.
- * @returns {Object} Returns `object`.
- */
- function baseAssignIn(object, source) {
- return object && copyObject(source, keysIn(source), object);
- }
+ // Expose the properties on the wrapped protocol
+ Object.defineProperties(wrappedProtocol, {
+ request: { value: request, configurable: true, enumerable: true, writable: true },
+ get: { value: get, configurable: true, enumerable: true, writable: true },
+ });
+ });
+ return exports;
+}
- /**
- * The base implementation of `assignValue` and `assignMergeValue` without
- * value checks.
- *
- * @private
- * @param {Object} object The object to modify.
- * @param {string} key The key of the property to assign.
- * @param {*} value The value to assign.
- */
- function baseAssignValue(object, key, value) {
- if (key == '__proto__' && defineProperty) {
- defineProperty(object, key, {
- 'configurable': true,
- 'enumerable': true,
- 'value': value,
- 'writable': true
- });
- } else {
- object[key] = value;
- }
+function noop() { /* empty */ }
+
+function parseUrl(input) {
+ var parsed;
+ // istanbul ignore else
+ if (useNativeURL) {
+ parsed = new URL(input);
+ }
+ else {
+ // Ensure the URL is valid and absolute
+ parsed = validateUrl(url.parse(input));
+ if (!isString(parsed.protocol)) {
+ throw new InvalidUrlError({ input });
}
+ }
+ return parsed;
+}
- /**
- * The base implementation of `_.at` without support for individual paths.
- *
- * @private
- * @param {Object} object The object to iterate over.
- * @param {string[]} paths The property paths to pick.
- * @returns {Array} Returns the picked elements.
- */
- function baseAt(object, paths) {
- var index = -1,
- length = paths.length,
- result = Array(length),
- skip = object == null;
+function resolveUrl(relative, base) {
+ // istanbul ignore next
+ return useNativeURL ? new URL(relative, base) : parseUrl(url.resolve(base, relative));
+}
- while (++index < length) {
- result[index] = skip ? undefined : get(object, paths[index]);
- }
- return result;
+function validateUrl(input) {
+ if (/^\[/.test(input.hostname) && !/^\[[:0-9a-f]+\]$/i.test(input.hostname)) {
+ throw new InvalidUrlError({ input: input.href || input });
+ }
+ if (/^\[/.test(input.host) && !/^\[[:0-9a-f]+\](:\d+)?$/i.test(input.host)) {
+ throw new InvalidUrlError({ input: input.href || input });
+ }
+ return input;
+}
+
+function spreadUrlObject(urlObject, target) {
+ var spread = target || {};
+ for (var key of preservedUrlFields) {
+ spread[key] = urlObject[key];
+ }
+
+ // Fix IPv6 hostname
+ if (spread.hostname.startsWith("[")) {
+ spread.hostname = spread.hostname.slice(1, -1);
+ }
+ // Ensure port is a number
+ if (spread.port !== "") {
+ spread.port = Number(spread.port);
+ }
+ // Concatenate path
+ spread.path = spread.search ? spread.pathname + spread.search : spread.pathname;
+
+ return spread;
+}
+
+function removeMatchingHeaders(regex, headers) {
+ var lastValue;
+ for (var header in headers) {
+ if (regex.test(header)) {
+ lastValue = headers[header];
+ delete headers[header];
}
+ }
+ return (lastValue === null || typeof lastValue === "undefined") ?
+ undefined : String(lastValue).trim();
+}
- /**
- * The base implementation of `_.clamp` which doesn't coerce arguments.
- *
- * @private
- * @param {number} number The number to clamp.
- * @param {number} [lower] The lower bound.
- * @param {number} upper The upper bound.
- * @returns {number} Returns the clamped number.
- */
- function baseClamp(number, lower, upper) {
- if (number === number) {
- if (upper !== undefined) {
- number = number <= upper ? number : upper;
- }
- if (lower !== undefined) {
- number = number >= lower ? number : lower;
- }
- }
- return number;
+function createErrorType(code, message, baseClass) {
+ // Create constructor
+ function CustomError(properties) {
+ // istanbul ignore else
+ if (isFunction(Error.captureStackTrace)) {
+ Error.captureStackTrace(this, this.constructor);
}
+ Object.assign(this, properties || {});
+ this.code = code;
+ this.message = this.cause ? message + ": " + this.cause.message : message;
+ }
- /**
- * The base implementation of `_.clone` and `_.cloneDeep` which tracks
- * traversed objects.
- *
- * @private
- * @param {*} value The value to clone.
- * @param {boolean} bitmask The bitmask flags.
- * 1 - Deep clone
- * 2 - Flatten inherited properties
- * 4 - Clone symbols
- * @param {Function} [customizer] The function to customize cloning.
- * @param {string} [key] The key of `value`.
- * @param {Object} [object] The parent object of `value`.
- * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
- * @returns {*} Returns the cloned value.
+ // Attach constructor and set default properties
+ CustomError.prototype = new (baseClass || Error)();
+ Object.defineProperties(CustomError.prototype, {
+ constructor: {
+ value: CustomError,
+ enumerable: false,
+ },
+ name: {
+ value: "Error [" + code + "]",
+ enumerable: false,
+ },
+ });
+ return CustomError;
+}
+
+function destroyRequest(request, error) {
+ for (var event of events) {
+ request.removeListener(event, eventHandlers[event]);
+ }
+ request.on("error", noop);
+ request.destroy(error);
+}
+
+function isSubdomain(subdomain, domain) {
+ assert(isString(subdomain) && isString(domain));
+ var dot = subdomain.length - domain.length - 1;
+ return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain);
+}
+
+function isString(value) {
+ return typeof value === "string" || value instanceof String;
+}
+
+function isFunction(value) {
+ return typeof value === "function";
+}
+
+function isBuffer(value) {
+ return typeof value === "object" && ("length" in value);
+}
+
+function isURL(value) {
+ return URL && value instanceof URL;
+}
+
+// Exports
+module.exports = wrap({ http: http, https: https });
+module.exports.wrap = wrap;
+
+
+/***/ }),
+
+/***/ 96454:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var CombinedStream = __nccwpck_require__(35630);
+var util = __nccwpck_require__(39023);
+var path = __nccwpck_require__(16928);
+var http = __nccwpck_require__(58611);
+var https = __nccwpck_require__(65692);
+var parseUrl = (__nccwpck_require__(87016).parse);
+var fs = __nccwpck_require__(79896);
+var Stream = (__nccwpck_require__(2203).Stream);
+var crypto = __nccwpck_require__(76982);
+var mime = __nccwpck_require__(14096);
+var asynckit = __nccwpck_require__(31324);
+var setToStringTag = __nccwpck_require__(88700);
+var hasOwn = __nccwpck_require__(54076);
+var populate = __nccwpck_require__(11835);
+
+/**
+ * Create readable "multipart/form-data" streams.
+ * Can be used to submit forms
+ * and file uploads to other web applications.
+ *
+ * @constructor
+ * @param {object} options - Properties to be added/overriden for FormData and CombinedStream
+ */
+function FormData(options) {
+ if (!(this instanceof FormData)) {
+ return new FormData(options);
+ }
+
+ this._overheadLength = 0;
+ this._valueLength = 0;
+ this._valuesToMeasure = [];
+
+ CombinedStream.call(this);
+
+ options = options || {}; // eslint-disable-line no-param-reassign
+ for (var option in options) { // eslint-disable-line no-restricted-syntax
+ this[option] = options[option];
+ }
+}
+
+// make it a Stream
+util.inherits(FormData, CombinedStream);
+
+FormData.LINE_BREAK = '\r\n';
+FormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream';
+
+FormData.prototype.append = function (field, value, options) {
+ options = options || {}; // eslint-disable-line no-param-reassign
+
+ // allow filename as single option
+ if (typeof options === 'string') {
+ options = { filename: options }; // eslint-disable-line no-param-reassign
+ }
+
+ var append = CombinedStream.prototype.append.bind(this);
+
+ // all that streamy business can't handle numbers
+ if (typeof value === 'number' || value == null) {
+ value = String(value); // eslint-disable-line no-param-reassign
+ }
+
+ // https://github.com/felixge/node-form-data/issues/38
+ if (Array.isArray(value)) {
+ /*
+ * Please convert your array into string
+ * the way web server expects it
*/
- function baseClone(value, bitmask, customizer, key, object, stack) {
- var result,
- isDeep = bitmask & CLONE_DEEP_FLAG,
- isFlat = bitmask & CLONE_FLAT_FLAG,
- isFull = bitmask & CLONE_SYMBOLS_FLAG;
+ this._error(new Error('Arrays are not supported.'));
+ return;
+ }
- if (customizer) {
- result = object ? customizer(value, key, object, stack) : customizer(value);
- }
- if (result !== undefined) {
- return result;
- }
- if (!isObject(value)) {
- return value;
- }
- var isArr = isArray(value);
- if (isArr) {
- result = initCloneArray(value);
- if (!isDeep) {
- return copyArray(value, result);
- }
- } else {
- var tag = getTag(value),
- isFunc = tag == funcTag || tag == genTag;
+ var header = this._multiPartHeader(field, value, options);
+ var footer = this._multiPartFooter();
- if (isBuffer(value)) {
- return cloneBuffer(value, isDeep);
- }
- if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
- result = (isFlat || isFunc) ? {} : initCloneObject(value);
- if (!isDeep) {
- return isFlat
- ? copySymbolsIn(value, baseAssignIn(result, value))
- : copySymbols(value, baseAssign(result, value));
- }
- } else {
- if (!cloneableTags[tag]) {
- return object ? value : {};
- }
- result = initCloneByTag(value, tag, isDeep);
- }
- }
- // Check for circular references and return its corresponding clone.
- stack || (stack = new Stack);
- var stacked = stack.get(value);
- if (stacked) {
- return stacked;
- }
- stack.set(value, result);
+ append(header);
+ append(value);
+ append(footer);
- if (isSet(value)) {
- value.forEach(function(subValue) {
- result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
- });
- } else if (isMap(value)) {
- value.forEach(function(subValue, key) {
- result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
- });
- }
+ // pass along options.knownLength
+ this._trackLength(header, value, options);
+};
- var keysFunc = isFull
- ? (isFlat ? getAllKeysIn : getAllKeys)
- : (isFlat ? keysIn : keys);
+FormData.prototype._trackLength = function (header, value, options) {
+ var valueLength = 0;
- var props = isArr ? undefined : keysFunc(value);
- arrayEach(props || value, function(subValue, key) {
- if (props) {
- key = subValue;
- subValue = value[key];
+ /*
+ * used w/ getLengthSync(), when length is known.
+ * e.g. for streaming directly from a remote server,
+ * w/ a known file a size, and not wanting to wait for
+ * incoming file to finish to get its size.
+ */
+ if (options.knownLength != null) {
+ valueLength += Number(options.knownLength);
+ } else if (Buffer.isBuffer(value)) {
+ valueLength = value.length;
+ } else if (typeof value === 'string') {
+ valueLength = Buffer.byteLength(value);
+ }
+
+ this._valueLength += valueLength;
+
+ // @check why add CRLF? does this account for custom/multiple CRLFs?
+ this._overheadLength += Buffer.byteLength(header) + FormData.LINE_BREAK.length;
+
+ // empty or either doesn't have path or not an http response or not a stream
+ if (!value || (!value.path && !(value.readable && hasOwn(value, 'httpVersion')) && !(value instanceof Stream))) {
+ return;
+ }
+
+ // no need to bother with the length
+ if (!options.knownLength) {
+ this._valuesToMeasure.push(value);
+ }
+};
+
+FormData.prototype._lengthRetriever = function (value, callback) {
+ if (hasOwn(value, 'fd')) {
+ // take read range into a account
+ // `end` = Infinity –> read file till the end
+ //
+ // TODO: Looks like there is bug in Node fs.createReadStream
+ // it doesn't respect `end` options without `start` options
+ // Fix it when node fixes it.
+ // https://github.com/joyent/node/issues/7819
+ if (value.end != undefined && value.end != Infinity && value.start != undefined) {
+ // when end specified
+ // no need to calculate range
+ // inclusive, starts with 0
+ callback(null, value.end + 1 - (value.start ? value.start : 0)); // eslint-disable-line callback-return
+
+ // not that fast snoopy
+ } else {
+ // still need to fetch file size from fs
+ fs.stat(value.path, function (err, stat) {
+ if (err) {
+ callback(err);
+ return;
}
- // Recursively populate clone (susceptible to call stack limits).
- assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
+
+ // update final size based on the range options
+ var fileSize = stat.size - (value.start ? value.start : 0);
+ callback(null, fileSize);
});
- return result;
}
- /**
- * The base implementation of `_.conforms` which doesn't clone `source`.
- *
- * @private
- * @param {Object} source The object of property predicates to conform to.
- * @returns {Function} Returns the new spec function.
- */
- function baseConforms(source) {
- var props = keys(source);
- return function(object) {
- return baseConformsTo(object, source, props);
- };
- }
+ // or http response
+ } else if (hasOwn(value, 'httpVersion')) {
+ callback(null, Number(value.headers['content-length'])); // eslint-disable-line callback-return
- /**
- * The base implementation of `_.conformsTo` which accepts `props` to check.
- *
- * @private
- * @param {Object} object The object to inspect.
- * @param {Object} source The object of property predicates to conform to.
- * @returns {boolean} Returns `true` if `object` conforms, else `false`.
- */
- function baseConformsTo(object, source, props) {
- var length = props.length;
- if (object == null) {
- return !length;
- }
- object = Object(object);
- while (length--) {
- var key = props[length],
- predicate = source[key],
- value = object[key];
+ // or request stream http://github.com/mikeal/request
+ } else if (hasOwn(value, 'httpModule')) {
+ // wait till response come back
+ value.on('response', function (response) {
+ value.pause();
+ callback(null, Number(response.headers['content-length']));
+ });
+ value.resume();
- if ((value === undefined && !(key in object)) || !predicate(value)) {
- return false;
- }
- }
- return true;
- }
+ // something else
+ } else {
+ callback('Unknown stream'); // eslint-disable-line callback-return
+ }
+};
- /**
- * The base implementation of `_.delay` and `_.defer` which accepts `args`
- * to provide to `func`.
- *
- * @private
- * @param {Function} func The function to delay.
- * @param {number} wait The number of milliseconds to delay invocation.
- * @param {Array} args The arguments to provide to `func`.
- * @returns {number|Object} Returns the timer id or timeout object.
- */
- function baseDelay(func, wait, args) {
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- return setTimeout(function() { func.apply(undefined, args); }, wait);
- }
+FormData.prototype._multiPartHeader = function (field, value, options) {
+ /*
+ * custom header specified (as string)?
+ * it becomes responsible for boundary
+ * (e.g. to handle extra CRLFs on .NET servers)
+ */
+ if (typeof options.header === 'string') {
+ return options.header;
+ }
- /**
- * The base implementation of methods like `_.difference` without support
- * for excluding multiple arrays or iteratee shorthands.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {Array} values The values to exclude.
- * @param {Function} [iteratee] The iteratee invoked per element.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new array of filtered values.
- */
- function baseDifference(array, values, iteratee, comparator) {
- var index = -1,
- includes = arrayIncludes,
- isCommon = true,
- length = array.length,
- result = [],
- valuesLength = values.length;
+ var contentDisposition = this._getContentDisposition(value, options);
+ var contentType = this._getContentType(value, options);
- if (!length) {
- return result;
- }
- if (iteratee) {
- values = arrayMap(values, baseUnary(iteratee));
- }
- if (comparator) {
- includes = arrayIncludesWith;
- isCommon = false;
+ var contents = '';
+ var headers = {
+ // add custom disposition as third element or keep it two elements if not
+ 'Content-Disposition': ['form-data', 'name="' + field + '"'].concat(contentDisposition || []),
+ // if no content type. allow it to be empty array
+ 'Content-Type': [].concat(contentType || [])
+ };
+
+ // allow custom headers.
+ if (typeof options.header === 'object') {
+ populate(headers, options.header);
+ }
+
+ var header;
+ for (var prop in headers) { // eslint-disable-line no-restricted-syntax
+ if (hasOwn(headers, prop)) {
+ header = headers[prop];
+
+ // skip nullish headers.
+ if (header == null) {
+ continue; // eslint-disable-line no-restricted-syntax, no-continue
}
- else if (values.length >= LARGE_ARRAY_SIZE) {
- includes = cacheHas;
- isCommon = false;
- values = new SetCache(values);
+
+ // convert all headers to arrays.
+ if (!Array.isArray(header)) {
+ header = [header];
}
- outer:
- while (++index < length) {
- var value = array[index],
- computed = iteratee == null ? value : iteratee(value);
- value = (comparator || value !== 0) ? value : 0;
- if (isCommon && computed === computed) {
- var valuesIndex = valuesLength;
- while (valuesIndex--) {
- if (values[valuesIndex] === computed) {
- continue outer;
- }
- }
- result.push(value);
- }
- else if (!includes(values, computed, comparator)) {
- result.push(value);
- }
+ // add non-empty headers.
+ if (header.length) {
+ contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK;
}
- return result;
}
+ }
- /**
- * The base implementation of `_.forEach` without support for iteratee shorthands.
- *
- * @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Array|Object} Returns `collection`.
- */
- var baseEach = createBaseEach(baseForOwn);
+ return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK;
+};
- /**
- * The base implementation of `_.forEachRight` without support for iteratee shorthands.
- *
- * @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Array|Object} Returns `collection`.
- */
- var baseEachRight = createBaseEach(baseForOwnRight, true);
+FormData.prototype._getContentDisposition = function (value, options) { // eslint-disable-line consistent-return
+ var filename;
- /**
- * The base implementation of `_.every` without support for iteratee shorthands.
- *
- * @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} predicate The function invoked per iteration.
- * @returns {boolean} Returns `true` if all elements pass the predicate check,
- * else `false`
- */
- function baseEvery(collection, predicate) {
- var result = true;
- baseEach(collection, function(value, index, collection) {
- result = !!predicate(value, index, collection);
- return result;
- });
- return result;
+ if (typeof options.filepath === 'string') {
+ // custom filepath for relative paths
+ filename = path.normalize(options.filepath).replace(/\\/g, '/');
+ } else if (options.filename || (value && (value.name || value.path))) {
+ /*
+ * custom filename take precedence
+ * formidable and the browser add a name property
+ * fs- and request- streams have path property
+ */
+ filename = path.basename(options.filename || (value && (value.name || value.path)));
+ } else if (value && value.readable && hasOwn(value, 'httpVersion')) {
+ // or try http response
+ filename = path.basename(value.client._httpMessage.path || '');
+ }
+
+ if (filename) {
+ return 'filename="' + filename + '"';
+ }
+};
+
+FormData.prototype._getContentType = function (value, options) {
+ // use custom content-type above all
+ var contentType = options.contentType;
+
+ // or try `name` from formidable, browser
+ if (!contentType && value && value.name) {
+ contentType = mime.lookup(value.name);
+ }
+
+ // or try `path` from fs-, request- streams
+ if (!contentType && value && value.path) {
+ contentType = mime.lookup(value.path);
+ }
+
+ // or if it's http-reponse
+ if (!contentType && value && value.readable && hasOwn(value, 'httpVersion')) {
+ contentType = value.headers['content-type'];
+ }
+
+ // or guess it from the filepath or filename
+ if (!contentType && (options.filepath || options.filename)) {
+ contentType = mime.lookup(options.filepath || options.filename);
+ }
+
+ // fallback to the default content type if `value` is not simple value
+ if (!contentType && value && typeof value === 'object') {
+ contentType = FormData.DEFAULT_CONTENT_TYPE;
+ }
+
+ return contentType;
+};
+
+FormData.prototype._multiPartFooter = function () {
+ return function (next) {
+ var footer = FormData.LINE_BREAK;
+
+ var lastPart = this._streams.length === 0;
+ if (lastPart) {
+ footer += this._lastBoundary();
}
- /**
- * The base implementation of methods like `_.max` and `_.min` which accepts a
- * `comparator` to determine the extremum value.
- *
- * @private
- * @param {Array} array The array to iterate over.
- * @param {Function} iteratee The iteratee invoked per iteration.
- * @param {Function} comparator The comparator used to compare values.
- * @returns {*} Returns the extremum value.
- */
- function baseExtremum(array, iteratee, comparator) {
- var index = -1,
- length = array.length;
+ next(footer);
+ }.bind(this);
+};
- while (++index < length) {
- var value = array[index],
- current = iteratee(value);
+FormData.prototype._lastBoundary = function () {
+ return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK;
+};
- if (current != null && (computed === undefined
- ? (current === current && !isSymbol(current))
- : comparator(current, computed)
- )) {
- var computed = current,
- result = value;
- }
- }
- return result;
+FormData.prototype.getHeaders = function (userHeaders) {
+ var header;
+ var formHeaders = {
+ 'content-type': 'multipart/form-data; boundary=' + this.getBoundary()
+ };
+
+ for (header in userHeaders) { // eslint-disable-line no-restricted-syntax
+ if (hasOwn(userHeaders, header)) {
+ formHeaders[header.toLowerCase()] = userHeaders[header];
}
+ }
- /**
- * The base implementation of `_.fill` without an iteratee call guard.
- *
- * @private
- * @param {Array} array The array to fill.
- * @param {*} value The value to fill `array` with.
- * @param {number} [start=0] The start position.
- * @param {number} [end=array.length] The end position.
- * @returns {Array} Returns `array`.
- */
- function baseFill(array, value, start, end) {
- var length = array.length;
+ return formHeaders;
+};
- start = toInteger(start);
- if (start < 0) {
- start = -start > length ? 0 : (length + start);
- }
- end = (end === undefined || end > length) ? length : toInteger(end);
- if (end < 0) {
- end += length;
+FormData.prototype.setBoundary = function (boundary) {
+ if (typeof boundary !== 'string') {
+ throw new TypeError('FormData boundary must be a string');
+ }
+ this._boundary = boundary;
+};
+
+FormData.prototype.getBoundary = function () {
+ if (!this._boundary) {
+ this._generateBoundary();
+ }
+
+ return this._boundary;
+};
+
+FormData.prototype.getBuffer = function () {
+ var dataBuffer = new Buffer.alloc(0); // eslint-disable-line new-cap
+ var boundary = this.getBoundary();
+
+ // Create the form content. Add Line breaks to the end of data.
+ for (var i = 0, len = this._streams.length; i < len; i++) {
+ if (typeof this._streams[i] !== 'function') {
+ // Add content to the buffer.
+ if (Buffer.isBuffer(this._streams[i])) {
+ dataBuffer = Buffer.concat([dataBuffer, this._streams[i]]);
+ } else {
+ dataBuffer = Buffer.concat([dataBuffer, Buffer.from(this._streams[i])]);
}
- end = start > end ? 0 : toLength(end);
- while (start < end) {
- array[start++] = value;
+
+ // Add break after content.
+ if (typeof this._streams[i] !== 'string' || this._streams[i].substring(2, boundary.length + 2) !== boundary) {
+ dataBuffer = Buffer.concat([dataBuffer, Buffer.from(FormData.LINE_BREAK)]);
}
- return array;
}
+ }
- /**
- * The base implementation of `_.filter` without support for iteratee shorthands.
- *
- * @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} predicate The function invoked per iteration.
- * @returns {Array} Returns the new filtered array.
- */
- function baseFilter(collection, predicate) {
- var result = [];
- baseEach(collection, function(value, index, collection) {
- if (predicate(value, index, collection)) {
- result.push(value);
- }
- });
- return result;
- }
+ // Add the footer and return the Buffer object.
+ return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
+};
- /**
- * The base implementation of `_.flatten` with support for restricting flattening.
- *
- * @private
- * @param {Array} array The array to flatten.
- * @param {number} depth The maximum recursion depth.
- * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
- * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
- * @param {Array} [result=[]] The initial result value.
- * @returns {Array} Returns the new flattened array.
- */
- function baseFlatten(array, depth, predicate, isStrict, result) {
- var index = -1,
- length = array.length;
+FormData.prototype._generateBoundary = function () {
+ // This generates a 50 character boundary similar to those used by Firefox.
- predicate || (predicate = isFlattenable);
- result || (result = []);
+ // They are optimized for boyer-moore parsing.
+ this._boundary = '--------------------------' + crypto.randomBytes(12).toString('hex');
+};
- while (++index < length) {
- var value = array[index];
- if (depth > 0 && predicate(value)) {
- if (depth > 1) {
- // Recursively flatten arrays (susceptible to call stack limits).
- baseFlatten(value, depth - 1, predicate, isStrict, result);
- } else {
- arrayPush(result, value);
- }
- } else if (!isStrict) {
- result[result.length] = value;
- }
- }
- return result;
- }
+// Note: getLengthSync DOESN'T calculate streams length
+// As workaround one can calculate file size manually and add it as knownLength option
+FormData.prototype.getLengthSync = function () {
+ var knownLength = this._overheadLength + this._valueLength;
- /**
- * The base implementation of `baseForOwn` which iterates over `object`
- * properties returned by `keysFunc` and invokes `iteratee` for each property.
- * Iteratee functions may exit iteration early by explicitly returning `false`.
- *
- * @private
- * @param {Object} object The object to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @param {Function} keysFunc The function to get the keys of `object`.
- * @returns {Object} Returns `object`.
- */
- var baseFor = createBaseFor();
+ // Don't get confused, there are 3 "internal" streams for each keyval pair so it basically checks if there is any value added to the form
+ if (this._streams.length) {
+ knownLength += this._lastBoundary().length;
+ }
- /**
- * This function is like `baseFor` except that it iterates over properties
- * in the opposite order.
- *
- * @private
- * @param {Object} object The object to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @param {Function} keysFunc The function to get the keys of `object`.
- * @returns {Object} Returns `object`.
+ // https://github.com/form-data/form-data/issues/40
+ if (!this.hasKnownLength()) {
+ /*
+ * Some async length retrievers are present
+ * therefore synchronous length calculation is false.
+ * Please use getLength(callback) to get proper length
*/
- var baseForRight = createBaseFor(true);
+ this._error(new Error('Cannot calculate proper length in synchronous way.'));
+ }
- /**
- * The base implementation of `_.forOwn` without support for iteratee shorthands.
- *
- * @private
- * @param {Object} object The object to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Object} Returns `object`.
- */
- function baseForOwn(object, iteratee) {
- return object && baseFor(object, iteratee, keys);
- }
+ return knownLength;
+};
- /**
- * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
- *
- * @private
- * @param {Object} object The object to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Object} Returns `object`.
- */
- function baseForOwnRight(object, iteratee) {
- return object && baseForRight(object, iteratee, keys);
- }
+// Public API to check if length of added values is known
+// https://github.com/form-data/form-data/issues/196
+// https://github.com/form-data/form-data/issues/262
+FormData.prototype.hasKnownLength = function () {
+ var hasKnownLength = true;
- /**
- * The base implementation of `_.functions` which creates an array of
- * `object` function property names filtered from `props`.
- *
- * @private
- * @param {Object} object The object to inspect.
- * @param {Array} props The property names to filter.
- * @returns {Array} Returns the function names.
- */
- function baseFunctions(object, props) {
- return arrayFilter(props, function(key) {
- return isFunction(object[key]);
- });
- }
+ if (this._valuesToMeasure.length) {
+ hasKnownLength = false;
+ }
- /**
- * The base implementation of `_.get` without support for default values.
- *
- * @private
- * @param {Object} object The object to query.
- * @param {Array|string} path The path of the property to get.
- * @returns {*} Returns the resolved value.
- */
- function baseGet(object, path) {
- path = castPath(path, object);
+ return hasKnownLength;
+};
- var index = 0,
- length = path.length;
+FormData.prototype.getLength = function (cb) {
+ var knownLength = this._overheadLength + this._valueLength;
- while (object != null && index < length) {
- object = object[toKey(path[index++])];
- }
- return (index && index == length) ? object : undefined;
- }
+ if (this._streams.length) {
+ knownLength += this._lastBoundary().length;
+ }
- /**
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
- * symbols of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @param {Function} keysFunc The function to get the keys of `object`.
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
- * @returns {Array} Returns the array of property names and symbols.
- */
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
- var result = keysFunc(object);
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
- }
+ if (!this._valuesToMeasure.length) {
+ process.nextTick(cb.bind(this, null, knownLength));
+ return;
+ }
- /**
- * The base implementation of `getTag` without fallbacks for buggy environments.
- *
- * @private
- * @param {*} value The value to query.
- * @returns {string} Returns the `toStringTag`.
- */
- function baseGetTag(value) {
- if (value == null) {
- return value === undefined ? undefinedTag : nullTag;
- }
- return (symToStringTag && symToStringTag in Object(value))
- ? getRawTag(value)
- : objectToString(value);
+ asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function (err, values) {
+ if (err) {
+ cb(err);
+ return;
}
- /**
- * The base implementation of `_.gt` which doesn't coerce arguments.
- *
- * @private
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {boolean} Returns `true` if `value` is greater than `other`,
- * else `false`.
- */
- function baseGt(value, other) {
- return value > other;
- }
+ values.forEach(function (length) {
+ knownLength += length;
+ });
- /**
- * The base implementation of `_.has` without support for deep paths.
- *
- * @private
- * @param {Object} [object] The object to query.
- * @param {Array|string} key The key to check.
- * @returns {boolean} Returns `true` if `key` exists, else `false`.
- */
- function baseHas(object, key) {
- return object != null && hasOwnProperty.call(object, key);
+ cb(null, knownLength);
+ });
+};
+
+FormData.prototype.submit = function (params, cb) {
+ var request;
+ var options;
+ var defaults = { method: 'post' };
+
+ // parse provided url if it's string or treat it as options object
+ if (typeof params === 'string') {
+ params = parseUrl(params); // eslint-disable-line no-param-reassign
+ /* eslint sort-keys: 0 */
+ options = populate({
+ port: params.port,
+ path: params.pathname,
+ host: params.hostname,
+ protocol: params.protocol
+ }, defaults);
+ } else { // use custom params
+ options = populate(params, defaults);
+ // if no port provided use default one
+ if (!options.port) {
+ options.port = options.protocol === 'https:' ? 443 : 80;
}
+ }
- /**
- * The base implementation of `_.hasIn` without support for deep paths.
- *
- * @private
- * @param {Object} [object] The object to query.
- * @param {Array|string} key The key to check.
- * @returns {boolean} Returns `true` if `key` exists, else `false`.
- */
- function baseHasIn(object, key) {
- return object != null && key in Object(object);
+ // put that good code in getHeaders to some use
+ options.headers = this.getHeaders(params.headers);
+
+ // https if specified, fallback to http in any other case
+ if (options.protocol === 'https:') {
+ request = https.request(options);
+ } else {
+ request = http.request(options);
+ }
+
+ // get content length and fire away
+ this.getLength(function (err, length) {
+ if (err && err !== 'Unknown stream') {
+ this._error(err);
+ return;
}
- /**
- * The base implementation of `_.inRange` which doesn't coerce arguments.
- *
- * @private
- * @param {number} number The number to check.
- * @param {number} start The start of the range.
- * @param {number} end The end of the range.
- * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
- */
- function baseInRange(number, start, end) {
- return number >= nativeMin(start, end) && number < nativeMax(start, end);
+ // add content length
+ if (length) {
+ request.setHeader('Content-Length', length);
}
- /**
- * The base implementation of methods like `_.intersection`, without support
- * for iteratee shorthands, that accepts an array of arrays to inspect.
- *
- * @private
- * @param {Array} arrays The arrays to inspect.
- * @param {Function} [iteratee] The iteratee invoked per element.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new array of shared values.
- */
- function baseIntersection(arrays, iteratee, comparator) {
- var includes = comparator ? arrayIncludesWith : arrayIncludes,
- length = arrays[0].length,
- othLength = arrays.length,
- othIndex = othLength,
- caches = Array(othLength),
- maxLength = Infinity,
- result = [];
+ this.pipe(request);
+ if (cb) {
+ var onResponse;
- while (othIndex--) {
- var array = arrays[othIndex];
- if (othIndex && iteratee) {
- array = arrayMap(array, baseUnary(iteratee));
- }
- maxLength = nativeMin(array.length, maxLength);
- caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))
- ? new SetCache(othIndex && array)
- : undefined;
- }
- array = arrays[0];
+ var callback = function (error, responce) {
+ request.removeListener('error', callback);
+ request.removeListener('response', onResponse);
- var index = -1,
- seen = caches[0];
+ return cb.call(this, error, responce);
+ };
- outer:
- while (++index < length && result.length < maxLength) {
- var value = array[index],
- computed = iteratee ? iteratee(value) : value;
+ onResponse = callback.bind(this, null);
- value = (comparator || value !== 0) ? value : 0;
- if (!(seen
- ? cacheHas(seen, computed)
- : includes(result, computed, comparator)
- )) {
- othIndex = othLength;
- while (--othIndex) {
- var cache = caches[othIndex];
- if (!(cache
- ? cacheHas(cache, computed)
- : includes(arrays[othIndex], computed, comparator))
- ) {
- continue outer;
- }
- }
- if (seen) {
- seen.push(computed);
- }
- result.push(value);
- }
- }
- return result;
+ request.on('error', callback);
+ request.on('response', onResponse);
}
+ }.bind(this));
- /**
- * The base implementation of `_.invert` and `_.invertBy` which inverts
- * `object` with values transformed by `iteratee` and set by `setter`.
- *
- * @private
- * @param {Object} object The object to iterate over.
- * @param {Function} setter The function to set `accumulator` values.
- * @param {Function} iteratee The iteratee to transform values.
- * @param {Object} accumulator The initial inverted object.
- * @returns {Function} Returns `accumulator`.
- */
- function baseInverter(object, setter, iteratee, accumulator) {
- baseForOwn(object, function(value, key, object) {
- setter(accumulator, iteratee(value), key, object);
- });
- return accumulator;
- }
+ return request;
+};
- /**
- * The base implementation of `_.invoke` without support for individual
- * method arguments.
- *
- * @private
- * @param {Object} object The object to query.
- * @param {Array|string} path The path of the method to invoke.
- * @param {Array} args The arguments to invoke the method with.
- * @returns {*} Returns the result of the invoked method.
- */
- function baseInvoke(object, path, args) {
- path = castPath(path, object);
- object = parent(object, path);
- var func = object == null ? object : object[toKey(last(path))];
- return func == null ? undefined : apply(func, object, args);
- }
+FormData.prototype._error = function (err) {
+ if (!this.error) {
+ this.error = err;
+ this.pause();
+ this.emit('error', err);
+ }
+};
- /**
- * The base implementation of `_.isArguments`.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
- */
- function baseIsArguments(value) {
- return isObjectLike(value) && baseGetTag(value) == argsTag;
- }
+FormData.prototype.toString = function () {
+ return '[object FormData]';
+};
+setToStringTag(FormData.prototype, 'FormData');
- /**
- * The base implementation of `_.isArrayBuffer` without Node.js optimizations.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
- */
- function baseIsArrayBuffer(value) {
- return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;
- }
+// Public API
+module.exports = FormData;
- /**
- * The base implementation of `_.isDate` without Node.js optimizations.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
- */
- function baseIsDate(value) {
- return isObjectLike(value) && baseGetTag(value) == dateTag;
- }
- /**
- * The base implementation of `_.isEqual` which supports partial comparisons
- * and tracks traversed objects.
- *
- * @private
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @param {boolean} bitmask The bitmask flags.
- * 1 - Unordered comparison
- * 2 - Partial comparison
- * @param {Function} [customizer] The function to customize comparisons.
- * @param {Object} [stack] Tracks traversed `value` and `other` objects.
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
- */
- function baseIsEqual(value, other, bitmask, customizer, stack) {
- if (value === other) {
- return true;
- }
- if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
- return value !== value && other !== other;
- }
- return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
- }
+/***/ }),
- /**
- * A specialized version of `baseIsEqual` for arrays and objects which performs
- * deep comparisons and tracks traversed objects enabling objects with circular
- * references to be compared.
- *
- * @private
- * @param {Object} object The object to compare.
- * @param {Object} other The other object to compare.
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
- * @param {Function} customizer The function to customize comparisons.
- * @param {Function} equalFunc The function to determine equivalents of values.
- * @param {Object} [stack] Tracks traversed `object` and `other` objects.
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
- */
- function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
- var objIsArr = isArray(object),
- othIsArr = isArray(other),
- objTag = objIsArr ? arrayTag : getTag(object),
- othTag = othIsArr ? arrayTag : getTag(other);
+/***/ 11835:
+/***/ ((module) => {
- objTag = objTag == argsTag ? objectTag : objTag;
- othTag = othTag == argsTag ? objectTag : othTag;
+"use strict";
- var objIsObj = objTag == objectTag,
- othIsObj = othTag == objectTag,
- isSameTag = objTag == othTag;
- if (isSameTag && isBuffer(object)) {
- if (!isBuffer(other)) {
- return false;
- }
- objIsArr = true;
- objIsObj = false;
- }
- if (isSameTag && !objIsObj) {
- stack || (stack = new Stack);
- return (objIsArr || isTypedArray(object))
- ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
- : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
- }
- if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
- var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
- othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
+// populates missing values
+module.exports = function (dst, src) {
+ Object.keys(src).forEach(function (prop) {
+ dst[prop] = dst[prop] || src[prop]; // eslint-disable-line no-param-reassign
+ });
- if (objIsWrapped || othIsWrapped) {
- var objUnwrapped = objIsWrapped ? object.value() : object,
- othUnwrapped = othIsWrapped ? other.value() : other;
+ return dst;
+};
- stack || (stack = new Stack);
- return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
- }
- }
- if (!isSameTag) {
- return false;
- }
- stack || (stack = new Stack);
- return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
- }
- /**
- * The base implementation of `_.isMap` without Node.js optimizations.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a map, else `false`.
- */
- function baseIsMap(value) {
- return isObjectLike(value) && getTag(value) == mapTag;
- }
+/***/ }),
- /**
- * The base implementation of `_.isMatch` without support for iteratee shorthands.
- *
- * @private
- * @param {Object} object The object to inspect.
- * @param {Object} source The object of property values to match.
- * @param {Array} matchData The property names, values, and compare flags to match.
- * @param {Function} [customizer] The function to customize comparisons.
- * @returns {boolean} Returns `true` if `object` is a match, else `false`.
- */
- function baseIsMatch(object, source, matchData, customizer) {
- var index = matchData.length,
- length = index,
- noCustomizer = !customizer;
+/***/ 99808:
+/***/ ((module) => {
- if (object == null) {
- return !length;
- }
- object = Object(object);
- while (index--) {
- var data = matchData[index];
- if ((noCustomizer && data[2])
- ? data[1] !== object[data[0]]
- : !(data[0] in object)
- ) {
- return false;
- }
- }
- while (++index < length) {
- data = matchData[index];
- var key = data[0],
- objValue = object[key],
- srcValue = data[1];
+"use strict";
- if (noCustomizer && data[2]) {
- if (objValue === undefined && !(key in object)) {
- return false;
- }
- } else {
- var stack = new Stack;
- if (customizer) {
- var result = customizer(objValue, srcValue, key, object, source, stack);
- }
- if (!(result === undefined
- ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
- : result
- )) {
- return false;
- }
- }
- }
- return true;
+
+/* eslint no-invalid-this: 1 */
+
+var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
+var toStr = Object.prototype.toString;
+var max = Math.max;
+var funcType = '[object Function]';
+
+var concatty = function concatty(a, b) {
+ var arr = [];
+
+ for (var i = 0; i < a.length; i += 1) {
+ arr[i] = a[i];
+ }
+ for (var j = 0; j < b.length; j += 1) {
+ arr[j + a.length] = b[j];
}
- /**
- * The base implementation of `_.isNative` without bad shim checks.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a native function,
- * else `false`.
- */
- function baseIsNative(value) {
- if (!isObject(value) || isMasked(value)) {
- return false;
- }
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
- return pattern.test(toSource(value));
+ return arr;
+};
+
+var slicy = function slicy(arrLike, offset) {
+ var arr = [];
+ for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
+ arr[j] = arrLike[i];
}
+ return arr;
+};
- /**
- * The base implementation of `_.isRegExp` without Node.js optimizations.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
- */
- function baseIsRegExp(value) {
- return isObjectLike(value) && baseGetTag(value) == regexpTag;
+var joiny = function (arr, joiner) {
+ var str = '';
+ for (var i = 0; i < arr.length; i += 1) {
+ str += arr[i];
+ if (i + 1 < arr.length) {
+ str += joiner;
+ }
}
+ return str;
+};
- /**
- * The base implementation of `_.isSet` without Node.js optimizations.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a set, else `false`.
- */
- function baseIsSet(value) {
- return isObjectLike(value) && getTag(value) == setTag;
+module.exports = function bind(that) {
+ var target = this;
+ if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
+ throw new TypeError(ERROR_MESSAGE + target);
}
+ var args = slicy(arguments, 1);
- /**
- * The base implementation of `_.isTypedArray` without Node.js optimizations.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
- */
- function baseIsTypedArray(value) {
- return isObjectLike(value) &&
- isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
+ var bound;
+ var binder = function () {
+ if (this instanceof bound) {
+ var result = target.apply(
+ this,
+ concatty(args, arguments)
+ );
+ if (Object(result) === result) {
+ return result;
+ }
+ return this;
+ }
+ return target.apply(
+ that,
+ concatty(args, arguments)
+ );
+
+ };
+
+ var boundLength = max(0, target.length - args.length);
+ var boundArgs = [];
+ for (var i = 0; i < boundLength; i++) {
+ boundArgs[i] = '$' + i;
}
- /**
- * The base implementation of `_.iteratee`.
- *
- * @private
- * @param {*} [value=_.identity] The value to convert to an iteratee.
- * @returns {Function} Returns the iteratee.
- */
- function baseIteratee(value) {
- // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
- // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
- if (typeof value == 'function') {
- return value;
- }
- if (value == null) {
- return identity;
- }
- if (typeof value == 'object') {
- return isArray(value)
- ? baseMatchesProperty(value[0], value[1])
- : baseMatches(value);
- }
- return property(value);
- }
+ bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
- /**
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property names.
- */
- function baseKeys(object) {
- if (!isPrototype(object)) {
- return nativeKeys(object);
- }
- var result = [];
- for (var key in Object(object)) {
- if (hasOwnProperty.call(object, key) && key != 'constructor') {
- result.push(key);
- }
- }
- return result;
+ if (target.prototype) {
+ var Empty = function Empty() {};
+ Empty.prototype = target.prototype;
+ bound.prototype = new Empty();
+ Empty.prototype = null;
}
- /**
- * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property names.
- */
- function baseKeysIn(object) {
- if (!isObject(object)) {
- return nativeKeysIn(object);
- }
- var isProto = isPrototype(object),
- result = [];
+ return bound;
+};
- for (var key in object) {
- if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
- result.push(key);
- }
- }
- return result;
- }
- /**
- * The base implementation of `_.lt` which doesn't coerce arguments.
- *
- * @private
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {boolean} Returns `true` if `value` is less than `other`,
- * else `false`.
- */
- function baseLt(value, other) {
- return value < other;
- }
+/***/ }),
- /**
- * The base implementation of `_.map` without support for iteratee shorthands.
- *
- * @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} iteratee The function invoked per iteration.
- * @returns {Array} Returns the new mapped array.
- */
- function baseMap(collection, iteratee) {
- var index = -1,
- result = isArrayLike(collection) ? Array(collection.length) : [];
+/***/ 37564:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- baseEach(collection, function(value, key, collection) {
- result[++index] = iteratee(value, key, collection);
- });
- return result;
- }
+"use strict";
- /**
- * The base implementation of `_.matches` which doesn't clone `source`.
- *
- * @private
- * @param {Object} source The object of property values to match.
- * @returns {Function} Returns the new spec function.
- */
- function baseMatches(source) {
- var matchData = getMatchData(source);
- if (matchData.length == 1 && matchData[0][2]) {
- return matchesStrictComparable(matchData[0][0], matchData[0][1]);
- }
- return function(object) {
- return object === source || baseIsMatch(object, source, matchData);
- };
- }
- /**
- * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
- *
- * @private
- * @param {string} path The path of the property to get.
- * @param {*} srcValue The value to match.
- * @returns {Function} Returns the new spec function.
- */
- function baseMatchesProperty(path, srcValue) {
- if (isKey(path) && isStrictComparable(srcValue)) {
- return matchesStrictComparable(toKey(path), srcValue);
- }
- return function(object) {
- var objValue = get(object, path);
- return (objValue === undefined && objValue === srcValue)
- ? hasIn(object, path)
- : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
- };
- }
+var implementation = __nccwpck_require__(99808);
- /**
- * The base implementation of `_.merge` without support for multiple sources.
- *
- * @private
- * @param {Object} object The destination object.
- * @param {Object} source The source object.
- * @param {number} srcIndex The index of `source`.
- * @param {Function} [customizer] The function to customize merged values.
- * @param {Object} [stack] Tracks traversed source values and their merged
- * counterparts.
- */
- function baseMerge(object, source, srcIndex, customizer, stack) {
- if (object === source) {
- return;
- }
- baseFor(source, function(srcValue, key) {
- stack || (stack = new Stack);
- if (isObject(srcValue)) {
- baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
- }
- else {
- var newValue = customizer
- ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)
- : undefined;
+module.exports = Function.prototype.bind || implementation;
- if (newValue === undefined) {
- newValue = srcValue;
- }
- assignMergeValue(object, key, newValue);
- }
- }, keysIn);
- }
- /**
- * A specialized version of `baseMerge` for arrays and objects which performs
- * deep merges and tracks traversed objects enabling objects with circular
- * references to be merged.
- *
- * @private
- * @param {Object} object The destination object.
- * @param {Object} source The source object.
- * @param {string} key The key of the value to merge.
- * @param {number} srcIndex The index of `source`.
- * @param {Function} mergeFunc The function to merge values.
- * @param {Function} [customizer] The function to customize assigned values.
- * @param {Object} [stack] Tracks traversed source values and their merged
- * counterparts.
- */
- function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
- var objValue = safeGet(object, key),
- srcValue = safeGet(source, key),
- stacked = stack.get(srcValue);
+/***/ }),
- if (stacked) {
- assignMergeValue(object, key, stacked);
- return;
- }
- var newValue = customizer
- ? customizer(objValue, srcValue, (key + ''), object, source, stack)
- : undefined;
+/***/ 60470:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- var isCommon = newValue === undefined;
+"use strict";
- if (isCommon) {
- var isArr = isArray(srcValue),
- isBuff = !isArr && isBuffer(srcValue),
- isTyped = !isArr && !isBuff && isTypedArray(srcValue);
- newValue = srcValue;
- if (isArr || isBuff || isTyped) {
- if (isArray(objValue)) {
- newValue = objValue;
- }
- else if (isArrayLikeObject(objValue)) {
- newValue = copyArray(objValue);
- }
- else if (isBuff) {
- isCommon = false;
- newValue = cloneBuffer(srcValue, true);
- }
- else if (isTyped) {
- isCommon = false;
- newValue = cloneTypedArray(srcValue, true);
- }
- else {
- newValue = [];
- }
- }
- else if (isPlainObject(srcValue) || isArguments(srcValue)) {
- newValue = objValue;
- if (isArguments(objValue)) {
- newValue = toPlainObject(objValue);
- }
- else if (!isObject(objValue) || isFunction(objValue)) {
- newValue = initCloneObject(srcValue);
- }
- }
- else {
- isCommon = false;
- }
- }
- if (isCommon) {
- // Recursively merge objects and arrays (susceptible to call stack limits).
- stack.set(srcValue, newValue);
- mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
- stack['delete'](srcValue);
- }
- assignMergeValue(object, key, newValue);
- }
+var undefined;
- /**
- * The base implementation of `_.nth` which doesn't coerce arguments.
- *
- * @private
- * @param {Array} array The array to query.
- * @param {number} n The index of the element to return.
- * @returns {*} Returns the nth element of `array`.
- */
- function baseNth(array, n) {
- var length = array.length;
- if (!length) {
- return;
- }
- n += n < 0 ? length : 0;
- return isIndex(n, length) ? array[n] : undefined;
- }
+var $Object = __nccwpck_require__(95399);
- /**
- * The base implementation of `_.orderBy` without param guards.
- *
- * @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
- * @param {string[]} orders The sort orders of `iteratees`.
- * @returns {Array} Returns the new sorted array.
- */
- function baseOrderBy(collection, iteratees, orders) {
- if (iteratees.length) {
- iteratees = arrayMap(iteratees, function(iteratee) {
- if (isArray(iteratee)) {
- return function(value) {
- return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
- }
- }
- return iteratee;
- });
- } else {
- iteratees = [identity];
- }
+var $Error = __nccwpck_require__(31620);
+var $EvalError = __nccwpck_require__(33056);
+var $RangeError = __nccwpck_require__(14585);
+var $ReferenceError = __nccwpck_require__(46905);
+var $SyntaxError = __nccwpck_require__(80105);
+var $TypeError = __nccwpck_require__(73314);
+var $URIError = __nccwpck_require__(32578);
- var index = -1;
- iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
+var abs = __nccwpck_require__(55641);
+var floor = __nccwpck_require__(96171);
+var max = __nccwpck_require__(57147);
+var min = __nccwpck_require__(41017);
+var pow = __nccwpck_require__(56947);
+var round = __nccwpck_require__(42621);
+var sign = __nccwpck_require__(30156);
- var result = baseMap(collection, function(value, key, collection) {
- var criteria = arrayMap(iteratees, function(iteratee) {
- return iteratee(value);
- });
- return { 'criteria': criteria, 'index': ++index, 'value': value };
- });
+var $Function = Function;
- return baseSortBy(result, function(object, other) {
- return compareMultiple(object, other, orders);
- });
- }
+// eslint-disable-next-line consistent-return
+var getEvalledConstructor = function (expressionSyntax) {
+ try {
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
+ } catch (e) {}
+};
- /**
- * The base implementation of `_.pick` without support for individual
- * property identifiers.
- *
- * @private
- * @param {Object} object The source object.
- * @param {string[]} paths The property paths to pick.
- * @returns {Object} Returns the new object.
- */
- function basePick(object, paths) {
- return basePickBy(object, paths, function(value, path) {
- return hasIn(object, path);
- });
- }
+var $gOPD = __nccwpck_require__(33170);
+var $defineProperty = __nccwpck_require__(79094);
- /**
- * The base implementation of `_.pickBy` without support for iteratee shorthands.
- *
- * @private
- * @param {Object} object The source object.
- * @param {string[]} paths The property paths to pick.
- * @param {Function} predicate The function invoked per property.
- * @returns {Object} Returns the new object.
- */
- function basePickBy(object, paths, predicate) {
- var index = -1,
- length = paths.length,
- result = {};
+var throwTypeError = function () {
+ throw new $TypeError();
+};
+var ThrowTypeError = $gOPD
+ ? (function () {
+ try {
+ // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
+ arguments.callee; // IE 8 does not throw here
+ return throwTypeError;
+ } catch (calleeThrows) {
+ try {
+ // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
+ return $gOPD(arguments, 'callee').get;
+ } catch (gOPDthrows) {
+ return throwTypeError;
+ }
+ }
+ }())
+ : throwTypeError;
+
+var hasSymbols = __nccwpck_require__(23336)();
+
+var getProto = __nccwpck_require__(81967);
+var $ObjectGPO = __nccwpck_require__(91311);
+var $ReflectGPO = __nccwpck_require__(48681);
+
+var $apply = __nccwpck_require__(33945);
+var $call = __nccwpck_require__(88093);
+
+var needsEval = {};
+
+var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
+
+var INTRINSICS = {
+ __proto__: null,
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
+ '%Array%': Array,
+ '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
+ '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
+ '%AsyncFromSyncIteratorPrototype%': undefined,
+ '%AsyncFunction%': needsEval,
+ '%AsyncGenerator%': needsEval,
+ '%AsyncGeneratorFunction%': needsEval,
+ '%AsyncIteratorPrototype%': needsEval,
+ '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
+ '%Boolean%': Boolean,
+ '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
+ '%Date%': Date,
+ '%decodeURI%': decodeURI,
+ '%decodeURIComponent%': decodeURIComponent,
+ '%encodeURI%': encodeURI,
+ '%encodeURIComponent%': encodeURIComponent,
+ '%Error%': $Error,
+ '%eval%': eval, // eslint-disable-line no-eval
+ '%EvalError%': $EvalError,
+ '%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,
+ '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
+ '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
+ '%Function%': $Function,
+ '%GeneratorFunction%': needsEval,
+ '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
+ '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
+ '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
+ '%isFinite%': isFinite,
+ '%isNaN%': isNaN,
+ '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
+ '%JSON%': typeof JSON === 'object' ? JSON : undefined,
+ '%Map%': typeof Map === 'undefined' ? undefined : Map,
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
+ '%Math%': Math,
+ '%Number%': Number,
+ '%Object%': $Object,
+ '%Object.getOwnPropertyDescriptor%': $gOPD,
+ '%parseFloat%': parseFloat,
+ '%parseInt%': parseInt,
+ '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
+ '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
+ '%RangeError%': $RangeError,
+ '%ReferenceError%': $ReferenceError,
+ '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
+ '%RegExp%': RegExp,
+ '%Set%': typeof Set === 'undefined' ? undefined : Set,
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
+ '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
+ '%String%': String,
+ '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
+ '%Symbol%': hasSymbols ? Symbol : undefined,
+ '%SyntaxError%': $SyntaxError,
+ '%ThrowTypeError%': ThrowTypeError,
+ '%TypedArray%': TypedArray,
+ '%TypeError%': $TypeError,
+ '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
+ '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
+ '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
+ '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
+ '%URIError%': $URIError,
+ '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
+
+ '%Function.prototype.call%': $call,
+ '%Function.prototype.apply%': $apply,
+ '%Object.defineProperty%': $defineProperty,
+ '%Object.getPrototypeOf%': $ObjectGPO,
+ '%Math.abs%': abs,
+ '%Math.floor%': floor,
+ '%Math.max%': max,
+ '%Math.min%': min,
+ '%Math.pow%': pow,
+ '%Math.round%': round,
+ '%Math.sign%': sign,
+ '%Reflect.getPrototypeOf%': $ReflectGPO
+};
- while (++index < length) {
- var path = paths[index],
- value = baseGet(object, path);
+if (getProto) {
+ try {
+ null.error; // eslint-disable-line no-unused-expressions
+ } catch (e) {
+ // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
+ var errorProto = getProto(getProto(e));
+ INTRINSICS['%Error.prototype%'] = errorProto;
+ }
+}
- if (predicate(value, path)) {
- baseSet(result, castPath(path, object), value);
- }
- }
- return result;
- }
+var doEval = function doEval(name) {
+ var value;
+ if (name === '%AsyncFunction%') {
+ value = getEvalledConstructor('async function () {}');
+ } else if (name === '%GeneratorFunction%') {
+ value = getEvalledConstructor('function* () {}');
+ } else if (name === '%AsyncGeneratorFunction%') {
+ value = getEvalledConstructor('async function* () {}');
+ } else if (name === '%AsyncGenerator%') {
+ var fn = doEval('%AsyncGeneratorFunction%');
+ if (fn) {
+ value = fn.prototype;
+ }
+ } else if (name === '%AsyncIteratorPrototype%') {
+ var gen = doEval('%AsyncGenerator%');
+ if (gen && getProto) {
+ value = getProto(gen.prototype);
+ }
+ }
- /**
- * A specialized version of `baseProperty` which supports deep paths.
- *
- * @private
- * @param {Array|string} path The path of the property to get.
- * @returns {Function} Returns the new accessor function.
- */
- function basePropertyDeep(path) {
- return function(object) {
- return baseGet(object, path);
- };
- }
+ INTRINSICS[name] = value;
- /**
- * The base implementation of `_.pullAllBy` without support for iteratee
- * shorthands.
- *
- * @private
- * @param {Array} array The array to modify.
- * @param {Array} values The values to remove.
- * @param {Function} [iteratee] The iteratee invoked per element.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns `array`.
- */
- function basePullAll(array, values, iteratee, comparator) {
- var indexOf = comparator ? baseIndexOfWith : baseIndexOf,
- index = -1,
- length = values.length,
- seen = array;
+ return value;
+};
- if (array === values) {
- values = copyArray(values);
- }
- if (iteratee) {
- seen = arrayMap(array, baseUnary(iteratee));
- }
- while (++index < length) {
- var fromIndex = 0,
- value = values[index],
- computed = iteratee ? iteratee(value) : value;
+var LEGACY_ALIASES = {
+ __proto__: null,
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
+ '%ArrayPrototype%': ['Array', 'prototype'],
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
+ '%DataViewPrototype%': ['DataView', 'prototype'],
+ '%DatePrototype%': ['Date', 'prototype'],
+ '%ErrorPrototype%': ['Error', 'prototype'],
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
+ '%FunctionPrototype%': ['Function', 'prototype'],
+ '%Generator%': ['GeneratorFunction', 'prototype'],
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
+ '%JSONParse%': ['JSON', 'parse'],
+ '%JSONStringify%': ['JSON', 'stringify'],
+ '%MapPrototype%': ['Map', 'prototype'],
+ '%NumberPrototype%': ['Number', 'prototype'],
+ '%ObjectPrototype%': ['Object', 'prototype'],
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
+ '%PromisePrototype%': ['Promise', 'prototype'],
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
+ '%Promise_all%': ['Promise', 'all'],
+ '%Promise_reject%': ['Promise', 'reject'],
+ '%Promise_resolve%': ['Promise', 'resolve'],
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
+ '%SetPrototype%': ['Set', 'prototype'],
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
+ '%StringPrototype%': ['String', 'prototype'],
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
+};
- while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {
- if (seen !== array) {
- splice.call(seen, fromIndex, 1);
- }
- splice.call(array, fromIndex, 1);
- }
- }
- return array;
- }
+var bind = __nccwpck_require__(37564);
+var hasOwn = __nccwpck_require__(54076);
+var $concat = bind.call($call, Array.prototype.concat);
+var $spliceApply = bind.call($apply, Array.prototype.splice);
+var $replace = bind.call($call, String.prototype.replace);
+var $strSlice = bind.call($call, String.prototype.slice);
+var $exec = bind.call($call, RegExp.prototype.exec);
+
+/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
+var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
+var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
+var stringToPath = function stringToPath(string) {
+ var first = $strSlice(string, 0, 1);
+ var last = $strSlice(string, -1);
+ if (first === '%' && last !== '%') {
+ throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
+ } else if (last === '%' && first !== '%') {
+ throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
+ }
+ var result = [];
+ $replace(string, rePropName, function (match, number, quote, subString) {
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
+ });
+ return result;
+};
+/* end adaptation */
+
+var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
+ var intrinsicName = name;
+ var alias;
+ if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
+ alias = LEGACY_ALIASES[intrinsicName];
+ intrinsicName = '%' + alias[0] + '%';
+ }
- /**
- * The base implementation of `_.pullAt` without support for individual
- * indexes or capturing the removed elements.
- *
- * @private
- * @param {Array} array The array to modify.
- * @param {number[]} indexes The indexes of elements to remove.
- * @returns {Array} Returns `array`.
- */
- function basePullAt(array, indexes) {
- var length = array ? indexes.length : 0,
- lastIndex = length - 1;
+ if (hasOwn(INTRINSICS, intrinsicName)) {
+ var value = INTRINSICS[intrinsicName];
+ if (value === needsEval) {
+ value = doEval(intrinsicName);
+ }
+ if (typeof value === 'undefined' && !allowMissing) {
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
+ }
- while (length--) {
- var index = indexes[length];
- if (length == lastIndex || index !== previous) {
- var previous = index;
- if (isIndex(index)) {
- splice.call(array, index, 1);
- } else {
- baseUnset(array, index);
- }
- }
- }
- return array;
- }
+ return {
+ alias: alias,
+ name: intrinsicName,
+ value: value
+ };
+ }
- /**
- * The base implementation of `_.random` without support for returning
- * floating-point numbers.
- *
- * @private
- * @param {number} lower The lower bound.
- * @param {number} upper The upper bound.
- * @returns {number} Returns the random number.
- */
- function baseRandom(lower, upper) {
- return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
- }
+ throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
+};
- /**
- * The base implementation of `_.range` and `_.rangeRight` which doesn't
- * coerce arguments.
- *
- * @private
- * @param {number} start The start of the range.
- * @param {number} end The end of the range.
- * @param {number} step The value to increment or decrement by.
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {Array} Returns the range of numbers.
- */
- function baseRange(start, end, step, fromRight) {
- var index = -1,
- length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),
- result = Array(length);
+module.exports = function GetIntrinsic(name, allowMissing) {
+ if (typeof name !== 'string' || name.length === 0) {
+ throw new $TypeError('intrinsic name must be a non-empty string');
+ }
+ if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
+ throw new $TypeError('"allowMissing" argument must be a boolean');
+ }
- while (length--) {
- result[fromRight ? length : ++index] = start;
- start += step;
- }
- return result;
- }
+ if ($exec(/^%?[^%]*%?$/, name) === null) {
+ throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
+ }
+ var parts = stringToPath(name);
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
+
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
+ var intrinsicRealName = intrinsic.name;
+ var value = intrinsic.value;
+ var skipFurtherCaching = false;
+
+ var alias = intrinsic.alias;
+ if (alias) {
+ intrinsicBaseName = alias[0];
+ $spliceApply(parts, $concat([0, 1], alias));
+ }
- /**
- * The base implementation of `_.repeat` which doesn't coerce arguments.
- *
- * @private
- * @param {string} string The string to repeat.
- * @param {number} n The number of times to repeat the string.
- * @returns {string} Returns the repeated string.
- */
- function baseRepeat(string, n) {
- var result = '';
- if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
- return result;
- }
- // Leverage the exponentiation by squaring algorithm for a faster repeat.
- // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.
- do {
- if (n % 2) {
- result += string;
- }
- n = nativeFloor(n / 2);
- if (n) {
- string += string;
- }
- } while (n);
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
+ var part = parts[i];
+ var first = $strSlice(part, 0, 1);
+ var last = $strSlice(part, -1);
+ if (
+ (
+ (first === '"' || first === "'" || first === '`')
+ || (last === '"' || last === "'" || last === '`')
+ )
+ && first !== last
+ ) {
+ throw new $SyntaxError('property names with quotes must have matching quotes');
+ }
+ if (part === 'constructor' || !isOwn) {
+ skipFurtherCaching = true;
+ }
- return result;
- }
+ intrinsicBaseName += '.' + part;
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
- /**
- * The base implementation of `_.rest` which doesn't validate or coerce arguments.
- *
- * @private
- * @param {Function} func The function to apply a rest parameter to.
- * @param {number} [start=func.length-1] The start position of the rest parameter.
- * @returns {Function} Returns the new function.
- */
- function baseRest(func, start) {
- return setToString(overRest(func, start, identity), func + '');
- }
+ if (hasOwn(INTRINSICS, intrinsicRealName)) {
+ value = INTRINSICS[intrinsicRealName];
+ } else if (value != null) {
+ if (!(part in value)) {
+ if (!allowMissing) {
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
+ }
+ return void undefined;
+ }
+ if ($gOPD && (i + 1) >= parts.length) {
+ var desc = $gOPD(value, part);
+ isOwn = !!desc;
+
+ // By convention, when a data property is converted to an accessor
+ // property to emulate a data property that does not suffer from
+ // the override mistake, that accessor's getter is marked with
+ // an `originalValue` property. Here, when we detect this, we
+ // uphold the illusion by pretending to see that original data
+ // property, i.e., returning the value rather than the getter
+ // itself.
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
+ value = desc.get;
+ } else {
+ value = value[part];
+ }
+ } else {
+ isOwn = hasOwn(value, part);
+ value = value[part];
+ }
- /**
- * The base implementation of `_.sample`.
- *
- * @private
- * @param {Array|Object} collection The collection to sample.
- * @returns {*} Returns the random element.
- */
- function baseSample(collection) {
- return arraySample(values(collection));
- }
+ if (isOwn && !skipFurtherCaching) {
+ INTRINSICS[intrinsicRealName] = value;
+ }
+ }
+ }
+ return value;
+};
- /**
- * The base implementation of `_.sampleSize` without param guards.
- *
- * @private
- * @param {Array|Object} collection The collection to sample.
- * @param {number} n The number of elements to sample.
- * @returns {Array} Returns the random elements.
- */
- function baseSampleSize(collection, n) {
- var array = values(collection);
- return shuffleSelf(array, baseClamp(n, 0, array.length));
- }
- /**
- * The base implementation of `_.set`.
- *
- * @private
- * @param {Object} object The object to modify.
- * @param {Array|string} path The path of the property to set.
- * @param {*} value The value to set.
- * @param {Function} [customizer] The function to customize path creation.
- * @returns {Object} Returns `object`.
- */
- function baseSet(object, path, value, customizer) {
- if (!isObject(object)) {
- return object;
- }
- path = castPath(path, object);
+/***/ }),
- var index = -1,
- length = path.length,
- lastIndex = length - 1,
- nested = object;
+/***/ 91311:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- while (nested != null && ++index < length) {
- var key = toKey(path[index]),
- newValue = value;
+"use strict";
- if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
- return object;
- }
- if (index != lastIndex) {
- var objValue = nested[key];
- newValue = customizer ? customizer(objValue, key, nested) : undefined;
- if (newValue === undefined) {
- newValue = isObject(objValue)
- ? objValue
- : (isIndex(path[index + 1]) ? [] : {});
- }
- }
- assignValue(nested, key, newValue);
- nested = nested[key];
- }
- return object;
- }
+var $Object = __nccwpck_require__(95399);
- /**
- * The base implementation of `setData` without support for hot loop shorting.
- *
- * @private
- * @param {Function} func The function to associate metadata with.
- * @param {*} data The metadata.
- * @returns {Function} Returns `func`.
- */
- var baseSetData = !metaMap ? identity : function(func, data) {
- metaMap.set(func, data);
- return func;
- };
+/** @type {import('./Object.getPrototypeOf')} */
+module.exports = $Object.getPrototypeOf || null;
- /**
- * The base implementation of `setToString` without support for hot loop shorting.
- *
- * @private
- * @param {Function} func The function to modify.
- * @param {Function} string The `toString` result.
- * @returns {Function} Returns `func`.
- */
- var baseSetToString = !defineProperty ? identity : function(func, string) {
- return defineProperty(func, 'toString', {
- 'configurable': true,
- 'enumerable': false,
- 'value': constant(string),
- 'writable': true
- });
- };
- /**
- * The base implementation of `_.shuffle`.
- *
- * @private
- * @param {Array|Object} collection The collection to shuffle.
- * @returns {Array} Returns the new shuffled array.
- */
- function baseShuffle(collection) {
- return shuffleSelf(values(collection));
- }
+/***/ }),
- /**
- * The base implementation of `_.slice` without an iteratee call guard.
- *
- * @private
- * @param {Array} array The array to slice.
- * @param {number} [start=0] The start position.
- * @param {number} [end=array.length] The end position.
- * @returns {Array} Returns the slice of `array`.
- */
- function baseSlice(array, start, end) {
- var index = -1,
- length = array.length;
+/***/ 48681:
+/***/ ((module) => {
- if (start < 0) {
- start = -start > length ? 0 : (length + start);
- }
- end = end > length ? length : end;
- if (end < 0) {
- end += length;
- }
- length = start > end ? 0 : ((end - start) >>> 0);
- start >>>= 0;
+"use strict";
- var result = Array(length);
- while (++index < length) {
- result[index] = array[index + start];
- }
- return result;
- }
- /**
- * The base implementation of `_.some` without support for iteratee shorthands.
- *
- * @private
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} predicate The function invoked per iteration.
- * @returns {boolean} Returns `true` if any element passes the predicate check,
- * else `false`.
- */
- function baseSome(collection, predicate) {
- var result;
+/** @type {import('./Reflect.getPrototypeOf')} */
+module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
- baseEach(collection, function(value, index, collection) {
- result = predicate(value, index, collection);
- return !result;
- });
- return !!result;
- }
- /**
- * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which
- * performs a binary search of `array` to determine the index at which `value`
- * should be inserted into `array` in order to maintain its sort order.
- *
- * @private
- * @param {Array} array The sorted array to inspect.
- * @param {*} value The value to evaluate.
- * @param {boolean} [retHighest] Specify returning the highest qualified index.
- * @returns {number} Returns the index at which `value` should be inserted
- * into `array`.
- */
- function baseSortedIndex(array, value, retHighest) {
- var low = 0,
- high = array == null ? low : array.length;
+/***/ }),
- if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {
- while (low < high) {
- var mid = (low + high) >>> 1,
- computed = array[mid];
+/***/ 81967:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- if (computed !== null && !isSymbol(computed) &&
- (retHighest ? (computed <= value) : (computed < value))) {
- low = mid + 1;
- } else {
- high = mid;
- }
- }
- return high;
- }
- return baseSortedIndexBy(array, value, identity, retHighest);
- }
+"use strict";
- /**
- * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`
- * which invokes `iteratee` for `value` and each element of `array` to compute
- * their sort ranking. The iteratee is invoked with one argument; (value).
- *
- * @private
- * @param {Array} array The sorted array to inspect.
- * @param {*} value The value to evaluate.
- * @param {Function} iteratee The iteratee invoked per element.
- * @param {boolean} [retHighest] Specify returning the highest qualified index.
- * @returns {number} Returns the index at which `value` should be inserted
- * into `array`.
- */
- function baseSortedIndexBy(array, value, iteratee, retHighest) {
- var low = 0,
- high = array == null ? 0 : array.length;
- if (high === 0) {
- return 0;
- }
- value = iteratee(value);
- var valIsNaN = value !== value,
- valIsNull = value === null,
- valIsSymbol = isSymbol(value),
- valIsUndefined = value === undefined;
+var reflectGetProto = __nccwpck_require__(48681);
+var originalGetProto = __nccwpck_require__(91311);
- while (low < high) {
- var mid = nativeFloor((low + high) / 2),
- computed = iteratee(array[mid]),
- othIsDefined = computed !== undefined,
- othIsNull = computed === null,
- othIsReflexive = computed === computed,
- othIsSymbol = isSymbol(computed);
+var getDunderProto = __nccwpck_require__(26669);
- if (valIsNaN) {
- var setLow = retHighest || othIsReflexive;
- } else if (valIsUndefined) {
- setLow = othIsReflexive && (retHighest || othIsDefined);
- } else if (valIsNull) {
- setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);
- } else if (valIsSymbol) {
- setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);
- } else if (othIsNull || othIsSymbol) {
- setLow = false;
- } else {
- setLow = retHighest ? (computed <= value) : (computed < value);
- }
- if (setLow) {
- low = mid + 1;
- } else {
- high = mid;
- }
- }
- return nativeMin(high, MAX_ARRAY_INDEX);
- }
+/** @type {import('.')} */
+module.exports = reflectGetProto
+ ? function getProto(O) {
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
+ return reflectGetProto(O);
+ }
+ : originalGetProto
+ ? function getProto(O) {
+ if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
+ throw new TypeError('getProto: not an object');
+ }
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
+ return originalGetProto(O);
+ }
+ : getDunderProto
+ ? function getProto(O) {
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
+ return getDunderProto(O);
+ }
+ : null;
- /**
- * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without
- * support for iteratee shorthands.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {Function} [iteratee] The iteratee invoked per element.
- * @returns {Array} Returns the new duplicate free array.
- */
- function baseSortedUniq(array, iteratee) {
- var index = -1,
- length = array.length,
- resIndex = 0,
- result = [];
- while (++index < length) {
- var value = array[index],
- computed = iteratee ? iteratee(value) : value;
+/***/ }),
- if (!index || !eq(computed, seen)) {
- var seen = computed;
- result[resIndex++] = value === 0 ? 0 : value;
- }
- }
- return result;
- }
+/***/ 1174:
+/***/ ((module) => {
- /**
- * The base implementation of `_.toNumber` which doesn't ensure correct
- * conversions of binary, hexadecimal, or octal string values.
- *
- * @private
- * @param {*} value The value to process.
- * @returns {number} Returns the number.
- */
- function baseToNumber(value) {
- if (typeof value == 'number') {
- return value;
- }
- if (isSymbol(value)) {
- return NAN;
- }
- return +value;
- }
+"use strict";
- /**
- * The base implementation of `_.toString` which doesn't convert nullish
- * values to empty strings.
- *
- * @private
- * @param {*} value The value to process.
- * @returns {string} Returns the string.
- */
- function baseToString(value) {
- // Exit early for strings to avoid a performance hit in some environments.
- if (typeof value == 'string') {
- return value;
- }
- if (isArray(value)) {
- // Recursively convert values (susceptible to call stack limits).
- return arrayMap(value, baseToString) + '';
- }
- if (isSymbol(value)) {
- return symbolToString ? symbolToString.call(value) : '';
- }
- var result = (value + '');
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
- }
- /**
- * The base implementation of `_.uniqBy` without support for iteratee shorthands.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {Function} [iteratee] The iteratee invoked per element.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new duplicate free array.
- */
- function baseUniq(array, iteratee, comparator) {
- var index = -1,
- includes = arrayIncludes,
- length = array.length,
- isCommon = true,
- result = [],
- seen = result;
+/** @type {import('./gOPD')} */
+module.exports = Object.getOwnPropertyDescriptor;
- if (comparator) {
- isCommon = false;
- includes = arrayIncludesWith;
- }
- else if (length >= LARGE_ARRAY_SIZE) {
- var set = iteratee ? null : createSet(array);
- if (set) {
- return setToArray(set);
- }
- isCommon = false;
- includes = cacheHas;
- seen = new SetCache;
- }
- else {
- seen = iteratee ? [] : result;
- }
- outer:
- while (++index < length) {
- var value = array[index],
- computed = iteratee ? iteratee(value) : value;
- value = (comparator || value !== 0) ? value : 0;
- if (isCommon && computed === computed) {
- var seenIndex = seen.length;
- while (seenIndex--) {
- if (seen[seenIndex] === computed) {
- continue outer;
- }
- }
- if (iteratee) {
- seen.push(computed);
- }
- result.push(value);
- }
- else if (!includes(seen, computed, comparator)) {
- if (seen !== result) {
- seen.push(computed);
- }
- result.push(value);
- }
- }
- return result;
- }
+/***/ }),
- /**
- * The base implementation of `_.unset`.
- *
- * @private
- * @param {Object} object The object to modify.
- * @param {Array|string} path The property path to unset.
- * @returns {boolean} Returns `true` if the property is deleted, else `false`.
- */
- function baseUnset(object, path) {
- path = castPath(path, object);
- object = parent(object, path);
- return object == null || delete object[toKey(last(path))];
- }
+/***/ 33170:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * The base implementation of `_.update`.
- *
- * @private
- * @param {Object} object The object to modify.
- * @param {Array|string} path The path of the property to update.
- * @param {Function} updater The function to produce the updated value.
- * @param {Function} [customizer] The function to customize path creation.
- * @returns {Object} Returns `object`.
- */
- function baseUpdate(object, path, updater, customizer) {
- return baseSet(object, path, updater(baseGet(object, path)), customizer);
- }
+"use strict";
- /**
- * The base implementation of methods like `_.dropWhile` and `_.takeWhile`
- * without support for iteratee shorthands.
- *
- * @private
- * @param {Array} array The array to query.
- * @param {Function} predicate The function invoked per iteration.
- * @param {boolean} [isDrop] Specify dropping elements instead of taking them.
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {Array} Returns the slice of `array`.
- */
- function baseWhile(array, predicate, isDrop, fromRight) {
- var length = array.length,
- index = fromRight ? length : -1;
- while ((fromRight ? index-- : ++index < length) &&
- predicate(array[index], index, array)) {}
+/** @type {import('.')} */
+var $gOPD = __nccwpck_require__(1174);
- return isDrop
- ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))
- : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));
- }
+if ($gOPD) {
+ try {
+ $gOPD([], 'length');
+ } catch (e) {
+ // IE 8 has a broken gOPD
+ $gOPD = null;
+ }
+}
- /**
- * The base implementation of `wrapperValue` which returns the result of
- * performing a sequence of actions on the unwrapped `value`, where each
- * successive action is supplied the return value of the previous.
- *
- * @private
- * @param {*} value The unwrapped value.
- * @param {Array} actions Actions to perform to resolve the unwrapped value.
- * @returns {*} Returns the resolved value.
- */
- function baseWrapperValue(value, actions) {
- var result = value;
- if (result instanceof LazyWrapper) {
- result = result.value();
- }
- return arrayReduce(actions, function(result, action) {
- return action.func.apply(action.thisArg, arrayPush([result], action.args));
- }, result);
- }
+module.exports = $gOPD;
- /**
- * The base implementation of methods like `_.xor`, without support for
- * iteratee shorthands, that accepts an array of arrays to inspect.
- *
- * @private
- * @param {Array} arrays The arrays to inspect.
- * @param {Function} [iteratee] The iteratee invoked per element.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new array of values.
- */
- function baseXor(arrays, iteratee, comparator) {
- var length = arrays.length;
- if (length < 2) {
- return length ? baseUniq(arrays[0]) : [];
- }
- var index = -1,
- result = Array(length);
- while (++index < length) {
- var array = arrays[index],
- othIndex = -1;
+/***/ }),
- while (++othIndex < length) {
- if (othIndex != index) {
- result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);
- }
- }
- }
- return baseUniq(baseFlatten(result, 1), iteratee, comparator);
- }
+/***/ 83813:
+/***/ ((module) => {
- /**
- * This base implementation of `_.zipObject` which assigns values using `assignFunc`.
- *
- * @private
- * @param {Array} props The property identifiers.
- * @param {Array} values The property values.
- * @param {Function} assignFunc The function to assign values.
- * @returns {Object} Returns the new object.
- */
- function baseZipObject(props, values, assignFunc) {
- var index = -1,
- length = props.length,
- valsLength = values.length,
- result = {};
+"use strict";
- while (++index < length) {
- var value = index < valsLength ? values[index] : undefined;
- assignFunc(result, props[index], value);
- }
- return result;
- }
- /**
- * Casts `value` to an empty array if it's not an array like object.
- *
- * @private
- * @param {*} value The value to inspect.
- * @returns {Array|Object} Returns the cast array-like object.
- */
- function castArrayLikeObject(value) {
- return isArrayLikeObject(value) ? value : [];
- }
+module.exports = (flag, argv = process.argv) => {
+ const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
+ const position = argv.indexOf(prefix + flag);
+ const terminatorPosition = argv.indexOf('--');
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
+};
- /**
- * Casts `value` to `identity` if it's not a function.
- *
- * @private
- * @param {*} value The value to inspect.
- * @returns {Function} Returns cast function.
- */
- function castFunction(value) {
- return typeof value == 'function' ? value : identity;
- }
- /**
- * Casts `value` to a path array if it's not one.
- *
- * @private
- * @param {*} value The value to inspect.
- * @param {Object} [object] The object to query keys on.
- * @returns {Array} Returns the cast property path array.
- */
- function castPath(value, object) {
- if (isArray(value)) {
- return value;
- }
- return isKey(value, object) ? [value] : stringToPath(toString(value));
- }
+/***/ }),
- /**
- * A `baseRest` alias which can be replaced with `identity` by module
- * replacement plugins.
- *
- * @private
- * @type {Function}
- * @param {Function} func The function to apply a rest parameter to.
- * @returns {Function} Returns the new function.
- */
- var castRest = baseRest;
+/***/ 23336:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * Casts `array` to a slice if it's needed.
- *
- * @private
- * @param {Array} array The array to inspect.
- * @param {number} start The start position.
- * @param {number} [end=array.length] The end position.
- * @returns {Array} Returns the cast slice.
- */
- function castSlice(array, start, end) {
- var length = array.length;
- end = end === undefined ? length : end;
- return (!start && end >= length) ? array : baseSlice(array, start, end);
- }
+"use strict";
- /**
- * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).
- *
- * @private
- * @param {number|Object} id The timer id or timeout object of the timer to clear.
- */
- var clearTimeout = ctxClearTimeout || function(id) {
- return root.clearTimeout(id);
- };
- /**
- * Creates a clone of `buffer`.
- *
- * @private
- * @param {Buffer} buffer The buffer to clone.
- * @param {boolean} [isDeep] Specify a deep clone.
- * @returns {Buffer} Returns the cloned buffer.
- */
- function cloneBuffer(buffer, isDeep) {
- if (isDeep) {
- return buffer.slice();
- }
- var length = buffer.length,
- result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
+var origSymbol = typeof Symbol !== 'undefined' && Symbol;
+var hasSymbolSham = __nccwpck_require__(61114);
- buffer.copy(result);
- return result;
- }
+/** @type {import('.')} */
+module.exports = function hasNativeSymbols() {
+ if (typeof origSymbol !== 'function') { return false; }
+ if (typeof Symbol !== 'function') { return false; }
+ if (typeof origSymbol('foo') !== 'symbol') { return false; }
+ if (typeof Symbol('bar') !== 'symbol') { return false; }
- /**
- * Creates a clone of `arrayBuffer`.
- *
- * @private
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
- * @returns {ArrayBuffer} Returns the cloned array buffer.
- */
- function cloneArrayBuffer(arrayBuffer) {
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
- return result;
- }
+ return hasSymbolSham();
+};
- /**
- * Creates a clone of `dataView`.
- *
- * @private
- * @param {Object} dataView The data view to clone.
- * @param {boolean} [isDeep] Specify a deep clone.
- * @returns {Object} Returns the cloned data view.
- */
- function cloneDataView(dataView, isDeep) {
- var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
- }
- /**
- * Creates a clone of `regexp`.
- *
- * @private
- * @param {Object} regexp The regexp to clone.
- * @returns {Object} Returns the cloned regexp.
- */
- function cloneRegExp(regexp) {
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
- result.lastIndex = regexp.lastIndex;
- return result;
- }
+/***/ }),
- /**
- * Creates a clone of the `symbol` object.
- *
- * @private
- * @param {Object} symbol The symbol object to clone.
- * @returns {Object} Returns the cloned symbol object.
- */
- function cloneSymbol(symbol) {
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
- }
+/***/ 61114:
+/***/ ((module) => {
- /**
- * Creates a clone of `typedArray`.
- *
- * @private
- * @param {Object} typedArray The typed array to clone.
- * @param {boolean} [isDeep] Specify a deep clone.
- * @returns {Object} Returns the cloned typed array.
- */
- function cloneTypedArray(typedArray, isDeep) {
- var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
- }
+"use strict";
- /**
- * Compares values to sort them in ascending order.
- *
- * @private
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {number} Returns the sort order indicator for `value`.
- */
- function compareAscending(value, other) {
- if (value !== other) {
- var valIsDefined = value !== undefined,
- valIsNull = value === null,
- valIsReflexive = value === value,
- valIsSymbol = isSymbol(value);
- var othIsDefined = other !== undefined,
- othIsNull = other === null,
- othIsReflexive = other === other,
- othIsSymbol = isSymbol(other);
+/** @type {import('./shams')} */
+/* eslint complexity: [2, 18], max-statements: [2, 33] */
+module.exports = function hasSymbols() {
+ if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
+ if (typeof Symbol.iterator === 'symbol') { return true; }
- if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||
- (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||
- (valIsNull && othIsDefined && othIsReflexive) ||
- (!valIsDefined && othIsReflexive) ||
- !valIsReflexive) {
- return 1;
- }
- if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||
- (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||
- (othIsNull && valIsDefined && valIsReflexive) ||
- (!othIsDefined && valIsReflexive) ||
- !othIsReflexive) {
- return -1;
- }
- }
- return 0;
- }
+ /** @type {{ [k in symbol]?: unknown }} */
+ var obj = {};
+ var sym = Symbol('test');
+ var symObj = Object(sym);
+ if (typeof sym === 'string') { return false; }
- /**
- * Used by `_.orderBy` to compare multiple properties of a value to another
- * and stable sort them.
- *
- * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
- * specify an order of "desc" for descending or "asc" for ascending sort order
- * of corresponding values.
- *
- * @private
- * @param {Object} object The object to compare.
- * @param {Object} other The other object to compare.
- * @param {boolean[]|string[]} orders The order to sort by for each property.
- * @returns {number} Returns the sort order indicator for `object`.
- */
- function compareMultiple(object, other, orders) {
- var index = -1,
- objCriteria = object.criteria,
- othCriteria = other.criteria,
- length = objCriteria.length,
- ordersLength = orders.length;
+ if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
+ if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
- while (++index < length) {
- var result = compareAscending(objCriteria[index], othCriteria[index]);
- if (result) {
- if (index >= ordersLength) {
- return result;
- }
- var order = orders[index];
- return result * (order == 'desc' ? -1 : 1);
- }
- }
- // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications
- // that causes it, under certain circumstances, to provide the same value for
- // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247
- // for more details.
- //
- // This also ensures a stable sort in V8 and other engines.
- // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.
- return object.index - other.index;
- }
+ // temp disabled per https://github.com/ljharb/object.assign/issues/17
+ // if (sym instanceof Symbol) { return false; }
+ // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
+ // if (!(symObj instanceof Symbol)) { return false; }
- /**
- * Creates an array that is the composition of partially applied arguments,
- * placeholders, and provided arguments into a single array of arguments.
- *
- * @private
- * @param {Array} args The provided arguments.
- * @param {Array} partials The arguments to prepend to those provided.
- * @param {Array} holders The `partials` placeholder indexes.
- * @params {boolean} [isCurried] Specify composing for a curried function.
- * @returns {Array} Returns the new array of composed arguments.
- */
- function composeArgs(args, partials, holders, isCurried) {
- var argsIndex = -1,
- argsLength = args.length,
- holdersLength = holders.length,
- leftIndex = -1,
- leftLength = partials.length,
- rangeLength = nativeMax(argsLength - holdersLength, 0),
- result = Array(leftLength + rangeLength),
- isUncurried = !isCurried;
+ // if (typeof Symbol.prototype.toString !== 'function') { return false; }
+ // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
- while (++leftIndex < leftLength) {
- result[leftIndex] = partials[leftIndex];
- }
- while (++argsIndex < holdersLength) {
- if (isUncurried || argsIndex < argsLength) {
- result[holders[argsIndex]] = args[argsIndex];
- }
- }
- while (rangeLength--) {
- result[leftIndex++] = args[argsIndex++];
- }
- return result;
- }
+ var symVal = 42;
+ obj[sym] = symVal;
+ for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
+ if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
- /**
- * This function is like `composeArgs` except that the arguments composition
- * is tailored for `_.partialRight`.
- *
- * @private
- * @param {Array} args The provided arguments.
- * @param {Array} partials The arguments to append to those provided.
- * @param {Array} holders The `partials` placeholder indexes.
- * @params {boolean} [isCurried] Specify composing for a curried function.
- * @returns {Array} Returns the new array of composed arguments.
- */
- function composeArgsRight(args, partials, holders, isCurried) {
- var argsIndex = -1,
- argsLength = args.length,
- holdersIndex = -1,
- holdersLength = holders.length,
- rightIndex = -1,
- rightLength = partials.length,
- rangeLength = nativeMax(argsLength - holdersLength, 0),
- result = Array(rangeLength + rightLength),
- isUncurried = !isCurried;
+ if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
- while (++argsIndex < rangeLength) {
- result[argsIndex] = args[argsIndex];
- }
- var offset = argsIndex;
- while (++rightIndex < rightLength) {
- result[offset + rightIndex] = partials[rightIndex];
- }
- while (++holdersIndex < holdersLength) {
- if (isUncurried || argsIndex < argsLength) {
- result[offset + holders[holdersIndex]] = args[argsIndex++];
- }
- }
- return result;
- }
+ var syms = Object.getOwnPropertySymbols(obj);
+ if (syms.length !== 1 || syms[0] !== sym) { return false; }
- /**
- * Copies the values of `source` to `array`.
- *
- * @private
- * @param {Array} source The array to copy values from.
- * @param {Array} [array=[]] The array to copy values to.
- * @returns {Array} Returns `array`.
- */
- function copyArray(source, array) {
- var index = -1,
- length = source.length;
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
- array || (array = Array(length));
- while (++index < length) {
- array[index] = source[index];
- }
- return array;
- }
+ if (typeof Object.getOwnPropertyDescriptor === 'function') {
+ // eslint-disable-next-line no-extra-parens
+ var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
+ }
- /**
- * Copies properties of `source` to `object`.
- *
- * @private
- * @param {Object} source The object to copy properties from.
- * @param {Array} props The property identifiers to copy.
- * @param {Object} [object={}] The object to copy properties to.
- * @param {Function} [customizer] The function to customize copied values.
- * @returns {Object} Returns `object`.
- */
- function copyObject(source, props, object, customizer) {
- var isNew = !object;
- object || (object = {});
+ return true;
+};
- var index = -1,
- length = props.length;
- while (++index < length) {
- var key = props[index];
+/***/ }),
- var newValue = customizer
- ? customizer(object[key], source[key], key, object, source)
- : undefined;
+/***/ 85479:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- if (newValue === undefined) {
- newValue = source[key];
- }
- if (isNew) {
- baseAssignValue(object, key, newValue);
- } else {
- assignValue(object, key, newValue);
- }
- }
- return object;
- }
+"use strict";
- /**
- * Copies own symbols of `source` to `object`.
- *
- * @private
- * @param {Object} source The object to copy symbols from.
- * @param {Object} [object={}] The object to copy symbols to.
- * @returns {Object} Returns `object`.
- */
- function copySymbols(source, object) {
- return copyObject(source, getSymbols(source), object);
- }
- /**
- * Copies own and inherited symbols of `source` to `object`.
- *
- * @private
- * @param {Object} source The object to copy symbols from.
- * @param {Object} [object={}] The object to copy symbols to.
- * @returns {Object} Returns `object`.
- */
- function copySymbolsIn(source, object) {
- return copyObject(source, getSymbolsIn(source), object);
- }
+var hasSymbols = __nccwpck_require__(61114);
- /**
- * Creates a function like `_.groupBy`.
- *
- * @private
- * @param {Function} setter The function to set accumulator values.
- * @param {Function} [initializer] The accumulator object initializer.
- * @returns {Function} Returns the new aggregator function.
- */
- function createAggregator(setter, initializer) {
- return function(collection, iteratee) {
- var func = isArray(collection) ? arrayAggregator : baseAggregator,
- accumulator = initializer ? initializer() : {};
+/** @type {import('.')} */
+module.exports = function hasToStringTagShams() {
+ return hasSymbols() && !!Symbol.toStringTag;
+};
- return func(collection, setter, getIteratee(iteratee, 2), accumulator);
- };
- }
- /**
- * Creates a function like `_.assign`.
- *
- * @private
- * @param {Function} assigner The function to assign values.
- * @returns {Function} Returns the new assigner function.
- */
- function createAssigner(assigner) {
- return baseRest(function(object, sources) {
- var index = -1,
- length = sources.length,
- customizer = length > 1 ? sources[length - 1] : undefined,
- guard = length > 2 ? sources[2] : undefined;
+/***/ }),
- customizer = (assigner.length > 3 && typeof customizer == 'function')
- ? (length--, customizer)
- : undefined;
+/***/ 54076:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- if (guard && isIterateeCall(sources[0], sources[1], guard)) {
- customizer = length < 3 ? undefined : customizer;
- length = 1;
- }
- object = Object(object);
- while (++index < length) {
- var source = sources[index];
- if (source) {
- assigner(object, source, index, customizer);
- }
- }
- return object;
- });
- }
+"use strict";
- /**
- * Creates a `baseEach` or `baseEachRight` function.
- *
- * @private
- * @param {Function} eachFunc The function to iterate over a collection.
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {Function} Returns the new base function.
- */
- function createBaseEach(eachFunc, fromRight) {
- return function(collection, iteratee) {
- if (collection == null) {
- return collection;
- }
- if (!isArrayLike(collection)) {
- return eachFunc(collection, iteratee);
- }
- var length = collection.length,
- index = fromRight ? length : -1,
- iterable = Object(collection);
- while ((fromRight ? index-- : ++index < length)) {
- if (iteratee(iterable[index], index, iterable) === false) {
- break;
- }
- }
- return collection;
- };
- }
+var call = Function.prototype.call;
+var $hasOwn = Object.prototype.hasOwnProperty;
+var bind = __nccwpck_require__(37564);
- /**
- * Creates a base function for methods like `_.forIn` and `_.forOwn`.
- *
- * @private
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {Function} Returns the new base function.
- */
- function createBaseFor(fromRight) {
- return function(object, iteratee, keysFunc) {
- var index = -1,
- iterable = Object(object),
- props = keysFunc(object),
- length = props.length;
+/** @type {import('.')} */
+module.exports = bind.call(call, $hasOwn);
- while (length--) {
- var key = props[fromRight ? length : ++index];
- if (iteratee(iterable[key], key, iterable) === false) {
- break;
- }
- }
- return object;
- };
- }
- /**
- * Creates a function that wraps `func` to invoke it with the optional `this`
- * binding of `thisArg`.
- *
- * @private
- * @param {Function} func The function to wrap.
- * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
- * @param {*} [thisArg] The `this` binding of `func`.
- * @returns {Function} Returns the new wrapped function.
- */
- function createBind(func, bitmask, thisArg) {
- var isBind = bitmask & WRAP_BIND_FLAG,
- Ctor = createCtor(func);
+/***/ }),
- function wrapper() {
- var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
- return fn.apply(isBind ? thisArg : this, arguments);
- }
- return wrapper;
- }
+/***/ 93407:
+/***/ ((__unused_webpack_module, exports) => {
- /**
- * Creates a function like `_.lowerFirst`.
- *
- * @private
- * @param {string} methodName The name of the `String` case method to use.
- * @returns {Function} Returns the new case function.
- */
- function createCaseFirst(methodName) {
- return function(string) {
- string = toString(string);
+"use strict";
- var strSymbols = hasUnicode(string)
- ? stringToArray(string)
- : undefined;
- var chr = strSymbols
- ? strSymbols[0]
- : string.charAt(0);
+Object.defineProperty(exports, "__esModule", ({ value: true }));
- var trailing = strSymbols
- ? castSlice(strSymbols, 1).join('')
- : string.slice(1);
+/*!
+ * is-plain-object
+ *
+ * Copyright (c) 2014-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
- return chr[methodName]() + trailing;
- };
- }
+function isObject(o) {
+ return Object.prototype.toString.call(o) === '[object Object]';
+}
- /**
- * Creates a function like `_.camelCase`.
- *
- * @private
- * @param {Function} callback The function to combine each word.
- * @returns {Function} Returns the new compounder function.
- */
- function createCompounder(callback) {
- return function(string) {
- return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
- };
- }
+function isPlainObject(o) {
+ var ctor,prot;
- /**
- * Creates a function that produces an instance of `Ctor` regardless of
- * whether it was invoked as part of a `new` expression or by `call` or `apply`.
- *
- * @private
- * @param {Function} Ctor The constructor to wrap.
- * @returns {Function} Returns the new wrapped function.
- */
- function createCtor(Ctor) {
- return function() {
- // Use a `switch` statement to work with class constructors. See
- // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist
- // for more details.
- var args = arguments;
- switch (args.length) {
- case 0: return new Ctor;
- case 1: return new Ctor(args[0]);
- case 2: return new Ctor(args[0], args[1]);
- case 3: return new Ctor(args[0], args[1], args[2]);
- case 4: return new Ctor(args[0], args[1], args[2], args[3]);
- case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);
- case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
- case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
- }
- var thisBinding = baseCreate(Ctor.prototype),
- result = Ctor.apply(thisBinding, args);
-
- // Mimic the constructor's `return` behavior.
- // See https://es5.github.io/#x13.2.2 for more details.
- return isObject(result) ? result : thisBinding;
- };
- }
-
- /**
- * Creates a function that wraps `func` to enable currying.
- *
- * @private
- * @param {Function} func The function to wrap.
- * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
- * @param {number} arity The arity of `func`.
- * @returns {Function} Returns the new wrapped function.
- */
- function createCurry(func, bitmask, arity) {
- var Ctor = createCtor(func);
-
- function wrapper() {
- var length = arguments.length,
- args = Array(length),
- index = length,
- placeholder = getHolder(wrapper);
-
- while (index--) {
- args[index] = arguments[index];
- }
- var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)
- ? []
- : replaceHolders(args, placeholder);
-
- length -= holders.length;
- if (length < arity) {
- return createRecurry(
- func, bitmask, createHybrid, wrapper.placeholder, undefined,
- args, holders, undefined, undefined, arity - length);
- }
- var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
- return apply(fn, this, args);
- }
- return wrapper;
- }
-
- /**
- * Creates a `_.find` or `_.findLast` function.
- *
- * @private
- * @param {Function} findIndexFunc The function to find the collection index.
- * @returns {Function} Returns the new find function.
- */
- function createFind(findIndexFunc) {
- return function(collection, predicate, fromIndex) {
- var iterable = Object(collection);
- if (!isArrayLike(collection)) {
- var iteratee = getIteratee(predicate, 3);
- collection = keys(collection);
- predicate = function(key) { return iteratee(iterable[key], key, iterable); };
- }
- var index = findIndexFunc(collection, predicate, fromIndex);
- return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;
- };
- }
+ if (isObject(o) === false) return false;
- /**
- * Creates a `_.flow` or `_.flowRight` function.
- *
- * @private
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {Function} Returns the new flow function.
- */
- function createFlow(fromRight) {
- return flatRest(function(funcs) {
- var length = funcs.length,
- index = length,
- prereq = LodashWrapper.prototype.thru;
+ // If has modified constructor
+ ctor = o.constructor;
+ if (ctor === undefined) return true;
- if (fromRight) {
- funcs.reverse();
- }
- while (index--) {
- var func = funcs[index];
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- if (prereq && !wrapper && getFuncName(func) == 'wrapper') {
- var wrapper = new LodashWrapper([], true);
- }
- }
- index = wrapper ? index : length;
- while (++index < length) {
- func = funcs[index];
+ // If has modified prototype
+ prot = ctor.prototype;
+ if (isObject(prot) === false) return false;
- var funcName = getFuncName(func),
- data = funcName == 'wrapper' ? getData(func) : undefined;
+ // If constructor does not have an Object-specific method
+ if (prot.hasOwnProperty('isPrototypeOf') === false) {
+ return false;
+ }
- if (data && isLaziable(data[0]) &&
- data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&
- !data[4].length && data[9] == 1
- ) {
- wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);
- } else {
- wrapper = (func.length == 1 && isLaziable(func))
- ? wrapper[funcName]()
- : wrapper.thru(func);
- }
- }
- return function() {
- var args = arguments,
- value = args[0];
+ // Most likely a plain Object
+ return true;
+}
- if (wrapper && args.length == 1 && isArray(value)) {
- return wrapper.plant(value).value();
- }
- var index = 0,
- result = length ? funcs[index].apply(this, args) : value;
+exports.isPlainObject = isPlainObject;
- while (++index < length) {
- result = funcs[index].call(this, result);
- }
- return result;
- };
- });
- }
- /**
- * Creates a function that wraps `func` to invoke it with optional `this`
- * binding of `thisArg`, partial application, and currying.
- *
- * @private
- * @param {Function|string} func The function or method name to wrap.
- * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
- * @param {*} [thisArg] The `this` binding of `func`.
- * @param {Array} [partials] The arguments to prepend to those provided to
- * the new function.
- * @param {Array} [holders] The `partials` placeholder indexes.
- * @param {Array} [partialsRight] The arguments to append to those provided
- * to the new function.
- * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.
- * @param {Array} [argPos] The argument positions of the new function.
- * @param {number} [ary] The arity cap of `func`.
- * @param {number} [arity] The arity of `func`.
- * @returns {Function} Returns the new wrapped function.
- */
- function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {
- var isAry = bitmask & WRAP_ARY_FLAG,
- isBind = bitmask & WRAP_BIND_FLAG,
- isBindKey = bitmask & WRAP_BIND_KEY_FLAG,
- isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),
- isFlip = bitmask & WRAP_FLIP_FLAG,
- Ctor = isBindKey ? undefined : createCtor(func);
+/***/ }),
- function wrapper() {
- var length = arguments.length,
- args = Array(length),
- index = length;
+/***/ 7598:
+/***/ ((__unused_webpack_module, exports) => {
- while (index--) {
- args[index] = arguments[index];
- }
- if (isCurried) {
- var placeholder = getHolder(wrapper),
- holdersCount = countHolders(args, placeholder);
- }
- if (partials) {
- args = composeArgs(args, partials, holders, isCurried);
- }
- if (partialsRight) {
- args = composeArgsRight(args, partialsRight, holdersRight, isCurried);
- }
- length -= holdersCount;
- if (isCurried && length < arity) {
- var newHolders = replaceHolders(args, placeholder);
- return createRecurry(
- func, bitmask, createHybrid, wrapper.placeholder, thisArg,
- args, newHolders, argPos, ary, arity - length
- );
- }
- var thisBinding = isBind ? thisArg : this,
- fn = isBindKey ? thisBinding[func] : func;
+(function(exports) {
+ "use strict";
- length = args.length;
- if (argPos) {
- args = reorder(args, argPos);
- } else if (isFlip && length > 1) {
- args.reverse();
- }
- if (isAry && ary < length) {
- args.length = ary;
- }
- if (this && this !== root && this instanceof wrapper) {
- fn = Ctor || createCtor(fn);
- }
- return fn.apply(thisBinding, args);
- }
- return wrapper;
+ function isArray(obj) {
+ if (obj !== null) {
+ return Object.prototype.toString.call(obj) === "[object Array]";
+ } else {
+ return false;
}
+ }
- /**
- * Creates a function like `_.invertBy`.
- *
- * @private
- * @param {Function} setter The function to set accumulator values.
- * @param {Function} toIteratee The function to resolve iteratees.
- * @returns {Function} Returns the new inverter function.
- */
- function createInverter(setter, toIteratee) {
- return function(object, iteratee) {
- return baseInverter(object, setter, toIteratee(iteratee), {});
- };
+ function isObject(obj) {
+ if (obj !== null) {
+ return Object.prototype.toString.call(obj) === "[object Object]";
+ } else {
+ return false;
}
+ }
- /**
- * Creates a function that performs a mathematical operation on two values.
- *
- * @private
- * @param {Function} operator The function to perform the operation.
- * @param {number} [defaultValue] The value used for `undefined` arguments.
- * @returns {Function} Returns the new mathematical operation function.
- */
- function createMathOperation(operator, defaultValue) {
- return function(value, other) {
- var result;
- if (value === undefined && other === undefined) {
- return defaultValue;
- }
- if (value !== undefined) {
- result = value;
- }
- if (other !== undefined) {
- if (result === undefined) {
- return other;
- }
- if (typeof value == 'string' || typeof other == 'string') {
- value = baseToString(value);
- other = baseToString(other);
- } else {
- value = baseToNumber(value);
- other = baseToNumber(other);
- }
- result = operator(value, other);
- }
- return result;
- };
+ function strictDeepEqual(first, second) {
+ // Check the scalar case first.
+ if (first === second) {
+ return true;
}
- /**
- * Creates a function like `_.over`.
- *
- * @private
- * @param {Function} arrayFunc The function to iterate over iteratees.
- * @returns {Function} Returns the new over function.
- */
- function createOver(arrayFunc) {
- return flatRest(function(iteratees) {
- iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
- return baseRest(function(args) {
- var thisArg = this;
- return arrayFunc(iteratees, function(iteratee) {
- return apply(iteratee, thisArg, args);
- });
- });
- });
+ // Check if they are the same type.
+ var firstType = Object.prototype.toString.call(first);
+ if (firstType !== Object.prototype.toString.call(second)) {
+ return false;
}
-
- /**
- * Creates the padding for `string` based on `length`. The `chars` string
- * is truncated if the number of characters exceeds `length`.
- *
- * @private
- * @param {number} length The padding length.
- * @param {string} [chars=' '] The string used as padding.
- * @returns {string} Returns the padding for `string`.
- */
- function createPadding(length, chars) {
- chars = chars === undefined ? ' ' : baseToString(chars);
-
- var charsLength = chars.length;
- if (charsLength < 2) {
- return charsLength ? baseRepeat(chars, length) : chars;
+ // We know that first and second have the same type so we can just check the
+ // first type from now on.
+ if (isArray(first) === true) {
+ // Short circuit if they're not the same length;
+ if (first.length !== second.length) {
+ return false;
}
- var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
- return hasUnicode(chars)
- ? castSlice(stringToArray(result), 0, length).join('')
- : result.slice(0, length);
- }
-
- /**
- * Creates a function that wraps `func` to invoke it with the `this` binding
- * of `thisArg` and `partials` prepended to the arguments it receives.
- *
- * @private
- * @param {Function} func The function to wrap.
- * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
- * @param {*} thisArg The `this` binding of `func`.
- * @param {Array} partials The arguments to prepend to those provided to
- * the new function.
- * @returns {Function} Returns the new wrapped function.
- */
- function createPartial(func, bitmask, thisArg, partials) {
- var isBind = bitmask & WRAP_BIND_FLAG,
- Ctor = createCtor(func);
-
- function wrapper() {
- var argsIndex = -1,
- argsLength = arguments.length,
- leftIndex = -1,
- leftLength = partials.length,
- args = Array(leftLength + argsLength),
- fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
-
- while (++leftIndex < leftLength) {
- args[leftIndex] = partials[leftIndex];
- }
- while (argsLength--) {
- args[leftIndex++] = arguments[++argsIndex];
+ for (var i = 0; i < first.length; i++) {
+ if (strictDeepEqual(first[i], second[i]) === false) {
+ return false;
}
- return apply(fn, isBind ? thisArg : this, args);
}
- return wrapper;
+ return true;
}
-
- /**
- * Creates a `_.range` or `_.rangeRight` function.
- *
- * @private
- * @param {boolean} [fromRight] Specify iterating from right to left.
- * @returns {Function} Returns the new range function.
- */
- function createRange(fromRight) {
- return function(start, end, step) {
- if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {
- end = step = undefined;
+ if (isObject(first) === true) {
+ // An object is equal if it has the same key/value pairs.
+ var keysSeen = {};
+ for (var key in first) {
+ if (hasOwnProperty.call(first, key)) {
+ if (strictDeepEqual(first[key], second[key]) === false) {
+ return false;
+ }
+ keysSeen[key] = true;
}
- // Ensure the sign of `-0` is preserved.
- start = toFinite(start);
- if (end === undefined) {
- end = start;
- start = 0;
- } else {
- end = toFinite(end);
+ }
+ // Now check that there aren't any keys in second that weren't
+ // in first.
+ for (var key2 in second) {
+ if (hasOwnProperty.call(second, key2)) {
+ if (keysSeen[key2] !== true) {
+ return false;
+ }
}
- step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);
- return baseRange(start, end, step, fromRight);
- };
+ }
+ return true;
}
+ return false;
+ }
- /**
- * Creates a function that performs a relational operation on two values.
- *
- * @private
- * @param {Function} operator The function to perform the operation.
- * @returns {Function} Returns the new relational operation function.
- */
- function createRelationalOperation(operator) {
- return function(value, other) {
- if (!(typeof value == 'string' && typeof other == 'string')) {
- value = toNumber(value);
- other = toNumber(other);
+ function isFalse(obj) {
+ // From the spec:
+ // A false value corresponds to the following values:
+ // Empty list
+ // Empty object
+ // Empty string
+ // False boolean
+ // null value
+
+ // First check the scalar values.
+ if (obj === "" || obj === false || obj === null) {
+ return true;
+ } else if (isArray(obj) && obj.length === 0) {
+ // Check for an empty array.
+ return true;
+ } else if (isObject(obj)) {
+ // Check for an empty object.
+ for (var key in obj) {
+ // If there are any keys, then
+ // the object is not empty so the object
+ // is not false.
+ if (obj.hasOwnProperty(key)) {
+ return false;
+ }
}
- return operator(value, other);
- };
+ return true;
+ } else {
+ return false;
}
+ }
- /**
- * Creates a function that wraps `func` to continue currying.
- *
- * @private
- * @param {Function} func The function to wrap.
- * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
- * @param {Function} wrapFunc The function to create the `func` wrapper.
- * @param {*} placeholder The placeholder value.
- * @param {*} [thisArg] The `this` binding of `func`.
- * @param {Array} [partials] The arguments to prepend to those provided to
- * the new function.
- * @param {Array} [holders] The `partials` placeholder indexes.
- * @param {Array} [argPos] The argument positions of the new function.
- * @param {number} [ary] The arity cap of `func`.
- * @param {number} [arity] The arity of `func`.
- * @returns {Function} Returns the new wrapped function.
- */
- function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {
- var isCurry = bitmask & WRAP_CURRY_FLAG,
- newHolders = isCurry ? holders : undefined,
- newHoldersRight = isCurry ? undefined : holders,
- newPartials = isCurry ? partials : undefined,
- newPartialsRight = isCurry ? undefined : partials;
-
- bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);
- bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);
+ function objValues(obj) {
+ var keys = Object.keys(obj);
+ var values = [];
+ for (var i = 0; i < keys.length; i++) {
+ values.push(obj[keys[i]]);
+ }
+ return values;
+ }
- if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {
- bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);
+ function merge(a, b) {
+ var merged = {};
+ for (var key in a) {
+ merged[key] = a[key];
}
- var newData = [
- func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,
- newHoldersRight, argPos, ary, arity
- ];
-
- var result = wrapFunc.apply(undefined, newData);
- if (isLaziable(func)) {
- setData(result, newData);
+ for (var key2 in b) {
+ merged[key2] = b[key2];
}
- result.placeholder = placeholder;
- return setWrapToString(result, func, bitmask);
- }
-
- /**
- * Creates a function like `_.round`.
- *
- * @private
- * @param {string} methodName The name of the `Math` method to use when rounding.
- * @returns {Function} Returns the new round function.
- */
- function createRound(methodName) {
- var func = Math[methodName];
- return function(number, precision) {
- number = toNumber(number);
- precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);
- if (precision && nativeIsFinite(number)) {
- // Shift with exponential notation to avoid floating-point issues.
- // See [MDN](https://mdn.io/round#Examples) for more details.
- var pair = (toString(number) + 'e').split('e'),
- value = func(pair[0] + 'e' + (+pair[1] + precision));
+ return merged;
+ }
- pair = (toString(value) + 'e').split('e');
- return +(pair[0] + 'e' + (+pair[1] - precision));
- }
- return func(number);
- };
- }
-
- /**
- * Creates a set object of `values`.
- *
- * @private
- * @param {Array} values The values to add to the set.
- * @returns {Object} Returns the new set.
- */
- var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {
- return new Set(values);
+ var trimLeft;
+ if (typeof String.prototype.trimLeft === "function") {
+ trimLeft = function(str) {
+ return str.trimLeft();
};
+ } else {
+ trimLeft = function(str) {
+ return str.match(/^\s*(.*)/)[1];
+ };
+ }
- /**
- * Creates a `_.toPairs` or `_.toPairsIn` function.
- *
- * @private
- * @param {Function} keysFunc The function to get the keys of a given object.
- * @returns {Function} Returns the new pairs function.
- */
- function createToPairs(keysFunc) {
- return function(object) {
- var tag = getTag(object);
- if (tag == mapTag) {
- return mapToArray(object);
- }
- if (tag == setTag) {
- return setToPairs(object);
- }
- return baseToPairs(object, keysFunc(object));
- };
- }
-
- /**
- * Creates a function that either curries or invokes `func` with optional
- * `this` binding and partially applied arguments.
- *
- * @private
- * @param {Function|string} func The function or method name to wrap.
- * @param {number} bitmask The bitmask flags.
- * 1 - `_.bind`
- * 2 - `_.bindKey`
- * 4 - `_.curry` or `_.curryRight` of a bound function
- * 8 - `_.curry`
- * 16 - `_.curryRight`
- * 32 - `_.partial`
- * 64 - `_.partialRight`
- * 128 - `_.rearg`
- * 256 - `_.ary`
- * 512 - `_.flip`
- * @param {*} [thisArg] The `this` binding of `func`.
- * @param {Array} [partials] The arguments to be partially applied.
- * @param {Array} [holders] The `partials` placeholder indexes.
- * @param {Array} [argPos] The argument positions of the new function.
- * @param {number} [ary] The arity cap of `func`.
- * @param {number} [arity] The arity of `func`.
- * @returns {Function} Returns the new wrapped function.
- */
- function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
- var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;
- if (!isBindKey && typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- var length = partials ? partials.length : 0;
- if (!length) {
- bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
- partials = holders = undefined;
- }
- ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
- arity = arity === undefined ? arity : toInteger(arity);
- length -= holders ? holders.length : 0;
-
- if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {
- var partialsRight = partials,
- holdersRight = holders;
-
- partials = holders = undefined;
- }
- var data = isBindKey ? undefined : getData(func);
+ // Type constants used to define functions.
+ var TYPE_NUMBER = 0;
+ var TYPE_ANY = 1;
+ var TYPE_STRING = 2;
+ var TYPE_ARRAY = 3;
+ var TYPE_OBJECT = 4;
+ var TYPE_BOOLEAN = 5;
+ var TYPE_EXPREF = 6;
+ var TYPE_NULL = 7;
+ var TYPE_ARRAY_NUMBER = 8;
+ var TYPE_ARRAY_STRING = 9;
+ var TYPE_NAME_TABLE = {
+ 0: 'number',
+ 1: 'any',
+ 2: 'string',
+ 3: 'array',
+ 4: 'object',
+ 5: 'boolean',
+ 6: 'expression',
+ 7: 'null',
+ 8: 'Array',
+ 9: 'Array'
+ };
- var newData = [
- func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,
- argPos, ary, arity
- ];
+ var TOK_EOF = "EOF";
+ var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier";
+ var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier";
+ var TOK_RBRACKET = "Rbracket";
+ var TOK_RPAREN = "Rparen";
+ var TOK_COMMA = "Comma";
+ var TOK_COLON = "Colon";
+ var TOK_RBRACE = "Rbrace";
+ var TOK_NUMBER = "Number";
+ var TOK_CURRENT = "Current";
+ var TOK_EXPREF = "Expref";
+ var TOK_PIPE = "Pipe";
+ var TOK_OR = "Or";
+ var TOK_AND = "And";
+ var TOK_EQ = "EQ";
+ var TOK_GT = "GT";
+ var TOK_LT = "LT";
+ var TOK_GTE = "GTE";
+ var TOK_LTE = "LTE";
+ var TOK_NE = "NE";
+ var TOK_FLATTEN = "Flatten";
+ var TOK_STAR = "Star";
+ var TOK_FILTER = "Filter";
+ var TOK_DOT = "Dot";
+ var TOK_NOT = "Not";
+ var TOK_LBRACE = "Lbrace";
+ var TOK_LBRACKET = "Lbracket";
+ var TOK_LPAREN= "Lparen";
+ var TOK_LITERAL= "Literal";
- if (data) {
- mergeData(newData, data);
- }
- func = newData[0];
- bitmask = newData[1];
- thisArg = newData[2];
- partials = newData[3];
- holders = newData[4];
- arity = newData[9] = newData[9] === undefined
- ? (isBindKey ? 0 : func.length)
- : nativeMax(newData[9] - length, 0);
+ // The "&", "[", "<", ">" tokens
+ // are not in basicToken because
+ // there are two token variants
+ // ("&&", "[?", "<=", ">="). This is specially handled
+ // below.
- if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {
- bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);
- }
- if (!bitmask || bitmask == WRAP_BIND_FLAG) {
- var result = createBind(func, bitmask, thisArg);
- } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {
- result = createCurry(func, bitmask, arity);
- } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {
- result = createPartial(func, bitmask, thisArg, partials);
- } else {
- result = createHybrid.apply(undefined, newData);
- }
- var setter = data ? baseSetData : setData;
- return setWrapToString(setter(result, newData), func, bitmask);
- }
+ var basicTokens = {
+ ".": TOK_DOT,
+ "*": TOK_STAR,
+ ",": TOK_COMMA,
+ ":": TOK_COLON,
+ "{": TOK_LBRACE,
+ "}": TOK_RBRACE,
+ "]": TOK_RBRACKET,
+ "(": TOK_LPAREN,
+ ")": TOK_RPAREN,
+ "@": TOK_CURRENT
+ };
- /**
- * Used by `_.defaults` to customize its `_.assignIn` use to assign properties
- * of source objects to the destination object for all destination properties
- * that resolve to `undefined`.
- *
- * @private
- * @param {*} objValue The destination value.
- * @param {*} srcValue The source value.
- * @param {string} key The key of the property to assign.
- * @param {Object} object The parent object of `objValue`.
- * @returns {*} Returns the value to assign.
- */
- function customDefaultsAssignIn(objValue, srcValue, key, object) {
- if (objValue === undefined ||
- (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {
- return srcValue;
- }
- return objValue;
- }
+ var operatorStartToken = {
+ "<": true,
+ ">": true,
+ "=": true,
+ "!": true
+ };
- /**
- * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source
- * objects into destination objects that are passed thru.
- *
- * @private
- * @param {*} objValue The destination value.
- * @param {*} srcValue The source value.
- * @param {string} key The key of the property to merge.
- * @param {Object} object The parent object of `objValue`.
- * @param {Object} source The parent object of `srcValue`.
- * @param {Object} [stack] Tracks traversed source values and their merged
- * counterparts.
- * @returns {*} Returns the value to assign.
- */
- function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {
- if (isObject(objValue) && isObject(srcValue)) {
- // Recursively merge objects and arrays (susceptible to call stack limits).
- stack.set(srcValue, objValue);
- baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);
- stack['delete'](srcValue);
- }
- return objValue;
- }
+ var skipChars = {
+ " ": true,
+ "\t": true,
+ "\n": true
+ };
- /**
- * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
- * objects.
- *
- * @private
- * @param {*} value The value to inspect.
- * @param {string} key The key of the property to inspect.
- * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
- */
- function customOmitClone(value) {
- return isPlainObject(value) ? undefined : value;
- }
- /**
- * A specialized version of `baseIsEqualDeep` for arrays with support for
- * partial deep comparisons.
- *
- * @private
- * @param {Array} array The array to compare.
- * @param {Array} other The other array to compare.
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
- * @param {Function} customizer The function to customize comparisons.
- * @param {Function} equalFunc The function to determine equivalents of values.
- * @param {Object} stack Tracks traversed `array` and `other` objects.
- * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
- */
- function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
- arrLength = array.length,
- othLength = other.length;
+ function isAlpha(ch) {
+ return (ch >= "a" && ch <= "z") ||
+ (ch >= "A" && ch <= "Z") ||
+ ch === "_";
+ }
- if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
- return false;
- }
- // Check that cyclic values are equal.
- var arrStacked = stack.get(array);
- var othStacked = stack.get(other);
- if (arrStacked && othStacked) {
- return arrStacked == other && othStacked == array;
- }
- var index = -1,
- result = true,
- seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
+ function isNum(ch) {
+ return (ch >= "0" && ch <= "9") ||
+ ch === "-";
+ }
+ function isAlphaNum(ch) {
+ return (ch >= "a" && ch <= "z") ||
+ (ch >= "A" && ch <= "Z") ||
+ (ch >= "0" && ch <= "9") ||
+ ch === "_";
+ }
- stack.set(array, other);
- stack.set(other, array);
+ function Lexer() {
+ }
+ Lexer.prototype = {
+ tokenize: function(stream) {
+ var tokens = [];
+ this._current = 0;
+ var start;
+ var identifier;
+ var token;
+ while (this._current < stream.length) {
+ if (isAlpha(stream[this._current])) {
+ start = this._current;
+ identifier = this._consumeUnquotedIdentifier(stream);
+ tokens.push({type: TOK_UNQUOTEDIDENTIFIER,
+ value: identifier,
+ start: start});
+ } else if (basicTokens[stream[this._current]] !== undefined) {
+ tokens.push({type: basicTokens[stream[this._current]],
+ value: stream[this._current],
+ start: this._current});
+ this._current++;
+ } else if (isNum(stream[this._current])) {
+ token = this._consumeNumber(stream);
+ tokens.push(token);
+ } else if (stream[this._current] === "[") {
+ // No need to increment this._current. This happens
+ // in _consumeLBracket
+ token = this._consumeLBracket(stream);
+ tokens.push(token);
+ } else if (stream[this._current] === "\"") {
+ start = this._current;
+ identifier = this._consumeQuotedIdentifier(stream);
+ tokens.push({type: TOK_QUOTEDIDENTIFIER,
+ value: identifier,
+ start: start});
+ } else if (stream[this._current] === "'") {
+ start = this._current;
+ identifier = this._consumeRawStringLiteral(stream);
+ tokens.push({type: TOK_LITERAL,
+ value: identifier,
+ start: start});
+ } else if (stream[this._current] === "`") {
+ start = this._current;
+ var literal = this._consumeLiteral(stream);
+ tokens.push({type: TOK_LITERAL,
+ value: literal,
+ start: start});
+ } else if (operatorStartToken[stream[this._current]] !== undefined) {
+ tokens.push(this._consumeOperator(stream));
+ } else if (skipChars[stream[this._current]] !== undefined) {
+ // Ignore whitespace.
+ this._current++;
+ } else if (stream[this._current] === "&") {
+ start = this._current;
+ this._current++;
+ if (stream[this._current] === "&") {
+ this._current++;
+ tokens.push({type: TOK_AND, value: "&&", start: start});
+ } else {
+ tokens.push({type: TOK_EXPREF, value: "&", start: start});
+ }
+ } else if (stream[this._current] === "|") {
+ start = this._current;
+ this._current++;
+ if (stream[this._current] === "|") {
+ this._current++;
+ tokens.push({type: TOK_OR, value: "||", start: start});
+ } else {
+ tokens.push({type: TOK_PIPE, value: "|", start: start});
+ }
+ } else {
+ var error = new Error("Unknown character:" + stream[this._current]);
+ error.name = "LexerError";
+ throw error;
+ }
+ }
+ return tokens;
+ },
- // Ignore non-index properties.
- while (++index < arrLength) {
- var arrValue = array[index],
- othValue = other[index];
+ _consumeUnquotedIdentifier: function(stream) {
+ var start = this._current;
+ this._current++;
+ while (this._current < stream.length && isAlphaNum(stream[this._current])) {
+ this._current++;
+ }
+ return stream.slice(start, this._current);
+ },
- if (customizer) {
- var compared = isPartial
- ? customizer(othValue, arrValue, index, other, array, stack)
- : customizer(arrValue, othValue, index, array, other, stack);
- }
- if (compared !== undefined) {
- if (compared) {
- continue;
+ _consumeQuotedIdentifier: function(stream) {
+ var start = this._current;
+ this._current++;
+ var maxLength = stream.length;
+ while (stream[this._current] !== "\"" && this._current < maxLength) {
+ // You can escape a double quote and you can escape an escape.
+ var current = this._current;
+ if (stream[current] === "\\" && (stream[current + 1] === "\\" ||
+ stream[current + 1] === "\"")) {
+ current += 2;
+ } else {
+ current++;
+ }
+ this._current = current;
}
- result = false;
- break;
- }
- // Recursively compare arrays (susceptible to call stack limits).
- if (seen) {
- if (!arraySome(other, function(othValue, othIndex) {
- if (!cacheHas(seen, othIndex) &&
- (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
- return seen.push(othIndex);
- }
- })) {
- result = false;
- break;
+ this._current++;
+ return JSON.parse(stream.slice(start, this._current));
+ },
+
+ _consumeRawStringLiteral: function(stream) {
+ var start = this._current;
+ this._current++;
+ var maxLength = stream.length;
+ while (stream[this._current] !== "'" && this._current < maxLength) {
+ // You can escape a single quote and you can escape an escape.
+ var current = this._current;
+ if (stream[current] === "\\" && (stream[current + 1] === "\\" ||
+ stream[current + 1] === "'")) {
+ current += 2;
+ } else {
+ current++;
+ }
+ this._current = current;
}
- } else if (!(
- arrValue === othValue ||
- equalFunc(arrValue, othValue, bitmask, customizer, stack)
- )) {
- result = false;
- break;
- }
- }
- stack['delete'](array);
- stack['delete'](other);
- return result;
- }
+ this._current++;
+ var literal = stream.slice(start + 1, this._current - 1);
+ return literal.replace("\\'", "'");
+ },
- /**
- * A specialized version of `baseIsEqualDeep` for comparing objects of
- * the same `toStringTag`.
- *
- * **Note:** This function only supports comparing values with tags of
- * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
- *
- * @private
- * @param {Object} object The object to compare.
- * @param {Object} other The other object to compare.
- * @param {string} tag The `toStringTag` of the objects to compare.
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
- * @param {Function} customizer The function to customize comparisons.
- * @param {Function} equalFunc The function to determine equivalents of values.
- * @param {Object} stack Tracks traversed `object` and `other` objects.
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
- */
- function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
- switch (tag) {
- case dataViewTag:
- if ((object.byteLength != other.byteLength) ||
- (object.byteOffset != other.byteOffset)) {
- return false;
+ _consumeNumber: function(stream) {
+ var start = this._current;
+ this._current++;
+ var maxLength = stream.length;
+ while (isNum(stream[this._current]) && this._current < maxLength) {
+ this._current++;
}
- object = object.buffer;
- other = other.buffer;
+ var value = parseInt(stream.slice(start, this._current));
+ return {type: TOK_NUMBER, value: value, start: start};
+ },
- case arrayBufferTag:
- if ((object.byteLength != other.byteLength) ||
- !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
- return false;
+ _consumeLBracket: function(stream) {
+ var start = this._current;
+ this._current++;
+ if (stream[this._current] === "?") {
+ this._current++;
+ return {type: TOK_FILTER, value: "[?", start: start};
+ } else if (stream[this._current] === "]") {
+ this._current++;
+ return {type: TOK_FLATTEN, value: "[]", start: start};
+ } else {
+ return {type: TOK_LBRACKET, value: "[", start: start};
}
- return true;
+ },
- case boolTag:
- case dateTag:
- case numberTag:
- // Coerce booleans to `1` or `0` and dates to milliseconds.
- // Invalid dates are coerced to `NaN`.
- return eq(+object, +other);
+ _consumeOperator: function(stream) {
+ var start = this._current;
+ var startingChar = stream[start];
+ this._current++;
+ if (startingChar === "!") {
+ if (stream[this._current] === "=") {
+ this._current++;
+ return {type: TOK_NE, value: "!=", start: start};
+ } else {
+ return {type: TOK_NOT, value: "!", start: start};
+ }
+ } else if (startingChar === "<") {
+ if (stream[this._current] === "=") {
+ this._current++;
+ return {type: TOK_LTE, value: "<=", start: start};
+ } else {
+ return {type: TOK_LT, value: "<", start: start};
+ }
+ } else if (startingChar === ">") {
+ if (stream[this._current] === "=") {
+ this._current++;
+ return {type: TOK_GTE, value: ">=", start: start};
+ } else {
+ return {type: TOK_GT, value: ">", start: start};
+ }
+ } else if (startingChar === "=") {
+ if (stream[this._current] === "=") {
+ this._current++;
+ return {type: TOK_EQ, value: "==", start: start};
+ }
+ }
+ },
- case errorTag:
- return object.name == other.name && object.message == other.message;
+ _consumeLiteral: function(stream) {
+ this._current++;
+ var start = this._current;
+ var maxLength = stream.length;
+ var literal;
+ while(stream[this._current] !== "`" && this._current < maxLength) {
+ // You can escape a literal char or you can escape the escape.
+ var current = this._current;
+ if (stream[current] === "\\" && (stream[current + 1] === "\\" ||
+ stream[current + 1] === "`")) {
+ current += 2;
+ } else {
+ current++;
+ }
+ this._current = current;
+ }
+ var literalString = trimLeft(stream.slice(start, this._current));
+ literalString = literalString.replace("\\`", "`");
+ if (this._looksLikeJSON(literalString)) {
+ literal = JSON.parse(literalString);
+ } else {
+ // Try to JSON parse it as ""
+ literal = JSON.parse("\"" + literalString + "\"");
+ }
+ // +1 gets us to the ending "`", +1 to move on to the next char.
+ this._current++;
+ return literal;
+ },
- case regexpTag:
- case stringTag:
- // Coerce regexes to strings and treat strings, primitives and objects,
- // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
- // for more details.
- return object == (other + '');
+ _looksLikeJSON: function(literalString) {
+ var startingChars = "[{\"";
+ var jsonLiterals = ["true", "false", "null"];
+ var numberLooking = "-0123456789";
- case mapTag:
- var convert = mapToArray;
+ if (literalString === "") {
+ return false;
+ } else if (startingChars.indexOf(literalString[0]) >= 0) {
+ return true;
+ } else if (jsonLiterals.indexOf(literalString) >= 0) {
+ return true;
+ } else if (numberLooking.indexOf(literalString[0]) >= 0) {
+ try {
+ JSON.parse(literalString);
+ return true;
+ } catch (ex) {
+ return false;
+ }
+ } else {
+ return false;
+ }
+ }
+ };
- case setTag:
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
- convert || (convert = setToArray);
+ var bindingPower = {};
+ bindingPower[TOK_EOF] = 0;
+ bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0;
+ bindingPower[TOK_QUOTEDIDENTIFIER] = 0;
+ bindingPower[TOK_RBRACKET] = 0;
+ bindingPower[TOK_RPAREN] = 0;
+ bindingPower[TOK_COMMA] = 0;
+ bindingPower[TOK_RBRACE] = 0;
+ bindingPower[TOK_NUMBER] = 0;
+ bindingPower[TOK_CURRENT] = 0;
+ bindingPower[TOK_EXPREF] = 0;
+ bindingPower[TOK_PIPE] = 1;
+ bindingPower[TOK_OR] = 2;
+ bindingPower[TOK_AND] = 3;
+ bindingPower[TOK_EQ] = 5;
+ bindingPower[TOK_GT] = 5;
+ bindingPower[TOK_LT] = 5;
+ bindingPower[TOK_GTE] = 5;
+ bindingPower[TOK_LTE] = 5;
+ bindingPower[TOK_NE] = 5;
+ bindingPower[TOK_FLATTEN] = 9;
+ bindingPower[TOK_STAR] = 20;
+ bindingPower[TOK_FILTER] = 21;
+ bindingPower[TOK_DOT] = 40;
+ bindingPower[TOK_NOT] = 45;
+ bindingPower[TOK_LBRACE] = 50;
+ bindingPower[TOK_LBRACKET] = 55;
+ bindingPower[TOK_LPAREN] = 60;
- if (object.size != other.size && !isPartial) {
- return false;
- }
- // Assume cyclic values are equal.
- var stacked = stack.get(object);
- if (stacked) {
- return stacked == other;
+ function Parser() {
+ }
+
+ Parser.prototype = {
+ parse: function(expression) {
+ this._loadTokens(expression);
+ this.index = 0;
+ var ast = this.expression(0);
+ if (this._lookahead(0) !== TOK_EOF) {
+ var t = this._lookaheadToken(0);
+ var error = new Error(
+ "Unexpected token type: " + t.type + ", value: " + t.value);
+ error.name = "ParserError";
+ throw error;
}
- bitmask |= COMPARE_UNORDERED_FLAG;
+ return ast;
+ },
- // Recursively compare objects (susceptible to call stack limits).
- stack.set(object, other);
- var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
- stack['delete'](object);
- return result;
+ _loadTokens: function(expression) {
+ var lexer = new Lexer();
+ var tokens = lexer.tokenize(expression);
+ tokens.push({type: TOK_EOF, value: "", start: expression.length});
+ this.tokens = tokens;
+ },
- case symbolTag:
- if (symbolValueOf) {
- return symbolValueOf.call(object) == symbolValueOf.call(other);
+ expression: function(rbp) {
+ var leftToken = this._lookaheadToken(0);
+ this._advance();
+ var left = this.nud(leftToken);
+ var currentToken = this._lookahead(0);
+ while (rbp < bindingPower[currentToken]) {
+ this._advance();
+ left = this.led(currentToken, left);
+ currentToken = this._lookahead(0);
}
- }
- return false;
- }
+ return left;
+ },
- /**
- * A specialized version of `baseIsEqualDeep` for objects with support for
- * partial deep comparisons.
- *
- * @private
- * @param {Object} object The object to compare.
- * @param {Object} other The other object to compare.
- * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
- * @param {Function} customizer The function to customize comparisons.
- * @param {Function} equalFunc The function to determine equivalents of values.
- * @param {Object} stack Tracks traversed `object` and `other` objects.
- * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
- */
- function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
- objProps = getAllKeys(object),
- objLength = objProps.length,
- othProps = getAllKeys(other),
- othLength = othProps.length;
+ _lookahead: function(number) {
+ return this.tokens[this.index + number].type;
+ },
- if (objLength != othLength && !isPartial) {
- return false;
- }
- var index = objLength;
- while (index--) {
- var key = objProps[index];
- if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
- return false;
- }
- }
- // Check that cyclic values are equal.
- var objStacked = stack.get(object);
- var othStacked = stack.get(other);
- if (objStacked && othStacked) {
- return objStacked == other && othStacked == object;
- }
- var result = true;
- stack.set(object, other);
- stack.set(other, object);
+ _lookaheadToken: function(number) {
+ return this.tokens[this.index + number];
+ },
- var skipCtor = isPartial;
- while (++index < objLength) {
- key = objProps[index];
- var objValue = object[key],
- othValue = other[key];
+ _advance: function() {
+ this.index++;
+ },
- if (customizer) {
- var compared = isPartial
- ? customizer(othValue, objValue, key, other, object, stack)
- : customizer(objValue, othValue, key, object, other, stack);
- }
- // Recursively compare objects (susceptible to call stack limits).
- if (!(compared === undefined
- ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
- : compared
- )) {
- result = false;
- break;
+ nud: function(token) {
+ var left;
+ var right;
+ var expression;
+ switch (token.type) {
+ case TOK_LITERAL:
+ return {type: "Literal", value: token.value};
+ case TOK_UNQUOTEDIDENTIFIER:
+ return {type: "Field", name: token.value};
+ case TOK_QUOTEDIDENTIFIER:
+ var node = {type: "Field", name: token.value};
+ if (this._lookahead(0) === TOK_LPAREN) {
+ throw new Error("Quoted identifier not allowed for function names.");
+ }
+ return node;
+ case TOK_NOT:
+ right = this.expression(bindingPower.Not);
+ return {type: "NotExpression", children: [right]};
+ case TOK_STAR:
+ left = {type: "Identity"};
+ right = null;
+ if (this._lookahead(0) === TOK_RBRACKET) {
+ // This can happen in a multiselect,
+ // [a, b, *]
+ right = {type: "Identity"};
+ } else {
+ right = this._parseProjectionRHS(bindingPower.Star);
+ }
+ return {type: "ValueProjection", children: [left, right]};
+ case TOK_FILTER:
+ return this.led(token.type, {type: "Identity"});
+ case TOK_LBRACE:
+ return this._parseMultiselectHash();
+ case TOK_FLATTEN:
+ left = {type: TOK_FLATTEN, children: [{type: "Identity"}]};
+ right = this._parseProjectionRHS(bindingPower.Flatten);
+ return {type: "Projection", children: [left, right]};
+ case TOK_LBRACKET:
+ if (this._lookahead(0) === TOK_NUMBER || this._lookahead(0) === TOK_COLON) {
+ right = this._parseIndexExpression();
+ return this._projectIfSlice({type: "Identity"}, right);
+ } else if (this._lookahead(0) === TOK_STAR &&
+ this._lookahead(1) === TOK_RBRACKET) {
+ this._advance();
+ this._advance();
+ right = this._parseProjectionRHS(bindingPower.Star);
+ return {type: "Projection",
+ children: [{type: "Identity"}, right]};
+ }
+ return this._parseMultiselectList();
+ case TOK_CURRENT:
+ return {type: TOK_CURRENT};
+ case TOK_EXPREF:
+ expression = this.expression(bindingPower.Expref);
+ return {type: "ExpressionReference", children: [expression]};
+ case TOK_LPAREN:
+ var args = [];
+ while (this._lookahead(0) !== TOK_RPAREN) {
+ if (this._lookahead(0) === TOK_CURRENT) {
+ expression = {type: TOK_CURRENT};
+ this._advance();
+ } else {
+ expression = this.expression(0);
+ }
+ args.push(expression);
+ }
+ this._match(TOK_RPAREN);
+ return args[0];
+ default:
+ this._errorToken(token);
}
- skipCtor || (skipCtor = key == 'constructor');
- }
- if (result && !skipCtor) {
- var objCtor = object.constructor,
- othCtor = other.constructor;
+ },
- // Non `Object` object instances with different constructors are not equal.
- if (objCtor != othCtor &&
- ('constructor' in object && 'constructor' in other) &&
- !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
- typeof othCtor == 'function' && othCtor instanceof othCtor)) {
- result = false;
+ led: function(tokenName, left) {
+ var right;
+ switch(tokenName) {
+ case TOK_DOT:
+ var rbp = bindingPower.Dot;
+ if (this._lookahead(0) !== TOK_STAR) {
+ right = this._parseDotRHS(rbp);
+ return {type: "Subexpression", children: [left, right]};
+ }
+ // Creating a projection.
+ this._advance();
+ right = this._parseProjectionRHS(rbp);
+ return {type: "ValueProjection", children: [left, right]};
+ case TOK_PIPE:
+ right = this.expression(bindingPower.Pipe);
+ return {type: TOK_PIPE, children: [left, right]};
+ case TOK_OR:
+ right = this.expression(bindingPower.Or);
+ return {type: "OrExpression", children: [left, right]};
+ case TOK_AND:
+ right = this.expression(bindingPower.And);
+ return {type: "AndExpression", children: [left, right]};
+ case TOK_LPAREN:
+ var name = left.name;
+ var args = [];
+ var expression, node;
+ while (this._lookahead(0) !== TOK_RPAREN) {
+ if (this._lookahead(0) === TOK_CURRENT) {
+ expression = {type: TOK_CURRENT};
+ this._advance();
+ } else {
+ expression = this.expression(0);
+ }
+ if (this._lookahead(0) === TOK_COMMA) {
+ this._match(TOK_COMMA);
+ }
+ args.push(expression);
+ }
+ this._match(TOK_RPAREN);
+ node = {type: "Function", name: name, children: args};
+ return node;
+ case TOK_FILTER:
+ var condition = this.expression(0);
+ this._match(TOK_RBRACKET);
+ if (this._lookahead(0) === TOK_FLATTEN) {
+ right = {type: "Identity"};
+ } else {
+ right = this._parseProjectionRHS(bindingPower.Filter);
+ }
+ return {type: "FilterProjection", children: [left, right, condition]};
+ case TOK_FLATTEN:
+ var leftNode = {type: TOK_FLATTEN, children: [left]};
+ var rightNode = this._parseProjectionRHS(bindingPower.Flatten);
+ return {type: "Projection", children: [leftNode, rightNode]};
+ case TOK_EQ:
+ case TOK_NE:
+ case TOK_GT:
+ case TOK_GTE:
+ case TOK_LT:
+ case TOK_LTE:
+ return this._parseComparator(left, tokenName);
+ case TOK_LBRACKET:
+ var token = this._lookaheadToken(0);
+ if (token.type === TOK_NUMBER || token.type === TOK_COLON) {
+ right = this._parseIndexExpression();
+ return this._projectIfSlice(left, right);
+ }
+ this._match(TOK_STAR);
+ this._match(TOK_RBRACKET);
+ right = this._parseProjectionRHS(bindingPower.Star);
+ return {type: "Projection", children: [left, right]};
+ default:
+ this._errorToken(this._lookaheadToken(0));
}
- }
- stack['delete'](object);
- stack['delete'](other);
- return result;
- }
-
- /**
- * A specialized version of `baseRest` which flattens the rest array.
- *
- * @private
- * @param {Function} func The function to apply a rest parameter to.
- * @returns {Function} Returns the new function.
- */
- function flatRest(func) {
- return setToString(overRest(func, undefined, flatten), func + '');
- }
+ },
- /**
- * Creates an array of own enumerable property names and symbols of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property names and symbols.
- */
- function getAllKeys(object) {
- return baseGetAllKeys(object, keys, getSymbols);
- }
+ _match: function(tokenType) {
+ if (this._lookahead(0) === tokenType) {
+ this._advance();
+ } else {
+ var t = this._lookaheadToken(0);
+ var error = new Error("Expected " + tokenType + ", got: " + t.type);
+ error.name = "ParserError";
+ throw error;
+ }
+ },
- /**
- * Creates an array of own and inherited enumerable property names and
- * symbols of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property names and symbols.
- */
- function getAllKeysIn(object) {
- return baseGetAllKeys(object, keysIn, getSymbolsIn);
- }
+ _errorToken: function(token) {
+ var error = new Error("Invalid token (" +
+ token.type + "): \"" +
+ token.value + "\"");
+ error.name = "ParserError";
+ throw error;
+ },
- /**
- * Gets metadata for `func`.
- *
- * @private
- * @param {Function} func The function to query.
- * @returns {*} Returns the metadata for `func`.
- */
- var getData = !metaMap ? noop : function(func) {
- return metaMap.get(func);
- };
- /**
- * Gets the name of `func`.
- *
- * @private
- * @param {Function} func The function to query.
- * @returns {string} Returns the function name.
- */
- function getFuncName(func) {
- var result = (func.name + ''),
- array = realNames[result],
- length = hasOwnProperty.call(realNames, result) ? array.length : 0;
+ _parseIndexExpression: function() {
+ if (this._lookahead(0) === TOK_COLON || this._lookahead(1) === TOK_COLON) {
+ return this._parseSliceExpression();
+ } else {
+ var node = {
+ type: "Index",
+ value: this._lookaheadToken(0).value};
+ this._advance();
+ this._match(TOK_RBRACKET);
+ return node;
+ }
+ },
- while (length--) {
- var data = array[length],
- otherFunc = data.func;
- if (otherFunc == null || otherFunc == func) {
- return data.name;
- }
- }
- return result;
- }
+ _projectIfSlice: function(left, right) {
+ var indexExpr = {type: "IndexExpression", children: [left, right]};
+ if (right.type === "Slice") {
+ return {
+ type: "Projection",
+ children: [indexExpr, this._parseProjectionRHS(bindingPower.Star)]
+ };
+ } else {
+ return indexExpr;
+ }
+ },
- /**
- * Gets the argument placeholder value for `func`.
- *
- * @private
- * @param {Function} func The function to inspect.
- * @returns {*} Returns the placeholder value.
- */
- function getHolder(func) {
- var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;
- return object.placeholder;
- }
-
- /**
- * Gets the appropriate "iteratee" function. If `_.iteratee` is customized,
- * this function returns the custom method, otherwise it returns `baseIteratee`.
- * If arguments are provided, the chosen function is invoked with them and
- * its result is returned.
- *
- * @private
- * @param {*} [value] The value to convert to an iteratee.
- * @param {number} [arity] The arity of the created iteratee.
- * @returns {Function} Returns the chosen function or its result.
- */
- function getIteratee() {
- var result = lodash.iteratee || iteratee;
- result = result === iteratee ? baseIteratee : result;
- return arguments.length ? result(arguments[0], arguments[1]) : result;
- }
-
- /**
- * Gets the data for `map`.
- *
- * @private
- * @param {Object} map The map to query.
- * @param {string} key The reference key.
- * @returns {*} Returns the map data.
- */
- function getMapData(map, key) {
- var data = map.__data__;
- return isKeyable(key)
- ? data[typeof key == 'string' ? 'string' : 'hash']
- : data.map;
- }
-
- /**
- * Gets the property names, values, and compare flags of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the match data of `object`.
- */
- function getMatchData(object) {
- var result = keys(object),
- length = result.length;
-
- while (length--) {
- var key = result[length],
- value = object[key];
+ _parseSliceExpression: function() {
+ // [start:end:step] where each part is optional, as well as the last
+ // colon.
+ var parts = [null, null, null];
+ var index = 0;
+ var currentToken = this._lookahead(0);
+ while (currentToken !== TOK_RBRACKET && index < 3) {
+ if (currentToken === TOK_COLON) {
+ index++;
+ this._advance();
+ } else if (currentToken === TOK_NUMBER) {
+ parts[index] = this._lookaheadToken(0).value;
+ this._advance();
+ } else {
+ var t = this._lookahead(0);
+ var error = new Error("Syntax error, unexpected token: " +
+ t.value + "(" + t.type + ")");
+ error.name = "Parsererror";
+ throw error;
+ }
+ currentToken = this._lookahead(0);
+ }
+ this._match(TOK_RBRACKET);
+ return {
+ type: "Slice",
+ children: parts
+ };
+ },
- result[length] = [key, value, isStrictComparable(value)];
- }
- return result;
- }
+ _parseComparator: function(left, comparator) {
+ var right = this.expression(bindingPower[comparator]);
+ return {type: "Comparator", name: comparator, children: [left, right]};
+ },
- /**
- * Gets the native function at `key` of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @param {string} key The key of the method to get.
- * @returns {*} Returns the function if it's native, else `undefined`.
- */
- function getNative(object, key) {
- var value = getValue(object, key);
- return baseIsNative(value) ? value : undefined;
- }
+ _parseDotRHS: function(rbp) {
+ var lookahead = this._lookahead(0);
+ var exprTokens = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER, TOK_STAR];
+ if (exprTokens.indexOf(lookahead) >= 0) {
+ return this.expression(rbp);
+ } else if (lookahead === TOK_LBRACKET) {
+ this._match(TOK_LBRACKET);
+ return this._parseMultiselectList();
+ } else if (lookahead === TOK_LBRACE) {
+ this._match(TOK_LBRACE);
+ return this._parseMultiselectHash();
+ }
+ },
- /**
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
- *
- * @private
- * @param {*} value The value to query.
- * @returns {string} Returns the raw `toStringTag`.
- */
- function getRawTag(value) {
- var isOwn = hasOwnProperty.call(value, symToStringTag),
- tag = value[symToStringTag];
+ _parseProjectionRHS: function(rbp) {
+ var right;
+ if (bindingPower[this._lookahead(0)] < 10) {
+ right = {type: "Identity"};
+ } else if (this._lookahead(0) === TOK_LBRACKET) {
+ right = this.expression(rbp);
+ } else if (this._lookahead(0) === TOK_FILTER) {
+ right = this.expression(rbp);
+ } else if (this._lookahead(0) === TOK_DOT) {
+ this._match(TOK_DOT);
+ right = this._parseDotRHS(rbp);
+ } else {
+ var t = this._lookaheadToken(0);
+ var error = new Error("Sytanx error, unexpected token: " +
+ t.value + "(" + t.type + ")");
+ error.name = "ParserError";
+ throw error;
+ }
+ return right;
+ },
- try {
- value[symToStringTag] = undefined;
- var unmasked = true;
- } catch (e) {}
+ _parseMultiselectList: function() {
+ var expressions = [];
+ while (this._lookahead(0) !== TOK_RBRACKET) {
+ var expression = this.expression(0);
+ expressions.push(expression);
+ if (this._lookahead(0) === TOK_COMMA) {
+ this._match(TOK_COMMA);
+ if (this._lookahead(0) === TOK_RBRACKET) {
+ throw new Error("Unexpected token Rbracket");
+ }
+ }
+ }
+ this._match(TOK_RBRACKET);
+ return {type: "MultiSelectList", children: expressions};
+ },
- var result = nativeObjectToString.call(value);
- if (unmasked) {
- if (isOwn) {
- value[symToStringTag] = tag;
- } else {
- delete value[symToStringTag];
+ _parseMultiselectHash: function() {
+ var pairs = [];
+ var identifierTypes = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER];
+ var keyToken, keyName, value, node;
+ for (;;) {
+ keyToken = this._lookaheadToken(0);
+ if (identifierTypes.indexOf(keyToken.type) < 0) {
+ throw new Error("Expecting an identifier token, got: " +
+ keyToken.type);
+ }
+ keyName = keyToken.value;
+ this._advance();
+ this._match(TOK_COLON);
+ value = this.expression(0);
+ node = {type: "KeyValuePair", name: keyName, value: value};
+ pairs.push(node);
+ if (this._lookahead(0) === TOK_COMMA) {
+ this._match(TOK_COMMA);
+ } else if (this._lookahead(0) === TOK_RBRACE) {
+ this._match(TOK_RBRACE);
+ break;
+ }
}
+ return {type: "MultiSelectHash", children: pairs};
}
- return result;
- }
+ };
- /**
- * Creates an array of the own enumerable symbols of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of symbols.
- */
- var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
- if (object == null) {
- return [];
- }
- object = Object(object);
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
- return propertyIsEnumerable.call(object, symbol);
- });
- };
- /**
- * Creates an array of the own and inherited enumerable symbols of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of symbols.
- */
- var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
- var result = [];
- while (object) {
- arrayPush(result, getSymbols(object));
- object = getPrototype(object);
- }
- return result;
- };
+ function TreeInterpreter(runtime) {
+ this.runtime = runtime;
+ }
- /**
- * Gets the `toStringTag` of `value`.
- *
- * @private
- * @param {*} value The value to query.
- * @returns {string} Returns the `toStringTag`.
- */
- var getTag = baseGetTag;
+ TreeInterpreter.prototype = {
+ search: function(node, value) {
+ return this.visit(node, value);
+ },
- // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
- (Map && getTag(new Map) != mapTag) ||
- (Promise && getTag(Promise.resolve()) != promiseTag) ||
- (Set && getTag(new Set) != setTag) ||
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
- getTag = function(value) {
- var result = baseGetTag(value),
- Ctor = result == objectTag ? value.constructor : undefined,
- ctorString = Ctor ? toSource(Ctor) : '';
+ visit: function(node, value) {
+ var matched, current, result, first, second, field, left, right, collected, i;
+ switch (node.type) {
+ case "Field":
+ if (value !== null && isObject(value)) {
+ field = value[node.name];
+ if (field === undefined) {
+ return null;
+ } else {
+ return field;
+ }
+ }
+ return null;
+ case "Subexpression":
+ result = this.visit(node.children[0], value);
+ for (i = 1; i < node.children.length; i++) {
+ result = this.visit(node.children[1], result);
+ if (result === null) {
+ return null;
+ }
+ }
+ return result;
+ case "IndexExpression":
+ left = this.visit(node.children[0], value);
+ right = this.visit(node.children[1], left);
+ return right;
+ case "Index":
+ if (!isArray(value)) {
+ return null;
+ }
+ var index = node.value;
+ if (index < 0) {
+ index = value.length + index;
+ }
+ result = value[index];
+ if (result === undefined) {
+ result = null;
+ }
+ return result;
+ case "Slice":
+ if (!isArray(value)) {
+ return null;
+ }
+ var sliceParams = node.children.slice(0);
+ var computed = this.computeSliceParams(value.length, sliceParams);
+ var start = computed[0];
+ var stop = computed[1];
+ var step = computed[2];
+ result = [];
+ if (step > 0) {
+ for (i = start; i < stop; i += step) {
+ result.push(value[i]);
+ }
+ } else {
+ for (i = start; i > stop; i += step) {
+ result.push(value[i]);
+ }
+ }
+ return result;
+ case "Projection":
+ // Evaluate left child.
+ var base = this.visit(node.children[0], value);
+ if (!isArray(base)) {
+ return null;
+ }
+ collected = [];
+ for (i = 0; i < base.length; i++) {
+ current = this.visit(node.children[1], base[i]);
+ if (current !== null) {
+ collected.push(current);
+ }
+ }
+ return collected;
+ case "ValueProjection":
+ // Evaluate left child.
+ base = this.visit(node.children[0], value);
+ if (!isObject(base)) {
+ return null;
+ }
+ collected = [];
+ var values = objValues(base);
+ for (i = 0; i < values.length; i++) {
+ current = this.visit(node.children[1], values[i]);
+ if (current !== null) {
+ collected.push(current);
+ }
+ }
+ return collected;
+ case "FilterProjection":
+ base = this.visit(node.children[0], value);
+ if (!isArray(base)) {
+ return null;
+ }
+ var filtered = [];
+ var finalResults = [];
+ for (i = 0; i < base.length; i++) {
+ matched = this.visit(node.children[2], base[i]);
+ if (!isFalse(matched)) {
+ filtered.push(base[i]);
+ }
+ }
+ for (var j = 0; j < filtered.length; j++) {
+ current = this.visit(node.children[1], filtered[j]);
+ if (current !== null) {
+ finalResults.push(current);
+ }
+ }
+ return finalResults;
+ case "Comparator":
+ first = this.visit(node.children[0], value);
+ second = this.visit(node.children[1], value);
+ switch(node.name) {
+ case TOK_EQ:
+ result = strictDeepEqual(first, second);
+ break;
+ case TOK_NE:
+ result = !strictDeepEqual(first, second);
+ break;
+ case TOK_GT:
+ result = first > second;
+ break;
+ case TOK_GTE:
+ result = first >= second;
+ break;
+ case TOK_LT:
+ result = first < second;
+ break;
+ case TOK_LTE:
+ result = first <= second;
+ break;
+ default:
+ throw new Error("Unknown comparator: " + node.name);
+ }
+ return result;
+ case TOK_FLATTEN:
+ var original = this.visit(node.children[0], value);
+ if (!isArray(original)) {
+ return null;
+ }
+ var merged = [];
+ for (i = 0; i < original.length; i++) {
+ current = original[i];
+ if (isArray(current)) {
+ merged.push.apply(merged, current);
+ } else {
+ merged.push(current);
+ }
+ }
+ return merged;
+ case "Identity":
+ return value;
+ case "MultiSelectList":
+ if (value === null) {
+ return null;
+ }
+ collected = [];
+ for (i = 0; i < node.children.length; i++) {
+ collected.push(this.visit(node.children[i], value));
+ }
+ return collected;
+ case "MultiSelectHash":
+ if (value === null) {
+ return null;
+ }
+ collected = {};
+ var child;
+ for (i = 0; i < node.children.length; i++) {
+ child = node.children[i];
+ collected[child.name] = this.visit(child.value, value);
+ }
+ return collected;
+ case "OrExpression":
+ matched = this.visit(node.children[0], value);
+ if (isFalse(matched)) {
+ matched = this.visit(node.children[1], value);
+ }
+ return matched;
+ case "AndExpression":
+ first = this.visit(node.children[0], value);
- if (ctorString) {
- switch (ctorString) {
- case dataViewCtorString: return dataViewTag;
- case mapCtorString: return mapTag;
- case promiseCtorString: return promiseTag;
- case setCtorString: return setTag;
- case weakMapCtorString: return weakMapTag;
+ if (isFalse(first) === true) {
+ return first;
+ }
+ return this.visit(node.children[1], value);
+ case "NotExpression":
+ first = this.visit(node.children[0], value);
+ return isFalse(first);
+ case "Literal":
+ return node.value;
+ case TOK_PIPE:
+ left = this.visit(node.children[0], value);
+ return this.visit(node.children[1], left);
+ case TOK_CURRENT:
+ return value;
+ case "Function":
+ var resolvedArgs = [];
+ for (i = 0; i < node.children.length; i++) {
+ resolvedArgs.push(this.visit(node.children[i], value));
+ }
+ return this.runtime.callFunction(node.name, resolvedArgs);
+ case "ExpressionReference":
+ var refNode = node.children[0];
+ // Tag the node with a specific attribute so the type
+ // checker verify the type.
+ refNode.jmespathType = TOK_EXPREF;
+ return refNode;
+ default:
+ throw new Error("Unknown node type: " + node.type);
}
- }
- return result;
- };
- }
-
- /**
- * Gets the view, applying any `transforms` to the `start` and `end` positions.
- *
- * @private
- * @param {number} start The start of the view.
- * @param {number} end The end of the view.
- * @param {Array} transforms The transformations to apply to the view.
- * @returns {Object} Returns an object containing the `start` and `end`
- * positions of the view.
- */
- function getView(start, end, transforms) {
- var index = -1,
- length = transforms.length;
+ },
- while (++index < length) {
- var data = transforms[index],
- size = data.size;
+ computeSliceParams: function(arrayLength, sliceParams) {
+ var start = sliceParams[0];
+ var stop = sliceParams[1];
+ var step = sliceParams[2];
+ var computed = [null, null, null];
+ if (step === null) {
+ step = 1;
+ } else if (step === 0) {
+ var error = new Error("Invalid slice, step cannot be 0");
+ error.name = "RuntimeError";
+ throw error;
+ }
+ var stepValueNegative = step < 0 ? true : false;
- switch (data.type) {
- case 'drop': start += size; break;
- case 'dropRight': end -= size; break;
- case 'take': end = nativeMin(end, start + size); break;
- case 'takeRight': start = nativeMax(start, end - size); break;
+ if (start === null) {
+ start = stepValueNegative ? arrayLength - 1 : 0;
+ } else {
+ start = this.capSliceRange(arrayLength, start, step);
}
- }
- return { 'start': start, 'end': end };
- }
- /**
- * Extracts wrapper details from the `source` body comment.
- *
- * @private
- * @param {string} source The source to inspect.
- * @returns {Array} Returns the wrapper details.
- */
- function getWrapDetails(source) {
- var match = source.match(reWrapDetails);
- return match ? match[1].split(reSplitDetails) : [];
- }
+ if (stop === null) {
+ stop = stepValueNegative ? -1 : arrayLength;
+ } else {
+ stop = this.capSliceRange(arrayLength, stop, step);
+ }
+ computed[0] = start;
+ computed[1] = stop;
+ computed[2] = step;
+ return computed;
+ },
- /**
- * Checks if `path` exists on `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @param {Array|string} path The path to check.
- * @param {Function} hasFunc The function to check properties.
- * @returns {boolean} Returns `true` if `path` exists, else `false`.
- */
- function hasPath(object, path, hasFunc) {
- path = castPath(path, object);
+ capSliceRange: function(arrayLength, actualValue, step) {
+ if (actualValue < 0) {
+ actualValue += arrayLength;
+ if (actualValue < 0) {
+ actualValue = step < 0 ? -1 : 0;
+ }
+ } else if (actualValue >= arrayLength) {
+ actualValue = step < 0 ? arrayLength - 1 : arrayLength;
+ }
+ return actualValue;
+ }
- var index = -1,
- length = path.length,
- result = false;
+ };
- while (++index < length) {
- var key = toKey(path[index]);
- if (!(result = object != null && hasFunc(object, key))) {
- break;
+ function Runtime(interpreter) {
+ this._interpreter = interpreter;
+ this.functionTable = {
+ // name: [function, ]
+ // The can be:
+ //
+ // {
+ // args: [[type1, type2], [type1, type2]],
+ // variadic: true|false
+ // }
+ //
+ // Each arg in the arg list is a list of valid types
+ // (if the function is overloaded and supports multiple
+ // types. If the type is "any" then no type checking
+ // occurs on the argument. Variadic is optional
+ // and if not provided is assumed to be false.
+ abs: {_func: this._functionAbs, _signature: [{types: [TYPE_NUMBER]}]},
+ avg: {_func: this._functionAvg, _signature: [{types: [TYPE_ARRAY_NUMBER]}]},
+ ceil: {_func: this._functionCeil, _signature: [{types: [TYPE_NUMBER]}]},
+ contains: {
+ _func: this._functionContains,
+ _signature: [{types: [TYPE_STRING, TYPE_ARRAY]},
+ {types: [TYPE_ANY]}]},
+ "ends_with": {
+ _func: this._functionEndsWith,
+ _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]},
+ floor: {_func: this._functionFloor, _signature: [{types: [TYPE_NUMBER]}]},
+ length: {
+ _func: this._functionLength,
+ _signature: [{types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT]}]},
+ map: {
+ _func: this._functionMap,
+ _signature: [{types: [TYPE_EXPREF]}, {types: [TYPE_ARRAY]}]},
+ max: {
+ _func: this._functionMax,
+ _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]},
+ "merge": {
+ _func: this._functionMerge,
+ _signature: [{types: [TYPE_OBJECT], variadic: true}]
+ },
+ "max_by": {
+ _func: this._functionMaxBy,
+ _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}]
+ },
+ sum: {_func: this._functionSum, _signature: [{types: [TYPE_ARRAY_NUMBER]}]},
+ "starts_with": {
+ _func: this._functionStartsWith,
+ _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]},
+ min: {
+ _func: this._functionMin,
+ _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]},
+ "min_by": {
+ _func: this._functionMinBy,
+ _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}]
+ },
+ type: {_func: this._functionType, _signature: [{types: [TYPE_ANY]}]},
+ keys: {_func: this._functionKeys, _signature: [{types: [TYPE_OBJECT]}]},
+ values: {_func: this._functionValues, _signature: [{types: [TYPE_OBJECT]}]},
+ sort: {_func: this._functionSort, _signature: [{types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER]}]},
+ "sort_by": {
+ _func: this._functionSortBy,
+ _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}]
+ },
+ join: {
+ _func: this._functionJoin,
+ _signature: [
+ {types: [TYPE_STRING]},
+ {types: [TYPE_ARRAY_STRING]}
+ ]
+ },
+ reverse: {
+ _func: this._functionReverse,
+ _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}]},
+ "to_array": {_func: this._functionToArray, _signature: [{types: [TYPE_ANY]}]},
+ "to_string": {_func: this._functionToString, _signature: [{types: [TYPE_ANY]}]},
+ "to_number": {_func: this._functionToNumber, _signature: [{types: [TYPE_ANY]}]},
+ "not_null": {
+ _func: this._functionNotNull,
+ _signature: [{types: [TYPE_ANY], variadic: true}]
}
- object = object[key];
- }
- if (result || ++index != length) {
- return result;
+ };
+ }
+
+ Runtime.prototype = {
+ callFunction: function(name, resolvedArgs) {
+ var functionEntry = this.functionTable[name];
+ if (functionEntry === undefined) {
+ throw new Error("Unknown function: " + name + "()");
}
- length = object == null ? 0 : object.length;
- return !!length && isLength(length) && isIndex(key, length) &&
- (isArray(object) || isArguments(object));
- }
+ this._validateArgs(name, resolvedArgs, functionEntry._signature);
+ return functionEntry._func.call(this, resolvedArgs);
+ },
- /**
- * Initializes an array clone.
- *
- * @private
- * @param {Array} array The array to clone.
- * @returns {Array} Returns the initialized clone.
- */
- function initCloneArray(array) {
- var length = array.length,
- result = new array.constructor(length);
+ _validateArgs: function(name, args, signature) {
+ // Validating the args requires validating
+ // the correct arity and the correct type of each arg.
+ // If the last argument is declared as variadic, then we need
+ // a minimum number of args to be required. Otherwise it has to
+ // be an exact amount.
+ var pluralized;
+ if (signature[signature.length - 1].variadic) {
+ if (args.length < signature.length) {
+ pluralized = signature.length === 1 ? " argument" : " arguments";
+ throw new Error("ArgumentError: " + name + "() " +
+ "takes at least" + signature.length + pluralized +
+ " but received " + args.length);
+ }
+ } else if (args.length !== signature.length) {
+ pluralized = signature.length === 1 ? " argument" : " arguments";
+ throw new Error("ArgumentError: " + name + "() " +
+ "takes " + signature.length + pluralized +
+ " but received " + args.length);
+ }
+ var currentSpec;
+ var actualType;
+ var typeMatched;
+ for (var i = 0; i < signature.length; i++) {
+ typeMatched = false;
+ currentSpec = signature[i].types;
+ actualType = this._getTypeName(args[i]);
+ for (var j = 0; j < currentSpec.length; j++) {
+ if (this._typeMatches(actualType, currentSpec[j], args[i])) {
+ typeMatched = true;
+ break;
+ }
+ }
+ if (!typeMatched) {
+ var expected = currentSpec
+ .map(function(typeIdentifier) {
+ return TYPE_NAME_TABLE[typeIdentifier];
+ })
+ .join(',');
+ throw new Error("TypeError: " + name + "() " +
+ "expected argument " + (i + 1) +
+ " to be type " + expected +
+ " but received type " +
+ TYPE_NAME_TABLE[actualType] + " instead.");
+ }
+ }
+ },
- // Add properties assigned by `RegExp#exec`.
- if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
- result.index = array.index;
- result.input = array.input;
- }
- return result;
- }
+ _typeMatches: function(actual, expected, argValue) {
+ if (expected === TYPE_ANY) {
+ return true;
+ }
+ if (expected === TYPE_ARRAY_STRING ||
+ expected === TYPE_ARRAY_NUMBER ||
+ expected === TYPE_ARRAY) {
+ // The expected type can either just be array,
+ // or it can require a specific subtype (array of numbers).
+ //
+ // The simplest case is if "array" with no subtype is specified.
+ if (expected === TYPE_ARRAY) {
+ return actual === TYPE_ARRAY;
+ } else if (actual === TYPE_ARRAY) {
+ // Otherwise we need to check subtypes.
+ // I think this has potential to be improved.
+ var subtype;
+ if (expected === TYPE_ARRAY_NUMBER) {
+ subtype = TYPE_NUMBER;
+ } else if (expected === TYPE_ARRAY_STRING) {
+ subtype = TYPE_STRING;
+ }
+ for (var i = 0; i < argValue.length; i++) {
+ if (!this._typeMatches(
+ this._getTypeName(argValue[i]), subtype,
+ argValue[i])) {
+ return false;
+ }
+ }
+ return true;
+ }
+ } else {
+ return actual === expected;
+ }
+ },
+ _getTypeName: function(obj) {
+ switch (Object.prototype.toString.call(obj)) {
+ case "[object String]":
+ return TYPE_STRING;
+ case "[object Number]":
+ return TYPE_NUMBER;
+ case "[object Array]":
+ return TYPE_ARRAY;
+ case "[object Boolean]":
+ return TYPE_BOOLEAN;
+ case "[object Null]":
+ return TYPE_NULL;
+ case "[object Object]":
+ // Check if it's an expref. If it has, it's been
+ // tagged with a jmespathType attr of 'Expref';
+ if (obj.jmespathType === TOK_EXPREF) {
+ return TYPE_EXPREF;
+ } else {
+ return TYPE_OBJECT;
+ }
+ }
+ },
- /**
- * Initializes an object clone.
- *
- * @private
- * @param {Object} object The object to clone.
- * @returns {Object} Returns the initialized clone.
- */
- function initCloneObject(object) {
- return (typeof object.constructor == 'function' && !isPrototype(object))
- ? baseCreate(getPrototype(object))
- : {};
- }
+ _functionStartsWith: function(resolvedArgs) {
+ return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0;
+ },
- /**
- * Initializes an object clone based on its `toStringTag`.
- *
- * **Note:** This function only supports cloning values with tags of
- * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
- *
- * @private
- * @param {Object} object The object to clone.
- * @param {string} tag The `toStringTag` of the object to clone.
- * @param {boolean} [isDeep] Specify a deep clone.
- * @returns {Object} Returns the initialized clone.
- */
- function initCloneByTag(object, tag, isDeep) {
- var Ctor = object.constructor;
- switch (tag) {
- case arrayBufferTag:
- return cloneArrayBuffer(object);
+ _functionEndsWith: function(resolvedArgs) {
+ var searchStr = resolvedArgs[0];
+ var suffix = resolvedArgs[1];
+ return searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1;
+ },
- case boolTag:
- case dateTag:
- return new Ctor(+object);
+ _functionReverse: function(resolvedArgs) {
+ var typeName = this._getTypeName(resolvedArgs[0]);
+ if (typeName === TYPE_STRING) {
+ var originalStr = resolvedArgs[0];
+ var reversedStr = "";
+ for (var i = originalStr.length - 1; i >= 0; i--) {
+ reversedStr += originalStr[i];
+ }
+ return reversedStr;
+ } else {
+ var reversedArray = resolvedArgs[0].slice(0);
+ reversedArray.reverse();
+ return reversedArray;
+ }
+ },
- case dataViewTag:
- return cloneDataView(object, isDeep);
+ _functionAbs: function(resolvedArgs) {
+ return Math.abs(resolvedArgs[0]);
+ },
- case float32Tag: case float64Tag:
- case int8Tag: case int16Tag: case int32Tag:
- case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
- return cloneTypedArray(object, isDeep);
+ _functionCeil: function(resolvedArgs) {
+ return Math.ceil(resolvedArgs[0]);
+ },
- case mapTag:
- return new Ctor;
+ _functionAvg: function(resolvedArgs) {
+ var sum = 0;
+ var inputArray = resolvedArgs[0];
+ for (var i = 0; i < inputArray.length; i++) {
+ sum += inputArray[i];
+ }
+ return sum / inputArray.length;
+ },
- case numberTag:
- case stringTag:
- return new Ctor(object);
+ _functionContains: function(resolvedArgs) {
+ return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0;
+ },
- case regexpTag:
- return cloneRegExp(object);
+ _functionFloor: function(resolvedArgs) {
+ return Math.floor(resolvedArgs[0]);
+ },
- case setTag:
- return new Ctor;
+ _functionLength: function(resolvedArgs) {
+ if (!isObject(resolvedArgs[0])) {
+ return resolvedArgs[0].length;
+ } else {
+ // As far as I can tell, there's no way to get the length
+ // of an object without O(n) iteration through the object.
+ return Object.keys(resolvedArgs[0]).length;
+ }
+ },
- case symbolTag:
- return cloneSymbol(object);
+ _functionMap: function(resolvedArgs) {
+ var mapped = [];
+ var interpreter = this._interpreter;
+ var exprefNode = resolvedArgs[0];
+ var elements = resolvedArgs[1];
+ for (var i = 0; i < elements.length; i++) {
+ mapped.push(interpreter.visit(exprefNode, elements[i]));
}
- }
+ return mapped;
+ },
- /**
- * Inserts wrapper `details` in a comment at the top of the `source` body.
- *
- * @private
- * @param {string} source The source to modify.
- * @returns {Array} details The details to insert.
- * @returns {string} Returns the modified source.
- */
- function insertWrapDetails(source, details) {
- var length = details.length;
- if (!length) {
- return source;
+ _functionMerge: function(resolvedArgs) {
+ var merged = {};
+ for (var i = 0; i < resolvedArgs.length; i++) {
+ var current = resolvedArgs[i];
+ for (var key in current) {
+ merged[key] = current[key];
+ }
}
- var lastIndex = length - 1;
- details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];
- details = details.join(length > 2 ? ', ' : ' ');
- return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n');
- }
-
- /**
- * Checks if `value` is a flattenable `arguments` object or array.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
- */
- function isFlattenable(value) {
- return isArray(value) || isArguments(value) ||
- !!(spreadableSymbol && value && value[spreadableSymbol]);
- }
-
- /**
- * Checks if `value` is a valid array-like index.
- *
- * @private
- * @param {*} value The value to check.
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
- */
- function isIndex(value, length) {
- var type = typeof value;
- length = length == null ? MAX_SAFE_INTEGER : length;
-
- return !!length &&
- (type == 'number' ||
- (type != 'symbol' && reIsUint.test(value))) &&
- (value > -1 && value % 1 == 0 && value < length);
- }
+ return merged;
+ },
- /**
- * Checks if the given arguments are from an iteratee call.
- *
- * @private
- * @param {*} value The potential iteratee value argument.
- * @param {*} index The potential iteratee index or key argument.
- * @param {*} object The potential iteratee object argument.
- * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
- * else `false`.
- */
- function isIterateeCall(value, index, object) {
- if (!isObject(object)) {
- return false;
- }
- var type = typeof index;
- if (type == 'number'
- ? (isArrayLike(object) && isIndex(index, object.length))
- : (type == 'string' && index in object)
- ) {
- return eq(object[index], value);
+ _functionMax: function(resolvedArgs) {
+ if (resolvedArgs[0].length > 0) {
+ var typeName = this._getTypeName(resolvedArgs[0][0]);
+ if (typeName === TYPE_NUMBER) {
+ return Math.max.apply(Math, resolvedArgs[0]);
+ } else {
+ var elements = resolvedArgs[0];
+ var maxElement = elements[0];
+ for (var i = 1; i < elements.length; i++) {
+ if (maxElement.localeCompare(elements[i]) < 0) {
+ maxElement = elements[i];
+ }
+ }
+ return maxElement;
+ }
+ } else {
+ return null;
}
- return false;
- }
+ },
- /**
- * Checks if `value` is a property name and not a property path.
- *
- * @private
- * @param {*} value The value to check.
- * @param {Object} [object] The object to query keys on.
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
- */
- function isKey(value, object) {
- if (isArray(value)) {
- return false;
- }
- var type = typeof value;
- if (type == 'number' || type == 'symbol' || type == 'boolean' ||
- value == null || isSymbol(value)) {
- return true;
+ _functionMin: function(resolvedArgs) {
+ if (resolvedArgs[0].length > 0) {
+ var typeName = this._getTypeName(resolvedArgs[0][0]);
+ if (typeName === TYPE_NUMBER) {
+ return Math.min.apply(Math, resolvedArgs[0]);
+ } else {
+ var elements = resolvedArgs[0];
+ var minElement = elements[0];
+ for (var i = 1; i < elements.length; i++) {
+ if (elements[i].localeCompare(minElement) < 0) {
+ minElement = elements[i];
+ }
+ }
+ return minElement;
+ }
+ } else {
+ return null;
}
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
- (object != null && value in Object(object));
- }
+ },
- /**
- * Checks if `value` is suitable for use as unique object key.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
- */
- function isKeyable(value) {
- var type = typeof value;
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
- ? (value !== '__proto__')
- : (value === null);
- }
-
- /**
- * Checks if `func` has a lazy counterpart.
- *
- * @private
- * @param {Function} func The function to check.
- * @returns {boolean} Returns `true` if `func` has a lazy counterpart,
- * else `false`.
- */
- function isLaziable(func) {
- var funcName = getFuncName(func),
- other = lodash[funcName];
-
- if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {
- return false;
- }
- if (func === other) {
- return true;
+ _functionSum: function(resolvedArgs) {
+ var sum = 0;
+ var listToSum = resolvedArgs[0];
+ for (var i = 0; i < listToSum.length; i++) {
+ sum += listToSum[i];
}
- var data = getData(other);
- return !!data && func === data[0];
- }
+ return sum;
+ },
- /**
- * Checks if `func` has its source masked.
- *
- * @private
- * @param {Function} func The function to check.
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
- */
- function isMasked(func) {
- return !!maskSrcKey && (maskSrcKey in func);
- }
+ _functionType: function(resolvedArgs) {
+ switch (this._getTypeName(resolvedArgs[0])) {
+ case TYPE_NUMBER:
+ return "number";
+ case TYPE_STRING:
+ return "string";
+ case TYPE_ARRAY:
+ return "array";
+ case TYPE_OBJECT:
+ return "object";
+ case TYPE_BOOLEAN:
+ return "boolean";
+ case TYPE_EXPREF:
+ return "expref";
+ case TYPE_NULL:
+ return "null";
+ }
+ },
- /**
- * Checks if `func` is capable of being masked.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `func` is maskable, else `false`.
- */
- var isMaskable = coreJsData ? isFunction : stubFalse;
+ _functionKeys: function(resolvedArgs) {
+ return Object.keys(resolvedArgs[0]);
+ },
- /**
- * Checks if `value` is likely a prototype object.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
- */
- function isPrototype(value) {
- var Ctor = value && value.constructor,
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
+ _functionValues: function(resolvedArgs) {
+ var obj = resolvedArgs[0];
+ var keys = Object.keys(obj);
+ var values = [];
+ for (var i = 0; i < keys.length; i++) {
+ values.push(obj[keys[i]]);
+ }
+ return values;
+ },
- return value === proto;
- }
+ _functionJoin: function(resolvedArgs) {
+ var joinChar = resolvedArgs[0];
+ var listJoin = resolvedArgs[1];
+ return listJoin.join(joinChar);
+ },
- /**
- * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` if suitable for strict
- * equality comparisons, else `false`.
- */
- function isStrictComparable(value) {
- return value === value && !isObject(value);
- }
+ _functionToArray: function(resolvedArgs) {
+ if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) {
+ return resolvedArgs[0];
+ } else {
+ return [resolvedArgs[0]];
+ }
+ },
- /**
- * A specialized version of `matchesProperty` for source values suitable
- * for strict equality comparisons, i.e. `===`.
- *
- * @private
- * @param {string} key The key of the property to get.
- * @param {*} srcValue The value to match.
- * @returns {Function} Returns the new spec function.
- */
- function matchesStrictComparable(key, srcValue) {
- return function(object) {
- if (object == null) {
- return false;
+ _functionToString: function(resolvedArgs) {
+ if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) {
+ return resolvedArgs[0];
+ } else {
+ return JSON.stringify(resolvedArgs[0]);
}
- return object[key] === srcValue &&
- (srcValue !== undefined || (key in Object(object)));
- };
- }
+ },
- /**
- * A specialized version of `_.memoize` which clears the memoized function's
- * cache when it exceeds `MAX_MEMOIZE_SIZE`.
- *
- * @private
- * @param {Function} func The function to have its output memoized.
- * @returns {Function} Returns the new memoized function.
- */
- function memoizeCapped(func) {
- var result = memoize(func, function(key) {
- if (cache.size === MAX_MEMOIZE_SIZE) {
- cache.clear();
+ _functionToNumber: function(resolvedArgs) {
+ var typeName = this._getTypeName(resolvedArgs[0]);
+ var convertedValue;
+ if (typeName === TYPE_NUMBER) {
+ return resolvedArgs[0];
+ } else if (typeName === TYPE_STRING) {
+ convertedValue = +resolvedArgs[0];
+ if (!isNaN(convertedValue)) {
+ return convertedValue;
+ }
}
- return key;
- });
+ return null;
+ },
- var cache = result.cache;
- return result;
- }
+ _functionNotNull: function(resolvedArgs) {
+ for (var i = 0; i < resolvedArgs.length; i++) {
+ if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) {
+ return resolvedArgs[i];
+ }
+ }
+ return null;
+ },
- /**
- * Merges the function metadata of `source` into `data`.
- *
- * Merging metadata reduces the number of wrappers used to invoke a function.
- * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`
- * may be applied regardless of execution order. Methods like `_.ary` and
- * `_.rearg` modify function arguments, making the order in which they are
- * executed important, preventing the merging of metadata. However, we make
- * an exception for a safe combined case where curried functions have `_.ary`
- * and or `_.rearg` applied.
- *
- * @private
- * @param {Array} data The destination metadata.
- * @param {Array} source The source metadata.
- * @returns {Array} Returns `data`.
- */
- function mergeData(data, source) {
- var bitmask = data[1],
- srcBitmask = source[1],
- newBitmask = bitmask | srcBitmask,
- isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);
+ _functionSort: function(resolvedArgs) {
+ var sortedArray = resolvedArgs[0].slice(0);
+ sortedArray.sort();
+ return sortedArray;
+ },
- var isCombo =
- ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||
- ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||
- ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));
+ _functionSortBy: function(resolvedArgs) {
+ var sortedArray = resolvedArgs[0].slice(0);
+ if (sortedArray.length === 0) {
+ return sortedArray;
+ }
+ var interpreter = this._interpreter;
+ var exprefNode = resolvedArgs[1];
+ var requiredType = this._getTypeName(
+ interpreter.visit(exprefNode, sortedArray[0]));
+ if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) {
+ throw new Error("TypeError");
+ }
+ var that = this;
+ // In order to get a stable sort out of an unstable
+ // sort algorithm, we decorate/sort/undecorate (DSU)
+ // by creating a new list of [index, element] pairs.
+ // In the cmp function, if the evaluated elements are
+ // equal, then the index will be used as the tiebreaker.
+ // After the decorated list has been sorted, it will be
+ // undecorated to extract the original elements.
+ var decorated = [];
+ for (var i = 0; i < sortedArray.length; i++) {
+ decorated.push([i, sortedArray[i]]);
+ }
+ decorated.sort(function(a, b) {
+ var exprA = interpreter.visit(exprefNode, a[1]);
+ var exprB = interpreter.visit(exprefNode, b[1]);
+ if (that._getTypeName(exprA) !== requiredType) {
+ throw new Error(
+ "TypeError: expected " + requiredType + ", received " +
+ that._getTypeName(exprA));
+ } else if (that._getTypeName(exprB) !== requiredType) {
+ throw new Error(
+ "TypeError: expected " + requiredType + ", received " +
+ that._getTypeName(exprB));
+ }
+ if (exprA > exprB) {
+ return 1;
+ } else if (exprA < exprB) {
+ return -1;
+ } else {
+ // If they're equal compare the items by their
+ // order to maintain relative order of equal keys
+ // (i.e. to get a stable sort).
+ return a[0] - b[0];
+ }
+ });
+ // Undecorate: extract out the original list elements.
+ for (var j = 0; j < decorated.length; j++) {
+ sortedArray[j] = decorated[j][1];
+ }
+ return sortedArray;
+ },
- // Exit early if metadata can't be merged.
- if (!(isCommon || isCombo)) {
- return data;
- }
- // Use source `thisArg` if available.
- if (srcBitmask & WRAP_BIND_FLAG) {
- data[2] = source[2];
- // Set when currying a bound function.
- newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;
- }
- // Compose partial arguments.
- var value = source[3];
- if (value) {
- var partials = data[3];
- data[3] = partials ? composeArgs(partials, value, source[4]) : value;
- data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];
- }
- // Compose partial right arguments.
- value = source[5];
- if (value) {
- partials = data[5];
- data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;
- data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];
- }
- // Use source `argPos` if available.
- value = source[7];
- if (value) {
- data[7] = value;
- }
- // Use source `ary` if it's smaller.
- if (srcBitmask & WRAP_ARY_FLAG) {
- data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);
- }
- // Use source `arity` if one is not provided.
- if (data[9] == null) {
- data[9] = source[9];
+ _functionMaxBy: function(resolvedArgs) {
+ var exprefNode = resolvedArgs[1];
+ var resolvedArray = resolvedArgs[0];
+ var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]);
+ var maxNumber = -Infinity;
+ var maxRecord;
+ var current;
+ for (var i = 0; i < resolvedArray.length; i++) {
+ current = keyFunction(resolvedArray[i]);
+ if (current > maxNumber) {
+ maxNumber = current;
+ maxRecord = resolvedArray[i];
+ }
}
- // Use source `func` and merge bitmasks.
- data[0] = source[0];
- data[1] = newBitmask;
-
- return data;
- }
+ return maxRecord;
+ },
- /**
- * This function is like
- * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
- * except that it includes inherited enumerable properties.
- *
- * @private
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property names.
- */
- function nativeKeysIn(object) {
- var result = [];
- if (object != null) {
- for (var key in Object(object)) {
- result.push(key);
+ _functionMinBy: function(resolvedArgs) {
+ var exprefNode = resolvedArgs[1];
+ var resolvedArray = resolvedArgs[0];
+ var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]);
+ var minNumber = Infinity;
+ var minRecord;
+ var current;
+ for (var i = 0; i < resolvedArray.length; i++) {
+ current = keyFunction(resolvedArray[i]);
+ if (current < minNumber) {
+ minNumber = current;
+ minRecord = resolvedArray[i];
}
}
- return result;
- }
-
- /**
- * Converts `value` to a string using `Object.prototype.toString`.
- *
- * @private
- * @param {*} value The value to convert.
- * @returns {string} Returns the converted string.
- */
- function objectToString(value) {
- return nativeObjectToString.call(value);
- }
-
- /**
- * A specialized version of `baseRest` which transforms the rest array.
- *
- * @private
- * @param {Function} func The function to apply a rest parameter to.
- * @param {number} [start=func.length-1] The start position of the rest parameter.
- * @param {Function} transform The rest array transform.
- * @returns {Function} Returns the new function.
- */
- function overRest(func, start, transform) {
- start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
- return function() {
- var args = arguments,
- index = -1,
- length = nativeMax(args.length - start, 0),
- array = Array(length);
+ return minRecord;
+ },
- while (++index < length) {
- array[index] = args[start + index];
- }
- index = -1;
- var otherArgs = Array(start + 1);
- while (++index < start) {
- otherArgs[index] = args[index];
+ createKeyFunction: function(exprefNode, allowedTypes) {
+ var that = this;
+ var interpreter = this._interpreter;
+ var keyFunc = function(x) {
+ var current = interpreter.visit(exprefNode, x);
+ if (allowedTypes.indexOf(that._getTypeName(current)) < 0) {
+ var msg = "TypeError: expected one of " + allowedTypes +
+ ", received " + that._getTypeName(current);
+ throw new Error(msg);
}
- otherArgs[start] = transform(array);
- return apply(func, this, otherArgs);
+ return current;
};
+ return keyFunc;
}
- /**
- * Gets the parent value at `path` of `object`.
- *
- * @private
- * @param {Object} object The object to query.
- * @param {Array} path The path to get the parent value of.
- * @returns {*} Returns the parent value.
- */
- function parent(object, path) {
- return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
- }
+ };
- /**
- * Reorder `array` according to the specified indexes where the element at
- * the first index is assigned as the first element, the element at
- * the second index is assigned as the second element, and so on.
- *
- * @private
- * @param {Array} array The array to reorder.
- * @param {Array} indexes The arranged array indexes.
- * @returns {Array} Returns `array`.
- */
- function reorder(array, indexes) {
- var arrLength = array.length,
- length = nativeMin(indexes.length, arrLength),
- oldArray = copyArray(array);
+ function compile(stream) {
+ var parser = new Parser();
+ var ast = parser.parse(stream);
+ return ast;
+ }
- while (length--) {
- var index = indexes[length];
- array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;
- }
- return array;
- }
+ function tokenize(stream) {
+ var lexer = new Lexer();
+ return lexer.tokenize(stream);
+ }
- /**
- * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
- *
- * @private
- * @param {Object} object The object to query.
- * @param {string} key The key of the property to get.
- * @returns {*} Returns the property value.
- */
- function safeGet(object, key) {
- if (key === 'constructor' && typeof object[key] === 'function') {
- return;
- }
+ function search(data, expression) {
+ var parser = new Parser();
+ // This needs to be improved. Both the interpreter and runtime depend on
+ // each other. The runtime needs the interpreter to support exprefs.
+ // There's likely a clean way to avoid the cyclic dependency.
+ var runtime = new Runtime();
+ var interpreter = new TreeInterpreter(runtime);
+ runtime._interpreter = interpreter;
+ var node = parser.parse(expression);
+ return interpreter.search(node, data);
+ }
- if (key == '__proto__') {
- return;
- }
+ exports.tokenize = tokenize;
+ exports.compile = compile;
+ exports.search = search;
+ exports.strictDeepEqual = strictDeepEqual;
+})( false ? 0 : exports);
- return object[key];
- }
- /**
- * Sets metadata for `func`.
- *
- * **Note:** If this function becomes hot, i.e. is invoked a lot in a short
- * period of time, it will trip its breaker and transition to an identity
- * function to avoid garbage collection pauses in V8. See
- * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)
- * for more details.
- *
- * @private
- * @param {Function} func The function to associate metadata with.
- * @param {*} data The metadata.
- * @returns {Function} Returns `func`.
- */
- var setData = shortOut(baseSetData);
+/***/ }),
- /**
- * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).
- *
- * @private
- * @param {Function} func The function to delay.
- * @param {number} wait The number of milliseconds to delay invocation.
- * @returns {number|Object} Returns the timer id or timeout object.
- */
- var setTimeout = ctxSetTimeout || function(func, wait) {
- return root.setTimeout(func, wait);
- };
+/***/ 92047:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * Sets the `toString` method of `func` to return `string`.
- *
- * @private
- * @param {Function} func The function to modify.
- * @param {Function} string The `toString` result.
- * @returns {Function} Returns `func`.
- */
- var setToString = shortOut(baseSetToString);
+var jws = __nccwpck_require__(33324);
- /**
- * Sets the `toString` method of `wrapper` to mimic the source of `reference`
- * with wrapper details in a comment at the top of the source body.
- *
- * @private
- * @param {Function} wrapper The function to modify.
- * @param {Function} reference The reference function.
- * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
- * @returns {Function} Returns `wrapper`.
- */
- function setWrapToString(wrapper, reference, bitmask) {
- var source = (reference + '');
- return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));
+module.exports = function (jwt, options) {
+ options = options || {};
+ var decoded = jws.decode(jwt, options);
+ if (!decoded) { return null; }
+ var payload = decoded.payload;
+
+ //try parse the payload
+ if(typeof payload === 'string') {
+ try {
+ var obj = JSON.parse(payload);
+ if(obj !== null && typeof obj === 'object') {
+ payload = obj;
+ }
+ } catch (e) { }
+ }
+
+ //return header if `complete` option is enabled. header includes claims
+ //such as `kid` and `alg` used to select the key within a JWKS needed to
+ //verify the signature
+ if (options.complete === true) {
+ return {
+ header: decoded.header,
+ payload: payload,
+ signature: decoded.signature
+ };
+ }
+ return payload;
+};
+
+
+/***/ }),
+
+/***/ 69653:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+module.exports = {
+ verify: __nccwpck_require__(60772),
+ sign: __nccwpck_require__(14912),
+ JsonWebTokenError: __nccwpck_require__(26248),
+ NotBeforeError: __nccwpck_require__(13650),
+ TokenExpiredError: __nccwpck_require__(41241),
+};
+
+Object.defineProperty(module.exports, "decode", ({
+ enumerable: false,
+ value: __nccwpck_require__(92047),
+}));
+
+
+/***/ }),
+
+/***/ 26248:
+/***/ ((module) => {
+
+var JsonWebTokenError = function (message, error) {
+ Error.call(this, message);
+ if(Error.captureStackTrace) {
+ Error.captureStackTrace(this, this.constructor);
+ }
+ this.name = 'JsonWebTokenError';
+ this.message = message;
+ if (error) this.inner = error;
+};
+
+JsonWebTokenError.prototype = Object.create(Error.prototype);
+JsonWebTokenError.prototype.constructor = JsonWebTokenError;
+
+module.exports = JsonWebTokenError;
+
+
+/***/ }),
+
+/***/ 13650:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var JsonWebTokenError = __nccwpck_require__(26248);
+
+var NotBeforeError = function (message, date) {
+ JsonWebTokenError.call(this, message);
+ this.name = 'NotBeforeError';
+ this.date = date;
+};
+
+NotBeforeError.prototype = Object.create(JsonWebTokenError.prototype);
+
+NotBeforeError.prototype.constructor = NotBeforeError;
+
+module.exports = NotBeforeError;
+
+/***/ }),
+
+/***/ 41241:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var JsonWebTokenError = __nccwpck_require__(26248);
+
+var TokenExpiredError = function (message, expiredAt) {
+ JsonWebTokenError.call(this, message);
+ this.name = 'TokenExpiredError';
+ this.expiredAt = expiredAt;
+};
+
+TokenExpiredError.prototype = Object.create(JsonWebTokenError.prototype);
+
+TokenExpiredError.prototype.constructor = TokenExpiredError;
+
+module.exports = TokenExpiredError;
+
+/***/ }),
+
+/***/ 51136:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const semver = __nccwpck_require__(62088);
+
+module.exports = semver.satisfies(process.version, '>=15.7.0');
+
+
+/***/ }),
+
+/***/ 3948:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var semver = __nccwpck_require__(62088);
+
+module.exports = semver.satisfies(process.version, '^6.12.0 || >=8.0.0');
+
+
+/***/ }),
+
+/***/ 45318:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const semver = __nccwpck_require__(62088);
+
+module.exports = semver.satisfies(process.version, '>=16.9.0');
+
+
+/***/ }),
+
+/***/ 96688:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+var ms = __nccwpck_require__(70744);
+
+module.exports = function (time, iat) {
+ var timestamp = iat || Math.floor(Date.now() / 1000);
+
+ if (typeof time === 'string') {
+ var milliseconds = ms(time);
+ if (typeof milliseconds === 'undefined') {
+ return;
}
+ return Math.floor(timestamp + milliseconds / 1000);
+ } else if (typeof time === 'number') {
+ return timestamp + time;
+ } else {
+ return;
+ }
- /**
- * Creates a function that'll short out and invoke `identity` instead
- * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
- * milliseconds.
- *
- * @private
- * @param {Function} func The function to restrict.
- * @returns {Function} Returns the new shortable function.
- */
- function shortOut(func) {
- var count = 0,
- lastCalled = 0;
+};
- return function() {
- var stamp = nativeNow(),
- remaining = HOT_SPAN - (stamp - lastCalled);
+/***/ }),
- lastCalled = stamp;
- if (remaining > 0) {
- if (++count >= HOT_COUNT) {
- return arguments[0];
- }
- } else {
- count = 0;
+/***/ 91006:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const ASYMMETRIC_KEY_DETAILS_SUPPORTED = __nccwpck_require__(51136);
+const RSA_PSS_KEY_DETAILS_SUPPORTED = __nccwpck_require__(45318);
+
+const allowedAlgorithmsForKeys = {
+ 'ec': ['ES256', 'ES384', 'ES512'],
+ 'rsa': ['RS256', 'PS256', 'RS384', 'PS384', 'RS512', 'PS512'],
+ 'rsa-pss': ['PS256', 'PS384', 'PS512']
+};
+
+const allowedCurves = {
+ ES256: 'prime256v1',
+ ES384: 'secp384r1',
+ ES512: 'secp521r1',
+};
+
+module.exports = function(algorithm, key) {
+ if (!algorithm || !key) return;
+
+ const keyType = key.asymmetricKeyType;
+ if (!keyType) return;
+
+ const allowedAlgorithms = allowedAlgorithmsForKeys[keyType];
+
+ if (!allowedAlgorithms) {
+ throw new Error(`Unknown key type "${keyType}".`);
+ }
+
+ if (!allowedAlgorithms.includes(algorithm)) {
+ throw new Error(`"alg" parameter for "${keyType}" key type must be one of: ${allowedAlgorithms.join(', ')}.`)
+ }
+
+ /*
+ * Ignore the next block from test coverage because it gets executed
+ * conditionally depending on the Node version. Not ignoring it would
+ * prevent us from reaching the target % of coverage for versions of
+ * Node under 15.7.0.
+ */
+ /* istanbul ignore next */
+ if (ASYMMETRIC_KEY_DETAILS_SUPPORTED) {
+ switch (keyType) {
+ case 'ec':
+ const keyCurve = key.asymmetricKeyDetails.namedCurve;
+ const allowedCurve = allowedCurves[algorithm];
+
+ if (keyCurve !== allowedCurve) {
+ throw new Error(`"alg" parameter "${algorithm}" requires curve "${allowedCurve}".`);
+ }
+ break;
+
+ case 'rsa-pss':
+ if (RSA_PSS_KEY_DETAILS_SUPPORTED) {
+ const length = parseInt(algorithm.slice(-3), 10);
+ const { hashAlgorithm, mgf1HashAlgorithm, saltLength } = key.asymmetricKeyDetails;
+
+ if (hashAlgorithm !== `sha${length}` || mgf1HashAlgorithm !== hashAlgorithm) {
+ throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${algorithm}.`);
}
- return func.apply(undefined, arguments);
- };
+
+ if (saltLength !== undefined && saltLength > length >> 3) {
+ throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${algorithm}.`)
+ }
+ }
+ break;
}
+ }
+}
- /**
- * A specialized version of `_.shuffle` which mutates and sets the size of `array`.
- *
- * @private
- * @param {Array} array The array to shuffle.
- * @param {number} [size=array.length] The size of `array`.
- * @returns {Array} Returns `array`.
- */
- function shuffleSelf(array, size) {
- var index = -1,
- length = array.length,
- lastIndex = length - 1;
- size = size === undefined ? length : size;
- while (++index < size) {
- var rand = baseRandom(index, lastIndex),
- value = array[rand];
+/***/ }),
- array[rand] = array[index];
- array[index] = value;
+/***/ 14912:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const timespan = __nccwpck_require__(96688);
+const PS_SUPPORTED = __nccwpck_require__(3948);
+const validateAsymmetricKey = __nccwpck_require__(91006);
+const jws = __nccwpck_require__(33324);
+const {includes, isBoolean, isInteger, isNumber, isPlainObject, isString, once} = __nccwpck_require__(52356)
+const { KeyObject, createSecretKey, createPrivateKey } = __nccwpck_require__(76982)
+
+const SUPPORTED_ALGS = ['RS256', 'RS384', 'RS512', 'ES256', 'ES384', 'ES512', 'HS256', 'HS384', 'HS512', 'none'];
+if (PS_SUPPORTED) {
+ SUPPORTED_ALGS.splice(3, 0, 'PS256', 'PS384', 'PS512');
+}
+
+const sign_options_schema = {
+ expiresIn: { isValid: function(value) { return isInteger(value) || (isString(value) && value); }, message: '"expiresIn" should be a number of seconds or string representing a timespan' },
+ notBefore: { isValid: function(value) { return isInteger(value) || (isString(value) && value); }, message: '"notBefore" should be a number of seconds or string representing a timespan' },
+ audience: { isValid: function(value) { return isString(value) || Array.isArray(value); }, message: '"audience" must be a string or array' },
+ algorithm: { isValid: includes.bind(null, SUPPORTED_ALGS), message: '"algorithm" must be a valid string enum value' },
+ header: { isValid: isPlainObject, message: '"header" must be an object' },
+ encoding: { isValid: isString, message: '"encoding" must be a string' },
+ issuer: { isValid: isString, message: '"issuer" must be a string' },
+ subject: { isValid: isString, message: '"subject" must be a string' },
+ jwtid: { isValid: isString, message: '"jwtid" must be a string' },
+ noTimestamp: { isValid: isBoolean, message: '"noTimestamp" must be a boolean' },
+ keyid: { isValid: isString, message: '"keyid" must be a string' },
+ mutatePayload: { isValid: isBoolean, message: '"mutatePayload" must be a boolean' },
+ allowInsecureKeySizes: { isValid: isBoolean, message: '"allowInsecureKeySizes" must be a boolean'},
+ allowInvalidAsymmetricKeyTypes: { isValid: isBoolean, message: '"allowInvalidAsymmetricKeyTypes" must be a boolean'}
+};
+
+const registered_claims_schema = {
+ iat: { isValid: isNumber, message: '"iat" should be a number of seconds' },
+ exp: { isValid: isNumber, message: '"exp" should be a number of seconds' },
+ nbf: { isValid: isNumber, message: '"nbf" should be a number of seconds' }
+};
+
+function validate(schema, allowUnknown, object, parameterName) {
+ if (!isPlainObject(object)) {
+ throw new Error('Expected "' + parameterName + '" to be a plain object.');
+ }
+ Object.keys(object)
+ .forEach(function(key) {
+ const validator = schema[key];
+ if (!validator) {
+ if (!allowUnknown) {
+ throw new Error('"' + key + '" is not allowed in "' + parameterName + '"');
+ }
+ return;
}
- array.length = size;
- return array;
+ if (!validator.isValid(object[key])) {
+ throw new Error(validator.message);
+ }
+ });
+}
+
+function validateOptions(options) {
+ return validate(sign_options_schema, false, options, 'options');
+}
+
+function validatePayload(payload) {
+ return validate(registered_claims_schema, true, payload, 'payload');
+}
+
+const options_to_payload = {
+ 'audience': 'aud',
+ 'issuer': 'iss',
+ 'subject': 'sub',
+ 'jwtid': 'jti'
+};
+
+const options_for_objects = [
+ 'expiresIn',
+ 'notBefore',
+ 'noTimestamp',
+ 'audience',
+ 'issuer',
+ 'subject',
+ 'jwtid',
+];
+
+module.exports = function (payload, secretOrPrivateKey, options, callback) {
+ if (typeof options === 'function') {
+ callback = options;
+ options = {};
+ } else {
+ options = options || {};
+ }
+
+ const isObjectPayload = typeof payload === 'object' &&
+ !Buffer.isBuffer(payload);
+
+ const header = Object.assign({
+ alg: options.algorithm || 'HS256',
+ typ: isObjectPayload ? 'JWT' : undefined,
+ kid: options.keyid
+ }, options.header);
+
+ function failure(err) {
+ if (callback) {
+ return callback(err);
}
+ throw err;
+ }
- /**
- * Converts `string` to a property path array.
- *
- * @private
- * @param {string} string The string to convert.
- * @returns {Array} Returns the property path array.
- */
- var stringToPath = memoizeCapped(function(string) {
- var result = [];
- if (string.charCodeAt(0) === 46 /* . */) {
- result.push('');
+ if (!secretOrPrivateKey && options.algorithm !== 'none') {
+ return failure(new Error('secretOrPrivateKey must have a value'));
+ }
+
+ if (secretOrPrivateKey != null && !(secretOrPrivateKey instanceof KeyObject)) {
+ try {
+ secretOrPrivateKey = createPrivateKey(secretOrPrivateKey)
+ } catch (_) {
+ try {
+ secretOrPrivateKey = createSecretKey(typeof secretOrPrivateKey === 'string' ? Buffer.from(secretOrPrivateKey) : secretOrPrivateKey)
+ } catch (_) {
+ return failure(new Error('secretOrPrivateKey is not valid key material'));
}
- string.replace(rePropName, function(match, number, quote, subString) {
- result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
- });
- return result;
+ }
+ }
+
+ if (header.alg.startsWith('HS') && secretOrPrivateKey.type !== 'secret') {
+ return failure(new Error((`secretOrPrivateKey must be a symmetric key when using ${header.alg}`)))
+ } else if (/^(?:RS|PS|ES)/.test(header.alg)) {
+ if (secretOrPrivateKey.type !== 'private') {
+ return failure(new Error((`secretOrPrivateKey must be an asymmetric key when using ${header.alg}`)))
+ }
+ if (!options.allowInsecureKeySizes &&
+ !header.alg.startsWith('ES') &&
+ secretOrPrivateKey.asymmetricKeyDetails !== undefined && //KeyObject.asymmetricKeyDetails is supported in Node 15+
+ secretOrPrivateKey.asymmetricKeyDetails.modulusLength < 2048) {
+ return failure(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`));
+ }
+ }
+
+ if (typeof payload === 'undefined') {
+ return failure(new Error('payload is required'));
+ } else if (isObjectPayload) {
+ try {
+ validatePayload(payload);
+ }
+ catch (error) {
+ return failure(error);
+ }
+ if (!options.mutatePayload) {
+ payload = Object.assign({},payload);
+ }
+ } else {
+ const invalid_options = options_for_objects.filter(function (opt) {
+ return typeof options[opt] !== 'undefined';
});
- /**
- * Converts `value` to a string key if it's not a string or symbol.
- *
- * @private
- * @param {*} value The value to inspect.
- * @returns {string|symbol} Returns the key.
- */
- function toKey(value) {
- if (typeof value == 'string' || isSymbol(value)) {
- return value;
- }
- var result = (value + '');
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
+ if (invalid_options.length > 0) {
+ return failure(new Error('invalid ' + invalid_options.join(',') + ' option for ' + (typeof payload ) + ' payload'));
}
+ }
- /**
- * Converts `func` to its source code.
- *
- * @private
- * @param {Function} func The function to convert.
- * @returns {string} Returns the source code.
- */
- function toSource(func) {
- if (func != null) {
- try {
- return funcToString.call(func);
- } catch (e) {}
- try {
- return (func + '');
- } catch (e) {}
+ if (typeof payload.exp !== 'undefined' && typeof options.expiresIn !== 'undefined') {
+ return failure(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));
+ }
+
+ if (typeof payload.nbf !== 'undefined' && typeof options.notBefore !== 'undefined') {
+ return failure(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));
+ }
+
+ try {
+ validateOptions(options);
+ }
+ catch (error) {
+ return failure(error);
+ }
+
+ if (!options.allowInvalidAsymmetricKeyTypes) {
+ try {
+ validateAsymmetricKey(header.alg, secretOrPrivateKey);
+ } catch (error) {
+ return failure(error);
+ }
+ }
+
+ const timestamp = payload.iat || Math.floor(Date.now() / 1000);
+
+ if (options.noTimestamp) {
+ delete payload.iat;
+ } else if (isObjectPayload) {
+ payload.iat = timestamp;
+ }
+
+ if (typeof options.notBefore !== 'undefined') {
+ try {
+ payload.nbf = timespan(options.notBefore, timestamp);
+ }
+ catch (err) {
+ return failure(err);
+ }
+ if (typeof payload.nbf === 'undefined') {
+ return failure(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));
+ }
+ }
+
+ if (typeof options.expiresIn !== 'undefined' && typeof payload === 'object') {
+ try {
+ payload.exp = timespan(options.expiresIn, timestamp);
+ }
+ catch (err) {
+ return failure(err);
+ }
+ if (typeof payload.exp === 'undefined') {
+ return failure(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));
+ }
+ }
+
+ Object.keys(options_to_payload).forEach(function (key) {
+ const claim = options_to_payload[key];
+ if (typeof options[key] !== 'undefined') {
+ if (typeof payload[claim] !== 'undefined') {
+ return failure(new Error('Bad "options.' + key + '" option. The payload already has an "' + claim + '" property.'));
}
- return '';
+ payload[claim] = options[key];
}
+ });
- /**
- * Updates wrapper `details` based on `bitmask` flags.
- *
- * @private
- * @returns {Array} details The details to modify.
- * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
- * @returns {Array} Returns `details`.
- */
- function updateWrapDetails(details, bitmask) {
- arrayEach(wrapFlags, function(pair) {
- var value = '_.' + pair[0];
- if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {
- details.push(value);
+ const encoding = options.encoding || 'utf8';
+
+ if (typeof callback === 'function') {
+ callback = callback && once(callback);
+
+ jws.createSign({
+ header: header,
+ privateKey: secretOrPrivateKey,
+ payload: payload,
+ encoding: encoding
+ }).once('error', callback)
+ .once('done', function (signature) {
+ // TODO: Remove in favor of the modulus length check before signing once node 15+ is the minimum supported version
+ if(!options.allowInsecureKeySizes && /^(?:RS|PS)/.test(header.alg) && signature.length < 256) {
+ return callback(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`))
}
+ callback(null, signature);
});
- return details.sort();
+ } else {
+ let signature = jws.sign({header: header, payload: payload, secret: secretOrPrivateKey, encoding: encoding});
+ // TODO: Remove in favor of the modulus length check before signing once node 15+ is the minimum supported version
+ if(!options.allowInsecureKeySizes && /^(?:RS|PS)/.test(header.alg) && signature.length < 256) {
+ throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${header.alg}`)
}
+ return signature
+ }
+};
- /**
- * Creates a clone of `wrapper`.
- *
- * @private
- * @param {Object} wrapper The wrapper to clone.
- * @returns {Object} Returns the cloned wrapper.
- */
- function wrapperClone(wrapper) {
- if (wrapper instanceof LazyWrapper) {
- return wrapper.clone();
- }
- var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);
- result.__actions__ = copyArray(wrapper.__actions__);
- result.__index__ = wrapper.__index__;
- result.__values__ = wrapper.__values__;
- return result;
+
+/***/ }),
+
+/***/ 60772:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const JsonWebTokenError = __nccwpck_require__(26248);
+const NotBeforeError = __nccwpck_require__(13650);
+const TokenExpiredError = __nccwpck_require__(41241);
+const decode = __nccwpck_require__(92047);
+const timespan = __nccwpck_require__(96688);
+const validateAsymmetricKey = __nccwpck_require__(91006);
+const PS_SUPPORTED = __nccwpck_require__(3948);
+const jws = __nccwpck_require__(33324);
+const {KeyObject, createSecretKey, createPublicKey} = __nccwpck_require__(76982);
+
+const PUB_KEY_ALGS = ['RS256', 'RS384', 'RS512'];
+const EC_KEY_ALGS = ['ES256', 'ES384', 'ES512'];
+const RSA_KEY_ALGS = ['RS256', 'RS384', 'RS512'];
+const HS_ALGS = ['HS256', 'HS384', 'HS512'];
+
+if (PS_SUPPORTED) {
+ PUB_KEY_ALGS.splice(PUB_KEY_ALGS.length, 0, 'PS256', 'PS384', 'PS512');
+ RSA_KEY_ALGS.splice(RSA_KEY_ALGS.length, 0, 'PS256', 'PS384', 'PS512');
+}
+
+module.exports = function (jwtString, secretOrPublicKey, options, callback) {
+ if ((typeof options === 'function') && !callback) {
+ callback = options;
+ options = {};
+ }
+
+ if (!options) {
+ options = {};
+ }
+
+ //clone this object since we are going to mutate it.
+ options = Object.assign({}, options);
+
+ let done;
+
+ if (callback) {
+ done = callback;
+ } else {
+ done = function(err, data) {
+ if (err) throw err;
+ return data;
+ };
+ }
+
+ if (options.clockTimestamp && typeof options.clockTimestamp !== 'number') {
+ return done(new JsonWebTokenError('clockTimestamp must be a number'));
+ }
+
+ if (options.nonce !== undefined && (typeof options.nonce !== 'string' || options.nonce.trim() === '')) {
+ return done(new JsonWebTokenError('nonce must be a non-empty string'));
+ }
+
+ if (options.allowInvalidAsymmetricKeyTypes !== undefined && typeof options.allowInvalidAsymmetricKeyTypes !== 'boolean') {
+ return done(new JsonWebTokenError('allowInvalidAsymmetricKeyTypes must be a boolean'));
+ }
+
+ const clockTimestamp = options.clockTimestamp || Math.floor(Date.now() / 1000);
+
+ if (!jwtString){
+ return done(new JsonWebTokenError('jwt must be provided'));
+ }
+
+ if (typeof jwtString !== 'string') {
+ return done(new JsonWebTokenError('jwt must be a string'));
+ }
+
+ const parts = jwtString.split('.');
+
+ if (parts.length !== 3){
+ return done(new JsonWebTokenError('jwt malformed'));
+ }
+
+ let decodedToken;
+
+ try {
+ decodedToken = decode(jwtString, { complete: true });
+ } catch(err) {
+ return done(err);
+ }
+
+ if (!decodedToken) {
+ return done(new JsonWebTokenError('invalid token'));
+ }
+
+ const header = decodedToken.header;
+ let getSecret;
+
+ if(typeof secretOrPublicKey === 'function') {
+ if(!callback) {
+ return done(new JsonWebTokenError('verify must be called asynchronous if secret or public key is provided as a callback'));
}
- /*------------------------------------------------------------------------*/
+ getSecret = secretOrPublicKey;
+ }
+ else {
+ getSecret = function(header, secretCallback) {
+ return secretCallback(null, secretOrPublicKey);
+ };
+ }
- /**
- * Creates an array of elements split into groups the length of `size`.
- * If `array` can't be split evenly, the final chunk will be the remaining
- * elements.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to process.
- * @param {number} [size=1] The length of each chunk
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Array} Returns the new array of chunks.
- * @example
- *
- * _.chunk(['a', 'b', 'c', 'd'], 2);
- * // => [['a', 'b'], ['c', 'd']]
- *
- * _.chunk(['a', 'b', 'c', 'd'], 3);
- * // => [['a', 'b', 'c'], ['d']]
- */
- function chunk(array, size, guard) {
- if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {
- size = 1;
+ return getSecret(header, function(err, secretOrPublicKey) {
+ if(err) {
+ return done(new JsonWebTokenError('error in secret or public key callback: ' + err.message));
+ }
+
+ const hasSignature = parts[2].trim() !== '';
+
+ if (!hasSignature && secretOrPublicKey){
+ return done(new JsonWebTokenError('jwt signature is required'));
+ }
+
+ if (hasSignature && !secretOrPublicKey) {
+ return done(new JsonWebTokenError('secret or public key must be provided'));
+ }
+
+ if (!hasSignature && !options.algorithms) {
+ return done(new JsonWebTokenError('please specify "none" in "algorithms" to verify unsigned tokens'));
+ }
+
+ if (secretOrPublicKey != null && !(secretOrPublicKey instanceof KeyObject)) {
+ try {
+ secretOrPublicKey = createPublicKey(secretOrPublicKey);
+ } catch (_) {
+ try {
+ secretOrPublicKey = createSecretKey(typeof secretOrPublicKey === 'string' ? Buffer.from(secretOrPublicKey) : secretOrPublicKey);
+ } catch (_) {
+ return done(new JsonWebTokenError('secretOrPublicKey is not valid key material'))
+ }
+ }
+ }
+
+ if (!options.algorithms) {
+ if (secretOrPublicKey.type === 'secret') {
+ options.algorithms = HS_ALGS;
+ } else if (['rsa', 'rsa-pss'].includes(secretOrPublicKey.asymmetricKeyType)) {
+ options.algorithms = RSA_KEY_ALGS
+ } else if (secretOrPublicKey.asymmetricKeyType === 'ec') {
+ options.algorithms = EC_KEY_ALGS
} else {
- size = nativeMax(toInteger(size), 0);
+ options.algorithms = PUB_KEY_ALGS
}
- var length = array == null ? 0 : array.length;
- if (!length || size < 1) {
- return [];
+ }
+
+ if (options.algorithms.indexOf(decodedToken.header.alg) === -1) {
+ return done(new JsonWebTokenError('invalid algorithm'));
+ }
+
+ if (header.alg.startsWith('HS') && secretOrPublicKey.type !== 'secret') {
+ return done(new JsonWebTokenError((`secretOrPublicKey must be a symmetric key when using ${header.alg}`)))
+ } else if (/^(?:RS|PS|ES)/.test(header.alg) && secretOrPublicKey.type !== 'public') {
+ return done(new JsonWebTokenError((`secretOrPublicKey must be an asymmetric key when using ${header.alg}`)))
+ }
+
+ if (!options.allowInvalidAsymmetricKeyTypes) {
+ try {
+ validateAsymmetricKey(header.alg, secretOrPublicKey);
+ } catch (e) {
+ return done(e);
}
- var index = 0,
- resIndex = 0,
- result = Array(nativeCeil(length / size));
+ }
- while (index < length) {
- result[resIndex++] = baseSlice(array, index, (index += size));
+ let valid;
+
+ try {
+ valid = jws.verify(jwtString, decodedToken.header.alg, secretOrPublicKey);
+ } catch (e) {
+ return done(e);
+ }
+
+ if (!valid) {
+ return done(new JsonWebTokenError('invalid signature'));
+ }
+
+ const payload = decodedToken.payload;
+
+ if (typeof payload.nbf !== 'undefined' && !options.ignoreNotBefore) {
+ if (typeof payload.nbf !== 'number') {
+ return done(new JsonWebTokenError('invalid nbf value'));
+ }
+ if (payload.nbf > clockTimestamp + (options.clockTolerance || 0)) {
+ return done(new NotBeforeError('jwt not active', new Date(payload.nbf * 1000)));
}
- return result;
}
- /**
- * Creates an array with all falsey values removed. The values `false`, `null`,
- * `0`, `""`, `undefined`, and `NaN` are falsey.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to compact.
- * @returns {Array} Returns the new array of filtered values.
- * @example
- *
- * _.compact([0, 1, false, 2, '', 3]);
- * // => [1, 2, 3]
- */
- function compact(array) {
- var index = -1,
- length = array == null ? 0 : array.length,
- resIndex = 0,
- result = [];
+ if (typeof payload.exp !== 'undefined' && !options.ignoreExpiration) {
+ if (typeof payload.exp !== 'number') {
+ return done(new JsonWebTokenError('invalid exp value'));
+ }
+ if (clockTimestamp >= payload.exp + (options.clockTolerance || 0)) {
+ return done(new TokenExpiredError('jwt expired', new Date(payload.exp * 1000)));
+ }
+ }
- while (++index < length) {
- var value = array[index];
- if (value) {
- result[resIndex++] = value;
- }
+ if (options.audience) {
+ const audiences = Array.isArray(options.audience) ? options.audience : [options.audience];
+ const target = Array.isArray(payload.aud) ? payload.aud : [payload.aud];
+
+ const match = target.some(function (targetAudience) {
+ return audiences.some(function (audience) {
+ return audience instanceof RegExp ? audience.test(targetAudience) : audience === targetAudience;
+ });
+ });
+
+ if (!match) {
+ return done(new JsonWebTokenError('jwt audience invalid. expected: ' + audiences.join(' or ')));
}
- return result;
}
- /**
- * Creates a new array concatenating `array` with any additional arrays
- * and/or values.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to concatenate.
- * @param {...*} [values] The values to concatenate.
- * @returns {Array} Returns the new concatenated array.
- * @example
- *
- * var array = [1];
- * var other = _.concat(array, 2, [3], [[4]]);
- *
- * console.log(other);
- * // => [1, 2, 3, [4]]
- *
- * console.log(array);
- * // => [1]
- */
- function concat() {
- var length = arguments.length;
- if (!length) {
- return [];
+ if (options.issuer) {
+ const invalid_issuer =
+ (typeof options.issuer === 'string' && payload.iss !== options.issuer) ||
+ (Array.isArray(options.issuer) && options.issuer.indexOf(payload.iss) === -1);
+
+ if (invalid_issuer) {
+ return done(new JsonWebTokenError('jwt issuer invalid. expected: ' + options.issuer));
}
- var args = Array(length - 1),
- array = arguments[0],
- index = length;
+ }
- while (index--) {
- args[index - 1] = arguments[index];
+ if (options.subject) {
+ if (payload.sub !== options.subject) {
+ return done(new JsonWebTokenError('jwt subject invalid. expected: ' + options.subject));
}
- return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
}
- /**
- * Creates an array of `array` values not included in the other given arrays
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * for equality comparisons. The order and references of result values are
- * determined by the first array.
- *
- * **Note:** Unlike `_.pullAll`, this method returns a new array.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {...Array} [values] The values to exclude.
- * @returns {Array} Returns the new array of filtered values.
- * @see _.without, _.xor
- * @example
- *
- * _.difference([2, 1], [2, 3]);
- * // => [1]
- */
- var difference = baseRest(function(array, values) {
- return isArrayLikeObject(array)
- ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))
- : [];
- });
-
- /**
- * This method is like `_.difference` except that it accepts `iteratee` which
- * is invoked for each element of `array` and `values` to generate the criterion
- * by which they're compared. The order and references of result values are
- * determined by the first array. The iteratee is invoked with one argument:
- * (value).
- *
- * **Note:** Unlike `_.pullAllBy`, this method returns a new array.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {...Array} [values] The values to exclude.
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
- * @returns {Array} Returns the new array of filtered values.
- * @example
- *
- * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);
- * // => [1.2]
- *
- * // The `_.property` iteratee shorthand.
- * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');
- * // => [{ 'x': 2 }]
- */
- var differenceBy = baseRest(function(array, values) {
- var iteratee = last(values);
- if (isArrayLikeObject(iteratee)) {
- iteratee = undefined;
- }
- return isArrayLikeObject(array)
- ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))
- : [];
- });
-
- /**
- * This method is like `_.difference` except that it accepts `comparator`
- * which is invoked to compare elements of `array` to `values`. The order and
- * references of result values are determined by the first array. The comparator
- * is invoked with two arguments: (arrVal, othVal).
- *
- * **Note:** Unlike `_.pullAllWith`, this method returns a new array.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {...Array} [values] The values to exclude.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new array of filtered values.
- * @example
- *
- * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
- *
- * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);
- * // => [{ 'x': 2, 'y': 1 }]
- */
- var differenceWith = baseRest(function(array, values) {
- var comparator = last(values);
- if (isArrayLikeObject(comparator)) {
- comparator = undefined;
- }
- return isArrayLikeObject(array)
- ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)
- : [];
- });
-
- /**
- * Creates a slice of `array` with `n` elements dropped from the beginning.
- *
- * @static
- * @memberOf _
- * @since 0.5.0
- * @category Array
- * @param {Array} array The array to query.
- * @param {number} [n=1] The number of elements to drop.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * _.drop([1, 2, 3]);
- * // => [2, 3]
- *
- * _.drop([1, 2, 3], 2);
- * // => [3]
- *
- * _.drop([1, 2, 3], 5);
- * // => []
- *
- * _.drop([1, 2, 3], 0);
- * // => [1, 2, 3]
- */
- function drop(array, n, guard) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return [];
+ if (options.jwtid) {
+ if (payload.jti !== options.jwtid) {
+ return done(new JsonWebTokenError('jwt jwtid invalid. expected: ' + options.jwtid));
}
- n = (guard || n === undefined) ? 1 : toInteger(n);
- return baseSlice(array, n < 0 ? 0 : n, length);
}
- /**
- * Creates a slice of `array` with `n` elements dropped from the end.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to query.
- * @param {number} [n=1] The number of elements to drop.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * _.dropRight([1, 2, 3]);
- * // => [1, 2]
- *
- * _.dropRight([1, 2, 3], 2);
- * // => [1]
- *
- * _.dropRight([1, 2, 3], 5);
- * // => []
- *
- * _.dropRight([1, 2, 3], 0);
- * // => [1, 2, 3]
- */
- function dropRight(array, n, guard) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return [];
+ if (options.nonce) {
+ if (payload.nonce !== options.nonce) {
+ return done(new JsonWebTokenError('jwt nonce invalid. expected: ' + options.nonce));
}
- n = (guard || n === undefined) ? 1 : toInteger(n);
- n = length - n;
- return baseSlice(array, 0, n < 0 ? 0 : n);
- }
-
- /**
- * Creates a slice of `array` excluding elements dropped from the end.
- * Elements are dropped until `predicate` returns falsey. The predicate is
- * invoked with three arguments: (value, index, array).
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to query.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'active': true },
- * { 'user': 'fred', 'active': false },
- * { 'user': 'pebbles', 'active': false }
- * ];
- *
- * _.dropRightWhile(users, function(o) { return !o.active; });
- * // => objects for ['barney']
- *
- * // The `_.matches` iteratee shorthand.
- * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });
- * // => objects for ['barney', 'fred']
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.dropRightWhile(users, ['active', false]);
- * // => objects for ['barney']
- *
- * // The `_.property` iteratee shorthand.
- * _.dropRightWhile(users, 'active');
- * // => objects for ['barney', 'fred', 'pebbles']
- */
- function dropRightWhile(array, predicate) {
- return (array && array.length)
- ? baseWhile(array, getIteratee(predicate, 3), true, true)
- : [];
- }
-
- /**
- * Creates a slice of `array` excluding elements dropped from the beginning.
- * Elements are dropped until `predicate` returns falsey. The predicate is
- * invoked with three arguments: (value, index, array).
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to query.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'active': false },
- * { 'user': 'fred', 'active': false },
- * { 'user': 'pebbles', 'active': true }
- * ];
- *
- * _.dropWhile(users, function(o) { return !o.active; });
- * // => objects for ['pebbles']
- *
- * // The `_.matches` iteratee shorthand.
- * _.dropWhile(users, { 'user': 'barney', 'active': false });
- * // => objects for ['fred', 'pebbles']
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.dropWhile(users, ['active', false]);
- * // => objects for ['pebbles']
- *
- * // The `_.property` iteratee shorthand.
- * _.dropWhile(users, 'active');
- * // => objects for ['barney', 'fred', 'pebbles']
- */
- function dropWhile(array, predicate) {
- return (array && array.length)
- ? baseWhile(array, getIteratee(predicate, 3), true)
- : [];
}
- /**
- * Fills elements of `array` with `value` from `start` up to, but not
- * including, `end`.
- *
- * **Note:** This method mutates `array`.
- *
- * @static
- * @memberOf _
- * @since 3.2.0
- * @category Array
- * @param {Array} array The array to fill.
- * @param {*} value The value to fill `array` with.
- * @param {number} [start=0] The start position.
- * @param {number} [end=array.length] The end position.
- * @returns {Array} Returns `array`.
- * @example
- *
- * var array = [1, 2, 3];
- *
- * _.fill(array, 'a');
- * console.log(array);
- * // => ['a', 'a', 'a']
- *
- * _.fill(Array(3), 2);
- * // => [2, 2, 2]
- *
- * _.fill([4, 6, 8, 10], '*', 1, 3);
- * // => [4, '*', '*', 10]
- */
- function fill(array, value, start, end) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return [];
- }
- if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {
- start = 0;
- end = length;
+ if (options.maxAge) {
+ if (typeof payload.iat !== 'number') {
+ return done(new JsonWebTokenError('iat required when maxAge is specified'));
}
- return baseFill(array, value, start, end);
- }
- /**
- * This method is like `_.find` except that it returns the index of the first
- * element `predicate` returns truthy for instead of the element itself.
- *
- * @static
- * @memberOf _
- * @since 1.1.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @param {number} [fromIndex=0] The index to search from.
- * @returns {number} Returns the index of the found element, else `-1`.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'active': false },
- * { 'user': 'fred', 'active': false },
- * { 'user': 'pebbles', 'active': true }
- * ];
- *
- * _.findIndex(users, function(o) { return o.user == 'barney'; });
- * // => 0
- *
- * // The `_.matches` iteratee shorthand.
- * _.findIndex(users, { 'user': 'fred', 'active': false });
- * // => 1
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.findIndex(users, ['active', false]);
- * // => 0
- *
- * // The `_.property` iteratee shorthand.
- * _.findIndex(users, 'active');
- * // => 2
- */
- function findIndex(array, predicate, fromIndex) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return -1;
+ const maxAgeTimestamp = timespan(options.maxAge, payload.iat);
+ if (typeof maxAgeTimestamp === 'undefined') {
+ return done(new JsonWebTokenError('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));
}
- var index = fromIndex == null ? 0 : toInteger(fromIndex);
- if (index < 0) {
- index = nativeMax(length + index, 0);
+ if (clockTimestamp >= maxAgeTimestamp + (options.clockTolerance || 0)) {
+ return done(new TokenExpiredError('maxAge exceeded', new Date(maxAgeTimestamp * 1000)));
}
- return baseFindIndex(array, getIteratee(predicate, 3), index);
}
- /**
- * This method is like `_.findIndex` except that it iterates over elements
- * of `collection` from right to left.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @param {number} [fromIndex=array.length-1] The index to search from.
- * @returns {number} Returns the index of the found element, else `-1`.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'active': true },
- * { 'user': 'fred', 'active': false },
- * { 'user': 'pebbles', 'active': false }
- * ];
- *
- * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });
- * // => 2
- *
- * // The `_.matches` iteratee shorthand.
- * _.findLastIndex(users, { 'user': 'barney', 'active': true });
- * // => 0
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.findLastIndex(users, ['active', false]);
- * // => 2
- *
- * // The `_.property` iteratee shorthand.
- * _.findLastIndex(users, 'active');
- * // => 0
- */
- function findLastIndex(array, predicate, fromIndex) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return -1;
- }
- var index = length - 1;
- if (fromIndex !== undefined) {
- index = toInteger(fromIndex);
- index = fromIndex < 0
- ? nativeMax(length + index, 0)
- : nativeMin(index, length - 1);
- }
- return baseFindIndex(array, getIteratee(predicate, 3), index, true);
- }
+ if (options.complete === true) {
+ const signature = decodedToken.signature;
- /**
- * Flattens `array` a single level deep.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to flatten.
- * @returns {Array} Returns the new flattened array.
- * @example
- *
- * _.flatten([1, [2, [3, [4]], 5]]);
- * // => [1, 2, [3, [4]], 5]
- */
- function flatten(array) {
- var length = array == null ? 0 : array.length;
- return length ? baseFlatten(array, 1) : [];
+ return done(null, {
+ header: header,
+ payload: payload,
+ signature: signature
+ });
}
- /**
- * Recursively flattens `array`.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to flatten.
- * @returns {Array} Returns the new flattened array.
- * @example
- *
- * _.flattenDeep([1, [2, [3, [4]], 5]]);
- * // => [1, 2, 3, 4, 5]
- */
- function flattenDeep(array) {
- var length = array == null ? 0 : array.length;
- return length ? baseFlatten(array, INFINITY) : [];
- }
+ return done(null, payload);
+ });
+};
- /**
- * Recursively flatten `array` up to `depth` times.
- *
- * @static
- * @memberOf _
- * @since 4.4.0
- * @category Array
- * @param {Array} array The array to flatten.
- * @param {number} [depth=1] The maximum recursion depth.
- * @returns {Array} Returns the new flattened array.
- * @example
- *
- * var array = [1, [2, [3, [4]], 5]];
- *
- * _.flattenDepth(array, 1);
- * // => [1, 2, [3, [4]], 5]
- *
- * _.flattenDepth(array, 2);
- * // => [1, 2, 3, [4], 5]
- */
- function flattenDepth(array, depth) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return [];
- }
- depth = depth === undefined ? 1 : toInteger(depth);
- return baseFlatten(array, depth);
- }
- /**
- * The inverse of `_.toPairs`; this method returns an object composed
- * from key-value `pairs`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} pairs The key-value pairs.
- * @returns {Object} Returns the new object.
- * @example
- *
- * _.fromPairs([['a', 1], ['b', 2]]);
- * // => { 'a': 1, 'b': 2 }
- */
- function fromPairs(pairs) {
- var index = -1,
- length = pairs == null ? 0 : pairs.length,
- result = {};
+/***/ }),
- while (++index < length) {
- var pair = pairs[index];
- result[pair[0]] = pair[1];
- }
- return result;
- }
+/***/ 38622:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * Gets the first element of `array`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @alias first
- * @category Array
- * @param {Array} array The array to query.
- * @returns {*} Returns the first element of `array`.
- * @example
- *
- * _.head([1, 2, 3]);
- * // => 1
- *
- * _.head([]);
- * // => undefined
- */
- function head(array) {
- return (array && array.length) ? array[0] : undefined;
- }
+var Buffer = (__nccwpck_require__(93058).Buffer);
+var crypto = __nccwpck_require__(76982);
+var formatEcdsa = __nccwpck_require__(325);
+var util = __nccwpck_require__(39023);
- /**
- * Gets the index at which the first occurrence of `value` is found in `array`
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * for equality comparisons. If `fromIndex` is negative, it's used as the
- * offset from the end of `array`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {*} value The value to search for.
- * @param {number} [fromIndex=0] The index to search from.
- * @returns {number} Returns the index of the matched value, else `-1`.
- * @example
- *
- * _.indexOf([1, 2, 1, 2], 2);
- * // => 1
- *
- * // Search from the `fromIndex`.
- * _.indexOf([1, 2, 1, 2], 2, 2);
- * // => 3
- */
- function indexOf(array, value, fromIndex) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return -1;
- }
- var index = fromIndex == null ? 0 : toInteger(fromIndex);
- if (index < 0) {
- index = nativeMax(length + index, 0);
- }
- return baseIndexOf(array, value, index);
- }
+var MSG_INVALID_ALGORITHM = '"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".'
+var MSG_INVALID_SECRET = 'secret must be a string or buffer';
+var MSG_INVALID_VERIFIER_KEY = 'key must be a string or a buffer';
+var MSG_INVALID_SIGNER_KEY = 'key must be a string, a buffer or an object';
- /**
- * Gets all but the last element of `array`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to query.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * _.initial([1, 2, 3]);
- * // => [1, 2]
- */
- function initial(array) {
- var length = array == null ? 0 : array.length;
- return length ? baseSlice(array, 0, -1) : [];
- }
+var supportsKeyObjects = typeof crypto.createPublicKey === 'function';
+if (supportsKeyObjects) {
+ MSG_INVALID_VERIFIER_KEY += ' or a KeyObject';
+ MSG_INVALID_SECRET += 'or a KeyObject';
+}
- /**
- * Creates an array of unique values that are included in all given arrays
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * for equality comparisons. The order and references of result values are
- * determined by the first array.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {...Array} [arrays] The arrays to inspect.
- * @returns {Array} Returns the new array of intersecting values.
- * @example
- *
- * _.intersection([2, 1], [2, 3]);
- * // => [2]
- */
- var intersection = baseRest(function(arrays) {
- var mapped = arrayMap(arrays, castArrayLikeObject);
- return (mapped.length && mapped[0] === arrays[0])
- ? baseIntersection(mapped)
- : [];
- });
+function checkIsPublicKey(key) {
+ if (Buffer.isBuffer(key)) {
+ return;
+ }
- /**
- * This method is like `_.intersection` except that it accepts `iteratee`
- * which is invoked for each element of each `arrays` to generate the criterion
- * by which they're compared. The order and references of result values are
- * determined by the first array. The iteratee is invoked with one argument:
- * (value).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {...Array} [arrays] The arrays to inspect.
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
- * @returns {Array} Returns the new array of intersecting values.
- * @example
- *
- * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);
- * // => [2.1]
- *
- * // The `_.property` iteratee shorthand.
- * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
- * // => [{ 'x': 1 }]
- */
- var intersectionBy = baseRest(function(arrays) {
- var iteratee = last(arrays),
- mapped = arrayMap(arrays, castArrayLikeObject);
+ if (typeof key === 'string') {
+ return;
+ }
- if (iteratee === last(mapped)) {
- iteratee = undefined;
- } else {
- mapped.pop();
- }
- return (mapped.length && mapped[0] === arrays[0])
- ? baseIntersection(mapped, getIteratee(iteratee, 2))
- : [];
- });
+ if (!supportsKeyObjects) {
+ throw typeError(MSG_INVALID_VERIFIER_KEY);
+ }
- /**
- * This method is like `_.intersection` except that it accepts `comparator`
- * which is invoked to compare elements of `arrays`. The order and references
- * of result values are determined by the first array. The comparator is
- * invoked with two arguments: (arrVal, othVal).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {...Array} [arrays] The arrays to inspect.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new array of intersecting values.
- * @example
- *
- * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
- * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
- *
- * _.intersectionWith(objects, others, _.isEqual);
- * // => [{ 'x': 1, 'y': 2 }]
- */
- var intersectionWith = baseRest(function(arrays) {
- var comparator = last(arrays),
- mapped = arrayMap(arrays, castArrayLikeObject);
+ if (typeof key !== 'object') {
+ throw typeError(MSG_INVALID_VERIFIER_KEY);
+ }
- comparator = typeof comparator == 'function' ? comparator : undefined;
- if (comparator) {
- mapped.pop();
- }
- return (mapped.length && mapped[0] === arrays[0])
- ? baseIntersection(mapped, undefined, comparator)
- : [];
- });
+ if (typeof key.type !== 'string') {
+ throw typeError(MSG_INVALID_VERIFIER_KEY);
+ }
- /**
- * Converts all elements in `array` into a string separated by `separator`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to convert.
- * @param {string} [separator=','] The element separator.
- * @returns {string} Returns the joined string.
- * @example
- *
- * _.join(['a', 'b', 'c'], '~');
- * // => 'a~b~c'
- */
- function join(array, separator) {
- return array == null ? '' : nativeJoin.call(array, separator);
- }
+ if (typeof key.asymmetricKeyType !== 'string') {
+ throw typeError(MSG_INVALID_VERIFIER_KEY);
+ }
- /**
- * Gets the last element of `array`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to query.
- * @returns {*} Returns the last element of `array`.
- * @example
- *
- * _.last([1, 2, 3]);
- * // => 3
- */
- function last(array) {
- var length = array == null ? 0 : array.length;
- return length ? array[length - 1] : undefined;
- }
+ if (typeof key.export !== 'function') {
+ throw typeError(MSG_INVALID_VERIFIER_KEY);
+ }
+};
- /**
- * This method is like `_.indexOf` except that it iterates over elements of
- * `array` from right to left.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {*} value The value to search for.
- * @param {number} [fromIndex=array.length-1] The index to search from.
- * @returns {number} Returns the index of the matched value, else `-1`.
- * @example
- *
- * _.lastIndexOf([1, 2, 1, 2], 2);
- * // => 3
- *
- * // Search from the `fromIndex`.
- * _.lastIndexOf([1, 2, 1, 2], 2, 2);
- * // => 1
- */
- function lastIndexOf(array, value, fromIndex) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return -1;
- }
- var index = length;
- if (fromIndex !== undefined) {
- index = toInteger(fromIndex);
- index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);
- }
- return value === value
- ? strictLastIndexOf(array, value, index)
- : baseFindIndex(array, baseIsNaN, index, true);
- }
+function checkIsPrivateKey(key) {
+ if (Buffer.isBuffer(key)) {
+ return;
+ }
- /**
- * Gets the element at index `n` of `array`. If `n` is negative, the nth
- * element from the end is returned.
- *
- * @static
- * @memberOf _
- * @since 4.11.0
- * @category Array
- * @param {Array} array The array to query.
- * @param {number} [n=0] The index of the element to return.
- * @returns {*} Returns the nth element of `array`.
- * @example
- *
- * var array = ['a', 'b', 'c', 'd'];
- *
- * _.nth(array, 1);
- * // => 'b'
- *
- * _.nth(array, -2);
- * // => 'c';
- */
- function nth(array, n) {
- return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;
- }
+ if (typeof key === 'string') {
+ return;
+ }
- /**
- * Removes all given values from `array` using
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * for equality comparisons.
- *
- * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`
- * to remove elements from an array by predicate.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @category Array
- * @param {Array} array The array to modify.
- * @param {...*} [values] The values to remove.
- * @returns {Array} Returns `array`.
- * @example
- *
- * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
- *
- * _.pull(array, 'a', 'c');
- * console.log(array);
- * // => ['b', 'b']
- */
- var pull = baseRest(pullAll);
+ if (typeof key === 'object') {
+ return;
+ }
- /**
- * This method is like `_.pull` except that it accepts an array of values to remove.
- *
- * **Note:** Unlike `_.difference`, this method mutates `array`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to modify.
- * @param {Array} values The values to remove.
- * @returns {Array} Returns `array`.
- * @example
- *
- * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
- *
- * _.pullAll(array, ['a', 'c']);
- * console.log(array);
- * // => ['b', 'b']
- */
- function pullAll(array, values) {
- return (array && array.length && values && values.length)
- ? basePullAll(array, values)
- : array;
- }
+ throw typeError(MSG_INVALID_SIGNER_KEY);
+};
- /**
- * This method is like `_.pullAll` except that it accepts `iteratee` which is
- * invoked for each element of `array` and `values` to generate the criterion
- * by which they're compared. The iteratee is invoked with one argument: (value).
- *
- * **Note:** Unlike `_.differenceBy`, this method mutates `array`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to modify.
- * @param {Array} values The values to remove.
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
- * @returns {Array} Returns `array`.
- * @example
- *
- * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
- *
- * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');
- * console.log(array);
- * // => [{ 'x': 2 }]
- */
- function pullAllBy(array, values, iteratee) {
- return (array && array.length && values && values.length)
- ? basePullAll(array, values, getIteratee(iteratee, 2))
- : array;
- }
+function checkIsSecretKey(key) {
+ if (Buffer.isBuffer(key)) {
+ return;
+ }
- /**
- * This method is like `_.pullAll` except that it accepts `comparator` which
- * is invoked to compare elements of `array` to `values`. The comparator is
- * invoked with two arguments: (arrVal, othVal).
- *
- * **Note:** Unlike `_.differenceWith`, this method mutates `array`.
- *
- * @static
- * @memberOf _
- * @since 4.6.0
- * @category Array
- * @param {Array} array The array to modify.
- * @param {Array} values The values to remove.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns `array`.
- * @example
- *
- * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
- *
- * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
- * console.log(array);
- * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
- */
- function pullAllWith(array, values, comparator) {
- return (array && array.length && values && values.length)
- ? basePullAll(array, values, undefined, comparator)
- : array;
- }
+ if (typeof key === 'string') {
+ return key;
+ }
- /**
- * Removes elements from `array` corresponding to `indexes` and returns an
- * array of removed elements.
- *
- * **Note:** Unlike `_.at`, this method mutates `array`.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to modify.
- * @param {...(number|number[])} [indexes] The indexes of elements to remove.
- * @returns {Array} Returns the new array of removed elements.
- * @example
- *
- * var array = ['a', 'b', 'c', 'd'];
- * var pulled = _.pullAt(array, [1, 3]);
- *
- * console.log(array);
- * // => ['a', 'c']
- *
- * console.log(pulled);
- * // => ['b', 'd']
- */
- var pullAt = flatRest(function(array, indexes) {
- var length = array == null ? 0 : array.length,
- result = baseAt(array, indexes);
+ if (!supportsKeyObjects) {
+ throw typeError(MSG_INVALID_SECRET);
+ }
- basePullAt(array, arrayMap(indexes, function(index) {
- return isIndex(index, length) ? +index : index;
- }).sort(compareAscending));
+ if (typeof key !== 'object') {
+ throw typeError(MSG_INVALID_SECRET);
+ }
- return result;
- });
+ if (key.type !== 'secret') {
+ throw typeError(MSG_INVALID_SECRET);
+ }
- /**
- * Removes all elements from `array` that `predicate` returns truthy for
- * and returns an array of the removed elements. The predicate is invoked
- * with three arguments: (value, index, array).
- *
- * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`
- * to pull elements from an array by value.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @category Array
- * @param {Array} array The array to modify.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the new array of removed elements.
- * @example
- *
- * var array = [1, 2, 3, 4];
- * var evens = _.remove(array, function(n) {
- * return n % 2 == 0;
- * });
- *
- * console.log(array);
- * // => [1, 3]
- *
- * console.log(evens);
- * // => [2, 4]
- */
- function remove(array, predicate) {
- var result = [];
- if (!(array && array.length)) {
- return result;
- }
- var index = -1,
- indexes = [],
- length = array.length;
+ if (typeof key.export !== 'function') {
+ throw typeError(MSG_INVALID_SECRET);
+ }
+}
- predicate = getIteratee(predicate, 3);
- while (++index < length) {
- var value = array[index];
- if (predicate(value, index, array)) {
- result.push(value);
- indexes.push(index);
- }
- }
- basePullAt(array, indexes);
- return result;
- }
+function fromBase64(base64) {
+ return base64
+ .replace(/=/g, '')
+ .replace(/\+/g, '-')
+ .replace(/\//g, '_');
+}
- /**
- * Reverses `array` so that the first element becomes the last, the second
- * element becomes the second to last, and so on.
- *
- * **Note:** This method mutates `array` and is based on
- * [`Array#reverse`](https://mdn.io/Array/reverse).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to modify.
- * @returns {Array} Returns `array`.
- * @example
- *
- * var array = [1, 2, 3];
- *
- * _.reverse(array);
- * // => [3, 2, 1]
- *
- * console.log(array);
- * // => [3, 2, 1]
- */
- function reverse(array) {
- return array == null ? array : nativeReverse.call(array);
- }
+function toBase64(base64url) {
+ base64url = base64url.toString();
- /**
- * Creates a slice of `array` from `start` up to, but not including, `end`.
- *
- * **Note:** This method is used instead of
- * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are
- * returned.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to slice.
- * @param {number} [start=0] The start position.
- * @param {number} [end=array.length] The end position.
- * @returns {Array} Returns the slice of `array`.
- */
- function slice(array, start, end) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return [];
- }
- if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {
- start = 0;
- end = length;
- }
- else {
- start = start == null ? 0 : toInteger(start);
- end = end === undefined ? length : toInteger(end);
- }
- return baseSlice(array, start, end);
+ var padding = 4 - base64url.length % 4;
+ if (padding !== 4) {
+ for (var i = 0; i < padding; ++i) {
+ base64url += '=';
}
+ }
- /**
- * Uses a binary search to determine the lowest index at which `value`
- * should be inserted into `array` in order to maintain its sort order.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The sorted array to inspect.
- * @param {*} value The value to evaluate.
- * @returns {number} Returns the index at which `value` should be inserted
- * into `array`.
- * @example
- *
- * _.sortedIndex([30, 50], 40);
- * // => 1
- */
- function sortedIndex(array, value) {
- return baseSortedIndex(array, value);
- }
+ return base64url
+ .replace(/\-/g, '+')
+ .replace(/_/g, '/');
+}
- /**
- * This method is like `_.sortedIndex` except that it accepts `iteratee`
- * which is invoked for `value` and each element of `array` to compute their
- * sort ranking. The iteratee is invoked with one argument: (value).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The sorted array to inspect.
- * @param {*} value The value to evaluate.
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
- * @returns {number} Returns the index at which `value` should be inserted
- * into `array`.
- * @example
- *
- * var objects = [{ 'x': 4 }, { 'x': 5 }];
- *
- * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
- * // => 0
- *
- * // The `_.property` iteratee shorthand.
- * _.sortedIndexBy(objects, { 'x': 4 }, 'x');
- * // => 0
- */
- function sortedIndexBy(array, value, iteratee) {
- return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));
- }
+function typeError(template) {
+ var args = [].slice.call(arguments, 1);
+ var errMsg = util.format.bind(util, template).apply(null, args);
+ return new TypeError(errMsg);
+}
- /**
- * This method is like `_.indexOf` except that it performs a binary
- * search on a sorted `array`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {*} value The value to search for.
- * @returns {number} Returns the index of the matched value, else `-1`.
- * @example
- *
- * _.sortedIndexOf([4, 5, 5, 5, 6], 5);
- * // => 1
- */
- function sortedIndexOf(array, value) {
- var length = array == null ? 0 : array.length;
- if (length) {
- var index = baseSortedIndex(array, value);
- if (index < length && eq(array[index], value)) {
- return index;
- }
- }
- return -1;
- }
+function bufferOrString(obj) {
+ return Buffer.isBuffer(obj) || typeof obj === 'string';
+}
- /**
- * This method is like `_.sortedIndex` except that it returns the highest
- * index at which `value` should be inserted into `array` in order to
- * maintain its sort order.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The sorted array to inspect.
- * @param {*} value The value to evaluate.
- * @returns {number} Returns the index at which `value` should be inserted
- * into `array`.
- * @example
- *
- * _.sortedLastIndex([4, 5, 5, 5, 6], 5);
- * // => 4
- */
- function sortedLastIndex(array, value) {
- return baseSortedIndex(array, value, true);
- }
+function normalizeInput(thing) {
+ if (!bufferOrString(thing))
+ thing = JSON.stringify(thing);
+ return thing;
+}
- /**
- * This method is like `_.sortedLastIndex` except that it accepts `iteratee`
- * which is invoked for `value` and each element of `array` to compute their
- * sort ranking. The iteratee is invoked with one argument: (value).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The sorted array to inspect.
- * @param {*} value The value to evaluate.
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
- * @returns {number} Returns the index at which `value` should be inserted
- * into `array`.
- * @example
- *
- * var objects = [{ 'x': 4 }, { 'x': 5 }];
- *
- * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
- * // => 1
- *
- * // The `_.property` iteratee shorthand.
- * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');
- * // => 1
- */
- function sortedLastIndexBy(array, value, iteratee) {
- return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);
- }
+function createHmacSigner(bits) {
+ return function sign(thing, secret) {
+ checkIsSecretKey(secret);
+ thing = normalizeInput(thing);
+ var hmac = crypto.createHmac('sha' + bits, secret);
+ var sig = (hmac.update(thing), hmac.digest('base64'))
+ return fromBase64(sig);
+ }
+}
- /**
- * This method is like `_.lastIndexOf` except that it performs a binary
- * search on a sorted `array`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {*} value The value to search for.
- * @returns {number} Returns the index of the matched value, else `-1`.
- * @example
- *
- * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);
- * // => 3
- */
- function sortedLastIndexOf(array, value) {
- var length = array == null ? 0 : array.length;
- if (length) {
- var index = baseSortedIndex(array, value, true) - 1;
- if (eq(array[index], value)) {
- return index;
- }
- }
- return -1;
- }
+var bufferEqual;
+var timingSafeEqual = 'timingSafeEqual' in crypto ? function timingSafeEqual(a, b) {
+ if (a.byteLength !== b.byteLength) {
+ return false;
+ }
- /**
- * This method is like `_.uniq` except that it's designed and optimized
- * for sorted arrays.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @returns {Array} Returns the new duplicate free array.
- * @example
- *
- * _.sortedUniq([1, 1, 2]);
- * // => [1, 2]
- */
- function sortedUniq(array) {
- return (array && array.length)
- ? baseSortedUniq(array)
- : [];
- }
+ return crypto.timingSafeEqual(a, b)
+} : function timingSafeEqual(a, b) {
+ if (!bufferEqual) {
+ bufferEqual = __nccwpck_require__(39732);
+ }
- /**
- * This method is like `_.uniqBy` except that it's designed and optimized
- * for sorted arrays.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {Function} [iteratee] The iteratee invoked per element.
- * @returns {Array} Returns the new duplicate free array.
- * @example
- *
- * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
- * // => [1.1, 2.3]
- */
- function sortedUniqBy(array, iteratee) {
- return (array && array.length)
- ? baseSortedUniq(array, getIteratee(iteratee, 2))
- : [];
- }
+ return bufferEqual(a, b)
+}
- /**
- * Gets all but the first element of `array`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to query.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * _.tail([1, 2, 3]);
- * // => [2, 3]
- */
- function tail(array) {
- var length = array == null ? 0 : array.length;
- return length ? baseSlice(array, 1, length) : [];
- }
+function createHmacVerifier(bits) {
+ return function verify(thing, signature, secret) {
+ var computedSig = createHmacSigner(bits)(thing, secret);
+ return timingSafeEqual(Buffer.from(signature), Buffer.from(computedSig));
+ }
+}
- /**
- * Creates a slice of `array` with `n` elements taken from the beginning.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to query.
- * @param {number} [n=1] The number of elements to take.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * _.take([1, 2, 3]);
- * // => [1]
- *
- * _.take([1, 2, 3], 2);
- * // => [1, 2]
- *
- * _.take([1, 2, 3], 5);
- * // => [1, 2, 3]
- *
- * _.take([1, 2, 3], 0);
- * // => []
- */
- function take(array, n, guard) {
- if (!(array && array.length)) {
- return [];
- }
- n = (guard || n === undefined) ? 1 : toInteger(n);
- return baseSlice(array, 0, n < 0 ? 0 : n);
- }
+function createKeySigner(bits) {
+ return function sign(thing, privateKey) {
+ checkIsPrivateKey(privateKey);
+ thing = normalizeInput(thing);
+ // Even though we are specifying "RSA" here, this works with ECDSA
+ // keys as well.
+ var signer = crypto.createSign('RSA-SHA' + bits);
+ var sig = (signer.update(thing), signer.sign(privateKey, 'base64'));
+ return fromBase64(sig);
+ }
+}
- /**
- * Creates a slice of `array` with `n` elements taken from the end.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to query.
- * @param {number} [n=1] The number of elements to take.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * _.takeRight([1, 2, 3]);
- * // => [3]
- *
- * _.takeRight([1, 2, 3], 2);
- * // => [2, 3]
- *
- * _.takeRight([1, 2, 3], 5);
- * // => [1, 2, 3]
- *
- * _.takeRight([1, 2, 3], 0);
- * // => []
- */
- function takeRight(array, n, guard) {
- var length = array == null ? 0 : array.length;
- if (!length) {
- return [];
- }
- n = (guard || n === undefined) ? 1 : toInteger(n);
- n = length - n;
- return baseSlice(array, n < 0 ? 0 : n, length);
- }
+function createKeyVerifier(bits) {
+ return function verify(thing, signature, publicKey) {
+ checkIsPublicKey(publicKey);
+ thing = normalizeInput(thing);
+ signature = toBase64(signature);
+ var verifier = crypto.createVerify('RSA-SHA' + bits);
+ verifier.update(thing);
+ return verifier.verify(publicKey, signature, 'base64');
+ }
+}
- /**
- * Creates a slice of `array` with elements taken from the end. Elements are
- * taken until `predicate` returns falsey. The predicate is invoked with
- * three arguments: (value, index, array).
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to query.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'active': true },
- * { 'user': 'fred', 'active': false },
- * { 'user': 'pebbles', 'active': false }
- * ];
- *
- * _.takeRightWhile(users, function(o) { return !o.active; });
- * // => objects for ['fred', 'pebbles']
- *
- * // The `_.matches` iteratee shorthand.
- * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });
- * // => objects for ['pebbles']
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.takeRightWhile(users, ['active', false]);
- * // => objects for ['fred', 'pebbles']
- *
- * // The `_.property` iteratee shorthand.
- * _.takeRightWhile(users, 'active');
- * // => []
- */
- function takeRightWhile(array, predicate) {
- return (array && array.length)
- ? baseWhile(array, getIteratee(predicate, 3), false, true)
- : [];
- }
+function createPSSKeySigner(bits) {
+ return function sign(thing, privateKey) {
+ checkIsPrivateKey(privateKey);
+ thing = normalizeInput(thing);
+ var signer = crypto.createSign('RSA-SHA' + bits);
+ var sig = (signer.update(thing), signer.sign({
+ key: privateKey,
+ padding: crypto.constants.RSA_PKCS1_PSS_PADDING,
+ saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST
+ }, 'base64'));
+ return fromBase64(sig);
+ }
+}
- /**
- * Creates a slice of `array` with elements taken from the beginning. Elements
- * are taken until `predicate` returns falsey. The predicate is invoked with
- * three arguments: (value, index, array).
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Array
- * @param {Array} array The array to query.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the slice of `array`.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'active': false },
- * { 'user': 'fred', 'active': false },
- * { 'user': 'pebbles', 'active': true }
- * ];
- *
- * _.takeWhile(users, function(o) { return !o.active; });
- * // => objects for ['barney', 'fred']
- *
- * // The `_.matches` iteratee shorthand.
- * _.takeWhile(users, { 'user': 'barney', 'active': false });
- * // => objects for ['barney']
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.takeWhile(users, ['active', false]);
- * // => objects for ['barney', 'fred']
- *
- * // The `_.property` iteratee shorthand.
- * _.takeWhile(users, 'active');
- * // => []
- */
- function takeWhile(array, predicate) {
- return (array && array.length)
- ? baseWhile(array, getIteratee(predicate, 3))
- : [];
- }
+function createPSSKeyVerifier(bits) {
+ return function verify(thing, signature, publicKey) {
+ checkIsPublicKey(publicKey);
+ thing = normalizeInput(thing);
+ signature = toBase64(signature);
+ var verifier = crypto.createVerify('RSA-SHA' + bits);
+ verifier.update(thing);
+ return verifier.verify({
+ key: publicKey,
+ padding: crypto.constants.RSA_PKCS1_PSS_PADDING,
+ saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST
+ }, signature, 'base64');
+ }
+}
- /**
- * Creates an array of unique values, in order, from all given arrays using
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * for equality comparisons.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {...Array} [arrays] The arrays to inspect.
- * @returns {Array} Returns the new array of combined values.
- * @example
- *
- * _.union([2], [1, 2]);
- * // => [2, 1]
- */
- var union = baseRest(function(arrays) {
- return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));
- });
+function createECDSASigner(bits) {
+ var inner = createKeySigner(bits);
+ return function sign() {
+ var signature = inner.apply(null, arguments);
+ signature = formatEcdsa.derToJose(signature, 'ES' + bits);
+ return signature;
+ };
+}
- /**
- * This method is like `_.union` except that it accepts `iteratee` which is
- * invoked for each element of each `arrays` to generate the criterion by
- * which uniqueness is computed. Result values are chosen from the first
- * array in which the value occurs. The iteratee is invoked with one argument:
- * (value).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {...Array} [arrays] The arrays to inspect.
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
- * @returns {Array} Returns the new array of combined values.
- * @example
- *
- * _.unionBy([2.1], [1.2, 2.3], Math.floor);
- * // => [2.1, 1.2]
- *
- * // The `_.property` iteratee shorthand.
- * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
- * // => [{ 'x': 1 }, { 'x': 2 }]
- */
- var unionBy = baseRest(function(arrays) {
- var iteratee = last(arrays);
- if (isArrayLikeObject(iteratee)) {
- iteratee = undefined;
- }
- return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));
- });
+function createECDSAVerifer(bits) {
+ var inner = createKeyVerifier(bits);
+ return function verify(thing, signature, publicKey) {
+ signature = formatEcdsa.joseToDer(signature, 'ES' + bits).toString('base64');
+ var result = inner(thing, signature, publicKey);
+ return result;
+ };
+}
- /**
- * This method is like `_.union` except that it accepts `comparator` which
- * is invoked to compare elements of `arrays`. Result values are chosen from
- * the first array in which the value occurs. The comparator is invoked
- * with two arguments: (arrVal, othVal).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {...Array} [arrays] The arrays to inspect.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new array of combined values.
- * @example
- *
- * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
- * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
- *
- * _.unionWith(objects, others, _.isEqual);
- * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
- */
- var unionWith = baseRest(function(arrays) {
- var comparator = last(arrays);
- comparator = typeof comparator == 'function' ? comparator : undefined;
- return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);
- });
+function createNoneSigner() {
+ return function sign() {
+ return '';
+ }
+}
- /**
- * Creates a duplicate-free version of an array, using
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * for equality comparisons, in which only the first occurrence of each element
- * is kept. The order of result values is determined by the order they occur
- * in the array.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @returns {Array} Returns the new duplicate free array.
- * @example
- *
- * _.uniq([2, 1, 2]);
- * // => [2, 1]
- */
- function uniq(array) {
- return (array && array.length) ? baseUniq(array) : [];
- }
+function createNoneVerifier() {
+ return function verify(thing, signature) {
+ return signature === '';
+ }
+}
- /**
- * This method is like `_.uniq` except that it accepts `iteratee` which is
- * invoked for each element in `array` to generate the criterion by which
- * uniqueness is computed. The order of result values is determined by the
- * order they occur in the array. The iteratee is invoked with one argument:
- * (value).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
- * @returns {Array} Returns the new duplicate free array.
- * @example
- *
- * _.uniqBy([2.1, 1.2, 2.3], Math.floor);
- * // => [2.1, 1.2]
- *
- * // The `_.property` iteratee shorthand.
- * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
- * // => [{ 'x': 1 }, { 'x': 2 }]
- */
- function uniqBy(array, iteratee) {
- return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];
- }
+module.exports = function jwa(algorithm) {
+ var signerFactories = {
+ hs: createHmacSigner,
+ rs: createKeySigner,
+ ps: createPSSKeySigner,
+ es: createECDSASigner,
+ none: createNoneSigner,
+ }
+ var verifierFactories = {
+ hs: createHmacVerifier,
+ rs: createKeyVerifier,
+ ps: createPSSKeyVerifier,
+ es: createECDSAVerifer,
+ none: createNoneVerifier,
+ }
+ var match = algorithm.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);
+ if (!match)
+ throw typeError(MSG_INVALID_ALGORITHM, algorithm);
+ var algo = (match[1] || match[3]).toLowerCase();
+ var bits = match[2];
- /**
- * This method is like `_.uniq` except that it accepts `comparator` which
- * is invoked to compare elements of `array`. The order of result values is
- * determined by the order they occur in the array.The comparator is invoked
- * with two arguments: (arrVal, othVal).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new duplicate free array.
- * @example
- *
- * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
- *
- * _.uniqWith(objects, _.isEqual);
- * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]
- */
- function uniqWith(array, comparator) {
- comparator = typeof comparator == 'function' ? comparator : undefined;
- return (array && array.length) ? baseUniq(array, undefined, comparator) : [];
- }
+ return {
+ sign: signerFactories[algo](bits),
+ verify: verifierFactories[algo](bits),
+ }
+};
- /**
- * This method is like `_.zip` except that it accepts an array of grouped
- * elements and creates an array regrouping the elements to their pre-zip
- * configuration.
- *
- * @static
- * @memberOf _
- * @since 1.2.0
- * @category Array
- * @param {Array} array The array of grouped elements to process.
- * @returns {Array} Returns the new array of regrouped elements.
- * @example
- *
- * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);
- * // => [['a', 1, true], ['b', 2, false]]
- *
- * _.unzip(zipped);
- * // => [['a', 'b'], [1, 2], [true, false]]
- */
- function unzip(array) {
- if (!(array && array.length)) {
- return [];
- }
- var length = 0;
- array = arrayFilter(array, function(group) {
- if (isArrayLikeObject(group)) {
- length = nativeMax(group.length, length);
- return true;
- }
- });
- return baseTimes(length, function(index) {
- return arrayMap(array, baseProperty(index));
- });
- }
- /**
- * This method is like `_.unzip` except that it accepts `iteratee` to specify
- * how regrouped values should be combined. The iteratee is invoked with the
- * elements of each group: (...group).
- *
- * @static
- * @memberOf _
- * @since 3.8.0
- * @category Array
- * @param {Array} array The array of grouped elements to process.
- * @param {Function} [iteratee=_.identity] The function to combine
- * regrouped values.
- * @returns {Array} Returns the new array of regrouped elements.
- * @example
- *
- * var zipped = _.zip([1, 2], [10, 20], [100, 200]);
- * // => [[1, 10, 100], [2, 20, 200]]
- *
- * _.unzipWith(zipped, _.add);
- * // => [3, 30, 300]
- */
- function unzipWith(array, iteratee) {
- if (!(array && array.length)) {
- return [];
- }
- var result = unzip(array);
- if (iteratee == null) {
- return result;
- }
- return arrayMap(result, function(group) {
- return apply(iteratee, undefined, group);
- });
- }
+/***/ }),
- /**
- * Creates an array excluding all given values using
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * for equality comparisons.
- *
- * **Note:** Unlike `_.pull`, this method returns a new array.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {Array} array The array to inspect.
- * @param {...*} [values] The values to exclude.
- * @returns {Array} Returns the new array of filtered values.
- * @see _.difference, _.xor
- * @example
- *
- * _.without([2, 1, 2, 3], 1, 2);
- * // => [3]
- */
- var without = baseRest(function(array, values) {
- return isArrayLikeObject(array)
- ? baseDifference(array, values)
- : [];
- });
+/***/ 33324:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
- /**
- * Creates an array of unique values that is the
- * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)
- * of the given arrays. The order of result values is determined by the order
- * they occur in the arrays.
- *
- * @static
- * @memberOf _
- * @since 2.4.0
- * @category Array
- * @param {...Array} [arrays] The arrays to inspect.
- * @returns {Array} Returns the new array of filtered values.
- * @see _.difference, _.without
- * @example
- *
- * _.xor([2, 1], [2, 3]);
- * // => [1, 3]
- */
- var xor = baseRest(function(arrays) {
- return baseXor(arrayFilter(arrays, isArrayLikeObject));
- });
+/*global exports*/
+var SignStream = __nccwpck_require__(78600);
+var VerifyStream = __nccwpck_require__(4368);
- /**
- * This method is like `_.xor` except that it accepts `iteratee` which is
- * invoked for each element of each `arrays` to generate the criterion by
- * which by which they're compared. The order of result values is determined
- * by the order they occur in the arrays. The iteratee is invoked with one
- * argument: (value).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {...Array} [arrays] The arrays to inspect.
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
- * @returns {Array} Returns the new array of filtered values.
- * @example
- *
- * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);
- * // => [1.2, 3.4]
- *
- * // The `_.property` iteratee shorthand.
- * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
- * // => [{ 'x': 2 }]
- */
- var xorBy = baseRest(function(arrays) {
- var iteratee = last(arrays);
- if (isArrayLikeObject(iteratee)) {
- iteratee = undefined;
- }
- return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));
- });
+var ALGORITHMS = [
+ 'HS256', 'HS384', 'HS512',
+ 'RS256', 'RS384', 'RS512',
+ 'PS256', 'PS384', 'PS512',
+ 'ES256', 'ES384', 'ES512'
+];
- /**
- * This method is like `_.xor` except that it accepts `comparator` which is
- * invoked to compare elements of `arrays`. The order of result values is
- * determined by the order they occur in the arrays. The comparator is invoked
- * with two arguments: (arrVal, othVal).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {...Array} [arrays] The arrays to inspect.
- * @param {Function} [comparator] The comparator invoked per element.
- * @returns {Array} Returns the new array of filtered values.
- * @example
- *
- * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
- * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
- *
- * _.xorWith(objects, others, _.isEqual);
- * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
- */
- var xorWith = baseRest(function(arrays) {
- var comparator = last(arrays);
- comparator = typeof comparator == 'function' ? comparator : undefined;
- return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);
- });
+exports.ALGORITHMS = ALGORITHMS;
+exports.sign = SignStream.sign;
+exports.verify = VerifyStream.verify;
+exports.decode = VerifyStream.decode;
+exports.isValid = VerifyStream.isValid;
+exports.createSign = function createSign(opts) {
+ return new SignStream(opts);
+};
+exports.createVerify = function createVerify(opts) {
+ return new VerifyStream(opts);
+};
- /**
- * Creates an array of grouped elements, the first of which contains the
- * first elements of the given arrays, the second of which contains the
- * second elements of the given arrays, and so on.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Array
- * @param {...Array} [arrays] The arrays to process.
- * @returns {Array} Returns the new array of grouped elements.
- * @example
- *
- * _.zip(['a', 'b'], [1, 2], [true, false]);
- * // => [['a', 1, true], ['b', 2, false]]
- */
- var zip = baseRest(unzip);
- /**
- * This method is like `_.fromPairs` except that it accepts two arrays,
- * one of property identifiers and one of corresponding values.
- *
- * @static
- * @memberOf _
- * @since 0.4.0
- * @category Array
- * @param {Array} [props=[]] The property identifiers.
- * @param {Array} [values=[]] The property values.
- * @returns {Object} Returns the new object.
- * @example
- *
- * _.zipObject(['a', 'b'], [1, 2]);
- * // => { 'a': 1, 'b': 2 }
- */
- function zipObject(props, values) {
- return baseZipObject(props || [], values || [], assignValue);
- }
+/***/ }),
- /**
- * This method is like `_.zipObject` except that it supports property paths.
- *
- * @static
- * @memberOf _
- * @since 4.1.0
- * @category Array
- * @param {Array} [props=[]] The property identifiers.
- * @param {Array} [values=[]] The property values.
- * @returns {Object} Returns the new object.
- * @example
- *
- * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);
- * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
- */
- function zipObjectDeep(props, values) {
- return baseZipObject(props || [], values || [], baseSet);
- }
+/***/ 41831:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * This method is like `_.zip` except that it accepts `iteratee` to specify
- * how grouped values should be combined. The iteratee is invoked with the
- * elements of each group: (...group).
- *
- * @static
- * @memberOf _
- * @since 3.8.0
- * @category Array
- * @param {...Array} [arrays] The arrays to process.
- * @param {Function} [iteratee=_.identity] The function to combine
- * grouped values.
- * @returns {Array} Returns the new array of grouped elements.
- * @example
- *
- * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {
- * return a + b + c;
- * });
- * // => [111, 222]
- */
- var zipWith = baseRest(function(arrays) {
- var length = arrays.length,
- iteratee = length > 1 ? arrays[length - 1] : undefined;
+/*global module, process*/
+var Buffer = (__nccwpck_require__(93058).Buffer);
+var Stream = __nccwpck_require__(2203);
+var util = __nccwpck_require__(39023);
- iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;
- return unzipWith(arrays, iteratee);
- });
+function DataStream(data) {
+ this.buffer = null;
+ this.writable = true;
+ this.readable = true;
- /*------------------------------------------------------------------------*/
+ // No input
+ if (!data) {
+ this.buffer = Buffer.alloc(0);
+ return this;
+ }
- /**
- * Creates a `lodash` wrapper instance that wraps `value` with explicit method
- * chain sequences enabled. The result of such sequences must be unwrapped
- * with `_#value`.
- *
- * @static
- * @memberOf _
- * @since 1.3.0
- * @category Seq
- * @param {*} value The value to wrap.
- * @returns {Object} Returns the new `lodash` wrapper instance.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'age': 36 },
- * { 'user': 'fred', 'age': 40 },
- * { 'user': 'pebbles', 'age': 1 }
- * ];
- *
- * var youngest = _
- * .chain(users)
- * .sortBy('age')
- * .map(function(o) {
- * return o.user + ' is ' + o.age;
- * })
- * .head()
- * .value();
- * // => 'pebbles is 1'
- */
- function chain(value) {
- var result = lodash(value);
- result.__chain__ = true;
- return result;
- }
+ // Stream
+ if (typeof data.pipe === 'function') {
+ this.buffer = Buffer.alloc(0);
+ data.pipe(this);
+ return this;
+ }
- /**
- * This method invokes `interceptor` and returns `value`. The interceptor
- * is invoked with one argument; (value). The purpose of this method is to
- * "tap into" a method chain sequence in order to modify intermediate results.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Seq
- * @param {*} value The value to provide to `interceptor`.
- * @param {Function} interceptor The function to invoke.
- * @returns {*} Returns `value`.
- * @example
- *
- * _([1, 2, 3])
- * .tap(function(array) {
- * // Mutate input array.
- * array.pop();
- * })
- * .reverse()
- * .value();
- * // => [2, 1]
- */
- function tap(value, interceptor) {
- interceptor(value);
- return value;
- }
+ // Buffer or String
+ // or Object (assumedly a passworded key)
+ if (data.length || typeof data === 'object') {
+ this.buffer = data;
+ this.writable = false;
+ process.nextTick(function () {
+ this.emit('end', data);
+ this.readable = false;
+ this.emit('close');
+ }.bind(this));
+ return this;
+ }
- /**
- * This method is like `_.tap` except that it returns the result of `interceptor`.
- * The purpose of this method is to "pass thru" values replacing intermediate
- * results in a method chain sequence.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Seq
- * @param {*} value The value to provide to `interceptor`.
- * @param {Function} interceptor The function to invoke.
- * @returns {*} Returns the result of `interceptor`.
- * @example
- *
- * _(' abc ')
- * .chain()
- * .trim()
- * .thru(function(value) {
- * return [value];
- * })
- * .value();
- * // => ['abc']
- */
- function thru(value, interceptor) {
- return interceptor(value);
- }
+ throw new TypeError('Unexpected data type ('+ typeof data + ')');
+}
+util.inherits(DataStream, Stream);
- /**
- * This method is the wrapper version of `_.at`.
- *
- * @name at
- * @memberOf _
- * @since 1.0.0
- * @category Seq
- * @param {...(string|string[])} [paths] The property paths to pick.
- * @returns {Object} Returns the new `lodash` wrapper instance.
- * @example
- *
- * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
- *
- * _(object).at(['a[0].b.c', 'a[1]']).value();
- * // => [3, 4]
- */
- var wrapperAt = flatRest(function(paths) {
- var length = paths.length,
- start = length ? paths[0] : 0,
- value = this.__wrapped__,
- interceptor = function(object) { return baseAt(object, paths); };
+DataStream.prototype.write = function write(data) {
+ this.buffer = Buffer.concat([this.buffer, Buffer.from(data)]);
+ this.emit('data', data);
+};
- if (length > 1 || this.__actions__.length ||
- !(value instanceof LazyWrapper) || !isIndex(start)) {
- return this.thru(interceptor);
- }
- value = value.slice(start, +start + (length ? 1 : 0));
- value.__actions__.push({
- 'func': thru,
- 'args': [interceptor],
- 'thisArg': undefined
- });
- return new LodashWrapper(value, this.__chain__).thru(function(array) {
- if (length && !array.length) {
- array.push(undefined);
- }
- return array;
- });
- });
+DataStream.prototype.end = function end(data) {
+ if (data)
+ this.write(data);
+ this.emit('end', data);
+ this.emit('close');
+ this.writable = false;
+ this.readable = false;
+};
- /**
- * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.
- *
- * @name chain
- * @memberOf _
- * @since 0.1.0
- * @category Seq
- * @returns {Object} Returns the new `lodash` wrapper instance.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'age': 36 },
- * { 'user': 'fred', 'age': 40 }
- * ];
- *
- * // A sequence without explicit chaining.
- * _(users).head();
- * // => { 'user': 'barney', 'age': 36 }
- *
- * // A sequence with explicit chaining.
- * _(users)
- * .chain()
- * .head()
- * .pick('user')
- * .value();
- * // => { 'user': 'barney' }
- */
- function wrapperChain() {
- return chain(this);
- }
+module.exports = DataStream;
- /**
- * Executes the chain sequence and returns the wrapped result.
- *
- * @name commit
- * @memberOf _
- * @since 3.2.0
- * @category Seq
- * @returns {Object} Returns the new `lodash` wrapper instance.
- * @example
- *
- * var array = [1, 2];
- * var wrapped = _(array).push(3);
- *
- * console.log(array);
- * // => [1, 2]
- *
- * wrapped = wrapped.commit();
- * console.log(array);
- * // => [1, 2, 3]
- *
- * wrapped.last();
- * // => 3
- *
- * console.log(array);
- * // => [1, 2, 3]
- */
- function wrapperCommit() {
- return new LodashWrapper(this.value(), this.__chain__);
- }
- /**
- * Gets the next value on a wrapped object following the
- * [iterator protocol](https://mdn.io/iteration_protocols#iterator).
- *
- * @name next
- * @memberOf _
- * @since 4.0.0
- * @category Seq
- * @returns {Object} Returns the next iterator value.
- * @example
- *
- * var wrapped = _([1, 2]);
- *
- * wrapped.next();
- * // => { 'done': false, 'value': 1 }
- *
- * wrapped.next();
- * // => { 'done': false, 'value': 2 }
- *
- * wrapped.next();
- * // => { 'done': true, 'value': undefined }
- */
- function wrapperNext() {
- if (this.__values__ === undefined) {
- this.__values__ = toArray(this.value());
- }
- var done = this.__index__ >= this.__values__.length,
- value = done ? undefined : this.__values__[this.__index__++];
+/***/ }),
- return { 'done': done, 'value': value };
- }
+/***/ 78600:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * Enables the wrapper to be iterable.
- *
- * @name Symbol.iterator
- * @memberOf _
- * @since 4.0.0
- * @category Seq
- * @returns {Object} Returns the wrapper object.
- * @example
- *
- * var wrapped = _([1, 2]);
- *
- * wrapped[Symbol.iterator]() === wrapped;
- * // => true
- *
- * Array.from(wrapped);
- * // => [1, 2]
- */
- function wrapperToIterator() {
- return this;
- }
+/*global module*/
+var Buffer = (__nccwpck_require__(93058).Buffer);
+var DataStream = __nccwpck_require__(41831);
+var jwa = __nccwpck_require__(38622);
+var Stream = __nccwpck_require__(2203);
+var toString = __nccwpck_require__(95126);
+var util = __nccwpck_require__(39023);
- /**
- * Creates a clone of the chain sequence planting `value` as the wrapped value.
- *
- * @name plant
- * @memberOf _
- * @since 3.2.0
- * @category Seq
- * @param {*} value The value to plant.
- * @returns {Object} Returns the new `lodash` wrapper instance.
- * @example
- *
- * function square(n) {
- * return n * n;
- * }
- *
- * var wrapped = _([1, 2]).map(square);
- * var other = wrapped.plant([3, 4]);
- *
- * other.value();
- * // => [9, 16]
- *
- * wrapped.value();
- * // => [1, 4]
- */
- function wrapperPlant(value) {
- var result,
- parent = this;
+function base64url(string, encoding) {
+ return Buffer
+ .from(string, encoding)
+ .toString('base64')
+ .replace(/=/g, '')
+ .replace(/\+/g, '-')
+ .replace(/\//g, '_');
+}
- while (parent instanceof baseLodash) {
- var clone = wrapperClone(parent);
- clone.__index__ = 0;
- clone.__values__ = undefined;
- if (result) {
- previous.__wrapped__ = clone;
- } else {
- result = clone;
- }
- var previous = clone;
- parent = parent.__wrapped__;
- }
- previous.__wrapped__ = value;
- return result;
- }
-
- /**
- * This method is the wrapper version of `_.reverse`.
- *
- * **Note:** This method mutates the wrapped array.
- *
- * @name reverse
- * @memberOf _
- * @since 0.1.0
- * @category Seq
- * @returns {Object} Returns the new `lodash` wrapper instance.
- * @example
- *
- * var array = [1, 2, 3];
- *
- * _(array).reverse().value()
- * // => [3, 2, 1]
- *
- * console.log(array);
- * // => [3, 2, 1]
- */
- function wrapperReverse() {
- var value = this.__wrapped__;
- if (value instanceof LazyWrapper) {
- var wrapped = value;
- if (this.__actions__.length) {
- wrapped = new LazyWrapper(this);
- }
- wrapped = wrapped.reverse();
- wrapped.__actions__.push({
- 'func': thru,
- 'args': [reverse],
- 'thisArg': undefined
- });
- return new LodashWrapper(wrapped, this.__chain__);
- }
- return this.thru(reverse);
- }
+function jwsSecuredInput(header, payload, encoding) {
+ encoding = encoding || 'utf8';
+ var encodedHeader = base64url(toString(header), 'binary');
+ var encodedPayload = base64url(toString(payload), encoding);
+ return util.format('%s.%s', encodedHeader, encodedPayload);
+}
- /**
- * Executes the chain sequence to resolve the unwrapped value.
- *
- * @name value
- * @memberOf _
- * @since 0.1.0
- * @alias toJSON, valueOf
- * @category Seq
- * @returns {*} Returns the resolved unwrapped value.
- * @example
- *
- * _([1, 2, 3]).value();
- * // => [1, 2, 3]
- */
- function wrapperValue() {
- return baseWrapperValue(this.__wrapped__, this.__actions__);
- }
+function jwsSign(opts) {
+ var header = opts.header;
+ var payload = opts.payload;
+ var secretOrKey = opts.secret || opts.privateKey;
+ var encoding = opts.encoding;
+ var algo = jwa(header.alg);
+ var securedInput = jwsSecuredInput(header, payload, encoding);
+ var signature = algo.sign(securedInput, secretOrKey);
+ return util.format('%s.%s', securedInput, signature);
+}
- /*------------------------------------------------------------------------*/
+function SignStream(opts) {
+ var secret = opts.secret;
+ secret = secret == null ? opts.privateKey : secret;
+ secret = secret == null ? opts.key : secret;
+ if (/^hs/i.test(opts.header.alg) === true && secret == null) {
+ throw new TypeError('secret must be a string or buffer or a KeyObject')
+ }
+ var secretStream = new DataStream(secret);
+ this.readable = true;
+ this.header = opts.header;
+ this.encoding = opts.encoding;
+ this.secret = this.privateKey = this.key = secretStream;
+ this.payload = new DataStream(opts.payload);
+ this.secret.once('close', function () {
+ if (!this.payload.writable && this.readable)
+ this.sign();
+ }.bind(this));
+
+ this.payload.once('close', function () {
+ if (!this.secret.writable && this.readable)
+ this.sign();
+ }.bind(this));
+}
+util.inherits(SignStream, Stream);
- /**
- * Creates an object composed of keys generated from the results of running
- * each element of `collection` thru `iteratee`. The corresponding value of
- * each key is the number of times the key was returned by `iteratee`. The
- * iteratee is invoked with one argument: (value).
- *
- * @static
- * @memberOf _
- * @since 0.5.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
- * @returns {Object} Returns the composed aggregate object.
- * @example
- *
- * _.countBy([6.1, 4.2, 6.3], Math.floor);
- * // => { '4': 1, '6': 2 }
- *
- * // The `_.property` iteratee shorthand.
- * _.countBy(['one', 'two', 'three'], 'length');
- * // => { '3': 2, '5': 1 }
- */
- var countBy = createAggregator(function(result, value, key) {
- if (hasOwnProperty.call(result, key)) {
- ++result[key];
- } else {
- baseAssignValue(result, key, 1);
- }
+SignStream.prototype.sign = function sign() {
+ try {
+ var signature = jwsSign({
+ header: this.header,
+ payload: this.payload.buffer,
+ secret: this.secret.buffer,
+ encoding: this.encoding
});
+ this.emit('done', signature);
+ this.emit('data', signature);
+ this.emit('end');
+ this.readable = false;
+ return signature;
+ } catch (e) {
+ this.readable = false;
+ this.emit('error', e);
+ this.emit('close');
+ }
+};
- /**
- * Checks if `predicate` returns truthy for **all** elements of `collection`.
- * Iteration is stopped once `predicate` returns falsey. The predicate is
- * invoked with three arguments: (value, index|key, collection).
- *
- * **Note:** This method returns `true` for
- * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because
- * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of
- * elements of empty collections.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {boolean} Returns `true` if all elements pass the predicate check,
- * else `false`.
- * @example
- *
- * _.every([true, 1, null, 'yes'], Boolean);
- * // => false
- *
- * var users = [
- * { 'user': 'barney', 'age': 36, 'active': false },
- * { 'user': 'fred', 'age': 40, 'active': false }
- * ];
- *
- * // The `_.matches` iteratee shorthand.
- * _.every(users, { 'user': 'barney', 'active': false });
- * // => false
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.every(users, ['active', false]);
- * // => true
- *
- * // The `_.property` iteratee shorthand.
- * _.every(users, 'active');
- * // => false
- */
- function every(collection, predicate, guard) {
- var func = isArray(collection) ? arrayEvery : baseEvery;
- if (guard && isIterateeCall(collection, predicate, guard)) {
- predicate = undefined;
- }
- return func(collection, getIteratee(predicate, 3));
- }
+SignStream.sign = jwsSign;
- /**
- * Iterates over elements of `collection`, returning an array of all elements
- * `predicate` returns truthy for. The predicate is invoked with three
- * arguments: (value, index|key, collection).
- *
- * **Note:** Unlike `_.remove`, this method returns a new array.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the new filtered array.
- * @see _.reject
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'age': 36, 'active': true },
- * { 'user': 'fred', 'age': 40, 'active': false }
- * ];
- *
- * _.filter(users, function(o) { return !o.active; });
- * // => objects for ['fred']
- *
- * // The `_.matches` iteratee shorthand.
- * _.filter(users, { 'age': 36, 'active': true });
- * // => objects for ['barney']
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.filter(users, ['active', false]);
- * // => objects for ['fred']
- *
- * // The `_.property` iteratee shorthand.
- * _.filter(users, 'active');
- * // => objects for ['barney']
- *
- * // Combining several predicates using `_.overEvery` or `_.overSome`.
- * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
- * // => objects for ['fred', 'barney']
- */
- function filter(collection, predicate) {
- var func = isArray(collection) ? arrayFilter : baseFilter;
- return func(collection, getIteratee(predicate, 3));
- }
+module.exports = SignStream;
- /**
- * Iterates over elements of `collection`, returning the first element
- * `predicate` returns truthy for. The predicate is invoked with three
- * arguments: (value, index|key, collection).
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to inspect.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @param {number} [fromIndex=0] The index to search from.
- * @returns {*} Returns the matched element, else `undefined`.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'age': 36, 'active': true },
- * { 'user': 'fred', 'age': 40, 'active': false },
- * { 'user': 'pebbles', 'age': 1, 'active': true }
- * ];
- *
- * _.find(users, function(o) { return o.age < 40; });
- * // => object for 'barney'
- *
- * // The `_.matches` iteratee shorthand.
- * _.find(users, { 'age': 1, 'active': true });
- * // => object for 'pebbles'
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.find(users, ['active', false]);
- * // => object for 'fred'
- *
- * // The `_.property` iteratee shorthand.
- * _.find(users, 'active');
- * // => object for 'barney'
- */
- var find = createFind(findIndex);
- /**
- * This method is like `_.find` except that it iterates over elements of
- * `collection` from right to left.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @category Collection
- * @param {Array|Object} collection The collection to inspect.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @param {number} [fromIndex=collection.length-1] The index to search from.
- * @returns {*} Returns the matched element, else `undefined`.
- * @example
- *
- * _.findLast([1, 2, 3, 4], function(n) {
- * return n % 2 == 1;
- * });
- * // => 3
- */
- var findLast = createFind(findLastIndex);
+/***/ }),
- /**
- * Creates a flattened array of values by running each element in `collection`
- * thru `iteratee` and flattening the mapped results. The iteratee is invoked
- * with three arguments: (value, index|key, collection).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the new flattened array.
- * @example
- *
- * function duplicate(n) {
- * return [n, n];
- * }
- *
- * _.flatMap([1, 2], duplicate);
- * // => [1, 1, 2, 2]
- */
- function flatMap(collection, iteratee) {
- return baseFlatten(map(collection, iteratee), 1);
- }
+/***/ 95126:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * This method is like `_.flatMap` except that it recursively flattens the
- * mapped results.
- *
- * @static
- * @memberOf _
- * @since 4.7.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the new flattened array.
- * @example
- *
- * function duplicate(n) {
- * return [[[n, n]]];
- * }
- *
- * _.flatMapDeep([1, 2], duplicate);
- * // => [1, 1, 2, 2]
- */
- function flatMapDeep(collection, iteratee) {
- return baseFlatten(map(collection, iteratee), INFINITY);
- }
+/*global module*/
+var Buffer = (__nccwpck_require__(20181).Buffer);
- /**
- * This method is like `_.flatMap` except that it recursively flattens the
- * mapped results up to `depth` times.
- *
- * @static
- * @memberOf _
- * @since 4.7.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @param {number} [depth=1] The maximum recursion depth.
- * @returns {Array} Returns the new flattened array.
- * @example
- *
- * function duplicate(n) {
- * return [[[n, n]]];
- * }
- *
- * _.flatMapDepth([1, 2], duplicate, 2);
- * // => [[1, 1], [2, 2]]
- */
- function flatMapDepth(collection, iteratee, depth) {
- depth = depth === undefined ? 1 : toInteger(depth);
- return baseFlatten(map(collection, iteratee), depth);
- }
+module.exports = function toString(obj) {
+ if (typeof obj === 'string')
+ return obj;
+ if (typeof obj === 'number' || Buffer.isBuffer(obj))
+ return obj.toString();
+ return JSON.stringify(obj);
+};
- /**
- * Iterates over elements of `collection` and invokes `iteratee` for each element.
- * The iteratee is invoked with three arguments: (value, index|key, collection).
- * Iteratee functions may exit iteration early by explicitly returning `false`.
- *
- * **Note:** As with other "Collections" methods, objects with a "length"
- * property are iterated like arrays. To avoid this behavior use `_.forIn`
- * or `_.forOwn` for object iteration.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @alias each
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Array|Object} Returns `collection`.
- * @see _.forEachRight
- * @example
- *
- * _.forEach([1, 2], function(value) {
- * console.log(value);
- * });
- * // => Logs `1` then `2`.
- *
- * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
- * console.log(key);
- * });
- * // => Logs 'a' then 'b' (iteration order is not guaranteed).
- */
- function forEach(collection, iteratee) {
- var func = isArray(collection) ? arrayEach : baseEach;
- return func(collection, getIteratee(iteratee, 3));
- }
- /**
- * This method is like `_.forEach` except that it iterates over elements of
- * `collection` from right to left.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @alias eachRight
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Array|Object} Returns `collection`.
- * @see _.forEach
- * @example
- *
- * _.forEachRight([1, 2], function(value) {
- * console.log(value);
- * });
- * // => Logs `2` then `1`.
- */
- function forEachRight(collection, iteratee) {
- var func = isArray(collection) ? arrayEachRight : baseEachRight;
- return func(collection, getIteratee(iteratee, 3));
- }
+/***/ }),
- /**
- * Creates an object composed of keys generated from the results of running
- * each element of `collection` thru `iteratee`. The order of grouped values
- * is determined by the order they occur in `collection`. The corresponding
- * value of each key is an array of elements responsible for generating the
- * key. The iteratee is invoked with one argument: (value).
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
- * @returns {Object} Returns the composed aggregate object.
- * @example
- *
- * _.groupBy([6.1, 4.2, 6.3], Math.floor);
- * // => { '4': [4.2], '6': [6.1, 6.3] }
- *
- * // The `_.property` iteratee shorthand.
- * _.groupBy(['one', 'two', 'three'], 'length');
- * // => { '3': ['one', 'two'], '5': ['three'] }
- */
- var groupBy = createAggregator(function(result, value, key) {
- if (hasOwnProperty.call(result, key)) {
- result[key].push(value);
- } else {
- baseAssignValue(result, key, [value]);
- }
- });
+/***/ 4368:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
- /**
- * Checks if `value` is in `collection`. If `collection` is a string, it's
- * checked for a substring of `value`, otherwise
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * is used for equality comparisons. If `fromIndex` is negative, it's used as
- * the offset from the end of `collection`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object|string} collection The collection to inspect.
- * @param {*} value The value to search for.
- * @param {number} [fromIndex=0] The index to search from.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
- * @returns {boolean} Returns `true` if `value` is found, else `false`.
- * @example
- *
- * _.includes([1, 2, 3], 1);
- * // => true
- *
- * _.includes([1, 2, 3], 1, 2);
- * // => false
- *
- * _.includes({ 'a': 1, 'b': 2 }, 1);
- * // => true
- *
- * _.includes('abcd', 'bc');
- * // => true
- */
- function includes(collection, value, fromIndex, guard) {
- collection = isArrayLike(collection) ? collection : values(collection);
- fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;
+/*global module*/
+var Buffer = (__nccwpck_require__(93058).Buffer);
+var DataStream = __nccwpck_require__(41831);
+var jwa = __nccwpck_require__(38622);
+var Stream = __nccwpck_require__(2203);
+var toString = __nccwpck_require__(95126);
+var util = __nccwpck_require__(39023);
+var JWS_REGEX = /^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;
- var length = collection.length;
- if (fromIndex < 0) {
- fromIndex = nativeMax(length + fromIndex, 0);
- }
- return isString(collection)
- ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)
- : (!!length && baseIndexOf(collection, value, fromIndex) > -1);
- }
+function isObject(thing) {
+ return Object.prototype.toString.call(thing) === '[object Object]';
+}
- /**
- * Invokes the method at `path` of each element in `collection`, returning
- * an array of the results of each invoked method. Any additional arguments
- * are provided to each invoked method. If `path` is a function, it's invoked
- * for, and `this` bound to, each element in `collection`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Array|Function|string} path The path of the method to invoke or
- * the function invoked per iteration.
- * @param {...*} [args] The arguments to invoke each method with.
- * @returns {Array} Returns the array of results.
- * @example
- *
- * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');
- * // => [[1, 5, 7], [1, 2, 3]]
- *
- * _.invokeMap([123, 456], String.prototype.split, '');
- * // => [['1', '2', '3'], ['4', '5', '6']]
- */
- var invokeMap = baseRest(function(collection, path, args) {
- var index = -1,
- isFunc = typeof path == 'function',
- result = isArrayLike(collection) ? Array(collection.length) : [];
+function safeJsonParse(thing) {
+ if (isObject(thing))
+ return thing;
+ try { return JSON.parse(thing); }
+ catch (e) { return undefined; }
+}
- baseEach(collection, function(value) {
- result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);
- });
- return result;
- });
+function headerFromJWS(jwsSig) {
+ var encodedHeader = jwsSig.split('.', 1)[0];
+ return safeJsonParse(Buffer.from(encodedHeader, 'base64').toString('binary'));
+}
- /**
- * Creates an object composed of keys generated from the results of running
- * each element of `collection` thru `iteratee`. The corresponding value of
- * each key is the last element responsible for generating the key. The
- * iteratee is invoked with one argument: (value).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
- * @returns {Object} Returns the composed aggregate object.
- * @example
- *
- * var array = [
- * { 'dir': 'left', 'code': 97 },
- * { 'dir': 'right', 'code': 100 }
- * ];
- *
- * _.keyBy(array, function(o) {
- * return String.fromCharCode(o.code);
- * });
- * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }
- *
- * _.keyBy(array, 'dir');
- * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }
- */
- var keyBy = createAggregator(function(result, value, key) {
- baseAssignValue(result, key, value);
- });
-
- /**
- * Creates an array of values by running each element in `collection` thru
- * `iteratee`. The iteratee is invoked with three arguments:
- * (value, index|key, collection).
- *
- * Many lodash methods are guarded to work as iteratees for methods like
- * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
- *
- * The guarded methods are:
- * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
- * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
- * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
- * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the new mapped array.
- * @example
- *
- * function square(n) {
- * return n * n;
- * }
- *
- * _.map([4, 8], square);
- * // => [16, 64]
- *
- * _.map({ 'a': 4, 'b': 8 }, square);
- * // => [16, 64] (iteration order is not guaranteed)
- *
- * var users = [
- * { 'user': 'barney' },
- * { 'user': 'fred' }
- * ];
- *
- * // The `_.property` iteratee shorthand.
- * _.map(users, 'user');
- * // => ['barney', 'fred']
- */
- function map(collection, iteratee) {
- var func = isArray(collection) ? arrayMap : baseMap;
- return func(collection, getIteratee(iteratee, 3));
- }
+function securedInputFromJWS(jwsSig) {
+ return jwsSig.split('.', 2).join('.');
+}
- /**
- * This method is like `_.sortBy` except that it allows specifying the sort
- * orders of the iteratees to sort by. If `orders` is unspecified, all values
- * are sorted in ascending order. Otherwise, specify an order of "desc" for
- * descending or "asc" for ascending sort order of corresponding values.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]
- * The iteratees to sort by.
- * @param {string[]} [orders] The sort orders of `iteratees`.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
- * @returns {Array} Returns the new sorted array.
- * @example
- *
- * var users = [
- * { 'user': 'fred', 'age': 48 },
- * { 'user': 'barney', 'age': 34 },
- * { 'user': 'fred', 'age': 40 },
- * { 'user': 'barney', 'age': 36 }
- * ];
- *
- * // Sort by `user` in ascending order and by `age` in descending order.
- * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);
- * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
- */
- function orderBy(collection, iteratees, orders, guard) {
- if (collection == null) {
- return [];
- }
- if (!isArray(iteratees)) {
- iteratees = iteratees == null ? [] : [iteratees];
- }
- orders = guard ? undefined : orders;
- if (!isArray(orders)) {
- orders = orders == null ? [] : [orders];
- }
- return baseOrderBy(collection, iteratees, orders);
- }
+function signatureFromJWS(jwsSig) {
+ return jwsSig.split('.')[2];
+}
- /**
- * Creates an array of elements split into two groups, the first of which
- * contains elements `predicate` returns truthy for, the second of which
- * contains elements `predicate` returns falsey for. The predicate is
- * invoked with one argument: (value).
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the array of grouped elements.
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'age': 36, 'active': false },
- * { 'user': 'fred', 'age': 40, 'active': true },
- * { 'user': 'pebbles', 'age': 1, 'active': false }
- * ];
- *
- * _.partition(users, function(o) { return o.active; });
- * // => objects for [['fred'], ['barney', 'pebbles']]
- *
- * // The `_.matches` iteratee shorthand.
- * _.partition(users, { 'age': 1, 'active': false });
- * // => objects for [['pebbles'], ['barney', 'fred']]
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.partition(users, ['active', false]);
- * // => objects for [['barney', 'pebbles'], ['fred']]
- *
- * // The `_.property` iteratee shorthand.
- * _.partition(users, 'active');
- * // => objects for [['fred'], ['barney', 'pebbles']]
- */
- var partition = createAggregator(function(result, value, key) {
- result[key ? 0 : 1].push(value);
- }, function() { return [[], []]; });
+function payloadFromJWS(jwsSig, encoding) {
+ encoding = encoding || 'utf8';
+ var payload = jwsSig.split('.')[1];
+ return Buffer.from(payload, 'base64').toString(encoding);
+}
- /**
- * Reduces `collection` to a value which is the accumulated result of running
- * each element in `collection` thru `iteratee`, where each successive
- * invocation is supplied the return value of the previous. If `accumulator`
- * is not given, the first element of `collection` is used as the initial
- * value. The iteratee is invoked with four arguments:
- * (accumulator, value, index|key, collection).
- *
- * Many lodash methods are guarded to work as iteratees for methods like
- * `_.reduce`, `_.reduceRight`, and `_.transform`.
- *
- * The guarded methods are:
- * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
- * and `sortBy`
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @param {*} [accumulator] The initial value.
- * @returns {*} Returns the accumulated value.
- * @see _.reduceRight
- * @example
- *
- * _.reduce([1, 2], function(sum, n) {
- * return sum + n;
- * }, 0);
- * // => 3
- *
- * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
- * (result[value] || (result[value] = [])).push(key);
- * return result;
- * }, {});
- * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
- */
- function reduce(collection, iteratee, accumulator) {
- var func = isArray(collection) ? arrayReduce : baseReduce,
- initAccum = arguments.length < 3;
+function isValidJws(string) {
+ return JWS_REGEX.test(string) && !!headerFromJWS(string);
+}
- return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);
- }
+function jwsVerify(jwsSig, algorithm, secretOrKey) {
+ if (!algorithm) {
+ var err = new Error("Missing algorithm parameter for jws.verify");
+ err.code = "MISSING_ALGORITHM";
+ throw err;
+ }
+ jwsSig = toString(jwsSig);
+ var signature = signatureFromJWS(jwsSig);
+ var securedInput = securedInputFromJWS(jwsSig);
+ var algo = jwa(algorithm);
+ return algo.verify(securedInput, signature, secretOrKey);
+}
- /**
- * This method is like `_.reduce` except that it iterates over elements of
- * `collection` from right to left.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @param {*} [accumulator] The initial value.
- * @returns {*} Returns the accumulated value.
- * @see _.reduce
- * @example
- *
- * var array = [[0, 1], [2, 3], [4, 5]];
- *
- * _.reduceRight(array, function(flattened, other) {
- * return flattened.concat(other);
- * }, []);
- * // => [4, 5, 2, 3, 0, 1]
- */
- function reduceRight(collection, iteratee, accumulator) {
- var func = isArray(collection) ? arrayReduceRight : baseReduce,
- initAccum = arguments.length < 3;
+function jwsDecode(jwsSig, opts) {
+ opts = opts || {};
+ jwsSig = toString(jwsSig);
- return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);
- }
+ if (!isValidJws(jwsSig))
+ return null;
- /**
- * The opposite of `_.filter`; this method returns the elements of `collection`
- * that `predicate` does **not** return truthy for.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {Array} Returns the new filtered array.
- * @see _.filter
- * @example
- *
- * var users = [
- * { 'user': 'barney', 'age': 36, 'active': false },
- * { 'user': 'fred', 'age': 40, 'active': true }
- * ];
- *
- * _.reject(users, function(o) { return !o.active; });
- * // => objects for ['fred']
- *
- * // The `_.matches` iteratee shorthand.
- * _.reject(users, { 'age': 40, 'active': true });
- * // => objects for ['barney']
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.reject(users, ['active', false]);
- * // => objects for ['fred']
- *
- * // The `_.property` iteratee shorthand.
- * _.reject(users, 'active');
- * // => objects for ['barney']
- */
- function reject(collection, predicate) {
- var func = isArray(collection) ? arrayFilter : baseFilter;
- return func(collection, negate(getIteratee(predicate, 3)));
- }
+ var header = headerFromJWS(jwsSig);
- /**
- * Gets a random element from `collection`.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @category Collection
- * @param {Array|Object} collection The collection to sample.
- * @returns {*} Returns the random element.
- * @example
- *
- * _.sample([1, 2, 3, 4]);
- * // => 2
- */
- function sample(collection) {
- var func = isArray(collection) ? arraySample : baseSample;
- return func(collection);
- }
+ if (!header)
+ return null;
- /**
- * Gets `n` random elements at unique keys from `collection` up to the
- * size of `collection`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Collection
- * @param {Array|Object} collection The collection to sample.
- * @param {number} [n=1] The number of elements to sample.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Array} Returns the random elements.
- * @example
- *
- * _.sampleSize([1, 2, 3], 2);
- * // => [3, 1]
- *
- * _.sampleSize([1, 2, 3], 4);
- * // => [2, 3, 1]
- */
- function sampleSize(collection, n, guard) {
- if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
- n = 1;
- } else {
- n = toInteger(n);
- }
- var func = isArray(collection) ? arraySampleSize : baseSampleSize;
- return func(collection, n);
- }
+ var payload = payloadFromJWS(jwsSig);
+ if (header.typ === 'JWT' || opts.json)
+ payload = JSON.parse(payload, opts.encoding);
- /**
- * Creates an array of shuffled values, using a version of the
- * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to shuffle.
- * @returns {Array} Returns the new shuffled array.
- * @example
- *
- * _.shuffle([1, 2, 3, 4]);
- * // => [4, 1, 3, 2]
- */
- function shuffle(collection) {
- var func = isArray(collection) ? arrayShuffle : baseShuffle;
- return func(collection);
- }
+ return {
+ header: header,
+ payload: payload,
+ signature: signatureFromJWS(jwsSig)
+ };
+}
- /**
- * Gets the size of `collection` by returning its length for array-like
- * values or the number of own enumerable string keyed properties for objects.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object|string} collection The collection to inspect.
- * @returns {number} Returns the collection size.
- * @example
- *
- * _.size([1, 2, 3]);
- * // => 3
- *
- * _.size({ 'a': 1, 'b': 2 });
- * // => 2
- *
- * _.size('pebbles');
- * // => 7
- */
- function size(collection) {
- if (collection == null) {
- return 0;
- }
- if (isArrayLike(collection)) {
- return isString(collection) ? stringSize(collection) : collection.length;
- }
- var tag = getTag(collection);
- if (tag == mapTag || tag == setTag) {
- return collection.size;
- }
- return baseKeys(collection).length;
- }
+function VerifyStream(opts) {
+ opts = opts || {};
+ var secretOrKey = opts.secret;
+ secretOrKey = secretOrKey == null ? opts.publicKey : secretOrKey;
+ secretOrKey = secretOrKey == null ? opts.key : secretOrKey;
+ if (/^hs/i.test(opts.algorithm) === true && secretOrKey == null) {
+ throw new TypeError('secret must be a string or buffer or a KeyObject')
+ }
+ var secretStream = new DataStream(secretOrKey);
+ this.readable = true;
+ this.algorithm = opts.algorithm;
+ this.encoding = opts.encoding;
+ this.secret = this.publicKey = this.key = secretStream;
+ this.signature = new DataStream(opts.signature);
+ this.secret.once('close', function () {
+ if (!this.signature.writable && this.readable)
+ this.verify();
+ }.bind(this));
+
+ this.signature.once('close', function () {
+ if (!this.secret.writable && this.readable)
+ this.verify();
+ }.bind(this));
+}
+util.inherits(VerifyStream, Stream);
+VerifyStream.prototype.verify = function verify() {
+ try {
+ var valid = jwsVerify(this.signature.buffer, this.algorithm, this.key.buffer);
+ var obj = jwsDecode(this.signature.buffer, this.encoding);
+ this.emit('done', valid, obj);
+ this.emit('data', valid);
+ this.emit('end');
+ this.readable = false;
+ return valid;
+ } catch (e) {
+ this.readable = false;
+ this.emit('error', e);
+ this.emit('close');
+ }
+};
- /**
- * Checks if `predicate` returns truthy for **any** element of `collection`.
- * Iteration is stopped once `predicate` returns truthy. The predicate is
- * invoked with three arguments: (value, index|key, collection).
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {boolean} Returns `true` if any element passes the predicate check,
- * else `false`.
- * @example
- *
- * _.some([null, 0, 'yes', false], Boolean);
- * // => true
- *
- * var users = [
- * { 'user': 'barney', 'active': true },
- * { 'user': 'fred', 'active': false }
- * ];
- *
- * // The `_.matches` iteratee shorthand.
- * _.some(users, { 'user': 'barney', 'active': false });
- * // => false
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.some(users, ['active', false]);
- * // => true
- *
- * // The `_.property` iteratee shorthand.
- * _.some(users, 'active');
- * // => true
- */
- function some(collection, predicate, guard) {
- var func = isArray(collection) ? arraySome : baseSome;
- if (guard && isIterateeCall(collection, predicate, guard)) {
- predicate = undefined;
- }
- return func(collection, getIteratee(predicate, 3));
- }
+VerifyStream.decode = jwsDecode;
+VerifyStream.isValid = isValidJws;
+VerifyStream.verify = jwsVerify;
- /**
- * Creates an array of elements, sorted in ascending order by the results of
- * running each element in a collection thru each iteratee. This method
- * performs a stable sort, that is, it preserves the original sort order of
- * equal elements. The iteratees are invoked with one argument: (value).
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Collection
- * @param {Array|Object} collection The collection to iterate over.
- * @param {...(Function|Function[])} [iteratees=[_.identity]]
- * The iteratees to sort by.
- * @returns {Array} Returns the new sorted array.
- * @example
- *
- * var users = [
- * { 'user': 'fred', 'age': 48 },
- * { 'user': 'barney', 'age': 36 },
- * { 'user': 'fred', 'age': 30 },
- * { 'user': 'barney', 'age': 34 }
- * ];
- *
- * _.sortBy(users, [function(o) { return o.user; }]);
- * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
- *
- * _.sortBy(users, ['user', 'age']);
- * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
- */
- var sortBy = baseRest(function(collection, iteratees) {
- if (collection == null) {
- return [];
- }
- var length = iteratees.length;
- if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {
- iteratees = [];
- } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {
- iteratees = [iteratees[0]];
- }
- return baseOrderBy(collection, baseFlatten(iteratees, 1), []);
- });
+module.exports = VerifyStream;
- /*------------------------------------------------------------------------*/
- /**
- * Gets the timestamp of the number of milliseconds that have elapsed since
- * the Unix epoch (1 January 1970 00:00:00 UTC).
- *
- * @static
- * @memberOf _
- * @since 2.4.0
- * @category Date
- * @returns {number} Returns the timestamp.
- * @example
- *
- * _.defer(function(stamp) {
- * console.log(_.now() - stamp);
- * }, _.now());
- * // => Logs the number of milliseconds it took for the deferred invocation.
- */
- var now = ctxNow || function() {
- return root.Date.now();
- };
+/***/ }),
- /*------------------------------------------------------------------------*/
+/***/ 52356:
+/***/ (function(module, exports, __nccwpck_require__) {
- /**
- * The opposite of `_.before`; this method creates a function that invokes
- * `func` once it's called `n` or more times.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {number} n The number of calls before `func` is invoked.
- * @param {Function} func The function to restrict.
- * @returns {Function} Returns the new restricted function.
- * @example
- *
- * var saves = ['profile', 'settings'];
- *
- * var done = _.after(saves.length, function() {
- * console.log('done saving!');
- * });
- *
- * _.forEach(saves, function(type) {
- * asyncSave({ 'type': type, 'complete': done });
- * });
- * // => Logs 'done saving!' after the two async saves have completed.
- */
- function after(n, func) {
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- n = toInteger(n);
- return function() {
- if (--n < 1) {
- return func.apply(this, arguments);
- }
- };
- }
+/* module decorator */ module = __nccwpck_require__.nmd(module);
+/**
+ * @license
+ * Lodash
+ * Copyright OpenJS Foundation and other contributors
+ * Released under MIT license
+ * Based on Underscore.js 1.8.3
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ */
+;(function() {
- /**
- * Creates a function that invokes `func`, with up to `n` arguments,
- * ignoring any additional arguments.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Function
- * @param {Function} func The function to cap arguments for.
- * @param {number} [n=func.length] The arity cap.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Function} Returns the new capped function.
- * @example
- *
- * _.map(['6', '8', '10'], _.ary(parseInt, 1));
- * // => [6, 8, 10]
- */
- function ary(func, n, guard) {
- n = guard ? undefined : n;
- n = (func && n == null) ? func.length : n;
- return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);
- }
+ /** Used as a safe reference for `undefined` in pre-ES5 environments. */
+ var undefined;
- /**
- * Creates a function that invokes `func`, with the `this` binding and arguments
- * of the created function, while it's called less than `n` times. Subsequent
- * calls to the created function return the result of the last `func` invocation.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Function
- * @param {number} n The number of calls at which `func` is no longer invoked.
- * @param {Function} func The function to restrict.
- * @returns {Function} Returns the new restricted function.
- * @example
- *
- * jQuery(element).on('click', _.before(5, addContactToList));
- * // => Allows adding up to 4 contacts to the list.
- */
- function before(n, func) {
- var result;
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- n = toInteger(n);
- return function() {
- if (--n > 0) {
- result = func.apply(this, arguments);
- }
- if (n <= 1) {
- func = undefined;
- }
- return result;
- };
- }
+ /** Used as the semantic version number. */
+ var VERSION = '4.17.23';
- /**
- * Creates a function that invokes `func` with the `this` binding of `thisArg`
- * and `partials` prepended to the arguments it receives.
- *
- * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,
- * may be used as a placeholder for partially applied arguments.
- *
- * **Note:** Unlike native `Function#bind`, this method doesn't set the "length"
- * property of bound functions.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to bind.
- * @param {*} thisArg The `this` binding of `func`.
- * @param {...*} [partials] The arguments to be partially applied.
- * @returns {Function} Returns the new bound function.
- * @example
- *
- * function greet(greeting, punctuation) {
- * return greeting + ' ' + this.user + punctuation;
- * }
- *
- * var object = { 'user': 'fred' };
- *
- * var bound = _.bind(greet, object, 'hi');
- * bound('!');
- * // => 'hi fred!'
- *
- * // Bound with placeholders.
- * var bound = _.bind(greet, object, _, '!');
- * bound('hi');
- * // => 'hi fred!'
- */
- var bind = baseRest(function(func, thisArg, partials) {
- var bitmask = WRAP_BIND_FLAG;
- if (partials.length) {
- var holders = replaceHolders(partials, getHolder(bind));
- bitmask |= WRAP_PARTIAL_FLAG;
- }
- return createWrap(func, bitmask, thisArg, partials, holders);
- });
+ /** Used as the size to enable large array optimizations. */
+ var LARGE_ARRAY_SIZE = 200;
- /**
- * Creates a function that invokes the method at `object[key]` with `partials`
- * prepended to the arguments it receives.
- *
- * This method differs from `_.bind` by allowing bound functions to reference
- * methods that may be redefined or don't yet exist. See
- * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)
- * for more details.
- *
- * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic
- * builds, may be used as a placeholder for partially applied arguments.
- *
- * @static
- * @memberOf _
- * @since 0.10.0
- * @category Function
- * @param {Object} object The object to invoke the method on.
- * @param {string} key The key of the method.
- * @param {...*} [partials] The arguments to be partially applied.
- * @returns {Function} Returns the new bound function.
- * @example
- *
- * var object = {
- * 'user': 'fred',
- * 'greet': function(greeting, punctuation) {
- * return greeting + ' ' + this.user + punctuation;
- * }
- * };
- *
- * var bound = _.bindKey(object, 'greet', 'hi');
- * bound('!');
- * // => 'hi fred!'
- *
- * object.greet = function(greeting, punctuation) {
- * return greeting + 'ya ' + this.user + punctuation;
- * };
- *
- * bound('!');
- * // => 'hiya fred!'
- *
- * // Bound with placeholders.
- * var bound = _.bindKey(object, 'greet', _, '!');
- * bound('hi');
- * // => 'hiya fred!'
- */
- var bindKey = baseRest(function(object, key, partials) {
- var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;
- if (partials.length) {
- var holders = replaceHolders(partials, getHolder(bindKey));
- bitmask |= WRAP_PARTIAL_FLAG;
- }
- return createWrap(key, bitmask, object, partials, holders);
- });
+ /** Error message constants. */
+ var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
+ FUNC_ERROR_TEXT = 'Expected a function',
+ INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';
- /**
- * Creates a function that accepts arguments of `func` and either invokes
- * `func` returning its result, if at least `arity` number of arguments have
- * been provided, or returns a function that accepts the remaining `func`
- * arguments, and so on. The arity of `func` may be specified if `func.length`
- * is not sufficient.
- *
- * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,
- * may be used as a placeholder for provided arguments.
- *
- * **Note:** This method doesn't set the "length" property of curried functions.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @category Function
- * @param {Function} func The function to curry.
- * @param {number} [arity=func.length] The arity of `func`.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Function} Returns the new curried function.
- * @example
- *
- * var abc = function(a, b, c) {
- * return [a, b, c];
- * };
- *
- * var curried = _.curry(abc);
- *
- * curried(1)(2)(3);
- * // => [1, 2, 3]
- *
- * curried(1, 2)(3);
- * // => [1, 2, 3]
- *
- * curried(1, 2, 3);
- * // => [1, 2, 3]
- *
- * // Curried with placeholders.
- * curried(1)(_, 3)(2);
- * // => [1, 2, 3]
- */
- function curry(func, arity, guard) {
- arity = guard ? undefined : arity;
- var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
- result.placeholder = curry.placeholder;
- return result;
- }
+ /** Used to stand-in for `undefined` hash values. */
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
- /**
- * This method is like `_.curry` except that arguments are applied to `func`
- * in the manner of `_.partialRight` instead of `_.partial`.
- *
- * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic
- * builds, may be used as a placeholder for provided arguments.
- *
- * **Note:** This method doesn't set the "length" property of curried functions.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Function
- * @param {Function} func The function to curry.
- * @param {number} [arity=func.length] The arity of `func`.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Function} Returns the new curried function.
- * @example
- *
- * var abc = function(a, b, c) {
- * return [a, b, c];
- * };
- *
- * var curried = _.curryRight(abc);
- *
- * curried(3)(2)(1);
- * // => [1, 2, 3]
- *
- * curried(2, 3)(1);
- * // => [1, 2, 3]
- *
- * curried(1, 2, 3);
- * // => [1, 2, 3]
- *
- * // Curried with placeholders.
- * curried(3)(1, _)(2);
- * // => [1, 2, 3]
- */
- function curryRight(func, arity, guard) {
- arity = guard ? undefined : arity;
- var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
- result.placeholder = curryRight.placeholder;
- return result;
- }
+ /** Used as the maximum memoize cache size. */
+ var MAX_MEMOIZE_SIZE = 500;
- /**
- * Creates a debounced function that delays invoking `func` until after `wait`
- * milliseconds have elapsed since the last time the debounced function was
- * invoked. The debounced function comes with a `cancel` method to cancel
- * delayed `func` invocations and a `flush` method to immediately invoke them.
- * Provide `options` to indicate whether `func` should be invoked on the
- * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
- * with the last arguments provided to the debounced function. Subsequent
- * calls to the debounced function return the result of the last `func`
- * invocation.
- *
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
- * invoked on the trailing edge of the timeout only if the debounced function
- * is invoked more than once during the `wait` timeout.
- *
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
- *
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
- * for details over the differences between `_.debounce` and `_.throttle`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to debounce.
- * @param {number} [wait=0] The number of milliseconds to delay.
- * @param {Object} [options={}] The options object.
- * @param {boolean} [options.leading=false]
- * Specify invoking on the leading edge of the timeout.
- * @param {number} [options.maxWait]
- * The maximum time `func` is allowed to be delayed before it's invoked.
- * @param {boolean} [options.trailing=true]
- * Specify invoking on the trailing edge of the timeout.
- * @returns {Function} Returns the new debounced function.
- * @example
- *
- * // Avoid costly calculations while the window size is in flux.
- * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
- *
- * // Invoke `sendMail` when clicked, debouncing subsequent calls.
- * jQuery(element).on('click', _.debounce(sendMail, 300, {
- * 'leading': true,
- * 'trailing': false
- * }));
- *
- * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
- * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
- * var source = new EventSource('/stream');
- * jQuery(source).on('message', debounced);
- *
- * // Cancel the trailing debounced invocation.
- * jQuery(window).on('popstate', debounced.cancel);
- */
- function debounce(func, wait, options) {
- var lastArgs,
- lastThis,
- maxWait,
- result,
- timerId,
- lastCallTime,
- lastInvokeTime = 0,
- leading = false,
- maxing = false,
- trailing = true;
+ /** Used as the internal argument placeholder. */
+ var PLACEHOLDER = '__lodash_placeholder__';
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- wait = toNumber(wait) || 0;
- if (isObject(options)) {
- leading = !!options.leading;
- maxing = 'maxWait' in options;
- maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
- trailing = 'trailing' in options ? !!options.trailing : trailing;
- }
+ /** Used to compose bitmasks for cloning. */
+ var CLONE_DEEP_FLAG = 1,
+ CLONE_FLAT_FLAG = 2,
+ CLONE_SYMBOLS_FLAG = 4;
- function invokeFunc(time) {
- var args = lastArgs,
- thisArg = lastThis;
+ /** Used to compose bitmasks for value comparisons. */
+ var COMPARE_PARTIAL_FLAG = 1,
+ COMPARE_UNORDERED_FLAG = 2;
- lastArgs = lastThis = undefined;
- lastInvokeTime = time;
- result = func.apply(thisArg, args);
- return result;
- }
+ /** Used to compose bitmasks for function metadata. */
+ var WRAP_BIND_FLAG = 1,
+ WRAP_BIND_KEY_FLAG = 2,
+ WRAP_CURRY_BOUND_FLAG = 4,
+ WRAP_CURRY_FLAG = 8,
+ WRAP_CURRY_RIGHT_FLAG = 16,
+ WRAP_PARTIAL_FLAG = 32,
+ WRAP_PARTIAL_RIGHT_FLAG = 64,
+ WRAP_ARY_FLAG = 128,
+ WRAP_REARG_FLAG = 256,
+ WRAP_FLIP_FLAG = 512;
- function leadingEdge(time) {
- // Reset any `maxWait` timer.
- lastInvokeTime = time;
- // Start the timer for the trailing edge.
- timerId = setTimeout(timerExpired, wait);
- // Invoke the leading edge.
- return leading ? invokeFunc(time) : result;
- }
+ /** Used as default options for `_.truncate`. */
+ var DEFAULT_TRUNC_LENGTH = 30,
+ DEFAULT_TRUNC_OMISSION = '...';
- function remainingWait(time) {
- var timeSinceLastCall = time - lastCallTime,
- timeSinceLastInvoke = time - lastInvokeTime,
- timeWaiting = wait - timeSinceLastCall;
+ /** Used to detect hot functions by number of calls within a span of milliseconds. */
+ var HOT_COUNT = 800,
+ HOT_SPAN = 16;
- return maxing
- ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
- : timeWaiting;
- }
+ /** Used to indicate the type of lazy iteratees. */
+ var LAZY_FILTER_FLAG = 1,
+ LAZY_MAP_FLAG = 2,
+ LAZY_WHILE_FLAG = 3;
- function shouldInvoke(time) {
- var timeSinceLastCall = time - lastCallTime,
- timeSinceLastInvoke = time - lastInvokeTime;
+ /** Used as references for various `Number` constants. */
+ var INFINITY = 1 / 0,
+ MAX_SAFE_INTEGER = 9007199254740991,
+ MAX_INTEGER = 1.7976931348623157e+308,
+ NAN = 0 / 0;
- // Either this is the first call, activity has stopped and we're at the
- // trailing edge, the system time has gone backwards and we're treating
- // it as the trailing edge, or we've hit the `maxWait` limit.
- return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
- (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
- }
+ /** Used as references for the maximum length and index of an array. */
+ var MAX_ARRAY_LENGTH = 4294967295,
+ MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,
+ HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;
- function timerExpired() {
- var time = now();
- if (shouldInvoke(time)) {
- return trailingEdge(time);
- }
- // Restart the timer.
- timerId = setTimeout(timerExpired, remainingWait(time));
- }
+ /** Used to associate wrap methods with their bit flags. */
+ var wrapFlags = [
+ ['ary', WRAP_ARY_FLAG],
+ ['bind', WRAP_BIND_FLAG],
+ ['bindKey', WRAP_BIND_KEY_FLAG],
+ ['curry', WRAP_CURRY_FLAG],
+ ['curryRight', WRAP_CURRY_RIGHT_FLAG],
+ ['flip', WRAP_FLIP_FLAG],
+ ['partial', WRAP_PARTIAL_FLAG],
+ ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],
+ ['rearg', WRAP_REARG_FLAG]
+ ];
- function trailingEdge(time) {
- timerId = undefined;
+ /** `Object#toString` result references. */
+ var argsTag = '[object Arguments]',
+ arrayTag = '[object Array]',
+ asyncTag = '[object AsyncFunction]',
+ boolTag = '[object Boolean]',
+ dateTag = '[object Date]',
+ domExcTag = '[object DOMException]',
+ errorTag = '[object Error]',
+ funcTag = '[object Function]',
+ genTag = '[object GeneratorFunction]',
+ mapTag = '[object Map]',
+ numberTag = '[object Number]',
+ nullTag = '[object Null]',
+ objectTag = '[object Object]',
+ promiseTag = '[object Promise]',
+ proxyTag = '[object Proxy]',
+ regexpTag = '[object RegExp]',
+ setTag = '[object Set]',
+ stringTag = '[object String]',
+ symbolTag = '[object Symbol]',
+ undefinedTag = '[object Undefined]',
+ weakMapTag = '[object WeakMap]',
+ weakSetTag = '[object WeakSet]';
- // Only invoke if we have `lastArgs` which means `func` has been
- // debounced at least once.
- if (trailing && lastArgs) {
- return invokeFunc(time);
- }
- lastArgs = lastThis = undefined;
- return result;
- }
+ var arrayBufferTag = '[object ArrayBuffer]',
+ dataViewTag = '[object DataView]',
+ float32Tag = '[object Float32Array]',
+ float64Tag = '[object Float64Array]',
+ int8Tag = '[object Int8Array]',
+ int16Tag = '[object Int16Array]',
+ int32Tag = '[object Int32Array]',
+ uint8Tag = '[object Uint8Array]',
+ uint8ClampedTag = '[object Uint8ClampedArray]',
+ uint16Tag = '[object Uint16Array]',
+ uint32Tag = '[object Uint32Array]';
- function cancel() {
- if (timerId !== undefined) {
- clearTimeout(timerId);
- }
- lastInvokeTime = 0;
- lastArgs = lastCallTime = lastThis = timerId = undefined;
- }
+ /** Used to match empty string literals in compiled template source. */
+ var reEmptyStringLeading = /\b__p \+= '';/g,
+ reEmptyStringMiddle = /\b(__p \+=) '' \+/g,
+ reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;
- function flush() {
- return timerId === undefined ? result : trailingEdge(now());
- }
+ /** Used to match HTML entities and HTML characters. */
+ var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
+ reUnescapedHtml = /[&<>"']/g,
+ reHasEscapedHtml = RegExp(reEscapedHtml.source),
+ reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
- function debounced() {
- var time = now(),
- isInvoking = shouldInvoke(time);
+ /** Used to match template delimiters. */
+ var reEscape = /<%-([\s\S]+?)%>/g,
+ reEvaluate = /<%([\s\S]+?)%>/g,
+ reInterpolate = /<%=([\s\S]+?)%>/g;
- lastArgs = arguments;
- lastThis = this;
- lastCallTime = time;
+ /** Used to match property names within property paths. */
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
+ reIsPlainProp = /^\w*$/,
+ rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
- if (isInvoking) {
- if (timerId === undefined) {
- return leadingEdge(lastCallTime);
- }
- if (maxing) {
- // Handle invocations in a tight loop.
- clearTimeout(timerId);
- timerId = setTimeout(timerExpired, wait);
- return invokeFunc(lastCallTime);
- }
- }
- if (timerId === undefined) {
- timerId = setTimeout(timerExpired, wait);
- }
- return result;
- }
- debounced.cancel = cancel;
- debounced.flush = flush;
- return debounced;
- }
+ /**
+ * Used to match `RegExp`
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
+ */
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
+ reHasRegExpChar = RegExp(reRegExpChar.source);
- /**
- * Defers invoking the `func` until the current call stack has cleared. Any
- * additional arguments are provided to `func` when it's invoked.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to defer.
- * @param {...*} [args] The arguments to invoke `func` with.
- * @returns {number} Returns the timer id.
- * @example
- *
- * _.defer(function(text) {
- * console.log(text);
- * }, 'deferred');
- * // => Logs 'deferred' after one millisecond.
- */
- var defer = baseRest(function(func, args) {
- return baseDelay(func, 1, args);
- });
+ /** Used to match leading whitespace. */
+ var reTrimStart = /^\s+/;
- /**
- * Invokes `func` after `wait` milliseconds. Any additional arguments are
- * provided to `func` when it's invoked.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to delay.
- * @param {number} wait The number of milliseconds to delay invocation.
- * @param {...*} [args] The arguments to invoke `func` with.
- * @returns {number} Returns the timer id.
- * @example
- *
- * _.delay(function(text) {
- * console.log(text);
- * }, 1000, 'later');
- * // => Logs 'later' after one second.
- */
- var delay = baseRest(function(func, wait, args) {
- return baseDelay(func, toNumber(wait) || 0, args);
- });
+ /** Used to match a single whitespace character. */
+ var reWhitespace = /\s/;
- /**
- * Creates a function that invokes `func` with arguments reversed.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Function
- * @param {Function} func The function to flip arguments for.
- * @returns {Function} Returns the new flipped function.
- * @example
- *
- * var flipped = _.flip(function() {
- * return _.toArray(arguments);
- * });
- *
- * flipped('a', 'b', 'c', 'd');
- * // => ['d', 'c', 'b', 'a']
- */
- function flip(func) {
- return createWrap(func, WRAP_FLIP_FLAG);
- }
+ /** Used to match wrap detail comments. */
+ var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
+ reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/,
+ reSplitDetails = /,? & /;
- /**
- * Creates a function that memoizes the result of `func`. If `resolver` is
- * provided, it determines the cache key for storing the result based on the
- * arguments provided to the memoized function. By default, the first argument
- * provided to the memoized function is used as the map cache key. The `func`
- * is invoked with the `this` binding of the memoized function.
- *
- * **Note:** The cache is exposed as the `cache` property on the memoized
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
- * constructor with one whose instances implement the
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
- * method interface of `clear`, `delete`, `get`, `has`, and `set`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to have its output memoized.
- * @param {Function} [resolver] The function to resolve the cache key.
- * @returns {Function} Returns the new memoized function.
- * @example
- *
- * var object = { 'a': 1, 'b': 2 };
- * var other = { 'c': 3, 'd': 4 };
- *
- * var values = _.memoize(_.values);
- * values(object);
- * // => [1, 2]
- *
- * values(other);
- * // => [3, 4]
- *
- * object.a = 2;
- * values(object);
- * // => [1, 2]
- *
- * // Modify the result cache.
- * values.cache.set(object, ['a', 'b']);
- * values(object);
- * // => ['a', 'b']
- *
- * // Replace `_.memoize.Cache`.
- * _.memoize.Cache = WeakMap;
- */
- function memoize(func, resolver) {
- if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- var memoized = function() {
- var args = arguments,
- key = resolver ? resolver.apply(this, args) : args[0],
- cache = memoized.cache;
+ /** Used to match words composed of alphanumeric characters. */
+ var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
- if (cache.has(key)) {
- return cache.get(key);
- }
- var result = func.apply(this, args);
- memoized.cache = cache.set(key, result) || cache;
- return result;
- };
- memoized.cache = new (memoize.Cache || MapCache);
- return memoized;
- }
+ /**
+ * Used to validate the `validate` option in `_.template` variable.
+ *
+ * Forbids characters which could potentially change the meaning of the function argument definition:
+ * - "()," (modification of function parameters)
+ * - "=" (default value)
+ * - "[]{}" (destructuring of function parameters)
+ * - "/" (beginning of a comment)
+ * - whitespace
+ */
+ var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/;
- // Expose `MapCache`.
- memoize.Cache = MapCache;
+ /** Used to match backslashes in property paths. */
+ var reEscapeChar = /\\(\\)?/g;
- /**
- * Creates a function that negates the result of the predicate `func`. The
- * `func` predicate is invoked with the `this` binding and arguments of the
- * created function.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Function
- * @param {Function} predicate The predicate to negate.
- * @returns {Function} Returns the new negated function.
- * @example
- *
- * function isEven(n) {
- * return n % 2 == 0;
- * }
- *
- * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));
- * // => [1, 3, 5]
- */
- function negate(predicate) {
- if (typeof predicate != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- return function() {
- var args = arguments;
- switch (args.length) {
- case 0: return !predicate.call(this);
- case 1: return !predicate.call(this, args[0]);
- case 2: return !predicate.call(this, args[0], args[1]);
- case 3: return !predicate.call(this, args[0], args[1], args[2]);
- }
- return !predicate.apply(this, args);
- };
- }
+ /**
+ * Used to match
+ * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).
+ */
+ var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;
- /**
- * Creates a function that is restricted to invoking `func` once. Repeat calls
- * to the function return the value of the first invocation. The `func` is
- * invoked with the `this` binding and arguments of the created function.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to restrict.
- * @returns {Function} Returns the new restricted function.
- * @example
- *
- * var initialize = _.once(createApplication);
- * initialize();
- * initialize();
- * // => `createApplication` is invoked once
- */
- function once(func) {
- return before(2, func);
- }
+ /** Used to match `RegExp` flags from their coerced string values. */
+ var reFlags = /\w*$/;
- /**
- * Creates a function that invokes `func` with its arguments transformed.
- *
- * @static
- * @since 4.0.0
- * @memberOf _
- * @category Function
- * @param {Function} func The function to wrap.
- * @param {...(Function|Function[])} [transforms=[_.identity]]
- * The argument transforms.
- * @returns {Function} Returns the new function.
- * @example
- *
- * function doubled(n) {
- * return n * 2;
- * }
- *
- * function square(n) {
- * return n * n;
- * }
- *
- * var func = _.overArgs(function(x, y) {
- * return [x, y];
- * }, [square, doubled]);
- *
- * func(9, 3);
- * // => [81, 6]
- *
- * func(10, 5);
- * // => [100, 10]
- */
- var overArgs = castRest(function(func, transforms) {
- transforms = (transforms.length == 1 && isArray(transforms[0]))
- ? arrayMap(transforms[0], baseUnary(getIteratee()))
- : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));
+ /** Used to detect bad signed hexadecimal string values. */
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
- var funcsLength = transforms.length;
- return baseRest(function(args) {
- var index = -1,
- length = nativeMin(args.length, funcsLength);
+ /** Used to detect binary string values. */
+ var reIsBinary = /^0b[01]+$/i;
- while (++index < length) {
- args[index] = transforms[index].call(this, args[index]);
- }
- return apply(func, this, args);
- });
- });
+ /** Used to detect host constructors (Safari). */
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
- /**
- * Creates a function that invokes `func` with `partials` prepended to the
- * arguments it receives. This method is like `_.bind` except it does **not**
- * alter the `this` binding.
- *
- * The `_.partial.placeholder` value, which defaults to `_` in monolithic
- * builds, may be used as a placeholder for partially applied arguments.
- *
- * **Note:** This method doesn't set the "length" property of partially
- * applied functions.
- *
- * @static
- * @memberOf _
- * @since 0.2.0
- * @category Function
- * @param {Function} func The function to partially apply arguments to.
- * @param {...*} [partials] The arguments to be partially applied.
- * @returns {Function} Returns the new partially applied function.
- * @example
- *
- * function greet(greeting, name) {
- * return greeting + ' ' + name;
- * }
- *
- * var sayHelloTo = _.partial(greet, 'hello');
- * sayHelloTo('fred');
- * // => 'hello fred'
- *
- * // Partially applied with placeholders.
- * var greetFred = _.partial(greet, _, 'fred');
- * greetFred('hi');
- * // => 'hi fred'
- */
- var partial = baseRest(function(func, partials) {
- var holders = replaceHolders(partials, getHolder(partial));
- return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);
- });
+ /** Used to detect octal string values. */
+ var reIsOctal = /^0o[0-7]+$/i;
- /**
- * This method is like `_.partial` except that partially applied arguments
- * are appended to the arguments it receives.
- *
- * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic
- * builds, may be used as a placeholder for partially applied arguments.
- *
- * **Note:** This method doesn't set the "length" property of partially
- * applied functions.
- *
- * @static
- * @memberOf _
- * @since 1.0.0
- * @category Function
- * @param {Function} func The function to partially apply arguments to.
- * @param {...*} [partials] The arguments to be partially applied.
- * @returns {Function} Returns the new partially applied function.
- * @example
- *
- * function greet(greeting, name) {
- * return greeting + ' ' + name;
- * }
- *
- * var greetFred = _.partialRight(greet, 'fred');
- * greetFred('hi');
- * // => 'hi fred'
- *
- * // Partially applied with placeholders.
- * var sayHelloTo = _.partialRight(greet, 'hello', _);
- * sayHelloTo('fred');
- * // => 'hello fred'
- */
- var partialRight = baseRest(function(func, partials) {
- var holders = replaceHolders(partials, getHolder(partialRight));
- return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);
- });
+ /** Used to detect unsigned integer values. */
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
- /**
- * Creates a function that invokes `func` with arguments arranged according
- * to the specified `indexes` where the argument value at the first index is
- * provided as the first argument, the argument value at the second index is
- * provided as the second argument, and so on.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Function
- * @param {Function} func The function to rearrange arguments for.
- * @param {...(number|number[])} indexes The arranged argument indexes.
- * @returns {Function} Returns the new function.
- * @example
- *
- * var rearged = _.rearg(function(a, b, c) {
- * return [a, b, c];
- * }, [2, 0, 1]);
- *
- * rearged('b', 'c', 'a')
- * // => ['a', 'b', 'c']
- */
- var rearg = flatRest(function(func, indexes) {
- return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);
- });
+ /** Used to match Latin Unicode letters (excluding mathematical operators). */
+ var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
- /**
- * Creates a function that invokes `func` with the `this` binding of the
- * created function and arguments from `start` and beyond provided as
- * an array.
- *
- * **Note:** This method is based on the
- * [rest parameter](https://mdn.io/rest_parameters).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Function
- * @param {Function} func The function to apply a rest parameter to.
- * @param {number} [start=func.length-1] The start position of the rest parameter.
- * @returns {Function} Returns the new function.
- * @example
- *
- * var say = _.rest(function(what, names) {
- * return what + ' ' + _.initial(names).join(', ') +
- * (_.size(names) > 1 ? ', & ' : '') + _.last(names);
- * });
- *
- * say('hello', 'fred', 'barney', 'pebbles');
- * // => 'hello fred, barney, & pebbles'
- */
- function rest(func, start) {
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- start = start === undefined ? start : toInteger(start);
- return baseRest(func, start);
- }
+ /** Used to ensure capturing order of template delimiters. */
+ var reNoMatch = /($^)/;
- /**
- * Creates a function that invokes `func` with the `this` binding of the
- * create function and an array of arguments much like
- * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).
- *
- * **Note:** This method is based on the
- * [spread operator](https://mdn.io/spread_operator).
- *
- * @static
- * @memberOf _
- * @since 3.2.0
- * @category Function
- * @param {Function} func The function to spread arguments over.
- * @param {number} [start=0] The start position of the spread.
- * @returns {Function} Returns the new function.
- * @example
- *
- * var say = _.spread(function(who, what) {
- * return who + ' says ' + what;
- * });
- *
- * say(['fred', 'hello']);
- * // => 'fred says hello'
- *
- * var numbers = Promise.all([
- * Promise.resolve(40),
- * Promise.resolve(36)
- * ]);
- *
- * numbers.then(_.spread(function(x, y) {
- * return x + y;
- * }));
- * // => a Promise of 76
- */
- function spread(func, start) {
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- start = start == null ? 0 : nativeMax(toInteger(start), 0);
- return baseRest(function(args) {
- var array = args[start],
- otherArgs = castSlice(args, 0, start);
+ /** Used to match unescaped characters in compiled string literals. */
+ var reUnescapedString = /['\n\r\u2028\u2029\\]/g;
- if (array) {
- arrayPush(otherArgs, array);
- }
- return apply(func, this, otherArgs);
- });
- }
+ /** Used to compose unicode character classes. */
+ var rsAstralRange = '\\ud800-\\udfff',
+ rsComboMarksRange = '\\u0300-\\u036f',
+ reComboHalfMarksRange = '\\ufe20-\\ufe2f',
+ rsComboSymbolsRange = '\\u20d0-\\u20ff',
+ rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
+ rsDingbatRange = '\\u2700-\\u27bf',
+ rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
+ rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
+ rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
+ rsPunctuationRange = '\\u2000-\\u206f',
+ rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
+ rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
+ rsVarRange = '\\ufe0e\\ufe0f',
+ rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
- /**
- * Creates a throttled function that only invokes `func` at most once per
- * every `wait` milliseconds. The throttled function comes with a `cancel`
- * method to cancel delayed `func` invocations and a `flush` method to
- * immediately invoke them. Provide `options` to indicate whether `func`
- * should be invoked on the leading and/or trailing edge of the `wait`
- * timeout. The `func` is invoked with the last arguments provided to the
- * throttled function. Subsequent calls to the throttled function return the
- * result of the last `func` invocation.
- *
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
- * invoked on the trailing edge of the timeout only if the throttled function
- * is invoked more than once during the `wait` timeout.
- *
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
- *
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
- * for details over the differences between `_.throttle` and `_.debounce`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to throttle.
- * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
- * @param {Object} [options={}] The options object.
- * @param {boolean} [options.leading=true]
- * Specify invoking on the leading edge of the timeout.
- * @param {boolean} [options.trailing=true]
- * Specify invoking on the trailing edge of the timeout.
- * @returns {Function} Returns the new throttled function.
- * @example
- *
- * // Avoid excessively updating the position while scrolling.
- * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
- *
- * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
- * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
- * jQuery(element).on('click', throttled);
- *
- * // Cancel the trailing throttled invocation.
- * jQuery(window).on('popstate', throttled.cancel);
- */
- function throttle(func, wait, options) {
- var leading = true,
- trailing = true;
+ /** Used to compose unicode capture groups. */
+ var rsApos = "['\u2019]",
+ rsAstral = '[' + rsAstralRange + ']',
+ rsBreak = '[' + rsBreakRange + ']',
+ rsCombo = '[' + rsComboRange + ']',
+ rsDigits = '\\d+',
+ rsDingbat = '[' + rsDingbatRange + ']',
+ rsLower = '[' + rsLowerRange + ']',
+ rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
+ rsFitz = '\\ud83c[\\udffb-\\udfff]',
+ rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
+ rsNonAstral = '[^' + rsAstralRange + ']',
+ rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
+ rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
+ rsUpper = '[' + rsUpperRange + ']',
+ rsZWJ = '\\u200d';
- if (typeof func != 'function') {
- throw new TypeError(FUNC_ERROR_TEXT);
- }
- if (isObject(options)) {
- leading = 'leading' in options ? !!options.leading : leading;
- trailing = 'trailing' in options ? !!options.trailing : trailing;
+ /** Used to compose unicode regexes. */
+ var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
+ rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
+ rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
+ rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
+ reOptMod = rsModifier + '?',
+ rsOptVar = '[' + rsVarRange + ']?',
+ rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
+ rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
+ rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
+ rsSeq = rsOptVar + reOptMod + rsOptJoin,
+ rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,
+ rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
+
+ /** Used to match apostrophes. */
+ var reApos = RegExp(rsApos, 'g');
+
+ /**
+ * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
+ * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
+ */
+ var reComboMark = RegExp(rsCombo, 'g');
+
+ /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
+ var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
+
+ /** Used to match complex or compound words. */
+ var reUnicodeWord = RegExp([
+ rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
+ rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
+ rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
+ rsUpper + '+' + rsOptContrUpper,
+ rsOrdUpper,
+ rsOrdLower,
+ rsDigits,
+ rsEmoji
+ ].join('|'), 'g');
+
+ /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
+ var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');
+
+ /** Used to detect strings that need a more robust regexp to match words. */
+ var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
+
+ /** Used to assign default `context` object properties. */
+ var contextProps = [
+ 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',
+ 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',
+ 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',
+ 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',
+ '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'
+ ];
+
+ /** Used to make template sourceURLs easier to identify. */
+ var templateCounter = -1;
+
+ /** Used to identify `toStringTag` values of typed arrays. */
+ var typedArrayTags = {};
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
+ typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
+ typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
+ typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
+ typedArrayTags[uint32Tag] = true;
+ typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
+ typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
+ typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
+ typedArrayTags[errorTag] = typedArrayTags[funcTag] =
+ typedArrayTags[mapTag] = typedArrayTags[numberTag] =
+ typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
+ typedArrayTags[setTag] = typedArrayTags[stringTag] =
+ typedArrayTags[weakMapTag] = false;
+
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
+ var cloneableTags = {};
+ cloneableTags[argsTag] = cloneableTags[arrayTag] =
+ cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
+ cloneableTags[boolTag] = cloneableTags[dateTag] =
+ cloneableTags[float32Tag] = cloneableTags[float64Tag] =
+ cloneableTags[int8Tag] = cloneableTags[int16Tag] =
+ cloneableTags[int32Tag] = cloneableTags[mapTag] =
+ cloneableTags[numberTag] = cloneableTags[objectTag] =
+ cloneableTags[regexpTag] = cloneableTags[setTag] =
+ cloneableTags[stringTag] = cloneableTags[symbolTag] =
+ cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
+ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
+ cloneableTags[errorTag] = cloneableTags[funcTag] =
+ cloneableTags[weakMapTag] = false;
+
+ /** Used to map Latin Unicode letters to basic Latin letters. */
+ var deburredLetters = {
+ // Latin-1 Supplement block.
+ '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
+ '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
+ '\xc7': 'C', '\xe7': 'c',
+ '\xd0': 'D', '\xf0': 'd',
+ '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
+ '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
+ '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
+ '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
+ '\xd1': 'N', '\xf1': 'n',
+ '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
+ '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
+ '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
+ '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
+ '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
+ '\xc6': 'Ae', '\xe6': 'ae',
+ '\xde': 'Th', '\xfe': 'th',
+ '\xdf': 'ss',
+ // Latin Extended-A block.
+ '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
+ '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
+ '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
+ '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
+ '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
+ '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
+ '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
+ '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
+ '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
+ '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
+ '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
+ '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
+ '\u0134': 'J', '\u0135': 'j',
+ '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
+ '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
+ '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
+ '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
+ '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
+ '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
+ '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
+ '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
+ '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
+ '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
+ '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
+ '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
+ '\u0163': 't', '\u0165': 't', '\u0167': 't',
+ '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
+ '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
+ '\u0174': 'W', '\u0175': 'w',
+ '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
+ '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
+ '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
+ '\u0132': 'IJ', '\u0133': 'ij',
+ '\u0152': 'Oe', '\u0153': 'oe',
+ '\u0149': "'n", '\u017f': 's'
+ };
+
+ /** Used to map characters to HTML entities. */
+ var htmlEscapes = {
+ '&': '&',
+ '<': '<',
+ '>': '>',
+ '"': '"',
+ "'": '''
+ };
+
+ /** Used to map HTML entities to characters. */
+ var htmlUnescapes = {
+ '&': '&',
+ '<': '<',
+ '>': '>',
+ '"': '"',
+ ''': "'"
+ };
+
+ /** Used to escape characters for inclusion in compiled string literals. */
+ var stringEscapes = {
+ '\\': '\\',
+ "'": "'",
+ '\n': 'n',
+ '\r': 'r',
+ '\u2028': 'u2028',
+ '\u2029': 'u2029'
+ };
+
+ /** Built-in method references without a dependency on `root`. */
+ var freeParseFloat = parseFloat,
+ freeParseInt = parseInt;
+
+ /** Detect free variable `global` from Node.js. */
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
+
+ /** Detect free variable `self`. */
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
+
+ /** Used as a reference to the global object. */
+ var root = freeGlobal || freeSelf || Function('return this')();
+
+ /** Detect free variable `exports`. */
+ var freeExports = true && exports && !exports.nodeType && exports;
+
+ /** Detect free variable `module`. */
+ var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
+
+ /** Detect the popular CommonJS extension `module.exports`. */
+ var moduleExports = freeModule && freeModule.exports === freeExports;
+
+ /** Detect free variable `process` from Node.js. */
+ var freeProcess = moduleExports && freeGlobal.process;
+
+ /** Used to access faster Node.js helpers. */
+ var nodeUtil = (function() {
+ try {
+ // Use `util.types` for Node.js 10+.
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
+
+ if (types) {
+ return types;
}
- return debounce(func, wait, {
- 'leading': leading,
- 'maxWait': wait,
- 'trailing': trailing
- });
- }
- /**
- * Creates a function that accepts up to one argument, ignoring any
- * additional arguments.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Function
- * @param {Function} func The function to cap arguments for.
- * @returns {Function} Returns the new capped function.
- * @example
- *
- * _.map(['6', '8', '10'], _.unary(parseInt));
- * // => [6, 8, 10]
- */
- function unary(func) {
- return ary(func, 1);
+ // Legacy `process.binding('util')` for Node.js < 10.
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
+ } catch (e) {}
+ }());
+
+ /* Node.js helper references. */
+ var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,
+ nodeIsDate = nodeUtil && nodeUtil.isDate,
+ nodeIsMap = nodeUtil && nodeUtil.isMap,
+ nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,
+ nodeIsSet = nodeUtil && nodeUtil.isSet,
+ nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
+
+ /*--------------------------------------------------------------------------*/
+
+ /**
+ * A faster alternative to `Function#apply`, this function invokes `func`
+ * with the `this` binding of `thisArg` and the arguments of `args`.
+ *
+ * @private
+ * @param {Function} func The function to invoke.
+ * @param {*} thisArg The `this` binding of `func`.
+ * @param {Array} args The arguments to invoke `func` with.
+ * @returns {*} Returns the result of `func`.
+ */
+ function apply(func, thisArg, args) {
+ switch (args.length) {
+ case 0: return func.call(thisArg);
+ case 1: return func.call(thisArg, args[0]);
+ case 2: return func.call(thisArg, args[0], args[1]);
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
}
+ return func.apply(thisArg, args);
+ }
- /**
- * Creates a function that provides `value` to `wrapper` as its first
- * argument. Any additional arguments provided to the function are appended
- * to those provided to the `wrapper`. The wrapper is invoked with the `this`
- * binding of the created function.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {*} value The value to wrap.
- * @param {Function} [wrapper=identity] The wrapper function.
- * @returns {Function} Returns the new function.
- * @example
- *
- * var p = _.wrap(_.escape, function(func, text) {
- * return '' + func(text) + '
';
- * });
- *
- * p('fred, barney, & pebbles');
- * // => 'fred, barney, & pebbles
'
- */
- function wrap(value, wrapper) {
- return partial(castFunction(wrapper), value);
+ /**
+ * A specialized version of `baseAggregator` for arrays.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} setter The function to set `accumulator` values.
+ * @param {Function} iteratee The iteratee to transform keys.
+ * @param {Object} accumulator The initial aggregated object.
+ * @returns {Function} Returns `accumulator`.
+ */
+ function arrayAggregator(array, setter, iteratee, accumulator) {
+ var index = -1,
+ length = array == null ? 0 : array.length;
+
+ while (++index < length) {
+ var value = array[index];
+ setter(accumulator, value, iteratee(value), array);
}
+ return accumulator;
+ }
- /*------------------------------------------------------------------------*/
+ /**
+ * A specialized version of `_.forEach` for arrays without support for
+ * iteratee shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Array} Returns `array`.
+ */
+ function arrayEach(array, iteratee) {
+ var index = -1,
+ length = array == null ? 0 : array.length;
- /**
- * Casts `value` as an array if it's not one.
- *
- * @static
- * @memberOf _
- * @since 4.4.0
- * @category Lang
- * @param {*} value The value to inspect.
- * @returns {Array} Returns the cast array.
- * @example
- *
- * _.castArray(1);
- * // => [1]
- *
- * _.castArray({ 'a': 1 });
- * // => [{ 'a': 1 }]
- *
- * _.castArray('abc');
- * // => ['abc']
- *
- * _.castArray(null);
- * // => [null]
- *
- * _.castArray(undefined);
- * // => [undefined]
- *
- * _.castArray();
- * // => []
- *
- * var array = [1, 2, 3];
- * console.log(_.castArray(array) === array);
- * // => true
- */
- function castArray() {
- if (!arguments.length) {
- return [];
+ while (++index < length) {
+ if (iteratee(array[index], index, array) === false) {
+ break;
}
- var value = arguments[0];
- return isArray(value) ? value : [value];
}
+ return array;
+ }
- /**
- * Creates a shallow clone of `value`.
- *
- * **Note:** This method is loosely based on the
- * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
- * and supports cloning arrays, array buffers, booleans, date objects, maps,
- * numbers, `Object` objects, regexes, sets, strings, symbols, and typed
- * arrays. The own enumerable properties of `arguments` objects are cloned
- * as plain objects. An empty object is returned for uncloneable values such
- * as error objects, functions, DOM nodes, and WeakMaps.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to clone.
- * @returns {*} Returns the cloned value.
- * @see _.cloneDeep
- * @example
- *
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
- *
- * var shallow = _.clone(objects);
- * console.log(shallow[0] === objects[0]);
- * // => true
- */
- function clone(value) {
- return baseClone(value, CLONE_SYMBOLS_FLAG);
+ /**
+ * A specialized version of `_.forEachRight` for arrays without support for
+ * iteratee shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Array} Returns `array`.
+ */
+ function arrayEachRight(array, iteratee) {
+ var length = array == null ? 0 : array.length;
+
+ while (length--) {
+ if (iteratee(array[length], length, array) === false) {
+ break;
+ }
}
+ return array;
+ }
- /**
- * This method is like `_.clone` except that it accepts `customizer` which
- * is invoked to produce the cloned value. If `customizer` returns `undefined`,
- * cloning is handled by the method instead. The `customizer` is invoked with
- * up to four arguments; (value [, index|key, object, stack]).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to clone.
- * @param {Function} [customizer] The function to customize cloning.
- * @returns {*} Returns the cloned value.
- * @see _.cloneDeepWith
- * @example
- *
- * function customizer(value) {
- * if (_.isElement(value)) {
- * return value.cloneNode(false);
- * }
- * }
- *
- * var el = _.cloneWith(document.body, customizer);
- *
- * console.log(el === document.body);
- * // => false
- * console.log(el.nodeName);
- * // => 'BODY'
- * console.log(el.childNodes.length);
- * // => 0
- */
- function cloneWith(value, customizer) {
- customizer = typeof customizer == 'function' ? customizer : undefined;
- return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);
+ /**
+ * A specialized version of `_.every` for arrays without support for
+ * iteratee shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} predicate The function invoked per iteration.
+ * @returns {boolean} Returns `true` if all elements pass the predicate check,
+ * else `false`.
+ */
+ function arrayEvery(array, predicate) {
+ var index = -1,
+ length = array == null ? 0 : array.length;
+
+ while (++index < length) {
+ if (!predicate(array[index], index, array)) {
+ return false;
+ }
}
+ return true;
+ }
- /**
- * This method is like `_.clone` except that it recursively clones `value`.
- *
- * @static
- * @memberOf _
- * @since 1.0.0
- * @category Lang
- * @param {*} value The value to recursively clone.
- * @returns {*} Returns the deep cloned value.
- * @see _.clone
- * @example
- *
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
- *
- * var deep = _.cloneDeep(objects);
- * console.log(deep[0] === objects[0]);
- * // => false
- */
- function cloneDeep(value) {
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
- }
+ /**
+ * A specialized version of `_.filter` for arrays without support for
+ * iteratee shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} predicate The function invoked per iteration.
+ * @returns {Array} Returns the new filtered array.
+ */
+ function arrayFilter(array, predicate) {
+ var index = -1,
+ length = array == null ? 0 : array.length,
+ resIndex = 0,
+ result = [];
- /**
- * This method is like `_.cloneWith` except that it recursively clones `value`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to recursively clone.
- * @param {Function} [customizer] The function to customize cloning.
- * @returns {*} Returns the deep cloned value.
- * @see _.cloneWith
- * @example
- *
- * function customizer(value) {
- * if (_.isElement(value)) {
- * return value.cloneNode(true);
- * }
- * }
- *
- * var el = _.cloneDeepWith(document.body, customizer);
- *
- * console.log(el === document.body);
- * // => false
- * console.log(el.nodeName);
- * // => 'BODY'
- * console.log(el.childNodes.length);
- * // => 20
- */
- function cloneDeepWith(value, customizer) {
- customizer = typeof customizer == 'function' ? customizer : undefined;
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);
+ while (++index < length) {
+ var value = array[index];
+ if (predicate(value, index, array)) {
+ result[resIndex++] = value;
+ }
}
+ return result;
+ }
- /**
- * Checks if `object` conforms to `source` by invoking the predicate
- * properties of `source` with the corresponding property values of `object`.
- *
- * **Note:** This method is equivalent to `_.conforms` when `source` is
- * partially applied.
- *
- * @static
- * @memberOf _
- * @since 4.14.0
- * @category Lang
- * @param {Object} object The object to inspect.
- * @param {Object} source The object of property predicates to conform to.
- * @returns {boolean} Returns `true` if `object` conforms, else `false`.
- * @example
- *
- * var object = { 'a': 1, 'b': 2 };
- *
- * _.conformsTo(object, { 'b': function(n) { return n > 1; } });
- * // => true
- *
- * _.conformsTo(object, { 'b': function(n) { return n > 2; } });
- * // => false
- */
- function conformsTo(object, source) {
- return source == null || baseConformsTo(object, source, keys(source));
- }
+ /**
+ * A specialized version of `_.includes` for arrays without support for
+ * specifying an index to search from.
+ *
+ * @private
+ * @param {Array} [array] The array to inspect.
+ * @param {*} target The value to search for.
+ * @returns {boolean} Returns `true` if `target` is found, else `false`.
+ */
+ function arrayIncludes(array, value) {
+ var length = array == null ? 0 : array.length;
+ return !!length && baseIndexOf(array, value, 0) > -1;
+ }
- /**
- * Performs a
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
- * comparison between two values to determine if they are equivalent.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
- * @example
- *
- * var object = { 'a': 1 };
- * var other = { 'a': 1 };
- *
- * _.eq(object, object);
- * // => true
- *
- * _.eq(object, other);
- * // => false
- *
- * _.eq('a', 'a');
- * // => true
- *
- * _.eq('a', Object('a'));
- * // => false
- *
- * _.eq(NaN, NaN);
- * // => true
- */
- function eq(value, other) {
- return value === other || (value !== value && other !== other);
+ /**
+ * This function is like `arrayIncludes` except that it accepts a comparator.
+ *
+ * @private
+ * @param {Array} [array] The array to inspect.
+ * @param {*} target The value to search for.
+ * @param {Function} comparator The comparator invoked per element.
+ * @returns {boolean} Returns `true` if `target` is found, else `false`.
+ */
+ function arrayIncludesWith(array, value, comparator) {
+ var index = -1,
+ length = array == null ? 0 : array.length;
+
+ while (++index < length) {
+ if (comparator(value, array[index])) {
+ return true;
+ }
}
+ return false;
+ }
- /**
- * Checks if `value` is greater than `other`.
- *
- * @static
- * @memberOf _
- * @since 3.9.0
- * @category Lang
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {boolean} Returns `true` if `value` is greater than `other`,
- * else `false`.
- * @see _.lt
- * @example
- *
- * _.gt(3, 1);
- * // => true
- *
- * _.gt(3, 3);
- * // => false
- *
- * _.gt(1, 3);
- * // => false
- */
- var gt = createRelationalOperation(baseGt);
+ /**
+ * A specialized version of `_.map` for arrays without support for iteratee
+ * shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Array} Returns the new mapped array.
+ */
+ function arrayMap(array, iteratee) {
+ var index = -1,
+ length = array == null ? 0 : array.length,
+ result = Array(length);
- /**
- * Checks if `value` is greater than or equal to `other`.
- *
- * @static
- * @memberOf _
- * @since 3.9.0
- * @category Lang
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {boolean} Returns `true` if `value` is greater than or equal to
- * `other`, else `false`.
- * @see _.lte
- * @example
- *
- * _.gte(3, 1);
- * // => true
- *
- * _.gte(3, 3);
- * // => true
- *
- * _.gte(1, 3);
- * // => false
- */
- var gte = createRelationalOperation(function(value, other) {
- return value >= other;
- });
+ while (++index < length) {
+ result[index] = iteratee(array[index], index, array);
+ }
+ return result;
+ }
- /**
- * Checks if `value` is likely an `arguments` object.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
- * else `false`.
- * @example
- *
- * _.isArguments(function() { return arguments; }());
- * // => true
- *
- * _.isArguments([1, 2, 3]);
- * // => false
- */
- var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
- return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
- !propertyIsEnumerable.call(value, 'callee');
- };
+ /**
+ * Appends the elements of `values` to `array`.
+ *
+ * @private
+ * @param {Array} array The array to modify.
+ * @param {Array} values The values to append.
+ * @returns {Array} Returns `array`.
+ */
+ function arrayPush(array, values) {
+ var index = -1,
+ length = values.length,
+ offset = array.length;
- /**
- * Checks if `value` is classified as an `Array` object.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
- * @example
- *
- * _.isArray([1, 2, 3]);
- * // => true
- *
- * _.isArray(document.body.children);
- * // => false
- *
- * _.isArray('abc');
- * // => false
- *
- * _.isArray(_.noop);
- * // => false
- */
- var isArray = Array.isArray;
+ while (++index < length) {
+ array[offset + index] = values[index];
+ }
+ return array;
+ }
- /**
- * Checks if `value` is classified as an `ArrayBuffer` object.
- *
- * @static
- * @memberOf _
- * @since 4.3.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
- * @example
- *
- * _.isArrayBuffer(new ArrayBuffer(2));
- * // => true
- *
- * _.isArrayBuffer(new Array(2));
- * // => false
- */
- var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;
+ /**
+ * A specialized version of `_.reduce` for arrays without support for
+ * iteratee shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @param {*} [accumulator] The initial value.
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
+ * the initial value.
+ * @returns {*} Returns the accumulated value.
+ */
+ function arrayReduce(array, iteratee, accumulator, initAccum) {
+ var index = -1,
+ length = array == null ? 0 : array.length;
- /**
- * Checks if `value` is array-like. A value is considered array-like if it's
- * not a function and has a `value.length` that's an integer greater than or
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
- * @example
- *
- * _.isArrayLike([1, 2, 3]);
- * // => true
- *
- * _.isArrayLike(document.body.children);
- * // => true
- *
- * _.isArrayLike('abc');
- * // => true
- *
- * _.isArrayLike(_.noop);
- * // => false
- */
- function isArrayLike(value) {
- return value != null && isLength(value.length) && !isFunction(value);
+ if (initAccum && length) {
+ accumulator = array[++index];
}
-
- /**
- * This method is like `_.isArrayLike` except that it also checks if `value`
- * is an object.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an array-like object,
- * else `false`.
- * @example
- *
- * _.isArrayLikeObject([1, 2, 3]);
- * // => true
- *
- * _.isArrayLikeObject(document.body.children);
- * // => true
- *
- * _.isArrayLikeObject('abc');
- * // => false
- *
- * _.isArrayLikeObject(_.noop);
- * // => false
- */
- function isArrayLikeObject(value) {
- return isObjectLike(value) && isArrayLike(value);
+ while (++index < length) {
+ accumulator = iteratee(accumulator, array[index], index, array);
}
+ return accumulator;
+ }
- /**
- * Checks if `value` is classified as a boolean primitive or object.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.
- * @example
- *
- * _.isBoolean(false);
- * // => true
- *
- * _.isBoolean(null);
- * // => false
- */
- function isBoolean(value) {
- return value === true || value === false ||
- (isObjectLike(value) && baseGetTag(value) == boolTag);
+ /**
+ * A specialized version of `_.reduceRight` for arrays without support for
+ * iteratee shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @param {*} [accumulator] The initial value.
+ * @param {boolean} [initAccum] Specify using the last element of `array` as
+ * the initial value.
+ * @returns {*} Returns the accumulated value.
+ */
+ function arrayReduceRight(array, iteratee, accumulator, initAccum) {
+ var length = array == null ? 0 : array.length;
+ if (initAccum && length) {
+ accumulator = array[--length];
}
+ while (length--) {
+ accumulator = iteratee(accumulator, array[length], length, array);
+ }
+ return accumulator;
+ }
- /**
- * Checks if `value` is a buffer.
- *
- * @static
- * @memberOf _
- * @since 4.3.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
- * @example
- *
- * _.isBuffer(new Buffer(2));
- * // => true
- *
- * _.isBuffer(new Uint8Array(2));
- * // => false
- */
- var isBuffer = nativeIsBuffer || stubFalse;
-
- /**
- * Checks if `value` is classified as a `Date` object.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
- * @example
- *
- * _.isDate(new Date);
- * // => true
- *
- * _.isDate('Mon April 23 2012');
- * // => false
- */
- var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;
+ /**
+ * A specialized version of `_.some` for arrays without support for iteratee
+ * shorthands.
+ *
+ * @private
+ * @param {Array} [array] The array to iterate over.
+ * @param {Function} predicate The function invoked per iteration.
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
+ * else `false`.
+ */
+ function arraySome(array, predicate) {
+ var index = -1,
+ length = array == null ? 0 : array.length;
- /**
- * Checks if `value` is likely a DOM element.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.
- * @example
- *
- * _.isElement(document.body);
- * // => true
- *
- * _.isElement('');
- * // => false
- */
- function isElement(value) {
- return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
+ while (++index < length) {
+ if (predicate(array[index], index, array)) {
+ return true;
+ }
}
+ return false;
+ }
- /**
- * Checks if `value` is an empty object, collection, map, or set.
- *
- * Objects are considered empty if they have no own enumerable string keyed
- * properties.
- *
- * Array-like values such as `arguments` objects, arrays, buffers, strings, or
- * jQuery-like collections are considered empty if they have a `length` of `0`.
- * Similarly, maps and sets are considered empty if they have a `size` of `0`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is empty, else `false`.
- * @example
- *
- * _.isEmpty(null);
- * // => true
- *
- * _.isEmpty(true);
- * // => true
- *
- * _.isEmpty(1);
- * // => true
- *
- * _.isEmpty([1, 2, 3]);
- * // => false
- *
- * _.isEmpty({ 'a': 1 });
- * // => false
- */
- function isEmpty(value) {
- if (value == null) {
- return true;
- }
- if (isArrayLike(value) &&
- (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||
- isBuffer(value) || isTypedArray(value) || isArguments(value))) {
- return !value.length;
- }
- var tag = getTag(value);
- if (tag == mapTag || tag == setTag) {
- return !value.size;
- }
- if (isPrototype(value)) {
- return !baseKeys(value).length;
+ /**
+ * Gets the size of an ASCII `string`.
+ *
+ * @private
+ * @param {string} string The string inspect.
+ * @returns {number} Returns the string size.
+ */
+ var asciiSize = baseProperty('length');
+
+ /**
+ * Converts an ASCII `string` to an array.
+ *
+ * @private
+ * @param {string} string The string to convert.
+ * @returns {Array} Returns the converted array.
+ */
+ function asciiToArray(string) {
+ return string.split('');
+ }
+
+ /**
+ * Splits an ASCII `string` into an array of its words.
+ *
+ * @private
+ * @param {string} The string to inspect.
+ * @returns {Array} Returns the words of `string`.
+ */
+ function asciiWords(string) {
+ return string.match(reAsciiWord) || [];
+ }
+
+ /**
+ * The base implementation of methods like `_.findKey` and `_.findLastKey`,
+ * without support for iteratee shorthands, which iterates over `collection`
+ * using `eachFunc`.
+ *
+ * @private
+ * @param {Array|Object} collection The collection to inspect.
+ * @param {Function} predicate The function invoked per iteration.
+ * @param {Function} eachFunc The function to iterate over `collection`.
+ * @returns {*} Returns the found element or its key, else `undefined`.
+ */
+ function baseFindKey(collection, predicate, eachFunc) {
+ var result;
+ eachFunc(collection, function(value, key, collection) {
+ if (predicate(value, key, collection)) {
+ result = key;
+ return false;
}
- for (var key in value) {
- if (hasOwnProperty.call(value, key)) {
- return false;
- }
+ });
+ return result;
+ }
+
+ /**
+ * The base implementation of `_.findIndex` and `_.findLastIndex` without
+ * support for iteratee shorthands.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {Function} predicate The function invoked per iteration.
+ * @param {number} fromIndex The index to search from.
+ * @param {boolean} [fromRight] Specify iterating from right to left.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+ function baseFindIndex(array, predicate, fromIndex, fromRight) {
+ var length = array.length,
+ index = fromIndex + (fromRight ? 1 : -1);
+
+ while ((fromRight ? index-- : ++index < length)) {
+ if (predicate(array[index], index, array)) {
+ return index;
}
- return true;
}
+ return -1;
+ }
- /**
- * Performs a deep comparison between two values to determine if they are
- * equivalent.
- *
- * **Note:** This method supports comparing arrays, array buffers, booleans,
- * date objects, error objects, maps, numbers, `Object` objects, regexes,
- * sets, strings, symbols, and typed arrays. `Object` objects are compared
- * by their own, not inherited, enumerable properties. Functions and DOM
- * nodes are compared by strict equality, i.e. `===`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
- * @example
- *
- * var object = { 'a': 1 };
- * var other = { 'a': 1 };
- *
- * _.isEqual(object, other);
- * // => true
- *
- * object === other;
- * // => false
- */
- function isEqual(value, other) {
- return baseIsEqual(value, other);
- }
+ /**
+ * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} value The value to search for.
+ * @param {number} fromIndex The index to search from.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+ function baseIndexOf(array, value, fromIndex) {
+ return value === value
+ ? strictIndexOf(array, value, fromIndex)
+ : baseFindIndex(array, baseIsNaN, fromIndex);
+ }
- /**
- * This method is like `_.isEqual` except that it accepts `customizer` which
- * is invoked to compare values. If `customizer` returns `undefined`, comparisons
- * are handled by the method instead. The `customizer` is invoked with up to
- * six arguments: (objValue, othValue [, index|key, object, other, stack]).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @param {Function} [customizer] The function to customize comparisons.
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
- * @example
- *
- * function isGreeting(value) {
- * return /^h(?:i|ello)$/.test(value);
- * }
- *
- * function customizer(objValue, othValue) {
- * if (isGreeting(objValue) && isGreeting(othValue)) {
- * return true;
- * }
- * }
- *
- * var array = ['hello', 'goodbye'];
- * var other = ['hi', 'goodbye'];
- *
- * _.isEqualWith(array, other, customizer);
- * // => true
- */
- function isEqualWith(value, other, customizer) {
- customizer = typeof customizer == 'function' ? customizer : undefined;
- var result = customizer ? customizer(value, other) : undefined;
- return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;
- }
+ /**
+ * This function is like `baseIndexOf` except that it accepts a comparator.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} value The value to search for.
+ * @param {number} fromIndex The index to search from.
+ * @param {Function} comparator The comparator invoked per element.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+ function baseIndexOfWith(array, value, fromIndex, comparator) {
+ var index = fromIndex - 1,
+ length = array.length;
- /**
- * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
- * `SyntaxError`, `TypeError`, or `URIError` object.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an error object, else `false`.
- * @example
- *
- * _.isError(new Error);
- * // => true
- *
- * _.isError(Error);
- * // => false
- */
- function isError(value) {
- if (!isObjectLike(value)) {
- return false;
+ while (++index < length) {
+ if (comparator(array[index], value)) {
+ return index;
}
- var tag = baseGetTag(value);
- return tag == errorTag || tag == domExcTag ||
- (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));
}
+ return -1;
+ }
- /**
- * Checks if `value` is a finite primitive number.
- *
- * **Note:** This method is based on
- * [`Number.isFinite`](https://mdn.io/Number/isFinite).
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.
- * @example
- *
- * _.isFinite(3);
- * // => true
- *
- * _.isFinite(Number.MIN_VALUE);
- * // => true
- *
- * _.isFinite(Infinity);
- * // => false
- *
- * _.isFinite('3');
- * // => false
- */
- function isFinite(value) {
- return typeof value == 'number' && nativeIsFinite(value);
+ /**
+ * The base implementation of `_.isNaN` without support for number objects.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
+ */
+ function baseIsNaN(value) {
+ return value !== value;
+ }
+
+ /**
+ * The base implementation of `_.mean` and `_.meanBy` without support for
+ * iteratee shorthands.
+ *
+ * @private
+ * @param {Array} array The array to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {number} Returns the mean.
+ */
+ function baseMean(array, iteratee) {
+ var length = array == null ? 0 : array.length;
+ return length ? (baseSum(array, iteratee) / length) : NAN;
+ }
+
+ /**
+ * The base implementation of `_.property` without support for deep paths.
+ *
+ * @private
+ * @param {string} key The key of the property to get.
+ * @returns {Function} Returns the new accessor function.
+ */
+ function baseProperty(key) {
+ return function(object) {
+ return object == null ? undefined : object[key];
+ };
+ }
+
+ /**
+ * The base implementation of `_.propertyOf` without support for deep paths.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @returns {Function} Returns the new accessor function.
+ */
+ function basePropertyOf(object) {
+ return function(key) {
+ return object == null ? undefined : object[key];
+ };
+ }
+
+ /**
+ * The base implementation of `_.reduce` and `_.reduceRight`, without support
+ * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
+ *
+ * @private
+ * @param {Array|Object} collection The collection to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @param {*} accumulator The initial value.
+ * @param {boolean} initAccum Specify using the first or last element of
+ * `collection` as the initial value.
+ * @param {Function} eachFunc The function to iterate over `collection`.
+ * @returns {*} Returns the accumulated value.
+ */
+ function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
+ eachFunc(collection, function(value, index, collection) {
+ accumulator = initAccum
+ ? (initAccum = false, value)
+ : iteratee(accumulator, value, index, collection);
+ });
+ return accumulator;
+ }
+
+ /**
+ * The base implementation of `_.sortBy` which uses `comparer` to define the
+ * sort order of `array` and replaces criteria objects with their corresponding
+ * values.
+ *
+ * @private
+ * @param {Array} array The array to sort.
+ * @param {Function} comparer The function to define sort order.
+ * @returns {Array} Returns `array`.
+ */
+ function baseSortBy(array, comparer) {
+ var length = array.length;
+
+ array.sort(comparer);
+ while (length--) {
+ array[length] = array[length].value;
}
+ return array;
+ }
- /**
- * Checks if `value` is classified as a `Function` object.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
- * @example
- *
- * _.isFunction(_);
- * // => true
- *
- * _.isFunction(/abc/);
- * // => false
- */
- function isFunction(value) {
- if (!isObject(value)) {
- return false;
+ /**
+ * The base implementation of `_.sum` and `_.sumBy` without support for
+ * iteratee shorthands.
+ *
+ * @private
+ * @param {Array} array The array to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {number} Returns the sum.
+ */
+ function baseSum(array, iteratee) {
+ var result,
+ index = -1,
+ length = array.length;
+
+ while (++index < length) {
+ var current = iteratee(array[index]);
+ if (current !== undefined) {
+ result = result === undefined ? current : (result + current);
}
- // The use of `Object#toString` avoids issues with the `typeof` operator
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
- var tag = baseGetTag(value);
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
}
+ return result;
+ }
- /**
- * Checks if `value` is an integer.
- *
- * **Note:** This method is based on
- * [`Number.isInteger`](https://mdn.io/Number/isInteger).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an integer, else `false`.
- * @example
- *
- * _.isInteger(3);
- * // => true
- *
- * _.isInteger(Number.MIN_VALUE);
- * // => false
- *
- * _.isInteger(Infinity);
- * // => false
- *
- * _.isInteger('3');
- * // => false
- */
- function isInteger(value) {
- return typeof value == 'number' && value == toInteger(value);
- }
+ /**
+ * The base implementation of `_.times` without support for iteratee shorthands
+ * or max array length checks.
+ *
+ * @private
+ * @param {number} n The number of times to invoke `iteratee`.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Array} Returns the array of results.
+ */
+ function baseTimes(n, iteratee) {
+ var index = -1,
+ result = Array(n);
- /**
- * Checks if `value` is a valid array-like length.
- *
- * **Note:** This method is loosely based on
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
- * @example
- *
- * _.isLength(3);
- * // => true
- *
- * _.isLength(Number.MIN_VALUE);
- * // => false
- *
- * _.isLength(Infinity);
- * // => false
- *
- * _.isLength('3');
- * // => false
- */
- function isLength(value) {
- return typeof value == 'number' &&
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
+ while (++index < n) {
+ result[index] = iteratee(index);
}
+ return result;
+ }
- /**
- * Checks if `value` is the
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
- * @example
- *
- * _.isObject({});
- * // => true
- *
- * _.isObject([1, 2, 3]);
- * // => true
- *
- * _.isObject(_.noop);
- * // => true
- *
- * _.isObject(null);
- * // => false
- */
- function isObject(value) {
- var type = typeof value;
- return value != null && (type == 'object' || type == 'function');
- }
+ /**
+ * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array
+ * of key-value pairs for `object` corresponding to the property names of `props`.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @param {Array} props The property names to get values for.
+ * @returns {Object} Returns the key-value pairs.
+ */
+ function baseToPairs(object, props) {
+ return arrayMap(props, function(key) {
+ return [key, object[key]];
+ });
+ }
- /**
- * Checks if `value` is object-like. A value is object-like if it's not `null`
- * and has a `typeof` result of "object".
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
- * @example
- *
- * _.isObjectLike({});
- * // => true
- *
- * _.isObjectLike([1, 2, 3]);
- * // => true
- *
- * _.isObjectLike(_.noop);
- * // => false
- *
- * _.isObjectLike(null);
- * // => false
- */
- function isObjectLike(value) {
- return value != null && typeof value == 'object';
- }
+ /**
+ * The base implementation of `_.trim`.
+ *
+ * @private
+ * @param {string} string The string to trim.
+ * @returns {string} Returns the trimmed string.
+ */
+ function baseTrim(string) {
+ return string
+ ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
+ : string;
+ }
- /**
- * Checks if `value` is classified as a `Map` object.
- *
- * @static
- * @memberOf _
- * @since 4.3.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a map, else `false`.
- * @example
- *
- * _.isMap(new Map);
- * // => true
- *
- * _.isMap(new WeakMap);
- * // => false
- */
- var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
+ /**
+ * The base implementation of `_.unary` without support for storing metadata.
+ *
+ * @private
+ * @param {Function} func The function to cap arguments for.
+ * @returns {Function} Returns the new capped function.
+ */
+ function baseUnary(func) {
+ return function(value) {
+ return func(value);
+ };
+ }
- /**
- * Performs a partial deep comparison between `object` and `source` to
- * determine if `object` contains equivalent property values.
- *
- * **Note:** This method is equivalent to `_.matches` when `source` is
- * partially applied.
- *
- * Partial comparisons will match empty array and empty object `source`
- * values against any array or object value, respectively. See `_.isEqual`
- * for a list of supported value comparisons.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Lang
- * @param {Object} object The object to inspect.
- * @param {Object} source The object of property values to match.
- * @returns {boolean} Returns `true` if `object` is a match, else `false`.
- * @example
- *
- * var object = { 'a': 1, 'b': 2 };
- *
- * _.isMatch(object, { 'b': 2 });
- * // => true
- *
- * _.isMatch(object, { 'b': 1 });
- * // => false
- */
- function isMatch(object, source) {
- return object === source || baseIsMatch(object, source, getMatchData(source));
- }
+ /**
+ * The base implementation of `_.values` and `_.valuesIn` which creates an
+ * array of `object` property values corresponding to the property names
+ * of `props`.
+ *
+ * @private
+ * @param {Object} object The object to query.
+ * @param {Array} props The property names to get values for.
+ * @returns {Object} Returns the array of property values.
+ */
+ function baseValues(object, props) {
+ return arrayMap(props, function(key) {
+ return object[key];
+ });
+ }
- /**
- * This method is like `_.isMatch` except that it accepts `customizer` which
- * is invoked to compare values. If `customizer` returns `undefined`, comparisons
- * are handled by the method instead. The `customizer` is invoked with five
- * arguments: (objValue, srcValue, index|key, object, source).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {Object} object The object to inspect.
- * @param {Object} source The object of property values to match.
- * @param {Function} [customizer] The function to customize comparisons.
- * @returns {boolean} Returns `true` if `object` is a match, else `false`.
- * @example
- *
- * function isGreeting(value) {
- * return /^h(?:i|ello)$/.test(value);
- * }
- *
- * function customizer(objValue, srcValue) {
- * if (isGreeting(objValue) && isGreeting(srcValue)) {
- * return true;
- * }
- * }
- *
- * var object = { 'greeting': 'hello' };
- * var source = { 'greeting': 'hi' };
- *
- * _.isMatchWith(object, source, customizer);
- * // => true
- */
- function isMatchWith(object, source, customizer) {
- customizer = typeof customizer == 'function' ? customizer : undefined;
- return baseIsMatch(object, source, getMatchData(source), customizer);
- }
+ /**
+ * Checks if a `cache` value for `key` exists.
+ *
+ * @private
+ * @param {Object} cache The cache to query.
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+ function cacheHas(cache, key) {
+ return cache.has(key);
+ }
- /**
- * Checks if `value` is `NaN`.
- *
- * **Note:** This method is based on
- * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
- * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for
- * `undefined` and other non-number values.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
- * @example
- *
- * _.isNaN(NaN);
- * // => true
- *
- * _.isNaN(new Number(NaN));
- * // => true
- *
- * isNaN(undefined);
- * // => true
- *
- * _.isNaN(undefined);
- * // => false
- */
- function isNaN(value) {
- // An `NaN` primitive is the only value that is not equal to itself.
- // Perform the `toStringTag` check first to avoid errors with some
- // ActiveX objects in IE.
- return isNumber(value) && value != +value;
- }
+ /**
+ * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
+ * that is not found in the character symbols.
+ *
+ * @private
+ * @param {Array} strSymbols The string symbols to inspect.
+ * @param {Array} chrSymbols The character symbols to find.
+ * @returns {number} Returns the index of the first unmatched string symbol.
+ */
+ function charsStartIndex(strSymbols, chrSymbols) {
+ var index = -1,
+ length = strSymbols.length;
- /**
- * Checks if `value` is a pristine native function.
- *
- * **Note:** This method can't reliably detect native functions in the presence
- * of the core-js package because core-js circumvents this kind of detection.
- * Despite multiple requests, the core-js maintainer has made it clear: any
- * attempt to fix the detection will be obstructed. As a result, we're left
- * with little choice but to throw an error. Unfortunately, this also affects
- * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),
- * which rely on core-js.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a native function,
- * else `false`.
- * @example
- *
- * _.isNative(Array.prototype.push);
- * // => true
- *
- * _.isNative(_);
- * // => false
- */
- function isNative(value) {
- if (isMaskable(value)) {
- throw new Error(CORE_ERROR_TEXT);
- }
- return baseIsNative(value);
- }
+ while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
+ return index;
+ }
- /**
- * Checks if `value` is `null`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is `null`, else `false`.
- * @example
- *
- * _.isNull(null);
- * // => true
- *
- * _.isNull(void 0);
- * // => false
- */
- function isNull(value) {
- return value === null;
- }
+ /**
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol
+ * that is not found in the character symbols.
+ *
+ * @private
+ * @param {Array} strSymbols The string symbols to inspect.
+ * @param {Array} chrSymbols The character symbols to find.
+ * @returns {number} Returns the index of the last unmatched string symbol.
+ */
+ function charsEndIndex(strSymbols, chrSymbols) {
+ var index = strSymbols.length;
- /**
- * Checks if `value` is `null` or `undefined`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
- * @example
- *
- * _.isNil(null);
- * // => true
- *
- * _.isNil(void 0);
- * // => true
- *
- * _.isNil(NaN);
- * // => false
- */
- function isNil(value) {
- return value == null;
- }
+ while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
+ return index;
+ }
- /**
- * Checks if `value` is classified as a `Number` primitive or object.
- *
- * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
- * classified as numbers, use the `_.isFinite` method.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a number, else `false`.
- * @example
- *
- * _.isNumber(3);
- * // => true
- *
- * _.isNumber(Number.MIN_VALUE);
- * // => true
- *
- * _.isNumber(Infinity);
- * // => true
- *
- * _.isNumber('3');
- * // => false
- */
- function isNumber(value) {
- return typeof value == 'number' ||
- (isObjectLike(value) && baseGetTag(value) == numberTag);
- }
+ /**
+ * Gets the number of `placeholder` occurrences in `array`.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} placeholder The placeholder to search for.
+ * @returns {number} Returns the placeholder count.
+ */
+ function countHolders(array, placeholder) {
+ var length = array.length,
+ result = 0;
- /**
- * Checks if `value` is a plain object, that is, an object created by the
- * `Object` constructor or one with a `[[Prototype]]` of `null`.
- *
- * @static
- * @memberOf _
- * @since 0.8.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * }
- *
- * _.isPlainObject(new Foo);
- * // => false
- *
- * _.isPlainObject([1, 2, 3]);
- * // => false
- *
- * _.isPlainObject({ 'x': 0, 'y': 0 });
- * // => true
- *
- * _.isPlainObject(Object.create(null));
- * // => true
- */
- function isPlainObject(value) {
- if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
- return false;
- }
- var proto = getPrototype(value);
- if (proto === null) {
- return true;
+ while (length--) {
+ if (array[length] === placeholder) {
+ ++result;
}
- var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
- return typeof Ctor == 'function' && Ctor instanceof Ctor &&
- funcToString.call(Ctor) == objectCtorString;
}
+ return result;
+ }
- /**
- * Checks if `value` is classified as a `RegExp` object.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
- * @example
- *
- * _.isRegExp(/abc/);
- * // => true
- *
- * _.isRegExp('/abc/');
- * // => false
- */
- var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
+ /**
+ * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
+ * letters to basic Latin letters.
+ *
+ * @private
+ * @param {string} letter The matched letter to deburr.
+ * @returns {string} Returns the deburred letter.
+ */
+ var deburrLetter = basePropertyOf(deburredLetters);
- /**
- * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
- * double precision number which isn't the result of a rounded unsafe integer.
- *
- * **Note:** This method is based on
- * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.
- * @example
- *
- * _.isSafeInteger(3);
- * // => true
- *
- * _.isSafeInteger(Number.MIN_VALUE);
- * // => false
- *
- * _.isSafeInteger(Infinity);
- * // => false
- *
- * _.isSafeInteger('3');
- * // => false
- */
- function isSafeInteger(value) {
- return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
- }
+ /**
+ * Used by `_.escape` to convert characters to HTML entities.
+ *
+ * @private
+ * @param {string} chr The matched character to escape.
+ * @returns {string} Returns the escaped character.
+ */
+ var escapeHtmlChar = basePropertyOf(htmlEscapes);
- /**
- * Checks if `value` is classified as a `Set` object.
- *
- * @static
- * @memberOf _
- * @since 4.3.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a set, else `false`.
- * @example
- *
- * _.isSet(new Set);
- * // => true
- *
- * _.isSet(new WeakSet);
- * // => false
- */
- var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
+ /**
+ * Used by `_.template` to escape characters for inclusion in compiled string literals.
+ *
+ * @private
+ * @param {string} chr The matched character to escape.
+ * @returns {string} Returns the escaped character.
+ */
+ function escapeStringChar(chr) {
+ return '\\' + stringEscapes[chr];
+ }
- /**
- * Checks if `value` is classified as a `String` primitive or object.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a string, else `false`.
- * @example
- *
- * _.isString('abc');
- * // => true
- *
- * _.isString(1);
- * // => false
- */
- function isString(value) {
- return typeof value == 'string' ||
- (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
- }
+ /**
+ * Gets the value at `key` of `object`.
+ *
+ * @private
+ * @param {Object} [object] The object to query.
+ * @param {string} key The key of the property to get.
+ * @returns {*} Returns the property value.
+ */
+ function getValue(object, key) {
+ return object == null ? undefined : object[key];
+ }
- /**
- * Checks if `value` is classified as a `Symbol` primitive or object.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
- * @example
- *
- * _.isSymbol(Symbol.iterator);
- * // => true
- *
- * _.isSymbol('abc');
- * // => false
- */
- function isSymbol(value) {
- return typeof value == 'symbol' ||
- (isObjectLike(value) && baseGetTag(value) == symbolTag);
- }
-
- /**
- * Checks if `value` is classified as a typed array.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
- * @example
- *
- * _.isTypedArray(new Uint8Array);
- * // => true
- *
- * _.isTypedArray([]);
- * // => false
- */
- var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
+ /**
+ * Checks if `string` contains Unicode symbols.
+ *
+ * @private
+ * @param {string} string The string to inspect.
+ * @returns {boolean} Returns `true` if a symbol is found, else `false`.
+ */
+ function hasUnicode(string) {
+ return reHasUnicode.test(string);
+ }
- /**
- * Checks if `value` is `undefined`.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
- * @example
- *
- * _.isUndefined(void 0);
- * // => true
- *
- * _.isUndefined(null);
- * // => false
- */
- function isUndefined(value) {
- return value === undefined;
- }
+ /**
+ * Checks if `string` contains a word composed of Unicode symbols.
+ *
+ * @private
+ * @param {string} string The string to inspect.
+ * @returns {boolean} Returns `true` if a word is found, else `false`.
+ */
+ function hasUnicodeWord(string) {
+ return reHasUnicodeWord.test(string);
+ }
- /**
- * Checks if `value` is classified as a `WeakMap` object.
- *
- * @static
- * @memberOf _
- * @since 4.3.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.
- * @example
- *
- * _.isWeakMap(new WeakMap);
- * // => true
- *
- * _.isWeakMap(new Map);
- * // => false
- */
- function isWeakMap(value) {
- return isObjectLike(value) && getTag(value) == weakMapTag;
- }
+ /**
+ * Converts `iterator` to an array.
+ *
+ * @private
+ * @param {Object} iterator The iterator to convert.
+ * @returns {Array} Returns the converted array.
+ */
+ function iteratorToArray(iterator) {
+ var data,
+ result = [];
- /**
- * Checks if `value` is classified as a `WeakSet` object.
- *
- * @static
- * @memberOf _
- * @since 4.3.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.
- * @example
- *
- * _.isWeakSet(new WeakSet);
- * // => true
- *
- * _.isWeakSet(new Set);
- * // => false
- */
- function isWeakSet(value) {
- return isObjectLike(value) && baseGetTag(value) == weakSetTag;
+ while (!(data = iterator.next()).done) {
+ result.push(data.value);
}
+ return result;
+ }
- /**
- * Checks if `value` is less than `other`.
- *
- * @static
- * @memberOf _
- * @since 3.9.0
- * @category Lang
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {boolean} Returns `true` if `value` is less than `other`,
- * else `false`.
- * @see _.gt
- * @example
- *
- * _.lt(1, 3);
- * // => true
- *
- * _.lt(3, 3);
- * // => false
- *
- * _.lt(3, 1);
- * // => false
- */
- var lt = createRelationalOperation(baseLt);
+ /**
+ * Converts `map` to its key-value pairs.
+ *
+ * @private
+ * @param {Object} map The map to convert.
+ * @returns {Array} Returns the key-value pairs.
+ */
+ function mapToArray(map) {
+ var index = -1,
+ result = Array(map.size);
- /**
- * Checks if `value` is less than or equal to `other`.
- *
- * @static
- * @memberOf _
- * @since 3.9.0
- * @category Lang
- * @param {*} value The value to compare.
- * @param {*} other The other value to compare.
- * @returns {boolean} Returns `true` if `value` is less than or equal to
- * `other`, else `false`.
- * @see _.gte
- * @example
- *
- * _.lte(1, 3);
- * // => true
- *
- * _.lte(3, 3);
- * // => true
- *
- * _.lte(3, 1);
- * // => false
- */
- var lte = createRelationalOperation(function(value, other) {
- return value <= other;
+ map.forEach(function(value, key) {
+ result[++index] = [key, value];
});
+ return result;
+ }
- /**
- * Converts `value` to an array.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Lang
- * @param {*} value The value to convert.
- * @returns {Array} Returns the converted array.
- * @example
- *
- * _.toArray({ 'a': 1, 'b': 2 });
- * // => [1, 2]
- *
- * _.toArray('abc');
- * // => ['a', 'b', 'c']
- *
- * _.toArray(1);
- * // => []
- *
- * _.toArray(null);
- * // => []
- */
- function toArray(value) {
- if (!value) {
- return [];
- }
- if (isArrayLike(value)) {
- return isString(value) ? stringToArray(value) : copyArray(value);
- }
- if (symIterator && value[symIterator]) {
- return iteratorToArray(value[symIterator]());
- }
- var tag = getTag(value),
- func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);
+ /**
+ * Creates a unary function that invokes `func` with its argument transformed.
+ *
+ * @private
+ * @param {Function} func The function to wrap.
+ * @param {Function} transform The argument transform.
+ * @returns {Function} Returns the new function.
+ */
+ function overArg(func, transform) {
+ return function(arg) {
+ return func(transform(arg));
+ };
+ }
- return func(value);
- }
+ /**
+ * Replaces all `placeholder` elements in `array` with an internal placeholder
+ * and returns an array of their indexes.
+ *
+ * @private
+ * @param {Array} array The array to modify.
+ * @param {*} placeholder The placeholder to replace.
+ * @returns {Array} Returns the new array of placeholder indexes.
+ */
+ function replaceHolders(array, placeholder) {
+ var index = -1,
+ length = array.length,
+ resIndex = 0,
+ result = [];
- /**
- * Converts `value` to a finite number.
- *
- * @static
- * @memberOf _
- * @since 4.12.0
- * @category Lang
- * @param {*} value The value to convert.
- * @returns {number} Returns the converted number.
- * @example
- *
- * _.toFinite(3.2);
- * // => 3.2
- *
- * _.toFinite(Number.MIN_VALUE);
- * // => 5e-324
- *
- * _.toFinite(Infinity);
- * // => 1.7976931348623157e+308
- *
- * _.toFinite('3.2');
- * // => 3.2
- */
- function toFinite(value) {
- if (!value) {
- return value === 0 ? value : 0;
- }
- value = toNumber(value);
- if (value === INFINITY || value === -INFINITY) {
- var sign = (value < 0 ? -1 : 1);
- return sign * MAX_INTEGER;
+ while (++index < length) {
+ var value = array[index];
+ if (value === placeholder || value === PLACEHOLDER) {
+ array[index] = PLACEHOLDER;
+ result[resIndex++] = index;
}
- return value === value ? value : 0;
}
+ return result;
+ }
- /**
- * Converts `value` to an integer.
- *
- * **Note:** This method is loosely based on
- * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to convert.
- * @returns {number} Returns the converted integer.
- * @example
- *
- * _.toInteger(3.2);
- * // => 3
- *
- * _.toInteger(Number.MIN_VALUE);
- * // => 0
- *
- * _.toInteger(Infinity);
- * // => 1.7976931348623157e+308
- *
- * _.toInteger('3.2');
- * // => 3
- */
- function toInteger(value) {
- var result = toFinite(value),
- remainder = result % 1;
+ /**
+ * Converts `set` to an array of its values.
+ *
+ * @private
+ * @param {Object} set The set to convert.
+ * @returns {Array} Returns the values.
+ */
+ function setToArray(set) {
+ var index = -1,
+ result = Array(set.size);
- return result === result ? (remainder ? result - remainder : result) : 0;
- }
+ set.forEach(function(value) {
+ result[++index] = value;
+ });
+ return result;
+ }
- /**
- * Converts `value` to an integer suitable for use as the length of an
- * array-like object.
- *
- * **Note:** This method is based on
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to convert.
- * @returns {number} Returns the converted integer.
- * @example
- *
- * _.toLength(3.2);
- * // => 3
- *
- * _.toLength(Number.MIN_VALUE);
- * // => 0
- *
- * _.toLength(Infinity);
- * // => 4294967295
- *
- * _.toLength('3.2');
- * // => 3
- */
- function toLength(value) {
- return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;
- }
+ /**
+ * Converts `set` to its value-value pairs.
+ *
+ * @private
+ * @param {Object} set The set to convert.
+ * @returns {Array} Returns the value-value pairs.
+ */
+ function setToPairs(set) {
+ var index = -1,
+ result = Array(set.size);
- /**
- * Converts `value` to a number.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to process.
- * @returns {number} Returns the number.
- * @example
- *
- * _.toNumber(3.2);
- * // => 3.2
- *
- * _.toNumber(Number.MIN_VALUE);
- * // => 5e-324
- *
- * _.toNumber(Infinity);
- * // => Infinity
- *
- * _.toNumber('3.2');
- * // => 3.2
- */
- function toNumber(value) {
- if (typeof value == 'number') {
- return value;
- }
- if (isSymbol(value)) {
- return NAN;
- }
- if (isObject(value)) {
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
- value = isObject(other) ? (other + '') : other;
- }
- if (typeof value != 'string') {
- return value === 0 ? value : +value;
+ set.forEach(function(value) {
+ result[++index] = [value, value];
+ });
+ return result;
+ }
+
+ /**
+ * A specialized version of `_.indexOf` which performs strict equality
+ * comparisons of values, i.e. `===`.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} value The value to search for.
+ * @param {number} fromIndex The index to search from.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+ function strictIndexOf(array, value, fromIndex) {
+ var index = fromIndex - 1,
+ length = array.length;
+
+ while (++index < length) {
+ if (array[index] === value) {
+ return index;
}
- value = baseTrim(value);
- var isBinary = reIsBinary.test(value);
- return (isBinary || reIsOctal.test(value))
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
- : (reIsBadHex.test(value) ? NAN : +value);
}
+ return -1;
+ }
- /**
- * Converts `value` to a plain object flattening inherited enumerable string
- * keyed properties of `value` to own properties of the plain object.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Lang
- * @param {*} value The value to convert.
- * @returns {Object} Returns the converted plain object.
- * @example
- *
- * function Foo() {
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
- *
- * _.assign({ 'a': 1 }, new Foo);
- * // => { 'a': 1, 'b': 2 }
- *
- * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
- * // => { 'a': 1, 'b': 2, 'c': 3 }
- */
- function toPlainObject(value) {
- return copyObject(value, keysIn(value));
+ /**
+ * A specialized version of `_.lastIndexOf` which performs strict equality
+ * comparisons of values, i.e. `===`.
+ *
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} value The value to search for.
+ * @param {number} fromIndex The index to search from.
+ * @returns {number} Returns the index of the matched value, else `-1`.
+ */
+ function strictLastIndexOf(array, value, fromIndex) {
+ var index = fromIndex + 1;
+ while (index--) {
+ if (array[index] === value) {
+ return index;
+ }
}
+ return index;
+ }
- /**
- * Converts `value` to a safe integer. A safe integer can be compared and
- * represented correctly.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to convert.
- * @returns {number} Returns the converted integer.
- * @example
- *
- * _.toSafeInteger(3.2);
- * // => 3
- *
- * _.toSafeInteger(Number.MIN_VALUE);
- * // => 0
- *
- * _.toSafeInteger(Infinity);
- * // => 9007199254740991
- *
- * _.toSafeInteger('3.2');
- * // => 3
- */
- function toSafeInteger(value) {
- return value
- ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)
- : (value === 0 ? value : 0);
+ /**
+ * Gets the number of symbols in `string`.
+ *
+ * @private
+ * @param {string} string The string to inspect.
+ * @returns {number} Returns the string size.
+ */
+ function stringSize(string) {
+ return hasUnicode(string)
+ ? unicodeSize(string)
+ : asciiSize(string);
+ }
+
+ /**
+ * Converts `string` to an array.
+ *
+ * @private
+ * @param {string} string The string to convert.
+ * @returns {Array} Returns the converted array.
+ */
+ function stringToArray(string) {
+ return hasUnicode(string)
+ ? unicodeToArray(string)
+ : asciiToArray(string);
+ }
+
+ /**
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
+ * character of `string`.
+ *
+ * @private
+ * @param {string} string The string to inspect.
+ * @returns {number} Returns the index of the last non-whitespace character.
+ */
+ function trimmedEndIndex(string) {
+ var index = string.length;
+
+ while (index-- && reWhitespace.test(string.charAt(index))) {}
+ return index;
+ }
+
+ /**
+ * Used by `_.unescape` to convert HTML entities to characters.
+ *
+ * @private
+ * @param {string} chr The matched character to unescape.
+ * @returns {string} Returns the unescaped character.
+ */
+ var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
+
+ /**
+ * Gets the size of a Unicode `string`.
+ *
+ * @private
+ * @param {string} string The string inspect.
+ * @returns {number} Returns the string size.
+ */
+ function unicodeSize(string) {
+ var result = reUnicode.lastIndex = 0;
+ while (reUnicode.test(string)) {
+ ++result;
}
+ return result;
+ }
+
+ /**
+ * Converts a Unicode `string` to an array.
+ *
+ * @private
+ * @param {string} string The string to convert.
+ * @returns {Array} Returns the converted array.
+ */
+ function unicodeToArray(string) {
+ return string.match(reUnicode) || [];
+ }
+
+ /**
+ * Splits a Unicode `string` into an array of its words.
+ *
+ * @private
+ * @param {string} The string to inspect.
+ * @returns {Array} Returns the words of `string`.
+ */
+ function unicodeWords(string) {
+ return string.match(reUnicodeWord) || [];
+ }
+
+ /*--------------------------------------------------------------------------*/
+
+ /**
+ * Create a new pristine `lodash` function using the `context` object.
+ *
+ * @static
+ * @memberOf _
+ * @since 1.1.0
+ * @category Util
+ * @param {Object} [context=root] The context object.
+ * @returns {Function} Returns a new `lodash` function.
+ * @example
+ *
+ * _.mixin({ 'foo': _.constant('foo') });
+ *
+ * var lodash = _.runInContext();
+ * lodash.mixin({ 'bar': lodash.constant('bar') });
+ *
+ * _.isFunction(_.foo);
+ * // => true
+ * _.isFunction(_.bar);
+ * // => false
+ *
+ * lodash.isFunction(lodash.foo);
+ * // => false
+ * lodash.isFunction(lodash.bar);
+ * // => true
+ *
+ * // Create a suped-up `defer` in Node.js.
+ * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
+ */
+ var runInContext = (function runInContext(context) {
+ context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
+
+ /** Built-in constructor references. */
+ var Array = context.Array,
+ Date = context.Date,
+ Error = context.Error,
+ Function = context.Function,
+ Math = context.Math,
+ Object = context.Object,
+ RegExp = context.RegExp,
+ String = context.String,
+ TypeError = context.TypeError;
+
+ /** Used for built-in method references. */
+ var arrayProto = Array.prototype,
+ funcProto = Function.prototype,
+ objectProto = Object.prototype;
+
+ /** Used to detect overreaching core-js shims. */
+ var coreJsData = context['__core-js_shared__'];
+
+ /** Used to resolve the decompiled source of functions. */
+ var funcToString = funcProto.toString;
+
+ /** Used to check objects for own properties. */
+ var hasOwnProperty = objectProto.hasOwnProperty;
+
+ /** Used to generate unique IDs. */
+ var idCounter = 0;
+
+ /** Used to detect methods masquerading as native. */
+ var maskSrcKey = (function() {
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
+ return uid ? ('Symbol(src)_1.' + uid) : '';
+ }());
/**
- * Converts `value` to a string. An empty string is returned for `null`
- * and `undefined` values. The sign of `-0` is preserved.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to convert.
- * @returns {string} Returns the converted string.
- * @example
- *
- * _.toString(null);
- * // => ''
- *
- * _.toString(-0);
- * // => '-0'
- *
- * _.toString([1, 2, 3]);
- * // => '1,2,3'
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
+ * of values.
*/
- function toString(value) {
- return value == null ? '' : baseToString(value);
- }
+ var nativeObjectToString = objectProto.toString;
+
+ /** Used to infer the `Object` constructor. */
+ var objectCtorString = funcToString.call(Object);
+
+ /** Used to restore the original `_` reference in `_.noConflict`. */
+ var oldDash = root._;
+
+ /** Used to detect if a method is native. */
+ var reIsNative = RegExp('^' +
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
+ );
+
+ /** Built-in value references. */
+ var Buffer = moduleExports ? context.Buffer : undefined,
+ Symbol = context.Symbol,
+ Uint8Array = context.Uint8Array,
+ allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,
+ getPrototype = overArg(Object.getPrototypeOf, Object),
+ objectCreate = Object.create,
+ propertyIsEnumerable = objectProto.propertyIsEnumerable,
+ splice = arrayProto.splice,
+ spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,
+ symIterator = Symbol ? Symbol.iterator : undefined,
+ symToStringTag = Symbol ? Symbol.toStringTag : undefined;
+
+ var defineProperty = (function() {
+ try {
+ var func = getNative(Object, 'defineProperty');
+ func({}, '', {});
+ return func;
+ } catch (e) {}
+ }());
+
+ /** Mocked built-ins. */
+ var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,
+ ctxNow = Date && Date.now !== root.Date.now && Date.now,
+ ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
+
+ /* Built-in method references for those with the same name as other `lodash` methods. */
+ var nativeCeil = Math.ceil,
+ nativeFloor = Math.floor,
+ nativeGetSymbols = Object.getOwnPropertySymbols,
+ nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
+ nativeIsFinite = context.isFinite,
+ nativeJoin = arrayProto.join,
+ nativeKeys = overArg(Object.keys, Object),
+ nativeMax = Math.max,
+ nativeMin = Math.min,
+ nativeNow = Date.now,
+ nativeParseInt = context.parseInt,
+ nativeRandom = Math.random,
+ nativeReverse = arrayProto.reverse;
+
+ /* Built-in method references that are verified to be native. */
+ var DataView = getNative(context, 'DataView'),
+ Map = getNative(context, 'Map'),
+ Promise = getNative(context, 'Promise'),
+ Set = getNative(context, 'Set'),
+ WeakMap = getNative(context, 'WeakMap'),
+ nativeCreate = getNative(Object, 'create');
+
+ /** Used to store function metadata. */
+ var metaMap = WeakMap && new WeakMap;
+
+ /** Used to lookup unminified function names. */
+ var realNames = {};
+
+ /** Used to detect maps, sets, and weakmaps. */
+ var dataViewCtorString = toSource(DataView),
+ mapCtorString = toSource(Map),
+ promiseCtorString = toSource(Promise),
+ setCtorString = toSource(Set),
+ weakMapCtorString = toSource(WeakMap);
+
+ /** Used to convert symbols to primitives and strings. */
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
/*------------------------------------------------------------------------*/
/**
- * Assigns own enumerable string keyed properties of source objects to the
- * destination object. Source objects are applied from left to right.
- * Subsequent sources overwrite property assignments of previous sources.
- *
- * **Note:** This method mutates `object` and is loosely based on
- * [`Object.assign`](https://mdn.io/Object/assign).
- *
- * @static
- * @memberOf _
- * @since 0.10.0
- * @category Object
- * @param {Object} object The destination object.
- * @param {...Object} [sources] The source objects.
- * @returns {Object} Returns `object`.
- * @see _.assignIn
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * }
+ * Creates a `lodash` object which wraps `value` to enable implicit method
+ * chain sequences. Methods that operate on and return arrays, collections,
+ * and functions can be chained together. Methods that retrieve a single value
+ * or may return a primitive value will automatically end the chain sequence
+ * and return the unwrapped value. Otherwise, the value must be unwrapped
+ * with `_#value`.
*
- * function Bar() {
- * this.c = 3;
- * }
+ * Explicit chain sequences, which must be unwrapped with `_#value`, may be
+ * enabled using `_.chain`.
*
- * Foo.prototype.b = 2;
- * Bar.prototype.d = 4;
+ * The execution of chained methods is lazy, that is, it's deferred until
+ * `_#value` is implicitly or explicitly called.
*
- * _.assign({ 'a': 0 }, new Foo, new Bar);
- * // => { 'a': 1, 'c': 3 }
- */
- var assign = createAssigner(function(object, source) {
- if (isPrototype(source) || isArrayLike(source)) {
- copyObject(source, keys(source), object);
- return;
- }
- for (var key in source) {
- if (hasOwnProperty.call(source, key)) {
- assignValue(object, key, source[key]);
- }
- }
- });
-
- /**
- * This method is like `_.assign` except that it iterates over own and
- * inherited source properties.
+ * Lazy evaluation allows several methods to support shortcut fusion.
+ * Shortcut fusion is an optimization to merge iteratee calls; this avoids
+ * the creation of intermediate arrays and can greatly reduce the number of
+ * iteratee executions. Sections of a chain sequence qualify for shortcut
+ * fusion if the section is applied to an array and iteratees accept only
+ * one argument. The heuristic for whether a section qualifies for shortcut
+ * fusion is subject to change.
*
- * **Note:** This method mutates `object`.
+ * Chaining is supported in custom builds as long as the `_#value` method is
+ * directly or indirectly included in the build.
*
- * @static
- * @memberOf _
- * @since 4.0.0
- * @alias extend
- * @category Object
- * @param {Object} object The destination object.
- * @param {...Object} [sources] The source objects.
- * @returns {Object} Returns `object`.
- * @see _.assign
- * @example
+ * In addition to lodash methods, wrappers have `Array` and `String` methods.
*
- * function Foo() {
- * this.a = 1;
- * }
+ * The wrapper `Array` methods are:
+ * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`
*
- * function Bar() {
- * this.c = 3;
- * }
+ * The wrapper `String` methods are:
+ * `replace` and `split`
*
- * Foo.prototype.b = 2;
- * Bar.prototype.d = 4;
+ * The wrapper methods that support shortcut fusion are:
+ * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,
+ * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,
+ * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`
*
- * _.assignIn({ 'a': 0 }, new Foo, new Bar);
- * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }
- */
- var assignIn = createAssigner(function(object, source) {
- copyObject(source, keysIn(source), object);
- });
-
- /**
- * This method is like `_.assignIn` except that it accepts `customizer`
- * which is invoked to produce the assigned values. If `customizer` returns
- * `undefined`, assignment is handled by the method instead. The `customizer`
- * is invoked with five arguments: (objValue, srcValue, key, object, source).
+ * The chainable wrapper methods are:
+ * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
+ * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
+ * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
+ * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,
+ * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,
+ * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,
+ * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,
+ * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,
+ * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,
+ * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
+ * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,
+ * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
+ * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,
+ * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,
+ * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,
+ * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,
+ * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
+ * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,
+ * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,
+ * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,
+ * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,
+ * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,
+ * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,
+ * `zipObject`, `zipObjectDeep`, and `zipWith`
*
- * **Note:** This method mutates `object`.
+ * The wrapper methods that are **not** chainable by default are:
+ * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,
+ * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,
+ * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,
+ * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,
+ * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,
+ * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,
+ * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,
+ * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,
+ * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,
+ * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,
+ * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,
+ * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,
+ * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,
+ * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,
+ * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,
+ * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,
+ * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,
+ * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,
+ * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,
+ * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,
+ * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,
+ * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,
+ * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,
+ * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,
+ * `upperFirst`, `value`, and `words`
*
- * @static
- * @memberOf _
- * @since 4.0.0
- * @alias extendWith
- * @category Object
- * @param {Object} object The destination object.
- * @param {...Object} sources The source objects.
- * @param {Function} [customizer] The function to customize assigned values.
- * @returns {Object} Returns `object`.
- * @see _.assignWith
+ * @name _
+ * @constructor
+ * @category Seq
+ * @param {*} value The value to wrap in a `lodash` instance.
+ * @returns {Object} Returns the new `lodash` wrapper instance.
* @example
*
- * function customizer(objValue, srcValue) {
- * return _.isUndefined(objValue) ? srcValue : objValue;
+ * function square(n) {
+ * return n * n;
* }
*
- * var defaults = _.partialRight(_.assignInWith, customizer);
- *
- * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
- * // => { 'a': 1, 'b': 2 }
- */
- var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {
- copyObject(source, keysIn(source), object, customizer);
- });
-
- /**
- * This method is like `_.assign` except that it accepts `customizer`
- * which is invoked to produce the assigned values. If `customizer` returns
- * `undefined`, assignment is handled by the method instead. The `customizer`
- * is invoked with five arguments: (objValue, srcValue, key, object, source).
- *
- * **Note:** This method mutates `object`.
+ * var wrapped = _([1, 2, 3]);
*
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The destination object.
- * @param {...Object} sources The source objects.
- * @param {Function} [customizer] The function to customize assigned values.
- * @returns {Object} Returns `object`.
- * @see _.assignInWith
- * @example
+ * // Returns an unwrapped value.
+ * wrapped.reduce(_.add);
+ * // => 6
*
- * function customizer(objValue, srcValue) {
- * return _.isUndefined(objValue) ? srcValue : objValue;
- * }
+ * // Returns a wrapped value.
+ * var squares = wrapped.map(square);
*
- * var defaults = _.partialRight(_.assignWith, customizer);
+ * _.isArray(squares);
+ * // => false
*
- * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
- * // => { 'a': 1, 'b': 2 }
+ * _.isArray(squares.value());
+ * // => true
*/
- var assignWith = createAssigner(function(object, source, srcIndex, customizer) {
- copyObject(source, keys(source), object, customizer);
- });
+ function lodash(value) {
+ if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
+ if (value instanceof LodashWrapper) {
+ return value;
+ }
+ if (hasOwnProperty.call(value, '__wrapped__')) {
+ return wrapperClone(value);
+ }
+ }
+ return new LodashWrapper(value);
+ }
/**
- * Creates an array of values corresponding to `paths` of `object`.
- *
- * @static
- * @memberOf _
- * @since 1.0.0
- * @category Object
- * @param {Object} object The object to iterate over.
- * @param {...(string|string[])} [paths] The property paths to pick.
- * @returns {Array} Returns the picked values.
- * @example
- *
- * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
+ * The base implementation of `_.create` without support for assigning
+ * properties to the created object.
*
- * _.at(object, ['a[0].b.c', 'a[1]']);
- * // => [3, 4]
- */
- var at = flatRest(baseAt);
+ * @private
+ * @param {Object} proto The object to inherit from.
+ * @returns {Object} Returns the new object.
+ */
+ var baseCreate = (function() {
+ function object() {}
+ return function(proto) {
+ if (!isObject(proto)) {
+ return {};
+ }
+ if (objectCreate) {
+ return objectCreate(proto);
+ }
+ object.prototype = proto;
+ var result = new object;
+ object.prototype = undefined;
+ return result;
+ };
+ }());
/**
- * Creates an object that inherits from the `prototype` object. If a
- * `properties` object is given, its own enumerable string keyed properties
- * are assigned to the created object.
- *
- * @static
- * @memberOf _
- * @since 2.3.0
- * @category Object
- * @param {Object} prototype The object to inherit from.
- * @param {Object} [properties] The properties to assign to the object.
- * @returns {Object} Returns the new object.
- * @example
- *
- * function Shape() {
- * this.x = 0;
- * this.y = 0;
- * }
- *
- * function Circle() {
- * Shape.call(this);
- * }
- *
- * Circle.prototype = _.create(Shape.prototype, {
- * 'constructor': Circle
- * });
- *
- * var circle = new Circle;
- * circle instanceof Circle;
- * // => true
+ * The function whose prototype chain sequence wrappers inherit from.
*
- * circle instanceof Shape;
- * // => true
+ * @private
*/
- function create(prototype, properties) {
- var result = baseCreate(prototype);
- return properties == null ? result : baseAssign(result, properties);
+ function baseLodash() {
+ // No operation performed.
}
/**
- * Assigns own and inherited enumerable string keyed properties of source
- * objects to the destination object for all destination properties that
- * resolve to `undefined`. Source objects are applied from left to right.
- * Once a property is set, additional values of the same property are ignored.
+ * The base constructor for creating `lodash` wrapper objects.
*
- * **Note:** This method mutates `object`.
+ * @private
+ * @param {*} value The value to wrap.
+ * @param {boolean} [chainAll] Enable explicit method chain sequences.
+ */
+ function LodashWrapper(value, chainAll) {
+ this.__wrapped__ = value;
+ this.__actions__ = [];
+ this.__chain__ = !!chainAll;
+ this.__index__ = 0;
+ this.__values__ = undefined;
+ }
+
+ /**
+ * By default, the template delimiters used by lodash are like those in
+ * embedded Ruby (ERB) as well as ES2015 template strings. Change the
+ * following template settings to use alternative delimiters.
*
* @static
- * @since 0.1.0
* @memberOf _
- * @category Object
- * @param {Object} object The destination object.
- * @param {...Object} [sources] The source objects.
- * @returns {Object} Returns `object`.
- * @see _.defaultsDeep
- * @example
- *
- * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
- * // => { 'a': 1, 'b': 2 }
+ * @type {Object}
*/
- var defaults = baseRest(function(object, sources) {
- object = Object(object);
+ lodash.templateSettings = {
- var index = -1;
- var length = sources.length;
- var guard = length > 2 ? sources[2] : undefined;
+ /**
+ * Used to detect `data` property values to be HTML-escaped.
+ *
+ * @memberOf _.templateSettings
+ * @type {RegExp}
+ */
+ 'escape': reEscape,
- if (guard && isIterateeCall(sources[0], sources[1], guard)) {
- length = 1;
- }
+ /**
+ * Used to detect code to be evaluated.
+ *
+ * @memberOf _.templateSettings
+ * @type {RegExp}
+ */
+ 'evaluate': reEvaluate,
- while (++index < length) {
- var source = sources[index];
- var props = keysIn(source);
- var propsIndex = -1;
- var propsLength = props.length;
+ /**
+ * Used to detect `data` property values to inject.
+ *
+ * @memberOf _.templateSettings
+ * @type {RegExp}
+ */
+ 'interpolate': reInterpolate,
- while (++propsIndex < propsLength) {
- var key = props[propsIndex];
- var value = object[key];
+ /**
+ * Used to reference the data object in the template text.
+ *
+ * @memberOf _.templateSettings
+ * @type {string}
+ */
+ 'variable': '',
- if (value === undefined ||
- (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {
- object[key] = source[key];
- }
- }
+ /**
+ * Used to import variables into the compiled template.
+ *
+ * @memberOf _.templateSettings
+ * @type {Object}
+ */
+ 'imports': {
+
+ /**
+ * A reference to the `lodash` function.
+ *
+ * @memberOf _.templateSettings.imports
+ * @type {Function}
+ */
+ '_': lodash
}
+ };
- return object;
- });
+ // Ensure wrappers are instances of `baseLodash`.
+ lodash.prototype = baseLodash.prototype;
+ lodash.prototype.constructor = lodash;
+
+ LodashWrapper.prototype = baseCreate(baseLodash.prototype);
+ LodashWrapper.prototype.constructor = LodashWrapper;
+
+ /*------------------------------------------------------------------------*/
/**
- * This method is like `_.defaults` except that it recursively assigns
- * default properties.
- *
- * **Note:** This method mutates `object`.
- *
- * @static
- * @memberOf _
- * @since 3.10.0
- * @category Object
- * @param {Object} object The destination object.
- * @param {...Object} [sources] The source objects.
- * @returns {Object} Returns `object`.
- * @see _.defaults
- * @example
+ * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
*
- * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });
- * // => { 'a': { 'b': 2, 'c': 3 } }
+ * @private
+ * @constructor
+ * @param {*} value The value to wrap.
*/
- var defaultsDeep = baseRest(function(args) {
- args.push(undefined, customDefaultsMerge);
- return apply(mergeWith, undefined, args);
- });
+ function LazyWrapper(value) {
+ this.__wrapped__ = value;
+ this.__actions__ = [];
+ this.__dir__ = 1;
+ this.__filtered__ = false;
+ this.__iteratees__ = [];
+ this.__takeCount__ = MAX_ARRAY_LENGTH;
+ this.__views__ = [];
+ }
/**
- * This method is like `_.find` except that it returns the key of the first
- * element `predicate` returns truthy for instead of the element itself.
- *
- * @static
- * @memberOf _
- * @since 1.1.0
- * @category Object
- * @param {Object} object The object to inspect.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {string|undefined} Returns the key of the matched element,
- * else `undefined`.
- * @example
- *
- * var users = {
- * 'barney': { 'age': 36, 'active': true },
- * 'fred': { 'age': 40, 'active': false },
- * 'pebbles': { 'age': 1, 'active': true }
- * };
- *
- * _.findKey(users, function(o) { return o.age < 40; });
- * // => 'barney' (iteration order is not guaranteed)
- *
- * // The `_.matches` iteratee shorthand.
- * _.findKey(users, { 'age': 1, 'active': true });
- * // => 'pebbles'
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.findKey(users, ['active', false]);
- * // => 'fred'
+ * Creates a clone of the lazy wrapper object.
*
- * // The `_.property` iteratee shorthand.
- * _.findKey(users, 'active');
- * // => 'barney'
+ * @private
+ * @name clone
+ * @memberOf LazyWrapper
+ * @returns {Object} Returns the cloned `LazyWrapper` object.
*/
- function findKey(object, predicate) {
- return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);
+ function lazyClone() {
+ var result = new LazyWrapper(this.__wrapped__);
+ result.__actions__ = copyArray(this.__actions__);
+ result.__dir__ = this.__dir__;
+ result.__filtered__ = this.__filtered__;
+ result.__iteratees__ = copyArray(this.__iteratees__);
+ result.__takeCount__ = this.__takeCount__;
+ result.__views__ = copyArray(this.__views__);
+ return result;
}
/**
- * This method is like `_.findKey` except that it iterates over elements of
- * a collection in the opposite order.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @category Object
- * @param {Object} object The object to inspect.
- * @param {Function} [predicate=_.identity] The function invoked per iteration.
- * @returns {string|undefined} Returns the key of the matched element,
- * else `undefined`.
- * @example
- *
- * var users = {
- * 'barney': { 'age': 36, 'active': true },
- * 'fred': { 'age': 40, 'active': false },
- * 'pebbles': { 'age': 1, 'active': true }
- * };
- *
- * _.findLastKey(users, function(o) { return o.age < 40; });
- * // => returns 'pebbles' assuming `_.findKey` returns 'barney'
- *
- * // The `_.matches` iteratee shorthand.
- * _.findLastKey(users, { 'age': 36, 'active': true });
- * // => 'barney'
- *
- * // The `_.matchesProperty` iteratee shorthand.
- * _.findLastKey(users, ['active', false]);
- * // => 'fred'
+ * Reverses the direction of lazy iteration.
*
- * // The `_.property` iteratee shorthand.
- * _.findLastKey(users, 'active');
- * // => 'pebbles'
+ * @private
+ * @name reverse
+ * @memberOf LazyWrapper
+ * @returns {Object} Returns the new reversed `LazyWrapper` object.
*/
- function findLastKey(object, predicate) {
- return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);
+ function lazyReverse() {
+ if (this.__filtered__) {
+ var result = new LazyWrapper(this);
+ result.__dir__ = -1;
+ result.__filtered__ = true;
+ } else {
+ result = this.clone();
+ result.__dir__ *= -1;
+ }
+ return result;
}
/**
- * Iterates over own and inherited enumerable string keyed properties of an
- * object and invokes `iteratee` for each property. The iteratee is invoked
- * with three arguments: (value, key, object). Iteratee functions may exit
- * iteration early by explicitly returning `false`.
- *
- * @static
- * @memberOf _
- * @since 0.3.0
- * @category Object
- * @param {Object} object The object to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Object} Returns `object`.
- * @see _.forInRight
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
+ * Extracts the unwrapped value from its lazy wrapper.
*
- * _.forIn(new Foo, function(value, key) {
- * console.log(key);
- * });
- * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
+ * @private
+ * @name value
+ * @memberOf LazyWrapper
+ * @returns {*} Returns the unwrapped value.
*/
- function forIn(object, iteratee) {
- return object == null
- ? object
- : baseFor(object, getIteratee(iteratee, 3), keysIn);
+ function lazyValue() {
+ var array = this.__wrapped__.value(),
+ dir = this.__dir__,
+ isArr = isArray(array),
+ isRight = dir < 0,
+ arrLength = isArr ? array.length : 0,
+ view = getView(0, arrLength, this.__views__),
+ start = view.start,
+ end = view.end,
+ length = end - start,
+ index = isRight ? end : (start - 1),
+ iteratees = this.__iteratees__,
+ iterLength = iteratees.length,
+ resIndex = 0,
+ takeCount = nativeMin(length, this.__takeCount__);
+
+ if (!isArr || (!isRight && arrLength == length && takeCount == length)) {
+ return baseWrapperValue(array, this.__actions__);
+ }
+ var result = [];
+
+ outer:
+ while (length-- && resIndex < takeCount) {
+ index += dir;
+
+ var iterIndex = -1,
+ value = array[index];
+
+ while (++iterIndex < iterLength) {
+ var data = iteratees[iterIndex],
+ iteratee = data.iteratee,
+ type = data.type,
+ computed = iteratee(value);
+
+ if (type == LAZY_MAP_FLAG) {
+ value = computed;
+ } else if (!computed) {
+ if (type == LAZY_FILTER_FLAG) {
+ continue outer;
+ } else {
+ break outer;
+ }
+ }
+ }
+ result[resIndex++] = value;
+ }
+ return result;
}
+ // Ensure `LazyWrapper` is an instance of `baseLodash`.
+ LazyWrapper.prototype = baseCreate(baseLodash.prototype);
+ LazyWrapper.prototype.constructor = LazyWrapper;
+
+ /*------------------------------------------------------------------------*/
+
/**
- * This method is like `_.forIn` except that it iterates over properties of
- * `object` in the opposite order.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @category Object
- * @param {Object} object The object to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Object} Returns `object`.
- * @see _.forIn
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
+ * Creates a hash object.
*
- * _.forInRight(new Foo, function(value, key) {
- * console.log(key);
- * });
- * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
*/
- function forInRight(object, iteratee) {
- return object == null
- ? object
- : baseForRight(object, getIteratee(iteratee, 3), keysIn);
+ function Hash(entries) {
+ var index = -1,
+ length = entries == null ? 0 : entries.length;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
}
/**
- * Iterates over own enumerable string keyed properties of an object and
- * invokes `iteratee` for each property. The iteratee is invoked with three
- * arguments: (value, key, object). Iteratee functions may exit iteration
- * early by explicitly returning `false`.
- *
- * @static
- * @memberOf _
- * @since 0.3.0
- * @category Object
- * @param {Object} object The object to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Object} Returns `object`.
- * @see _.forOwnRight
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
+ * Removes all key-value entries from the hash.
*
- * _.forOwn(new Foo, function(value, key) {
- * console.log(key);
- * });
- * // => Logs 'a' then 'b' (iteration order is not guaranteed).
+ * @private
+ * @name clear
+ * @memberOf Hash
*/
- function forOwn(object, iteratee) {
- return object && baseForOwn(object, getIteratee(iteratee, 3));
+ function hashClear() {
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
+ this.size = 0;
}
/**
- * This method is like `_.forOwn` except that it iterates over properties of
- * `object` in the opposite order.
- *
- * @static
- * @memberOf _
- * @since 2.0.0
- * @category Object
- * @param {Object} object The object to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Object} Returns `object`.
- * @see _.forOwn
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
+ * Removes `key` and its value from the hash.
*
- * _.forOwnRight(new Foo, function(value, key) {
- * console.log(key);
- * });
- * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
+ * @private
+ * @name delete
+ * @memberOf Hash
+ * @param {Object} hash The hash to modify.
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
- function forOwnRight(object, iteratee) {
- return object && baseForOwnRight(object, getIteratee(iteratee, 3));
+ function hashDelete(key) {
+ var result = this.has(key) && delete this.__data__[key];
+ this.size -= result ? 1 : 0;
+ return result;
}
/**
- * Creates an array of function property names from own enumerable properties
- * of `object`.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Object
- * @param {Object} object The object to inspect.
- * @returns {Array} Returns the function names.
- * @see _.functionsIn
- * @example
- *
- * function Foo() {
- * this.a = _.constant('a');
- * this.b = _.constant('b');
- * }
+ * Gets the hash value for `key`.
*
- * Foo.prototype.c = _.constant('c');
- *
- * _.functions(new Foo);
- * // => ['a', 'b']
+ * @private
+ * @name get
+ * @memberOf Hash
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
*/
- function functions(object) {
- return object == null ? [] : baseFunctions(object, keys(object));
+ function hashGet(key) {
+ var data = this.__data__;
+ if (nativeCreate) {
+ var result = data[key];
+ return result === HASH_UNDEFINED ? undefined : result;
+ }
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
}
/**
- * Creates an array of function property names from own and inherited
- * enumerable properties of `object`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The object to inspect.
- * @returns {Array} Returns the function names.
- * @see _.functions
- * @example
- *
- * function Foo() {
- * this.a = _.constant('a');
- * this.b = _.constant('b');
- * }
- *
- * Foo.prototype.c = _.constant('c');
+ * Checks if a hash value for `key` exists.
*
- * _.functionsIn(new Foo);
- * // => ['a', 'b', 'c']
+ * @private
+ * @name has
+ * @memberOf Hash
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
- function functionsIn(object) {
- return object == null ? [] : baseFunctions(object, keysIn(object));
+ function hashHas(key) {
+ var data = this.__data__;
+ return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
}
/**
- * Gets the value at `path` of `object`. If the resolved value is
- * `undefined`, the `defaultValue` is returned in its place.
- *
- * @static
- * @memberOf _
- * @since 3.7.0
- * @category Object
- * @param {Object} object The object to query.
- * @param {Array|string} path The path of the property to get.
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
- * @returns {*} Returns the resolved value.
- * @example
- *
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
- *
- * _.get(object, 'a[0].b.c');
- * // => 3
- *
- * _.get(object, ['a', '0', 'b', 'c']);
- * // => 3
+ * Sets the hash `key` to `value`.
*
- * _.get(object, 'a.b.c', 'default');
- * // => 'default'
+ * @private
+ * @name set
+ * @memberOf Hash
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the hash instance.
*/
- function get(object, path, defaultValue) {
- var result = object == null ? undefined : baseGet(object, path);
- return result === undefined ? defaultValue : result;
+ function hashSet(key, value) {
+ var data = this.__data__;
+ this.size += this.has(key) ? 0 : 1;
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
+ return this;
}
+ // Add methods to `Hash`.
+ Hash.prototype.clear = hashClear;
+ Hash.prototype['delete'] = hashDelete;
+ Hash.prototype.get = hashGet;
+ Hash.prototype.has = hashHas;
+ Hash.prototype.set = hashSet;
+
+ /*------------------------------------------------------------------------*/
+
/**
- * Checks if `path` is a direct property of `object`.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Object
- * @param {Object} object The object to query.
- * @param {Array|string} path The path to check.
- * @returns {boolean} Returns `true` if `path` exists, else `false`.
- * @example
- *
- * var object = { 'a': { 'b': 2 } };
- * var other = _.create({ 'a': _.create({ 'b': 2 }) });
- *
- * _.has(object, 'a');
- * // => true
- *
- * _.has(object, 'a.b');
- * // => true
- *
- * _.has(object, ['a', 'b']);
- * // => true
+ * Creates an list cache object.
*
- * _.has(other, 'a');
- * // => false
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
*/
- function has(object, path) {
- return object != null && hasPath(object, path, baseHas);
+ function ListCache(entries) {
+ var index = -1,
+ length = entries == null ? 0 : entries.length;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
}
/**
- * Checks if `path` is a direct or inherited property of `object`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The object to query.
- * @param {Array|string} path The path to check.
- * @returns {boolean} Returns `true` if `path` exists, else `false`.
- * @example
- *
- * var object = _.create({ 'a': _.create({ 'b': 2 }) });
- *
- * _.hasIn(object, 'a');
- * // => true
- *
- * _.hasIn(object, 'a.b');
- * // => true
- *
- * _.hasIn(object, ['a', 'b']);
- * // => true
+ * Removes all key-value entries from the list cache.
*
- * _.hasIn(object, 'b');
- * // => false
+ * @private
+ * @name clear
+ * @memberOf ListCache
*/
- function hasIn(object, path) {
- return object != null && hasPath(object, path, baseHasIn);
+ function listCacheClear() {
+ this.__data__ = [];
+ this.size = 0;
}
/**
- * Creates an object composed of the inverted keys and values of `object`.
- * If `object` contains duplicate values, subsequent values overwrite
- * property assignments of previous values.
- *
- * @static
- * @memberOf _
- * @since 0.7.0
- * @category Object
- * @param {Object} object The object to invert.
- * @returns {Object} Returns the new inverted object.
- * @example
- *
- * var object = { 'a': 1, 'b': 2, 'c': 1 };
+ * Removes `key` and its value from the list cache.
*
- * _.invert(object);
- * // => { '1': 'c', '2': 'b' }
+ * @private
+ * @name delete
+ * @memberOf ListCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
- var invert = createInverter(function(result, value, key) {
- if (value != null &&
- typeof value.toString != 'function') {
- value = nativeObjectToString.call(value);
- }
+ function listCacheDelete(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
- result[value] = key;
- }, constant(identity));
+ if (index < 0) {
+ return false;
+ }
+ var lastIndex = data.length - 1;
+ if (index == lastIndex) {
+ data.pop();
+ } else {
+ splice.call(data, index, 1);
+ }
+ --this.size;
+ return true;
+ }
/**
- * This method is like `_.invert` except that the inverted object is generated
- * from the results of running each element of `object` thru `iteratee`. The
- * corresponding inverted value of each inverted key is an array of keys
- * responsible for generating the inverted value. The iteratee is invoked
- * with one argument: (value).
- *
- * @static
- * @memberOf _
- * @since 4.1.0
- * @category Object
- * @param {Object} object The object to invert.
- * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
- * @returns {Object} Returns the new inverted object.
- * @example
+ * Gets the list cache value for `key`.
*
- * var object = { 'a': 1, 'b': 2, 'c': 1 };
+ * @private
+ * @name get
+ * @memberOf ListCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
+ */
+ function listCacheGet(key) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
+
+ return index < 0 ? undefined : data[index][1];
+ }
+
+ /**
+ * Checks if a list cache value for `key` exists.
*
- * _.invertBy(object);
- * // => { '1': ['a', 'c'], '2': ['b'] }
+ * @private
+ * @name has
+ * @memberOf ListCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+ function listCacheHas(key) {
+ return assocIndexOf(this.__data__, key) > -1;
+ }
+
+ /**
+ * Sets the list cache `key` to `value`.
*
- * _.invertBy(object, function(value) {
- * return 'group' + value;
- * });
- * // => { 'group1': ['a', 'c'], 'group2': ['b'] }
+ * @private
+ * @name set
+ * @memberOf ListCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the list cache instance.
*/
- var invertBy = createInverter(function(result, value, key) {
- if (value != null &&
- typeof value.toString != 'function') {
- value = nativeObjectToString.call(value);
- }
+ function listCacheSet(key, value) {
+ var data = this.__data__,
+ index = assocIndexOf(data, key);
- if (hasOwnProperty.call(result, value)) {
- result[value].push(key);
+ if (index < 0) {
+ ++this.size;
+ data.push([key, value]);
} else {
- result[value] = [key];
+ data[index][1] = value;
}
- }, getIteratee);
+ return this;
+ }
+
+ // Add methods to `ListCache`.
+ ListCache.prototype.clear = listCacheClear;
+ ListCache.prototype['delete'] = listCacheDelete;
+ ListCache.prototype.get = listCacheGet;
+ ListCache.prototype.has = listCacheHas;
+ ListCache.prototype.set = listCacheSet;
+
+ /*------------------------------------------------------------------------*/
/**
- * Invokes the method at `path` of `object`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The object to query.
- * @param {Array|string} path The path of the method to invoke.
- * @param {...*} [args] The arguments to invoke the method with.
- * @returns {*} Returns the result of the invoked method.
- * @example
- *
- * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };
+ * Creates a map cache object to store key-value pairs.
*
- * _.invoke(object, 'a[0].b.c.slice', 1, 3);
- * // => [2, 3]
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
*/
- var invoke = baseRest(baseInvoke);
+ function MapCache(entries) {
+ var index = -1,
+ length = entries == null ? 0 : entries.length;
+
+ this.clear();
+ while (++index < length) {
+ var entry = entries[index];
+ this.set(entry[0], entry[1]);
+ }
+ }
/**
- * Creates an array of the own enumerable property names of `object`.
- *
- * **Note:** Non-object values are coerced to objects. See the
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
- * for more details.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Object
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property names.
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
- *
- * _.keys(new Foo);
- * // => ['a', 'b'] (iteration order is not guaranteed)
+ * Removes all key-value entries from the map.
*
- * _.keys('hi');
- * // => ['0', '1']
+ * @private
+ * @name clear
+ * @memberOf MapCache
*/
- function keys(object) {
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
+ function mapCacheClear() {
+ this.size = 0;
+ this.__data__ = {
+ 'hash': new Hash,
+ 'map': new (Map || ListCache),
+ 'string': new Hash
+ };
}
/**
- * Creates an array of the own and inherited enumerable property names of `object`.
- *
- * **Note:** Non-object values are coerced to objects.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Object
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property names.
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
+ * Removes `key` and its value from the map.
*
- * Foo.prototype.c = 3;
+ * @private
+ * @name delete
+ * @memberOf MapCache
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+ */
+ function mapCacheDelete(key) {
+ var result = getMapData(this, key)['delete'](key);
+ this.size -= result ? 1 : 0;
+ return result;
+ }
+
+ /**
+ * Gets the map value for `key`.
*
- * _.keysIn(new Foo);
- * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
+ * @private
+ * @name get
+ * @memberOf MapCache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
*/
- function keysIn(object) {
- return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
+ function mapCacheGet(key) {
+ return getMapData(this, key).get(key);
}
/**
- * The opposite of `_.mapValues`; this method creates an object with the
- * same values as `object` and keys generated by running each own enumerable
- * string keyed property of `object` thru `iteratee`. The iteratee is invoked
- * with three arguments: (value, key, object).
+ * Checks if a map value for `key` exists.
*
- * @static
- * @memberOf _
- * @since 3.8.0
- * @category Object
- * @param {Object} object The object to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Object} Returns the new mapped object.
- * @see _.mapValues
- * @example
+ * @private
+ * @name has
+ * @memberOf MapCache
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+ */
+ function mapCacheHas(key) {
+ return getMapData(this, key).has(key);
+ }
+
+ /**
+ * Sets the map `key` to `value`.
*
- * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {
- * return key + value;
- * });
- * // => { 'a1': 1, 'b2': 2 }
+ * @private
+ * @name set
+ * @memberOf MapCache
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the map cache instance.
*/
- function mapKeys(object, iteratee) {
- var result = {};
- iteratee = getIteratee(iteratee, 3);
+ function mapCacheSet(key, value) {
+ var data = getMapData(this, key),
+ size = data.size;
- baseForOwn(object, function(value, key, object) {
- baseAssignValue(result, iteratee(value, key, object), value);
- });
- return result;
+ data.set(key, value);
+ this.size += data.size == size ? 0 : 1;
+ return this;
}
+ // Add methods to `MapCache`.
+ MapCache.prototype.clear = mapCacheClear;
+ MapCache.prototype['delete'] = mapCacheDelete;
+ MapCache.prototype.get = mapCacheGet;
+ MapCache.prototype.has = mapCacheHas;
+ MapCache.prototype.set = mapCacheSet;
+
+ /*------------------------------------------------------------------------*/
+
/**
- * Creates an object with the same keys as `object` and values generated
- * by running each own enumerable string keyed property of `object` thru
- * `iteratee`. The iteratee is invoked with three arguments:
- * (value, key, object).
- *
- * @static
- * @memberOf _
- * @since 2.4.0
- * @category Object
- * @param {Object} object The object to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @returns {Object} Returns the new mapped object.
- * @see _.mapKeys
- * @example
- *
- * var users = {
- * 'fred': { 'user': 'fred', 'age': 40 },
- * 'pebbles': { 'user': 'pebbles', 'age': 1 }
- * };
*
- * _.mapValues(users, function(o) { return o.age; });
- * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
+ * Creates an array cache object to store unique values.
*
- * // The `_.property` iteratee shorthand.
- * _.mapValues(users, 'age');
- * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
+ * @private
+ * @constructor
+ * @param {Array} [values] The values to cache.
*/
- function mapValues(object, iteratee) {
- var result = {};
- iteratee = getIteratee(iteratee, 3);
+ function SetCache(values) {
+ var index = -1,
+ length = values == null ? 0 : values.length;
- baseForOwn(object, function(value, key, object) {
- baseAssignValue(result, key, iteratee(value, key, object));
- });
- return result;
+ this.__data__ = new MapCache;
+ while (++index < length) {
+ this.add(values[index]);
+ }
}
/**
- * This method is like `_.assign` except that it recursively merges own and
- * inherited enumerable string keyed properties of source objects into the
- * destination object. Source properties that resolve to `undefined` are
- * skipped if a destination value exists. Array and plain object properties
- * are merged recursively. Other objects and value types are overridden by
- * assignment. Source objects are applied from left to right. Subsequent
- * sources overwrite property assignments of previous sources.
- *
- * **Note:** This method mutates `object`.
+ * Adds `value` to the array cache.
*
- * @static
- * @memberOf _
- * @since 0.5.0
- * @category Object
- * @param {Object} object The destination object.
- * @param {...Object} [sources] The source objects.
- * @returns {Object} Returns `object`.
- * @example
- *
- * var object = {
- * 'a': [{ 'b': 2 }, { 'd': 4 }]
- * };
- *
- * var other = {
- * 'a': [{ 'c': 3 }, { 'e': 5 }]
- * };
- *
- * _.merge(object, other);
- * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
+ * @private
+ * @name add
+ * @memberOf SetCache
+ * @alias push
+ * @param {*} value The value to cache.
+ * @returns {Object} Returns the cache instance.
*/
- var merge = createAssigner(function(object, source, srcIndex) {
- baseMerge(object, source, srcIndex);
- });
+ function setCacheAdd(value) {
+ this.__data__.set(value, HASH_UNDEFINED);
+ return this;
+ }
/**
- * This method is like `_.merge` except that it accepts `customizer` which
- * is invoked to produce the merged values of the destination and source
- * properties. If `customizer` returns `undefined`, merging is handled by the
- * method instead. The `customizer` is invoked with six arguments:
- * (objValue, srcValue, key, object, source, stack).
- *
- * **Note:** This method mutates `object`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The destination object.
- * @param {...Object} sources The source objects.
- * @param {Function} customizer The function to customize assigned values.
- * @returns {Object} Returns `object`.
- * @example
- *
- * function customizer(objValue, srcValue) {
- * if (_.isArray(objValue)) {
- * return objValue.concat(srcValue);
- * }
- * }
- *
- * var object = { 'a': [1], 'b': [2] };
- * var other = { 'a': [3], 'b': [4] };
+ * Checks if `value` is in the array cache.
*
- * _.mergeWith(object, other, customizer);
- * // => { 'a': [1, 3], 'b': [2, 4] }
+ * @private
+ * @name has
+ * @memberOf SetCache
+ * @param {*} value The value to search for.
+ * @returns {number} Returns `true` if `value` is found, else `false`.
*/
- var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {
- baseMerge(object, source, srcIndex, customizer);
- });
+ function setCacheHas(value) {
+ return this.__data__.has(value);
+ }
+
+ // Add methods to `SetCache`.
+ SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
+ SetCache.prototype.has = setCacheHas;
+
+ /*------------------------------------------------------------------------*/
/**
- * The opposite of `_.pick`; this method creates an object composed of the
- * own and inherited enumerable property paths of `object` that are not omitted.
- *
- * **Note:** This method is considerably slower than `_.pick`.
+ * Creates a stack cache object to store key-value pairs.
*
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Object
- * @param {Object} object The source object.
- * @param {...(string|string[])} [paths] The property paths to omit.
- * @returns {Object} Returns the new object.
- * @example
+ * @private
+ * @constructor
+ * @param {Array} [entries] The key-value pairs to cache.
+ */
+ function Stack(entries) {
+ var data = this.__data__ = new ListCache(entries);
+ this.size = data.size;
+ }
+
+ /**
+ * Removes all key-value entries from the stack.
*
- * var object = { 'a': 1, 'b': '2', 'c': 3 };
+ * @private
+ * @name clear
+ * @memberOf Stack
+ */
+ function stackClear() {
+ this.__data__ = new ListCache;
+ this.size = 0;
+ }
+
+ /**
+ * Removes `key` and its value from the stack.
*
- * _.omit(object, ['a', 'c']);
- * // => { 'b': '2' }
+ * @private
+ * @name delete
+ * @memberOf Stack
+ * @param {string} key The key of the value to remove.
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
- var omit = flatRest(function(object, paths) {
- var result = {};
- if (object == null) {
- return result;
- }
- var isDeep = false;
- paths = arrayMap(paths, function(path) {
- path = castPath(path, object);
- isDeep || (isDeep = path.length > 1);
- return path;
- });
- copyObject(object, getAllKeysIn(object), result);
- if (isDeep) {
- result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
- }
- var length = paths.length;
- while (length--) {
- baseUnset(result, paths[length]);
- }
+ function stackDelete(key) {
+ var data = this.__data__,
+ result = data['delete'](key);
+
+ this.size = data.size;
return result;
- });
+ }
/**
- * The opposite of `_.pickBy`; this method creates an object composed of
- * the own and inherited enumerable string keyed properties of `object` that
- * `predicate` doesn't return truthy for. The predicate is invoked with two
- * arguments: (value, key).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The source object.
- * @param {Function} [predicate=_.identity] The function invoked per property.
- * @returns {Object} Returns the new object.
- * @example
- *
- * var object = { 'a': 1, 'b': '2', 'c': 3 };
+ * Gets the stack value for `key`.
*
- * _.omitBy(object, _.isNumber);
- * // => { 'b': '2' }
+ * @private
+ * @name get
+ * @memberOf Stack
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the entry value.
*/
- function omitBy(object, predicate) {
- return pickBy(object, negate(getIteratee(predicate)));
+ function stackGet(key) {
+ return this.__data__.get(key);
}
/**
- * Creates an object composed of the picked `object` properties.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Object
- * @param {Object} object The source object.
- * @param {...(string|string[])} [paths] The property paths to pick.
- * @returns {Object} Returns the new object.
- * @example
- *
- * var object = { 'a': 1, 'b': '2', 'c': 3 };
+ * Checks if a stack value for `key` exists.
*
- * _.pick(object, ['a', 'c']);
- * // => { 'a': 1, 'c': 3 }
+ * @private
+ * @name has
+ * @memberOf Stack
+ * @param {string} key The key of the entry to check.
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
- var pick = flatRest(function(object, paths) {
- return object == null ? {} : basePick(object, paths);
- });
+ function stackHas(key) {
+ return this.__data__.has(key);
+ }
/**
- * Creates an object composed of the `object` properties `predicate` returns
- * truthy for. The predicate is invoked with two arguments: (value, key).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The source object.
- * @param {Function} [predicate=_.identity] The function invoked per property.
- * @returns {Object} Returns the new object.
- * @example
- *
- * var object = { 'a': 1, 'b': '2', 'c': 3 };
+ * Sets the stack `key` to `value`.
*
- * _.pickBy(object, _.isNumber);
- * // => { 'a': 1, 'c': 3 }
+ * @private
+ * @name set
+ * @memberOf Stack
+ * @param {string} key The key of the value to set.
+ * @param {*} value The value to set.
+ * @returns {Object} Returns the stack cache instance.
*/
- function pickBy(object, predicate) {
- if (object == null) {
- return {};
+ function stackSet(key, value) {
+ var data = this.__data__;
+ if (data instanceof ListCache) {
+ var pairs = data.__data__;
+ if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
+ pairs.push([key, value]);
+ this.size = ++data.size;
+ return this;
+ }
+ data = this.__data__ = new MapCache(pairs);
}
- var props = arrayMap(getAllKeysIn(object), function(prop) {
- return [prop];
- });
- predicate = getIteratee(predicate);
- return basePickBy(object, props, function(value, path) {
- return predicate(value, path[0]);
- });
+ data.set(key, value);
+ this.size = data.size;
+ return this;
}
+ // Add methods to `Stack`.
+ Stack.prototype.clear = stackClear;
+ Stack.prototype['delete'] = stackDelete;
+ Stack.prototype.get = stackGet;
+ Stack.prototype.has = stackHas;
+ Stack.prototype.set = stackSet;
+
+ /*------------------------------------------------------------------------*/
+
/**
- * This method is like `_.get` except that if the resolved value is a
- * function it's invoked with the `this` binding of its parent object and
- * its result is returned.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Object
- * @param {Object} object The object to query.
- * @param {Array|string} path The path of the property to resolve.
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
- * @returns {*} Returns the resolved value.
- * @example
- *
- * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };
- *
- * _.result(object, 'a[0].b.c1');
- * // => 3
- *
- * _.result(object, 'a[0].b.c2');
- * // => 4
- *
- * _.result(object, 'a[0].b.c3', 'default');
- * // => 'default'
+ * Creates an array of the enumerable property names of the array-like `value`.
*
- * _.result(object, 'a[0].b.c3', _.constant('default'));
- * // => 'default'
+ * @private
+ * @param {*} value The value to query.
+ * @param {boolean} inherited Specify returning inherited property names.
+ * @returns {Array} Returns the array of property names.
*/
- function result(object, path, defaultValue) {
- path = castPath(path, object);
-
- var index = -1,
- length = path.length;
+ function arrayLikeKeys(value, inherited) {
+ var isArr = isArray(value),
+ isArg = !isArr && isArguments(value),
+ isBuff = !isArr && !isArg && isBuffer(value),
+ isType = !isArr && !isArg && !isBuff && isTypedArray(value),
+ skipIndexes = isArr || isArg || isBuff || isType,
+ result = skipIndexes ? baseTimes(value.length, String) : [],
+ length = result.length;
- // Ensure the loop is entered when path is empty.
- if (!length) {
- length = 1;
- object = undefined;
- }
- while (++index < length) {
- var value = object == null ? undefined : object[toKey(path[index])];
- if (value === undefined) {
- index = length;
- value = defaultValue;
+ for (var key in value) {
+ if ((inherited || hasOwnProperty.call(value, key)) &&
+ !(skipIndexes && (
+ // Safari 9 has enumerable `arguments.length` in strict mode.
+ key == 'length' ||
+ // Node.js 0.10 has enumerable non-index properties on buffers.
+ (isBuff && (key == 'offset' || key == 'parent')) ||
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
+ // Skip index properties.
+ isIndex(key, length)
+ ))) {
+ result.push(key);
}
- object = isFunction(value) ? value.call(object) : value;
}
- return object;
+ return result;
}
/**
- * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
- * it's created. Arrays are created for missing index properties while objects
- * are created for all other missing properties. Use `_.setWith` to customize
- * `path` creation.
- *
- * **Note:** This method mutates `object`.
- *
- * @static
- * @memberOf _
- * @since 3.7.0
- * @category Object
- * @param {Object} object The object to modify.
- * @param {Array|string} path The path of the property to set.
- * @param {*} value The value to set.
- * @returns {Object} Returns `object`.
- * @example
- *
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
- *
- * _.set(object, 'a[0].b.c', 4);
- * console.log(object.a[0].b.c);
- * // => 4
+ * A specialized version of `_.sample` for arrays.
*
- * _.set(object, ['x', '0', 'y', 'z'], 5);
- * console.log(object.x[0].y.z);
- * // => 5
+ * @private
+ * @param {Array} array The array to sample.
+ * @returns {*} Returns the random element.
*/
- function set(object, path, value) {
- return object == null ? object : baseSet(object, path, value);
+ function arraySample(array) {
+ var length = array.length;
+ return length ? array[baseRandom(0, length - 1)] : undefined;
}
/**
- * This method is like `_.set` except that it accepts `customizer` which is
- * invoked to produce the objects of `path`. If `customizer` returns `undefined`
- * path creation is handled by the method instead. The `customizer` is invoked
- * with three arguments: (nsValue, key, nsObject).
- *
- * **Note:** This method mutates `object`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The object to modify.
- * @param {Array|string} path The path of the property to set.
- * @param {*} value The value to set.
- * @param {Function} [customizer] The function to customize assigned values.
- * @returns {Object} Returns `object`.
- * @example
- *
- * var object = {};
+ * A specialized version of `_.sampleSize` for arrays.
*
- * _.setWith(object, '[0][1]', 'a', Object);
- * // => { '0': { '1': 'a' } }
+ * @private
+ * @param {Array} array The array to sample.
+ * @param {number} n The number of elements to sample.
+ * @returns {Array} Returns the random elements.
*/
- function setWith(object, path, value, customizer) {
- customizer = typeof customizer == 'function' ? customizer : undefined;
- return object == null ? object : baseSet(object, path, value, customizer);
+ function arraySampleSize(array, n) {
+ return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));
}
/**
- * Creates an array of own enumerable string keyed-value pairs for `object`
- * which can be consumed by `_.fromPairs`. If `object` is a map or set, its
- * entries are returned.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @alias entries
- * @category Object
- * @param {Object} object The object to query.
- * @returns {Array} Returns the key-value pairs.
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
+ * A specialized version of `_.shuffle` for arrays.
*
- * _.toPairs(new Foo);
- * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
+ * @private
+ * @param {Array} array The array to shuffle.
+ * @returns {Array} Returns the new shuffled array.
*/
- var toPairs = createToPairs(keys);
+ function arrayShuffle(array) {
+ return shuffleSelf(copyArray(array));
+ }
/**
- * Creates an array of own and inherited enumerable string keyed-value pairs
- * for `object` which can be consumed by `_.fromPairs`. If `object` is a map
- * or set, its entries are returned.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @alias entriesIn
- * @category Object
- * @param {Object} object The object to query.
- * @returns {Array} Returns the key-value pairs.
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
+ * This function is like `assignValue` except that it doesn't assign
+ * `undefined` values.
*
- * _.toPairsIn(new Foo);
- * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)
+ * @private
+ * @param {Object} object The object to modify.
+ * @param {string} key The key of the property to assign.
+ * @param {*} value The value to assign.
*/
- var toPairsIn = createToPairs(keysIn);
+ function assignMergeValue(object, key, value) {
+ if ((value !== undefined && !eq(object[key], value)) ||
+ (value === undefined && !(key in object))) {
+ baseAssignValue(object, key, value);
+ }
+ }
/**
- * An alternative to `_.reduce`; this method transforms `object` to a new
- * `accumulator` object which is the result of running each of its own
- * enumerable string keyed properties thru `iteratee`, with each invocation
- * potentially mutating the `accumulator` object. If `accumulator` is not
- * provided, a new object with the same `[[Prototype]]` will be used. The
- * iteratee is invoked with four arguments: (accumulator, value, key, object).
- * Iteratee functions may exit iteration early by explicitly returning `false`.
- *
- * @static
- * @memberOf _
- * @since 1.3.0
- * @category Object
- * @param {Object} object The object to iterate over.
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
- * @param {*} [accumulator] The custom accumulator value.
- * @returns {*} Returns the accumulated value.
- * @example
- *
- * _.transform([2, 3, 4], function(result, n) {
- * result.push(n *= n);
- * return n % 2 == 0;
- * }, []);
- * // => [4, 9]
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
+ * for equality comparisons.
*
- * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
- * (result[value] || (result[value] = [])).push(key);
- * }, {});
- * // => { '1': ['a', 'c'], '2': ['b'] }
+ * @private
+ * @param {Object} object The object to modify.
+ * @param {string} key The key of the property to assign.
+ * @param {*} value The value to assign.
*/
- function transform(object, iteratee, accumulator) {
- var isArr = isArray(object),
- isArrLike = isArr || isBuffer(object) || isTypedArray(object);
-
- iteratee = getIteratee(iteratee, 4);
- if (accumulator == null) {
- var Ctor = object && object.constructor;
- if (isArrLike) {
- accumulator = isArr ? new Ctor : [];
- }
- else if (isObject(object)) {
- accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};
- }
- else {
- accumulator = {};
- }
+ function assignValue(object, key, value) {
+ var objValue = object[key];
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
+ (value === undefined && !(key in object))) {
+ baseAssignValue(object, key, value);
}
- (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {
- return iteratee(accumulator, value, index, object);
- });
- return accumulator;
}
/**
- * Removes the property at `path` of `object`.
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
*
- * **Note:** This method mutates `object`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Object
- * @param {Object} object The object to modify.
- * @param {Array|string} path The path of the property to unset.
- * @returns {boolean} Returns `true` if the property is deleted, else `false`.
- * @example
- *
- * var object = { 'a': [{ 'b': { 'c': 7 } }] };
- * _.unset(object, 'a[0].b.c');
- * // => true
- *
- * console.log(object);
- * // => { 'a': [{ 'b': {} }] };
- *
- * _.unset(object, ['a', '0', 'b', 'c']);
- * // => true
- *
- * console.log(object);
- * // => { 'a': [{ 'b': {} }] };
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {*} key The key to search for.
+ * @returns {number} Returns the index of the matched value, else `-1`.
*/
- function unset(object, path) {
- return object == null ? true : baseUnset(object, path);
+ function assocIndexOf(array, key) {
+ var length = array.length;
+ while (length--) {
+ if (eq(array[length][0], key)) {
+ return length;
+ }
+ }
+ return -1;
}
/**
- * This method is like `_.set` except that accepts `updater` to produce the
- * value to set. Use `_.updateWith` to customize `path` creation. The `updater`
- * is invoked with one argument: (value).
+ * Aggregates elements of `collection` on `accumulator` with keys transformed
+ * by `iteratee` and values set by `setter`.
*
- * **Note:** This method mutates `object`.
+ * @private
+ * @param {Array|Object} collection The collection to iterate over.
+ * @param {Function} setter The function to set `accumulator` values.
+ * @param {Function} iteratee The iteratee to transform keys.
+ * @param {Object} accumulator The initial aggregated object.
+ * @returns {Function} Returns `accumulator`.
+ */
+ function baseAggregator(collection, setter, iteratee, accumulator) {
+ baseEach(collection, function(value, key, collection) {
+ setter(accumulator, value, iteratee(value), collection);
+ });
+ return accumulator;
+ }
+
+ /**
+ * The base implementation of `_.assign` without support for multiple sources
+ * or `customizer` functions.
*
- * @static
- * @memberOf _
- * @since 4.6.0
- * @category Object
- * @param {Object} object The object to modify.
- * @param {Array|string} path The path of the property to set.
- * @param {Function} updater The function to produce the updated value.
+ * @private
+ * @param {Object} object The destination object.
+ * @param {Object} source The source object.
* @returns {Object} Returns `object`.
- * @example
- *
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
- *
- * _.update(object, 'a[0].b.c', function(n) { return n * n; });
- * console.log(object.a[0].b.c);
- * // => 9
- *
- * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });
- * console.log(object.x[0].y.z);
- * // => 0
*/
- function update(object, path, updater) {
- return object == null ? object : baseUpdate(object, path, castFunction(updater));
+ function baseAssign(object, source) {
+ return object && copyObject(source, keys(source), object);
}
/**
- * This method is like `_.update` except that it accepts `customizer` which is
- * invoked to produce the objects of `path`. If `customizer` returns `undefined`
- * path creation is handled by the method instead. The `customizer` is invoked
- * with three arguments: (nsValue, key, nsObject).
- *
- * **Note:** This method mutates `object`.
+ * The base implementation of `_.assignIn` without support for multiple sources
+ * or `customizer` functions.
*
- * @static
- * @memberOf _
- * @since 4.6.0
- * @category Object
- * @param {Object} object The object to modify.
- * @param {Array|string} path The path of the property to set.
- * @param {Function} updater The function to produce the updated value.
- * @param {Function} [customizer] The function to customize assigned values.
+ * @private
+ * @param {Object} object The destination object.
+ * @param {Object} source The source object.
* @returns {Object} Returns `object`.
- * @example
- *
- * var object = {};
- *
- * _.updateWith(object, '[0][1]', _.constant('a'), Object);
- * // => { '0': { '1': 'a' } }
*/
- function updateWith(object, path, updater, customizer) {
- customizer = typeof customizer == 'function' ? customizer : undefined;
- return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);
+ function baseAssignIn(object, source) {
+ return object && copyObject(source, keysIn(source), object);
}
/**
- * Creates an array of the own enumerable string keyed property values of `object`.
- *
- * **Note:** Non-object values are coerced to objects.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category Object
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property values.
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
- *
- * _.values(new Foo);
- * // => [1, 2] (iteration order is not guaranteed)
+ * The base implementation of `assignValue` and `assignMergeValue` without
+ * value checks.
*
- * _.values('hi');
- * // => ['h', 'i']
+ * @private
+ * @param {Object} object The object to modify.
+ * @param {string} key The key of the property to assign.
+ * @param {*} value The value to assign.
*/
- function values(object) {
- return object == null ? [] : baseValues(object, keys(object));
+ function baseAssignValue(object, key, value) {
+ if (key == '__proto__' && defineProperty) {
+ defineProperty(object, key, {
+ 'configurable': true,
+ 'enumerable': true,
+ 'value': value,
+ 'writable': true
+ });
+ } else {
+ object[key] = value;
+ }
}
/**
- * Creates an array of the own and inherited enumerable string keyed property
- * values of `object`.
- *
- * **Note:** Non-object values are coerced to objects.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category Object
- * @param {Object} object The object to query.
- * @returns {Array} Returns the array of property values.
- * @example
- *
- * function Foo() {
- * this.a = 1;
- * this.b = 2;
- * }
- *
- * Foo.prototype.c = 3;
+ * The base implementation of `_.at` without support for individual paths.
*
- * _.valuesIn(new Foo);
- * // => [1, 2, 3] (iteration order is not guaranteed)
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {string[]} paths The property paths to pick.
+ * @returns {Array} Returns the picked elements.
*/
- function valuesIn(object) {
- return object == null ? [] : baseValues(object, keysIn(object));
- }
+ function baseAt(object, paths) {
+ var index = -1,
+ length = paths.length,
+ result = Array(length),
+ skip = object == null;
- /*------------------------------------------------------------------------*/
+ while (++index < length) {
+ result[index] = skip ? undefined : get(object, paths[index]);
+ }
+ return result;
+ }
/**
- * Clamps `number` within the inclusive `lower` and `upper` bounds.
+ * The base implementation of `_.clamp` which doesn't coerce arguments.
*
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Number
+ * @private
* @param {number} number The number to clamp.
* @param {number} [lower] The lower bound.
* @param {number} upper The upper bound.
* @returns {number} Returns the clamped number.
- * @example
- *
- * _.clamp(-10, -5, 5);
- * // => -5
- *
- * _.clamp(10, -5, 5);
- * // => 5
*/
- function clamp(number, lower, upper) {
- if (upper === undefined) {
- upper = lower;
- lower = undefined;
- }
- if (upper !== undefined) {
- upper = toNumber(upper);
- upper = upper === upper ? upper : 0;
- }
- if (lower !== undefined) {
- lower = toNumber(lower);
- lower = lower === lower ? lower : 0;
+ function baseClamp(number, lower, upper) {
+ if (number === number) {
+ if (upper !== undefined) {
+ number = number <= upper ? number : upper;
+ }
+ if (lower !== undefined) {
+ number = number >= lower ? number : lower;
+ }
}
- return baseClamp(toNumber(number), lower, upper);
+ return number;
}
/**
- * Checks if `n` is between `start` and up to, but not including, `end`. If
- * `end` is not specified, it's set to `start` with `start` then set to `0`.
- * If `start` is greater than `end` the params are swapped to support
- * negative ranges.
- *
- * @static
- * @memberOf _
- * @since 3.3.0
- * @category Number
- * @param {number} number The number to check.
- * @param {number} [start=0] The start of the range.
- * @param {number} end The end of the range.
- * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
- * @see _.range, _.rangeRight
- * @example
- *
- * _.inRange(3, 2, 4);
- * // => true
- *
- * _.inRange(4, 8);
- * // => true
- *
- * _.inRange(4, 2);
- * // => false
- *
- * _.inRange(2, 2);
- * // => false
- *
- * _.inRange(1.2, 2);
- * // => true
- *
- * _.inRange(5.2, 4);
- * // => false
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
+ * traversed objects.
*
- * _.inRange(-3, -2, -6);
- * // => true
+ * @private
+ * @param {*} value The value to clone.
+ * @param {boolean} bitmask The bitmask flags.
+ * 1 - Deep clone
+ * 2 - Flatten inherited properties
+ * 4 - Clone symbols
+ * @param {Function} [customizer] The function to customize cloning.
+ * @param {string} [key] The key of `value`.
+ * @param {Object} [object] The parent object of `value`.
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
+ * @returns {*} Returns the cloned value.
*/
- function inRange(number, start, end) {
- start = toFinite(start);
- if (end === undefined) {
- end = start;
- start = 0;
- } else {
- end = toFinite(end);
- }
- number = toNumber(number);
- return baseInRange(number, start, end);
- }
+ function baseClone(value, bitmask, customizer, key, object, stack) {
+ var result,
+ isDeep = bitmask & CLONE_DEEP_FLAG,
+ isFlat = bitmask & CLONE_FLAT_FLAG,
+ isFull = bitmask & CLONE_SYMBOLS_FLAG;
- /**
- * Produces a random number between the inclusive `lower` and `upper` bounds.
- * If only one argument is provided a number between `0` and the given number
- * is returned. If `floating` is `true`, or either `lower` or `upper` are
- * floats, a floating-point number is returned instead of an integer.
- *
- * **Note:** JavaScript follows the IEEE-754 standard for resolving
- * floating-point values which can produce unexpected results.
- *
- * @static
- * @memberOf _
- * @since 0.7.0
- * @category Number
- * @param {number} [lower=0] The lower bound.
- * @param {number} [upper=1] The upper bound.
- * @param {boolean} [floating] Specify returning a floating-point number.
- * @returns {number} Returns the random number.
- * @example
- *
- * _.random(0, 5);
- * // => an integer between 0 and 5
- *
- * _.random(5);
- * // => also an integer between 0 and 5
- *
- * _.random(5, true);
- * // => a floating-point number between 0 and 5
- *
- * _.random(1.2, 5.2);
- * // => a floating-point number between 1.2 and 5.2
- */
- function random(lower, upper, floating) {
- if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {
- upper = floating = undefined;
+ if (customizer) {
+ result = object ? customizer(value, key, object, stack) : customizer(value);
}
- if (floating === undefined) {
- if (typeof upper == 'boolean') {
- floating = upper;
- upper = undefined;
- }
- else if (typeof lower == 'boolean') {
- floating = lower;
- lower = undefined;
- }
+ if (result !== undefined) {
+ return result;
}
- if (lower === undefined && upper === undefined) {
- lower = 0;
- upper = 1;
+ if (!isObject(value)) {
+ return value;
}
- else {
- lower = toFinite(lower);
- if (upper === undefined) {
- upper = lower;
- lower = 0;
+ var isArr = isArray(value);
+ if (isArr) {
+ result = initCloneArray(value);
+ if (!isDeep) {
+ return copyArray(value, result);
+ }
+ } else {
+ var tag = getTag(value),
+ isFunc = tag == funcTag || tag == genTag;
+
+ if (isBuffer(value)) {
+ return cloneBuffer(value, isDeep);
+ }
+ if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
+ result = (isFlat || isFunc) ? {} : initCloneObject(value);
+ if (!isDeep) {
+ return isFlat
+ ? copySymbolsIn(value, baseAssignIn(result, value))
+ : copySymbols(value, baseAssign(result, value));
+ }
} else {
- upper = toFinite(upper);
+ if (!cloneableTags[tag]) {
+ return object ? value : {};
+ }
+ result = initCloneByTag(value, tag, isDeep);
}
}
- if (lower > upper) {
- var temp = lower;
- lower = upper;
- upper = temp;
+ // Check for circular references and return its corresponding clone.
+ stack || (stack = new Stack);
+ var stacked = stack.get(value);
+ if (stacked) {
+ return stacked;
}
- if (floating || lower % 1 || upper % 1) {
- var rand = nativeRandom();
- return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
+ stack.set(value, result);
+
+ if (isSet(value)) {
+ value.forEach(function(subValue) {
+ result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
+ });
+ } else if (isMap(value)) {
+ value.forEach(function(subValue, key) {
+ result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
+ });
}
- return baseRandom(lower, upper);
- }
- /*------------------------------------------------------------------------*/
+ var keysFunc = isFull
+ ? (isFlat ? getAllKeysIn : getAllKeys)
+ : (isFlat ? keysIn : keys);
- /**
- * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to convert.
- * @returns {string} Returns the camel cased string.
- * @example
- *
- * _.camelCase('Foo Bar');
- * // => 'fooBar'
- *
- * _.camelCase('--foo-bar--');
- * // => 'fooBar'
- *
- * _.camelCase('__FOO_BAR__');
- * // => 'fooBar'
- */
- var camelCase = createCompounder(function(result, word, index) {
- word = word.toLowerCase();
- return result + (index ? capitalize(word) : word);
- });
+ var props = isArr ? undefined : keysFunc(value);
+ arrayEach(props || value, function(subValue, key) {
+ if (props) {
+ key = subValue;
+ subValue = value[key];
+ }
+ // Recursively populate clone (susceptible to call stack limits).
+ assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
+ });
+ return result;
+ }
/**
- * Converts the first character of `string` to upper case and the remaining
- * to lower case.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to capitalize.
- * @returns {string} Returns the capitalized string.
- * @example
+ * The base implementation of `_.conforms` which doesn't clone `source`.
*
- * _.capitalize('FRED');
- * // => 'Fred'
+ * @private
+ * @param {Object} source The object of property predicates to conform to.
+ * @returns {Function} Returns the new spec function.
*/
- function capitalize(string) {
- return upperFirst(toString(string).toLowerCase());
+ function baseConforms(source) {
+ var props = keys(source);
+ return function(object) {
+ return baseConformsTo(object, source, props);
+ };
}
/**
- * Deburrs `string` by converting
- * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
- * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
- * letters to basic Latin letters and removing
- * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to deburr.
- * @returns {string} Returns the deburred string.
- * @example
+ * The base implementation of `_.conformsTo` which accepts `props` to check.
*
- * _.deburr('déjà vu');
- * // => 'deja vu'
+ * @private
+ * @param {Object} object The object to inspect.
+ * @param {Object} source The object of property predicates to conform to.
+ * @returns {boolean} Returns `true` if `object` conforms, else `false`.
*/
- function deburr(string) {
- string = toString(string);
- return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
+ function baseConformsTo(object, source, props) {
+ var length = props.length;
+ if (object == null) {
+ return !length;
+ }
+ object = Object(object);
+ while (length--) {
+ var key = props[length],
+ predicate = source[key],
+ value = object[key];
+
+ if ((value === undefined && !(key in object)) || !predicate(value)) {
+ return false;
+ }
+ }
+ return true;
}
/**
- * Checks if `string` ends with the given target string.
+ * The base implementation of `_.delay` and `_.defer` which accepts `args`
+ * to provide to `func`.
*
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to inspect.
- * @param {string} [target] The string to search for.
- * @param {number} [position=string.length] The position to search up to.
- * @returns {boolean} Returns `true` if `string` ends with `target`,
- * else `false`.
- * @example
- *
- * _.endsWith('abc', 'c');
- * // => true
- *
- * _.endsWith('abc', 'b');
- * // => false
- *
- * _.endsWith('abc', 'b', 2);
- * // => true
+ * @private
+ * @param {Function} func The function to delay.
+ * @param {number} wait The number of milliseconds to delay invocation.
+ * @param {Array} args The arguments to provide to `func`.
+ * @returns {number|Object} Returns the timer id or timeout object.
*/
- function endsWith(string, target, position) {
- string = toString(string);
- target = baseToString(target);
-
- var length = string.length;
- position = position === undefined
- ? length
- : baseClamp(toInteger(position), 0, length);
-
- var end = position;
- position -= target.length;
- return position >= 0 && string.slice(position, end) == target;
+ function baseDelay(func, wait, args) {
+ if (typeof func != 'function') {
+ throw new TypeError(FUNC_ERROR_TEXT);
+ }
+ return setTimeout(function() { func.apply(undefined, args); }, wait);
}
/**
- * Converts the characters "&", "<", ">", '"', and "'" in `string` to their
- * corresponding HTML entities.
- *
- * **Note:** No other characters are escaped. To escape additional
- * characters use a third-party library like [_he_](https://mths.be/he).
- *
- * Though the ">" character is escaped for symmetry, characters like
- * ">" and "/" don't need escaping in HTML and have no special meaning
- * unless they're part of a tag or unquoted attribute value. See
- * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
- * (under "semi-related fun fact") for more details.
- *
- * When working with HTML you should always
- * [quote attribute values](http://wonko.com/post/html-escaping) to reduce
- * XSS vectors.
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category String
- * @param {string} [string=''] The string to escape.
- * @returns {string} Returns the escaped string.
- * @example
+ * The base implementation of methods like `_.difference` without support
+ * for excluding multiple arrays or iteratee shorthands.
*
- * _.escape('fred, barney, & pebbles');
- * // => 'fred, barney, & pebbles'
+ * @private
+ * @param {Array} array The array to inspect.
+ * @param {Array} values The values to exclude.
+ * @param {Function} [iteratee] The iteratee invoked per element.
+ * @param {Function} [comparator] The comparator invoked per element.
+ * @returns {Array} Returns the new array of filtered values.
*/
- function escape(string) {
- string = toString(string);
- return (string && reHasUnescapedHtml.test(string))
- ? string.replace(reUnescapedHtml, escapeHtmlChar)
- : string;
+ function baseDifference(array, values, iteratee, comparator) {
+ var index = -1,
+ includes = arrayIncludes,
+ isCommon = true,
+ length = array.length,
+ result = [],
+ valuesLength = values.length;
+
+ if (!length) {
+ return result;
+ }
+ if (iteratee) {
+ values = arrayMap(values, baseUnary(iteratee));
+ }
+ if (comparator) {
+ includes = arrayIncludesWith;
+ isCommon = false;
+ }
+ else if (values.length >= LARGE_ARRAY_SIZE) {
+ includes = cacheHas;
+ isCommon = false;
+ values = new SetCache(values);
+ }
+ outer:
+ while (++index < length) {
+ var value = array[index],
+ computed = iteratee == null ? value : iteratee(value);
+
+ value = (comparator || value !== 0) ? value : 0;
+ if (isCommon && computed === computed) {
+ var valuesIndex = valuesLength;
+ while (valuesIndex--) {
+ if (values[valuesIndex] === computed) {
+ continue outer;
+ }
+ }
+ result.push(value);
+ }
+ else if (!includes(values, computed, comparator)) {
+ result.push(value);
+ }
+ }
+ return result;
}
/**
- * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
- * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to escape.
- * @returns {string} Returns the escaped string.
- * @example
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
*
- * _.escapeRegExp('[lodash](https://lodash.com/)');
- * // => '\[lodash\]\(https://lodash\.com/\)'
+ * @private
+ * @param {Array|Object} collection The collection to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Array|Object} Returns `collection`.
*/
- function escapeRegExp(string) {
- string = toString(string);
- return (string && reHasRegExpChar.test(string))
- ? string.replace(reRegExpChar, '\\$&')
- : string;
- }
+ var baseEach = createBaseEach(baseForOwn);
/**
- * Converts `string` to
- * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to convert.
- * @returns {string} Returns the kebab cased string.
- * @example
- *
- * _.kebabCase('Foo Bar');
- * // => 'foo-bar'
- *
- * _.kebabCase('fooBar');
- * // => 'foo-bar'
+ * The base implementation of `_.forEachRight` without support for iteratee shorthands.
*
- * _.kebabCase('__FOO_BAR__');
- * // => 'foo-bar'
+ * @private
+ * @param {Array|Object} collection The collection to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Array|Object} Returns `collection`.
*/
- var kebabCase = createCompounder(function(result, word, index) {
- return result + (index ? '-' : '') + word.toLowerCase();
- });
+ var baseEachRight = createBaseEach(baseForOwnRight, true);
/**
- * Converts `string`, as space separated words, to lower case.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category String
- * @param {string} [string=''] The string to convert.
- * @returns {string} Returns the lower cased string.
- * @example
- *
- * _.lowerCase('--Foo-Bar--');
- * // => 'foo bar'
- *
- * _.lowerCase('fooBar');
- * // => 'foo bar'
+ * The base implementation of `_.every` without support for iteratee shorthands.
*
- * _.lowerCase('__FOO_BAR__');
- * // => 'foo bar'
+ * @private
+ * @param {Array|Object} collection The collection to iterate over.
+ * @param {Function} predicate The function invoked per iteration.
+ * @returns {boolean} Returns `true` if all elements pass the predicate check,
+ * else `false`
*/
- var lowerCase = createCompounder(function(result, word, index) {
- return result + (index ? ' ' : '') + word.toLowerCase();
- });
+ function baseEvery(collection, predicate) {
+ var result = true;
+ baseEach(collection, function(value, index, collection) {
+ result = !!predicate(value, index, collection);
+ return result;
+ });
+ return result;
+ }
/**
- * Converts the first character of `string` to lower case.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category String
- * @param {string} [string=''] The string to convert.
- * @returns {string} Returns the converted string.
- * @example
- *
- * _.lowerFirst('Fred');
- * // => 'fred'
+ * The base implementation of methods like `_.max` and `_.min` which accepts a
+ * `comparator` to determine the extremum value.
*
- * _.lowerFirst('FRED');
- * // => 'fRED'
+ * @private
+ * @param {Array} array The array to iterate over.
+ * @param {Function} iteratee The iteratee invoked per iteration.
+ * @param {Function} comparator The comparator used to compare values.
+ * @returns {*} Returns the extremum value.
*/
- var lowerFirst = createCaseFirst('toLowerCase');
+ function baseExtremum(array, iteratee, comparator) {
+ var index = -1,
+ length = array.length;
+
+ while (++index < length) {
+ var value = array[index],
+ current = iteratee(value);
+
+ if (current != null && (computed === undefined
+ ? (current === current && !isSymbol(current))
+ : comparator(current, computed)
+ )) {
+ var computed = current,
+ result = value;
+ }
+ }
+ return result;
+ }
/**
- * Pads `string` on the left and right sides if it's shorter than `length`.
- * Padding characters are truncated if they can't be evenly divided by `length`.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to pad.
- * @param {number} [length=0] The padding length.
- * @param {string} [chars=' '] The string used as padding.
- * @returns {string} Returns the padded string.
- * @example
- *
- * _.pad('abc', 8);
- * // => ' abc '
- *
- * _.pad('abc', 8, '_-');
- * // => '_-abc_-_'
+ * The base implementation of `_.fill` without an iteratee call guard.
*
- * _.pad('abc', 3);
- * // => 'abc'
+ * @private
+ * @param {Array} array The array to fill.
+ * @param {*} value The value to fill `array` with.
+ * @param {number} [start=0] The start position.
+ * @param {number} [end=array.length] The end position.
+ * @returns {Array} Returns `array`.
*/
- function pad(string, length, chars) {
- string = toString(string);
- length = toInteger(length);
+ function baseFill(array, value, start, end) {
+ var length = array.length;
- var strLength = length ? stringSize(string) : 0;
- if (!length || strLength >= length) {
- return string;
+ start = toInteger(start);
+ if (start < 0) {
+ start = -start > length ? 0 : (length + start);
}
- var mid = (length - strLength) / 2;
- return (
- createPadding(nativeFloor(mid), chars) +
- string +
- createPadding(nativeCeil(mid), chars)
- );
+ end = (end === undefined || end > length) ? length : toInteger(end);
+ if (end < 0) {
+ end += length;
+ }
+ end = start > end ? 0 : toLength(end);
+ while (start < end) {
+ array[start++] = value;
+ }
+ return array;
}
/**
- * Pads `string` on the right side if it's shorter than `length`. Padding
- * characters are truncated if they exceed `length`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category String
- * @param {string} [string=''] The string to pad.
- * @param {number} [length=0] The padding length.
- * @param {string} [chars=' '] The string used as padding.
- * @returns {string} Returns the padded string.
- * @example
- *
- * _.padEnd('abc', 6);
- * // => 'abc '
- *
- * _.padEnd('abc', 6, '_-');
- * // => 'abc_-_'
+ * The base implementation of `_.filter` without support for iteratee shorthands.
*
- * _.padEnd('abc', 3);
- * // => 'abc'
+ * @private
+ * @param {Array|Object} collection The collection to iterate over.
+ * @param {Function} predicate The function invoked per iteration.
+ * @returns {Array} Returns the new filtered array.
*/
- function padEnd(string, length, chars) {
- string = toString(string);
- length = toInteger(length);
-
- var strLength = length ? stringSize(string) : 0;
- return (length && strLength < length)
- ? (string + createPadding(length - strLength, chars))
- : string;
+ function baseFilter(collection, predicate) {
+ var result = [];
+ baseEach(collection, function(value, index, collection) {
+ if (predicate(value, index, collection)) {
+ result.push(value);
+ }
+ });
+ return result;
}
/**
- * Pads `string` on the left side if it's shorter than `length`. Padding
- * characters are truncated if they exceed `length`.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category String
- * @param {string} [string=''] The string to pad.
- * @param {number} [length=0] The padding length.
- * @param {string} [chars=' '] The string used as padding.
- * @returns {string} Returns the padded string.
- * @example
- *
- * _.padStart('abc', 6);
- * // => ' abc'
- *
- * _.padStart('abc', 6, '_-');
- * // => '_-_abc'
+ * The base implementation of `_.flatten` with support for restricting flattening.
*
- * _.padStart('abc', 3);
- * // => 'abc'
+ * @private
+ * @param {Array} array The array to flatten.
+ * @param {number} depth The maximum recursion depth.
+ * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
+ * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
+ * @param {Array} [result=[]] The initial result value.
+ * @returns {Array} Returns the new flattened array.
*/
- function padStart(string, length, chars) {
- string = toString(string);
- length = toInteger(length);
+ function baseFlatten(array, depth, predicate, isStrict, result) {
+ var index = -1,
+ length = array.length;
- var strLength = length ? stringSize(string) : 0;
- return (length && strLength < length)
- ? (createPadding(length - strLength, chars) + string)
- : string;
+ predicate || (predicate = isFlattenable);
+ result || (result = []);
+
+ while (++index < length) {
+ var value = array[index];
+ if (depth > 0 && predicate(value)) {
+ if (depth > 1) {
+ // Recursively flatten arrays (susceptible to call stack limits).
+ baseFlatten(value, depth - 1, predicate, isStrict, result);
+ } else {
+ arrayPush(result, value);
+ }
+ } else if (!isStrict) {
+ result[result.length] = value;
+ }
+ }
+ return result;
}
/**
- * Converts `string` to an integer of the specified radix. If `radix` is
- * `undefined` or `0`, a `radix` of `10` is used unless `value` is a
- * hexadecimal, in which case a `radix` of `16` is used.
- *
- * **Note:** This method aligns with the
- * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.
+ * The base implementation of `baseForOwn` which iterates over `object`
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
*
- * @static
- * @memberOf _
- * @since 1.1.0
- * @category String
- * @param {string} string The string to convert.
- * @param {number} [radix=10] The radix to interpret `value` by.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {number} Returns the converted integer.
- * @example
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @param {Function} keysFunc The function to get the keys of `object`.
+ * @returns {Object} Returns `object`.
+ */
+ var baseFor = createBaseFor();
+
+ /**
+ * This function is like `baseFor` except that it iterates over properties
+ * in the opposite order.
*
- * _.parseInt('08');
- * // => 8
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @param {Function} keysFunc The function to get the keys of `object`.
+ * @returns {Object} Returns `object`.
+ */
+ var baseForRight = createBaseFor(true);
+
+ /**
+ * The base implementation of `_.forOwn` without support for iteratee shorthands.
*
- * _.map(['6', '08', '10'], _.parseInt);
- * // => [6, 8, 10]
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Object} Returns `object`.
*/
- function parseInt(string, radix, guard) {
- if (guard || radix == null) {
- radix = 0;
- } else if (radix) {
- radix = +radix;
- }
- return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);
+ function baseForOwn(object, iteratee) {
+ return object && baseFor(object, iteratee, keys);
}
/**
- * Repeats the given string `n` times.
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to repeat.
- * @param {number} [n=1] The number of times to repeat the string.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {string} Returns the repeated string.
- * @example
- *
- * _.repeat('*', 3);
- * // => '***'
- *
- * _.repeat('abc', 2);
- * // => 'abcabc'
+ * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
*
- * _.repeat('abc', 0);
- * // => ''
+ * @private
+ * @param {Object} object The object to iterate over.
+ * @param {Function} iteratee The function invoked per iteration.
+ * @returns {Object} Returns `object`.
*/
- function repeat(string, n, guard) {
- if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {
- n = 1;
- } else {
- n = toInteger(n);
- }
- return baseRepeat(toString(string), n);
+ function baseForOwnRight(object, iteratee) {
+ return object && baseForRight(object, iteratee, keys);
}
/**
- * Replaces matches for `pattern` in `string` with `replacement`.
- *
- * **Note:** This method is based on
- * [`String#replace`](https://mdn.io/String/replace).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category String
- * @param {string} [string=''] The string to modify.
- * @param {RegExp|string} pattern The pattern to replace.
- * @param {Function|string} replacement The match replacement.
- * @returns {string} Returns the modified string.
- * @example
+ * The base implementation of `_.functions` which creates an array of
+ * `object` function property names filtered from `props`.
*
- * _.replace('Hi Fred', 'Fred', 'Barney');
- * // => 'Hi Barney'
+ * @private
+ * @param {Object} object The object to inspect.
+ * @param {Array} props The property names to filter.
+ * @returns {Array} Returns the function names.
*/
- function replace() {
- var args = arguments,
- string = toString(args[0]);
-
- return args.length < 3 ? string : string.replace(args[1], args[2]);
+ function baseFunctions(object, props) {
+ return arrayFilter(props, function(key) {
+ return isFunction(object[key]);
+ });
}
/**
- * Converts `string` to
- * [snake case](https://en.wikipedia.org/wiki/Snake_case).
- *
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to convert.
- * @returns {string} Returns the snake cased string.
- * @example
- *
- * _.snakeCase('Foo Bar');
- * // => 'foo_bar'
- *
- * _.snakeCase('fooBar');
- * // => 'foo_bar'
+ * The base implementation of `_.get` without support for default values.
*
- * _.snakeCase('--FOO-BAR--');
- * // => 'foo_bar'
+ * @private
+ * @param {Object} object The object to query.
+ * @param {Array|string} path The path of the property to get.
+ * @returns {*} Returns the resolved value.
*/
- var snakeCase = createCompounder(function(result, word, index) {
- return result + (index ? '_' : '') + word.toLowerCase();
- });
+ function baseGet(object, path) {
+ path = castPath(path, object);
+
+ var index = 0,
+ length = path.length;
+
+ while (object != null && index < length) {
+ object = object[toKey(path[index++])];
+ }
+ return (index && index == length) ? object : undefined;
+ }
/**
- * Splits `string` by `separator`.
- *
- * **Note:** This method is based on
- * [`String#split`](https://mdn.io/String/split).
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category String
- * @param {string} [string=''] The string to split.
- * @param {RegExp|string} separator The separator pattern to split by.
- * @param {number} [limit] The length to truncate results to.
- * @returns {Array} Returns the string segments.
- * @example
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
+ * symbols of `object`.
*
- * _.split('a-b-c', '-', 2);
- * // => ['a', 'b']
+ * @private
+ * @param {Object} object The object to query.
+ * @param {Function} keysFunc The function to get the keys of `object`.
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
+ * @returns {Array} Returns the array of property names and symbols.
*/
- function split(string, separator, limit) {
- if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {
- separator = limit = undefined;
- }
- limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;
- if (!limit) {
- return [];
- }
- string = toString(string);
- if (string && (
- typeof separator == 'string' ||
- (separator != null && !isRegExp(separator))
- )) {
- separator = baseToString(separator);
- if (!separator && hasUnicode(string)) {
- return castSlice(stringToArray(string), 0, limit);
- }
- }
- return string.split(separator, limit);
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
+ var result = keysFunc(object);
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
}
/**
- * Converts `string` to
- * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
- *
- * @static
- * @memberOf _
- * @since 3.1.0
- * @category String
- * @param {string} [string=''] The string to convert.
- * @returns {string} Returns the start cased string.
- * @example
- *
- * _.startCase('--foo-bar--');
- * // => 'Foo Bar'
- *
- * _.startCase('fooBar');
- * // => 'Foo Bar'
+ * The base implementation of `getTag` without fallbacks for buggy environments.
*
- * _.startCase('__FOO_BAR__');
- * // => 'FOO BAR'
+ * @private
+ * @param {*} value The value to query.
+ * @returns {string} Returns the `toStringTag`.
*/
- var startCase = createCompounder(function(result, word, index) {
- return result + (index ? ' ' : '') + upperFirst(word);
- });
+ function baseGetTag(value) {
+ if (value == null) {
+ return value === undefined ? undefinedTag : nullTag;
+ }
+ return (symToStringTag && symToStringTag in Object(value))
+ ? getRawTag(value)
+ : objectToString(value);
+ }
/**
- * Checks if `string` starts with the given target string.
+ * The base implementation of `_.gt` which doesn't coerce arguments.
*
- * @static
- * @memberOf _
- * @since 3.0.0
- * @category String
- * @param {string} [string=''] The string to inspect.
- * @param {string} [target] The string to search for.
- * @param {number} [position=0] The position to search from.
- * @returns {boolean} Returns `true` if `string` starts with `target`,
+ * @private
+ * @param {*} value The value to compare.
+ * @param {*} other The other value to compare.
+ * @returns {boolean} Returns `true` if `value` is greater than `other`,
* else `false`.
- * @example
- *
- * _.startsWith('abc', 'a');
- * // => true
- *
- * _.startsWith('abc', 'b');
- * // => false
- *
- * _.startsWith('abc', 'b', 1);
- * // => true
*/
- function startsWith(string, target, position) {
- string = toString(string);
- position = position == null
- ? 0
- : baseClamp(toInteger(position), 0, string.length);
-
- target = baseToString(target);
- return string.slice(position, position + target.length) == target;
+ function baseGt(value, other) {
+ return value > other;
}
/**
- * Creates a compiled template function that can interpolate data properties
- * in "interpolate" delimiters, HTML-escape interpolated data properties in
- * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data
- * properties may be accessed as free variables in the template. If a setting
- * object is given, it takes precedence over `_.templateSettings` values.
- *
- * **Note:** In the development build `_.template` utilizes
- * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
- * for easier debugging.
- *
- * For more information on precompiling templates see
- * [lodash's custom builds documentation](https://lodash.com/custom-builds).
- *
- * For more information on Chrome extension sandboxes see
- * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).
- *
- * @static
- * @since 0.1.0
- * @memberOf _
- * @category String
- * @param {string} [string=''] The template string.
- * @param {Object} [options={}] The options object.
- * @param {RegExp} [options.escape=_.templateSettings.escape]
- * The HTML "escape" delimiter.
- * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]
- * The "evaluate" delimiter.
- * @param {Object} [options.imports=_.templateSettings.imports]
- * An object to import into the template as free variables.
- * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]
- * The "interpolate" delimiter.
- * @param {string} [options.sourceURL='lodash.templateSources[n]']
- * The sourceURL of the compiled template.
- * @param {string} [options.variable='obj']
- * The data object variable name.
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
- * @returns {Function} Returns the compiled template function.
- * @example
- *
- * // Use the "interpolate" delimiter to create a compiled template.
- * var compiled = _.template('hello <%= user %>!');
- * compiled({ 'user': 'fred' });
- * // => 'hello fred!'
- *
- * // Use the HTML "escape" delimiter to escape data property values.
- * var compiled = _.template('<%- value %>');
- * compiled({ 'value': '