@redhat-cloud-services/frontend-components-config-utilities 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/federated-modules.js +1 -1
  2. package/package.json +1 -1
  3. package/repos/insights-chrome-build/58231b16fdee45a03a4ee3cf94a9f2c3 +0 -73
  4. package/repos/insights-chrome-build/app.info.deps.json +0 -1
  5. package/repos/insights-chrome-build/app.info.json +0 -14
  6. package/repos/insights-chrome-build/index.html +0 -29
  7. package/repos/insights-chrome-build/js/00e10699d4604274.woff2 +0 -0
  8. package/repos/insights-chrome-build/js/03be9971fdd08ef3.woff2 +0 -0
  9. package/repos/insights-chrome-build/js/05294d67f8e33aab.woff2 +0 -0
  10. package/repos/insights-chrome-build/js/091b27e83c831713.woff2 +0 -0
  11. package/repos/insights-chrome-build/js/0d54864d782470c6.woff +0 -0
  12. package/repos/insights-chrome-build/js/0d5f5f4e3bbf47e1.woff2 +0 -0
  13. package/repos/insights-chrome-build/js/1039d3d8000f2c4b.woff +0 -0
  14. package/repos/insights-chrome-build/js/13f6558f31b2ee0f.woff2 +0 -0
  15. package/repos/insights-chrome-build/js/1412957e204a8a1a.woff +0 -0
  16. package/repos/insights-chrome-build/js/17802e9fb8c2dd3c.woff +0 -0
  17. package/repos/insights-chrome-build/js/1be1bd18c67d1ac8.woff +0 -0
  18. package/repos/insights-chrome-build/js/26409b4397ab88cc.woff2 +0 -0
  19. package/repos/insights-chrome-build/js/278473d290fcbf3b.woff2 +0 -0
  20. package/repos/insights-chrome-build/js/2a96d5b208c56fa6.woff +0 -0
  21. package/repos/insights-chrome-build/js/2baac3a5d7ab7a15.woff2 +0 -0
  22. package/repos/insights-chrome-build/js/316d3d41de174f24.woff +0 -0
  23. package/repos/insights-chrome-build/js/3239d74dcb174610.woff2 +0 -0
  24. package/repos/insights-chrome-build/js/326f107b61d32769.woff +0 -0
  25. package/repos/insights-chrome-build/js/49ee635c956449ea.woff2 +0 -0
  26. package/repos/insights-chrome-build/js/4ace320f5eaa7ee9.woff2 +0 -0
  27. package/repos/insights-chrome-build/js/4b0d8eeb01c2f27e.woff2 +0 -0
  28. package/repos/insights-chrome-build/js/4df2ca3d94d759b3.svg +0 -515
  29. package/repos/insights-chrome-build/js/52f482efb5487bba.woff2 +0 -0
  30. package/repos/insights-chrome-build/js/64b9a14b3398824f.woff2 +0 -0
  31. package/repos/insights-chrome-build/js/66309a34eac8b284.woff2 +0 -0
  32. package/repos/insights-chrome-build/js/6e30b223886d1eef.woff2 +0 -0
  33. package/repos/insights-chrome-build/js/6fb4e4e104bb886f.woff2 +0 -0
  34. package/repos/insights-chrome-build/js/703c721f27900006.woff +0 -0
  35. package/repos/insights-chrome-build/js/79c835ddc356c3ef.woff +0 -0
  36. package/repos/insights-chrome-build/js/7a0809e40bf8e79a.woff +0 -0
  37. package/repos/insights-chrome-build/js/7a9fb47c5b35e50d.woff2 +0 -0
  38. package/repos/insights-chrome-build/js/7bb3ddb0583cc7a5.woff +0 -0
  39. package/repos/insights-chrome-build/js/7bf300b28414f3ad.woff +0 -0
  40. package/repos/insights-chrome-build/js/7d9b027229967149.woff2 +0 -0
  41. package/repos/insights-chrome-build/js/81245ab8c867ea09.woff +0 -0
  42. package/repos/insights-chrome-build/js/830dcb2cc707ae4c.woff +0 -0
  43. package/repos/insights-chrome-build/js/835112a9ba0d676e.woff +0 -0
  44. package/repos/insights-chrome-build/js/8f3e80eba644e3ec.svg +0 -33
  45. package/repos/insights-chrome-build/js/8f765508913b945e.woff2 +0 -0
  46. package/repos/insights-chrome-build/js/91bbac2b6e0eb739.woff +0 -0
  47. package/repos/insights-chrome-build/js/96971d99ef5f2ef7.woff2 +0 -0
  48. package/repos/insights-chrome-build/js/_c74b-_e0c3-_9cf0-_3467-_8add-_2900-_a7bc-_70d9-_eea3-_8afc-_d73e-_1a3c-_2385-_85ca-_5c4f-_0f-35898c0.b3f9836f62184986.js +0 -943
  49. package/repos/insights-chrome-build/js/_c74b-_e0c3-_9cf0-_3467-_8add-_2900-_a7bc-_70d9-_eea3-_8afc-_d73e-_1a3c-_2385-_85ca-_5c4f-_0f-35898c1.b3f9836f62184986.js +0 -943
  50. package/repos/insights-chrome-build/js/a14c79bac597c758.woff +0 -0
  51. package/repos/insights-chrome-build/js/a86c2bca47a21ff0.woff2 +0 -0
  52. package/repos/insights-chrome-build/js/ad4d1e278d4d13cb.woff +0 -0
  53. package/repos/insights-chrome-build/js/ajs-destination.b3f9836f62184986.js +0 -594
  54. package/repos/insights-chrome-build/js/auto-track.b3f9836f62184986.js +0 -122
  55. package/repos/insights-chrome-build/js/b0ebda5f4f12f761.woff2 +0 -0
  56. package/repos/insights-chrome-build/js/b97a3321aaf7e87a.woff2 +0 -0
  57. package/repos/insights-chrome-build/js/ba04b02b7da08f3d.woff2 +0 -0
  58. package/repos/insights-chrome-build/js/bb85876a67d3e7e7.woff2 +0 -0
  59. package/repos/insights-chrome-build/js/bbe18aee9c88166d.woff +0 -0
  60. package/repos/insights-chrome-build/js/c3ab7be4146884a3.woff2 +0 -0
  61. package/repos/insights-chrome-build/js/c49edc34d14553e4.woff +0 -0
  62. package/repos/insights-chrome-build/js/c8b06bb52b20081e.woff2 +0 -0
  63. package/repos/insights-chrome-build/js/c99e50723fcf0166.woff +0 -0
  64. package/repos/insights-chrome-build/js/cb827f53cc6d6dcf.woff2 +0 -0
  65. package/repos/insights-chrome-build/js/cd1824ff99b9ef33.woff2 +0 -0
  66. package/repos/insights-chrome-build/js/ce63a8f6be94c7cd.woff2 +0 -0
  67. package/repos/insights-chrome-build/js/chrome-root.b3f9836f62184986.js +0 -43326
  68. package/repos/insights-chrome-build/js/chrome.b3f9836f62184986.js +0 -33007
  69. package/repos/insights-chrome-build/js/d004dc9f8c955767.woff2 +0 -0
  70. package/repos/insights-chrome-build/js/d19c89c249d7f751.woff2 +0 -0
  71. package/repos/insights-chrome-build/js/d2a095f5996e5014.woff2 +0 -0
  72. package/repos/insights-chrome-build/js/d2ce043298f5c972.woff +0 -0
  73. package/repos/insights-chrome-build/js/d2cf7e795db09bc7.woff +0 -0
  74. package/repos/insights-chrome-build/js/d6083bde9a964ab4.svg +0 -96
  75. package/repos/insights-chrome-build/js/dd18fb6c0b7048e8.woff2 +0 -0
  76. package/repos/insights-chrome-build/js/df8a52d2494e1e03.woff2 +0 -0
  77. package/repos/insights-chrome-build/js/e5c7a27047a83d24.woff2 +0 -0
  78. package/repos/insights-chrome-build/js/e693e4f9d9c75499.woff2 +0 -0
  79. package/repos/insights-chrome-build/js/e8ec1c41a82bd354.woff +0 -0
  80. package/repos/insights-chrome-build/js/f66882bad34e5c9f.woff +0 -0
  81. package/repos/insights-chrome-build/js/f830d4d01f5e4497.woff +0 -0
  82. package/repos/insights-chrome-build/js/fed-mods.json +0 -15
  83. package/repos/insights-chrome-build/js/legacyVideos.b3f9836f62184986.js +0 -41
  84. package/repos/insights-chrome-build/js/main.b3f9836f62184986.css +0 -51216
  85. package/repos/insights-chrome-build/js/node_modules_hoist-non-react-statics_dist_hoist-non-react-statics_cjs_js.b3f9836f62184986.js +0 -323
  86. package/repos/insights-chrome-build/js/node_modules_lodash_isEqual_js.b3f9836f62184986.js +0 -48
  87. package/repos/insights-chrome-build/js/node_modules_patternfly_react-icons_dist_js_icons_bars-icon_js-node_modules_patternfly_react--0a3495.b3f9836f62184986.js +0 -242
  88. package/repos/insights-chrome-build/js/queryString.b3f9836f62184986.js +0 -128
  89. package/repos/insights-chrome-build/js/quick-start.b3f9836f62184986.js +0 -47
  90. package/repos/insights-chrome-build/js/remoteMiddleware.b3f9836f62184986.js +0 -87
  91. package/repos/insights-chrome-build/js/schemaFilter.b3f9836f62184986.js +0 -111
  92. package/repos/insights-chrome-build/js/src_bootstrap_tsx-src_moduleOverrides_unfetch_ts-node_modules_redhat-cloud-services_frontend--275e6e.b3f9836f62184986.css +0 -27041
  93. package/repos/insights-chrome-build/js/src_bootstrap_tsx-src_moduleOverrides_unfetch_ts-node_modules_redhat-cloud-services_frontend--275e6e.b3f9836f62184986.js +0 -20468
  94. package/repos/insights-chrome-build/js/src_components_Debugger_index_ts.b3f9836f62184986.css +0 -52
  95. package/repos/insights-chrome-build/js/src_components_Debugger_index_ts.b3f9836f62184986.js +0 -512
  96. package/repos/insights-chrome-build/js/src_components_FavoriteServices_EmptyState_tsx-src_hooks_useFavoritedServices_ts.b3f9836f62184986.css +0 -8664
  97. package/repos/insights-chrome-build/js/src_components_FavoriteServices_EmptyState_tsx-src_hooks_useFavoritedServices_ts.b3f9836f62184986.js +0 -5098
  98. package/repos/insights-chrome-build/js/src_components_FavoriteServices_LandingNavFavorites_tsx-src_utils_common_ts.b3f9836f62184986.css +0 -8662
  99. package/repos/insights-chrome-build/js/src_components_FavoriteServices_LandingNavFavorites_tsx-src_utils_common_ts.b3f9836f62184986.js +0 -898
  100. package/repos/insights-chrome-build/js/src_components_NotEntitledModal_index_tsx.b3f9836f62184986.css +0 -30
  101. package/repos/insights-chrome-build/js/src_components_NotEntitledModal_index_tsx.b3f9836f62184986.js +0 -237
  102. package/repos/insights-chrome-build/js/src_components_QuickstartsCatalogRoute_index_ts.b3f9836f62184986.js +0 -106
  103. package/repos/insights-chrome-build/js/src_components_Stratosphere_ProductSelection_tsx.b3f9836f62184986.css +0 -17513
  104. package/repos/insights-chrome-build/js/src_components_Stratosphere_ProductSelection_tsx.b3f9836f62184986.js +0 -335
  105. package/repos/insights-chrome-build/js/src_moduleOverrides_chart-utils-override_js-src_pdf_DownloadButton_tsx-webpack_sharing_consum-3a44a6.b3f9836f62184986.js +0 -91
  106. package/repos/insights-chrome-build/js/tsub-middleware.b3f9836f62184986.js +0 -6836
  107. package/repos/insights-chrome-build/js/vendors-node_modules_buffer_index_js-node_modules_lodash__baseFlatten_js-node_modules_lodash_-1de864.b3f9836f62184986.js +0 -2552
  108. package/repos/insights-chrome-build/js/vendors-node_modules_hoist-non-react-statics_dist_hoist-non-react-statics_cjs_js-node_modules-c053fb.b3f9836f62184986.js +0 -1761
  109. package/repos/insights-chrome-build/js/vendors-node_modules_inherits_inherits_browser_js-node_modules_lodash__baseMerge_js-node_modu-5ed1a1.b3f9836f62184986.js +0 -1113
  110. package/repos/insights-chrome-build/js/vendors-node_modules_lodash__baseForOwn_js-node_modules_lodash__baseIteratee_js-node_modules_-167437.b3f9836f62184986.js +0 -1289
  111. package/repos/insights-chrome-build/js/vendors-node_modules_lodash__baseIsEqual_js.b3f9836f62184986.js +0 -3148
  112. package/repos/insights-chrome-build/js/vendors-node_modules_openshift_dynamic-plugin-sdk_dist_index_js.b3f9836f62184986.js +0 -17197
  113. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_quickstarts_dist_index_es_js.b3f9836f62184986.js +0 -13149
  114. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_react-charts_dist_esm_components_ChartUtils_chart-theme_js-no-998b15.b3f9836f62184986.js +0 -166192
  115. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_react-core_dist_esm_components_Button_Button_js-node_modules_-6763c7.b3f9836f62184986.js +0 -6274
  116. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_react-core_dist_esm_index_js.b3f9836f62184986.js +0 -33678
  117. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_react-core_next_components_Select_Select_js-node_modules_patt-da466d.b3f9836f62184986.js +0 -4946
  118. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_react-icons_dist_esm_icons_bell-slash-icon_js-node_modules_pa-6de3ff.b3f9836f62184986.js +0 -74388
  119. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_react-icons_dist_esm_icons_star-icon_js-node_modules_axios_in-5a9fd5.b3f9836f62184986.js +0 -2881
  120. package/repos/insights-chrome-build/js/vendors-node_modules_prop-types_index_js.b3f9836f62184986.js +0 -649
  121. package/repos/insights-chrome-build/js/vendors-node_modules_react-redux_es_index_js.b3f9836f62184986.js +0 -2337
  122. package/repos/insights-chrome-build/js/vendors-node_modules_react-router-dom_dist_index_js.b3f9836f62184986.js +0 -6691
  123. package/repos/insights-chrome-build/js/vendors-node_modules_react_jsx-runtime_js.b3f9836f62184986.js +0 -1250
  124. package/repos/insights-chrome-build/js/vendors-node_modules_redhat-cloud-services_chrome_esm_index_js.b3f9836f62184986.js +0 -708
  125. package/repos/insights-chrome-build/js/vendors-node_modules_redhat-cloud-services_frontend-components-utilities_esm_interceptors_int-b5fffe.b3f9836f62184986.js +0 -21636
  126. package/repos/insights-chrome-build/js/vendors-node_modules_scalprum_core_dist_esm_index_js.b3f9836f62184986.js +0 -363
  127. package/repos/insights-chrome-build/js/vendors-node_modules_scalprum_react-core_dist_esm_index_js.b3f9836f62184986.js +0 -762
  128. package/repos/insights-chrome-build/js/vendors-node_modules_segment_analytics_js-video-plugins_dist_index_umd_js.b3f9836f62184986.js +0 -13
  129. package/repos/insights-chrome-build/js/vendors-node_modules_tslib_tslib_es6_js.b3f9836f62184986.js +0 -258
  130. package/repos/insights-chrome-build/js/vendors-node_modules_unleash_proxy-client-react_dist_index_browser_js.b3f9836f62184986.js +0 -1821
  131. package/repos/insights-chrome-build/silent-check-sso.html +0 -7
@@ -1,2881 +0,0 @@
1
- (self["webpackChunkinsights_chrome"] = self["webpackChunkinsights_chrome"] || []).push([["vendors-node_modules_patternfly_react-icons_dist_esm_icons_star-icon_js-node_modules_axios_in-5a9fd5"],{
2
-
3
- /***/ "./node_modules/@patternfly/react-icons/dist/esm/createIcon.js":
4
- /*!*********************************************************************!*\
5
- !*** ./node_modules/@patternfly/react-icons/dist/esm/createIcon.js ***!
6
- \*********************************************************************/
7
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8
-
9
- "use strict";
10
- __webpack_require__.r(__webpack_exports__);
11
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12
- /* harmony export */ "IconSize": () => (/* binding */ IconSize),
13
- /* harmony export */ "createIcon": () => (/* binding */ createIcon),
14
- /* harmony export */ "getSize": () => (/* binding */ getSize)
15
- /* harmony export */ });
16
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
17
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
18
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
19
-
20
-
21
- var IconSize;
22
- (function (IconSize) {
23
- IconSize["sm"] = "sm";
24
- IconSize["md"] = "md";
25
- IconSize["lg"] = "lg";
26
- IconSize["xl"] = "xl";
27
- })(IconSize || (IconSize = {}));
28
- const getSize = (size) => {
29
- switch (size) {
30
- case IconSize.sm:
31
- return '1em';
32
- case IconSize.md:
33
- return '1.5em';
34
- case IconSize.lg:
35
- return '2em';
36
- case IconSize.xl:
37
- return '3em';
38
- default:
39
- return '1em';
40
- }
41
- };
42
- let currentId = 0;
43
- /**
44
- * Factory to create Icon class components for consumers
45
- */
46
- function createIcon({ name, xOffset = 0, yOffset = 0, width, height, svgPath }) {
47
- var _a;
48
- return _a = class SVGIcon extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
49
- constructor() {
50
- super(...arguments);
51
- this.id = `icon-title-${currentId++}`;
52
- }
53
- render() {
54
- const _a = this.props, { size, color, title, noVerticalAlign } = _a, props = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__rest)(_a, ["size", "color", "title", "noVerticalAlign"]);
55
- const hasTitle = Boolean(title);
56
- const heightWidth = getSize(size);
57
- const baseAlign = -0.125 * Number.parseFloat(heightWidth);
58
- const style = noVerticalAlign ? null : { verticalAlign: `${baseAlign}em` };
59
- const viewBox = [xOffset, yOffset, width, height].join(' ');
60
- return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({ style: style, fill: color, height: heightWidth, width: heightWidth, viewBox: viewBox, "aria-labelledby": hasTitle ? this.id : null, "aria-hidden": hasTitle ? null : true, role: "img" }, props),
61
- hasTitle && react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { id: this.id }, title),
62
- react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: svgPath })));
63
- }
64
- },
65
- _a.displayName = name,
66
- _a.defaultProps = {
67
- color: 'currentColor',
68
- size: IconSize.sm,
69
- noVerticalAlign: false
70
- },
71
- _a;
72
- }
73
- //# sourceMappingURL=createIcon.js.map
74
-
75
- /***/ }),
76
-
77
- /***/ "./node_modules/@patternfly/react-icons/dist/esm/icons/star-icon.js":
78
- /*!**************************************************************************!*\
79
- !*** ./node_modules/@patternfly/react-icons/dist/esm/icons/star-icon.js ***!
80
- \**************************************************************************/
81
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
82
-
83
- "use strict";
84
- __webpack_require__.r(__webpack_exports__);
85
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86
- /* harmony export */ "StarIcon": () => (/* binding */ StarIcon),
87
- /* harmony export */ "StarIconConfig": () => (/* binding */ StarIconConfig),
88
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
89
- /* harmony export */ });
90
- /* harmony import */ var _createIcon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createIcon */ "./node_modules/@patternfly/react-icons/dist/esm/createIcon.js");
91
-
92
-
93
- const StarIconConfig = {
94
- name: 'StarIcon',
95
- height: 512,
96
- width: 576,
97
- svgPath: 'M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z',
98
- yOffset: 0,
99
- xOffset: 0,
100
- };
101
-
102
- const StarIcon = (0,_createIcon__WEBPACK_IMPORTED_MODULE_0__.createIcon)(StarIconConfig);
103
-
104
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StarIcon);
105
-
106
- /***/ }),
107
-
108
- /***/ "./node_modules/axios/index.js":
109
- /*!*************************************!*\
110
- !*** ./node_modules/axios/index.js ***!
111
- \*************************************/
112
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
113
-
114
- module.exports = __webpack_require__(/*! ./lib/axios */ "./node_modules/axios/lib/axios.js");
115
-
116
- /***/ }),
117
-
118
- /***/ "./node_modules/axios/lib/adapters/xhr.js":
119
- /*!************************************************!*\
120
- !*** ./node_modules/axios/lib/adapters/xhr.js ***!
121
- \************************************************/
122
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
123
-
124
- "use strict";
125
-
126
-
127
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
128
- var settle = __webpack_require__(/*! ./../core/settle */ "./node_modules/axios/lib/core/settle.js");
129
- var cookies = __webpack_require__(/*! ./../helpers/cookies */ "./node_modules/axios/lib/helpers/cookies.js");
130
- var buildURL = __webpack_require__(/*! ./../helpers/buildURL */ "./node_modules/axios/lib/helpers/buildURL.js");
131
- var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ "./node_modules/axios/lib/core/buildFullPath.js");
132
- var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ "./node_modules/axios/lib/helpers/parseHeaders.js");
133
- var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ "./node_modules/axios/lib/helpers/isURLSameOrigin.js");
134
- var transitionalDefaults = __webpack_require__(/*! ../defaults/transitional */ "./node_modules/axios/lib/defaults/transitional.js");
135
- var AxiosError = __webpack_require__(/*! ../core/AxiosError */ "./node_modules/axios/lib/core/AxiosError.js");
136
- var CanceledError = __webpack_require__(/*! ../cancel/CanceledError */ "./node_modules/axios/lib/cancel/CanceledError.js");
137
- var parseProtocol = __webpack_require__(/*! ../helpers/parseProtocol */ "./node_modules/axios/lib/helpers/parseProtocol.js");
138
-
139
- module.exports = function xhrAdapter(config) {
140
- return new Promise(function dispatchXhrRequest(resolve, reject) {
141
- var requestData = config.data;
142
- var requestHeaders = config.headers;
143
- var responseType = config.responseType;
144
- var onCanceled;
145
- function done() {
146
- if (config.cancelToken) {
147
- config.cancelToken.unsubscribe(onCanceled);
148
- }
149
-
150
- if (config.signal) {
151
- config.signal.removeEventListener('abort', onCanceled);
152
- }
153
- }
154
-
155
- if (utils.isFormData(requestData) && utils.isStandardBrowserEnv()) {
156
- delete requestHeaders['Content-Type']; // Let the browser set it
157
- }
158
-
159
- var request = new XMLHttpRequest();
160
-
161
- // HTTP basic authentication
162
- if (config.auth) {
163
- var username = config.auth.username || '';
164
- var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
165
- requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
166
- }
167
-
168
- var fullPath = buildFullPath(config.baseURL, config.url);
169
-
170
- request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
171
-
172
- // Set the request timeout in MS
173
- request.timeout = config.timeout;
174
-
175
- function onloadend() {
176
- if (!request) {
177
- return;
178
- }
179
- // Prepare the response
180
- var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
181
- var responseData = !responseType || responseType === 'text' || responseType === 'json' ?
182
- request.responseText : request.response;
183
- var response = {
184
- data: responseData,
185
- status: request.status,
186
- statusText: request.statusText,
187
- headers: responseHeaders,
188
- config: config,
189
- request: request
190
- };
191
-
192
- settle(function _resolve(value) {
193
- resolve(value);
194
- done();
195
- }, function _reject(err) {
196
- reject(err);
197
- done();
198
- }, response);
199
-
200
- // Clean up request
201
- request = null;
202
- }
203
-
204
- if ('onloadend' in request) {
205
- // Use onloadend if available
206
- request.onloadend = onloadend;
207
- } else {
208
- // Listen for ready state to emulate onloadend
209
- request.onreadystatechange = function handleLoad() {
210
- if (!request || request.readyState !== 4) {
211
- return;
212
- }
213
-
214
- // The request errored out and we didn't get a response, this will be
215
- // handled by onerror instead
216
- // With one exception: request that using file: protocol, most browsers
217
- // will return status as 0 even though it's a successful request
218
- if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
219
- return;
220
- }
221
- // readystate handler is calling before onerror or ontimeout handlers,
222
- // so we should call onloadend on the next 'tick'
223
- setTimeout(onloadend);
224
- };
225
- }
226
-
227
- // Handle browser request cancellation (as opposed to a manual cancellation)
228
- request.onabort = function handleAbort() {
229
- if (!request) {
230
- return;
231
- }
232
-
233
- reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
234
-
235
- // Clean up request
236
- request = null;
237
- };
238
-
239
- // Handle low level network errors
240
- request.onerror = function handleError() {
241
- // Real errors are hidden from us by the browser
242
- // onerror should only fire if it's a network error
243
- reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, request));
244
-
245
- // Clean up request
246
- request = null;
247
- };
248
-
249
- // Handle timeout
250
- request.ontimeout = function handleTimeout() {
251
- var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
252
- var transitional = config.transitional || transitionalDefaults;
253
- if (config.timeoutErrorMessage) {
254
- timeoutErrorMessage = config.timeoutErrorMessage;
255
- }
256
- reject(new AxiosError(
257
- timeoutErrorMessage,
258
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
259
- config,
260
- request));
261
-
262
- // Clean up request
263
- request = null;
264
- };
265
-
266
- // Add xsrf header
267
- // This is only done if running in a standard browser environment.
268
- // Specifically not if we're in a web worker, or react-native.
269
- if (utils.isStandardBrowserEnv()) {
270
- // Add xsrf header
271
- var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
272
- cookies.read(config.xsrfCookieName) :
273
- undefined;
274
-
275
- if (xsrfValue) {
276
- requestHeaders[config.xsrfHeaderName] = xsrfValue;
277
- }
278
- }
279
-
280
- // Add headers to the request
281
- if ('setRequestHeader' in request) {
282
- utils.forEach(requestHeaders, function setRequestHeader(val, key) {
283
- if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
284
- // Remove Content-Type if data is undefined
285
- delete requestHeaders[key];
286
- } else {
287
- // Otherwise add header to the request
288
- request.setRequestHeader(key, val);
289
- }
290
- });
291
- }
292
-
293
- // Add withCredentials to request if needed
294
- if (!utils.isUndefined(config.withCredentials)) {
295
- request.withCredentials = !!config.withCredentials;
296
- }
297
-
298
- // Add responseType to request if needed
299
- if (responseType && responseType !== 'json') {
300
- request.responseType = config.responseType;
301
- }
302
-
303
- // Handle progress if needed
304
- if (typeof config.onDownloadProgress === 'function') {
305
- request.addEventListener('progress', config.onDownloadProgress);
306
- }
307
-
308
- // Not all browsers support upload events
309
- if (typeof config.onUploadProgress === 'function' && request.upload) {
310
- request.upload.addEventListener('progress', config.onUploadProgress);
311
- }
312
-
313
- if (config.cancelToken || config.signal) {
314
- // Handle cancellation
315
- // eslint-disable-next-line func-names
316
- onCanceled = function(cancel) {
317
- if (!request) {
318
- return;
319
- }
320
- reject(!cancel || (cancel && cancel.type) ? new CanceledError() : cancel);
321
- request.abort();
322
- request = null;
323
- };
324
-
325
- config.cancelToken && config.cancelToken.subscribe(onCanceled);
326
- if (config.signal) {
327
- config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
328
- }
329
- }
330
-
331
- if (!requestData) {
332
- requestData = null;
333
- }
334
-
335
- var protocol = parseProtocol(fullPath);
336
-
337
- if (protocol && [ 'http', 'https', 'file' ].indexOf(protocol) === -1) {
338
- reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
339
- return;
340
- }
341
-
342
-
343
- // Send the request
344
- request.send(requestData);
345
- });
346
- };
347
-
348
-
349
- /***/ }),
350
-
351
- /***/ "./node_modules/axios/lib/axios.js":
352
- /*!*****************************************!*\
353
- !*** ./node_modules/axios/lib/axios.js ***!
354
- \*****************************************/
355
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
356
-
357
- "use strict";
358
-
359
-
360
- var utils = __webpack_require__(/*! ./utils */ "./node_modules/axios/lib/utils.js");
361
- var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/axios/lib/helpers/bind.js");
362
- var Axios = __webpack_require__(/*! ./core/Axios */ "./node_modules/axios/lib/core/Axios.js");
363
- var mergeConfig = __webpack_require__(/*! ./core/mergeConfig */ "./node_modules/axios/lib/core/mergeConfig.js");
364
- var defaults = __webpack_require__(/*! ./defaults */ "./node_modules/axios/lib/defaults/index.js");
365
-
366
- /**
367
- * Create an instance of Axios
368
- *
369
- * @param {Object} defaultConfig The default config for the instance
370
- * @return {Axios} A new instance of Axios
371
- */
372
- function createInstance(defaultConfig) {
373
- var context = new Axios(defaultConfig);
374
- var instance = bind(Axios.prototype.request, context);
375
-
376
- // Copy axios.prototype to instance
377
- utils.extend(instance, Axios.prototype, context);
378
-
379
- // Copy context to instance
380
- utils.extend(instance, context);
381
-
382
- // Factory for creating new instances
383
- instance.create = function create(instanceConfig) {
384
- return createInstance(mergeConfig(defaultConfig, instanceConfig));
385
- };
386
-
387
- return instance;
388
- }
389
-
390
- // Create the default instance to be exported
391
- var axios = createInstance(defaults);
392
-
393
- // Expose Axios class to allow class inheritance
394
- axios.Axios = Axios;
395
-
396
- // Expose Cancel & CancelToken
397
- axios.CanceledError = __webpack_require__(/*! ./cancel/CanceledError */ "./node_modules/axios/lib/cancel/CanceledError.js");
398
- axios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ "./node_modules/axios/lib/cancel/CancelToken.js");
399
- axios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ "./node_modules/axios/lib/cancel/isCancel.js");
400
- axios.VERSION = (__webpack_require__(/*! ./env/data */ "./node_modules/axios/lib/env/data.js").version);
401
- axios.toFormData = __webpack_require__(/*! ./helpers/toFormData */ "./node_modules/axios/lib/helpers/toFormData.js");
402
-
403
- // Expose AxiosError class
404
- axios.AxiosError = __webpack_require__(/*! ../lib/core/AxiosError */ "./node_modules/axios/lib/core/AxiosError.js");
405
-
406
- // alias for CanceledError for backward compatibility
407
- axios.Cancel = axios.CanceledError;
408
-
409
- // Expose all/spread
410
- axios.all = function all(promises) {
411
- return Promise.all(promises);
412
- };
413
- axios.spread = __webpack_require__(/*! ./helpers/spread */ "./node_modules/axios/lib/helpers/spread.js");
414
-
415
- // Expose isAxiosError
416
- axios.isAxiosError = __webpack_require__(/*! ./helpers/isAxiosError */ "./node_modules/axios/lib/helpers/isAxiosError.js");
417
-
418
- module.exports = axios;
419
-
420
- // Allow use of default import syntax in TypeScript
421
- module.exports["default"] = axios;
422
-
423
-
424
- /***/ }),
425
-
426
- /***/ "./node_modules/axios/lib/cancel/CancelToken.js":
427
- /*!******************************************************!*\
428
- !*** ./node_modules/axios/lib/cancel/CancelToken.js ***!
429
- \******************************************************/
430
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
431
-
432
- "use strict";
433
-
434
-
435
- var CanceledError = __webpack_require__(/*! ./CanceledError */ "./node_modules/axios/lib/cancel/CanceledError.js");
436
-
437
- /**
438
- * A `CancelToken` is an object that can be used to request cancellation of an operation.
439
- *
440
- * @class
441
- * @param {Function} executor The executor function.
442
- */
443
- function CancelToken(executor) {
444
- if (typeof executor !== 'function') {
445
- throw new TypeError('executor must be a function.');
446
- }
447
-
448
- var resolvePromise;
449
-
450
- this.promise = new Promise(function promiseExecutor(resolve) {
451
- resolvePromise = resolve;
452
- });
453
-
454
- var token = this;
455
-
456
- // eslint-disable-next-line func-names
457
- this.promise.then(function(cancel) {
458
- if (!token._listeners) return;
459
-
460
- var i;
461
- var l = token._listeners.length;
462
-
463
- for (i = 0; i < l; i++) {
464
- token._listeners[i](cancel);
465
- }
466
- token._listeners = null;
467
- });
468
-
469
- // eslint-disable-next-line func-names
470
- this.promise.then = function(onfulfilled) {
471
- var _resolve;
472
- // eslint-disable-next-line func-names
473
- var promise = new Promise(function(resolve) {
474
- token.subscribe(resolve);
475
- _resolve = resolve;
476
- }).then(onfulfilled);
477
-
478
- promise.cancel = function reject() {
479
- token.unsubscribe(_resolve);
480
- };
481
-
482
- return promise;
483
- };
484
-
485
- executor(function cancel(message) {
486
- if (token.reason) {
487
- // Cancellation has already been requested
488
- return;
489
- }
490
-
491
- token.reason = new CanceledError(message);
492
- resolvePromise(token.reason);
493
- });
494
- }
495
-
496
- /**
497
- * Throws a `CanceledError` if cancellation has been requested.
498
- */
499
- CancelToken.prototype.throwIfRequested = function throwIfRequested() {
500
- if (this.reason) {
501
- throw this.reason;
502
- }
503
- };
504
-
505
- /**
506
- * Subscribe to the cancel signal
507
- */
508
-
509
- CancelToken.prototype.subscribe = function subscribe(listener) {
510
- if (this.reason) {
511
- listener(this.reason);
512
- return;
513
- }
514
-
515
- if (this._listeners) {
516
- this._listeners.push(listener);
517
- } else {
518
- this._listeners = [listener];
519
- }
520
- };
521
-
522
- /**
523
- * Unsubscribe from the cancel signal
524
- */
525
-
526
- CancelToken.prototype.unsubscribe = function unsubscribe(listener) {
527
- if (!this._listeners) {
528
- return;
529
- }
530
- var index = this._listeners.indexOf(listener);
531
- if (index !== -1) {
532
- this._listeners.splice(index, 1);
533
- }
534
- };
535
-
536
- /**
537
- * Returns an object that contains a new `CancelToken` and a function that, when called,
538
- * cancels the `CancelToken`.
539
- */
540
- CancelToken.source = function source() {
541
- var cancel;
542
- var token = new CancelToken(function executor(c) {
543
- cancel = c;
544
- });
545
- return {
546
- token: token,
547
- cancel: cancel
548
- };
549
- };
550
-
551
- module.exports = CancelToken;
552
-
553
-
554
- /***/ }),
555
-
556
- /***/ "./node_modules/axios/lib/cancel/CanceledError.js":
557
- /*!********************************************************!*\
558
- !*** ./node_modules/axios/lib/cancel/CanceledError.js ***!
559
- \********************************************************/
560
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
561
-
562
- "use strict";
563
-
564
-
565
- var AxiosError = __webpack_require__(/*! ../core/AxiosError */ "./node_modules/axios/lib/core/AxiosError.js");
566
- var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js");
567
-
568
- /**
569
- * A `CanceledError` is an object that is thrown when an operation is canceled.
570
- *
571
- * @class
572
- * @param {string=} message The message.
573
- */
574
- function CanceledError(message) {
575
- // eslint-disable-next-line no-eq-null,eqeqeq
576
- AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED);
577
- this.name = 'CanceledError';
578
- }
579
-
580
- utils.inherits(CanceledError, AxiosError, {
581
- __CANCEL__: true
582
- });
583
-
584
- module.exports = CanceledError;
585
-
586
-
587
- /***/ }),
588
-
589
- /***/ "./node_modules/axios/lib/cancel/isCancel.js":
590
- /*!***************************************************!*\
591
- !*** ./node_modules/axios/lib/cancel/isCancel.js ***!
592
- \***************************************************/
593
- /***/ ((module) => {
594
-
595
- "use strict";
596
-
597
-
598
- module.exports = function isCancel(value) {
599
- return !!(value && value.__CANCEL__);
600
- };
601
-
602
-
603
- /***/ }),
604
-
605
- /***/ "./node_modules/axios/lib/core/Axios.js":
606
- /*!**********************************************!*\
607
- !*** ./node_modules/axios/lib/core/Axios.js ***!
608
- \**********************************************/
609
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
610
-
611
- "use strict";
612
-
613
-
614
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
615
- var buildURL = __webpack_require__(/*! ../helpers/buildURL */ "./node_modules/axios/lib/helpers/buildURL.js");
616
- var InterceptorManager = __webpack_require__(/*! ./InterceptorManager */ "./node_modules/axios/lib/core/InterceptorManager.js");
617
- var dispatchRequest = __webpack_require__(/*! ./dispatchRequest */ "./node_modules/axios/lib/core/dispatchRequest.js");
618
- var mergeConfig = __webpack_require__(/*! ./mergeConfig */ "./node_modules/axios/lib/core/mergeConfig.js");
619
- var buildFullPath = __webpack_require__(/*! ./buildFullPath */ "./node_modules/axios/lib/core/buildFullPath.js");
620
- var validator = __webpack_require__(/*! ../helpers/validator */ "./node_modules/axios/lib/helpers/validator.js");
621
-
622
- var validators = validator.validators;
623
- /**
624
- * Create a new instance of Axios
625
- *
626
- * @param {Object} instanceConfig The default config for the instance
627
- */
628
- function Axios(instanceConfig) {
629
- this.defaults = instanceConfig;
630
- this.interceptors = {
631
- request: new InterceptorManager(),
632
- response: new InterceptorManager()
633
- };
634
- }
635
-
636
- /**
637
- * Dispatch a request
638
- *
639
- * @param {Object} config The config specific for this request (merged with this.defaults)
640
- */
641
- Axios.prototype.request = function request(configOrUrl, config) {
642
- /*eslint no-param-reassign:0*/
643
- // Allow for axios('example/url'[, config]) a la fetch API
644
- if (typeof configOrUrl === 'string') {
645
- config = config || {};
646
- config.url = configOrUrl;
647
- } else {
648
- config = configOrUrl || {};
649
- }
650
-
651
- config = mergeConfig(this.defaults, config);
652
-
653
- // Set config.method
654
- if (config.method) {
655
- config.method = config.method.toLowerCase();
656
- } else if (this.defaults.method) {
657
- config.method = this.defaults.method.toLowerCase();
658
- } else {
659
- config.method = 'get';
660
- }
661
-
662
- var transitional = config.transitional;
663
-
664
- if (transitional !== undefined) {
665
- validator.assertOptions(transitional, {
666
- silentJSONParsing: validators.transitional(validators.boolean),
667
- forcedJSONParsing: validators.transitional(validators.boolean),
668
- clarifyTimeoutError: validators.transitional(validators.boolean)
669
- }, false);
670
- }
671
-
672
- // filter out skipped interceptors
673
- var requestInterceptorChain = [];
674
- var synchronousRequestInterceptors = true;
675
- this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
676
- if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
677
- return;
678
- }
679
-
680
- synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
681
-
682
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
683
- });
684
-
685
- var responseInterceptorChain = [];
686
- this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
687
- responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
688
- });
689
-
690
- var promise;
691
-
692
- if (!synchronousRequestInterceptors) {
693
- var chain = [dispatchRequest, undefined];
694
-
695
- Array.prototype.unshift.apply(chain, requestInterceptorChain);
696
- chain = chain.concat(responseInterceptorChain);
697
-
698
- promise = Promise.resolve(config);
699
- while (chain.length) {
700
- promise = promise.then(chain.shift(), chain.shift());
701
- }
702
-
703
- return promise;
704
- }
705
-
706
-
707
- var newConfig = config;
708
- while (requestInterceptorChain.length) {
709
- var onFulfilled = requestInterceptorChain.shift();
710
- var onRejected = requestInterceptorChain.shift();
711
- try {
712
- newConfig = onFulfilled(newConfig);
713
- } catch (error) {
714
- onRejected(error);
715
- break;
716
- }
717
- }
718
-
719
- try {
720
- promise = dispatchRequest(newConfig);
721
- } catch (error) {
722
- return Promise.reject(error);
723
- }
724
-
725
- while (responseInterceptorChain.length) {
726
- promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());
727
- }
728
-
729
- return promise;
730
- };
731
-
732
- Axios.prototype.getUri = function getUri(config) {
733
- config = mergeConfig(this.defaults, config);
734
- var fullPath = buildFullPath(config.baseURL, config.url);
735
- return buildURL(fullPath, config.params, config.paramsSerializer);
736
- };
737
-
738
- // Provide aliases for supported request methods
739
- utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
740
- /*eslint func-names:0*/
741
- Axios.prototype[method] = function(url, config) {
742
- return this.request(mergeConfig(config || {}, {
743
- method: method,
744
- url: url,
745
- data: (config || {}).data
746
- }));
747
- };
748
- });
749
-
750
- utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
751
- /*eslint func-names:0*/
752
-
753
- function generateHTTPMethod(isForm) {
754
- return function httpMethod(url, data, config) {
755
- return this.request(mergeConfig(config || {}, {
756
- method: method,
757
- headers: isForm ? {
758
- 'Content-Type': 'multipart/form-data'
759
- } : {},
760
- url: url,
761
- data: data
762
- }));
763
- };
764
- }
765
-
766
- Axios.prototype[method] = generateHTTPMethod();
767
-
768
- Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
769
- });
770
-
771
- module.exports = Axios;
772
-
773
-
774
- /***/ }),
775
-
776
- /***/ "./node_modules/axios/lib/core/AxiosError.js":
777
- /*!***************************************************!*\
778
- !*** ./node_modules/axios/lib/core/AxiosError.js ***!
779
- \***************************************************/
780
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
781
-
782
- "use strict";
783
-
784
-
785
- var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js");
786
-
787
- /**
788
- * Create an Error with the specified message, config, error code, request and response.
789
- *
790
- * @param {string} message The error message.
791
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
792
- * @param {Object} [config] The config.
793
- * @param {Object} [request] The request.
794
- * @param {Object} [response] The response.
795
- * @returns {Error} The created error.
796
- */
797
- function AxiosError(message, code, config, request, response) {
798
- Error.call(this);
799
- this.message = message;
800
- this.name = 'AxiosError';
801
- code && (this.code = code);
802
- config && (this.config = config);
803
- request && (this.request = request);
804
- response && (this.response = response);
805
- }
806
-
807
- utils.inherits(AxiosError, Error, {
808
- toJSON: function toJSON() {
809
- return {
810
- // Standard
811
- message: this.message,
812
- name: this.name,
813
- // Microsoft
814
- description: this.description,
815
- number: this.number,
816
- // Mozilla
817
- fileName: this.fileName,
818
- lineNumber: this.lineNumber,
819
- columnNumber: this.columnNumber,
820
- stack: this.stack,
821
- // Axios
822
- config: this.config,
823
- code: this.code,
824
- status: this.response && this.response.status ? this.response.status : null
825
- };
826
- }
827
- });
828
-
829
- var prototype = AxiosError.prototype;
830
- var descriptors = {};
831
-
832
- [
833
- 'ERR_BAD_OPTION_VALUE',
834
- 'ERR_BAD_OPTION',
835
- 'ECONNABORTED',
836
- 'ETIMEDOUT',
837
- 'ERR_NETWORK',
838
- 'ERR_FR_TOO_MANY_REDIRECTS',
839
- 'ERR_DEPRECATED',
840
- 'ERR_BAD_RESPONSE',
841
- 'ERR_BAD_REQUEST',
842
- 'ERR_CANCELED'
843
- // eslint-disable-next-line func-names
844
- ].forEach(function(code) {
845
- descriptors[code] = {value: code};
846
- });
847
-
848
- Object.defineProperties(AxiosError, descriptors);
849
- Object.defineProperty(prototype, 'isAxiosError', {value: true});
850
-
851
- // eslint-disable-next-line func-names
852
- AxiosError.from = function(error, code, config, request, response, customProps) {
853
- var axiosError = Object.create(prototype);
854
-
855
- utils.toFlatObject(error, axiosError, function filter(obj) {
856
- return obj !== Error.prototype;
857
- });
858
-
859
- AxiosError.call(axiosError, error.message, code, config, request, response);
860
-
861
- axiosError.name = error.name;
862
-
863
- customProps && Object.assign(axiosError, customProps);
864
-
865
- return axiosError;
866
- };
867
-
868
- module.exports = AxiosError;
869
-
870
-
871
- /***/ }),
872
-
873
- /***/ "./node_modules/axios/lib/core/InterceptorManager.js":
874
- /*!***********************************************************!*\
875
- !*** ./node_modules/axios/lib/core/InterceptorManager.js ***!
876
- \***********************************************************/
877
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
878
-
879
- "use strict";
880
-
881
-
882
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
883
-
884
- function InterceptorManager() {
885
- this.handlers = [];
886
- }
887
-
888
- /**
889
- * Add a new interceptor to the stack
890
- *
891
- * @param {Function} fulfilled The function to handle `then` for a `Promise`
892
- * @param {Function} rejected The function to handle `reject` for a `Promise`
893
- *
894
- * @return {Number} An ID used to remove interceptor later
895
- */
896
- InterceptorManager.prototype.use = function use(fulfilled, rejected, options) {
897
- this.handlers.push({
898
- fulfilled: fulfilled,
899
- rejected: rejected,
900
- synchronous: options ? options.synchronous : false,
901
- runWhen: options ? options.runWhen : null
902
- });
903
- return this.handlers.length - 1;
904
- };
905
-
906
- /**
907
- * Remove an interceptor from the stack
908
- *
909
- * @param {Number} id The ID that was returned by `use`
910
- */
911
- InterceptorManager.prototype.eject = function eject(id) {
912
- if (this.handlers[id]) {
913
- this.handlers[id] = null;
914
- }
915
- };
916
-
917
- /**
918
- * Iterate over all the registered interceptors
919
- *
920
- * This method is particularly useful for skipping over any
921
- * interceptors that may have become `null` calling `eject`.
922
- *
923
- * @param {Function} fn The function to call for each interceptor
924
- */
925
- InterceptorManager.prototype.forEach = function forEach(fn) {
926
- utils.forEach(this.handlers, function forEachHandler(h) {
927
- if (h !== null) {
928
- fn(h);
929
- }
930
- });
931
- };
932
-
933
- module.exports = InterceptorManager;
934
-
935
-
936
- /***/ }),
937
-
938
- /***/ "./node_modules/axios/lib/core/buildFullPath.js":
939
- /*!******************************************************!*\
940
- !*** ./node_modules/axios/lib/core/buildFullPath.js ***!
941
- \******************************************************/
942
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
943
-
944
- "use strict";
945
-
946
-
947
- var isAbsoluteURL = __webpack_require__(/*! ../helpers/isAbsoluteURL */ "./node_modules/axios/lib/helpers/isAbsoluteURL.js");
948
- var combineURLs = __webpack_require__(/*! ../helpers/combineURLs */ "./node_modules/axios/lib/helpers/combineURLs.js");
949
-
950
- /**
951
- * Creates a new URL by combining the baseURL with the requestedURL,
952
- * only when the requestedURL is not already an absolute URL.
953
- * If the requestURL is absolute, this function returns the requestedURL untouched.
954
- *
955
- * @param {string} baseURL The base URL
956
- * @param {string} requestedURL Absolute or relative URL to combine
957
- * @returns {string} The combined full path
958
- */
959
- module.exports = function buildFullPath(baseURL, requestedURL) {
960
- if (baseURL && !isAbsoluteURL(requestedURL)) {
961
- return combineURLs(baseURL, requestedURL);
962
- }
963
- return requestedURL;
964
- };
965
-
966
-
967
- /***/ }),
968
-
969
- /***/ "./node_modules/axios/lib/core/dispatchRequest.js":
970
- /*!********************************************************!*\
971
- !*** ./node_modules/axios/lib/core/dispatchRequest.js ***!
972
- \********************************************************/
973
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
974
-
975
- "use strict";
976
-
977
-
978
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
979
- var transformData = __webpack_require__(/*! ./transformData */ "./node_modules/axios/lib/core/transformData.js");
980
- var isCancel = __webpack_require__(/*! ../cancel/isCancel */ "./node_modules/axios/lib/cancel/isCancel.js");
981
- var defaults = __webpack_require__(/*! ../defaults */ "./node_modules/axios/lib/defaults/index.js");
982
- var CanceledError = __webpack_require__(/*! ../cancel/CanceledError */ "./node_modules/axios/lib/cancel/CanceledError.js");
983
-
984
- /**
985
- * Throws a `CanceledError` if cancellation has been requested.
986
- */
987
- function throwIfCancellationRequested(config) {
988
- if (config.cancelToken) {
989
- config.cancelToken.throwIfRequested();
990
- }
991
-
992
- if (config.signal && config.signal.aborted) {
993
- throw new CanceledError();
994
- }
995
- }
996
-
997
- /**
998
- * Dispatch a request to the server using the configured adapter.
999
- *
1000
- * @param {object} config The config that is to be used for the request
1001
- * @returns {Promise} The Promise to be fulfilled
1002
- */
1003
- module.exports = function dispatchRequest(config) {
1004
- throwIfCancellationRequested(config);
1005
-
1006
- // Ensure headers exist
1007
- config.headers = config.headers || {};
1008
-
1009
- // Transform request data
1010
- config.data = transformData.call(
1011
- config,
1012
- config.data,
1013
- config.headers,
1014
- config.transformRequest
1015
- );
1016
-
1017
- // Flatten headers
1018
- config.headers = utils.merge(
1019
- config.headers.common || {},
1020
- config.headers[config.method] || {},
1021
- config.headers
1022
- );
1023
-
1024
- utils.forEach(
1025
- ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
1026
- function cleanHeaderConfig(method) {
1027
- delete config.headers[method];
1028
- }
1029
- );
1030
-
1031
- var adapter = config.adapter || defaults.adapter;
1032
-
1033
- return adapter(config).then(function onAdapterResolution(response) {
1034
- throwIfCancellationRequested(config);
1035
-
1036
- // Transform response data
1037
- response.data = transformData.call(
1038
- config,
1039
- response.data,
1040
- response.headers,
1041
- config.transformResponse
1042
- );
1043
-
1044
- return response;
1045
- }, function onAdapterRejection(reason) {
1046
- if (!isCancel(reason)) {
1047
- throwIfCancellationRequested(config);
1048
-
1049
- // Transform response data
1050
- if (reason && reason.response) {
1051
- reason.response.data = transformData.call(
1052
- config,
1053
- reason.response.data,
1054
- reason.response.headers,
1055
- config.transformResponse
1056
- );
1057
- }
1058
- }
1059
-
1060
- return Promise.reject(reason);
1061
- });
1062
- };
1063
-
1064
-
1065
- /***/ }),
1066
-
1067
- /***/ "./node_modules/axios/lib/core/mergeConfig.js":
1068
- /*!****************************************************!*\
1069
- !*** ./node_modules/axios/lib/core/mergeConfig.js ***!
1070
- \****************************************************/
1071
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1072
-
1073
- "use strict";
1074
-
1075
-
1076
- var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js");
1077
-
1078
- /**
1079
- * Config-specific merge-function which creates a new config-object
1080
- * by merging two configuration objects together.
1081
- *
1082
- * @param {Object} config1
1083
- * @param {Object} config2
1084
- * @returns {Object} New object resulting from merging config2 to config1
1085
- */
1086
- module.exports = function mergeConfig(config1, config2) {
1087
- // eslint-disable-next-line no-param-reassign
1088
- config2 = config2 || {};
1089
- var config = {};
1090
-
1091
- function getMergedValue(target, source) {
1092
- if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
1093
- return utils.merge(target, source);
1094
- } else if (utils.isPlainObject(source)) {
1095
- return utils.merge({}, source);
1096
- } else if (utils.isArray(source)) {
1097
- return source.slice();
1098
- }
1099
- return source;
1100
- }
1101
-
1102
- // eslint-disable-next-line consistent-return
1103
- function mergeDeepProperties(prop) {
1104
- if (!utils.isUndefined(config2[prop])) {
1105
- return getMergedValue(config1[prop], config2[prop]);
1106
- } else if (!utils.isUndefined(config1[prop])) {
1107
- return getMergedValue(undefined, config1[prop]);
1108
- }
1109
- }
1110
-
1111
- // eslint-disable-next-line consistent-return
1112
- function valueFromConfig2(prop) {
1113
- if (!utils.isUndefined(config2[prop])) {
1114
- return getMergedValue(undefined, config2[prop]);
1115
- }
1116
- }
1117
-
1118
- // eslint-disable-next-line consistent-return
1119
- function defaultToConfig2(prop) {
1120
- if (!utils.isUndefined(config2[prop])) {
1121
- return getMergedValue(undefined, config2[prop]);
1122
- } else if (!utils.isUndefined(config1[prop])) {
1123
- return getMergedValue(undefined, config1[prop]);
1124
- }
1125
- }
1126
-
1127
- // eslint-disable-next-line consistent-return
1128
- function mergeDirectKeys(prop) {
1129
- if (prop in config2) {
1130
- return getMergedValue(config1[prop], config2[prop]);
1131
- } else if (prop in config1) {
1132
- return getMergedValue(undefined, config1[prop]);
1133
- }
1134
- }
1135
-
1136
- var mergeMap = {
1137
- 'url': valueFromConfig2,
1138
- 'method': valueFromConfig2,
1139
- 'data': valueFromConfig2,
1140
- 'baseURL': defaultToConfig2,
1141
- 'transformRequest': defaultToConfig2,
1142
- 'transformResponse': defaultToConfig2,
1143
- 'paramsSerializer': defaultToConfig2,
1144
- 'timeout': defaultToConfig2,
1145
- 'timeoutMessage': defaultToConfig2,
1146
- 'withCredentials': defaultToConfig2,
1147
- 'adapter': defaultToConfig2,
1148
- 'responseType': defaultToConfig2,
1149
- 'xsrfCookieName': defaultToConfig2,
1150
- 'xsrfHeaderName': defaultToConfig2,
1151
- 'onUploadProgress': defaultToConfig2,
1152
- 'onDownloadProgress': defaultToConfig2,
1153
- 'decompress': defaultToConfig2,
1154
- 'maxContentLength': defaultToConfig2,
1155
- 'maxBodyLength': defaultToConfig2,
1156
- 'beforeRedirect': defaultToConfig2,
1157
- 'transport': defaultToConfig2,
1158
- 'httpAgent': defaultToConfig2,
1159
- 'httpsAgent': defaultToConfig2,
1160
- 'cancelToken': defaultToConfig2,
1161
- 'socketPath': defaultToConfig2,
1162
- 'responseEncoding': defaultToConfig2,
1163
- 'validateStatus': mergeDirectKeys
1164
- };
1165
-
1166
- utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {
1167
- var merge = mergeMap[prop] || mergeDeepProperties;
1168
- var configValue = merge(prop);
1169
- (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
1170
- });
1171
-
1172
- return config;
1173
- };
1174
-
1175
-
1176
- /***/ }),
1177
-
1178
- /***/ "./node_modules/axios/lib/core/settle.js":
1179
- /*!***********************************************!*\
1180
- !*** ./node_modules/axios/lib/core/settle.js ***!
1181
- \***********************************************/
1182
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1183
-
1184
- "use strict";
1185
-
1186
-
1187
- var AxiosError = __webpack_require__(/*! ./AxiosError */ "./node_modules/axios/lib/core/AxiosError.js");
1188
-
1189
- /**
1190
- * Resolve or reject a Promise based on response status.
1191
- *
1192
- * @param {Function} resolve A function that resolves the promise.
1193
- * @param {Function} reject A function that rejects the promise.
1194
- * @param {object} response The response.
1195
- */
1196
- module.exports = function settle(resolve, reject, response) {
1197
- var validateStatus = response.config.validateStatus;
1198
- if (!response.status || !validateStatus || validateStatus(response.status)) {
1199
- resolve(response);
1200
- } else {
1201
- reject(new AxiosError(
1202
- 'Request failed with status code ' + response.status,
1203
- [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
1204
- response.config,
1205
- response.request,
1206
- response
1207
- ));
1208
- }
1209
- };
1210
-
1211
-
1212
- /***/ }),
1213
-
1214
- /***/ "./node_modules/axios/lib/core/transformData.js":
1215
- /*!******************************************************!*\
1216
- !*** ./node_modules/axios/lib/core/transformData.js ***!
1217
- \******************************************************/
1218
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1219
-
1220
- "use strict";
1221
-
1222
-
1223
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
1224
- var defaults = __webpack_require__(/*! ../defaults */ "./node_modules/axios/lib/defaults/index.js");
1225
-
1226
- /**
1227
- * Transform the data for a request or a response
1228
- *
1229
- * @param {Object|String} data The data to be transformed
1230
- * @param {Array} headers The headers for the request or response
1231
- * @param {Array|Function} fns A single function or Array of functions
1232
- * @returns {*} The resulting transformed data
1233
- */
1234
- module.exports = function transformData(data, headers, fns) {
1235
- var context = this || defaults;
1236
- /*eslint no-param-reassign:0*/
1237
- utils.forEach(fns, function transform(fn) {
1238
- data = fn.call(context, data, headers);
1239
- });
1240
-
1241
- return data;
1242
- };
1243
-
1244
-
1245
- /***/ }),
1246
-
1247
- /***/ "./node_modules/axios/lib/defaults/index.js":
1248
- /*!**************************************************!*\
1249
- !*** ./node_modules/axios/lib/defaults/index.js ***!
1250
- \**************************************************/
1251
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1252
-
1253
- "use strict";
1254
- /* provided dependency */ var process = __webpack_require__(/*! process/browser.js */ "./node_modules/process/browser.js");
1255
-
1256
-
1257
- var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js");
1258
- var normalizeHeaderName = __webpack_require__(/*! ../helpers/normalizeHeaderName */ "./node_modules/axios/lib/helpers/normalizeHeaderName.js");
1259
- var AxiosError = __webpack_require__(/*! ../core/AxiosError */ "./node_modules/axios/lib/core/AxiosError.js");
1260
- var transitionalDefaults = __webpack_require__(/*! ./transitional */ "./node_modules/axios/lib/defaults/transitional.js");
1261
- var toFormData = __webpack_require__(/*! ../helpers/toFormData */ "./node_modules/axios/lib/helpers/toFormData.js");
1262
-
1263
- var DEFAULT_CONTENT_TYPE = {
1264
- 'Content-Type': 'application/x-www-form-urlencoded'
1265
- };
1266
-
1267
- function setContentTypeIfUnset(headers, value) {
1268
- if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
1269
- headers['Content-Type'] = value;
1270
- }
1271
- }
1272
-
1273
- function getDefaultAdapter() {
1274
- var adapter;
1275
- if (typeof XMLHttpRequest !== 'undefined') {
1276
- // For browsers use XHR adapter
1277
- adapter = __webpack_require__(/*! ../adapters/xhr */ "./node_modules/axios/lib/adapters/xhr.js");
1278
- } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
1279
- // For node use HTTP adapter
1280
- adapter = __webpack_require__(/*! ../adapters/http */ "./node_modules/axios/lib/adapters/xhr.js");
1281
- }
1282
- return adapter;
1283
- }
1284
-
1285
- function stringifySafely(rawValue, parser, encoder) {
1286
- if (utils.isString(rawValue)) {
1287
- try {
1288
- (parser || JSON.parse)(rawValue);
1289
- return utils.trim(rawValue);
1290
- } catch (e) {
1291
- if (e.name !== 'SyntaxError') {
1292
- throw e;
1293
- }
1294
- }
1295
- }
1296
-
1297
- return (encoder || JSON.stringify)(rawValue);
1298
- }
1299
-
1300
- var defaults = {
1301
-
1302
- transitional: transitionalDefaults,
1303
-
1304
- adapter: getDefaultAdapter(),
1305
-
1306
- transformRequest: [function transformRequest(data, headers) {
1307
- normalizeHeaderName(headers, 'Accept');
1308
- normalizeHeaderName(headers, 'Content-Type');
1309
-
1310
- if (utils.isFormData(data) ||
1311
- utils.isArrayBuffer(data) ||
1312
- utils.isBuffer(data) ||
1313
- utils.isStream(data) ||
1314
- utils.isFile(data) ||
1315
- utils.isBlob(data)
1316
- ) {
1317
- return data;
1318
- }
1319
- if (utils.isArrayBufferView(data)) {
1320
- return data.buffer;
1321
- }
1322
- if (utils.isURLSearchParams(data)) {
1323
- setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
1324
- return data.toString();
1325
- }
1326
-
1327
- var isObjectPayload = utils.isObject(data);
1328
- var contentType = headers && headers['Content-Type'];
1329
-
1330
- var isFileList;
1331
-
1332
- if ((isFileList = utils.isFileList(data)) || (isObjectPayload && contentType === 'multipart/form-data')) {
1333
- var _FormData = this.env && this.env.FormData;
1334
- return toFormData(isFileList ? {'files[]': data} : data, _FormData && new _FormData());
1335
- } else if (isObjectPayload || contentType === 'application/json') {
1336
- setContentTypeIfUnset(headers, 'application/json');
1337
- return stringifySafely(data);
1338
- }
1339
-
1340
- return data;
1341
- }],
1342
-
1343
- transformResponse: [function transformResponse(data) {
1344
- var transitional = this.transitional || defaults.transitional;
1345
- var silentJSONParsing = transitional && transitional.silentJSONParsing;
1346
- var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
1347
- var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';
1348
-
1349
- if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {
1350
- try {
1351
- return JSON.parse(data);
1352
- } catch (e) {
1353
- if (strictJSONParsing) {
1354
- if (e.name === 'SyntaxError') {
1355
- throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
1356
- }
1357
- throw e;
1358
- }
1359
- }
1360
- }
1361
-
1362
- return data;
1363
- }],
1364
-
1365
- /**
1366
- * A timeout in milliseconds to abort a request. If set to 0 (default) a
1367
- * timeout is not created.
1368
- */
1369
- timeout: 0,
1370
-
1371
- xsrfCookieName: 'XSRF-TOKEN',
1372
- xsrfHeaderName: 'X-XSRF-TOKEN',
1373
-
1374
- maxContentLength: -1,
1375
- maxBodyLength: -1,
1376
-
1377
- env: {
1378
- FormData: __webpack_require__(/*! ./env/FormData */ "./node_modules/axios/lib/helpers/null.js")
1379
- },
1380
-
1381
- validateStatus: function validateStatus(status) {
1382
- return status >= 200 && status < 300;
1383
- },
1384
-
1385
- headers: {
1386
- common: {
1387
- 'Accept': 'application/json, text/plain, */*'
1388
- }
1389
- }
1390
- };
1391
-
1392
- utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
1393
- defaults.headers[method] = {};
1394
- });
1395
-
1396
- utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
1397
- defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
1398
- });
1399
-
1400
- module.exports = defaults;
1401
-
1402
-
1403
- /***/ }),
1404
-
1405
- /***/ "./node_modules/axios/lib/defaults/transitional.js":
1406
- /*!*********************************************************!*\
1407
- !*** ./node_modules/axios/lib/defaults/transitional.js ***!
1408
- \*********************************************************/
1409
- /***/ ((module) => {
1410
-
1411
- "use strict";
1412
-
1413
-
1414
- module.exports = {
1415
- silentJSONParsing: true,
1416
- forcedJSONParsing: true,
1417
- clarifyTimeoutError: false
1418
- };
1419
-
1420
-
1421
- /***/ }),
1422
-
1423
- /***/ "./node_modules/axios/lib/env/data.js":
1424
- /*!********************************************!*\
1425
- !*** ./node_modules/axios/lib/env/data.js ***!
1426
- \********************************************/
1427
- /***/ ((module) => {
1428
-
1429
- module.exports = {
1430
- "version": "0.27.2"
1431
- };
1432
-
1433
- /***/ }),
1434
-
1435
- /***/ "./node_modules/axios/lib/helpers/bind.js":
1436
- /*!************************************************!*\
1437
- !*** ./node_modules/axios/lib/helpers/bind.js ***!
1438
- \************************************************/
1439
- /***/ ((module) => {
1440
-
1441
- "use strict";
1442
-
1443
-
1444
- module.exports = function bind(fn, thisArg) {
1445
- return function wrap() {
1446
- var args = new Array(arguments.length);
1447
- for (var i = 0; i < args.length; i++) {
1448
- args[i] = arguments[i];
1449
- }
1450
- return fn.apply(thisArg, args);
1451
- };
1452
- };
1453
-
1454
-
1455
- /***/ }),
1456
-
1457
- /***/ "./node_modules/axios/lib/helpers/buildURL.js":
1458
- /*!****************************************************!*\
1459
- !*** ./node_modules/axios/lib/helpers/buildURL.js ***!
1460
- \****************************************************/
1461
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1462
-
1463
- "use strict";
1464
-
1465
-
1466
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
1467
-
1468
- function encode(val) {
1469
- return encodeURIComponent(val).
1470
- replace(/%3A/gi, ':').
1471
- replace(/%24/g, '$').
1472
- replace(/%2C/gi, ',').
1473
- replace(/%20/g, '+').
1474
- replace(/%5B/gi, '[').
1475
- replace(/%5D/gi, ']');
1476
- }
1477
-
1478
- /**
1479
- * Build a URL by appending params to the end
1480
- *
1481
- * @param {string} url The base of the url (e.g., http://www.google.com)
1482
- * @param {object} [params] The params to be appended
1483
- * @returns {string} The formatted url
1484
- */
1485
- module.exports = function buildURL(url, params, paramsSerializer) {
1486
- /*eslint no-param-reassign:0*/
1487
- if (!params) {
1488
- return url;
1489
- }
1490
-
1491
- var serializedParams;
1492
- if (paramsSerializer) {
1493
- serializedParams = paramsSerializer(params);
1494
- } else if (utils.isURLSearchParams(params)) {
1495
- serializedParams = params.toString();
1496
- } else {
1497
- var parts = [];
1498
-
1499
- utils.forEach(params, function serialize(val, key) {
1500
- if (val === null || typeof val === 'undefined') {
1501
- return;
1502
- }
1503
-
1504
- if (utils.isArray(val)) {
1505
- key = key + '[]';
1506
- } else {
1507
- val = [val];
1508
- }
1509
-
1510
- utils.forEach(val, function parseValue(v) {
1511
- if (utils.isDate(v)) {
1512
- v = v.toISOString();
1513
- } else if (utils.isObject(v)) {
1514
- v = JSON.stringify(v);
1515
- }
1516
- parts.push(encode(key) + '=' + encode(v));
1517
- });
1518
- });
1519
-
1520
- serializedParams = parts.join('&');
1521
- }
1522
-
1523
- if (serializedParams) {
1524
- var hashmarkIndex = url.indexOf('#');
1525
- if (hashmarkIndex !== -1) {
1526
- url = url.slice(0, hashmarkIndex);
1527
- }
1528
-
1529
- url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
1530
- }
1531
-
1532
- return url;
1533
- };
1534
-
1535
-
1536
- /***/ }),
1537
-
1538
- /***/ "./node_modules/axios/lib/helpers/combineURLs.js":
1539
- /*!*******************************************************!*\
1540
- !*** ./node_modules/axios/lib/helpers/combineURLs.js ***!
1541
- \*******************************************************/
1542
- /***/ ((module) => {
1543
-
1544
- "use strict";
1545
-
1546
-
1547
- /**
1548
- * Creates a new URL by combining the specified URLs
1549
- *
1550
- * @param {string} baseURL The base URL
1551
- * @param {string} relativeURL The relative URL
1552
- * @returns {string} The combined URL
1553
- */
1554
- module.exports = function combineURLs(baseURL, relativeURL) {
1555
- return relativeURL
1556
- ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
1557
- : baseURL;
1558
- };
1559
-
1560
-
1561
- /***/ }),
1562
-
1563
- /***/ "./node_modules/axios/lib/helpers/cookies.js":
1564
- /*!***************************************************!*\
1565
- !*** ./node_modules/axios/lib/helpers/cookies.js ***!
1566
- \***************************************************/
1567
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1568
-
1569
- "use strict";
1570
-
1571
-
1572
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
1573
-
1574
- module.exports = (
1575
- utils.isStandardBrowserEnv() ?
1576
-
1577
- // Standard browser envs support document.cookie
1578
- (function standardBrowserEnv() {
1579
- return {
1580
- write: function write(name, value, expires, path, domain, secure) {
1581
- var cookie = [];
1582
- cookie.push(name + '=' + encodeURIComponent(value));
1583
-
1584
- if (utils.isNumber(expires)) {
1585
- cookie.push('expires=' + new Date(expires).toGMTString());
1586
- }
1587
-
1588
- if (utils.isString(path)) {
1589
- cookie.push('path=' + path);
1590
- }
1591
-
1592
- if (utils.isString(domain)) {
1593
- cookie.push('domain=' + domain);
1594
- }
1595
-
1596
- if (secure === true) {
1597
- cookie.push('secure');
1598
- }
1599
-
1600
- document.cookie = cookie.join('; ');
1601
- },
1602
-
1603
- read: function read(name) {
1604
- var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
1605
- return (match ? decodeURIComponent(match[3]) : null);
1606
- },
1607
-
1608
- remove: function remove(name) {
1609
- this.write(name, '', Date.now() - 86400000);
1610
- }
1611
- };
1612
- })() :
1613
-
1614
- // Non standard browser env (web workers, react-native) lack needed support.
1615
- (function nonStandardBrowserEnv() {
1616
- return {
1617
- write: function write() {},
1618
- read: function read() { return null; },
1619
- remove: function remove() {}
1620
- };
1621
- })()
1622
- );
1623
-
1624
-
1625
- /***/ }),
1626
-
1627
- /***/ "./node_modules/axios/lib/helpers/isAbsoluteURL.js":
1628
- /*!*********************************************************!*\
1629
- !*** ./node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
1630
- \*********************************************************/
1631
- /***/ ((module) => {
1632
-
1633
- "use strict";
1634
-
1635
-
1636
- /**
1637
- * Determines whether the specified URL is absolute
1638
- *
1639
- * @param {string} url The URL to test
1640
- * @returns {boolean} True if the specified URL is absolute, otherwise false
1641
- */
1642
- module.exports = function isAbsoluteURL(url) {
1643
- // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
1644
- // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
1645
- // by any combination of letters, digits, plus, period, or hyphen.
1646
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
1647
- };
1648
-
1649
-
1650
- /***/ }),
1651
-
1652
- /***/ "./node_modules/axios/lib/helpers/isAxiosError.js":
1653
- /*!********************************************************!*\
1654
- !*** ./node_modules/axios/lib/helpers/isAxiosError.js ***!
1655
- \********************************************************/
1656
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1657
-
1658
- "use strict";
1659
-
1660
-
1661
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
1662
-
1663
- /**
1664
- * Determines whether the payload is an error thrown by Axios
1665
- *
1666
- * @param {*} payload The value to test
1667
- * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
1668
- */
1669
- module.exports = function isAxiosError(payload) {
1670
- return utils.isObject(payload) && (payload.isAxiosError === true);
1671
- };
1672
-
1673
-
1674
- /***/ }),
1675
-
1676
- /***/ "./node_modules/axios/lib/helpers/isURLSameOrigin.js":
1677
- /*!***********************************************************!*\
1678
- !*** ./node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
1679
- \***********************************************************/
1680
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1681
-
1682
- "use strict";
1683
-
1684
-
1685
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
1686
-
1687
- module.exports = (
1688
- utils.isStandardBrowserEnv() ?
1689
-
1690
- // Standard browser envs have full support of the APIs needed to test
1691
- // whether the request URL is of the same origin as current location.
1692
- (function standardBrowserEnv() {
1693
- var msie = /(msie|trident)/i.test(navigator.userAgent);
1694
- var urlParsingNode = document.createElement('a');
1695
- var originURL;
1696
-
1697
- /**
1698
- * Parse a URL to discover it's components
1699
- *
1700
- * @param {String} url The URL to be parsed
1701
- * @returns {Object}
1702
- */
1703
- function resolveURL(url) {
1704
- var href = url;
1705
-
1706
- if (msie) {
1707
- // IE needs attribute set twice to normalize properties
1708
- urlParsingNode.setAttribute('href', href);
1709
- href = urlParsingNode.href;
1710
- }
1711
-
1712
- urlParsingNode.setAttribute('href', href);
1713
-
1714
- // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
1715
- return {
1716
- href: urlParsingNode.href,
1717
- protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
1718
- host: urlParsingNode.host,
1719
- search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
1720
- hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
1721
- hostname: urlParsingNode.hostname,
1722
- port: urlParsingNode.port,
1723
- pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
1724
- urlParsingNode.pathname :
1725
- '/' + urlParsingNode.pathname
1726
- };
1727
- }
1728
-
1729
- originURL = resolveURL(window.location.href);
1730
-
1731
- /**
1732
- * Determine if a URL shares the same origin as the current location
1733
- *
1734
- * @param {String} requestURL The URL to test
1735
- * @returns {boolean} True if URL shares the same origin, otherwise false
1736
- */
1737
- return function isURLSameOrigin(requestURL) {
1738
- var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
1739
- return (parsed.protocol === originURL.protocol &&
1740
- parsed.host === originURL.host);
1741
- };
1742
- })() :
1743
-
1744
- // Non standard browser envs (web workers, react-native) lack needed support.
1745
- (function nonStandardBrowserEnv() {
1746
- return function isURLSameOrigin() {
1747
- return true;
1748
- };
1749
- })()
1750
- );
1751
-
1752
-
1753
- /***/ }),
1754
-
1755
- /***/ "./node_modules/axios/lib/helpers/normalizeHeaderName.js":
1756
- /*!***************************************************************!*\
1757
- !*** ./node_modules/axios/lib/helpers/normalizeHeaderName.js ***!
1758
- \***************************************************************/
1759
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1760
-
1761
- "use strict";
1762
-
1763
-
1764
- var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js");
1765
-
1766
- module.exports = function normalizeHeaderName(headers, normalizedName) {
1767
- utils.forEach(headers, function processHeader(value, name) {
1768
- if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
1769
- headers[normalizedName] = value;
1770
- delete headers[name];
1771
- }
1772
- });
1773
- };
1774
-
1775
-
1776
- /***/ }),
1777
-
1778
- /***/ "./node_modules/axios/lib/helpers/null.js":
1779
- /*!************************************************!*\
1780
- !*** ./node_modules/axios/lib/helpers/null.js ***!
1781
- \************************************************/
1782
- /***/ ((module) => {
1783
-
1784
- // eslint-disable-next-line strict
1785
- module.exports = null;
1786
-
1787
-
1788
- /***/ }),
1789
-
1790
- /***/ "./node_modules/axios/lib/helpers/parseHeaders.js":
1791
- /*!********************************************************!*\
1792
- !*** ./node_modules/axios/lib/helpers/parseHeaders.js ***!
1793
- \********************************************************/
1794
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1795
-
1796
- "use strict";
1797
-
1798
-
1799
- var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js");
1800
-
1801
- // Headers whose duplicates are ignored by node
1802
- // c.f. https://nodejs.org/api/http.html#http_message_headers
1803
- var ignoreDuplicateOf = [
1804
- 'age', 'authorization', 'content-length', 'content-type', 'etag',
1805
- 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
1806
- 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
1807
- 'referer', 'retry-after', 'user-agent'
1808
- ];
1809
-
1810
- /**
1811
- * Parse headers into an object
1812
- *
1813
- * ```
1814
- * Date: Wed, 27 Aug 2014 08:58:49 GMT
1815
- * Content-Type: application/json
1816
- * Connection: keep-alive
1817
- * Transfer-Encoding: chunked
1818
- * ```
1819
- *
1820
- * @param {String} headers Headers needing to be parsed
1821
- * @returns {Object} Headers parsed into an object
1822
- */
1823
- module.exports = function parseHeaders(headers) {
1824
- var parsed = {};
1825
- var key;
1826
- var val;
1827
- var i;
1828
-
1829
- if (!headers) { return parsed; }
1830
-
1831
- utils.forEach(headers.split('\n'), function parser(line) {
1832
- i = line.indexOf(':');
1833
- key = utils.trim(line.substr(0, i)).toLowerCase();
1834
- val = utils.trim(line.substr(i + 1));
1835
-
1836
- if (key) {
1837
- if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
1838
- return;
1839
- }
1840
- if (key === 'set-cookie') {
1841
- parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
1842
- } else {
1843
- parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
1844
- }
1845
- }
1846
- });
1847
-
1848
- return parsed;
1849
- };
1850
-
1851
-
1852
- /***/ }),
1853
-
1854
- /***/ "./node_modules/axios/lib/helpers/parseProtocol.js":
1855
- /*!*********************************************************!*\
1856
- !*** ./node_modules/axios/lib/helpers/parseProtocol.js ***!
1857
- \*********************************************************/
1858
- /***/ ((module) => {
1859
-
1860
- "use strict";
1861
-
1862
-
1863
- module.exports = function parseProtocol(url) {
1864
- var match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
1865
- return match && match[1] || '';
1866
- };
1867
-
1868
-
1869
- /***/ }),
1870
-
1871
- /***/ "./node_modules/axios/lib/helpers/spread.js":
1872
- /*!**************************************************!*\
1873
- !*** ./node_modules/axios/lib/helpers/spread.js ***!
1874
- \**************************************************/
1875
- /***/ ((module) => {
1876
-
1877
- "use strict";
1878
-
1879
-
1880
- /**
1881
- * Syntactic sugar for invoking a function and expanding an array for arguments.
1882
- *
1883
- * Common use case would be to use `Function.prototype.apply`.
1884
- *
1885
- * ```js
1886
- * function f(x, y, z) {}
1887
- * var args = [1, 2, 3];
1888
- * f.apply(null, args);
1889
- * ```
1890
- *
1891
- * With `spread` this example can be re-written.
1892
- *
1893
- * ```js
1894
- * spread(function(x, y, z) {})([1, 2, 3]);
1895
- * ```
1896
- *
1897
- * @param {Function} callback
1898
- * @returns {Function}
1899
- */
1900
- module.exports = function spread(callback) {
1901
- return function wrap(arr) {
1902
- return callback.apply(null, arr);
1903
- };
1904
- };
1905
-
1906
-
1907
- /***/ }),
1908
-
1909
- /***/ "./node_modules/axios/lib/helpers/toFormData.js":
1910
- /*!******************************************************!*\
1911
- !*** ./node_modules/axios/lib/helpers/toFormData.js ***!
1912
- \******************************************************/
1913
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1914
-
1915
- "use strict";
1916
- /* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ "./node_modules/buffer/index.js")["Buffer"];
1917
-
1918
-
1919
- var utils = __webpack_require__(/*! ../utils */ "./node_modules/axios/lib/utils.js");
1920
-
1921
- /**
1922
- * Convert a data object to FormData
1923
- * @param {Object} obj
1924
- * @param {?Object} [formData]
1925
- * @returns {Object}
1926
- **/
1927
-
1928
- function toFormData(obj, formData) {
1929
- // eslint-disable-next-line no-param-reassign
1930
- formData = formData || new FormData();
1931
-
1932
- var stack = [];
1933
-
1934
- function convertValue(value) {
1935
- if (value === null) return '';
1936
-
1937
- if (utils.isDate(value)) {
1938
- return value.toISOString();
1939
- }
1940
-
1941
- if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {
1942
- return typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
1943
- }
1944
-
1945
- return value;
1946
- }
1947
-
1948
- function build(data, parentKey) {
1949
- if (utils.isPlainObject(data) || utils.isArray(data)) {
1950
- if (stack.indexOf(data) !== -1) {
1951
- throw Error('Circular reference detected in ' + parentKey);
1952
- }
1953
-
1954
- stack.push(data);
1955
-
1956
- utils.forEach(data, function each(value, key) {
1957
- if (utils.isUndefined(value)) return;
1958
- var fullKey = parentKey ? parentKey + '.' + key : key;
1959
- var arr;
1960
-
1961
- if (value && !parentKey && typeof value === 'object') {
1962
- if (utils.endsWith(key, '{}')) {
1963
- // eslint-disable-next-line no-param-reassign
1964
- value = JSON.stringify(value);
1965
- } else if (utils.endsWith(key, '[]') && (arr = utils.toArray(value))) {
1966
- // eslint-disable-next-line func-names
1967
- arr.forEach(function(el) {
1968
- !utils.isUndefined(el) && formData.append(fullKey, convertValue(el));
1969
- });
1970
- return;
1971
- }
1972
- }
1973
-
1974
- build(value, fullKey);
1975
- });
1976
-
1977
- stack.pop();
1978
- } else {
1979
- formData.append(parentKey, convertValue(data));
1980
- }
1981
- }
1982
-
1983
- build(obj);
1984
-
1985
- return formData;
1986
- }
1987
-
1988
- module.exports = toFormData;
1989
-
1990
-
1991
- /***/ }),
1992
-
1993
- /***/ "./node_modules/axios/lib/helpers/validator.js":
1994
- /*!*****************************************************!*\
1995
- !*** ./node_modules/axios/lib/helpers/validator.js ***!
1996
- \*****************************************************/
1997
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1998
-
1999
- "use strict";
2000
-
2001
-
2002
- var VERSION = (__webpack_require__(/*! ../env/data */ "./node_modules/axios/lib/env/data.js").version);
2003
- var AxiosError = __webpack_require__(/*! ../core/AxiosError */ "./node_modules/axios/lib/core/AxiosError.js");
2004
-
2005
- var validators = {};
2006
-
2007
- // eslint-disable-next-line func-names
2008
- ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {
2009
- validators[type] = function validator(thing) {
2010
- return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
2011
- };
2012
- });
2013
-
2014
- var deprecatedWarnings = {};
2015
-
2016
- /**
2017
- * Transitional option validator
2018
- * @param {function|boolean?} validator - set to false if the transitional option has been removed
2019
- * @param {string?} version - deprecated version / removed since version
2020
- * @param {string?} message - some message with additional info
2021
- * @returns {function}
2022
- */
2023
- validators.transitional = function transitional(validator, version, message) {
2024
- function formatMessage(opt, desc) {
2025
- return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
2026
- }
2027
-
2028
- // eslint-disable-next-line func-names
2029
- return function(value, opt, opts) {
2030
- if (validator === false) {
2031
- throw new AxiosError(
2032
- formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
2033
- AxiosError.ERR_DEPRECATED
2034
- );
2035
- }
2036
-
2037
- if (version && !deprecatedWarnings[opt]) {
2038
- deprecatedWarnings[opt] = true;
2039
- // eslint-disable-next-line no-console
2040
- console.warn(
2041
- formatMessage(
2042
- opt,
2043
- ' has been deprecated since v' + version + ' and will be removed in the near future'
2044
- )
2045
- );
2046
- }
2047
-
2048
- return validator ? validator(value, opt, opts) : true;
2049
- };
2050
- };
2051
-
2052
- /**
2053
- * Assert object's properties type
2054
- * @param {object} options
2055
- * @param {object} schema
2056
- * @param {boolean?} allowUnknown
2057
- */
2058
-
2059
- function assertOptions(options, schema, allowUnknown) {
2060
- if (typeof options !== 'object') {
2061
- throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
2062
- }
2063
- var keys = Object.keys(options);
2064
- var i = keys.length;
2065
- while (i-- > 0) {
2066
- var opt = keys[i];
2067
- var validator = schema[opt];
2068
- if (validator) {
2069
- var value = options[opt];
2070
- var result = value === undefined || validator(value, opt, options);
2071
- if (result !== true) {
2072
- throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
2073
- }
2074
- continue;
2075
- }
2076
- if (allowUnknown !== true) {
2077
- throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
2078
- }
2079
- }
2080
- }
2081
-
2082
- module.exports = {
2083
- assertOptions: assertOptions,
2084
- validators: validators
2085
- };
2086
-
2087
-
2088
- /***/ }),
2089
-
2090
- /***/ "./node_modules/axios/lib/utils.js":
2091
- /*!*****************************************!*\
2092
- !*** ./node_modules/axios/lib/utils.js ***!
2093
- \*****************************************/
2094
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2095
-
2096
- "use strict";
2097
-
2098
-
2099
- var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/axios/lib/helpers/bind.js");
2100
-
2101
- // utils is a library of generic helper functions non-specific to axios
2102
-
2103
- var toString = Object.prototype.toString;
2104
-
2105
- // eslint-disable-next-line func-names
2106
- var kindOf = (function(cache) {
2107
- // eslint-disable-next-line func-names
2108
- return function(thing) {
2109
- var str = toString.call(thing);
2110
- return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
2111
- };
2112
- })(Object.create(null));
2113
-
2114
- function kindOfTest(type) {
2115
- type = type.toLowerCase();
2116
- return function isKindOf(thing) {
2117
- return kindOf(thing) === type;
2118
- };
2119
- }
2120
-
2121
- /**
2122
- * Determine if a value is an Array
2123
- *
2124
- * @param {Object} val The value to test
2125
- * @returns {boolean} True if value is an Array, otherwise false
2126
- */
2127
- function isArray(val) {
2128
- return Array.isArray(val);
2129
- }
2130
-
2131
- /**
2132
- * Determine if a value is undefined
2133
- *
2134
- * @param {Object} val The value to test
2135
- * @returns {boolean} True if the value is undefined, otherwise false
2136
- */
2137
- function isUndefined(val) {
2138
- return typeof val === 'undefined';
2139
- }
2140
-
2141
- /**
2142
- * Determine if a value is a Buffer
2143
- *
2144
- * @param {Object} val The value to test
2145
- * @returns {boolean} True if value is a Buffer, otherwise false
2146
- */
2147
- function isBuffer(val) {
2148
- return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
2149
- && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
2150
- }
2151
-
2152
- /**
2153
- * Determine if a value is an ArrayBuffer
2154
- *
2155
- * @function
2156
- * @param {Object} val The value to test
2157
- * @returns {boolean} True if value is an ArrayBuffer, otherwise false
2158
- */
2159
- var isArrayBuffer = kindOfTest('ArrayBuffer');
2160
-
2161
-
2162
- /**
2163
- * Determine if a value is a view on an ArrayBuffer
2164
- *
2165
- * @param {Object} val The value to test
2166
- * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
2167
- */
2168
- function isArrayBufferView(val) {
2169
- var result;
2170
- if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
2171
- result = ArrayBuffer.isView(val);
2172
- } else {
2173
- result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
2174
- }
2175
- return result;
2176
- }
2177
-
2178
- /**
2179
- * Determine if a value is a String
2180
- *
2181
- * @param {Object} val The value to test
2182
- * @returns {boolean} True if value is a String, otherwise false
2183
- */
2184
- function isString(val) {
2185
- return typeof val === 'string';
2186
- }
2187
-
2188
- /**
2189
- * Determine if a value is a Number
2190
- *
2191
- * @param {Object} val The value to test
2192
- * @returns {boolean} True if value is a Number, otherwise false
2193
- */
2194
- function isNumber(val) {
2195
- return typeof val === 'number';
2196
- }
2197
-
2198
- /**
2199
- * Determine if a value is an Object
2200
- *
2201
- * @param {Object} val The value to test
2202
- * @returns {boolean} True if value is an Object, otherwise false
2203
- */
2204
- function isObject(val) {
2205
- return val !== null && typeof val === 'object';
2206
- }
2207
-
2208
- /**
2209
- * Determine if a value is a plain Object
2210
- *
2211
- * @param {Object} val The value to test
2212
- * @return {boolean} True if value is a plain Object, otherwise false
2213
- */
2214
- function isPlainObject(val) {
2215
- if (kindOf(val) !== 'object') {
2216
- return false;
2217
- }
2218
-
2219
- var prototype = Object.getPrototypeOf(val);
2220
- return prototype === null || prototype === Object.prototype;
2221
- }
2222
-
2223
- /**
2224
- * Determine if a value is a Date
2225
- *
2226
- * @function
2227
- * @param {Object} val The value to test
2228
- * @returns {boolean} True if value is a Date, otherwise false
2229
- */
2230
- var isDate = kindOfTest('Date');
2231
-
2232
- /**
2233
- * Determine if a value is a File
2234
- *
2235
- * @function
2236
- * @param {Object} val The value to test
2237
- * @returns {boolean} True if value is a File, otherwise false
2238
- */
2239
- var isFile = kindOfTest('File');
2240
-
2241
- /**
2242
- * Determine if a value is a Blob
2243
- *
2244
- * @function
2245
- * @param {Object} val The value to test
2246
- * @returns {boolean} True if value is a Blob, otherwise false
2247
- */
2248
- var isBlob = kindOfTest('Blob');
2249
-
2250
- /**
2251
- * Determine if a value is a FileList
2252
- *
2253
- * @function
2254
- * @param {Object} val The value to test
2255
- * @returns {boolean} True if value is a File, otherwise false
2256
- */
2257
- var isFileList = kindOfTest('FileList');
2258
-
2259
- /**
2260
- * Determine if a value is a Function
2261
- *
2262
- * @param {Object} val The value to test
2263
- * @returns {boolean} True if value is a Function, otherwise false
2264
- */
2265
- function isFunction(val) {
2266
- return toString.call(val) === '[object Function]';
2267
- }
2268
-
2269
- /**
2270
- * Determine if a value is a Stream
2271
- *
2272
- * @param {Object} val The value to test
2273
- * @returns {boolean} True if value is a Stream, otherwise false
2274
- */
2275
- function isStream(val) {
2276
- return isObject(val) && isFunction(val.pipe);
2277
- }
2278
-
2279
- /**
2280
- * Determine if a value is a FormData
2281
- *
2282
- * @param {Object} thing The value to test
2283
- * @returns {boolean} True if value is an FormData, otherwise false
2284
- */
2285
- function isFormData(thing) {
2286
- var pattern = '[object FormData]';
2287
- return thing && (
2288
- (typeof FormData === 'function' && thing instanceof FormData) ||
2289
- toString.call(thing) === pattern ||
2290
- (isFunction(thing.toString) && thing.toString() === pattern)
2291
- );
2292
- }
2293
-
2294
- /**
2295
- * Determine if a value is a URLSearchParams object
2296
- * @function
2297
- * @param {Object} val The value to test
2298
- * @returns {boolean} True if value is a URLSearchParams object, otherwise false
2299
- */
2300
- var isURLSearchParams = kindOfTest('URLSearchParams');
2301
-
2302
- /**
2303
- * Trim excess whitespace off the beginning and end of a string
2304
- *
2305
- * @param {String} str The String to trim
2306
- * @returns {String} The String freed of excess whitespace
2307
- */
2308
- function trim(str) {
2309
- return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, '');
2310
- }
2311
-
2312
- /**
2313
- * Determine if we're running in a standard browser environment
2314
- *
2315
- * This allows axios to run in a web worker, and react-native.
2316
- * Both environments support XMLHttpRequest, but not fully standard globals.
2317
- *
2318
- * web workers:
2319
- * typeof window -> undefined
2320
- * typeof document -> undefined
2321
- *
2322
- * react-native:
2323
- * navigator.product -> 'ReactNative'
2324
- * nativescript
2325
- * navigator.product -> 'NativeScript' or 'NS'
2326
- */
2327
- function isStandardBrowserEnv() {
2328
- if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
2329
- navigator.product === 'NativeScript' ||
2330
- navigator.product === 'NS')) {
2331
- return false;
2332
- }
2333
- return (
2334
- typeof window !== 'undefined' &&
2335
- typeof document !== 'undefined'
2336
- );
2337
- }
2338
-
2339
- /**
2340
- * Iterate over an Array or an Object invoking a function for each item.
2341
- *
2342
- * If `obj` is an Array callback will be called passing
2343
- * the value, index, and complete array for each item.
2344
- *
2345
- * If 'obj' is an Object callback will be called passing
2346
- * the value, key, and complete object for each property.
2347
- *
2348
- * @param {Object|Array} obj The object to iterate
2349
- * @param {Function} fn The callback to invoke for each item
2350
- */
2351
- function forEach(obj, fn) {
2352
- // Don't bother if no value provided
2353
- if (obj === null || typeof obj === 'undefined') {
2354
- return;
2355
- }
2356
-
2357
- // Force an array if not already something iterable
2358
- if (typeof obj !== 'object') {
2359
- /*eslint no-param-reassign:0*/
2360
- obj = [obj];
2361
- }
2362
-
2363
- if (isArray(obj)) {
2364
- // Iterate over array values
2365
- for (var i = 0, l = obj.length; i < l; i++) {
2366
- fn.call(null, obj[i], i, obj);
2367
- }
2368
- } else {
2369
- // Iterate over object keys
2370
- for (var key in obj) {
2371
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
2372
- fn.call(null, obj[key], key, obj);
2373
- }
2374
- }
2375
- }
2376
- }
2377
-
2378
- /**
2379
- * Accepts varargs expecting each argument to be an object, then
2380
- * immutably merges the properties of each object and returns result.
2381
- *
2382
- * When multiple objects contain the same key the later object in
2383
- * the arguments list will take precedence.
2384
- *
2385
- * Example:
2386
- *
2387
- * ```js
2388
- * var result = merge({foo: 123}, {foo: 456});
2389
- * console.log(result.foo); // outputs 456
2390
- * ```
2391
- *
2392
- * @param {Object} obj1 Object to merge
2393
- * @returns {Object} Result of all merge properties
2394
- */
2395
- function merge(/* obj1, obj2, obj3, ... */) {
2396
- var result = {};
2397
- function assignValue(val, key) {
2398
- if (isPlainObject(result[key]) && isPlainObject(val)) {
2399
- result[key] = merge(result[key], val);
2400
- } else if (isPlainObject(val)) {
2401
- result[key] = merge({}, val);
2402
- } else if (isArray(val)) {
2403
- result[key] = val.slice();
2404
- } else {
2405
- result[key] = val;
2406
- }
2407
- }
2408
-
2409
- for (var i = 0, l = arguments.length; i < l; i++) {
2410
- forEach(arguments[i], assignValue);
2411
- }
2412
- return result;
2413
- }
2414
-
2415
- /**
2416
- * Extends object a by mutably adding to it the properties of object b.
2417
- *
2418
- * @param {Object} a The object to be extended
2419
- * @param {Object} b The object to copy properties from
2420
- * @param {Object} thisArg The object to bind function to
2421
- * @return {Object} The resulting value of object a
2422
- */
2423
- function extend(a, b, thisArg) {
2424
- forEach(b, function assignValue(val, key) {
2425
- if (thisArg && typeof val === 'function') {
2426
- a[key] = bind(val, thisArg);
2427
- } else {
2428
- a[key] = val;
2429
- }
2430
- });
2431
- return a;
2432
- }
2433
-
2434
- /**
2435
- * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
2436
- *
2437
- * @param {string} content with BOM
2438
- * @return {string} content value without BOM
2439
- */
2440
- function stripBOM(content) {
2441
- if (content.charCodeAt(0) === 0xFEFF) {
2442
- content = content.slice(1);
2443
- }
2444
- return content;
2445
- }
2446
-
2447
- /**
2448
- * Inherit the prototype methods from one constructor into another
2449
- * @param {function} constructor
2450
- * @param {function} superConstructor
2451
- * @param {object} [props]
2452
- * @param {object} [descriptors]
2453
- */
2454
-
2455
- function inherits(constructor, superConstructor, props, descriptors) {
2456
- constructor.prototype = Object.create(superConstructor.prototype, descriptors);
2457
- constructor.prototype.constructor = constructor;
2458
- props && Object.assign(constructor.prototype, props);
2459
- }
2460
-
2461
- /**
2462
- * Resolve object with deep prototype chain to a flat object
2463
- * @param {Object} sourceObj source object
2464
- * @param {Object} [destObj]
2465
- * @param {Function} [filter]
2466
- * @returns {Object}
2467
- */
2468
-
2469
- function toFlatObject(sourceObj, destObj, filter) {
2470
- var props;
2471
- var i;
2472
- var prop;
2473
- var merged = {};
2474
-
2475
- destObj = destObj || {};
2476
-
2477
- do {
2478
- props = Object.getOwnPropertyNames(sourceObj);
2479
- i = props.length;
2480
- while (i-- > 0) {
2481
- prop = props[i];
2482
- if (!merged[prop]) {
2483
- destObj[prop] = sourceObj[prop];
2484
- merged[prop] = true;
2485
- }
2486
- }
2487
- sourceObj = Object.getPrototypeOf(sourceObj);
2488
- } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
2489
-
2490
- return destObj;
2491
- }
2492
-
2493
- /*
2494
- * determines whether a string ends with the characters of a specified string
2495
- * @param {String} str
2496
- * @param {String} searchString
2497
- * @param {Number} [position= 0]
2498
- * @returns {boolean}
2499
- */
2500
- function endsWith(str, searchString, position) {
2501
- str = String(str);
2502
- if (position === undefined || position > str.length) {
2503
- position = str.length;
2504
- }
2505
- position -= searchString.length;
2506
- var lastIndex = str.indexOf(searchString, position);
2507
- return lastIndex !== -1 && lastIndex === position;
2508
- }
2509
-
2510
-
2511
- /**
2512
- * Returns new array from array like object
2513
- * @param {*} [thing]
2514
- * @returns {Array}
2515
- */
2516
- function toArray(thing) {
2517
- if (!thing) return null;
2518
- var i = thing.length;
2519
- if (isUndefined(i)) return null;
2520
- var arr = new Array(i);
2521
- while (i-- > 0) {
2522
- arr[i] = thing[i];
2523
- }
2524
- return arr;
2525
- }
2526
-
2527
- // eslint-disable-next-line func-names
2528
- var isTypedArray = (function(TypedArray) {
2529
- // eslint-disable-next-line func-names
2530
- return function(thing) {
2531
- return TypedArray && thing instanceof TypedArray;
2532
- };
2533
- })(typeof Uint8Array !== 'undefined' && Object.getPrototypeOf(Uint8Array));
2534
-
2535
- module.exports = {
2536
- isArray: isArray,
2537
- isArrayBuffer: isArrayBuffer,
2538
- isBuffer: isBuffer,
2539
- isFormData: isFormData,
2540
- isArrayBufferView: isArrayBufferView,
2541
- isString: isString,
2542
- isNumber: isNumber,
2543
- isObject: isObject,
2544
- isPlainObject: isPlainObject,
2545
- isUndefined: isUndefined,
2546
- isDate: isDate,
2547
- isFile: isFile,
2548
- isBlob: isBlob,
2549
- isFunction: isFunction,
2550
- isStream: isStream,
2551
- isURLSearchParams: isURLSearchParams,
2552
- isStandardBrowserEnv: isStandardBrowserEnv,
2553
- forEach: forEach,
2554
- merge: merge,
2555
- extend: extend,
2556
- trim: trim,
2557
- stripBOM: stripBOM,
2558
- inherits: inherits,
2559
- toFlatObject: toFlatObject,
2560
- kindOf: kindOf,
2561
- kindOfTest: kindOfTest,
2562
- endsWith: endsWith,
2563
- toArray: toArray,
2564
- isTypedArray: isTypedArray,
2565
- isFileList: isFileList
2566
- };
2567
-
2568
-
2569
- /***/ }),
2570
-
2571
- /***/ "./node_modules/lodash/flatMap.js":
2572
- /*!****************************************!*\
2573
- !*** ./node_modules/lodash/flatMap.js ***!
2574
- \****************************************/
2575
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2576
-
2577
- var baseFlatten = __webpack_require__(/*! ./_baseFlatten */ "./node_modules/lodash/_baseFlatten.js"),
2578
- map = __webpack_require__(/*! ./map */ "./node_modules/lodash/map.js");
2579
-
2580
- /**
2581
- * Creates a flattened array of values by running each element in `collection`
2582
- * thru `iteratee` and flattening the mapped results. The iteratee is invoked
2583
- * with three arguments: (value, index|key, collection).
2584
- *
2585
- * @static
2586
- * @memberOf _
2587
- * @since 4.0.0
2588
- * @category Collection
2589
- * @param {Array|Object} collection The collection to iterate over.
2590
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
2591
- * @returns {Array} Returns the new flattened array.
2592
- * @example
2593
- *
2594
- * function duplicate(n) {
2595
- * return [n, n];
2596
- * }
2597
- *
2598
- * _.flatMap([1, 2], duplicate);
2599
- * // => [1, 1, 2, 2]
2600
- */
2601
- function flatMap(collection, iteratee) {
2602
- return baseFlatten(map(collection, iteratee), 1);
2603
- }
2604
-
2605
- module.exports = flatMap;
2606
-
2607
-
2608
- /***/ }),
2609
-
2610
- /***/ "./node_modules/lodash/map.js":
2611
- /*!************************************!*\
2612
- !*** ./node_modules/lodash/map.js ***!
2613
- \************************************/
2614
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2615
-
2616
- var arrayMap = __webpack_require__(/*! ./_arrayMap */ "./node_modules/lodash/_arrayMap.js"),
2617
- baseIteratee = __webpack_require__(/*! ./_baseIteratee */ "./node_modules/lodash/_baseIteratee.js"),
2618
- baseMap = __webpack_require__(/*! ./_baseMap */ "./node_modules/lodash/_baseMap.js"),
2619
- isArray = __webpack_require__(/*! ./isArray */ "./node_modules/lodash/isArray.js");
2620
-
2621
- /**
2622
- * Creates an array of values by running each element in `collection` thru
2623
- * `iteratee`. The iteratee is invoked with three arguments:
2624
- * (value, index|key, collection).
2625
- *
2626
- * Many lodash methods are guarded to work as iteratees for methods like
2627
- * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
2628
- *
2629
- * The guarded methods are:
2630
- * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
2631
- * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
2632
- * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
2633
- * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
2634
- *
2635
- * @static
2636
- * @memberOf _
2637
- * @since 0.1.0
2638
- * @category Collection
2639
- * @param {Array|Object} collection The collection to iterate over.
2640
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
2641
- * @returns {Array} Returns the new mapped array.
2642
- * @example
2643
- *
2644
- * function square(n) {
2645
- * return n * n;
2646
- * }
2647
- *
2648
- * _.map([4, 8], square);
2649
- * // => [16, 64]
2650
- *
2651
- * _.map({ 'a': 4, 'b': 8 }, square);
2652
- * // => [16, 64] (iteration order is not guaranteed)
2653
- *
2654
- * var users = [
2655
- * { 'user': 'barney' },
2656
- * { 'user': 'fred' }
2657
- * ];
2658
- *
2659
- * // The `_.property` iteratee shorthand.
2660
- * _.map(users, 'user');
2661
- * // => ['barney', 'fred']
2662
- */
2663
- function map(collection, iteratee) {
2664
- var func = isArray(collection) ? arrayMap : baseMap;
2665
- return func(collection, baseIteratee(iteratee, 3));
2666
- }
2667
-
2668
- module.exports = map;
2669
-
2670
-
2671
- /***/ }),
2672
-
2673
- /***/ "./node_modules/react-is/cjs/react-is.development.js":
2674
- /*!***********************************************************!*\
2675
- !*** ./node_modules/react-is/cjs/react-is.development.js ***!
2676
- \***********************************************************/
2677
- /***/ ((__unused_webpack_module, exports) => {
2678
-
2679
- "use strict";
2680
- /** @license React v16.13.1
2681
- * react-is.development.js
2682
- *
2683
- * Copyright (c) Facebook, Inc. and its affiliates.
2684
- *
2685
- * This source code is licensed under the MIT license found in the
2686
- * LICENSE file in the root directory of this source tree.
2687
- */
2688
-
2689
-
2690
-
2691
-
2692
-
2693
- if (true) {
2694
- (function() {
2695
- 'use strict';
2696
-
2697
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
2698
- // nor polyfill, then a plain number is used for performance.
2699
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
2700
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
2701
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
2702
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
2703
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
2704
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
2705
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
2706
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
2707
- // (unstable) APIs that have been removed. Can we remove the symbols?
2708
-
2709
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
2710
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
2711
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
2712
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
2713
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
2714
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
2715
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
2716
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
2717
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
2718
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
2719
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
2720
-
2721
- function isValidElementType(type) {
2722
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2723
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
2724
- }
2725
-
2726
- function typeOf(object) {
2727
- if (typeof object === 'object' && object !== null) {
2728
- var $$typeof = object.$$typeof;
2729
-
2730
- switch ($$typeof) {
2731
- case REACT_ELEMENT_TYPE:
2732
- var type = object.type;
2733
-
2734
- switch (type) {
2735
- case REACT_ASYNC_MODE_TYPE:
2736
- case REACT_CONCURRENT_MODE_TYPE:
2737
- case REACT_FRAGMENT_TYPE:
2738
- case REACT_PROFILER_TYPE:
2739
- case REACT_STRICT_MODE_TYPE:
2740
- case REACT_SUSPENSE_TYPE:
2741
- return type;
2742
-
2743
- default:
2744
- var $$typeofType = type && type.$$typeof;
2745
-
2746
- switch ($$typeofType) {
2747
- case REACT_CONTEXT_TYPE:
2748
- case REACT_FORWARD_REF_TYPE:
2749
- case REACT_LAZY_TYPE:
2750
- case REACT_MEMO_TYPE:
2751
- case REACT_PROVIDER_TYPE:
2752
- return $$typeofType;
2753
-
2754
- default:
2755
- return $$typeof;
2756
- }
2757
-
2758
- }
2759
-
2760
- case REACT_PORTAL_TYPE:
2761
- return $$typeof;
2762
- }
2763
- }
2764
-
2765
- return undefined;
2766
- } // AsyncMode is deprecated along with isAsyncMode
2767
-
2768
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
2769
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
2770
- var ContextConsumer = REACT_CONTEXT_TYPE;
2771
- var ContextProvider = REACT_PROVIDER_TYPE;
2772
- var Element = REACT_ELEMENT_TYPE;
2773
- var ForwardRef = REACT_FORWARD_REF_TYPE;
2774
- var Fragment = REACT_FRAGMENT_TYPE;
2775
- var Lazy = REACT_LAZY_TYPE;
2776
- var Memo = REACT_MEMO_TYPE;
2777
- var Portal = REACT_PORTAL_TYPE;
2778
- var Profiler = REACT_PROFILER_TYPE;
2779
- var StrictMode = REACT_STRICT_MODE_TYPE;
2780
- var Suspense = REACT_SUSPENSE_TYPE;
2781
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
2782
-
2783
- function isAsyncMode(object) {
2784
- {
2785
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
2786
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
2787
-
2788
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
2789
- }
2790
- }
2791
-
2792
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
2793
- }
2794
- function isConcurrentMode(object) {
2795
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
2796
- }
2797
- function isContextConsumer(object) {
2798
- return typeOf(object) === REACT_CONTEXT_TYPE;
2799
- }
2800
- function isContextProvider(object) {
2801
- return typeOf(object) === REACT_PROVIDER_TYPE;
2802
- }
2803
- function isElement(object) {
2804
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
2805
- }
2806
- function isForwardRef(object) {
2807
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
2808
- }
2809
- function isFragment(object) {
2810
- return typeOf(object) === REACT_FRAGMENT_TYPE;
2811
- }
2812
- function isLazy(object) {
2813
- return typeOf(object) === REACT_LAZY_TYPE;
2814
- }
2815
- function isMemo(object) {
2816
- return typeOf(object) === REACT_MEMO_TYPE;
2817
- }
2818
- function isPortal(object) {
2819
- return typeOf(object) === REACT_PORTAL_TYPE;
2820
- }
2821
- function isProfiler(object) {
2822
- return typeOf(object) === REACT_PROFILER_TYPE;
2823
- }
2824
- function isStrictMode(object) {
2825
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
2826
- }
2827
- function isSuspense(object) {
2828
- return typeOf(object) === REACT_SUSPENSE_TYPE;
2829
- }
2830
-
2831
- exports.AsyncMode = AsyncMode;
2832
- exports.ConcurrentMode = ConcurrentMode;
2833
- exports.ContextConsumer = ContextConsumer;
2834
- exports.ContextProvider = ContextProvider;
2835
- exports.Element = Element;
2836
- exports.ForwardRef = ForwardRef;
2837
- exports.Fragment = Fragment;
2838
- exports.Lazy = Lazy;
2839
- exports.Memo = Memo;
2840
- exports.Portal = Portal;
2841
- exports.Profiler = Profiler;
2842
- exports.StrictMode = StrictMode;
2843
- exports.Suspense = Suspense;
2844
- exports.isAsyncMode = isAsyncMode;
2845
- exports.isConcurrentMode = isConcurrentMode;
2846
- exports.isContextConsumer = isContextConsumer;
2847
- exports.isContextProvider = isContextProvider;
2848
- exports.isElement = isElement;
2849
- exports.isForwardRef = isForwardRef;
2850
- exports.isFragment = isFragment;
2851
- exports.isLazy = isLazy;
2852
- exports.isMemo = isMemo;
2853
- exports.isPortal = isPortal;
2854
- exports.isProfiler = isProfiler;
2855
- exports.isStrictMode = isStrictMode;
2856
- exports.isSuspense = isSuspense;
2857
- exports.isValidElementType = isValidElementType;
2858
- exports.typeOf = typeOf;
2859
- })();
2860
- }
2861
-
2862
-
2863
- /***/ }),
2864
-
2865
- /***/ "./node_modules/react-is/index.js":
2866
- /*!****************************************!*\
2867
- !*** ./node_modules/react-is/index.js ***!
2868
- \****************************************/
2869
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2870
-
2871
- "use strict";
2872
-
2873
-
2874
- if (false) {} else {
2875
- module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/react-is/cjs/react-is.development.js");
2876
- }
2877
-
2878
-
2879
- /***/ })
2880
-
2881
- }]);