| @@ -1,218 +1,962 @@ | ||
| 1 | +/*! elementor - v3.4.3 - 30-08-2021 */ | |
| 1 | 2 | /******/ (() => { // webpackBootstrap |
| 2 | 3 | /******/ var __webpack_modules__ = ({ |
| 3 | 4 | |
| 4 | -/***/ "../app/modules/import-export-customization/assets/js/shared/registry/base.js": | |
| 5 | -/*!************************************************************************************!*\ | |
| 6 | - !*** ../app/modules/import-export-customization/assets/js/shared/registry/base.js ***! | |
| 7 | - \************************************************************************************/ | |
| 8 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 5 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/array/from.js": | |
| 6 | +/*!********************************************************************!*\ | |
| 7 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/array/from.js ***! | |
| 8 | + \********************************************************************/ | |
| 9 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9 | 10 | |
| 10 | -"use strict"; | |
| 11 | +module.exports = __webpack_require__(/*! core-js/library/fn/array/from */ "../node_modules/core-js/library/fn/array/from.js"); | |
| 11 | 12 | |
| 13 | +/***/ }), | |
| 12 | 14 | |
| 13 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 14 | -Object.defineProperty(exports, "__esModule", ({ | |
| 15 | - value: true | |
| 16 | -})); | |
| 17 | -exports.BaseRegistry = void 0; | |
| 18 | -var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ "../node_modules/@babel/runtime/helpers/toConsumableArray.js")); | |
| 19 | -var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); | |
| 20 | -var _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js")); | |
| 21 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 22 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 23 | -var _excluded = ["children"]; | |
| 24 | -function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | |
| 25 | -function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | |
| 26 | -var BaseRegistry = exports.BaseRegistry = /*#__PURE__*/function () { | |
| 27 | - function BaseRegistry() { | |
| 28 | - (0, _classCallCheck2.default)(this, BaseRegistry); | |
| 29 | - this.sections = new Map(); | |
| 15 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js": | |
| 16 | +/*!************************************************************************!*\ | |
| 17 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js ***! | |
| 18 | + \************************************************************************/ | |
| 19 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 20 | + | |
| 21 | +module.exports = __webpack_require__(/*! core-js/library/fn/array/is-array */ "../node_modules/core-js/library/fn/array/is-array.js"); | |
| 22 | + | |
| 23 | +/***/ }), | |
| 24 | + | |
| 25 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/map.js": | |
| 26 | +/*!*************************************************************!*\ | |
| 27 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/map.js ***! | |
| 28 | + \*************************************************************/ | |
| 29 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 30 | + | |
| 31 | +module.exports = __webpack_require__(/*! core-js/library/fn/map */ "../node_modules/core-js/library/fn/map.js"); | |
| 32 | + | |
| 33 | +/***/ }), | |
| 34 | + | |
| 35 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js": | |
| 36 | +/*!***********************************************************************!*\ | |
| 37 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/create.js ***! | |
| 38 | + \***********************************************************************/ | |
| 39 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 40 | + | |
| 41 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/create */ "../node_modules/core-js/library/fn/object/create.js"); | |
| 42 | + | |
| 43 | +/***/ }), | |
| 44 | + | |
| 45 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js": | |
| 46 | +/*!********************************************************************************!*\ | |
| 47 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js ***! | |
| 48 | + \********************************************************************************/ | |
| 49 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 50 | + | |
| 51 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/define-property */ "../node_modules/core-js/library/fn/object/define-property.js"); | |
| 52 | + | |
| 53 | +/***/ }), | |
| 54 | + | |
| 55 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/entries.js": | |
| 56 | +/*!************************************************************************!*\ | |
| 57 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/entries.js ***! | |
| 58 | + \************************************************************************/ | |
| 59 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 60 | + | |
| 61 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/entries */ "../node_modules/core-js/library/fn/object/entries.js"); | |
| 62 | + | |
| 63 | +/***/ }), | |
| 64 | + | |
| 65 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js": | |
| 66 | +/*!********************************************************************************************!*\ | |
| 67 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js ***! | |
| 68 | + \********************************************************************************************/ | |
| 69 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 70 | + | |
| 71 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/get-own-property-descriptor */ "../node_modules/core-js/library/fn/object/get-own-property-descriptor.js"); | |
| 72 | + | |
| 73 | +/***/ }), | |
| 74 | + | |
| 75 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js": | |
| 76 | +/*!*********************************************************************************!*\ | |
| 77 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js ***! | |
| 78 | + \*********************************************************************************/ | |
| 79 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 80 | + | |
| 81 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/get-prototype-of */ "../node_modules/core-js/library/fn/object/get-prototype-of.js"); | |
| 82 | + | |
| 83 | +/***/ }), | |
| 84 | + | |
| 85 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/keys.js": | |
| 86 | +/*!*********************************************************************!*\ | |
| 87 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/keys.js ***! | |
| 88 | + \*********************************************************************/ | |
| 89 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 90 | + | |
| 91 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/keys */ "../node_modules/core-js/library/fn/object/keys.js"); | |
| 92 | + | |
| 93 | +/***/ }), | |
| 94 | + | |
| 95 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js": | |
| 96 | +/*!*********************************************************************************!*\ | |
| 97 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js ***! | |
| 98 | + \*********************************************************************************/ | |
| 99 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 100 | + | |
| 101 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/set-prototype-of */ "../node_modules/core-js/library/fn/object/set-prototype-of.js"); | |
| 102 | + | |
| 103 | +/***/ }), | |
| 104 | + | |
| 105 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/values.js": | |
| 106 | +/*!***********************************************************************!*\ | |
| 107 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/values.js ***! | |
| 108 | + \***********************************************************************/ | |
| 109 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 110 | + | |
| 111 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/values */ "../node_modules/core-js/library/fn/object/values.js"); | |
| 112 | + | |
| 113 | +/***/ }), | |
| 114 | + | |
| 115 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/parse-float.js": | |
| 116 | +/*!*********************************************************************!*\ | |
| 117 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/parse-float.js ***! | |
| 118 | + \*********************************************************************/ | |
| 119 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 120 | + | |
| 121 | +module.exports = __webpack_require__(/*! core-js/library/fn/parse-float */ "../node_modules/core-js/library/fn/parse-float.js"); | |
| 122 | + | |
| 123 | +/***/ }), | |
| 124 | + | |
| 125 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/parse-int.js": | |
| 126 | +/*!*******************************************************************!*\ | |
| 127 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/parse-int.js ***! | |
| 128 | + \*******************************************************************/ | |
| 129 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 130 | + | |
| 131 | +module.exports = __webpack_require__(/*! core-js/library/fn/parse-int */ "../node_modules/core-js/library/fn/parse-int.js"); | |
| 132 | + | |
| 133 | +/***/ }), | |
| 134 | + | |
| 135 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/promise.js": | |
| 136 | +/*!*****************************************************************!*\ | |
| 137 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/promise.js ***! | |
| 138 | + \*****************************************************************/ | |
| 139 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 140 | + | |
| 141 | +module.exports = __webpack_require__(/*! core-js/library/fn/promise */ "../node_modules/core-js/library/fn/promise.js"); | |
| 142 | + | |
| 143 | +/***/ }), | |
| 144 | + | |
| 145 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js": | |
| 146 | +/*!***************************************************************************!*\ | |
| 147 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js ***! | |
| 148 | + \***************************************************************************/ | |
| 149 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 150 | + | |
| 151 | +module.exports = __webpack_require__(/*! core-js/library/fn/reflect/construct */ "../node_modules/core-js/library/fn/reflect/construct.js"); | |
| 152 | + | |
| 153 | +/***/ }), | |
| 154 | + | |
| 155 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js": | |
| 156 | +/*!*********************************************************************!*\ | |
| 157 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js ***! | |
| 158 | + \*********************************************************************/ | |
| 159 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 160 | + | |
| 161 | +module.exports = __webpack_require__(/*! core-js/library/fn/reflect/get */ "../node_modules/core-js/library/fn/reflect/get.js"); | |
| 162 | + | |
| 163 | +/***/ }), | |
| 164 | + | |
| 165 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js": | |
| 166 | +/*!****************************************************************!*\ | |
| 167 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol.js ***! | |
| 168 | + \****************************************************************/ | |
| 169 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 170 | + | |
| 171 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol */ "../node_modules/core-js/library/fn/symbol/index.js"); | |
| 172 | + | |
| 173 | +/***/ }), | |
| 174 | + | |
| 175 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol/has-instance.js": | |
| 176 | +/*!*****************************************************************************!*\ | |
| 177 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol/has-instance.js ***! | |
| 178 | + \*****************************************************************************/ | |
| 179 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 180 | + | |
| 181 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol/has-instance */ "../node_modules/core-js/library/fn/symbol/has-instance.js"); | |
| 182 | + | |
| 183 | +/***/ }), | |
| 184 | + | |
| 185 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js": | |
| 186 | +/*!*************************************************************************!*\ | |
| 187 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js ***! | |
| 188 | + \*************************************************************************/ | |
| 189 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 190 | + | |
| 191 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol/iterator */ "../node_modules/core-js/library/fn/symbol/iterator.js"); | |
| 192 | + | |
| 193 | +/***/ }), | |
| 194 | + | |
| 195 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/weak-map.js": | |
| 196 | +/*!******************************************************************!*\ | |
| 197 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/weak-map.js ***! | |
| 198 | + \******************************************************************/ | |
| 199 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 200 | + | |
| 201 | +module.exports = __webpack_require__(/*! core-js/library/fn/weak-map */ "../node_modules/core-js/library/fn/weak-map.js"); | |
| 202 | + | |
| 203 | +/***/ }), | |
| 204 | + | |
| 205 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js": | |
| 206 | +/*!**************************************************************************!*\ | |
| 207 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js ***! | |
| 208 | + \**************************************************************************/ | |
| 209 | +/***/ ((module) => { | |
| 210 | + | |
| 211 | +function _arrayLikeToArray(arr, len) { | |
| 212 | + if (len == null || len > arr.length) len = arr.length; | |
| 213 | + | |
| 214 | + for (var i = 0, arr2 = new Array(len); i < len; i++) { | |
| 215 | + arr2[i] = arr[i]; | |
| 30 | 216 | } |
| 31 | - return (0, _createClass2.default)(BaseRegistry, [{ | |
| 32 | - key: "register", | |
| 33 | - value: function register(section) { | |
| 34 | - var _this = this; | |
| 35 | - if (!section.key || !section.title) { | |
| 36 | - throw new Error('Template type must have key and title'); | |
| 217 | + | |
| 218 | + return arr2; | |
| 219 | +} | |
| 220 | + | |
| 221 | +module.exports = _arrayLikeToArray; | |
| 222 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 223 | + | |
| 224 | +/***/ }), | |
| 225 | + | |
| 226 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js": | |
| 227 | +/*!************************************************************************!*\ | |
| 228 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js ***! | |
| 229 | + \************************************************************************/ | |
| 230 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 231 | + | |
| 232 | +var _Array$isArray = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js"); | |
| 233 | + | |
| 234 | +function _arrayWithHoles(arr) { | |
| 235 | + if (_Array$isArray(arr)) return arr; | |
| 236 | +} | |
| 237 | + | |
| 238 | +module.exports = _arrayWithHoles; | |
| 239 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 240 | + | |
| 241 | +/***/ }), | |
| 242 | + | |
| 243 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js": | |
| 244 | +/*!*******************************************************************************!*\ | |
| 245 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js ***! | |
| 246 | + \*******************************************************************************/ | |
| 247 | +/***/ ((module) => { | |
| 248 | + | |
| 249 | +function _assertThisInitialized(self) { | |
| 250 | + if (self === void 0) { | |
| 251 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 252 | + } | |
| 253 | + | |
| 254 | + return self; | |
| 255 | +} | |
| 256 | + | |
| 257 | +module.exports = _assertThisInitialized; | |
| 258 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 259 | + | |
| 260 | +/***/ }), | |
| 261 | + | |
| 262 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js": | |
| 263 | +/*!**************************************************************************!*\ | |
| 264 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js ***! | |
| 265 | + \**************************************************************************/ | |
| 266 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 267 | + | |
| 268 | +var _Promise = __webpack_require__(/*! @babel/runtime-corejs2/core-js/promise */ "../node_modules/@babel/runtime-corejs2/core-js/promise.js"); | |
| 269 | + | |
| 270 | +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { | |
| 271 | + try { | |
| 272 | + var info = gen[key](arg); | |
| 273 | + var value = info.value; | |
| 274 | + } catch (error) { | |
| 275 | + reject(error); | |
| 276 | + return; | |
| 277 | + } | |
| 278 | + | |
| 279 | + if (info.done) { | |
| 280 | + resolve(value); | |
| 281 | + } else { | |
| 282 | + _Promise.resolve(value).then(_next, _throw); | |
| 283 | + } | |
| 284 | +} | |
| 285 | + | |
| 286 | +function _asyncToGenerator(fn) { | |
| 287 | + return function () { | |
| 288 | + var self = this, | |
| 289 | + args = arguments; | |
| 290 | + return new _Promise(function (resolve, reject) { | |
| 291 | + var gen = fn.apply(self, args); | |
| 292 | + | |
| 293 | + function _next(value) { | |
| 294 | + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); | |
| 37 | 295 | } |
| 38 | - var existingSection = this.get(section.key); | |
| 39 | - var formattedSection = existingSection || this.formatSection(section); | |
| 40 | - if (section.children) { | |
| 41 | - // If existing section has children, merge them with new children | |
| 42 | - if (formattedSection.children) { | |
| 43 | - var existingChildrenMap = new Map(formattedSection.children.map(function (child) { | |
| 44 | - return [child.key, child]; | |
| 45 | - })); | |
| 46 | 296 | |
| 47 | - // Override existing children with new ones and add new children | |
| 48 | - section.children.forEach(function (childSection) { | |
| 49 | - var formattedChild = _this.formatSection(childSection); | |
| 50 | - existingChildrenMap.set(childSection.key, formattedChild); | |
| 51 | - }); | |
| 52 | - formattedSection.children = Array.from(existingChildrenMap.values()); | |
| 53 | - } else { | |
| 54 | - formattedSection.children = section.children.map(function (childSection) { | |
| 55 | - return _this.formatSection(childSection); | |
| 56 | - }); | |
| 57 | - } | |
| 297 | + function _throw(err) { | |
| 298 | + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); | |
| 58 | 299 | } |
| 59 | - this.sections.set(section.key, formattedSection); | |
| 300 | + | |
| 301 | + _next(undefined); | |
| 302 | + }); | |
| 303 | + }; | |
| 304 | +} | |
| 305 | + | |
| 306 | +module.exports = _asyncToGenerator; | |
| 307 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 308 | + | |
| 309 | +/***/ }), | |
| 310 | + | |
| 311 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js": | |
| 312 | +/*!************************************************************************!*\ | |
| 313 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js ***! | |
| 314 | + \************************************************************************/ | |
| 315 | +/***/ ((module) => { | |
| 316 | + | |
| 317 | +function _classCallCheck(instance, Constructor) { | |
| 318 | + if (!(instance instanceof Constructor)) { | |
| 319 | + throw new TypeError("Cannot call a class as a function"); | |
| 320 | + } | |
| 321 | +} | |
| 322 | + | |
| 323 | +module.exports = _classCallCheck; | |
| 324 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 325 | + | |
| 326 | +/***/ }), | |
| 327 | + | |
| 328 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/construct.js": | |
| 329 | +/*!*******************************************************************!*\ | |
| 330 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/construct.js ***! | |
| 331 | + \*******************************************************************/ | |
| 332 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 333 | + | |
| 334 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 335 | + | |
| 336 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js"); | |
| 337 | + | |
| 338 | +var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js"); | |
| 339 | + | |
| 340 | +function _construct(Parent, args, Class) { | |
| 341 | + if (isNativeReflectConstruct()) { | |
| 342 | + module.exports = _construct = _Reflect$construct; | |
| 343 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 344 | + } else { | |
| 345 | + module.exports = _construct = function _construct(Parent, args, Class) { | |
| 346 | + var a = [null]; | |
| 347 | + a.push.apply(a, args); | |
| 348 | + var Constructor = Function.bind.apply(Parent, a); | |
| 349 | + var instance = new Constructor(); | |
| 350 | + if (Class) setPrototypeOf(instance, Class.prototype); | |
| 351 | + return instance; | |
| 352 | + }; | |
| 353 | + | |
| 354 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 355 | + } | |
| 356 | + | |
| 357 | + return _construct.apply(null, arguments); | |
| 358 | +} | |
| 359 | + | |
| 360 | +module.exports = _construct; | |
| 361 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 362 | + | |
| 363 | +/***/ }), | |
| 364 | + | |
| 365 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js": | |
| 366 | +/*!*********************************************************************!*\ | |
| 367 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createClass.js ***! | |
| 368 | + \*********************************************************************/ | |
| 369 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 370 | + | |
| 371 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 372 | + | |
| 373 | +function _defineProperties(target, props) { | |
| 374 | + for (var i = 0; i < props.length; i++) { | |
| 375 | + var descriptor = props[i]; | |
| 376 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 377 | + descriptor.configurable = true; | |
| 378 | + if ("value" in descriptor) descriptor.writable = true; | |
| 379 | + | |
| 380 | + _Object$defineProperty(target, descriptor.key, descriptor); | |
| 381 | + } | |
| 382 | +} | |
| 383 | + | |
| 384 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 385 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 386 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 387 | + return Constructor; | |
| 388 | +} | |
| 389 | + | |
| 390 | +module.exports = _createClass; | |
| 391 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 392 | + | |
| 393 | +/***/ }), | |
| 394 | + | |
| 395 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js": | |
| 396 | +/*!*********************************************************************!*\ | |
| 397 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createSuper.js ***! | |
| 398 | + \*********************************************************************/ | |
| 399 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 400 | + | |
| 401 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 402 | + | |
| 403 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 404 | + | |
| 405 | +var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js"); | |
| 406 | + | |
| 407 | +var possibleConstructorReturn = __webpack_require__(/*! ./possibleConstructorReturn.js */ "../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js"); | |
| 408 | + | |
| 409 | +function _createSuper(Derived) { | |
| 410 | + var hasNativeReflectConstruct = isNativeReflectConstruct(); | |
| 411 | + return function _createSuperInternal() { | |
| 412 | + var Super = getPrototypeOf(Derived), | |
| 413 | + result; | |
| 414 | + | |
| 415 | + if (hasNativeReflectConstruct) { | |
| 416 | + var NewTarget = getPrototypeOf(this).constructor; | |
| 417 | + result = _Reflect$construct(Super, arguments, NewTarget); | |
| 418 | + } else { | |
| 419 | + result = Super.apply(this, arguments); | |
| 60 | 420 | } |
| 61 | - }, { | |
| 62 | - key: "formatSection", | |
| 63 | - value: function formatSection(_ref) { | |
| 64 | - var children = _ref.children, | |
| 65 | - section = (0, _objectWithoutProperties2.default)(_ref, _excluded); | |
| 66 | - return _objectSpread({ | |
| 67 | - key: section.key, | |
| 68 | - title: section.title, | |
| 69 | - description: section.description || '', | |
| 70 | - useParentDefault: section.useParentDefault !== false, | |
| 71 | - getInitialState: section.getInitialState || null, | |
| 72 | - component: section.component || null, | |
| 73 | - order: section.order || 10, | |
| 74 | - isAvailable: section.isAvailable || function () { | |
| 75 | - return true; | |
| 76 | - } | |
| 77 | - }, section); | |
| 78 | - } | |
| 79 | - }, { | |
| 80 | - key: "getAll", | |
| 81 | - value: function getAll() { | |
| 82 | - return Array.from(this.sections.values()).filter(function (type) { | |
| 83 | - return type.isAvailable(); | |
| 84 | - }).map(function (type) { | |
| 85 | - if (type.children) { | |
| 86 | - return _objectSpread(_objectSpread({}, type), {}, { | |
| 87 | - children: (0, _toConsumableArray2.default)(type.children).sort(function (a, b) { | |
| 88 | - return a.order - b.order; | |
| 89 | - }) | |
| 90 | - }); | |
| 91 | - } | |
| 92 | - return type; | |
| 93 | - }).sort(function (a, b) { | |
| 94 | - return a.order - b.order; | |
| 95 | - }); | |
| 96 | - } | |
| 97 | - }, { | |
| 98 | - key: "get", | |
| 99 | - value: function get(key) { | |
| 100 | - return this.sections.get(key); | |
| 101 | - } | |
| 102 | - }]); | |
| 103 | -}(); | |
| 104 | 421 | |
| 422 | + return possibleConstructorReturn(this, result); | |
| 423 | + }; | |
| 424 | +} | |
| 425 | + | |
| 426 | +module.exports = _createSuper; | |
| 427 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 428 | + | |
| 105 | 429 | /***/ }), |
| 106 | 430 | |
| 107 | -/***/ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js": | |
| 108 | -/*!*****************************************************************************************************!*\ | |
| 109 | - !*** ../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js ***! | |
| 110 | - \*****************************************************************************************************/ | |
| 111 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 431 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js": | |
| 432 | +/*!************************************************************************!*\ | |
| 433 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js ***! | |
| 434 | + \************************************************************************/ | |
| 435 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 112 | 436 | |
| 113 | -"use strict"; | |
| 437 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 114 | 438 | |
| 439 | +function _defineProperty(obj, key, value) { | |
| 440 | + if (key in obj) { | |
| 441 | + _Object$defineProperty(obj, key, { | |
| 442 | + value: value, | |
| 443 | + enumerable: true, | |
| 444 | + configurable: true, | |
| 445 | + writable: true | |
| 446 | + }); | |
| 447 | + } else { | |
| 448 | + obj[key] = value; | |
| 449 | + } | |
| 115 | 450 | |
| 116 | -Object.defineProperty(exports, "__esModule", ({ | |
| 117 | - value: true | |
| 118 | -})); | |
| 119 | -exports.customizationDialogsRegistry = void 0; | |
| 120 | -var _base = __webpack_require__(/*! ./base */ "../app/modules/import-export-customization/assets/js/shared/registry/base.js"); | |
| 121 | -var customizationDialogsRegistry = exports.customizationDialogsRegistry = new _base.BaseRegistry(); | |
| 451 | + return obj; | |
| 452 | +} | |
| 122 | 453 | |
| 454 | +module.exports = _defineProperty; | |
| 455 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 456 | + | |
| 123 | 457 | /***/ }), |
| 124 | 458 | |
| 125 | -/***/ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js": | |
| 126 | -/*!******************************************************************************************************!*\ | |
| 127 | - !*** ../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js ***! | |
| 128 | - \******************************************************************************************************/ | |
| 129 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 459 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/get.js": | |
| 460 | +/*!*************************************************************!*\ | |
| 461 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/get.js ***! | |
| 462 | + \*************************************************************/ | |
| 463 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 130 | 464 | |
| 131 | -"use strict"; | |
| 465 | +var _Reflect$get = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/get */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js"); | |
| 132 | 466 | |
| 467 | +var _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/get-own-property-descriptor */ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js"); | |
| 133 | 468 | |
| 134 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 135 | -Object.defineProperty(exports, "__esModule", ({ | |
| 136 | - value: true | |
| 137 | -})); | |
| 138 | -exports.createGetInitialState = createGetInitialState; | |
| 139 | -var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); | |
| 140 | -function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | |
| 141 | -function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | |
| 142 | -function createGetInitialState(exportGroup) { | |
| 143 | - var additionalProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 144 | - return function (data, parentInitialState) { | |
| 145 | - var isEnabled = parentInitialState; | |
| 146 | - var isImport = data.hasOwnProperty('uploadedData'); | |
| 147 | - if (isImport) { | |
| 148 | - var _elementorAppConfig; | |
| 149 | - isEnabled = false; | |
| 150 | - var templates = data.uploadedData.manifest.templates; | |
| 151 | - var exportGroups = ((_elementorAppConfig = elementorAppConfig) === null || _elementorAppConfig === void 0 || (_elementorAppConfig = _elementorAppConfig['import-export-customization']) === null || _elementorAppConfig === void 0 ? void 0 : _elementorAppConfig.exportGroups) || {}; | |
| 152 | - for (var templateId in templates) { | |
| 153 | - var template = templates[templateId]; | |
| 154 | - var templateExportGroup = exportGroups[template.doc_type]; | |
| 155 | - if (templateExportGroup === exportGroup) { | |
| 156 | - isEnabled = true; | |
| 157 | - break; | |
| 158 | - } | |
| 469 | +var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js"); | |
| 470 | + | |
| 471 | +function _get(target, property, receiver) { | |
| 472 | + if (typeof Reflect !== "undefined" && _Reflect$get) { | |
| 473 | + module.exports = _get = _Reflect$get; | |
| 474 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 475 | + } else { | |
| 476 | + module.exports = _get = function _get(target, property, receiver) { | |
| 477 | + var base = superPropBase(target, property); | |
| 478 | + if (!base) return; | |
| 479 | + | |
| 480 | + var desc = _Object$getOwnPropertyDescriptor(base, property); | |
| 481 | + | |
| 482 | + if (desc.get) { | |
| 483 | + return desc.get.call(receiver); | |
| 159 | 484 | } |
| 485 | + | |
| 486 | + return desc.value; | |
| 487 | + }; | |
| 488 | + | |
| 489 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 490 | + } | |
| 491 | + | |
| 492 | + return _get(target, property, receiver || target); | |
| 493 | +} | |
| 494 | + | |
| 495 | +module.exports = _get; | |
| 496 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 497 | + | |
| 498 | +/***/ }), | |
| 499 | + | |
| 500 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js": | |
| 501 | +/*!************************************************************************!*\ | |
| 502 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js ***! | |
| 503 | + \************************************************************************/ | |
| 504 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 505 | + | |
| 506 | +var _Object$setPrototypeOf = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/set-prototype-of */ "../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js"); | |
| 507 | + | |
| 508 | +var _Object$getPrototypeOf = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/get-prototype-of */ "../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js"); | |
| 509 | + | |
| 510 | +function _getPrototypeOf(o) { | |
| 511 | + module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) { | |
| 512 | + return o.__proto__ || _Object$getPrototypeOf(o); | |
| 513 | + }; | |
| 514 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 515 | + return _getPrototypeOf(o); | |
| 516 | +} | |
| 517 | + | |
| 518 | +module.exports = _getPrototypeOf; | |
| 519 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 520 | + | |
| 521 | +/***/ }), | |
| 522 | + | |
| 523 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js": | |
| 524 | +/*!******************************************************************!*\ | |
| 525 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/inherits.js ***! | |
| 526 | + \******************************************************************/ | |
| 527 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 528 | + | |
| 529 | +var _Object$create = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/create */ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js"); | |
| 530 | + | |
| 531 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js"); | |
| 532 | + | |
| 533 | +function _inherits(subClass, superClass) { | |
| 534 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 535 | + throw new TypeError("Super expression must either be null or a function"); | |
| 536 | + } | |
| 537 | + | |
| 538 | + subClass.prototype = _Object$create(superClass && superClass.prototype, { | |
| 539 | + constructor: { | |
| 540 | + value: subClass, | |
| 541 | + writable: true, | |
| 542 | + configurable: true | |
| 160 | 543 | } |
| 161 | - return _objectSpread({ | |
| 162 | - enabled: isEnabled | |
| 163 | - }, additionalProps); | |
| 544 | + }); | |
| 545 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 546 | +} | |
| 547 | + | |
| 548 | +module.exports = _inherits; | |
| 549 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 550 | + | |
| 551 | +/***/ }), | |
| 552 | + | |
| 553 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js": | |
| 554 | +/*!*******************************************************************************!*\ | |
| 555 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js ***! | |
| 556 | + \*******************************************************************************/ | |
| 557 | +/***/ ((module) => { | |
| 558 | + | |
| 559 | +function _interopRequireDefault(obj) { | |
| 560 | + return obj && obj.__esModule ? obj : { | |
| 561 | + "default": obj | |
| 164 | 562 | }; |
| 165 | 563 | } |
| 166 | 564 | |
| 565 | +module.exports = _interopRequireDefault; | |
| 566 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 567 | + | |
| 167 | 568 | /***/ }), |
| 168 | 569 | |
| 169 | -/***/ "../assets/dev/js/editor/utils/is-instanceof.js": | |
| 170 | -/*!******************************************************!*\ | |
| 171 | - !*** ../assets/dev/js/editor/utils/is-instanceof.js ***! | |
| 172 | - \******************************************************/ | |
| 173 | -/***/ ((__unused_webpack_module, exports) => { | |
| 570 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js": | |
| 571 | +/*!********************************************************************************!*\ | |
| 572 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js ***! | |
| 573 | + \********************************************************************************/ | |
| 574 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 174 | 575 | |
| 175 | -"use strict"; | |
| 576 | +var _typeof = __webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js").default; | |
| 176 | 577 | |
| 578 | +var _WeakMap = __webpack_require__(/*! @babel/runtime-corejs2/core-js/weak-map */ "../node_modules/@babel/runtime-corejs2/core-js/weak-map.js"); | |
| 177 | 579 | |
| 178 | -Object.defineProperty(exports, "__esModule", ({ | |
| 179 | - value: true | |
| 180 | -})); | |
| 181 | -exports["default"] = void 0; | |
| 182 | -function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; } | |
| 183 | -function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } | |
| 184 | -function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } | |
| 185 | -/** | |
| 186 | - * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved | |
| 187 | - * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can | |
| 188 | - * check whether it's instanceof by using the objects constructor and prototype names. | |
| 189 | - * | |
| 190 | - * @param object | |
| 191 | - * @param constructors | |
| 192 | - * @return {boolean} | |
| 193 | - */ | |
| 194 | -var _default = exports["default"] = function _default(object, constructors) { | |
| 195 | - constructors = Array.isArray(constructors) ? constructors : [constructors]; | |
| 196 | - var _iterator = _createForOfIteratorHelper(constructors), | |
| 197 | - _step; | |
| 580 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 581 | + | |
| 582 | +var _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/get-own-property-descriptor */ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js"); | |
| 583 | + | |
| 584 | +function _getRequireWildcardCache(nodeInterop) { | |
| 585 | + if (typeof _WeakMap !== "function") return null; | |
| 586 | + var cacheBabelInterop = new _WeakMap(); | |
| 587 | + var cacheNodeInterop = new _WeakMap(); | |
| 588 | + return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { | |
| 589 | + return nodeInterop ? cacheNodeInterop : cacheBabelInterop; | |
| 590 | + })(nodeInterop); | |
| 591 | +} | |
| 592 | + | |
| 593 | +function _interopRequireWildcard(obj, nodeInterop) { | |
| 594 | + if (!nodeInterop && obj && obj.__esModule) { | |
| 595 | + return obj; | |
| 596 | + } | |
| 597 | + | |
| 598 | + if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { | |
| 599 | + return { | |
| 600 | + "default": obj | |
| 601 | + }; | |
| 602 | + } | |
| 603 | + | |
| 604 | + var cache = _getRequireWildcardCache(nodeInterop); | |
| 605 | + | |
| 606 | + if (cache && cache.has(obj)) { | |
| 607 | + return cache.get(obj); | |
| 608 | + } | |
| 609 | + | |
| 610 | + var newObj = {}; | |
| 611 | + var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; | |
| 612 | + | |
| 613 | + for (var key in obj) { | |
| 614 | + if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { | |
| 615 | + var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; | |
| 616 | + | |
| 617 | + if (desc && (desc.get || desc.set)) { | |
| 618 | + _Object$defineProperty(newObj, key, desc); | |
| 619 | + } else { | |
| 620 | + newObj[key] = obj[key]; | |
| 621 | + } | |
| 622 | + } | |
| 623 | + } | |
| 624 | + | |
| 625 | + newObj["default"] = obj; | |
| 626 | + | |
| 627 | + if (cache) { | |
| 628 | + cache.set(obj, newObj); | |
| 629 | + } | |
| 630 | + | |
| 631 | + return newObj; | |
| 632 | +} | |
| 633 | + | |
| 634 | +module.exports = _interopRequireWildcard; | |
| 635 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 636 | + | |
| 637 | +/***/ }), | |
| 638 | + | |
| 639 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/isNativeFunction.js": | |
| 640 | +/*!**************************************************************************!*\ | |
| 641 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/isNativeFunction.js ***! | |
| 642 | + \**************************************************************************/ | |
| 643 | +/***/ ((module) => { | |
| 644 | + | |
| 645 | +function _isNativeFunction(fn) { | |
| 646 | + return Function.toString.call(fn).indexOf("[native code]") !== -1; | |
| 647 | +} | |
| 648 | + | |
| 649 | +module.exports = _isNativeFunction; | |
| 650 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 651 | + | |
| 652 | +/***/ }), | |
| 653 | + | |
| 654 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js": | |
| 655 | +/*!**********************************************************************************!*\ | |
| 656 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js ***! | |
| 657 | + \**********************************************************************************/ | |
| 658 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 659 | + | |
| 660 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 661 | + | |
| 662 | +function _isNativeReflectConstruct() { | |
| 663 | + if (typeof Reflect === "undefined" || !_Reflect$construct) return false; | |
| 664 | + if (_Reflect$construct.sham) return false; | |
| 665 | + if (typeof Proxy === "function") return true; | |
| 666 | + | |
| 198 | 667 | try { |
| 199 | - for (_iterator.s(); !(_step = _iterator.n()).done;) { | |
| 200 | - var constructor = _step.value; | |
| 201 | - if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) { | |
| 202 | - return true; | |
| 203 | - } | |
| 668 | + Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); | |
| 669 | + return true; | |
| 670 | + } catch (e) { | |
| 671 | + return false; | |
| 672 | + } | |
| 673 | +} | |
| 674 | + | |
| 675 | +module.exports = _isNativeReflectConstruct; | |
| 676 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 677 | + | |
| 678 | +/***/ }), | |
| 679 | + | |
| 680 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js": | |
| 681 | +/*!******************************************************************************!*\ | |
| 682 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js ***! | |
| 683 | + \******************************************************************************/ | |
| 684 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 685 | + | |
| 686 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 687 | + | |
| 688 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 689 | + | |
| 690 | +function _iterableToArrayLimit(arr, i) { | |
| 691 | + var _i = arr == null ? null : typeof _Symbol !== "undefined" && arr[_Symbol$iterator] || arr["@@iterator"]; | |
| 692 | + | |
| 693 | + if (_i == null) return; | |
| 694 | + var _arr = []; | |
| 695 | + var _n = true; | |
| 696 | + var _d = false; | |
| 697 | + | |
| 698 | + var _s, _e; | |
| 699 | + | |
| 700 | + try { | |
| 701 | + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { | |
| 702 | + _arr.push(_s.value); | |
| 703 | + | |
| 704 | + if (i && _arr.length === i) break; | |
| 204 | 705 | } |
| 205 | 706 | } catch (err) { |
| 206 | - _iterator.e(err); | |
| 707 | + _d = true; | |
| 708 | + _e = err; | |
| 207 | 709 | } finally { |
| 208 | - _iterator.f(); | |
| 710 | + try { | |
| 711 | + if (!_n && _i["return"] != null) _i["return"](); | |
| 712 | + } finally { | |
| 713 | + if (_d) throw _e; | |
| 714 | + } | |
| 209 | 715 | } |
| 210 | - return false; | |
| 211 | -}; | |
| 212 | 716 | |
| 717 | + return _arr; | |
| 718 | +} | |
| 719 | + | |
| 720 | +module.exports = _iterableToArrayLimit; | |
| 721 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 722 | + | |
| 213 | 723 | /***/ }), |
| 214 | 724 | |
| 725 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js": | |
| 726 | +/*!*************************************************************************!*\ | |
| 727 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js ***! | |
| 728 | + \*************************************************************************/ | |
| 729 | +/***/ ((module) => { | |
| 730 | + | |
| 731 | +function _nonIterableRest() { | |
| 732 | + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 733 | +} | |
| 734 | + | |
| 735 | +module.exports = _nonIterableRest; | |
| 736 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 737 | + | |
| 738 | +/***/ }), | |
| 739 | + | |
| 740 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js": | |
| 741 | +/*!***********************************************************************************!*\ | |
| 742 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js ***! | |
| 743 | + \***********************************************************************************/ | |
| 744 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 745 | + | |
| 746 | +var _typeof = __webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js").default; | |
| 747 | + | |
| 748 | +var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js"); | |
| 749 | + | |
| 750 | +function _possibleConstructorReturn(self, call) { | |
| 751 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 752 | + return call; | |
| 753 | + } | |
| 754 | + | |
| 755 | + return assertThisInitialized(self); | |
| 756 | +} | |
| 757 | + | |
| 758 | +module.exports = _possibleConstructorReturn; | |
| 759 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 760 | + | |
| 761 | +/***/ }), | |
| 762 | + | |
| 763 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js": | |
| 764 | +/*!************************************************************************!*\ | |
| 765 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js ***! | |
| 766 | + \************************************************************************/ | |
| 767 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 768 | + | |
| 769 | +var _Object$setPrototypeOf = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/set-prototype-of */ "../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js"); | |
| 770 | + | |
| 771 | +function _setPrototypeOf(o, p) { | |
| 772 | + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) { | |
| 773 | + o.__proto__ = p; | |
| 774 | + return o; | |
| 775 | + }; | |
| 776 | + | |
| 777 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 778 | + return _setPrototypeOf(o, p); | |
| 779 | +} | |
| 780 | + | |
| 781 | +module.exports = _setPrototypeOf; | |
| 782 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 783 | + | |
| 784 | +/***/ }), | |
| 785 | + | |
| 786 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js": | |
| 787 | +/*!***********************************************************************!*\ | |
| 788 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js ***! | |
| 789 | + \***********************************************************************/ | |
| 790 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 791 | + | |
| 792 | +var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js"); | |
| 793 | + | |
| 794 | +var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js"); | |
| 795 | + | |
| 796 | +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js"); | |
| 797 | + | |
| 798 | +var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js"); | |
| 799 | + | |
| 800 | +function _slicedToArray(arr, i) { | |
| 801 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 802 | +} | |
| 803 | + | |
| 804 | +module.exports = _slicedToArray; | |
| 805 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 806 | + | |
| 807 | +/***/ }), | |
| 808 | + | |
| 809 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js": | |
| 810 | +/*!***********************************************************************!*\ | |
| 811 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js ***! | |
| 812 | + \***********************************************************************/ | |
| 813 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 814 | + | |
| 815 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 816 | + | |
| 817 | +function _superPropBase(object, property) { | |
| 818 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 819 | + object = getPrototypeOf(object); | |
| 820 | + if (object === null) break; | |
| 821 | + } | |
| 822 | + | |
| 823 | + return object; | |
| 824 | +} | |
| 825 | + | |
| 826 | +module.exports = _superPropBase; | |
| 827 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 828 | + | |
| 829 | +/***/ }), | |
| 830 | + | |
| 831 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js": | |
| 832 | +/*!****************************************************************!*\ | |
| 833 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/typeof.js ***! | |
| 834 | + \****************************************************************/ | |
| 835 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 836 | + | |
| 837 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 838 | + | |
| 839 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 840 | + | |
| 841 | +function _typeof(obj) { | |
| 842 | + "@babel/helpers - typeof"; | |
| 843 | + | |
| 844 | + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { | |
| 845 | + module.exports = _typeof = function _typeof(obj) { | |
| 846 | + return typeof obj; | |
| 847 | + }; | |
| 848 | + | |
| 849 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 850 | + } else { | |
| 851 | + module.exports = _typeof = function _typeof(obj) { | |
| 852 | + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; | |
| 853 | + }; | |
| 854 | + | |
| 855 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 856 | + } | |
| 857 | + | |
| 858 | + return _typeof(obj); | |
| 859 | +} | |
| 860 | + | |
| 861 | +module.exports = _typeof; | |
| 862 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 863 | + | |
| 864 | +/***/ }), | |
| 865 | + | |
| 866 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js": | |
| 867 | +/*!************************************************************************************!*\ | |
| 868 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js ***! | |
| 869 | + \************************************************************************************/ | |
| 870 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 871 | + | |
| 872 | +var _Array$from = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/from */ "../node_modules/@babel/runtime-corejs2/core-js/array/from.js"); | |
| 873 | + | |
| 874 | +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js"); | |
| 875 | + | |
| 876 | +function _unsupportedIterableToArray(o, minLen) { | |
| 877 | + if (!o) return; | |
| 878 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 879 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 880 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 881 | + if (n === "Map" || n === "Set") return _Array$from(o); | |
| 882 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 883 | +} | |
| 884 | + | |
| 885 | +module.exports = _unsupportedIterableToArray; | |
| 886 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 887 | + | |
| 888 | +/***/ }), | |
| 889 | + | |
| 890 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/wrapNativeSuper.js": | |
| 891 | +/*!*************************************************************************!*\ | |
| 892 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/wrapNativeSuper.js ***! | |
| 893 | + \*************************************************************************/ | |
| 894 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 895 | + | |
| 896 | +var _Map = __webpack_require__(/*! @babel/runtime-corejs2/core-js/map */ "../node_modules/@babel/runtime-corejs2/core-js/map.js"); | |
| 897 | + | |
| 898 | +var _Object$create = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/create */ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js"); | |
| 899 | + | |
| 900 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 901 | + | |
| 902 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js"); | |
| 903 | + | |
| 904 | +var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../node_modules/@babel/runtime-corejs2/helpers/isNativeFunction.js"); | |
| 905 | + | |
| 906 | +var construct = __webpack_require__(/*! ./construct.js */ "../node_modules/@babel/runtime-corejs2/helpers/construct.js"); | |
| 907 | + | |
| 908 | +function _wrapNativeSuper(Class) { | |
| 909 | + var _cache = typeof _Map === "function" ? new _Map() : undefined; | |
| 910 | + | |
| 911 | + module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { | |
| 912 | + if (Class === null || !isNativeFunction(Class)) return Class; | |
| 913 | + | |
| 914 | + if (typeof Class !== "function") { | |
| 915 | + throw new TypeError("Super expression must either be null or a function"); | |
| 916 | + } | |
| 917 | + | |
| 918 | + if (typeof _cache !== "undefined") { | |
| 919 | + if (_cache.has(Class)) return _cache.get(Class); | |
| 920 | + | |
| 921 | + _cache.set(Class, Wrapper); | |
| 922 | + } | |
| 923 | + | |
| 924 | + function Wrapper() { | |
| 925 | + return construct(Class, arguments, getPrototypeOf(this).constructor); | |
| 926 | + } | |
| 927 | + | |
| 928 | + Wrapper.prototype = _Object$create(Class.prototype, { | |
| 929 | + constructor: { | |
| 930 | + value: Wrapper, | |
| 931 | + enumerable: false, | |
| 932 | + writable: true, | |
| 933 | + configurable: true | |
| 934 | + } | |
| 935 | + }); | |
| 936 | + return setPrototypeOf(Wrapper, Class); | |
| 937 | + }; | |
| 938 | + | |
| 939 | + module.exports.default = module.exports, module.exports.__esModule = true; | |
| 940 | + return _wrapNativeSuper(Class); | |
| 941 | +} | |
| 942 | + | |
| 943 | +module.exports = _wrapNativeSuper; | |
| 944 | +module.exports.default = module.exports, module.exports.__esModule = true; | |
| 945 | + | |
| 946 | +/***/ }), | |
| 947 | + | |
| 948 | +/***/ "../node_modules/@babel/runtime/regenerator/index.js": | |
| 949 | +/*!***********************************************************!*\ | |
| 950 | + !*** ../node_modules/@babel/runtime/regenerator/index.js ***! | |
| 951 | + \***********************************************************/ | |
| 952 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 953 | + | |
| 954 | +module.exports = __webpack_require__(/*! regenerator-runtime */ "../node_modules/regenerator-runtime/runtime.js"); | |
| 955 | + | |
| 956 | + | |
| 957 | +/***/ }), | |
| 958 | + | |
| 215 | 959 | /***/ "../assets/dev/js/modules/imports/args-object.js": |
| 216 | 960 | /*!*******************************************************!*\ |
| 217 | 961 | !*** ../assets/dev/js/modules/imports/args-object.js ***! |
| 218 | 962 | \*******************************************************/ |
| @@ -220,24 +964,35 @@ | ||
| 220 | 964 | |
| 221 | 965 | "use strict"; |
| 222 | 966 | |
| 223 | 967 | |
| 224 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 225 | -Object.defineProperty(exports, "__esModule", ({ | |
| 968 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 969 | + | |
| 970 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 971 | + | |
| 972 | +_Object$defineProperty(exports, "__esModule", { | |
| 226 | 973 | value: true |
| 227 | -})); | |
| 228 | -exports["default"] = void 0; | |
| 229 | -var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js")); | |
| 230 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 231 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 232 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 233 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 234 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 974 | +}); | |
| 975 | + | |
| 976 | +exports.default = void 0; | |
| 977 | + | |
| 978 | +var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")); | |
| 979 | + | |
| 980 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 981 | + | |
| 982 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 983 | + | |
| 984 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 985 | + | |
| 986 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 987 | + | |
| 235 | 988 | var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); |
| 236 | -var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); | |
| 237 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 238 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 239 | -var ArgsObject = exports["default"] = /*#__PURE__*/function (_InstanceType) { | |
| 989 | + | |
| 990 | +var ArgsObject = /*#__PURE__*/function (_InstanceType) { | |
| 991 | + (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 992 | + | |
| 993 | + var _super = (0, _createSuper2.default)(ArgsObject); | |
| 994 | + | |
| 240 | 995 | /** |
| 241 | 996 | * Function constructor(). |
| 242 | 997 | * |
| 243 | 998 | * Create ArgsObject. |
| @@ -245,14 +1000,14 @@ | ||
| 245 | 1000 | * @param {{}} args |
| 246 | 1001 | */ |
| 247 | 1002 | function ArgsObject(args) { |
| 248 | 1003 | var _this; |
| 1004 | + | |
| 249 | 1005 | (0, _classCallCheck2.default)(this, ArgsObject); |
| 250 | - _this = _callSuper(this, ArgsObject); | |
| 1006 | + _this = _super.call(this); | |
| 251 | 1007 | _this.args = args; |
| 252 | 1008 | return _this; |
| 253 | 1009 | } |
| 254 | - | |
| 255 | 1010 | /** |
| 256 | 1011 | * Function requireArgument(). |
| 257 | 1012 | * |
| 258 | 1013 | * Validate property in args. |
| @@ -257,22 +1012,24 @@ | ||
| 257 | 1012 | * |
| 258 | 1013 | * Validate property in args. |
| 259 | 1014 | * |
| 260 | 1015 | * @param {string} property |
| 261 | - * @param {{}} args | |
| 1016 | + * @param {{}} args | |
| 262 | 1017 | * |
| 263 | 1018 | * @throws {Error} |
| 1019 | + * | |
| 264 | 1020 | */ |
| 265 | - (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 266 | - return (0, _createClass2.default)(ArgsObject, [{ | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + (0, _createClass2.default)(ArgsObject, [{ | |
| 267 | 1024 | key: "requireArgument", |
| 268 | 1025 | value: function requireArgument(property) { |
| 269 | 1026 | var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; |
| 270 | - if (!Object.prototype.hasOwnProperty.call(args, property)) { | |
| 1027 | + | |
| 1028 | + if (!args.hasOwnProperty(property)) { | |
| 271 | 1029 | throw Error("".concat(property, " is required.")); |
| 272 | 1030 | } |
| 273 | 1031 | } |
| 274 | - | |
| 275 | 1032 | /** |
| 276 | 1033 | * Function requireArgumentType(). |
| 277 | 1034 | * |
| 278 | 1035 | * Validate property in args using `type === typeof(args.whatever)`. |
| @@ -278,22 +1035,24 @@ | ||
| 278 | 1035 | * Validate property in args using `type === typeof(args.whatever)`. |
| 279 | 1036 | * |
| 280 | 1037 | * @param {string} property |
| 281 | 1038 | * @param {string} type |
| 282 | - * @param {{}} args | |
| 1039 | + * @param {{}} args | |
| 283 | 1040 | * |
| 284 | 1041 | * @throws {Error} |
| 1042 | + * | |
| 285 | 1043 | */ |
| 1044 | + | |
| 286 | 1045 | }, { |
| 287 | 1046 | key: "requireArgumentType", |
| 288 | 1047 | value: function requireArgumentType(property, type) { |
| 289 | 1048 | var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| 290 | 1049 | this.requireArgument(property, args); |
| 1050 | + | |
| 291 | 1051 | if ((0, _typeof2.default)(args[property]) !== type) { |
| 292 | 1052 | throw Error("".concat(property, " invalid type: ").concat(type, ".")); |
| 293 | 1053 | } |
| 294 | 1054 | } |
| 295 | - | |
| 296 | 1055 | /** |
| 297 | 1056 | * Function requireArgumentInstance(). |
| 298 | 1057 | * |
| 299 | 1058 | * Validate property in args using `args.whatever instanceof instance`. |
| @@ -298,23 +1057,25 @@ | ||
| 298 | 1057 | * |
| 299 | 1058 | * Validate property in args using `args.whatever instanceof instance`. |
| 300 | 1059 | * |
| 301 | 1060 | * @param {string} property |
| 302 | - * @param {*} instance | |
| 303 | - * @param {{}} args | |
| 1061 | + * @param {instanceof} instance | |
| 1062 | + * @param {{}} args | |
| 304 | 1063 | * |
| 305 | 1064 | * @throws {Error} |
| 1065 | + * | |
| 306 | 1066 | */ |
| 1067 | + | |
| 307 | 1068 | }, { |
| 308 | 1069 | key: "requireArgumentInstance", |
| 309 | 1070 | value: function requireArgumentInstance(property, instance) { |
| 310 | 1071 | var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| 311 | 1072 | this.requireArgument(property, args); |
| 312 | - if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { | |
| 1073 | + | |
| 1074 | + if (!(args[property] instanceof instance)) { | |
| 313 | 1075 | throw Error("".concat(property, " invalid instance.")); |
| 314 | 1076 | } |
| 315 | 1077 | } |
| 316 | - | |
| 317 | 1078 | /** |
| 318 | 1079 | * Function requireArgumentConstructor(). |
| 319 | 1080 | * |
| 320 | 1081 | * Validate property in args using `type === args.whatever.constructor`. |
| @@ -319,13 +1080,15 @@ | ||
| 319 | 1080 | * |
| 320 | 1081 | * Validate property in args using `type === args.whatever.constructor`. |
| 321 | 1082 | * |
| 322 | 1083 | * @param {string} property |
| 323 | - * @param {*} type | |
| 324 | - * @param {{}} args | |
| 1084 | + * @param {*} type | |
| 1085 | + * @param {{}} args | |
| 325 | 1086 | * |
| 326 | 1087 | * @throws {Error} |
| 1088 | + * | |
| 327 | 1089 | */ |
| 1090 | + | |
| 328 | 1091 | }, { |
| 329 | 1092 | key: "requireArgumentConstructor", |
| 330 | 1093 | value: function requireArgumentConstructor(property, type) { |
| 331 | 1094 | var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| @@ -330,11 +1093,9 @@ | ||
| 330 | 1093 | value: function requireArgumentConstructor(property, type) { |
| 331 | 1094 | var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| 332 | 1095 | this.requireArgument(property, args); |
| 333 | 1096 | |
| 334 | - // Note: Converting the constructor to string in order to avoid equation issues | |
| 335 | - // due to different memory addresses between iframes (window.Object !== window.top.Object). | |
| 336 | - if (args[property].constructor.toString() !== type.prototype.constructor.toString()) { | |
| 1097 | + if (args[property].constructor !== type) { | |
| 337 | 1098 | throw Error("".concat(property, " invalid constructor type.")); |
| 338 | 1099 | } |
| 339 | 1100 | } |
| 340 | 1101 | }], [{ |
| @@ -342,10 +1103,13 @@ | ||
| 342 | 1103 | value: function getInstanceType() { |
| 343 | 1104 | return 'ArgsObject'; |
| 344 | 1105 | } |
| 345 | 1106 | }]); |
| 1107 | + return ArgsObject; | |
| 346 | 1108 | }(_instanceType.default); |
| 347 | 1109 | |
| 1110 | +exports.default = ArgsObject; | |
| 1111 | + | |
| 348 | 1112 | /***/ }), |
| 349 | 1113 | |
| 350 | 1114 | /***/ "../assets/dev/js/modules/imports/force-method-implementation.js": |
| 351 | 1115 | /*!***********************************************************************!*\ |
| @@ -355,48 +1119,65 @@ | ||
| 355 | 1119 | |
| 356 | 1120 | "use strict"; |
| 357 | 1121 | |
| 358 | 1122 | |
| 359 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 360 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1123 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 1124 | + | |
| 1125 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1126 | + | |
| 1127 | +_Object$defineProperty(exports, "__esModule", { | |
| 361 | 1128 | value: true |
| 362 | -})); | |
| 363 | -exports["default"] = exports.ForceMethodImplementation = void 0; | |
| 364 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 365 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 366 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 367 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 368 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 369 | -var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js")); | |
| 370 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 371 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1129 | +}); | |
| 1130 | + | |
| 1131 | +exports.default = exports.ForceMethodImplementation = void 0; | |
| 1132 | + | |
| 1133 | +__webpack_require__(/*! core-js/modules/es6.regexp.split.js */ "../node_modules/core-js/modules/es6.regexp.split.js"); | |
| 1134 | + | |
| 1135 | +__webpack_require__(/*! core-js/modules/es6.string.starts-with.js */ "../node_modules/core-js/modules/es6.string.starts-with.js"); | |
| 1136 | + | |
| 1137 | +__webpack_require__(/*! core-js/modules/es6.string.includes.js */ "../node_modules/core-js/modules/es6.string.includes.js"); | |
| 1138 | + | |
| 1139 | +__webpack_require__(/*! core-js/modules/es7.array.includes.js */ "../node_modules/core-js/modules/es7.array.includes.js"); | |
| 1140 | + | |
| 1141 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 1142 | + | |
| 1143 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/assertThisInitialized */ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js")); | |
| 1144 | + | |
| 1145 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 1146 | + | |
| 1147 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 1148 | + | |
| 1149 | +var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime-corejs2/helpers/wrapNativeSuper.js")); | |
| 1150 | + | |
| 372 | 1151 | // TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; |
| 373 | -var ForceMethodImplementation = exports.ForceMethodImplementation = /*#__PURE__*/function (_Error) { | |
| 1152 | +var ForceMethodImplementation = /*#__PURE__*/function (_Error) { | |
| 1153 | + (0, _inherits2.default)(ForceMethodImplementation, _Error); | |
| 1154 | + | |
| 1155 | + var _super = (0, _createSuper2.default)(ForceMethodImplementation); | |
| 1156 | + | |
| 374 | 1157 | function ForceMethodImplementation() { |
| 375 | 1158 | var _this; |
| 1159 | + | |
| 376 | 1160 | var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 377 | - var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 378 | 1161 | (0, _classCallCheck2.default)(this, ForceMethodImplementation); |
| 379 | - _this = _callSuper(this, ForceMethodImplementation, ["".concat(info.isStatic ? 'static ' : '').concat(info.fullName, "() should be implemented, please provide '").concat(info.functionName || info.fullName, "' functionality."), args]); | |
| 380 | - | |
| 381 | - // Allow to pass custom properties to the error. | |
| 382 | - if (Object.keys(args).length) { | |
| 383 | - // eslint-disable-next-line no-console | |
| 384 | - console.error(args); | |
| 385 | - } | |
| 386 | - Error.captureStackTrace(_this, ForceMethodImplementation); | |
| 1162 | + _this = _super.call(this, "".concat(info.isStatic ? 'static ' : '').concat(info.fullName, "() should be implemented, please provide '").concat(info.functionName || info.fullName, "' functionality.")); | |
| 1163 | + Error.captureStackTrace((0, _assertThisInitialized2.default)(_this), ForceMethodImplementation); | |
| 387 | 1164 | return _this; |
| 388 | 1165 | } |
| 389 | - (0, _inherits2.default)(ForceMethodImplementation, _Error); | |
| 390 | - return (0, _createClass2.default)(ForceMethodImplementation); | |
| 391 | -}(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 392 | -var _default = exports["default"] = function _default(args) { | |
| 1166 | + | |
| 1167 | + return ForceMethodImplementation; | |
| 1168 | +}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 1169 | + | |
| 1170 | +exports.ForceMethodImplementation = ForceMethodImplementation; | |
| 1171 | + | |
| 1172 | +var _default = function _default() { | |
| 393 | 1173 | var stack = Error().stack, |
| 394 | - caller = stack.split('\n')[2].trim(), | |
| 395 | - callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], | |
| 396 | - info = {}; | |
| 1174 | + caller = stack.split('\n')[2].trim(), | |
| 1175 | + callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], | |
| 1176 | + info = {}; | |
| 397 | 1177 | info.functionName = callerName; |
| 398 | 1178 | info.fullName = callerName; |
| 1179 | + | |
| 399 | 1180 | if (info.functionName.includes('.')) { |
| 400 | 1181 | var parts = info.functionName.split('.'); |
| 401 | 1182 | info.className = parts[0]; |
| 402 | 1183 | info.functionName = parts[1]; |
| @@ -402,11 +1183,14 @@ | ||
| 402 | 1183 | info.functionName = parts[1]; |
| 403 | 1184 | } else { |
| 404 | 1185 | info.isStatic = true; |
| 405 | 1186 | } |
| 406 | - throw new ForceMethodImplementation(info, args); | |
| 1187 | + | |
| 1188 | + throw new ForceMethodImplementation(info); | |
| 407 | 1189 | }; |
| 408 | 1190 | |
| 1191 | +exports.default = _default; | |
| 1192 | + | |
| 409 | 1193 | /***/ }), |
| 410 | 1194 | |
| 411 | 1195 | /***/ "../assets/dev/js/modules/imports/instance-type.js": |
| 412 | 1196 | /*!*********************************************************!*\ |
| @@ -416,35 +1200,53 @@ | ||
| 416 | 1200 | |
| 417 | 1201 | "use strict"; |
| 418 | 1202 | |
| 419 | 1203 | |
| 420 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 421 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1204 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 1205 | + | |
| 1206 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1207 | + | |
| 1208 | +_Object$defineProperty(exports, "__esModule", { | |
| 422 | 1209 | value: true |
| 423 | -})); | |
| 424 | -exports["default"] = void 0; | |
| 425 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 426 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 427 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 428 | -var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js")); | |
| 429 | -function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; } | |
| 430 | -var InstanceType = exports["default"] = /*#__PURE__*/function () { | |
| 1210 | +}); | |
| 1211 | + | |
| 1212 | +exports.default = void 0; | |
| 1213 | + | |
| 1214 | +var _hasInstance = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/has-instance */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/has-instance.js")); | |
| 1215 | + | |
| 1216 | +var _isArray = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js")); | |
| 1217 | + | |
| 1218 | +__webpack_require__(/*! core-js/modules/es6.function.name.js */ "../node_modules/core-js/modules/es6.function.name.js"); | |
| 1219 | + | |
| 1220 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 1221 | + | |
| 1222 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 1223 | + | |
| 1224 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/get */ "../node_modules/@babel/runtime-corejs2/helpers/get.js")); | |
| 1225 | + | |
| 1226 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/getPrototypeOf */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js")); | |
| 1227 | + | |
| 1228 | +var InstanceType = /*#__PURE__*/function () { | |
| 431 | 1229 | function InstanceType() { |
| 432 | 1230 | var _this = this; |
| 1231 | + | |
| 433 | 1232 | (0, _classCallCheck2.default)(this, InstanceType); |
| 434 | 1233 | // Since anonymous classes sometimes do not get validated by babel, do it manually. |
| 435 | 1234 | var target = this instanceof InstanceType ? this.constructor : void 0; |
| 436 | 1235 | var prototypes = []; |
| 1236 | + | |
| 437 | 1237 | while (target.__proto__ && target.__proto__.name) { |
| 438 | 1238 | prototypes.push(target.__proto__); |
| 439 | 1239 | target = target.__proto__; |
| 440 | 1240 | } |
| 1241 | + | |
| 441 | 1242 | prototypes.reverse().forEach(function (proto) { |
| 442 | 1243 | return _this instanceof proto; |
| 443 | 1244 | }); |
| 444 | 1245 | } |
| 445 | - return (0, _createClass2.default)(InstanceType, null, [{ | |
| 446 | - key: Symbol.hasInstance, | |
| 1246 | + | |
| 1247 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 1248 | + key: _hasInstance.default, | |
| 447 | 1249 | value: function value(target) { |
| 448 | 1250 | /** |
| 449 | 1251 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 450 | 1252 | * its give's opportunity to mange capabilities of instanceOf operator. |
| @@ -449,34 +1251,39 @@ | ||
| 449 | 1251 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 450 | 1252 | * its give's opportunity to mange capabilities of instanceOf operator. |
| 451 | 1253 | * saving current class each time will give option later to handle instanceOf manually. |
| 452 | 1254 | */ |
| 453 | - var result = _superPropGet(InstanceType, Symbol.hasInstance, this, 2)([target]); | |
| 1255 | + var result = (0, _get2.default)((0, _getPrototypeOf2.default)(InstanceType), _hasInstance.default, this).call(this, target); // Act normal when validate a class, which does not have instance type. | |
| 454 | 1256 | |
| 455 | - // Act normal when validate a class, which does not have instance type. | |
| 456 | 1257 | if (target && !target.constructor.getInstanceType) { |
| 457 | 1258 | return result; |
| 458 | 1259 | } |
| 1260 | + | |
| 459 | 1261 | if (target) { |
| 460 | 1262 | if (!target.instanceTypes) { |
| 461 | 1263 | target.instanceTypes = []; |
| 462 | 1264 | } |
| 1265 | + | |
| 463 | 1266 | if (!result) { |
| 464 | 1267 | if (this.getInstanceType() === target.constructor.getInstanceType()) { |
| 465 | 1268 | result = true; |
| 466 | 1269 | } |
| 467 | 1270 | } |
| 1271 | + | |
| 468 | 1272 | if (result) { |
| 469 | 1273 | var name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); |
| 1274 | + | |
| 470 | 1275 | if (-1 === target.instanceTypes.indexOf(name)) { |
| 471 | 1276 | target.instanceTypes.push(name); |
| 472 | 1277 | } |
| 473 | 1278 | } |
| 474 | 1279 | } |
| 1280 | + | |
| 475 | 1281 | if (!result && target) { |
| 476 | 1282 | // Check if the given 'target', is instance of known types. |
| 477 | - result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 1283 | + result = target.instanceTypes && (0, _isArray.default)(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 478 | 1284 | } |
| 1285 | + | |
| 479 | 1286 | return result; |
| 480 | 1287 | } |
| 481 | 1288 | }, { |
| 482 | 1289 | key: "getInstanceType", |
| @@ -483,10 +1290,13 @@ | ||
| 483 | 1290 | value: function getInstanceType() { |
| 484 | 1291 | elementorModules.ForceMethodImplementation(); |
| 485 | 1292 | } |
| 486 | 1293 | }]); |
| 1294 | + return InstanceType; | |
| 487 | 1295 | }(); |
| 488 | 1296 | |
| 1297 | +exports.default = InstanceType; | |
| 1298 | + | |
| 489 | 1299 | /***/ }), |
| 490 | 1300 | |
| 491 | 1301 | /***/ "../assets/dev/js/modules/imports/module.js": |
| 492 | 1302 | /*!**************************************************!*\ |
| @@ -496,92 +1306,128 @@ | ||
| 496 | 1306 | |
| 497 | 1307 | "use strict"; |
| 498 | 1308 | |
| 499 | 1309 | |
| 500 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 501 | -var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js")); | |
| 1310 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1311 | + | |
| 1312 | +var _create = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/create */ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js")); | |
| 1313 | + | |
| 1314 | +var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")); | |
| 1315 | + | |
| 1316 | +__webpack_require__(/*! core-js/modules/es6.regexp.split.js */ "../node_modules/core-js/modules/es6.regexp.split.js"); | |
| 1317 | + | |
| 1318 | +__webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); | |
| 1319 | + | |
| 1320 | +__webpack_require__(/*! core-js/modules/es6.array.slice.js */ "../node_modules/core-js/modules/es6.array.slice.js"); | |
| 1321 | + | |
| 1322 | +__webpack_require__(/*! core-js/modules/es6.function.name.js */ "../node_modules/core-js/modules/es6.function.name.js"); | |
| 1323 | + | |
| 502 | 1324 | var Module = function Module() { |
| 503 | 1325 | var $ = jQuery, |
| 504 | - instanceParams = arguments, | |
| 505 | - self = this, | |
| 506 | - events = {}; | |
| 1326 | + instanceParams = arguments, | |
| 1327 | + self = this, | |
| 1328 | + events = {}; | |
| 507 | 1329 | var settings; |
| 1330 | + | |
| 508 | 1331 | var ensureClosureMethods = function ensureClosureMethods() { |
| 509 | 1332 | $.each(self, function (methodName) { |
| 510 | 1333 | var oldMethod = self[methodName]; |
| 1334 | + | |
| 511 | 1335 | if ('function' !== typeof oldMethod) { |
| 512 | 1336 | return; |
| 513 | 1337 | } |
| 1338 | + | |
| 514 | 1339 | self[methodName] = function () { |
| 515 | 1340 | return oldMethod.apply(self, arguments); |
| 516 | 1341 | }; |
| 517 | 1342 | }); |
| 518 | 1343 | }; |
| 1344 | + | |
| 519 | 1345 | var initSettings = function initSettings() { |
| 520 | 1346 | settings = self.getDefaultSettings(); |
| 521 | 1347 | var instanceSettings = instanceParams[0]; |
| 1348 | + | |
| 522 | 1349 | if (instanceSettings) { |
| 523 | 1350 | $.extend(true, settings, instanceSettings); |
| 524 | 1351 | } |
| 525 | 1352 | }; |
| 1353 | + | |
| 526 | 1354 | var init = function init() { |
| 527 | 1355 | self.__construct.apply(self, instanceParams); |
| 1356 | + | |
| 528 | 1357 | ensureClosureMethods(); |
| 529 | 1358 | initSettings(); |
| 530 | 1359 | self.trigger('init'); |
| 531 | 1360 | }; |
| 1361 | + | |
| 532 | 1362 | this.getItems = function (items, itemKey) { |
| 533 | 1363 | if (itemKey) { |
| 534 | 1364 | var keyStack = itemKey.split('.'), |
| 535 | - currentKey = keyStack.splice(0, 1); | |
| 1365 | + currentKey = keyStack.splice(0, 1); | |
| 1366 | + | |
| 536 | 1367 | if (!keyStack.length) { |
| 537 | 1368 | return items[currentKey]; |
| 538 | 1369 | } |
| 1370 | + | |
| 539 | 1371 | if (!items[currentKey]) { |
| 540 | 1372 | return; |
| 541 | 1373 | } |
| 1374 | + | |
| 542 | 1375 | return this.getItems(items[currentKey], keyStack.join('.')); |
| 543 | 1376 | } |
| 1377 | + | |
| 544 | 1378 | return items; |
| 545 | 1379 | }; |
| 1380 | + | |
| 546 | 1381 | this.getSettings = function (setting) { |
| 547 | 1382 | return this.getItems(settings, setting); |
| 548 | 1383 | }; |
| 1384 | + | |
| 549 | 1385 | this.setSettings = function (settingKey, value, settingsContainer) { |
| 550 | 1386 | if (!settingsContainer) { |
| 551 | 1387 | settingsContainer = settings; |
| 552 | 1388 | } |
| 1389 | + | |
| 553 | 1390 | if ('object' === (0, _typeof2.default)(settingKey)) { |
| 554 | 1391 | $.extend(settingsContainer, settingKey); |
| 555 | 1392 | return self; |
| 556 | 1393 | } |
| 1394 | + | |
| 557 | 1395 | var keyStack = settingKey.split('.'), |
| 558 | - currentKey = keyStack.splice(0, 1); | |
| 1396 | + currentKey = keyStack.splice(0, 1); | |
| 1397 | + | |
| 559 | 1398 | if (!keyStack.length) { |
| 560 | 1399 | settingsContainer[currentKey] = value; |
| 561 | 1400 | return self; |
| 562 | 1401 | } |
| 1402 | + | |
| 563 | 1403 | if (!settingsContainer[currentKey]) { |
| 564 | 1404 | settingsContainer[currentKey] = {}; |
| 565 | 1405 | } |
| 1406 | + | |
| 566 | 1407 | return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]); |
| 567 | 1408 | }; |
| 1409 | + | |
| 568 | 1410 | this.getErrorMessage = function (type, functionName) { |
| 569 | 1411 | var message; |
| 1412 | + | |
| 570 | 1413 | switch (type) { |
| 571 | 1414 | case 'forceMethodImplementation': |
| 572 | 1415 | message = "The method '".concat(functionName, "' must to be implemented in the inheritor child."); |
| 573 | 1416 | break; |
| 1417 | + | |
| 574 | 1418 | default: |
| 575 | 1419 | message = 'An error occurs'; |
| 576 | 1420 | } |
| 1421 | + | |
| 577 | 1422 | return message; |
| 578 | - }; | |
| 1423 | + }; // TODO: This function should be deleted ?. | |
| 579 | 1424 | |
| 580 | - // TODO: This function should be deleted ?. | |
| 1425 | + | |
| 581 | 1426 | this.forceMethodImplementation = function (functionName) { |
| 582 | 1427 | throw new Error(this.getErrorMessage('forceMethodImplementation', functionName)); |
| 583 | 1428 | }; |
| 1429 | + | |
| 584 | 1430 | this.on = function (eventName, callback) { |
| 585 | 1431 | if ('object' === (0, _typeof2.default)(eventName)) { |
| 586 | 1432 | $.each(eventName, function (singleEventName) { |
| 587 | 1433 | self.on(singleEventName, this); |
| @@ -587,72 +1433,91 @@ | ||
| 587 | 1433 | self.on(singleEventName, this); |
| 588 | 1434 | }); |
| 589 | 1435 | return self; |
| 590 | 1436 | } |
| 1437 | + | |
| 591 | 1438 | var eventNames = eventName.split(' '); |
| 592 | 1439 | eventNames.forEach(function (singleEventName) { |
| 593 | 1440 | if (!events[singleEventName]) { |
| 594 | 1441 | events[singleEventName] = []; |
| 595 | 1442 | } |
| 1443 | + | |
| 596 | 1444 | events[singleEventName].push(callback); |
| 597 | 1445 | }); |
| 598 | 1446 | return self; |
| 599 | 1447 | }; |
| 1448 | + | |
| 600 | 1449 | this.off = function (eventName, callback) { |
| 601 | 1450 | if (!events[eventName]) { |
| 602 | 1451 | return self; |
| 603 | 1452 | } |
| 1453 | + | |
| 604 | 1454 | if (!callback) { |
| 605 | 1455 | delete events[eventName]; |
| 606 | 1456 | return self; |
| 607 | 1457 | } |
| 1458 | + | |
| 608 | 1459 | var callbackIndex = events[eventName].indexOf(callback); |
| 1460 | + | |
| 609 | 1461 | if (-1 !== callbackIndex) { |
| 610 | - delete events[eventName][callbackIndex]; | |
| 1462 | + delete events[eventName][callbackIndex]; // Reset array index (for next off on same event). | |
| 611 | 1463 | |
| 612 | - // Reset array index (for next off on same event). | |
| 613 | 1464 | events[eventName] = events[eventName].filter(function (val) { |
| 614 | 1465 | return val; |
| 615 | 1466 | }); |
| 616 | 1467 | } |
| 1468 | + | |
| 617 | 1469 | return self; |
| 618 | 1470 | }; |
| 1471 | + | |
| 619 | 1472 | this.trigger = function (eventName) { |
| 620 | 1473 | var methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1), |
| 621 | - params = Array.prototype.slice.call(arguments, 1); | |
| 1474 | + params = Array.prototype.slice.call(arguments, 1); | |
| 1475 | + | |
| 622 | 1476 | if (self[methodName]) { |
| 623 | 1477 | self[methodName].apply(self, params); |
| 624 | 1478 | } |
| 1479 | + | |
| 625 | 1480 | var callbacks = events[eventName]; |
| 1481 | + | |
| 626 | 1482 | if (!callbacks) { |
| 627 | 1483 | return self; |
| 628 | 1484 | } |
| 1485 | + | |
| 629 | 1486 | $.each(callbacks, function (index, callback) { |
| 630 | 1487 | callback.apply(self, params); |
| 631 | 1488 | }); |
| 632 | 1489 | return self; |
| 633 | 1490 | }; |
| 1491 | + | |
| 634 | 1492 | init(); |
| 635 | 1493 | }; |
| 1494 | + | |
| 636 | 1495 | Module.prototype.__construct = function () {}; |
| 1496 | + | |
| 637 | 1497 | Module.prototype.getDefaultSettings = function () { |
| 638 | 1498 | return {}; |
| 639 | 1499 | }; |
| 1500 | + | |
| 640 | 1501 | Module.prototype.getConstructorID = function () { |
| 641 | 1502 | return this.constructor.name; |
| 642 | 1503 | }; |
| 1504 | + | |
| 643 | 1505 | Module.extend = function (properties) { |
| 644 | 1506 | var $ = jQuery, |
| 645 | - parent = this; | |
| 1507 | + parent = this; | |
| 1508 | + | |
| 646 | 1509 | var child = function child() { |
| 647 | 1510 | return parent.apply(this, arguments); |
| 648 | 1511 | }; |
| 1512 | + | |
| 649 | 1513 | $.extend(child, parent); |
| 650 | - child.prototype = Object.create($.extend({}, parent.prototype, properties)); | |
| 1514 | + child.prototype = (0, _create.default)($.extend({}, parent.prototype, properties)); | |
| 651 | 1515 | child.prototype.constructor = child; |
| 652 | 1516 | child.__super__ = parent.prototype; |
| 653 | 1517 | return child; |
| 654 | 1518 | }; |
| 1519 | + | |
| 655 | 1520 | module.exports = Module; |
| 656 | 1521 | |
| 657 | 1522 | /***/ }), |
| 658 | 1523 | |
| @@ -659,20 +1524,20 @@ | ||
| 659 | 1524 | /***/ "../assets/dev/js/modules/imports/utils/masonry.js": |
| 660 | 1525 | /*!*********************************************************!*\ |
| 661 | 1526 | !*** ../assets/dev/js/modules/imports/utils/masonry.js ***! |
| 662 | 1527 | \*********************************************************/ |
| 663 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1528 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 664 | 1529 | |
| 665 | 1530 | "use strict"; |
| 666 | 1531 | |
| 667 | 1532 | |
| 668 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 669 | -Object.defineProperty(exports, "__esModule", ({ | |
| 670 | - value: true | |
| 671 | -})); | |
| 672 | -exports["default"] = void 0; | |
| 1533 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1534 | + | |
| 1535 | +var _parseInt2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/parse-int */ "../node_modules/@babel/runtime-corejs2/core-js/parse-int.js")); | |
| 1536 | + | |
| 673 | 1537 | var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 674 | -var _default = exports["default"] = _viewModule.default.extend({ | |
| 1538 | + | |
| 1539 | +module.exports = _viewModule.default.extend({ | |
| 675 | 1540 | getDefaultSettings: function getDefaultSettings() { |
| 676 | 1541 | return { |
| 677 | 1542 | container: null, |
| 678 | 1543 | items: null, |
| @@ -687,21 +1552,22 @@ | ||
| 687 | 1552 | }; |
| 688 | 1553 | }, |
| 689 | 1554 | run: function run() { |
| 690 | 1555 | var heights = [], |
| 691 | - distanceFromTop = this.elements.$container.position().top, | |
| 692 | - settings = this.getSettings(), | |
| 693 | - columnsCount = settings.columnsCount; | |
| 694 | - distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10); | |
| 1556 | + distanceFromTop = this.elements.$container.position().top, | |
| 1557 | + settings = this.getSettings(), | |
| 1558 | + columnsCount = settings.columnsCount; | |
| 1559 | + distanceFromTop += (0, _parseInt2.default)(this.elements.$container.css('margin-top'), 10); | |
| 695 | 1560 | this.elements.$items.each(function (index) { |
| 696 | 1561 | var row = Math.floor(index / columnsCount), |
| 697 | - $item = jQuery(this), | |
| 698 | - itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; | |
| 1562 | + $item = jQuery(this), | |
| 1563 | + itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; | |
| 1564 | + | |
| 699 | 1565 | if (row) { |
| 700 | 1566 | var itemPosition = $item.position(), |
| 701 | - indexAtRow = index % columnsCount, | |
| 702 | - pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; | |
| 703 | - pullHeight -= parseInt($item.css('margin-top'), 10); | |
| 1567 | + indexAtRow = index % columnsCount, | |
| 1568 | + pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; | |
| 1569 | + pullHeight -= (0, _parseInt2.default)($item.css('margin-top'), 10); | |
| 704 | 1570 | pullHeight *= -1; |
| 705 | 1571 | $item.css('margin-top', pullHeight + 'px'); |
| 706 | 1572 | heights[indexAtRow] += itemHeight; |
| 707 | 1573 | } else { |
| @@ -721,58 +1587,72 @@ | ||
| 721 | 1587 | |
| 722 | 1588 | "use strict"; |
| 723 | 1589 | |
| 724 | 1590 | |
| 725 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 726 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1591 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 1592 | + | |
| 1593 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1594 | + | |
| 1595 | +_Object$defineProperty(exports, "__esModule", { | |
| 727 | 1596 | value: true |
| 728 | -})); | |
| 729 | -exports["default"] = void 0; | |
| 730 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 731 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1597 | +}); | |
| 1598 | + | |
| 1599 | +exports.default = void 0; | |
| 1600 | + | |
| 1601 | +var _parseFloat2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/parse-float */ "../node_modules/@babel/runtime-corejs2/core-js/parse-float.js")); | |
| 1602 | + | |
| 1603 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 1604 | + | |
| 1605 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 1606 | + | |
| 732 | 1607 | // Moved from elementor pro: 'assets/dev/js/frontend/utils' |
| 733 | -var Scroll = exports["default"] = /*#__PURE__*/function () { | |
| 1608 | +var Scroll = /*#__PURE__*/function () { | |
| 734 | 1609 | function Scroll() { |
| 735 | 1610 | (0, _classCallCheck2.default)(this, Scroll); |
| 736 | 1611 | } |
| 737 | - return (0, _createClass2.default)(Scroll, null, [{ | |
| 1612 | + | |
| 1613 | + (0, _createClass2.default)(Scroll, null, [{ | |
| 738 | 1614 | key: "scrollObserver", |
| 739 | 1615 | value: |
| 740 | 1616 | /** |
| 741 | - * @param {Object} obj | |
| 742 | - * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element | |
| 743 | - * @param {Function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom | |
| 744 | - * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%' | |
| 745 | - * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport | |
| 1617 | + * @param {object} obj | |
| 1618 | + * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element | |
| 1619 | + * @param {function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom | |
| 1620 | + * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%' | |
| 1621 | + * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport | |
| 746 | 1622 | */ |
| 747 | 1623 | function scrollObserver(obj) { |
| 748 | - var lastScrollY = 0; | |
| 1624 | + var lastScrollY = 0; // Generating threshholds points along the animation height | |
| 1625 | + // More threshholds points = more trigger points of the callback | |
| 749 | 1626 | |
| 750 | - // Generating thresholds points along the animation height | |
| 751 | - // More thresholds points = more trigger points of the callback | |
| 752 | - var buildThresholds = function buildThresholds() { | |
| 1627 | + var buildThreshholds = function buildThreshholds() { | |
| 753 | 1628 | var sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; |
| 754 | - var thresholds = []; | |
| 1629 | + var threshholds = []; | |
| 1630 | + | |
| 755 | 1631 | if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { |
| 756 | 1632 | var increment = 100 / sensitivityPercentage; |
| 1633 | + | |
| 757 | 1634 | for (var i = 0; i <= 100; i += increment) { |
| 758 | - thresholds.push(i / 100); | |
| 1635 | + threshholds.push(i / 100); | |
| 759 | 1636 | } |
| 760 | 1637 | } else { |
| 761 | - thresholds.push(0); | |
| 1638 | + threshholds.push(0); | |
| 762 | 1639 | } |
| 763 | - return thresholds; | |
| 1640 | + | |
| 1641 | + return threshholds; | |
| 764 | 1642 | }; |
| 1643 | + | |
| 765 | 1644 | var options = { |
| 766 | 1645 | root: obj.root || null, |
| 767 | 1646 | rootMargin: obj.offset || '0px', |
| 768 | - threshold: buildThresholds(obj.sensitivity) | |
| 1647 | + threshold: buildThreshholds(obj.sensitivity) | |
| 769 | 1648 | }; |
| 770 | - function handleIntersect(entries) { | |
| 1649 | + | |
| 1650 | + function handleIntersect(entries, observer) { | |
| 771 | 1651 | var currentScrollY = entries[0].boundingClientRect.y, |
| 772 | - isInViewport = entries[0].isIntersecting, | |
| 773 | - intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up', | |
| 774 | - scrollPercentage = Math.abs(parseFloat((entries[0].intersectionRatio * 100).toFixed(2))); | |
| 1652 | + isInViewport = entries[0].isIntersecting, | |
| 1653 | + intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up', | |
| 1654 | + scrollPercentage = Math.abs((0, _parseFloat2.default)((entries[0].intersectionRatio * 100).toFixed(2))); | |
| 775 | 1655 | obj.callback({ |
| 776 | 1656 | sensitivity: obj.sensitivity, |
| 777 | 1657 | isInViewport: isInViewport, |
| 778 | 1658 | scrollPercentage: scrollPercentage, |
| @@ -779,40 +1659,41 @@ | ||
| 779 | 1659 | intersectionScrollDirection: intersectionScrollDirection |
| 780 | 1660 | }); |
| 781 | 1661 | lastScrollY = currentScrollY; |
| 782 | 1662 | } |
| 1663 | + | |
| 783 | 1664 | return new IntersectionObserver(handleIntersect, options); |
| 784 | 1665 | } |
| 785 | - | |
| 786 | 1666 | /** |
| 787 | - * @param {jQuery.Element} $element | |
| 788 | - * @param {Object} offsetObj | |
| 789 | - * @param {number} offsetObj.start - Offset start value in percentages | |
| 790 | - * @param {number} offsetObj.end - Offset end value in percentages | |
| 1667 | + * @param {jQuery Element} $element | |
| 1668 | + * @param {object} offsetObj | |
| 1669 | + * @param {number} offsetObj.start - Offset start value in percentages | |
| 1670 | + * @param {number} offsetObj.end - Offset end value in percentages | |
| 791 | 1671 | */ |
| 1672 | + | |
| 792 | 1673 | }, { |
| 793 | 1674 | key: "getElementViewportPercentage", |
| 794 | 1675 | value: function getElementViewportPercentage($element) { |
| 795 | 1676 | var offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
| 796 | 1677 | var elementOffset = $element[0].getBoundingClientRect(), |
| 797 | - offsetStart = offsetObj.start || 0, | |
| 798 | - offsetEnd = offsetObj.end || 0, | |
| 799 | - windowStartOffset = window.innerHeight * offsetStart / 100, | |
| 800 | - windowEndOffset = window.innerHeight * offsetEnd / 100, | |
| 801 | - y1 = elementOffset.top - window.innerHeight, | |
| 802 | - y2 = elementOffset.top + windowStartOffset + $element.height(), | |
| 803 | - startPosition = 0 - y1 + windowStartOffset, | |
| 804 | - endPosition = y2 - y1 + windowEndOffset, | |
| 805 | - percent = Math.max(0, Math.min(startPosition / endPosition, 1)); | |
| 806 | - return parseFloat((percent * 100).toFixed(2)); | |
| 1678 | + offsetStart = offsetObj.start || 0, | |
| 1679 | + offsetEnd = offsetObj.end || 0, | |
| 1680 | + windowStartOffset = window.innerHeight * offsetStart / 100, | |
| 1681 | + windowEndOffset = window.innerHeight * offsetEnd / 100, | |
| 1682 | + y1 = elementOffset.top - window.innerHeight, | |
| 1683 | + y2 = elementOffset.top + windowStartOffset + $element.height(), | |
| 1684 | + startPosition = 0 - y1 + windowStartOffset, | |
| 1685 | + endPosition = y2 - y1 + windowEndOffset, | |
| 1686 | + percent = Math.max(0, Math.min(startPosition / endPosition, 1)); | |
| 1687 | + return (0, _parseFloat2.default)((percent * 100).toFixed(2)); | |
| 807 | 1688 | } |
| 808 | - | |
| 809 | 1689 | /** |
| 810 | - * @param {Object} offsetObj | |
| 1690 | + * @param {object} offsetObj | |
| 811 | 1691 | * @param {number} offsetObj.start - Offset start value in percentages |
| 812 | - * @param {number} offsetObj.end - Offset end value in percentages | |
| 1692 | + * @param {number} offsetObj.end - Offset end value in percentages | |
| 813 | 1693 | * @param {number} limitPageHeight - Will limit the page height calculation |
| 814 | 1694 | */ |
| 1695 | + | |
| 815 | 1696 | }, { |
| 816 | 1697 | key: "getPageScrollPercentage", |
| 817 | 1698 | value: function getPageScrollPercentage() { |
| 818 | 1699 | var offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -817,18 +1698,21 @@ | ||
| 817 | 1698 | value: function getPageScrollPercentage() { |
| 818 | 1699 | var offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 819 | 1700 | var limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; |
| 820 | 1701 | var offsetStart = offsetObj.start || 0, |
| 821 | - offsetEnd = offsetObj.end || 0, | |
| 822 | - initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, | |
| 823 | - heightOffset = initialPageHeight * offsetStart / 100, | |
| 824 | - pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100, | |
| 825 | - scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset; | |
| 1702 | + offsetEnd = offsetObj.end || 0, | |
| 1703 | + initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, | |
| 1704 | + heightOffset = initialPageHeight * offsetStart / 100, | |
| 1705 | + pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100, | |
| 1706 | + scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset; | |
| 826 | 1707 | return scrollPos / pageRange * 100; |
| 827 | 1708 | } |
| 828 | 1709 | }]); |
| 1710 | + return Scroll; | |
| 829 | 1711 | }(); |
| 830 | 1712 | |
| 1713 | +exports.default = Scroll; | |
| 1714 | + | |
| 831 | 1715 | /***/ }), |
| 832 | 1716 | |
| 833 | 1717 | /***/ "../assets/dev/js/modules/imports/view-module.js": |
| 834 | 1718 | /*!*******************************************************!*\ |
| @@ -833,20 +1717,18 @@ | ||
| 833 | 1717 | /***/ "../assets/dev/js/modules/imports/view-module.js": |
| 834 | 1718 | /*!*******************************************************!*\ |
| 835 | 1719 | !*** ../assets/dev/js/modules/imports/view-module.js ***! |
| 836 | 1720 | \*******************************************************/ |
| 837 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1721 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 838 | 1722 | |
| 839 | 1723 | "use strict"; |
| 840 | 1724 | |
| 841 | 1725 | |
| 842 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 843 | -Object.defineProperty(exports, "__esModule", ({ | |
| 844 | - value: true | |
| 845 | -})); | |
| 846 | -exports["default"] = void 0; | |
| 1726 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1727 | + | |
| 847 | 1728 | var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js")); |
| 848 | -var _default = exports["default"] = _module.default.extend({ | |
| 1729 | + | |
| 1730 | +module.exports = _module.default.extend({ | |
| 849 | 1731 | elements: null, |
| 850 | 1732 | getDefaultElements: function getDefaultElements() { |
| 851 | 1733 | return {}; |
| 852 | 1734 | }, |
| @@ -870,22 +1752,31 @@ | ||
| 870 | 1752 | |
| 871 | 1753 | "use strict"; |
| 872 | 1754 | |
| 873 | 1755 | |
| 874 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 875 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1756 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 1757 | + | |
| 1758 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1759 | + | |
| 1760 | +_Object$defineProperty(exports, "__esModule", { | |
| 876 | 1761 | value: true |
| 877 | -})); | |
| 878 | -exports["default"] = void 0; | |
| 1762 | +}); | |
| 1763 | + | |
| 1764 | +exports.default = void 0; | |
| 1765 | + | |
| 879 | 1766 | var _module = _interopRequireDefault(__webpack_require__(/*! ./imports/module */ "../assets/dev/js/modules/imports/module.js")); |
| 1767 | + | |
| 880 | 1768 | var _viewModule = _interopRequireDefault(__webpack_require__(/*! ./imports/view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 1769 | + | |
| 881 | 1770 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 1771 | + | |
| 882 | 1772 | var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); |
| 1773 | + | |
| 883 | 1774 | var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); |
| 1775 | + | |
| 884 | 1776 | var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ./imports/force-method-implementation */ "../assets/dev/js/modules/imports/force-method-implementation.js")); |
| 885 | -var _templateRegistryHelpers = __webpack_require__(/*! ../../../../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers */ "../app/modules/import-export-customization/assets/js/shared/utils/template-registry-helpers.js"); | |
| 886 | -var _customizationDialogs = __webpack_require__(/*! ../../../../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs */ "../app/modules/import-export-customization/assets/js/shared/registry/customization-dialogs.js"); | |
| 887 | -var baseModules = { | |
| 1777 | + | |
| 1778 | +var _default = window.elementorModules = { | |
| 888 | 1779 | Module: _module.default, |
| 889 | 1780 | ViewModule: _viewModule.default, |
| 890 | 1781 | ArgsObject: _argsObject.default, |
| 891 | 1782 | ForceMethodImplementation: _forceMethodImplementation.default, |
| @@ -891,658 +1782,143 @@ | ||
| 891 | 1782 | ForceMethodImplementation: _forceMethodImplementation.default, |
| 892 | 1783 | utils: { |
| 893 | 1784 | Masonry: _masonry.default, |
| 894 | 1785 | Scroll: _scroll.default |
| 895 | - }, | |
| 896 | - importExport: { | |
| 897 | - createGetInitialState: _templateRegistryHelpers.createGetInitialState, | |
| 898 | - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry | |
| 899 | 1786 | } |
| 900 | 1787 | }; |
| 901 | -if (!window.elementorModules) { | |
| 902 | - window.elementorModules = baseModules; | |
| 903 | -} else { | |
| 904 | - Object.assign(window.elementorModules, baseModules); | |
| 905 | -} | |
| 906 | -var _default = exports["default"] = window.elementorModules; | |
| 907 | 1788 | |
| 908 | -/***/ }), | |
| 1789 | +exports.default = _default; | |
| 909 | 1790 | |
| 910 | -/***/ "../core/common/assets/js/views/modal/header.js": | |
| 911 | -/*!******************************************************!*\ | |
| 912 | - !*** ../core/common/assets/js/views/modal/header.js ***! | |
| 913 | - \******************************************************/ | |
| 914 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 915 | - | |
| 916 | -"use strict"; | |
| 917 | - | |
| 918 | - | |
| 919 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 920 | -Object.defineProperty(exports, "__esModule", ({ | |
| 921 | - value: true | |
| 922 | -})); | |
| 923 | -exports["default"] = void 0; | |
| 924 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 925 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 926 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 927 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 928 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 929 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 930 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 931 | -var _default = exports["default"] = /*#__PURE__*/function (_Marionette$LayoutVie) { | |
| 932 | - function _default() { | |
| 933 | - (0, _classCallCheck2.default)(this, _default); | |
| 934 | - return _callSuper(this, _default, arguments); | |
| 935 | - } | |
| 936 | - (0, _inherits2.default)(_default, _Marionette$LayoutVie); | |
| 937 | - return (0, _createClass2.default)(_default, [{ | |
| 938 | - key: "tagName", | |
| 939 | - value: function tagName() { | |
| 940 | - return 'header'; | |
| 941 | - } | |
| 942 | - }, { | |
| 943 | - key: "className", | |
| 944 | - value: function className() { | |
| 945 | - return 'elementor-templates-modal__header'; | |
| 946 | - } | |
| 947 | - }, { | |
| 948 | - key: "getTemplate", | |
| 949 | - value: function getTemplate() { | |
| 950 | - return '#tmpl-elementor-templates-modal__header'; | |
| 951 | - } | |
| 952 | - }, { | |
| 953 | - key: "regions", | |
| 954 | - value: function regions() { | |
| 955 | - return { | |
| 956 | - logoArea: '.elementor-templates-modal__header__logo-area', | |
| 957 | - tools: '#elementor-template-library-header-tools', | |
| 958 | - menuArea: '.elementor-templates-modal__header__menu-area' | |
| 959 | - }; | |
| 960 | - } | |
| 961 | - }, { | |
| 962 | - key: "ui", | |
| 963 | - value: function ui() { | |
| 964 | - return { | |
| 965 | - closeModal: '.elementor-templates-modal__header__close' | |
| 966 | - }; | |
| 967 | - } | |
| 968 | - }, { | |
| 969 | - key: "events", | |
| 970 | - value: function events() { | |
| 971 | - return { | |
| 972 | - 'click @ui.closeModal': 'onCloseModalClick' | |
| 973 | - }; | |
| 974 | - } | |
| 975 | - }, { | |
| 976 | - key: "onRender", | |
| 977 | - value: function onRender() { | |
| 978 | - this.bindEscapeKey(); | |
| 979 | - } | |
| 980 | - }, { | |
| 981 | - key: "bindEscapeKey", | |
| 982 | - value: function bindEscapeKey() { | |
| 983 | - var _this = this; | |
| 984 | - this.onDocumentKeyDown = function (event) { | |
| 985 | - if ('Escape' === event.key) { | |
| 986 | - _this.onCloseModalClick(); | |
| 987 | - } | |
| 988 | - }; | |
| 989 | - document.addEventListener('keydown', this.onDocumentKeyDown); | |
| 990 | - } | |
| 991 | - }, { | |
| 992 | - key: "onDestroy", | |
| 993 | - value: function onDestroy() { | |
| 994 | - if (this.onDocumentKeyDown) { | |
| 995 | - document.removeEventListener('keydown', this.onDocumentKeyDown); | |
| 996 | - } | |
| 997 | - } | |
| 998 | - }, { | |
| 999 | - key: "templateHelpers", | |
| 1000 | - value: function templateHelpers() { | |
| 1001 | - return { | |
| 1002 | - closeType: this.getOption('closeType') | |
| 1003 | - }; | |
| 1004 | - } | |
| 1005 | - }, { | |
| 1006 | - key: "onCloseModalClick", | |
| 1007 | - value: function onCloseModalClick() { | |
| 1008 | - this._parent._parent._parent.hideModal(); | |
| 1009 | - var documentType = this.getDocumentType(); | |
| 1010 | - var customEvent = new CustomEvent("core/modal/close/".concat(documentType)); | |
| 1011 | - window.dispatchEvent(customEvent); | |
| 1012 | - if (this.isFloatingButtonLibraryClose()) { | |
| 1013 | - $e.internal('document/save/set-is-modified', { | |
| 1014 | - status: false | |
| 1015 | - }); | |
| 1016 | - window.location.href = elementor.config.admin_floating_button_admin_url; | |
| 1017 | - } | |
| 1018 | - } | |
| 1019 | - }, { | |
| 1020 | - key: "getDocumentType", | |
| 1021 | - value: function getDocumentType() { | |
| 1022 | - var _elementor$config$doc, _elementor; | |
| 1023 | - var DEFAULT_TYPE = 'default'; | |
| 1024 | - if ('undefined' === typeof window.elementor) { | |
| 1025 | - return DEFAULT_TYPE; | |
| 1026 | - } | |
| 1027 | - return (_elementor$config$doc = (_elementor = elementor) === null || _elementor === void 0 || (_elementor = _elementor.config) === null || _elementor === void 0 || (_elementor = _elementor.document) === null || _elementor === void 0 ? void 0 : _elementor.type) !== null && _elementor$config$doc !== void 0 ? _elementor$config$doc : DEFAULT_TYPE; | |
| 1028 | - } | |
| 1029 | - }, { | |
| 1030 | - key: "isFloatingButtonLibraryClose", | |
| 1031 | - value: function isFloatingButtonLibraryClose() { | |
| 1032 | - var _elementor$config, _elementor$config2; | |
| 1033 | - return window.elementor && ((_elementor$config = elementor.config) === null || _elementor$config === void 0 ? void 0 : _elementor$config.admin_floating_button_admin_url) && 'floating-buttons' === ((_elementor$config2 = elementor.config) === null || _elementor$config2 === void 0 || (_elementor$config2 = _elementor$config2.document) === null || _elementor$config2 === void 0 ? void 0 : _elementor$config2.type) && (this.$el.closest('.dialog-lightbox-widget-content').find('.elementor-template-library-template-floating_button').length || this.$el.closest('.dialog-lightbox-widget-content').find('#elementor-template-library-preview').length || this.$el.closest('.dialog-lightbox-widget-content').find('#elementor-template-library-templates-empty').length); | |
| 1034 | - } | |
| 1035 | - }]); | |
| 1036 | -}(Marionette.LayoutView); | |
| 1037 | - | |
| 1038 | 1791 | /***/ }), |
| 1039 | 1792 | |
| 1040 | -/***/ "../core/common/assets/js/views/modal/layout.js": | |
| 1041 | -/*!******************************************************!*\ | |
| 1042 | - !*** ../core/common/assets/js/views/modal/layout.js ***! | |
| 1043 | - \******************************************************/ | |
| 1793 | +/***/ "../core/common/assets/js/api/modules/command-base.js": | |
| 1794 | +/*!************************************************************!*\ | |
| 1795 | + !*** ../core/common/assets/js/api/modules/command-base.js ***! | |
| 1796 | + \************************************************************/ | |
| 1044 | 1797 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1045 | 1798 | |
| 1046 | 1799 | "use strict"; |
| 1047 | 1800 | |
| 1048 | 1801 | |
| 1049 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1050 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1051 | - value: true | |
| 1052 | -})); | |
| 1053 | -exports["default"] = void 0; | |
| 1054 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1055 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1056 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1057 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1058 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1059 | -var _header = _interopRequireDefault(__webpack_require__(/*! ./header */ "../core/common/assets/js/views/modal/header.js")); | |
| 1060 | -var _logo = _interopRequireDefault(__webpack_require__(/*! ./logo */ "../core/common/assets/js/views/modal/logo.js")); | |
| 1061 | -var _loading = _interopRequireDefault(__webpack_require__(/*! ./loading */ "../core/common/assets/js/views/modal/loading.js")); | |
| 1062 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1063 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1064 | -var _default = exports["default"] = /*#__PURE__*/function (_Marionette$LayoutVie) { | |
| 1065 | - function _default() { | |
| 1066 | - (0, _classCallCheck2.default)(this, _default); | |
| 1067 | - return _callSuper(this, _default, arguments); | |
| 1068 | - } | |
| 1069 | - (0, _inherits2.default)(_default, _Marionette$LayoutVie); | |
| 1070 | - return (0, _createClass2.default)(_default, [{ | |
| 1071 | - key: "el", | |
| 1072 | - value: function el() { | |
| 1073 | - return this.getModal().getElements('widget'); | |
| 1074 | - } | |
| 1075 | - }, { | |
| 1076 | - key: "regions", | |
| 1077 | - value: function regions() { | |
| 1078 | - return { | |
| 1079 | - modalHeader: '.dialog-header', | |
| 1080 | - modalContent: '.dialog-lightbox-content', | |
| 1081 | - modalLoading: '.dialog-lightbox-loading' | |
| 1082 | - }; | |
| 1083 | - } | |
| 1084 | - }, { | |
| 1085 | - key: "initialize", | |
| 1086 | - value: function initialize() { | |
| 1087 | - this.modalHeader.show(new _header.default(this.getHeaderOptions())); | |
| 1088 | - } | |
| 1089 | - }, { | |
| 1090 | - key: "getModal", | |
| 1091 | - value: function getModal() { | |
| 1092 | - if (!this.modal) { | |
| 1093 | - this.initModal(); | |
| 1094 | - } | |
| 1095 | - return this.modal; | |
| 1096 | - } | |
| 1097 | - }, { | |
| 1098 | - key: "initModal", | |
| 1099 | - value: function initModal() { | |
| 1100 | - var modalOptions = { | |
| 1101 | - className: 'elementor-templates-modal', | |
| 1102 | - closeButton: false, | |
| 1103 | - draggable: false, | |
| 1104 | - hide: { | |
| 1105 | - onOutsideClick: false, | |
| 1106 | - onEscKeyPress: false | |
| 1107 | - } | |
| 1108 | - }; | |
| 1109 | - jQuery.extend(true, modalOptions, this.getModalOptions()); | |
| 1110 | - this.modal = elementorCommon.dialogsManager.createWidget('lightbox', modalOptions); | |
| 1111 | - this.modal.getElements('message').append(this.modal.addElement('content'), this.modal.addElement('loading')); | |
| 1112 | - if (modalOptions.draggable) { | |
| 1113 | - this.draggableModal(); | |
| 1114 | - } | |
| 1115 | - } | |
| 1116 | - }, { | |
| 1117 | - key: "showModal", | |
| 1118 | - value: function showModal() { | |
| 1119 | - this.getModal().show(); | |
| 1120 | - } | |
| 1121 | - }, { | |
| 1122 | - key: "hideModal", | |
| 1123 | - value: function hideModal() { | |
| 1124 | - this.getModal().hide(); | |
| 1125 | - } | |
| 1126 | - }, { | |
| 1127 | - key: "draggableModal", | |
| 1128 | - value: function draggableModal() { | |
| 1129 | - var $modalWidgetContent = this.getModal().getElements('widgetContent'); | |
| 1130 | - $modalWidgetContent.draggable({ | |
| 1131 | - containment: 'parent', | |
| 1132 | - stop: function stop() { | |
| 1133 | - $modalWidgetContent.height(''); | |
| 1134 | - } | |
| 1135 | - }); | |
| 1136 | - $modalWidgetContent.css('position', 'absolute'); | |
| 1137 | - } | |
| 1138 | - }, { | |
| 1139 | - key: "getModalOptions", | |
| 1140 | - value: function getModalOptions() { | |
| 1141 | - return {}; | |
| 1142 | - } | |
| 1143 | - }, { | |
| 1144 | - key: "getLogoOptions", | |
| 1145 | - value: function getLogoOptions() { | |
| 1146 | - return {}; | |
| 1147 | - } | |
| 1148 | - }, { | |
| 1149 | - key: "getHeaderOptions", | |
| 1150 | - value: function getHeaderOptions() { | |
| 1151 | - return { | |
| 1152 | - closeType: 'normal' | |
| 1153 | - }; | |
| 1154 | - } | |
| 1155 | - }, { | |
| 1156 | - key: "getHeaderView", | |
| 1157 | - value: function getHeaderView() { | |
| 1158 | - return this.modalHeader.currentView; | |
| 1159 | - } | |
| 1160 | - }, { | |
| 1161 | - key: "showLoadingView", | |
| 1162 | - value: function showLoadingView() { | |
| 1163 | - this.modalLoading.show(new _loading.default()); | |
| 1164 | - this.modalLoading.$el.show(); | |
| 1165 | - this.modalContent.$el.hide(); | |
| 1166 | - } | |
| 1167 | - }, { | |
| 1168 | - key: "hideLoadingView", | |
| 1169 | - value: function hideLoadingView() { | |
| 1170 | - this.modalContent.$el.show(); | |
| 1171 | - this.modalLoading.$el.hide(); | |
| 1172 | - } | |
| 1173 | - }, { | |
| 1174 | - key: "showLogo", | |
| 1175 | - value: function showLogo() { | |
| 1176 | - this.getHeaderView().logoArea.show(new _logo.default(this.getLogoOptions())); | |
| 1177 | - } | |
| 1178 | - }]); | |
| 1179 | -}(Marionette.LayoutView); | |
| 1802 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 1180 | 1803 | |
| 1181 | -/***/ }), | |
| 1804 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1182 | 1805 | |
| 1183 | -/***/ "../core/common/assets/js/views/modal/loading.js": | |
| 1184 | -/*!*******************************************************!*\ | |
| 1185 | - !*** ../core/common/assets/js/views/modal/loading.js ***! | |
| 1186 | - \*******************************************************/ | |
| 1187 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1188 | - | |
| 1189 | -"use strict"; | |
| 1190 | - | |
| 1191 | - | |
| 1192 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1193 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1806 | +_Object$defineProperty(exports, "__esModule", { | |
| 1194 | 1807 | value: true |
| 1195 | -})); | |
| 1196 | -exports["default"] = void 0; | |
| 1197 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1198 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1199 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1200 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1201 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1202 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1203 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1204 | -var _default = exports["default"] = /*#__PURE__*/function (_Marionette$ItemView) { | |
| 1205 | - function _default() { | |
| 1206 | - (0, _classCallCheck2.default)(this, _default); | |
| 1207 | - return _callSuper(this, _default, arguments); | |
| 1208 | - } | |
| 1209 | - (0, _inherits2.default)(_default, _Marionette$ItemView); | |
| 1210 | - return (0, _createClass2.default)(_default, [{ | |
| 1211 | - key: "id", | |
| 1212 | - value: function id() { | |
| 1213 | - return 'elementor-template-library-loading'; | |
| 1214 | - } | |
| 1215 | - }, { | |
| 1216 | - key: "getTemplate", | |
| 1217 | - value: function getTemplate() { | |
| 1218 | - return '#tmpl-elementor-template-library-loading'; | |
| 1219 | - } | |
| 1220 | - }]); | |
| 1221 | -}(Marionette.ItemView); | |
| 1808 | +}); | |
| 1222 | 1809 | |
| 1223 | -/***/ }), | |
| 1810 | +exports.default = void 0; | |
| 1224 | 1811 | |
| 1225 | -/***/ "../core/common/assets/js/views/modal/logo.js": | |
| 1226 | -/*!****************************************************!*\ | |
| 1227 | - !*** ../core/common/assets/js/views/modal/logo.js ***! | |
| 1228 | - \****************************************************/ | |
| 1229 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1812 | +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "../node_modules/@babel/runtime/regenerator/index.js")); | |
| 1230 | 1813 | |
| 1231 | -"use strict"; | |
| 1814 | +__webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); | |
| 1232 | 1815 | |
| 1816 | +__webpack_require__(/*! core-js/modules/es6.string.iterator.js */ "../node_modules/core-js/modules/es6.string.iterator.js"); | |
| 1233 | 1817 | |
| 1234 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1235 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1236 | - value: true | |
| 1237 | -})); | |
| 1238 | -exports["default"] = void 0; | |
| 1239 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1240 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1241 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1242 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1243 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1244 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1245 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1246 | -var _default = exports["default"] = /*#__PURE__*/function (_Marionette$ItemView) { | |
| 1247 | - function _default() { | |
| 1248 | - (0, _classCallCheck2.default)(this, _default); | |
| 1249 | - return _callSuper(this, _default, arguments); | |
| 1250 | - } | |
| 1251 | - (0, _inherits2.default)(_default, _Marionette$ItemView); | |
| 1252 | - return (0, _createClass2.default)(_default, [{ | |
| 1253 | - key: "getTemplate", | |
| 1254 | - value: function getTemplate() { | |
| 1255 | - return '#tmpl-elementor-templates-modal__header__logo'; | |
| 1256 | - } | |
| 1257 | - }, { | |
| 1258 | - key: "className", | |
| 1259 | - value: function className() { | |
| 1260 | - return 'elementor-templates-modal__header__logo'; | |
| 1261 | - } | |
| 1262 | - }, { | |
| 1263 | - key: "events", | |
| 1264 | - value: function events() { | |
| 1265 | - return { | |
| 1266 | - click: 'onClick' | |
| 1267 | - }; | |
| 1268 | - } | |
| 1269 | - }, { | |
| 1270 | - key: "templateHelpers", | |
| 1271 | - value: function templateHelpers() { | |
| 1272 | - return { | |
| 1273 | - title: this.getOption('title') | |
| 1274 | - }; | |
| 1275 | - } | |
| 1276 | - }, { | |
| 1277 | - key: "onClick", | |
| 1278 | - value: function onClick() { | |
| 1279 | - var clickCallback = this.getOption('click'); | |
| 1280 | - if (clickCallback) { | |
| 1281 | - clickCallback(); | |
| 1282 | - } | |
| 1283 | - } | |
| 1284 | - }]); | |
| 1285 | -}(Marionette.ItemView); | |
| 1818 | +__webpack_require__(/*! core-js/modules/es6.object.to-string.js */ "../node_modules/core-js/modules/es6.object.to-string.js"); | |
| 1286 | 1819 | |
| 1287 | -/***/ }), | |
| 1820 | +__webpack_require__(/*! core-js/modules/es6.array.iterator.js */ "../node_modules/core-js/modules/es6.array.iterator.js"); | |
| 1288 | 1821 | |
| 1289 | -/***/ "../modules/web-cli/assets/js/modules/command-base.js": | |
| 1290 | -/*!************************************************************!*\ | |
| 1291 | - !*** ../modules/web-cli/assets/js/modules/command-base.js ***! | |
| 1292 | - \************************************************************/ | |
| 1293 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1822 | +__webpack_require__(/*! core-js/modules/web.dom.iterable.js */ "../node_modules/core-js/modules/web.dom.iterable.js"); | |
| 1294 | 1823 | |
| 1295 | -"use strict"; | |
| 1824 | +var _isArray = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js")); | |
| 1296 | 1825 | |
| 1826 | +var _promise = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/promise */ "../node_modules/@babel/runtime-corejs2/core-js/promise.js")); | |
| 1297 | 1827 | |
| 1298 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1299 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1300 | - value: true | |
| 1301 | -})); | |
| 1302 | -exports["default"] = void 0; | |
| 1303 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1304 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1305 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1306 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1307 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1308 | -var _commandInfra = _interopRequireDefault(__webpack_require__(/*! ./command-infra */ "../modules/web-cli/assets/js/modules/command-infra.js")); | |
| 1309 | -var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js")); | |
| 1310 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1311 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1312 | -/** | |
| 1313 | - * @name $e.modules.CommandBase | |
| 1314 | - */ | |
| 1315 | -var CommandBase = exports["default"] = /*#__PURE__*/function (_CommandInfra) { | |
| 1316 | - function CommandBase() { | |
| 1317 | - (0, _classCallCheck2.default)(this, CommandBase); | |
| 1318 | - return _callSuper(this, CommandBase, arguments); | |
| 1319 | - } | |
| 1320 | - (0, _inherits2.default)(CommandBase, _CommandInfra); | |
| 1321 | - return (0, _createClass2.default)(CommandBase, [{ | |
| 1322 | - key: "onBeforeRun", | |
| 1323 | - value: function onBeforeRun() { | |
| 1324 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1325 | - $e.hooks.runUIBefore(this.command, args); | |
| 1326 | - } | |
| 1327 | - }, { | |
| 1328 | - key: "onAfterRun", | |
| 1329 | - value: function onAfterRun() { | |
| 1330 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1331 | - var result = arguments.length > 1 ? arguments[1] : undefined; | |
| 1332 | - $e.hooks.runUIAfter(this.command, args, result); | |
| 1333 | - } | |
| 1334 | - }, { | |
| 1335 | - key: "onBeforeApply", | |
| 1336 | - value: function onBeforeApply() { | |
| 1337 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1338 | - $e.hooks.runDataDependency(this.command, args); | |
| 1339 | - } | |
| 1340 | - }, { | |
| 1341 | - key: "onAfterApply", | |
| 1342 | - value: function onAfterApply() { | |
| 1343 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1344 | - var result = arguments.length > 1 ? arguments[1] : undefined; | |
| 1345 | - return $e.hooks.runDataAfter(this.command, args, result); | |
| 1346 | - } | |
| 1347 | - }, { | |
| 1348 | - key: "onCatchApply", | |
| 1349 | - value: function onCatchApply(e) { | |
| 1350 | - this.runCatchHooks(e); | |
| 1351 | - } | |
| 1828 | +var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")); | |
| 1352 | 1829 | |
| 1353 | - /** | |
| 1354 | - * Run all the catch hooks. | |
| 1355 | - * | |
| 1356 | - * @param {Error} e | |
| 1357 | - */ | |
| 1358 | - }, { | |
| 1359 | - key: "runCatchHooks", | |
| 1360 | - value: function runCatchHooks(e) { | |
| 1361 | - $e.hooks.runDataCatch(this.command, this.args, e); | |
| 1362 | - $e.hooks.runUICatch(this.command, this.args, e); | |
| 1363 | - } | |
| 1830 | +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/asyncToGenerator */ "../node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js")); | |
| 1364 | 1831 | |
| 1365 | - /** | |
| 1366 | - * TODO - Remove - Backwards compatibility. | |
| 1367 | - * | |
| 1368 | - * Function requireContainer(). | |
| 1369 | - * | |
| 1370 | - * Validate `arg.container` & `arg.containers`. | |
| 1371 | - * | |
| 1372 | - * @param {{}} args | |
| 1373 | - * @deprecated since 3.7.0, extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase` instead. | |
| 1374 | - * | |
| 1375 | - * @throws {Error} | |
| 1376 | - */ | |
| 1377 | - }, { | |
| 1378 | - key: "requireContainer", | |
| 1379 | - value: function requireContainer() { | |
| 1380 | - var _this = this; | |
| 1381 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.args; | |
| 1382 | - _deprecation.default.deprecated('requireContainer()', '3.7.0', 'Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`'); | |
| 1383 | - if (!args.container && !args.containers) { | |
| 1384 | - throw Error('container or containers are required.'); | |
| 1385 | - } | |
| 1386 | - if (args.container && args.containers) { | |
| 1387 | - throw Error('container and containers cannot go together please select one of them.'); | |
| 1388 | - } | |
| 1389 | - var containers = args.containers || [args.container]; | |
| 1390 | - containers.forEach(function (container) { | |
| 1391 | - _this.requireArgumentInstance('container', elementorModules.editor.Container, { | |
| 1392 | - container: container | |
| 1393 | - }); | |
| 1394 | - }); | |
| 1395 | - } | |
| 1396 | - }], [{ | |
| 1397 | - key: "getInstanceType", | |
| 1398 | - value: function getInstanceType() { | |
| 1399 | - return 'CommandBase'; | |
| 1400 | - } | |
| 1401 | - }]); | |
| 1402 | -}(_commandInfra.default); | |
| 1832 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 1403 | 1833 | |
| 1404 | -/***/ }), | |
| 1834 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 1405 | 1835 | |
| 1406 | -/***/ "../modules/web-cli/assets/js/modules/command-callback-base.js": | |
| 1407 | -/*!*********************************************************************!*\ | |
| 1408 | - !*** ../modules/web-cli/assets/js/modules/command-callback-base.js ***! | |
| 1409 | - \*********************************************************************/ | |
| 1410 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1836 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/assertThisInitialized */ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js")); | |
| 1411 | 1837 | |
| 1412 | -"use strict"; | |
| 1838 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 1413 | 1839 | |
| 1840 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 1414 | 1841 | |
| 1415 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1416 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1417 | - value: true | |
| 1418 | -})); | |
| 1419 | -exports["default"] = void 0; | |
| 1420 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1421 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1422 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1423 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1424 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1425 | -var _commandBase = _interopRequireDefault(__webpack_require__(/*! ./command-base */ "../modules/web-cli/assets/js/modules/command-base.js")); | |
| 1426 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1427 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1428 | -/** | |
| 1429 | - * To support pure callbacks in the API(commands.js), to ensure they have registered with the proper context. | |
| 1430 | - */ | |
| 1431 | -var CommandCallbackBase = exports["default"] = /*#__PURE__*/function (_CommandBase) { | |
| 1432 | - function CommandCallbackBase() { | |
| 1433 | - (0, _classCallCheck2.default)(this, CommandCallbackBase); | |
| 1434 | - return _callSuper(this, CommandCallbackBase, arguments); | |
| 1435 | - } | |
| 1436 | - (0, _inherits2.default)(CommandCallbackBase, _CommandBase); | |
| 1437 | - return (0, _createClass2.default)(CommandCallbackBase, [{ | |
| 1438 | - key: "apply", | |
| 1439 | - value: function apply() { | |
| 1440 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1441 | - return this.constructor.getCallback()(args); | |
| 1442 | - } | |
| 1443 | - }], [{ | |
| 1444 | - key: "getInstanceType", | |
| 1445 | - value: function getInstanceType() { | |
| 1446 | - return 'CommandCallbackBase'; | |
| 1447 | - } | |
| 1842 | +var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/defineProperty */ "../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js")); | |
| 1448 | 1843 | |
| 1449 | - /** | |
| 1450 | - * Get original callback of the command. | |
| 1451 | - * | |
| 1452 | - * Support pure callbacks ( Non command-base ). | |
| 1453 | - * | |
| 1454 | - * @return {()=>{}} Command Results. | |
| 1455 | - */ | |
| 1456 | - }, { | |
| 1457 | - key: "getCallback", | |
| 1458 | - value: function getCallback() { | |
| 1459 | - return this.registerConfig.callback; | |
| 1460 | - } | |
| 1461 | - }]); | |
| 1462 | -}(_commandBase.default); | |
| 1844 | +var _argsObject = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); | |
| 1463 | 1845 | |
| 1464 | -/***/ }), | |
| 1846 | +var CommandBase = /*#__PURE__*/function (_ArgsObject) { | |
| 1847 | + (0, _inherits2.default)(CommandBase, _ArgsObject); | |
| 1465 | 1848 | |
| 1466 | -/***/ "../modules/web-cli/assets/js/modules/command-infra.js": | |
| 1467 | -/*!*************************************************************!*\ | |
| 1468 | - !*** ../modules/web-cli/assets/js/modules/command-infra.js ***! | |
| 1469 | - \*************************************************************/ | |
| 1470 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1849 | + var _super = (0, _createSuper2.default)(CommandBase); | |
| 1471 | 1850 | |
| 1472 | -"use strict"; | |
| 1473 | - | |
| 1474 | - | |
| 1475 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1476 | -Object.defineProperty(exports, "__esModule", ({ | |
| 1477 | - value: true | |
| 1478 | -})); | |
| 1479 | -exports["default"] = void 0; | |
| 1480 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1481 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1482 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1483 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1484 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1485 | -var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); | |
| 1486 | -var _argsObject = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); | |
| 1487 | -var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js")); | |
| 1488 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1489 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1490 | -/** | |
| 1491 | - * @typedef {import('../modules/component-base')} ComponentBase | |
| 1492 | - */ | |
| 1493 | -var CommandInfra = exports["default"] = /*#__PURE__*/function (_ArgsObject) { | |
| 1494 | 1851 | /** |
| 1495 | 1852 | * Function constructor(). |
| 1496 | 1853 | * |
| 1497 | 1854 | * Create Commands Base. |
| 1498 | 1855 | * |
| 1499 | - * @param {{}} args | |
| 1856 | + * @param [args={}] | |
| 1857 | + * @param [commandsAPI={}] | |
| 1500 | 1858 | */ |
| 1501 | - function CommandInfra() { | |
| 1859 | + function CommandBase(args) { | |
| 1502 | 1860 | var _this; |
| 1503 | - var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 1504 | - (0, _classCallCheck2.default)(this, CommandInfra); | |
| 1505 | - _this = _callSuper(this, CommandInfra, [args]); | |
| 1506 | - if (!_this.constructor.registerConfig) { | |
| 1507 | - throw RangeError('Doing it wrong: Each command type should have `registerConfig`.'); | |
| 1508 | - } | |
| 1509 | 1861 | |
| 1510 | - // Acknowledge self about which command it run. | |
| 1511 | - _this.command = _this.constructor.getCommand(); | |
| 1862 | + var commandsAPI = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : $e.commands; | |
| 1863 | + (0, _classCallCheck2.default)(this, CommandBase); | |
| 1864 | + _this = _super.call(this, args); // Acknowledge self about which command it run. | |
| 1512 | 1865 | |
| 1513 | - // Assign instance of current component. | |
| 1514 | - _this.component = _this.constructor.getComponent(); | |
| 1866 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "component", void 0); | |
| 1867 | + _this.currentCommand = commandsAPI.getCurrentLast(); // Assign instance of current component. | |
| 1515 | 1868 | |
| 1516 | - // Who ever need do something before without `super` the constructor can use `initialize` method. | |
| 1517 | - _this.initialize(args); | |
| 1869 | + _this.component = commandsAPI.getComponent(_this.currentCommand); // Who ever need do something before without `super` the constructor can use `initialize` method. | |
| 1518 | 1870 | |
| 1519 | - // Refresh args, maybe the changed via `initialize`. | |
| 1520 | - args = _this.args; | |
| 1871 | + _this.initialize(args); // Refresh args, maybe the changed via `initialize`. | |
| 1521 | 1872 | |
| 1522 | - // Validate args before run. | |
| 1873 | + | |
| 1874 | + args = _this.args; // Validate args before run. | |
| 1875 | + | |
| 1523 | 1876 | _this.validateArgs(args); |
| 1877 | + | |
| 1524 | 1878 | return _this; |
| 1525 | 1879 | } |
| 1526 | - | |
| 1527 | 1880 | /** |
| 1528 | - * Function initialize(). | |
| 1881 | + * Function requireContainer(). | |
| 1529 | 1882 | * |
| 1530 | - * Initialize command, called after construction. | |
| 1883 | + * Validate `arg.container` & `arg.containers`. | |
| 1531 | 1884 | * |
| 1532 | 1885 | * @param {{}} args |
| 1886 | + * | |
| 1887 | + * @throws {Error} | |
| 1533 | 1888 | */ |
| 1534 | - (0, _inherits2.default)(CommandInfra, _ArgsObject); | |
| 1535 | - return (0, _createClass2.default)(CommandInfra, [{ | |
| 1536 | - key: "currentCommand", | |
| 1537 | - get: | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + (0, _createClass2.default)(CommandBase, [{ | |
| 1892 | + key: "requireContainer", | |
| 1893 | + value: function requireContainer() { | |
| 1894 | + var _this2 = this; | |
| 1895 | + | |
| 1896 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.args; | |
| 1897 | + | |
| 1898 | + if (!args.container && !args.containers) { | |
| 1899 | + throw Error('container or containers are required.'); | |
| 1900 | + } | |
| 1901 | + | |
| 1902 | + if (args.container && args.containers) { | |
| 1903 | + throw Error('container and containers cannot go together please select one of them.'); | |
| 1904 | + } | |
| 1905 | + | |
| 1906 | + var containers = args.containers || [args.container]; | |
| 1907 | + containers.forEach(function (container) { | |
| 1908 | + _this2.requireArgumentInstance('container', elementorModules.editor.Container, { | |
| 1909 | + container: container | |
| 1910 | + }); | |
| 1911 | + }); | |
| 1912 | + } | |
| 1538 | 1913 | /** |
| 1539 | - * @deprecated since 3.7.0, use `this.command` instead. | |
| 1914 | + * Function initialize(). | |
| 1915 | + * | |
| 1916 | + * Initialize command, called after construction. | |
| 1917 | + * | |
| 1918 | + * @param [args={}] | |
| 1540 | 1919 | */ |
| 1541 | - function get() { | |
| 1542 | - _deprecation.default.deprecated('this.currentCommand', '3.7.0', 'this.command'); | |
| 1543 | - return this.command; | |
| 1544 | - } | |
| 1920 | + | |
| 1545 | 1921 | }, { |
| 1546 | 1922 | key: "initialize", |
| 1547 | 1923 | value: function initialize() { |
| 1548 | 1924 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -1552,10 +1928,11 @@ | ||
| 1552 | 1928 | * Function validateArgs(). |
| 1553 | 1929 | * |
| 1554 | 1930 | * Validate command arguments. |
| 1555 | 1931 | * |
| 1556 | - * @param {{}} args | |
| 1932 | + * @param [args={}] | |
| 1557 | 1933 | */ |
| 1934 | + | |
| 1558 | 1935 | }, { |
| 1559 | 1936 | key: "validateArgs", |
| 1560 | 1937 | value: function validateArgs() { |
| 1561 | 1938 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -1560,18 +1937,31 @@ | ||
| 1560 | 1937 | value: function validateArgs() { |
| 1561 | 1938 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1562 | 1939 | } // eslint-disable-line no-unused-vars |
| 1563 | 1940 | |
| 1564 | - // eslint-disable-next-line jsdoc/require-returns-check | |
| 1565 | 1941 | /** |
| 1942 | + * Function isDataChanged(). | |
| 1943 | + * | |
| 1944 | + * Whether the editor needs to set change flag on/off. | |
| 1945 | + * | |
| 1946 | + * @returns {boolean} | |
| 1947 | + */ | |
| 1948 | + | |
| 1949 | + }, { | |
| 1950 | + key: "isDataChanged", | |
| 1951 | + value: function isDataChanged() { | |
| 1952 | + return false; | |
| 1953 | + } | |
| 1954 | + /** | |
| 1566 | 1955 | * Function apply(). |
| 1567 | 1956 | * |
| 1568 | 1957 | * Do the actual command. |
| 1569 | 1958 | * |
| 1570 | - * @param {{}} args | |
| 1959 | + * @param [args={}] | |
| 1571 | 1960 | * |
| 1572 | - * @return {*} Command results. | |
| 1961 | + * @returns {*} | |
| 1573 | 1962 | */ |
| 1963 | + | |
| 1574 | 1964 | }, { |
| 1575 | 1965 | key: "apply", |
| 1576 | 1966 | value: function apply() { |
| 1577 | 1967 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -1577,78 +1967,209 @@ | ||
| 1577 | 1967 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1578 | 1968 | // eslint-disable-line no-unused-vars |
| 1579 | 1969 | elementorModules.ForceMethodImplementation(); |
| 1580 | 1970 | } |
| 1581 | - | |
| 1582 | 1971 | /** |
| 1583 | 1972 | * Function run(). |
| 1584 | 1973 | * |
| 1585 | 1974 | * Run command with history & hooks. |
| 1586 | 1975 | * |
| 1587 | - * @return {*} Command results. | |
| 1976 | + * @returns {*} | |
| 1588 | 1977 | */ |
| 1978 | + | |
| 1589 | 1979 | }, { |
| 1590 | 1980 | key: "run", |
| 1591 | 1981 | value: function run() { |
| 1592 | - return this.apply(this.args); | |
| 1982 | + var result; // For UI Hooks. | |
| 1983 | + | |
| 1984 | + this.onBeforeRun(this.args); | |
| 1985 | + | |
| 1986 | + try { | |
| 1987 | + // For Data hooks. | |
| 1988 | + this.onBeforeApply(this.args); | |
| 1989 | + result = this.apply(this.args); | |
| 1990 | + } catch (e) { | |
| 1991 | + this.onCatchApply(e); // Catch 'Hook-Break' that comes from hooks base. | |
| 1992 | + | |
| 1993 | + if (e instanceof $e.modules.HookBreak) { | |
| 1994 | + // Bypass. | |
| 1995 | + return false; | |
| 1996 | + } | |
| 1997 | + } | |
| 1998 | + | |
| 1999 | + return this.runAfter(result); | |
| 1593 | 2000 | } |
| 2001 | + }, { | |
| 2002 | + key: "runAfter", | |
| 2003 | + value: function runAfter(result) { | |
| 2004 | + var _this3 = this; | |
| 1594 | 2005 | |
| 2006 | + var onAfter = function onAfter(_result) { | |
| 2007 | + // Run Data hooks. | |
| 2008 | + _this3.onAfterApply(_this3.args, _result); // TODO: Create Command-Base for Command-Document and apply it on after. | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + if (_this3.isDataChanged()) { | |
| 2012 | + $e.internal('document/save/set-is-modified', { | |
| 2013 | + status: true | |
| 2014 | + }); | |
| 2015 | + } // For UI hooks. | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + _this3.onAfterRun(_this3.args, _result); | |
| 2019 | + }, | |
| 2020 | + asyncOnAfter = /*#__PURE__*/function () { | |
| 2021 | + var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(_result) { | |
| 2022 | + var results, promises; | |
| 2023 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 2024 | + while (1) { | |
| 2025 | + switch (_context.prev = _context.next) { | |
| 2026 | + case 0: | |
| 2027 | + // Run Data hooks. | |
| 2028 | + results = _this3.onAfterApply(_this3.args, _result), promises = (0, _isArray.default)(results) ? results.flat().filter(function (filtered) { | |
| 2029 | + return filtered instanceof _promise.default; | |
| 2030 | + }) : []; | |
| 2031 | + | |
| 2032 | + if (!promises.length) { | |
| 2033 | + _context.next = 4; | |
| 2034 | + break; | |
| 2035 | + } | |
| 2036 | + | |
| 2037 | + _context.next = 4; | |
| 2038 | + return _promise.default.all(promises); | |
| 2039 | + | |
| 2040 | + case 4: | |
| 2041 | + if (_this3.isDataChanged()) { | |
| 2042 | + // TODO: Create Command-Base for Command-Document and apply it on after. | |
| 2043 | + $e.internal('document/save/set-is-modified', { | |
| 2044 | + status: true | |
| 2045 | + }); | |
| 2046 | + } // For UI hooks. | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + _this3.onAfterRun(_this3.args, _result); | |
| 2050 | + | |
| 2051 | + case 6: | |
| 2052 | + case "end": | |
| 2053 | + return _context.stop(); | |
| 2054 | + } | |
| 2055 | + } | |
| 2056 | + }, _callee); | |
| 2057 | + })); | |
| 2058 | + | |
| 2059 | + return function asyncOnAfter(_x) { | |
| 2060 | + return _ref.apply(this, arguments); | |
| 2061 | + }; | |
| 2062 | + }(); // TODO: Temp code determine if it's a jQuery deferred object. | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + if (result && 'object' === (0, _typeof2.default)(result) && result.promise && result.then && result.fail) { | |
| 2066 | + result.fail(this.onCatchApply.bind(this)); | |
| 2067 | + result.done(onAfter); | |
| 2068 | + } else if (result instanceof _promise.default) { | |
| 2069 | + // Override initial result ( promise ) to await onAfter promises, first!. | |
| 2070 | + return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() { | |
| 2071 | + return _regenerator.default.wrap(function _callee2$(_context2) { | |
| 2072 | + while (1) { | |
| 2073 | + switch (_context2.prev = _context2.next) { | |
| 2074 | + case 0: | |
| 2075 | + _context2.next = 2; | |
| 2076 | + return result.catch(_this3.onCatchApply.bind(_this3)); | |
| 2077 | + | |
| 2078 | + case 2: | |
| 2079 | + _context2.next = 4; | |
| 2080 | + return result.then(function (_result) { | |
| 2081 | + return asyncOnAfter(_result); | |
| 2082 | + }); | |
| 2083 | + | |
| 2084 | + case 4: | |
| 2085 | + return _context2.abrupt("return", result); | |
| 2086 | + | |
| 2087 | + case 5: | |
| 2088 | + case "end": | |
| 2089 | + return _context2.stop(); | |
| 2090 | + } | |
| 2091 | + } | |
| 2092 | + }, _callee2); | |
| 2093 | + }))(); | |
| 2094 | + } else { | |
| 2095 | + onAfter(result); | |
| 2096 | + } | |
| 2097 | + | |
| 2098 | + return result; | |
| 2099 | + } | |
| 1595 | 2100 | /** |
| 2101 | + * Run all the catch hooks. | |
| 2102 | + * | |
| 2103 | + * @param {Error} e | |
| 2104 | + */ | |
| 2105 | + | |
| 2106 | + }, { | |
| 2107 | + key: "runCatchHooks", | |
| 2108 | + value: function runCatchHooks(e) { | |
| 2109 | + $e.hooks.runDataCatch(this.currentCommand, this.args, e); | |
| 2110 | + $e.hooks.runUICatch(this.currentCommand, this.args, e); | |
| 2111 | + } | |
| 2112 | + /** | |
| 1596 | 2113 | * Function onBeforeRun. |
| 1597 | 2114 | * |
| 1598 | 2115 | * Called before run(). |
| 1599 | 2116 | * |
| 1600 | - * @param {{}} args | |
| 2117 | + * @param [args={}] | |
| 1601 | 2118 | */ |
| 2119 | + | |
| 1602 | 2120 | }, { |
| 1603 | 2121 | key: "onBeforeRun", |
| 1604 | 2122 | value: function onBeforeRun() { |
| 1605 | 2123 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1606 | - } // eslint-disable-line no-unused-vars | |
| 1607 | - | |
| 2124 | + $e.hooks.runUIBefore(this.currentCommand, args); | |
| 2125 | + } | |
| 1608 | 2126 | /** |
| 1609 | 2127 | * Function onAfterRun. |
| 1610 | 2128 | * |
| 1611 | 2129 | * Called after run(). |
| 1612 | 2130 | * |
| 1613 | - * @param {{}} args | |
| 1614 | - * @param {*} result | |
| 2131 | + * @param [args={}] | |
| 2132 | + * @param [result={*}] | |
| 1615 | 2133 | */ |
| 2134 | + | |
| 1616 | 2135 | }, { |
| 1617 | 2136 | key: "onAfterRun", |
| 1618 | 2137 | value: function onAfterRun() { |
| 1619 | 2138 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1620 | 2139 | var result = arguments.length > 1 ? arguments[1] : undefined; |
| 1621 | - } // eslint-disable-line no-unused-vars | |
| 1622 | - | |
| 2140 | + $e.hooks.runUIAfter(this.currentCommand, args, result); | |
| 2141 | + } | |
| 1623 | 2142 | /** |
| 1624 | 2143 | * Function onBeforeApply. |
| 1625 | 2144 | * |
| 1626 | 2145 | * Called before apply(). |
| 1627 | 2146 | * |
| 1628 | - * @param {{}} args | |
| 2147 | + * @param [args={}] | |
| 1629 | 2148 | */ |
| 2149 | + | |
| 1630 | 2150 | }, { |
| 1631 | 2151 | key: "onBeforeApply", |
| 1632 | 2152 | value: function onBeforeApply() { |
| 1633 | 2153 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1634 | - } // eslint-disable-line no-unused-vars | |
| 1635 | - | |
| 2154 | + $e.hooks.runDataDependency(this.currentCommand, args); | |
| 2155 | + } | |
| 1636 | 2156 | /** |
| 1637 | 2157 | * Function onAfterApply. |
| 1638 | 2158 | * |
| 1639 | 2159 | * Called after apply(). |
| 1640 | 2160 | * |
| 1641 | - * @param {{}} args | |
| 1642 | - * @param {*} result | |
| 2161 | + * @param [args={}] | |
| 2162 | + * @param [result={*}] | |
| 1643 | 2163 | */ |
| 2164 | + | |
| 1644 | 2165 | }, { |
| 1645 | 2166 | key: "onAfterApply", |
| 1646 | 2167 | value: function onAfterApply() { |
| 1647 | 2168 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1648 | 2169 | var result = arguments.length > 1 ? arguments[1] : undefined; |
| 1649 | - } // eslint-disable-line no-unused-vars | |
| 1650 | - | |
| 2170 | + return $e.hooks.runDataAfter(this.currentCommand, args, result); | |
| 2171 | + } | |
| 1651 | 2172 | /** |
| 1652 | 2173 | * Function onCatchApply. |
| 1653 | 2174 | * |
| 1654 | 2175 | * Called after apply() failed. |
| @@ -1654,62 +2175,50 @@ | ||
| 1654 | 2175 | * Called after apply() failed. |
| 1655 | 2176 | * |
| 1656 | 2177 | * @param {Error} e |
| 1657 | 2178 | */ |
| 2179 | + | |
| 1658 | 2180 | }, { |
| 1659 | 2181 | key: "onCatchApply", |
| 1660 | - value: function onCatchApply(e) {} // eslint-disable-line no-unused-vars | |
| 2182 | + value: function onCatchApply(e) { | |
| 2183 | + this.runCatchHooks(e); | |
| 2184 | + elementorCommon.helpers.consoleError(e); | |
| 2185 | + } | |
| 1661 | 2186 | }], [{ |
| 1662 | 2187 | key: "getInstanceType", |
| 1663 | 2188 | value: function getInstanceType() { |
| 1664 | - return 'CommandInfra'; | |
| 2189 | + return 'CommandBase'; | |
| 1665 | 2190 | } |
| 1666 | - | |
| 1667 | 2191 | /** |
| 1668 | 2192 | * Get info of command. |
| 1669 | 2193 | * |
| 1670 | - * @return {Object} Extra information about the command. | |
| 2194 | + * Use to provide 'extra' information about the command. | |
| 2195 | + * | |
| 2196 | + * @returns {Object} | |
| 1671 | 2197 | */ |
| 2198 | + | |
| 1672 | 2199 | }, { |
| 1673 | 2200 | key: "getInfo", |
| 1674 | 2201 | value: function getInfo() { |
| 1675 | 2202 | return {}; |
| 1676 | 2203 | } |
| 1677 | - | |
| 1678 | 2204 | /** |
| 1679 | - * @return {string} Self command name. | |
| 2205 | + * Current component. | |
| 2206 | + * | |
| 2207 | + * @type {Component} | |
| 1680 | 2208 | */ |
| 1681 | - }, { | |
| 1682 | - key: "getCommand", | |
| 1683 | - value: function getCommand() { | |
| 1684 | - return this.registerConfig.command; | |
| 1685 | - } | |
| 1686 | 2209 | |
| 1687 | - /** | |
| 1688 | - * @return {ComponentBase} Self component | |
| 1689 | - */ | |
| 1690 | - }, { | |
| 1691 | - key: "getComponent", | |
| 1692 | - value: function getComponent() { | |
| 1693 | - return this.registerConfig.component; | |
| 1694 | - } | |
| 1695 | - }, { | |
| 1696 | - key: "setRegisterConfig", | |
| 1697 | - value: function setRegisterConfig(config) { | |
| 1698 | - this.registerConfig = Object.freeze(config); | |
| 1699 | - } | |
| 1700 | 2210 | }]); |
| 2211 | + return CommandBase; | |
| 1701 | 2212 | }(_argsObject.default); |
| 1702 | -/** | |
| 1703 | - * @type {Object} | |
| 1704 | - */ | |
| 1705 | -(0, _defineProperty2.default)(CommandInfra, "registerConfig", null); | |
| 1706 | 2213 | |
| 2214 | +exports.default = CommandBase; | |
| 2215 | + | |
| 1707 | 2216 | /***/ }), |
| 1708 | 2217 | |
| 1709 | -/***/ "../modules/web-cli/assets/js/modules/commands/close.js": | |
| 2218 | +/***/ "../core/common/assets/js/api/modules/commands/close.js": | |
| 1710 | 2219 | /*!**************************************************************!*\ |
| 1711 | - !*** ../modules/web-cli/assets/js/modules/commands/close.js ***! | |
| 2220 | + !*** ../core/common/assets/js/api/modules/commands/close.js ***! | |
| 1712 | 2221 | \**************************************************************/ |
| 1713 | 2222 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1714 | 2223 | |
| 1715 | 2224 | "use strict"; |
| @@ -1714,41 +2223,56 @@ | ||
| 1714 | 2223 | |
| 1715 | 2224 | "use strict"; |
| 1716 | 2225 | |
| 1717 | 2226 | |
| 1718 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1719 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2227 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2228 | + | |
| 2229 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2230 | + | |
| 2231 | +_Object$defineProperty(exports, "__esModule", { | |
| 1720 | 2232 | value: true |
| 1721 | -})); | |
| 1722 | -exports["default"] = exports.Close = void 0; | |
| 1723 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1724 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1725 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1726 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1727 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1728 | -var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js")); | |
| 1729 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1730 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1731 | -var Close = exports.Close = /*#__PURE__*/function (_CommandBase) { | |
| 2233 | +}); | |
| 2234 | + | |
| 2235 | +exports.default = exports.Close = void 0; | |
| 2236 | + | |
| 2237 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2238 | + | |
| 2239 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2240 | + | |
| 2241 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2242 | + | |
| 2243 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2244 | + | |
| 2245 | +var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../core/common/assets/js/api/modules/command-base.js")); | |
| 2246 | + | |
| 2247 | +var Close = /*#__PURE__*/function (_CommandBase) { | |
| 2248 | + (0, _inherits2.default)(Close, _CommandBase); | |
| 2249 | + | |
| 2250 | + var _super = (0, _createSuper2.default)(Close); | |
| 2251 | + | |
| 1732 | 2252 | function Close() { |
| 1733 | 2253 | (0, _classCallCheck2.default)(this, Close); |
| 1734 | - return _callSuper(this, Close, arguments); | |
| 2254 | + return _super.apply(this, arguments); | |
| 1735 | 2255 | } |
| 1736 | - (0, _inherits2.default)(Close, _CommandBase); | |
| 1737 | - return (0, _createClass2.default)(Close, [{ | |
| 2256 | + | |
| 2257 | + (0, _createClass2.default)(Close, [{ | |
| 1738 | 2258 | key: "apply", |
| 1739 | 2259 | value: function apply() { |
| 1740 | 2260 | this.component.close(); |
| 1741 | 2261 | } |
| 1742 | 2262 | }]); |
| 2263 | + return Close; | |
| 1743 | 2264 | }(_commandBase.default); |
| 1744 | -var _default = exports["default"] = Close; | |
| 1745 | 2265 | |
| 2266 | +exports.Close = Close; | |
| 2267 | +var _default = Close; | |
| 2268 | +exports.default = _default; | |
| 2269 | + | |
| 1746 | 2270 | /***/ }), |
| 1747 | 2271 | |
| 1748 | -/***/ "../modules/web-cli/assets/js/modules/commands/index.js": | |
| 2272 | +/***/ "../core/common/assets/js/api/modules/commands/index.js": | |
| 1749 | 2273 | /*!**************************************************************!*\ |
| 1750 | - !*** ../modules/web-cli/assets/js/modules/commands/index.js ***! | |
| 2274 | + !*** ../core/common/assets/js/api/modules/commands/index.js ***! | |
| 1751 | 2275 | \**************************************************************/ |
| 1752 | 2276 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1753 | 2277 | |
| 1754 | 2278 | "use strict"; |
| @@ -1753,38 +2277,46 @@ | ||
| 1753 | 2277 | |
| 1754 | 2278 | "use strict"; |
| 1755 | 2279 | |
| 1756 | 2280 | |
| 1757 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2281 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2282 | + | |
| 2283 | +_Object$defineProperty(exports, "__esModule", { | |
| 1758 | 2284 | value: true |
| 1759 | -})); | |
| 1760 | -Object.defineProperty(exports, "Close", ({ | |
| 2285 | +}); | |
| 2286 | + | |
| 2287 | +_Object$defineProperty(exports, "Close", { | |
| 1761 | 2288 | enumerable: true, |
| 1762 | 2289 | get: function get() { |
| 1763 | 2290 | return _close.Close; |
| 1764 | 2291 | } |
| 1765 | -})); | |
| 1766 | -Object.defineProperty(exports, "Open", ({ | |
| 2292 | +}); | |
| 2293 | + | |
| 2294 | +_Object$defineProperty(exports, "Open", { | |
| 1767 | 2295 | enumerable: true, |
| 1768 | 2296 | get: function get() { |
| 1769 | 2297 | return _open.Open; |
| 1770 | 2298 | } |
| 1771 | -})); | |
| 1772 | -Object.defineProperty(exports, "Toggle", ({ | |
| 2299 | +}); | |
| 2300 | + | |
| 2301 | +_Object$defineProperty(exports, "Toggle", { | |
| 1773 | 2302 | enumerable: true, |
| 1774 | 2303 | get: function get() { |
| 1775 | 2304 | return _toggle.Toggle; |
| 1776 | 2305 | } |
| 1777 | -})); | |
| 1778 | -var _close = __webpack_require__(/*! ./close */ "../modules/web-cli/assets/js/modules/commands/close.js"); | |
| 1779 | -var _open = __webpack_require__(/*! ./open */ "../modules/web-cli/assets/js/modules/commands/open.js"); | |
| 1780 | -var _toggle = __webpack_require__(/*! ./toggle */ "../modules/web-cli/assets/js/modules/commands/toggle.js"); | |
| 2306 | +}); | |
| 1781 | 2307 | |
| 2308 | +var _close = __webpack_require__(/*! ./close */ "../core/common/assets/js/api/modules/commands/close.js"); | |
| 2309 | + | |
| 2310 | +var _open = __webpack_require__(/*! ./open */ "../core/common/assets/js/api/modules/commands/open.js"); | |
| 2311 | + | |
| 2312 | +var _toggle = __webpack_require__(/*! ./toggle */ "../core/common/assets/js/api/modules/commands/toggle.js"); | |
| 2313 | + | |
| 1782 | 2314 | /***/ }), |
| 1783 | 2315 | |
| 1784 | -/***/ "../modules/web-cli/assets/js/modules/commands/open.js": | |
| 2316 | +/***/ "../core/common/assets/js/api/modules/commands/open.js": | |
| 1785 | 2317 | /*!*************************************************************!*\ |
| 1786 | - !*** ../modules/web-cli/assets/js/modules/commands/open.js ***! | |
| 2318 | + !*** ../core/common/assets/js/api/modules/commands/open.js ***! | |
| 1787 | 2319 | \*************************************************************/ |
| 1788 | 2320 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1789 | 2321 | |
| 1790 | 2322 | "use strict"; |
| @@ -1789,41 +2321,56 @@ | ||
| 1789 | 2321 | |
| 1790 | 2322 | "use strict"; |
| 1791 | 2323 | |
| 1792 | 2324 | |
| 1793 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1794 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2325 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2326 | + | |
| 2327 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2328 | + | |
| 2329 | +_Object$defineProperty(exports, "__esModule", { | |
| 1795 | 2330 | value: true |
| 1796 | -})); | |
| 1797 | -exports["default"] = exports.Open = void 0; | |
| 1798 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1799 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1800 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1801 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1802 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1803 | -var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js")); | |
| 1804 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1805 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1806 | -var Open = exports.Open = /*#__PURE__*/function (_CommandBase) { | |
| 2331 | +}); | |
| 2332 | + | |
| 2333 | +exports.default = exports.Open = void 0; | |
| 2334 | + | |
| 2335 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2336 | + | |
| 2337 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2338 | + | |
| 2339 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2340 | + | |
| 2341 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2342 | + | |
| 2343 | +var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../core/common/assets/js/api/modules/command-base.js")); | |
| 2344 | + | |
| 2345 | +var Open = /*#__PURE__*/function (_CommandBase) { | |
| 2346 | + (0, _inherits2.default)(Open, _CommandBase); | |
| 2347 | + | |
| 2348 | + var _super = (0, _createSuper2.default)(Open); | |
| 2349 | + | |
| 1807 | 2350 | function Open() { |
| 1808 | 2351 | (0, _classCallCheck2.default)(this, Open); |
| 1809 | - return _callSuper(this, Open, arguments); | |
| 2352 | + return _super.apply(this, arguments); | |
| 1810 | 2353 | } |
| 1811 | - (0, _inherits2.default)(Open, _CommandBase); | |
| 1812 | - return (0, _createClass2.default)(Open, [{ | |
| 2354 | + | |
| 2355 | + (0, _createClass2.default)(Open, [{ | |
| 1813 | 2356 | key: "apply", |
| 1814 | 2357 | value: function apply() { |
| 1815 | 2358 | $e.route(this.component.getNamespace()); |
| 1816 | 2359 | } |
| 1817 | 2360 | }]); |
| 2361 | + return Open; | |
| 1818 | 2362 | }(_commandBase.default); |
| 1819 | -var _default = exports["default"] = Open; | |
| 1820 | 2363 | |
| 2364 | +exports.Open = Open; | |
| 2365 | +var _default = Open; | |
| 2366 | +exports.default = _default; | |
| 2367 | + | |
| 1821 | 2368 | /***/ }), |
| 1822 | 2369 | |
| 1823 | -/***/ "../modules/web-cli/assets/js/modules/commands/toggle.js": | |
| 2370 | +/***/ "../core/common/assets/js/api/modules/commands/toggle.js": | |
| 1824 | 2371 | /*!***************************************************************!*\ |
| 1825 | - !*** ../modules/web-cli/assets/js/modules/commands/toggle.js ***! | |
| 2372 | + !*** ../core/common/assets/js/api/modules/commands/toggle.js ***! | |
| 1826 | 2373 | \***************************************************************/ |
| 1827 | 2374 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1828 | 2375 | |
| 1829 | 2376 | "use strict"; |
| @@ -1828,28 +2375,39 @@ | ||
| 1828 | 2375 | |
| 1829 | 2376 | "use strict"; |
| 1830 | 2377 | |
| 1831 | 2378 | |
| 1832 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1833 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2379 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2380 | + | |
| 2381 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2382 | + | |
| 2383 | +_Object$defineProperty(exports, "__esModule", { | |
| 1834 | 2384 | value: true |
| 1835 | -})); | |
| 1836 | -exports["default"] = exports.Toggle = void 0; | |
| 1837 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1838 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1839 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1840 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1841 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1842 | -var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js")); | |
| 1843 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1844 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1845 | -var Toggle = exports.Toggle = /*#__PURE__*/function (_CommandBase) { | |
| 2385 | +}); | |
| 2386 | + | |
| 2387 | +exports.default = exports.Toggle = void 0; | |
| 2388 | + | |
| 2389 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2390 | + | |
| 2391 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2392 | + | |
| 2393 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2394 | + | |
| 2395 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2396 | + | |
| 2397 | +var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../core/common/assets/js/api/modules/command-base.js")); | |
| 2398 | + | |
| 2399 | +var Toggle = /*#__PURE__*/function (_CommandBase) { | |
| 2400 | + (0, _inherits2.default)(Toggle, _CommandBase); | |
| 2401 | + | |
| 2402 | + var _super = (0, _createSuper2.default)(Toggle); | |
| 2403 | + | |
| 1846 | 2404 | function Toggle() { |
| 1847 | 2405 | (0, _classCallCheck2.default)(this, Toggle); |
| 1848 | - return _callSuper(this, Toggle, arguments); | |
| 2406 | + return _super.apply(this, arguments); | |
| 1849 | 2407 | } |
| 1850 | - (0, _inherits2.default)(Toggle, _CommandBase); | |
| 1851 | - return (0, _createClass2.default)(Toggle, [{ | |
| 2408 | + | |
| 2409 | + (0, _createClass2.default)(Toggle, [{ | |
| 1852 | 2410 | key: "apply", |
| 1853 | 2411 | value: function apply() { |
| 1854 | 2412 | if (this.component.isOpen) { |
| 1855 | 2413 | this.component.close(); |
| @@ -1857,16 +2415,20 @@ | ||
| 1857 | 2415 | $e.route(this.component.getNamespace()); |
| 1858 | 2416 | } |
| 1859 | 2417 | } |
| 1860 | 2418 | }]); |
| 2419 | + return Toggle; | |
| 1861 | 2420 | }(_commandBase.default); |
| 1862 | -var _default = exports["default"] = Toggle; | |
| 1863 | 2421 | |
| 2422 | +exports.Toggle = Toggle; | |
| 2423 | +var _default = Toggle; | |
| 2424 | +exports.default = _default; | |
| 2425 | + | |
| 1864 | 2426 | /***/ }), |
| 1865 | 2427 | |
| 1866 | -/***/ "../modules/web-cli/assets/js/modules/component-base.js": | |
| 2428 | +/***/ "../core/common/assets/js/api/modules/component-base.js": | |
| 1867 | 2429 | /*!**************************************************************!*\ |
| 1868 | - !*** ../modules/web-cli/assets/js/modules/component-base.js ***! | |
| 2430 | + !*** ../core/common/assets/js/api/modules/component-base.js ***! | |
| 1869 | 2431 | \**************************************************************/ |
| 1870 | 2432 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1871 | 2433 | |
| 1872 | 2434 | "use strict"; |
| @@ -1871,47 +2433,59 @@ | ||
| 1871 | 2433 | |
| 1872 | 2434 | "use strict"; |
| 1873 | 2435 | |
| 1874 | 2436 | |
| 1875 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1876 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2437 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2438 | + | |
| 2439 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2440 | + | |
| 2441 | +_Object$defineProperty(exports, "__esModule", { | |
| 1877 | 2442 | value: true |
| 1878 | -})); | |
| 1879 | -exports["default"] = void 0; | |
| 1880 | -var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); | |
| 1881 | -var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); | |
| 1882 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 1883 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 1884 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 1885 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 1886 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1887 | -var _commandCallbackBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-callback-base */ "../modules/web-cli/assets/js/modules/command-callback-base.js")); | |
| 1888 | -var _toolkit = __webpack_require__(/*! @reduxjs/toolkit */ "../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js"); | |
| 1889 | -var _module = _interopRequireDefault(__webpack_require__(/*! elementor/assets/dev/js/modules/imports/module.js */ "../assets/dev/js/modules/imports/module.js")); | |
| 1890 | -var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ../utils/force-method-implementation */ "../modules/web-cli/assets/js/utils/force-method-implementation.js")); | |
| 1891 | -var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js")); | |
| 1892 | -function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | |
| 1893 | -function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | |
| 1894 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1895 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1896 | -/** | |
| 1897 | - * @typedef {import('./command-infra')} CommandInfra | |
| 1898 | - * @typedef {import('./hook-base')} HookBase | |
| 1899 | - * @typedef {import('../core/states/ui-state-base')} UiStateBase | |
| 1900 | - */ | |
| 1901 | -var ComponentBase = exports["default"] = /*#__PURE__*/function (_Module) { | |
| 2443 | +}); | |
| 2444 | + | |
| 2445 | +exports.default = void 0; | |
| 2446 | + | |
| 2447 | +__webpack_require__(/*! core-js/modules/es6.regexp.split.js */ "../node_modules/core-js/modules/es6.regexp.split.js"); | |
| 2448 | + | |
| 2449 | +__webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); | |
| 2450 | + | |
| 2451 | +__webpack_require__(/*! core-js/modules/es6.regexp.replace.js */ "../node_modules/core-js/modules/es6.regexp.replace.js"); | |
| 2452 | + | |
| 2453 | +var _entries = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/entries */ "../node_modules/@babel/runtime-corejs2/core-js/object/entries.js")); | |
| 2454 | + | |
| 2455 | +var _values = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/values */ "../node_modules/@babel/runtime-corejs2/core-js/object/values.js")); | |
| 2456 | + | |
| 2457 | +var _keys = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/keys */ "../node_modules/@babel/runtime-corejs2/core-js/object/keys.js")); | |
| 2458 | + | |
| 2459 | +var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/slicedToArray */ "../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js")); | |
| 2460 | + | |
| 2461 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2462 | + | |
| 2463 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2464 | + | |
| 2465 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2466 | + | |
| 2467 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2468 | + | |
| 2469 | +var ComponentBase = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 2470 | + (0, _inherits2.default)(ComponentBase, _elementorModules$Mod); | |
| 2471 | + | |
| 2472 | + var _super = (0, _createSuper2.default)(ComponentBase); | |
| 2473 | + | |
| 1902 | 2474 | function ComponentBase() { |
| 1903 | 2475 | (0, _classCallCheck2.default)(this, ComponentBase); |
| 1904 | - return _callSuper(this, ComponentBase, arguments); | |
| 2476 | + return _super.apply(this, arguments); | |
| 1905 | 2477 | } |
| 1906 | - (0, _inherits2.default)(ComponentBase, _Module); | |
| 1907 | - return (0, _createClass2.default)(ComponentBase, [{ | |
| 2478 | + | |
| 2479 | + (0, _createClass2.default)(ComponentBase, [{ | |
| 1908 | 2480 | key: "__construct", |
| 1909 | 2481 | value: function __construct() { |
| 1910 | 2482 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 2483 | + | |
| 1911 | 2484 | if (args.manager) { |
| 1912 | 2485 | this.manager = args.manager; |
| 1913 | 2486 | } |
| 2487 | + | |
| 1914 | 2488 | this.commands = this.defaultCommands(); |
| 1915 | 2489 | this.commandsInternal = this.defaultCommandsInternal(); |
| 1916 | 2490 | this.hooks = this.defaultHooks(); |
| 1917 | 2491 | this.routes = this.defaultRoutes(); |
| @@ -1919,9 +2493,8 @@ | ||
| 1919 | 2493 | this.shortcuts = this.defaultShortcuts(); |
| 1920 | 2494 | this.utils = this.defaultUtils(); |
| 1921 | 2495 | this.data = this.defaultData(); |
| 1922 | 2496 | this.uiStates = this.defaultUiStates(); |
| 1923 | - this.states = this.defaultStates(); | |
| 1924 | 2497 | this.defaultRoute = ''; |
| 1925 | 2498 | this.currentTab = ''; |
| 1926 | 2499 | } |
| 1927 | 2500 | }, { |
| @@ -1927,79 +2500,63 @@ | ||
| 1927 | 2500 | }, { |
| 1928 | 2501 | key: "registerAPI", |
| 1929 | 2502 | value: function registerAPI() { |
| 1930 | 2503 | var _this = this; |
| 1931 | - Object.entries(this.getTabs()).forEach(function (tab) { | |
| 2504 | + | |
| 2505 | + (0, _entries.default)(this.getTabs()).forEach(function (tab) { | |
| 1932 | 2506 | return _this.registerTabRoute(tab[0]); |
| 1933 | 2507 | }); |
| 1934 | - Object.entries(this.getRoutes()).forEach(function (_ref) { | |
| 2508 | + (0, _entries.default)(this.getRoutes()).forEach(function (_ref) { | |
| 1935 | 2509 | var _ref2 = (0, _slicedToArray2.default)(_ref, 2), |
| 1936 | - route = _ref2[0], | |
| 1937 | - callback = _ref2[1]; | |
| 2510 | + route = _ref2[0], | |
| 2511 | + callback = _ref2[1]; | |
| 2512 | + | |
| 1938 | 2513 | return _this.registerRoute(route, callback); |
| 1939 | 2514 | }); |
| 1940 | - Object.entries(this.getCommands()).forEach(function (_ref3) { | |
| 2515 | + (0, _entries.default)(this.getCommands()).forEach(function (_ref3) { | |
| 1941 | 2516 | var _ref4 = (0, _slicedToArray2.default)(_ref3, 2), |
| 1942 | - command = _ref4[0], | |
| 1943 | - callback = _ref4[1]; | |
| 2517 | + command = _ref4[0], | |
| 2518 | + callback = _ref4[1]; | |
| 2519 | + | |
| 1944 | 2520 | return _this.registerCommand(command, callback); |
| 1945 | 2521 | }); |
| 1946 | - Object.entries(this.getCommandsInternal()).forEach(function (_ref5) { | |
| 2522 | + (0, _entries.default)(this.getCommandsInternal()).forEach(function (_ref5) { | |
| 1947 | 2523 | var _ref6 = (0, _slicedToArray2.default)(_ref5, 2), |
| 1948 | - command = _ref6[0], | |
| 1949 | - callback = _ref6[1]; | |
| 2524 | + command = _ref6[0], | |
| 2525 | + callback = _ref6[1]; | |
| 2526 | + | |
| 1950 | 2527 | return _this.registerCommandInternal(command, callback); |
| 1951 | 2528 | }); |
| 1952 | - Object.values(this.getHooks()).forEach(function (instance) { | |
| 2529 | + (0, _values.default)(this.getHooks()).forEach(function (instance) { | |
| 1953 | 2530 | return _this.registerHook(instance); |
| 1954 | 2531 | }); |
| 1955 | - Object.entries(this.getData()).forEach(function (_ref7) { | |
| 2532 | + (0, _entries.default)(this.getData()).forEach(function (_ref7) { | |
| 1956 | 2533 | var _ref8 = (0, _slicedToArray2.default)(_ref7, 2), |
| 1957 | - command = _ref8[0], | |
| 1958 | - callback = _ref8[1]; | |
| 2534 | + command = _ref8[0], | |
| 2535 | + callback = _ref8[1]; | |
| 2536 | + | |
| 1959 | 2537 | return _this.registerData(command, callback); |
| 1960 | 2538 | }); |
| 1961 | - Object.values(this.getUiStates()).forEach(function (instance) { | |
| 2539 | + (0, _values.default)(this.getUiStates()).forEach(function (instance) { | |
| 1962 | 2540 | return _this.registerUiState(instance); |
| 1963 | 2541 | }); |
| 1964 | - Object.entries(this.getStates()).forEach(function (_ref9) { | |
| 1965 | - var _ref0 = (0, _slicedToArray2.default)(_ref9, 2), | |
| 1966 | - id = _ref0[0], | |
| 1967 | - state = _ref0[1]; | |
| 1968 | - return _this.registerState(id, state); | |
| 1969 | - }); | |
| 1970 | 2542 | } |
| 1971 | - | |
| 1972 | - // eslint-disable-next-line jsdoc/require-returns-check | |
| 1973 | 2543 | /** |
| 1974 | - * @return {string} namespace | |
| 2544 | + * @returns {string} | |
| 1975 | 2545 | */ |
| 2546 | + | |
| 1976 | 2547 | }, { |
| 1977 | 2548 | key: "getNamespace", |
| 1978 | 2549 | value: function getNamespace() { |
| 1979 | - (0, _forceMethodImplementation.default)(); | |
| 2550 | + elementorModules.ForceMethodImplementation(); | |
| 1980 | 2551 | } |
| 1981 | - | |
| 1982 | - /** | |
| 1983 | - * @deprecated since 3.7.0, use `getServiceName()` instead. | |
| 1984 | - */ | |
| 1985 | 2552 | }, { |
| 1986 | 2553 | key: "getRootContainer", |
| 1987 | 2554 | value: function getRootContainer() { |
| 1988 | - _deprecation.default.deprecated('getRootContainer()', '3.7.0', 'getServiceName()'); | |
| 1989 | - return this.getServiceName(); | |
| 2555 | + var parts = this.getNamespace().split('/'); | |
| 2556 | + return parts[0]; | |
| 1990 | 2557 | } |
| 1991 | 2558 | }, { |
| 1992 | - key: "getServiceName", | |
| 1993 | - value: function getServiceName() { | |
| 1994 | - return this.getNamespace().split('/')[0]; | |
| 1995 | - } | |
| 1996 | - }, { | |
| 1997 | - key: "store", | |
| 1998 | - get: function get() { | |
| 1999 | - return $e.store.get(this.getNamespace()); | |
| 2000 | - } | |
| 2001 | - }, { | |
| 2002 | 2559 | key: "defaultTabs", |
| 2003 | 2560 | value: function defaultTabs() { |
| 2004 | 2561 | return {}; |
| 2005 | 2562 | } |
| @@ -2022,31 +2579,20 @@ | ||
| 2022 | 2579 | key: "defaultHooks", |
| 2023 | 2580 | value: function defaultHooks() { |
| 2024 | 2581 | return {}; |
| 2025 | 2582 | } |
| 2026 | - | |
| 2027 | 2583 | /** |
| 2028 | 2584 | * Get the component's default UI states. |
| 2029 | 2585 | * |
| 2030 | - * @return {Object} default UI states | |
| 2586 | + * @return {Object} | |
| 2031 | 2587 | */ |
| 2588 | + | |
| 2032 | 2589 | }, { |
| 2033 | 2590 | key: "defaultUiStates", |
| 2034 | 2591 | value: function defaultUiStates() { |
| 2035 | 2592 | return {}; |
| 2036 | 2593 | } |
| 2037 | - | |
| 2038 | - /** | |
| 2039 | - * Get the component's Redux slice settings. | |
| 2040 | - * | |
| 2041 | - * @return {Object} Redux slice settings | |
| 2042 | - */ | |
| 2043 | 2594 | }, { |
| 2044 | - key: "defaultStates", | |
| 2045 | - value: function defaultStates() { | |
| 2046 | - return {}; | |
| 2047 | - } | |
| 2048 | - }, { | |
| 2049 | 2595 | key: "defaultShortcuts", |
| 2050 | 2596 | value: function defaultShortcuts() { |
| 2051 | 2597 | return {}; |
| 2052 | 2598 | } |
| @@ -2074,31 +2620,20 @@ | ||
| 2074 | 2620 | key: "getHooks", |
| 2075 | 2621 | value: function getHooks() { |
| 2076 | 2622 | return this.hooks; |
| 2077 | 2623 | } |
| 2078 | - | |
| 2079 | 2624 | /** |
| 2080 | 2625 | * Retrieve the component's UI states. |
| 2081 | 2626 | * |
| 2082 | - * @return {Object} UI states | |
| 2627 | + * @return {Object} | |
| 2083 | 2628 | */ |
| 2629 | + | |
| 2084 | 2630 | }, { |
| 2085 | 2631 | key: "getUiStates", |
| 2086 | 2632 | value: function getUiStates() { |
| 2087 | 2633 | return this.uiStates; |
| 2088 | 2634 | } |
| 2089 | - | |
| 2090 | - /** | |
| 2091 | - * Retrieve the component's Redux Slice. | |
| 2092 | - * | |
| 2093 | - * @return {Object} Redux Slice | |
| 2094 | - */ | |
| 2095 | 2635 | }, { |
| 2096 | - key: "getStates", | |
| 2097 | - value: function getStates() { | |
| 2098 | - return this.states; | |
| 2099 | - } | |
| 2100 | - }, { | |
| 2101 | 2636 | key: "getRoutes", |
| 2102 | 2637 | value: function getRoutes() { |
| 2103 | 2638 | return this.routes; |
| 2104 | 2639 | } |
| @@ -2116,74 +2651,22 @@ | ||
| 2116 | 2651 | key: "getData", |
| 2117 | 2652 | value: function getData() { |
| 2118 | 2653 | return this.data; |
| 2119 | 2654 | } |
| 2120 | - | |
| 2121 | - /** | |
| 2122 | - * @param {string} command | |
| 2123 | - * @param {(()=>{}|CommandInfra)} context | |
| 2124 | - * @param {'default'|'internal'|'data'} commandsType | |
| 2125 | - */ | |
| 2126 | 2655 | }, { |
| 2127 | 2656 | key: "registerCommand", |
| 2128 | - value: function registerCommand(command, context) { | |
| 2129 | - var commandsType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'default'; | |
| 2130 | - var commandsManager; | |
| 2131 | - switch (commandsType) { | |
| 2132 | - case 'default': | |
| 2133 | - commandsManager = $e.commands; | |
| 2134 | - break; | |
| 2135 | - case 'internal': | |
| 2136 | - commandsManager = $e.commandsInternal; | |
| 2137 | - break; | |
| 2138 | - case 'data': | |
| 2139 | - commandsManager = $e.data; | |
| 2140 | - break; | |
| 2141 | - default: | |
| 2142 | - throw new Error("Invalid commands type: '".concat(command, "'")); | |
| 2143 | - } | |
| 2144 | - var fullCommand = this.getNamespace() + '/' + command, | |
| 2145 | - instanceType = context.getInstanceType ? context.getInstanceType() : false, | |
| 2146 | - registerConfig = { | |
| 2147 | - command: fullCommand, | |
| 2148 | - component: this | |
| 2149 | - }; | |
| 2150 | - | |
| 2151 | - // Support pure callback. | |
| 2152 | - if (!instanceType) { | |
| 2153 | - if ($e.devTools) { | |
| 2154 | - $e.devTools.log.warn("Attach command-callback-base, on command: '".concat(fullCommand, "', context is unknown type.")); | |
| 2155 | - } | |
| 2156 | - registerConfig.callback = context; | |
| 2157 | - | |
| 2158 | - // Unique class. | |
| 2159 | - context = /*#__PURE__*/function (_CommandCallbackBase) { | |
| 2160 | - function context() { | |
| 2161 | - (0, _classCallCheck2.default)(this, context); | |
| 2162 | - return _callSuper(this, context, arguments); | |
| 2163 | - } | |
| 2164 | - (0, _inherits2.default)(context, _CommandCallbackBase); | |
| 2165 | - return (0, _createClass2.default)(context); | |
| 2166 | - }(_commandCallbackBase.default); | |
| 2167 | - } | |
| 2168 | - context.setRegisterConfig(registerConfig); | |
| 2169 | - commandsManager.register(this, command, context); | |
| 2657 | + value: function registerCommand(command, callback) { | |
| 2658 | + $e.commands.register(this, command, callback); | |
| 2170 | 2659 | } |
| 2171 | - | |
| 2172 | 2660 | /** |
| 2173 | 2661 | * @param {HookBase} instance |
| 2174 | 2662 | */ |
| 2663 | + | |
| 2175 | 2664 | }, { |
| 2176 | 2665 | key: "registerHook", |
| 2177 | 2666 | value: function registerHook(instance) { |
| 2178 | 2667 | return instance.register(); |
| 2179 | 2668 | } |
| 2180 | - }, { | |
| 2181 | - key: "registerCommandInternal", | |
| 2182 | - value: function registerCommandInternal(command, context) { | |
| 2183 | - this.registerCommand(command, context, 'internal'); | |
| 2184 | - } | |
| 2185 | - | |
| 2186 | 2669 | /** |
| 2187 | 2670 | * Register a UI state. |
| 2188 | 2671 | * |
| 2189 | 2672 | * @param {UiStateBase} instance - UI state instance. |
| @@ -2189,30 +2672,18 @@ | ||
| 2189 | 2672 | * @param {UiStateBase} instance - UI state instance. |
| 2190 | 2673 | * |
| 2191 | 2674 | * @return {void} |
| 2192 | 2675 | */ |
| 2676 | + | |
| 2193 | 2677 | }, { |
| 2194 | 2678 | key: "registerUiState", |
| 2195 | 2679 | value: function registerUiState(instance) { |
| 2196 | 2680 | $e.uiStates.register(instance); |
| 2197 | 2681 | } |
| 2198 | - | |
| 2199 | - /** | |
| 2200 | - * Register a Redux Slice. | |
| 2201 | - * | |
| 2202 | - * @param {string} id - State id. | |
| 2203 | - * @param {Object} stateConfig - The state config. | |
| 2204 | - * | |
| 2205 | - * @return {void} | |
| 2206 | - */ | |
| 2207 | 2682 | }, { |
| 2208 | - key: "registerState", | |
| 2209 | - value: function registerState(id, stateConfig) { | |
| 2210 | - id = this.getNamespace() + (id ? "/".concat(id) : ''); | |
| 2211 | - var slice = (0, _toolkit.createSlice)(_objectSpread(_objectSpread({}, stateConfig), {}, { | |
| 2212 | - name: id | |
| 2213 | - })); | |
| 2214 | - $e.store.register(id, slice); | |
| 2683 | + key: "registerCommandInternal", | |
| 2684 | + value: function registerCommandInternal(command, callback) { | |
| 2685 | + $e.commandsInternal.register(this, command, callback); | |
| 2215 | 2686 | } |
| 2216 | 2687 | }, { |
| 2217 | 2688 | key: "registerRoute", |
| 2218 | 2689 | value: function registerRoute(route, callback) { |
| @@ -2219,10 +2690,10 @@ | ||
| 2219 | 2690 | $e.routes.register(this, route, callback); |
| 2220 | 2691 | } |
| 2221 | 2692 | }, { |
| 2222 | 2693 | key: "registerData", |
| 2223 | - value: function registerData(command, context) { | |
| 2224 | - this.registerCommand(command, context, 'data'); | |
| 2694 | + value: function registerData(command, callback) { | |
| 2695 | + $e.data.register(this, command, callback); | |
| 2225 | 2696 | } |
| 2226 | 2697 | }, { |
| 2227 | 2698 | key: "unregisterRoute", |
| 2228 | 2699 | value: function unregisterRoute(route) { |
| @@ -2231,8 +2702,9 @@ | ||
| 2231 | 2702 | }, { |
| 2232 | 2703 | key: "registerTabRoute", |
| 2233 | 2704 | value: function registerTabRoute(tab) { |
| 2234 | 2705 | var _this2 = this; |
| 2706 | + | |
| 2235 | 2707 | this.registerRoute(tab, function (args) { |
| 2236 | 2708 | return _this2.activateTab(tab, args); |
| 2237 | 2709 | }); |
| 2238 | 2710 | } |
| @@ -2251,12 +2723,13 @@ | ||
| 2251 | 2723 | value: function close() { |
| 2252 | 2724 | if (!this.isOpen) { |
| 2253 | 2725 | return false; |
| 2254 | 2726 | } |
| 2727 | + | |
| 2255 | 2728 | this.isOpen = false; |
| 2256 | 2729 | this.inactivate(); |
| 2257 | 2730 | $e.routes.clearCurrent(this.getNamespace()); |
| 2258 | - $e.routes.clearHistory(this.getServiceName()); | |
| 2731 | + $e.routes.clearHistory(this.getRootContainer()); | |
| 2259 | 2732 | return true; |
| 2260 | 2733 | } |
| 2261 | 2734 | }, { |
| 2262 | 2735 | key: "activate", |
| @@ -2312,17 +2785,17 @@ | ||
| 2312 | 2785 | }, { |
| 2313 | 2786 | key: "addTab", |
| 2314 | 2787 | value: function addTab(tab, args, position) { |
| 2315 | 2788 | var _this3 = this; |
| 2316 | - this.tabs[tab] = args; | |
| 2317 | - // It can be 0. | |
| 2789 | + | |
| 2790 | + this.tabs[tab] = args; // It can be 0. | |
| 2791 | + | |
| 2318 | 2792 | if ('undefined' !== typeof position) { |
| 2319 | 2793 | var newTabs = {}; |
| 2320 | - var ids = Object.keys(this.tabs); | |
| 2321 | - // Remove new tab | |
| 2322 | - ids.pop(); | |
| 2794 | + var ids = (0, _keys.default)(this.tabs); // Remove new tab | |
| 2323 | 2795 | |
| 2324 | - // Add it to position. | |
| 2796 | + ids.pop(); // Add it to position. | |
| 2797 | + | |
| 2325 | 2798 | ids.splice(position, 0, tab); |
| 2326 | 2799 | ids.forEach(function (id) { |
| 2327 | 2800 | newTabs[id] = _this3.tabs[id]; |
| 2328 | 2801 | }); |
| @@ -2327,8 +2800,9 @@ | ||
| 2327 | 2800 | newTabs[id] = _this3.tabs[id]; |
| 2328 | 2801 | }); |
| 2329 | 2802 | this.tabs = newTabs; |
| 2330 | 2803 | } |
| 2804 | + | |
| 2331 | 2805 | this.registerTabRoute(tab); |
| 2332 | 2806 | } |
| 2333 | 2807 | }, { |
| 2334 | 2808 | key: "getTabsWrapperSelector", |
| @@ -2342,12 +2816,15 @@ | ||
| 2342 | 2816 | } |
| 2343 | 2817 | }, { |
| 2344 | 2818 | key: "renderTab", |
| 2345 | 2819 | value: function renderTab(tab) {} // eslint-disable-line |
| 2820 | + | |
| 2346 | 2821 | }, { |
| 2347 | 2822 | key: "activateTab", |
| 2348 | 2823 | value: function activateTab(tab, args) { |
| 2349 | 2824 | var _this4 = this; |
| 2825 | + | |
| 2826 | + this.currentTab = tab; | |
| 2350 | 2827 | this.renderTab(tab, args); |
| 2351 | 2828 | jQuery(this.getTabsWrapperSelector() + ' .elementor-component-tab').off('click').on('click', function (event) { |
| 2352 | 2829 | $e.route(_this4.getTabRoute(event.currentTarget.dataset.tab), args); |
| 2353 | 2830 | }).removeClass('elementor-active').filter('[data-tab="' + tab + '"]').addClass('elementor-active'); |
| @@ -2361,15 +2838,13 @@ | ||
| 2361 | 2838 | key: "getBodyClass", |
| 2362 | 2839 | value: function getBodyClass(route) { |
| 2363 | 2840 | return 'e-route-' + route.replace(/\//g, '-'); |
| 2364 | 2841 | } |
| 2365 | - | |
| 2366 | 2842 | /** |
| 2367 | 2843 | * If command includes uppercase character convert it to lowercase and add `-`. |
| 2368 | 2844 | * e.g: `CopyAll` is converted to `copy-all`. |
| 2369 | - * | |
| 2370 | - * @param {string} commandName | |
| 2371 | 2845 | */ |
| 2846 | + | |
| 2372 | 2847 | }, { |
| 2373 | 2848 | key: "normalizeCommandName", |
| 2374 | 2849 | value: function normalizeCommandName(commandName) { |
| 2375 | 2850 | return commandName.replace(/[A-Z]/g, function (match, offset) { |
| @@ -2375,26 +2850,29 @@ | ||
| 2375 | 2850 | return commandName.replace(/[A-Z]/g, function (match, offset) { |
| 2376 | 2851 | return (offset > 0 ? '-' : '') + match.toLowerCase(); |
| 2377 | 2852 | }); |
| 2378 | 2853 | } |
| 2379 | - | |
| 2380 | - /** | |
| 2381 | - * @param {{}} commandsFromImport | |
| 2382 | - * @return {{}} imported commands | |
| 2383 | - */ | |
| 2384 | 2854 | }, { |
| 2385 | 2855 | key: "importCommands", |
| 2386 | 2856 | value: function importCommands(commandsFromImport) { |
| 2387 | 2857 | var _this5 = this; |
| 2388 | - var commands = {}; | |
| 2389 | 2858 | |
| 2390 | - // Convert `Commands` to `ComponentBase` workable format. | |
| 2391 | - Object.entries(commandsFromImport).forEach(function (_ref1) { | |
| 2392 | - var _ref10 = (0, _slicedToArray2.default)(_ref1, 2), | |
| 2393 | - className = _ref10[0], | |
| 2394 | - Class = _ref10[1]; | |
| 2859 | + var commands = {}; // Convert `Commands` to `ComponentBase` workable format. | |
| 2860 | + | |
| 2861 | + (0, _entries.default)(commandsFromImport).forEach(function (_ref9) { | |
| 2862 | + var _ref10 = (0, _slicedToArray2.default)(_ref9, 2), | |
| 2863 | + className = _ref10[0], | |
| 2864 | + Class = _ref10[1]; | |
| 2865 | + | |
| 2395 | 2866 | var command = _this5.normalizeCommandName(className); |
| 2396 | - commands[command] = Class; | |
| 2867 | + | |
| 2868 | + commands[command] = function (args) { | |
| 2869 | + return new Class(args).run(); | |
| 2870 | + }; // TODO: Temporary code, remove after merge with 'require-commands-base' branch. | |
| 2871 | + // should not return callback, but Class or Instance without run ( gain performance ). | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + $e.commands.classes[_this5.getNamespace() + '/' + command] = Class; | |
| 2397 | 2875 | }); |
| 2398 | 2876 | return commands; |
| 2399 | 2877 | } |
| 2400 | 2878 | }, { |
| @@ -2400,15 +2878,16 @@ | ||
| 2400 | 2878 | }, { |
| 2401 | 2879 | key: "importHooks", |
| 2402 | 2880 | value: function importHooks(hooksFromImport) { |
| 2403 | 2881 | var hooks = {}; |
| 2882 | + | |
| 2404 | 2883 | for (var key in hooksFromImport) { |
| 2405 | 2884 | var hook = new hooksFromImport[key](); |
| 2406 | 2885 | hooks[hook.getId()] = hook; |
| 2407 | 2886 | } |
| 2887 | + | |
| 2408 | 2888 | return hooks; |
| 2409 | 2889 | } |
| 2410 | - | |
| 2411 | 2890 | /** |
| 2412 | 2891 | * Import & initialize the component's UI states. |
| 2413 | 2892 | * Should be used inside `defaultUiState()`. |
| 2414 | 2893 | * |
| @@ -2413,31 +2892,33 @@ | ||
| 2413 | 2892 | * Should be used inside `defaultUiState()`. |
| 2414 | 2893 | * |
| 2415 | 2894 | * @param {Object} statesFromImport - UI states from import. |
| 2416 | 2895 | * |
| 2417 | - * @return {Object} UI States | |
| 2896 | + * @return {Object} | |
| 2418 | 2897 | */ |
| 2898 | + | |
| 2419 | 2899 | }, { |
| 2420 | 2900 | key: "importUiStates", |
| 2421 | 2901 | value: function importUiStates(statesFromImport) { |
| 2422 | 2902 | var _this6 = this; |
| 2903 | + | |
| 2423 | 2904 | var uiStates = {}; |
| 2424 | - Object.values(statesFromImport).forEach(function (className) { | |
| 2905 | + (0, _values.default)(statesFromImport).forEach(function (className) { | |
| 2425 | 2906 | var uiState = new className(_this6); |
| 2426 | 2907 | uiStates[uiState.getId()] = uiState; |
| 2427 | 2908 | }); |
| 2428 | 2909 | return uiStates; |
| 2429 | 2910 | } |
| 2430 | - | |
| 2431 | 2911 | /** |
| 2432 | 2912 | * Set a UI state value. |
| 2433 | 2913 | * TODO: Should we provide such function? Maybe the developer should implicitly pass the full state ID? |
| 2434 | 2914 | * |
| 2435 | - * @param {string} state - Non-prefixed state ID. | |
| 2436 | - * @param {*} value - New state value. | |
| 2915 | + * @param state - Non-prefixed state ID. | |
| 2916 | + * @param value - New state value. | |
| 2437 | 2917 | * |
| 2438 | 2918 | * @return {void} |
| 2439 | 2919 | */ |
| 2920 | + | |
| 2440 | 2921 | }, { |
| 2441 | 2922 | key: "setUiState", |
| 2442 | 2923 | value: function setUiState(state, value) { |
| 2443 | 2924 | $e.uiStates.set("".concat(this.getNamespace(), "/").concat(state), value); |
| @@ -2444,23 +2925,26 @@ | ||
| 2444 | 2925 | } |
| 2445 | 2926 | }, { |
| 2446 | 2927 | key: "toggleRouteClass", |
| 2447 | 2928 | value: function toggleRouteClass(route, state) { |
| 2448 | - document.body.classList.toggle(this.getBodyClass(route), state); | |
| 2929 | + elementorCommon.elements.$body.toggleClass(this.getBodyClass(route), state); | |
| 2449 | 2930 | } |
| 2450 | 2931 | }, { |
| 2451 | 2932 | key: "toggleHistoryClass", |
| 2452 | 2933 | value: function toggleHistoryClass() { |
| 2453 | - document.body.classList.toggle('e-routes-has-history', !!$e.routes.getHistory(this.getServiceName()).length); | |
| 2934 | + elementorCommon.elements.$body.toggleClass('e-routes-has-history', !!$e.routes.getHistory(this.getRootContainer()).length); | |
| 2454 | 2935 | } |
| 2455 | 2936 | }]); |
| 2456 | -}(_module.default); | |
| 2937 | + return ComponentBase; | |
| 2938 | +}(elementorModules.Module); | |
| 2457 | 2939 | |
| 2940 | +exports.default = ComponentBase; | |
| 2941 | + | |
| 2458 | 2942 | /***/ }), |
| 2459 | 2943 | |
| 2460 | -/***/ "../modules/web-cli/assets/js/modules/component-modal-base.js": | |
| 2944 | +/***/ "../core/common/assets/js/api/modules/component-modal-base.js": | |
| 2461 | 2945 | /*!********************************************************************!*\ |
| 2462 | - !*** ../modules/web-cli/assets/js/modules/component-modal-base.js ***! | |
| 2946 | + !*** ../core/common/assets/js/api/modules/component-modal-base.js ***! | |
| 2463 | 2947 | \********************************************************************/ |
| 2464 | 2948 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2465 | 2949 | |
| 2466 | 2950 | "use strict"; |
| @@ -2465,39 +2949,52 @@ | ||
| 2465 | 2949 | |
| 2466 | 2950 | "use strict"; |
| 2467 | 2951 | |
| 2468 | 2952 | |
| 2469 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2470 | -var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"); | |
| 2471 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2953 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2954 | + | |
| 2955 | +var _interopRequireWildcard = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireWildcard */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js"); | |
| 2956 | + | |
| 2957 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2958 | + | |
| 2959 | +_Object$defineProperty(exports, "__esModule", { | |
| 2472 | 2960 | value: true |
| 2473 | -})); | |
| 2474 | -exports["default"] = void 0; | |
| 2475 | -var _readOnlyError2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/readOnlyError */ "../node_modules/@babel/runtime/helpers/readOnlyError.js")); | |
| 2476 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 2477 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 2478 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 2479 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 2480 | -var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js")); | |
| 2481 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 2482 | -var _componentBase = _interopRequireDefault(__webpack_require__(/*! ./component-base */ "../modules/web-cli/assets/js/modules/component-base.js")); | |
| 2483 | -var commands = _interopRequireWildcard(__webpack_require__(/*! ./commands/ */ "../modules/web-cli/assets/js/modules/commands/index.js")); | |
| 2484 | -var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ../utils/force-method-implementation */ "../modules/web-cli/assets/js/utils/force-method-implementation.js")); | |
| 2485 | -function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); } | |
| 2486 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 2487 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 2488 | -function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; } | |
| 2489 | -var ComponentModalBase = exports["default"] = /*#__PURE__*/function (_ComponentBase) { | |
| 2961 | +}); | |
| 2962 | + | |
| 2963 | +exports.default = void 0; | |
| 2964 | + | |
| 2965 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2966 | + | |
| 2967 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2968 | + | |
| 2969 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/get */ "../node_modules/@babel/runtime-corejs2/helpers/get.js")); | |
| 2970 | + | |
| 2971 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/getPrototypeOf */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js")); | |
| 2972 | + | |
| 2973 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2974 | + | |
| 2975 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2976 | + | |
| 2977 | +var _componentBase = _interopRequireDefault(__webpack_require__(/*! ./component-base */ "../core/common/assets/js/api/modules/component-base.js")); | |
| 2978 | + | |
| 2979 | +var commands = _interopRequireWildcard(__webpack_require__(/*! ./commands/ */ "../core/common/assets/js/api/modules/commands/index.js")); | |
| 2980 | + | |
| 2981 | +var ComponentModalBase = /*#__PURE__*/function (_ComponentBase) { | |
| 2982 | + (0, _inherits2.default)(ComponentModalBase, _ComponentBase); | |
| 2983 | + | |
| 2984 | + var _super = (0, _createSuper2.default)(ComponentModalBase); | |
| 2985 | + | |
| 2490 | 2986 | function ComponentModalBase() { |
| 2491 | 2987 | (0, _classCallCheck2.default)(this, ComponentModalBase); |
| 2492 | - return _callSuper(this, ComponentModalBase, arguments); | |
| 2988 | + return _super.apply(this, arguments); | |
| 2493 | 2989 | } |
| 2494 | - (0, _inherits2.default)(ComponentModalBase, _ComponentBase); | |
| 2495 | - return (0, _createClass2.default)(ComponentModalBase, [{ | |
| 2990 | + | |
| 2991 | + (0, _createClass2.default)(ComponentModalBase, [{ | |
| 2496 | 2992 | key: "registerAPI", |
| 2497 | 2993 | value: function registerAPI() { |
| 2498 | 2994 | var _this = this; |
| 2499 | - _superPropGet(ComponentModalBase, "registerAPI", this, 3)([]); | |
| 2995 | + | |
| 2996 | + (0, _get2.default)((0, _getPrototypeOf2.default)(ComponentModalBase.prototype), "registerAPI", this).call(this); | |
| 2500 | 2997 | $e.shortcuts.register('esc', { |
| 2501 | 2998 | scopes: [this.getNamespace()], |
| 2502 | 2999 | callback: function callback() { |
| 2503 | 3000 | return _this.close(); |
| @@ -2512,9 +3009,11 @@ | ||
| 2512 | 3009 | }, { |
| 2513 | 3010 | key: "defaultRoutes", |
| 2514 | 3011 | value: function defaultRoutes() { |
| 2515 | 3012 | return { |
| 2516 | - '': function _() {/* Nothing to do, it's already rendered. */} | |
| 3013 | + '': function _() { | |
| 3014 | + /* Nothing to do, it's already rendered. */ | |
| 3015 | + } | |
| 2517 | 3016 | }; |
| 2518 | 3017 | } |
| 2519 | 3018 | }, { |
| 2520 | 3019 | key: "open", |
| @@ -2519,8 +3018,9 @@ | ||
| 2519 | 3018 | }, { |
| 2520 | 3019 | key: "open", |
| 2521 | 3020 | value: function open() { |
| 2522 | 3021 | var _this2 = this; |
| 3022 | + | |
| 2523 | 3023 | if (!this.layout) { |
| 2524 | 3024 | var layout = this.getModalLayout(); |
| 2525 | 3025 | this.layout = new layout({ |
| 2526 | 3026 | component: this |
| @@ -2528,8 +3028,9 @@ | ||
| 2528 | 3028 | this.layout.getModal().on('hide', function () { |
| 2529 | 3029 | return _this2.close(); |
| 2530 | 3030 | }); |
| 2531 | 3031 | } |
| 3032 | + | |
| 2532 | 3033 | this.layout.showModal(); |
| 2533 | 3034 | return true; |
| 2534 | 3035 | } |
| 2535 | 3036 | }, { |
| @@ -2534,28 +3035,31 @@ | ||
| 2534 | 3035 | } |
| 2535 | 3036 | }, { |
| 2536 | 3037 | key: "close", |
| 2537 | 3038 | value: function close() { |
| 2538 | - if (!_superPropGet(ComponentModalBase, "close", this, 3)([])) { | |
| 3039 | + if (!(0, _get2.default)((0, _getPrototypeOf2.default)(ComponentModalBase.prototype), "close", this).call(this)) { | |
| 2539 | 3040 | return false; |
| 2540 | 3041 | } |
| 2541 | - var close = elementor.hooks.applyFilters('component/modal/close', this.layout.getModal().hide.bind(this.layout.getModal()), this); | |
| 2542 | - close(); | |
| 3042 | + | |
| 3043 | + this.layout.getModal().hide(); | |
| 2543 | 3044 | return true; |
| 2544 | 3045 | } |
| 2545 | 3046 | }, { |
| 2546 | 3047 | key: "getModalLayout", |
| 2547 | 3048 | value: function getModalLayout() { |
| 2548 | - (0, _forceMethodImplementation.default)(); | |
| 3049 | + elementorModules.ForceMethodImplementation(); | |
| 2549 | 3050 | } |
| 2550 | 3051 | }]); |
| 3052 | + return ComponentModalBase; | |
| 2551 | 3053 | }(_componentBase.default); |
| 2552 | 3054 | |
| 3055 | +exports.default = ComponentModalBase; | |
| 3056 | + | |
| 2553 | 3057 | /***/ }), |
| 2554 | 3058 | |
| 2555 | -/***/ "../modules/web-cli/assets/js/modules/hook-break.js": | |
| 3059 | +/***/ "../core/common/assets/js/api/modules/hook-break.js": | |
| 2556 | 3060 | /*!**********************************************************!*\ |
| 2557 | - !*** ../modules/web-cli/assets/js/modules/hook-break.js ***! | |
| 3061 | + !*** ../core/common/assets/js/api/modules/hook-break.js ***! | |
| 2558 | 3062 | \**********************************************************/ |
| 2559 | 3063 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2560 | 3064 | |
| 2561 | 3065 | "use strict"; |
| @@ -2560,4185 +3064,7251 @@ | ||
| 2560 | 3064 | |
| 2561 | 3065 | "use strict"; |
| 2562 | 3066 | |
| 2563 | 3067 | |
| 2564 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2565 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3068 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3069 | + | |
| 3070 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3071 | + | |
| 3072 | +_Object$defineProperty(exports, "__esModule", { | |
| 2566 | 3073 | value: true |
| 2567 | -})); | |
| 2568 | -exports["default"] = void 0; | |
| 2569 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 2570 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 2571 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 2572 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 2573 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 2574 | -var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js")); | |
| 2575 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 2576 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 2577 | -var HookBreak = exports["default"] = /*#__PURE__*/function (_Error) { | |
| 3074 | +}); | |
| 3075 | + | |
| 3076 | +exports.default = void 0; | |
| 3077 | + | |
| 3078 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3079 | + | |
| 3080 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3081 | + | |
| 3082 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3083 | + | |
| 3084 | +var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime-corejs2/helpers/wrapNativeSuper.js")); | |
| 3085 | + | |
| 3086 | +var HookBreak = /*#__PURE__*/function (_Error) { | |
| 3087 | + (0, _inherits2.default)(HookBreak, _Error); | |
| 3088 | + | |
| 3089 | + var _super = (0, _createSuper2.default)(HookBreak); | |
| 3090 | + | |
| 2578 | 3091 | function HookBreak() { |
| 2579 | 3092 | (0, _classCallCheck2.default)(this, HookBreak); |
| 2580 | - return _callSuper(this, HookBreak, ['HookBreak']); | |
| 3093 | + return _super.call(this, 'HookBreak'); | |
| 2581 | 3094 | } |
| 2582 | - (0, _inherits2.default)(HookBreak, _Error); | |
| 2583 | - return (0, _createClass2.default)(HookBreak); | |
| 2584 | -}(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 2585 | 3095 | |
| 3096 | + return HookBreak; | |
| 3097 | +}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 3098 | + | |
| 3099 | +exports.default = HookBreak; | |
| 3100 | + | |
| 2586 | 3101 | /***/ }), |
| 2587 | 3102 | |
| 2588 | -/***/ "../modules/web-cli/assets/js/utils/console.js": | |
| 2589 | -/*!*****************************************************!*\ | |
| 2590 | - !*** ../modules/web-cli/assets/js/utils/console.js ***! | |
| 2591 | - \*****************************************************/ | |
| 3103 | +/***/ "../core/common/assets/js/views/modal/header.js": | |
| 3104 | +/*!******************************************************!*\ | |
| 3105 | + !*** ../core/common/assets/js/views/modal/header.js ***! | |
| 3106 | + \******************************************************/ | |
| 2592 | 3107 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2593 | 3108 | |
| 2594 | 3109 | "use strict"; |
| 2595 | 3110 | |
| 2596 | 3111 | |
| 2597 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2598 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3112 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3113 | + | |
| 3114 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3115 | + | |
| 3116 | +_Object$defineProperty(exports, "__esModule", { | |
| 2599 | 3117 | value: true |
| 2600 | -})); | |
| 2601 | -exports["default"] = void 0; | |
| 2602 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 2603 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 2604 | -var Console = exports["default"] = /*#__PURE__*/function () { | |
| 2605 | - function Console() { | |
| 2606 | - (0, _classCallCheck2.default)(this, Console); | |
| 3118 | +}); | |
| 3119 | + | |
| 3120 | +exports.default = void 0; | |
| 3121 | + | |
| 3122 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3123 | + | |
| 3124 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3125 | + | |
| 3126 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3127 | + | |
| 3128 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3129 | + | |
| 3130 | +var _default = /*#__PURE__*/function (_Marionette$LayoutVie) { | |
| 3131 | + (0, _inherits2.default)(_default, _Marionette$LayoutVie); | |
| 3132 | + | |
| 3133 | + var _super = (0, _createSuper2.default)(_default); | |
| 3134 | + | |
| 3135 | + function _default() { | |
| 3136 | + (0, _classCallCheck2.default)(this, _default); | |
| 3137 | + return _super.apply(this, arguments); | |
| 2607 | 3138 | } |
| 2608 | - return (0, _createClass2.default)(Console, null, [{ | |
| 2609 | - key: "error", | |
| 2610 | - value: function error(message) { | |
| 2611 | - // Show an error if devTools is available. | |
| 2612 | - if ($e.devTools) { | |
| 2613 | - $e.devTools.log.error(message); | |
| 2614 | - } | |
| 2615 | 3139 | |
| 2616 | - // If not a 'Hook-Break' then show error. | |
| 2617 | - if (!(message instanceof $e.modules.HookBreak)) { | |
| 2618 | - // eslint-disable-next-line no-console | |
| 2619 | - console.error(message); | |
| 2620 | - } | |
| 3140 | + (0, _createClass2.default)(_default, [{ | |
| 3141 | + key: "className", | |
| 3142 | + value: function className() { | |
| 3143 | + return 'elementor-templates-modal__header'; | |
| 2621 | 3144 | } |
| 2622 | 3145 | }, { |
| 2623 | - key: "warn", | |
| 2624 | - value: function warn() { | |
| 2625 | - var _console; | |
| 2626 | - var style = "font-size: 12px; background-image: url(\"".concat(elementorWebCliConfig.urls.assets, "images/logo-icon.png\"); background-repeat: no-repeat; background-size: contain;"); | |
| 2627 | - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 2628 | - args[_key] = arguments[_key]; | |
| 2629 | - } | |
| 2630 | - args.unshift('%c %c', style, ''); | |
| 2631 | - (_console = console).warn.apply(_console, args); // eslint-disable-line no-console | |
| 3146 | + key: "getTemplate", | |
| 3147 | + value: function getTemplate() { | |
| 3148 | + return '#tmpl-elementor-templates-modal__header'; | |
| 2632 | 3149 | } |
| 3150 | + }, { | |
| 3151 | + key: "regions", | |
| 3152 | + value: function regions() { | |
| 3153 | + return { | |
| 3154 | + logoArea: '.elementor-templates-modal__header__logo-area', | |
| 3155 | + tools: '#elementor-template-library-header-tools', | |
| 3156 | + menuArea: '.elementor-templates-modal__header__menu-area' | |
| 3157 | + }; | |
| 3158 | + } | |
| 3159 | + }, { | |
| 3160 | + key: "ui", | |
| 3161 | + value: function ui() { | |
| 3162 | + return { | |
| 3163 | + closeModal: '.elementor-templates-modal__header__close' | |
| 3164 | + }; | |
| 3165 | + } | |
| 3166 | + }, { | |
| 3167 | + key: "events", | |
| 3168 | + value: function events() { | |
| 3169 | + return { | |
| 3170 | + 'click @ui.closeModal': 'onCloseModalClick' | |
| 3171 | + }; | |
| 3172 | + } | |
| 3173 | + }, { | |
| 3174 | + key: "templateHelpers", | |
| 3175 | + value: function templateHelpers() { | |
| 3176 | + return { | |
| 3177 | + closeType: this.getOption('closeType') | |
| 3178 | + }; | |
| 3179 | + } | |
| 3180 | + }, { | |
| 3181 | + key: "onCloseModalClick", | |
| 3182 | + value: function onCloseModalClick() { | |
| 3183 | + this._parent._parent._parent.hideModal(); | |
| 3184 | + } | |
| 2633 | 3185 | }]); |
| 2634 | -}(); | |
| 3186 | + return _default; | |
| 3187 | +}(Marionette.LayoutView); | |
| 2635 | 3188 | |
| 3189 | +exports.default = _default; | |
| 3190 | + | |
| 2636 | 3191 | /***/ }), |
| 2637 | 3192 | |
| 2638 | -/***/ "../modules/web-cli/assets/js/utils/deprecation.js": | |
| 2639 | -/*!*********************************************************!*\ | |
| 2640 | - !*** ../modules/web-cli/assets/js/utils/deprecation.js ***! | |
| 2641 | - \*********************************************************/ | |
| 3193 | +/***/ "../core/common/assets/js/views/modal/layout.js": | |
| 3194 | +/*!******************************************************!*\ | |
| 3195 | + !*** ../core/common/assets/js/views/modal/layout.js ***! | |
| 3196 | + \******************************************************/ | |
| 2642 | 3197 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2643 | 3198 | |
| 2644 | 3199 | "use strict"; |
| 2645 | 3200 | |
| 2646 | 3201 | |
| 2647 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2648 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3202 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3203 | + | |
| 3204 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3205 | + | |
| 3206 | +_Object$defineProperty(exports, "__esModule", { | |
| 2649 | 3207 | value: true |
| 2650 | -})); | |
| 2651 | -exports["default"] = void 0; | |
| 2652 | -var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); | |
| 2653 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 2654 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 2655 | -var _console = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/console */ "../modules/web-cli/assets/js/utils/console.js")); | |
| 2656 | -// Copied from `modules/dev-tools/assets/js/deprecation.js` | |
| 2657 | -/** | |
| 2658 | - * @typedef {Object} Version | |
| 2659 | - * @property {number} major1 The first number | |
| 2660 | - * @property {number} major2 The second number | |
| 2661 | - * @property {number} minor The third number | |
| 2662 | - * @property {string} build The fourth number | |
| 2663 | - */ | |
| 3208 | +}); | |
| 2664 | 3209 | |
| 2665 | -var softDeprecated = function softDeprecated(name, version, replacement) { | |
| 2666 | - if (elementorWebCliConfig.isDebug) { | |
| 2667 | - deprecatedMessage('soft', name, version, replacement); | |
| 3210 | +exports.default = void 0; | |
| 3211 | + | |
| 3212 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3213 | + | |
| 3214 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3215 | + | |
| 3216 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3217 | + | |
| 3218 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3219 | + | |
| 3220 | +var _header = _interopRequireDefault(__webpack_require__(/*! ./header */ "../core/common/assets/js/views/modal/header.js")); | |
| 3221 | + | |
| 3222 | +var _logo = _interopRequireDefault(__webpack_require__(/*! ./logo */ "../core/common/assets/js/views/modal/logo.js")); | |
| 3223 | + | |
| 3224 | +var _loading = _interopRequireDefault(__webpack_require__(/*! ./loading */ "../core/common/assets/js/views/modal/loading.js")); | |
| 3225 | + | |
| 3226 | +var _default = /*#__PURE__*/function (_Marionette$LayoutVie) { | |
| 3227 | + (0, _inherits2.default)(_default, _Marionette$LayoutVie); | |
| 3228 | + | |
| 3229 | + var _super = (0, _createSuper2.default)(_default); | |
| 3230 | + | |
| 3231 | + function _default() { | |
| 3232 | + (0, _classCallCheck2.default)(this, _default); | |
| 3233 | + return _super.apply(this, arguments); | |
| 2668 | 3234 | } |
| 2669 | -}; | |
| 2670 | -var hardDeprecated = function hardDeprecated(name, version, replacement) { | |
| 2671 | - deprecatedMessage('hard', name, version, replacement); | |
| 2672 | -}; | |
| 2673 | -var deprecatedMessage = function deprecatedMessage(type, name, version, replacement) { | |
| 2674 | - var message = "`".concat(name, "` is ").concat(type, " deprecated since ").concat(version); | |
| 2675 | - if (replacement) { | |
| 2676 | - message += " - Use `".concat(replacement, "` instead"); | |
| 2677 | - } | |
| 2678 | - _console.default.warn(message); | |
| 2679 | -}; | |
| 2680 | -var Deprecation = exports["default"] = /*#__PURE__*/function () { | |
| 2681 | - function Deprecation() { | |
| 2682 | - (0, _classCallCheck2.default)(this, Deprecation); | |
| 2683 | - } | |
| 2684 | - return (0, _createClass2.default)(Deprecation, null, [{ | |
| 2685 | - key: "deprecated", | |
| 2686 | - value: function deprecated(name, version, replacement) { | |
| 2687 | - if (this.isHardDeprecated(version)) { | |
| 2688 | - hardDeprecated(name, version, replacement); | |
| 2689 | - } else { | |
| 2690 | - softDeprecated(name, version, replacement); | |
| 2691 | - } | |
| 3235 | + | |
| 3236 | + (0, _createClass2.default)(_default, [{ | |
| 3237 | + key: "el", | |
| 3238 | + value: function el() { | |
| 3239 | + return this.getModal().getElements('widget'); | |
| 2692 | 3240 | } |
| 2693 | - | |
| 2694 | - /** | |
| 2695 | - * @param {string} version | |
| 2696 | - * | |
| 2697 | - * @return {Version} | |
| 2698 | - */ | |
| 2699 | 3241 | }, { |
| 2700 | - key: "parseVersion", | |
| 2701 | - value: function parseVersion(version) { | |
| 2702 | - var versionParts = version.split('.'); | |
| 2703 | - if (versionParts.length < 3 || versionParts.length > 4) { | |
| 2704 | - throw new RangeError('Invalid Semantic Version string provided'); | |
| 2705 | - } | |
| 2706 | - var _versionParts = (0, _slicedToArray2.default)(versionParts, 4), | |
| 2707 | - major1 = _versionParts[0], | |
| 2708 | - major2 = _versionParts[1], | |
| 2709 | - minor = _versionParts[2], | |
| 2710 | - _versionParts$ = _versionParts[3], | |
| 2711 | - build = _versionParts$ === void 0 ? '' : _versionParts$; | |
| 3242 | + key: "regions", | |
| 3243 | + value: function regions() { | |
| 2712 | 3244 | return { |
| 2713 | - major1: parseInt(major1), | |
| 2714 | - major2: parseInt(major2), | |
| 2715 | - minor: parseInt(minor), | |
| 2716 | - build: build | |
| 3245 | + modalHeader: '.dialog-header', | |
| 3246 | + modalContent: '.dialog-lightbox-content', | |
| 3247 | + modalLoading: '.dialog-lightbox-loading' | |
| 2717 | 3248 | }; |
| 2718 | 3249 | } |
| 3250 | + }, { | |
| 3251 | + key: "initialize", | |
| 3252 | + value: function initialize() { | |
| 3253 | + this.modalHeader.show(new _header.default(this.getHeaderOptions())); | |
| 3254 | + } | |
| 3255 | + }, { | |
| 3256 | + key: "getModal", | |
| 3257 | + value: function getModal() { | |
| 3258 | + if (!this.modal) { | |
| 3259 | + this.initModal(); | |
| 3260 | + } | |
| 2719 | 3261 | |
| 2720 | - /** | |
| 2721 | - * Get total of major. | |
| 2722 | - * | |
| 2723 | - * Since `get_total_major` cannot determine how much really versions between 2.9.0 and 3.3.0 if there is 2.10.0 version for example, | |
| 2724 | - * versions with major2 more then 9 will be added to total. | |
| 2725 | - * | |
| 2726 | - * @param {Version} versionObj | |
| 2727 | - * | |
| 2728 | - * @return {number} | |
| 2729 | - */ | |
| 3262 | + return this.modal; | |
| 3263 | + } | |
| 2730 | 3264 | }, { |
| 2731 | - key: "getTotalMajor", | |
| 2732 | - value: function getTotalMajor(versionObj) { | |
| 2733 | - var total = parseInt("".concat(versionObj.major1).concat(versionObj.major2, "0")); | |
| 2734 | - total = Number((total / 10).toFixed(0)); | |
| 2735 | - if (versionObj.major2 > 9) { | |
| 2736 | - total = versionObj.major2 - 9; | |
| 3265 | + key: "initModal", | |
| 3266 | + value: function initModal() { | |
| 3267 | + var modalOptions = { | |
| 3268 | + className: 'elementor-templates-modal', | |
| 3269 | + closeButton: false, | |
| 3270 | + draggable: false, | |
| 3271 | + hide: { | |
| 3272 | + onOutsideClick: false, | |
| 3273 | + onEscKeyPress: false | |
| 3274 | + } | |
| 3275 | + }; | |
| 3276 | + jQuery.extend(true, modalOptions, this.getModalOptions()); | |
| 3277 | + this.modal = elementorCommon.dialogsManager.createWidget('lightbox', modalOptions); | |
| 3278 | + this.modal.getElements('message').append(this.modal.addElement('content'), this.modal.addElement('loading')); | |
| 3279 | + | |
| 3280 | + if (modalOptions.draggable) { | |
| 3281 | + this.draggableModal(); | |
| 2737 | 3282 | } |
| 2738 | - return total; | |
| 2739 | 3283 | } |
| 2740 | - | |
| 2741 | - /** | |
| 2742 | - * @param {string} version1 | |
| 2743 | - * @param {string} version2 | |
| 2744 | - * | |
| 2745 | - * @return {number} | |
| 2746 | - */ | |
| 2747 | 3284 | }, { |
| 2748 | - key: "compareVersion", | |
| 2749 | - value: function compareVersion(version1, version2) { | |
| 2750 | - var _this = this; | |
| 2751 | - return [this.parseVersion(version1), this.parseVersion(version2)].map(function (versionObj) { | |
| 2752 | - return _this.getTotalMajor(versionObj); | |
| 2753 | - }).reduce(function (acc, major) { | |
| 2754 | - return acc - major; | |
| 3285 | + key: "showModal", | |
| 3286 | + value: function showModal() { | |
| 3287 | + this.getModal().show(); | |
| 3288 | + } | |
| 3289 | + }, { | |
| 3290 | + key: "hideModal", | |
| 3291 | + value: function hideModal() { | |
| 3292 | + this.getModal().hide(); | |
| 3293 | + } | |
| 3294 | + }, { | |
| 3295 | + key: "draggableModal", | |
| 3296 | + value: function draggableModal() { | |
| 3297 | + var $modalWidgetContent = this.getModal().getElements('widgetContent'); | |
| 3298 | + $modalWidgetContent.draggable({ | |
| 3299 | + containment: 'parent', | |
| 3300 | + stop: function stop() { | |
| 3301 | + $modalWidgetContent.height(''); | |
| 3302 | + } | |
| 2755 | 3303 | }); |
| 3304 | + $modalWidgetContent.css('position', 'absolute'); | |
| 2756 | 3305 | } |
| 2757 | - | |
| 2758 | - /** | |
| 2759 | - * @param {string} version | |
| 2760 | - * | |
| 2761 | - * @return {boolean} | |
| 2762 | - */ | |
| 2763 | 3306 | }, { |
| 2764 | - key: "isSoftDeprecated", | |
| 2765 | - value: function isSoftDeprecated(version) { | |
| 2766 | - var total = this.compareVersion(version, elementorWebCliConfig.version); | |
| 2767 | - return total <= 4; | |
| 3307 | + key: "getModalOptions", | |
| 3308 | + value: function getModalOptions() { | |
| 3309 | + return {}; | |
| 2768 | 3310 | } |
| 3311 | + }, { | |
| 3312 | + key: "getLogoOptions", | |
| 3313 | + value: function getLogoOptions() { | |
| 3314 | + return {}; | |
| 3315 | + } | |
| 3316 | + }, { | |
| 3317 | + key: "getHeaderOptions", | |
| 3318 | + value: function getHeaderOptions() { | |
| 3319 | + return { | |
| 3320 | + closeType: 'normal' | |
| 3321 | + }; | |
| 3322 | + } | |
| 3323 | + }, { | |
| 3324 | + key: "getHeaderView", | |
| 3325 | + value: function getHeaderView() { | |
| 3326 | + return this.modalHeader.currentView; | |
| 3327 | + } | |
| 3328 | + }, { | |
| 3329 | + key: "showLoadingView", | |
| 3330 | + value: function showLoadingView() { | |
| 3331 | + this.modalLoading.show(new _loading.default()); | |
| 3332 | + this.modalLoading.$el.show(); | |
| 3333 | + this.modalContent.$el.hide(); | |
| 3334 | + } | |
| 3335 | + }, { | |
| 3336 | + key: "hideLoadingView", | |
| 3337 | + value: function hideLoadingView() { | |
| 3338 | + this.modalContent.$el.show(); | |
| 3339 | + this.modalLoading.$el.hide(); | |
| 3340 | + } | |
| 3341 | + }, { | |
| 3342 | + key: "showLogo", | |
| 3343 | + value: function showLogo() { | |
| 3344 | + this.getHeaderView().logoArea.show(new _logo.default(this.getLogoOptions())); | |
| 3345 | + } | |
| 3346 | + }]); | |
| 3347 | + return _default; | |
| 3348 | +}(Marionette.LayoutView); | |
| 2769 | 3349 | |
| 2770 | - /** | |
| 2771 | - * @param {string} version | |
| 2772 | - * @return {boolean} | |
| 2773 | - */ | |
| 3350 | +exports.default = _default; | |
| 3351 | + | |
| 3352 | +/***/ }), | |
| 3353 | + | |
| 3354 | +/***/ "../core/common/assets/js/views/modal/loading.js": | |
| 3355 | +/*!*******************************************************!*\ | |
| 3356 | + !*** ../core/common/assets/js/views/modal/loading.js ***! | |
| 3357 | + \*******************************************************/ | |
| 3358 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3359 | + | |
| 3360 | +"use strict"; | |
| 3361 | + | |
| 3362 | + | |
| 3363 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3364 | + | |
| 3365 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3366 | + | |
| 3367 | +_Object$defineProperty(exports, "__esModule", { | |
| 3368 | + value: true | |
| 3369 | +}); | |
| 3370 | + | |
| 3371 | +exports.default = void 0; | |
| 3372 | + | |
| 3373 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3374 | + | |
| 3375 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3376 | + | |
| 3377 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3378 | + | |
| 3379 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3380 | + | |
| 3381 | +var _default = /*#__PURE__*/function (_Marionette$ItemView) { | |
| 3382 | + (0, _inherits2.default)(_default, _Marionette$ItemView); | |
| 3383 | + | |
| 3384 | + var _super = (0, _createSuper2.default)(_default); | |
| 3385 | + | |
| 3386 | + function _default() { | |
| 3387 | + (0, _classCallCheck2.default)(this, _default); | |
| 3388 | + return _super.apply(this, arguments); | |
| 3389 | + } | |
| 3390 | + | |
| 3391 | + (0, _createClass2.default)(_default, [{ | |
| 3392 | + key: "id", | |
| 3393 | + value: function id() { | |
| 3394 | + return 'elementor-template-library-loading'; | |
| 3395 | + } | |
| 2774 | 3396 | }, { |
| 2775 | - key: "isHardDeprecated", | |
| 2776 | - value: function isHardDeprecated(version) { | |
| 2777 | - var total = this.compareVersion(version, elementorWebCliConfig.version); | |
| 2778 | - return total < 0 || total >= 8; | |
| 3397 | + key: "getTemplate", | |
| 3398 | + value: function getTemplate() { | |
| 3399 | + return '#tmpl-elementor-template-library-loading'; | |
| 2779 | 3400 | } |
| 2780 | 3401 | }]); |
| 2781 | -}(); | |
| 3402 | + return _default; | |
| 3403 | +}(Marionette.ItemView); | |
| 2782 | 3404 | |
| 3405 | +exports.default = _default; | |
| 3406 | + | |
| 2783 | 3407 | /***/ }), |
| 2784 | 3408 | |
| 2785 | -/***/ "../modules/web-cli/assets/js/utils/force-method-implementation.js": | |
| 2786 | -/*!*************************************************************************!*\ | |
| 2787 | - !*** ../modules/web-cli/assets/js/utils/force-method-implementation.js ***! | |
| 2788 | - \*************************************************************************/ | |
| 3409 | +/***/ "../core/common/assets/js/views/modal/logo.js": | |
| 3410 | +/*!****************************************************!*\ | |
| 3411 | + !*** ../core/common/assets/js/views/modal/logo.js ***! | |
| 3412 | + \****************************************************/ | |
| 2789 | 3413 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2790 | 3414 | |
| 2791 | 3415 | "use strict"; |
| 2792 | 3416 | |
| 2793 | 3417 | |
| 2794 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2795 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3418 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3419 | + | |
| 3420 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3421 | + | |
| 3422 | +_Object$defineProperty(exports, "__esModule", { | |
| 2796 | 3423 | value: true |
| 2797 | -})); | |
| 2798 | -exports["default"] = exports.ForceMethodImplementation = void 0; | |
| 2799 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 2800 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 2801 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 2802 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 2803 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 2804 | -var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js")); | |
| 2805 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 2806 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 2807 | -// TODO: Copied from `assets/dev/js/modules/imports/force-method-implementation.js`; | |
| 2808 | -var ForceMethodImplementation = exports.ForceMethodImplementation = /*#__PURE__*/function (_Error) { | |
| 2809 | - function ForceMethodImplementation() { | |
| 2810 | - var _this; | |
| 2811 | - var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 2812 | - (0, _classCallCheck2.default)(this, ForceMethodImplementation); | |
| 2813 | - _this = _callSuper(this, ForceMethodImplementation, ["".concat(info.isStatic ? 'static ' : '').concat(info.fullName, "() should be implemented, please provide '").concat(info.functionName || info.fullName, "' functionality.")]); | |
| 2814 | - Error.captureStackTrace(_this, ForceMethodImplementation); | |
| 2815 | - return _this; | |
| 3424 | +}); | |
| 3425 | + | |
| 3426 | +exports.default = void 0; | |
| 3427 | + | |
| 3428 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3429 | + | |
| 3430 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3431 | + | |
| 3432 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3433 | + | |
| 3434 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3435 | + | |
| 3436 | +var _default = /*#__PURE__*/function (_Marionette$ItemView) { | |
| 3437 | + (0, _inherits2.default)(_default, _Marionette$ItemView); | |
| 3438 | + | |
| 3439 | + var _super = (0, _createSuper2.default)(_default); | |
| 3440 | + | |
| 3441 | + function _default() { | |
| 3442 | + (0, _classCallCheck2.default)(this, _default); | |
| 3443 | + return _super.apply(this, arguments); | |
| 2816 | 3444 | } |
| 2817 | - (0, _inherits2.default)(ForceMethodImplementation, _Error); | |
| 2818 | - return (0, _createClass2.default)(ForceMethodImplementation); | |
| 2819 | -}(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 2820 | -var _default = exports["default"] = function _default() { | |
| 2821 | - var stack = Error().stack, | |
| 2822 | - caller = stack.split('\n')[2].trim(), | |
| 2823 | - callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], | |
| 2824 | - info = {}; | |
| 2825 | - info.functionName = callerName; | |
| 2826 | - info.fullName = callerName; | |
| 2827 | - if (info.functionName.includes('.')) { | |
| 2828 | - var parts = info.functionName.split('.'); | |
| 2829 | - info.className = parts[0]; | |
| 2830 | - info.functionName = parts[1]; | |
| 2831 | - } else { | |
| 2832 | - info.isStatic = true; | |
| 2833 | - } | |
| 2834 | - throw new ForceMethodImplementation(info); | |
| 3445 | + | |
| 3446 | + (0, _createClass2.default)(_default, [{ | |
| 3447 | + key: "getTemplate", | |
| 3448 | + value: function getTemplate() { | |
| 3449 | + return '#tmpl-elementor-templates-modal__header__logo'; | |
| 3450 | + } | |
| 3451 | + }, { | |
| 3452 | + key: "className", | |
| 3453 | + value: function className() { | |
| 3454 | + return 'elementor-templates-modal__header__logo'; | |
| 3455 | + } | |
| 3456 | + }, { | |
| 3457 | + key: "events", | |
| 3458 | + value: function events() { | |
| 3459 | + return { | |
| 3460 | + click: 'onClick' | |
| 3461 | + }; | |
| 3462 | + } | |
| 3463 | + }, { | |
| 3464 | + key: "templateHelpers", | |
| 3465 | + value: function templateHelpers() { | |
| 3466 | + return { | |
| 3467 | + title: this.getOption('title') | |
| 3468 | + }; | |
| 3469 | + } | |
| 3470 | + }, { | |
| 3471 | + key: "onClick", | |
| 3472 | + value: function onClick() { | |
| 3473 | + var clickCallback = this.getOption('click'); | |
| 3474 | + | |
| 3475 | + if (clickCallback) { | |
| 3476 | + clickCallback(); | |
| 3477 | + } | |
| 3478 | + } | |
| 3479 | + }]); | |
| 3480 | + return _default; | |
| 3481 | +}(Marionette.ItemView); | |
| 3482 | + | |
| 3483 | +exports.default = _default; | |
| 3484 | + | |
| 3485 | +/***/ }), | |
| 3486 | + | |
| 3487 | +/***/ "../node_modules/core-js/library/fn/array/from.js": | |
| 3488 | +/*!********************************************************!*\ | |
| 3489 | + !*** ../node_modules/core-js/library/fn/array/from.js ***! | |
| 3490 | + \********************************************************/ | |
| 3491 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3492 | + | |
| 3493 | +__webpack_require__(/*! ../../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 3494 | +__webpack_require__(/*! ../../modules/es6.array.from */ "../node_modules/core-js/library/modules/es6.array.from.js"); | |
| 3495 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Array.from; | |
| 3496 | + | |
| 3497 | + | |
| 3498 | +/***/ }), | |
| 3499 | + | |
| 3500 | +/***/ "../node_modules/core-js/library/fn/array/is-array.js": | |
| 3501 | +/*!************************************************************!*\ | |
| 3502 | + !*** ../node_modules/core-js/library/fn/array/is-array.js ***! | |
| 3503 | + \************************************************************/ | |
| 3504 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3505 | + | |
| 3506 | +__webpack_require__(/*! ../../modules/es6.array.is-array */ "../node_modules/core-js/library/modules/es6.array.is-array.js"); | |
| 3507 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Array.isArray; | |
| 3508 | + | |
| 3509 | + | |
| 3510 | +/***/ }), | |
| 3511 | + | |
| 3512 | +/***/ "../node_modules/core-js/library/fn/map.js": | |
| 3513 | +/*!*************************************************!*\ | |
| 3514 | + !*** ../node_modules/core-js/library/fn/map.js ***! | |
| 3515 | + \*************************************************/ | |
| 3516 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3517 | + | |
| 3518 | +__webpack_require__(/*! ../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 3519 | +__webpack_require__(/*! ../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 3520 | +__webpack_require__(/*! ../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 3521 | +__webpack_require__(/*! ../modules/es6.map */ "../node_modules/core-js/library/modules/es6.map.js"); | |
| 3522 | +__webpack_require__(/*! ../modules/es7.map.to-json */ "../node_modules/core-js/library/modules/es7.map.to-json.js"); | |
| 3523 | +__webpack_require__(/*! ../modules/es7.map.of */ "../node_modules/core-js/library/modules/es7.map.of.js"); | |
| 3524 | +__webpack_require__(/*! ../modules/es7.map.from */ "../node_modules/core-js/library/modules/es7.map.from.js"); | |
| 3525 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Map; | |
| 3526 | + | |
| 3527 | + | |
| 3528 | +/***/ }), | |
| 3529 | + | |
| 3530 | +/***/ "../node_modules/core-js/library/fn/object/create.js": | |
| 3531 | +/*!***********************************************************!*\ | |
| 3532 | + !*** ../node_modules/core-js/library/fn/object/create.js ***! | |
| 3533 | + \***********************************************************/ | |
| 3534 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3535 | + | |
| 3536 | +__webpack_require__(/*! ../../modules/es6.object.create */ "../node_modules/core-js/library/modules/es6.object.create.js"); | |
| 3537 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 3538 | +module.exports = function create(P, D) { | |
| 3539 | + return $Object.create(P, D); | |
| 2835 | 3540 | }; |
| 2836 | 3541 | |
| 3542 | + | |
| 2837 | 3543 | /***/ }), |
| 2838 | 3544 | |
| 2839 | -/***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": | |
| 2840 | -/*!******************************************************************!*\ | |
| 2841 | - !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! | |
| 2842 | - \******************************************************************/ | |
| 3545 | +/***/ "../node_modules/core-js/library/fn/object/define-property.js": | |
| 3546 | +/*!********************************************************************!*\ | |
| 3547 | + !*** ../node_modules/core-js/library/fn/object/define-property.js ***! | |
| 3548 | + \********************************************************************/ | |
| 3549 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3550 | + | |
| 3551 | +__webpack_require__(/*! ../../modules/es6.object.define-property */ "../node_modules/core-js/library/modules/es6.object.define-property.js"); | |
| 3552 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 3553 | +module.exports = function defineProperty(it, key, desc) { | |
| 3554 | + return $Object.defineProperty(it, key, desc); | |
| 3555 | +}; | |
| 3556 | + | |
| 3557 | + | |
| 3558 | +/***/ }), | |
| 3559 | + | |
| 3560 | +/***/ "../node_modules/core-js/library/fn/object/entries.js": | |
| 3561 | +/*!************************************************************!*\ | |
| 3562 | + !*** ../node_modules/core-js/library/fn/object/entries.js ***! | |
| 3563 | + \************************************************************/ | |
| 3564 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3565 | + | |
| 3566 | +__webpack_require__(/*! ../../modules/es7.object.entries */ "../node_modules/core-js/library/modules/es7.object.entries.js"); | |
| 3567 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.entries; | |
| 3568 | + | |
| 3569 | + | |
| 3570 | +/***/ }), | |
| 3571 | + | |
| 3572 | +/***/ "../node_modules/core-js/library/fn/object/get-own-property-descriptor.js": | |
| 3573 | +/*!********************************************************************************!*\ | |
| 3574 | + !*** ../node_modules/core-js/library/fn/object/get-own-property-descriptor.js ***! | |
| 3575 | + \********************************************************************************/ | |
| 3576 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3577 | + | |
| 3578 | +__webpack_require__(/*! ../../modules/es6.object.get-own-property-descriptor */ "../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js"); | |
| 3579 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 3580 | +module.exports = function getOwnPropertyDescriptor(it, key) { | |
| 3581 | + return $Object.getOwnPropertyDescriptor(it, key); | |
| 3582 | +}; | |
| 3583 | + | |
| 3584 | + | |
| 3585 | +/***/ }), | |
| 3586 | + | |
| 3587 | +/***/ "../node_modules/core-js/library/fn/object/get-prototype-of.js": | |
| 3588 | +/*!*********************************************************************!*\ | |
| 3589 | + !*** ../node_modules/core-js/library/fn/object/get-prototype-of.js ***! | |
| 3590 | + \*********************************************************************/ | |
| 3591 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3592 | + | |
| 3593 | +__webpack_require__(/*! ../../modules/es6.object.get-prototype-of */ "../node_modules/core-js/library/modules/es6.object.get-prototype-of.js"); | |
| 3594 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.getPrototypeOf; | |
| 3595 | + | |
| 3596 | + | |
| 3597 | +/***/ }), | |
| 3598 | + | |
| 3599 | +/***/ "../node_modules/core-js/library/fn/object/keys.js": | |
| 3600 | +/*!*********************************************************!*\ | |
| 3601 | + !*** ../node_modules/core-js/library/fn/object/keys.js ***! | |
| 3602 | + \*********************************************************/ | |
| 3603 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3604 | + | |
| 3605 | +__webpack_require__(/*! ../../modules/es6.object.keys */ "../node_modules/core-js/library/modules/es6.object.keys.js"); | |
| 3606 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.keys; | |
| 3607 | + | |
| 3608 | + | |
| 3609 | +/***/ }), | |
| 3610 | + | |
| 3611 | +/***/ "../node_modules/core-js/library/fn/object/set-prototype-of.js": | |
| 3612 | +/*!*********************************************************************!*\ | |
| 3613 | + !*** ../node_modules/core-js/library/fn/object/set-prototype-of.js ***! | |
| 3614 | + \*********************************************************************/ | |
| 3615 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3616 | + | |
| 3617 | +__webpack_require__(/*! ../../modules/es6.object.set-prototype-of */ "../node_modules/core-js/library/modules/es6.object.set-prototype-of.js"); | |
| 3618 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.setPrototypeOf; | |
| 3619 | + | |
| 3620 | + | |
| 3621 | +/***/ }), | |
| 3622 | + | |
| 3623 | +/***/ "../node_modules/core-js/library/fn/object/values.js": | |
| 3624 | +/*!***********************************************************!*\ | |
| 3625 | + !*** ../node_modules/core-js/library/fn/object/values.js ***! | |
| 3626 | + \***********************************************************/ | |
| 3627 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3628 | + | |
| 3629 | +__webpack_require__(/*! ../../modules/es7.object.values */ "../node_modules/core-js/library/modules/es7.object.values.js"); | |
| 3630 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.values; | |
| 3631 | + | |
| 3632 | + | |
| 3633 | +/***/ }), | |
| 3634 | + | |
| 3635 | +/***/ "../node_modules/core-js/library/fn/parse-float.js": | |
| 3636 | +/*!*********************************************************!*\ | |
| 3637 | + !*** ../node_modules/core-js/library/fn/parse-float.js ***! | |
| 3638 | + \*********************************************************/ | |
| 3639 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3640 | + | |
| 3641 | +__webpack_require__(/*! ../modules/es6.parse-float */ "../node_modules/core-js/library/modules/es6.parse-float.js"); | |
| 3642 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").parseFloat; | |
| 3643 | + | |
| 3644 | + | |
| 3645 | +/***/ }), | |
| 3646 | + | |
| 3647 | +/***/ "../node_modules/core-js/library/fn/parse-int.js": | |
| 3648 | +/*!*******************************************************!*\ | |
| 3649 | + !*** ../node_modules/core-js/library/fn/parse-int.js ***! | |
| 3650 | + \*******************************************************/ | |
| 3651 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3652 | + | |
| 3653 | +__webpack_require__(/*! ../modules/es6.parse-int */ "../node_modules/core-js/library/modules/es6.parse-int.js"); | |
| 3654 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").parseInt; | |
| 3655 | + | |
| 3656 | + | |
| 3657 | +/***/ }), | |
| 3658 | + | |
| 3659 | +/***/ "../node_modules/core-js/library/fn/promise.js": | |
| 3660 | +/*!*****************************************************!*\ | |
| 3661 | + !*** ../node_modules/core-js/library/fn/promise.js ***! | |
| 3662 | + \*****************************************************/ | |
| 3663 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3664 | + | |
| 3665 | +__webpack_require__(/*! ../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 3666 | +__webpack_require__(/*! ../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 3667 | +__webpack_require__(/*! ../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 3668 | +__webpack_require__(/*! ../modules/es6.promise */ "../node_modules/core-js/library/modules/es6.promise.js"); | |
| 3669 | +__webpack_require__(/*! ../modules/es7.promise.finally */ "../node_modules/core-js/library/modules/es7.promise.finally.js"); | |
| 3670 | +__webpack_require__(/*! ../modules/es7.promise.try */ "../node_modules/core-js/library/modules/es7.promise.try.js"); | |
| 3671 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Promise; | |
| 3672 | + | |
| 3673 | + | |
| 3674 | +/***/ }), | |
| 3675 | + | |
| 3676 | +/***/ "../node_modules/core-js/library/fn/reflect/construct.js": | |
| 3677 | +/*!***************************************************************!*\ | |
| 3678 | + !*** ../node_modules/core-js/library/fn/reflect/construct.js ***! | |
| 3679 | + \***************************************************************/ | |
| 3680 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3681 | + | |
| 3682 | +__webpack_require__(/*! ../../modules/es6.reflect.construct */ "../node_modules/core-js/library/modules/es6.reflect.construct.js"); | |
| 3683 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Reflect.construct; | |
| 3684 | + | |
| 3685 | + | |
| 3686 | +/***/ }), | |
| 3687 | + | |
| 3688 | +/***/ "../node_modules/core-js/library/fn/reflect/get.js": | |
| 3689 | +/*!*********************************************************!*\ | |
| 3690 | + !*** ../node_modules/core-js/library/fn/reflect/get.js ***! | |
| 3691 | + \*********************************************************/ | |
| 3692 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3693 | + | |
| 3694 | +__webpack_require__(/*! ../../modules/es6.reflect.get */ "../node_modules/core-js/library/modules/es6.reflect.get.js"); | |
| 3695 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Reflect.get; | |
| 3696 | + | |
| 3697 | + | |
| 3698 | +/***/ }), | |
| 3699 | + | |
| 3700 | +/***/ "../node_modules/core-js/library/fn/symbol/has-instance.js": | |
| 3701 | +/*!*****************************************************************!*\ | |
| 3702 | + !*** ../node_modules/core-js/library/fn/symbol/has-instance.js ***! | |
| 3703 | + \*****************************************************************/ | |
| 3704 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3705 | + | |
| 3706 | +__webpack_require__(/*! ../../modules/es6.function.has-instance */ "../node_modules/core-js/library/modules/es6.function.has-instance.js"); | |
| 3707 | +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js").f('hasInstance'); | |
| 3708 | + | |
| 3709 | + | |
| 3710 | +/***/ }), | |
| 3711 | + | |
| 3712 | +/***/ "../node_modules/core-js/library/fn/symbol/index.js": | |
| 3713 | +/*!**********************************************************!*\ | |
| 3714 | + !*** ../node_modules/core-js/library/fn/symbol/index.js ***! | |
| 3715 | + \**********************************************************/ | |
| 3716 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3717 | + | |
| 3718 | +__webpack_require__(/*! ../../modules/es6.symbol */ "../node_modules/core-js/library/modules/es6.symbol.js"); | |
| 3719 | +__webpack_require__(/*! ../../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 3720 | +__webpack_require__(/*! ../../modules/es7.symbol.async-iterator */ "../node_modules/core-js/library/modules/es7.symbol.async-iterator.js"); | |
| 3721 | +__webpack_require__(/*! ../../modules/es7.symbol.observable */ "../node_modules/core-js/library/modules/es7.symbol.observable.js"); | |
| 3722 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Symbol; | |
| 3723 | + | |
| 3724 | + | |
| 3725 | +/***/ }), | |
| 3726 | + | |
| 3727 | +/***/ "../node_modules/core-js/library/fn/symbol/iterator.js": | |
| 3728 | +/*!*************************************************************!*\ | |
| 3729 | + !*** ../node_modules/core-js/library/fn/symbol/iterator.js ***! | |
| 3730 | + \*************************************************************/ | |
| 3731 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3732 | + | |
| 3733 | +__webpack_require__(/*! ../../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 3734 | +__webpack_require__(/*! ../../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 3735 | +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js").f('iterator'); | |
| 3736 | + | |
| 3737 | + | |
| 3738 | +/***/ }), | |
| 3739 | + | |
| 3740 | +/***/ "../node_modules/core-js/library/fn/weak-map.js": | |
| 3741 | +/*!******************************************************!*\ | |
| 3742 | + !*** ../node_modules/core-js/library/fn/weak-map.js ***! | |
| 3743 | + \******************************************************/ | |
| 3744 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3745 | + | |
| 3746 | +__webpack_require__(/*! ../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 3747 | +__webpack_require__(/*! ../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 3748 | +__webpack_require__(/*! ../modules/es6.weak-map */ "../node_modules/core-js/library/modules/es6.weak-map.js"); | |
| 3749 | +__webpack_require__(/*! ../modules/es7.weak-map.of */ "../node_modules/core-js/library/modules/es7.weak-map.of.js"); | |
| 3750 | +__webpack_require__(/*! ../modules/es7.weak-map.from */ "../node_modules/core-js/library/modules/es7.weak-map.from.js"); | |
| 3751 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").WeakMap; | |
| 3752 | + | |
| 3753 | + | |
| 3754 | +/***/ }), | |
| 3755 | + | |
| 3756 | +/***/ "../node_modules/core-js/library/modules/_a-function.js": | |
| 3757 | +/*!**************************************************************!*\ | |
| 3758 | + !*** ../node_modules/core-js/library/modules/_a-function.js ***! | |
| 3759 | + \**************************************************************/ | |
| 2843 | 3760 | /***/ ((module) => { |
| 2844 | 3761 | |
| 2845 | -function _arrayLikeToArray(r, a) { | |
| 2846 | - (null == a || a > r.length) && (a = r.length); | |
| 2847 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 2848 | - return n; | |
| 2849 | -} | |
| 2850 | -module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3762 | +module.exports = function (it) { | |
| 3763 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 3764 | + return it; | |
| 3765 | +}; | |
| 2851 | 3766 | |
| 3767 | + | |
| 2852 | 3768 | /***/ }), |
| 2853 | 3769 | |
| 2854 | -/***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js": | |
| 2855 | -/*!****************************************************************!*\ | |
| 2856 | - !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! | |
| 2857 | - \****************************************************************/ | |
| 3770 | +/***/ "../node_modules/core-js/library/modules/_add-to-unscopables.js": | |
| 3771 | +/*!**********************************************************************!*\ | |
| 3772 | + !*** ../node_modules/core-js/library/modules/_add-to-unscopables.js ***! | |
| 3773 | + \**********************************************************************/ | |
| 2858 | 3774 | /***/ ((module) => { |
| 2859 | 3775 | |
| 2860 | -function _arrayWithHoles(r) { | |
| 2861 | - if (Array.isArray(r)) return r; | |
| 2862 | -} | |
| 2863 | -module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3776 | +module.exports = function () { /* empty */ }; | |
| 2864 | 3777 | |
| 3778 | + | |
| 2865 | 3779 | /***/ }), |
| 2866 | 3780 | |
| 2867 | -/***/ "../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js": | |
| 2868 | -/*!*******************************************************************!*\ | |
| 2869 | - !*** ../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***! | |
| 2870 | - \*******************************************************************/ | |
| 3781 | +/***/ "../node_modules/core-js/library/modules/_an-instance.js": | |
| 3782 | +/*!***************************************************************!*\ | |
| 3783 | + !*** ../node_modules/core-js/library/modules/_an-instance.js ***! | |
| 3784 | + \***************************************************************/ | |
| 3785 | +/***/ ((module) => { | |
| 3786 | + | |
| 3787 | +module.exports = function (it, Constructor, name, forbiddenField) { | |
| 3788 | + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { | |
| 3789 | + throw TypeError(name + ': incorrect invocation!'); | |
| 3790 | + } return it; | |
| 3791 | +}; | |
| 3792 | + | |
| 3793 | + | |
| 3794 | +/***/ }), | |
| 3795 | + | |
| 3796 | +/***/ "../node_modules/core-js/library/modules/_an-object.js": | |
| 3797 | +/*!*************************************************************!*\ | |
| 3798 | + !*** ../node_modules/core-js/library/modules/_an-object.js ***! | |
| 3799 | + \*************************************************************/ | |
| 2871 | 3800 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2872 | 3801 | |
| 2873 | -var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); | |
| 2874 | -function _arrayWithoutHoles(r) { | |
| 2875 | - if (Array.isArray(r)) return arrayLikeToArray(r); | |
| 2876 | -} | |
| 2877 | -module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3802 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 3803 | +module.exports = function (it) { | |
| 3804 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 3805 | + return it; | |
| 3806 | +}; | |
| 2878 | 3807 | |
| 3808 | + | |
| 2879 | 3809 | /***/ }), |
| 2880 | 3810 | |
| 2881 | -/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": | |
| 3811 | +/***/ "../node_modules/core-js/library/modules/_array-from-iterable.js": | |
| 2882 | 3812 | /*!***********************************************************************!*\ |
| 2883 | - !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! | |
| 3813 | + !*** ../node_modules/core-js/library/modules/_array-from-iterable.js ***! | |
| 2884 | 3814 | \***********************************************************************/ |
| 2885 | -/***/ ((module) => { | |
| 3815 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2886 | 3816 | |
| 2887 | -function _assertThisInitialized(e) { | |
| 2888 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 2889 | - return e; | |
| 2890 | -} | |
| 2891 | -module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3817 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 2892 | 3818 | |
| 3819 | +module.exports = function (iter, ITERATOR) { | |
| 3820 | + var result = []; | |
| 3821 | + forOf(iter, false, result.push, result, ITERATOR); | |
| 3822 | + return result; | |
| 3823 | +}; | |
| 3824 | + | |
| 3825 | + | |
| 2893 | 3826 | /***/ }), |
| 2894 | 3827 | |
| 2895 | -/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": | |
| 2896 | -/*!****************************************************************!*\ | |
| 2897 | - !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! | |
| 2898 | - \****************************************************************/ | |
| 2899 | -/***/ ((module) => { | |
| 3828 | +/***/ "../node_modules/core-js/library/modules/_array-includes.js": | |
| 3829 | +/*!******************************************************************!*\ | |
| 3830 | + !*** ../node_modules/core-js/library/modules/_array-includes.js ***! | |
| 3831 | + \******************************************************************/ | |
| 3832 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2900 | 3833 | |
| 2901 | -function _classCallCheck(a, n) { | |
| 2902 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 2903 | -} | |
| 2904 | -module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3834 | +// false -> Array#indexOf | |
| 3835 | +// true -> Array#includes | |
| 3836 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 3837 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 3838 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/library/modules/_to-absolute-index.js"); | |
| 3839 | +module.exports = function (IS_INCLUDES) { | |
| 3840 | + return function ($this, el, fromIndex) { | |
| 3841 | + var O = toIObject($this); | |
| 3842 | + var length = toLength(O.length); | |
| 3843 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 3844 | + var value; | |
| 3845 | + // Array#includes uses SameValueZero equality algorithm | |
| 3846 | + // eslint-disable-next-line no-self-compare | |
| 3847 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 3848 | + value = O[index++]; | |
| 3849 | + // eslint-disable-next-line no-self-compare | |
| 3850 | + if (value != value) return true; | |
| 3851 | + // Array#indexOf ignores holes, Array#includes - not | |
| 3852 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 3853 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 3854 | + } return !IS_INCLUDES && -1; | |
| 3855 | + }; | |
| 3856 | +}; | |
| 2905 | 3857 | |
| 3858 | + | |
| 2906 | 3859 | /***/ }), |
| 2907 | 3860 | |
| 2908 | -/***/ "../node_modules/@babel/runtime/helpers/construct.js": | |
| 2909 | -/*!***********************************************************!*\ | |
| 2910 | - !*** ../node_modules/@babel/runtime/helpers/construct.js ***! | |
| 2911 | - \***********************************************************/ | |
| 3861 | +/***/ "../node_modules/core-js/library/modules/_array-methods.js": | |
| 3862 | +/*!*****************************************************************!*\ | |
| 3863 | + !*** ../node_modules/core-js/library/modules/_array-methods.js ***! | |
| 3864 | + \*****************************************************************/ | |
| 2912 | 3865 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2913 | 3866 | |
| 2914 | -var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"); | |
| 2915 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 2916 | -function _construct(t, e, r) { | |
| 2917 | - if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); | |
| 2918 | - var o = [null]; | |
| 2919 | - o.push.apply(o, e); | |
| 2920 | - var p = new (t.bind.apply(t, o))(); | |
| 2921 | - return r && setPrototypeOf(p, r.prototype), p; | |
| 2922 | -} | |
| 2923 | -module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3867 | +// 0 -> Array#forEach | |
| 3868 | +// 1 -> Array#map | |
| 3869 | +// 2 -> Array#filter | |
| 3870 | +// 3 -> Array#some | |
| 3871 | +// 4 -> Array#every | |
| 3872 | +// 5 -> Array#find | |
| 3873 | +// 6 -> Array#findIndex | |
| 3874 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 3875 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 3876 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 3877 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 3878 | +var asc = __webpack_require__(/*! ./_array-species-create */ "../node_modules/core-js/library/modules/_array-species-create.js"); | |
| 3879 | +module.exports = function (TYPE, $create) { | |
| 3880 | + var IS_MAP = TYPE == 1; | |
| 3881 | + var IS_FILTER = TYPE == 2; | |
| 3882 | + var IS_SOME = TYPE == 3; | |
| 3883 | + var IS_EVERY = TYPE == 4; | |
| 3884 | + var IS_FIND_INDEX = TYPE == 6; | |
| 3885 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 3886 | + var create = $create || asc; | |
| 3887 | + return function ($this, callbackfn, that) { | |
| 3888 | + var O = toObject($this); | |
| 3889 | + var self = IObject(O); | |
| 3890 | + var f = ctx(callbackfn, that, 3); | |
| 3891 | + var length = toLength(self.length); | |
| 3892 | + var index = 0; | |
| 3893 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 3894 | + var val, res; | |
| 3895 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 3896 | + val = self[index]; | |
| 3897 | + res = f(val, index, O); | |
| 3898 | + if (TYPE) { | |
| 3899 | + if (IS_MAP) result[index] = res; // map | |
| 3900 | + else if (res) switch (TYPE) { | |
| 3901 | + case 3: return true; // some | |
| 3902 | + case 5: return val; // find | |
| 3903 | + case 6: return index; // findIndex | |
| 3904 | + case 2: result.push(val); // filter | |
| 3905 | + } else if (IS_EVERY) return false; // every | |
| 3906 | + } | |
| 3907 | + } | |
| 3908 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 3909 | + }; | |
| 3910 | +}; | |
| 2924 | 3911 | |
| 3912 | + | |
| 2925 | 3913 | /***/ }), |
| 2926 | 3914 | |
| 2927 | -/***/ "../node_modules/@babel/runtime/helpers/createClass.js": | |
| 2928 | -/*!*************************************************************!*\ | |
| 2929 | - !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! | |
| 2930 | - \*************************************************************/ | |
| 3915 | +/***/ "../node_modules/core-js/library/modules/_array-species-constructor.js": | |
| 3916 | +/*!*****************************************************************************!*\ | |
| 3917 | + !*** ../node_modules/core-js/library/modules/_array-species-constructor.js ***! | |
| 3918 | + \*****************************************************************************/ | |
| 2931 | 3919 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2932 | 3920 | |
| 2933 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 2934 | -function _defineProperties(e, r) { | |
| 2935 | - for (var t = 0; t < r.length; t++) { | |
| 2936 | - var o = r[t]; | |
| 2937 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 2938 | - } | |
| 2939 | -} | |
| 2940 | -function _createClass(e, r, t) { | |
| 2941 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| 2942 | - writable: !1 | |
| 2943 | - }), e; | |
| 2944 | -} | |
| 2945 | -module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3921 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 3922 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js"); | |
| 3923 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species'); | |
| 2946 | 3924 | |
| 3925 | +module.exports = function (original) { | |
| 3926 | + var C; | |
| 3927 | + if (isArray(original)) { | |
| 3928 | + C = original.constructor; | |
| 3929 | + // cross-realm fallback | |
| 3930 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 3931 | + if (isObject(C)) { | |
| 3932 | + C = C[SPECIES]; | |
| 3933 | + if (C === null) C = undefined; | |
| 3934 | + } | |
| 3935 | + } return C === undefined ? Array : C; | |
| 3936 | +}; | |
| 3937 | + | |
| 3938 | + | |
| 2947 | 3939 | /***/ }), |
| 2948 | 3940 | |
| 2949 | -/***/ "../node_modules/@babel/runtime/helpers/defineProperty.js": | |
| 2950 | -/*!****************************************************************!*\ | |
| 2951 | - !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***! | |
| 2952 | - \****************************************************************/ | |
| 3941 | +/***/ "../node_modules/core-js/library/modules/_array-species-create.js": | |
| 3942 | +/*!************************************************************************!*\ | |
| 3943 | + !*** ../node_modules/core-js/library/modules/_array-species-create.js ***! | |
| 3944 | + \************************************************************************/ | |
| 2953 | 3945 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2954 | 3946 | |
| 2955 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 2956 | -function _defineProperty(e, r, t) { | |
| 2957 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 2958 | - value: t, | |
| 2959 | - enumerable: !0, | |
| 2960 | - configurable: !0, | |
| 2961 | - writable: !0 | |
| 2962 | - }) : e[r] = t, e; | |
| 2963 | -} | |
| 2964 | -module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3947 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 3948 | +var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "../node_modules/core-js/library/modules/_array-species-constructor.js"); | |
| 2965 | 3949 | |
| 3950 | +module.exports = function (original, length) { | |
| 3951 | + return new (speciesConstructor(original))(length); | |
| 3952 | +}; | |
| 3953 | + | |
| 3954 | + | |
| 2966 | 3955 | /***/ }), |
| 2967 | 3956 | |
| 2968 | -/***/ "../node_modules/@babel/runtime/helpers/esm/defineProperty.js": | |
| 2969 | -/*!********************************************************************!*\ | |
| 2970 | - !*** ../node_modules/@babel/runtime/helpers/esm/defineProperty.js ***! | |
| 2971 | - \********************************************************************/ | |
| 2972 | -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 3957 | +/***/ "../node_modules/core-js/library/modules/_bind.js": | |
| 3958 | +/*!********************************************************!*\ | |
| 3959 | + !*** ../node_modules/core-js/library/modules/_bind.js ***! | |
| 3960 | + \********************************************************/ | |
| 3961 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2973 | 3962 | |
| 2974 | 3963 | "use strict"; |
| 2975 | -__webpack_require__.r(__webpack_exports__); | |
| 2976 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 2977 | -/* harmony export */ "default": () => (/* binding */ _defineProperty) | |
| 2978 | -/* harmony export */ }); | |
| 2979 | -/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js"); | |
| 2980 | 3964 | |
| 2981 | -function _defineProperty(e, r, t) { | |
| 2982 | - return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r)) in e ? Object.defineProperty(e, r, { | |
| 2983 | - value: t, | |
| 2984 | - enumerable: !0, | |
| 2985 | - configurable: !0, | |
| 2986 | - writable: !0 | |
| 2987 | - }) : e[r] = t, e; | |
| 2988 | -} | |
| 3965 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 3966 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 3967 | +var invoke = __webpack_require__(/*! ./_invoke */ "../node_modules/core-js/library/modules/_invoke.js"); | |
| 3968 | +var arraySlice = [].slice; | |
| 3969 | +var factories = {}; | |
| 2989 | 3970 | |
| 3971 | +var construct = function (F, len, args) { | |
| 3972 | + if (!(len in factories)) { | |
| 3973 | + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; | |
| 3974 | + // eslint-disable-next-line no-new-func | |
| 3975 | + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); | |
| 3976 | + } return factories[len](F, args); | |
| 3977 | +}; | |
| 2990 | 3978 | |
| 3979 | +module.exports = Function.bind || function bind(that /* , ...args */) { | |
| 3980 | + var fn = aFunction(this); | |
| 3981 | + var partArgs = arraySlice.call(arguments, 1); | |
| 3982 | + var bound = function (/* args... */) { | |
| 3983 | + var args = partArgs.concat(arraySlice.call(arguments)); | |
| 3984 | + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); | |
| 3985 | + }; | |
| 3986 | + if (isObject(fn.prototype)) bound.prototype = fn.prototype; | |
| 3987 | + return bound; | |
| 3988 | +}; | |
| 3989 | + | |
| 3990 | + | |
| 2991 | 3991 | /***/ }), |
| 2992 | 3992 | |
| 2993 | -/***/ "../node_modules/@babel/runtime/helpers/esm/objectSpread2.js": | |
| 3993 | +/***/ "../node_modules/core-js/library/modules/_classof.js": | |
| 3994 | +/*!***********************************************************!*\ | |
| 3995 | + !*** ../node_modules/core-js/library/modules/_classof.js ***! | |
| 3996 | + \***********************************************************/ | |
| 3997 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3998 | + | |
| 3999 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 4000 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 4001 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 4002 | +// ES3 wrong here | |
| 4003 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 4004 | + | |
| 4005 | +// fallback for IE11 Script Access Denied error | |
| 4006 | +var tryGet = function (it, key) { | |
| 4007 | + try { | |
| 4008 | + return it[key]; | |
| 4009 | + } catch (e) { /* empty */ } | |
| 4010 | +}; | |
| 4011 | + | |
| 4012 | +module.exports = function (it) { | |
| 4013 | + var O, T, B; | |
| 4014 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 4015 | + // @@toStringTag case | |
| 4016 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 4017 | + // builtinTag case | |
| 4018 | + : ARG ? cof(O) | |
| 4019 | + // ES3 arguments fallback | |
| 4020 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 4021 | +}; | |
| 4022 | + | |
| 4023 | + | |
| 4024 | +/***/ }), | |
| 4025 | + | |
| 4026 | +/***/ "../node_modules/core-js/library/modules/_cof.js": | |
| 4027 | +/*!*******************************************************!*\ | |
| 4028 | + !*** ../node_modules/core-js/library/modules/_cof.js ***! | |
| 4029 | + \*******************************************************/ | |
| 4030 | +/***/ ((module) => { | |
| 4031 | + | |
| 4032 | +var toString = {}.toString; | |
| 4033 | + | |
| 4034 | +module.exports = function (it) { | |
| 4035 | + return toString.call(it).slice(8, -1); | |
| 4036 | +}; | |
| 4037 | + | |
| 4038 | + | |
| 4039 | +/***/ }), | |
| 4040 | + | |
| 4041 | +/***/ "../node_modules/core-js/library/modules/_collection-strong.js": | |
| 4042 | +/*!*********************************************************************!*\ | |
| 4043 | + !*** ../node_modules/core-js/library/modules/_collection-strong.js ***! | |
| 4044 | + \*********************************************************************/ | |
| 4045 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4046 | + | |
| 4047 | +"use strict"; | |
| 4048 | + | |
| 4049 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 4050 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 4051 | +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js"); | |
| 4052 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 4053 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 4054 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 4055 | +var $iterDefine = __webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js"); | |
| 4056 | +var step = __webpack_require__(/*! ./_iter-step */ "../node_modules/core-js/library/modules/_iter-step.js"); | |
| 4057 | +var setSpecies = __webpack_require__(/*! ./_set-species */ "../node_modules/core-js/library/modules/_set-species.js"); | |
| 4058 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 4059 | +var fastKey = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").fastKey; | |
| 4060 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 4061 | +var SIZE = DESCRIPTORS ? '_s' : 'size'; | |
| 4062 | + | |
| 4063 | +var getEntry = function (that, key) { | |
| 4064 | + // fast case | |
| 4065 | + var index = fastKey(key); | |
| 4066 | + var entry; | |
| 4067 | + if (index !== 'F') return that._i[index]; | |
| 4068 | + // frozen object case | |
| 4069 | + for (entry = that._f; entry; entry = entry.n) { | |
| 4070 | + if (entry.k == key) return entry; | |
| 4071 | + } | |
| 4072 | +}; | |
| 4073 | + | |
| 4074 | +module.exports = { | |
| 4075 | + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { | |
| 4076 | + var C = wrapper(function (that, iterable) { | |
| 4077 | + anInstance(that, C, NAME, '_i'); | |
| 4078 | + that._t = NAME; // collection type | |
| 4079 | + that._i = create(null); // index | |
| 4080 | + that._f = undefined; // first entry | |
| 4081 | + that._l = undefined; // last entry | |
| 4082 | + that[SIZE] = 0; // size | |
| 4083 | + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); | |
| 4084 | + }); | |
| 4085 | + redefineAll(C.prototype, { | |
| 4086 | + // 23.1.3.1 Map.prototype.clear() | |
| 4087 | + // 23.2.3.2 Set.prototype.clear() | |
| 4088 | + clear: function clear() { | |
| 4089 | + for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { | |
| 4090 | + entry.r = true; | |
| 4091 | + if (entry.p) entry.p = entry.p.n = undefined; | |
| 4092 | + delete data[entry.i]; | |
| 4093 | + } | |
| 4094 | + that._f = that._l = undefined; | |
| 4095 | + that[SIZE] = 0; | |
| 4096 | + }, | |
| 4097 | + // 23.1.3.3 Map.prototype.delete(key) | |
| 4098 | + // 23.2.3.4 Set.prototype.delete(value) | |
| 4099 | + 'delete': function (key) { | |
| 4100 | + var that = validate(this, NAME); | |
| 4101 | + var entry = getEntry(that, key); | |
| 4102 | + if (entry) { | |
| 4103 | + var next = entry.n; | |
| 4104 | + var prev = entry.p; | |
| 4105 | + delete that._i[entry.i]; | |
| 4106 | + entry.r = true; | |
| 4107 | + if (prev) prev.n = next; | |
| 4108 | + if (next) next.p = prev; | |
| 4109 | + if (that._f == entry) that._f = next; | |
| 4110 | + if (that._l == entry) that._l = prev; | |
| 4111 | + that[SIZE]--; | |
| 4112 | + } return !!entry; | |
| 4113 | + }, | |
| 4114 | + // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) | |
| 4115 | + // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) | |
| 4116 | + forEach: function forEach(callbackfn /* , that = undefined */) { | |
| 4117 | + validate(this, NAME); | |
| 4118 | + var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); | |
| 4119 | + var entry; | |
| 4120 | + while (entry = entry ? entry.n : this._f) { | |
| 4121 | + f(entry.v, entry.k, this); | |
| 4122 | + // revert to the last existing entry | |
| 4123 | + while (entry && entry.r) entry = entry.p; | |
| 4124 | + } | |
| 4125 | + }, | |
| 4126 | + // 23.1.3.7 Map.prototype.has(key) | |
| 4127 | + // 23.2.3.7 Set.prototype.has(value) | |
| 4128 | + has: function has(key) { | |
| 4129 | + return !!getEntry(validate(this, NAME), key); | |
| 4130 | + } | |
| 4131 | + }); | |
| 4132 | + if (DESCRIPTORS) dP(C.prototype, 'size', { | |
| 4133 | + get: function () { | |
| 4134 | + return validate(this, NAME)[SIZE]; | |
| 4135 | + } | |
| 4136 | + }); | |
| 4137 | + return C; | |
| 4138 | + }, | |
| 4139 | + def: function (that, key, value) { | |
| 4140 | + var entry = getEntry(that, key); | |
| 4141 | + var prev, index; | |
| 4142 | + // change existing entry | |
| 4143 | + if (entry) { | |
| 4144 | + entry.v = value; | |
| 4145 | + // create new entry | |
| 4146 | + } else { | |
| 4147 | + that._l = entry = { | |
| 4148 | + i: index = fastKey(key, true), // <- index | |
| 4149 | + k: key, // <- key | |
| 4150 | + v: value, // <- value | |
| 4151 | + p: prev = that._l, // <- previous entry | |
| 4152 | + n: undefined, // <- next entry | |
| 4153 | + r: false // <- removed | |
| 4154 | + }; | |
| 4155 | + if (!that._f) that._f = entry; | |
| 4156 | + if (prev) prev.n = entry; | |
| 4157 | + that[SIZE]++; | |
| 4158 | + // add to index | |
| 4159 | + if (index !== 'F') that._i[index] = entry; | |
| 4160 | + } return that; | |
| 4161 | + }, | |
| 4162 | + getEntry: getEntry, | |
| 4163 | + setStrong: function (C, NAME, IS_MAP) { | |
| 4164 | + // add .keys, .values, .entries, [@@iterator] | |
| 4165 | + // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 | |
| 4166 | + $iterDefine(C, NAME, function (iterated, kind) { | |
| 4167 | + this._t = validate(iterated, NAME); // target | |
| 4168 | + this._k = kind; // kind | |
| 4169 | + this._l = undefined; // previous | |
| 4170 | + }, function () { | |
| 4171 | + var that = this; | |
| 4172 | + var kind = that._k; | |
| 4173 | + var entry = that._l; | |
| 4174 | + // revert to the last existing entry | |
| 4175 | + while (entry && entry.r) entry = entry.p; | |
| 4176 | + // get next entry | |
| 4177 | + if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { | |
| 4178 | + // or finish the iteration | |
| 4179 | + that._t = undefined; | |
| 4180 | + return step(1); | |
| 4181 | + } | |
| 4182 | + // return step by kind | |
| 4183 | + if (kind == 'keys') return step(0, entry.k); | |
| 4184 | + if (kind == 'values') return step(0, entry.v); | |
| 4185 | + return step(0, [entry.k, entry.v]); | |
| 4186 | + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); | |
| 4187 | + | |
| 4188 | + // add [@@species], 23.1.2.2, 23.2.2.2 | |
| 4189 | + setSpecies(NAME); | |
| 4190 | + } | |
| 4191 | +}; | |
| 4192 | + | |
| 4193 | + | |
| 4194 | +/***/ }), | |
| 4195 | + | |
| 4196 | +/***/ "../node_modules/core-js/library/modules/_collection-to-json.js": | |
| 4197 | +/*!**********************************************************************!*\ | |
| 4198 | + !*** ../node_modules/core-js/library/modules/_collection-to-json.js ***! | |
| 4199 | + \**********************************************************************/ | |
| 4200 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4201 | + | |
| 4202 | +// https://github.com/DavidBruant/Map-Set.prototype.toJSON | |
| 4203 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/library/modules/_classof.js"); | |
| 4204 | +var from = __webpack_require__(/*! ./_array-from-iterable */ "../node_modules/core-js/library/modules/_array-from-iterable.js"); | |
| 4205 | +module.exports = function (NAME) { | |
| 4206 | + return function toJSON() { | |
| 4207 | + if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic"); | |
| 4208 | + return from(this); | |
| 4209 | + }; | |
| 4210 | +}; | |
| 4211 | + | |
| 4212 | + | |
| 4213 | +/***/ }), | |
| 4214 | + | |
| 4215 | +/***/ "../node_modules/core-js/library/modules/_collection-weak.js": | |
| 2994 | 4216 | /*!*******************************************************************!*\ |
| 2995 | - !*** ../node_modules/@babel/runtime/helpers/esm/objectSpread2.js ***! | |
| 4217 | + !*** ../node_modules/core-js/library/modules/_collection-weak.js ***! | |
| 2996 | 4218 | \*******************************************************************/ |
| 2997 | -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 4219 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2998 | 4220 | |
| 2999 | 4221 | "use strict"; |
| 3000 | -__webpack_require__.r(__webpack_exports__); | |
| 3001 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 3002 | -/* harmony export */ "default": () => (/* binding */ _objectSpread2) | |
| 3003 | -/* harmony export */ }); | |
| 3004 | -/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty.js */ "../node_modules/@babel/runtime/helpers/esm/defineProperty.js"); | |
| 3005 | 4222 | |
| 3006 | -function ownKeys(e, r) { | |
| 3007 | - var t = Object.keys(e); | |
| 3008 | - if (Object.getOwnPropertySymbols) { | |
| 3009 | - var o = Object.getOwnPropertySymbols(e); | |
| 3010 | - r && (o = o.filter(function (r) { | |
| 3011 | - return Object.getOwnPropertyDescriptor(e, r).enumerable; | |
| 3012 | - })), t.push.apply(t, o); | |
| 4223 | +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js"); | |
| 4224 | +var getWeak = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").getWeak; | |
| 4225 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 4226 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 4227 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 4228 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 4229 | +var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/library/modules/_array-methods.js"); | |
| 4230 | +var $has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 4231 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 4232 | +var arrayFind = createArrayMethod(5); | |
| 4233 | +var arrayFindIndex = createArrayMethod(6); | |
| 4234 | +var id = 0; | |
| 4235 | + | |
| 4236 | +// fallback for uncaught frozen keys | |
| 4237 | +var uncaughtFrozenStore = function (that) { | |
| 4238 | + return that._l || (that._l = new UncaughtFrozenStore()); | |
| 4239 | +}; | |
| 4240 | +var UncaughtFrozenStore = function () { | |
| 4241 | + this.a = []; | |
| 4242 | +}; | |
| 4243 | +var findUncaughtFrozen = function (store, key) { | |
| 4244 | + return arrayFind(store.a, function (it) { | |
| 4245 | + return it[0] === key; | |
| 4246 | + }); | |
| 4247 | +}; | |
| 4248 | +UncaughtFrozenStore.prototype = { | |
| 4249 | + get: function (key) { | |
| 4250 | + var entry = findUncaughtFrozen(this, key); | |
| 4251 | + if (entry) return entry[1]; | |
| 4252 | + }, | |
| 4253 | + has: function (key) { | |
| 4254 | + return !!findUncaughtFrozen(this, key); | |
| 4255 | + }, | |
| 4256 | + set: function (key, value) { | |
| 4257 | + var entry = findUncaughtFrozen(this, key); | |
| 4258 | + if (entry) entry[1] = value; | |
| 4259 | + else this.a.push([key, value]); | |
| 4260 | + }, | |
| 4261 | + 'delete': function (key) { | |
| 4262 | + var index = arrayFindIndex(this.a, function (it) { | |
| 4263 | + return it[0] === key; | |
| 4264 | + }); | |
| 4265 | + if (~index) this.a.splice(index, 1); | |
| 4266 | + return !!~index; | |
| 3013 | 4267 | } |
| 3014 | - return t; | |
| 3015 | -} | |
| 3016 | -function _objectSpread2(e) { | |
| 3017 | - for (var r = 1; r < arguments.length; r++) { | |
| 3018 | - var t = null != arguments[r] ? arguments[r] : {}; | |
| 3019 | - r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { | |
| 3020 | - (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__["default"])(e, r, t[r]); | |
| 3021 | - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { | |
| 3022 | - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); | |
| 4268 | +}; | |
| 4269 | + | |
| 4270 | +module.exports = { | |
| 4271 | + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { | |
| 4272 | + var C = wrapper(function (that, iterable) { | |
| 4273 | + anInstance(that, C, NAME, '_i'); | |
| 4274 | + that._t = NAME; // collection type | |
| 4275 | + that._i = id++; // collection id | |
| 4276 | + that._l = undefined; // leak store for uncaught frozen objects | |
| 4277 | + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); | |
| 3023 | 4278 | }); |
| 3024 | - } | |
| 3025 | - return e; | |
| 3026 | -} | |
| 4279 | + redefineAll(C.prototype, { | |
| 4280 | + // 23.3.3.2 WeakMap.prototype.delete(key) | |
| 4281 | + // 23.4.3.3 WeakSet.prototype.delete(value) | |
| 4282 | + 'delete': function (key) { | |
| 4283 | + if (!isObject(key)) return false; | |
| 4284 | + var data = getWeak(key); | |
| 4285 | + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); | |
| 4286 | + return data && $has(data, this._i) && delete data[this._i]; | |
| 4287 | + }, | |
| 4288 | + // 23.3.3.4 WeakMap.prototype.has(key) | |
| 4289 | + // 23.4.3.4 WeakSet.prototype.has(value) | |
| 4290 | + has: function has(key) { | |
| 4291 | + if (!isObject(key)) return false; | |
| 4292 | + var data = getWeak(key); | |
| 4293 | + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); | |
| 4294 | + return data && $has(data, this._i); | |
| 4295 | + } | |
| 4296 | + }); | |
| 4297 | + return C; | |
| 4298 | + }, | |
| 4299 | + def: function (that, key, value) { | |
| 4300 | + var data = getWeak(anObject(key), true); | |
| 4301 | + if (data === true) uncaughtFrozenStore(that).set(key, value); | |
| 4302 | + else data[that._i] = value; | |
| 4303 | + return that; | |
| 4304 | + }, | |
| 4305 | + ufstore: uncaughtFrozenStore | |
| 4306 | +}; | |
| 3027 | 4307 | |
| 3028 | 4308 | |
| 3029 | 4309 | /***/ }), |
| 3030 | 4310 | |
| 3031 | -/***/ "../node_modules/@babel/runtime/helpers/esm/toPrimitive.js": | |
| 3032 | -/*!*****************************************************************!*\ | |
| 3033 | - !*** ../node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***! | |
| 3034 | - \*****************************************************************/ | |
| 3035 | -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 4311 | +/***/ "../node_modules/core-js/library/modules/_collection.js": | |
| 4312 | +/*!**************************************************************!*\ | |
| 4313 | + !*** ../node_modules/core-js/library/modules/_collection.js ***! | |
| 4314 | + \**************************************************************/ | |
| 4315 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3036 | 4316 | |
| 3037 | 4317 | "use strict"; |
| 3038 | -__webpack_require__.r(__webpack_exports__); | |
| 3039 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 3040 | -/* harmony export */ "default": () => (/* binding */ toPrimitive) | |
| 3041 | -/* harmony export */ }); | |
| 3042 | -/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/esm/typeof.js"); | |
| 3043 | 4318 | |
| 3044 | -function toPrimitive(t, r) { | |
| 3045 | - if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t; | |
| 3046 | - var e = t[Symbol.toPrimitive]; | |
| 3047 | - if (void 0 !== e) { | |
| 3048 | - var i = e.call(t, r || "default"); | |
| 3049 | - if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i; | |
| 3050 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 4319 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 4320 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 4321 | +var meta = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js"); | |
| 4322 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 4323 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 4324 | +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js"); | |
| 4325 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 4326 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 4327 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 4328 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 4329 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 4330 | +var each = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/library/modules/_array-methods.js")(0); | |
| 4331 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 4332 | + | |
| 4333 | +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { | |
| 4334 | + var Base = global[NAME]; | |
| 4335 | + var C = Base; | |
| 4336 | + var ADDER = IS_MAP ? 'set' : 'add'; | |
| 4337 | + var proto = C && C.prototype; | |
| 4338 | + var O = {}; | |
| 4339 | + if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { | |
| 4340 | + new C().entries().next(); | |
| 4341 | + }))) { | |
| 4342 | + // create collection constructor | |
| 4343 | + C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); | |
| 4344 | + redefineAll(C.prototype, methods); | |
| 4345 | + meta.NEED = true; | |
| 4346 | + } else { | |
| 4347 | + C = wrapper(function (target, iterable) { | |
| 4348 | + anInstance(target, C, NAME, '_c'); | |
| 4349 | + target._c = new Base(); | |
| 4350 | + if (iterable != undefined) forOf(iterable, IS_MAP, target[ADDER], target); | |
| 4351 | + }); | |
| 4352 | + each('add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON'.split(','), function (KEY) { | |
| 4353 | + var IS_ADDER = KEY == 'add' || KEY == 'set'; | |
| 4354 | + if (KEY in proto && !(IS_WEAK && KEY == 'clear')) hide(C.prototype, KEY, function (a, b) { | |
| 4355 | + anInstance(this, C, KEY); | |
| 4356 | + if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false; | |
| 4357 | + var result = this._c[KEY](a === 0 ? 0 : a, b); | |
| 4358 | + return IS_ADDER ? this : result; | |
| 4359 | + }); | |
| 4360 | + }); | |
| 4361 | + IS_WEAK || dP(C.prototype, 'size', { | |
| 4362 | + get: function () { | |
| 4363 | + return this._c.size; | |
| 4364 | + } | |
| 4365 | + }); | |
| 3051 | 4366 | } |
| 3052 | - return ("string" === r ? String : Number)(t); | |
| 3053 | -} | |
| 3054 | 4367 | |
| 4368 | + setToStringTag(C, NAME); | |
| 3055 | 4369 | |
| 4370 | + O[NAME] = C; | |
| 4371 | + $export($export.G + $export.W + $export.F, O); | |
| 4372 | + | |
| 4373 | + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); | |
| 4374 | + | |
| 4375 | + return C; | |
| 4376 | +}; | |
| 4377 | + | |
| 4378 | + | |
| 3056 | 4379 | /***/ }), |
| 3057 | 4380 | |
| 3058 | -/***/ "../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js": | |
| 4381 | +/***/ "../node_modules/core-js/library/modules/_core.js": | |
| 4382 | +/*!********************************************************!*\ | |
| 4383 | + !*** ../node_modules/core-js/library/modules/_core.js ***! | |
| 4384 | + \********************************************************/ | |
| 4385 | +/***/ ((module) => { | |
| 4386 | + | |
| 4387 | +var core = module.exports = { version: '2.6.12' }; | |
| 4388 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 4389 | + | |
| 4390 | + | |
| 4391 | +/***/ }), | |
| 4392 | + | |
| 4393 | +/***/ "../node_modules/core-js/library/modules/_create-property.js": | |
| 3059 | 4394 | /*!*******************************************************************!*\ |
| 3060 | - !*** ../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***! | |
| 4395 | + !*** ../node_modules/core-js/library/modules/_create-property.js ***! | |
| 3061 | 4396 | \*******************************************************************/ |
| 3062 | -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 4397 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3063 | 4398 | |
| 3064 | 4399 | "use strict"; |
| 3065 | -__webpack_require__.r(__webpack_exports__); | |
| 3066 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 3067 | -/* harmony export */ "default": () => (/* binding */ toPropertyKey) | |
| 3068 | -/* harmony export */ }); | |
| 3069 | -/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/esm/typeof.js"); | |
| 3070 | -/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/esm/toPrimitive.js"); | |
| 3071 | 4400 | |
| 4401 | +var $defineProperty = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 4402 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 3072 | 4403 | |
| 3073 | -function toPropertyKey(t) { | |
| 3074 | - var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(t, "string"); | |
| 3075 | - return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : i + ""; | |
| 3076 | -} | |
| 4404 | +module.exports = function (object, index, value) { | |
| 4405 | + if (index in object) $defineProperty.f(object, index, createDesc(0, value)); | |
| 4406 | + else object[index] = value; | |
| 4407 | +}; | |
| 3077 | 4408 | |
| 3078 | 4409 | |
| 3079 | 4410 | /***/ }), |
| 3080 | 4411 | |
| 3081 | -/***/ "../node_modules/@babel/runtime/helpers/esm/typeof.js": | |
| 3082 | -/*!************************************************************!*\ | |
| 3083 | - !*** ../node_modules/@babel/runtime/helpers/esm/typeof.js ***! | |
| 3084 | - \************************************************************/ | |
| 3085 | -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 4412 | +/***/ "../node_modules/core-js/library/modules/_ctx.js": | |
| 4413 | +/*!*******************************************************!*\ | |
| 4414 | + !*** ../node_modules/core-js/library/modules/_ctx.js ***! | |
| 4415 | + \*******************************************************/ | |
| 4416 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3086 | 4417 | |
| 3087 | -"use strict"; | |
| 3088 | -__webpack_require__.r(__webpack_exports__); | |
| 3089 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 3090 | -/* harmony export */ "default": () => (/* binding */ _typeof) | |
| 3091 | -/* harmony export */ }); | |
| 3092 | -function _typeof(o) { | |
| 3093 | - "@babel/helpers - typeof"; | |
| 4418 | +// optional / simple context binding | |
| 4419 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 4420 | +module.exports = function (fn, that, length) { | |
| 4421 | + aFunction(fn); | |
| 4422 | + if (that === undefined) return fn; | |
| 4423 | + switch (length) { | |
| 4424 | + case 1: return function (a) { | |
| 4425 | + return fn.call(that, a); | |
| 4426 | + }; | |
| 4427 | + case 2: return function (a, b) { | |
| 4428 | + return fn.call(that, a, b); | |
| 4429 | + }; | |
| 4430 | + case 3: return function (a, b, c) { | |
| 4431 | + return fn.call(that, a, b, c); | |
| 4432 | + }; | |
| 4433 | + } | |
| 4434 | + return function (/* ...args */) { | |
| 4435 | + return fn.apply(that, arguments); | |
| 4436 | + }; | |
| 4437 | +}; | |
| 3094 | 4438 | |
| 3095 | - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 3096 | - return typeof o; | |
| 3097 | - } : function (o) { | |
| 3098 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 3099 | - }, _typeof(o); | |
| 3100 | -} | |
| 3101 | 4439 | |
| 4440 | +/***/ }), | |
| 3102 | 4441 | |
| 4442 | +/***/ "../node_modules/core-js/library/modules/_defined.js": | |
| 4443 | +/*!***********************************************************!*\ | |
| 4444 | + !*** ../node_modules/core-js/library/modules/_defined.js ***! | |
| 4445 | + \***********************************************************/ | |
| 4446 | +/***/ ((module) => { | |
| 4447 | + | |
| 4448 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 4449 | +module.exports = function (it) { | |
| 4450 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 4451 | + return it; | |
| 4452 | +}; | |
| 4453 | + | |
| 4454 | + | |
| 3103 | 4455 | /***/ }), |
| 3104 | 4456 | |
| 3105 | -/***/ "../node_modules/@babel/runtime/helpers/get.js": | |
| 3106 | -/*!*****************************************************!*\ | |
| 3107 | - !*** ../node_modules/@babel/runtime/helpers/get.js ***! | |
| 3108 | - \*****************************************************/ | |
| 4457 | +/***/ "../node_modules/core-js/library/modules/_descriptors.js": | |
| 4458 | +/*!***************************************************************!*\ | |
| 4459 | + !*** ../node_modules/core-js/library/modules/_descriptors.js ***! | |
| 4460 | + \***************************************************************/ | |
| 3109 | 4461 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3110 | 4462 | |
| 3111 | -var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime/helpers/superPropBase.js"); | |
| 3112 | -function _get() { | |
| 3113 | - return module.exports = _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { | |
| 3114 | - var p = superPropBase(e, t); | |
| 3115 | - if (p) { | |
| 3116 | - var n = Object.getOwnPropertyDescriptor(p, t); | |
| 3117 | - return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; | |
| 4463 | +// Thank's IE8 for his funny defineProperty | |
| 4464 | +module.exports = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 4465 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 4466 | +}); | |
| 4467 | + | |
| 4468 | + | |
| 4469 | +/***/ }), | |
| 4470 | + | |
| 4471 | +/***/ "../node_modules/core-js/library/modules/_dom-create.js": | |
| 4472 | +/*!**************************************************************!*\ | |
| 4473 | + !*** ../node_modules/core-js/library/modules/_dom-create.js ***! | |
| 4474 | + \**************************************************************/ | |
| 4475 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4476 | + | |
| 4477 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 4478 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").document; | |
| 4479 | +// typeof document.createElement is 'object' in old IE | |
| 4480 | +var is = isObject(document) && isObject(document.createElement); | |
| 4481 | +module.exports = function (it) { | |
| 4482 | + return is ? document.createElement(it) : {}; | |
| 4483 | +}; | |
| 4484 | + | |
| 4485 | + | |
| 4486 | +/***/ }), | |
| 4487 | + | |
| 4488 | +/***/ "../node_modules/core-js/library/modules/_enum-bug-keys.js": | |
| 4489 | +/*!*****************************************************************!*\ | |
| 4490 | + !*** ../node_modules/core-js/library/modules/_enum-bug-keys.js ***! | |
| 4491 | + \*****************************************************************/ | |
| 4492 | +/***/ ((module) => { | |
| 4493 | + | |
| 4494 | +// IE 8- don't enum bug keys | |
| 4495 | +module.exports = ( | |
| 4496 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 4497 | +).split(','); | |
| 4498 | + | |
| 4499 | + | |
| 4500 | +/***/ }), | |
| 4501 | + | |
| 4502 | +/***/ "../node_modules/core-js/library/modules/_enum-keys.js": | |
| 4503 | +/*!*************************************************************!*\ | |
| 4504 | + !*** ../node_modules/core-js/library/modules/_enum-keys.js ***! | |
| 4505 | + \*************************************************************/ | |
| 4506 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4507 | + | |
| 4508 | +// all enumerable object keys, includes symbols | |
| 4509 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 4510 | +var gOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 4511 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 4512 | +module.exports = function (it) { | |
| 4513 | + var result = getKeys(it); | |
| 4514 | + var getSymbols = gOPS.f; | |
| 4515 | + if (getSymbols) { | |
| 4516 | + var symbols = getSymbols(it); | |
| 4517 | + var isEnum = pIE.f; | |
| 4518 | + var i = 0; | |
| 4519 | + var key; | |
| 4520 | + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); | |
| 4521 | + } return result; | |
| 4522 | +}; | |
| 4523 | + | |
| 4524 | + | |
| 4525 | +/***/ }), | |
| 4526 | + | |
| 4527 | +/***/ "../node_modules/core-js/library/modules/_export.js": | |
| 4528 | +/*!**********************************************************!*\ | |
| 4529 | + !*** ../node_modules/core-js/library/modules/_export.js ***! | |
| 4530 | + \**********************************************************/ | |
| 4531 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4532 | + | |
| 4533 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 4534 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 4535 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 4536 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 4537 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 4538 | +var PROTOTYPE = 'prototype'; | |
| 4539 | + | |
| 4540 | +var $export = function (type, name, source) { | |
| 4541 | + var IS_FORCED = type & $export.F; | |
| 4542 | + var IS_GLOBAL = type & $export.G; | |
| 4543 | + var IS_STATIC = type & $export.S; | |
| 4544 | + var IS_PROTO = type & $export.P; | |
| 4545 | + var IS_BIND = type & $export.B; | |
| 4546 | + var IS_WRAP = type & $export.W; | |
| 4547 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 4548 | + var expProto = exports[PROTOTYPE]; | |
| 4549 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; | |
| 4550 | + var key, own, out; | |
| 4551 | + if (IS_GLOBAL) source = name; | |
| 4552 | + for (key in source) { | |
| 4553 | + // contains in native | |
| 4554 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 4555 | + if (own && has(exports, key)) continue; | |
| 4556 | + // export native or passed | |
| 4557 | + out = own ? target[key] : source[key]; | |
| 4558 | + // prevent global pollution for namespaces | |
| 4559 | + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] | |
| 4560 | + // bind timers to global for call from export context | |
| 4561 | + : IS_BIND && own ? ctx(out, global) | |
| 4562 | + // wrap global constructors for prevent change them in library | |
| 4563 | + : IS_WRAP && target[key] == out ? (function (C) { | |
| 4564 | + var F = function (a, b, c) { | |
| 4565 | + if (this instanceof C) { | |
| 4566 | + switch (arguments.length) { | |
| 4567 | + case 0: return new C(); | |
| 4568 | + case 1: return new C(a); | |
| 4569 | + case 2: return new C(a, b); | |
| 4570 | + } return new C(a, b, c); | |
| 4571 | + } return C.apply(this, arguments); | |
| 4572 | + }; | |
| 4573 | + F[PROTOTYPE] = C[PROTOTYPE]; | |
| 4574 | + return F; | |
| 4575 | + // make static versions for prototype methods | |
| 4576 | + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 4577 | + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% | |
| 4578 | + if (IS_PROTO) { | |
| 4579 | + (exports.virtual || (exports.virtual = {}))[key] = out; | |
| 4580 | + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% | |
| 4581 | + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); | |
| 3118 | 4582 | } |
| 3119 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments); | |
| 3120 | -} | |
| 3121 | -module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4583 | + } | |
| 4584 | +}; | |
| 4585 | +// type bitmap | |
| 4586 | +$export.F = 1; // forced | |
| 4587 | +$export.G = 2; // global | |
| 4588 | +$export.S = 4; // static | |
| 4589 | +$export.P = 8; // proto | |
| 4590 | +$export.B = 16; // bind | |
| 4591 | +$export.W = 32; // wrap | |
| 4592 | +$export.U = 64; // safe | |
| 4593 | +$export.R = 128; // real proto method for `library` | |
| 4594 | +module.exports = $export; | |
| 3122 | 4595 | |
| 4596 | + | |
| 3123 | 4597 | /***/ }), |
| 3124 | 4598 | |
| 3125 | -/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js": | |
| 3126 | -/*!****************************************************************!*\ | |
| 3127 | - !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! | |
| 3128 | - \****************************************************************/ | |
| 4599 | +/***/ "../node_modules/core-js/library/modules/_fails.js": | |
| 4600 | +/*!*********************************************************!*\ | |
| 4601 | + !*** ../node_modules/core-js/library/modules/_fails.js ***! | |
| 4602 | + \*********************************************************/ | |
| 3129 | 4603 | /***/ ((module) => { |
| 3130 | 4604 | |
| 3131 | -function _getPrototypeOf(t) { | |
| 3132 | - return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | |
| 3133 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 3134 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); | |
| 3135 | -} | |
| 3136 | -module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4605 | +module.exports = function (exec) { | |
| 4606 | + try { | |
| 4607 | + return !!exec(); | |
| 4608 | + } catch (e) { | |
| 4609 | + return true; | |
| 4610 | + } | |
| 4611 | +}; | |
| 3137 | 4612 | |
| 4613 | + | |
| 3138 | 4614 | /***/ }), |
| 3139 | 4615 | |
| 3140 | -/***/ "../node_modules/@babel/runtime/helpers/inherits.js": | |
| 4616 | +/***/ "../node_modules/core-js/library/modules/_for-of.js": | |
| 3141 | 4617 | /*!**********************************************************!*\ |
| 3142 | - !*** ../node_modules/@babel/runtime/helpers/inherits.js ***! | |
| 4618 | + !*** ../node_modules/core-js/library/modules/_for-of.js ***! | |
| 3143 | 4619 | \**********************************************************/ |
| 3144 | 4620 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3145 | 4621 | |
| 3146 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 3147 | -function _inherits(t, e) { | |
| 3148 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 3149 | - t.prototype = Object.create(e && e.prototype, { | |
| 3150 | - constructor: { | |
| 3151 | - value: t, | |
| 3152 | - writable: !0, | |
| 3153 | - configurable: !0 | |
| 3154 | - } | |
| 3155 | - }), Object.defineProperty(t, "prototype", { | |
| 3156 | - writable: !1 | |
| 3157 | - }), e && setPrototypeOf(t, e); | |
| 3158 | -} | |
| 3159 | -module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4622 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 4623 | +var call = __webpack_require__(/*! ./_iter-call */ "../node_modules/core-js/library/modules/_iter-call.js"); | |
| 4624 | +var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "../node_modules/core-js/library/modules/_is-array-iter.js"); | |
| 4625 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 4626 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 4627 | +var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "../node_modules/core-js/library/modules/core.get-iterator-method.js"); | |
| 4628 | +var BREAK = {}; | |
| 4629 | +var RETURN = {}; | |
| 4630 | +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { | |
| 4631 | + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); | |
| 4632 | + var f = ctx(fn, that, entries ? 2 : 1); | |
| 4633 | + var index = 0; | |
| 4634 | + var length, step, iterator, result; | |
| 4635 | + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); | |
| 4636 | + // fast case for arrays with default iterator | |
| 4637 | + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { | |
| 4638 | + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); | |
| 4639 | + if (result === BREAK || result === RETURN) return result; | |
| 4640 | + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { | |
| 4641 | + result = call(iterator, f, step.value, entries); | |
| 4642 | + if (result === BREAK || result === RETURN) return result; | |
| 4643 | + } | |
| 4644 | +}; | |
| 4645 | +exports.BREAK = BREAK; | |
| 4646 | +exports.RETURN = RETURN; | |
| 3160 | 4647 | |
| 4648 | + | |
| 3161 | 4649 | /***/ }), |
| 3162 | 4650 | |
| 3163 | -/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 3164 | -/*!***********************************************************************!*\ | |
| 3165 | - !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 3166 | - \***********************************************************************/ | |
| 4651 | +/***/ "../node_modules/core-js/library/modules/_global.js": | |
| 4652 | +/*!**********************************************************!*\ | |
| 4653 | + !*** ../node_modules/core-js/library/modules/_global.js ***! | |
| 4654 | + \**********************************************************/ | |
| 3167 | 4655 | /***/ ((module) => { |
| 3168 | 4656 | |
| 3169 | -function _interopRequireDefault(e) { | |
| 3170 | - return e && e.__esModule ? e : { | |
| 3171 | - "default": e | |
| 3172 | - }; | |
| 3173 | -} | |
| 3174 | -module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4657 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 4658 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 4659 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 4660 | + // eslint-disable-next-line no-new-func | |
| 4661 | + : Function('return this')(); | |
| 4662 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 3175 | 4663 | |
| 4664 | + | |
| 3176 | 4665 | /***/ }), |
| 3177 | 4666 | |
| 3178 | -/***/ "../node_modules/@babel/runtime/helpers/isNativeFunction.js": | |
| 4667 | +/***/ "../node_modules/core-js/library/modules/_has.js": | |
| 4668 | +/*!*******************************************************!*\ | |
| 4669 | + !*** ../node_modules/core-js/library/modules/_has.js ***! | |
| 4670 | + \*******************************************************/ | |
| 4671 | +/***/ ((module) => { | |
| 4672 | + | |
| 4673 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 4674 | +module.exports = function (it, key) { | |
| 4675 | + return hasOwnProperty.call(it, key); | |
| 4676 | +}; | |
| 4677 | + | |
| 4678 | + | |
| 4679 | +/***/ }), | |
| 4680 | + | |
| 4681 | +/***/ "../node_modules/core-js/library/modules/_hide.js": | |
| 4682 | +/*!********************************************************!*\ | |
| 4683 | + !*** ../node_modules/core-js/library/modules/_hide.js ***! | |
| 4684 | + \********************************************************/ | |
| 4685 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4686 | + | |
| 4687 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 4688 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 4689 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? function (object, key, value) { | |
| 4690 | + return dP.f(object, key, createDesc(1, value)); | |
| 4691 | +} : function (object, key, value) { | |
| 4692 | + object[key] = value; | |
| 4693 | + return object; | |
| 4694 | +}; | |
| 4695 | + | |
| 4696 | + | |
| 4697 | +/***/ }), | |
| 4698 | + | |
| 4699 | +/***/ "../node_modules/core-js/library/modules/_html.js": | |
| 4700 | +/*!********************************************************!*\ | |
| 4701 | + !*** ../node_modules/core-js/library/modules/_html.js ***! | |
| 4702 | + \********************************************************/ | |
| 4703 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4704 | + | |
| 4705 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").document; | |
| 4706 | +module.exports = document && document.documentElement; | |
| 4707 | + | |
| 4708 | + | |
| 4709 | +/***/ }), | |
| 4710 | + | |
| 4711 | +/***/ "../node_modules/core-js/library/modules/_ie8-dom-define.js": | |
| 3179 | 4712 | /*!******************************************************************!*\ |
| 3180 | - !*** ../node_modules/@babel/runtime/helpers/isNativeFunction.js ***! | |
| 4713 | + !*** ../node_modules/core-js/library/modules/_ie8-dom-define.js ***! | |
| 3181 | 4714 | \******************************************************************/ |
| 4715 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4716 | + | |
| 4717 | +module.exports = !__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 4718 | + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 4719 | +}); | |
| 4720 | + | |
| 4721 | + | |
| 4722 | +/***/ }), | |
| 4723 | + | |
| 4724 | +/***/ "../node_modules/core-js/library/modules/_invoke.js": | |
| 4725 | +/*!**********************************************************!*\ | |
| 4726 | + !*** ../node_modules/core-js/library/modules/_invoke.js ***! | |
| 4727 | + \**********************************************************/ | |
| 3182 | 4728 | /***/ ((module) => { |
| 3183 | 4729 | |
| 3184 | -function _isNativeFunction(t) { | |
| 4730 | +// fast apply, http://jsperf.lnkit.com/fast-apply/5 | |
| 4731 | +module.exports = function (fn, args, that) { | |
| 4732 | + var un = that === undefined; | |
| 4733 | + switch (args.length) { | |
| 4734 | + case 0: return un ? fn() | |
| 4735 | + : fn.call(that); | |
| 4736 | + case 1: return un ? fn(args[0]) | |
| 4737 | + : fn.call(that, args[0]); | |
| 4738 | + case 2: return un ? fn(args[0], args[1]) | |
| 4739 | + : fn.call(that, args[0], args[1]); | |
| 4740 | + case 3: return un ? fn(args[0], args[1], args[2]) | |
| 4741 | + : fn.call(that, args[0], args[1], args[2]); | |
| 4742 | + case 4: return un ? fn(args[0], args[1], args[2], args[3]) | |
| 4743 | + : fn.call(that, args[0], args[1], args[2], args[3]); | |
| 4744 | + } return fn.apply(that, args); | |
| 4745 | +}; | |
| 4746 | + | |
| 4747 | + | |
| 4748 | +/***/ }), | |
| 4749 | + | |
| 4750 | +/***/ "../node_modules/core-js/library/modules/_iobject.js": | |
| 4751 | +/*!***********************************************************!*\ | |
| 4752 | + !*** ../node_modules/core-js/library/modules/_iobject.js ***! | |
| 4753 | + \***********************************************************/ | |
| 4754 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4755 | + | |
| 4756 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 4757 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 4758 | +// eslint-disable-next-line no-prototype-builtins | |
| 4759 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 4760 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 4761 | +}; | |
| 4762 | + | |
| 4763 | + | |
| 4764 | +/***/ }), | |
| 4765 | + | |
| 4766 | +/***/ "../node_modules/core-js/library/modules/_is-array-iter.js": | |
| 4767 | +/*!*****************************************************************!*\ | |
| 4768 | + !*** ../node_modules/core-js/library/modules/_is-array-iter.js ***! | |
| 4769 | + \*****************************************************************/ | |
| 4770 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4771 | + | |
| 4772 | +// check on default Array iterator | |
| 4773 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 4774 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 4775 | +var ArrayProto = Array.prototype; | |
| 4776 | + | |
| 4777 | +module.exports = function (it) { | |
| 4778 | + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); | |
| 4779 | +}; | |
| 4780 | + | |
| 4781 | + | |
| 4782 | +/***/ }), | |
| 4783 | + | |
| 4784 | +/***/ "../node_modules/core-js/library/modules/_is-array.js": | |
| 4785 | +/*!************************************************************!*\ | |
| 4786 | + !*** ../node_modules/core-js/library/modules/_is-array.js ***! | |
| 4787 | + \************************************************************/ | |
| 4788 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4789 | + | |
| 4790 | +// 7.2.2 IsArray(argument) | |
| 4791 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 4792 | +module.exports = Array.isArray || function isArray(arg) { | |
| 4793 | + return cof(arg) == 'Array'; | |
| 4794 | +}; | |
| 4795 | + | |
| 4796 | + | |
| 4797 | +/***/ }), | |
| 4798 | + | |
| 4799 | +/***/ "../node_modules/core-js/library/modules/_is-object.js": | |
| 4800 | +/*!*************************************************************!*\ | |
| 4801 | + !*** ../node_modules/core-js/library/modules/_is-object.js ***! | |
| 4802 | + \*************************************************************/ | |
| 4803 | +/***/ ((module) => { | |
| 4804 | + | |
| 4805 | +module.exports = function (it) { | |
| 4806 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 4807 | +}; | |
| 4808 | + | |
| 4809 | + | |
| 4810 | +/***/ }), | |
| 4811 | + | |
| 4812 | +/***/ "../node_modules/core-js/library/modules/_iter-call.js": | |
| 4813 | +/*!*************************************************************!*\ | |
| 4814 | + !*** ../node_modules/core-js/library/modules/_iter-call.js ***! | |
| 4815 | + \*************************************************************/ | |
| 4816 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4817 | + | |
| 4818 | +// call something on iterator step with safe closing on error | |
| 4819 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 4820 | +module.exports = function (iterator, fn, value, entries) { | |
| 3185 | 4821 | try { |
| 3186 | - return -1 !== Function.toString.call(t).indexOf("[native code]"); | |
| 3187 | - } catch (n) { | |
| 3188 | - return "function" == typeof t; | |
| 4822 | + return entries ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 4823 | + // 7.4.6 IteratorClose(iterator, completion) | |
| 4824 | + } catch (e) { | |
| 4825 | + var ret = iterator['return']; | |
| 4826 | + if (ret !== undefined) anObject(ret.call(iterator)); | |
| 4827 | + throw e; | |
| 3189 | 4828 | } |
| 3190 | -} | |
| 3191 | -module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4829 | +}; | |
| 3192 | 4830 | |
| 4831 | + | |
| 3193 | 4832 | /***/ }), |
| 3194 | 4833 | |
| 3195 | -/***/ "../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js": | |
| 3196 | -/*!**************************************************************************!*\ | |
| 3197 | - !*** ../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***! | |
| 3198 | - \**************************************************************************/ | |
| 4834 | +/***/ "../node_modules/core-js/library/modules/_iter-create.js": | |
| 4835 | +/*!***************************************************************!*\ | |
| 4836 | + !*** ../node_modules/core-js/library/modules/_iter-create.js ***! | |
| 4837 | + \***************************************************************/ | |
| 4838 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4839 | + | |
| 4840 | +"use strict"; | |
| 4841 | + | |
| 4842 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 4843 | +var descriptor = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 4844 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 4845 | +var IteratorPrototype = {}; | |
| 4846 | + | |
| 4847 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 4848 | +__webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js")(IteratorPrototype, __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'), function () { return this; }); | |
| 4849 | + | |
| 4850 | +module.exports = function (Constructor, NAME, next) { | |
| 4851 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 4852 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 4853 | +}; | |
| 4854 | + | |
| 4855 | + | |
| 4856 | +/***/ }), | |
| 4857 | + | |
| 4858 | +/***/ "../node_modules/core-js/library/modules/_iter-define.js": | |
| 4859 | +/*!***************************************************************!*\ | |
| 4860 | + !*** ../node_modules/core-js/library/modules/_iter-define.js ***! | |
| 4861 | + \***************************************************************/ | |
| 4862 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4863 | + | |
| 4864 | +"use strict"; | |
| 4865 | + | |
| 4866 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 4867 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 4868 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 4869 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 4870 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 4871 | +var $iterCreate = __webpack_require__(/*! ./_iter-create */ "../node_modules/core-js/library/modules/_iter-create.js"); | |
| 4872 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 4873 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 4874 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 4875 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 4876 | +var FF_ITERATOR = '@@iterator'; | |
| 4877 | +var KEYS = 'keys'; | |
| 4878 | +var VALUES = 'values'; | |
| 4879 | + | |
| 4880 | +var returnThis = function () { return this; }; | |
| 4881 | + | |
| 4882 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 4883 | + $iterCreate(Constructor, NAME, next); | |
| 4884 | + var getMethod = function (kind) { | |
| 4885 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 4886 | + switch (kind) { | |
| 4887 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 4888 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 4889 | + } return function entries() { return new Constructor(this, kind); }; | |
| 4890 | + }; | |
| 4891 | + var TAG = NAME + ' Iterator'; | |
| 4892 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 4893 | + var VALUES_BUG = false; | |
| 4894 | + var proto = Base.prototype; | |
| 4895 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 4896 | + var $default = $native || getMethod(DEFAULT); | |
| 4897 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 4898 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 4899 | + var methods, key, IteratorPrototype; | |
| 4900 | + // Fix native | |
| 4901 | + if ($anyNative) { | |
| 4902 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 4903 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 4904 | + // Set @@toStringTag to native iterators | |
| 4905 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 4906 | + // fix for some old engines | |
| 4907 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 4908 | + } | |
| 4909 | + } | |
| 4910 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 4911 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 4912 | + VALUES_BUG = true; | |
| 4913 | + $default = function values() { return $native.call(this); }; | |
| 4914 | + } | |
| 4915 | + // Define iterator | |
| 4916 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 4917 | + hide(proto, ITERATOR, $default); | |
| 4918 | + } | |
| 4919 | + // Plug for library | |
| 4920 | + Iterators[NAME] = $default; | |
| 4921 | + Iterators[TAG] = returnThis; | |
| 4922 | + if (DEFAULT) { | |
| 4923 | + methods = { | |
| 4924 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 4925 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 4926 | + entries: $entries | |
| 4927 | + }; | |
| 4928 | + if (FORCED) for (key in methods) { | |
| 4929 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 4930 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 4931 | + } | |
| 4932 | + return methods; | |
| 4933 | +}; | |
| 4934 | + | |
| 4935 | + | |
| 4936 | +/***/ }), | |
| 4937 | + | |
| 4938 | +/***/ "../node_modules/core-js/library/modules/_iter-detect.js": | |
| 4939 | +/*!***************************************************************!*\ | |
| 4940 | + !*** ../node_modules/core-js/library/modules/_iter-detect.js ***! | |
| 4941 | + \***************************************************************/ | |
| 4942 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4943 | + | |
| 4944 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 4945 | +var SAFE_CLOSING = false; | |
| 4946 | + | |
| 4947 | +try { | |
| 4948 | + var riter = [7][ITERATOR](); | |
| 4949 | + riter['return'] = function () { SAFE_CLOSING = true; }; | |
| 4950 | + // eslint-disable-next-line no-throw-literal | |
| 4951 | + Array.from(riter, function () { throw 2; }); | |
| 4952 | +} catch (e) { /* empty */ } | |
| 4953 | + | |
| 4954 | +module.exports = function (exec, skipClosing) { | |
| 4955 | + if (!skipClosing && !SAFE_CLOSING) return false; | |
| 4956 | + var safe = false; | |
| 4957 | + try { | |
| 4958 | + var arr = [7]; | |
| 4959 | + var iter = arr[ITERATOR](); | |
| 4960 | + iter.next = function () { return { done: safe = true }; }; | |
| 4961 | + arr[ITERATOR] = function () { return iter; }; | |
| 4962 | + exec(arr); | |
| 4963 | + } catch (e) { /* empty */ } | |
| 4964 | + return safe; | |
| 4965 | +}; | |
| 4966 | + | |
| 4967 | + | |
| 4968 | +/***/ }), | |
| 4969 | + | |
| 4970 | +/***/ "../node_modules/core-js/library/modules/_iter-step.js": | |
| 4971 | +/*!*************************************************************!*\ | |
| 4972 | + !*** ../node_modules/core-js/library/modules/_iter-step.js ***! | |
| 4973 | + \*************************************************************/ | |
| 3199 | 4974 | /***/ ((module) => { |
| 3200 | 4975 | |
| 3201 | -function _isNativeReflectConstruct() { | |
| 3202 | - try { | |
| 3203 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | |
| 3204 | - } catch (t) {} | |
| 3205 | - return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() { | |
| 3206 | - return !!t; | |
| 3207 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 3208 | -} | |
| 3209 | -module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4976 | +module.exports = function (done, value) { | |
| 4977 | + return { value: value, done: !!done }; | |
| 4978 | +}; | |
| 3210 | 4979 | |
| 4980 | + | |
| 3211 | 4981 | /***/ }), |
| 3212 | 4982 | |
| 3213 | -/***/ "../node_modules/@babel/runtime/helpers/iterableToArray.js": | |
| 3214 | -/*!*****************************************************************!*\ | |
| 3215 | - !*** ../node_modules/@babel/runtime/helpers/iterableToArray.js ***! | |
| 3216 | - \*****************************************************************/ | |
| 4983 | +/***/ "../node_modules/core-js/library/modules/_iterators.js": | |
| 4984 | +/*!*************************************************************!*\ | |
| 4985 | + !*** ../node_modules/core-js/library/modules/_iterators.js ***! | |
| 4986 | + \*************************************************************/ | |
| 3217 | 4987 | /***/ ((module) => { |
| 3218 | 4988 | |
| 3219 | -function _iterableToArray(r) { | |
| 3220 | - if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); | |
| 3221 | -} | |
| 3222 | -module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 4989 | +module.exports = {}; | |
| 3223 | 4990 | |
| 4991 | + | |
| 3224 | 4992 | /***/ }), |
| 3225 | 4993 | |
| 3226 | -/***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": | |
| 3227 | -/*!**********************************************************************!*\ | |
| 3228 | - !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! | |
| 3229 | - \**********************************************************************/ | |
| 4994 | +/***/ "../node_modules/core-js/library/modules/_library.js": | |
| 4995 | +/*!***********************************************************!*\ | |
| 4996 | + !*** ../node_modules/core-js/library/modules/_library.js ***! | |
| 4997 | + \***********************************************************/ | |
| 3230 | 4998 | /***/ ((module) => { |
| 3231 | 4999 | |
| 3232 | -function _iterableToArrayLimit(r, l) { | |
| 3233 | - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 3234 | - if (null != t) { | |
| 3235 | - var e, | |
| 3236 | - n, | |
| 3237 | - i, | |
| 3238 | - u, | |
| 3239 | - a = [], | |
| 3240 | - f = !0, | |
| 3241 | - o = !1; | |
| 3242 | - try { | |
| 3243 | - if (i = (t = t.call(r)).next, 0 === l) { | |
| 3244 | - if (Object(t) !== t) return; | |
| 3245 | - f = !1; | |
| 3246 | - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 3247 | - } catch (r) { | |
| 3248 | - o = !0, n = r; | |
| 3249 | - } finally { | |
| 5000 | +module.exports = true; | |
| 5001 | + | |
| 5002 | + | |
| 5003 | +/***/ }), | |
| 5004 | + | |
| 5005 | +/***/ "../node_modules/core-js/library/modules/_meta.js": | |
| 5006 | +/*!********************************************************!*\ | |
| 5007 | + !*** ../node_modules/core-js/library/modules/_meta.js ***! | |
| 5008 | + \********************************************************/ | |
| 5009 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5010 | + | |
| 5011 | +var META = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js")('meta'); | |
| 5012 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 5013 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 5014 | +var setDesc = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 5015 | +var id = 0; | |
| 5016 | +var isExtensible = Object.isExtensible || function () { | |
| 5017 | + return true; | |
| 5018 | +}; | |
| 5019 | +var FREEZE = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 5020 | + return isExtensible(Object.preventExtensions({})); | |
| 5021 | +}); | |
| 5022 | +var setMeta = function (it) { | |
| 5023 | + setDesc(it, META, { value: { | |
| 5024 | + i: 'O' + ++id, // object ID | |
| 5025 | + w: {} // weak collections IDs | |
| 5026 | + } }); | |
| 5027 | +}; | |
| 5028 | +var fastKey = function (it, create) { | |
| 5029 | + // return primitive with prefix | |
| 5030 | + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | |
| 5031 | + if (!has(it, META)) { | |
| 5032 | + // can't set metadata to uncaught frozen object | |
| 5033 | + if (!isExtensible(it)) return 'F'; | |
| 5034 | + // not necessary to add metadata | |
| 5035 | + if (!create) return 'E'; | |
| 5036 | + // add missing metadata | |
| 5037 | + setMeta(it); | |
| 5038 | + // return object ID | |
| 5039 | + } return it[META].i; | |
| 5040 | +}; | |
| 5041 | +var getWeak = function (it, create) { | |
| 5042 | + if (!has(it, META)) { | |
| 5043 | + // can't set metadata to uncaught frozen object | |
| 5044 | + if (!isExtensible(it)) return true; | |
| 5045 | + // not necessary to add metadata | |
| 5046 | + if (!create) return false; | |
| 5047 | + // add missing metadata | |
| 5048 | + setMeta(it); | |
| 5049 | + // return hash weak collections IDs | |
| 5050 | + } return it[META].w; | |
| 5051 | +}; | |
| 5052 | +// add metadata on freeze-family methods calling | |
| 5053 | +var onFreeze = function (it) { | |
| 5054 | + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); | |
| 5055 | + return it; | |
| 5056 | +}; | |
| 5057 | +var meta = module.exports = { | |
| 5058 | + KEY: META, | |
| 5059 | + NEED: false, | |
| 5060 | + fastKey: fastKey, | |
| 5061 | + getWeak: getWeak, | |
| 5062 | + onFreeze: onFreeze | |
| 5063 | +}; | |
| 5064 | + | |
| 5065 | + | |
| 5066 | +/***/ }), | |
| 5067 | + | |
| 5068 | +/***/ "../node_modules/core-js/library/modules/_microtask.js": | |
| 5069 | +/*!*************************************************************!*\ | |
| 5070 | + !*** ../node_modules/core-js/library/modules/_microtask.js ***! | |
| 5071 | + \*************************************************************/ | |
| 5072 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5073 | + | |
| 5074 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 5075 | +var macrotask = __webpack_require__(/*! ./_task */ "../node_modules/core-js/library/modules/_task.js").set; | |
| 5076 | +var Observer = global.MutationObserver || global.WebKitMutationObserver; | |
| 5077 | +var process = global.process; | |
| 5078 | +var Promise = global.Promise; | |
| 5079 | +var isNode = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js")(process) == 'process'; | |
| 5080 | + | |
| 5081 | +module.exports = function () { | |
| 5082 | + var head, last, notify; | |
| 5083 | + | |
| 5084 | + var flush = function () { | |
| 5085 | + var parent, fn; | |
| 5086 | + if (isNode && (parent = process.domain)) parent.exit(); | |
| 5087 | + while (head) { | |
| 5088 | + fn = head.fn; | |
| 5089 | + head = head.next; | |
| 3250 | 5090 | try { |
| 3251 | - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 3252 | - } finally { | |
| 3253 | - if (o) throw n; | |
| 5091 | + fn(); | |
| 5092 | + } catch (e) { | |
| 5093 | + if (head) notify(); | |
| 5094 | + else last = undefined; | |
| 5095 | + throw e; | |
| 3254 | 5096 | } |
| 3255 | - } | |
| 3256 | - return a; | |
| 5097 | + } last = undefined; | |
| 5098 | + if (parent) parent.enter(); | |
| 5099 | + }; | |
| 5100 | + | |
| 5101 | + // Node.js | |
| 5102 | + if (isNode) { | |
| 5103 | + notify = function () { | |
| 5104 | + process.nextTick(flush); | |
| 5105 | + }; | |
| 5106 | + // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 | |
| 5107 | + } else if (Observer && !(global.navigator && global.navigator.standalone)) { | |
| 5108 | + var toggle = true; | |
| 5109 | + var node = document.createTextNode(''); | |
| 5110 | + new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new | |
| 5111 | + notify = function () { | |
| 5112 | + node.data = toggle = !toggle; | |
| 5113 | + }; | |
| 5114 | + // environments with maybe non-completely correct, but existent Promise | |
| 5115 | + } else if (Promise && Promise.resolve) { | |
| 5116 | + // Promise.resolve without an argument throws an error in LG WebOS 2 | |
| 5117 | + var promise = Promise.resolve(undefined); | |
| 5118 | + notify = function () { | |
| 5119 | + promise.then(flush); | |
| 5120 | + }; | |
| 5121 | + // for other environments - macrotask based on: | |
| 5122 | + // - setImmediate | |
| 5123 | + // - MessageChannel | |
| 5124 | + // - window.postMessag | |
| 5125 | + // - onreadystatechange | |
| 5126 | + // - setTimeout | |
| 5127 | + } else { | |
| 5128 | + notify = function () { | |
| 5129 | + // strange IE + webpack dev server bug - use .call(global) | |
| 5130 | + macrotask.call(global, flush); | |
| 5131 | + }; | |
| 3257 | 5132 | } |
| 5133 | + | |
| 5134 | + return function (fn) { | |
| 5135 | + var task = { fn: fn, next: undefined }; | |
| 5136 | + if (last) last.next = task; | |
| 5137 | + if (!head) { | |
| 5138 | + head = task; | |
| 5139 | + notify(); | |
| 5140 | + } last = task; | |
| 5141 | + }; | |
| 5142 | +}; | |
| 5143 | + | |
| 5144 | + | |
| 5145 | +/***/ }), | |
| 5146 | + | |
| 5147 | +/***/ "../node_modules/core-js/library/modules/_new-promise-capability.js": | |
| 5148 | +/*!**************************************************************************!*\ | |
| 5149 | + !*** ../node_modules/core-js/library/modules/_new-promise-capability.js ***! | |
| 5150 | + \**************************************************************************/ | |
| 5151 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5152 | + | |
| 5153 | +"use strict"; | |
| 5154 | + | |
| 5155 | +// 25.4.1.5 NewPromiseCapability(C) | |
| 5156 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 5157 | + | |
| 5158 | +function PromiseCapability(C) { | |
| 5159 | + var resolve, reject; | |
| 5160 | + this.promise = new C(function ($$resolve, $$reject) { | |
| 5161 | + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); | |
| 5162 | + resolve = $$resolve; | |
| 5163 | + reject = $$reject; | |
| 5164 | + }); | |
| 5165 | + this.resolve = aFunction(resolve); | |
| 5166 | + this.reject = aFunction(reject); | |
| 3258 | 5167 | } |
| 3259 | -module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3260 | 5168 | |
| 5169 | +module.exports.f = function (C) { | |
| 5170 | + return new PromiseCapability(C); | |
| 5171 | +}; | |
| 5172 | + | |
| 5173 | + | |
| 3261 | 5174 | /***/ }), |
| 3262 | 5175 | |
| 3263 | -/***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js": | |
| 5176 | +/***/ "../node_modules/core-js/library/modules/_object-assign.js": | |
| 3264 | 5177 | /*!*****************************************************************!*\ |
| 3265 | - !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***! | |
| 5178 | + !*** ../node_modules/core-js/library/modules/_object-assign.js ***! | |
| 3266 | 5179 | \*****************************************************************/ |
| 3267 | -/***/ ((module) => { | |
| 5180 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3268 | 5181 | |
| 3269 | -function _nonIterableRest() { | |
| 3270 | - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 3271 | -} | |
| 3272 | -module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5182 | +"use strict"; | |
| 3273 | 5183 | |
| 5184 | +// 19.1.2.1 Object.assign(target, source, ...) | |
| 5185 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 5186 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 5187 | +var gOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 5188 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 5189 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 5190 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 5191 | +var $assign = Object.assign; | |
| 5192 | + | |
| 5193 | +// should work with symbols and should have deterministic property order (V8 bug) | |
| 5194 | +module.exports = !$assign || __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 5195 | + var A = {}; | |
| 5196 | + var B = {}; | |
| 5197 | + // eslint-disable-next-line no-undef | |
| 5198 | + var S = Symbol(); | |
| 5199 | + var K = 'abcdefghijklmnopqrst'; | |
| 5200 | + A[S] = 7; | |
| 5201 | + K.split('').forEach(function (k) { B[k] = k; }); | |
| 5202 | + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; | |
| 5203 | +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars | |
| 5204 | + var T = toObject(target); | |
| 5205 | + var aLen = arguments.length; | |
| 5206 | + var index = 1; | |
| 5207 | + var getSymbols = gOPS.f; | |
| 5208 | + var isEnum = pIE.f; | |
| 5209 | + while (aLen > index) { | |
| 5210 | + var S = IObject(arguments[index++]); | |
| 5211 | + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); | |
| 5212 | + var length = keys.length; | |
| 5213 | + var j = 0; | |
| 5214 | + var key; | |
| 5215 | + while (length > j) { | |
| 5216 | + key = keys[j++]; | |
| 5217 | + if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; | |
| 5218 | + } | |
| 5219 | + } return T; | |
| 5220 | +} : $assign; | |
| 5221 | + | |
| 5222 | + | |
| 3274 | 5223 | /***/ }), |
| 3275 | 5224 | |
| 3276 | -/***/ "../node_modules/@babel/runtime/helpers/nonIterableSpread.js": | |
| 5225 | +/***/ "../node_modules/core-js/library/modules/_object-create.js": | |
| 5226 | +/*!*****************************************************************!*\ | |
| 5227 | + !*** ../node_modules/core-js/library/modules/_object-create.js ***! | |
| 5228 | + \*****************************************************************/ | |
| 5229 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5230 | + | |
| 5231 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 5232 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5233 | +var dPs = __webpack_require__(/*! ./_object-dps */ "../node_modules/core-js/library/modules/_object-dps.js"); | |
| 5234 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js"); | |
| 5235 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 5236 | +var Empty = function () { /* empty */ }; | |
| 5237 | +var PROTOTYPE = 'prototype'; | |
| 5238 | + | |
| 5239 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 5240 | +var createDict = function () { | |
| 5241 | + // Thrash, waste and sodomy: IE GC bug | |
| 5242 | + var iframe = __webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js")('iframe'); | |
| 5243 | + var i = enumBugKeys.length; | |
| 5244 | + var lt = '<'; | |
| 5245 | + var gt = '>'; | |
| 5246 | + var iframeDocument; | |
| 5247 | + iframe.style.display = 'none'; | |
| 5248 | + __webpack_require__(/*! ./_html */ "../node_modules/core-js/library/modules/_html.js").appendChild(iframe); | |
| 5249 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 5250 | + // createDict = iframe.contentWindow.Object; | |
| 5251 | + // html.removeChild(iframe); | |
| 5252 | + iframeDocument = iframe.contentWindow.document; | |
| 5253 | + iframeDocument.open(); | |
| 5254 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 5255 | + iframeDocument.close(); | |
| 5256 | + createDict = iframeDocument.F; | |
| 5257 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 5258 | + return createDict(); | |
| 5259 | +}; | |
| 5260 | + | |
| 5261 | +module.exports = Object.create || function create(O, Properties) { | |
| 5262 | + var result; | |
| 5263 | + if (O !== null) { | |
| 5264 | + Empty[PROTOTYPE] = anObject(O); | |
| 5265 | + result = new Empty(); | |
| 5266 | + Empty[PROTOTYPE] = null; | |
| 5267 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 5268 | + result[IE_PROTO] = O; | |
| 5269 | + } else result = createDict(); | |
| 5270 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 5271 | +}; | |
| 5272 | + | |
| 5273 | + | |
| 5274 | +/***/ }), | |
| 5275 | + | |
| 5276 | +/***/ "../node_modules/core-js/library/modules/_object-dp.js": | |
| 5277 | +/*!*************************************************************!*\ | |
| 5278 | + !*** ../node_modules/core-js/library/modules/_object-dp.js ***! | |
| 5279 | + \*************************************************************/ | |
| 5280 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 5281 | + | |
| 5282 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5283 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/library/modules/_ie8-dom-define.js"); | |
| 5284 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 5285 | +var dP = Object.defineProperty; | |
| 5286 | + | |
| 5287 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 5288 | + anObject(O); | |
| 5289 | + P = toPrimitive(P, true); | |
| 5290 | + anObject(Attributes); | |
| 5291 | + if (IE8_DOM_DEFINE) try { | |
| 5292 | + return dP(O, P, Attributes); | |
| 5293 | + } catch (e) { /* empty */ } | |
| 5294 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 5295 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 5296 | + return O; | |
| 5297 | +}; | |
| 5298 | + | |
| 5299 | + | |
| 5300 | +/***/ }), | |
| 5301 | + | |
| 5302 | +/***/ "../node_modules/core-js/library/modules/_object-dps.js": | |
| 5303 | +/*!**************************************************************!*\ | |
| 5304 | + !*** ../node_modules/core-js/library/modules/_object-dps.js ***! | |
| 5305 | + \**************************************************************/ | |
| 5306 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5307 | + | |
| 5308 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 5309 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5310 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 5311 | + | |
| 5312 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 5313 | + anObject(O); | |
| 5314 | + var keys = getKeys(Properties); | |
| 5315 | + var length = keys.length; | |
| 5316 | + var i = 0; | |
| 5317 | + var P; | |
| 5318 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 5319 | + return O; | |
| 5320 | +}; | |
| 5321 | + | |
| 5322 | + | |
| 5323 | +/***/ }), | |
| 5324 | + | |
| 5325 | +/***/ "../node_modules/core-js/library/modules/_object-gopd.js": | |
| 5326 | +/*!***************************************************************!*\ | |
| 5327 | + !*** ../node_modules/core-js/library/modules/_object-gopd.js ***! | |
| 5328 | + \***************************************************************/ | |
| 5329 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 5330 | + | |
| 5331 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 5332 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 5333 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 5334 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 5335 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 5336 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/library/modules/_ie8-dom-define.js"); | |
| 5337 | +var gOPD = Object.getOwnPropertyDescriptor; | |
| 5338 | + | |
| 5339 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { | |
| 5340 | + O = toIObject(O); | |
| 5341 | + P = toPrimitive(P, true); | |
| 5342 | + if (IE8_DOM_DEFINE) try { | |
| 5343 | + return gOPD(O, P); | |
| 5344 | + } catch (e) { /* empty */ } | |
| 5345 | + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); | |
| 5346 | +}; | |
| 5347 | + | |
| 5348 | + | |
| 5349 | +/***/ }), | |
| 5350 | + | |
| 5351 | +/***/ "../node_modules/core-js/library/modules/_object-gopn-ext.js": | |
| 3277 | 5352 | /*!*******************************************************************!*\ |
| 3278 | - !*** ../node_modules/@babel/runtime/helpers/nonIterableSpread.js ***! | |
| 5353 | + !*** ../node_modules/core-js/library/modules/_object-gopn-ext.js ***! | |
| 3279 | 5354 | \*******************************************************************/ |
| 3280 | -/***/ ((module) => { | |
| 5355 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3281 | 5356 | |
| 3282 | -function _nonIterableSpread() { | |
| 3283 | - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 3284 | -} | |
| 3285 | -module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5357 | +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window | |
| 5358 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 5359 | +var gOPN = __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js").f; | |
| 5360 | +var toString = {}.toString; | |
| 3286 | 5361 | |
| 5362 | +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames | |
| 5363 | + ? Object.getOwnPropertyNames(window) : []; | |
| 5364 | + | |
| 5365 | +var getWindowNames = function (it) { | |
| 5366 | + try { | |
| 5367 | + return gOPN(it); | |
| 5368 | + } catch (e) { | |
| 5369 | + return windowNames.slice(); | |
| 5370 | + } | |
| 5371 | +}; | |
| 5372 | + | |
| 5373 | +module.exports.f = function getOwnPropertyNames(it) { | |
| 5374 | + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); | |
| 5375 | +}; | |
| 5376 | + | |
| 5377 | + | |
| 3287 | 5378 | /***/ }), |
| 3288 | 5379 | |
| 3289 | -/***/ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js": | |
| 3290 | -/*!*************************************************************************!*\ | |
| 3291 | - !*** ../node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***! | |
| 3292 | - \*************************************************************************/ | |
| 5380 | +/***/ "../node_modules/core-js/library/modules/_object-gopn.js": | |
| 5381 | +/*!***************************************************************!*\ | |
| 5382 | + !*** ../node_modules/core-js/library/modules/_object-gopn.js ***! | |
| 5383 | + \***************************************************************/ | |
| 5384 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 5385 | + | |
| 5386 | +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) | |
| 5387 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/library/modules/_object-keys-internal.js"); | |
| 5388 | +var hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js").concat('length', 'prototype'); | |
| 5389 | + | |
| 5390 | +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 5391 | + return $keys(O, hiddenKeys); | |
| 5392 | +}; | |
| 5393 | + | |
| 5394 | + | |
| 5395 | +/***/ }), | |
| 5396 | + | |
| 5397 | +/***/ "../node_modules/core-js/library/modules/_object-gops.js": | |
| 5398 | +/*!***************************************************************!*\ | |
| 5399 | + !*** ../node_modules/core-js/library/modules/_object-gops.js ***! | |
| 5400 | + \***************************************************************/ | |
| 5401 | +/***/ ((__unused_webpack_module, exports) => { | |
| 5402 | + | |
| 5403 | +exports.f = Object.getOwnPropertySymbols; | |
| 5404 | + | |
| 5405 | + | |
| 5406 | +/***/ }), | |
| 5407 | + | |
| 5408 | +/***/ "../node_modules/core-js/library/modules/_object-gpo.js": | |
| 5409 | +/*!**************************************************************!*\ | |
| 5410 | + !*** ../node_modules/core-js/library/modules/_object-gpo.js ***! | |
| 5411 | + \**************************************************************/ | |
| 3293 | 5412 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3294 | 5413 | |
| 3295 | -var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"); | |
| 3296 | -function _objectWithoutProperties(e, t) { | |
| 3297 | - if (null == e) return {}; | |
| 3298 | - var o, | |
| 3299 | - r, | |
| 3300 | - i = objectWithoutPropertiesLoose(e, t); | |
| 3301 | - if (Object.getOwnPropertySymbols) { | |
| 3302 | - var n = Object.getOwnPropertySymbols(e); | |
| 3303 | - for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); | |
| 5414 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 5415 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 5416 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 5417 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 5418 | +var ObjectProto = Object.prototype; | |
| 5419 | + | |
| 5420 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 5421 | + O = toObject(O); | |
| 5422 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 5423 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 5424 | + return O.constructor.prototype; | |
| 5425 | + } return O instanceof Object ? ObjectProto : null; | |
| 5426 | +}; | |
| 5427 | + | |
| 5428 | + | |
| 5429 | +/***/ }), | |
| 5430 | + | |
| 5431 | +/***/ "../node_modules/core-js/library/modules/_object-keys-internal.js": | |
| 5432 | +/*!************************************************************************!*\ | |
| 5433 | + !*** ../node_modules/core-js/library/modules/_object-keys-internal.js ***! | |
| 5434 | + \************************************************************************/ | |
| 5435 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5436 | + | |
| 5437 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 5438 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 5439 | +var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "../node_modules/core-js/library/modules/_array-includes.js")(false); | |
| 5440 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 5441 | + | |
| 5442 | +module.exports = function (object, names) { | |
| 5443 | + var O = toIObject(object); | |
| 5444 | + var i = 0; | |
| 5445 | + var result = []; | |
| 5446 | + var key; | |
| 5447 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 5448 | + // Don't enum bug & hidden keys | |
| 5449 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 5450 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 3304 | 5451 | } |
| 3305 | - return i; | |
| 3306 | -} | |
| 3307 | -module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5452 | + return result; | |
| 5453 | +}; | |
| 3308 | 5454 | |
| 5455 | + | |
| 3309 | 5456 | /***/ }), |
| 3310 | 5457 | |
| 3311 | -/***/ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js": | |
| 3312 | -/*!******************************************************************************!*\ | |
| 3313 | - !*** ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***! | |
| 3314 | - \******************************************************************************/ | |
| 5458 | +/***/ "../node_modules/core-js/library/modules/_object-keys.js": | |
| 5459 | +/*!***************************************************************!*\ | |
| 5460 | + !*** ../node_modules/core-js/library/modules/_object-keys.js ***! | |
| 5461 | + \***************************************************************/ | |
| 5462 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5463 | + | |
| 5464 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 5465 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/library/modules/_object-keys-internal.js"); | |
| 5466 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js"); | |
| 5467 | + | |
| 5468 | +module.exports = Object.keys || function keys(O) { | |
| 5469 | + return $keys(O, enumBugKeys); | |
| 5470 | +}; | |
| 5471 | + | |
| 5472 | + | |
| 5473 | +/***/ }), | |
| 5474 | + | |
| 5475 | +/***/ "../node_modules/core-js/library/modules/_object-pie.js": | |
| 5476 | +/*!**************************************************************!*\ | |
| 5477 | + !*** ../node_modules/core-js/library/modules/_object-pie.js ***! | |
| 5478 | + \**************************************************************/ | |
| 5479 | +/***/ ((__unused_webpack_module, exports) => { | |
| 5480 | + | |
| 5481 | +exports.f = {}.propertyIsEnumerable; | |
| 5482 | + | |
| 5483 | + | |
| 5484 | +/***/ }), | |
| 5485 | + | |
| 5486 | +/***/ "../node_modules/core-js/library/modules/_object-sap.js": | |
| 5487 | +/*!**************************************************************!*\ | |
| 5488 | + !*** ../node_modules/core-js/library/modules/_object-sap.js ***! | |
| 5489 | + \**************************************************************/ | |
| 5490 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5491 | + | |
| 5492 | +// most Object methods by ES6 should accept primitives | |
| 5493 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 5494 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 5495 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 5496 | +module.exports = function (KEY, exec) { | |
| 5497 | + var fn = (core.Object || {})[KEY] || Object[KEY]; | |
| 5498 | + var exp = {}; | |
| 5499 | + exp[KEY] = exec(fn); | |
| 5500 | + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); | |
| 5501 | +}; | |
| 5502 | + | |
| 5503 | + | |
| 5504 | +/***/ }), | |
| 5505 | + | |
| 5506 | +/***/ "../node_modules/core-js/library/modules/_object-to-array.js": | |
| 5507 | +/*!*******************************************************************!*\ | |
| 5508 | + !*** ../node_modules/core-js/library/modules/_object-to-array.js ***! | |
| 5509 | + \*******************************************************************/ | |
| 5510 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5511 | + | |
| 5512 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 5513 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 5514 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 5515 | +var isEnum = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js").f; | |
| 5516 | +module.exports = function (isEntries) { | |
| 5517 | + return function (it) { | |
| 5518 | + var O = toIObject(it); | |
| 5519 | + var keys = getKeys(O); | |
| 5520 | + var length = keys.length; | |
| 5521 | + var i = 0; | |
| 5522 | + var result = []; | |
| 5523 | + var key; | |
| 5524 | + while (length > i) { | |
| 5525 | + key = keys[i++]; | |
| 5526 | + if (!DESCRIPTORS || isEnum.call(O, key)) { | |
| 5527 | + result.push(isEntries ? [key, O[key]] : O[key]); | |
| 5528 | + } | |
| 5529 | + } | |
| 5530 | + return result; | |
| 5531 | + }; | |
| 5532 | +}; | |
| 5533 | + | |
| 5534 | + | |
| 5535 | +/***/ }), | |
| 5536 | + | |
| 5537 | +/***/ "../node_modules/core-js/library/modules/_parse-float.js": | |
| 5538 | +/*!***************************************************************!*\ | |
| 5539 | + !*** ../node_modules/core-js/library/modules/_parse-float.js ***! | |
| 5540 | + \***************************************************************/ | |
| 5541 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5542 | + | |
| 5543 | +var $parseFloat = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").parseFloat; | |
| 5544 | +var $trim = __webpack_require__(/*! ./_string-trim */ "../node_modules/core-js/library/modules/_string-trim.js").trim; | |
| 5545 | + | |
| 5546 | +module.exports = 1 / $parseFloat(__webpack_require__(/*! ./_string-ws */ "../node_modules/core-js/library/modules/_string-ws.js") + '-0') !== -Infinity ? function parseFloat(str) { | |
| 5547 | + var string = $trim(String(str), 3); | |
| 5548 | + var result = $parseFloat(string); | |
| 5549 | + return result === 0 && string.charAt(0) == '-' ? -0 : result; | |
| 5550 | +} : $parseFloat; | |
| 5551 | + | |
| 5552 | + | |
| 5553 | +/***/ }), | |
| 5554 | + | |
| 5555 | +/***/ "../node_modules/core-js/library/modules/_parse-int.js": | |
| 5556 | +/*!*************************************************************!*\ | |
| 5557 | + !*** ../node_modules/core-js/library/modules/_parse-int.js ***! | |
| 5558 | + \*************************************************************/ | |
| 5559 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5560 | + | |
| 5561 | +var $parseInt = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").parseInt; | |
| 5562 | +var $trim = __webpack_require__(/*! ./_string-trim */ "../node_modules/core-js/library/modules/_string-trim.js").trim; | |
| 5563 | +var ws = __webpack_require__(/*! ./_string-ws */ "../node_modules/core-js/library/modules/_string-ws.js"); | |
| 5564 | +var hex = /^[-+]?0[xX]/; | |
| 5565 | + | |
| 5566 | +module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { | |
| 5567 | + var string = $trim(String(str), 3); | |
| 5568 | + return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); | |
| 5569 | +} : $parseInt; | |
| 5570 | + | |
| 5571 | + | |
| 5572 | +/***/ }), | |
| 5573 | + | |
| 5574 | +/***/ "../node_modules/core-js/library/modules/_perform.js": | |
| 5575 | +/*!***********************************************************!*\ | |
| 5576 | + !*** ../node_modules/core-js/library/modules/_perform.js ***! | |
| 5577 | + \***********************************************************/ | |
| 3315 | 5578 | /***/ ((module) => { |
| 3316 | 5579 | |
| 3317 | -function _objectWithoutPropertiesLoose(r, e) { | |
| 3318 | - if (null == r) return {}; | |
| 3319 | - var t = {}; | |
| 3320 | - for (var n in r) if ({}.hasOwnProperty.call(r, n)) { | |
| 3321 | - if (-1 !== e.indexOf(n)) continue; | |
| 3322 | - t[n] = r[n]; | |
| 5580 | +module.exports = function (exec) { | |
| 5581 | + try { | |
| 5582 | + return { e: false, v: exec() }; | |
| 5583 | + } catch (e) { | |
| 5584 | + return { e: true, v: e }; | |
| 3323 | 5585 | } |
| 3324 | - return t; | |
| 3325 | -} | |
| 3326 | -module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5586 | +}; | |
| 3327 | 5587 | |
| 5588 | + | |
| 3328 | 5589 | /***/ }), |
| 3329 | 5590 | |
| 3330 | -/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": | |
| 3331 | -/*!***************************************************************************!*\ | |
| 3332 | - !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! | |
| 3333 | - \***************************************************************************/ | |
| 5591 | +/***/ "../node_modules/core-js/library/modules/_promise-resolve.js": | |
| 5592 | +/*!*******************************************************************!*\ | |
| 5593 | + !*** ../node_modules/core-js/library/modules/_promise-resolve.js ***! | |
| 5594 | + \*******************************************************************/ | |
| 3334 | 5595 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3335 | 5596 | |
| 3336 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 3337 | -var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); | |
| 3338 | -function _possibleConstructorReturn(t, e) { | |
| 3339 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 3340 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 3341 | - return assertThisInitialized(t); | |
| 3342 | -} | |
| 3343 | -module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5597 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5598 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 5599 | +var newPromiseCapability = __webpack_require__(/*! ./_new-promise-capability */ "../node_modules/core-js/library/modules/_new-promise-capability.js"); | |
| 3344 | 5600 | |
| 5601 | +module.exports = function (C, x) { | |
| 5602 | + anObject(C); | |
| 5603 | + if (isObject(x) && x.constructor === C) return x; | |
| 5604 | + var promiseCapability = newPromiseCapability.f(C); | |
| 5605 | + var resolve = promiseCapability.resolve; | |
| 5606 | + resolve(x); | |
| 5607 | + return promiseCapability.promise; | |
| 5608 | +}; | |
| 5609 | + | |
| 5610 | + | |
| 3345 | 5611 | /***/ }), |
| 3346 | 5612 | |
| 3347 | -/***/ "../node_modules/@babel/runtime/helpers/readOnlyError.js": | |
| 3348 | -/*!***************************************************************!*\ | |
| 3349 | - !*** ../node_modules/@babel/runtime/helpers/readOnlyError.js ***! | |
| 3350 | - \***************************************************************/ | |
| 5613 | +/***/ "../node_modules/core-js/library/modules/_property-desc.js": | |
| 5614 | +/*!*****************************************************************!*\ | |
| 5615 | + !*** ../node_modules/core-js/library/modules/_property-desc.js ***! | |
| 5616 | + \*****************************************************************/ | |
| 3351 | 5617 | /***/ ((module) => { |
| 3352 | 5618 | |
| 3353 | -function _readOnlyError(r) { | |
| 3354 | - throw new TypeError('"' + r + '" is read-only'); | |
| 3355 | -} | |
| 3356 | -module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5619 | +module.exports = function (bitmap, value) { | |
| 5620 | + return { | |
| 5621 | + enumerable: !(bitmap & 1), | |
| 5622 | + configurable: !(bitmap & 2), | |
| 5623 | + writable: !(bitmap & 4), | |
| 5624 | + value: value | |
| 5625 | + }; | |
| 5626 | +}; | |
| 3357 | 5627 | |
| 5628 | + | |
| 3358 | 5629 | /***/ }), |
| 3359 | 5630 | |
| 3360 | -/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": | |
| 5631 | +/***/ "../node_modules/core-js/library/modules/_redefine-all.js": | |
| 3361 | 5632 | /*!****************************************************************!*\ |
| 3362 | - !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! | |
| 5633 | + !*** ../node_modules/core-js/library/modules/_redefine-all.js ***! | |
| 3363 | 5634 | \****************************************************************/ |
| 3364 | -/***/ ((module) => { | |
| 5635 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3365 | 5636 | |
| 3366 | -function _setPrototypeOf(t, e) { | |
| 3367 | - return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | |
| 3368 | - return t.__proto__ = e, t; | |
| 3369 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); | |
| 3370 | -} | |
| 3371 | -module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5637 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 5638 | +module.exports = function (target, src, safe) { | |
| 5639 | + for (var key in src) { | |
| 5640 | + if (safe && target[key]) target[key] = src[key]; | |
| 5641 | + else hide(target, key, src[key]); | |
| 5642 | + } return target; | |
| 5643 | +}; | |
| 3372 | 5644 | |
| 5645 | + | |
| 3373 | 5646 | /***/ }), |
| 3374 | 5647 | |
| 3375 | -/***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js": | |
| 5648 | +/***/ "../node_modules/core-js/library/modules/_redefine.js": | |
| 5649 | +/*!************************************************************!*\ | |
| 5650 | + !*** ../node_modules/core-js/library/modules/_redefine.js ***! | |
| 5651 | + \************************************************************/ | |
| 5652 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5653 | + | |
| 5654 | +module.exports = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 5655 | + | |
| 5656 | + | |
| 5657 | +/***/ }), | |
| 5658 | + | |
| 5659 | +/***/ "../node_modules/core-js/library/modules/_set-collection-from.js": | |
| 5660 | +/*!***********************************************************************!*\ | |
| 5661 | + !*** ../node_modules/core-js/library/modules/_set-collection-from.js ***! | |
| 5662 | + \***********************************************************************/ | |
| 5663 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5664 | + | |
| 5665 | +"use strict"; | |
| 5666 | + | |
| 5667 | +// https://tc39.github.io/proposal-setmap-offrom/ | |
| 5668 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 5669 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 5670 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 5671 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 5672 | + | |
| 5673 | +module.exports = function (COLLECTION) { | |
| 5674 | + $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { | |
| 5675 | + var mapFn = arguments[1]; | |
| 5676 | + var mapping, A, n, cb; | |
| 5677 | + aFunction(this); | |
| 5678 | + mapping = mapFn !== undefined; | |
| 5679 | + if (mapping) aFunction(mapFn); | |
| 5680 | + if (source == undefined) return new this(); | |
| 5681 | + A = []; | |
| 5682 | + if (mapping) { | |
| 5683 | + n = 0; | |
| 5684 | + cb = ctx(mapFn, arguments[2], 2); | |
| 5685 | + forOf(source, false, function (nextItem) { | |
| 5686 | + A.push(cb(nextItem, n++)); | |
| 5687 | + }); | |
| 5688 | + } else { | |
| 5689 | + forOf(source, false, A.push, A); | |
| 5690 | + } | |
| 5691 | + return new this(A); | |
| 5692 | + } }); | |
| 5693 | +}; | |
| 5694 | + | |
| 5695 | + | |
| 5696 | +/***/ }), | |
| 5697 | + | |
| 5698 | +/***/ "../node_modules/core-js/library/modules/_set-collection-of.js": | |
| 5699 | +/*!*********************************************************************!*\ | |
| 5700 | + !*** ../node_modules/core-js/library/modules/_set-collection-of.js ***! | |
| 5701 | + \*********************************************************************/ | |
| 5702 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5703 | + | |
| 5704 | +"use strict"; | |
| 5705 | + | |
| 5706 | +// https://tc39.github.io/proposal-setmap-offrom/ | |
| 5707 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 5708 | + | |
| 5709 | +module.exports = function (COLLECTION) { | |
| 5710 | + $export($export.S, COLLECTION, { of: function of() { | |
| 5711 | + var length = arguments.length; | |
| 5712 | + var A = new Array(length); | |
| 5713 | + while (length--) A[length] = arguments[length]; | |
| 5714 | + return new this(A); | |
| 5715 | + } }); | |
| 5716 | +}; | |
| 5717 | + | |
| 5718 | + | |
| 5719 | +/***/ }), | |
| 5720 | + | |
| 5721 | +/***/ "../node_modules/core-js/library/modules/_set-proto.js": | |
| 5722 | +/*!*************************************************************!*\ | |
| 5723 | + !*** ../node_modules/core-js/library/modules/_set-proto.js ***! | |
| 5724 | + \*************************************************************/ | |
| 5725 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5726 | + | |
| 5727 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 5728 | +/* eslint-disable no-proto */ | |
| 5729 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 5730 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5731 | +var check = function (O, proto) { | |
| 5732 | + anObject(O); | |
| 5733 | + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); | |
| 5734 | +}; | |
| 5735 | +module.exports = { | |
| 5736 | + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line | |
| 5737 | + function (test, buggy, set) { | |
| 5738 | + try { | |
| 5739 | + set = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js")(Function.call, __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js").f(Object.prototype, '__proto__').set, 2); | |
| 5740 | + set(test, []); | |
| 5741 | + buggy = !(test instanceof Array); | |
| 5742 | + } catch (e) { buggy = true; } | |
| 5743 | + return function setPrototypeOf(O, proto) { | |
| 5744 | + check(O, proto); | |
| 5745 | + if (buggy) O.__proto__ = proto; | |
| 5746 | + else set(O, proto); | |
| 5747 | + return O; | |
| 5748 | + }; | |
| 5749 | + }({}, false) : undefined), | |
| 5750 | + check: check | |
| 5751 | +}; | |
| 5752 | + | |
| 5753 | + | |
| 5754 | +/***/ }), | |
| 5755 | + | |
| 5756 | +/***/ "../node_modules/core-js/library/modules/_set-species.js": | |
| 3376 | 5757 | /*!***************************************************************!*\ |
| 3377 | - !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***! | |
| 5758 | + !*** ../node_modules/core-js/library/modules/_set-species.js ***! | |
| 3378 | 5759 | \***************************************************************/ |
| 3379 | 5760 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3380 | 5761 | |
| 3381 | -var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); | |
| 3382 | -var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); | |
| 3383 | -var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); | |
| 3384 | -var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js"); | |
| 3385 | -function _slicedToArray(r, e) { | |
| 3386 | - return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest(); | |
| 3387 | -} | |
| 3388 | -module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5762 | +"use strict"; | |
| 3389 | 5763 | |
| 5764 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 5765 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 5766 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 5767 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 5768 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species'); | |
| 5769 | + | |
| 5770 | +module.exports = function (KEY) { | |
| 5771 | + var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY]; | |
| 5772 | + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { | |
| 5773 | + configurable: true, | |
| 5774 | + get: function () { return this; } | |
| 5775 | + }); | |
| 5776 | +}; | |
| 5777 | + | |
| 5778 | + | |
| 3390 | 5779 | /***/ }), |
| 3391 | 5780 | |
| 3392 | -/***/ "../node_modules/@babel/runtime/helpers/superPropBase.js": | |
| 3393 | -/*!***************************************************************!*\ | |
| 3394 | - !*** ../node_modules/@babel/runtime/helpers/superPropBase.js ***! | |
| 3395 | - \***************************************************************/ | |
| 5781 | +/***/ "../node_modules/core-js/library/modules/_set-to-string-tag.js": | |
| 5782 | +/*!*********************************************************************!*\ | |
| 5783 | + !*** ../node_modules/core-js/library/modules/_set-to-string-tag.js ***! | |
| 5784 | + \*********************************************************************/ | |
| 3396 | 5785 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3397 | 5786 | |
| 3398 | -var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); | |
| 3399 | -function _superPropBase(t, o) { | |
| 3400 | - for (; !{}.hasOwnProperty.call(t, o) && null !== (t = getPrototypeOf(t));); | |
| 3401 | - return t; | |
| 3402 | -} | |
| 3403 | -module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5787 | +var def = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 5788 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 5789 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 3404 | 5790 | |
| 5791 | +module.exports = function (it, tag, stat) { | |
| 5792 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 5793 | +}; | |
| 5794 | + | |
| 5795 | + | |
| 3405 | 5796 | /***/ }), |
| 3406 | 5797 | |
| 3407 | -/***/ "../node_modules/@babel/runtime/helpers/toConsumableArray.js": | |
| 3408 | -/*!*******************************************************************!*\ | |
| 3409 | - !*** ../node_modules/@babel/runtime/helpers/toConsumableArray.js ***! | |
| 3410 | - \*******************************************************************/ | |
| 5798 | +/***/ "../node_modules/core-js/library/modules/_shared-key.js": | |
| 5799 | +/*!**************************************************************!*\ | |
| 5800 | + !*** ../node_modules/core-js/library/modules/_shared-key.js ***! | |
| 5801 | + \**************************************************************/ | |
| 3411 | 5802 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3412 | 5803 | |
| 3413 | -var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"); | |
| 3414 | -var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../node_modules/@babel/runtime/helpers/iterableToArray.js"); | |
| 3415 | -var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); | |
| 3416 | -var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ "../node_modules/@babel/runtime/helpers/nonIterableSpread.js"); | |
| 3417 | -function _toConsumableArray(r) { | |
| 3418 | - return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread(); | |
| 3419 | -} | |
| 3420 | -module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5804 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js")('keys'); | |
| 5805 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 5806 | +module.exports = function (key) { | |
| 5807 | + return shared[key] || (shared[key] = uid(key)); | |
| 5808 | +}; | |
| 3421 | 5809 | |
| 5810 | + | |
| 3422 | 5811 | /***/ }), |
| 3423 | 5812 | |
| 3424 | -/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": | |
| 5813 | +/***/ "../node_modules/core-js/library/modules/_shared.js": | |
| 5814 | +/*!**********************************************************!*\ | |
| 5815 | + !*** ../node_modules/core-js/library/modules/_shared.js ***! | |
| 5816 | + \**********************************************************/ | |
| 5817 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5818 | + | |
| 5819 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 5820 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 5821 | +var SHARED = '__core-js_shared__'; | |
| 5822 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 5823 | + | |
| 5824 | +(module.exports = function (key, value) { | |
| 5825 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 5826 | +})('versions', []).push({ | |
| 5827 | + version: core.version, | |
| 5828 | + mode: __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js") ? 'pure' : 'global', | |
| 5829 | + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' | |
| 5830 | +}); | |
| 5831 | + | |
| 5832 | + | |
| 5833 | +/***/ }), | |
| 5834 | + | |
| 5835 | +/***/ "../node_modules/core-js/library/modules/_species-constructor.js": | |
| 5836 | +/*!***********************************************************************!*\ | |
| 5837 | + !*** ../node_modules/core-js/library/modules/_species-constructor.js ***! | |
| 5838 | + \***********************************************************************/ | |
| 5839 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5840 | + | |
| 5841 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 5842 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5843 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 5844 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species'); | |
| 5845 | +module.exports = function (O, D) { | |
| 5846 | + var C = anObject(O).constructor; | |
| 5847 | + var S; | |
| 5848 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 5849 | +}; | |
| 5850 | + | |
| 5851 | + | |
| 5852 | +/***/ }), | |
| 5853 | + | |
| 5854 | +/***/ "../node_modules/core-js/library/modules/_string-at.js": | |
| 3425 | 5855 | /*!*************************************************************!*\ |
| 3426 | - !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! | |
| 5856 | + !*** ../node_modules/core-js/library/modules/_string-at.js ***! | |
| 3427 | 5857 | \*************************************************************/ |
| 3428 | 5858 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3429 | 5859 | |
| 3430 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 3431 | -function toPrimitive(t, r) { | |
| 3432 | - if ("object" != _typeof(t) || !t) return t; | |
| 3433 | - var e = t[Symbol.toPrimitive]; | |
| 3434 | - if (void 0 !== e) { | |
| 3435 | - var i = e.call(t, r || "default"); | |
| 3436 | - if ("object" != _typeof(i)) return i; | |
| 3437 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 3438 | - } | |
| 3439 | - return ("string" === r ? String : Number)(t); | |
| 3440 | -} | |
| 3441 | -module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5860 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 5861 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 5862 | +// true -> String#at | |
| 5863 | +// false -> String#codePointAt | |
| 5864 | +module.exports = function (TO_STRING) { | |
| 5865 | + return function (that, pos) { | |
| 5866 | + var s = String(defined(that)); | |
| 5867 | + var i = toInteger(pos); | |
| 5868 | + var l = s.length; | |
| 5869 | + var a, b; | |
| 5870 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 5871 | + a = s.charCodeAt(i); | |
| 5872 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 5873 | + ? TO_STRING ? s.charAt(i) : a | |
| 5874 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 5875 | + }; | |
| 5876 | +}; | |
| 3442 | 5877 | |
| 5878 | + | |
| 3443 | 5879 | /***/ }), |
| 3444 | 5880 | |
| 3445 | -/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": | |
| 5881 | +/***/ "../node_modules/core-js/library/modules/_string-trim.js": | |
| 3446 | 5882 | /*!***************************************************************!*\ |
| 3447 | - !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! | |
| 5883 | + !*** ../node_modules/core-js/library/modules/_string-trim.js ***! | |
| 3448 | 5884 | \***************************************************************/ |
| 3449 | 5885 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3450 | 5886 | |
| 3451 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 3452 | -var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); | |
| 3453 | -function toPropertyKey(t) { | |
| 3454 | - var i = toPrimitive(t, "string"); | |
| 3455 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 3456 | -} | |
| 3457 | -module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 5887 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 5888 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 5889 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 5890 | +var spaces = __webpack_require__(/*! ./_string-ws */ "../node_modules/core-js/library/modules/_string-ws.js"); | |
| 5891 | +var space = '[' + spaces + ']'; | |
| 5892 | +var non = '\u200b\u0085'; | |
| 5893 | +var ltrim = RegExp('^' + space + space + '*'); | |
| 5894 | +var rtrim = RegExp(space + space + '*$'); | |
| 3458 | 5895 | |
| 5896 | +var exporter = function (KEY, exec, ALIAS) { | |
| 5897 | + var exp = {}; | |
| 5898 | + var FORCE = fails(function () { | |
| 5899 | + return !!spaces[KEY]() || non[KEY]() != non; | |
| 5900 | + }); | |
| 5901 | + var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; | |
| 5902 | + if (ALIAS) exp[ALIAS] = fn; | |
| 5903 | + $export($export.P + $export.F * FORCE, 'String', exp); | |
| 5904 | +}; | |
| 5905 | + | |
| 5906 | +// 1 -> String#trimLeft | |
| 5907 | +// 2 -> String#trimRight | |
| 5908 | +// 3 -> String#trim | |
| 5909 | +var trim = exporter.trim = function (string, TYPE) { | |
| 5910 | + string = String(defined(string)); | |
| 5911 | + if (TYPE & 1) string = string.replace(ltrim, ''); | |
| 5912 | + if (TYPE & 2) string = string.replace(rtrim, ''); | |
| 5913 | + return string; | |
| 5914 | +}; | |
| 5915 | + | |
| 5916 | +module.exports = exporter; | |
| 5917 | + | |
| 5918 | + | |
| 3459 | 5919 | /***/ }), |
| 3460 | 5920 | |
| 3461 | -/***/ "../node_modules/@babel/runtime/helpers/typeof.js": | |
| 5921 | +/***/ "../node_modules/core-js/library/modules/_string-ws.js": | |
| 5922 | +/*!*************************************************************!*\ | |
| 5923 | + !*** ../node_modules/core-js/library/modules/_string-ws.js ***! | |
| 5924 | + \*************************************************************/ | |
| 5925 | +/***/ ((module) => { | |
| 5926 | + | |
| 5927 | +module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + | |
| 5928 | + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; | |
| 5929 | + | |
| 5930 | + | |
| 5931 | +/***/ }), | |
| 5932 | + | |
| 5933 | +/***/ "../node_modules/core-js/library/modules/_task.js": | |
| 3462 | 5934 | /*!********************************************************!*\ |
| 3463 | - !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! | |
| 5935 | + !*** ../node_modules/core-js/library/modules/_task.js ***! | |
| 3464 | 5936 | \********************************************************/ |
| 5937 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5938 | + | |
| 5939 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 5940 | +var invoke = __webpack_require__(/*! ./_invoke */ "../node_modules/core-js/library/modules/_invoke.js"); | |
| 5941 | +var html = __webpack_require__(/*! ./_html */ "../node_modules/core-js/library/modules/_html.js"); | |
| 5942 | +var cel = __webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js"); | |
| 5943 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 5944 | +var process = global.process; | |
| 5945 | +var setTask = global.setImmediate; | |
| 5946 | +var clearTask = global.clearImmediate; | |
| 5947 | +var MessageChannel = global.MessageChannel; | |
| 5948 | +var Dispatch = global.Dispatch; | |
| 5949 | +var counter = 0; | |
| 5950 | +var queue = {}; | |
| 5951 | +var ONREADYSTATECHANGE = 'onreadystatechange'; | |
| 5952 | +var defer, channel, port; | |
| 5953 | +var run = function () { | |
| 5954 | + var id = +this; | |
| 5955 | + // eslint-disable-next-line no-prototype-builtins | |
| 5956 | + if (queue.hasOwnProperty(id)) { | |
| 5957 | + var fn = queue[id]; | |
| 5958 | + delete queue[id]; | |
| 5959 | + fn(); | |
| 5960 | + } | |
| 5961 | +}; | |
| 5962 | +var listener = function (event) { | |
| 5963 | + run.call(event.data); | |
| 5964 | +}; | |
| 5965 | +// Node.js 0.9+ & IE10+ has setImmediate, otherwise: | |
| 5966 | +if (!setTask || !clearTask) { | |
| 5967 | + setTask = function setImmediate(fn) { | |
| 5968 | + var args = []; | |
| 5969 | + var i = 1; | |
| 5970 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 5971 | + queue[++counter] = function () { | |
| 5972 | + // eslint-disable-next-line no-new-func | |
| 5973 | + invoke(typeof fn == 'function' ? fn : Function(fn), args); | |
| 5974 | + }; | |
| 5975 | + defer(counter); | |
| 5976 | + return counter; | |
| 5977 | + }; | |
| 5978 | + clearTask = function clearImmediate(id) { | |
| 5979 | + delete queue[id]; | |
| 5980 | + }; | |
| 5981 | + // Node.js 0.8- | |
| 5982 | + if (__webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js")(process) == 'process') { | |
| 5983 | + defer = function (id) { | |
| 5984 | + process.nextTick(ctx(run, id, 1)); | |
| 5985 | + }; | |
| 5986 | + // Sphere (JS game engine) Dispatch API | |
| 5987 | + } else if (Dispatch && Dispatch.now) { | |
| 5988 | + defer = function (id) { | |
| 5989 | + Dispatch.now(ctx(run, id, 1)); | |
| 5990 | + }; | |
| 5991 | + // Browsers with MessageChannel, includes WebWorkers | |
| 5992 | + } else if (MessageChannel) { | |
| 5993 | + channel = new MessageChannel(); | |
| 5994 | + port = channel.port2; | |
| 5995 | + channel.port1.onmessage = listener; | |
| 5996 | + defer = ctx(port.postMessage, port, 1); | |
| 5997 | + // Browsers with postMessage, skip WebWorkers | |
| 5998 | + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' | |
| 5999 | + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { | |
| 6000 | + defer = function (id) { | |
| 6001 | + global.postMessage(id + '', '*'); | |
| 6002 | + }; | |
| 6003 | + global.addEventListener('message', listener, false); | |
| 6004 | + // IE8- | |
| 6005 | + } else if (ONREADYSTATECHANGE in cel('script')) { | |
| 6006 | + defer = function (id) { | |
| 6007 | + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { | |
| 6008 | + html.removeChild(this); | |
| 6009 | + run.call(id); | |
| 6010 | + }; | |
| 6011 | + }; | |
| 6012 | + // Rest old browsers | |
| 6013 | + } else { | |
| 6014 | + defer = function (id) { | |
| 6015 | + setTimeout(ctx(run, id, 1), 0); | |
| 6016 | + }; | |
| 6017 | + } | |
| 6018 | +} | |
| 6019 | +module.exports = { | |
| 6020 | + set: setTask, | |
| 6021 | + clear: clearTask | |
| 6022 | +}; | |
| 6023 | + | |
| 6024 | + | |
| 6025 | +/***/ }), | |
| 6026 | + | |
| 6027 | +/***/ "../node_modules/core-js/library/modules/_to-absolute-index.js": | |
| 6028 | +/*!*********************************************************************!*\ | |
| 6029 | + !*** ../node_modules/core-js/library/modules/_to-absolute-index.js ***! | |
| 6030 | + \*********************************************************************/ | |
| 6031 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6032 | + | |
| 6033 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 6034 | +var max = Math.max; | |
| 6035 | +var min = Math.min; | |
| 6036 | +module.exports = function (index, length) { | |
| 6037 | + index = toInteger(index); | |
| 6038 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 6039 | +}; | |
| 6040 | + | |
| 6041 | + | |
| 6042 | +/***/ }), | |
| 6043 | + | |
| 6044 | +/***/ "../node_modules/core-js/library/modules/_to-integer.js": | |
| 6045 | +/*!**************************************************************!*\ | |
| 6046 | + !*** ../node_modules/core-js/library/modules/_to-integer.js ***! | |
| 6047 | + \**************************************************************/ | |
| 3465 | 6048 | /***/ ((module) => { |
| 3466 | 6049 | |
| 3467 | -function _typeof(o) { | |
| 3468 | - "@babel/helpers - typeof"; | |
| 6050 | +// 7.1.4 ToInteger | |
| 6051 | +var ceil = Math.ceil; | |
| 6052 | +var floor = Math.floor; | |
| 6053 | +module.exports = function (it) { | |
| 6054 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 6055 | +}; | |
| 3469 | 6056 | |
| 3470 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 3471 | - return typeof o; | |
| 3472 | - } : function (o) { | |
| 3473 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 3474 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 3475 | -} | |
| 3476 | -module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3477 | 6057 | |
| 3478 | 6058 | /***/ }), |
| 3479 | 6059 | |
| 3480 | -/***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": | |
| 6060 | +/***/ "../node_modules/core-js/library/modules/_to-iobject.js": | |
| 6061 | +/*!**************************************************************!*\ | |
| 6062 | + !*** ../node_modules/core-js/library/modules/_to-iobject.js ***! | |
| 6063 | + \**************************************************************/ | |
| 6064 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6065 | + | |
| 6066 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 6067 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 6068 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 6069 | +module.exports = function (it) { | |
| 6070 | + return IObject(defined(it)); | |
| 6071 | +}; | |
| 6072 | + | |
| 6073 | + | |
| 6074 | +/***/ }), | |
| 6075 | + | |
| 6076 | +/***/ "../node_modules/core-js/library/modules/_to-length.js": | |
| 6077 | +/*!*************************************************************!*\ | |
| 6078 | + !*** ../node_modules/core-js/library/modules/_to-length.js ***! | |
| 6079 | + \*************************************************************/ | |
| 6080 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6081 | + | |
| 6082 | +// 7.1.15 ToLength | |
| 6083 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 6084 | +var min = Math.min; | |
| 6085 | +module.exports = function (it) { | |
| 6086 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 6087 | +}; | |
| 6088 | + | |
| 6089 | + | |
| 6090 | +/***/ }), | |
| 6091 | + | |
| 6092 | +/***/ "../node_modules/core-js/library/modules/_to-object.js": | |
| 6093 | +/*!*************************************************************!*\ | |
| 6094 | + !*** ../node_modules/core-js/library/modules/_to-object.js ***! | |
| 6095 | + \*************************************************************/ | |
| 6096 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6097 | + | |
| 6098 | +// 7.1.13 ToObject(argument) | |
| 6099 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 6100 | +module.exports = function (it) { | |
| 6101 | + return Object(defined(it)); | |
| 6102 | +}; | |
| 6103 | + | |
| 6104 | + | |
| 6105 | +/***/ }), | |
| 6106 | + | |
| 6107 | +/***/ "../node_modules/core-js/library/modules/_to-primitive.js": | |
| 6108 | +/*!****************************************************************!*\ | |
| 6109 | + !*** ../node_modules/core-js/library/modules/_to-primitive.js ***! | |
| 6110 | + \****************************************************************/ | |
| 6111 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6112 | + | |
| 6113 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 6114 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6115 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 6116 | +// and the second argument - flag - preferred type is a string | |
| 6117 | +module.exports = function (it, S) { | |
| 6118 | + if (!isObject(it)) return it; | |
| 6119 | + var fn, val; | |
| 6120 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 6121 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 6122 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 6123 | + throw TypeError("Can't convert object to primitive value"); | |
| 6124 | +}; | |
| 6125 | + | |
| 6126 | + | |
| 6127 | +/***/ }), | |
| 6128 | + | |
| 6129 | +/***/ "../node_modules/core-js/library/modules/_uid.js": | |
| 6130 | +/*!*******************************************************!*\ | |
| 6131 | + !*** ../node_modules/core-js/library/modules/_uid.js ***! | |
| 6132 | + \*******************************************************/ | |
| 6133 | +/***/ ((module) => { | |
| 6134 | + | |
| 6135 | +var id = 0; | |
| 6136 | +var px = Math.random(); | |
| 6137 | +module.exports = function (key) { | |
| 6138 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 6139 | +}; | |
| 6140 | + | |
| 6141 | + | |
| 6142 | +/***/ }), | |
| 6143 | + | |
| 6144 | +/***/ "../node_modules/core-js/library/modules/_user-agent.js": | |
| 6145 | +/*!**************************************************************!*\ | |
| 6146 | + !*** ../node_modules/core-js/library/modules/_user-agent.js ***! | |
| 6147 | + \**************************************************************/ | |
| 6148 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6149 | + | |
| 6150 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6151 | +var navigator = global.navigator; | |
| 6152 | + | |
| 6153 | +module.exports = navigator && navigator.userAgent || ''; | |
| 6154 | + | |
| 6155 | + | |
| 6156 | +/***/ }), | |
| 6157 | + | |
| 6158 | +/***/ "../node_modules/core-js/library/modules/_validate-collection.js": | |
| 6159 | +/*!***********************************************************************!*\ | |
| 6160 | + !*** ../node_modules/core-js/library/modules/_validate-collection.js ***! | |
| 6161 | + \***********************************************************************/ | |
| 6162 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6163 | + | |
| 6164 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6165 | +module.exports = function (it, TYPE) { | |
| 6166 | + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); | |
| 6167 | + return it; | |
| 6168 | +}; | |
| 6169 | + | |
| 6170 | + | |
| 6171 | +/***/ }), | |
| 6172 | + | |
| 6173 | +/***/ "../node_modules/core-js/library/modules/_wks-define.js": | |
| 6174 | +/*!**************************************************************!*\ | |
| 6175 | + !*** ../node_modules/core-js/library/modules/_wks-define.js ***! | |
| 6176 | + \**************************************************************/ | |
| 6177 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6178 | + | |
| 6179 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6180 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 6181 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 6182 | +var wksExt = __webpack_require__(/*! ./_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js"); | |
| 6183 | +var defineProperty = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 6184 | +module.exports = function (name) { | |
| 6185 | + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); | |
| 6186 | + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); | |
| 6187 | +}; | |
| 6188 | + | |
| 6189 | + | |
| 6190 | +/***/ }), | |
| 6191 | + | |
| 6192 | +/***/ "../node_modules/core-js/library/modules/_wks-ext.js": | |
| 6193 | +/*!***********************************************************!*\ | |
| 6194 | + !*** ../node_modules/core-js/library/modules/_wks-ext.js ***! | |
| 6195 | + \***********************************************************/ | |
| 6196 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 6197 | + | |
| 6198 | +exports.f = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js"); | |
| 6199 | + | |
| 6200 | + | |
| 6201 | +/***/ }), | |
| 6202 | + | |
| 6203 | +/***/ "../node_modules/core-js/library/modules/_wks.js": | |
| 6204 | +/*!*******************************************************!*\ | |
| 6205 | + !*** ../node_modules/core-js/library/modules/_wks.js ***! | |
| 6206 | + \*******************************************************/ | |
| 6207 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6208 | + | |
| 6209 | +var store = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js")('wks'); | |
| 6210 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 6211 | +var Symbol = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Symbol; | |
| 6212 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 6213 | + | |
| 6214 | +var $exports = module.exports = function (name) { | |
| 6215 | + return store[name] || (store[name] = | |
| 6216 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 6217 | +}; | |
| 6218 | + | |
| 6219 | +$exports.store = store; | |
| 6220 | + | |
| 6221 | + | |
| 6222 | +/***/ }), | |
| 6223 | + | |
| 6224 | +/***/ "../node_modules/core-js/library/modules/core.get-iterator-method.js": | |
| 6225 | +/*!***************************************************************************!*\ | |
| 6226 | + !*** ../node_modules/core-js/library/modules/core.get-iterator-method.js ***! | |
| 6227 | + \***************************************************************************/ | |
| 6228 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6229 | + | |
| 6230 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/library/modules/_classof.js"); | |
| 6231 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 6232 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 6233 | +module.exports = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js").getIteratorMethod = function (it) { | |
| 6234 | + if (it != undefined) return it[ITERATOR] | |
| 6235 | + || it['@@iterator'] | |
| 6236 | + || Iterators[classof(it)]; | |
| 6237 | +}; | |
| 6238 | + | |
| 6239 | + | |
| 6240 | +/***/ }), | |
| 6241 | + | |
| 6242 | +/***/ "../node_modules/core-js/library/modules/es6.array.from.js": | |
| 6243 | +/*!*****************************************************************!*\ | |
| 6244 | + !*** ../node_modules/core-js/library/modules/es6.array.from.js ***! | |
| 6245 | + \*****************************************************************/ | |
| 6246 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6247 | + | |
| 6248 | +"use strict"; | |
| 6249 | + | |
| 6250 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 6251 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6252 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 6253 | +var call = __webpack_require__(/*! ./_iter-call */ "../node_modules/core-js/library/modules/_iter-call.js"); | |
| 6254 | +var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "../node_modules/core-js/library/modules/_is-array-iter.js"); | |
| 6255 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 6256 | +var createProperty = __webpack_require__(/*! ./_create-property */ "../node_modules/core-js/library/modules/_create-property.js"); | |
| 6257 | +var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "../node_modules/core-js/library/modules/core.get-iterator-method.js"); | |
| 6258 | + | |
| 6259 | +$export($export.S + $export.F * !__webpack_require__(/*! ./_iter-detect */ "../node_modules/core-js/library/modules/_iter-detect.js")(function (iter) { Array.from(iter); }), 'Array', { | |
| 6260 | + // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) | |
| 6261 | + from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { | |
| 6262 | + var O = toObject(arrayLike); | |
| 6263 | + var C = typeof this == 'function' ? this : Array; | |
| 6264 | + var aLen = arguments.length; | |
| 6265 | + var mapfn = aLen > 1 ? arguments[1] : undefined; | |
| 6266 | + var mapping = mapfn !== undefined; | |
| 6267 | + var index = 0; | |
| 6268 | + var iterFn = getIterFn(O); | |
| 6269 | + var length, result, step, iterator; | |
| 6270 | + if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); | |
| 6271 | + // if object isn't iterable or it's array with default iterator - use simple case | |
| 6272 | + if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { | |
| 6273 | + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { | |
| 6274 | + createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); | |
| 6275 | + } | |
| 6276 | + } else { | |
| 6277 | + length = toLength(O.length); | |
| 6278 | + for (result = new C(length); length > index; index++) { | |
| 6279 | + createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); | |
| 6280 | + } | |
| 6281 | + } | |
| 6282 | + result.length = index; | |
| 6283 | + return result; | |
| 6284 | + } | |
| 6285 | +}); | |
| 6286 | + | |
| 6287 | + | |
| 6288 | +/***/ }), | |
| 6289 | + | |
| 6290 | +/***/ "../node_modules/core-js/library/modules/es6.array.is-array.js": | |
| 6291 | +/*!*********************************************************************!*\ | |
| 6292 | + !*** ../node_modules/core-js/library/modules/es6.array.is-array.js ***! | |
| 6293 | + \*********************************************************************/ | |
| 6294 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6295 | + | |
| 6296 | +// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) | |
| 6297 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6298 | + | |
| 6299 | +$export($export.S, 'Array', { isArray: __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js") }); | |
| 6300 | + | |
| 6301 | + | |
| 6302 | +/***/ }), | |
| 6303 | + | |
| 6304 | +/***/ "../node_modules/core-js/library/modules/es6.array.iterator.js": | |
| 6305 | +/*!*********************************************************************!*\ | |
| 6306 | + !*** ../node_modules/core-js/library/modules/es6.array.iterator.js ***! | |
| 6307 | + \*********************************************************************/ | |
| 6308 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6309 | + | |
| 6310 | +"use strict"; | |
| 6311 | + | |
| 6312 | +var addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/library/modules/_add-to-unscopables.js"); | |
| 6313 | +var step = __webpack_require__(/*! ./_iter-step */ "../node_modules/core-js/library/modules/_iter-step.js"); | |
| 6314 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 6315 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 6316 | + | |
| 6317 | +// 22.1.3.4 Array.prototype.entries() | |
| 6318 | +// 22.1.3.13 Array.prototype.keys() | |
| 6319 | +// 22.1.3.29 Array.prototype.values() | |
| 6320 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 6321 | +module.exports = __webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js")(Array, 'Array', function (iterated, kind) { | |
| 6322 | + this._t = toIObject(iterated); // target | |
| 6323 | + this._i = 0; // next index | |
| 6324 | + this._k = kind; // kind | |
| 6325 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 6326 | +}, function () { | |
| 6327 | + var O = this._t; | |
| 6328 | + var kind = this._k; | |
| 6329 | + var index = this._i++; | |
| 6330 | + if (!O || index >= O.length) { | |
| 6331 | + this._t = undefined; | |
| 6332 | + return step(1); | |
| 6333 | + } | |
| 6334 | + if (kind == 'keys') return step(0, index); | |
| 6335 | + if (kind == 'values') return step(0, O[index]); | |
| 6336 | + return step(0, [index, O[index]]); | |
| 6337 | +}, 'values'); | |
| 6338 | + | |
| 6339 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 6340 | +Iterators.Arguments = Iterators.Array; | |
| 6341 | + | |
| 6342 | +addToUnscopables('keys'); | |
| 6343 | +addToUnscopables('values'); | |
| 6344 | +addToUnscopables('entries'); | |
| 6345 | + | |
| 6346 | + | |
| 6347 | +/***/ }), | |
| 6348 | + | |
| 6349 | +/***/ "../node_modules/core-js/library/modules/es6.function.has-instance.js": | |
| 3481 | 6350 | /*!****************************************************************************!*\ |
| 3482 | - !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! | |
| 6351 | + !*** ../node_modules/core-js/library/modules/es6.function.has-instance.js ***! | |
| 3483 | 6352 | \****************************************************************************/ |
| 6353 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6354 | + | |
| 6355 | +"use strict"; | |
| 6356 | + | |
| 6357 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6358 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 6359 | +var HAS_INSTANCE = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('hasInstance'); | |
| 6360 | +var FunctionProto = Function.prototype; | |
| 6361 | +// 19.2.3.6 Function.prototype[@@hasInstance](V) | |
| 6362 | +if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f(FunctionProto, HAS_INSTANCE, { value: function (O) { | |
| 6363 | + if (typeof this != 'function' || !isObject(O)) return false; | |
| 6364 | + if (!isObject(this.prototype)) return O instanceof this; | |
| 6365 | + // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: | |
| 6366 | + while (O = getPrototypeOf(O)) if (this.prototype === O) return true; | |
| 6367 | + return false; | |
| 6368 | +} }); | |
| 6369 | + | |
| 6370 | + | |
| 6371 | +/***/ }), | |
| 6372 | + | |
| 6373 | +/***/ "../node_modules/core-js/library/modules/es6.map.js": | |
| 6374 | +/*!**********************************************************!*\ | |
| 6375 | + !*** ../node_modules/core-js/library/modules/es6.map.js ***! | |
| 6376 | + \**********************************************************/ | |
| 3484 | 6377 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3485 | 6378 | |
| 3486 | -var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); | |
| 3487 | -function _unsupportedIterableToArray(r, a) { | |
| 3488 | - if (r) { | |
| 3489 | - if ("string" == typeof r) return arrayLikeToArray(r, a); | |
| 3490 | - var t = {}.toString.call(r).slice(8, -1); | |
| 3491 | - return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0; | |
| 6379 | +"use strict"; | |
| 6380 | + | |
| 6381 | +var strong = __webpack_require__(/*! ./_collection-strong */ "../node_modules/core-js/library/modules/_collection-strong.js"); | |
| 6382 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 6383 | +var MAP = 'Map'; | |
| 6384 | + | |
| 6385 | +// 23.1 Map Objects | |
| 6386 | +module.exports = __webpack_require__(/*! ./_collection */ "../node_modules/core-js/library/modules/_collection.js")(MAP, function (get) { | |
| 6387 | + return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; | |
| 6388 | +}, { | |
| 6389 | + // 23.1.3.6 Map.prototype.get(key) | |
| 6390 | + get: function get(key) { | |
| 6391 | + var entry = strong.getEntry(validate(this, MAP), key); | |
| 6392 | + return entry && entry.v; | |
| 6393 | + }, | |
| 6394 | + // 23.1.3.9 Map.prototype.set(key, value) | |
| 6395 | + set: function set(key, value) { | |
| 6396 | + return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); | |
| 3492 | 6397 | } |
| 3493 | -} | |
| 3494 | -module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6398 | +}, strong, true); | |
| 3495 | 6399 | |
| 6400 | + | |
| 3496 | 6401 | /***/ }), |
| 3497 | 6402 | |
| 3498 | -/***/ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js": | |
| 3499 | -/*!*****************************************************************!*\ | |
| 3500 | - !*** ../node_modules/@babel/runtime/helpers/wrapNativeSuper.js ***! | |
| 3501 | - \*****************************************************************/ | |
| 3502 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6403 | +/***/ "../node_modules/core-js/library/modules/es6.object.create.js": | |
| 6404 | +/*!********************************************************************!*\ | |
| 6405 | + !*** ../node_modules/core-js/library/modules/es6.object.create.js ***! | |
| 6406 | + \********************************************************************/ | |
| 6407 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3503 | 6408 | |
| 3504 | -var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); | |
| 3505 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 3506 | -var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../node_modules/@babel/runtime/helpers/isNativeFunction.js"); | |
| 3507 | -var construct = __webpack_require__(/*! ./construct.js */ "../node_modules/@babel/runtime/helpers/construct.js"); | |
| 3508 | -function _wrapNativeSuper(t) { | |
| 3509 | - var r = "function" == typeof Map ? new Map() : void 0; | |
| 3510 | - return module.exports = _wrapNativeSuper = function _wrapNativeSuper(t) { | |
| 3511 | - if (null === t || !isNativeFunction(t)) return t; | |
| 3512 | - if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); | |
| 3513 | - if (void 0 !== r) { | |
| 3514 | - if (r.has(t)) return r.get(t); | |
| 3515 | - r.set(t, Wrapper); | |
| 6409 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6410 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 6411 | +$export($export.S, 'Object', { create: __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js") }); | |
| 6412 | + | |
| 6413 | + | |
| 6414 | +/***/ }), | |
| 6415 | + | |
| 6416 | +/***/ "../node_modules/core-js/library/modules/es6.object.define-property.js": | |
| 6417 | +/*!*****************************************************************************!*\ | |
| 6418 | + !*** ../node_modules/core-js/library/modules/es6.object.define-property.js ***! | |
| 6419 | + \*****************************************************************************/ | |
| 6420 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6421 | + | |
| 6422 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6423 | +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) | |
| 6424 | +$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"), 'Object', { defineProperty: __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f }); | |
| 6425 | + | |
| 6426 | + | |
| 6427 | +/***/ }), | |
| 6428 | + | |
| 6429 | +/***/ "../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js": | |
| 6430 | +/*!*****************************************************************************************!*\ | |
| 6431 | + !*** ../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js ***! | |
| 6432 | + \*****************************************************************************************/ | |
| 6433 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6434 | + | |
| 6435 | +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 6436 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 6437 | +var $getOwnPropertyDescriptor = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js").f; | |
| 6438 | + | |
| 6439 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('getOwnPropertyDescriptor', function () { | |
| 6440 | + return function getOwnPropertyDescriptor(it, key) { | |
| 6441 | + return $getOwnPropertyDescriptor(toIObject(it), key); | |
| 6442 | + }; | |
| 6443 | +}); | |
| 6444 | + | |
| 6445 | + | |
| 6446 | +/***/ }), | |
| 6447 | + | |
| 6448 | +/***/ "../node_modules/core-js/library/modules/es6.object.get-prototype-of.js": | |
| 6449 | +/*!******************************************************************************!*\ | |
| 6450 | + !*** ../node_modules/core-js/library/modules/es6.object.get-prototype-of.js ***! | |
| 6451 | + \******************************************************************************/ | |
| 6452 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6453 | + | |
| 6454 | +// 19.1.2.9 Object.getPrototypeOf(O) | |
| 6455 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 6456 | +var $getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 6457 | + | |
| 6458 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('getPrototypeOf', function () { | |
| 6459 | + return function getPrototypeOf(it) { | |
| 6460 | + return $getPrototypeOf(toObject(it)); | |
| 6461 | + }; | |
| 6462 | +}); | |
| 6463 | + | |
| 6464 | + | |
| 6465 | +/***/ }), | |
| 6466 | + | |
| 6467 | +/***/ "../node_modules/core-js/library/modules/es6.object.keys.js": | |
| 6468 | +/*!******************************************************************!*\ | |
| 6469 | + !*** ../node_modules/core-js/library/modules/es6.object.keys.js ***! | |
| 6470 | + \******************************************************************/ | |
| 6471 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6472 | + | |
| 6473 | +// 19.1.2.14 Object.keys(O) | |
| 6474 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 6475 | +var $keys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 6476 | + | |
| 6477 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('keys', function () { | |
| 6478 | + return function keys(it) { | |
| 6479 | + return $keys(toObject(it)); | |
| 6480 | + }; | |
| 6481 | +}); | |
| 6482 | + | |
| 6483 | + | |
| 6484 | +/***/ }), | |
| 6485 | + | |
| 6486 | +/***/ "../node_modules/core-js/library/modules/es6.object.set-prototype-of.js": | |
| 6487 | +/*!******************************************************************************!*\ | |
| 6488 | + !*** ../node_modules/core-js/library/modules/es6.object.set-prototype-of.js ***! | |
| 6489 | + \******************************************************************************/ | |
| 6490 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6491 | + | |
| 6492 | +// 19.1.3.19 Object.setPrototypeOf(O, proto) | |
| 6493 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6494 | +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(/*! ./_set-proto */ "../node_modules/core-js/library/modules/_set-proto.js").set }); | |
| 6495 | + | |
| 6496 | + | |
| 6497 | +/***/ }), | |
| 6498 | + | |
| 6499 | +/***/ "../node_modules/core-js/library/modules/es6.object.to-string.js": | |
| 6500 | +/*!***********************************************************************!*\ | |
| 6501 | + !*** ../node_modules/core-js/library/modules/es6.object.to-string.js ***! | |
| 6502 | + \***********************************************************************/ | |
| 6503 | +/***/ (() => { | |
| 6504 | + | |
| 6505 | + | |
| 6506 | + | |
| 6507 | +/***/ }), | |
| 6508 | + | |
| 6509 | +/***/ "../node_modules/core-js/library/modules/es6.parse-float.js": | |
| 6510 | +/*!******************************************************************!*\ | |
| 6511 | + !*** ../node_modules/core-js/library/modules/es6.parse-float.js ***! | |
| 6512 | + \******************************************************************/ | |
| 6513 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6514 | + | |
| 6515 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6516 | +var $parseFloat = __webpack_require__(/*! ./_parse-float */ "../node_modules/core-js/library/modules/_parse-float.js"); | |
| 6517 | +// 18.2.4 parseFloat(string) | |
| 6518 | +$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); | |
| 6519 | + | |
| 6520 | + | |
| 6521 | +/***/ }), | |
| 6522 | + | |
| 6523 | +/***/ "../node_modules/core-js/library/modules/es6.parse-int.js": | |
| 6524 | +/*!****************************************************************!*\ | |
| 6525 | + !*** ../node_modules/core-js/library/modules/es6.parse-int.js ***! | |
| 6526 | + \****************************************************************/ | |
| 6527 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6528 | + | |
| 6529 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6530 | +var $parseInt = __webpack_require__(/*! ./_parse-int */ "../node_modules/core-js/library/modules/_parse-int.js"); | |
| 6531 | +// 18.2.5 parseInt(string, radix) | |
| 6532 | +$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); | |
| 6533 | + | |
| 6534 | + | |
| 6535 | +/***/ }), | |
| 6536 | + | |
| 6537 | +/***/ "../node_modules/core-js/library/modules/es6.promise.js": | |
| 6538 | +/*!**************************************************************!*\ | |
| 6539 | + !*** ../node_modules/core-js/library/modules/es6.promise.js ***! | |
| 6540 | + \**************************************************************/ | |
| 6541 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6542 | + | |
| 6543 | +"use strict"; | |
| 6544 | + | |
| 6545 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 6546 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6547 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 6548 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/library/modules/_classof.js"); | |
| 6549 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6550 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6551 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 6552 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 6553 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 6554 | +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "../node_modules/core-js/library/modules/_species-constructor.js"); | |
| 6555 | +var task = __webpack_require__(/*! ./_task */ "../node_modules/core-js/library/modules/_task.js").set; | |
| 6556 | +var microtask = __webpack_require__(/*! ./_microtask */ "../node_modules/core-js/library/modules/_microtask.js")(); | |
| 6557 | +var newPromiseCapabilityModule = __webpack_require__(/*! ./_new-promise-capability */ "../node_modules/core-js/library/modules/_new-promise-capability.js"); | |
| 6558 | +var perform = __webpack_require__(/*! ./_perform */ "../node_modules/core-js/library/modules/_perform.js"); | |
| 6559 | +var userAgent = __webpack_require__(/*! ./_user-agent */ "../node_modules/core-js/library/modules/_user-agent.js"); | |
| 6560 | +var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "../node_modules/core-js/library/modules/_promise-resolve.js"); | |
| 6561 | +var PROMISE = 'Promise'; | |
| 6562 | +var TypeError = global.TypeError; | |
| 6563 | +var process = global.process; | |
| 6564 | +var versions = process && process.versions; | |
| 6565 | +var v8 = versions && versions.v8 || ''; | |
| 6566 | +var $Promise = global[PROMISE]; | |
| 6567 | +var isNode = classof(process) == 'process'; | |
| 6568 | +var empty = function () { /* empty */ }; | |
| 6569 | +var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; | |
| 6570 | +var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; | |
| 6571 | + | |
| 6572 | +var USE_NATIVE = !!function () { | |
| 6573 | + try { | |
| 6574 | + // correct subclassing with @@species support | |
| 6575 | + var promise = $Promise.resolve(1); | |
| 6576 | + var FakePromise = (promise.constructor = {})[__webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species')] = function (exec) { | |
| 6577 | + exec(empty, empty); | |
| 6578 | + }; | |
| 6579 | + // unhandled rejections tracking support, NodeJS Promise without it fails @@species test | |
| 6580 | + return (isNode || typeof PromiseRejectionEvent == 'function') | |
| 6581 | + && promise.then(empty) instanceof FakePromise | |
| 6582 | + // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables | |
| 6583 | + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 | |
| 6584 | + // we can't detect it synchronously, so just check versions | |
| 6585 | + && v8.indexOf('6.6') !== 0 | |
| 6586 | + && userAgent.indexOf('Chrome/66') === -1; | |
| 6587 | + } catch (e) { /* empty */ } | |
| 6588 | +}(); | |
| 6589 | + | |
| 6590 | +// helpers | |
| 6591 | +var isThenable = function (it) { | |
| 6592 | + var then; | |
| 6593 | + return isObject(it) && typeof (then = it.then) == 'function' ? then : false; | |
| 6594 | +}; | |
| 6595 | +var notify = function (promise, isReject) { | |
| 6596 | + if (promise._n) return; | |
| 6597 | + promise._n = true; | |
| 6598 | + var chain = promise._c; | |
| 6599 | + microtask(function () { | |
| 6600 | + var value = promise._v; | |
| 6601 | + var ok = promise._s == 1; | |
| 6602 | + var i = 0; | |
| 6603 | + var run = function (reaction) { | |
| 6604 | + var handler = ok ? reaction.ok : reaction.fail; | |
| 6605 | + var resolve = reaction.resolve; | |
| 6606 | + var reject = reaction.reject; | |
| 6607 | + var domain = reaction.domain; | |
| 6608 | + var result, then, exited; | |
| 6609 | + try { | |
| 6610 | + if (handler) { | |
| 6611 | + if (!ok) { | |
| 6612 | + if (promise._h == 2) onHandleUnhandled(promise); | |
| 6613 | + promise._h = 1; | |
| 6614 | + } | |
| 6615 | + if (handler === true) result = value; | |
| 6616 | + else { | |
| 6617 | + if (domain) domain.enter(); | |
| 6618 | + result = handler(value); // may throw | |
| 6619 | + if (domain) { | |
| 6620 | + domain.exit(); | |
| 6621 | + exited = true; | |
| 6622 | + } | |
| 6623 | + } | |
| 6624 | + if (result === reaction.promise) { | |
| 6625 | + reject(TypeError('Promise-chain cycle')); | |
| 6626 | + } else if (then = isThenable(result)) { | |
| 6627 | + then.call(result, resolve, reject); | |
| 6628 | + } else resolve(result); | |
| 6629 | + } else reject(value); | |
| 6630 | + } catch (e) { | |
| 6631 | + if (domain && !exited) domain.exit(); | |
| 6632 | + reject(e); | |
| 6633 | + } | |
| 6634 | + }; | |
| 6635 | + while (chain.length > i) run(chain[i++]); // variable length - can't use forEach | |
| 6636 | + promise._c = []; | |
| 6637 | + promise._n = false; | |
| 6638 | + if (isReject && !promise._h) onUnhandled(promise); | |
| 6639 | + }); | |
| 6640 | +}; | |
| 6641 | +var onUnhandled = function (promise) { | |
| 6642 | + task.call(global, function () { | |
| 6643 | + var value = promise._v; | |
| 6644 | + var unhandled = isUnhandled(promise); | |
| 6645 | + var result, handler, console; | |
| 6646 | + if (unhandled) { | |
| 6647 | + result = perform(function () { | |
| 6648 | + if (isNode) { | |
| 6649 | + process.emit('unhandledRejection', value, promise); | |
| 6650 | + } else if (handler = global.onunhandledrejection) { | |
| 6651 | + handler({ promise: promise, reason: value }); | |
| 6652 | + } else if ((console = global.console) && console.error) { | |
| 6653 | + console.error('Unhandled promise rejection', value); | |
| 6654 | + } | |
| 6655 | + }); | |
| 6656 | + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should | |
| 6657 | + promise._h = isNode || isUnhandled(promise) ? 2 : 1; | |
| 6658 | + } promise._a = undefined; | |
| 6659 | + if (unhandled && result.e) throw result.v; | |
| 6660 | + }); | |
| 6661 | +}; | |
| 6662 | +var isUnhandled = function (promise) { | |
| 6663 | + return promise._h !== 1 && (promise._a || promise._c).length === 0; | |
| 6664 | +}; | |
| 6665 | +var onHandleUnhandled = function (promise) { | |
| 6666 | + task.call(global, function () { | |
| 6667 | + var handler; | |
| 6668 | + if (isNode) { | |
| 6669 | + process.emit('rejectionHandled', promise); | |
| 6670 | + } else if (handler = global.onrejectionhandled) { | |
| 6671 | + handler({ promise: promise, reason: promise._v }); | |
| 3516 | 6672 | } |
| 3517 | - function Wrapper() { | |
| 3518 | - return construct(t, arguments, getPrototypeOf(this).constructor); | |
| 6673 | + }); | |
| 6674 | +}; | |
| 6675 | +var $reject = function (value) { | |
| 6676 | + var promise = this; | |
| 6677 | + if (promise._d) return; | |
| 6678 | + promise._d = true; | |
| 6679 | + promise = promise._w || promise; // unwrap | |
| 6680 | + promise._v = value; | |
| 6681 | + promise._s = 2; | |
| 6682 | + if (!promise._a) promise._a = promise._c.slice(); | |
| 6683 | + notify(promise, true); | |
| 6684 | +}; | |
| 6685 | +var $resolve = function (value) { | |
| 6686 | + var promise = this; | |
| 6687 | + var then; | |
| 6688 | + if (promise._d) return; | |
| 6689 | + promise._d = true; | |
| 6690 | + promise = promise._w || promise; // unwrap | |
| 6691 | + try { | |
| 6692 | + if (promise === value) throw TypeError("Promise can't be resolved itself"); | |
| 6693 | + if (then = isThenable(value)) { | |
| 6694 | + microtask(function () { | |
| 6695 | + var wrapper = { _w: promise, _d: false }; // wrap | |
| 6696 | + try { | |
| 6697 | + then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); | |
| 6698 | + } catch (e) { | |
| 6699 | + $reject.call(wrapper, e); | |
| 6700 | + } | |
| 6701 | + }); | |
| 6702 | + } else { | |
| 6703 | + promise._v = value; | |
| 6704 | + promise._s = 1; | |
| 6705 | + notify(promise, false); | |
| 3519 | 6706 | } |
| 3520 | - return Wrapper.prototype = Object.create(t.prototype, { | |
| 3521 | - constructor: { | |
| 3522 | - value: Wrapper, | |
| 3523 | - enumerable: !1, | |
| 3524 | - writable: !0, | |
| 3525 | - configurable: !0 | |
| 6707 | + } catch (e) { | |
| 6708 | + $reject.call({ _w: promise, _d: false }, e); // wrap | |
| 6709 | + } | |
| 6710 | +}; | |
| 6711 | + | |
| 6712 | +// constructor polyfill | |
| 6713 | +if (!USE_NATIVE) { | |
| 6714 | + // 25.4.3.1 Promise(executor) | |
| 6715 | + $Promise = function Promise(executor) { | |
| 6716 | + anInstance(this, $Promise, PROMISE, '_h'); | |
| 6717 | + aFunction(executor); | |
| 6718 | + Internal.call(this); | |
| 6719 | + try { | |
| 6720 | + executor(ctx($resolve, this, 1), ctx($reject, this, 1)); | |
| 6721 | + } catch (err) { | |
| 6722 | + $reject.call(this, err); | |
| 6723 | + } | |
| 6724 | + }; | |
| 6725 | + // eslint-disable-next-line no-unused-vars | |
| 6726 | + Internal = function Promise(executor) { | |
| 6727 | + this._c = []; // <- awaiting reactions | |
| 6728 | + this._a = undefined; // <- checked in isUnhandled reactions | |
| 6729 | + this._s = 0; // <- state | |
| 6730 | + this._d = false; // <- done | |
| 6731 | + this._v = undefined; // <- value | |
| 6732 | + this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled | |
| 6733 | + this._n = false; // <- notify | |
| 6734 | + }; | |
| 6735 | + Internal.prototype = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js")($Promise.prototype, { | |
| 6736 | + // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) | |
| 6737 | + then: function then(onFulfilled, onRejected) { | |
| 6738 | + var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); | |
| 6739 | + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; | |
| 6740 | + reaction.fail = typeof onRejected == 'function' && onRejected; | |
| 6741 | + reaction.domain = isNode ? process.domain : undefined; | |
| 6742 | + this._c.push(reaction); | |
| 6743 | + if (this._a) this._a.push(reaction); | |
| 6744 | + if (this._s) notify(this, false); | |
| 6745 | + return reaction.promise; | |
| 6746 | + }, | |
| 6747 | + // 25.4.5.1 Promise.prototype.catch(onRejected) | |
| 6748 | + 'catch': function (onRejected) { | |
| 6749 | + return this.then(undefined, onRejected); | |
| 6750 | + } | |
| 6751 | + }); | |
| 6752 | + OwnPromiseCapability = function () { | |
| 6753 | + var promise = new Internal(); | |
| 6754 | + this.promise = promise; | |
| 6755 | + this.resolve = ctx($resolve, promise, 1); | |
| 6756 | + this.reject = ctx($reject, promise, 1); | |
| 6757 | + }; | |
| 6758 | + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { | |
| 6759 | + return C === $Promise || C === Wrapper | |
| 6760 | + ? new OwnPromiseCapability(C) | |
| 6761 | + : newGenericPromiseCapability(C); | |
| 6762 | + }; | |
| 6763 | +} | |
| 6764 | + | |
| 6765 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); | |
| 6766 | +__webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js")($Promise, PROMISE); | |
| 6767 | +__webpack_require__(/*! ./_set-species */ "../node_modules/core-js/library/modules/_set-species.js")(PROMISE); | |
| 6768 | +Wrapper = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js")[PROMISE]; | |
| 6769 | + | |
| 6770 | +// statics | |
| 6771 | +$export($export.S + $export.F * !USE_NATIVE, PROMISE, { | |
| 6772 | + // 25.4.4.5 Promise.reject(r) | |
| 6773 | + reject: function reject(r) { | |
| 6774 | + var capability = newPromiseCapability(this); | |
| 6775 | + var $$reject = capability.reject; | |
| 6776 | + $$reject(r); | |
| 6777 | + return capability.promise; | |
| 6778 | + } | |
| 6779 | +}); | |
| 6780 | +$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { | |
| 6781 | + // 25.4.4.6 Promise.resolve(x) | |
| 6782 | + resolve: function resolve(x) { | |
| 6783 | + return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); | |
| 6784 | + } | |
| 6785 | +}); | |
| 6786 | +$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(/*! ./_iter-detect */ "../node_modules/core-js/library/modules/_iter-detect.js")(function (iter) { | |
| 6787 | + $Promise.all(iter)['catch'](empty); | |
| 6788 | +})), PROMISE, { | |
| 6789 | + // 25.4.4.1 Promise.all(iterable) | |
| 6790 | + all: function all(iterable) { | |
| 6791 | + var C = this; | |
| 6792 | + var capability = newPromiseCapability(C); | |
| 6793 | + var resolve = capability.resolve; | |
| 6794 | + var reject = capability.reject; | |
| 6795 | + var result = perform(function () { | |
| 6796 | + var values = []; | |
| 6797 | + var index = 0; | |
| 6798 | + var remaining = 1; | |
| 6799 | + forOf(iterable, false, function (promise) { | |
| 6800 | + var $index = index++; | |
| 6801 | + var alreadyCalled = false; | |
| 6802 | + values.push(undefined); | |
| 6803 | + remaining++; | |
| 6804 | + C.resolve(promise).then(function (value) { | |
| 6805 | + if (alreadyCalled) return; | |
| 6806 | + alreadyCalled = true; | |
| 6807 | + values[$index] = value; | |
| 6808 | + --remaining || resolve(values); | |
| 6809 | + }, reject); | |
| 6810 | + }); | |
| 6811 | + --remaining || resolve(values); | |
| 6812 | + }); | |
| 6813 | + if (result.e) reject(result.v); | |
| 6814 | + return capability.promise; | |
| 6815 | + }, | |
| 6816 | + // 25.4.4.4 Promise.race(iterable) | |
| 6817 | + race: function race(iterable) { | |
| 6818 | + var C = this; | |
| 6819 | + var capability = newPromiseCapability(C); | |
| 6820 | + var reject = capability.reject; | |
| 6821 | + var result = perform(function () { | |
| 6822 | + forOf(iterable, false, function (promise) { | |
| 6823 | + C.resolve(promise).then(capability.resolve, reject); | |
| 6824 | + }); | |
| 6825 | + }); | |
| 6826 | + if (result.e) reject(result.v); | |
| 6827 | + return capability.promise; | |
| 6828 | + } | |
| 6829 | +}); | |
| 6830 | + | |
| 6831 | + | |
| 6832 | +/***/ }), | |
| 6833 | + | |
| 6834 | +/***/ "../node_modules/core-js/library/modules/es6.reflect.construct.js": | |
| 6835 | +/*!************************************************************************!*\ | |
| 6836 | + !*** ../node_modules/core-js/library/modules/es6.reflect.construct.js ***! | |
| 6837 | + \************************************************************************/ | |
| 6838 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6839 | + | |
| 6840 | +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) | |
| 6841 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6842 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 6843 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 6844 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 6845 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6846 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 6847 | +var bind = __webpack_require__(/*! ./_bind */ "../node_modules/core-js/library/modules/_bind.js"); | |
| 6848 | +var rConstruct = (__webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Reflect || {}).construct; | |
| 6849 | + | |
| 6850 | +// MS Edge supports only 2 arguments and argumentsList argument is optional | |
| 6851 | +// FF Nightly sets third argument as `new.target`, but does not create `this` from it | |
| 6852 | +var NEW_TARGET_BUG = fails(function () { | |
| 6853 | + function F() { /* empty */ } | |
| 6854 | + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); | |
| 6855 | +}); | |
| 6856 | +var ARGS_BUG = !fails(function () { | |
| 6857 | + rConstruct(function () { /* empty */ }); | |
| 6858 | +}); | |
| 6859 | + | |
| 6860 | +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { | |
| 6861 | + construct: function construct(Target, args /* , newTarget */) { | |
| 6862 | + aFunction(Target); | |
| 6863 | + anObject(args); | |
| 6864 | + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); | |
| 6865 | + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); | |
| 6866 | + if (Target == newTarget) { | |
| 6867 | + // w/o altered newTarget, optimization for 0-4 arguments | |
| 6868 | + switch (args.length) { | |
| 6869 | + case 0: return new Target(); | |
| 6870 | + case 1: return new Target(args[0]); | |
| 6871 | + case 2: return new Target(args[0], args[1]); | |
| 6872 | + case 3: return new Target(args[0], args[1], args[2]); | |
| 6873 | + case 4: return new Target(args[0], args[1], args[2], args[3]); | |
| 3526 | 6874 | } |
| 3527 | - }), setPrototypeOf(Wrapper, t); | |
| 3528 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t); | |
| 3529 | -} | |
| 3530 | -module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6875 | + // w/o altered newTarget, lot of arguments case | |
| 6876 | + var $args = [null]; | |
| 6877 | + $args.push.apply($args, args); | |
| 6878 | + return new (bind.apply(Target, $args))(); | |
| 6879 | + } | |
| 6880 | + // with altered newTarget, not support built-in constructors | |
| 6881 | + var proto = newTarget.prototype; | |
| 6882 | + var instance = create(isObject(proto) ? proto : Object.prototype); | |
| 6883 | + var result = Function.apply.call(Target, instance, args); | |
| 6884 | + return isObject(result) ? result : instance; | |
| 6885 | + } | |
| 6886 | +}); | |
| 3531 | 6887 | |
| 6888 | + | |
| 3532 | 6889 | /***/ }), |
| 3533 | 6890 | |
| 3534 | -/***/ "../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js": | |
| 6891 | +/***/ "../node_modules/core-js/library/modules/es6.reflect.get.js": | |
| 3535 | 6892 | /*!******************************************************************!*\ |
| 3536 | - !*** ../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js ***! | |
| 6893 | + !*** ../node_modules/core-js/library/modules/es6.reflect.get.js ***! | |
| 3537 | 6894 | \******************************************************************/ |
| 3538 | -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 6895 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3539 | 6896 | |
| 3540 | -"use strict"; | |
| 3541 | -__webpack_require__.r(__webpack_exports__); | |
| 3542 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 3543 | -/* harmony export */ EnhancerArray: () => (/* binding */ EnhancerArray), | |
| 3544 | -/* harmony export */ MiddlewareArray: () => (/* binding */ MiddlewareArray), | |
| 3545 | -/* harmony export */ SHOULD_AUTOBATCH: () => (/* binding */ SHOULD_AUTOBATCH), | |
| 3546 | -/* harmony export */ TaskAbortError: () => (/* binding */ TaskAbortError), | |
| 3547 | -/* harmony export */ __DO_NOT_USE__ActionTypes: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_1__.__DO_NOT_USE__ActionTypes), | |
| 3548 | -/* harmony export */ addListener: () => (/* binding */ addListener), | |
| 3549 | -/* harmony export */ applyMiddleware: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_1__.applyMiddleware), | |
| 3550 | -/* harmony export */ autoBatchEnhancer: () => (/* binding */ autoBatchEnhancer), | |
| 3551 | -/* harmony export */ bindActionCreators: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_1__.bindActionCreators), | |
| 3552 | -/* harmony export */ clearAllListeners: () => (/* binding */ clearAllListeners), | |
| 3553 | -/* harmony export */ combineReducers: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_1__.combineReducers), | |
| 3554 | -/* harmony export */ compose: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_1__.compose), | |
| 3555 | -/* harmony export */ configureStore: () => (/* binding */ configureStore), | |
| 3556 | -/* harmony export */ createAction: () => (/* binding */ createAction), | |
| 3557 | -/* harmony export */ createActionCreatorInvariantMiddleware: () => (/* binding */ createActionCreatorInvariantMiddleware), | |
| 3558 | -/* harmony export */ createAsyncThunk: () => (/* binding */ createAsyncThunk), | |
| 3559 | -/* harmony export */ createDraftSafeSelector: () => (/* binding */ createDraftSafeSelector), | |
| 3560 | -/* harmony export */ createEntityAdapter: () => (/* binding */ createEntityAdapter), | |
| 3561 | -/* harmony export */ createImmutableStateInvariantMiddleware: () => (/* binding */ createImmutableStateInvariantMiddleware), | |
| 3562 | -/* harmony export */ createListenerMiddleware: () => (/* binding */ createListenerMiddleware), | |
| 3563 | -/* harmony export */ createNextState: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_0__["default"]), | |
| 3564 | -/* harmony export */ createReducer: () => (/* binding */ createReducer), | |
| 3565 | -/* harmony export */ createSelector: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_2__.createSelector), | |
| 3566 | -/* harmony export */ createSerializableStateInvariantMiddleware: () => (/* binding */ createSerializableStateInvariantMiddleware), | |
| 3567 | -/* harmony export */ createSlice: () => (/* binding */ createSlice), | |
| 3568 | -/* harmony export */ createStore: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_1__.createStore), | |
| 3569 | -/* harmony export */ current: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_0__.current), | |
| 3570 | -/* harmony export */ findNonSerializableValue: () => (/* binding */ findNonSerializableValue), | |
| 3571 | -/* harmony export */ freeze: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_0__.freeze), | |
| 3572 | -/* harmony export */ getDefaultMiddleware: () => (/* binding */ getDefaultMiddleware), | |
| 3573 | -/* harmony export */ getType: () => (/* binding */ getType), | |
| 3574 | -/* harmony export */ isAction: () => (/* binding */ isAction), | |
| 3575 | -/* harmony export */ isActionCreator: () => (/* binding */ isActionCreator), | |
| 3576 | -/* harmony export */ isAllOf: () => (/* binding */ isAllOf), | |
| 3577 | -/* harmony export */ isAnyOf: () => (/* binding */ isAnyOf), | |
| 3578 | -/* harmony export */ isAsyncThunkAction: () => (/* binding */ isAsyncThunkAction), | |
| 3579 | -/* harmony export */ isDraft: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_0__.isDraft), | |
| 3580 | -/* harmony export */ isFluxStandardAction: () => (/* binding */ isFSA), | |
| 3581 | -/* harmony export */ isFulfilled: () => (/* binding */ isFulfilled), | |
| 3582 | -/* harmony export */ isImmutableDefault: () => (/* binding */ isImmutableDefault), | |
| 3583 | -/* harmony export */ isPending: () => (/* binding */ isPending), | |
| 3584 | -/* harmony export */ isPlain: () => (/* binding */ isPlain), | |
| 3585 | -/* harmony export */ isPlainObject: () => (/* binding */ isPlainObject), | |
| 3586 | -/* harmony export */ isRejected: () => (/* binding */ isRejected), | |
| 3587 | -/* harmony export */ isRejectedWithValue: () => (/* binding */ isRejectedWithValue), | |
| 3588 | -/* harmony export */ legacy_createStore: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_1__.legacy_createStore), | |
| 3589 | -/* harmony export */ miniSerializeError: () => (/* binding */ miniSerializeError), | |
| 3590 | -/* harmony export */ nanoid: () => (/* binding */ nanoid), | |
| 3591 | -/* harmony export */ original: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_0__.original), | |
| 3592 | -/* harmony export */ prepareAutoBatched: () => (/* binding */ prepareAutoBatched), | |
| 3593 | -/* harmony export */ removeListener: () => (/* binding */ removeListener), | |
| 3594 | -/* harmony export */ unwrapResult: () => (/* binding */ unwrapResult) | |
| 3595 | -/* harmony export */ }); | |
| 3596 | -/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! immer */ "../node_modules/immer/dist/immer.esm.mjs"); | |
| 3597 | -/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux */ "../node_modules/redux/es/redux.js"); | |
| 3598 | -/* harmony import */ var reselect__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! reselect */ "../node_modules/reselect/es/index.js"); | |
| 3599 | -/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! redux-thunk */ "../node_modules/redux-thunk/es/index.js"); | |
| 3600 | -var __extends = (undefined && undefined.__extends) || (function () { | |
| 3601 | - var extendStatics = function (d, b) { | |
| 3602 | - extendStatics = Object.setPrototypeOf || | |
| 3603 | - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | |
| 3604 | - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | |
| 3605 | - return extendStatics(d, b); | |
| 3606 | - }; | |
| 3607 | - return function (d, b) { | |
| 3608 | - if (typeof b !== "function" && b !== null) | |
| 3609 | - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | |
| 3610 | - extendStatics(d, b); | |
| 3611 | - function __() { this.constructor = d; } | |
| 3612 | - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | |
| 3613 | - }; | |
| 3614 | -})(); | |
| 3615 | -var __generator = (undefined && undefined.__generator) || function (thisArg, body) { | |
| 3616 | - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | |
| 3617 | - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | |
| 3618 | - function verb(n) { return function (v) { return step([n, v]); }; } | |
| 3619 | - function step(op) { | |
| 3620 | - if (f) throw new TypeError("Generator is already executing."); | |
| 3621 | - while (_) try { | |
| 3622 | - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | |
| 3623 | - if (y = 0, t) op = [op[0] & 2, t.value]; | |
| 3624 | - switch (op[0]) { | |
| 3625 | - case 0: case 1: t = op; break; | |
| 3626 | - case 4: _.label++; return { value: op[1], done: false }; | |
| 3627 | - case 5: _.label++; y = op[1]; op = [0]; continue; | |
| 3628 | - case 7: op = _.ops.pop(); _.trys.pop(); continue; | |
| 3629 | - default: | |
| 3630 | - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | |
| 3631 | - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | |
| 3632 | - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | |
| 3633 | - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | |
| 3634 | - if (t[2]) _.ops.pop(); | |
| 3635 | - _.trys.pop(); continue; | |
| 3636 | - } | |
| 3637 | - op = body.call(thisArg, _); | |
| 3638 | - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | |
| 3639 | - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | |
| 3640 | - } | |
| 3641 | -}; | |
| 3642 | -var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) { | |
| 3643 | - for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | |
| 3644 | - to[j] = from[i]; | |
| 3645 | - return to; | |
| 3646 | -}; | |
| 3647 | -var __defProp = Object.defineProperty; | |
| 3648 | -var __defProps = Object.defineProperties; | |
| 3649 | -var __getOwnPropDescs = Object.getOwnPropertyDescriptors; | |
| 3650 | -var __getOwnPropSymbols = Object.getOwnPropertySymbols; | |
| 3651 | -var __hasOwnProp = Object.prototype.hasOwnProperty; | |
| 3652 | -var __propIsEnum = Object.prototype.propertyIsEnumerable; | |
| 3653 | -var __defNormalProp = function (obj, key, value) { return key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value }) : obj[key] = value; }; | |
| 3654 | -var __spreadValues = function (a, b) { | |
| 3655 | - for (var prop in b || (b = {})) | |
| 3656 | - if (__hasOwnProp.call(b, prop)) | |
| 3657 | - __defNormalProp(a, prop, b[prop]); | |
| 3658 | - if (__getOwnPropSymbols) | |
| 3659 | - for (var _i = 0, _c = __getOwnPropSymbols(b); _i < _c.length; _i++) { | |
| 3660 | - var prop = _c[_i]; | |
| 3661 | - if (__propIsEnum.call(b, prop)) | |
| 3662 | - __defNormalProp(a, prop, b[prop]); | |
| 3663 | - } | |
| 3664 | - return a; | |
| 3665 | -}; | |
| 3666 | -var __spreadProps = function (a, b) { return __defProps(a, __getOwnPropDescs(b)); }; | |
| 3667 | -var __async = function (__this, __arguments, generator) { | |
| 3668 | - return new Promise(function (resolve, reject) { | |
| 3669 | - var fulfilled = function (value) { | |
| 3670 | - try { | |
| 3671 | - step(generator.next(value)); | |
| 3672 | - } | |
| 3673 | - catch (e) { | |
| 3674 | - reject(e); | |
| 3675 | - } | |
| 3676 | - }; | |
| 3677 | - var rejected = function (value) { | |
| 3678 | - try { | |
| 3679 | - step(generator.throw(value)); | |
| 3680 | - } | |
| 3681 | - catch (e) { | |
| 3682 | - reject(e); | |
| 3683 | - } | |
| 3684 | - }; | |
| 3685 | - var step = function (x) { return x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); }; | |
| 3686 | - step((generator = generator.apply(__this, __arguments)).next()); | |
| 3687 | - }); | |
| 3688 | -}; | |
| 3689 | -// src/index.ts | |
| 3690 | - | |
| 3691 | - | |
| 3692 | - | |
| 3693 | - | |
| 3694 | -// src/createDraftSafeSelector.ts | |
| 3695 | - | |
| 3696 | - | |
| 3697 | -var createDraftSafeSelector = function () { | |
| 3698 | - var args = []; | |
| 3699 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 3700 | - args[_i] = arguments[_i]; | |
| 3701 | - } | |
| 3702 | - var selector = reselect__WEBPACK_IMPORTED_MODULE_2__.createSelector.apply(void 0, args); | |
| 3703 | - var wrappedSelector = function (value) { | |
| 3704 | - var rest = []; | |
| 3705 | - for (var _i = 1; _i < arguments.length; _i++) { | |
| 3706 | - rest[_i - 1] = arguments[_i]; | |
| 3707 | - } | |
| 3708 | - return selector.apply(void 0, __spreadArray([(0,immer__WEBPACK_IMPORTED_MODULE_0__.isDraft)(value) ? (0,immer__WEBPACK_IMPORTED_MODULE_0__.current)(value) : value], rest)); | |
| 3709 | - }; | |
| 3710 | - return wrappedSelector; | |
| 3711 | -}; | |
| 3712 | -// src/configureStore.ts | |
| 3713 | - | |
| 3714 | -// src/devtoolsExtension.ts | |
| 3715 | - | |
| 3716 | -var composeWithDevTools = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function () { | |
| 3717 | - if (arguments.length === 0) | |
| 3718 | - return void 0; | |
| 3719 | - if (typeof arguments[0] === "object") | |
| 3720 | - return redux__WEBPACK_IMPORTED_MODULE_1__.compose; | |
| 3721 | - return redux__WEBPACK_IMPORTED_MODULE_1__.compose.apply(null, arguments); | |
| 3722 | -}; | |
| 3723 | -var devToolsEnhancer = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__ : function () { | |
| 3724 | - return function (noop2) { | |
| 3725 | - return noop2; | |
| 3726 | - }; | |
| 3727 | -}; | |
| 3728 | -// src/isPlainObject.ts | |
| 3729 | -function isPlainObject(value) { | |
| 3730 | - if (typeof value !== "object" || value === null) | |
| 3731 | - return false; | |
| 3732 | - var proto = Object.getPrototypeOf(value); | |
| 3733 | - if (proto === null) | |
| 3734 | - return true; | |
| 3735 | - var baseProto = proto; | |
| 3736 | - while (Object.getPrototypeOf(baseProto) !== null) { | |
| 3737 | - baseProto = Object.getPrototypeOf(baseProto); | |
| 3738 | - } | |
| 3739 | - return proto === baseProto; | |
| 3740 | -} | |
| 3741 | -// src/getDefaultMiddleware.ts | |
| 3742 | - | |
| 3743 | -// src/tsHelpers.ts | |
| 3744 | -var hasMatchFunction = function (v) { | |
| 3745 | - return v && typeof v.match === "function"; | |
| 3746 | -}; | |
| 3747 | -// src/createAction.ts | |
| 3748 | -function createAction(type, prepareAction) { | |
| 3749 | - function actionCreator() { | |
| 3750 | - var args = []; | |
| 3751 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 3752 | - args[_i] = arguments[_i]; | |
| 3753 | - } | |
| 3754 | - if (prepareAction) { | |
| 3755 | - var prepared = prepareAction.apply(void 0, args); | |
| 3756 | - if (!prepared) { | |
| 3757 | - throw new Error("prepareAction did not return an object"); | |
| 3758 | - } | |
| 3759 | - return __spreadValues(__spreadValues({ | |
| 3760 | - type: type, | |
| 3761 | - payload: prepared.payload | |
| 3762 | - }, "meta" in prepared && { meta: prepared.meta }), "error" in prepared && { error: prepared.error }); | |
| 3763 | - } | |
| 3764 | - return { type: type, payload: args[0] }; | |
| 3765 | - } | |
| 3766 | - actionCreator.toString = function () { return "" + type; }; | |
| 3767 | - actionCreator.type = type; | |
| 3768 | - actionCreator.match = function (action) { return action.type === type; }; | |
| 3769 | - return actionCreator; | |
| 3770 | -} | |
| 3771 | -function isAction(action) { | |
| 3772 | - return isPlainObject(action) && "type" in action; | |
| 3773 | -} | |
| 3774 | -function isActionCreator(action) { | |
| 3775 | - return typeof action === "function" && "type" in action && hasMatchFunction(action); | |
| 3776 | -} | |
| 3777 | -function isFSA(action) { | |
| 3778 | - return isAction(action) && typeof action.type === "string" && Object.keys(action).every(isValidKey); | |
| 3779 | -} | |
| 3780 | -function isValidKey(key) { | |
| 3781 | - return ["type", "payload", "error", "meta"].indexOf(key) > -1; | |
| 3782 | -} | |
| 3783 | -function getType(actionCreator) { | |
| 3784 | - return "" + actionCreator; | |
| 3785 | -} | |
| 3786 | -// src/actionCreatorInvariantMiddleware.ts | |
| 3787 | -function getMessage(type) { | |
| 3788 | - var splitType = type ? ("" + type).split("/") : []; | |
| 3789 | - var actionName = splitType[splitType.length - 1] || "actionCreator"; | |
| 3790 | - return "Detected an action creator with type \"" + (type || "unknown") + "\" being dispatched. \nMake sure you're calling the action creator before dispatching, i.e. `dispatch(" + actionName + "())` instead of `dispatch(" + actionName + ")`. This is necessary even if the action has no payload."; | |
| 3791 | -} | |
| 3792 | -function createActionCreatorInvariantMiddleware(options) { | |
| 3793 | - if (options === void 0) { options = {}; } | |
| 3794 | - if (false) // removed by dead control flow | |
| 3795 | -{} | |
| 3796 | - var _c = options.isActionCreator, isActionCreator2 = _c === void 0 ? isActionCreator : _c; | |
| 3797 | - return function () { return function (next) { return function (action) { | |
| 3798 | - if (isActionCreator2(action)) { | |
| 3799 | - console.warn(getMessage(action.type)); | |
| 3800 | - } | |
| 3801 | - return next(action); | |
| 3802 | - }; }; }; | |
| 3803 | -} | |
| 3804 | -// src/utils.ts | |
| 3805 | - | |
| 3806 | -function getTimeMeasureUtils(maxDelay, fnName) { | |
| 3807 | - var elapsed = 0; | |
| 3808 | - return { | |
| 3809 | - measureTime: function (fn) { | |
| 3810 | - var started = Date.now(); | |
| 3811 | - try { | |
| 3812 | - return fn(); | |
| 3813 | - } | |
| 3814 | - finally { | |
| 3815 | - var finished = Date.now(); | |
| 3816 | - elapsed += finished - started; | |
| 3817 | - } | |
| 3818 | - }, | |
| 3819 | - warnIfExceeded: function () { | |
| 3820 | - if (elapsed > maxDelay) { | |
| 3821 | - console.warn(fnName + " took " + elapsed + "ms, which is more than the warning threshold of " + maxDelay + "ms. \nIf your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.\nIt is disabled in production builds, so you don't need to worry about that."); | |
| 3822 | - } | |
| 3823 | - } | |
| 3824 | - }; | |
| 3825 | -} | |
| 3826 | -var MiddlewareArray = /** @class */ (function (_super) { | |
| 3827 | - __extends(MiddlewareArray, _super); | |
| 3828 | - function MiddlewareArray() { | |
| 3829 | - var args = []; | |
| 3830 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 3831 | - args[_i] = arguments[_i]; | |
| 3832 | - } | |
| 3833 | - var _this = _super.apply(this, args) || this; | |
| 3834 | - Object.setPrototypeOf(_this, MiddlewareArray.prototype); | |
| 3835 | - return _this; | |
| 3836 | - } | |
| 3837 | - Object.defineProperty(MiddlewareArray, Symbol.species, { | |
| 3838 | - get: function () { | |
| 3839 | - return MiddlewareArray; | |
| 3840 | - }, | |
| 3841 | - enumerable: false, | |
| 3842 | - configurable: true | |
| 3843 | - }); | |
| 3844 | - MiddlewareArray.prototype.concat = function () { | |
| 3845 | - var arr = []; | |
| 3846 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 3847 | - arr[_i] = arguments[_i]; | |
| 3848 | - } | |
| 3849 | - return _super.prototype.concat.apply(this, arr); | |
| 3850 | - }; | |
| 3851 | - MiddlewareArray.prototype.prepend = function () { | |
| 3852 | - var arr = []; | |
| 3853 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 3854 | - arr[_i] = arguments[_i]; | |
| 3855 | - } | |
| 3856 | - if (arr.length === 1 && Array.isArray(arr[0])) { | |
| 3857 | - return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr[0].concat(this))))(); | |
| 3858 | - } | |
| 3859 | - return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr.concat(this))))(); | |
| 3860 | - }; | |
| 3861 | - return MiddlewareArray; | |
| 3862 | -}(Array)); | |
| 3863 | -var EnhancerArray = /** @class */ (function (_super) { | |
| 3864 | - __extends(EnhancerArray, _super); | |
| 3865 | - function EnhancerArray() { | |
| 3866 | - var args = []; | |
| 3867 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 3868 | - args[_i] = arguments[_i]; | |
| 3869 | - } | |
| 3870 | - var _this = _super.apply(this, args) || this; | |
| 3871 | - Object.setPrototypeOf(_this, EnhancerArray.prototype); | |
| 3872 | - return _this; | |
| 3873 | - } | |
| 3874 | - Object.defineProperty(EnhancerArray, Symbol.species, { | |
| 3875 | - get: function () { | |
| 3876 | - return EnhancerArray; | |
| 3877 | - }, | |
| 3878 | - enumerable: false, | |
| 3879 | - configurable: true | |
| 3880 | - }); | |
| 3881 | - EnhancerArray.prototype.concat = function () { | |
| 3882 | - var arr = []; | |
| 3883 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 3884 | - arr[_i] = arguments[_i]; | |
| 3885 | - } | |
| 3886 | - return _super.prototype.concat.apply(this, arr); | |
| 3887 | - }; | |
| 3888 | - EnhancerArray.prototype.prepend = function () { | |
| 3889 | - var arr = []; | |
| 3890 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 3891 | - arr[_i] = arguments[_i]; | |
| 3892 | - } | |
| 3893 | - if (arr.length === 1 && Array.isArray(arr[0])) { | |
| 3894 | - return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr[0].concat(this))))(); | |
| 3895 | - } | |
| 3896 | - return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr.concat(this))))(); | |
| 3897 | - }; | |
| 3898 | - return EnhancerArray; | |
| 3899 | -}(Array)); | |
| 3900 | -function freezeDraftable(val) { | |
| 3901 | - return (0,immer__WEBPACK_IMPORTED_MODULE_0__.isDraftable)(val) ? (0,immer__WEBPACK_IMPORTED_MODULE_0__["default"])(val, function () { | |
| 3902 | - }) : val; | |
| 3903 | -} | |
| 3904 | -// src/immutableStateInvariantMiddleware.ts | |
| 3905 | -var isProduction = "development" === "production"; | |
| 3906 | -var prefix = "Invariant failed"; | |
| 3907 | -function invariant(condition, message) { | |
| 3908 | - if (condition) { | |
| 3909 | - return; | |
| 3910 | - } | |
| 3911 | - if (isProduction) { | |
| 3912 | - throw new Error(prefix); | |
| 3913 | - } | |
| 3914 | - throw new Error(prefix + ": " + (message || "")); | |
| 3915 | -} | |
| 3916 | -function stringify(obj, serializer, indent, decycler) { | |
| 3917 | - return JSON.stringify(obj, getSerialize(serializer, decycler), indent); | |
| 3918 | -} | |
| 3919 | -function getSerialize(serializer, decycler) { | |
| 3920 | - var stack = [], keys = []; | |
| 3921 | - if (!decycler) | |
| 3922 | - decycler = function (_, value) { | |
| 3923 | - if (stack[0] === value) | |
| 3924 | - return "[Circular ~]"; | |
| 3925 | - return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]"; | |
| 3926 | - }; | |
| 3927 | - return function (key, value) { | |
| 3928 | - if (stack.length > 0) { | |
| 3929 | - var thisPos = stack.indexOf(this); | |
| 3930 | - ~thisPos ? stack.splice(thisPos + 1) : stack.push(this); | |
| 3931 | - ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key); | |
| 3932 | - if (~stack.indexOf(value)) | |
| 3933 | - value = decycler.call(this, key, value); | |
| 3934 | - } | |
| 3935 | - else | |
| 3936 | - stack.push(value); | |
| 3937 | - return serializer == null ? value : serializer.call(this, key, value); | |
| 3938 | - }; | |
| 3939 | -} | |
| 3940 | -function isImmutableDefault(value) { | |
| 3941 | - return typeof value !== "object" || value == null || Object.isFrozen(value); | |
| 3942 | -} | |
| 3943 | -function trackForMutations(isImmutable, ignorePaths, obj) { | |
| 3944 | - var trackedProperties = trackProperties(isImmutable, ignorePaths, obj); | |
| 3945 | - return { | |
| 3946 | - detectMutations: function () { | |
| 3947 | - return detectMutations(isImmutable, ignorePaths, trackedProperties, obj); | |
| 3948 | - } | |
| 3949 | - }; | |
| 3950 | -} | |
| 3951 | -function trackProperties(isImmutable, ignorePaths, obj, path, checkedObjects) { | |
| 3952 | - if (ignorePaths === void 0) { ignorePaths = []; } | |
| 3953 | - if (path === void 0) { path = ""; } | |
| 3954 | - if (checkedObjects === void 0) { checkedObjects = new Set(); } | |
| 3955 | - var tracked = { value: obj }; | |
| 3956 | - if (!isImmutable(obj) && !checkedObjects.has(obj)) { | |
| 3957 | - checkedObjects.add(obj); | |
| 3958 | - tracked.children = {}; | |
| 3959 | - for (var key in obj) { | |
| 3960 | - var childPath = path ? path + "." + key : key; | |
| 3961 | - if (ignorePaths.length && ignorePaths.indexOf(childPath) !== -1) { | |
| 3962 | - continue; | |
| 3963 | - } | |
| 3964 | - tracked.children[key] = trackProperties(isImmutable, ignorePaths, obj[key], childPath); | |
| 3965 | - } | |
| 3966 | - } | |
| 3967 | - return tracked; | |
| 3968 | -} | |
| 3969 | -function detectMutations(isImmutable, ignoredPaths, trackedProperty, obj, sameParentRef, path) { | |
| 3970 | - if (ignoredPaths === void 0) { ignoredPaths = []; } | |
| 3971 | - if (sameParentRef === void 0) { sameParentRef = false; } | |
| 3972 | - if (path === void 0) { path = ""; } | |
| 3973 | - var prevObj = trackedProperty ? trackedProperty.value : void 0; | |
| 3974 | - var sameRef = prevObj === obj; | |
| 3975 | - if (sameParentRef && !sameRef && !Number.isNaN(obj)) { | |
| 3976 | - return { wasMutated: true, path: path }; | |
| 3977 | - } | |
| 3978 | - if (isImmutable(prevObj) || isImmutable(obj)) { | |
| 3979 | - return { wasMutated: false }; | |
| 3980 | - } | |
| 3981 | - var keysToDetect = {}; | |
| 3982 | - for (var key in trackedProperty.children) { | |
| 3983 | - keysToDetect[key] = true; | |
| 3984 | - } | |
| 3985 | - for (var key in obj) { | |
| 3986 | - keysToDetect[key] = true; | |
| 3987 | - } | |
| 3988 | - var hasIgnoredPaths = ignoredPaths.length > 0; | |
| 3989 | - var _loop_1 = function (key) { | |
| 3990 | - var nestedPath = path ? path + "." + key : key; | |
| 3991 | - if (hasIgnoredPaths) { | |
| 3992 | - var hasMatches = ignoredPaths.some(function (ignored) { | |
| 3993 | - if (ignored instanceof RegExp) { | |
| 3994 | - return ignored.test(nestedPath); | |
| 3995 | - } | |
| 3996 | - return nestedPath === ignored; | |
| 3997 | - }); | |
| 3998 | - if (hasMatches) { | |
| 3999 | - return "continue"; | |
| 4000 | - } | |
| 4001 | - } | |
| 4002 | - var result = detectMutations(isImmutable, ignoredPaths, trackedProperty.children[key], obj[key], sameRef, nestedPath); | |
| 4003 | - if (result.wasMutated) { | |
| 4004 | - return { value: result }; | |
| 4005 | - } | |
| 4006 | - }; | |
| 4007 | - for (var key in keysToDetect) { | |
| 4008 | - var state_1 = _loop_1(key); | |
| 4009 | - if (typeof state_1 === "object") | |
| 4010 | - return state_1.value; | |
| 4011 | - } | |
| 4012 | - return { wasMutated: false }; | |
| 4013 | -} | |
| 4014 | -function createImmutableStateInvariantMiddleware(options) { | |
| 4015 | - if (options === void 0) { options = {}; } | |
| 4016 | - if (false) // removed by dead control flow | |
| 4017 | -{} | |
| 4018 | - var _c = options.isImmutable, isImmutable = _c === void 0 ? isImmutableDefault : _c, ignoredPaths = options.ignoredPaths, _d = options.warnAfter, warnAfter = _d === void 0 ? 32 : _d, ignore = options.ignore; | |
| 4019 | - ignoredPaths = ignoredPaths || ignore; | |
| 4020 | - var track = trackForMutations.bind(null, isImmutable, ignoredPaths); | |
| 4021 | - return function (_c) { | |
| 4022 | - var getState = _c.getState; | |
| 4023 | - var state = getState(); | |
| 4024 | - var tracker = track(state); | |
| 4025 | - var result; | |
| 4026 | - return function (next) { return function (action) { | |
| 4027 | - var measureUtils = getTimeMeasureUtils(warnAfter, "ImmutableStateInvariantMiddleware"); | |
| 4028 | - measureUtils.measureTime(function () { | |
| 4029 | - state = getState(); | |
| 4030 | - result = tracker.detectMutations(); | |
| 4031 | - tracker = track(state); | |
| 4032 | - invariant(!result.wasMutated, "A state mutation was detected between dispatches, in the path '" + (result.path || "") + "'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)"); | |
| 4033 | - }); | |
| 4034 | - var dispatchedAction = next(action); | |
| 4035 | - measureUtils.measureTime(function () { | |
| 4036 | - state = getState(); | |
| 4037 | - result = tracker.detectMutations(); | |
| 4038 | - tracker = track(state); | |
| 4039 | - result.wasMutated && invariant(!result.wasMutated, "A state mutation was detected inside a dispatch, in the path: " + (result.path || "") + ". Take a look at the reducer(s) handling the action " + stringify(action) + ". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)"); | |
| 4040 | - }); | |
| 4041 | - measureUtils.warnIfExceeded(); | |
| 4042 | - return dispatchedAction; | |
| 4043 | - }; }; | |
| 4044 | - }; | |
| 4045 | -} | |
| 4046 | -// src/serializableStateInvariantMiddleware.ts | |
| 4047 | -function isPlain(val) { | |
| 4048 | - var type = typeof val; | |
| 4049 | - return val == null || type === "string" || type === "boolean" || type === "number" || Array.isArray(val) || isPlainObject(val); | |
| 4050 | -} | |
| 4051 | -function findNonSerializableValue(value, path, isSerializable, getEntries, ignoredPaths, cache) { | |
| 4052 | - if (path === void 0) { path = ""; } | |
| 4053 | - if (isSerializable === void 0) { isSerializable = isPlain; } | |
| 4054 | - if (ignoredPaths === void 0) { ignoredPaths = []; } | |
| 4055 | - var foundNestedSerializable; | |
| 4056 | - if (!isSerializable(value)) { | |
| 4057 | - return { | |
| 4058 | - keyPath: path || "<root>", | |
| 4059 | - value: value | |
| 4060 | - }; | |
| 4061 | - } | |
| 4062 | - if (typeof value !== "object" || value === null) { | |
| 4063 | - return false; | |
| 4064 | - } | |
| 4065 | - if (cache == null ? void 0 : cache.has(value)) | |
| 4066 | - return false; | |
| 4067 | - var entries = getEntries != null ? getEntries(value) : Object.entries(value); | |
| 4068 | - var hasIgnoredPaths = ignoredPaths.length > 0; | |
| 4069 | - var _loop_2 = function (key, nestedValue) { | |
| 4070 | - var nestedPath = path ? path + "." + key : key; | |
| 4071 | - if (hasIgnoredPaths) { | |
| 4072 | - var hasMatches = ignoredPaths.some(function (ignored) { | |
| 4073 | - if (ignored instanceof RegExp) { | |
| 4074 | - return ignored.test(nestedPath); | |
| 4075 | - } | |
| 4076 | - return nestedPath === ignored; | |
| 4077 | - }); | |
| 4078 | - if (hasMatches) { | |
| 4079 | - return "continue"; | |
| 4080 | - } | |
| 4081 | - } | |
| 4082 | - if (!isSerializable(nestedValue)) { | |
| 4083 | - return { value: { | |
| 4084 | - keyPath: nestedPath, | |
| 4085 | - value: nestedValue | |
| 4086 | - } }; | |
| 4087 | - } | |
| 4088 | - if (typeof nestedValue === "object") { | |
| 4089 | - foundNestedSerializable = findNonSerializableValue(nestedValue, nestedPath, isSerializable, getEntries, ignoredPaths, cache); | |
| 4090 | - if (foundNestedSerializable) { | |
| 4091 | - return { value: foundNestedSerializable }; | |
| 4092 | - } | |
| 4093 | - } | |
| 4094 | - }; | |
| 4095 | - for (var _i = 0, entries_1 = entries; _i < entries_1.length; _i++) { | |
| 4096 | - var _c = entries_1[_i], key = _c[0], nestedValue = _c[1]; | |
| 4097 | - var state_2 = _loop_2(key, nestedValue); | |
| 4098 | - if (typeof state_2 === "object") | |
| 4099 | - return state_2.value; | |
| 4100 | - } | |
| 4101 | - if (cache && isNestedFrozen(value)) | |
| 4102 | - cache.add(value); | |
| 4103 | - return false; | |
| 4104 | -} | |
| 4105 | -function isNestedFrozen(value) { | |
| 4106 | - if (!Object.isFrozen(value)) | |
| 4107 | - return false; | |
| 4108 | - for (var _i = 0, _c = Object.values(value); _i < _c.length; _i++) { | |
| 4109 | - var nestedValue = _c[_i]; | |
| 4110 | - if (typeof nestedValue !== "object" || nestedValue === null) | |
| 4111 | - continue; | |
| 4112 | - if (!isNestedFrozen(nestedValue)) | |
| 4113 | - return false; | |
| 4114 | - } | |
| 4115 | - return true; | |
| 4116 | -} | |
| 4117 | -function createSerializableStateInvariantMiddleware(options) { | |
| 4118 | - if (options === void 0) { options = {}; } | |
| 4119 | - if (false) // removed by dead control flow | |
| 4120 | -{} | |
| 4121 | - var _c = options.isSerializable, isSerializable = _c === void 0 ? isPlain : _c, getEntries = options.getEntries, _d = options.ignoredActions, ignoredActions = _d === void 0 ? [] : _d, _e = options.ignoredActionPaths, ignoredActionPaths = _e === void 0 ? ["meta.arg", "meta.baseQueryMeta"] : _e, _f = options.ignoredPaths, ignoredPaths = _f === void 0 ? [] : _f, _g = options.warnAfter, warnAfter = _g === void 0 ? 32 : _g, _h = options.ignoreState, ignoreState = _h === void 0 ? false : _h, _j = options.ignoreActions, ignoreActions = _j === void 0 ? false : _j, _k = options.disableCache, disableCache = _k === void 0 ? false : _k; | |
| 4122 | - var cache = !disableCache && WeakSet ? new WeakSet() : void 0; | |
| 4123 | - return function (storeAPI) { return function (next) { return function (action) { | |
| 4124 | - var result = next(action); | |
| 4125 | - var measureUtils = getTimeMeasureUtils(warnAfter, "SerializableStateInvariantMiddleware"); | |
| 4126 | - if (!ignoreActions && !(ignoredActions.length && ignoredActions.indexOf(action.type) !== -1)) { | |
| 4127 | - measureUtils.measureTime(function () { | |
| 4128 | - var foundActionNonSerializableValue = findNonSerializableValue(action, "", isSerializable, getEntries, ignoredActionPaths, cache); | |
| 4129 | - if (foundActionNonSerializableValue) { | |
| 4130 | - var keyPath = foundActionNonSerializableValue.keyPath, value = foundActionNonSerializableValue.value; | |
| 4131 | - console.error("A non-serializable value was detected in an action, in the path: `" + keyPath + "`. Value:", value, "\nTake a look at the logic that dispatched this action: ", action, "\n(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)", "\n(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)"); | |
| 4132 | - } | |
| 4133 | - }); | |
| 4134 | - } | |
| 4135 | - if (!ignoreState) { | |
| 4136 | - measureUtils.measureTime(function () { | |
| 4137 | - var state = storeAPI.getState(); | |
| 4138 | - var foundStateNonSerializableValue = findNonSerializableValue(state, "", isSerializable, getEntries, ignoredPaths, cache); | |
| 4139 | - if (foundStateNonSerializableValue) { | |
| 4140 | - var keyPath = foundStateNonSerializableValue.keyPath, value = foundStateNonSerializableValue.value; | |
| 4141 | - console.error("A non-serializable value was detected in the state, in the path: `" + keyPath + "`. Value:", value, "\nTake a look at the reducer(s) handling this action type: " + action.type + ".\n(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)"); | |
| 4142 | - } | |
| 4143 | - }); | |
| 4144 | - measureUtils.warnIfExceeded(); | |
| 4145 | - } | |
| 4146 | - return result; | |
| 4147 | - }; }; }; | |
| 4148 | -} | |
| 4149 | -// src/getDefaultMiddleware.ts | |
| 4150 | -function isBoolean(x) { | |
| 4151 | - return typeof x === "boolean"; | |
| 4152 | -} | |
| 4153 | -function curryGetDefaultMiddleware() { | |
| 4154 | - return function curriedGetDefaultMiddleware(options) { | |
| 4155 | - return getDefaultMiddleware(options); | |
| 4156 | - }; | |
| 4157 | -} | |
| 4158 | -function getDefaultMiddleware(options) { | |
| 4159 | - if (options === void 0) { options = {}; } | |
| 4160 | - var _c = options.thunk, thunk = _c === void 0 ? true : _c, _d = options.immutableCheck, immutableCheck = _d === void 0 ? true : _d, _e = options.serializableCheck, serializableCheck = _e === void 0 ? true : _e, _f = options.actionCreatorCheck, actionCreatorCheck = _f === void 0 ? true : _f; | |
| 4161 | - var middlewareArray = new MiddlewareArray(); | |
| 4162 | - if (thunk) { | |
| 4163 | - if (isBoolean(thunk)) { | |
| 4164 | - middlewareArray.push(redux_thunk__WEBPACK_IMPORTED_MODULE_3__["default"]); | |
| 4165 | - } | |
| 4166 | - else { | |
| 4167 | - middlewareArray.push(redux_thunk__WEBPACK_IMPORTED_MODULE_3__["default"].withExtraArgument(thunk.extraArgument)); | |
| 4168 | - } | |
| 4169 | - } | |
| 4170 | - if (true) { | |
| 4171 | - if (immutableCheck) { | |
| 4172 | - var immutableOptions = {}; | |
| 4173 | - if (!isBoolean(immutableCheck)) { | |
| 4174 | - immutableOptions = immutableCheck; | |
| 4175 | - } | |
| 4176 | - middlewareArray.unshift(createImmutableStateInvariantMiddleware(immutableOptions)); | |
| 4177 | - } | |
| 4178 | - if (serializableCheck) { | |
| 4179 | - var serializableOptions = {}; | |
| 4180 | - if (!isBoolean(serializableCheck)) { | |
| 4181 | - serializableOptions = serializableCheck; | |
| 4182 | - } | |
| 4183 | - middlewareArray.push(createSerializableStateInvariantMiddleware(serializableOptions)); | |
| 4184 | - } | |
| 4185 | - if (actionCreatorCheck) { | |
| 4186 | - var actionCreatorOptions = {}; | |
| 4187 | - if (!isBoolean(actionCreatorCheck)) { | |
| 4188 | - actionCreatorOptions = actionCreatorCheck; | |
| 4189 | - } | |
| 4190 | - middlewareArray.unshift(createActionCreatorInvariantMiddleware(actionCreatorOptions)); | |
| 4191 | - } | |
| 4192 | - } | |
| 4193 | - return middlewareArray; | |
| 4194 | -} | |
| 4195 | -// src/configureStore.ts | |
| 4196 | -var IS_PRODUCTION = "development" === "production"; | |
| 4197 | -function configureStore(options) { | |
| 4198 | - var curriedGetDefaultMiddleware = curryGetDefaultMiddleware(); | |
| 4199 | - var _c = options || {}, _d = _c.reducer, reducer = _d === void 0 ? void 0 : _d, _e = _c.middleware, middleware = _e === void 0 ? curriedGetDefaultMiddleware() : _e, _f = _c.devTools, devTools = _f === void 0 ? true : _f, _g = _c.preloadedState, preloadedState = _g === void 0 ? void 0 : _g, _h = _c.enhancers, enhancers = _h === void 0 ? void 0 : _h; | |
| 4200 | - var rootReducer; | |
| 4201 | - if (typeof reducer === "function") { | |
| 4202 | - rootReducer = reducer; | |
| 4203 | - } | |
| 4204 | - else if (isPlainObject(reducer)) { | |
| 4205 | - rootReducer = (0,redux__WEBPACK_IMPORTED_MODULE_1__.combineReducers)(reducer); | |
| 4206 | - } | |
| 4207 | - else { | |
| 4208 | - throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers'); | |
| 4209 | - } | |
| 4210 | - var finalMiddleware = middleware; | |
| 4211 | - if (typeof finalMiddleware === "function") { | |
| 4212 | - finalMiddleware = finalMiddleware(curriedGetDefaultMiddleware); | |
| 4213 | - if (!IS_PRODUCTION && !Array.isArray(finalMiddleware)) { | |
| 4214 | - throw new Error("when using a middleware builder function, an array of middleware must be returned"); | |
| 4215 | - } | |
| 4216 | - } | |
| 4217 | - if (!IS_PRODUCTION && finalMiddleware.some(function (item) { return typeof item !== "function"; })) { | |
| 4218 | - throw new Error("each middleware provided to configureStore must be a function"); | |
| 4219 | - } | |
| 4220 | - var middlewareEnhancer = redux__WEBPACK_IMPORTED_MODULE_1__.applyMiddleware.apply(void 0, finalMiddleware); | |
| 4221 | - var finalCompose = redux__WEBPACK_IMPORTED_MODULE_1__.compose; | |
| 4222 | - if (devTools) { | |
| 4223 | - finalCompose = composeWithDevTools(__spreadValues({ | |
| 4224 | - trace: !IS_PRODUCTION | |
| 4225 | - }, typeof devTools === "object" && devTools)); | |
| 4226 | - } | |
| 4227 | - var defaultEnhancers = new EnhancerArray(middlewareEnhancer); | |
| 4228 | - var storeEnhancers = defaultEnhancers; | |
| 4229 | - if (Array.isArray(enhancers)) { | |
| 4230 | - storeEnhancers = __spreadArray([middlewareEnhancer], enhancers); | |
| 4231 | - } | |
| 4232 | - else if (typeof enhancers === "function") { | |
| 4233 | - storeEnhancers = enhancers(defaultEnhancers); | |
| 4234 | - } | |
| 4235 | - var composedEnhancer = finalCompose.apply(void 0, storeEnhancers); | |
| 4236 | - return (0,redux__WEBPACK_IMPORTED_MODULE_1__.createStore)(rootReducer, preloadedState, composedEnhancer); | |
| 4237 | -} | |
| 4238 | -// src/createReducer.ts | |
| 4239 | - | |
| 4240 | -// src/mapBuilders.ts | |
| 4241 | -function executeReducerBuilderCallback(builderCallback) { | |
| 4242 | - var actionsMap = {}; | |
| 4243 | - var actionMatchers = []; | |
| 4244 | - var defaultCaseReducer; | |
| 4245 | - var builder = { | |
| 4246 | - addCase: function (typeOrActionCreator, reducer) { | |
| 4247 | - if (true) { | |
| 4248 | - if (actionMatchers.length > 0) { | |
| 4249 | - throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`"); | |
| 4250 | - } | |
| 4251 | - if (defaultCaseReducer) { | |
| 4252 | - throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`"); | |
| 4253 | - } | |
| 4254 | - } | |
| 4255 | - var type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type; | |
| 4256 | - if (!type) { | |
| 4257 | - throw new Error("`builder.addCase` cannot be called with an empty action type"); | |
| 4258 | - } | |
| 4259 | - if (type in actionsMap) { | |
| 4260 | - throw new Error("`builder.addCase` cannot be called with two reducers for the same action type"); | |
| 4261 | - } | |
| 4262 | - actionsMap[type] = reducer; | |
| 4263 | - return builder; | |
| 4264 | - }, | |
| 4265 | - addMatcher: function (matcher, reducer) { | |
| 4266 | - if (true) { | |
| 4267 | - if (defaultCaseReducer) { | |
| 4268 | - throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`"); | |
| 4269 | - } | |
| 4270 | - } | |
| 4271 | - actionMatchers.push({ matcher: matcher, reducer: reducer }); | |
| 4272 | - return builder; | |
| 4273 | - }, | |
| 4274 | - addDefaultCase: function (reducer) { | |
| 4275 | - if (true) { | |
| 4276 | - if (defaultCaseReducer) { | |
| 4277 | - throw new Error("`builder.addDefaultCase` can only be called once"); | |
| 4278 | - } | |
| 4279 | - } | |
| 4280 | - defaultCaseReducer = reducer; | |
| 4281 | - return builder; | |
| 4282 | - } | |
| 4283 | - }; | |
| 4284 | - builderCallback(builder); | |
| 4285 | - return [actionsMap, actionMatchers, defaultCaseReducer]; | |
| 4286 | -} | |
| 4287 | -// src/createReducer.ts | |
| 4288 | -function isStateFunction(x) { | |
| 4289 | - return typeof x === "function"; | |
| 4290 | -} | |
| 4291 | -var hasWarnedAboutObjectNotation = false; | |
| 4292 | -function createReducer(initialState, mapOrBuilderCallback, actionMatchers, defaultCaseReducer) { | |
| 4293 | - if (actionMatchers === void 0) { actionMatchers = []; } | |
| 4294 | - if (true) { | |
| 4295 | - if (typeof mapOrBuilderCallback === "object") { | |
| 4296 | - if (!hasWarnedAboutObjectNotation) { | |
| 4297 | - hasWarnedAboutObjectNotation = true; | |
| 4298 | - console.warn("The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer"); | |
| 4299 | - } | |
| 4300 | - } | |
| 4301 | - } | |
| 4302 | - var _c = typeof mapOrBuilderCallback === "function" ? executeReducerBuilderCallback(mapOrBuilderCallback) : [mapOrBuilderCallback, actionMatchers, defaultCaseReducer], actionsMap = _c[0], finalActionMatchers = _c[1], finalDefaultCaseReducer = _c[2]; | |
| 4303 | - var getInitialState; | |
| 4304 | - if (isStateFunction(initialState)) { | |
| 4305 | - getInitialState = function () { return freezeDraftable(initialState()); }; | |
| 4306 | - } | |
| 4307 | - else { | |
| 4308 | - var frozenInitialState_1 = freezeDraftable(initialState); | |
| 4309 | - getInitialState = function () { return frozenInitialState_1; }; | |
| 4310 | - } | |
| 4311 | - function reducer(state, action) { | |
| 4312 | - if (state === void 0) { state = getInitialState(); } | |
| 4313 | - var caseReducers = __spreadArray([ | |
| 4314 | - actionsMap[action.type] | |
| 4315 | - ], finalActionMatchers.filter(function (_c) { | |
| 4316 | - var matcher = _c.matcher; | |
| 4317 | - return matcher(action); | |
| 4318 | - }).map(function (_c) { | |
| 4319 | - var reducer2 = _c.reducer; | |
| 4320 | - return reducer2; | |
| 4321 | - })); | |
| 4322 | - if (caseReducers.filter(function (cr) { return !!cr; }).length === 0) { | |
| 4323 | - caseReducers = [finalDefaultCaseReducer]; | |
| 4324 | - } | |
| 4325 | - return caseReducers.reduce(function (previousState, caseReducer) { | |
| 4326 | - if (caseReducer) { | |
| 4327 | - if ((0,immer__WEBPACK_IMPORTED_MODULE_0__.isDraft)(previousState)) { | |
| 4328 | - var draft = previousState; | |
| 4329 | - var result = caseReducer(draft, action); | |
| 4330 | - if (result === void 0) { | |
| 4331 | - return previousState; | |
| 4332 | - } | |
| 4333 | - return result; | |
| 4334 | - } | |
| 4335 | - else if (!(0,immer__WEBPACK_IMPORTED_MODULE_0__.isDraftable)(previousState)) { | |
| 4336 | - var result = caseReducer(previousState, action); | |
| 4337 | - if (result === void 0) { | |
| 4338 | - if (previousState === null) { | |
| 4339 | - return previousState; | |
| 4340 | - } | |
| 4341 | - throw Error("A case reducer on a non-draftable value must not return undefined"); | |
| 4342 | - } | |
| 4343 | - return result; | |
| 4344 | - } | |
| 4345 | - else { | |
| 4346 | - return (0,immer__WEBPACK_IMPORTED_MODULE_0__["default"])(previousState, function (draft) { | |
| 4347 | - return caseReducer(draft, action); | |
| 4348 | - }); | |
| 4349 | - } | |
| 4350 | - } | |
| 4351 | - return previousState; | |
| 4352 | - }, state); | |
| 4353 | - } | |
| 4354 | - reducer.getInitialState = getInitialState; | |
| 4355 | - return reducer; | |
| 4356 | -} | |
| 4357 | -// src/createSlice.ts | |
| 4358 | -var hasWarnedAboutObjectNotation2 = false; | |
| 4359 | -function getType2(slice, actionKey) { | |
| 4360 | - return slice + "/" + actionKey; | |
| 4361 | -} | |
| 4362 | -function createSlice(options) { | |
| 4363 | - var name = options.name; | |
| 4364 | - if (!name) { | |
| 4365 | - throw new Error("`name` is a required option for createSlice"); | |
| 4366 | - } | |
| 4367 | - if (typeof process !== "undefined" && "development" === "development") { | |
| 4368 | - if (options.initialState === void 0) { | |
| 4369 | - console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`"); | |
| 4370 | - } | |
| 4371 | - } | |
| 4372 | - var initialState = typeof options.initialState == "function" ? options.initialState : freezeDraftable(options.initialState); | |
| 4373 | - var reducers = options.reducers || {}; | |
| 4374 | - var reducerNames = Object.keys(reducers); | |
| 4375 | - var sliceCaseReducersByName = {}; | |
| 4376 | - var sliceCaseReducersByType = {}; | |
| 4377 | - var actionCreators = {}; | |
| 4378 | - reducerNames.forEach(function (reducerName) { | |
| 4379 | - var maybeReducerWithPrepare = reducers[reducerName]; | |
| 4380 | - var type = getType2(name, reducerName); | |
| 4381 | - var caseReducer; | |
| 4382 | - var prepareCallback; | |
| 4383 | - if ("reducer" in maybeReducerWithPrepare) { | |
| 4384 | - caseReducer = maybeReducerWithPrepare.reducer; | |
| 4385 | - prepareCallback = maybeReducerWithPrepare.prepare; | |
| 4386 | - } | |
| 4387 | - else { | |
| 4388 | - caseReducer = maybeReducerWithPrepare; | |
| 4389 | - } | |
| 4390 | - sliceCaseReducersByName[reducerName] = caseReducer; | |
| 4391 | - sliceCaseReducersByType[type] = caseReducer; | |
| 4392 | - actionCreators[reducerName] = prepareCallback ? createAction(type, prepareCallback) : createAction(type); | |
| 4393 | - }); | |
| 4394 | - function buildReducer() { | |
| 4395 | - if (true) { | |
| 4396 | - if (typeof options.extraReducers === "object") { | |
| 4397 | - if (!hasWarnedAboutObjectNotation2) { | |
| 4398 | - hasWarnedAboutObjectNotation2 = true; | |
| 4399 | - console.warn("The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice"); | |
| 4400 | - } | |
| 4401 | - } | |
| 4402 | - } | |
| 4403 | - var _c = typeof options.extraReducers === "function" ? executeReducerBuilderCallback(options.extraReducers) : [options.extraReducers], _d = _c[0], extraReducers = _d === void 0 ? {} : _d, _e = _c[1], actionMatchers = _e === void 0 ? [] : _e, _f = _c[2], defaultCaseReducer = _f === void 0 ? void 0 : _f; | |
| 4404 | - var finalCaseReducers = __spreadValues(__spreadValues({}, extraReducers), sliceCaseReducersByType); | |
| 4405 | - return createReducer(initialState, function (builder) { | |
| 4406 | - for (var key in finalCaseReducers) { | |
| 4407 | - builder.addCase(key, finalCaseReducers[key]); | |
| 4408 | - } | |
| 4409 | - for (var _i = 0, actionMatchers_1 = actionMatchers; _i < actionMatchers_1.length; _i++) { | |
| 4410 | - var m = actionMatchers_1[_i]; | |
| 4411 | - builder.addMatcher(m.matcher, m.reducer); | |
| 4412 | - } | |
| 4413 | - if (defaultCaseReducer) { | |
| 4414 | - builder.addDefaultCase(defaultCaseReducer); | |
| 4415 | - } | |
| 4416 | - }); | |
| 4417 | - } | |
| 4418 | - var _reducer; | |
| 4419 | - return { | |
| 4420 | - name: name, | |
| 4421 | - reducer: function (state, action) { | |
| 4422 | - if (!_reducer) | |
| 4423 | - _reducer = buildReducer(); | |
| 4424 | - return _reducer(state, action); | |
| 4425 | - }, | |
| 4426 | - actions: actionCreators, | |
| 4427 | - caseReducers: sliceCaseReducersByName, | |
| 4428 | - getInitialState: function () { | |
| 4429 | - if (!_reducer) | |
| 4430 | - _reducer = buildReducer(); | |
| 4431 | - return _reducer.getInitialState(); | |
| 4432 | - } | |
| 4433 | - }; | |
| 4434 | -} | |
| 4435 | -// src/entities/entity_state.ts | |
| 4436 | -function getInitialEntityState() { | |
| 4437 | - return { | |
| 4438 | - ids: [], | |
| 4439 | - entities: {} | |
| 4440 | - }; | |
| 4441 | -} | |
| 4442 | -function createInitialStateFactory() { | |
| 4443 | - function getInitialState(additionalState) { | |
| 4444 | - if (additionalState === void 0) { additionalState = {}; } | |
| 4445 | - return Object.assign(getInitialEntityState(), additionalState); | |
| 4446 | - } | |
| 4447 | - return { getInitialState: getInitialState }; | |
| 4448 | -} | |
| 4449 | -// src/entities/state_selectors.ts | |
| 4450 | -function createSelectorsFactory() { | |
| 4451 | - function getSelectors(selectState) { | |
| 4452 | - var selectIds = function (state) { return state.ids; }; | |
| 4453 | - var selectEntities = function (state) { return state.entities; }; | |
| 4454 | - var selectAll = createDraftSafeSelector(selectIds, selectEntities, function (ids, entities) { return ids.map(function (id) { return entities[id]; }); }); | |
| 4455 | - var selectId = function (_, id) { return id; }; | |
| 4456 | - var selectById = function (entities, id) { return entities[id]; }; | |
| 4457 | - var selectTotal = createDraftSafeSelector(selectIds, function (ids) { return ids.length; }); | |
| 4458 | - if (!selectState) { | |
| 4459 | - return { | |
| 4460 | - selectIds: selectIds, | |
| 4461 | - selectEntities: selectEntities, | |
| 4462 | - selectAll: selectAll, | |
| 4463 | - selectTotal: selectTotal, | |
| 4464 | - selectById: createDraftSafeSelector(selectEntities, selectId, selectById) | |
| 4465 | - }; | |
| 4466 | - } | |
| 4467 | - var selectGlobalizedEntities = createDraftSafeSelector(selectState, selectEntities); | |
| 4468 | - return { | |
| 4469 | - selectIds: createDraftSafeSelector(selectState, selectIds), | |
| 4470 | - selectEntities: selectGlobalizedEntities, | |
| 4471 | - selectAll: createDraftSafeSelector(selectState, selectAll), | |
| 4472 | - selectTotal: createDraftSafeSelector(selectState, selectTotal), | |
| 4473 | - selectById: createDraftSafeSelector(selectGlobalizedEntities, selectId, selectById) | |
| 4474 | - }; | |
| 4475 | - } | |
| 4476 | - return { getSelectors: getSelectors }; | |
| 4477 | -} | |
| 4478 | -// src/entities/state_adapter.ts | |
| 4479 | - | |
| 4480 | -function createSingleArgumentStateOperator(mutator) { | |
| 4481 | - var operator = createStateOperator(function (_, state) { return mutator(state); }); | |
| 4482 | - return function operation(state) { | |
| 4483 | - return operator(state, void 0); | |
| 4484 | - }; | |
| 4485 | -} | |
| 4486 | -function createStateOperator(mutator) { | |
| 4487 | - return function operation(state, arg) { | |
| 4488 | - function isPayloadActionArgument(arg2) { | |
| 4489 | - return isFSA(arg2); | |
| 4490 | - } | |
| 4491 | - var runMutator = function (draft) { | |
| 4492 | - if (isPayloadActionArgument(arg)) { | |
| 4493 | - mutator(arg.payload, draft); | |
| 4494 | - } | |
| 4495 | - else { | |
| 4496 | - mutator(arg, draft); | |
| 4497 | - } | |
| 4498 | - }; | |
| 4499 | - if ((0,immer__WEBPACK_IMPORTED_MODULE_0__.isDraft)(state)) { | |
| 4500 | - runMutator(state); | |
| 4501 | - return state; | |
| 4502 | - } | |
| 4503 | - else { | |
| 4504 | - return (0,immer__WEBPACK_IMPORTED_MODULE_0__["default"])(state, runMutator); | |
| 4505 | - } | |
| 4506 | - }; | |
| 4507 | -} | |
| 4508 | -// src/entities/utils.ts | |
| 4509 | -function selectIdValue(entity, selectId) { | |
| 4510 | - var key = selectId(entity); | |
| 4511 | - if ( true && key === void 0) { | |
| 4512 | - console.warn("The entity passed to the `selectId` implementation returned undefined.", "You should probably provide your own `selectId` implementation.", "The entity that was passed:", entity, "The `selectId` implementation:", selectId.toString()); | |
| 4513 | - } | |
| 4514 | - return key; | |
| 4515 | -} | |
| 4516 | -function ensureEntitiesArray(entities) { | |
| 4517 | - if (!Array.isArray(entities)) { | |
| 4518 | - entities = Object.values(entities); | |
| 4519 | - } | |
| 4520 | - return entities; | |
| 4521 | -} | |
| 4522 | -function splitAddedUpdatedEntities(newEntities, selectId, state) { | |
| 4523 | - newEntities = ensureEntitiesArray(newEntities); | |
| 4524 | - var added = []; | |
| 4525 | - var updated = []; | |
| 4526 | - for (var _i = 0, newEntities_1 = newEntities; _i < newEntities_1.length; _i++) { | |
| 4527 | - var entity = newEntities_1[_i]; | |
| 4528 | - var id = selectIdValue(entity, selectId); | |
| 4529 | - if (id in state.entities) { | |
| 4530 | - updated.push({ id: id, changes: entity }); | |
| 4531 | - } | |
| 4532 | - else { | |
| 4533 | - added.push(entity); | |
| 4534 | - } | |
| 4535 | - } | |
| 4536 | - return [added, updated]; | |
| 4537 | -} | |
| 4538 | -// src/entities/unsorted_state_adapter.ts | |
| 4539 | -function createUnsortedStateAdapter(selectId) { | |
| 4540 | - function addOneMutably(entity, state) { | |
| 4541 | - var key = selectIdValue(entity, selectId); | |
| 4542 | - if (key in state.entities) { | |
| 4543 | - return; | |
| 4544 | - } | |
| 4545 | - state.ids.push(key); | |
| 4546 | - state.entities[key] = entity; | |
| 4547 | - } | |
| 4548 | - function addManyMutably(newEntities, state) { | |
| 4549 | - newEntities = ensureEntitiesArray(newEntities); | |
| 4550 | - for (var _i = 0, newEntities_2 = newEntities; _i < newEntities_2.length; _i++) { | |
| 4551 | - var entity = newEntities_2[_i]; | |
| 4552 | - addOneMutably(entity, state); | |
| 4553 | - } | |
| 4554 | - } | |
| 4555 | - function setOneMutably(entity, state) { | |
| 4556 | - var key = selectIdValue(entity, selectId); | |
| 4557 | - if (!(key in state.entities)) { | |
| 4558 | - state.ids.push(key); | |
| 4559 | - } | |
| 4560 | - state.entities[key] = entity; | |
| 4561 | - } | |
| 4562 | - function setManyMutably(newEntities, state) { | |
| 4563 | - newEntities = ensureEntitiesArray(newEntities); | |
| 4564 | - for (var _i = 0, newEntities_3 = newEntities; _i < newEntities_3.length; _i++) { | |
| 4565 | - var entity = newEntities_3[_i]; | |
| 4566 | - setOneMutably(entity, state); | |
| 4567 | - } | |
| 4568 | - } | |
| 4569 | - function setAllMutably(newEntities, state) { | |
| 4570 | - newEntities = ensureEntitiesArray(newEntities); | |
| 4571 | - state.ids = []; | |
| 4572 | - state.entities = {}; | |
| 4573 | - addManyMutably(newEntities, state); | |
| 4574 | - } | |
| 4575 | - function removeOneMutably(key, state) { | |
| 4576 | - return removeManyMutably([key], state); | |
| 4577 | - } | |
| 4578 | - function removeManyMutably(keys, state) { | |
| 4579 | - var didMutate = false; | |
| 4580 | - keys.forEach(function (key) { | |
| 4581 | - if (key in state.entities) { | |
| 4582 | - delete state.entities[key]; | |
| 4583 | - didMutate = true; | |
| 4584 | - } | |
| 4585 | - }); | |
| 4586 | - if (didMutate) { | |
| 4587 | - state.ids = state.ids.filter(function (id) { return id in state.entities; }); | |
| 4588 | - } | |
| 4589 | - } | |
| 4590 | - function removeAllMutably(state) { | |
| 4591 | - Object.assign(state, { | |
| 4592 | - ids: [], | |
| 4593 | - entities: {} | |
| 4594 | - }); | |
| 4595 | - } | |
| 4596 | - function takeNewKey(keys, update, state) { | |
| 4597 | - var original2 = state.entities[update.id]; | |
| 4598 | - var updated = Object.assign({}, original2, update.changes); | |
| 4599 | - var newKey = selectIdValue(updated, selectId); | |
| 4600 | - var hasNewKey = newKey !== update.id; | |
| 4601 | - if (hasNewKey) { | |
| 4602 | - keys[update.id] = newKey; | |
| 4603 | - delete state.entities[update.id]; | |
| 4604 | - } | |
| 4605 | - state.entities[newKey] = updated; | |
| 4606 | - return hasNewKey; | |
| 4607 | - } | |
| 4608 | - function updateOneMutably(update, state) { | |
| 4609 | - return updateManyMutably([update], state); | |
| 4610 | - } | |
| 4611 | - function updateManyMutably(updates, state) { | |
| 4612 | - var newKeys = {}; | |
| 4613 | - var updatesPerEntity = {}; | |
| 4614 | - updates.forEach(function (update) { | |
| 4615 | - if (update.id in state.entities) { | |
| 4616 | - updatesPerEntity[update.id] = { | |
| 4617 | - id: update.id, | |
| 4618 | - changes: __spreadValues(__spreadValues({}, updatesPerEntity[update.id] ? updatesPerEntity[update.id].changes : null), update.changes) | |
| 4619 | - }; | |
| 4620 | - } | |
| 4621 | - }); | |
| 4622 | - updates = Object.values(updatesPerEntity); | |
| 4623 | - var didMutateEntities = updates.length > 0; | |
| 4624 | - if (didMutateEntities) { | |
| 4625 | - var didMutateIds = updates.filter(function (update) { return takeNewKey(newKeys, update, state); }).length > 0; | |
| 4626 | - if (didMutateIds) { | |
| 4627 | - state.ids = Object.keys(state.entities); | |
| 4628 | - } | |
| 4629 | - } | |
| 4630 | - } | |
| 4631 | - function upsertOneMutably(entity, state) { | |
| 4632 | - return upsertManyMutably([entity], state); | |
| 4633 | - } | |
| 4634 | - function upsertManyMutably(newEntities, state) { | |
| 4635 | - var _c = splitAddedUpdatedEntities(newEntities, selectId, state), added = _c[0], updated = _c[1]; | |
| 4636 | - updateManyMutably(updated, state); | |
| 4637 | - addManyMutably(added, state); | |
| 4638 | - } | |
| 4639 | - return { | |
| 4640 | - removeAll: createSingleArgumentStateOperator(removeAllMutably), | |
| 4641 | - addOne: createStateOperator(addOneMutably), | |
| 4642 | - addMany: createStateOperator(addManyMutably), | |
| 4643 | - setOne: createStateOperator(setOneMutably), | |
| 4644 | - setMany: createStateOperator(setManyMutably), | |
| 4645 | - setAll: createStateOperator(setAllMutably), | |
| 4646 | - updateOne: createStateOperator(updateOneMutably), | |
| 4647 | - updateMany: createStateOperator(updateManyMutably), | |
| 4648 | - upsertOne: createStateOperator(upsertOneMutably), | |
| 4649 | - upsertMany: createStateOperator(upsertManyMutably), | |
| 4650 | - removeOne: createStateOperator(removeOneMutably), | |
| 4651 | - removeMany: createStateOperator(removeManyMutably) | |
| 4652 | - }; | |
| 4653 | -} | |
| 4654 | -// src/entities/sorted_state_adapter.ts | |
| 4655 | -function createSortedStateAdapter(selectId, sort) { | |
| 4656 | - var _c = createUnsortedStateAdapter(selectId), removeOne = _c.removeOne, removeMany = _c.removeMany, removeAll = _c.removeAll; | |
| 4657 | - function addOneMutably(entity, state) { | |
| 4658 | - return addManyMutably([entity], state); | |
| 4659 | - } | |
| 4660 | - function addManyMutably(newEntities, state) { | |
| 4661 | - newEntities = ensureEntitiesArray(newEntities); | |
| 4662 | - var models = newEntities.filter(function (model) { return !(selectIdValue(model, selectId) in state.entities); }); | |
| 4663 | - if (models.length !== 0) { | |
| 4664 | - merge(models, state); | |
| 4665 | - } | |
| 4666 | - } | |
| 4667 | - function setOneMutably(entity, state) { | |
| 4668 | - return setManyMutably([entity], state); | |
| 4669 | - } | |
| 4670 | - function setManyMutably(newEntities, state) { | |
| 4671 | - newEntities = ensureEntitiesArray(newEntities); | |
| 4672 | - if (newEntities.length !== 0) { | |
| 4673 | - merge(newEntities, state); | |
| 4674 | - } | |
| 4675 | - } | |
| 4676 | - function setAllMutably(newEntities, state) { | |
| 4677 | - newEntities = ensureEntitiesArray(newEntities); | |
| 4678 | - state.entities = {}; | |
| 4679 | - state.ids = []; | |
| 4680 | - addManyMutably(newEntities, state); | |
| 4681 | - } | |
| 4682 | - function updateOneMutably(update, state) { | |
| 4683 | - return updateManyMutably([update], state); | |
| 4684 | - } | |
| 4685 | - function updateManyMutably(updates, state) { | |
| 4686 | - var appliedUpdates = false; | |
| 4687 | - for (var _i = 0, updates_1 = updates; _i < updates_1.length; _i++) { | |
| 4688 | - var update = updates_1[_i]; | |
| 4689 | - var entity = state.entities[update.id]; | |
| 4690 | - if (!entity) { | |
| 4691 | - continue; | |
| 4692 | - } | |
| 4693 | - appliedUpdates = true; | |
| 4694 | - Object.assign(entity, update.changes); | |
| 4695 | - var newId = selectId(entity); | |
| 4696 | - if (update.id !== newId) { | |
| 4697 | - delete state.entities[update.id]; | |
| 4698 | - state.entities[newId] = entity; | |
| 4699 | - } | |
| 4700 | - } | |
| 4701 | - if (appliedUpdates) { | |
| 4702 | - resortEntities(state); | |
| 4703 | - } | |
| 4704 | - } | |
| 4705 | - function upsertOneMutably(entity, state) { | |
| 4706 | - return upsertManyMutably([entity], state); | |
| 4707 | - } | |
| 4708 | - function upsertManyMutably(newEntities, state) { | |
| 4709 | - var _c = splitAddedUpdatedEntities(newEntities, selectId, state), added = _c[0], updated = _c[1]; | |
| 4710 | - updateManyMutably(updated, state); | |
| 4711 | - addManyMutably(added, state); | |
| 4712 | - } | |
| 4713 | - function areArraysEqual(a, b) { | |
| 4714 | - if (a.length !== b.length) { | |
| 4715 | - return false; | |
| 4716 | - } | |
| 4717 | - for (var i = 0; i < a.length && i < b.length; i++) { | |
| 4718 | - if (a[i] === b[i]) { | |
| 4719 | - continue; | |
| 4720 | - } | |
| 4721 | - return false; | |
| 4722 | - } | |
| 4723 | - return true; | |
| 4724 | - } | |
| 4725 | - function merge(models, state) { | |
| 4726 | - models.forEach(function (model) { | |
| 4727 | - state.entities[selectId(model)] = model; | |
| 4728 | - }); | |
| 4729 | - resortEntities(state); | |
| 4730 | - } | |
| 4731 | - function resortEntities(state) { | |
| 4732 | - var allEntities = Object.values(state.entities); | |
| 4733 | - allEntities.sort(sort); | |
| 4734 | - var newSortedIds = allEntities.map(selectId); | |
| 4735 | - var ids = state.ids; | |
| 4736 | - if (!areArraysEqual(ids, newSortedIds)) { | |
| 4737 | - state.ids = newSortedIds; | |
| 4738 | - } | |
| 4739 | - } | |
| 4740 | - return { | |
| 4741 | - removeOne: removeOne, | |
| 4742 | - removeMany: removeMany, | |
| 4743 | - removeAll: removeAll, | |
| 4744 | - addOne: createStateOperator(addOneMutably), | |
| 4745 | - updateOne: createStateOperator(updateOneMutably), | |
| 4746 | - upsertOne: createStateOperator(upsertOneMutably), | |
| 4747 | - setOne: createStateOperator(setOneMutably), | |
| 4748 | - setMany: createStateOperator(setManyMutably), | |
| 4749 | - setAll: createStateOperator(setAllMutably), | |
| 4750 | - addMany: createStateOperator(addManyMutably), | |
| 4751 | - updateMany: createStateOperator(updateManyMutably), | |
| 4752 | - upsertMany: createStateOperator(upsertManyMutably) | |
| 4753 | - }; | |
| 4754 | -} | |
| 4755 | -// src/entities/create_adapter.ts | |
| 4756 | -function createEntityAdapter(options) { | |
| 4757 | - if (options === void 0) { options = {}; } | |
| 4758 | - var _c = __spreadValues({ | |
| 4759 | - sortComparer: false, | |
| 4760 | - selectId: function (instance) { return instance.id; } | |
| 4761 | - }, options), selectId = _c.selectId, sortComparer = _c.sortComparer; | |
| 4762 | - var stateFactory = createInitialStateFactory(); | |
| 4763 | - var selectorsFactory = createSelectorsFactory(); | |
| 4764 | - var stateAdapter = sortComparer ? createSortedStateAdapter(selectId, sortComparer) : createUnsortedStateAdapter(selectId); | |
| 4765 | - return __spreadValues(__spreadValues(__spreadValues({ | |
| 4766 | - selectId: selectId, | |
| 4767 | - sortComparer: sortComparer | |
| 4768 | - }, stateFactory), selectorsFactory), stateAdapter); | |
| 4769 | -} | |
| 4770 | -// src/nanoid.ts | |
| 4771 | -var urlAlphabet = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"; | |
| 4772 | -var nanoid = function (size) { | |
| 4773 | - if (size === void 0) { size = 21; } | |
| 4774 | - var id = ""; | |
| 4775 | - var i = size; | |
| 4776 | - while (i--) { | |
| 4777 | - id += urlAlphabet[Math.random() * 64 | 0]; | |
| 4778 | - } | |
| 4779 | - return id; | |
| 4780 | -}; | |
| 4781 | -// src/createAsyncThunk.ts | |
| 4782 | -var commonProperties = [ | |
| 4783 | - "name", | |
| 4784 | - "message", | |
| 4785 | - "stack", | |
| 4786 | - "code" | |
| 4787 | -]; | |
| 4788 | -var RejectWithValue = /** @class */ (function () { | |
| 4789 | - function RejectWithValue(payload, meta) { | |
| 4790 | - this.payload = payload; | |
| 4791 | - this.meta = meta; | |
| 4792 | - } | |
| 4793 | - return RejectWithValue; | |
| 4794 | -}()); | |
| 4795 | -var FulfillWithMeta = /** @class */ (function () { | |
| 4796 | - function FulfillWithMeta(payload, meta) { | |
| 4797 | - this.payload = payload; | |
| 4798 | - this.meta = meta; | |
| 4799 | - } | |
| 4800 | - return FulfillWithMeta; | |
| 4801 | -}()); | |
| 4802 | -var miniSerializeError = function (value) { | |
| 4803 | - if (typeof value === "object" && value !== null) { | |
| 4804 | - var simpleError = {}; | |
| 4805 | - for (var _i = 0, commonProperties_1 = commonProperties; _i < commonProperties_1.length; _i++) { | |
| 4806 | - var property = commonProperties_1[_i]; | |
| 4807 | - if (typeof value[property] === "string") { | |
| 4808 | - simpleError[property] = value[property]; | |
| 4809 | - } | |
| 4810 | - } | |
| 4811 | - return simpleError; | |
| 4812 | - } | |
| 4813 | - return { message: String(value) }; | |
| 4814 | -}; | |
| 4815 | -var createAsyncThunk = (function () { | |
| 4816 | - function createAsyncThunk2(typePrefix, payloadCreator, options) { | |
| 4817 | - var fulfilled = createAction(typePrefix + "/fulfilled", function (payload, requestId, arg, meta) { return ({ | |
| 4818 | - payload: payload, | |
| 4819 | - meta: __spreadProps(__spreadValues({}, meta || {}), { | |
| 4820 | - arg: arg, | |
| 4821 | - requestId: requestId, | |
| 4822 | - requestStatus: "fulfilled" | |
| 4823 | - }) | |
| 4824 | - }); }); | |
| 4825 | - var pending = createAction(typePrefix + "/pending", function (requestId, arg, meta) { return ({ | |
| 4826 | - payload: void 0, | |
| 4827 | - meta: __spreadProps(__spreadValues({}, meta || {}), { | |
| 4828 | - arg: arg, | |
| 4829 | - requestId: requestId, | |
| 4830 | - requestStatus: "pending" | |
| 4831 | - }) | |
| 4832 | - }); }); | |
| 4833 | - var rejected = createAction(typePrefix + "/rejected", function (error, requestId, arg, payload, meta) { return ({ | |
| 4834 | - payload: payload, | |
| 4835 | - error: (options && options.serializeError || miniSerializeError)(error || "Rejected"), | |
| 4836 | - meta: __spreadProps(__spreadValues({}, meta || {}), { | |
| 4837 | - arg: arg, | |
| 4838 | - requestId: requestId, | |
| 4839 | - rejectedWithValue: !!payload, | |
| 4840 | - requestStatus: "rejected", | |
| 4841 | - aborted: (error == null ? void 0 : error.name) === "AbortError", | |
| 4842 | - condition: (error == null ? void 0 : error.name) === "ConditionError" | |
| 4843 | - }) | |
| 4844 | - }); }); | |
| 4845 | - var displayedWarning = false; | |
| 4846 | - var AC = typeof AbortController !== "undefined" ? AbortController : /** @class */ (function () { | |
| 4847 | - function class_1() { | |
| 4848 | - this.signal = { | |
| 4849 | - aborted: false, | |
| 4850 | - addEventListener: function () { | |
| 4851 | - }, | |
| 4852 | - dispatchEvent: function () { | |
| 4853 | - return false; | |
| 4854 | - }, | |
| 4855 | - onabort: function () { | |
| 4856 | - }, | |
| 4857 | - removeEventListener: function () { | |
| 4858 | - }, | |
| 4859 | - reason: void 0, | |
| 4860 | - throwIfAborted: function () { | |
| 4861 | - } | |
| 4862 | - }; | |
| 4863 | - } | |
| 4864 | - class_1.prototype.abort = function () { | |
| 4865 | - if (true) { | |
| 4866 | - if (!displayedWarning) { | |
| 4867 | - displayedWarning = true; | |
| 4868 | - console.info("This platform does not implement AbortController. \nIf you want to use the AbortController to react to `abort` events, please consider importing a polyfill like 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'."); | |
| 4869 | - } | |
| 4870 | - } | |
| 4871 | - }; | |
| 4872 | - return class_1; | |
| 4873 | - }()); | |
| 4874 | - function actionCreator(arg) { | |
| 4875 | - return function (dispatch, getState, extra) { | |
| 4876 | - var requestId = (options == null ? void 0 : options.idGenerator) ? options.idGenerator(arg) : nanoid(); | |
| 4877 | - var abortController = new AC(); | |
| 4878 | - var abortReason; | |
| 4879 | - var started = false; | |
| 4880 | - function abort(reason) { | |
| 4881 | - abortReason = reason; | |
| 4882 | - abortController.abort(); | |
| 4883 | - } | |
| 4884 | - var promise2 = function () { | |
| 4885 | - return __async(this, null, function () { | |
| 4886 | - var _a, _b, finalAction, conditionResult, abortedPromise, err_1, skipDispatch; | |
| 4887 | - return __generator(this, function (_c) { | |
| 4888 | - switch (_c.label) { | |
| 4889 | - case 0: | |
| 4890 | - _c.trys.push([0, 4, , 5]); | |
| 4891 | - conditionResult = (_a = options == null ? void 0 : options.condition) == null ? void 0 : _a.call(options, arg, { getState: getState, extra: extra }); | |
| 4892 | - if (!isThenable(conditionResult)) return [3 /*break*/, 2]; | |
| 4893 | - return [4 /*yield*/, conditionResult]; | |
| 4894 | - case 1: | |
| 4895 | - conditionResult = _c.sent(); | |
| 4896 | - _c.label = 2; | |
| 4897 | - case 2: | |
| 4898 | - if (conditionResult === false || abortController.signal.aborted) { | |
| 4899 | - throw { | |
| 4900 | - name: "ConditionError", | |
| 4901 | - message: "Aborted due to condition callback returning false." | |
| 4902 | - }; | |
| 4903 | - } | |
| 4904 | - started = true; | |
| 4905 | - abortedPromise = new Promise(function (_, reject) { return abortController.signal.addEventListener("abort", function () { return reject({ | |
| 4906 | - name: "AbortError", | |
| 4907 | - message: abortReason || "Aborted" | |
| 4908 | - }); }); }); | |
| 4909 | - dispatch(pending(requestId, arg, (_b = options == null ? void 0 : options.getPendingMeta) == null ? void 0 : _b.call(options, { requestId: requestId, arg: arg }, { getState: getState, extra: extra }))); | |
| 4910 | - return [4 /*yield*/, Promise.race([ | |
| 4911 | - abortedPromise, | |
| 4912 | - Promise.resolve(payloadCreator(arg, { | |
| 4913 | - dispatch: dispatch, | |
| 4914 | - getState: getState, | |
| 4915 | - extra: extra, | |
| 4916 | - requestId: requestId, | |
| 4917 | - signal: abortController.signal, | |
| 4918 | - abort: abort, | |
| 4919 | - rejectWithValue: function (value, meta) { | |
| 4920 | - return new RejectWithValue(value, meta); | |
| 4921 | - }, | |
| 4922 | - fulfillWithValue: function (value, meta) { | |
| 4923 | - return new FulfillWithMeta(value, meta); | |
| 4924 | - } | |
| 4925 | - })).then(function (result) { | |
| 4926 | - if (result instanceof RejectWithValue) { | |
| 4927 | - throw result; | |
| 4928 | - } | |
| 4929 | - if (result instanceof FulfillWithMeta) { | |
| 4930 | - return fulfilled(result.payload, requestId, arg, result.meta); | |
| 4931 | - } | |
| 4932 | - return fulfilled(result, requestId, arg); | |
| 4933 | - }) | |
| 4934 | - ])]; | |
| 4935 | - case 3: | |
| 4936 | - finalAction = _c.sent(); | |
| 4937 | - return [3 /*break*/, 5]; | |
| 4938 | - case 4: | |
| 4939 | - err_1 = _c.sent(); | |
| 4940 | - finalAction = err_1 instanceof RejectWithValue ? rejected(null, requestId, arg, err_1.payload, err_1.meta) : rejected(err_1, requestId, arg); | |
| 4941 | - return [3 /*break*/, 5]; | |
| 4942 | - case 5: | |
| 4943 | - skipDispatch = options && !options.dispatchConditionRejection && rejected.match(finalAction) && finalAction.meta.condition; | |
| 4944 | - if (!skipDispatch) { | |
| 4945 | - dispatch(finalAction); | |
| 4946 | - } | |
| 4947 | - return [2 /*return*/, finalAction]; | |
| 4948 | - } | |
| 4949 | - }); | |
| 4950 | - }); | |
| 4951 | - }(); | |
| 4952 | - return Object.assign(promise2, { | |
| 4953 | - abort: abort, | |
| 4954 | - requestId: requestId, | |
| 4955 | - arg: arg, | |
| 4956 | - unwrap: function () { | |
| 4957 | - return promise2.then(unwrapResult); | |
| 4958 | - } | |
| 4959 | - }); | |
| 4960 | - }; | |
| 4961 | - } | |
| 4962 | - return Object.assign(actionCreator, { | |
| 4963 | - pending: pending, | |
| 4964 | - rejected: rejected, | |
| 4965 | - fulfilled: fulfilled, | |
| 4966 | - typePrefix: typePrefix | |
| 4967 | - }); | |
| 4968 | - } | |
| 4969 | - createAsyncThunk2.withTypes = function () { return createAsyncThunk2; }; | |
| 4970 | - return createAsyncThunk2; | |
| 4971 | -})(); | |
| 4972 | -function unwrapResult(action) { | |
| 4973 | - if (action.meta && action.meta.rejectedWithValue) { | |
| 4974 | - throw action.payload; | |
| 4975 | - } | |
| 4976 | - if (action.error) { | |
| 4977 | - throw action.error; | |
| 4978 | - } | |
| 4979 | - return action.payload; | |
| 4980 | -} | |
| 4981 | -function isThenable(value) { | |
| 4982 | - return value !== null && typeof value === "object" && typeof value.then === "function"; | |
| 4983 | -} | |
| 4984 | -// src/matchers.ts | |
| 4985 | -var matches = function (matcher, action) { | |
| 4986 | - if (hasMatchFunction(matcher)) { | |
| 4987 | - return matcher.match(action); | |
| 4988 | - } | |
| 4989 | - else { | |
| 4990 | - return matcher(action); | |
| 4991 | - } | |
| 4992 | -}; | |
| 4993 | -function isAnyOf() { | |
| 4994 | - var matchers = []; | |
| 4995 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 4996 | - matchers[_i] = arguments[_i]; | |
| 4997 | - } | |
| 4998 | - return function (action) { | |
| 4999 | - return matchers.some(function (matcher) { return matches(matcher, action); }); | |
| 5000 | - }; | |
| 5001 | -} | |
| 5002 | -function isAllOf() { | |
| 5003 | - var matchers = []; | |
| 5004 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 5005 | - matchers[_i] = arguments[_i]; | |
| 5006 | - } | |
| 5007 | - return function (action) { | |
| 5008 | - return matchers.every(function (matcher) { return matches(matcher, action); }); | |
| 5009 | - }; | |
| 5010 | -} | |
| 5011 | -function hasExpectedRequestMetadata(action, validStatus) { | |
| 5012 | - if (!action || !action.meta) | |
| 5013 | - return false; | |
| 5014 | - var hasValidRequestId = typeof action.meta.requestId === "string"; | |
| 5015 | - var hasValidRequestStatus = validStatus.indexOf(action.meta.requestStatus) > -1; | |
| 5016 | - return hasValidRequestId && hasValidRequestStatus; | |
| 5017 | -} | |
| 5018 | -function isAsyncThunkArray(a) { | |
| 5019 | - return typeof a[0] === "function" && "pending" in a[0] && "fulfilled" in a[0] && "rejected" in a[0]; | |
| 5020 | -} | |
| 5021 | -function isPending() { | |
| 5022 | - var asyncThunks = []; | |
| 5023 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 5024 | - asyncThunks[_i] = arguments[_i]; | |
| 5025 | - } | |
| 5026 | - if (asyncThunks.length === 0) { | |
| 5027 | - return function (action) { return hasExpectedRequestMetadata(action, ["pending"]); }; | |
| 5028 | - } | |
| 5029 | - if (!isAsyncThunkArray(asyncThunks)) { | |
| 5030 | - return isPending()(asyncThunks[0]); | |
| 5031 | - } | |
| 5032 | - return function (action) { | |
| 5033 | - var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.pending; }); | |
| 5034 | - var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 5035 | - return combinedMatcher(action); | |
| 5036 | - }; | |
| 5037 | -} | |
| 5038 | -function isRejected() { | |
| 5039 | - var asyncThunks = []; | |
| 5040 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 5041 | - asyncThunks[_i] = arguments[_i]; | |
| 5042 | - } | |
| 5043 | - if (asyncThunks.length === 0) { | |
| 5044 | - return function (action) { return hasExpectedRequestMetadata(action, ["rejected"]); }; | |
| 5045 | - } | |
| 5046 | - if (!isAsyncThunkArray(asyncThunks)) { | |
| 5047 | - return isRejected()(asyncThunks[0]); | |
| 5048 | - } | |
| 5049 | - return function (action) { | |
| 5050 | - var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.rejected; }); | |
| 5051 | - var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 5052 | - return combinedMatcher(action); | |
| 5053 | - }; | |
| 5054 | -} | |
| 5055 | -function isRejectedWithValue() { | |
| 5056 | - var asyncThunks = []; | |
| 5057 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 5058 | - asyncThunks[_i] = arguments[_i]; | |
| 5059 | - } | |
| 5060 | - var hasFlag = function (action) { | |
| 5061 | - return action && action.meta && action.meta.rejectedWithValue; | |
| 5062 | - }; | |
| 5063 | - if (asyncThunks.length === 0) { | |
| 5064 | - return function (action) { | |
| 5065 | - var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag); | |
| 5066 | - return combinedMatcher(action); | |
| 5067 | - }; | |
| 5068 | - } | |
| 5069 | - if (!isAsyncThunkArray(asyncThunks)) { | |
| 5070 | - return isRejectedWithValue()(asyncThunks[0]); | |
| 5071 | - } | |
| 5072 | - return function (action) { | |
| 5073 | - var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag); | |
| 5074 | - return combinedMatcher(action); | |
| 5075 | - }; | |
| 5076 | -} | |
| 5077 | -function isFulfilled() { | |
| 5078 | - var asyncThunks = []; | |
| 5079 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 5080 | - asyncThunks[_i] = arguments[_i]; | |
| 5081 | - } | |
| 5082 | - if (asyncThunks.length === 0) { | |
| 5083 | - return function (action) { return hasExpectedRequestMetadata(action, ["fulfilled"]); }; | |
| 5084 | - } | |
| 5085 | - if (!isAsyncThunkArray(asyncThunks)) { | |
| 5086 | - return isFulfilled()(asyncThunks[0]); | |
| 5087 | - } | |
| 5088 | - return function (action) { | |
| 5089 | - var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.fulfilled; }); | |
| 5090 | - var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 5091 | - return combinedMatcher(action); | |
| 5092 | - }; | |
| 5093 | -} | |
| 5094 | -function isAsyncThunkAction() { | |
| 5095 | - var asyncThunks = []; | |
| 5096 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 5097 | - asyncThunks[_i] = arguments[_i]; | |
| 5098 | - } | |
| 5099 | - if (asyncThunks.length === 0) { | |
| 5100 | - return function (action) { return hasExpectedRequestMetadata(action, ["pending", "fulfilled", "rejected"]); }; | |
| 5101 | - } | |
| 5102 | - if (!isAsyncThunkArray(asyncThunks)) { | |
| 5103 | - return isAsyncThunkAction()(asyncThunks[0]); | |
| 5104 | - } | |
| 5105 | - return function (action) { | |
| 5106 | - var matchers = []; | |
| 5107 | - for (var _i = 0, asyncThunks_1 = asyncThunks; _i < asyncThunks_1.length; _i++) { | |
| 5108 | - var asyncThunk = asyncThunks_1[_i]; | |
| 5109 | - matchers.push(asyncThunk.pending, asyncThunk.rejected, asyncThunk.fulfilled); | |
| 5110 | - } | |
| 5111 | - var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 5112 | - return combinedMatcher(action); | |
| 5113 | - }; | |
| 5114 | -} | |
| 5115 | -// src/listenerMiddleware/utils.ts | |
| 5116 | -var assertFunction = function (func, expected) { | |
| 5117 | - if (typeof func !== "function") { | |
| 5118 | - throw new TypeError(expected + " is not a function"); | |
| 5119 | - } | |
| 5120 | -}; | |
| 5121 | -var noop = function () { | |
| 5122 | -}; | |
| 5123 | -var catchRejection = function (promise2, onError) { | |
| 5124 | - if (onError === void 0) { onError = noop; } | |
| 5125 | - promise2.catch(onError); | |
| 5126 | - return promise2; | |
| 5127 | -}; | |
| 5128 | -var addAbortSignalListener = function (abortSignal, callback) { | |
| 5129 | - abortSignal.addEventListener("abort", callback, { once: true }); | |
| 5130 | - return function () { return abortSignal.removeEventListener("abort", callback); }; | |
| 5131 | -}; | |
| 5132 | -var abortControllerWithReason = function (abortController, reason) { | |
| 5133 | - var signal = abortController.signal; | |
| 5134 | - if (signal.aborted) { | |
| 5135 | - return; | |
| 5136 | - } | |
| 5137 | - if (!("reason" in signal)) { | |
| 5138 | - Object.defineProperty(signal, "reason", { | |
| 5139 | - enumerable: true, | |
| 5140 | - value: reason, | |
| 5141 | - configurable: true, | |
| 5142 | - writable: true | |
| 5143 | - }); | |
| 5144 | - } | |
| 5145 | - ; | |
| 5146 | - abortController.abort(reason); | |
| 5147 | -}; | |
| 5148 | -// src/listenerMiddleware/exceptions.ts | |
| 5149 | -var task = "task"; | |
| 5150 | -var listener = "listener"; | |
| 5151 | -var completed = "completed"; | |
| 5152 | -var cancelled = "cancelled"; | |
| 5153 | -var taskCancelled = "task-" + cancelled; | |
| 5154 | -var taskCompleted = "task-" + completed; | |
| 5155 | -var listenerCancelled = listener + "-" + cancelled; | |
| 5156 | -var listenerCompleted = listener + "-" + completed; | |
| 5157 | -var TaskAbortError = /** @class */ (function () { | |
| 5158 | - function TaskAbortError(code) { | |
| 5159 | - this.code = code; | |
| 5160 | - this.name = "TaskAbortError"; | |
| 5161 | - this.message = task + " " + cancelled + " (reason: " + code + ")"; | |
| 5162 | - } | |
| 5163 | - return TaskAbortError; | |
| 5164 | -}()); | |
| 5165 | -// src/listenerMiddleware/task.ts | |
| 5166 | -var validateActive = function (signal) { | |
| 5167 | - if (signal.aborted) { | |
| 5168 | - throw new TaskAbortError(signal.reason); | |
| 5169 | - } | |
| 5170 | -}; | |
| 5171 | -function raceWithSignal(signal, promise2) { | |
| 5172 | - var cleanup = noop; | |
| 5173 | - return new Promise(function (resolve, reject) { | |
| 5174 | - var notifyRejection = function () { return reject(new TaskAbortError(signal.reason)); }; | |
| 5175 | - if (signal.aborted) { | |
| 5176 | - notifyRejection(); | |
| 5177 | - return; | |
| 5178 | - } | |
| 5179 | - cleanup = addAbortSignalListener(signal, notifyRejection); | |
| 5180 | - promise2.finally(function () { return cleanup(); }).then(resolve, reject); | |
| 5181 | - }).finally(function () { | |
| 5182 | - cleanup = noop; | |
| 5183 | - }); | |
| 5184 | -} | |
| 5185 | -var runTask = function (task2, cleanUp) { return __async(void 0, null, function () { | |
| 5186 | - var value, error_1; | |
| 5187 | - return __generator(this, function (_c) { | |
| 5188 | - switch (_c.label) { | |
| 5189 | - case 0: | |
| 5190 | - _c.trys.push([0, 3, 4, 5]); | |
| 5191 | - return [4 /*yield*/, Promise.resolve()]; | |
| 5192 | - case 1: | |
| 5193 | - _c.sent(); | |
| 5194 | - return [4 /*yield*/, task2()]; | |
| 5195 | - case 2: | |
| 5196 | - value = _c.sent(); | |
| 5197 | - return [2 /*return*/, { | |
| 5198 | - status: "ok", | |
| 5199 | - value: value | |
| 5200 | - }]; | |
| 5201 | - case 3: | |
| 5202 | - error_1 = _c.sent(); | |
| 5203 | - return [2 /*return*/, { | |
| 5204 | - status: error_1 instanceof TaskAbortError ? "cancelled" : "rejected", | |
| 5205 | - error: error_1 | |
| 5206 | - }]; | |
| 5207 | - case 4: | |
| 5208 | - cleanUp == null ? void 0 : cleanUp(); | |
| 5209 | - return [7 /*endfinally*/]; | |
| 5210 | - case 5: return [2 /*return*/]; | |
| 5211 | - } | |
| 5212 | - }); | |
| 5213 | -}); }; | |
| 5214 | -var createPause = function (signal) { | |
| 5215 | - return function (promise2) { | |
| 5216 | - return catchRejection(raceWithSignal(signal, promise2).then(function (output) { | |
| 5217 | - validateActive(signal); | |
| 5218 | - return output; | |
| 5219 | - })); | |
| 5220 | - }; | |
| 5221 | -}; | |
| 5222 | -var createDelay = function (signal) { | |
| 5223 | - var pause = createPause(signal); | |
| 5224 | - return function (timeoutMs) { | |
| 5225 | - return pause(new Promise(function (resolve) { return setTimeout(resolve, timeoutMs); })); | |
| 5226 | - }; | |
| 5227 | -}; | |
| 5228 | -// src/listenerMiddleware/index.ts | |
| 5229 | -var assign = Object.assign; | |
| 5230 | -var INTERNAL_NIL_TOKEN = {}; | |
| 5231 | -var alm = "listenerMiddleware"; | |
| 5232 | -var createFork = function (parentAbortSignal, parentBlockingPromises) { | |
| 5233 | - var linkControllers = function (controller) { return addAbortSignalListener(parentAbortSignal, function () { return abortControllerWithReason(controller, parentAbortSignal.reason); }); }; | |
| 5234 | - return function (taskExecutor, opts) { | |
| 5235 | - assertFunction(taskExecutor, "taskExecutor"); | |
| 5236 | - var childAbortController = new AbortController(); | |
| 5237 | - linkControllers(childAbortController); | |
| 5238 | - var result = runTask(function () { return __async(void 0, null, function () { | |
| 5239 | - var result2; | |
| 5240 | - return __generator(this, function (_c) { | |
| 5241 | - switch (_c.label) { | |
| 5242 | - case 0: | |
| 5243 | - validateActive(parentAbortSignal); | |
| 5244 | - validateActive(childAbortController.signal); | |
| 5245 | - return [4 /*yield*/, taskExecutor({ | |
| 5246 | - pause: createPause(childAbortController.signal), | |
| 5247 | - delay: createDelay(childAbortController.signal), | |
| 5248 | - signal: childAbortController.signal | |
| 5249 | - })]; | |
| 5250 | - case 1: | |
| 5251 | - result2 = _c.sent(); | |
| 5252 | - validateActive(childAbortController.signal); | |
| 5253 | - return [2 /*return*/, result2]; | |
| 5254 | - } | |
| 5255 | - }); | |
| 5256 | - }); }, function () { return abortControllerWithReason(childAbortController, taskCompleted); }); | |
| 5257 | - if (opts == null ? void 0 : opts.autoJoin) { | |
| 5258 | - parentBlockingPromises.push(result); | |
| 5259 | - } | |
| 5260 | - return { | |
| 5261 | - result: createPause(parentAbortSignal)(result), | |
| 5262 | - cancel: function () { | |
| 5263 | - abortControllerWithReason(childAbortController, taskCancelled); | |
| 5264 | - } | |
| 5265 | - }; | |
| 5266 | - }; | |
| 5267 | -}; | |
| 5268 | -var createTakePattern = function (startListening, signal) { | |
| 5269 | - var take = function (predicate, timeout) { return __async(void 0, null, function () { | |
| 5270 | - var unsubscribe, tuplePromise, promises, output; | |
| 5271 | - return __generator(this, function (_c) { | |
| 5272 | - switch (_c.label) { | |
| 5273 | - case 0: | |
| 5274 | - validateActive(signal); | |
| 5275 | - unsubscribe = function () { | |
| 5276 | - }; | |
| 5277 | - tuplePromise = new Promise(function (resolve, reject) { | |
| 5278 | - var stopListening = startListening({ | |
| 5279 | - predicate: predicate, | |
| 5280 | - effect: function (action, listenerApi) { | |
| 5281 | - listenerApi.unsubscribe(); | |
| 5282 | - resolve([ | |
| 5283 | - action, | |
| 5284 | - listenerApi.getState(), | |
| 5285 | - listenerApi.getOriginalState() | |
| 5286 | - ]); | |
| 5287 | - } | |
| 5288 | - }); | |
| 5289 | - unsubscribe = function () { | |
| 5290 | - stopListening(); | |
| 5291 | - reject(); | |
| 5292 | - }; | |
| 5293 | - }); | |
| 5294 | - promises = [ | |
| 5295 | - tuplePromise | |
| 5296 | - ]; | |
| 5297 | - if (timeout != null) { | |
| 5298 | - promises.push(new Promise(function (resolve) { return setTimeout(resolve, timeout, null); })); | |
| 5299 | - } | |
| 5300 | - _c.label = 1; | |
| 5301 | - case 1: | |
| 5302 | - _c.trys.push([1, , 3, 4]); | |
| 5303 | - return [4 /*yield*/, raceWithSignal(signal, Promise.race(promises))]; | |
| 5304 | - case 2: | |
| 5305 | - output = _c.sent(); | |
| 5306 | - validateActive(signal); | |
| 5307 | - return [2 /*return*/, output]; | |
| 5308 | - case 3: | |
| 5309 | - unsubscribe(); | |
| 5310 | - return [7 /*endfinally*/]; | |
| 5311 | - case 4: return [2 /*return*/]; | |
| 5312 | - } | |
| 5313 | - }); | |
| 5314 | - }); }; | |
| 5315 | - return function (predicate, timeout) { return catchRejection(take(predicate, timeout)); }; | |
| 5316 | -}; | |
| 5317 | -var getListenerEntryPropsFrom = function (options) { | |
| 5318 | - var type = options.type, actionCreator = options.actionCreator, matcher = options.matcher, predicate = options.predicate, effect = options.effect; | |
| 5319 | - if (type) { | |
| 5320 | - predicate = createAction(type).match; | |
| 5321 | - } | |
| 5322 | - else if (actionCreator) { | |
| 5323 | - type = actionCreator.type; | |
| 5324 | - predicate = actionCreator.match; | |
| 5325 | - } | |
| 5326 | - else if (matcher) { | |
| 5327 | - predicate = matcher; | |
| 5328 | - } | |
| 5329 | - else if (predicate) { | |
| 5330 | - } | |
| 5331 | - else { | |
| 5332 | - throw new Error("Creating or removing a listener requires one of the known fields for matching an action"); | |
| 5333 | - } | |
| 5334 | - assertFunction(effect, "options.listener"); | |
| 5335 | - return { predicate: predicate, type: type, effect: effect }; | |
| 5336 | -}; | |
| 5337 | -var createListenerEntry = function (options) { | |
| 5338 | - var _c = getListenerEntryPropsFrom(options), type = _c.type, predicate = _c.predicate, effect = _c.effect; | |
| 5339 | - var id = nanoid(); | |
| 5340 | - var entry = { | |
| 5341 | - id: id, | |
| 5342 | - effect: effect, | |
| 5343 | - type: type, | |
| 5344 | - predicate: predicate, | |
| 5345 | - pending: new Set(), | |
| 5346 | - unsubscribe: function () { | |
| 5347 | - throw new Error("Unsubscribe not initialized"); | |
| 5348 | - } | |
| 5349 | - }; | |
| 5350 | - return entry; | |
| 5351 | -}; | |
| 5352 | -var cancelActiveListeners = function (entry) { | |
| 5353 | - entry.pending.forEach(function (controller) { | |
| 5354 | - abortControllerWithReason(controller, listenerCancelled); | |
| 5355 | - }); | |
| 5356 | -}; | |
| 5357 | -var createClearListenerMiddleware = function (listenerMap) { | |
| 5358 | - return function () { | |
| 5359 | - listenerMap.forEach(cancelActiveListeners); | |
| 5360 | - listenerMap.clear(); | |
| 5361 | - }; | |
| 5362 | -}; | |
| 5363 | -var safelyNotifyError = function (errorHandler, errorToNotify, errorInfo) { | |
| 5364 | - try { | |
| 5365 | - errorHandler(errorToNotify, errorInfo); | |
| 5366 | - } | |
| 5367 | - catch (errorHandlerError) { | |
| 5368 | - setTimeout(function () { | |
| 5369 | - throw errorHandlerError; | |
| 5370 | - }, 0); | |
| 5371 | - } | |
| 5372 | -}; | |
| 5373 | -var addListener = createAction(alm + "/add"); | |
| 5374 | -var clearAllListeners = createAction(alm + "/removeAll"); | |
| 5375 | -var removeListener = createAction(alm + "/remove"); | |
| 5376 | -var defaultErrorHandler = function () { | |
| 5377 | - var args = []; | |
| 5378 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 5379 | - args[_i] = arguments[_i]; | |
| 5380 | - } | |
| 5381 | - console.error.apply(console, __spreadArray([alm + "/error"], args)); | |
| 5382 | -}; | |
| 5383 | -function createListenerMiddleware(middlewareOptions) { | |
| 5384 | - var _this = this; | |
| 5385 | - if (middlewareOptions === void 0) { middlewareOptions = {}; } | |
| 5386 | - var listenerMap = new Map(); | |
| 5387 | - var extra = middlewareOptions.extra, _c = middlewareOptions.onError, onError = _c === void 0 ? defaultErrorHandler : _c; | |
| 5388 | - assertFunction(onError, "onError"); | |
| 5389 | - var insertEntry = function (entry) { | |
| 5390 | - entry.unsubscribe = function () { return listenerMap.delete(entry.id); }; | |
| 5391 | - listenerMap.set(entry.id, entry); | |
| 5392 | - return function (cancelOptions) { | |
| 5393 | - entry.unsubscribe(); | |
| 5394 | - if (cancelOptions == null ? void 0 : cancelOptions.cancelActive) { | |
| 5395 | - cancelActiveListeners(entry); | |
| 5396 | - } | |
| 5397 | - }; | |
| 5398 | - }; | |
| 5399 | - var findListenerEntry = function (comparator) { | |
| 5400 | - for (var _i = 0, _c = Array.from(listenerMap.values()); _i < _c.length; _i++) { | |
| 5401 | - var entry = _c[_i]; | |
| 5402 | - if (comparator(entry)) { | |
| 5403 | - return entry; | |
| 5404 | - } | |
| 5405 | - } | |
| 5406 | - return void 0; | |
| 5407 | - }; | |
| 5408 | - var startListening = function (options) { | |
| 5409 | - var entry = findListenerEntry(function (existingEntry) { return existingEntry.effect === options.effect; }); | |
| 5410 | - if (!entry) { | |
| 5411 | - entry = createListenerEntry(options); | |
| 5412 | - } | |
| 5413 | - return insertEntry(entry); | |
| 5414 | - }; | |
| 5415 | - var stopListening = function (options) { | |
| 5416 | - var _c = getListenerEntryPropsFrom(options), type = _c.type, effect = _c.effect, predicate = _c.predicate; | |
| 5417 | - var entry = findListenerEntry(function (entry2) { | |
| 5418 | - var matchPredicateOrType = typeof type === "string" ? entry2.type === type : entry2.predicate === predicate; | |
| 5419 | - return matchPredicateOrType && entry2.effect === effect; | |
| 5420 | - }); | |
| 5421 | - if (entry) { | |
| 5422 | - entry.unsubscribe(); | |
| 5423 | - if (options.cancelActive) { | |
| 5424 | - cancelActiveListeners(entry); | |
| 5425 | - } | |
| 5426 | - } | |
| 5427 | - return !!entry; | |
| 5428 | - }; | |
| 5429 | - var notifyListener = function (entry, action, api, getOriginalState) { return __async(_this, null, function () { | |
| 5430 | - var internalTaskController, take, autoJoinPromises, listenerError_1; | |
| 5431 | - return __generator(this, function (_c) { | |
| 5432 | - switch (_c.label) { | |
| 5433 | - case 0: | |
| 5434 | - internalTaskController = new AbortController(); | |
| 5435 | - take = createTakePattern(startListening, internalTaskController.signal); | |
| 5436 | - autoJoinPromises = []; | |
| 5437 | - _c.label = 1; | |
| 5438 | - case 1: | |
| 5439 | - _c.trys.push([1, 3, 4, 6]); | |
| 5440 | - entry.pending.add(internalTaskController); | |
| 5441 | - return [4 /*yield*/, Promise.resolve(entry.effect(action, assign({}, api, { | |
| 5442 | - getOriginalState: getOriginalState, | |
| 5443 | - condition: function (predicate, timeout) { return take(predicate, timeout).then(Boolean); }, | |
| 5444 | - take: take, | |
| 5445 | - delay: createDelay(internalTaskController.signal), | |
| 5446 | - pause: createPause(internalTaskController.signal), | |
| 5447 | - extra: extra, | |
| 5448 | - signal: internalTaskController.signal, | |
| 5449 | - fork: createFork(internalTaskController.signal, autoJoinPromises), | |
| 5450 | - unsubscribe: entry.unsubscribe, | |
| 5451 | - subscribe: function () { | |
| 5452 | - listenerMap.set(entry.id, entry); | |
| 5453 | - }, | |
| 5454 | - cancelActiveListeners: function () { | |
| 5455 | - entry.pending.forEach(function (controller, _, set) { | |
| 5456 | - if (controller !== internalTaskController) { | |
| 5457 | - abortControllerWithReason(controller, listenerCancelled); | |
| 5458 | - set.delete(controller); | |
| 5459 | - } | |
| 5460 | - }); | |
| 5461 | - } | |
| 5462 | - })))]; | |
| 5463 | - case 2: | |
| 5464 | - _c.sent(); | |
| 5465 | - return [3 /*break*/, 6]; | |
| 5466 | - case 3: | |
| 5467 | - listenerError_1 = _c.sent(); | |
| 5468 | - if (!(listenerError_1 instanceof TaskAbortError)) { | |
| 5469 | - safelyNotifyError(onError, listenerError_1, { | |
| 5470 | - raisedBy: "effect" | |
| 5471 | - }); | |
| 5472 | - } | |
| 5473 | - return [3 /*break*/, 6]; | |
| 5474 | - case 4: return [4 /*yield*/, Promise.allSettled(autoJoinPromises)]; | |
| 5475 | - case 5: | |
| 5476 | - _c.sent(); | |
| 5477 | - abortControllerWithReason(internalTaskController, listenerCompleted); | |
| 5478 | - entry.pending.delete(internalTaskController); | |
| 5479 | - return [7 /*endfinally*/]; | |
| 5480 | - case 6: return [2 /*return*/]; | |
| 5481 | - } | |
| 5482 | - }); | |
| 5483 | - }); }; | |
| 5484 | - var clearListenerMiddleware = createClearListenerMiddleware(listenerMap); | |
| 5485 | - var middleware = function (api) { return function (next) { return function (action) { | |
| 5486 | - if (!isAction(action)) { | |
| 5487 | - return next(action); | |
| 5488 | - } | |
| 5489 | - if (addListener.match(action)) { | |
| 5490 | - return startListening(action.payload); | |
| 5491 | - } | |
| 5492 | - if (clearAllListeners.match(action)) { | |
| 5493 | - clearListenerMiddleware(); | |
| 5494 | - return; | |
| 5495 | - } | |
| 5496 | - if (removeListener.match(action)) { | |
| 5497 | - return stopListening(action.payload); | |
| 5498 | - } | |
| 5499 | - var originalState = api.getState(); | |
| 5500 | - var getOriginalState = function () { | |
| 5501 | - if (originalState === INTERNAL_NIL_TOKEN) { | |
| 5502 | - throw new Error(alm + ": getOriginalState can only be called synchronously"); | |
| 5503 | - } | |
| 5504 | - return originalState; | |
| 5505 | - }; | |
| 5506 | - var result; | |
| 5507 | - try { | |
| 5508 | - result = next(action); | |
| 5509 | - if (listenerMap.size > 0) { | |
| 5510 | - var currentState = api.getState(); | |
| 5511 | - var listenerEntries = Array.from(listenerMap.values()); | |
| 5512 | - for (var _i = 0, listenerEntries_1 = listenerEntries; _i < listenerEntries_1.length; _i++) { | |
| 5513 | - var entry = listenerEntries_1[_i]; | |
| 5514 | - var runListener = false; | |
| 5515 | - try { | |
| 5516 | - runListener = entry.predicate(action, currentState, originalState); | |
| 5517 | - } | |
| 5518 | - catch (predicateError) { | |
| 5519 | - runListener = false; | |
| 5520 | - safelyNotifyError(onError, predicateError, { | |
| 5521 | - raisedBy: "predicate" | |
| 5522 | - }); | |
| 5523 | - } | |
| 5524 | - if (!runListener) { | |
| 5525 | - continue; | |
| 5526 | - } | |
| 5527 | - notifyListener(entry, action, api, getOriginalState); | |
| 5528 | - } | |
| 5529 | - } | |
| 5530 | - } | |
| 5531 | - finally { | |
| 5532 | - originalState = INTERNAL_NIL_TOKEN; | |
| 5533 | - } | |
| 5534 | - return result; | |
| 5535 | - }; }; }; | |
| 5536 | - return { | |
| 5537 | - middleware: middleware, | |
| 5538 | - startListening: startListening, | |
| 5539 | - stopListening: stopListening, | |
| 5540 | - clearListeners: clearListenerMiddleware | |
| 5541 | - }; | |
| 5542 | -} | |
| 5543 | -// src/autoBatchEnhancer.ts | |
| 5544 | -var SHOULD_AUTOBATCH = "RTK_autoBatch"; | |
| 5545 | -var prepareAutoBatched = function () { return function (payload) { | |
| 5546 | - var _c; | |
| 5547 | - return ({ | |
| 5548 | - payload: payload, | |
| 5549 | - meta: (_c = {}, _c[SHOULD_AUTOBATCH] = true, _c) | |
| 5550 | - }); | |
| 5551 | -}; }; | |
| 5552 | -var promise; | |
| 5553 | -var queueMicrotaskShim = typeof queueMicrotask === "function" ? queueMicrotask.bind(typeof window !== "undefined" ? window : typeof __webpack_require__.g !== "undefined" ? __webpack_require__.g : globalThis) : function (cb) { return (promise || (promise = Promise.resolve())).then(cb).catch(function (err) { return setTimeout(function () { | |
| 5554 | - throw err; | |
| 5555 | -}, 0); }); }; | |
| 5556 | -var createQueueWithTimer = function (timeout) { | |
| 5557 | - return function (notify) { | |
| 5558 | - setTimeout(notify, timeout); | |
| 5559 | - }; | |
| 5560 | -}; | |
| 5561 | -var rAF = typeof window !== "undefined" && window.requestAnimationFrame ? window.requestAnimationFrame : createQueueWithTimer(10); | |
| 5562 | -var autoBatchEnhancer = function (options) { | |
| 5563 | - if (options === void 0) { options = { type: "raf" }; } | |
| 5564 | - return function (next) { return function () { | |
| 5565 | - var args = []; | |
| 5566 | - for (var _i = 0; _i < arguments.length; _i++) { | |
| 5567 | - args[_i] = arguments[_i]; | |
| 5568 | - } | |
| 5569 | - var store = next.apply(void 0, args); | |
| 5570 | - var notifying = true; | |
| 5571 | - var shouldNotifyAtEndOfTick = false; | |
| 5572 | - var notificationQueued = false; | |
| 5573 | - var listeners = new Set(); | |
| 5574 | - var queueCallback = options.type === "tick" ? queueMicrotaskShim : options.type === "raf" ? rAF : options.type === "callback" ? options.queueNotification : createQueueWithTimer(options.timeout); | |
| 5575 | - var notifyListeners = function () { | |
| 5576 | - notificationQueued = false; | |
| 5577 | - if (shouldNotifyAtEndOfTick) { | |
| 5578 | - shouldNotifyAtEndOfTick = false; | |
| 5579 | - listeners.forEach(function (l) { return l(); }); | |
| 5580 | - } | |
| 5581 | - }; | |
| 5582 | - return Object.assign({}, store, { | |
| 5583 | - subscribe: function (listener2) { | |
| 5584 | - var wrappedListener = function () { return notifying && listener2(); }; | |
| 5585 | - var unsubscribe = store.subscribe(wrappedListener); | |
| 5586 | - listeners.add(listener2); | |
| 5587 | - return function () { | |
| 5588 | - unsubscribe(); | |
| 5589 | - listeners.delete(listener2); | |
| 5590 | - }; | |
| 5591 | - }, | |
| 5592 | - dispatch: function (action) { | |
| 5593 | - var _a; | |
| 5594 | - try { | |
| 5595 | - notifying = !((_a = action == null ? void 0 : action.meta) == null ? void 0 : _a[SHOULD_AUTOBATCH]); | |
| 5596 | - shouldNotifyAtEndOfTick = !notifying; | |
| 5597 | - if (shouldNotifyAtEndOfTick) { | |
| 5598 | - if (!notificationQueued) { | |
| 5599 | - notificationQueued = true; | |
| 5600 | - queueCallback(notifyListeners); | |
| 5601 | - } | |
| 5602 | - } | |
| 5603 | - return store.dispatch(action); | |
| 5604 | - } | |
| 5605 | - finally { | |
| 5606 | - notifying = true; | |
| 5607 | - } | |
| 5608 | - } | |
| 5609 | - }); | |
| 5610 | - }; }; | |
| 5611 | -}; | |
| 5612 | -// src/index.ts | |
| 5613 | -(0,immer__WEBPACK_IMPORTED_MODULE_0__.enableES5)(); | |
| 5614 | - | |
| 5615 | -//# sourceMappingURL=redux-toolkit.esm.js.map | |
| 6897 | +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) | |
| 6898 | +var gOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 6899 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 6900 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 6901 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6902 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6903 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5616 | 6904 | |
| 6905 | +function get(target, propertyKey /* , receiver */) { | |
| 6906 | + var receiver = arguments.length < 3 ? target : arguments[2]; | |
| 6907 | + var desc, proto; | |
| 6908 | + if (anObject(target) === receiver) return target[propertyKey]; | |
| 6909 | + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') | |
| 6910 | + ? desc.value | |
| 6911 | + : desc.get !== undefined | |
| 6912 | + ? desc.get.call(receiver) | |
| 6913 | + : undefined; | |
| 6914 | + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); | |
| 6915 | +} | |
| 6916 | + | |
| 6917 | +$export($export.S, 'Reflect', { get: get }); | |
| 6918 | + | |
| 6919 | + | |
| 5617 | 6920 | /***/ }), |
| 5618 | 6921 | |
| 5619 | -/***/ "../node_modules/immer/dist/immer.esm.mjs": | |
| 5620 | -/*!************************************************!*\ | |
| 5621 | - !*** ../node_modules/immer/dist/immer.esm.mjs ***! | |
| 5622 | - \************************************************/ | |
| 5623 | -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 6922 | +/***/ "../node_modules/core-js/library/modules/es6.string.iterator.js": | |
| 6923 | +/*!**********************************************************************!*\ | |
| 6924 | + !*** ../node_modules/core-js/library/modules/es6.string.iterator.js ***! | |
| 6925 | + \**********************************************************************/ | |
| 6926 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 5624 | 6927 | |
| 5625 | 6928 | "use strict"; |
| 5626 | -__webpack_require__.r(__webpack_exports__); | |
| 5627 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 5628 | -/* harmony export */ Immer: () => (/* binding */ un), | |
| 5629 | -/* harmony export */ applyPatches: () => (/* binding */ pn), | |
| 5630 | -/* harmony export */ castDraft: () => (/* binding */ K), | |
| 5631 | -/* harmony export */ castImmutable: () => (/* binding */ $), | |
| 5632 | -/* harmony export */ createDraft: () => (/* binding */ ln), | |
| 5633 | -/* harmony export */ current: () => (/* binding */ R), | |
| 5634 | -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), | |
| 5635 | -/* harmony export */ enableAllPlugins: () => (/* binding */ J), | |
| 5636 | -/* harmony export */ enableES5: () => (/* binding */ F), | |
| 5637 | -/* harmony export */ enableMapSet: () => (/* binding */ C), | |
| 5638 | -/* harmony export */ enablePatches: () => (/* binding */ T), | |
| 5639 | -/* harmony export */ finishDraft: () => (/* binding */ dn), | |
| 5640 | -/* harmony export */ freeze: () => (/* binding */ d), | |
| 5641 | -/* harmony export */ immerable: () => (/* binding */ L), | |
| 5642 | -/* harmony export */ isDraft: () => (/* binding */ r), | |
| 5643 | -/* harmony export */ isDraftable: () => (/* binding */ t), | |
| 5644 | -/* harmony export */ nothing: () => (/* binding */ H), | |
| 5645 | -/* harmony export */ original: () => (/* binding */ e), | |
| 5646 | -/* harmony export */ produce: () => (/* binding */ fn), | |
| 5647 | -/* harmony export */ produceWithPatches: () => (/* binding */ cn), | |
| 5648 | -/* harmony export */ setAutoFreeze: () => (/* binding */ sn), | |
| 5649 | -/* harmony export */ setUseProxies: () => (/* binding */ vn) | |
| 5650 | -/* harmony export */ }); | |
| 5651 | -function n(n){for(var r=arguments.length,t=Array(r>1?r-1:0),e=1;e<r;e++)t[e-1]=arguments[e];if(true){var i=Y[n],o=i?"function"==typeof i?i.apply(null,t):i:"unknown error nr: "+n;throw Error("[Immer] "+o)}// removed by dead control flow | |
| 5652 | -}function r(n){return!!n&&!!n[Q]}function t(n){var r;return!!n&&(function(n){if(!n||"object"!=typeof n)return!1;var r=Object.getPrototypeOf(n);if(null===r)return!0;var t=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return t===Object||"function"==typeof t&&Function.toString.call(t)===Z}(n)||Array.isArray(n)||!!n[L]||!!(null===(r=n.constructor)||void 0===r?void 0:r[L])||s(n)||v(n))}function e(t){return r(t)||n(23,t),t[Q].t}function i(n,r,t){void 0===t&&(t=!1),0===o(n)?(t?Object.keys:nn)(n).forEach((function(e){t&&"symbol"==typeof e||r(e,n[e],n)})):n.forEach((function(t,e){return r(e,t,n)}))}function o(n){var r=n[Q];return r?r.i>3?r.i-4:r.i:Array.isArray(n)?1:s(n)?2:v(n)?3:0}function u(n,r){return 2===o(n)?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function a(n,r){return 2===o(n)?n.get(r):n[r]}function f(n,r,t){var e=o(n);2===e?n.set(r,t):3===e?n.add(t):n[r]=t}function c(n,r){return n===r?0!==n||1/n==1/r:n!=n&&r!=r}function s(n){return X&&n instanceof Map}function v(n){return q&&n instanceof Set}function p(n){return n.o||n.t}function l(n){if(Array.isArray(n))return Array.prototype.slice.call(n);var r=rn(n);delete r[Q];for(var t=nn(r),e=0;e<t.length;e++){var i=t[e],o=r[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(r[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:n[i]})}return Object.create(Object.getPrototypeOf(n),r)}function d(n,e){return void 0===e&&(e=!1),y(n)||r(n)||!t(n)||(o(n)>1&&(n.set=n.add=n.clear=n.delete=h),Object.freeze(n),e&&i(n,(function(n,r){return d(r,!0)}),!0)),n}function h(){n(2)}function y(n){return null==n||"object"!=typeof n||Object.isFrozen(n)}function b(r){var t=tn[r];return t||n(18,r),t}function m(n,r){tn[n]||(tn[n]=r)}function _(){return false||U||n(0),U}function j(n,r){r&&(b("Patches"),n.u=[],n.s=[],n.v=r)}function g(n){O(n),n.p.forEach(S),n.p=null}function O(n){n===U&&(U=n.l)}function w(n){return U={p:[],l:U,h:n,m:!0,_:0}}function S(n){var r=n[Q];0===r.i||1===r.i?r.j():r.g=!0}function P(r,e){e._=e.p.length;var i=e.p[0],o=void 0!==r&&r!==i;return e.h.O||b("ES5").S(e,r,o),o?(i[Q].P&&(g(e),n(4)),t(r)&&(r=M(e,r),e.l||x(e,r)),e.u&&b("Patches").M(i[Q].t,r,e.u,e.s)):r=M(e,i,[]),g(e),e.u&&e.v(e.u,e.s),r!==H?r:void 0}function M(n,r,t){if(y(r))return r;var e=r[Q];if(!e)return i(r,(function(i,o){return A(n,e,r,i,o,t)}),!0),r;if(e.A!==n)return r;if(!e.P)return x(n,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var o=4===e.i||5===e.i?e.o=l(e.k):e.o,u=o,a=!1;3===e.i&&(u=new Set(o),o.clear(),a=!0),i(u,(function(r,i){return A(n,e,o,r,i,t,a)})),x(n,o,!1),t&&n.u&&b("Patches").N(e,t,n.u,n.s)}return e.o}function A(e,i,o,a,c,s,v){if( true&&c===o&&n(5),r(c)){var p=M(e,c,s&&i&&3!==i.i&&!u(i.R,a)?s.concat(a):void 0);if(f(o,a,p),!r(p))return;e.m=!1}else v&&o.add(c);if(t(c)&&!y(c)){if(!e.h.D&&e._<1)return;M(e,c),i&&i.A.l||x(e,c)}}function x(n,r,t){void 0===t&&(t=!1),!n.l&&n.h.D&&n.m&&d(r,t)}function z(n,r){var t=n[Q];return(t?p(t):n)[r]}function I(n,r){if(r in n)for(var t=Object.getPrototypeOf(n);t;){var e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}}function k(n){n.P||(n.P=!0,n.l&&k(n.l))}function E(n){n.o||(n.o=l(n.t))}function N(n,r,t){var e=s(r)?b("MapSet").F(r,t):v(r)?b("MapSet").T(r,t):n.O?function(n,r){var t=Array.isArray(n),e={i:t?1:0,A:r?r.A:_(),P:!1,I:!1,R:{},l:r,t:n,k:null,o:null,j:null,C:!1},i=e,o=en;t&&(i=[e],o=on);var u=Proxy.revocable(i,o),a=u.revoke,f=u.proxy;return e.k=f,e.j=a,f}(r,t):b("ES5").J(r,t);return(t?t.A:_()).p.push(e),e}function R(e){return r(e)||n(22,e),function n(r){if(!t(r))return r;var e,u=r[Q],c=o(r);if(u){if(!u.P&&(u.i<4||!b("ES5").K(u)))return u.t;u.I=!0,e=D(r,c),u.I=!1}else e=D(r,c);return i(e,(function(r,t){u&&a(u.t,r)===t||f(e,r,n(t))})),3===c?new Set(e):e}(e)}function D(n,r){switch(r){case 2:return new Map(n);case 3:return Array.from(n)}return l(n)}function F(){function t(n,r){var t=s[n];return t?t.enumerable=r:s[n]=t={configurable:!0,enumerable:r,get:function(){var r=this[Q];return true&&f(r),en.get(r,n)},set:function(r){var t=this[Q]; true&&f(t),en.set(t,n,r)}},t}function e(n){for(var r=n.length-1;r>=0;r--){var t=n[r][Q];if(!t.P)switch(t.i){case 5:a(t)&&k(t);break;case 4:o(t)&&k(t)}}}function o(n){for(var r=n.t,t=n.k,e=nn(t),i=e.length-1;i>=0;i--){var o=e[i];if(o!==Q){var a=r[o];if(void 0===a&&!u(r,o))return!0;var f=t[o],s=f&&f[Q];if(s?s.t!==a:!c(f,a))return!0}}var v=!!r[Q];return e.length!==nn(r).length+(v?0:1)}function a(n){var r=n.k;if(r.length!==n.t.length)return!0;var t=Object.getOwnPropertyDescriptor(r,r.length-1);if(t&&!t.get)return!0;for(var e=0;e<r.length;e++)if(!r.hasOwnProperty(e))return!0;return!1}function f(r){r.g&&n(3,JSON.stringify(p(r)))}var s={};m("ES5",{J:function(n,r){var e=Array.isArray(n),i=function(n,r){if(n){for(var e=Array(r.length),i=0;i<r.length;i++)Object.defineProperty(e,""+i,t(i,!0));return e}var o=rn(r);delete o[Q];for(var u=nn(o),a=0;a<u.length;a++){var f=u[a];o[f]=t(f,n||!!o[f].enumerable)}return Object.create(Object.getPrototypeOf(r),o)}(e,n),o={i:e?5:4,A:r?r.A:_(),P:!1,I:!1,R:{},l:r,t:n,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Q,{value:o,writable:!0}),i},S:function(n,t,o){o?r(t)&&t[Q].A===n&&e(n.p):(n.u&&function n(r){if(r&&"object"==typeof r){var t=r[Q];if(t){var e=t.t,o=t.k,f=t.R,c=t.i;if(4===c)i(o,(function(r){r!==Q&&(void 0!==e[r]||u(e,r)?f[r]||n(o[r]):(f[r]=!0,k(t)))})),i(e,(function(n){void 0!==o[n]||u(o,n)||(f[n]=!1,k(t))}));else if(5===c){if(a(t)&&(k(t),f.length=!0),o.length<e.length)for(var s=o.length;s<e.length;s++)f[s]=!1;else for(var v=e.length;v<o.length;v++)f[v]=!0;for(var p=Math.min(o.length,e.length),l=0;l<p;l++)o.hasOwnProperty(l)||(f[l]=!0),void 0===f[l]&&n(o[l])}}}}(n.p[0]),e(n.p))},K:function(n){return 4===n.i?o(n):a(n)}})}function T(){function e(n){if(!t(n))return n;if(Array.isArray(n))return n.map(e);if(s(n))return new Map(Array.from(n.entries()).map((function(n){return[n[0],e(n[1])]})));if(v(n))return new Set(Array.from(n).map(e));var r=Object.create(Object.getPrototypeOf(n));for(var i in n)r[i]=e(n[i]);return u(n,L)&&(r[L]=n[L]),r}function f(n){return r(n)?e(n):n}var c="add";m("Patches",{$:function(r,t){return t.forEach((function(t){for(var i=t.path,u=t.op,f=r,s=0;s<i.length-1;s++){var v=o(f),p=i[s];"string"!=typeof p&&"number"!=typeof p&&(p=""+p),0!==v&&1!==v||"__proto__"!==p&&"constructor"!==p||n(24),"function"==typeof f&&"prototype"===p&&n(24),"object"!=typeof(f=a(f,p))&&n(15,i.join("/"))}var l=o(f),d=e(t.value),h=i[i.length-1];switch(u){case"replace":switch(l){case 2:return f.set(h,d);case 3:n(16);default:return f[h]=d}case c:switch(l){case 1:return"-"===h?f.push(d):f.splice(h,0,d);case 2:return f.set(h,d);case 3:return f.add(d);default:return f[h]=d}case"remove":switch(l){case 1:return f.splice(h,1);case 2:return f.delete(h);case 3:return f.delete(t.value);default:return delete f[h]}default:n(17,u)}})),r},N:function(n,r,t,e){switch(n.i){case 0:case 4:case 2:return function(n,r,t,e){var o=n.t,s=n.o;i(n.R,(function(n,i){var v=a(o,n),p=a(s,n),l=i?u(o,n)?"replace":c:"remove";if(v!==p||"replace"!==l){var d=r.concat(n);t.push("remove"===l?{op:l,path:d}:{op:l,path:d,value:p}),e.push(l===c?{op:"remove",path:d}:"remove"===l?{op:c,path:d,value:f(v)}:{op:"replace",path:d,value:f(v)})}}))}(n,r,t,e);case 5:case 1:return function(n,r,t,e){var i=n.t,o=n.R,u=n.o;if(u.length<i.length){var a=[u,i];i=a[0],u=a[1];var s=[e,t];t=s[0],e=s[1]}for(var v=0;v<i.length;v++)if(o[v]&&u[v]!==i[v]){var p=r.concat([v]);t.push({op:"replace",path:p,value:f(u[v])}),e.push({op:"replace",path:p,value:f(i[v])})}for(var l=i.length;l<u.length;l++){var d=r.concat([l]);t.push({op:c,path:d,value:f(u[l])})}i.length<u.length&&e.push({op:"replace",path:r.concat(["length"]),value:i.length})}(n,r,t,e);case 3:return function(n,r,t,e){var i=n.t,o=n.o,u=0;i.forEach((function(n){if(!o.has(n)){var i=r.concat([u]);t.push({op:"remove",path:i,value:n}),e.unshift({op:c,path:i,value:n})}u++})),u=0,o.forEach((function(n){if(!i.has(n)){var o=r.concat([u]);t.push({op:c,path:o,value:n}),e.unshift({op:"remove",path:o,value:n})}u++}))}(n,r,t,e)}},M:function(n,r,t,e){t.push({op:"replace",path:[],value:r===H?void 0:r}),e.push({op:"replace",path:[],value:n})}})}function C(){function r(n,r){function t(){this.constructor=n}a(n,r),n.prototype=(t.prototype=r.prototype,new t)}function e(n){n.o||(n.R=new Map,n.o=new Map(n.t))}function o(n){n.o||(n.o=new Set,n.t.forEach((function(r){if(t(r)){var e=N(n.A.h,r,n);n.p.set(r,e),n.o.add(e)}else n.o.add(r)})))}function u(r){r.g&&n(3,JSON.stringify(p(r)))}var a=function(n,r){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var t in r)r.hasOwnProperty(t)&&(n[t]=r[t])})(n,r)},f=function(){function n(n,r){return this[Q]={i:2,l:r,A:r?r.A:_(),P:!1,I:!1,o:void 0,R:void 0,t:n,k:this,C:!1,g:!1},this}r(n,Map);var o=n.prototype;return Object.defineProperty(o,"size",{get:function(){return p(this[Q]).size}}),o.has=function(n){return p(this[Q]).has(n)},o.set=function(n,r){var t=this[Q];return u(t),p(t).has(n)&&p(t).get(n)===r||(e(t),k(t),t.R.set(n,!0),t.o.set(n,r),t.R.set(n,!0)),this},o.delete=function(n){if(!this.has(n))return!1;var r=this[Q];return u(r),e(r),k(r),r.t.has(n)?r.R.set(n,!1):r.R.delete(n),r.o.delete(n),!0},o.clear=function(){var n=this[Q];u(n),p(n).size&&(e(n),k(n),n.R=new Map,i(n.t,(function(r){n.R.set(r,!1)})),n.o.clear())},o.forEach=function(n,r){var t=this;p(this[Q]).forEach((function(e,i){n.call(r,t.get(i),i,t)}))},o.get=function(n){var r=this[Q];u(r);var i=p(r).get(n);if(r.I||!t(i))return i;if(i!==r.t.get(n))return i;var o=N(r.A.h,i,r);return e(r),r.o.set(n,o),o},o.keys=function(){return p(this[Q]).keys()},o.values=function(){var n,r=this,t=this.keys();return(n={})[V]=function(){return r.values()},n.next=function(){var n=t.next();return n.done?n:{done:!1,value:r.get(n.value)}},n},o.entries=function(){var n,r=this,t=this.keys();return(n={})[V]=function(){return r.entries()},n.next=function(){var n=t.next();if(n.done)return n;var e=r.get(n.value);return{done:!1,value:[n.value,e]}},n},o[V]=function(){return this.entries()},n}(),c=function(){function n(n,r){return this[Q]={i:3,l:r,A:r?r.A:_(),P:!1,I:!1,o:void 0,t:n,k:this,p:new Map,g:!1,C:!1},this}r(n,Set);var t=n.prototype;return Object.defineProperty(t,"size",{get:function(){return p(this[Q]).size}}),t.has=function(n){var r=this[Q];return u(r),r.o?!!r.o.has(n)||!(!r.p.has(n)||!r.o.has(r.p.get(n))):r.t.has(n)},t.add=function(n){var r=this[Q];return u(r),this.has(n)||(o(r),k(r),r.o.add(n)),this},t.delete=function(n){if(!this.has(n))return!1;var r=this[Q];return u(r),o(r),k(r),r.o.delete(n)||!!r.p.has(n)&&r.o.delete(r.p.get(n))},t.clear=function(){var n=this[Q];u(n),p(n).size&&(o(n),k(n),n.o.clear())},t.values=function(){var n=this[Q];return u(n),o(n),n.o.values()},t.entries=function(){var n=this[Q];return u(n),o(n),n.o.entries()},t.keys=function(){return this.values()},t[V]=function(){return this.values()},t.forEach=function(n,r){for(var t=this.values(),e=t.next();!e.done;)n.call(r,e.value,e.value,this),e=t.next()},n}();m("MapSet",{F:function(n,r){return new f(n,r)},T:function(n,r){return new c(n,r)}})}function J(){F(),C(),T()}function K(n){return n}function $(n){return n}var G,U,W="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),X="undefined"!=typeof Map,q="undefined"!=typeof Set,B="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=W?Symbol.for("immer-nothing"):((G={})["immer-nothing"]=!0,G),L=W?Symbol.for("immer-draftable"):"__$immer_draftable",Q=W?Symbol.for("immer-state"):"__$immer_state",V="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",Y={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(n){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(n){return"Cannot apply patch, path doesn't resolve: "+n},16:'Sets cannot have "replace" patches.',17:function(n){return"Unsupported patch operation: "+n},18:function(n){return"The plugin for '"+n+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+n+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(n){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+n+"'"},22:function(n){return"'current' expects a draft, got: "+n},23:function(n){return"'original' expects a draft, got: "+n},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},Z=""+Object.prototype.constructor,nn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Object.getOwnPropertyNames,rn=Object.getOwnPropertyDescriptors||function(n){var r={};return nn(n).forEach((function(t){r[t]=Object.getOwnPropertyDescriptor(n,t)})),r},tn={},en={get:function(n,r){if(r===Q)return n;var e=p(n);if(!u(e,r))return function(n,r,t){var e,i=I(r,t);return i?"value"in i?i.value:null===(e=i.get)||void 0===e?void 0:e.call(n.k):void 0}(n,e,r);var i=e[r];return n.I||!t(i)?i:i===z(n.t,r)?(E(n),n.o[r]=N(n.A.h,i,n)):i},has:function(n,r){return r in p(n)},ownKeys:function(n){return Reflect.ownKeys(p(n))},set:function(n,r,t){var e=I(p(n),r);if(null==e?void 0:e.set)return e.set.call(n.k,t),!0;if(!n.P){var i=z(p(n),r),o=null==i?void 0:i[Q];if(o&&o.t===t)return n.o[r]=t,n.R[r]=!1,!0;if(c(t,i)&&(void 0!==t||u(n.t,r)))return!0;E(n),k(n)}return n.o[r]===t&&(void 0!==t||r in n.o)||Number.isNaN(t)&&Number.isNaN(n.o[r])||(n.o[r]=t,n.R[r]=!0),!0},deleteProperty:function(n,r){return void 0!==z(n.t,r)||r in n.t?(n.R[r]=!1,E(n),k(n)):delete n.R[r],n.o&&delete n.o[r],!0},getOwnPropertyDescriptor:function(n,r){var t=p(n),e=Reflect.getOwnPropertyDescriptor(t,r);return e?{writable:!0,configurable:1!==n.i||"length"!==r,enumerable:e.enumerable,value:t[r]}:e},defineProperty:function(){n(11)},getPrototypeOf:function(n){return Object.getPrototypeOf(n.t)},setPrototypeOf:function(){n(12)}},on={};i(en,(function(n,r){on[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}})),on.deleteProperty=function(r,t){return true&&isNaN(parseInt(t))&&n(13),on.set.call(this,r,t,void 0)},on.set=function(r,t,e){return true&&"length"!==t&&isNaN(parseInt(t))&&n(14),en.set.call(this,r[0],t,e,r[0])};var un=function(){function e(r){var e=this;this.O=B,this.D=!0,this.produce=function(r,i,o){if("function"==typeof r&&"function"!=typeof i){var u=i;i=r;var a=e;return function(n){var r=this;void 0===n&&(n=u);for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];return a.produce(n,(function(n){var t;return(t=i).call.apply(t,[r,n].concat(e))}))}}var f;if("function"!=typeof i&&n(6),void 0!==o&&"function"!=typeof o&&n(7),t(r)){var c=w(e),s=N(e,r,void 0),v=!0;try{f=i(s),v=!1}finally{v?g(c):O(c)}return"undefined"!=typeof Promise&&f instanceof Promise?f.then((function(n){return j(c,o),P(n,c)}),(function(n){throw g(c),n})):(j(c,o),P(f,c))}if(!r||"object"!=typeof r){if(void 0===(f=i(r))&&(f=r),f===H&&(f=void 0),e.D&&d(f,!0),o){var p=[],l=[];b("Patches").M(r,f,p,l),o(p,l)}return f}n(21,r)},this.produceWithPatches=function(n,r){if("function"==typeof n)return function(r){for(var t=arguments.length,i=Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return e.produceWithPatches(r,(function(r){return n.apply(void 0,[r].concat(i))}))};var t,i,o=e.produce(n,r,(function(n,r){t=n,i=r}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(n){return[n,t,i]})):[o,t,i]},"boolean"==typeof(null==r?void 0:r.useProxies)&&this.setUseProxies(r.useProxies),"boolean"==typeof(null==r?void 0:r.autoFreeze)&&this.setAutoFreeze(r.autoFreeze)}var i=e.prototype;return i.createDraft=function(e){t(e)||n(8),r(e)&&(e=R(e));var i=w(this),o=N(this,e,void 0);return o[Q].C=!0,O(i),o},i.finishDraft=function(r,t){var e=r&&r[Q]; true&&(e&&e.C||n(9),e.I&&n(10));var i=e.A;return j(i,t),P(void 0,i)},i.setAutoFreeze=function(n){this.D=n},i.setUseProxies=function(r){r&&!B&&n(20),this.O=r},i.applyPatches=function(n,t){var e;for(e=t.length-1;e>=0;e--){var i=t[e];if(0===i.path.length&&"replace"===i.op){n=i.value;break}}e>-1&&(t=t.slice(e+1));var o=b("Patches").$;return r(n)?o(n,t):this.produce(n,(function(n){return o(n,t)}))},e}(),an=new un,fn=an.produce,cn=an.produceWithPatches.bind(an),sn=an.setAutoFreeze.bind(an),vn=an.setUseProxies.bind(an),pn=an.applyPatches.bind(an),ln=an.createDraft.bind(an),dn=an.finishDraft.bind(an);/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fn); | |
| 5653 | -//# sourceMappingURL=immer.esm.js.map | |
| 5654 | 6929 | |
| 6930 | +var $at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/library/modules/_string-at.js")(true); | |
| 5655 | 6931 | |
| 6932 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 6933 | +__webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js")(String, 'String', function (iterated) { | |
| 6934 | + this._t = String(iterated); // target | |
| 6935 | + this._i = 0; // next index | |
| 6936 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 6937 | +}, function () { | |
| 6938 | + var O = this._t; | |
| 6939 | + var index = this._i; | |
| 6940 | + var point; | |
| 6941 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 6942 | + point = $at(O, index); | |
| 6943 | + this._i += point.length; | |
| 6944 | + return { value: point, done: false }; | |
| 6945 | +}); | |
| 6946 | + | |
| 6947 | + | |
| 5656 | 6948 | /***/ }), |
| 5657 | 6949 | |
| 5658 | -/***/ "../node_modules/redux-thunk/es/index.js": | |
| 5659 | -/*!***********************************************!*\ | |
| 5660 | - !*** ../node_modules/redux-thunk/es/index.js ***! | |
| 5661 | - \***********************************************/ | |
| 5662 | -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 6950 | +/***/ "../node_modules/core-js/library/modules/es6.symbol.js": | |
| 6951 | +/*!*************************************************************!*\ | |
| 6952 | + !*** ../node_modules/core-js/library/modules/es6.symbol.js ***! | |
| 6953 | + \*************************************************************/ | |
| 6954 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 5663 | 6955 | |
| 5664 | 6956 | "use strict"; |
| 5665 | -__webpack_require__.r(__webpack_exports__); | |
| 5666 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 5667 | -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) | |
| 5668 | -/* harmony export */ }); | |
| 5669 | -/** A function that accepts a potential "extra argument" value to be injected later, | |
| 5670 | - * and returns an instance of the thunk middleware that uses that value | |
| 5671 | - */ | |
| 5672 | -function createThunkMiddleware(extraArgument) { | |
| 5673 | - // Standard Redux middleware definition pattern: | |
| 5674 | - // See: https://redux.js.org/tutorials/fundamentals/part-4-store#writing-custom-middleware | |
| 5675 | - var middleware = function middleware(_ref) { | |
| 5676 | - var dispatch = _ref.dispatch, | |
| 5677 | - getState = _ref.getState; | |
| 5678 | - return function (next) { | |
| 5679 | - return function (action) { | |
| 5680 | - // The thunk middleware looks for any functions that were passed to `store.dispatch`. | |
| 5681 | - // If this "action" is really a function, call it and return the result. | |
| 5682 | - if (typeof action === 'function') { | |
| 5683 | - // Inject the store's `dispatch` and `getState` methods, as well as any "extra arg" | |
| 5684 | - return action(dispatch, getState, extraArgument); | |
| 5685 | - } // Otherwise, pass the action down the middleware chain as usual | |
| 5686 | 6957 | |
| 6958 | +// ECMAScript 6 symbols shim | |
| 6959 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6960 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 6961 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 6962 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6963 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 6964 | +var META = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").KEY; | |
| 6965 | +var $fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 6966 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js"); | |
| 6967 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 6968 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 6969 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js"); | |
| 6970 | +var wksExt = __webpack_require__(/*! ./_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js"); | |
| 6971 | +var wksDefine = __webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js"); | |
| 6972 | +var enumKeys = __webpack_require__(/*! ./_enum-keys */ "../node_modules/core-js/library/modules/_enum-keys.js"); | |
| 6973 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js"); | |
| 6974 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 6975 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6976 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 6977 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 6978 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 6979 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 6980 | +var _create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 6981 | +var gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ "../node_modules/core-js/library/modules/_object-gopn-ext.js"); | |
| 6982 | +var $GOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 6983 | +var $GOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 6984 | +var $DP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 6985 | +var $keys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 6986 | +var gOPD = $GOPD.f; | |
| 6987 | +var dP = $DP.f; | |
| 6988 | +var gOPN = gOPNExt.f; | |
| 6989 | +var $Symbol = global.Symbol; | |
| 6990 | +var $JSON = global.JSON; | |
| 6991 | +var _stringify = $JSON && $JSON.stringify; | |
| 6992 | +var PROTOTYPE = 'prototype'; | |
| 6993 | +var HIDDEN = wks('_hidden'); | |
| 6994 | +var TO_PRIMITIVE = wks('toPrimitive'); | |
| 6995 | +var isEnum = {}.propertyIsEnumerable; | |
| 6996 | +var SymbolRegistry = shared('symbol-registry'); | |
| 6997 | +var AllSymbols = shared('symbols'); | |
| 6998 | +var OPSymbols = shared('op-symbols'); | |
| 6999 | +var ObjectProto = Object[PROTOTYPE]; | |
| 7000 | +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; | |
| 7001 | +var QObject = global.QObject; | |
| 7002 | +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 | |
| 7003 | +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; | |
| 5687 | 7004 | |
| 5688 | - return next(action); | |
| 5689 | - }; | |
| 7005 | +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 | |
| 7006 | +var setSymbolDesc = DESCRIPTORS && $fails(function () { | |
| 7007 | + return _create(dP({}, 'a', { | |
| 7008 | + get: function () { return dP(this, 'a', { value: 7 }).a; } | |
| 7009 | + })).a != 7; | |
| 7010 | +}) ? function (it, key, D) { | |
| 7011 | + var protoDesc = gOPD(ObjectProto, key); | |
| 7012 | + if (protoDesc) delete ObjectProto[key]; | |
| 7013 | + dP(it, key, D); | |
| 7014 | + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); | |
| 7015 | +} : dP; | |
| 7016 | + | |
| 7017 | +var wrap = function (tag) { | |
| 7018 | + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); | |
| 7019 | + sym._k = tag; | |
| 7020 | + return sym; | |
| 7021 | +}; | |
| 7022 | + | |
| 7023 | +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { | |
| 7024 | + return typeof it == 'symbol'; | |
| 7025 | +} : function (it) { | |
| 7026 | + return it instanceof $Symbol; | |
| 7027 | +}; | |
| 7028 | + | |
| 7029 | +var $defineProperty = function defineProperty(it, key, D) { | |
| 7030 | + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); | |
| 7031 | + anObject(it); | |
| 7032 | + key = toPrimitive(key, true); | |
| 7033 | + anObject(D); | |
| 7034 | + if (has(AllSymbols, key)) { | |
| 7035 | + if (!D.enumerable) { | |
| 7036 | + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); | |
| 7037 | + it[HIDDEN][key] = true; | |
| 7038 | + } else { | |
| 7039 | + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; | |
| 7040 | + D = _create(D, { enumerable: createDesc(0, false) }); | |
| 7041 | + } return setSymbolDesc(it, key, D); | |
| 7042 | + } return dP(it, key, D); | |
| 7043 | +}; | |
| 7044 | +var $defineProperties = function defineProperties(it, P) { | |
| 7045 | + anObject(it); | |
| 7046 | + var keys = enumKeys(P = toIObject(P)); | |
| 7047 | + var i = 0; | |
| 7048 | + var l = keys.length; | |
| 7049 | + var key; | |
| 7050 | + while (l > i) $defineProperty(it, key = keys[i++], P[key]); | |
| 7051 | + return it; | |
| 7052 | +}; | |
| 7053 | +var $create = function create(it, P) { | |
| 7054 | + return P === undefined ? _create(it) : $defineProperties(_create(it), P); | |
| 7055 | +}; | |
| 7056 | +var $propertyIsEnumerable = function propertyIsEnumerable(key) { | |
| 7057 | + var E = isEnum.call(this, key = toPrimitive(key, true)); | |
| 7058 | + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; | |
| 7059 | + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; | |
| 7060 | +}; | |
| 7061 | +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { | |
| 7062 | + it = toIObject(it); | |
| 7063 | + key = toPrimitive(key, true); | |
| 7064 | + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; | |
| 7065 | + var D = gOPD(it, key); | |
| 7066 | + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; | |
| 7067 | + return D; | |
| 7068 | +}; | |
| 7069 | +var $getOwnPropertyNames = function getOwnPropertyNames(it) { | |
| 7070 | + var names = gOPN(toIObject(it)); | |
| 7071 | + var result = []; | |
| 7072 | + var i = 0; | |
| 7073 | + var key; | |
| 7074 | + while (names.length > i) { | |
| 7075 | + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); | |
| 7076 | + } return result; | |
| 7077 | +}; | |
| 7078 | +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { | |
| 7079 | + var IS_OP = it === ObjectProto; | |
| 7080 | + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); | |
| 7081 | + var result = []; | |
| 7082 | + var i = 0; | |
| 7083 | + var key; | |
| 7084 | + while (names.length > i) { | |
| 7085 | + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); | |
| 7086 | + } return result; | |
| 7087 | +}; | |
| 7088 | + | |
| 7089 | +// 19.4.1.1 Symbol([description]) | |
| 7090 | +if (!USE_NATIVE) { | |
| 7091 | + $Symbol = function Symbol() { | |
| 7092 | + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); | |
| 7093 | + var tag = uid(arguments.length > 0 ? arguments[0] : undefined); | |
| 7094 | + var $set = function (value) { | |
| 7095 | + if (this === ObjectProto) $set.call(OPSymbols, value); | |
| 7096 | + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; | |
| 7097 | + setSymbolDesc(this, tag, createDesc(1, value)); | |
| 5690 | 7098 | }; |
| 7099 | + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); | |
| 7100 | + return wrap(tag); | |
| 5691 | 7101 | }; |
| 7102 | + redefine($Symbol[PROTOTYPE], 'toString', function toString() { | |
| 7103 | + return this._k; | |
| 7104 | + }); | |
| 5692 | 7105 | |
| 5693 | - return middleware; | |
| 7106 | + $GOPD.f = $getOwnPropertyDescriptor; | |
| 7107 | + $DP.f = $defineProperty; | |
| 7108 | + __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js").f = gOPNExt.f = $getOwnPropertyNames; | |
| 7109 | + __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js").f = $propertyIsEnumerable; | |
| 7110 | + $GOPS.f = $getOwnPropertySymbols; | |
| 7111 | + | |
| 7112 | + if (DESCRIPTORS && !__webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js")) { | |
| 7113 | + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); | |
| 7114 | + } | |
| 7115 | + | |
| 7116 | + wksExt.f = function (name) { | |
| 7117 | + return wrap(wks(name)); | |
| 7118 | + }; | |
| 5694 | 7119 | } |
| 5695 | 7120 | |
| 5696 | -var thunk = createThunkMiddleware(); // Attach the factory function so users can create a customized version | |
| 5697 | -// with whatever "extra arg" they want to inject into their thunks | |
| 7121 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); | |
| 5698 | 7122 | |
| 5699 | -thunk.withExtraArgument = createThunkMiddleware; | |
| 5700 | -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (thunk); | |
| 7123 | +for (var es6Symbols = ( | |
| 7124 | + // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 | |
| 7125 | + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' | |
| 7126 | +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); | |
| 5701 | 7127 | |
| 7128 | +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); | |
| 7129 | + | |
| 7130 | +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { | |
| 7131 | + // 19.4.2.1 Symbol.for(key) | |
| 7132 | + 'for': function (key) { | |
| 7133 | + return has(SymbolRegistry, key += '') | |
| 7134 | + ? SymbolRegistry[key] | |
| 7135 | + : SymbolRegistry[key] = $Symbol(key); | |
| 7136 | + }, | |
| 7137 | + // 19.4.2.5 Symbol.keyFor(sym) | |
| 7138 | + keyFor: function keyFor(sym) { | |
| 7139 | + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); | |
| 7140 | + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; | |
| 7141 | + }, | |
| 7142 | + useSetter: function () { setter = true; }, | |
| 7143 | + useSimple: function () { setter = false; } | |
| 7144 | +}); | |
| 7145 | + | |
| 7146 | +$export($export.S + $export.F * !USE_NATIVE, 'Object', { | |
| 7147 | + // 19.1.2.2 Object.create(O [, Properties]) | |
| 7148 | + create: $create, | |
| 7149 | + // 19.1.2.4 Object.defineProperty(O, P, Attributes) | |
| 7150 | + defineProperty: $defineProperty, | |
| 7151 | + // 19.1.2.3 Object.defineProperties(O, Properties) | |
| 7152 | + defineProperties: $defineProperties, | |
| 7153 | + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 7154 | + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, | |
| 7155 | + // 19.1.2.7 Object.getOwnPropertyNames(O) | |
| 7156 | + getOwnPropertyNames: $getOwnPropertyNames, | |
| 7157 | + // 19.1.2.8 Object.getOwnPropertySymbols(O) | |
| 7158 | + getOwnPropertySymbols: $getOwnPropertySymbols | |
| 7159 | +}); | |
| 7160 | + | |
| 7161 | +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives | |
| 7162 | +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 | |
| 7163 | +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); | |
| 7164 | + | |
| 7165 | +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { | |
| 7166 | + getOwnPropertySymbols: function getOwnPropertySymbols(it) { | |
| 7167 | + return $GOPS.f(toObject(it)); | |
| 7168 | + } | |
| 7169 | +}); | |
| 7170 | + | |
| 7171 | +// 24.3.2 JSON.stringify(value [, replacer [, space]]) | |
| 7172 | +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { | |
| 7173 | + var S = $Symbol(); | |
| 7174 | + // MS Edge converts symbol values to JSON as {} | |
| 7175 | + // WebKit converts symbol values to JSON as null | |
| 7176 | + // V8 throws on boxed symbols | |
| 7177 | + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; | |
| 7178 | +})), 'JSON', { | |
| 7179 | + stringify: function stringify(it) { | |
| 7180 | + var args = [it]; | |
| 7181 | + var i = 1; | |
| 7182 | + var replacer, $replacer; | |
| 7183 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 7184 | + $replacer = replacer = args[1]; | |
| 7185 | + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined | |
| 7186 | + if (!isArray(replacer)) replacer = function (key, value) { | |
| 7187 | + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); | |
| 7188 | + if (!isSymbol(value)) return value; | |
| 7189 | + }; | |
| 7190 | + args[1] = replacer; | |
| 7191 | + return _stringify.apply($JSON, args); | |
| 7192 | + } | |
| 7193 | +}); | |
| 7194 | + | |
| 7195 | +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) | |
| 7196 | +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); | |
| 7197 | +// 19.4.3.5 Symbol.prototype[@@toStringTag] | |
| 7198 | +setToStringTag($Symbol, 'Symbol'); | |
| 7199 | +// 20.2.1.9 Math[@@toStringTag] | |
| 7200 | +setToStringTag(Math, 'Math', true); | |
| 7201 | +// 24.3.3 JSON[@@toStringTag] | |
| 7202 | +setToStringTag(global.JSON, 'JSON', true); | |
| 7203 | + | |
| 7204 | + | |
| 5702 | 7205 | /***/ }), |
| 5703 | 7206 | |
| 5704 | -/***/ "../node_modules/redux/es/redux.js": | |
| 5705 | -/*!*****************************************!*\ | |
| 5706 | - !*** ../node_modules/redux/es/redux.js ***! | |
| 5707 | - \*****************************************/ | |
| 5708 | -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 7207 | +/***/ "../node_modules/core-js/library/modules/es6.weak-map.js": | |
| 7208 | +/*!***************************************************************!*\ | |
| 7209 | + !*** ../node_modules/core-js/library/modules/es6.weak-map.js ***! | |
| 7210 | + \***************************************************************/ | |
| 7211 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5709 | 7212 | |
| 5710 | 7213 | "use strict"; |
| 5711 | -__webpack_require__.r(__webpack_exports__); | |
| 5712 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 5713 | -/* harmony export */ __DO_NOT_USE__ActionTypes: () => (/* binding */ ActionTypes), | |
| 5714 | -/* harmony export */ applyMiddleware: () => (/* binding */ applyMiddleware), | |
| 5715 | -/* harmony export */ bindActionCreators: () => (/* binding */ bindActionCreators), | |
| 5716 | -/* harmony export */ combineReducers: () => (/* binding */ combineReducers), | |
| 5717 | -/* harmony export */ compose: () => (/* binding */ compose), | |
| 5718 | -/* harmony export */ createStore: () => (/* binding */ createStore), | |
| 5719 | -/* harmony export */ legacy_createStore: () => (/* binding */ legacy_createStore) | |
| 5720 | -/* harmony export */ }); | |
| 5721 | -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"); | |
| 5722 | 7214 | |
| 7215 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7216 | +var each = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/library/modules/_array-methods.js")(0); | |
| 7217 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 7218 | +var meta = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js"); | |
| 7219 | +var assign = __webpack_require__(/*! ./_object-assign */ "../node_modules/core-js/library/modules/_object-assign.js"); | |
| 7220 | +var weak = __webpack_require__(/*! ./_collection-weak */ "../node_modules/core-js/library/modules/_collection-weak.js"); | |
| 7221 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 7222 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 7223 | +var NATIVE_WEAK_MAP = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 7224 | +var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; | |
| 7225 | +var WEAK_MAP = 'WeakMap'; | |
| 7226 | +var getWeak = meta.getWeak; | |
| 7227 | +var isExtensible = Object.isExtensible; | |
| 7228 | +var uncaughtFrozenStore = weak.ufstore; | |
| 7229 | +var InternalMap; | |
| 5723 | 7230 | |
| 5724 | -/** | |
| 5725 | - * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js | |
| 5726 | - * | |
| 5727 | - * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes | |
| 5728 | - * during build. | |
| 5729 | - * @param {number} code | |
| 5730 | - */ | |
| 5731 | -function formatProdErrorMessage(code) { | |
| 5732 | - return "Minified Redux error #" + code + "; visit https://redux.js.org/Errors?code=" + code + " for the full message or " + 'use the non-minified dev environment for full errors. '; | |
| 7231 | +var wrapper = function (get) { | |
| 7232 | + return function WeakMap() { | |
| 7233 | + return get(this, arguments.length > 0 ? arguments[0] : undefined); | |
| 7234 | + }; | |
| 7235 | +}; | |
| 7236 | + | |
| 7237 | +var methods = { | |
| 7238 | + // 23.3.3.3 WeakMap.prototype.get(key) | |
| 7239 | + get: function get(key) { | |
| 7240 | + if (isObject(key)) { | |
| 7241 | + var data = getWeak(key); | |
| 7242 | + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); | |
| 7243 | + return data ? data[this._i] : undefined; | |
| 7244 | + } | |
| 7245 | + }, | |
| 7246 | + // 23.3.3.5 WeakMap.prototype.set(key, value) | |
| 7247 | + set: function set(key, value) { | |
| 7248 | + return weak.def(validate(this, WEAK_MAP), key, value); | |
| 7249 | + } | |
| 7250 | +}; | |
| 7251 | + | |
| 7252 | +// 23.3 WeakMap Objects | |
| 7253 | +var $WeakMap = module.exports = __webpack_require__(/*! ./_collection */ "../node_modules/core-js/library/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); | |
| 7254 | + | |
| 7255 | +// IE11 WeakMap frozen keys fix | |
| 7256 | +if (NATIVE_WEAK_MAP && IS_IE11) { | |
| 7257 | + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); | |
| 7258 | + assign(InternalMap.prototype, methods); | |
| 7259 | + meta.NEED = true; | |
| 7260 | + each(['delete', 'has', 'get', 'set'], function (key) { | |
| 7261 | + var proto = $WeakMap.prototype; | |
| 7262 | + var method = proto[key]; | |
| 7263 | + redefine(proto, key, function (a, b) { | |
| 7264 | + // store frozen objects on internal weakmap shim | |
| 7265 | + if (isObject(a) && !isExtensible(a)) { | |
| 7266 | + if (!this._f) this._f = new InternalMap(); | |
| 7267 | + var result = this._f[key](a, b); | |
| 7268 | + return key == 'set' ? this : result; | |
| 7269 | + // store all the rest on native weakmap | |
| 7270 | + } return method.call(this, a, b); | |
| 7271 | + }); | |
| 7272 | + }); | |
| 5733 | 7273 | } |
| 5734 | 7274 | |
| 5735 | -// Inlined version of the `symbol-observable` polyfill | |
| 5736 | -var $$observable = (function () { | |
| 5737 | - return typeof Symbol === 'function' && Symbol.observable || '@@observable'; | |
| 5738 | -})(); | |
| 5739 | 7275 | |
| 5740 | -/** | |
| 5741 | - * These are private action types reserved by Redux. | |
| 5742 | - * For any unknown actions, you must return the current state. | |
| 5743 | - * If the current state is undefined, you must return the initial state. | |
| 5744 | - * Do not reference these action types directly in your code. | |
| 5745 | - */ | |
| 5746 | -var randomString = function randomString() { | |
| 5747 | - return Math.random().toString(36).substring(7).split('').join('.'); | |
| 5748 | -}; | |
| 7276 | +/***/ }), | |
| 5749 | 7277 | |
| 5750 | -var ActionTypes = { | |
| 5751 | - INIT: "@@redux/INIT" + randomString(), | |
| 5752 | - REPLACE: "@@redux/REPLACE" + randomString(), | |
| 5753 | - PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() { | |
| 5754 | - return "@@redux/PROBE_UNKNOWN_ACTION" + randomString(); | |
| 7278 | +/***/ "../node_modules/core-js/library/modules/es7.map.from.js": | |
| 7279 | +/*!***************************************************************!*\ | |
| 7280 | + !*** ../node_modules/core-js/library/modules/es7.map.from.js ***! | |
| 7281 | + \***************************************************************/ | |
| 7282 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7283 | + | |
| 7284 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from | |
| 7285 | +__webpack_require__(/*! ./_set-collection-from */ "../node_modules/core-js/library/modules/_set-collection-from.js")('Map'); | |
| 7286 | + | |
| 7287 | + | |
| 7288 | +/***/ }), | |
| 7289 | + | |
| 7290 | +/***/ "../node_modules/core-js/library/modules/es7.map.of.js": | |
| 7291 | +/*!*************************************************************!*\ | |
| 7292 | + !*** ../node_modules/core-js/library/modules/es7.map.of.js ***! | |
| 7293 | + \*************************************************************/ | |
| 7294 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7295 | + | |
| 7296 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of | |
| 7297 | +__webpack_require__(/*! ./_set-collection-of */ "../node_modules/core-js/library/modules/_set-collection-of.js")('Map'); | |
| 7298 | + | |
| 7299 | + | |
| 7300 | +/***/ }), | |
| 7301 | + | |
| 7302 | +/***/ "../node_modules/core-js/library/modules/es7.map.to-json.js": | |
| 7303 | +/*!******************************************************************!*\ | |
| 7304 | + !*** ../node_modules/core-js/library/modules/es7.map.to-json.js ***! | |
| 7305 | + \******************************************************************/ | |
| 7306 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7307 | + | |
| 7308 | +// https://github.com/DavidBruant/Map-Set.prototype.toJSON | |
| 7309 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7310 | + | |
| 7311 | +$export($export.P + $export.R, 'Map', { toJSON: __webpack_require__(/*! ./_collection-to-json */ "../node_modules/core-js/library/modules/_collection-to-json.js")('Map') }); | |
| 7312 | + | |
| 7313 | + | |
| 7314 | +/***/ }), | |
| 7315 | + | |
| 7316 | +/***/ "../node_modules/core-js/library/modules/es7.object.entries.js": | |
| 7317 | +/*!*********************************************************************!*\ | |
| 7318 | + !*** ../node_modules/core-js/library/modules/es7.object.entries.js ***! | |
| 7319 | + \*********************************************************************/ | |
| 7320 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7321 | + | |
| 7322 | +// https://github.com/tc39/proposal-object-values-entries | |
| 7323 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7324 | +var $entries = __webpack_require__(/*! ./_object-to-array */ "../node_modules/core-js/library/modules/_object-to-array.js")(true); | |
| 7325 | + | |
| 7326 | +$export($export.S, 'Object', { | |
| 7327 | + entries: function entries(it) { | |
| 7328 | + return $entries(it); | |
| 5755 | 7329 | } |
| 5756 | -}; | |
| 7330 | +}); | |
| 5757 | 7331 | |
| 5758 | -/** | |
| 5759 | - * @param {any} obj The object to inspect. | |
| 5760 | - * @returns {boolean} True if the argument appears to be a plain object. | |
| 5761 | - */ | |
| 5762 | -function isPlainObject(obj) { | |
| 5763 | - if (typeof obj !== 'object' || obj === null) return false; | |
| 5764 | - var proto = obj; | |
| 5765 | 7332 | |
| 5766 | - while (Object.getPrototypeOf(proto) !== null) { | |
| 5767 | - proto = Object.getPrototypeOf(proto); | |
| 7333 | +/***/ }), | |
| 7334 | + | |
| 7335 | +/***/ "../node_modules/core-js/library/modules/es7.object.values.js": | |
| 7336 | +/*!********************************************************************!*\ | |
| 7337 | + !*** ../node_modules/core-js/library/modules/es7.object.values.js ***! | |
| 7338 | + \********************************************************************/ | |
| 7339 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7340 | + | |
| 7341 | +// https://github.com/tc39/proposal-object-values-entries | |
| 7342 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7343 | +var $values = __webpack_require__(/*! ./_object-to-array */ "../node_modules/core-js/library/modules/_object-to-array.js")(false); | |
| 7344 | + | |
| 7345 | +$export($export.S, 'Object', { | |
| 7346 | + values: function values(it) { | |
| 7347 | + return $values(it); | |
| 5768 | 7348 | } |
| 7349 | +}); | |
| 5769 | 7350 | |
| 5770 | - return Object.getPrototypeOf(obj) === proto; | |
| 7351 | + | |
| 7352 | +/***/ }), | |
| 7353 | + | |
| 7354 | +/***/ "../node_modules/core-js/library/modules/es7.promise.finally.js": | |
| 7355 | +/*!**********************************************************************!*\ | |
| 7356 | + !*** ../node_modules/core-js/library/modules/es7.promise.finally.js ***! | |
| 7357 | + \**********************************************************************/ | |
| 7358 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7359 | + | |
| 7360 | +"use strict"; | |
| 7361 | +// https://github.com/tc39/proposal-promise-finally | |
| 7362 | + | |
| 7363 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7364 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 7365 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7366 | +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "../node_modules/core-js/library/modules/_species-constructor.js"); | |
| 7367 | +var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "../node_modules/core-js/library/modules/_promise-resolve.js"); | |
| 7368 | + | |
| 7369 | +$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { | |
| 7370 | + var C = speciesConstructor(this, core.Promise || global.Promise); | |
| 7371 | + var isFunction = typeof onFinally == 'function'; | |
| 7372 | + return this.then( | |
| 7373 | + isFunction ? function (x) { | |
| 7374 | + return promiseResolve(C, onFinally()).then(function () { return x; }); | |
| 7375 | + } : onFinally, | |
| 7376 | + isFunction ? function (e) { | |
| 7377 | + return promiseResolve(C, onFinally()).then(function () { throw e; }); | |
| 7378 | + } : onFinally | |
| 7379 | + ); | |
| 7380 | +} }); | |
| 7381 | + | |
| 7382 | + | |
| 7383 | +/***/ }), | |
| 7384 | + | |
| 7385 | +/***/ "../node_modules/core-js/library/modules/es7.promise.try.js": | |
| 7386 | +/*!******************************************************************!*\ | |
| 7387 | + !*** ../node_modules/core-js/library/modules/es7.promise.try.js ***! | |
| 7388 | + \******************************************************************/ | |
| 7389 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7390 | + | |
| 7391 | +"use strict"; | |
| 7392 | + | |
| 7393 | +// https://github.com/tc39/proposal-promise-try | |
| 7394 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7395 | +var newPromiseCapability = __webpack_require__(/*! ./_new-promise-capability */ "../node_modules/core-js/library/modules/_new-promise-capability.js"); | |
| 7396 | +var perform = __webpack_require__(/*! ./_perform */ "../node_modules/core-js/library/modules/_perform.js"); | |
| 7397 | + | |
| 7398 | +$export($export.S, 'Promise', { 'try': function (callbackfn) { | |
| 7399 | + var promiseCapability = newPromiseCapability.f(this); | |
| 7400 | + var result = perform(callbackfn); | |
| 7401 | + (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); | |
| 7402 | + return promiseCapability.promise; | |
| 7403 | +} }); | |
| 7404 | + | |
| 7405 | + | |
| 7406 | +/***/ }), | |
| 7407 | + | |
| 7408 | +/***/ "../node_modules/core-js/library/modules/es7.symbol.async-iterator.js": | |
| 7409 | +/*!****************************************************************************!*\ | |
| 7410 | + !*** ../node_modules/core-js/library/modules/es7.symbol.async-iterator.js ***! | |
| 7411 | + \****************************************************************************/ | |
| 7412 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7413 | + | |
| 7414 | +__webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js")('asyncIterator'); | |
| 7415 | + | |
| 7416 | + | |
| 7417 | +/***/ }), | |
| 7418 | + | |
| 7419 | +/***/ "../node_modules/core-js/library/modules/es7.symbol.observable.js": | |
| 7420 | +/*!************************************************************************!*\ | |
| 7421 | + !*** ../node_modules/core-js/library/modules/es7.symbol.observable.js ***! | |
| 7422 | + \************************************************************************/ | |
| 7423 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7424 | + | |
| 7425 | +__webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js")('observable'); | |
| 7426 | + | |
| 7427 | + | |
| 7428 | +/***/ }), | |
| 7429 | + | |
| 7430 | +/***/ "../node_modules/core-js/library/modules/es7.weak-map.from.js": | |
| 7431 | +/*!********************************************************************!*\ | |
| 7432 | + !*** ../node_modules/core-js/library/modules/es7.weak-map.from.js ***! | |
| 7433 | + \********************************************************************/ | |
| 7434 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7435 | + | |
| 7436 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from | |
| 7437 | +__webpack_require__(/*! ./_set-collection-from */ "../node_modules/core-js/library/modules/_set-collection-from.js")('WeakMap'); | |
| 7438 | + | |
| 7439 | + | |
| 7440 | +/***/ }), | |
| 7441 | + | |
| 7442 | +/***/ "../node_modules/core-js/library/modules/es7.weak-map.of.js": | |
| 7443 | +/*!******************************************************************!*\ | |
| 7444 | + !*** ../node_modules/core-js/library/modules/es7.weak-map.of.js ***! | |
| 7445 | + \******************************************************************/ | |
| 7446 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7447 | + | |
| 7448 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of | |
| 7449 | +__webpack_require__(/*! ./_set-collection-of */ "../node_modules/core-js/library/modules/_set-collection-of.js")('WeakMap'); | |
| 7450 | + | |
| 7451 | + | |
| 7452 | +/***/ }), | |
| 7453 | + | |
| 7454 | +/***/ "../node_modules/core-js/library/modules/web.dom.iterable.js": | |
| 7455 | +/*!*******************************************************************!*\ | |
| 7456 | + !*** ../node_modules/core-js/library/modules/web.dom.iterable.js ***! | |
| 7457 | + \*******************************************************************/ | |
| 7458 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7459 | + | |
| 7460 | +__webpack_require__(/*! ./es6.array.iterator */ "../node_modules/core-js/library/modules/es6.array.iterator.js"); | |
| 7461 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7462 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 7463 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 7464 | +var TO_STRING_TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 7465 | + | |
| 7466 | +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + | |
| 7467 | + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + | |
| 7468 | + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + | |
| 7469 | + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + | |
| 7470 | + 'TextTrackList,TouchList').split(','); | |
| 7471 | + | |
| 7472 | +for (var i = 0; i < DOMIterables.length; i++) { | |
| 7473 | + var NAME = DOMIterables[i]; | |
| 7474 | + var Collection = global[NAME]; | |
| 7475 | + var proto = Collection && Collection.prototype; | |
| 7476 | + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 7477 | + Iterators[NAME] = Iterators.Array; | |
| 5771 | 7478 | } |
| 5772 | 7479 | |
| 5773 | -// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of | |
| 5774 | -function miniKindOf(val) { | |
| 5775 | - if (val === void 0) return 'undefined'; | |
| 5776 | - if (val === null) return 'null'; | |
| 5777 | - var type = typeof val; | |
| 5778 | 7480 | |
| 5779 | - switch (type) { | |
| 5780 | - case 'boolean': | |
| 5781 | - case 'string': | |
| 5782 | - case 'number': | |
| 5783 | - case 'symbol': | |
| 5784 | - case 'function': | |
| 5785 | - { | |
| 5786 | - return type; | |
| 7481 | +/***/ }), | |
| 7482 | + | |
| 7483 | +/***/ "../node_modules/core-js/modules/_a-function.js": | |
| 7484 | +/*!******************************************************!*\ | |
| 7485 | + !*** ../node_modules/core-js/modules/_a-function.js ***! | |
| 7486 | + \******************************************************/ | |
| 7487 | +/***/ ((module) => { | |
| 7488 | + | |
| 7489 | +module.exports = function (it) { | |
| 7490 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 7491 | + return it; | |
| 7492 | +}; | |
| 7493 | + | |
| 7494 | + | |
| 7495 | +/***/ }), | |
| 7496 | + | |
| 7497 | +/***/ "../node_modules/core-js/modules/_add-to-unscopables.js": | |
| 7498 | +/*!**************************************************************!*\ | |
| 7499 | + !*** ../node_modules/core-js/modules/_add-to-unscopables.js ***! | |
| 7500 | + \**************************************************************/ | |
| 7501 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7502 | + | |
| 7503 | +// 22.1.3.31 Array.prototype[@@unscopables] | |
| 7504 | +var UNSCOPABLES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('unscopables'); | |
| 7505 | +var ArrayProto = Array.prototype; | |
| 7506 | +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js")(ArrayProto, UNSCOPABLES, {}); | |
| 7507 | +module.exports = function (key) { | |
| 7508 | + ArrayProto[UNSCOPABLES][key] = true; | |
| 7509 | +}; | |
| 7510 | + | |
| 7511 | + | |
| 7512 | +/***/ }), | |
| 7513 | + | |
| 7514 | +/***/ "../node_modules/core-js/modules/_advance-string-index.js": | |
| 7515 | +/*!****************************************************************!*\ | |
| 7516 | + !*** ../node_modules/core-js/modules/_advance-string-index.js ***! | |
| 7517 | + \****************************************************************/ | |
| 7518 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7519 | + | |
| 7520 | +"use strict"; | |
| 7521 | + | |
| 7522 | +var at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/modules/_string-at.js")(true); | |
| 7523 | + | |
| 7524 | + // `AdvanceStringIndex` abstract operation | |
| 7525 | +// https://tc39.github.io/ecma262/#sec-advancestringindex | |
| 7526 | +module.exports = function (S, index, unicode) { | |
| 7527 | + return index + (unicode ? at(S, index).length : 1); | |
| 7528 | +}; | |
| 7529 | + | |
| 7530 | + | |
| 7531 | +/***/ }), | |
| 7532 | + | |
| 7533 | +/***/ "../node_modules/core-js/modules/_an-object.js": | |
| 7534 | +/*!*****************************************************!*\ | |
| 7535 | + !*** ../node_modules/core-js/modules/_an-object.js ***! | |
| 7536 | + \*****************************************************/ | |
| 7537 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7538 | + | |
| 7539 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 7540 | +module.exports = function (it) { | |
| 7541 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 7542 | + return it; | |
| 7543 | +}; | |
| 7544 | + | |
| 7545 | + | |
| 7546 | +/***/ }), | |
| 7547 | + | |
| 7548 | +/***/ "../node_modules/core-js/modules/_array-includes.js": | |
| 7549 | +/*!**********************************************************!*\ | |
| 7550 | + !*** ../node_modules/core-js/modules/_array-includes.js ***! | |
| 7551 | + \**********************************************************/ | |
| 7552 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7553 | + | |
| 7554 | +// false -> Array#indexOf | |
| 7555 | +// true -> Array#includes | |
| 7556 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/modules/_to-iobject.js"); | |
| 7557 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 7558 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/modules/_to-absolute-index.js"); | |
| 7559 | +module.exports = function (IS_INCLUDES) { | |
| 7560 | + return function ($this, el, fromIndex) { | |
| 7561 | + var O = toIObject($this); | |
| 7562 | + var length = toLength(O.length); | |
| 7563 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 7564 | + var value; | |
| 7565 | + // Array#includes uses SameValueZero equality algorithm | |
| 7566 | + // eslint-disable-next-line no-self-compare | |
| 7567 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 7568 | + value = O[index++]; | |
| 7569 | + // eslint-disable-next-line no-self-compare | |
| 7570 | + if (value != value) return true; | |
| 7571 | + // Array#indexOf ignores holes, Array#includes - not | |
| 7572 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 7573 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 7574 | + } return !IS_INCLUDES && -1; | |
| 7575 | + }; | |
| 7576 | +}; | |
| 7577 | + | |
| 7578 | + | |
| 7579 | +/***/ }), | |
| 7580 | + | |
| 7581 | +/***/ "../node_modules/core-js/modules/_array-methods.js": | |
| 7582 | +/*!*********************************************************!*\ | |
| 7583 | + !*** ../node_modules/core-js/modules/_array-methods.js ***! | |
| 7584 | + \*********************************************************/ | |
| 7585 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7586 | + | |
| 7587 | +// 0 -> Array#forEach | |
| 7588 | +// 1 -> Array#map | |
| 7589 | +// 2 -> Array#filter | |
| 7590 | +// 3 -> Array#some | |
| 7591 | +// 4 -> Array#every | |
| 7592 | +// 5 -> Array#find | |
| 7593 | +// 6 -> Array#findIndex | |
| 7594 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/modules/_ctx.js"); | |
| 7595 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/modules/_iobject.js"); | |
| 7596 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 7597 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 7598 | +var asc = __webpack_require__(/*! ./_array-species-create */ "../node_modules/core-js/modules/_array-species-create.js"); | |
| 7599 | +module.exports = function (TYPE, $create) { | |
| 7600 | + var IS_MAP = TYPE == 1; | |
| 7601 | + var IS_FILTER = TYPE == 2; | |
| 7602 | + var IS_SOME = TYPE == 3; | |
| 7603 | + var IS_EVERY = TYPE == 4; | |
| 7604 | + var IS_FIND_INDEX = TYPE == 6; | |
| 7605 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 7606 | + var create = $create || asc; | |
| 7607 | + return function ($this, callbackfn, that) { | |
| 7608 | + var O = toObject($this); | |
| 7609 | + var self = IObject(O); | |
| 7610 | + var f = ctx(callbackfn, that, 3); | |
| 7611 | + var length = toLength(self.length); | |
| 7612 | + var index = 0; | |
| 7613 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 7614 | + var val, res; | |
| 7615 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 7616 | + val = self[index]; | |
| 7617 | + res = f(val, index, O); | |
| 7618 | + if (TYPE) { | |
| 7619 | + if (IS_MAP) result[index] = res; // map | |
| 7620 | + else if (res) switch (TYPE) { | |
| 7621 | + case 3: return true; // some | |
| 7622 | + case 5: return val; // find | |
| 7623 | + case 6: return index; // findIndex | |
| 7624 | + case 2: result.push(val); // filter | |
| 7625 | + } else if (IS_EVERY) return false; // every | |
| 5787 | 7626 | } |
| 7627 | + } | |
| 7628 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 7629 | + }; | |
| 7630 | +}; | |
| 7631 | + | |
| 7632 | + | |
| 7633 | +/***/ }), | |
| 7634 | + | |
| 7635 | +/***/ "../node_modules/core-js/modules/_array-species-constructor.js": | |
| 7636 | +/*!*********************************************************************!*\ | |
| 7637 | + !*** ../node_modules/core-js/modules/_array-species-constructor.js ***! | |
| 7638 | + \*********************************************************************/ | |
| 7639 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7640 | + | |
| 7641 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 7642 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/modules/_is-array.js"); | |
| 7643 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('species'); | |
| 7644 | + | |
| 7645 | +module.exports = function (original) { | |
| 7646 | + var C; | |
| 7647 | + if (isArray(original)) { | |
| 7648 | + C = original.constructor; | |
| 7649 | + // cross-realm fallback | |
| 7650 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 7651 | + if (isObject(C)) { | |
| 7652 | + C = C[SPECIES]; | |
| 7653 | + if (C === null) C = undefined; | |
| 7654 | + } | |
| 7655 | + } return C === undefined ? Array : C; | |
| 7656 | +}; | |
| 7657 | + | |
| 7658 | + | |
| 7659 | +/***/ }), | |
| 7660 | + | |
| 7661 | +/***/ "../node_modules/core-js/modules/_array-species-create.js": | |
| 7662 | +/*!****************************************************************!*\ | |
| 7663 | + !*** ../node_modules/core-js/modules/_array-species-create.js ***! | |
| 7664 | + \****************************************************************/ | |
| 7665 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7666 | + | |
| 7667 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 7668 | +var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "../node_modules/core-js/modules/_array-species-constructor.js"); | |
| 7669 | + | |
| 7670 | +module.exports = function (original, length) { | |
| 7671 | + return new (speciesConstructor(original))(length); | |
| 7672 | +}; | |
| 7673 | + | |
| 7674 | + | |
| 7675 | +/***/ }), | |
| 7676 | + | |
| 7677 | +/***/ "../node_modules/core-js/modules/_classof.js": | |
| 7678 | +/*!***************************************************!*\ | |
| 7679 | + !*** ../node_modules/core-js/modules/_classof.js ***! | |
| 7680 | + \***************************************************/ | |
| 7681 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7682 | + | |
| 7683 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 7684 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 7685 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag'); | |
| 7686 | +// ES3 wrong here | |
| 7687 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 7688 | + | |
| 7689 | +// fallback for IE11 Script Access Denied error | |
| 7690 | +var tryGet = function (it, key) { | |
| 7691 | + try { | |
| 7692 | + return it[key]; | |
| 7693 | + } catch (e) { /* empty */ } | |
| 7694 | +}; | |
| 7695 | + | |
| 7696 | +module.exports = function (it) { | |
| 7697 | + var O, T, B; | |
| 7698 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 7699 | + // @@toStringTag case | |
| 7700 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 7701 | + // builtinTag case | |
| 7702 | + : ARG ? cof(O) | |
| 7703 | + // ES3 arguments fallback | |
| 7704 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 7705 | +}; | |
| 7706 | + | |
| 7707 | + | |
| 7708 | +/***/ }), | |
| 7709 | + | |
| 7710 | +/***/ "../node_modules/core-js/modules/_cof.js": | |
| 7711 | +/*!***********************************************!*\ | |
| 7712 | + !*** ../node_modules/core-js/modules/_cof.js ***! | |
| 7713 | + \***********************************************/ | |
| 7714 | +/***/ ((module) => { | |
| 7715 | + | |
| 7716 | +var toString = {}.toString; | |
| 7717 | + | |
| 7718 | +module.exports = function (it) { | |
| 7719 | + return toString.call(it).slice(8, -1); | |
| 7720 | +}; | |
| 7721 | + | |
| 7722 | + | |
| 7723 | +/***/ }), | |
| 7724 | + | |
| 7725 | +/***/ "../node_modules/core-js/modules/_core.js": | |
| 7726 | +/*!************************************************!*\ | |
| 7727 | + !*** ../node_modules/core-js/modules/_core.js ***! | |
| 7728 | + \************************************************/ | |
| 7729 | +/***/ ((module) => { | |
| 7730 | + | |
| 7731 | +var core = module.exports = { version: '2.6.12' }; | |
| 7732 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 7733 | + | |
| 7734 | + | |
| 7735 | +/***/ }), | |
| 7736 | + | |
| 7737 | +/***/ "../node_modules/core-js/modules/_ctx.js": | |
| 7738 | +/*!***********************************************!*\ | |
| 7739 | + !*** ../node_modules/core-js/modules/_ctx.js ***! | |
| 7740 | + \***********************************************/ | |
| 7741 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7742 | + | |
| 7743 | +// optional / simple context binding | |
| 7744 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/modules/_a-function.js"); | |
| 7745 | +module.exports = function (fn, that, length) { | |
| 7746 | + aFunction(fn); | |
| 7747 | + if (that === undefined) return fn; | |
| 7748 | + switch (length) { | |
| 7749 | + case 1: return function (a) { | |
| 7750 | + return fn.call(that, a); | |
| 7751 | + }; | |
| 7752 | + case 2: return function (a, b) { | |
| 7753 | + return fn.call(that, a, b); | |
| 7754 | + }; | |
| 7755 | + case 3: return function (a, b, c) { | |
| 7756 | + return fn.call(that, a, b, c); | |
| 7757 | + }; | |
| 5788 | 7758 | } |
| 7759 | + return function (/* ...args */) { | |
| 7760 | + return fn.apply(that, arguments); | |
| 7761 | + }; | |
| 7762 | +}; | |
| 5789 | 7763 | |
| 5790 | - if (Array.isArray(val)) return 'array'; | |
| 5791 | - if (isDate(val)) return 'date'; | |
| 5792 | - if (isError(val)) return 'error'; | |
| 5793 | - var constructorName = ctorName(val); | |
| 5794 | 7764 | |
| 5795 | - switch (constructorName) { | |
| 5796 | - case 'Symbol': | |
| 5797 | - case 'Promise': | |
| 5798 | - case 'WeakMap': | |
| 5799 | - case 'WeakSet': | |
| 5800 | - case 'Map': | |
| 5801 | - case 'Set': | |
| 5802 | - return constructorName; | |
| 5803 | - } // other | |
| 7765 | +/***/ }), | |
| 5804 | 7766 | |
| 7767 | +/***/ "../node_modules/core-js/modules/_defined.js": | |
| 7768 | +/*!***************************************************!*\ | |
| 7769 | + !*** ../node_modules/core-js/modules/_defined.js ***! | |
| 7770 | + \***************************************************/ | |
| 7771 | +/***/ ((module) => { | |
| 5805 | 7772 | |
| 5806 | - return type.slice(8, -1).toLowerCase().replace(/\s/g, ''); | |
| 5807 | -} | |
| 7773 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 7774 | +module.exports = function (it) { | |
| 7775 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 7776 | + return it; | |
| 7777 | +}; | |
| 5808 | 7778 | |
| 5809 | -function ctorName(val) { | |
| 5810 | - return typeof val.constructor === 'function' ? val.constructor.name : null; | |
| 5811 | -} | |
| 5812 | 7779 | |
| 5813 | -function isError(val) { | |
| 5814 | - return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number'; | |
| 5815 | -} | |
| 7780 | +/***/ }), | |
| 5816 | 7781 | |
| 5817 | -function isDate(val) { | |
| 5818 | - if (val instanceof Date) return true; | |
| 5819 | - return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function'; | |
| 5820 | -} | |
| 7782 | +/***/ "../node_modules/core-js/modules/_descriptors.js": | |
| 7783 | +/*!*******************************************************!*\ | |
| 7784 | + !*** ../node_modules/core-js/modules/_descriptors.js ***! | |
| 7785 | + \*******************************************************/ | |
| 7786 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5821 | 7787 | |
| 5822 | -function kindOf(val) { | |
| 5823 | - var typeOfVal = typeof val; | |
| 7788 | +// Thank's IE8 for his funny defineProperty | |
| 7789 | +module.exports = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 7790 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 7791 | +}); | |
| 5824 | 7792 | |
| 5825 | - if (true) { | |
| 5826 | - typeOfVal = miniKindOf(val); | |
| 7793 | + | |
| 7794 | +/***/ }), | |
| 7795 | + | |
| 7796 | +/***/ "../node_modules/core-js/modules/_dom-create.js": | |
| 7797 | +/*!******************************************************!*\ | |
| 7798 | + !*** ../node_modules/core-js/modules/_dom-create.js ***! | |
| 7799 | + \******************************************************/ | |
| 7800 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7801 | + | |
| 7802 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 7803 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").document; | |
| 7804 | +// typeof document.createElement is 'object' in old IE | |
| 7805 | +var is = isObject(document) && isObject(document.createElement); | |
| 7806 | +module.exports = function (it) { | |
| 7807 | + return is ? document.createElement(it) : {}; | |
| 7808 | +}; | |
| 7809 | + | |
| 7810 | + | |
| 7811 | +/***/ }), | |
| 7812 | + | |
| 7813 | +/***/ "../node_modules/core-js/modules/_enum-bug-keys.js": | |
| 7814 | +/*!*********************************************************!*\ | |
| 7815 | + !*** ../node_modules/core-js/modules/_enum-bug-keys.js ***! | |
| 7816 | + \*********************************************************/ | |
| 7817 | +/***/ ((module) => { | |
| 7818 | + | |
| 7819 | +// IE 8- don't enum bug keys | |
| 7820 | +module.exports = ( | |
| 7821 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 7822 | +).split(','); | |
| 7823 | + | |
| 7824 | + | |
| 7825 | +/***/ }), | |
| 7826 | + | |
| 7827 | +/***/ "../node_modules/core-js/modules/_export.js": | |
| 7828 | +/*!**************************************************!*\ | |
| 7829 | + !*** ../node_modules/core-js/modules/_export.js ***! | |
| 7830 | + \**************************************************/ | |
| 7831 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7832 | + | |
| 7833 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 7834 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js"); | |
| 7835 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 7836 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 7837 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/modules/_ctx.js"); | |
| 7838 | +var PROTOTYPE = 'prototype'; | |
| 7839 | + | |
| 7840 | +var $export = function (type, name, source) { | |
| 7841 | + var IS_FORCED = type & $export.F; | |
| 7842 | + var IS_GLOBAL = type & $export.G; | |
| 7843 | + var IS_STATIC = type & $export.S; | |
| 7844 | + var IS_PROTO = type & $export.P; | |
| 7845 | + var IS_BIND = type & $export.B; | |
| 7846 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; | |
| 7847 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 7848 | + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); | |
| 7849 | + var key, own, out, exp; | |
| 7850 | + if (IS_GLOBAL) source = name; | |
| 7851 | + for (key in source) { | |
| 7852 | + // contains in native | |
| 7853 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 7854 | + // export native or passed | |
| 7855 | + out = (own ? target : source)[key]; | |
| 7856 | + // bind timers to global for call from export context | |
| 7857 | + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 7858 | + // extend global | |
| 7859 | + if (target) redefine(target, key, out, type & $export.U); | |
| 7860 | + // export | |
| 7861 | + if (exports[key] != out) hide(exports, key, exp); | |
| 7862 | + if (IS_PROTO && expProto[key] != out) expProto[key] = out; | |
| 5827 | 7863 | } |
| 7864 | +}; | |
| 7865 | +global.core = core; | |
| 7866 | +// type bitmap | |
| 7867 | +$export.F = 1; // forced | |
| 7868 | +$export.G = 2; // global | |
| 7869 | +$export.S = 4; // static | |
| 7870 | +$export.P = 8; // proto | |
| 7871 | +$export.B = 16; // bind | |
| 7872 | +$export.W = 32; // wrap | |
| 7873 | +$export.U = 64; // safe | |
| 7874 | +$export.R = 128; // real proto method for `library` | |
| 7875 | +module.exports = $export; | |
| 5828 | 7876 | |
| 5829 | - return typeOfVal; | |
| 5830 | -} | |
| 5831 | 7877 | |
| 5832 | -/** | |
| 5833 | - * @deprecated | |
| 5834 | - * | |
| 5835 | - * **We recommend using the `configureStore` method | |
| 5836 | - * of the `@reduxjs/toolkit` package**, which replaces `createStore`. | |
| 5837 | - * | |
| 5838 | - * Redux Toolkit is our recommended approach for writing Redux logic today, | |
| 5839 | - * including store setup, reducers, data fetching, and more. | |
| 5840 | - * | |
| 5841 | - * **For more details, please read this Redux docs page:** | |
| 5842 | - * **https://redux.js.org/introduction/why-rtk-is-redux-today** | |
| 5843 | - * | |
| 5844 | - * `configureStore` from Redux Toolkit is an improved version of `createStore` that | |
| 5845 | - * simplifies setup and helps avoid common bugs. | |
| 5846 | - * | |
| 5847 | - * You should not be using the `redux` core package by itself today, except for learning purposes. | |
| 5848 | - * The `createStore` method from the core `redux` package will not be removed, but we encourage | |
| 5849 | - * all users to migrate to using Redux Toolkit for all Redux code. | |
| 5850 | - * | |
| 5851 | - * If you want to use `createStore` without this visual deprecation warning, use | |
| 5852 | - * the `legacy_createStore` import instead: | |
| 5853 | - * | |
| 5854 | - * `import { legacy_createStore as createStore} from 'redux'` | |
| 5855 | - * | |
| 5856 | - */ | |
| 7878 | +/***/ }), | |
| 5857 | 7879 | |
| 5858 | -function createStore(reducer, preloadedState, enhancer) { | |
| 5859 | - var _ref2; | |
| 7880 | +/***/ "../node_modules/core-js/modules/_fails-is-regexp.js": | |
| 7881 | +/*!***********************************************************!*\ | |
| 7882 | + !*** ../node_modules/core-js/modules/_fails-is-regexp.js ***! | |
| 7883 | + \***********************************************************/ | |
| 7884 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5860 | 7885 | |
| 5861 | - if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') { | |
| 5862 | - throw new Error( false ? 0 : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.'); | |
| 7886 | +var MATCH = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('match'); | |
| 7887 | +module.exports = function (KEY) { | |
| 7888 | + var re = /./; | |
| 7889 | + try { | |
| 7890 | + '/./'[KEY](re); | |
| 7891 | + } catch (e) { | |
| 7892 | + try { | |
| 7893 | + re[MATCH] = false; | |
| 7894 | + return !'/./'[KEY](re); | |
| 7895 | + } catch (f) { /* empty */ } | |
| 7896 | + } return true; | |
| 7897 | +}; | |
| 7898 | + | |
| 7899 | + | |
| 7900 | +/***/ }), | |
| 7901 | + | |
| 7902 | +/***/ "../node_modules/core-js/modules/_fails.js": | |
| 7903 | +/*!*************************************************!*\ | |
| 7904 | + !*** ../node_modules/core-js/modules/_fails.js ***! | |
| 7905 | + \*************************************************/ | |
| 7906 | +/***/ ((module) => { | |
| 7907 | + | |
| 7908 | +module.exports = function (exec) { | |
| 7909 | + try { | |
| 7910 | + return !!exec(); | |
| 7911 | + } catch (e) { | |
| 7912 | + return true; | |
| 5863 | 7913 | } |
| 7914 | +}; | |
| 5864 | 7915 | |
| 5865 | - if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') { | |
| 5866 | - enhancer = preloadedState; | |
| 5867 | - preloadedState = undefined; | |
| 5868 | - } | |
| 5869 | 7916 | |
| 5870 | - if (typeof enhancer !== 'undefined') { | |
| 5871 | - if (typeof enhancer !== 'function') { | |
| 5872 | - throw new Error( false ? 0 : "Expected the enhancer to be a function. Instead, received: '" + kindOf(enhancer) + "'"); | |
| 7917 | +/***/ }), | |
| 7918 | + | |
| 7919 | +/***/ "../node_modules/core-js/modules/_fix-re-wks.js": | |
| 7920 | +/*!******************************************************!*\ | |
| 7921 | + !*** ../node_modules/core-js/modules/_fix-re-wks.js ***! | |
| 7922 | + \******************************************************/ | |
| 7923 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7924 | + | |
| 7925 | +"use strict"; | |
| 7926 | + | |
| 7927 | +__webpack_require__(/*! ./es6.regexp.exec */ "../node_modules/core-js/modules/es6.regexp.exec.js"); | |
| 7928 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 7929 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 7930 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 7931 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 7932 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js"); | |
| 7933 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 7934 | + | |
| 7935 | +var SPECIES = wks('species'); | |
| 7936 | + | |
| 7937 | +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { | |
| 7938 | + // #replace needs built-in support for named groups. | |
| 7939 | + // #match works fine because it just return the exec results, even if it has | |
| 7940 | + // a "grops" property. | |
| 7941 | + var re = /./; | |
| 7942 | + re.exec = function () { | |
| 7943 | + var result = []; | |
| 7944 | + result.groups = { a: '7' }; | |
| 7945 | + return result; | |
| 7946 | + }; | |
| 7947 | + return ''.replace(re, '$<a>') !== '7'; | |
| 7948 | +}); | |
| 7949 | + | |
| 7950 | +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { | |
| 7951 | + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec | |
| 7952 | + var re = /(?:)/; | |
| 7953 | + var originalExec = re.exec; | |
| 7954 | + re.exec = function () { return originalExec.apply(this, arguments); }; | |
| 7955 | + var result = 'ab'.split(re); | |
| 7956 | + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; | |
| 7957 | +})(); | |
| 7958 | + | |
| 7959 | +module.exports = function (KEY, length, exec) { | |
| 7960 | + var SYMBOL = wks(KEY); | |
| 7961 | + | |
| 7962 | + var DELEGATES_TO_SYMBOL = !fails(function () { | |
| 7963 | + // String methods call symbol-named RegEp methods | |
| 7964 | + var O = {}; | |
| 7965 | + O[SYMBOL] = function () { return 7; }; | |
| 7966 | + return ''[KEY](O) != 7; | |
| 7967 | + }); | |
| 7968 | + | |
| 7969 | + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { | |
| 7970 | + // Symbol-named RegExp methods call .exec | |
| 7971 | + var execCalled = false; | |
| 7972 | + var re = /a/; | |
| 7973 | + re.exec = function () { execCalled = true; return null; }; | |
| 7974 | + if (KEY === 'split') { | |
| 7975 | + // RegExp[@@split] doesn't call the regex's exec method, but first creates | |
| 7976 | + // a new one. We need to return the patched regex when creating the new one. | |
| 7977 | + re.constructor = {}; | |
| 7978 | + re.constructor[SPECIES] = function () { return re; }; | |
| 5873 | 7979 | } |
| 7980 | + re[SYMBOL](''); | |
| 7981 | + return !execCalled; | |
| 7982 | + }) : undefined; | |
| 5874 | 7983 | |
| 5875 | - return enhancer(createStore)(reducer, preloadedState); | |
| 7984 | + if ( | |
| 7985 | + !DELEGATES_TO_SYMBOL || | |
| 7986 | + !DELEGATES_TO_EXEC || | |
| 7987 | + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || | |
| 7988 | + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) | |
| 7989 | + ) { | |
| 7990 | + var nativeRegExpMethod = /./[SYMBOL]; | |
| 7991 | + var fns = exec( | |
| 7992 | + defined, | |
| 7993 | + SYMBOL, | |
| 7994 | + ''[KEY], | |
| 7995 | + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { | |
| 7996 | + if (regexp.exec === regexpExec) { | |
| 7997 | + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { | |
| 7998 | + // The native String method already delegates to @@method (this | |
| 7999 | + // polyfilled function), leasing to infinite recursion. | |
| 8000 | + // We avoid it by directly calling the native @@method method. | |
| 8001 | + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; | |
| 8002 | + } | |
| 8003 | + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; | |
| 8004 | + } | |
| 8005 | + return { done: false }; | |
| 8006 | + } | |
| 8007 | + ); | |
| 8008 | + var strfn = fns[0]; | |
| 8009 | + var rxfn = fns[1]; | |
| 8010 | + | |
| 8011 | + redefine(String.prototype, KEY, strfn); | |
| 8012 | + hide(RegExp.prototype, SYMBOL, length == 2 | |
| 8013 | + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) | |
| 8014 | + // 21.2.5.11 RegExp.prototype[@@split](string, limit) | |
| 8015 | + ? function (string, arg) { return rxfn.call(string, this, arg); } | |
| 8016 | + // 21.2.5.6 RegExp.prototype[@@match](string) | |
| 8017 | + // 21.2.5.9 RegExp.prototype[@@search](string) | |
| 8018 | + : function (string) { return rxfn.call(string, this); } | |
| 8019 | + ); | |
| 5876 | 8020 | } |
| 8021 | +}; | |
| 5877 | 8022 | |
| 5878 | - if (typeof reducer !== 'function') { | |
| 5879 | - throw new Error( false ? 0 : "Expected the root reducer to be a function. Instead, received: '" + kindOf(reducer) + "'"); | |
| 5880 | - } | |
| 5881 | 8023 | |
| 5882 | - var currentReducer = reducer; | |
| 5883 | - var currentState = preloadedState; | |
| 5884 | - var currentListeners = []; | |
| 5885 | - var nextListeners = currentListeners; | |
| 5886 | - var isDispatching = false; | |
| 5887 | - /** | |
| 5888 | - * This makes a shallow copy of currentListeners so we can use | |
| 5889 | - * nextListeners as a temporary list while dispatching. | |
| 5890 | - * | |
| 5891 | - * This prevents any bugs around consumers calling | |
| 5892 | - * subscribe/unsubscribe in the middle of a dispatch. | |
| 5893 | - */ | |
| 8024 | +/***/ }), | |
| 5894 | 8025 | |
| 5895 | - function ensureCanMutateNextListeners() { | |
| 5896 | - if (nextListeners === currentListeners) { | |
| 5897 | - nextListeners = currentListeners.slice(); | |
| 8026 | +/***/ "../node_modules/core-js/modules/_flags.js": | |
| 8027 | +/*!*************************************************!*\ | |
| 8028 | + !*** ../node_modules/core-js/modules/_flags.js ***! | |
| 8029 | + \*************************************************/ | |
| 8030 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8031 | + | |
| 8032 | +"use strict"; | |
| 8033 | + | |
| 8034 | +// 21.2.5.3 get RegExp.prototype.flags | |
| 8035 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8036 | +module.exports = function () { | |
| 8037 | + var that = anObject(this); | |
| 8038 | + var result = ''; | |
| 8039 | + if (that.global) result += 'g'; | |
| 8040 | + if (that.ignoreCase) result += 'i'; | |
| 8041 | + if (that.multiline) result += 'm'; | |
| 8042 | + if (that.unicode) result += 'u'; | |
| 8043 | + if (that.sticky) result += 'y'; | |
| 8044 | + return result; | |
| 8045 | +}; | |
| 8046 | + | |
| 8047 | + | |
| 8048 | +/***/ }), | |
| 8049 | + | |
| 8050 | +/***/ "../node_modules/core-js/modules/_function-to-string.js": | |
| 8051 | +/*!**************************************************************!*\ | |
| 8052 | + !*** ../node_modules/core-js/modules/_function-to-string.js ***! | |
| 8053 | + \**************************************************************/ | |
| 8054 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8055 | + | |
| 8056 | +module.exports = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('native-function-to-string', Function.toString); | |
| 8057 | + | |
| 8058 | + | |
| 8059 | +/***/ }), | |
| 8060 | + | |
| 8061 | +/***/ "../node_modules/core-js/modules/_global.js": | |
| 8062 | +/*!**************************************************!*\ | |
| 8063 | + !*** ../node_modules/core-js/modules/_global.js ***! | |
| 8064 | + \**************************************************/ | |
| 8065 | +/***/ ((module) => { | |
| 8066 | + | |
| 8067 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 8068 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 8069 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 8070 | + // eslint-disable-next-line no-new-func | |
| 8071 | + : Function('return this')(); | |
| 8072 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 8073 | + | |
| 8074 | + | |
| 8075 | +/***/ }), | |
| 8076 | + | |
| 8077 | +/***/ "../node_modules/core-js/modules/_has.js": | |
| 8078 | +/*!***********************************************!*\ | |
| 8079 | + !*** ../node_modules/core-js/modules/_has.js ***! | |
| 8080 | + \***********************************************/ | |
| 8081 | +/***/ ((module) => { | |
| 8082 | + | |
| 8083 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 8084 | +module.exports = function (it, key) { | |
| 8085 | + return hasOwnProperty.call(it, key); | |
| 8086 | +}; | |
| 8087 | + | |
| 8088 | + | |
| 8089 | +/***/ }), | |
| 8090 | + | |
| 8091 | +/***/ "../node_modules/core-js/modules/_hide.js": | |
| 8092 | +/*!************************************************!*\ | |
| 8093 | + !*** ../node_modules/core-js/modules/_hide.js ***! | |
| 8094 | + \************************************************/ | |
| 8095 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8096 | + | |
| 8097 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js"); | |
| 8098 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/modules/_property-desc.js"); | |
| 8099 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? function (object, key, value) { | |
| 8100 | + return dP.f(object, key, createDesc(1, value)); | |
| 8101 | +} : function (object, key, value) { | |
| 8102 | + object[key] = value; | |
| 8103 | + return object; | |
| 8104 | +}; | |
| 8105 | + | |
| 8106 | + | |
| 8107 | +/***/ }), | |
| 8108 | + | |
| 8109 | +/***/ "../node_modules/core-js/modules/_html.js": | |
| 8110 | +/*!************************************************!*\ | |
| 8111 | + !*** ../node_modules/core-js/modules/_html.js ***! | |
| 8112 | + \************************************************/ | |
| 8113 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8114 | + | |
| 8115 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").document; | |
| 8116 | +module.exports = document && document.documentElement; | |
| 8117 | + | |
| 8118 | + | |
| 8119 | +/***/ }), | |
| 8120 | + | |
| 8121 | +/***/ "../node_modules/core-js/modules/_ie8-dom-define.js": | |
| 8122 | +/*!**********************************************************!*\ | |
| 8123 | + !*** ../node_modules/core-js/modules/_ie8-dom-define.js ***! | |
| 8124 | + \**********************************************************/ | |
| 8125 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8126 | + | |
| 8127 | +module.exports = !__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 8128 | + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 8129 | +}); | |
| 8130 | + | |
| 8131 | + | |
| 8132 | +/***/ }), | |
| 8133 | + | |
| 8134 | +/***/ "../node_modules/core-js/modules/_iobject.js": | |
| 8135 | +/*!***************************************************!*\ | |
| 8136 | + !*** ../node_modules/core-js/modules/_iobject.js ***! | |
| 8137 | + \***************************************************/ | |
| 8138 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8139 | + | |
| 8140 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 8141 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 8142 | +// eslint-disable-next-line no-prototype-builtins | |
| 8143 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 8144 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 8145 | +}; | |
| 8146 | + | |
| 8147 | + | |
| 8148 | +/***/ }), | |
| 8149 | + | |
| 8150 | +/***/ "../node_modules/core-js/modules/_is-array.js": | |
| 8151 | +/*!****************************************************!*\ | |
| 8152 | + !*** ../node_modules/core-js/modules/_is-array.js ***! | |
| 8153 | + \****************************************************/ | |
| 8154 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8155 | + | |
| 8156 | +// 7.2.2 IsArray(argument) | |
| 8157 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 8158 | +module.exports = Array.isArray || function isArray(arg) { | |
| 8159 | + return cof(arg) == 'Array'; | |
| 8160 | +}; | |
| 8161 | + | |
| 8162 | + | |
| 8163 | +/***/ }), | |
| 8164 | + | |
| 8165 | +/***/ "../node_modules/core-js/modules/_is-object.js": | |
| 8166 | +/*!*****************************************************!*\ | |
| 8167 | + !*** ../node_modules/core-js/modules/_is-object.js ***! | |
| 8168 | + \*****************************************************/ | |
| 8169 | +/***/ ((module) => { | |
| 8170 | + | |
| 8171 | +module.exports = function (it) { | |
| 8172 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 8173 | +}; | |
| 8174 | + | |
| 8175 | + | |
| 8176 | +/***/ }), | |
| 8177 | + | |
| 8178 | +/***/ "../node_modules/core-js/modules/_is-regexp.js": | |
| 8179 | +/*!*****************************************************!*\ | |
| 8180 | + !*** ../node_modules/core-js/modules/_is-regexp.js ***! | |
| 8181 | + \*****************************************************/ | |
| 8182 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8183 | + | |
| 8184 | +// 7.2.8 IsRegExp(argument) | |
| 8185 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 8186 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 8187 | +var MATCH = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('match'); | |
| 8188 | +module.exports = function (it) { | |
| 8189 | + var isRegExp; | |
| 8190 | + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); | |
| 8191 | +}; | |
| 8192 | + | |
| 8193 | + | |
| 8194 | +/***/ }), | |
| 8195 | + | |
| 8196 | +/***/ "../node_modules/core-js/modules/_iter-create.js": | |
| 8197 | +/*!*******************************************************!*\ | |
| 8198 | + !*** ../node_modules/core-js/modules/_iter-create.js ***! | |
| 8199 | + \*******************************************************/ | |
| 8200 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8201 | + | |
| 8202 | +"use strict"; | |
| 8203 | + | |
| 8204 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/modules/_object-create.js"); | |
| 8205 | +var descriptor = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/modules/_property-desc.js"); | |
| 8206 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/modules/_set-to-string-tag.js"); | |
| 8207 | +var IteratorPrototype = {}; | |
| 8208 | + | |
| 8209 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 8210 | +__webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('iterator'), function () { return this; }); | |
| 8211 | + | |
| 8212 | +module.exports = function (Constructor, NAME, next) { | |
| 8213 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 8214 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 8215 | +}; | |
| 8216 | + | |
| 8217 | + | |
| 8218 | +/***/ }), | |
| 8219 | + | |
| 8220 | +/***/ "../node_modules/core-js/modules/_iter-define.js": | |
| 8221 | +/*!*******************************************************!*\ | |
| 8222 | + !*** ../node_modules/core-js/modules/_iter-define.js ***! | |
| 8223 | + \*******************************************************/ | |
| 8224 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8225 | + | |
| 8226 | +"use strict"; | |
| 8227 | + | |
| 8228 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/modules/_library.js"); | |
| 8229 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 8230 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 8231 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 8232 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/modules/_iterators.js"); | |
| 8233 | +var $iterCreate = __webpack_require__(/*! ./_iter-create */ "../node_modules/core-js/modules/_iter-create.js"); | |
| 8234 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/modules/_set-to-string-tag.js"); | |
| 8235 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/modules/_object-gpo.js"); | |
| 8236 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('iterator'); | |
| 8237 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 8238 | +var FF_ITERATOR = '@@iterator'; | |
| 8239 | +var KEYS = 'keys'; | |
| 8240 | +var VALUES = 'values'; | |
| 8241 | + | |
| 8242 | +var returnThis = function () { return this; }; | |
| 8243 | + | |
| 8244 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 8245 | + $iterCreate(Constructor, NAME, next); | |
| 8246 | + var getMethod = function (kind) { | |
| 8247 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 8248 | + switch (kind) { | |
| 8249 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 8250 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 8251 | + } return function entries() { return new Constructor(this, kind); }; | |
| 8252 | + }; | |
| 8253 | + var TAG = NAME + ' Iterator'; | |
| 8254 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 8255 | + var VALUES_BUG = false; | |
| 8256 | + var proto = Base.prototype; | |
| 8257 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 8258 | + var $default = $native || getMethod(DEFAULT); | |
| 8259 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 8260 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 8261 | + var methods, key, IteratorPrototype; | |
| 8262 | + // Fix native | |
| 8263 | + if ($anyNative) { | |
| 8264 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 8265 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 8266 | + // Set @@toStringTag to native iterators | |
| 8267 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 8268 | + // fix for some old engines | |
| 8269 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 5898 | 8270 | } |
| 5899 | 8271 | } |
| 5900 | - /** | |
| 5901 | - * Reads the state tree managed by the store. | |
| 5902 | - * | |
| 5903 | - * @returns {any} The current state tree of your application. | |
| 5904 | - */ | |
| 8272 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 8273 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 8274 | + VALUES_BUG = true; | |
| 8275 | + $default = function values() { return $native.call(this); }; | |
| 8276 | + } | |
| 8277 | + // Define iterator | |
| 8278 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 8279 | + hide(proto, ITERATOR, $default); | |
| 8280 | + } | |
| 8281 | + // Plug for library | |
| 8282 | + Iterators[NAME] = $default; | |
| 8283 | + Iterators[TAG] = returnThis; | |
| 8284 | + if (DEFAULT) { | |
| 8285 | + methods = { | |
| 8286 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 8287 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 8288 | + entries: $entries | |
| 8289 | + }; | |
| 8290 | + if (FORCED) for (key in methods) { | |
| 8291 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 8292 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 8293 | + } | |
| 8294 | + return methods; | |
| 8295 | +}; | |
| 5905 | 8296 | |
| 5906 | 8297 | |
| 5907 | - function getState() { | |
| 5908 | - if (isDispatching) { | |
| 5909 | - throw new Error( false ? 0 : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.'); | |
| 5910 | - } | |
| 8298 | +/***/ }), | |
| 5911 | 8299 | |
| 5912 | - return currentState; | |
| 8300 | +/***/ "../node_modules/core-js/modules/_iter-step.js": | |
| 8301 | +/*!*****************************************************!*\ | |
| 8302 | + !*** ../node_modules/core-js/modules/_iter-step.js ***! | |
| 8303 | + \*****************************************************/ | |
| 8304 | +/***/ ((module) => { | |
| 8305 | + | |
| 8306 | +module.exports = function (done, value) { | |
| 8307 | + return { value: value, done: !!done }; | |
| 8308 | +}; | |
| 8309 | + | |
| 8310 | + | |
| 8311 | +/***/ }), | |
| 8312 | + | |
| 8313 | +/***/ "../node_modules/core-js/modules/_iterators.js": | |
| 8314 | +/*!*****************************************************!*\ | |
| 8315 | + !*** ../node_modules/core-js/modules/_iterators.js ***! | |
| 8316 | + \*****************************************************/ | |
| 8317 | +/***/ ((module) => { | |
| 8318 | + | |
| 8319 | +module.exports = {}; | |
| 8320 | + | |
| 8321 | + | |
| 8322 | +/***/ }), | |
| 8323 | + | |
| 8324 | +/***/ "../node_modules/core-js/modules/_library.js": | |
| 8325 | +/*!***************************************************!*\ | |
| 8326 | + !*** ../node_modules/core-js/modules/_library.js ***! | |
| 8327 | + \***************************************************/ | |
| 8328 | +/***/ ((module) => { | |
| 8329 | + | |
| 8330 | +module.exports = false; | |
| 8331 | + | |
| 8332 | + | |
| 8333 | +/***/ }), | |
| 8334 | + | |
| 8335 | +/***/ "../node_modules/core-js/modules/_object-create.js": | |
| 8336 | +/*!*********************************************************!*\ | |
| 8337 | + !*** ../node_modules/core-js/modules/_object-create.js ***! | |
| 8338 | + \*********************************************************/ | |
| 8339 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8340 | + | |
| 8341 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 8342 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8343 | +var dPs = __webpack_require__(/*! ./_object-dps */ "../node_modules/core-js/modules/_object-dps.js"); | |
| 8344 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/modules/_enum-bug-keys.js"); | |
| 8345 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); | |
| 8346 | +var Empty = function () { /* empty */ }; | |
| 8347 | +var PROTOTYPE = 'prototype'; | |
| 8348 | + | |
| 8349 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 8350 | +var createDict = function () { | |
| 8351 | + // Thrash, waste and sodomy: IE GC bug | |
| 8352 | + var iframe = __webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/modules/_dom-create.js")('iframe'); | |
| 8353 | + var i = enumBugKeys.length; | |
| 8354 | + var lt = '<'; | |
| 8355 | + var gt = '>'; | |
| 8356 | + var iframeDocument; | |
| 8357 | + iframe.style.display = 'none'; | |
| 8358 | + __webpack_require__(/*! ./_html */ "../node_modules/core-js/modules/_html.js").appendChild(iframe); | |
| 8359 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 8360 | + // createDict = iframe.contentWindow.Object; | |
| 8361 | + // html.removeChild(iframe); | |
| 8362 | + iframeDocument = iframe.contentWindow.document; | |
| 8363 | + iframeDocument.open(); | |
| 8364 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 8365 | + iframeDocument.close(); | |
| 8366 | + createDict = iframeDocument.F; | |
| 8367 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 8368 | + return createDict(); | |
| 8369 | +}; | |
| 8370 | + | |
| 8371 | +module.exports = Object.create || function create(O, Properties) { | |
| 8372 | + var result; | |
| 8373 | + if (O !== null) { | |
| 8374 | + Empty[PROTOTYPE] = anObject(O); | |
| 8375 | + result = new Empty(); | |
| 8376 | + Empty[PROTOTYPE] = null; | |
| 8377 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 8378 | + result[IE_PROTO] = O; | |
| 8379 | + } else result = createDict(); | |
| 8380 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 8381 | +}; | |
| 8382 | + | |
| 8383 | + | |
| 8384 | +/***/ }), | |
| 8385 | + | |
| 8386 | +/***/ "../node_modules/core-js/modules/_object-dp.js": | |
| 8387 | +/*!*****************************************************!*\ | |
| 8388 | + !*** ../node_modules/core-js/modules/_object-dp.js ***! | |
| 8389 | + \*****************************************************/ | |
| 8390 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 8391 | + | |
| 8392 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8393 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/modules/_ie8-dom-define.js"); | |
| 8394 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/modules/_to-primitive.js"); | |
| 8395 | +var dP = Object.defineProperty; | |
| 8396 | + | |
| 8397 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 8398 | + anObject(O); | |
| 8399 | + P = toPrimitive(P, true); | |
| 8400 | + anObject(Attributes); | |
| 8401 | + if (IE8_DOM_DEFINE) try { | |
| 8402 | + return dP(O, P, Attributes); | |
| 8403 | + } catch (e) { /* empty */ } | |
| 8404 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 8405 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 8406 | + return O; | |
| 8407 | +}; | |
| 8408 | + | |
| 8409 | + | |
| 8410 | +/***/ }), | |
| 8411 | + | |
| 8412 | +/***/ "../node_modules/core-js/modules/_object-dps.js": | |
| 8413 | +/*!******************************************************!*\ | |
| 8414 | + !*** ../node_modules/core-js/modules/_object-dps.js ***! | |
| 8415 | + \******************************************************/ | |
| 8416 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8417 | + | |
| 8418 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js"); | |
| 8419 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8420 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/modules/_object-keys.js"); | |
| 8421 | + | |
| 8422 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 8423 | + anObject(O); | |
| 8424 | + var keys = getKeys(Properties); | |
| 8425 | + var length = keys.length; | |
| 8426 | + var i = 0; | |
| 8427 | + var P; | |
| 8428 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 8429 | + return O; | |
| 8430 | +}; | |
| 8431 | + | |
| 8432 | + | |
| 8433 | +/***/ }), | |
| 8434 | + | |
| 8435 | +/***/ "../node_modules/core-js/modules/_object-gpo.js": | |
| 8436 | +/*!******************************************************!*\ | |
| 8437 | + !*** ../node_modules/core-js/modules/_object-gpo.js ***! | |
| 8438 | + \******************************************************/ | |
| 8439 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8440 | + | |
| 8441 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 8442 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 8443 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 8444 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); | |
| 8445 | +var ObjectProto = Object.prototype; | |
| 8446 | + | |
| 8447 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 8448 | + O = toObject(O); | |
| 8449 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 8450 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 8451 | + return O.constructor.prototype; | |
| 8452 | + } return O instanceof Object ? ObjectProto : null; | |
| 8453 | +}; | |
| 8454 | + | |
| 8455 | + | |
| 8456 | +/***/ }), | |
| 8457 | + | |
| 8458 | +/***/ "../node_modules/core-js/modules/_object-keys-internal.js": | |
| 8459 | +/*!****************************************************************!*\ | |
| 8460 | + !*** ../node_modules/core-js/modules/_object-keys-internal.js ***! | |
| 8461 | + \****************************************************************/ | |
| 8462 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8463 | + | |
| 8464 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 8465 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/modules/_to-iobject.js"); | |
| 8466 | +var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "../node_modules/core-js/modules/_array-includes.js")(false); | |
| 8467 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); | |
| 8468 | + | |
| 8469 | +module.exports = function (object, names) { | |
| 8470 | + var O = toIObject(object); | |
| 8471 | + var i = 0; | |
| 8472 | + var result = []; | |
| 8473 | + var key; | |
| 8474 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 8475 | + // Don't enum bug & hidden keys | |
| 8476 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 8477 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 5913 | 8478 | } |
| 5914 | - /** | |
| 5915 | - * Adds a change listener. It will be called any time an action is dispatched, | |
| 5916 | - * and some part of the state tree may potentially have changed. You may then | |
| 5917 | - * call `getState()` to read the current state tree inside the callback. | |
| 5918 | - * | |
| 5919 | - * You may call `dispatch()` from a change listener, with the following | |
| 5920 | - * caveats: | |
| 5921 | - * | |
| 5922 | - * 1. The subscriptions are snapshotted just before every `dispatch()` call. | |
| 5923 | - * If you subscribe or unsubscribe while the listeners are being invoked, this | |
| 5924 | - * will not have any effect on the `dispatch()` that is currently in progress. | |
| 5925 | - * However, the next `dispatch()` call, whether nested or not, will use a more | |
| 5926 | - * recent snapshot of the subscription list. | |
| 5927 | - * | |
| 5928 | - * 2. The listener should not expect to see all state changes, as the state | |
| 5929 | - * might have been updated multiple times during a nested `dispatch()` before | |
| 5930 | - * the listener is called. It is, however, guaranteed that all subscribers | |
| 5931 | - * registered before the `dispatch()` started will be called with the latest | |
| 5932 | - * state by the time it exits. | |
| 5933 | - * | |
| 5934 | - * @param {Function} listener A callback to be invoked on every dispatch. | |
| 5935 | - * @returns {Function} A function to remove this change listener. | |
| 5936 | - */ | |
| 8479 | + return result; | |
| 8480 | +}; | |
| 5937 | 8481 | |
| 5938 | 8482 | |
| 5939 | - function subscribe(listener) { | |
| 5940 | - if (typeof listener !== 'function') { | |
| 5941 | - throw new Error( false ? 0 : "Expected the listener to be a function. Instead, received: '" + kindOf(listener) + "'"); | |
| 5942 | - } | |
| 8483 | +/***/ }), | |
| 5943 | 8484 | |
| 5944 | - if (isDispatching) { | |
| 5945 | - throw new Error( false ? 0 : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.'); | |
| 5946 | - } | |
| 8485 | +/***/ "../node_modules/core-js/modules/_object-keys.js": | |
| 8486 | +/*!*******************************************************!*\ | |
| 8487 | + !*** ../node_modules/core-js/modules/_object-keys.js ***! | |
| 8488 | + \*******************************************************/ | |
| 8489 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5947 | 8490 | |
| 5948 | - var isSubscribed = true; | |
| 5949 | - ensureCanMutateNextListeners(); | |
| 5950 | - nextListeners.push(listener); | |
| 5951 | - return function unsubscribe() { | |
| 5952 | - if (!isSubscribed) { | |
| 5953 | - return; | |
| 5954 | - } | |
| 8491 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 8492 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/modules/_object-keys-internal.js"); | |
| 8493 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/modules/_enum-bug-keys.js"); | |
| 5955 | 8494 | |
| 5956 | - if (isDispatching) { | |
| 5957 | - throw new Error( false ? 0 : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.'); | |
| 5958 | - } | |
| 8495 | +module.exports = Object.keys || function keys(O) { | |
| 8496 | + return $keys(O, enumBugKeys); | |
| 8497 | +}; | |
| 5959 | 8498 | |
| 5960 | - isSubscribed = false; | |
| 5961 | - ensureCanMutateNextListeners(); | |
| 5962 | - var index = nextListeners.indexOf(listener); | |
| 5963 | - nextListeners.splice(index, 1); | |
| 5964 | - currentListeners = null; | |
| 5965 | - }; | |
| 8499 | + | |
| 8500 | +/***/ }), | |
| 8501 | + | |
| 8502 | +/***/ "../node_modules/core-js/modules/_property-desc.js": | |
| 8503 | +/*!*********************************************************!*\ | |
| 8504 | + !*** ../node_modules/core-js/modules/_property-desc.js ***! | |
| 8505 | + \*********************************************************/ | |
| 8506 | +/***/ ((module) => { | |
| 8507 | + | |
| 8508 | +module.exports = function (bitmap, value) { | |
| 8509 | + return { | |
| 8510 | + enumerable: !(bitmap & 1), | |
| 8511 | + configurable: !(bitmap & 2), | |
| 8512 | + writable: !(bitmap & 4), | |
| 8513 | + value: value | |
| 8514 | + }; | |
| 8515 | +}; | |
| 8516 | + | |
| 8517 | + | |
| 8518 | +/***/ }), | |
| 8519 | + | |
| 8520 | +/***/ "../node_modules/core-js/modules/_redefine.js": | |
| 8521 | +/*!****************************************************!*\ | |
| 8522 | + !*** ../node_modules/core-js/modules/_redefine.js ***! | |
| 8523 | + \****************************************************/ | |
| 8524 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8525 | + | |
| 8526 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 8527 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 8528 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 8529 | +var SRC = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js")('src'); | |
| 8530 | +var $toString = __webpack_require__(/*! ./_function-to-string */ "../node_modules/core-js/modules/_function-to-string.js"); | |
| 8531 | +var TO_STRING = 'toString'; | |
| 8532 | +var TPL = ('' + $toString).split(TO_STRING); | |
| 8533 | + | |
| 8534 | +__webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js").inspectSource = function (it) { | |
| 8535 | + return $toString.call(it); | |
| 8536 | +}; | |
| 8537 | + | |
| 8538 | +(module.exports = function (O, key, val, safe) { | |
| 8539 | + var isFunction = typeof val == 'function'; | |
| 8540 | + if (isFunction) has(val, 'name') || hide(val, 'name', key); | |
| 8541 | + if (O[key] === val) return; | |
| 8542 | + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); | |
| 8543 | + if (O === global) { | |
| 8544 | + O[key] = val; | |
| 8545 | + } else if (!safe) { | |
| 8546 | + delete O[key]; | |
| 8547 | + hide(O, key, val); | |
| 8548 | + } else if (O[key]) { | |
| 8549 | + O[key] = val; | |
| 8550 | + } else { | |
| 8551 | + hide(O, key, val); | |
| 5966 | 8552 | } |
| 5967 | - /** | |
| 5968 | - * Dispatches an action. It is the only way to trigger a state change. | |
| 5969 | - * | |
| 5970 | - * The `reducer` function, used to create the store, will be called with the | |
| 5971 | - * current state tree and the given `action`. Its return value will | |
| 5972 | - * be considered the **next** state of the tree, and the change listeners | |
| 5973 | - * will be notified. | |
| 5974 | - * | |
| 5975 | - * The base implementation only supports plain object actions. If you want to | |
| 5976 | - * dispatch a Promise, an Observable, a thunk, or something else, you need to | |
| 5977 | - * wrap your store creating function into the corresponding middleware. For | |
| 5978 | - * example, see the documentation for the `redux-thunk` package. Even the | |
| 5979 | - * middleware will eventually dispatch plain object actions using this method. | |
| 5980 | - * | |
| 5981 | - * @param {Object} action A plain object representing “what changed”. It is | |
| 5982 | - * a good idea to keep actions serializable so you can record and replay user | |
| 5983 | - * sessions, or use the time travelling `redux-devtools`. An action must have | |
| 5984 | - * a `type` property which may not be `undefined`. It is a good idea to use | |
| 5985 | - * string constants for action types. | |
| 5986 | - * | |
| 5987 | - * @returns {Object} For convenience, the same action object you dispatched. | |
| 5988 | - * | |
| 5989 | - * Note that, if you use a custom middleware, it may wrap `dispatch()` to | |
| 5990 | - * return something else (for example, a Promise you can await). | |
| 5991 | - */ | |
| 8553 | +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative | |
| 8554 | +})(Function.prototype, TO_STRING, function toString() { | |
| 8555 | + return typeof this == 'function' && this[SRC] || $toString.call(this); | |
| 8556 | +}); | |
| 5992 | 8557 | |
| 5993 | 8558 | |
| 5994 | - function dispatch(action) { | |
| 5995 | - if (!isPlainObject(action)) { | |
| 5996 | - throw new Error( false ? 0 : "Actions must be plain objects. Instead, the actual type was: '" + kindOf(action) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples."); | |
| 8559 | +/***/ }), | |
| 8560 | + | |
| 8561 | +/***/ "../node_modules/core-js/modules/_regexp-exec-abstract.js": | |
| 8562 | +/*!****************************************************************!*\ | |
| 8563 | + !*** ../node_modules/core-js/modules/_regexp-exec-abstract.js ***! | |
| 8564 | + \****************************************************************/ | |
| 8565 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8566 | + | |
| 8567 | +"use strict"; | |
| 8568 | + | |
| 8569 | + | |
| 8570 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/modules/_classof.js"); | |
| 8571 | +var builtinExec = RegExp.prototype.exec; | |
| 8572 | + | |
| 8573 | + // `RegExpExec` abstract operation | |
| 8574 | +// https://tc39.github.io/ecma262/#sec-regexpexec | |
| 8575 | +module.exports = function (R, S) { | |
| 8576 | + var exec = R.exec; | |
| 8577 | + if (typeof exec === 'function') { | |
| 8578 | + var result = exec.call(R, S); | |
| 8579 | + if (typeof result !== 'object') { | |
| 8580 | + throw new TypeError('RegExp exec method returned something other than an Object or null'); | |
| 5997 | 8581 | } |
| 8582 | + return result; | |
| 8583 | + } | |
| 8584 | + if (classof(R) !== 'RegExp') { | |
| 8585 | + throw new TypeError('RegExp#exec called on incompatible receiver'); | |
| 8586 | + } | |
| 8587 | + return builtinExec.call(R, S); | |
| 8588 | +}; | |
| 5998 | 8589 | |
| 5999 | - if (typeof action.type === 'undefined') { | |
| 6000 | - throw new Error( false ? 0 : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.'); | |
| 8590 | + | |
| 8591 | +/***/ }), | |
| 8592 | + | |
| 8593 | +/***/ "../node_modules/core-js/modules/_regexp-exec.js": | |
| 8594 | +/*!*******************************************************!*\ | |
| 8595 | + !*** ../node_modules/core-js/modules/_regexp-exec.js ***! | |
| 8596 | + \*******************************************************/ | |
| 8597 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8598 | + | |
| 8599 | +"use strict"; | |
| 8600 | + | |
| 8601 | + | |
| 8602 | +var regexpFlags = __webpack_require__(/*! ./_flags */ "../node_modules/core-js/modules/_flags.js"); | |
| 8603 | + | |
| 8604 | +var nativeExec = RegExp.prototype.exec; | |
| 8605 | +// This always refers to the native implementation, because the | |
| 8606 | +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, | |
| 8607 | +// which loads this file before patching the method. | |
| 8608 | +var nativeReplace = String.prototype.replace; | |
| 8609 | + | |
| 8610 | +var patchedExec = nativeExec; | |
| 8611 | + | |
| 8612 | +var LAST_INDEX = 'lastIndex'; | |
| 8613 | + | |
| 8614 | +var UPDATES_LAST_INDEX_WRONG = (function () { | |
| 8615 | + var re1 = /a/, | |
| 8616 | + re2 = /b*/g; | |
| 8617 | + nativeExec.call(re1, 'a'); | |
| 8618 | + nativeExec.call(re2, 'a'); | |
| 8619 | + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; | |
| 8620 | +})(); | |
| 8621 | + | |
| 8622 | +// nonparticipating capturing group, copied from es5-shim's String#split patch. | |
| 8623 | +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; | |
| 8624 | + | |
| 8625 | +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; | |
| 8626 | + | |
| 8627 | +if (PATCH) { | |
| 8628 | + patchedExec = function exec(str) { | |
| 8629 | + var re = this; | |
| 8630 | + var lastIndex, reCopy, match, i; | |
| 8631 | + | |
| 8632 | + if (NPCG_INCLUDED) { | |
| 8633 | + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); | |
| 6001 | 8634 | } |
| 8635 | + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; | |
| 6002 | 8636 | |
| 6003 | - if (isDispatching) { | |
| 6004 | - throw new Error( false ? 0 : 'Reducers may not dispatch actions.'); | |
| 8637 | + match = nativeExec.call(re, str); | |
| 8638 | + | |
| 8639 | + if (UPDATES_LAST_INDEX_WRONG && match) { | |
| 8640 | + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; | |
| 6005 | 8641 | } |
| 8642 | + if (NPCG_INCLUDED && match && match.length > 1) { | |
| 8643 | + // Fix browsers whose `exec` methods don't consistently return `undefined` | |
| 8644 | + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ | |
| 8645 | + // eslint-disable-next-line no-loop-func | |
| 8646 | + nativeReplace.call(match[0], reCopy, function () { | |
| 8647 | + for (i = 1; i < arguments.length - 2; i++) { | |
| 8648 | + if (arguments[i] === undefined) match[i] = undefined; | |
| 8649 | + } | |
| 8650 | + }); | |
| 8651 | + } | |
| 6006 | 8652 | |
| 6007 | - try { | |
| 6008 | - isDispatching = true; | |
| 6009 | - currentState = currentReducer(currentState, action); | |
| 6010 | - } finally { | |
| 6011 | - isDispatching = false; | |
| 6012 | - } | |
| 8653 | + return match; | |
| 8654 | + }; | |
| 8655 | +} | |
| 6013 | 8656 | |
| 6014 | - var listeners = currentListeners = nextListeners; | |
| 8657 | +module.exports = patchedExec; | |
| 6015 | 8658 | |
| 6016 | - for (var i = 0; i < listeners.length; i++) { | |
| 6017 | - var listener = listeners[i]; | |
| 6018 | - listener(); | |
| 6019 | - } | |
| 6020 | 8659 | |
| 6021 | - return action; | |
| 6022 | - } | |
| 6023 | - /** | |
| 6024 | - * Replaces the reducer currently used by the store to calculate the state. | |
| 6025 | - * | |
| 6026 | - * You might need this if your app implements code splitting and you want to | |
| 6027 | - * load some of the reducers dynamically. You might also need this if you | |
| 6028 | - * implement a hot reloading mechanism for Redux. | |
| 6029 | - * | |
| 6030 | - * @param {Function} nextReducer The reducer for the store to use instead. | |
| 6031 | - * @returns {void} | |
| 6032 | - */ | |
| 8660 | +/***/ }), | |
| 6033 | 8661 | |
| 8662 | +/***/ "../node_modules/core-js/modules/_set-to-string-tag.js": | |
| 8663 | +/*!*************************************************************!*\ | |
| 8664 | + !*** ../node_modules/core-js/modules/_set-to-string-tag.js ***! | |
| 8665 | + \*************************************************************/ | |
| 8666 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6034 | 8667 | |
| 6035 | - function replaceReducer(nextReducer) { | |
| 6036 | - if (typeof nextReducer !== 'function') { | |
| 6037 | - throw new Error( false ? 0 : "Expected the nextReducer to be a function. Instead, received: '" + kindOf(nextReducer)); | |
| 6038 | - } | |
| 8668 | +var def = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js").f; | |
| 8669 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 8670 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag'); | |
| 6039 | 8671 | |
| 6040 | - currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT. | |
| 6041 | - // Any reducers that existed in both the new and old rootReducer | |
| 6042 | - // will receive the previous state. This effectively populates | |
| 6043 | - // the new state tree with any relevant data from the old one. | |
| 8672 | +module.exports = function (it, tag, stat) { | |
| 8673 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 8674 | +}; | |
| 6044 | 8675 | |
| 6045 | - dispatch({ | |
| 6046 | - type: ActionTypes.REPLACE | |
| 6047 | - }); | |
| 6048 | - } | |
| 6049 | - /** | |
| 6050 | - * Interoperability point for observable/reactive libraries. | |
| 6051 | - * @returns {observable} A minimal observable of state changes. | |
| 6052 | - * For more information, see the observable proposal: | |
| 6053 | - * https://github.com/tc39/proposal-observable | |
| 6054 | - */ | |
| 6055 | 8676 | |
| 8677 | +/***/ }), | |
| 6056 | 8678 | |
| 6057 | - function observable() { | |
| 6058 | - var _ref; | |
| 8679 | +/***/ "../node_modules/core-js/modules/_shared-key.js": | |
| 8680 | +/*!******************************************************!*\ | |
| 8681 | + !*** ../node_modules/core-js/modules/_shared-key.js ***! | |
| 8682 | + \******************************************************/ | |
| 8683 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6059 | 8684 | |
| 6060 | - var outerSubscribe = subscribe; | |
| 6061 | - return _ref = { | |
| 6062 | - /** | |
| 6063 | - * The minimal observable subscription method. | |
| 6064 | - * @param {Object} observer Any object that can be used as an observer. | |
| 6065 | - * The observer object should have a `next` method. | |
| 6066 | - * @returns {subscription} An object with an `unsubscribe` method that can | |
| 6067 | - * be used to unsubscribe the observable from the store, and prevent further | |
| 6068 | - * emission of values from the observable. | |
| 6069 | - */ | |
| 6070 | - subscribe: function subscribe(observer) { | |
| 6071 | - if (typeof observer !== 'object' || observer === null) { | |
| 6072 | - throw new Error( false ? 0 : "Expected the observer to be an object. Instead, received: '" + kindOf(observer) + "'"); | |
| 6073 | - } | |
| 8685 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('keys'); | |
| 8686 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js"); | |
| 8687 | +module.exports = function (key) { | |
| 8688 | + return shared[key] || (shared[key] = uid(key)); | |
| 8689 | +}; | |
| 6074 | 8690 | |
| 6075 | - function observeState() { | |
| 6076 | - if (observer.next) { | |
| 6077 | - observer.next(getState()); | |
| 6078 | - } | |
| 6079 | - } | |
| 6080 | 8691 | |
| 6081 | - observeState(); | |
| 6082 | - var unsubscribe = outerSubscribe(observeState); | |
| 6083 | - return { | |
| 6084 | - unsubscribe: unsubscribe | |
| 6085 | - }; | |
| 6086 | - } | |
| 6087 | - }, _ref[$$observable] = function () { | |
| 6088 | - return this; | |
| 6089 | - }, _ref; | |
| 6090 | - } // When a store is created, an "INIT" action is dispatched so that every | |
| 6091 | - // reducer returns their initial state. This effectively populates | |
| 6092 | - // the initial state tree. | |
| 8692 | +/***/ }), | |
| 6093 | 8693 | |
| 8694 | +/***/ "../node_modules/core-js/modules/_shared.js": | |
| 8695 | +/*!**************************************************!*\ | |
| 8696 | + !*** ../node_modules/core-js/modules/_shared.js ***! | |
| 8697 | + \**************************************************/ | |
| 8698 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6094 | 8699 | |
| 6095 | - dispatch({ | |
| 6096 | - type: ActionTypes.INIT | |
| 8700 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js"); | |
| 8701 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 8702 | +var SHARED = '__core-js_shared__'; | |
| 8703 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 8704 | + | |
| 8705 | +(module.exports = function (key, value) { | |
| 8706 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 8707 | +})('versions', []).push({ | |
| 8708 | + version: core.version, | |
| 8709 | + mode: __webpack_require__(/*! ./_library */ "../node_modules/core-js/modules/_library.js") ? 'pure' : 'global', | |
| 8710 | + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' | |
| 8711 | +}); | |
| 8712 | + | |
| 8713 | + | |
| 8714 | +/***/ }), | |
| 8715 | + | |
| 8716 | +/***/ "../node_modules/core-js/modules/_species-constructor.js": | |
| 8717 | +/*!***************************************************************!*\ | |
| 8718 | + !*** ../node_modules/core-js/modules/_species-constructor.js ***! | |
| 8719 | + \***************************************************************/ | |
| 8720 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8721 | + | |
| 8722 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 8723 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8724 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/modules/_a-function.js"); | |
| 8725 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('species'); | |
| 8726 | +module.exports = function (O, D) { | |
| 8727 | + var C = anObject(O).constructor; | |
| 8728 | + var S; | |
| 8729 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 8730 | +}; | |
| 8731 | + | |
| 8732 | + | |
| 8733 | +/***/ }), | |
| 8734 | + | |
| 8735 | +/***/ "../node_modules/core-js/modules/_strict-method.js": | |
| 8736 | +/*!*********************************************************!*\ | |
| 8737 | + !*** ../node_modules/core-js/modules/_strict-method.js ***! | |
| 8738 | + \*********************************************************/ | |
| 8739 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8740 | + | |
| 8741 | +"use strict"; | |
| 8742 | + | |
| 8743 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 8744 | + | |
| 8745 | +module.exports = function (method, arg) { | |
| 8746 | + return !!method && fails(function () { | |
| 8747 | + // eslint-disable-next-line no-useless-call | |
| 8748 | + arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); | |
| 6097 | 8749 | }); |
| 6098 | - return _ref2 = { | |
| 6099 | - dispatch: dispatch, | |
| 6100 | - subscribe: subscribe, | |
| 6101 | - getState: getState, | |
| 6102 | - replaceReducer: replaceReducer | |
| 6103 | - }, _ref2[$$observable] = observable, _ref2; | |
| 6104 | -} | |
| 6105 | -/** | |
| 6106 | - * Creates a Redux store that holds the state tree. | |
| 6107 | - * | |
| 6108 | - * **We recommend using `configureStore` from the | |
| 6109 | - * `@reduxjs/toolkit` package**, which replaces `createStore`: | |
| 6110 | - * **https://redux.js.org/introduction/why-rtk-is-redux-today** | |
| 6111 | - * | |
| 6112 | - * The only way to change the data in the store is to call `dispatch()` on it. | |
| 6113 | - * | |
| 6114 | - * There should only be a single store in your app. To specify how different | |
| 6115 | - * parts of the state tree respond to actions, you may combine several reducers | |
| 6116 | - * into a single reducer function by using `combineReducers`. | |
| 6117 | - * | |
| 6118 | - * @param {Function} reducer A function that returns the next state tree, given | |
| 6119 | - * the current state tree and the action to handle. | |
| 6120 | - * | |
| 6121 | - * @param {any} [preloadedState] The initial state. You may optionally specify it | |
| 6122 | - * to hydrate the state from the server in universal apps, or to restore a | |
| 6123 | - * previously serialized user session. | |
| 6124 | - * If you use `combineReducers` to produce the root reducer function, this must be | |
| 6125 | - * an object with the same shape as `combineReducers` keys. | |
| 6126 | - * | |
| 6127 | - * @param {Function} [enhancer] The store enhancer. You may optionally specify it | |
| 6128 | - * to enhance the store with third-party capabilities such as middleware, | |
| 6129 | - * time travel, persistence, etc. The only store enhancer that ships with Redux | |
| 6130 | - * is `applyMiddleware()`. | |
| 6131 | - * | |
| 6132 | - * @returns {Store} A Redux store that lets you read the state, dispatch actions | |
| 6133 | - * and subscribe to changes. | |
| 6134 | - */ | |
| 8750 | +}; | |
| 6135 | 8751 | |
| 6136 | -var legacy_createStore = createStore; | |
| 6137 | 8752 | |
| 6138 | -/** | |
| 6139 | - * Prints a warning in the console if it exists. | |
| 6140 | - * | |
| 6141 | - * @param {String} message The warning message. | |
| 6142 | - * @returns {void} | |
| 6143 | - */ | |
| 6144 | -function warning(message) { | |
| 6145 | - /* eslint-disable no-console */ | |
| 6146 | - if (typeof console !== 'undefined' && typeof console.error === 'function') { | |
| 6147 | - console.error(message); | |
| 8753 | +/***/ }), | |
| 8754 | + | |
| 8755 | +/***/ "../node_modules/core-js/modules/_string-at.js": | |
| 8756 | +/*!*****************************************************!*\ | |
| 8757 | + !*** ../node_modules/core-js/modules/_string-at.js ***! | |
| 8758 | + \*****************************************************/ | |
| 8759 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8760 | + | |
| 8761 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 8762 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 8763 | +// true -> String#at | |
| 8764 | +// false -> String#codePointAt | |
| 8765 | +module.exports = function (TO_STRING) { | |
| 8766 | + return function (that, pos) { | |
| 8767 | + var s = String(defined(that)); | |
| 8768 | + var i = toInteger(pos); | |
| 8769 | + var l = s.length; | |
| 8770 | + var a, b; | |
| 8771 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 8772 | + a = s.charCodeAt(i); | |
| 8773 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 8774 | + ? TO_STRING ? s.charAt(i) : a | |
| 8775 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 8776 | + }; | |
| 8777 | +}; | |
| 8778 | + | |
| 8779 | + | |
| 8780 | +/***/ }), | |
| 8781 | + | |
| 8782 | +/***/ "../node_modules/core-js/modules/_string-context.js": | |
| 8783 | +/*!**********************************************************!*\ | |
| 8784 | + !*** ../node_modules/core-js/modules/_string-context.js ***! | |
| 8785 | + \**********************************************************/ | |
| 8786 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8787 | + | |
| 8788 | +// helper for String#{startsWith, endsWith, includes} | |
| 8789 | +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "../node_modules/core-js/modules/_is-regexp.js"); | |
| 8790 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 8791 | + | |
| 8792 | +module.exports = function (that, searchString, NAME) { | |
| 8793 | + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); | |
| 8794 | + return String(defined(that)); | |
| 8795 | +}; | |
| 8796 | + | |
| 8797 | + | |
| 8798 | +/***/ }), | |
| 8799 | + | |
| 8800 | +/***/ "../node_modules/core-js/modules/_to-absolute-index.js": | |
| 8801 | +/*!*************************************************************!*\ | |
| 8802 | + !*** ../node_modules/core-js/modules/_to-absolute-index.js ***! | |
| 8803 | + \*************************************************************/ | |
| 8804 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8805 | + | |
| 8806 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 8807 | +var max = Math.max; | |
| 8808 | +var min = Math.min; | |
| 8809 | +module.exports = function (index, length) { | |
| 8810 | + index = toInteger(index); | |
| 8811 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 8812 | +}; | |
| 8813 | + | |
| 8814 | + | |
| 8815 | +/***/ }), | |
| 8816 | + | |
| 8817 | +/***/ "../node_modules/core-js/modules/_to-integer.js": | |
| 8818 | +/*!******************************************************!*\ | |
| 8819 | + !*** ../node_modules/core-js/modules/_to-integer.js ***! | |
| 8820 | + \******************************************************/ | |
| 8821 | +/***/ ((module) => { | |
| 8822 | + | |
| 8823 | +// 7.1.4 ToInteger | |
| 8824 | +var ceil = Math.ceil; | |
| 8825 | +var floor = Math.floor; | |
| 8826 | +module.exports = function (it) { | |
| 8827 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 8828 | +}; | |
| 8829 | + | |
| 8830 | + | |
| 8831 | +/***/ }), | |
| 8832 | + | |
| 8833 | +/***/ "../node_modules/core-js/modules/_to-iobject.js": | |
| 8834 | +/*!******************************************************!*\ | |
| 8835 | + !*** ../node_modules/core-js/modules/_to-iobject.js ***! | |
| 8836 | + \******************************************************/ | |
| 8837 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8838 | + | |
| 8839 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 8840 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/modules/_iobject.js"); | |
| 8841 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 8842 | +module.exports = function (it) { | |
| 8843 | + return IObject(defined(it)); | |
| 8844 | +}; | |
| 8845 | + | |
| 8846 | + | |
| 8847 | +/***/ }), | |
| 8848 | + | |
| 8849 | +/***/ "../node_modules/core-js/modules/_to-length.js": | |
| 8850 | +/*!*****************************************************!*\ | |
| 8851 | + !*** ../node_modules/core-js/modules/_to-length.js ***! | |
| 8852 | + \*****************************************************/ | |
| 8853 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8854 | + | |
| 8855 | +// 7.1.15 ToLength | |
| 8856 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 8857 | +var min = Math.min; | |
| 8858 | +module.exports = function (it) { | |
| 8859 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 8860 | +}; | |
| 8861 | + | |
| 8862 | + | |
| 8863 | +/***/ }), | |
| 8864 | + | |
| 8865 | +/***/ "../node_modules/core-js/modules/_to-object.js": | |
| 8866 | +/*!*****************************************************!*\ | |
| 8867 | + !*** ../node_modules/core-js/modules/_to-object.js ***! | |
| 8868 | + \*****************************************************/ | |
| 8869 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8870 | + | |
| 8871 | +// 7.1.13 ToObject(argument) | |
| 8872 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 8873 | +module.exports = function (it) { | |
| 8874 | + return Object(defined(it)); | |
| 8875 | +}; | |
| 8876 | + | |
| 8877 | + | |
| 8878 | +/***/ }), | |
| 8879 | + | |
| 8880 | +/***/ "../node_modules/core-js/modules/_to-primitive.js": | |
| 8881 | +/*!********************************************************!*\ | |
| 8882 | + !*** ../node_modules/core-js/modules/_to-primitive.js ***! | |
| 8883 | + \********************************************************/ | |
| 8884 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8885 | + | |
| 8886 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 8887 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 8888 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 8889 | +// and the second argument - flag - preferred type is a string | |
| 8890 | +module.exports = function (it, S) { | |
| 8891 | + if (!isObject(it)) return it; | |
| 8892 | + var fn, val; | |
| 8893 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 8894 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 8895 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 8896 | + throw TypeError("Can't convert object to primitive value"); | |
| 8897 | +}; | |
| 8898 | + | |
| 8899 | + | |
| 8900 | +/***/ }), | |
| 8901 | + | |
| 8902 | +/***/ "../node_modules/core-js/modules/_uid.js": | |
| 8903 | +/*!***********************************************!*\ | |
| 8904 | + !*** ../node_modules/core-js/modules/_uid.js ***! | |
| 8905 | + \***********************************************/ | |
| 8906 | +/***/ ((module) => { | |
| 8907 | + | |
| 8908 | +var id = 0; | |
| 8909 | +var px = Math.random(); | |
| 8910 | +module.exports = function (key) { | |
| 8911 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 8912 | +}; | |
| 8913 | + | |
| 8914 | + | |
| 8915 | +/***/ }), | |
| 8916 | + | |
| 8917 | +/***/ "../node_modules/core-js/modules/_wks.js": | |
| 8918 | +/*!***********************************************!*\ | |
| 8919 | + !*** ../node_modules/core-js/modules/_wks.js ***! | |
| 8920 | + \***********************************************/ | |
| 8921 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8922 | + | |
| 8923 | +var store = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('wks'); | |
| 8924 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js"); | |
| 8925 | +var Symbol = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").Symbol; | |
| 8926 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 8927 | + | |
| 8928 | +var $exports = module.exports = function (name) { | |
| 8929 | + return store[name] || (store[name] = | |
| 8930 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 8931 | +}; | |
| 8932 | + | |
| 8933 | +$exports.store = store; | |
| 8934 | + | |
| 8935 | + | |
| 8936 | +/***/ }), | |
| 8937 | + | |
| 8938 | +/***/ "../node_modules/core-js/modules/es6.array.filter.js": | |
| 8939 | +/*!***********************************************************!*\ | |
| 8940 | + !*** ../node_modules/core-js/modules/es6.array.filter.js ***! | |
| 8941 | + \***********************************************************/ | |
| 8942 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8943 | + | |
| 8944 | +"use strict"; | |
| 8945 | + | |
| 8946 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 8947 | +var $filter = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/modules/_array-methods.js")(2); | |
| 8948 | + | |
| 8949 | +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "../node_modules/core-js/modules/_strict-method.js")([].filter, true), 'Array', { | |
| 8950 | + // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) | |
| 8951 | + filter: function filter(callbackfn /* , thisArg */) { | |
| 8952 | + return $filter(this, callbackfn, arguments[1]); | |
| 6148 | 8953 | } |
| 6149 | - /* eslint-enable no-console */ | |
| 8954 | +}); | |
| 6150 | 8955 | |
| 6151 | 8956 | |
| 6152 | - try { | |
| 6153 | - // This error was thrown as a convenience so that if you enable | |
| 6154 | - // "break on all exceptions" in your console, | |
| 6155 | - // it would pause the execution at this line. | |
| 6156 | - throw new Error(message); | |
| 6157 | - } catch (e) {} // eslint-disable-line no-empty | |
| 8957 | +/***/ }), | |
| 6158 | 8958 | |
| 6159 | -} | |
| 8959 | +/***/ "../node_modules/core-js/modules/es6.array.iterator.js": | |
| 8960 | +/*!*************************************************************!*\ | |
| 8961 | + !*** ../node_modules/core-js/modules/es6.array.iterator.js ***! | |
| 8962 | + \*************************************************************/ | |
| 8963 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6160 | 8964 | |
| 6161 | -function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) { | |
| 6162 | - var reducerKeys = Object.keys(reducers); | |
| 6163 | - var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer'; | |
| 8965 | +"use strict"; | |
| 6164 | 8966 | |
| 6165 | - if (reducerKeys.length === 0) { | |
| 6166 | - return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.'; | |
| 8967 | +var addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/modules/_add-to-unscopables.js"); | |
| 8968 | +var step = __webpack_require__(/*! ./_iter-step */ "../node_modules/core-js/modules/_iter-step.js"); | |
| 8969 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/modules/_iterators.js"); | |
| 8970 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/modules/_to-iobject.js"); | |
| 8971 | + | |
| 8972 | +// 22.1.3.4 Array.prototype.entries() | |
| 8973 | +// 22.1.3.13 Array.prototype.keys() | |
| 8974 | +// 22.1.3.29 Array.prototype.values() | |
| 8975 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 8976 | +module.exports = __webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/modules/_iter-define.js")(Array, 'Array', function (iterated, kind) { | |
| 8977 | + this._t = toIObject(iterated); // target | |
| 8978 | + this._i = 0; // next index | |
| 8979 | + this._k = kind; // kind | |
| 8980 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 8981 | +}, function () { | |
| 8982 | + var O = this._t; | |
| 8983 | + var kind = this._k; | |
| 8984 | + var index = this._i++; | |
| 8985 | + if (!O || index >= O.length) { | |
| 8986 | + this._t = undefined; | |
| 8987 | + return step(1); | |
| 6167 | 8988 | } |
| 8989 | + if (kind == 'keys') return step(0, index); | |
| 8990 | + if (kind == 'values') return step(0, O[index]); | |
| 8991 | + return step(0, [index, O[index]]); | |
| 8992 | +}, 'values'); | |
| 6168 | 8993 | |
| 6169 | - if (!isPlainObject(inputState)) { | |
| 6170 | - return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\""); | |
| 8994 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 8995 | +Iterators.Arguments = Iterators.Array; | |
| 8996 | + | |
| 8997 | +addToUnscopables('keys'); | |
| 8998 | +addToUnscopables('values'); | |
| 8999 | +addToUnscopables('entries'); | |
| 9000 | + | |
| 9001 | + | |
| 9002 | +/***/ }), | |
| 9003 | + | |
| 9004 | +/***/ "../node_modules/core-js/modules/es6.array.slice.js": | |
| 9005 | +/*!**********************************************************!*\ | |
| 9006 | + !*** ../node_modules/core-js/modules/es6.array.slice.js ***! | |
| 9007 | + \**********************************************************/ | |
| 9008 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9009 | + | |
| 9010 | +"use strict"; | |
| 9011 | + | |
| 9012 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 9013 | +var html = __webpack_require__(/*! ./_html */ "../node_modules/core-js/modules/_html.js"); | |
| 9014 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 9015 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/modules/_to-absolute-index.js"); | |
| 9016 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 9017 | +var arraySlice = [].slice; | |
| 9018 | + | |
| 9019 | +// fallback for not array-like ES3 strings and DOM objects | |
| 9020 | +$export($export.P + $export.F * __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 9021 | + if (html) arraySlice.call(html); | |
| 9022 | +}), 'Array', { | |
| 9023 | + slice: function slice(begin, end) { | |
| 9024 | + var len = toLength(this.length); | |
| 9025 | + var klass = cof(this); | |
| 9026 | + end = end === undefined ? len : end; | |
| 9027 | + if (klass == 'Array') return arraySlice.call(this, begin, end); | |
| 9028 | + var start = toAbsoluteIndex(begin, len); | |
| 9029 | + var upTo = toAbsoluteIndex(end, len); | |
| 9030 | + var size = toLength(upTo - start); | |
| 9031 | + var cloned = new Array(size); | |
| 9032 | + var i = 0; | |
| 9033 | + for (; i < size; i++) cloned[i] = klass == 'String' | |
| 9034 | + ? this.charAt(start + i) | |
| 9035 | + : this[start + i]; | |
| 9036 | + return cloned; | |
| 6171 | 9037 | } |
| 9038 | +}); | |
| 6172 | 9039 | |
| 6173 | - var unexpectedKeys = Object.keys(inputState).filter(function (key) { | |
| 6174 | - return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key]; | |
| 6175 | - }); | |
| 6176 | - unexpectedKeys.forEach(function (key) { | |
| 6177 | - unexpectedKeyCache[key] = true; | |
| 6178 | - }); | |
| 6179 | - if (action && action.type === ActionTypes.REPLACE) return; | |
| 6180 | 9040 | |
| 6181 | - if (unexpectedKeys.length > 0) { | |
| 6182 | - return "Unexpected " + (unexpectedKeys.length > 1 ? 'keys' : 'key') + " " + ("\"" + unexpectedKeys.join('", "') + "\" found in " + argumentName + ". ") + "Expected to find one of the known reducer keys instead: " + ("\"" + reducerKeys.join('", "') + "\". Unexpected keys will be ignored."); | |
| 9041 | +/***/ }), | |
| 9042 | + | |
| 9043 | +/***/ "../node_modules/core-js/modules/es6.function.name.js": | |
| 9044 | +/*!************************************************************!*\ | |
| 9045 | + !*** ../node_modules/core-js/modules/es6.function.name.js ***! | |
| 9046 | + \************************************************************/ | |
| 9047 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9048 | + | |
| 9049 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js").f; | |
| 9050 | +var FProto = Function.prototype; | |
| 9051 | +var nameRE = /^\s*function ([^ (]*)/; | |
| 9052 | +var NAME = 'name'; | |
| 9053 | + | |
| 9054 | +// 19.2.4.2 name | |
| 9055 | +NAME in FProto || __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") && dP(FProto, NAME, { | |
| 9056 | + configurable: true, | |
| 9057 | + get: function () { | |
| 9058 | + try { | |
| 9059 | + return ('' + this).match(nameRE)[1]; | |
| 9060 | + } catch (e) { | |
| 9061 | + return ''; | |
| 9062 | + } | |
| 6183 | 9063 | } |
| 9064 | +}); | |
| 9065 | + | |
| 9066 | + | |
| 9067 | +/***/ }), | |
| 9068 | + | |
| 9069 | +/***/ "../node_modules/core-js/modules/es6.object.to-string.js": | |
| 9070 | +/*!***************************************************************!*\ | |
| 9071 | + !*** ../node_modules/core-js/modules/es6.object.to-string.js ***! | |
| 9072 | + \***************************************************************/ | |
| 9073 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9074 | + | |
| 9075 | +"use strict"; | |
| 9076 | + | |
| 9077 | +// 19.1.3.6 Object.prototype.toString() | |
| 9078 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/modules/_classof.js"); | |
| 9079 | +var test = {}; | |
| 9080 | +test[__webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag')] = 'z'; | |
| 9081 | +if (test + '' != '[object z]') { | |
| 9082 | + __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js")(Object.prototype, 'toString', function toString() { | |
| 9083 | + return '[object ' + classof(this) + ']'; | |
| 9084 | + }, true); | |
| 6184 | 9085 | } |
| 6185 | 9086 | |
| 6186 | -function assertReducerShape(reducers) { | |
| 6187 | - Object.keys(reducers).forEach(function (key) { | |
| 6188 | - var reducer = reducers[key]; | |
| 6189 | - var initialState = reducer(undefined, { | |
| 6190 | - type: ActionTypes.INIT | |
| 6191 | - }); | |
| 6192 | 9087 | |
| 6193 | - if (typeof initialState === 'undefined') { | |
| 6194 | - throw new Error( false ? 0 : "The slice reducer for key \"" + key + "\" returned undefined during initialization. " + "If the state passed to the reducer is undefined, you must " + "explicitly return the initial state. The initial state may " + "not be undefined. If you don't want to set a value for this reducer, " + "you can use null instead of undefined."); | |
| 6195 | - } | |
| 9088 | +/***/ }), | |
| 6196 | 9089 | |
| 6197 | - if (typeof reducer(undefined, { | |
| 6198 | - type: ActionTypes.PROBE_UNKNOWN_ACTION() | |
| 6199 | - }) === 'undefined') { | |
| 6200 | - throw new Error( false ? 0 : "The slice reducer for key \"" + key + "\" returned undefined when probed with a random type. " + ("Don't try to handle '" + ActionTypes.INIT + "' or other actions in \"redux/*\" ") + "namespace. They are considered private. Instead, you must return the " + "current state for any unknown actions, unless it is undefined, " + "in which case you must return the initial state, regardless of the " + "action type. The initial state may not be undefined, but can be null."); | |
| 6201 | - } | |
| 6202 | - }); | |
| 6203 | -} | |
| 6204 | -/** | |
| 6205 | - * Turns an object whose values are different reducer functions, into a single | |
| 6206 | - * reducer function. It will call every child reducer, and gather their results | |
| 6207 | - * into a single state object, whose keys correspond to the keys of the passed | |
| 6208 | - * reducer functions. | |
| 6209 | - * | |
| 6210 | - * @param {Object} reducers An object whose values correspond to different | |
| 6211 | - * reducer functions that need to be combined into one. One handy way to obtain | |
| 6212 | - * it is to use ES6 `import * as reducers` syntax. The reducers may never return | |
| 6213 | - * undefined for any action. Instead, they should return their initial state | |
| 6214 | - * if the state passed to them was undefined, and the current state for any | |
| 6215 | - * unrecognized action. | |
| 6216 | - * | |
| 6217 | - * @returns {Function} A reducer function that invokes every reducer inside the | |
| 6218 | - * passed object, and builds a state object with the same shape. | |
| 6219 | - */ | |
| 9090 | +/***/ "../node_modules/core-js/modules/es6.regexp.exec.js": | |
| 9091 | +/*!**********************************************************!*\ | |
| 9092 | + !*** ../node_modules/core-js/modules/es6.regexp.exec.js ***! | |
| 9093 | + \**********************************************************/ | |
| 9094 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6220 | 9095 | |
| 9096 | +"use strict"; | |
| 6221 | 9097 | |
| 6222 | -function combineReducers(reducers) { | |
| 6223 | - var reducerKeys = Object.keys(reducers); | |
| 6224 | - var finalReducers = {}; | |
| 9098 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 9099 | +__webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js")({ | |
| 9100 | + target: 'RegExp', | |
| 9101 | + proto: true, | |
| 9102 | + forced: regexpExec !== /./.exec | |
| 9103 | +}, { | |
| 9104 | + exec: regexpExec | |
| 9105 | +}); | |
| 6225 | 9106 | |
| 6226 | - for (var i = 0; i < reducerKeys.length; i++) { | |
| 6227 | - var key = reducerKeys[i]; | |
| 6228 | 9107 | |
| 6229 | - if (true) { | |
| 6230 | - if (typeof reducers[key] === 'undefined') { | |
| 6231 | - warning("No reducer provided for key \"" + key + "\""); | |
| 9108 | +/***/ }), | |
| 9109 | + | |
| 9110 | +/***/ "../node_modules/core-js/modules/es6.regexp.replace.js": | |
| 9111 | +/*!*************************************************************!*\ | |
| 9112 | + !*** ../node_modules/core-js/modules/es6.regexp.replace.js ***! | |
| 9113 | + \*************************************************************/ | |
| 9114 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9115 | + | |
| 9116 | +"use strict"; | |
| 9117 | + | |
| 9118 | + | |
| 9119 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 9120 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 9121 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 9122 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 9123 | +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "../node_modules/core-js/modules/_advance-string-index.js"); | |
| 9124 | +var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "../node_modules/core-js/modules/_regexp-exec-abstract.js"); | |
| 9125 | +var max = Math.max; | |
| 9126 | +var min = Math.min; | |
| 9127 | +var floor = Math.floor; | |
| 9128 | +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; | |
| 9129 | +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; | |
| 9130 | + | |
| 9131 | +var maybeToString = function (it) { | |
| 9132 | + return it === undefined ? it : String(it); | |
| 9133 | +}; | |
| 9134 | + | |
| 9135 | +// @@replace logic | |
| 9136 | +__webpack_require__(/*! ./_fix-re-wks */ "../node_modules/core-js/modules/_fix-re-wks.js")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { | |
| 9137 | + return [ | |
| 9138 | + // `String.prototype.replace` method | |
| 9139 | + // https://tc39.github.io/ecma262/#sec-string.prototype.replace | |
| 9140 | + function replace(searchValue, replaceValue) { | |
| 9141 | + var O = defined(this); | |
| 9142 | + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; | |
| 9143 | + return fn !== undefined | |
| 9144 | + ? fn.call(searchValue, O, replaceValue) | |
| 9145 | + : $replace.call(String(O), searchValue, replaceValue); | |
| 9146 | + }, | |
| 9147 | + // `RegExp.prototype[@@replace]` method | |
| 9148 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace | |
| 9149 | + function (regexp, replaceValue) { | |
| 9150 | + var res = maybeCallNative($replace, regexp, this, replaceValue); | |
| 9151 | + if (res.done) return res.value; | |
| 9152 | + | |
| 9153 | + var rx = anObject(regexp); | |
| 9154 | + var S = String(this); | |
| 9155 | + var functionalReplace = typeof replaceValue === 'function'; | |
| 9156 | + if (!functionalReplace) replaceValue = String(replaceValue); | |
| 9157 | + var global = rx.global; | |
| 9158 | + if (global) { | |
| 9159 | + var fullUnicode = rx.unicode; | |
| 9160 | + rx.lastIndex = 0; | |
| 6232 | 9161 | } |
| 9162 | + var results = []; | |
| 9163 | + while (true) { | |
| 9164 | + var result = regExpExec(rx, S); | |
| 9165 | + if (result === null) break; | |
| 9166 | + results.push(result); | |
| 9167 | + if (!global) break; | |
| 9168 | + var matchStr = String(result[0]); | |
| 9169 | + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); | |
| 9170 | + } | |
| 9171 | + var accumulatedResult = ''; | |
| 9172 | + var nextSourcePosition = 0; | |
| 9173 | + for (var i = 0; i < results.length; i++) { | |
| 9174 | + result = results[i]; | |
| 9175 | + var matched = String(result[0]); | |
| 9176 | + var position = max(min(toInteger(result.index), S.length), 0); | |
| 9177 | + var captures = []; | |
| 9178 | + // NOTE: This is equivalent to | |
| 9179 | + // captures = result.slice(1).map(maybeToString) | |
| 9180 | + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in | |
| 9181 | + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and | |
| 9182 | + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. | |
| 9183 | + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); | |
| 9184 | + var namedCaptures = result.groups; | |
| 9185 | + if (functionalReplace) { | |
| 9186 | + var replacerArgs = [matched].concat(captures, position, S); | |
| 9187 | + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); | |
| 9188 | + var replacement = String(replaceValue.apply(undefined, replacerArgs)); | |
| 9189 | + } else { | |
| 9190 | + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); | |
| 9191 | + } | |
| 9192 | + if (position >= nextSourcePosition) { | |
| 9193 | + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; | |
| 9194 | + nextSourcePosition = position + matched.length; | |
| 9195 | + } | |
| 9196 | + } | |
| 9197 | + return accumulatedResult + S.slice(nextSourcePosition); | |
| 6233 | 9198 | } |
| 9199 | + ]; | |
| 6234 | 9200 | |
| 6235 | - if (typeof reducers[key] === 'function') { | |
| 6236 | - finalReducers[key] = reducers[key]; | |
| 9201 | + // https://tc39.github.io/ecma262/#sec-getsubstitution | |
| 9202 | + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { | |
| 9203 | + var tailPos = position + matched.length; | |
| 9204 | + var m = captures.length; | |
| 9205 | + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; | |
| 9206 | + if (namedCaptures !== undefined) { | |
| 9207 | + namedCaptures = toObject(namedCaptures); | |
| 9208 | + symbols = SUBSTITUTION_SYMBOLS; | |
| 6237 | 9209 | } |
| 9210 | + return $replace.call(replacement, symbols, function (match, ch) { | |
| 9211 | + var capture; | |
| 9212 | + switch (ch.charAt(0)) { | |
| 9213 | + case '$': return '$'; | |
| 9214 | + case '&': return matched; | |
| 9215 | + case '`': return str.slice(0, position); | |
| 9216 | + case "'": return str.slice(tailPos); | |
| 9217 | + case '<': | |
| 9218 | + capture = namedCaptures[ch.slice(1, -1)]; | |
| 9219 | + break; | |
| 9220 | + default: // \d\d? | |
| 9221 | + var n = +ch; | |
| 9222 | + if (n === 0) return match; | |
| 9223 | + if (n > m) { | |
| 9224 | + var f = floor(n / 10); | |
| 9225 | + if (f === 0) return match; | |
| 9226 | + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); | |
| 9227 | + return match; | |
| 9228 | + } | |
| 9229 | + capture = captures[n - 1]; | |
| 9230 | + } | |
| 9231 | + return capture === undefined ? '' : capture; | |
| 9232 | + }); | |
| 6238 | 9233 | } |
| 9234 | +}); | |
| 6239 | 9235 | |
| 6240 | - var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same | |
| 6241 | - // keys multiple times. | |
| 6242 | 9236 | |
| 6243 | - var unexpectedKeyCache; | |
| 9237 | +/***/ }), | |
| 6244 | 9238 | |
| 6245 | - if (true) { | |
| 6246 | - unexpectedKeyCache = {}; | |
| 6247 | - } | |
| 9239 | +/***/ "../node_modules/core-js/modules/es6.regexp.split.js": | |
| 9240 | +/*!***********************************************************!*\ | |
| 9241 | + !*** ../node_modules/core-js/modules/es6.regexp.split.js ***! | |
| 9242 | + \***********************************************************/ | |
| 9243 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6248 | 9244 | |
| 6249 | - var shapeAssertionError; | |
| 9245 | +"use strict"; | |
| 6250 | 9246 | |
| 6251 | - try { | |
| 6252 | - assertReducerShape(finalReducers); | |
| 6253 | - } catch (e) { | |
| 6254 | - shapeAssertionError = e; | |
| 9247 | + | |
| 9248 | +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "../node_modules/core-js/modules/_is-regexp.js"); | |
| 9249 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 9250 | +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "../node_modules/core-js/modules/_species-constructor.js"); | |
| 9251 | +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "../node_modules/core-js/modules/_advance-string-index.js"); | |
| 9252 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 9253 | +var callRegExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "../node_modules/core-js/modules/_regexp-exec-abstract.js"); | |
| 9254 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 9255 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 9256 | +var $min = Math.min; | |
| 9257 | +var $push = [].push; | |
| 9258 | +var $SPLIT = 'split'; | |
| 9259 | +var LENGTH = 'length'; | |
| 9260 | +var LAST_INDEX = 'lastIndex'; | |
| 9261 | +var MAX_UINT32 = 0xffffffff; | |
| 9262 | + | |
| 9263 | +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError | |
| 9264 | +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); | |
| 9265 | + | |
| 9266 | +// @@split logic | |
| 9267 | +__webpack_require__(/*! ./_fix-re-wks */ "../node_modules/core-js/modules/_fix-re-wks.js")('split', 2, function (defined, SPLIT, $split, maybeCallNative) { | |
| 9268 | + var internalSplit; | |
| 9269 | + if ( | |
| 9270 | + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || | |
| 9271 | + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || | |
| 9272 | + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || | |
| 9273 | + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || | |
| 9274 | + '.'[$SPLIT](/()()/)[LENGTH] > 1 || | |
| 9275 | + ''[$SPLIT](/.?/)[LENGTH] | |
| 9276 | + ) { | |
| 9277 | + // based on es5-shim implementation, need to rework it | |
| 9278 | + internalSplit = function (separator, limit) { | |
| 9279 | + var string = String(this); | |
| 9280 | + if (separator === undefined && limit === 0) return []; | |
| 9281 | + // If `separator` is not a regex, use native split | |
| 9282 | + if (!isRegExp(separator)) return $split.call(string, separator, limit); | |
| 9283 | + var output = []; | |
| 9284 | + var flags = (separator.ignoreCase ? 'i' : '') + | |
| 9285 | + (separator.multiline ? 'm' : '') + | |
| 9286 | + (separator.unicode ? 'u' : '') + | |
| 9287 | + (separator.sticky ? 'y' : ''); | |
| 9288 | + var lastLastIndex = 0; | |
| 9289 | + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 9290 | + // Make `global` and avoid `lastIndex` issues by working with a copy | |
| 9291 | + var separatorCopy = new RegExp(separator.source, flags + 'g'); | |
| 9292 | + var match, lastIndex, lastLength; | |
| 9293 | + while (match = regexpExec.call(separatorCopy, string)) { | |
| 9294 | + lastIndex = separatorCopy[LAST_INDEX]; | |
| 9295 | + if (lastIndex > lastLastIndex) { | |
| 9296 | + output.push(string.slice(lastLastIndex, match.index)); | |
| 9297 | + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); | |
| 9298 | + lastLength = match[0][LENGTH]; | |
| 9299 | + lastLastIndex = lastIndex; | |
| 9300 | + if (output[LENGTH] >= splitLimit) break; | |
| 9301 | + } | |
| 9302 | + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop | |
| 9303 | + } | |
| 9304 | + if (lastLastIndex === string[LENGTH]) { | |
| 9305 | + if (lastLength || !separatorCopy.test('')) output.push(''); | |
| 9306 | + } else output.push(string.slice(lastLastIndex)); | |
| 9307 | + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; | |
| 9308 | + }; | |
| 9309 | + // Chakra, V8 | |
| 9310 | + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { | |
| 9311 | + internalSplit = function (separator, limit) { | |
| 9312 | + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); | |
| 9313 | + }; | |
| 9314 | + } else { | |
| 9315 | + internalSplit = $split; | |
| 6255 | 9316 | } |
| 6256 | 9317 | |
| 6257 | - return function combination(state, action) { | |
| 6258 | - if (state === void 0) { | |
| 6259 | - state = {}; | |
| 6260 | - } | |
| 9318 | + return [ | |
| 9319 | + // `String.prototype.split` method | |
| 9320 | + // https://tc39.github.io/ecma262/#sec-string.prototype.split | |
| 9321 | + function split(separator, limit) { | |
| 9322 | + var O = defined(this); | |
| 9323 | + var splitter = separator == undefined ? undefined : separator[SPLIT]; | |
| 9324 | + return splitter !== undefined | |
| 9325 | + ? splitter.call(separator, O, limit) | |
| 9326 | + : internalSplit.call(String(O), separator, limit); | |
| 9327 | + }, | |
| 9328 | + // `RegExp.prototype[@@split]` method | |
| 9329 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split | |
| 9330 | + // | |
| 9331 | + // NOTE: This cannot be properly polyfilled in engines that don't support | |
| 9332 | + // the 'y' flag. | |
| 9333 | + function (regexp, limit) { | |
| 9334 | + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); | |
| 9335 | + if (res.done) return res.value; | |
| 6261 | 9336 | |
| 6262 | - if (shapeAssertionError) { | |
| 6263 | - throw shapeAssertionError; | |
| 6264 | - } | |
| 9337 | + var rx = anObject(regexp); | |
| 9338 | + var S = String(this); | |
| 9339 | + var C = speciesConstructor(rx, RegExp); | |
| 6265 | 9340 | |
| 6266 | - if (true) { | |
| 6267 | - var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache); | |
| 9341 | + var unicodeMatching = rx.unicode; | |
| 9342 | + var flags = (rx.ignoreCase ? 'i' : '') + | |
| 9343 | + (rx.multiline ? 'm' : '') + | |
| 9344 | + (rx.unicode ? 'u' : '') + | |
| 9345 | + (SUPPORTS_Y ? 'y' : 'g'); | |
| 6268 | 9346 | |
| 6269 | - if (warningMessage) { | |
| 6270 | - warning(warningMessage); | |
| 9347 | + // ^(? + rx + ) is needed, in combination with some S slicing, to | |
| 9348 | + // simulate the 'y' flag. | |
| 9349 | + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); | |
| 9350 | + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 9351 | + if (lim === 0) return []; | |
| 9352 | + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; | |
| 9353 | + var p = 0; | |
| 9354 | + var q = 0; | |
| 9355 | + var A = []; | |
| 9356 | + while (q < S.length) { | |
| 9357 | + splitter.lastIndex = SUPPORTS_Y ? q : 0; | |
| 9358 | + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); | |
| 9359 | + var e; | |
| 9360 | + if ( | |
| 9361 | + z === null || | |
| 9362 | + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p | |
| 9363 | + ) { | |
| 9364 | + q = advanceStringIndex(S, q, unicodeMatching); | |
| 9365 | + } else { | |
| 9366 | + A.push(S.slice(p, q)); | |
| 9367 | + if (A.length === lim) return A; | |
| 9368 | + for (var i = 1; i <= z.length - 1; i++) { | |
| 9369 | + A.push(z[i]); | |
| 9370 | + if (A.length === lim) return A; | |
| 9371 | + } | |
| 9372 | + q = p = e; | |
| 9373 | + } | |
| 6271 | 9374 | } |
| 9375 | + A.push(S.slice(p)); | |
| 9376 | + return A; | |
| 6272 | 9377 | } |
| 9378 | + ]; | |
| 9379 | +}); | |
| 6273 | 9380 | |
| 6274 | - var hasChanged = false; | |
| 6275 | - var nextState = {}; | |
| 6276 | 9381 | |
| 6277 | - for (var _i = 0; _i < finalReducerKeys.length; _i++) { | |
| 6278 | - var _key = finalReducerKeys[_i]; | |
| 6279 | - var reducer = finalReducers[_key]; | |
| 6280 | - var previousStateForKey = state[_key]; | |
| 6281 | - var nextStateForKey = reducer(previousStateForKey, action); | |
| 9382 | +/***/ }), | |
| 6282 | 9383 | |
| 6283 | - if (typeof nextStateForKey === 'undefined') { | |
| 6284 | - var actionType = action && action.type; | |
| 6285 | - throw new Error( false ? 0 : "When called with an action of type " + (actionType ? "\"" + String(actionType) + "\"" : '(unknown type)') + ", the slice reducer for key \"" + _key + "\" returned undefined. " + "To ignore an action, you must explicitly return the previous state. " + "If you want this reducer to hold no value, you can return null instead of undefined."); | |
| 6286 | - } | |
| 9384 | +/***/ "../node_modules/core-js/modules/es6.string.includes.js": | |
| 9385 | +/*!**************************************************************!*\ | |
| 9386 | + !*** ../node_modules/core-js/modules/es6.string.includes.js ***! | |
| 9387 | + \**************************************************************/ | |
| 9388 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6287 | 9389 | |
| 6288 | - nextState[_key] = nextStateForKey; | |
| 6289 | - hasChanged = hasChanged || nextStateForKey !== previousStateForKey; | |
| 6290 | - } | |
| 9390 | +"use strict"; | |
| 9391 | +// 21.1.3.7 String.prototype.includes(searchString, position = 0) | |
| 6291 | 9392 | |
| 6292 | - hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length; | |
| 6293 | - return hasChanged ? nextState : state; | |
| 6294 | - }; | |
| 6295 | -} | |
| 9393 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 9394 | +var context = __webpack_require__(/*! ./_string-context */ "../node_modules/core-js/modules/_string-context.js"); | |
| 9395 | +var INCLUDES = 'includes'; | |
| 6296 | 9396 | |
| 6297 | -function bindActionCreator(actionCreator, dispatch) { | |
| 6298 | - return function () { | |
| 6299 | - return dispatch(actionCreator.apply(this, arguments)); | |
| 6300 | - }; | |
| 6301 | -} | |
| 6302 | -/** | |
| 6303 | - * Turns an object whose values are action creators, into an object with the | |
| 6304 | - * same keys, but with every function wrapped into a `dispatch` call so they | |
| 6305 | - * may be invoked directly. This is just a convenience method, as you can call | |
| 6306 | - * `store.dispatch(MyActionCreators.doSomething())` yourself just fine. | |
| 6307 | - * | |
| 6308 | - * For convenience, you can also pass an action creator as the first argument, | |
| 6309 | - * and get a dispatch wrapped function in return. | |
| 6310 | - * | |
| 6311 | - * @param {Function|Object} actionCreators An object whose values are action | |
| 6312 | - * creator functions. One handy way to obtain it is to use ES6 `import * as` | |
| 6313 | - * syntax. You may also pass a single function. | |
| 6314 | - * | |
| 6315 | - * @param {Function} dispatch The `dispatch` function available on your Redux | |
| 6316 | - * store. | |
| 6317 | - * | |
| 6318 | - * @returns {Function|Object} The object mimicking the original object, but with | |
| 6319 | - * every action creator wrapped into the `dispatch` call. If you passed a | |
| 6320 | - * function as `actionCreators`, the return value will also be a single | |
| 6321 | - * function. | |
| 6322 | - */ | |
| 9397 | +$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "../node_modules/core-js/modules/_fails-is-regexp.js")(INCLUDES), 'String', { | |
| 9398 | + includes: function includes(searchString /* , position = 0 */) { | |
| 9399 | + return !!~context(this, searchString, INCLUDES) | |
| 9400 | + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); | |
| 9401 | + } | |
| 9402 | +}); | |
| 6323 | 9403 | |
| 6324 | 9404 | |
| 6325 | -function bindActionCreators(actionCreators, dispatch) { | |
| 6326 | - if (typeof actionCreators === 'function') { | |
| 6327 | - return bindActionCreator(actionCreators, dispatch); | |
| 9405 | +/***/ }), | |
| 9406 | + | |
| 9407 | +/***/ "../node_modules/core-js/modules/es6.string.iterator.js": | |
| 9408 | +/*!**************************************************************!*\ | |
| 9409 | + !*** ../node_modules/core-js/modules/es6.string.iterator.js ***! | |
| 9410 | + \**************************************************************/ | |
| 9411 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9412 | + | |
| 9413 | +"use strict"; | |
| 9414 | + | |
| 9415 | +var $at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/modules/_string-at.js")(true); | |
| 9416 | + | |
| 9417 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 9418 | +__webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/modules/_iter-define.js")(String, 'String', function (iterated) { | |
| 9419 | + this._t = String(iterated); // target | |
| 9420 | + this._i = 0; // next index | |
| 9421 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 9422 | +}, function () { | |
| 9423 | + var O = this._t; | |
| 9424 | + var index = this._i; | |
| 9425 | + var point; | |
| 9426 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 9427 | + point = $at(O, index); | |
| 9428 | + this._i += point.length; | |
| 9429 | + return { value: point, done: false }; | |
| 9430 | +}); | |
| 9431 | + | |
| 9432 | + | |
| 9433 | +/***/ }), | |
| 9434 | + | |
| 9435 | +/***/ "../node_modules/core-js/modules/es6.string.starts-with.js": | |
| 9436 | +/*!*****************************************************************!*\ | |
| 9437 | + !*** ../node_modules/core-js/modules/es6.string.starts-with.js ***! | |
| 9438 | + \*****************************************************************/ | |
| 9439 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9440 | + | |
| 9441 | +"use strict"; | |
| 9442 | +// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) | |
| 9443 | + | |
| 9444 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 9445 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 9446 | +var context = __webpack_require__(/*! ./_string-context */ "../node_modules/core-js/modules/_string-context.js"); | |
| 9447 | +var STARTS_WITH = 'startsWith'; | |
| 9448 | +var $startsWith = ''[STARTS_WITH]; | |
| 9449 | + | |
| 9450 | +$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "../node_modules/core-js/modules/_fails-is-regexp.js")(STARTS_WITH), 'String', { | |
| 9451 | + startsWith: function startsWith(searchString /* , position = 0 */) { | |
| 9452 | + var that = context(this, searchString, STARTS_WITH); | |
| 9453 | + var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); | |
| 9454 | + var search = String(searchString); | |
| 9455 | + return $startsWith | |
| 9456 | + ? $startsWith.call(that, search, index) | |
| 9457 | + : that.slice(index, index + search.length) === search; | |
| 6328 | 9458 | } |
| 9459 | +}); | |
| 6329 | 9460 | |
| 6330 | - if (typeof actionCreators !== 'object' || actionCreators === null) { | |
| 6331 | - throw new Error( false ? 0 : "bindActionCreators expected an object or a function, but instead received: '" + kindOf(actionCreators) + "'. " + "Did you write \"import ActionCreators from\" instead of \"import * as ActionCreators from\"?"); | |
| 9461 | + | |
| 9462 | +/***/ }), | |
| 9463 | + | |
| 9464 | +/***/ "../node_modules/core-js/modules/es7.array.includes.js": | |
| 9465 | +/*!*************************************************************!*\ | |
| 9466 | + !*** ../node_modules/core-js/modules/es7.array.includes.js ***! | |
| 9467 | + \*************************************************************/ | |
| 9468 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9469 | + | |
| 9470 | +"use strict"; | |
| 9471 | + | |
| 9472 | +// https://github.com/tc39/Array.prototype.includes | |
| 9473 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 9474 | +var $includes = __webpack_require__(/*! ./_array-includes */ "../node_modules/core-js/modules/_array-includes.js")(true); | |
| 9475 | + | |
| 9476 | +$export($export.P, 'Array', { | |
| 9477 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 9478 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 6332 | 9479 | } |
| 9480 | +}); | |
| 6333 | 9481 | |
| 6334 | - var boundActionCreators = {}; | |
| 9482 | +__webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/modules/_add-to-unscopables.js")('includes'); | |
| 6335 | 9483 | |
| 6336 | - for (var key in actionCreators) { | |
| 6337 | - var actionCreator = actionCreators[key]; | |
| 6338 | 9484 | |
| 6339 | - if (typeof actionCreator === 'function') { | |
| 6340 | - boundActionCreators[key] = bindActionCreator(actionCreator, dispatch); | |
| 6341 | - } | |
| 9485 | +/***/ }), | |
| 9486 | + | |
| 9487 | +/***/ "../node_modules/core-js/modules/web.dom.iterable.js": | |
| 9488 | +/*!***********************************************************!*\ | |
| 9489 | + !*** ../node_modules/core-js/modules/web.dom.iterable.js ***! | |
| 9490 | + \***********************************************************/ | |
| 9491 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9492 | + | |
| 9493 | +var $iterators = __webpack_require__(/*! ./es6.array.iterator */ "../node_modules/core-js/modules/es6.array.iterator.js"); | |
| 9494 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/modules/_object-keys.js"); | |
| 9495 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 9496 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 9497 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 9498 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/modules/_iterators.js"); | |
| 9499 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js"); | |
| 9500 | +var ITERATOR = wks('iterator'); | |
| 9501 | +var TO_STRING_TAG = wks('toStringTag'); | |
| 9502 | +var ArrayValues = Iterators.Array; | |
| 9503 | + | |
| 9504 | +var DOMIterables = { | |
| 9505 | + CSSRuleList: true, // TODO: Not spec compliant, should be false. | |
| 9506 | + CSSStyleDeclaration: false, | |
| 9507 | + CSSValueList: false, | |
| 9508 | + ClientRectList: false, | |
| 9509 | + DOMRectList: false, | |
| 9510 | + DOMStringList: false, | |
| 9511 | + DOMTokenList: true, | |
| 9512 | + DataTransferItemList: false, | |
| 9513 | + FileList: false, | |
| 9514 | + HTMLAllCollection: false, | |
| 9515 | + HTMLCollection: false, | |
| 9516 | + HTMLFormElement: false, | |
| 9517 | + HTMLSelectElement: false, | |
| 9518 | + MediaList: true, // TODO: Not spec compliant, should be false. | |
| 9519 | + MimeTypeArray: false, | |
| 9520 | + NamedNodeMap: false, | |
| 9521 | + NodeList: true, | |
| 9522 | + PaintRequestList: false, | |
| 9523 | + Plugin: false, | |
| 9524 | + PluginArray: false, | |
| 9525 | + SVGLengthList: false, | |
| 9526 | + SVGNumberList: false, | |
| 9527 | + SVGPathSegList: false, | |
| 9528 | + SVGPointList: false, | |
| 9529 | + SVGStringList: false, | |
| 9530 | + SVGTransformList: false, | |
| 9531 | + SourceBufferList: false, | |
| 9532 | + StyleSheetList: true, // TODO: Not spec compliant, should be false. | |
| 9533 | + TextTrackCueList: false, | |
| 9534 | + TextTrackList: false, | |
| 9535 | + TouchList: false | |
| 9536 | +}; | |
| 9537 | + | |
| 9538 | +for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { | |
| 9539 | + var NAME = collections[i]; | |
| 9540 | + var explicit = DOMIterables[NAME]; | |
| 9541 | + var Collection = global[NAME]; | |
| 9542 | + var proto = Collection && Collection.prototype; | |
| 9543 | + var key; | |
| 9544 | + if (proto) { | |
| 9545 | + if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); | |
| 9546 | + if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 9547 | + Iterators[NAME] = ArrayValues; | |
| 9548 | + if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); | |
| 6342 | 9549 | } |
| 9550 | +} | |
| 6343 | 9551 | |
| 6344 | - return boundActionCreators; | |
| 6345 | -} | |
| 6346 | 9552 | |
| 9553 | +/***/ }), | |
| 9554 | + | |
| 9555 | +/***/ "../node_modules/regenerator-runtime/runtime.js": | |
| 9556 | +/*!******************************************************!*\ | |
| 9557 | + !*** ../node_modules/regenerator-runtime/runtime.js ***! | |
| 9558 | + \******************************************************/ | |
| 9559 | +/***/ ((module) => { | |
| 9560 | + | |
| 6347 | 9561 | /** |
| 6348 | - * Composes single-argument functions from right to left. The rightmost | |
| 6349 | - * function can take multiple arguments as it provides the signature for | |
| 6350 | - * the resulting composite function. | |
| 9562 | + * Copyright (c) 2014-present, Facebook, Inc. | |
| 6351 | 9563 | * |
| 6352 | - * @param {...Function} funcs The functions to compose. | |
| 6353 | - * @returns {Function} A function obtained by composing the argument functions | |
| 6354 | - * from right to left. For example, compose(f, g, h) is identical to doing | |
| 6355 | - * (...args) => f(g(h(...args))). | |
| 9564 | + * This source code is licensed under the MIT license found in the | |
| 9565 | + * LICENSE file in the root directory of this source tree. | |
| 6356 | 9566 | */ |
| 6357 | -function compose() { | |
| 6358 | - for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 6359 | - funcs[_key] = arguments[_key]; | |
| 9567 | + | |
| 9568 | +var runtime = (function (exports) { | |
| 9569 | + "use strict"; | |
| 9570 | + | |
| 9571 | + var Op = Object.prototype; | |
| 9572 | + var hasOwn = Op.hasOwnProperty; | |
| 9573 | + var undefined; // More compressible than void 0. | |
| 9574 | + var $Symbol = typeof Symbol === "function" ? Symbol : {}; | |
| 9575 | + var iteratorSymbol = $Symbol.iterator || "@@iterator"; | |
| 9576 | + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; | |
| 9577 | + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; | |
| 9578 | + | |
| 9579 | + function define(obj, key, value) { | |
| 9580 | + Object.defineProperty(obj, key, { | |
| 9581 | + value: value, | |
| 9582 | + enumerable: true, | |
| 9583 | + configurable: true, | |
| 9584 | + writable: true | |
| 9585 | + }); | |
| 9586 | + return obj[key]; | |
| 6360 | 9587 | } |
| 9588 | + try { | |
| 9589 | + // IE 8 has a broken Object.defineProperty that only works on DOM objects. | |
| 9590 | + define({}, ""); | |
| 9591 | + } catch (err) { | |
| 9592 | + define = function(obj, key, value) { | |
| 9593 | + return obj[key] = value; | |
| 9594 | + }; | |
| 9595 | + } | |
| 6361 | 9596 | |
| 6362 | - if (funcs.length === 0) { | |
| 6363 | - return function (arg) { | |
| 6364 | - return arg; | |
| 6365 | - }; | |
| 9597 | + function wrap(innerFn, outerFn, self, tryLocsList) { | |
| 9598 | + // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. | |
| 9599 | + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; | |
| 9600 | + var generator = Object.create(protoGenerator.prototype); | |
| 9601 | + var context = new Context(tryLocsList || []); | |
| 9602 | + | |
| 9603 | + // The ._invoke method unifies the implementations of the .next, | |
| 9604 | + // .throw, and .return methods. | |
| 9605 | + generator._invoke = makeInvokeMethod(innerFn, self, context); | |
| 9606 | + | |
| 9607 | + return generator; | |
| 6366 | 9608 | } |
| 9609 | + exports.wrap = wrap; | |
| 6367 | 9610 | |
| 6368 | - if (funcs.length === 1) { | |
| 6369 | - return funcs[0]; | |
| 9611 | + // Try/catch helper to minimize deoptimizations. Returns a completion | |
| 9612 | + // record like context.tryEntries[i].completion. This interface could | |
| 9613 | + // have been (and was previously) designed to take a closure to be | |
| 9614 | + // invoked without arguments, but in all the cases we care about we | |
| 9615 | + // already have an existing method we want to call, so there's no need | |
| 9616 | + // to create a new function object. We can even get away with assuming | |
| 9617 | + // the method takes exactly one argument, since that happens to be true | |
| 9618 | + // in every case, so we don't have to touch the arguments object. The | |
| 9619 | + // only additional allocation required is the completion record, which | |
| 9620 | + // has a stable shape and so hopefully should be cheap to allocate. | |
| 9621 | + function tryCatch(fn, obj, arg) { | |
| 9622 | + try { | |
| 9623 | + return { type: "normal", arg: fn.call(obj, arg) }; | |
| 9624 | + } catch (err) { | |
| 9625 | + return { type: "throw", arg: err }; | |
| 9626 | + } | |
| 6370 | 9627 | } |
| 6371 | 9628 | |
| 6372 | - return funcs.reduce(function (a, b) { | |
| 6373 | - return function () { | |
| 6374 | - return a(b.apply(void 0, arguments)); | |
| 6375 | - }; | |
| 6376 | - }); | |
| 6377 | -} | |
| 9629 | + var GenStateSuspendedStart = "suspendedStart"; | |
| 9630 | + var GenStateSuspendedYield = "suspendedYield"; | |
| 9631 | + var GenStateExecuting = "executing"; | |
| 9632 | + var GenStateCompleted = "completed"; | |
| 6378 | 9633 | |
| 6379 | -/** | |
| 6380 | - * Creates a store enhancer that applies middleware to the dispatch method | |
| 6381 | - * of the Redux store. This is handy for a variety of tasks, such as expressing | |
| 6382 | - * asynchronous actions in a concise manner, or logging every action payload. | |
| 6383 | - * | |
| 6384 | - * See `redux-thunk` package as an example of the Redux middleware. | |
| 6385 | - * | |
| 6386 | - * Because middleware is potentially asynchronous, this should be the first | |
| 6387 | - * store enhancer in the composition chain. | |
| 6388 | - * | |
| 6389 | - * Note that each middleware will be given the `dispatch` and `getState` functions | |
| 6390 | - * as named arguments. | |
| 6391 | - * | |
| 6392 | - * @param {...Function} middlewares The middleware chain to be applied. | |
| 6393 | - * @returns {Function} A store enhancer applying the middleware. | |
| 6394 | - */ | |
| 9634 | + // Returning this object from the innerFn has the same effect as | |
| 9635 | + // breaking out of the dispatch switch statement. | |
| 9636 | + var ContinueSentinel = {}; | |
| 6395 | 9637 | |
| 6396 | -function applyMiddleware() { | |
| 6397 | - for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 6398 | - middlewares[_key] = arguments[_key]; | |
| 9638 | + // Dummy constructor functions that we use as the .constructor and | |
| 9639 | + // .constructor.prototype properties for functions that return Generator | |
| 9640 | + // objects. For full spec compliance, you may wish to configure your | |
| 9641 | + // minifier not to mangle the names of these two functions. | |
| 9642 | + function Generator() {} | |
| 9643 | + function GeneratorFunction() {} | |
| 9644 | + function GeneratorFunctionPrototype() {} | |
| 9645 | + | |
| 9646 | + // This is a polyfill for %IteratorPrototype% for environments that | |
| 9647 | + // don't natively support it. | |
| 9648 | + var IteratorPrototype = {}; | |
| 9649 | + IteratorPrototype[iteratorSymbol] = function () { | |
| 9650 | + return this; | |
| 9651 | + }; | |
| 9652 | + | |
| 9653 | + var getProto = Object.getPrototypeOf; | |
| 9654 | + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); | |
| 9655 | + if (NativeIteratorPrototype && | |
| 9656 | + NativeIteratorPrototype !== Op && | |
| 9657 | + hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { | |
| 9658 | + // This environment has a native %IteratorPrototype%; use it instead | |
| 9659 | + // of the polyfill. | |
| 9660 | + IteratorPrototype = NativeIteratorPrototype; | |
| 6399 | 9661 | } |
| 6400 | 9662 | |
| 6401 | - return function (createStore) { | |
| 6402 | - return function () { | |
| 6403 | - var store = createStore.apply(void 0, arguments); | |
| 9663 | + var Gp = GeneratorFunctionPrototype.prototype = | |
| 9664 | + Generator.prototype = Object.create(IteratorPrototype); | |
| 9665 | + GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; | |
| 9666 | + GeneratorFunctionPrototype.constructor = GeneratorFunction; | |
| 9667 | + GeneratorFunction.displayName = define( | |
| 9668 | + GeneratorFunctionPrototype, | |
| 9669 | + toStringTagSymbol, | |
| 9670 | + "GeneratorFunction" | |
| 9671 | + ); | |
| 6404 | 9672 | |
| 6405 | - var _dispatch = function dispatch() { | |
| 6406 | - throw new Error( false ? 0 : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.'); | |
| 6407 | - }; | |
| 9673 | + // Helper for defining the .next, .throw, and .return methods of the | |
| 9674 | + // Iterator interface in terms of a single ._invoke method. | |
| 9675 | + function defineIteratorMethods(prototype) { | |
| 9676 | + ["next", "throw", "return"].forEach(function(method) { | |
| 9677 | + define(prototype, method, function(arg) { | |
| 9678 | + return this._invoke(method, arg); | |
| 9679 | + }); | |
| 9680 | + }); | |
| 9681 | + } | |
| 6408 | 9682 | |
| 6409 | - var middlewareAPI = { | |
| 6410 | - getState: store.getState, | |
| 6411 | - dispatch: function dispatch() { | |
| 6412 | - return _dispatch.apply(void 0, arguments); | |
| 6413 | - } | |
| 6414 | - }; | |
| 6415 | - var chain = middlewares.map(function (middleware) { | |
| 6416 | - return middleware(middlewareAPI); | |
| 6417 | - }); | |
| 6418 | - _dispatch = compose.apply(void 0, chain)(store.dispatch); | |
| 6419 | - return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])({}, store), {}, { | |
| 6420 | - dispatch: _dispatch | |
| 6421 | - }); | |
| 6422 | - }; | |
| 9683 | + exports.isGeneratorFunction = function(genFun) { | |
| 9684 | + var ctor = typeof genFun === "function" && genFun.constructor; | |
| 9685 | + return ctor | |
| 9686 | + ? ctor === GeneratorFunction || | |
| 9687 | + // For the native GeneratorFunction constructor, the best we can | |
| 9688 | + // do is to check its .name property. | |
| 9689 | + (ctor.displayName || ctor.name) === "GeneratorFunction" | |
| 9690 | + : false; | |
| 6423 | 9691 | }; |
| 6424 | -} | |
| 6425 | 9692 | |
| 9693 | + exports.mark = function(genFun) { | |
| 9694 | + if (Object.setPrototypeOf) { | |
| 9695 | + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); | |
| 9696 | + } else { | |
| 9697 | + genFun.__proto__ = GeneratorFunctionPrototype; | |
| 9698 | + define(genFun, toStringTagSymbol, "GeneratorFunction"); | |
| 9699 | + } | |
| 9700 | + genFun.prototype = Object.create(Gp); | |
| 9701 | + return genFun; | |
| 9702 | + }; | |
| 6426 | 9703 | |
| 9704 | + // Within the body of any async function, `await x` is transformed to | |
| 9705 | + // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test | |
| 9706 | + // `hasOwn.call(value, "__await")` to determine if the yielded value is | |
| 9707 | + // meant to be awaited. | |
| 9708 | + exports.awrap = function(arg) { | |
| 9709 | + return { __await: arg }; | |
| 9710 | + }; | |
| 6427 | 9711 | |
| 9712 | + function AsyncIterator(generator, PromiseImpl) { | |
| 9713 | + function invoke(method, arg, resolve, reject) { | |
| 9714 | + var record = tryCatch(generator[method], generator, arg); | |
| 9715 | + if (record.type === "throw") { | |
| 9716 | + reject(record.arg); | |
| 9717 | + } else { | |
| 9718 | + var result = record.arg; | |
| 9719 | + var value = result.value; | |
| 9720 | + if (value && | |
| 9721 | + typeof value === "object" && | |
| 9722 | + hasOwn.call(value, "__await")) { | |
| 9723 | + return PromiseImpl.resolve(value.__await).then(function(value) { | |
| 9724 | + invoke("next", value, resolve, reject); | |
| 9725 | + }, function(err) { | |
| 9726 | + invoke("throw", err, resolve, reject); | |
| 9727 | + }); | |
| 9728 | + } | |
| 6428 | 9729 | |
| 6429 | -/***/ }), | |
| 9730 | + return PromiseImpl.resolve(value).then(function(unwrapped) { | |
| 9731 | + // When a yielded Promise is resolved, its final value becomes | |
| 9732 | + // the .value of the Promise<{value,done}> result for the | |
| 9733 | + // current iteration. | |
| 9734 | + result.value = unwrapped; | |
| 9735 | + resolve(result); | |
| 9736 | + }, function(error) { | |
| 9737 | + // If a rejected Promise was yielded, throw the rejection back | |
| 9738 | + // into the async generator function so it can be handled there. | |
| 9739 | + return invoke("throw", error, resolve, reject); | |
| 9740 | + }); | |
| 9741 | + } | |
| 9742 | + } | |
| 6430 | 9743 | |
| 6431 | -/***/ "../node_modules/reselect/es/defaultMemoize.js": | |
| 6432 | -/*!*****************************************************!*\ | |
| 6433 | - !*** ../node_modules/reselect/es/defaultMemoize.js ***! | |
| 6434 | - \*****************************************************/ | |
| 6435 | -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 9744 | + var previousPromise; | |
| 6436 | 9745 | |
| 6437 | -"use strict"; | |
| 6438 | -__webpack_require__.r(__webpack_exports__); | |
| 6439 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 6440 | -/* harmony export */ createCacheKeyComparator: () => (/* binding */ createCacheKeyComparator), | |
| 6441 | -/* harmony export */ defaultEqualityCheck: () => (/* binding */ defaultEqualityCheck), | |
| 6442 | -/* harmony export */ defaultMemoize: () => (/* binding */ defaultMemoize) | |
| 6443 | -/* harmony export */ }); | |
| 6444 | -// Cache implementation based on Erik Rasmussen's `lru-memoize`: | |
| 6445 | -// https://github.com/erikras/lru-memoize | |
| 6446 | -var NOT_FOUND = 'NOT_FOUND'; | |
| 6447 | - | |
| 6448 | -function createSingletonCache(equals) { | |
| 6449 | - var entry; | |
| 6450 | - return { | |
| 6451 | - get: function get(key) { | |
| 6452 | - if (entry && equals(entry.key, key)) { | |
| 6453 | - return entry.value; | |
| 9746 | + function enqueue(method, arg) { | |
| 9747 | + function callInvokeWithMethodAndArg() { | |
| 9748 | + return new PromiseImpl(function(resolve, reject) { | |
| 9749 | + invoke(method, arg, resolve, reject); | |
| 9750 | + }); | |
| 6454 | 9751 | } |
| 6455 | 9752 | |
| 6456 | - return NOT_FOUND; | |
| 6457 | - }, | |
| 6458 | - put: function put(key, value) { | |
| 6459 | - entry = { | |
| 6460 | - key: key, | |
| 6461 | - value: value | |
| 6462 | - }; | |
| 6463 | - }, | |
| 6464 | - getEntries: function getEntries() { | |
| 6465 | - return entry ? [entry] : []; | |
| 6466 | - }, | |
| 6467 | - clear: function clear() { | |
| 6468 | - entry = undefined; | |
| 9753 | + return previousPromise = | |
| 9754 | + // If enqueue has been called before, then we want to wait until | |
| 9755 | + // all previous Promises have been resolved before calling invoke, | |
| 9756 | + // so that results are always delivered in the correct order. If | |
| 9757 | + // enqueue has not been called before, then it is important to | |
| 9758 | + // call invoke immediately, without waiting on a callback to fire, | |
| 9759 | + // so that the async generator function has the opportunity to do | |
| 9760 | + // any necessary setup in a predictable way. This predictability | |
| 9761 | + // is why the Promise constructor synchronously invokes its | |
| 9762 | + // executor callback, and why async functions synchronously | |
| 9763 | + // execute code before the first await. Since we implement simple | |
| 9764 | + // async functions in terms of async generators, it is especially | |
| 9765 | + // important to get this right, even though it requires care. | |
| 9766 | + previousPromise ? previousPromise.then( | |
| 9767 | + callInvokeWithMethodAndArg, | |
| 9768 | + // Avoid propagating failures to Promises returned by later | |
| 9769 | + // invocations of the iterator. | |
| 9770 | + callInvokeWithMethodAndArg | |
| 9771 | + ) : callInvokeWithMethodAndArg(); | |
| 6469 | 9772 | } |
| 9773 | + | |
| 9774 | + // Define the unified helper method that is used to implement .next, | |
| 9775 | + // .throw, and .return (see defineIteratorMethods). | |
| 9776 | + this._invoke = enqueue; | |
| 9777 | + } | |
| 9778 | + | |
| 9779 | + defineIteratorMethods(AsyncIterator.prototype); | |
| 9780 | + AsyncIterator.prototype[asyncIteratorSymbol] = function () { | |
| 9781 | + return this; | |
| 6470 | 9782 | }; |
| 6471 | -} | |
| 9783 | + exports.AsyncIterator = AsyncIterator; | |
| 6472 | 9784 | |
| 6473 | -function createLruCache(maxSize, equals) { | |
| 6474 | - var entries = []; | |
| 9785 | + // Note that simple async functions are implemented on top of | |
| 9786 | + // AsyncIterator objects; they just return a Promise for the value of | |
| 9787 | + // the final result produced by the iterator. | |
| 9788 | + exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { | |
| 9789 | + if (PromiseImpl === void 0) PromiseImpl = Promise; | |
| 6475 | 9790 | |
| 6476 | - function get(key) { | |
| 6477 | - var cacheIndex = entries.findIndex(function (entry) { | |
| 6478 | - return equals(key, entry.key); | |
| 6479 | - }); // We found a cached entry | |
| 9791 | + var iter = new AsyncIterator( | |
| 9792 | + wrap(innerFn, outerFn, self, tryLocsList), | |
| 9793 | + PromiseImpl | |
| 9794 | + ); | |
| 6480 | 9795 | |
| 6481 | - if (cacheIndex > -1) { | |
| 6482 | - var entry = entries[cacheIndex]; // Cached entry not at top of cache, move it to the top | |
| 9796 | + return exports.isGeneratorFunction(outerFn) | |
| 9797 | + ? iter // If outerFn is a generator, return the full iterator. | |
| 9798 | + : iter.next().then(function(result) { | |
| 9799 | + return result.done ? result.value : iter.next(); | |
| 9800 | + }); | |
| 9801 | + }; | |
| 6483 | 9802 | |
| 6484 | - if (cacheIndex > 0) { | |
| 6485 | - entries.splice(cacheIndex, 1); | |
| 6486 | - entries.unshift(entry); | |
| 9803 | + function makeInvokeMethod(innerFn, self, context) { | |
| 9804 | + var state = GenStateSuspendedStart; | |
| 9805 | + | |
| 9806 | + return function invoke(method, arg) { | |
| 9807 | + if (state === GenStateExecuting) { | |
| 9808 | + throw new Error("Generator is already running"); | |
| 6487 | 9809 | } |
| 6488 | 9810 | |
| 6489 | - return entry.value; | |
| 6490 | - } // No entry found in cache, return sentinel | |
| 9811 | + if (state === GenStateCompleted) { | |
| 9812 | + if (method === "throw") { | |
| 9813 | + throw arg; | |
| 9814 | + } | |
| 6491 | 9815 | |
| 9816 | + // Be forgiving, per 25.3.3.3.3 of the spec: | |
| 9817 | + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume | |
| 9818 | + return doneResult(); | |
| 9819 | + } | |
| 6492 | 9820 | |
| 6493 | - return NOT_FOUND; | |
| 9821 | + context.method = method; | |
| 9822 | + context.arg = arg; | |
| 9823 | + | |
| 9824 | + while (true) { | |
| 9825 | + var delegate = context.delegate; | |
| 9826 | + if (delegate) { | |
| 9827 | + var delegateResult = maybeInvokeDelegate(delegate, context); | |
| 9828 | + if (delegateResult) { | |
| 9829 | + if (delegateResult === ContinueSentinel) continue; | |
| 9830 | + return delegateResult; | |
| 9831 | + } | |
| 9832 | + } | |
| 9833 | + | |
| 9834 | + if (context.method === "next") { | |
| 9835 | + // Setting context._sent for legacy support of Babel's | |
| 9836 | + // function.sent implementation. | |
| 9837 | + context.sent = context._sent = context.arg; | |
| 9838 | + | |
| 9839 | + } else if (context.method === "throw") { | |
| 9840 | + if (state === GenStateSuspendedStart) { | |
| 9841 | + state = GenStateCompleted; | |
| 9842 | + throw context.arg; | |
| 9843 | + } | |
| 9844 | + | |
| 9845 | + context.dispatchException(context.arg); | |
| 9846 | + | |
| 9847 | + } else if (context.method === "return") { | |
| 9848 | + context.abrupt("return", context.arg); | |
| 9849 | + } | |
| 9850 | + | |
| 9851 | + state = GenStateExecuting; | |
| 9852 | + | |
| 9853 | + var record = tryCatch(innerFn, self, context); | |
| 9854 | + if (record.type === "normal") { | |
| 9855 | + // If an exception is thrown from innerFn, we leave state === | |
| 9856 | + // GenStateExecuting and loop back for another invocation. | |
| 9857 | + state = context.done | |
| 9858 | + ? GenStateCompleted | |
| 9859 | + : GenStateSuspendedYield; | |
| 9860 | + | |
| 9861 | + if (record.arg === ContinueSentinel) { | |
| 9862 | + continue; | |
| 9863 | + } | |
| 9864 | + | |
| 9865 | + return { | |
| 9866 | + value: record.arg, | |
| 9867 | + done: context.done | |
| 9868 | + }; | |
| 9869 | + | |
| 9870 | + } else if (record.type === "throw") { | |
| 9871 | + state = GenStateCompleted; | |
| 9872 | + // Dispatch the exception by looping back around to the | |
| 9873 | + // context.dispatchException(context.arg) call above. | |
| 9874 | + context.method = "throw"; | |
| 9875 | + context.arg = record.arg; | |
| 9876 | + } | |
| 9877 | + } | |
| 9878 | + }; | |
| 6494 | 9879 | } |
| 6495 | 9880 | |
| 6496 | - function put(key, value) { | |
| 6497 | - if (get(key) === NOT_FOUND) { | |
| 6498 | - // TODO Is unshift slow? | |
| 6499 | - entries.unshift({ | |
| 6500 | - key: key, | |
| 6501 | - value: value | |
| 6502 | - }); | |
| 9881 | + // Call delegate.iterator[context.method](context.arg) and handle the | |
| 9882 | + // result, either by returning a { value, done } result from the | |
| 9883 | + // delegate iterator, or by modifying context.method and context.arg, | |
| 9884 | + // setting context.delegate to null, and returning the ContinueSentinel. | |
| 9885 | + function maybeInvokeDelegate(delegate, context) { | |
| 9886 | + var method = delegate.iterator[context.method]; | |
| 9887 | + if (method === undefined) { | |
| 9888 | + // A .throw or .return when the delegate iterator has no .throw | |
| 9889 | + // method always terminates the yield* loop. | |
| 9890 | + context.delegate = null; | |
| 6503 | 9891 | |
| 6504 | - if (entries.length > maxSize) { | |
| 6505 | - entries.pop(); | |
| 9892 | + if (context.method === "throw") { | |
| 9893 | + // Note: ["return"] must be used for ES3 parsing compatibility. | |
| 9894 | + if (delegate.iterator["return"]) { | |
| 9895 | + // If the delegate iterator has a return method, give it a | |
| 9896 | + // chance to clean up. | |
| 9897 | + context.method = "return"; | |
| 9898 | + context.arg = undefined; | |
| 9899 | + maybeInvokeDelegate(delegate, context); | |
| 9900 | + | |
| 9901 | + if (context.method === "throw") { | |
| 9902 | + // If maybeInvokeDelegate(context) changed context.method from | |
| 9903 | + // "return" to "throw", let that override the TypeError below. | |
| 9904 | + return ContinueSentinel; | |
| 9905 | + } | |
| 9906 | + } | |
| 9907 | + | |
| 9908 | + context.method = "throw"; | |
| 9909 | + context.arg = new TypeError( | |
| 9910 | + "The iterator does not provide a 'throw' method"); | |
| 6506 | 9911 | } |
| 9912 | + | |
| 9913 | + return ContinueSentinel; | |
| 6507 | 9914 | } |
| 6508 | - } | |
| 6509 | 9915 | |
| 6510 | - function getEntries() { | |
| 6511 | - return entries; | |
| 6512 | - } | |
| 9916 | + var record = tryCatch(method, delegate.iterator, context.arg); | |
| 6513 | 9917 | |
| 6514 | - function clear() { | |
| 6515 | - entries = []; | |
| 6516 | - } | |
| 9918 | + if (record.type === "throw") { | |
| 9919 | + context.method = "throw"; | |
| 9920 | + context.arg = record.arg; | |
| 9921 | + context.delegate = null; | |
| 9922 | + return ContinueSentinel; | |
| 9923 | + } | |
| 6517 | 9924 | |
| 6518 | - return { | |
| 6519 | - get: get, | |
| 6520 | - put: put, | |
| 6521 | - getEntries: getEntries, | |
| 6522 | - clear: clear | |
| 6523 | - }; | |
| 6524 | -} | |
| 9925 | + var info = record.arg; | |
| 6525 | 9926 | |
| 6526 | -var defaultEqualityCheck = function defaultEqualityCheck(a, b) { | |
| 6527 | - return a === b; | |
| 6528 | -}; | |
| 6529 | -function createCacheKeyComparator(equalityCheck) { | |
| 6530 | - return function areArgumentsShallowlyEqual(prev, next) { | |
| 6531 | - if (prev === null || next === null || prev.length !== next.length) { | |
| 6532 | - return false; | |
| 6533 | - } // Do this in a for loop (and not a `forEach` or an `every`) so we can determine equality as fast as possible. | |
| 9927 | + if (! info) { | |
| 9928 | + context.method = "throw"; | |
| 9929 | + context.arg = new TypeError("iterator result is not an object"); | |
| 9930 | + context.delegate = null; | |
| 9931 | + return ContinueSentinel; | |
| 9932 | + } | |
| 6534 | 9933 | |
| 9934 | + if (info.done) { | |
| 9935 | + // Assign the result of the finished delegate to the temporary | |
| 9936 | + // variable specified by delegate.resultName (see delegateYield). | |
| 9937 | + context[delegate.resultName] = info.value; | |
| 6535 | 9938 | |
| 6536 | - var length = prev.length; | |
| 9939 | + // Resume execution at the desired location (see delegateYield). | |
| 9940 | + context.next = delegate.nextLoc; | |
| 6537 | 9941 | |
| 6538 | - for (var i = 0; i < length; i++) { | |
| 6539 | - if (!equalityCheck(prev[i], next[i])) { | |
| 6540 | - return false; | |
| 9942 | + // If context.method was "throw" but the delegate handled the | |
| 9943 | + // exception, let the outer generator proceed normally. If | |
| 9944 | + // context.method was "next", forget context.arg since it has been | |
| 9945 | + // "consumed" by the delegate iterator. If context.method was | |
| 9946 | + // "return", allow the original .return call to continue in the | |
| 9947 | + // outer generator. | |
| 9948 | + if (context.method !== "return") { | |
| 9949 | + context.method = "next"; | |
| 9950 | + context.arg = undefined; | |
| 6541 | 9951 | } |
| 9952 | + | |
| 9953 | + } else { | |
| 9954 | + // Re-yield the result returned by the delegate method. | |
| 9955 | + return info; | |
| 6542 | 9956 | } |
| 6543 | 9957 | |
| 6544 | - return true; | |
| 9958 | + // The delegate iterator is finished, so forget it and continue with | |
| 9959 | + // the outer generator. | |
| 9960 | + context.delegate = null; | |
| 9961 | + return ContinueSentinel; | |
| 9962 | + } | |
| 9963 | + | |
| 9964 | + // Define Generator.prototype.{next,throw,return} in terms of the | |
| 9965 | + // unified ._invoke helper method. | |
| 9966 | + defineIteratorMethods(Gp); | |
| 9967 | + | |
| 9968 | + define(Gp, toStringTagSymbol, "Generator"); | |
| 9969 | + | |
| 9970 | + // A Generator should always return itself as the iterator object when the | |
| 9971 | + // @@iterator function is called on it. Some browsers' implementations of the | |
| 9972 | + // iterator prototype chain incorrectly implement this, causing the Generator | |
| 9973 | + // object to not be returned from this call. This ensures that doesn't happen. | |
| 9974 | + // See https://github.com/facebook/regenerator/issues/274 for more details. | |
| 9975 | + Gp[iteratorSymbol] = function() { | |
| 9976 | + return this; | |
| 6545 | 9977 | }; |
| 6546 | -} | |
| 6547 | -// defaultMemoize now supports a configurable cache size with LRU behavior, | |
| 6548 | -// and optional comparison of the result value with existing values | |
| 6549 | -function defaultMemoize(func, equalityCheckOrOptions) { | |
| 6550 | - var providedOptions = typeof equalityCheckOrOptions === 'object' ? equalityCheckOrOptions : { | |
| 6551 | - equalityCheck: equalityCheckOrOptions | |
| 9978 | + | |
| 9979 | + Gp.toString = function() { | |
| 9980 | + return "[object Generator]"; | |
| 6552 | 9981 | }; |
| 6553 | - var _providedOptions$equa = providedOptions.equalityCheck, | |
| 6554 | - equalityCheck = _providedOptions$equa === void 0 ? defaultEqualityCheck : _providedOptions$equa, | |
| 6555 | - _providedOptions$maxS = providedOptions.maxSize, | |
| 6556 | - maxSize = _providedOptions$maxS === void 0 ? 1 : _providedOptions$maxS, | |
| 6557 | - resultEqualityCheck = providedOptions.resultEqualityCheck; | |
| 6558 | - var comparator = createCacheKeyComparator(equalityCheck); | |
| 6559 | - var cache = maxSize === 1 ? createSingletonCache(comparator) : createLruCache(maxSize, comparator); // we reference arguments instead of spreading them for performance reasons | |
| 6560 | 9982 | |
| 6561 | - function memoized() { | |
| 6562 | - var value = cache.get(arguments); | |
| 9983 | + function pushTryEntry(locs) { | |
| 9984 | + var entry = { tryLoc: locs[0] }; | |
| 6563 | 9985 | |
| 6564 | - if (value === NOT_FOUND) { | |
| 6565 | - // @ts-ignore | |
| 6566 | - value = func.apply(null, arguments); | |
| 9986 | + if (1 in locs) { | |
| 9987 | + entry.catchLoc = locs[1]; | |
| 9988 | + } | |
| 6567 | 9989 | |
| 6568 | - if (resultEqualityCheck) { | |
| 6569 | - var entries = cache.getEntries(); | |
| 6570 | - var matchingEntry = entries.find(function (entry) { | |
| 6571 | - return resultEqualityCheck(entry.value, value); | |
| 6572 | - }); | |
| 9990 | + if (2 in locs) { | |
| 9991 | + entry.finallyLoc = locs[2]; | |
| 9992 | + entry.afterLoc = locs[3]; | |
| 9993 | + } | |
| 6573 | 9994 | |
| 6574 | - if (matchingEntry) { | |
| 6575 | - value = matchingEntry.value; | |
| 9995 | + this.tryEntries.push(entry); | |
| 9996 | + } | |
| 9997 | + | |
| 9998 | + function resetTryEntry(entry) { | |
| 9999 | + var record = entry.completion || {}; | |
| 10000 | + record.type = "normal"; | |
| 10001 | + delete record.arg; | |
| 10002 | + entry.completion = record; | |
| 10003 | + } | |
| 10004 | + | |
| 10005 | + function Context(tryLocsList) { | |
| 10006 | + // The root entry object (effectively a try statement without a catch | |
| 10007 | + // or a finally block) gives us a place to store values thrown from | |
| 10008 | + // locations where there is no enclosing try statement. | |
| 10009 | + this.tryEntries = [{ tryLoc: "root" }]; | |
| 10010 | + tryLocsList.forEach(pushTryEntry, this); | |
| 10011 | + this.reset(true); | |
| 10012 | + } | |
| 10013 | + | |
| 10014 | + exports.keys = function(object) { | |
| 10015 | + var keys = []; | |
| 10016 | + for (var key in object) { | |
| 10017 | + keys.push(key); | |
| 10018 | + } | |
| 10019 | + keys.reverse(); | |
| 10020 | + | |
| 10021 | + // Rather than returning an object with a next method, we keep | |
| 10022 | + // things simple and return the next function itself. | |
| 10023 | + return function next() { | |
| 10024 | + while (keys.length) { | |
| 10025 | + var key = keys.pop(); | |
| 10026 | + if (key in object) { | |
| 10027 | + next.value = key; | |
| 10028 | + next.done = false; | |
| 10029 | + return next; | |
| 6576 | 10030 | } |
| 6577 | 10031 | } |
| 6578 | 10032 | |
| 6579 | - cache.put(arguments, value); | |
| 10033 | + // To avoid creating an additional object, we just hang the .value | |
| 10034 | + // and .done properties off the next function object itself. This | |
| 10035 | + // also ensures that the minifier will not anonymize the function. | |
| 10036 | + next.done = true; | |
| 10037 | + return next; | |
| 10038 | + }; | |
| 10039 | + }; | |
| 10040 | + | |
| 10041 | + function values(iterable) { | |
| 10042 | + if (iterable) { | |
| 10043 | + var iteratorMethod = iterable[iteratorSymbol]; | |
| 10044 | + if (iteratorMethod) { | |
| 10045 | + return iteratorMethod.call(iterable); | |
| 10046 | + } | |
| 10047 | + | |
| 10048 | + if (typeof iterable.next === "function") { | |
| 10049 | + return iterable; | |
| 10050 | + } | |
| 10051 | + | |
| 10052 | + if (!isNaN(iterable.length)) { | |
| 10053 | + var i = -1, next = function next() { | |
| 10054 | + while (++i < iterable.length) { | |
| 10055 | + if (hasOwn.call(iterable, i)) { | |
| 10056 | + next.value = iterable[i]; | |
| 10057 | + next.done = false; | |
| 10058 | + return next; | |
| 10059 | + } | |
| 10060 | + } | |
| 10061 | + | |
| 10062 | + next.value = undefined; | |
| 10063 | + next.done = true; | |
| 10064 | + | |
| 10065 | + return next; | |
| 10066 | + }; | |
| 10067 | + | |
| 10068 | + return next.next = next; | |
| 10069 | + } | |
| 6580 | 10070 | } |
| 6581 | 10071 | |
| 6582 | - return value; | |
| 10072 | + // Return an iterator with no values. | |
| 10073 | + return { next: doneResult }; | |
| 6583 | 10074 | } |
| 10075 | + exports.values = values; | |
| 6584 | 10076 | |
| 6585 | - memoized.clearCache = function () { | |
| 6586 | - return cache.clear(); | |
| 6587 | - }; | |
| 10077 | + function doneResult() { | |
| 10078 | + return { value: undefined, done: true }; | |
| 10079 | + } | |
| 6588 | 10080 | |
| 6589 | - return memoized; | |
| 6590 | -} | |
| 10081 | + Context.prototype = { | |
| 10082 | + constructor: Context, | |
| 6591 | 10083 | |
| 6592 | -/***/ }), | |
| 10084 | + reset: function(skipTempReset) { | |
| 10085 | + this.prev = 0; | |
| 10086 | + this.next = 0; | |
| 10087 | + // Resetting context._sent for legacy support of Babel's | |
| 10088 | + // function.sent implementation. | |
| 10089 | + this.sent = this._sent = undefined; | |
| 10090 | + this.done = false; | |
| 10091 | + this.delegate = null; | |
| 6593 | 10092 | |
| 6594 | -/***/ "../node_modules/reselect/es/index.js": | |
| 6595 | -/*!********************************************!*\ | |
| 6596 | - !*** ../node_modules/reselect/es/index.js ***! | |
| 6597 | - \********************************************/ | |
| 6598 | -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 10093 | + this.method = "next"; | |
| 10094 | + this.arg = undefined; | |
| 6599 | 10095 | |
| 6600 | -"use strict"; | |
| 6601 | -__webpack_require__.r(__webpack_exports__); | |
| 6602 | -/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 6603 | -/* harmony export */ createSelector: () => (/* binding */ createSelector), | |
| 6604 | -/* harmony export */ createSelectorCreator: () => (/* binding */ createSelectorCreator), | |
| 6605 | -/* harmony export */ createStructuredSelector: () => (/* binding */ createStructuredSelector), | |
| 6606 | -/* harmony export */ defaultEqualityCheck: () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultEqualityCheck), | |
| 6607 | -/* harmony export */ defaultMemoize: () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize) | |
| 6608 | -/* harmony export */ }); | |
| 6609 | -/* harmony import */ var _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultMemoize */ "../node_modules/reselect/es/defaultMemoize.js"); | |
| 10096 | + this.tryEntries.forEach(resetTryEntry); | |
| 6610 | 10097 | |
| 10098 | + if (!skipTempReset) { | |
| 10099 | + for (var name in this) { | |
| 10100 | + // Not sure about the optimal order of these conditions: | |
| 10101 | + if (name.charAt(0) === "t" && | |
| 10102 | + hasOwn.call(this, name) && | |
| 10103 | + !isNaN(+name.slice(1))) { | |
| 10104 | + this[name] = undefined; | |
| 10105 | + } | |
| 10106 | + } | |
| 10107 | + } | |
| 10108 | + }, | |
| 6611 | 10109 | |
| 10110 | + stop: function() { | |
| 10111 | + this.done = true; | |
| 6612 | 10112 | |
| 6613 | -function getDependencies(funcs) { | |
| 6614 | - var dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs; | |
| 10113 | + var rootEntry = this.tryEntries[0]; | |
| 10114 | + var rootRecord = rootEntry.completion; | |
| 10115 | + if (rootRecord.type === "throw") { | |
| 10116 | + throw rootRecord.arg; | |
| 10117 | + } | |
| 6615 | 10118 | |
| 6616 | - if (!dependencies.every(function (dep) { | |
| 6617 | - return typeof dep === 'function'; | |
| 6618 | - })) { | |
| 6619 | - var dependencyTypes = dependencies.map(function (dep) { | |
| 6620 | - return typeof dep === 'function' ? "function " + (dep.name || 'unnamed') + "()" : typeof dep; | |
| 6621 | - }).join(', '); | |
| 6622 | - throw new Error("createSelector expects all input-selectors to be functions, but received the following types: [" + dependencyTypes + "]"); | |
| 6623 | - } | |
| 10119 | + return this.rval; | |
| 10120 | + }, | |
| 6624 | 10121 | |
| 6625 | - return dependencies; | |
| 6626 | -} | |
| 10122 | + dispatchException: function(exception) { | |
| 10123 | + if (this.done) { | |
| 10124 | + throw exception; | |
| 10125 | + } | |
| 6627 | 10126 | |
| 6628 | -function createSelectorCreator(memoize) { | |
| 6629 | - for (var _len = arguments.length, memoizeOptionsFromArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | |
| 6630 | - memoizeOptionsFromArgs[_key - 1] = arguments[_key]; | |
| 6631 | - } | |
| 10127 | + var context = this; | |
| 10128 | + function handle(loc, caught) { | |
| 10129 | + record.type = "throw"; | |
| 10130 | + record.arg = exception; | |
| 10131 | + context.next = loc; | |
| 6632 | 10132 | |
| 6633 | - var createSelector = function createSelector() { | |
| 6634 | - for (var _len2 = arguments.length, funcs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { | |
| 6635 | - funcs[_key2] = arguments[_key2]; | |
| 6636 | - } | |
| 10133 | + if (caught) { | |
| 10134 | + // If the dispatched exception was caught by a catch block, | |
| 10135 | + // then let that catch block handle the exception normally. | |
| 10136 | + context.method = "next"; | |
| 10137 | + context.arg = undefined; | |
| 10138 | + } | |
| 6637 | 10139 | |
| 6638 | - var _recomputations = 0; | |
| 10140 | + return !! caught; | |
| 10141 | + } | |
| 6639 | 10142 | |
| 6640 | - var _lastResult; // Due to the intricacies of rest params, we can't do an optional arg after `...funcs`. | |
| 6641 | - // So, start by declaring the default value here. | |
| 6642 | - // (And yes, the words 'memoize' and 'options' appear too many times in this next sequence.) | |
| 10143 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 10144 | + var entry = this.tryEntries[i]; | |
| 10145 | + var record = entry.completion; | |
| 6643 | 10146 | |
| 10147 | + if (entry.tryLoc === "root") { | |
| 10148 | + // Exception thrown outside of any try block that could handle | |
| 10149 | + // it, so set the completion value of the entire function to | |
| 10150 | + // throw the exception. | |
| 10151 | + return handle("end"); | |
| 10152 | + } | |
| 6644 | 10153 | |
| 6645 | - var directlyPassedOptions = { | |
| 6646 | - memoizeOptions: undefined | |
| 6647 | - }; // Normally, the result func or "output selector" is the last arg | |
| 10154 | + if (entry.tryLoc <= this.prev) { | |
| 10155 | + var hasCatch = hasOwn.call(entry, "catchLoc"); | |
| 10156 | + var hasFinally = hasOwn.call(entry, "finallyLoc"); | |
| 6648 | 10157 | |
| 6649 | - var resultFunc = funcs.pop(); // If the result func is actually an _object_, assume it's our options object | |
| 10158 | + if (hasCatch && hasFinally) { | |
| 10159 | + if (this.prev < entry.catchLoc) { | |
| 10160 | + return handle(entry.catchLoc, true); | |
| 10161 | + } else if (this.prev < entry.finallyLoc) { | |
| 10162 | + return handle(entry.finallyLoc); | |
| 10163 | + } | |
| 6650 | 10164 | |
| 6651 | - if (typeof resultFunc === 'object') { | |
| 6652 | - directlyPassedOptions = resultFunc; // and pop the real result func off | |
| 10165 | + } else if (hasCatch) { | |
| 10166 | + if (this.prev < entry.catchLoc) { | |
| 10167 | + return handle(entry.catchLoc, true); | |
| 10168 | + } | |
| 6653 | 10169 | |
| 6654 | - resultFunc = funcs.pop(); | |
| 6655 | - } | |
| 10170 | + } else if (hasFinally) { | |
| 10171 | + if (this.prev < entry.finallyLoc) { | |
| 10172 | + return handle(entry.finallyLoc); | |
| 10173 | + } | |
| 6656 | 10174 | |
| 6657 | - if (typeof resultFunc !== 'function') { | |
| 6658 | - throw new Error("createSelector expects an output function after the inputs, but received: [" + typeof resultFunc + "]"); | |
| 6659 | - } // Determine which set of options we're using. Prefer options passed directly, | |
| 6660 | - // but fall back to options given to createSelectorCreator. | |
| 10175 | + } else { | |
| 10176 | + throw new Error("try statement without catch or finally"); | |
| 10177 | + } | |
| 10178 | + } | |
| 10179 | + } | |
| 10180 | + }, | |
| 6661 | 10181 | |
| 10182 | + abrupt: function(type, arg) { | |
| 10183 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 10184 | + var entry = this.tryEntries[i]; | |
| 10185 | + if (entry.tryLoc <= this.prev && | |
| 10186 | + hasOwn.call(entry, "finallyLoc") && | |
| 10187 | + this.prev < entry.finallyLoc) { | |
| 10188 | + var finallyEntry = entry; | |
| 10189 | + break; | |
| 10190 | + } | |
| 10191 | + } | |
| 6662 | 10192 | |
| 6663 | - var _directlyPassedOption = directlyPassedOptions, | |
| 6664 | - _directlyPassedOption2 = _directlyPassedOption.memoizeOptions, | |
| 6665 | - memoizeOptions = _directlyPassedOption2 === void 0 ? memoizeOptionsFromArgs : _directlyPassedOption2; // Simplifying assumption: it's unlikely that the first options arg of the provided memoizer | |
| 6666 | - // is an array. In most libs I've looked at, it's an equality function or options object. | |
| 6667 | - // Based on that, if `memoizeOptions` _is_ an array, we assume it's a full | |
| 6668 | - // user-provided array of options. Otherwise, it must be just the _first_ arg, and so | |
| 6669 | - // we wrap it in an array so we can apply it. | |
| 10193 | + if (finallyEntry && | |
| 10194 | + (type === "break" || | |
| 10195 | + type === "continue") && | |
| 10196 | + finallyEntry.tryLoc <= arg && | |
| 10197 | + arg <= finallyEntry.finallyLoc) { | |
| 10198 | + // Ignore the finally entry if control is not jumping to a | |
| 10199 | + // location outside the try/catch block. | |
| 10200 | + finallyEntry = null; | |
| 10201 | + } | |
| 6670 | 10202 | |
| 6671 | - var finalMemoizeOptions = Array.isArray(memoizeOptions) ? memoizeOptions : [memoizeOptions]; | |
| 6672 | - var dependencies = getDependencies(funcs); | |
| 6673 | - var memoizedResultFunc = memoize.apply(void 0, [function recomputationWrapper() { | |
| 6674 | - _recomputations++; // apply arguments instead of spreading for performance. | |
| 10203 | + var record = finallyEntry ? finallyEntry.completion : {}; | |
| 10204 | + record.type = type; | |
| 10205 | + record.arg = arg; | |
| 6675 | 10206 | |
| 6676 | - return resultFunc.apply(null, arguments); | |
| 6677 | - }].concat(finalMemoizeOptions)); // If a selector is called with the exact same arguments we don't need to traverse our dependencies again. | |
| 10207 | + if (finallyEntry) { | |
| 10208 | + this.method = "next"; | |
| 10209 | + this.next = finallyEntry.finallyLoc; | |
| 10210 | + return ContinueSentinel; | |
| 10211 | + } | |
| 6678 | 10212 | |
| 6679 | - var selector = memoize(function dependenciesChecker() { | |
| 6680 | - var params = []; | |
| 6681 | - var length = dependencies.length; | |
| 10213 | + return this.complete(record); | |
| 10214 | + }, | |
| 6682 | 10215 | |
| 6683 | - for (var i = 0; i < length; i++) { | |
| 6684 | - // apply arguments instead of spreading and mutate a local list of params for performance. | |
| 6685 | - // @ts-ignore | |
| 6686 | - params.push(dependencies[i].apply(null, arguments)); | |
| 6687 | - } // apply arguments instead of spreading for performance. | |
| 10216 | + complete: function(record, afterLoc) { | |
| 10217 | + if (record.type === "throw") { | |
| 10218 | + throw record.arg; | |
| 10219 | + } | |
| 6688 | 10220 | |
| 10221 | + if (record.type === "break" || | |
| 10222 | + record.type === "continue") { | |
| 10223 | + this.next = record.arg; | |
| 10224 | + } else if (record.type === "return") { | |
| 10225 | + this.rval = this.arg = record.arg; | |
| 10226 | + this.method = "return"; | |
| 10227 | + this.next = "end"; | |
| 10228 | + } else if (record.type === "normal" && afterLoc) { | |
| 10229 | + this.next = afterLoc; | |
| 10230 | + } | |
| 6689 | 10231 | |
| 6690 | - _lastResult = memoizedResultFunc.apply(null, params); | |
| 6691 | - return _lastResult; | |
| 6692 | - }); | |
| 6693 | - Object.assign(selector, { | |
| 6694 | - resultFunc: resultFunc, | |
| 6695 | - memoizedResultFunc: memoizedResultFunc, | |
| 6696 | - dependencies: dependencies, | |
| 6697 | - lastResult: function lastResult() { | |
| 6698 | - return _lastResult; | |
| 6699 | - }, | |
| 6700 | - recomputations: function recomputations() { | |
| 6701 | - return _recomputations; | |
| 6702 | - }, | |
| 6703 | - resetRecomputations: function resetRecomputations() { | |
| 6704 | - return _recomputations = 0; | |
| 10232 | + return ContinueSentinel; | |
| 10233 | + }, | |
| 10234 | + | |
| 10235 | + finish: function(finallyLoc) { | |
| 10236 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 10237 | + var entry = this.tryEntries[i]; | |
| 10238 | + if (entry.finallyLoc === finallyLoc) { | |
| 10239 | + this.complete(entry.completion, entry.afterLoc); | |
| 10240 | + resetTryEntry(entry); | |
| 10241 | + return ContinueSentinel; | |
| 10242 | + } | |
| 6705 | 10243 | } |
| 6706 | - }); | |
| 6707 | - return selector; | |
| 6708 | - }; // @ts-ignore | |
| 10244 | + }, | |
| 6709 | 10245 | |
| 10246 | + "catch": function(tryLoc) { | |
| 10247 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 10248 | + var entry = this.tryEntries[i]; | |
| 10249 | + if (entry.tryLoc === tryLoc) { | |
| 10250 | + var record = entry.completion; | |
| 10251 | + if (record.type === "throw") { | |
| 10252 | + var thrown = record.arg; | |
| 10253 | + resetTryEntry(entry); | |
| 10254 | + } | |
| 10255 | + return thrown; | |
| 10256 | + } | |
| 10257 | + } | |
| 6710 | 10258 | |
| 6711 | - return createSelector; | |
| 6712 | -} | |
| 6713 | -var createSelector = /* #__PURE__ */createSelectorCreator(_defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize); | |
| 6714 | -// Manual definition of state and output arguments | |
| 6715 | -var createStructuredSelector = function createStructuredSelector(selectors, selectorCreator) { | |
| 6716 | - if (selectorCreator === void 0) { | |
| 6717 | - selectorCreator = createSelector; | |
| 6718 | - } | |
| 10259 | + // The context.catch method must only be called with a location | |
| 10260 | + // argument that corresponds to a known catch block. | |
| 10261 | + throw new Error("illegal catch attempt"); | |
| 10262 | + }, | |
| 6719 | 10263 | |
| 6720 | - if (typeof selectors !== 'object') { | |
| 6721 | - throw new Error('createStructuredSelector expects first argument to be an object ' + ("where each property is a selector, instead received a " + typeof selectors)); | |
| 6722 | - } | |
| 10264 | + delegateYield: function(iterable, resultName, nextLoc) { | |
| 10265 | + this.delegate = { | |
| 10266 | + iterator: values(iterable), | |
| 10267 | + resultName: resultName, | |
| 10268 | + nextLoc: nextLoc | |
| 10269 | + }; | |
| 6723 | 10270 | |
| 6724 | - var objectKeys = Object.keys(selectors); | |
| 6725 | - var resultSelector = selectorCreator( // @ts-ignore | |
| 6726 | - objectKeys.map(function (key) { | |
| 6727 | - return selectors[key]; | |
| 6728 | - }), function () { | |
| 6729 | - for (var _len3 = arguments.length, values = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { | |
| 6730 | - values[_key3] = arguments[_key3]; | |
| 10271 | + if (this.method === "next") { | |
| 10272 | + // Deliberately forget the last sent value so that we don't | |
| 10273 | + // accidentally pass it on to the delegate. | |
| 10274 | + this.arg = undefined; | |
| 10275 | + } | |
| 10276 | + | |
| 10277 | + return ContinueSentinel; | |
| 6731 | 10278 | } |
| 10279 | + }; | |
| 6732 | 10280 | |
| 6733 | - return values.reduce(function (composition, value, index) { | |
| 6734 | - composition[objectKeys[index]] = value; | |
| 6735 | - return composition; | |
| 6736 | - }, {}); | |
| 6737 | - }); | |
| 6738 | - return resultSelector; | |
| 6739 | -}; | |
| 10281 | + // Regardless of whether this script is executing as a CommonJS module | |
| 10282 | + // or not, return the runtime object so that we can declare the variable | |
| 10283 | + // regeneratorRuntime in the outer scope, which allows this module to be | |
| 10284 | + // injected easily by `bin/regenerator --include-runtime script.js`. | |
| 10285 | + return exports; | |
| 6740 | 10286 | |
| 10287 | +}( | |
| 10288 | + // If this script is executing as a CommonJS module, use module.exports | |
| 10289 | + // as the regeneratorRuntime namespace. Otherwise create a new empty | |
| 10290 | + // object. Either way, the resulting object will be used to initialize | |
| 10291 | + // the regeneratorRuntime variable at the top of this file. | |
| 10292 | + true ? module.exports : 0 | |
| 10293 | +)); | |
| 10294 | + | |
| 10295 | +try { | |
| 10296 | + regeneratorRuntime = runtime; | |
| 10297 | +} catch (accidentalStrictMode) { | |
| 10298 | + // This module should not be running in strict mode, so the above | |
| 10299 | + // assignment should always work unless something is misconfigured. Just | |
| 10300 | + // in case runtime.js accidentally runs in strict mode, we can escape | |
| 10301 | + // strict mode using a global Function call. This could conceivably fail | |
| 10302 | + // if a Content Security Policy forbids using Function, but in that case | |
| 10303 | + // the proper solution is to fix the accidental strict mode problem. If | |
| 10304 | + // you've misconfigured your bundler to force strict mode and applied a | |
| 10305 | + // CSP to forbid Function, and you're not willing to fix either of those | |
| 10306 | + // problems, please detail your unique predicament in a GitHub issue. | |
| 10307 | + Function("r", "regeneratorRuntime = r")(runtime); | |
| 10308 | +} | |
| 10309 | + | |
| 10310 | + | |
| 6741 | 10311 | /***/ }) |
| 6742 | 10312 | |
| 6743 | 10313 | /******/ }); |
| 6744 | 10314 | /************************************************************************/ |
| @@ -6766,51 +10336,10 @@ | ||
| 6766 | 10336 | /******/ return module.exports; |
| 6767 | 10337 | /******/ } |
| 6768 | 10338 | /******/ |
| 6769 | 10339 | /************************************************************************/ |
| 6770 | -/******/ /* webpack/runtime/define property getters */ | |
| 6771 | -/******/ (() => { | |
| 6772 | -/******/ // define getter functions for harmony exports | |
| 6773 | -/******/ __webpack_require__.d = (exports, definition) => { | |
| 6774 | -/******/ for(var key in definition) { | |
| 6775 | -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 6776 | -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 6777 | -/******/ } | |
| 6778 | -/******/ } | |
| 6779 | -/******/ }; | |
| 6780 | -/******/ })(); | |
| 6781 | -/******/ | |
| 6782 | -/******/ /* webpack/runtime/global */ | |
| 6783 | -/******/ (() => { | |
| 6784 | -/******/ __webpack_require__.g = (function() { | |
| 6785 | -/******/ if (typeof globalThis === 'object') return globalThis; | |
| 6786 | -/******/ try { | |
| 6787 | -/******/ return this || new Function('return this')(); | |
| 6788 | -/******/ } catch (e) { | |
| 6789 | -/******/ if (typeof window === 'object') return window; | |
| 6790 | -/******/ } | |
| 6791 | -/******/ })(); | |
| 6792 | -/******/ })(); | |
| 6793 | -/******/ | |
| 6794 | -/******/ /* webpack/runtime/hasOwnProperty shorthand */ | |
| 6795 | -/******/ (() => { | |
| 6796 | -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 6797 | -/******/ })(); | |
| 6798 | -/******/ | |
| 6799 | -/******/ /* webpack/runtime/make namespace object */ | |
| 6800 | -/******/ (() => { | |
| 6801 | -/******/ // define __esModule on exports | |
| 6802 | -/******/ __webpack_require__.r = (exports) => { | |
| 6803 | -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 6804 | -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
| 6805 | -/******/ } | |
| 6806 | -/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
| 6807 | -/******/ }; | |
| 6808 | -/******/ })(); | |
| 6809 | -/******/ | |
| 6810 | -/************************************************************************/ | |
| 6811 | 10340 | var __webpack_exports__ = {}; |
| 6812 | -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. | |
| 10341 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 6813 | 10342 | (() => { |
| 6814 | 10343 | "use strict"; |
| 6815 | 10344 | /*!*******************************************!*\ |
| 6816 | 10345 | !*** ../core/common/assets/js/modules.js ***! |
| @@ -6816,45 +10345,45 @@ | ||
| 6816 | 10345 | !*** ../core/common/assets/js/modules.js ***! |
| 6817 | 10346 | \*******************************************/ |
| 6818 | 10347 | |
| 6819 | 10348 | |
| 6820 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 10349 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 10350 | + | |
| 6821 | 10351 | var _modules = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/modules */ "../assets/dev/js/modules/modules.js")); |
| 10352 | + | |
| 6822 | 10353 | var _layout = _interopRequireDefault(__webpack_require__(/*! ./views/modal/layout */ "../core/common/assets/js/views/modal/layout.js")); |
| 6823 | -var _componentBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-base */ "../modules/web-cli/assets/js/modules/component-base.js")); | |
| 6824 | -var _componentModalBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-modal-base */ "../modules/web-cli/assets/js/modules/component-modal-base.js")); | |
| 6825 | -var _hookBreak = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/hook-break */ "../modules/web-cli/assets/js/modules/hook-break.js")); | |
| 10354 | + | |
| 10355 | +var _componentBase = _interopRequireDefault(__webpack_require__(/*! ./api/modules/component-base */ "../core/common/assets/js/api/modules/component-base.js")); | |
| 10356 | + | |
| 10357 | +var _componentModalBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-modal-base */ "../core/common/assets/js/api/modules/component-modal-base.js")); | |
| 10358 | + | |
| 10359 | +var _hookBreak = _interopRequireDefault(__webpack_require__(/*! ./api/modules/hook-break */ "../core/common/assets/js/api/modules/hook-break.js")); | |
| 10360 | + | |
| 6826 | 10361 | _modules.default.common = { |
| 6827 | - /** | |
| 6828 | - * @deprecated since 2.9.0, use `$e.modules.ComponentBase` instead. | |
| 6829 | - */ | |
| 6830 | 10362 | get Component() { |
| 6831 | 10363 | // `elementorCommon` isn't available during it self initialize. |
| 6832 | 10364 | setTimeout(function () { |
| 6833 | - elementorDevTools.deprecation.deprecated('elementorModules.common.Component', '2.9.0', '$e.modules.ComponentBase'); | |
| 10365 | + elementorCommon.helpers.softDeprecated('elementorModules.common.Component', '2.9.0', '$e.modules.ComponentBase'); | |
| 6834 | 10366 | }, 2000); |
| 6835 | 10367 | return _componentBase.default; |
| 6836 | 10368 | }, |
| 6837 | - /** | |
| 6838 | - * @deprecated since 2.9.0, use `$e.modules.ComponentModalBase` instead. | |
| 6839 | - */ | |
| 10369 | + | |
| 6840 | 10370 | get ComponentModal() { |
| 6841 | 10371 | // `elementorCommon` isn't available during it self initialize. |
| 6842 | 10372 | setTimeout(function () { |
| 6843 | - elementorDevTools.deprecation.deprecated('elementorModules.common.ComponentModal', '2.9.0', '$e.modules.ComponentModalBase'); | |
| 10373 | + elementorCommon.helpers.softDeprecated('elementorModules.common.ComponentModal', '2.9.0', '$e.modules.ComponentModalBase'); | |
| 6844 | 10374 | }, 2000); |
| 6845 | 10375 | return _componentModalBase.default; |
| 6846 | 10376 | }, |
| 6847 | - /** | |
| 6848 | - * @deprecated since 2.9.0, use `$e.modules.HookBreak` instead. | |
| 6849 | - */ | |
| 10377 | + | |
| 6850 | 10378 | get HookBreak() { |
| 6851 | 10379 | // `elementorCommon` isn't available during it self initialize. |
| 6852 | 10380 | setTimeout(function () { |
| 6853 | - elementorDevTools.deprecation.deprecated('elementorModules.common.HookBreak', '2.9.0', '$e.modules.HookBreak'); | |
| 10381 | + elementorCommon.helpers.softDeprecated('elementorModules.common.HookBreak', '2.9.0', '$e.modules.HookBreak'); | |
| 6854 | 10382 | }, 2000); |
| 6855 | 10383 | return _hookBreak.default; |
| 6856 | 10384 | }, |
| 10385 | + | |
| 6857 | 10386 | views: { |
| 6858 | 10387 | modal: { |
| 6859 | 10388 | Layout: _layout.default |
| 6860 | 10389 | } |