| @@ -1,205 +1,2496 @@ | ||
| 1 | +/*! elementor - v3.5.6 - 16-03-2022 */ | |
| 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-properties.js": | |
| 46 | +/*!**********************************************************************************!*\ | |
| 47 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/define-properties.js ***! | |
| 48 | + \**********************************************************************************/ | |
| 49 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 50 | + | |
| 51 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/define-properties */ "../node_modules/core-js/library/fn/object/define-properties.js"); | |
| 52 | + | |
| 53 | +/***/ }), | |
| 54 | + | |
| 55 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js": | |
| 56 | +/*!********************************************************************************!*\ | |
| 57 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js ***! | |
| 58 | + \********************************************************************************/ | |
| 59 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 60 | + | |
| 61 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/define-property */ "../node_modules/core-js/library/fn/object/define-property.js"); | |
| 62 | + | |
| 63 | +/***/ }), | |
| 64 | + | |
| 65 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/entries.js": | |
| 66 | +/*!************************************************************************!*\ | |
| 67 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/entries.js ***! | |
| 68 | + \************************************************************************/ | |
| 69 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 70 | + | |
| 71 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/entries */ "../node_modules/core-js/library/fn/object/entries.js"); | |
| 72 | + | |
| 73 | +/***/ }), | |
| 74 | + | |
| 75 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/freeze.js": | |
| 76 | +/*!***********************************************************************!*\ | |
| 77 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/freeze.js ***! | |
| 78 | + \***********************************************************************/ | |
| 79 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 80 | + | |
| 81 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/freeze */ "../node_modules/core-js/library/fn/object/freeze.js"); | |
| 82 | + | |
| 83 | +/***/ }), | |
| 84 | + | |
| 85 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js": | |
| 86 | +/*!********************************************************************************************!*\ | |
| 87 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js ***! | |
| 88 | + \********************************************************************************************/ | |
| 89 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 90 | + | |
| 91 | +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"); | |
| 92 | + | |
| 93 | +/***/ }), | |
| 94 | + | |
| 95 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptors.js": | |
| 96 | +/*!*********************************************************************************************!*\ | |
| 97 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptors.js ***! | |
| 98 | + \*********************************************************************************************/ | |
| 99 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 100 | + | |
| 101 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/get-own-property-descriptors */ "../node_modules/core-js/library/fn/object/get-own-property-descriptors.js"); | |
| 102 | + | |
| 103 | +/***/ }), | |
| 104 | + | |
| 105 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-symbols.js": | |
| 106 | +/*!*****************************************************************************************!*\ | |
| 107 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-symbols.js ***! | |
| 108 | + \*****************************************************************************************/ | |
| 109 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 110 | + | |
| 111 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/get-own-property-symbols */ "../node_modules/core-js/library/fn/object/get-own-property-symbols.js"); | |
| 112 | + | |
| 113 | +/***/ }), | |
| 114 | + | |
| 115 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js": | |
| 116 | +/*!*********************************************************************************!*\ | |
| 117 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js ***! | |
| 118 | + \*********************************************************************************/ | |
| 119 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 120 | + | |
| 121 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/get-prototype-of */ "../node_modules/core-js/library/fn/object/get-prototype-of.js"); | |
| 122 | + | |
| 123 | +/***/ }), | |
| 124 | + | |
| 125 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/keys.js": | |
| 126 | +/*!*********************************************************************!*\ | |
| 127 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/keys.js ***! | |
| 128 | + \*********************************************************************/ | |
| 129 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 130 | + | |
| 131 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/keys */ "../node_modules/core-js/library/fn/object/keys.js"); | |
| 132 | + | |
| 133 | +/***/ }), | |
| 134 | + | |
| 135 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js": | |
| 136 | +/*!*********************************************************************************!*\ | |
| 137 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js ***! | |
| 138 | + \*********************************************************************************/ | |
| 139 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 140 | + | |
| 141 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/set-prototype-of */ "../node_modules/core-js/library/fn/object/set-prototype-of.js"); | |
| 142 | + | |
| 143 | +/***/ }), | |
| 144 | + | |
| 145 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/values.js": | |
| 146 | +/*!***********************************************************************!*\ | |
| 147 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/values.js ***! | |
| 148 | + \***********************************************************************/ | |
| 149 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 150 | + | |
| 151 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/values */ "../node_modules/core-js/library/fn/object/values.js"); | |
| 152 | + | |
| 153 | +/***/ }), | |
| 154 | + | |
| 155 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/parse-float.js": | |
| 156 | +/*!*********************************************************************!*\ | |
| 157 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/parse-float.js ***! | |
| 158 | + \*********************************************************************/ | |
| 159 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 160 | + | |
| 161 | +module.exports = __webpack_require__(/*! core-js/library/fn/parse-float */ "../node_modules/core-js/library/fn/parse-float.js"); | |
| 162 | + | |
| 163 | +/***/ }), | |
| 164 | + | |
| 165 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/parse-int.js": | |
| 166 | +/*!*******************************************************************!*\ | |
| 167 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/parse-int.js ***! | |
| 168 | + \*******************************************************************/ | |
| 169 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 170 | + | |
| 171 | +module.exports = __webpack_require__(/*! core-js/library/fn/parse-int */ "../node_modules/core-js/library/fn/parse-int.js"); | |
| 172 | + | |
| 173 | +/***/ }), | |
| 174 | + | |
| 175 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js": | |
| 176 | +/*!***************************************************************************!*\ | |
| 177 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js ***! | |
| 178 | + \***************************************************************************/ | |
| 179 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 180 | + | |
| 181 | +module.exports = __webpack_require__(/*! core-js/library/fn/reflect/construct */ "../node_modules/core-js/library/fn/reflect/construct.js"); | |
| 182 | + | |
| 183 | +/***/ }), | |
| 184 | + | |
| 185 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js": | |
| 186 | +/*!*********************************************************************!*\ | |
| 187 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js ***! | |
| 188 | + \*********************************************************************/ | |
| 189 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 190 | + | |
| 191 | +module.exports = __webpack_require__(/*! core-js/library/fn/reflect/get */ "../node_modules/core-js/library/fn/reflect/get.js"); | |
| 192 | + | |
| 193 | +/***/ }), | |
| 194 | + | |
| 195 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js": | |
| 196 | +/*!****************************************************************!*\ | |
| 197 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol.js ***! | |
| 198 | + \****************************************************************/ | |
| 199 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 200 | + | |
| 201 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol */ "../node_modules/core-js/library/fn/symbol/index.js"); | |
| 202 | + | |
| 203 | +/***/ }), | |
| 204 | + | |
| 205 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol/has-instance.js": | |
| 206 | +/*!*****************************************************************************!*\ | |
| 207 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol/has-instance.js ***! | |
| 208 | + \*****************************************************************************/ | |
| 209 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 210 | + | |
| 211 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol/has-instance */ "../node_modules/core-js/library/fn/symbol/has-instance.js"); | |
| 212 | + | |
| 213 | +/***/ }), | |
| 214 | + | |
| 215 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js": | |
| 216 | +/*!*************************************************************************!*\ | |
| 217 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js ***! | |
| 218 | + \*************************************************************************/ | |
| 219 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 220 | + | |
| 221 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol/iterator */ "../node_modules/core-js/library/fn/symbol/iterator.js"); | |
| 222 | + | |
| 223 | +/***/ }), | |
| 224 | + | |
| 225 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol/to-string-tag.js": | |
| 226 | +/*!******************************************************************************!*\ | |
| 227 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol/to-string-tag.js ***! | |
| 228 | + \******************************************************************************/ | |
| 229 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 230 | + | |
| 231 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol/to-string-tag */ "../node_modules/core-js/library/fn/symbol/to-string-tag.js"); | |
| 232 | + | |
| 233 | +/***/ }), | |
| 234 | + | |
| 235 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/weak-map.js": | |
| 236 | +/*!******************************************************************!*\ | |
| 237 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/weak-map.js ***! | |
| 238 | + \******************************************************************/ | |
| 239 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 240 | + | |
| 241 | +module.exports = __webpack_require__(/*! core-js/library/fn/weak-map */ "../node_modules/core-js/library/fn/weak-map.js"); | |
| 242 | + | |
| 243 | +/***/ }), | |
| 244 | + | |
| 245 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js": | |
| 246 | +/*!**************************************************************************!*\ | |
| 247 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js ***! | |
| 248 | + \**************************************************************************/ | |
| 249 | +/***/ ((module) => { | |
| 250 | + | |
| 251 | +function _arrayLikeToArray(arr, len) { | |
| 252 | + if (len == null || len > arr.length) len = arr.length; | |
| 253 | + | |
| 254 | + for (var i = 0, arr2 = new Array(len); i < len; i++) { | |
| 255 | + arr2[i] = arr[i]; | |
| 30 | 256 | } |
| 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'); | |
| 257 | + | |
| 258 | + return arr2; | |
| 259 | +} | |
| 260 | + | |
| 261 | +module.exports = _arrayLikeToArray; | |
| 262 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 263 | + | |
| 264 | +/***/ }), | |
| 265 | + | |
| 266 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js": | |
| 267 | +/*!************************************************************************!*\ | |
| 268 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js ***! | |
| 269 | + \************************************************************************/ | |
| 270 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 271 | + | |
| 272 | +var _Array$isArray = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js"); | |
| 273 | + | |
| 274 | +function _arrayWithHoles(arr) { | |
| 275 | + if (_Array$isArray(arr)) return arr; | |
| 276 | +} | |
| 277 | + | |
| 278 | +module.exports = _arrayWithHoles; | |
| 279 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 280 | + | |
| 281 | +/***/ }), | |
| 282 | + | |
| 283 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js": | |
| 284 | +/*!*******************************************************************************!*\ | |
| 285 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js ***! | |
| 286 | + \*******************************************************************************/ | |
| 287 | +/***/ ((module) => { | |
| 288 | + | |
| 289 | +function _assertThisInitialized(self) { | |
| 290 | + if (self === void 0) { | |
| 291 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 292 | + } | |
| 293 | + | |
| 294 | + return self; | |
| 295 | +} | |
| 296 | + | |
| 297 | +module.exports = _assertThisInitialized; | |
| 298 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 299 | + | |
| 300 | +/***/ }), | |
| 301 | + | |
| 302 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js": | |
| 303 | +/*!************************************************************************!*\ | |
| 304 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js ***! | |
| 305 | + \************************************************************************/ | |
| 306 | +/***/ ((module) => { | |
| 307 | + | |
| 308 | +function _classCallCheck(instance, Constructor) { | |
| 309 | + if (!(instance instanceof Constructor)) { | |
| 310 | + throw new TypeError("Cannot call a class as a function"); | |
| 311 | + } | |
| 312 | +} | |
| 313 | + | |
| 314 | +module.exports = _classCallCheck; | |
| 315 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 316 | + | |
| 317 | +/***/ }), | |
| 318 | + | |
| 319 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/construct.js": | |
| 320 | +/*!*******************************************************************!*\ | |
| 321 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/construct.js ***! | |
| 322 | + \*******************************************************************/ | |
| 323 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 324 | + | |
| 325 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 326 | + | |
| 327 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js"); | |
| 328 | + | |
| 329 | +var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js"); | |
| 330 | + | |
| 331 | +function _construct(Parent, args, Class) { | |
| 332 | + if (isNativeReflectConstruct()) { | |
| 333 | + module.exports = _construct = _Reflect$construct; | |
| 334 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 335 | + } else { | |
| 336 | + module.exports = _construct = function _construct(Parent, args, Class) { | |
| 337 | + var a = [null]; | |
| 338 | + a.push.apply(a, args); | |
| 339 | + var Constructor = Function.bind.apply(Parent, a); | |
| 340 | + var instance = new Constructor(); | |
| 341 | + if (Class) setPrototypeOf(instance, Class.prototype); | |
| 342 | + return instance; | |
| 343 | + }; | |
| 344 | + | |
| 345 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 346 | + } | |
| 347 | + | |
| 348 | + return _construct.apply(null, arguments); | |
| 349 | +} | |
| 350 | + | |
| 351 | +module.exports = _construct; | |
| 352 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 353 | + | |
| 354 | +/***/ }), | |
| 355 | + | |
| 356 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js": | |
| 357 | +/*!*********************************************************************!*\ | |
| 358 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createClass.js ***! | |
| 359 | + \*********************************************************************/ | |
| 360 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 361 | + | |
| 362 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 363 | + | |
| 364 | +function _defineProperties(target, props) { | |
| 365 | + for (var i = 0; i < props.length; i++) { | |
| 366 | + var descriptor = props[i]; | |
| 367 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 368 | + descriptor.configurable = true; | |
| 369 | + if ("value" in descriptor) descriptor.writable = true; | |
| 370 | + | |
| 371 | + _Object$defineProperty(target, descriptor.key, descriptor); | |
| 372 | + } | |
| 373 | +} | |
| 374 | + | |
| 375 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 376 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 377 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 378 | + return Constructor; | |
| 379 | +} | |
| 380 | + | |
| 381 | +module.exports = _createClass; | |
| 382 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 383 | + | |
| 384 | +/***/ }), | |
| 385 | + | |
| 386 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createForOfIteratorHelper.js": | |
| 387 | +/*!***********************************************************************************!*\ | |
| 388 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createForOfIteratorHelper.js ***! | |
| 389 | + \***********************************************************************************/ | |
| 390 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 391 | + | |
| 392 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 393 | + | |
| 394 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 395 | + | |
| 396 | +var _Array$isArray = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js"); | |
| 397 | + | |
| 398 | +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js"); | |
| 399 | + | |
| 400 | +function _createForOfIteratorHelper(o, allowArrayLike) { | |
| 401 | + var it = typeof _Symbol !== "undefined" && o[_Symbol$iterator] || o["@@iterator"]; | |
| 402 | + | |
| 403 | + if (!it) { | |
| 404 | + if (_Array$isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | |
| 405 | + if (it) o = it; | |
| 406 | + var i = 0; | |
| 407 | + | |
| 408 | + var F = function F() {}; | |
| 409 | + | |
| 410 | + return { | |
| 411 | + s: F, | |
| 412 | + n: function n() { | |
| 413 | + if (i >= o.length) return { | |
| 414 | + done: true | |
| 415 | + }; | |
| 416 | + return { | |
| 417 | + done: false, | |
| 418 | + value: o[i++] | |
| 419 | + }; | |
| 420 | + }, | |
| 421 | + e: function e(_e) { | |
| 422 | + throw _e; | |
| 423 | + }, | |
| 424 | + f: F | |
| 425 | + }; | |
| 426 | + } | |
| 427 | + | |
| 428 | + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 429 | + } | |
| 430 | + | |
| 431 | + var normalCompletion = true, | |
| 432 | + didErr = false, | |
| 433 | + err; | |
| 434 | + return { | |
| 435 | + s: function s() { | |
| 436 | + it = it.call(o); | |
| 437 | + }, | |
| 438 | + n: function n() { | |
| 439 | + var step = it.next(); | |
| 440 | + normalCompletion = step.done; | |
| 441 | + return step; | |
| 442 | + }, | |
| 443 | + e: function e(_e2) { | |
| 444 | + didErr = true; | |
| 445 | + err = _e2; | |
| 446 | + }, | |
| 447 | + f: function f() { | |
| 448 | + try { | |
| 449 | + if (!normalCompletion && it["return"] != null) it["return"](); | |
| 450 | + } finally { | |
| 451 | + if (didErr) throw err; | |
| 37 | 452 | } |
| 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 | - })); | |
| 453 | + } | |
| 454 | + }; | |
| 455 | +} | |
| 46 | 456 | |
| 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 | - } | |
| 457 | +module.exports = _createForOfIteratorHelper; | |
| 458 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 459 | + | |
| 460 | +/***/ }), | |
| 461 | + | |
| 462 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js": | |
| 463 | +/*!*********************************************************************!*\ | |
| 464 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createSuper.js ***! | |
| 465 | + \*********************************************************************/ | |
| 466 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 467 | + | |
| 468 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 469 | + | |
| 470 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 471 | + | |
| 472 | +var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js"); | |
| 473 | + | |
| 474 | +var possibleConstructorReturn = __webpack_require__(/*! ./possibleConstructorReturn.js */ "../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js"); | |
| 475 | + | |
| 476 | +function _createSuper(Derived) { | |
| 477 | + var hasNativeReflectConstruct = isNativeReflectConstruct(); | |
| 478 | + return function _createSuperInternal() { | |
| 479 | + var Super = getPrototypeOf(Derived), | |
| 480 | + result; | |
| 481 | + | |
| 482 | + if (hasNativeReflectConstruct) { | |
| 483 | + var NewTarget = getPrototypeOf(this).constructor; | |
| 484 | + result = _Reflect$construct(Super, arguments, NewTarget); | |
| 485 | + } else { | |
| 486 | + result = Super.apply(this, arguments); | |
| 487 | + } | |
| 488 | + | |
| 489 | + return possibleConstructorReturn(this, result); | |
| 490 | + }; | |
| 491 | +} | |
| 492 | + | |
| 493 | +module.exports = _createSuper; | |
| 494 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 495 | + | |
| 496 | +/***/ }), | |
| 497 | + | |
| 498 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js": | |
| 499 | +/*!************************************************************************!*\ | |
| 500 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js ***! | |
| 501 | + \************************************************************************/ | |
| 502 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 503 | + | |
| 504 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 505 | + | |
| 506 | +function _defineProperty(obj, key, value) { | |
| 507 | + if (key in obj) { | |
| 508 | + _Object$defineProperty(obj, key, { | |
| 509 | + value: value, | |
| 510 | + enumerable: true, | |
| 511 | + configurable: true, | |
| 512 | + writable: true | |
| 513 | + }); | |
| 514 | + } else { | |
| 515 | + obj[key] = value; | |
| 516 | + } | |
| 517 | + | |
| 518 | + return obj; | |
| 519 | +} | |
| 520 | + | |
| 521 | +module.exports = _defineProperty; | |
| 522 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 523 | + | |
| 524 | +/***/ }), | |
| 525 | + | |
| 526 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/get.js": | |
| 527 | +/*!*************************************************************!*\ | |
| 528 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/get.js ***! | |
| 529 | + \*************************************************************/ | |
| 530 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 531 | + | |
| 532 | +var _Reflect$get = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/get */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js"); | |
| 533 | + | |
| 534 | +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"); | |
| 535 | + | |
| 536 | +var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js"); | |
| 537 | + | |
| 538 | +function _get(target, property, receiver) { | |
| 539 | + if (typeof Reflect !== "undefined" && _Reflect$get) { | |
| 540 | + module.exports = _get = _Reflect$get; | |
| 541 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 542 | + } else { | |
| 543 | + module.exports = _get = function _get(target, property, receiver) { | |
| 544 | + var base = superPropBase(target, property); | |
| 545 | + if (!base) return; | |
| 546 | + | |
| 547 | + var desc = _Object$getOwnPropertyDescriptor(base, property); | |
| 548 | + | |
| 549 | + if (desc.get) { | |
| 550 | + return desc.get.call(receiver); | |
| 58 | 551 | } |
| 59 | - this.sections.set(section.key, formattedSection); | |
| 552 | + | |
| 553 | + return desc.value; | |
| 554 | + }; | |
| 555 | + | |
| 556 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 557 | + } | |
| 558 | + | |
| 559 | + return _get(target, property, receiver || target); | |
| 560 | +} | |
| 561 | + | |
| 562 | +module.exports = _get; | |
| 563 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 564 | + | |
| 565 | +/***/ }), | |
| 566 | + | |
| 567 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js": | |
| 568 | +/*!************************************************************************!*\ | |
| 569 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js ***! | |
| 570 | + \************************************************************************/ | |
| 571 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 572 | + | |
| 573 | +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"); | |
| 574 | + | |
| 575 | +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"); | |
| 576 | + | |
| 577 | +function _getPrototypeOf(o) { | |
| 578 | + module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) { | |
| 579 | + return o.__proto__ || _Object$getPrototypeOf(o); | |
| 580 | + }; | |
| 581 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 582 | + return _getPrototypeOf(o); | |
| 583 | +} | |
| 584 | + | |
| 585 | +module.exports = _getPrototypeOf; | |
| 586 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 587 | + | |
| 588 | +/***/ }), | |
| 589 | + | |
| 590 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js": | |
| 591 | +/*!******************************************************************!*\ | |
| 592 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/inherits.js ***! | |
| 593 | + \******************************************************************/ | |
| 594 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 595 | + | |
| 596 | +var _Object$create = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/create */ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js"); | |
| 597 | + | |
| 598 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js"); | |
| 599 | + | |
| 600 | +function _inherits(subClass, superClass) { | |
| 601 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 602 | + throw new TypeError("Super expression must either be null or a function"); | |
| 603 | + } | |
| 604 | + | |
| 605 | + subClass.prototype = _Object$create(superClass && superClass.prototype, { | |
| 606 | + constructor: { | |
| 607 | + value: subClass, | |
| 608 | + writable: true, | |
| 609 | + configurable: true | |
| 60 | 610 | } |
| 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); | |
| 611 | + }); | |
| 612 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 613 | +} | |
| 614 | + | |
| 615 | +module.exports = _inherits; | |
| 616 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 617 | + | |
| 618 | +/***/ }), | |
| 619 | + | |
| 620 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js": | |
| 621 | +/*!*******************************************************************************!*\ | |
| 622 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js ***! | |
| 623 | + \*******************************************************************************/ | |
| 624 | +/***/ ((module) => { | |
| 625 | + | |
| 626 | +function _interopRequireDefault(obj) { | |
| 627 | + return obj && obj.__esModule ? obj : { | |
| 628 | + "default": obj | |
| 629 | + }; | |
| 630 | +} | |
| 631 | + | |
| 632 | +module.exports = _interopRequireDefault; | |
| 633 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 634 | + | |
| 635 | +/***/ }), | |
| 636 | + | |
| 637 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js": | |
| 638 | +/*!********************************************************************************!*\ | |
| 639 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js ***! | |
| 640 | + \********************************************************************************/ | |
| 641 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 642 | + | |
| 643 | +var _typeof = __webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")["default"]; | |
| 644 | + | |
| 645 | +var _WeakMap = __webpack_require__(/*! @babel/runtime-corejs2/core-js/weak-map */ "../node_modules/@babel/runtime-corejs2/core-js/weak-map.js"); | |
| 646 | + | |
| 647 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 648 | + | |
| 649 | +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"); | |
| 650 | + | |
| 651 | +function _getRequireWildcardCache(nodeInterop) { | |
| 652 | + if (typeof _WeakMap !== "function") return null; | |
| 653 | + var cacheBabelInterop = new _WeakMap(); | |
| 654 | + var cacheNodeInterop = new _WeakMap(); | |
| 655 | + return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { | |
| 656 | + return nodeInterop ? cacheNodeInterop : cacheBabelInterop; | |
| 657 | + })(nodeInterop); | |
| 658 | +} | |
| 659 | + | |
| 660 | +function _interopRequireWildcard(obj, nodeInterop) { | |
| 661 | + if (!nodeInterop && obj && obj.__esModule) { | |
| 662 | + return obj; | |
| 663 | + } | |
| 664 | + | |
| 665 | + if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { | |
| 666 | + return { | |
| 667 | + "default": obj | |
| 668 | + }; | |
| 669 | + } | |
| 670 | + | |
| 671 | + var cache = _getRequireWildcardCache(nodeInterop); | |
| 672 | + | |
| 673 | + if (cache && cache.has(obj)) { | |
| 674 | + return cache.get(obj); | |
| 675 | + } | |
| 676 | + | |
| 677 | + var newObj = {}; | |
| 678 | + var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; | |
| 679 | + | |
| 680 | + for (var key in obj) { | |
| 681 | + if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { | |
| 682 | + var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; | |
| 683 | + | |
| 684 | + if (desc && (desc.get || desc.set)) { | |
| 685 | + _Object$defineProperty(newObj, key, desc); | |
| 686 | + } else { | |
| 687 | + newObj[key] = obj[key]; | |
| 688 | + } | |
| 78 | 689 | } |
| 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; | |
| 690 | + } | |
| 691 | + | |
| 692 | + newObj["default"] = obj; | |
| 693 | + | |
| 694 | + if (cache) { | |
| 695 | + cache.set(obj, newObj); | |
| 696 | + } | |
| 697 | + | |
| 698 | + return newObj; | |
| 699 | +} | |
| 700 | + | |
| 701 | +module.exports = _interopRequireWildcard; | |
| 702 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 703 | + | |
| 704 | +/***/ }), | |
| 705 | + | |
| 706 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/isNativeFunction.js": | |
| 707 | +/*!**************************************************************************!*\ | |
| 708 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/isNativeFunction.js ***! | |
| 709 | + \**************************************************************************/ | |
| 710 | +/***/ ((module) => { | |
| 711 | + | |
| 712 | +function _isNativeFunction(fn) { | |
| 713 | + return Function.toString.call(fn).indexOf("[native code]") !== -1; | |
| 714 | +} | |
| 715 | + | |
| 716 | +module.exports = _isNativeFunction; | |
| 717 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 718 | + | |
| 719 | +/***/ }), | |
| 720 | + | |
| 721 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js": | |
| 722 | +/*!**********************************************************************************!*\ | |
| 723 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js ***! | |
| 724 | + \**********************************************************************************/ | |
| 725 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 726 | + | |
| 727 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 728 | + | |
| 729 | +function _isNativeReflectConstruct() { | |
| 730 | + if (typeof Reflect === "undefined" || !_Reflect$construct) return false; | |
| 731 | + if (_Reflect$construct.sham) return false; | |
| 732 | + if (typeof Proxy === "function") return true; | |
| 733 | + | |
| 734 | + try { | |
| 735 | + Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); | |
| 736 | + return true; | |
| 737 | + } catch (e) { | |
| 738 | + return false; | |
| 739 | + } | |
| 740 | +} | |
| 741 | + | |
| 742 | +module.exports = _isNativeReflectConstruct; | |
| 743 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 744 | + | |
| 745 | +/***/ }), | |
| 746 | + | |
| 747 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js": | |
| 748 | +/*!******************************************************************************!*\ | |
| 749 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js ***! | |
| 750 | + \******************************************************************************/ | |
| 751 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 752 | + | |
| 753 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 754 | + | |
| 755 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 756 | + | |
| 757 | +function _iterableToArrayLimit(arr, i) { | |
| 758 | + var _i = arr == null ? null : typeof _Symbol !== "undefined" && arr[_Symbol$iterator] || arr["@@iterator"]; | |
| 759 | + | |
| 760 | + if (_i == null) return; | |
| 761 | + var _arr = []; | |
| 762 | + var _n = true; | |
| 763 | + var _d = false; | |
| 764 | + | |
| 765 | + var _s, _e; | |
| 766 | + | |
| 767 | + try { | |
| 768 | + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { | |
| 769 | + _arr.push(_s.value); | |
| 770 | + | |
| 771 | + if (i && _arr.length === i) break; | |
| 772 | + } | |
| 773 | + } catch (err) { | |
| 774 | + _d = true; | |
| 775 | + _e = err; | |
| 776 | + } finally { | |
| 777 | + try { | |
| 778 | + if (!_n && _i["return"] != null) _i["return"](); | |
| 779 | + } finally { | |
| 780 | + if (_d) throw _e; | |
| 781 | + } | |
| 782 | + } | |
| 783 | + | |
| 784 | + return _arr; | |
| 785 | +} | |
| 786 | + | |
| 787 | +module.exports = _iterableToArrayLimit; | |
| 788 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 789 | + | |
| 790 | +/***/ }), | |
| 791 | + | |
| 792 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js": | |
| 793 | +/*!*************************************************************************!*\ | |
| 794 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js ***! | |
| 795 | + \*************************************************************************/ | |
| 796 | +/***/ ((module) => { | |
| 797 | + | |
| 798 | +function _nonIterableRest() { | |
| 799 | + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 800 | +} | |
| 801 | + | |
| 802 | +module.exports = _nonIterableRest; | |
| 803 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 804 | + | |
| 805 | +/***/ }), | |
| 806 | + | |
| 807 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/objectSpread2.js": | |
| 808 | +/*!***********************************************************************!*\ | |
| 809 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/objectSpread2.js ***! | |
| 810 | + \***********************************************************************/ | |
| 811 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 812 | + | |
| 813 | +var _Object$keys = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/keys */ "../node_modules/@babel/runtime-corejs2/core-js/object/keys.js"); | |
| 814 | + | |
| 815 | +var _Object$getOwnPropertySymbols = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/get-own-property-symbols */ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-symbols.js"); | |
| 816 | + | |
| 817 | +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"); | |
| 818 | + | |
| 819 | +var _Object$getOwnPropertyDescriptors = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/get-own-property-descriptors */ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptors.js"); | |
| 820 | + | |
| 821 | +var _Object$defineProperties = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-properties */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-properties.js"); | |
| 822 | + | |
| 823 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 824 | + | |
| 825 | +var defineProperty = __webpack_require__(/*! ./defineProperty.js */ "../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js"); | |
| 826 | + | |
| 827 | +function ownKeys(object, enumerableOnly) { | |
| 828 | + var keys = _Object$keys(object); | |
| 829 | + | |
| 830 | + if (_Object$getOwnPropertySymbols) { | |
| 831 | + var symbols = _Object$getOwnPropertySymbols(object); | |
| 832 | + | |
| 833 | + if (enumerableOnly) { | |
| 834 | + symbols = symbols.filter(function (sym) { | |
| 835 | + return _Object$getOwnPropertyDescriptor(object, sym).enumerable; | |
| 95 | 836 | }); |
| 96 | 837 | } |
| 97 | - }, { | |
| 98 | - key: "get", | |
| 99 | - value: function get(key) { | |
| 100 | - return this.sections.get(key); | |
| 838 | + | |
| 839 | + keys.push.apply(keys, symbols); | |
| 840 | + } | |
| 841 | + | |
| 842 | + return keys; | |
| 843 | +} | |
| 844 | + | |
| 845 | +function _objectSpread2(target) { | |
| 846 | + for (var i = 1; i < arguments.length; i++) { | |
| 847 | + var source = arguments[i] != null ? arguments[i] : {}; | |
| 848 | + | |
| 849 | + if (i % 2) { | |
| 850 | + ownKeys(Object(source), true).forEach(function (key) { | |
| 851 | + defineProperty(target, key, source[key]); | |
| 852 | + }); | |
| 853 | + } else if (_Object$getOwnPropertyDescriptors) { | |
| 854 | + _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)); | |
| 855 | + } else { | |
| 856 | + ownKeys(Object(source)).forEach(function (key) { | |
| 857 | + _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); | |
| 858 | + }); | |
| 101 | 859 | } |
| 102 | - }]); | |
| 103 | -}(); | |
| 860 | + } | |
| 104 | 861 | |
| 862 | + return target; | |
| 863 | +} | |
| 864 | + | |
| 865 | +module.exports = _objectSpread2; | |
| 866 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 867 | + | |
| 105 | 868 | /***/ }), |
| 106 | 869 | |
| 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__) => { | |
| 870 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js": | |
| 871 | +/*!***********************************************************************************!*\ | |
| 872 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js ***! | |
| 873 | + \***********************************************************************************/ | |
| 874 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 112 | 875 | |
| 113 | -"use strict"; | |
| 876 | +var _typeof = __webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")["default"]; | |
| 114 | 877 | |
| 878 | +var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js"); | |
| 115 | 879 | |
| 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(); | |
| 880 | +function _possibleConstructorReturn(self, call) { | |
| 881 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 882 | + return call; | |
| 883 | + } else if (call !== void 0) { | |
| 884 | + throw new TypeError("Derived constructors may only return object or undefined"); | |
| 885 | + } | |
| 122 | 886 | |
| 887 | + return assertThisInitialized(self); | |
| 888 | +} | |
| 889 | + | |
| 890 | +module.exports = _possibleConstructorReturn; | |
| 891 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 892 | + | |
| 123 | 893 | /***/ }), |
| 124 | 894 | |
| 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__) => { | |
| 895 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js": | |
| 896 | +/*!************************************************************************!*\ | |
| 897 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js ***! | |
| 898 | + \************************************************************************/ | |
| 899 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 130 | 900 | |
| 131 | -"use strict"; | |
| 901 | +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"); | |
| 132 | 902 | |
| 903 | +function _setPrototypeOf(o, p) { | |
| 904 | + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) { | |
| 905 | + o.__proto__ = p; | |
| 906 | + return o; | |
| 907 | + }; | |
| 133 | 908 | |
| 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 | - } | |
| 909 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 910 | + return _setPrototypeOf(o, p); | |
| 911 | +} | |
| 912 | + | |
| 913 | +module.exports = _setPrototypeOf; | |
| 914 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 915 | + | |
| 916 | +/***/ }), | |
| 917 | + | |
| 918 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js": | |
| 919 | +/*!***********************************************************************!*\ | |
| 920 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js ***! | |
| 921 | + \***********************************************************************/ | |
| 922 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 923 | + | |
| 924 | +var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js"); | |
| 925 | + | |
| 926 | +var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js"); | |
| 927 | + | |
| 928 | +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js"); | |
| 929 | + | |
| 930 | +var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js"); | |
| 931 | + | |
| 932 | +function _slicedToArray(arr, i) { | |
| 933 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 934 | +} | |
| 935 | + | |
| 936 | +module.exports = _slicedToArray; | |
| 937 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 938 | + | |
| 939 | +/***/ }), | |
| 940 | + | |
| 941 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js": | |
| 942 | +/*!***********************************************************************!*\ | |
| 943 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js ***! | |
| 944 | + \***********************************************************************/ | |
| 945 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 946 | + | |
| 947 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 948 | + | |
| 949 | +function _superPropBase(object, property) { | |
| 950 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 951 | + object = getPrototypeOf(object); | |
| 952 | + if (object === null) break; | |
| 953 | + } | |
| 954 | + | |
| 955 | + return object; | |
| 956 | +} | |
| 957 | + | |
| 958 | +module.exports = _superPropBase; | |
| 959 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 960 | + | |
| 961 | +/***/ }), | |
| 962 | + | |
| 963 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js": | |
| 964 | +/*!****************************************************************!*\ | |
| 965 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/typeof.js ***! | |
| 966 | + \****************************************************************/ | |
| 967 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 968 | + | |
| 969 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 970 | + | |
| 971 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 972 | + | |
| 973 | +function _typeof(obj) { | |
| 974 | + "@babel/helpers - typeof"; | |
| 975 | + | |
| 976 | + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { | |
| 977 | + module.exports = _typeof = function _typeof(obj) { | |
| 978 | + return typeof obj; | |
| 979 | + }; | |
| 980 | + | |
| 981 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 982 | + } else { | |
| 983 | + module.exports = _typeof = function _typeof(obj) { | |
| 984 | + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; | |
| 985 | + }; | |
| 986 | + | |
| 987 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 988 | + } | |
| 989 | + | |
| 990 | + return _typeof(obj); | |
| 991 | +} | |
| 992 | + | |
| 993 | +module.exports = _typeof; | |
| 994 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 995 | + | |
| 996 | +/***/ }), | |
| 997 | + | |
| 998 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js": | |
| 999 | +/*!************************************************************************************!*\ | |
| 1000 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js ***! | |
| 1001 | + \************************************************************************************/ | |
| 1002 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1003 | + | |
| 1004 | +var _Array$from = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/from */ "../node_modules/@babel/runtime-corejs2/core-js/array/from.js"); | |
| 1005 | + | |
| 1006 | +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js"); | |
| 1007 | + | |
| 1008 | +function _unsupportedIterableToArray(o, minLen) { | |
| 1009 | + if (!o) return; | |
| 1010 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 1011 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 1012 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 1013 | + if (n === "Map" || n === "Set") return _Array$from(o); | |
| 1014 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 1015 | +} | |
| 1016 | + | |
| 1017 | +module.exports = _unsupportedIterableToArray; | |
| 1018 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 1019 | + | |
| 1020 | +/***/ }), | |
| 1021 | + | |
| 1022 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/wrapNativeSuper.js": | |
| 1023 | +/*!*************************************************************************!*\ | |
| 1024 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/wrapNativeSuper.js ***! | |
| 1025 | + \*************************************************************************/ | |
| 1026 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 1027 | + | |
| 1028 | +var _Map = __webpack_require__(/*! @babel/runtime-corejs2/core-js/map */ "../node_modules/@babel/runtime-corejs2/core-js/map.js"); | |
| 1029 | + | |
| 1030 | +var _Object$create = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/create */ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js"); | |
| 1031 | + | |
| 1032 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 1033 | + | |
| 1034 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js"); | |
| 1035 | + | |
| 1036 | +var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../node_modules/@babel/runtime-corejs2/helpers/isNativeFunction.js"); | |
| 1037 | + | |
| 1038 | +var construct = __webpack_require__(/*! ./construct.js */ "../node_modules/@babel/runtime-corejs2/helpers/construct.js"); | |
| 1039 | + | |
| 1040 | +function _wrapNativeSuper(Class) { | |
| 1041 | + var _cache = typeof _Map === "function" ? new _Map() : undefined; | |
| 1042 | + | |
| 1043 | + module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { | |
| 1044 | + if (Class === null || !isNativeFunction(Class)) return Class; | |
| 1045 | + | |
| 1046 | + if (typeof Class !== "function") { | |
| 1047 | + throw new TypeError("Super expression must either be null or a function"); | |
| 1048 | + } | |
| 1049 | + | |
| 1050 | + if (typeof _cache !== "undefined") { | |
| 1051 | + if (_cache.has(Class)) return _cache.get(Class); | |
| 1052 | + | |
| 1053 | + _cache.set(Class, Wrapper); | |
| 1054 | + } | |
| 1055 | + | |
| 1056 | + function Wrapper() { | |
| 1057 | + return construct(Class, arguments, getPrototypeOf(this).constructor); | |
| 1058 | + } | |
| 1059 | + | |
| 1060 | + Wrapper.prototype = _Object$create(Class.prototype, { | |
| 1061 | + constructor: { | |
| 1062 | + value: Wrapper, | |
| 1063 | + enumerable: false, | |
| 1064 | + writable: true, | |
| 1065 | + configurable: true | |
| 159 | 1066 | } |
| 160 | - } | |
| 161 | - return _objectSpread({ | |
| 162 | - enabled: isEnabled | |
| 163 | - }, additionalProps); | |
| 1067 | + }); | |
| 1068 | + return setPrototypeOf(Wrapper, Class); | |
| 164 | 1069 | }; |
| 1070 | + | |
| 1071 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 1072 | + return _wrapNativeSuper(Class); | |
| 165 | 1073 | } |
| 166 | 1074 | |
| 1075 | +module.exports = _wrapNativeSuper; | |
| 1076 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 1077 | + | |
| 167 | 1078 | /***/ }), |
| 168 | 1079 | |
| 1080 | +/***/ "../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js": | |
| 1081 | +/*!******************************************************************!*\ | |
| 1082 | + !*** ../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js ***! | |
| 1083 | + \******************************************************************/ | |
| 1084 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 1085 | + | |
| 1086 | +"use strict"; | |
| 1087 | +__webpack_require__.r(__webpack_exports__); | |
| 1088 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 1089 | +/* harmony export */ "__DO_NOT_USE__ActionTypes": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.__DO_NOT_USE__ActionTypes), | |
| 1090 | +/* harmony export */ "applyMiddleware": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.applyMiddleware), | |
| 1091 | +/* harmony export */ "bindActionCreators": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.bindActionCreators), | |
| 1092 | +/* harmony export */ "combineReducers": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers), | |
| 1093 | +/* harmony export */ "compose": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.compose), | |
| 1094 | +/* harmony export */ "createStore": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.createStore), | |
| 1095 | +/* harmony export */ "MiddlewareArray": () => (/* binding */ MiddlewareArray), | |
| 1096 | +/* harmony export */ "configureStore": () => (/* binding */ configureStore), | |
| 1097 | +/* harmony export */ "createAction": () => (/* binding */ createAction), | |
| 1098 | +/* harmony export */ "createAsyncThunk": () => (/* binding */ createAsyncThunk), | |
| 1099 | +/* harmony export */ "createDraftSafeSelector": () => (/* binding */ createDraftSafeSelector), | |
| 1100 | +/* harmony export */ "createEntityAdapter": () => (/* binding */ createEntityAdapter), | |
| 1101 | +/* harmony export */ "createImmutableStateInvariantMiddleware": () => (/* binding */ createImmutableStateInvariantMiddleware), | |
| 1102 | +/* harmony export */ "createNextState": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__["default"]), | |
| 1103 | +/* harmony export */ "createReducer": () => (/* binding */ createReducer), | |
| 1104 | +/* harmony export */ "createSelector": () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_1__.createSelector), | |
| 1105 | +/* harmony export */ "createSerializableStateInvariantMiddleware": () => (/* binding */ createSerializableStateInvariantMiddleware), | |
| 1106 | +/* harmony export */ "createSlice": () => (/* binding */ createSlice), | |
| 1107 | +/* harmony export */ "current": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.current), | |
| 1108 | +/* harmony export */ "findNonSerializableValue": () => (/* binding */ findNonSerializableValue), | |
| 1109 | +/* harmony export */ "freeze": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.freeze), | |
| 1110 | +/* harmony export */ "getDefaultMiddleware": () => (/* binding */ getDefaultMiddleware), | |
| 1111 | +/* harmony export */ "getType": () => (/* binding */ getType), | |
| 1112 | +/* harmony export */ "isAllOf": () => (/* binding */ isAllOf), | |
| 1113 | +/* harmony export */ "isAnyOf": () => (/* binding */ isAnyOf), | |
| 1114 | +/* harmony export */ "isAsyncThunkAction": () => (/* binding */ isAsyncThunkAction), | |
| 1115 | +/* harmony export */ "isDraft": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.isDraft), | |
| 1116 | +/* harmony export */ "isFulfilled": () => (/* binding */ isFulfilled), | |
| 1117 | +/* harmony export */ "isImmutableDefault": () => (/* binding */ isImmutableDefault), | |
| 1118 | +/* harmony export */ "isPending": () => (/* binding */ isPending), | |
| 1119 | +/* harmony export */ "isPlain": () => (/* binding */ isPlain), | |
| 1120 | +/* harmony export */ "isPlainObject": () => (/* binding */ isPlainObject), | |
| 1121 | +/* harmony export */ "isRejected": () => (/* binding */ isRejected), | |
| 1122 | +/* harmony export */ "isRejectedWithValue": () => (/* binding */ isRejectedWithValue), | |
| 1123 | +/* harmony export */ "miniSerializeError": () => (/* binding */ miniSerializeError), | |
| 1124 | +/* harmony export */ "nanoid": () => (/* binding */ nanoid), | |
| 1125 | +/* harmony export */ "original": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.original), | |
| 1126 | +/* harmony export */ "unwrapResult": () => (/* binding */ unwrapResult) | |
| 1127 | +/* harmony export */ }); | |
| 1128 | +/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! immer */ "../node_modules/immer/dist/immer.esm.js"); | |
| 1129 | +/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "../node_modules/redux/es/redux.js"); | |
| 1130 | +/* harmony import */ var reselect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! reselect */ "../node_modules/reselect/es/index.js"); | |
| 1131 | +/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! redux-thunk */ "../node_modules/redux-thunk/es/index.js"); | |
| 1132 | +var __extends = (undefined && undefined.__extends) || (function () { | |
| 1133 | + var extendStatics = function (d, b) { | |
| 1134 | + extendStatics = Object.setPrototypeOf || | |
| 1135 | + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | |
| 1136 | + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | |
| 1137 | + return extendStatics(d, b); | |
| 1138 | + }; | |
| 1139 | + return function (d, b) { | |
| 1140 | + if (typeof b !== "function" && b !== null) | |
| 1141 | + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | |
| 1142 | + extendStatics(d, b); | |
| 1143 | + function __() { this.constructor = d; } | |
| 1144 | + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | |
| 1145 | + }; | |
| 1146 | +})(); | |
| 1147 | +var __generator = (undefined && undefined.__generator) || function (thisArg, body) { | |
| 1148 | + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | |
| 1149 | + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | |
| 1150 | + function verb(n) { return function (v) { return step([n, v]); }; } | |
| 1151 | + function step(op) { | |
| 1152 | + if (f) throw new TypeError("Generator is already executing."); | |
| 1153 | + while (_) try { | |
| 1154 | + 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; | |
| 1155 | + if (y = 0, t) op = [op[0] & 2, t.value]; | |
| 1156 | + switch (op[0]) { | |
| 1157 | + case 0: case 1: t = op; break; | |
| 1158 | + case 4: _.label++; return { value: op[1], done: false }; | |
| 1159 | + case 5: _.label++; y = op[1]; op = [0]; continue; | |
| 1160 | + case 7: op = _.ops.pop(); _.trys.pop(); continue; | |
| 1161 | + default: | |
| 1162 | + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | |
| 1163 | + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | |
| 1164 | + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | |
| 1165 | + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | |
| 1166 | + if (t[2]) _.ops.pop(); | |
| 1167 | + _.trys.pop(); continue; | |
| 1168 | + } | |
| 1169 | + op = body.call(thisArg, _); | |
| 1170 | + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | |
| 1171 | + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | |
| 1172 | + } | |
| 1173 | +}; | |
| 1174 | +var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) { | |
| 1175 | + for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | |
| 1176 | + to[j] = from[i]; | |
| 1177 | + return to; | |
| 1178 | +}; | |
| 1179 | +var __defProp = Object.defineProperty; | |
| 1180 | +var __defProps = Object.defineProperties; | |
| 1181 | +var __getOwnPropDescs = Object.getOwnPropertyDescriptors; | |
| 1182 | +var __getOwnPropSymbols = Object.getOwnPropertySymbols; | |
| 1183 | +var __hasOwnProp = Object.prototype.hasOwnProperty; | |
| 1184 | +var __propIsEnum = Object.prototype.propertyIsEnumerable; | |
| 1185 | +var __defNormalProp = function (obj, key, value) { return key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value }) : obj[key] = value; }; | |
| 1186 | +var __spreadValues = function (a, b) { | |
| 1187 | + for (var prop in b || (b = {})) | |
| 1188 | + if (__hasOwnProp.call(b, prop)) | |
| 1189 | + __defNormalProp(a, prop, b[prop]); | |
| 1190 | + if (__getOwnPropSymbols) | |
| 1191 | + for (var _i = 0, _b = __getOwnPropSymbols(b); _i < _b.length; _i++) { | |
| 1192 | + var prop = _b[_i]; | |
| 1193 | + if (__propIsEnum.call(b, prop)) | |
| 1194 | + __defNormalProp(a, prop, b[prop]); | |
| 1195 | + } | |
| 1196 | + return a; | |
| 1197 | +}; | |
| 1198 | +var __spreadProps = function (a, b) { return __defProps(a, __getOwnPropDescs(b)); }; | |
| 1199 | +var __async = function (__this, __arguments, generator) { | |
| 1200 | + return new Promise(function (resolve, reject) { | |
| 1201 | + var fulfilled = function (value) { | |
| 1202 | + try { | |
| 1203 | + step(generator.next(value)); | |
| 1204 | + } | |
| 1205 | + catch (e) { | |
| 1206 | + reject(e); | |
| 1207 | + } | |
| 1208 | + }; | |
| 1209 | + var rejected = function (value) { | |
| 1210 | + try { | |
| 1211 | + step(generator.throw(value)); | |
| 1212 | + } | |
| 1213 | + catch (e) { | |
| 1214 | + reject(e); | |
| 1215 | + } | |
| 1216 | + }; | |
| 1217 | + var step = function (x) { return x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); }; | |
| 1218 | + step((generator = generator.apply(__this, __arguments)).next()); | |
| 1219 | + }); | |
| 1220 | +}; | |
| 1221 | +// src/index.ts | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | +// src/createDraftSafeSelector.ts | |
| 1227 | + | |
| 1228 | + | |
| 1229 | +var createDraftSafeSelector = function () { | |
| 1230 | + var args = []; | |
| 1231 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1232 | + args[_i] = arguments[_i]; | |
| 1233 | + } | |
| 1234 | + var selector = reselect__WEBPACK_IMPORTED_MODULE_1__.createSelector.apply(void 0, args); | |
| 1235 | + var wrappedSelector = function (value) { | |
| 1236 | + var rest = []; | |
| 1237 | + for (var _i = 1; _i < arguments.length; _i++) { | |
| 1238 | + rest[_i - 1] = arguments[_i]; | |
| 1239 | + } | |
| 1240 | + return selector.apply(void 0, __spreadArray([(0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(value) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__.current)(value) : value], rest)); | |
| 1241 | + }; | |
| 1242 | + return wrappedSelector; | |
| 1243 | +}; | |
| 1244 | +// src/configureStore.ts | |
| 1245 | + | |
| 1246 | +// src/devtoolsExtension.ts | |
| 1247 | + | |
| 1248 | +var composeWithDevTools = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function () { | |
| 1249 | + if (arguments.length === 0) | |
| 1250 | + return void 0; | |
| 1251 | + if (typeof arguments[0] === "object") | |
| 1252 | + return redux__WEBPACK_IMPORTED_MODULE_0__.compose; | |
| 1253 | + return redux__WEBPACK_IMPORTED_MODULE_0__.compose.apply(null, arguments); | |
| 1254 | +}; | |
| 1255 | +var devToolsEnhancer = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__ : function () { | |
| 1256 | + return function (noop) { | |
| 1257 | + return noop; | |
| 1258 | + }; | |
| 1259 | +}; | |
| 1260 | +// src/isPlainObject.ts | |
| 1261 | +function isPlainObject(value) { | |
| 1262 | + if (typeof value !== "object" || value === null) | |
| 1263 | + return false; | |
| 1264 | + var proto = value; | |
| 1265 | + while (Object.getPrototypeOf(proto) !== null) { | |
| 1266 | + proto = Object.getPrototypeOf(proto); | |
| 1267 | + } | |
| 1268 | + return Object.getPrototypeOf(value) === proto; | |
| 1269 | +} | |
| 1270 | +// src/getDefaultMiddleware.ts | |
| 1271 | + | |
| 1272 | +// src/utils.ts | |
| 1273 | +function getTimeMeasureUtils(maxDelay, fnName) { | |
| 1274 | + var elapsed = 0; | |
| 1275 | + return { | |
| 1276 | + measureTime: function (fn) { | |
| 1277 | + var started = Date.now(); | |
| 1278 | + try { | |
| 1279 | + return fn(); | |
| 1280 | + } | |
| 1281 | + finally { | |
| 1282 | + var finished = Date.now(); | |
| 1283 | + elapsed += finished - started; | |
| 1284 | + } | |
| 1285 | + }, | |
| 1286 | + warnIfExceeded: function () { | |
| 1287 | + if (elapsed > maxDelay) { | |
| 1288 | + 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."); | |
| 1289 | + } | |
| 1290 | + } | |
| 1291 | + }; | |
| 1292 | +} | |
| 1293 | +var MiddlewareArray = /** @class */ (function (_super) { | |
| 1294 | + __extends(MiddlewareArray, _super); | |
| 1295 | + function MiddlewareArray() { | |
| 1296 | + var args = []; | |
| 1297 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1298 | + args[_i] = arguments[_i]; | |
| 1299 | + } | |
| 1300 | + var _this = _super.apply(this, args) || this; | |
| 1301 | + Object.setPrototypeOf(_this, MiddlewareArray.prototype); | |
| 1302 | + return _this; | |
| 1303 | + } | |
| 1304 | + Object.defineProperty(MiddlewareArray, Symbol.species, { | |
| 1305 | + get: function () { | |
| 1306 | + return MiddlewareArray; | |
| 1307 | + }, | |
| 1308 | + enumerable: false, | |
| 1309 | + configurable: true | |
| 1310 | + }); | |
| 1311 | + MiddlewareArray.prototype.concat = function () { | |
| 1312 | + var arr = []; | |
| 1313 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1314 | + arr[_i] = arguments[_i]; | |
| 1315 | + } | |
| 1316 | + return _super.prototype.concat.apply(this, arr); | |
| 1317 | + }; | |
| 1318 | + MiddlewareArray.prototype.prepend = function () { | |
| 1319 | + var arr = []; | |
| 1320 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1321 | + arr[_i] = arguments[_i]; | |
| 1322 | + } | |
| 1323 | + if (arr.length === 1 && Array.isArray(arr[0])) { | |
| 1324 | + return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr[0].concat(this))))(); | |
| 1325 | + } | |
| 1326 | + return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr.concat(this))))(); | |
| 1327 | + }; | |
| 1328 | + return MiddlewareArray; | |
| 1329 | +}(Array)); | |
| 1330 | +// src/immutableStateInvariantMiddleware.ts | |
| 1331 | +var isProduction = "development" === "production"; | |
| 1332 | +var prefix = "Invariant failed"; | |
| 1333 | +function invariant(condition, message) { | |
| 1334 | + if (condition) { | |
| 1335 | + return; | |
| 1336 | + } | |
| 1337 | + if (isProduction) { | |
| 1338 | + throw new Error(prefix); | |
| 1339 | + } | |
| 1340 | + throw new Error(prefix + ": " + (message || "")); | |
| 1341 | +} | |
| 1342 | +function stringify(obj, serializer, indent, decycler) { | |
| 1343 | + return JSON.stringify(obj, getSerialize(serializer, decycler), indent); | |
| 1344 | +} | |
| 1345 | +function getSerialize(serializer, decycler) { | |
| 1346 | + var stack = [], keys = []; | |
| 1347 | + if (!decycler) | |
| 1348 | + decycler = function (_, value) { | |
| 1349 | + if (stack[0] === value) | |
| 1350 | + return "[Circular ~]"; | |
| 1351 | + return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]"; | |
| 1352 | + }; | |
| 1353 | + return function (key, value) { | |
| 1354 | + if (stack.length > 0) { | |
| 1355 | + var thisPos = stack.indexOf(this); | |
| 1356 | + ~thisPos ? stack.splice(thisPos + 1) : stack.push(this); | |
| 1357 | + ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key); | |
| 1358 | + if (~stack.indexOf(value)) | |
| 1359 | + value = decycler.call(this, key, value); | |
| 1360 | + } | |
| 1361 | + else | |
| 1362 | + stack.push(value); | |
| 1363 | + return serializer == null ? value : serializer.call(this, key, value); | |
| 1364 | + }; | |
| 1365 | +} | |
| 1366 | +function isImmutableDefault(value) { | |
| 1367 | + return typeof value !== "object" || value === null || typeof value === "undefined" || Object.isFrozen(value); | |
| 1368 | +} | |
| 1369 | +function trackForMutations(isImmutable, ignorePaths, obj) { | |
| 1370 | + var trackedProperties = trackProperties(isImmutable, ignorePaths, obj); | |
| 1371 | + return { | |
| 1372 | + detectMutations: function () { | |
| 1373 | + return detectMutations(isImmutable, ignorePaths, trackedProperties, obj); | |
| 1374 | + } | |
| 1375 | + }; | |
| 1376 | +} | |
| 1377 | +function trackProperties(isImmutable, ignorePaths, obj, path) { | |
| 1378 | + if (ignorePaths === void 0) { ignorePaths = []; } | |
| 1379 | + if (path === void 0) { path = ""; } | |
| 1380 | + var tracked = { value: obj }; | |
| 1381 | + if (!isImmutable(obj)) { | |
| 1382 | + tracked.children = {}; | |
| 1383 | + for (var key in obj) { | |
| 1384 | + var childPath = path ? path + "." + key : key; | |
| 1385 | + if (ignorePaths.length && ignorePaths.indexOf(childPath) !== -1) { | |
| 1386 | + continue; | |
| 1387 | + } | |
| 1388 | + tracked.children[key] = trackProperties(isImmutable, ignorePaths, obj[key], childPath); | |
| 1389 | + } | |
| 1390 | + } | |
| 1391 | + return tracked; | |
| 1392 | +} | |
| 1393 | +function detectMutations(isImmutable, ignorePaths, trackedProperty, obj, sameParentRef, path) { | |
| 1394 | + if (ignorePaths === void 0) { ignorePaths = []; } | |
| 1395 | + if (sameParentRef === void 0) { sameParentRef = false; } | |
| 1396 | + if (path === void 0) { path = ""; } | |
| 1397 | + var prevObj = trackedProperty ? trackedProperty.value : void 0; | |
| 1398 | + var sameRef = prevObj === obj; | |
| 1399 | + if (sameParentRef && !sameRef && !Number.isNaN(obj)) { | |
| 1400 | + return { wasMutated: true, path: path }; | |
| 1401 | + } | |
| 1402 | + if (isImmutable(prevObj) || isImmutable(obj)) { | |
| 1403 | + return { wasMutated: false }; | |
| 1404 | + } | |
| 1405 | + var keysToDetect = {}; | |
| 1406 | + for (var key in trackedProperty.children) { | |
| 1407 | + keysToDetect[key] = true; | |
| 1408 | + } | |
| 1409 | + for (var key in obj) { | |
| 1410 | + keysToDetect[key] = true; | |
| 1411 | + } | |
| 1412 | + for (var key in keysToDetect) { | |
| 1413 | + var childPath = path ? path + "." + key : key; | |
| 1414 | + if (ignorePaths.length && ignorePaths.indexOf(childPath) !== -1) { | |
| 1415 | + continue; | |
| 1416 | + } | |
| 1417 | + var result = detectMutations(isImmutable, ignorePaths, trackedProperty.children[key], obj[key], sameRef, childPath); | |
| 1418 | + if (result.wasMutated) { | |
| 1419 | + return result; | |
| 1420 | + } | |
| 1421 | + } | |
| 1422 | + return { wasMutated: false }; | |
| 1423 | +} | |
| 1424 | +function createImmutableStateInvariantMiddleware(options) { | |
| 1425 | + if (options === void 0) { options = {}; } | |
| 1426 | + if (false) {} | |
| 1427 | + var _b = options.isImmutable, isImmutable = _b === void 0 ? isImmutableDefault : _b, ignoredPaths = options.ignoredPaths, _c = options.warnAfter, warnAfter = _c === void 0 ? 32 : _c, ignore = options.ignore; | |
| 1428 | + ignoredPaths = ignoredPaths || ignore; | |
| 1429 | + var track = trackForMutations.bind(null, isImmutable, ignoredPaths); | |
| 1430 | + return function (_b) { | |
| 1431 | + var getState = _b.getState; | |
| 1432 | + var state = getState(); | |
| 1433 | + var tracker = track(state); | |
| 1434 | + var result; | |
| 1435 | + return function (next) { return function (action) { | |
| 1436 | + var measureUtils = getTimeMeasureUtils(warnAfter, "ImmutableStateInvariantMiddleware"); | |
| 1437 | + measureUtils.measureTime(function () { | |
| 1438 | + state = getState(); | |
| 1439 | + result = tracker.detectMutations(); | |
| 1440 | + tracker = track(state); | |
| 1441 | + 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)"); | |
| 1442 | + }); | |
| 1443 | + var dispatchedAction = next(action); | |
| 1444 | + measureUtils.measureTime(function () { | |
| 1445 | + state = getState(); | |
| 1446 | + result = tracker.detectMutations(); | |
| 1447 | + tracker = track(state); | |
| 1448 | + 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)"); | |
| 1449 | + }); | |
| 1450 | + measureUtils.warnIfExceeded(); | |
| 1451 | + return dispatchedAction; | |
| 1452 | + }; }; | |
| 1453 | + }; | |
| 1454 | +} | |
| 1455 | +// src/serializableStateInvariantMiddleware.ts | |
| 1456 | +function isPlain(val) { | |
| 1457 | + var type = typeof val; | |
| 1458 | + return type === "undefined" || val === null || type === "string" || type === "boolean" || type === "number" || Array.isArray(val) || isPlainObject(val); | |
| 1459 | +} | |
| 1460 | +function findNonSerializableValue(value, path, isSerializable, getEntries, ignoredPaths) { | |
| 1461 | + if (path === void 0) { path = ""; } | |
| 1462 | + if (isSerializable === void 0) { isSerializable = isPlain; } | |
| 1463 | + if (ignoredPaths === void 0) { ignoredPaths = []; } | |
| 1464 | + var foundNestedSerializable; | |
| 1465 | + if (!isSerializable(value)) { | |
| 1466 | + return { | |
| 1467 | + keyPath: path || "<root>", | |
| 1468 | + value: value | |
| 1469 | + }; | |
| 1470 | + } | |
| 1471 | + if (typeof value !== "object" || value === null) { | |
| 1472 | + return false; | |
| 1473 | + } | |
| 1474 | + var entries = getEntries != null ? getEntries(value) : Object.entries(value); | |
| 1475 | + var hasIgnoredPaths = ignoredPaths.length > 0; | |
| 1476 | + for (var _i = 0, entries_1 = entries; _i < entries_1.length; _i++) { | |
| 1477 | + var _b = entries_1[_i], key = _b[0], nestedValue = _b[1]; | |
| 1478 | + var nestedPath = path ? path + "." + key : key; | |
| 1479 | + if (hasIgnoredPaths && ignoredPaths.indexOf(nestedPath) >= 0) { | |
| 1480 | + continue; | |
| 1481 | + } | |
| 1482 | + if (!isSerializable(nestedValue)) { | |
| 1483 | + return { | |
| 1484 | + keyPath: nestedPath, | |
| 1485 | + value: nestedValue | |
| 1486 | + }; | |
| 1487 | + } | |
| 1488 | + if (typeof nestedValue === "object") { | |
| 1489 | + foundNestedSerializable = findNonSerializableValue(nestedValue, nestedPath, isSerializable, getEntries, ignoredPaths); | |
| 1490 | + if (foundNestedSerializable) { | |
| 1491 | + return foundNestedSerializable; | |
| 1492 | + } | |
| 1493 | + } | |
| 1494 | + } | |
| 1495 | + return false; | |
| 1496 | +} | |
| 1497 | +function createSerializableStateInvariantMiddleware(options) { | |
| 1498 | + if (options === void 0) { options = {}; } | |
| 1499 | + if (false) {} | |
| 1500 | + var _b = options.isSerializable, isSerializable = _b === void 0 ? isPlain : _b, getEntries = options.getEntries, _c = options.ignoredActions, ignoredActions = _c === void 0 ? [] : _c, _d = options.ignoredActionPaths, ignoredActionPaths = _d === void 0 ? ["meta.arg", "meta.baseQueryMeta"] : _d, _e = options.ignoredPaths, ignoredPaths = _e === void 0 ? [] : _e, _f = options.warnAfter, warnAfter = _f === void 0 ? 32 : _f, _g = options.ignoreState, ignoreState = _g === void 0 ? false : _g; | |
| 1501 | + return function (storeAPI) { return function (next) { return function (action) { | |
| 1502 | + if (ignoredActions.length && ignoredActions.indexOf(action.type) !== -1) { | |
| 1503 | + return next(action); | |
| 1504 | + } | |
| 1505 | + var measureUtils = getTimeMeasureUtils(warnAfter, "SerializableStateInvariantMiddleware"); | |
| 1506 | + measureUtils.measureTime(function () { | |
| 1507 | + var foundActionNonSerializableValue = findNonSerializableValue(action, "", isSerializable, getEntries, ignoredActionPaths); | |
| 1508 | + if (foundActionNonSerializableValue) { | |
| 1509 | + var keyPath = foundActionNonSerializableValue.keyPath, value = foundActionNonSerializableValue.value; | |
| 1510 | + 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)"); | |
| 1511 | + } | |
| 1512 | + }); | |
| 1513 | + var result = next(action); | |
| 1514 | + if (!ignoreState) { | |
| 1515 | + measureUtils.measureTime(function () { | |
| 1516 | + var state = storeAPI.getState(); | |
| 1517 | + var foundStateNonSerializableValue = findNonSerializableValue(state, "", isSerializable, getEntries, ignoredPaths); | |
| 1518 | + if (foundStateNonSerializableValue) { | |
| 1519 | + var keyPath = foundStateNonSerializableValue.keyPath, value = foundStateNonSerializableValue.value; | |
| 1520 | + 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)"); | |
| 1521 | + } | |
| 1522 | + }); | |
| 1523 | + measureUtils.warnIfExceeded(); | |
| 1524 | + } | |
| 1525 | + return result; | |
| 1526 | + }; }; }; | |
| 1527 | +} | |
| 1528 | +// src/getDefaultMiddleware.ts | |
| 1529 | +function isBoolean(x) { | |
| 1530 | + return typeof x === "boolean"; | |
| 1531 | +} | |
| 1532 | +function curryGetDefaultMiddleware() { | |
| 1533 | + return function curriedGetDefaultMiddleware(options) { | |
| 1534 | + return getDefaultMiddleware(options); | |
| 1535 | + }; | |
| 1536 | +} | |
| 1537 | +function getDefaultMiddleware(options) { | |
| 1538 | + if (options === void 0) { options = {}; } | |
| 1539 | + var _b = options.thunk, thunk = _b === void 0 ? true : _b, _c = options.immutableCheck, immutableCheck = _c === void 0 ? true : _c, _d = options.serializableCheck, serializableCheck = _d === void 0 ? true : _d; | |
| 1540 | + var middlewareArray = new MiddlewareArray(); | |
| 1541 | + if (thunk) { | |
| 1542 | + if (isBoolean(thunk)) { | |
| 1543 | + middlewareArray.push(redux_thunk__WEBPACK_IMPORTED_MODULE_3__["default"]); | |
| 1544 | + } | |
| 1545 | + else { | |
| 1546 | + middlewareArray.push(redux_thunk__WEBPACK_IMPORTED_MODULE_3__["default"].withExtraArgument(thunk.extraArgument)); | |
| 1547 | + } | |
| 1548 | + } | |
| 1549 | + if (true) { | |
| 1550 | + if (immutableCheck) { | |
| 1551 | + var immutableOptions = {}; | |
| 1552 | + if (!isBoolean(immutableCheck)) { | |
| 1553 | + immutableOptions = immutableCheck; | |
| 1554 | + } | |
| 1555 | + middlewareArray.unshift(createImmutableStateInvariantMiddleware(immutableOptions)); | |
| 1556 | + } | |
| 1557 | + if (serializableCheck) { | |
| 1558 | + var serializableOptions = {}; | |
| 1559 | + if (!isBoolean(serializableCheck)) { | |
| 1560 | + serializableOptions = serializableCheck; | |
| 1561 | + } | |
| 1562 | + middlewareArray.push(createSerializableStateInvariantMiddleware(serializableOptions)); | |
| 1563 | + } | |
| 1564 | + } | |
| 1565 | + return middlewareArray; | |
| 1566 | +} | |
| 1567 | +// src/configureStore.ts | |
| 1568 | +var IS_PRODUCTION = "development" === "production"; | |
| 1569 | +function configureStore(options) { | |
| 1570 | + var curriedGetDefaultMiddleware = curryGetDefaultMiddleware(); | |
| 1571 | + var _b = options || {}, _c = _b.reducer, reducer = _c === void 0 ? void 0 : _c, _d = _b.middleware, middleware = _d === void 0 ? curriedGetDefaultMiddleware() : _d, _e = _b.devTools, devTools = _e === void 0 ? true : _e, _f = _b.preloadedState, preloadedState = _f === void 0 ? void 0 : _f, _g = _b.enhancers, enhancers = _g === void 0 ? void 0 : _g; | |
| 1572 | + var rootReducer; | |
| 1573 | + if (typeof reducer === "function") { | |
| 1574 | + rootReducer = reducer; | |
| 1575 | + } | |
| 1576 | + else if (isPlainObject(reducer)) { | |
| 1577 | + rootReducer = (0,redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers)(reducer); | |
| 1578 | + } | |
| 1579 | + else { | |
| 1580 | + throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers'); | |
| 1581 | + } | |
| 1582 | + var finalMiddleware = middleware; | |
| 1583 | + if (typeof finalMiddleware === "function") { | |
| 1584 | + finalMiddleware = finalMiddleware(curriedGetDefaultMiddleware); | |
| 1585 | + if (!IS_PRODUCTION && !Array.isArray(finalMiddleware)) { | |
| 1586 | + throw new Error("when using a middleware builder function, an array of middleware must be returned"); | |
| 1587 | + } | |
| 1588 | + } | |
| 1589 | + if (!IS_PRODUCTION && finalMiddleware.some(function (item) { return typeof item !== "function"; })) { | |
| 1590 | + throw new Error("each middleware provided to configureStore must be a function"); | |
| 1591 | + } | |
| 1592 | + var middlewareEnhancer = redux__WEBPACK_IMPORTED_MODULE_0__.applyMiddleware.apply(void 0, finalMiddleware); | |
| 1593 | + var finalCompose = redux__WEBPACK_IMPORTED_MODULE_0__.compose; | |
| 1594 | + if (devTools) { | |
| 1595 | + finalCompose = composeWithDevTools(__spreadValues({ | |
| 1596 | + trace: !IS_PRODUCTION | |
| 1597 | + }, typeof devTools === "object" && devTools)); | |
| 1598 | + } | |
| 1599 | + var storeEnhancers = [middlewareEnhancer]; | |
| 1600 | + if (Array.isArray(enhancers)) { | |
| 1601 | + storeEnhancers = __spreadArray([middlewareEnhancer], enhancers); | |
| 1602 | + } | |
| 1603 | + else if (typeof enhancers === "function") { | |
| 1604 | + storeEnhancers = enhancers(storeEnhancers); | |
| 1605 | + } | |
| 1606 | + var composedEnhancer = finalCompose.apply(void 0, storeEnhancers); | |
| 1607 | + return (0,redux__WEBPACK_IMPORTED_MODULE_0__.createStore)(rootReducer, preloadedState, composedEnhancer); | |
| 1608 | +} | |
| 1609 | +// src/createAction.ts | |
| 1610 | +function createAction(type, prepareAction) { | |
| 1611 | + function actionCreator() { | |
| 1612 | + var args = []; | |
| 1613 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1614 | + args[_i] = arguments[_i]; | |
| 1615 | + } | |
| 1616 | + if (prepareAction) { | |
| 1617 | + var prepared = prepareAction.apply(void 0, args); | |
| 1618 | + if (!prepared) { | |
| 1619 | + throw new Error("prepareAction did not return an object"); | |
| 1620 | + } | |
| 1621 | + return __spreadValues(__spreadValues({ | |
| 1622 | + type: type, | |
| 1623 | + payload: prepared.payload | |
| 1624 | + }, "meta" in prepared && { meta: prepared.meta }), "error" in prepared && { error: prepared.error }); | |
| 1625 | + } | |
| 1626 | + return { type: type, payload: args[0] }; | |
| 1627 | + } | |
| 1628 | + actionCreator.toString = function () { return "" + type; }; | |
| 1629 | + actionCreator.type = type; | |
| 1630 | + actionCreator.match = function (action) { return action.type === type; }; | |
| 1631 | + return actionCreator; | |
| 1632 | +} | |
| 1633 | +function isFSA(action) { | |
| 1634 | + return isPlainObject(action) && typeof action.type === "string" && Object.keys(action).every(isValidKey); | |
| 1635 | +} | |
| 1636 | +function isValidKey(key) { | |
| 1637 | + return ["type", "payload", "error", "meta"].indexOf(key) > -1; | |
| 1638 | +} | |
| 1639 | +function getType(actionCreator) { | |
| 1640 | + return "" + actionCreator; | |
| 1641 | +} | |
| 1642 | +// src/createReducer.ts | |
| 1643 | + | |
| 1644 | +// src/mapBuilders.ts | |
| 1645 | +function executeReducerBuilderCallback(builderCallback) { | |
| 1646 | + var actionsMap = {}; | |
| 1647 | + var actionMatchers = []; | |
| 1648 | + var defaultCaseReducer; | |
| 1649 | + var builder = { | |
| 1650 | + addCase: function (typeOrActionCreator, reducer) { | |
| 1651 | + if (true) { | |
| 1652 | + if (actionMatchers.length > 0) { | |
| 1653 | + throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`"); | |
| 1654 | + } | |
| 1655 | + if (defaultCaseReducer) { | |
| 1656 | + throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`"); | |
| 1657 | + } | |
| 1658 | + } | |
| 1659 | + var type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type; | |
| 1660 | + if (type in actionsMap) { | |
| 1661 | + throw new Error("addCase cannot be called with two reducers for the same action type"); | |
| 1662 | + } | |
| 1663 | + actionsMap[type] = reducer; | |
| 1664 | + return builder; | |
| 1665 | + }, | |
| 1666 | + addMatcher: function (matcher, reducer) { | |
| 1667 | + if (true) { | |
| 1668 | + if (defaultCaseReducer) { | |
| 1669 | + throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`"); | |
| 1670 | + } | |
| 1671 | + } | |
| 1672 | + actionMatchers.push({ matcher: matcher, reducer: reducer }); | |
| 1673 | + return builder; | |
| 1674 | + }, | |
| 1675 | + addDefaultCase: function (reducer) { | |
| 1676 | + if (true) { | |
| 1677 | + if (defaultCaseReducer) { | |
| 1678 | + throw new Error("`builder.addDefaultCase` can only be called once"); | |
| 1679 | + } | |
| 1680 | + } | |
| 1681 | + defaultCaseReducer = reducer; | |
| 1682 | + return builder; | |
| 1683 | + } | |
| 1684 | + }; | |
| 1685 | + builderCallback(builder); | |
| 1686 | + return [actionsMap, actionMatchers, defaultCaseReducer]; | |
| 1687 | +} | |
| 1688 | +// src/createReducer.ts | |
| 1689 | +function createReducer(initialState, mapOrBuilderCallback, actionMatchers, defaultCaseReducer) { | |
| 1690 | + if (actionMatchers === void 0) { actionMatchers = []; } | |
| 1691 | + var _b = typeof mapOrBuilderCallback === "function" ? executeReducerBuilderCallback(mapOrBuilderCallback) : [mapOrBuilderCallback, actionMatchers, defaultCaseReducer], actionsMap = _b[0], finalActionMatchers = _b[1], finalDefaultCaseReducer = _b[2]; | |
| 1692 | + var frozenInitialState = (0,immer__WEBPACK_IMPORTED_MODULE_2__["default"])(initialState, function () { | |
| 1693 | + }); | |
| 1694 | + return function (state, action) { | |
| 1695 | + if (state === void 0) { state = frozenInitialState; } | |
| 1696 | + var caseReducers = __spreadArray([ | |
| 1697 | + actionsMap[action.type] | |
| 1698 | + ], finalActionMatchers.filter(function (_b) { | |
| 1699 | + var matcher = _b.matcher; | |
| 1700 | + return matcher(action); | |
| 1701 | + }).map(function (_b) { | |
| 1702 | + var reducer = _b.reducer; | |
| 1703 | + return reducer; | |
| 1704 | + })); | |
| 1705 | + if (caseReducers.filter(function (cr) { return !!cr; }).length === 0) { | |
| 1706 | + caseReducers = [finalDefaultCaseReducer]; | |
| 1707 | + } | |
| 1708 | + return caseReducers.reduce(function (previousState, caseReducer) { | |
| 1709 | + if (caseReducer) { | |
| 1710 | + if ((0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(previousState)) { | |
| 1711 | + var draft = previousState; | |
| 1712 | + var result = caseReducer(draft, action); | |
| 1713 | + if (typeof result === "undefined") { | |
| 1714 | + return previousState; | |
| 1715 | + } | |
| 1716 | + return result; | |
| 1717 | + } | |
| 1718 | + else if (!(0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraftable)(previousState)) { | |
| 1719 | + var result = caseReducer(previousState, action); | |
| 1720 | + if (typeof result === "undefined") { | |
| 1721 | + if (previousState === null) { | |
| 1722 | + return previousState; | |
| 1723 | + } | |
| 1724 | + throw Error("A case reducer on a non-draftable value must not return undefined"); | |
| 1725 | + } | |
| 1726 | + return result; | |
| 1727 | + } | |
| 1728 | + else { | |
| 1729 | + return (0,immer__WEBPACK_IMPORTED_MODULE_2__["default"])(previousState, function (draft) { | |
| 1730 | + return caseReducer(draft, action); | |
| 1731 | + }); | |
| 1732 | + } | |
| 1733 | + } | |
| 1734 | + return previousState; | |
| 1735 | + }, state); | |
| 1736 | + }; | |
| 1737 | +} | |
| 1738 | +// src/createSlice.ts | |
| 1739 | +function getType2(slice, actionKey) { | |
| 1740 | + return slice + "/" + actionKey; | |
| 1741 | +} | |
| 1742 | +function createSlice(options) { | |
| 1743 | + var name = options.name, initialState = options.initialState; | |
| 1744 | + if (!name) { | |
| 1745 | + throw new Error("`name` is a required option for createSlice"); | |
| 1746 | + } | |
| 1747 | + var reducers = options.reducers || {}; | |
| 1748 | + var _b = typeof options.extraReducers === "function" ? executeReducerBuilderCallback(options.extraReducers) : [options.extraReducers], _c = _b[0], extraReducers = _c === void 0 ? {} : _c, _d = _b[1], actionMatchers = _d === void 0 ? [] : _d, _e = _b[2], defaultCaseReducer = _e === void 0 ? void 0 : _e; | |
| 1749 | + var reducerNames = Object.keys(reducers); | |
| 1750 | + var sliceCaseReducersByName = {}; | |
| 1751 | + var sliceCaseReducersByType = {}; | |
| 1752 | + var actionCreators = {}; | |
| 1753 | + reducerNames.forEach(function (reducerName) { | |
| 1754 | + var maybeReducerWithPrepare = reducers[reducerName]; | |
| 1755 | + var type = getType2(name, reducerName); | |
| 1756 | + var caseReducer; | |
| 1757 | + var prepareCallback; | |
| 1758 | + if ("reducer" in maybeReducerWithPrepare) { | |
| 1759 | + caseReducer = maybeReducerWithPrepare.reducer; | |
| 1760 | + prepareCallback = maybeReducerWithPrepare.prepare; | |
| 1761 | + } | |
| 1762 | + else { | |
| 1763 | + caseReducer = maybeReducerWithPrepare; | |
| 1764 | + } | |
| 1765 | + sliceCaseReducersByName[reducerName] = caseReducer; | |
| 1766 | + sliceCaseReducersByType[type] = caseReducer; | |
| 1767 | + actionCreators[reducerName] = prepareCallback ? createAction(type, prepareCallback) : createAction(type); | |
| 1768 | + }); | |
| 1769 | + var finalCaseReducers = __spreadValues(__spreadValues({}, extraReducers), sliceCaseReducersByType); | |
| 1770 | + var reducer = createReducer(initialState, finalCaseReducers, actionMatchers, defaultCaseReducer); | |
| 1771 | + return { | |
| 1772 | + name: name, | |
| 1773 | + reducer: reducer, | |
| 1774 | + actions: actionCreators, | |
| 1775 | + caseReducers: sliceCaseReducersByName | |
| 1776 | + }; | |
| 1777 | +} | |
| 1778 | +// src/entities/entity_state.ts | |
| 1779 | +function getInitialEntityState() { | |
| 1780 | + return { | |
| 1781 | + ids: [], | |
| 1782 | + entities: {} | |
| 1783 | + }; | |
| 1784 | +} | |
| 1785 | +function createInitialStateFactory() { | |
| 1786 | + function getInitialState(additionalState) { | |
| 1787 | + if (additionalState === void 0) { additionalState = {}; } | |
| 1788 | + return Object.assign(getInitialEntityState(), additionalState); | |
| 1789 | + } | |
| 1790 | + return { getInitialState: getInitialState }; | |
| 1791 | +} | |
| 1792 | +// src/entities/state_selectors.ts | |
| 1793 | +function createSelectorsFactory() { | |
| 1794 | + function getSelectors(selectState) { | |
| 1795 | + var selectIds = function (state) { return state.ids; }; | |
| 1796 | + var selectEntities = function (state) { return state.entities; }; | |
| 1797 | + var selectAll = createDraftSafeSelector(selectIds, selectEntities, function (ids, entities) { return ids.map(function (id) { return entities[id]; }); }); | |
| 1798 | + var selectId = function (_, id) { return id; }; | |
| 1799 | + var selectById = function (entities, id) { return entities[id]; }; | |
| 1800 | + var selectTotal = createDraftSafeSelector(selectIds, function (ids) { return ids.length; }); | |
| 1801 | + if (!selectState) { | |
| 1802 | + return { | |
| 1803 | + selectIds: selectIds, | |
| 1804 | + selectEntities: selectEntities, | |
| 1805 | + selectAll: selectAll, | |
| 1806 | + selectTotal: selectTotal, | |
| 1807 | + selectById: createDraftSafeSelector(selectEntities, selectId, selectById) | |
| 1808 | + }; | |
| 1809 | + } | |
| 1810 | + var selectGlobalizedEntities = createDraftSafeSelector(selectState, selectEntities); | |
| 1811 | + return { | |
| 1812 | + selectIds: createDraftSafeSelector(selectState, selectIds), | |
| 1813 | + selectEntities: selectGlobalizedEntities, | |
| 1814 | + selectAll: createDraftSafeSelector(selectState, selectAll), | |
| 1815 | + selectTotal: createDraftSafeSelector(selectState, selectTotal), | |
| 1816 | + selectById: createDraftSafeSelector(selectGlobalizedEntities, selectId, selectById) | |
| 1817 | + }; | |
| 1818 | + } | |
| 1819 | + return { getSelectors: getSelectors }; | |
| 1820 | +} | |
| 1821 | +// src/entities/state_adapter.ts | |
| 1822 | + | |
| 1823 | +function createSingleArgumentStateOperator(mutator) { | |
| 1824 | + var operator = createStateOperator(function (_, state) { return mutator(state); }); | |
| 1825 | + return function operation(state) { | |
| 1826 | + return operator(state, void 0); | |
| 1827 | + }; | |
| 1828 | +} | |
| 1829 | +function createStateOperator(mutator) { | |
| 1830 | + return function operation(state, arg) { | |
| 1831 | + function isPayloadActionArgument(arg2) { | |
| 1832 | + return isFSA(arg2); | |
| 1833 | + } | |
| 1834 | + var runMutator = function (draft) { | |
| 1835 | + if (isPayloadActionArgument(arg)) { | |
| 1836 | + mutator(arg.payload, draft); | |
| 1837 | + } | |
| 1838 | + else { | |
| 1839 | + mutator(arg, draft); | |
| 1840 | + } | |
| 1841 | + }; | |
| 1842 | + if ((0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(state)) { | |
| 1843 | + runMutator(state); | |
| 1844 | + return state; | |
| 1845 | + } | |
| 1846 | + else { | |
| 1847 | + return (0,immer__WEBPACK_IMPORTED_MODULE_2__["default"])(state, runMutator); | |
| 1848 | + } | |
| 1849 | + }; | |
| 1850 | +} | |
| 1851 | +// src/entities/utils.ts | |
| 1852 | +function selectIdValue(entity, selectId) { | |
| 1853 | + var key = selectId(entity); | |
| 1854 | + if ( true && key === void 0) { | |
| 1855 | + 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()); | |
| 1856 | + } | |
| 1857 | + return key; | |
| 1858 | +} | |
| 1859 | +function ensureEntitiesArray(entities) { | |
| 1860 | + if (!Array.isArray(entities)) { | |
| 1861 | + entities = Object.values(entities); | |
| 1862 | + } | |
| 1863 | + return entities; | |
| 1864 | +} | |
| 1865 | +function splitAddedUpdatedEntities(newEntities, selectId, state) { | |
| 1866 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1867 | + var added = []; | |
| 1868 | + var updated = []; | |
| 1869 | + for (var _i = 0, newEntities_1 = newEntities; _i < newEntities_1.length; _i++) { | |
| 1870 | + var entity = newEntities_1[_i]; | |
| 1871 | + var id = selectIdValue(entity, selectId); | |
| 1872 | + if (id in state.entities) { | |
| 1873 | + updated.push({ id: id, changes: entity }); | |
| 1874 | + } | |
| 1875 | + else { | |
| 1876 | + added.push(entity); | |
| 1877 | + } | |
| 1878 | + } | |
| 1879 | + return [added, updated]; | |
| 1880 | +} | |
| 1881 | +// src/entities/unsorted_state_adapter.ts | |
| 1882 | +function createUnsortedStateAdapter(selectId) { | |
| 1883 | + function addOneMutably(entity, state) { | |
| 1884 | + var key = selectIdValue(entity, selectId); | |
| 1885 | + if (key in state.entities) { | |
| 1886 | + return; | |
| 1887 | + } | |
| 1888 | + state.ids.push(key); | |
| 1889 | + state.entities[key] = entity; | |
| 1890 | + } | |
| 1891 | + function addManyMutably(newEntities, state) { | |
| 1892 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1893 | + for (var _i = 0, newEntities_2 = newEntities; _i < newEntities_2.length; _i++) { | |
| 1894 | + var entity = newEntities_2[_i]; | |
| 1895 | + addOneMutably(entity, state); | |
| 1896 | + } | |
| 1897 | + } | |
| 1898 | + function setOneMutably(entity, state) { | |
| 1899 | + var key = selectIdValue(entity, selectId); | |
| 1900 | + if (!(key in state.entities)) { | |
| 1901 | + state.ids.push(key); | |
| 1902 | + } | |
| 1903 | + state.entities[key] = entity; | |
| 1904 | + } | |
| 1905 | + function setManyMutably(newEntities, state) { | |
| 1906 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1907 | + for (var _i = 0, newEntities_3 = newEntities; _i < newEntities_3.length; _i++) { | |
| 1908 | + var entity = newEntities_3[_i]; | |
| 1909 | + setOneMutably(entity, state); | |
| 1910 | + } | |
| 1911 | + } | |
| 1912 | + function setAllMutably(newEntities, state) { | |
| 1913 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1914 | + state.ids = []; | |
| 1915 | + state.entities = {}; | |
| 1916 | + addManyMutably(newEntities, state); | |
| 1917 | + } | |
| 1918 | + function removeOneMutably(key, state) { | |
| 1919 | + return removeManyMutably([key], state); | |
| 1920 | + } | |
| 1921 | + function removeManyMutably(keys, state) { | |
| 1922 | + var didMutate = false; | |
| 1923 | + keys.forEach(function (key) { | |
| 1924 | + if (key in state.entities) { | |
| 1925 | + delete state.entities[key]; | |
| 1926 | + didMutate = true; | |
| 1927 | + } | |
| 1928 | + }); | |
| 1929 | + if (didMutate) { | |
| 1930 | + state.ids = state.ids.filter(function (id) { return id in state.entities; }); | |
| 1931 | + } | |
| 1932 | + } | |
| 1933 | + function removeAllMutably(state) { | |
| 1934 | + Object.assign(state, { | |
| 1935 | + ids: [], | |
| 1936 | + entities: {} | |
| 1937 | + }); | |
| 1938 | + } | |
| 1939 | + function takeNewKey(keys, update, state) { | |
| 1940 | + var original2 = state.entities[update.id]; | |
| 1941 | + var updated = Object.assign({}, original2, update.changes); | |
| 1942 | + var newKey = selectIdValue(updated, selectId); | |
| 1943 | + var hasNewKey = newKey !== update.id; | |
| 1944 | + if (hasNewKey) { | |
| 1945 | + keys[update.id] = newKey; | |
| 1946 | + delete state.entities[update.id]; | |
| 1947 | + } | |
| 1948 | + state.entities[newKey] = updated; | |
| 1949 | + return hasNewKey; | |
| 1950 | + } | |
| 1951 | + function updateOneMutably(update, state) { | |
| 1952 | + return updateManyMutably([update], state); | |
| 1953 | + } | |
| 1954 | + function updateManyMutably(updates, state) { | |
| 1955 | + var newKeys = {}; | |
| 1956 | + var updatesPerEntity = {}; | |
| 1957 | + updates.forEach(function (update) { | |
| 1958 | + if (update.id in state.entities) { | |
| 1959 | + updatesPerEntity[update.id] = { | |
| 1960 | + id: update.id, | |
| 1961 | + changes: __spreadValues(__spreadValues({}, updatesPerEntity[update.id] ? updatesPerEntity[update.id].changes : null), update.changes) | |
| 1962 | + }; | |
| 1963 | + } | |
| 1964 | + }); | |
| 1965 | + updates = Object.values(updatesPerEntity); | |
| 1966 | + var didMutateEntities = updates.length > 0; | |
| 1967 | + if (didMutateEntities) { | |
| 1968 | + var didMutateIds = updates.filter(function (update) { return takeNewKey(newKeys, update, state); }).length > 0; | |
| 1969 | + if (didMutateIds) { | |
| 1970 | + state.ids = state.ids.map(function (id) { return newKeys[id] || id; }); | |
| 1971 | + } | |
| 1972 | + } | |
| 1973 | + } | |
| 1974 | + function upsertOneMutably(entity, state) { | |
| 1975 | + return upsertManyMutably([entity], state); | |
| 1976 | + } | |
| 1977 | + function upsertManyMutably(newEntities, state) { | |
| 1978 | + var _b = splitAddedUpdatedEntities(newEntities, selectId, state), added = _b[0], updated = _b[1]; | |
| 1979 | + updateManyMutably(updated, state); | |
| 1980 | + addManyMutably(added, state); | |
| 1981 | + } | |
| 1982 | + return { | |
| 1983 | + removeAll: createSingleArgumentStateOperator(removeAllMutably), | |
| 1984 | + addOne: createStateOperator(addOneMutably), | |
| 1985 | + addMany: createStateOperator(addManyMutably), | |
| 1986 | + setOne: createStateOperator(setOneMutably), | |
| 1987 | + setMany: createStateOperator(setManyMutably), | |
| 1988 | + setAll: createStateOperator(setAllMutably), | |
| 1989 | + updateOne: createStateOperator(updateOneMutably), | |
| 1990 | + updateMany: createStateOperator(updateManyMutably), | |
| 1991 | + upsertOne: createStateOperator(upsertOneMutably), | |
| 1992 | + upsertMany: createStateOperator(upsertManyMutably), | |
| 1993 | + removeOne: createStateOperator(removeOneMutably), | |
| 1994 | + removeMany: createStateOperator(removeManyMutably) | |
| 1995 | + }; | |
| 1996 | +} | |
| 1997 | +// src/entities/sorted_state_adapter.ts | |
| 1998 | +function createSortedStateAdapter(selectId, sort) { | |
| 1999 | + var _b = createUnsortedStateAdapter(selectId), removeOne = _b.removeOne, removeMany = _b.removeMany, removeAll = _b.removeAll; | |
| 2000 | + function addOneMutably(entity, state) { | |
| 2001 | + return addManyMutably([entity], state); | |
| 2002 | + } | |
| 2003 | + function addManyMutably(newEntities, state) { | |
| 2004 | + newEntities = ensureEntitiesArray(newEntities); | |
| 2005 | + var models = newEntities.filter(function (model) { return !(selectIdValue(model, selectId) in state.entities); }); | |
| 2006 | + if (models.length !== 0) { | |
| 2007 | + merge(models, state); | |
| 2008 | + } | |
| 2009 | + } | |
| 2010 | + function setOneMutably(entity, state) { | |
| 2011 | + return setManyMutably([entity], state); | |
| 2012 | + } | |
| 2013 | + function setManyMutably(newEntities, state) { | |
| 2014 | + newEntities = ensureEntitiesArray(newEntities); | |
| 2015 | + if (newEntities.length !== 0) { | |
| 2016 | + merge(newEntities, state); | |
| 2017 | + } | |
| 2018 | + } | |
| 2019 | + function setAllMutably(newEntities, state) { | |
| 2020 | + newEntities = ensureEntitiesArray(newEntities); | |
| 2021 | + state.entities = {}; | |
| 2022 | + state.ids = []; | |
| 2023 | + addManyMutably(newEntities, state); | |
| 2024 | + } | |
| 2025 | + function updateOneMutably(update, state) { | |
| 2026 | + return updateManyMutably([update], state); | |
| 2027 | + } | |
| 2028 | + function takeUpdatedModel(models, update, state) { | |
| 2029 | + if (!(update.id in state.entities)) { | |
| 2030 | + return false; | |
| 2031 | + } | |
| 2032 | + var original2 = state.entities[update.id]; | |
| 2033 | + var updated = Object.assign({}, original2, update.changes); | |
| 2034 | + var newKey = selectIdValue(updated, selectId); | |
| 2035 | + delete state.entities[update.id]; | |
| 2036 | + models.push(updated); | |
| 2037 | + return newKey !== update.id; | |
| 2038 | + } | |
| 2039 | + function updateManyMutably(updates, state) { | |
| 2040 | + var models = []; | |
| 2041 | + updates.forEach(function (update) { return takeUpdatedModel(models, update, state); }); | |
| 2042 | + if (models.length !== 0) { | |
| 2043 | + merge(models, state); | |
| 2044 | + } | |
| 2045 | + } | |
| 2046 | + function upsertOneMutably(entity, state) { | |
| 2047 | + return upsertManyMutably([entity], state); | |
| 2048 | + } | |
| 2049 | + function upsertManyMutably(newEntities, state) { | |
| 2050 | + var _b = splitAddedUpdatedEntities(newEntities, selectId, state), added = _b[0], updated = _b[1]; | |
| 2051 | + updateManyMutably(updated, state); | |
| 2052 | + addManyMutably(added, state); | |
| 2053 | + } | |
| 2054 | + function areArraysEqual(a, b) { | |
| 2055 | + if (a.length !== b.length) { | |
| 2056 | + return false; | |
| 2057 | + } | |
| 2058 | + for (var i = 0; i < a.length && i < b.length; i++) { | |
| 2059 | + if (a[i] === b[i]) { | |
| 2060 | + continue; | |
| 2061 | + } | |
| 2062 | + return false; | |
| 2063 | + } | |
| 2064 | + return true; | |
| 2065 | + } | |
| 2066 | + function merge(models, state) { | |
| 2067 | + models.forEach(function (model) { | |
| 2068 | + state.entities[selectId(model)] = model; | |
| 2069 | + }); | |
| 2070 | + var allEntities = Object.values(state.entities); | |
| 2071 | + allEntities.sort(sort); | |
| 2072 | + var newSortedIds = allEntities.map(selectId); | |
| 2073 | + var ids = state.ids; | |
| 2074 | + if (!areArraysEqual(ids, newSortedIds)) { | |
| 2075 | + state.ids = newSortedIds; | |
| 2076 | + } | |
| 2077 | + } | |
| 2078 | + return { | |
| 2079 | + removeOne: removeOne, | |
| 2080 | + removeMany: removeMany, | |
| 2081 | + removeAll: removeAll, | |
| 2082 | + addOne: createStateOperator(addOneMutably), | |
| 2083 | + updateOne: createStateOperator(updateOneMutably), | |
| 2084 | + upsertOne: createStateOperator(upsertOneMutably), | |
| 2085 | + setOne: createStateOperator(setOneMutably), | |
| 2086 | + setMany: createStateOperator(setManyMutably), | |
| 2087 | + setAll: createStateOperator(setAllMutably), | |
| 2088 | + addMany: createStateOperator(addManyMutably), | |
| 2089 | + updateMany: createStateOperator(updateManyMutably), | |
| 2090 | + upsertMany: createStateOperator(upsertManyMutably) | |
| 2091 | + }; | |
| 2092 | +} | |
| 2093 | +// src/entities/create_adapter.ts | |
| 2094 | +function createEntityAdapter(options) { | |
| 2095 | + if (options === void 0) { options = {}; } | |
| 2096 | + var _b = __spreadValues({ | |
| 2097 | + sortComparer: false, | |
| 2098 | + selectId: function (instance) { return instance.id; } | |
| 2099 | + }, options), selectId = _b.selectId, sortComparer = _b.sortComparer; | |
| 2100 | + var stateFactory = createInitialStateFactory(); | |
| 2101 | + var selectorsFactory = createSelectorsFactory(); | |
| 2102 | + var stateAdapter = sortComparer ? createSortedStateAdapter(selectId, sortComparer) : createUnsortedStateAdapter(selectId); | |
| 2103 | + return __spreadValues(__spreadValues(__spreadValues({ | |
| 2104 | + selectId: selectId, | |
| 2105 | + sortComparer: sortComparer | |
| 2106 | + }, stateFactory), selectorsFactory), stateAdapter); | |
| 2107 | +} | |
| 2108 | +// src/nanoid.ts | |
| 2109 | +var urlAlphabet = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"; | |
| 2110 | +var nanoid = function (size) { | |
| 2111 | + if (size === void 0) { size = 21; } | |
| 2112 | + var id = ""; | |
| 2113 | + var i = size; | |
| 2114 | + while (i--) { | |
| 2115 | + id += urlAlphabet[Math.random() * 64 | 0]; | |
| 2116 | + } | |
| 2117 | + return id; | |
| 2118 | +}; | |
| 2119 | +// src/createAsyncThunk.ts | |
| 2120 | +var commonProperties = [ | |
| 2121 | + "name", | |
| 2122 | + "message", | |
| 2123 | + "stack", | |
| 2124 | + "code" | |
| 2125 | +]; | |
| 2126 | +var RejectWithValue = /** @class */ (function () { | |
| 2127 | + function RejectWithValue(payload, meta) { | |
| 2128 | + this.payload = payload; | |
| 2129 | + this.meta = meta; | |
| 2130 | + } | |
| 2131 | + return RejectWithValue; | |
| 2132 | +}()); | |
| 2133 | +var FulfillWithMeta = /** @class */ (function () { | |
| 2134 | + function FulfillWithMeta(payload, meta) { | |
| 2135 | + this.payload = payload; | |
| 2136 | + this.meta = meta; | |
| 2137 | + } | |
| 2138 | + return FulfillWithMeta; | |
| 2139 | +}()); | |
| 2140 | +var miniSerializeError = function (value) { | |
| 2141 | + if (typeof value === "object" && value !== null) { | |
| 2142 | + var simpleError = {}; | |
| 2143 | + for (var _i = 0, commonProperties_1 = commonProperties; _i < commonProperties_1.length; _i++) { | |
| 2144 | + var property = commonProperties_1[_i]; | |
| 2145 | + if (typeof value[property] === "string") { | |
| 2146 | + simpleError[property] = value[property]; | |
| 2147 | + } | |
| 2148 | + } | |
| 2149 | + return simpleError; | |
| 2150 | + } | |
| 2151 | + return { message: String(value) }; | |
| 2152 | +}; | |
| 2153 | +function createAsyncThunk(typePrefix, payloadCreator, options) { | |
| 2154 | + var fulfilled = createAction(typePrefix + "/fulfilled", function (payload, requestId, arg, meta) { return ({ | |
| 2155 | + payload: payload, | |
| 2156 | + meta: __spreadProps(__spreadValues({}, meta || {}), { | |
| 2157 | + arg: arg, | |
| 2158 | + requestId: requestId, | |
| 2159 | + requestStatus: "fulfilled" | |
| 2160 | + }) | |
| 2161 | + }); }); | |
| 2162 | + var pending = createAction(typePrefix + "/pending", function (requestId, arg, meta) { return ({ | |
| 2163 | + payload: void 0, | |
| 2164 | + meta: __spreadProps(__spreadValues({}, meta || {}), { | |
| 2165 | + arg: arg, | |
| 2166 | + requestId: requestId, | |
| 2167 | + requestStatus: "pending" | |
| 2168 | + }) | |
| 2169 | + }); }); | |
| 2170 | + var rejected = createAction(typePrefix + "/rejected", function (error, requestId, arg, payload, meta) { return ({ | |
| 2171 | + payload: payload, | |
| 2172 | + error: (options && options.serializeError || miniSerializeError)(error || "Rejected"), | |
| 2173 | + meta: __spreadProps(__spreadValues({}, meta || {}), { | |
| 2174 | + arg: arg, | |
| 2175 | + requestId: requestId, | |
| 2176 | + rejectedWithValue: !!payload, | |
| 2177 | + requestStatus: "rejected", | |
| 2178 | + aborted: (error == null ? void 0 : error.name) === "AbortError", | |
| 2179 | + condition: (error == null ? void 0 : error.name) === "ConditionError" | |
| 2180 | + }) | |
| 2181 | + }); }); | |
| 2182 | + var displayedWarning = false; | |
| 2183 | + var AC = typeof AbortController !== "undefined" ? AbortController : /** @class */ (function () { | |
| 2184 | + function class_1() { | |
| 2185 | + this.signal = { | |
| 2186 | + aborted: false, | |
| 2187 | + addEventListener: function () { | |
| 2188 | + }, | |
| 2189 | + dispatchEvent: function () { | |
| 2190 | + return false; | |
| 2191 | + }, | |
| 2192 | + onabort: function () { | |
| 2193 | + }, | |
| 2194 | + removeEventListener: function () { | |
| 2195 | + } | |
| 2196 | + }; | |
| 2197 | + } | |
| 2198 | + class_1.prototype.abort = function () { | |
| 2199 | + if (true) { | |
| 2200 | + if (!displayedWarning) { | |
| 2201 | + displayedWarning = true; | |
| 2202 | + 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'."); | |
| 2203 | + } | |
| 2204 | + } | |
| 2205 | + }; | |
| 2206 | + return class_1; | |
| 2207 | + }()); | |
| 2208 | + function actionCreator(arg) { | |
| 2209 | + return function (dispatch, getState, extra) { | |
| 2210 | + var _a; | |
| 2211 | + var requestId = ((_a = options == null ? void 0 : options.idGenerator) != null ? _a : nanoid)(); | |
| 2212 | + var abortController = new AC(); | |
| 2213 | + var abortReason; | |
| 2214 | + var abortedPromise = new Promise(function (_, reject) { return abortController.signal.addEventListener("abort", function () { return reject({ name: "AbortError", message: abortReason || "Aborted" }); }); }); | |
| 2215 | + var started = false; | |
| 2216 | + function abort(reason) { | |
| 2217 | + if (started) { | |
| 2218 | + abortReason = reason; | |
| 2219 | + abortController.abort(); | |
| 2220 | + } | |
| 2221 | + } | |
| 2222 | + var promise = function () { | |
| 2223 | + return __async(this, null, function () { | |
| 2224 | + var _a2, finalAction, err_1, skipDispatch; | |
| 2225 | + return __generator(this, function (_b) { | |
| 2226 | + switch (_b.label) { | |
| 2227 | + case 0: | |
| 2228 | + _b.trys.push([0, 2, , 3]); | |
| 2229 | + if (options && options.condition && options.condition(arg, { getState: getState, extra: extra }) === false) { | |
| 2230 | + throw { | |
| 2231 | + name: "ConditionError", | |
| 2232 | + message: "Aborted due to condition callback returning false." | |
| 2233 | + }; | |
| 2234 | + } | |
| 2235 | + started = true; | |
| 2236 | + dispatch(pending(requestId, arg, (_a2 = options == null ? void 0 : options.getPendingMeta) == null ? void 0 : _a2.call(options, { requestId: requestId, arg: arg }, { getState: getState, extra: extra }))); | |
| 2237 | + return [4 /*yield*/, Promise.race([ | |
| 2238 | + abortedPromise, | |
| 2239 | + Promise.resolve(payloadCreator(arg, { | |
| 2240 | + dispatch: dispatch, | |
| 2241 | + getState: getState, | |
| 2242 | + extra: extra, | |
| 2243 | + requestId: requestId, | |
| 2244 | + signal: abortController.signal, | |
| 2245 | + rejectWithValue: function (value, meta) { | |
| 2246 | + return new RejectWithValue(value, meta); | |
| 2247 | + }, | |
| 2248 | + fulfillWithValue: function (value, meta) { | |
| 2249 | + return new FulfillWithMeta(value, meta); | |
| 2250 | + } | |
| 2251 | + })).then(function (result) { | |
| 2252 | + if (result instanceof RejectWithValue) { | |
| 2253 | + throw result; | |
| 2254 | + } | |
| 2255 | + if (result instanceof FulfillWithMeta) { | |
| 2256 | + return fulfilled(result.payload, requestId, arg, result.meta); | |
| 2257 | + } | |
| 2258 | + return fulfilled(result, requestId, arg); | |
| 2259 | + }) | |
| 2260 | + ])]; | |
| 2261 | + case 1: | |
| 2262 | + finalAction = _b.sent(); | |
| 2263 | + return [3 /*break*/, 3]; | |
| 2264 | + case 2: | |
| 2265 | + err_1 = _b.sent(); | |
| 2266 | + finalAction = err_1 instanceof RejectWithValue ? rejected(null, requestId, arg, err_1.payload, err_1.meta) : rejected(err_1, requestId, arg); | |
| 2267 | + return [3 /*break*/, 3]; | |
| 2268 | + case 3: | |
| 2269 | + skipDispatch = options && !options.dispatchConditionRejection && rejected.match(finalAction) && finalAction.meta.condition; | |
| 2270 | + if (!skipDispatch) { | |
| 2271 | + dispatch(finalAction); | |
| 2272 | + } | |
| 2273 | + return [2 /*return*/, finalAction]; | |
| 2274 | + } | |
| 2275 | + }); | |
| 2276 | + }); | |
| 2277 | + }(); | |
| 2278 | + return Object.assign(promise, { | |
| 2279 | + abort: abort, | |
| 2280 | + requestId: requestId, | |
| 2281 | + arg: arg, | |
| 2282 | + unwrap: function () { | |
| 2283 | + return promise.then(unwrapResult); | |
| 2284 | + } | |
| 2285 | + }); | |
| 2286 | + }; | |
| 2287 | + } | |
| 2288 | + return Object.assign(actionCreator, { | |
| 2289 | + pending: pending, | |
| 2290 | + rejected: rejected, | |
| 2291 | + fulfilled: fulfilled, | |
| 2292 | + typePrefix: typePrefix | |
| 2293 | + }); | |
| 2294 | +} | |
| 2295 | +function unwrapResult(action) { | |
| 2296 | + if (action.meta && action.meta.rejectedWithValue) { | |
| 2297 | + throw action.payload; | |
| 2298 | + } | |
| 2299 | + if (action.error) { | |
| 2300 | + throw action.error; | |
| 2301 | + } | |
| 2302 | + return action.payload; | |
| 2303 | +} | |
| 2304 | +// src/tsHelpers.ts | |
| 2305 | +var hasMatchFunction = function (v) { | |
| 2306 | + return v && typeof v.match === "function"; | |
| 2307 | +}; | |
| 2308 | +// src/matchers.ts | |
| 2309 | +var matches = function (matcher, action) { | |
| 2310 | + if (hasMatchFunction(matcher)) { | |
| 2311 | + return matcher.match(action); | |
| 2312 | + } | |
| 2313 | + else { | |
| 2314 | + return matcher(action); | |
| 2315 | + } | |
| 2316 | +}; | |
| 2317 | +function isAnyOf() { | |
| 2318 | + var matchers = []; | |
| 2319 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2320 | + matchers[_i] = arguments[_i]; | |
| 2321 | + } | |
| 2322 | + return function (action) { | |
| 2323 | + return matchers.some(function (matcher) { return matches(matcher, action); }); | |
| 2324 | + }; | |
| 2325 | +} | |
| 2326 | +function isAllOf() { | |
| 2327 | + var matchers = []; | |
| 2328 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2329 | + matchers[_i] = arguments[_i]; | |
| 2330 | + } | |
| 2331 | + return function (action) { | |
| 2332 | + return matchers.every(function (matcher) { return matches(matcher, action); }); | |
| 2333 | + }; | |
| 2334 | +} | |
| 2335 | +function hasExpectedRequestMetadata(action, validStatus) { | |
| 2336 | + if (!action || !action.meta) | |
| 2337 | + return false; | |
| 2338 | + var hasValidRequestId = typeof action.meta.requestId === "string"; | |
| 2339 | + var hasValidRequestStatus = validStatus.indexOf(action.meta.requestStatus) > -1; | |
| 2340 | + return hasValidRequestId && hasValidRequestStatus; | |
| 2341 | +} | |
| 2342 | +function isAsyncThunkArray(a) { | |
| 2343 | + return typeof a[0] === "function" && "pending" in a[0] && "fulfilled" in a[0] && "rejected" in a[0]; | |
| 2344 | +} | |
| 2345 | +function isPending() { | |
| 2346 | + var asyncThunks = []; | |
| 2347 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2348 | + asyncThunks[_i] = arguments[_i]; | |
| 2349 | + } | |
| 2350 | + if (asyncThunks.length === 0) { | |
| 2351 | + return function (action) { return hasExpectedRequestMetadata(action, ["pending"]); }; | |
| 2352 | + } | |
| 2353 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2354 | + return isPending()(asyncThunks[0]); | |
| 2355 | + } | |
| 2356 | + return function (action) { | |
| 2357 | + var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.pending; }); | |
| 2358 | + var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 2359 | + return combinedMatcher(action); | |
| 2360 | + }; | |
| 2361 | +} | |
| 2362 | +function isRejected() { | |
| 2363 | + var asyncThunks = []; | |
| 2364 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2365 | + asyncThunks[_i] = arguments[_i]; | |
| 2366 | + } | |
| 2367 | + if (asyncThunks.length === 0) { | |
| 2368 | + return function (action) { return hasExpectedRequestMetadata(action, ["rejected"]); }; | |
| 2369 | + } | |
| 2370 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2371 | + return isRejected()(asyncThunks[0]); | |
| 2372 | + } | |
| 2373 | + return function (action) { | |
| 2374 | + var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.rejected; }); | |
| 2375 | + var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 2376 | + return combinedMatcher(action); | |
| 2377 | + }; | |
| 2378 | +} | |
| 2379 | +function isRejectedWithValue() { | |
| 2380 | + var asyncThunks = []; | |
| 2381 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2382 | + asyncThunks[_i] = arguments[_i]; | |
| 2383 | + } | |
| 2384 | + var hasFlag = function (action) { | |
| 2385 | + return action && action.meta && action.meta.rejectedWithValue; | |
| 2386 | + }; | |
| 2387 | + if (asyncThunks.length === 0) { | |
| 2388 | + return function (action) { | |
| 2389 | + var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag); | |
| 2390 | + return combinedMatcher(action); | |
| 2391 | + }; | |
| 2392 | + } | |
| 2393 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2394 | + return isRejectedWithValue()(asyncThunks[0]); | |
| 2395 | + } | |
| 2396 | + return function (action) { | |
| 2397 | + var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag); | |
| 2398 | + return combinedMatcher(action); | |
| 2399 | + }; | |
| 2400 | +} | |
| 2401 | +function isFulfilled() { | |
| 2402 | + var asyncThunks = []; | |
| 2403 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2404 | + asyncThunks[_i] = arguments[_i]; | |
| 2405 | + } | |
| 2406 | + if (asyncThunks.length === 0) { | |
| 2407 | + return function (action) { return hasExpectedRequestMetadata(action, ["fulfilled"]); }; | |
| 2408 | + } | |
| 2409 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2410 | + return isFulfilled()(asyncThunks[0]); | |
| 2411 | + } | |
| 2412 | + return function (action) { | |
| 2413 | + var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.fulfilled; }); | |
| 2414 | + var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 2415 | + return combinedMatcher(action); | |
| 2416 | + }; | |
| 2417 | +} | |
| 2418 | +function isAsyncThunkAction() { | |
| 2419 | + var asyncThunks = []; | |
| 2420 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2421 | + asyncThunks[_i] = arguments[_i]; | |
| 2422 | + } | |
| 2423 | + if (asyncThunks.length === 0) { | |
| 2424 | + return function (action) { return hasExpectedRequestMetadata(action, ["pending", "fulfilled", "rejected"]); }; | |
| 2425 | + } | |
| 2426 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2427 | + return isAsyncThunkAction()(asyncThunks[0]); | |
| 2428 | + } | |
| 2429 | + return function (action) { | |
| 2430 | + var matchers = []; | |
| 2431 | + for (var _i = 0, asyncThunks_1 = asyncThunks; _i < asyncThunks_1.length; _i++) { | |
| 2432 | + var asyncThunk = asyncThunks_1[_i]; | |
| 2433 | + matchers.push(asyncThunk.pending, asyncThunk.rejected, asyncThunk.fulfilled); | |
| 2434 | + } | |
| 2435 | + var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 2436 | + return combinedMatcher(action); | |
| 2437 | + }; | |
| 2438 | +} | |
| 2439 | +// src/index.ts | |
| 2440 | +(0,immer__WEBPACK_IMPORTED_MODULE_2__.enableES5)(); | |
| 2441 | + | |
| 2442 | +//# sourceMappingURL=redux-toolkit.esm.js.map | |
| 2443 | + | |
| 2444 | +/***/ }), | |
| 2445 | + | |
| 169 | 2446 | /***/ "../assets/dev/js/editor/utils/is-instanceof.js": |
| 170 | 2447 | /*!******************************************************!*\ |
| 171 | 2448 | !*** ../assets/dev/js/editor/utils/is-instanceof.js ***! |
| 172 | 2449 | \******************************************************/ |
| 173 | -/***/ ((__unused_webpack_module, exports) => { | |
| 2450 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 174 | 2451 | |
| 175 | 2452 | "use strict"; |
| 176 | 2453 | |
| 177 | 2454 | |
| 178 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2455 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2456 | + | |
| 2457 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2458 | + | |
| 2459 | +_Object$defineProperty(exports, "__esModule", { | |
| 179 | 2460 | value: true |
| 180 | -})); | |
| 2461 | +}); | |
| 2462 | + | |
| 181 | 2463 | 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; } | |
| 2464 | + | |
| 2465 | +__webpack_require__(/*! core-js/modules/es6.function.name.js */ "../node_modules/core-js/modules/es6.function.name.js"); | |
| 2466 | + | |
| 2467 | +var _createForOfIteratorHelper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createForOfIteratorHelper */ "../node_modules/@babel/runtime-corejs2/helpers/createForOfIteratorHelper.js")); | |
| 2468 | + | |
| 2469 | +var _isArray = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js")); | |
| 2470 | + | |
| 2471 | +var _toStringTag = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/to-string-tag */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/to-string-tag.js")); | |
| 2472 | + | |
| 185 | 2473 | /** |
| 186 | 2474 | * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved |
| 187 | 2475 | * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can |
| 188 | 2476 | * check whether it's instanceof by using the objects constructor and prototype names. |
| 189 | 2477 | * |
| 190 | - * @param object | |
| 191 | - * @param constructors | |
| 192 | - * @return {boolean} | |
| 2478 | + * @param object | |
| 2479 | + * @param constructors | |
| 2480 | + * @returns {boolean} | |
| 193 | 2481 | */ |
| 194 | -var _default = exports["default"] = function _default(object, constructors) { | |
| 195 | - constructors = Array.isArray(constructors) ? constructors : [constructors]; | |
| 196 | - var _iterator = _createForOfIteratorHelper(constructors), | |
| 197 | - _step; | |
| 2482 | +var _default = function _default(object, constructors) { | |
| 2483 | + constructors = (0, _isArray.default)(constructors) ? constructors : [constructors]; | |
| 2484 | + | |
| 2485 | + var _iterator = (0, _createForOfIteratorHelper2.default)(constructors), | |
| 2486 | + _step; | |
| 2487 | + | |
| 198 | 2488 | try { |
| 199 | 2489 | for (_iterator.s(); !(_step = _iterator.n()).done;) { |
| 200 | - var constructor = _step.value; | |
| 201 | - if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) { | |
| 2490 | + var _constructor = _step.value; | |
| 2491 | + | |
| 2492 | + if (object.constructor.name === _constructor.prototype[_toStringTag.default]) { | |
| 202 | 2493 | return true; |
| 203 | 2494 | } |
| 204 | 2495 | } |
| 205 | 2496 | } catch (err) { |
| @@ -206,11 +2497,14 @@ | ||
| 206 | 2497 | _iterator.e(err); |
| 207 | 2498 | } finally { |
| 208 | 2499 | _iterator.f(); |
| 209 | 2500 | } |
| 2501 | + | |
| 210 | 2502 | return false; |
| 211 | 2503 | }; |
| 212 | 2504 | |
| 2505 | +exports["default"] = _default; | |
| 2506 | + | |
| 213 | 2507 | /***/ }), |
| 214 | 2508 | |
| 215 | 2509 | /***/ "../assets/dev/js/modules/imports/args-object.js": |
| 216 | 2510 | /*!*******************************************************!*\ |
| @@ -220,24 +2514,41 @@ | ||
| 220 | 2514 | |
| 221 | 2515 | "use strict"; |
| 222 | 2516 | |
| 223 | 2517 | |
| 224 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 225 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2518 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2519 | + | |
| 2520 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2521 | + | |
| 2522 | +_Object$defineProperty(exports, "__esModule", { | |
| 226 | 2523 | value: true |
| 227 | -})); | |
| 2524 | +}); | |
| 2525 | + | |
| 228 | 2526 | 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")); | |
| 2527 | + | |
| 2528 | +__webpack_require__(/*! core-js/modules/es6.object.to-string.js */ "../node_modules/core-js/modules/es6.object.to-string.js"); | |
| 2529 | + | |
| 2530 | +__webpack_require__(/*! core-js/modules/es6.regexp.to-string.js */ "../node_modules/core-js/modules/es6.regexp.to-string.js"); | |
| 2531 | + | |
| 2532 | +var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")); | |
| 2533 | + | |
| 2534 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2535 | + | |
| 2536 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2537 | + | |
| 2538 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2539 | + | |
| 2540 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2541 | + | |
| 235 | 2542 | var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); |
| 2543 | + | |
| 236 | 2544 | 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) { | |
| 2545 | + | |
| 2546 | +var ArgsObject = /*#__PURE__*/function (_InstanceType) { | |
| 2547 | + (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 2548 | + | |
| 2549 | + var _super = (0, _createSuper2.default)(ArgsObject); | |
| 2550 | + | |
| 240 | 2551 | /** |
| 241 | 2552 | * Function constructor(). |
| 242 | 2553 | * |
| 243 | 2554 | * Create ArgsObject. |
| @@ -245,14 +2556,14 @@ | ||
| 245 | 2556 | * @param {{}} args |
| 246 | 2557 | */ |
| 247 | 2558 | function ArgsObject(args) { |
| 248 | 2559 | var _this; |
| 2560 | + | |
| 249 | 2561 | (0, _classCallCheck2.default)(this, ArgsObject); |
| 250 | - _this = _callSuper(this, ArgsObject); | |
| 2562 | + _this = _super.call(this); | |
| 251 | 2563 | _this.args = args; |
| 252 | 2564 | return _this; |
| 253 | 2565 | } |
| 254 | - | |
| 255 | 2566 | /** |
| 256 | 2567 | * Function requireArgument(). |
| 257 | 2568 | * |
| 258 | 2569 | * Validate property in args. |
| @@ -257,22 +2568,24 @@ | ||
| 257 | 2568 | * |
| 258 | 2569 | * Validate property in args. |
| 259 | 2570 | * |
| 260 | 2571 | * @param {string} property |
| 261 | - * @param {{}} args | |
| 2572 | + * @param {{}} args | |
| 262 | 2573 | * |
| 263 | 2574 | * @throws {Error} |
| 2575 | + * | |
| 264 | 2576 | */ |
| 265 | - (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 266 | - return (0, _createClass2.default)(ArgsObject, [{ | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + (0, _createClass2.default)(ArgsObject, [{ | |
| 267 | 2580 | key: "requireArgument", |
| 268 | 2581 | value: function requireArgument(property) { |
| 269 | 2582 | var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; |
| 270 | - if (!Object.prototype.hasOwnProperty.call(args, property)) { | |
| 2583 | + | |
| 2584 | + if (!args.hasOwnProperty(property)) { | |
| 271 | 2585 | throw Error("".concat(property, " is required.")); |
| 272 | 2586 | } |
| 273 | 2587 | } |
| 274 | - | |
| 275 | 2588 | /** |
| 276 | 2589 | * Function requireArgumentType(). |
| 277 | 2590 | * |
| 278 | 2591 | * Validate property in args using `type === typeof(args.whatever)`. |
| @@ -278,22 +2591,24 @@ | ||
| 278 | 2591 | * Validate property in args using `type === typeof(args.whatever)`. |
| 279 | 2592 | * |
| 280 | 2593 | * @param {string} property |
| 281 | 2594 | * @param {string} type |
| 282 | - * @param {{}} args | |
| 2595 | + * @param {{}} args | |
| 283 | 2596 | * |
| 284 | 2597 | * @throws {Error} |
| 2598 | + * | |
| 285 | 2599 | */ |
| 2600 | + | |
| 286 | 2601 | }, { |
| 287 | 2602 | key: "requireArgumentType", |
| 288 | 2603 | value: function requireArgumentType(property, type) { |
| 289 | 2604 | var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| 290 | 2605 | this.requireArgument(property, args); |
| 2606 | + | |
| 291 | 2607 | if ((0, _typeof2.default)(args[property]) !== type) { |
| 292 | 2608 | throw Error("".concat(property, " invalid type: ").concat(type, ".")); |
| 293 | 2609 | } |
| 294 | 2610 | } |
| 295 | - | |
| 296 | 2611 | /** |
| 297 | 2612 | * Function requireArgumentInstance(). |
| 298 | 2613 | * |
| 299 | 2614 | * Validate property in args using `args.whatever instanceof instance`. |
| @@ -298,23 +2613,25 @@ | ||
| 298 | 2613 | * |
| 299 | 2614 | * Validate property in args using `args.whatever instanceof instance`. |
| 300 | 2615 | * |
| 301 | 2616 | * @param {string} property |
| 302 | - * @param {*} instance | |
| 303 | - * @param {{}} args | |
| 2617 | + * @param {instanceof} instance | |
| 2618 | + * @param {{}} args | |
| 304 | 2619 | * |
| 305 | 2620 | * @throws {Error} |
| 2621 | + * | |
| 306 | 2622 | */ |
| 2623 | + | |
| 307 | 2624 | }, { |
| 308 | 2625 | key: "requireArgumentInstance", |
| 309 | 2626 | value: function requireArgumentInstance(property, instance) { |
| 310 | 2627 | var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| 311 | 2628 | this.requireArgument(property, args); |
| 2629 | + | |
| 312 | 2630 | if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { |
| 313 | 2631 | throw Error("".concat(property, " invalid instance.")); |
| 314 | 2632 | } |
| 315 | 2633 | } |
| 316 | - | |
| 317 | 2634 | /** |
| 318 | 2635 | * Function requireArgumentConstructor(). |
| 319 | 2636 | * |
| 320 | 2637 | * Validate property in args using `type === args.whatever.constructor`. |
| @@ -319,21 +2636,22 @@ | ||
| 319 | 2636 | * |
| 320 | 2637 | * Validate property in args using `type === args.whatever.constructor`. |
| 321 | 2638 | * |
| 322 | 2639 | * @param {string} property |
| 323 | - * @param {*} type | |
| 324 | - * @param {{}} args | |
| 2640 | + * @param {*} type | |
| 2641 | + * @param {{}} args | |
| 325 | 2642 | * |
| 326 | 2643 | * @throws {Error} |
| 2644 | + * | |
| 327 | 2645 | */ |
| 2646 | + | |
| 328 | 2647 | }, { |
| 329 | 2648 | key: "requireArgumentConstructor", |
| 330 | 2649 | value: function requireArgumentConstructor(property, type) { |
| 331 | 2650 | var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; |
| 332 | - this.requireArgument(property, args); | |
| 2651 | + this.requireArgument(property, args); // Note: Converting the constructor to string in order to avoid equation issues | |
| 2652 | + // due to different memory addresses between iframes (window.Object !== window.top.Object). | |
| 333 | 2653 | |
| 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 | 2654 | if (args[property].constructor.toString() !== type.prototype.constructor.toString()) { |
| 337 | 2655 | throw Error("".concat(property, " invalid constructor type.")); |
| 338 | 2656 | } |
| 339 | 2657 | } |
| @@ -342,10 +2660,13 @@ | ||
| 342 | 2660 | value: function getInstanceType() { |
| 343 | 2661 | return 'ArgsObject'; |
| 344 | 2662 | } |
| 345 | 2663 | }]); |
| 2664 | + return ArgsObject; | |
| 346 | 2665 | }(_instanceType.default); |
| 347 | 2666 | |
| 2667 | +exports["default"] = ArgsObject; | |
| 2668 | + | |
| 348 | 2669 | /***/ }), |
| 349 | 2670 | |
| 350 | 2671 | /***/ "../assets/dev/js/modules/imports/force-method-implementation.js": |
| 351 | 2672 | /*!***********************************************************************!*\ |
| @@ -355,48 +2676,74 @@ | ||
| 355 | 2676 | |
| 356 | 2677 | "use strict"; |
| 357 | 2678 | |
| 358 | 2679 | |
| 359 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 360 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2680 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2681 | + | |
| 2682 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2683 | + | |
| 2684 | +_Object$defineProperty(exports, "__esModule", { | |
| 361 | 2685 | value: true |
| 362 | -})); | |
| 2686 | +}); | |
| 2687 | + | |
| 363 | 2688 | 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; })(); } | |
| 2689 | + | |
| 2690 | +__webpack_require__(/*! core-js/modules/es6.regexp.split.js */ "../node_modules/core-js/modules/es6.regexp.split.js"); | |
| 2691 | + | |
| 2692 | +__webpack_require__(/*! core-js/modules/es6.string.starts-with.js */ "../node_modules/core-js/modules/es6.string.starts-with.js"); | |
| 2693 | + | |
| 2694 | +__webpack_require__(/*! core-js/modules/es6.string.includes.js */ "../node_modules/core-js/modules/es6.string.includes.js"); | |
| 2695 | + | |
| 2696 | +__webpack_require__(/*! core-js/modules/es7.array.includes.js */ "../node_modules/core-js/modules/es7.array.includes.js"); | |
| 2697 | + | |
| 2698 | +var _keys = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/keys */ "../node_modules/@babel/runtime-corejs2/core-js/object/keys.js")); | |
| 2699 | + | |
| 2700 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2701 | + | |
| 2702 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/assertThisInitialized */ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js")); | |
| 2703 | + | |
| 2704 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2705 | + | |
| 2706 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2707 | + | |
| 2708 | +var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime-corejs2/helpers/wrapNativeSuper.js")); | |
| 2709 | + | |
| 372 | 2710 | // TODO: Wrong location used as `elementorModules.ForceMethodImplementation(); should be` `elementorUtils.forceMethodImplementation()`; |
| 373 | -var ForceMethodImplementation = exports.ForceMethodImplementation = /*#__PURE__*/function (_Error) { | |
| 2711 | +var ForceMethodImplementation = /*#__PURE__*/function (_Error) { | |
| 2712 | + (0, _inherits2.default)(ForceMethodImplementation, _Error); | |
| 2713 | + | |
| 2714 | + var _super = (0, _createSuper2.default)(ForceMethodImplementation); | |
| 2715 | + | |
| 374 | 2716 | function ForceMethodImplementation() { |
| 375 | 2717 | var _this; |
| 2718 | + | |
| 376 | 2719 | var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 377 | 2720 | var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
| 378 | 2721 | (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]); | |
| 2722 | + _this = _super.call(this, "".concat(info.isStatic ? 'static ' : '').concat(info.fullName, "() should be implemented, please provide '").concat(info.functionName || info.fullName, "' functionality."), args); // Allow to pass custom properties to the error. | |
| 380 | 2723 | |
| 381 | - // Allow to pass custom properties to the error. | |
| 382 | - if (Object.keys(args).length) { | |
| 2724 | + if ((0, _keys.default)(args).length) { | |
| 383 | 2725 | // eslint-disable-next-line no-console |
| 384 | 2726 | console.error(args); |
| 385 | 2727 | } |
| 386 | - Error.captureStackTrace(_this, ForceMethodImplementation); | |
| 2728 | + | |
| 2729 | + Error.captureStackTrace((0, _assertThisInitialized2.default)(_this), ForceMethodImplementation); | |
| 387 | 2730 | return _this; |
| 388 | 2731 | } |
| 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) { | |
| 2732 | + | |
| 2733 | + return ForceMethodImplementation; | |
| 2734 | +}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 2735 | + | |
| 2736 | +exports.ForceMethodImplementation = ForceMethodImplementation; | |
| 2737 | + | |
| 2738 | +var _default = function _default(args) { | |
| 393 | 2739 | var stack = Error().stack, |
| 394 | - caller = stack.split('\n')[2].trim(), | |
| 395 | - callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], | |
| 396 | - info = {}; | |
| 2740 | + caller = stack.split('\n')[2].trim(), | |
| 2741 | + callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], | |
| 2742 | + info = {}; | |
| 397 | 2743 | info.functionName = callerName; |
| 398 | 2744 | info.fullName = callerName; |
| 2745 | + | |
| 399 | 2746 | if (info.functionName.includes('.')) { |
| 400 | 2747 | var parts = info.functionName.split('.'); |
| 401 | 2748 | info.className = parts[0]; |
| 402 | 2749 | info.functionName = parts[1]; |
| @@ -402,11 +2749,14 @@ | ||
| 402 | 2749 | info.functionName = parts[1]; |
| 403 | 2750 | } else { |
| 404 | 2751 | info.isStatic = true; |
| 405 | 2752 | } |
| 2753 | + | |
| 406 | 2754 | throw new ForceMethodImplementation(info, args); |
| 407 | 2755 | }; |
| 408 | 2756 | |
| 2757 | +exports["default"] = _default; | |
| 2758 | + | |
| 409 | 2759 | /***/ }), |
| 410 | 2760 | |
| 411 | 2761 | /***/ "../assets/dev/js/modules/imports/instance-type.js": |
| 412 | 2762 | /*!*********************************************************!*\ |
| @@ -416,35 +2766,53 @@ | ||
| 416 | 2766 | |
| 417 | 2767 | "use strict"; |
| 418 | 2768 | |
| 419 | 2769 | |
| 420 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 421 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2770 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2771 | + | |
| 2772 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2773 | + | |
| 2774 | +_Object$defineProperty(exports, "__esModule", { | |
| 422 | 2775 | value: true |
| 423 | -})); | |
| 2776 | +}); | |
| 2777 | + | |
| 424 | 2778 | 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 () { | |
| 2779 | + | |
| 2780 | +var _hasInstance = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/has-instance */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/has-instance.js")); | |
| 2781 | + | |
| 2782 | +var _isArray = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js")); | |
| 2783 | + | |
| 2784 | +__webpack_require__(/*! core-js/modules/es6.function.name.js */ "../node_modules/core-js/modules/es6.function.name.js"); | |
| 2785 | + | |
| 2786 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2787 | + | |
| 2788 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2789 | + | |
| 2790 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/get */ "../node_modules/@babel/runtime-corejs2/helpers/get.js")); | |
| 2791 | + | |
| 2792 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/getPrototypeOf */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js")); | |
| 2793 | + | |
| 2794 | +var InstanceType = /*#__PURE__*/function (_Symbol$hasInstance) { | |
| 431 | 2795 | function InstanceType() { |
| 432 | 2796 | var _this = this; |
| 2797 | + | |
| 433 | 2798 | (0, _classCallCheck2.default)(this, InstanceType); |
| 434 | 2799 | // Since anonymous classes sometimes do not get validated by babel, do it manually. |
| 435 | 2800 | var target = this instanceof InstanceType ? this.constructor : void 0; |
| 436 | 2801 | var prototypes = []; |
| 2802 | + | |
| 437 | 2803 | while (target.__proto__ && target.__proto__.name) { |
| 438 | 2804 | prototypes.push(target.__proto__); |
| 439 | 2805 | target = target.__proto__; |
| 440 | 2806 | } |
| 2807 | + | |
| 441 | 2808 | prototypes.reverse().forEach(function (proto) { |
| 442 | 2809 | return _this instanceof proto; |
| 443 | 2810 | }); |
| 444 | 2811 | } |
| 445 | - return (0, _createClass2.default)(InstanceType, null, [{ | |
| 446 | - key: Symbol.hasInstance, | |
| 2812 | + | |
| 2813 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 2814 | + key: _Symbol$hasInstance, | |
| 447 | 2815 | value: function value(target) { |
| 448 | 2816 | /** |
| 449 | 2817 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 450 | 2818 | * its give's opportunity to mange capabilities of instanceOf operator. |
| @@ -449,34 +2817,39 @@ | ||
| 449 | 2817 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 450 | 2818 | * its give's opportunity to mange capabilities of instanceOf operator. |
| 451 | 2819 | * saving current class each time will give option later to handle instanceOf manually. |
| 452 | 2820 | */ |
| 453 | - var result = _superPropGet(InstanceType, Symbol.hasInstance, this, 2)([target]); | |
| 2821 | + 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 | 2822 | |
| 455 | - // Act normal when validate a class, which does not have instance type. | |
| 456 | 2823 | if (target && !target.constructor.getInstanceType) { |
| 457 | 2824 | return result; |
| 458 | 2825 | } |
| 2826 | + | |
| 459 | 2827 | if (target) { |
| 460 | 2828 | if (!target.instanceTypes) { |
| 461 | 2829 | target.instanceTypes = []; |
| 462 | 2830 | } |
| 2831 | + | |
| 463 | 2832 | if (!result) { |
| 464 | 2833 | if (this.getInstanceType() === target.constructor.getInstanceType()) { |
| 465 | 2834 | result = true; |
| 466 | 2835 | } |
| 467 | 2836 | } |
| 2837 | + | |
| 468 | 2838 | if (result) { |
| 469 | 2839 | var name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); |
| 2840 | + | |
| 470 | 2841 | if (-1 === target.instanceTypes.indexOf(name)) { |
| 471 | 2842 | target.instanceTypes.push(name); |
| 472 | 2843 | } |
| 473 | 2844 | } |
| 474 | 2845 | } |
| 2846 | + | |
| 475 | 2847 | if (!result && target) { |
| 476 | 2848 | // Check if the given 'target', is instance of known types. |
| 477 | - result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 2849 | + result = target.instanceTypes && (0, _isArray.default)(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 478 | 2850 | } |
| 2851 | + | |
| 479 | 2852 | return result; |
| 480 | 2853 | } |
| 481 | 2854 | }, { |
| 482 | 2855 | key: "getInstanceType", |
| @@ -483,10 +2856,13 @@ | ||
| 483 | 2856 | value: function getInstanceType() { |
| 484 | 2857 | elementorModules.ForceMethodImplementation(); |
| 485 | 2858 | } |
| 486 | 2859 | }]); |
| 487 | -}(); | |
| 2860 | + return InstanceType; | |
| 2861 | +}(_hasInstance.default); | |
| 488 | 2862 | |
| 2863 | +exports["default"] = InstanceType; | |
| 2864 | + | |
| 489 | 2865 | /***/ }), |
| 490 | 2866 | |
| 491 | 2867 | /***/ "../assets/dev/js/modules/imports/module.js": |
| 492 | 2868 | /*!**************************************************!*\ |
| @@ -496,92 +2872,128 @@ | ||
| 496 | 2872 | |
| 497 | 2873 | "use strict"; |
| 498 | 2874 | |
| 499 | 2875 | |
| 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")); | |
| 2876 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2877 | + | |
| 2878 | +var _create = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/create */ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js")); | |
| 2879 | + | |
| 2880 | +var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")); | |
| 2881 | + | |
| 2882 | +__webpack_require__(/*! core-js/modules/es6.regexp.split.js */ "../node_modules/core-js/modules/es6.regexp.split.js"); | |
| 2883 | + | |
| 2884 | +__webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); | |
| 2885 | + | |
| 2886 | +__webpack_require__(/*! core-js/modules/es6.array.slice.js */ "../node_modules/core-js/modules/es6.array.slice.js"); | |
| 2887 | + | |
| 2888 | +__webpack_require__(/*! core-js/modules/es6.function.name.js */ "../node_modules/core-js/modules/es6.function.name.js"); | |
| 2889 | + | |
| 502 | 2890 | var Module = function Module() { |
| 503 | 2891 | var $ = jQuery, |
| 504 | - instanceParams = arguments, | |
| 505 | - self = this, | |
| 506 | - events = {}; | |
| 2892 | + instanceParams = arguments, | |
| 2893 | + self = this, | |
| 2894 | + events = {}; | |
| 507 | 2895 | var settings; |
| 2896 | + | |
| 508 | 2897 | var ensureClosureMethods = function ensureClosureMethods() { |
| 509 | 2898 | $.each(self, function (methodName) { |
| 510 | 2899 | var oldMethod = self[methodName]; |
| 2900 | + | |
| 511 | 2901 | if ('function' !== typeof oldMethod) { |
| 512 | 2902 | return; |
| 513 | 2903 | } |
| 2904 | + | |
| 514 | 2905 | self[methodName] = function () { |
| 515 | 2906 | return oldMethod.apply(self, arguments); |
| 516 | 2907 | }; |
| 517 | 2908 | }); |
| 518 | 2909 | }; |
| 2910 | + | |
| 519 | 2911 | var initSettings = function initSettings() { |
| 520 | 2912 | settings = self.getDefaultSettings(); |
| 521 | 2913 | var instanceSettings = instanceParams[0]; |
| 2914 | + | |
| 522 | 2915 | if (instanceSettings) { |
| 523 | 2916 | $.extend(true, settings, instanceSettings); |
| 524 | 2917 | } |
| 525 | 2918 | }; |
| 2919 | + | |
| 526 | 2920 | var init = function init() { |
| 527 | 2921 | self.__construct.apply(self, instanceParams); |
| 2922 | + | |
| 528 | 2923 | ensureClosureMethods(); |
| 529 | 2924 | initSettings(); |
| 530 | 2925 | self.trigger('init'); |
| 531 | 2926 | }; |
| 2927 | + | |
| 532 | 2928 | this.getItems = function (items, itemKey) { |
| 533 | 2929 | if (itemKey) { |
| 534 | 2930 | var keyStack = itemKey.split('.'), |
| 535 | - currentKey = keyStack.splice(0, 1); | |
| 2931 | + currentKey = keyStack.splice(0, 1); | |
| 2932 | + | |
| 536 | 2933 | if (!keyStack.length) { |
| 537 | 2934 | return items[currentKey]; |
| 538 | 2935 | } |
| 2936 | + | |
| 539 | 2937 | if (!items[currentKey]) { |
| 540 | 2938 | return; |
| 541 | 2939 | } |
| 2940 | + | |
| 542 | 2941 | return this.getItems(items[currentKey], keyStack.join('.')); |
| 543 | 2942 | } |
| 2943 | + | |
| 544 | 2944 | return items; |
| 545 | 2945 | }; |
| 2946 | + | |
| 546 | 2947 | this.getSettings = function (setting) { |
| 547 | 2948 | return this.getItems(settings, setting); |
| 548 | 2949 | }; |
| 2950 | + | |
| 549 | 2951 | this.setSettings = function (settingKey, value, settingsContainer) { |
| 550 | 2952 | if (!settingsContainer) { |
| 551 | 2953 | settingsContainer = settings; |
| 552 | 2954 | } |
| 2955 | + | |
| 553 | 2956 | if ('object' === (0, _typeof2.default)(settingKey)) { |
| 554 | 2957 | $.extend(settingsContainer, settingKey); |
| 555 | 2958 | return self; |
| 556 | 2959 | } |
| 2960 | + | |
| 557 | 2961 | var keyStack = settingKey.split('.'), |
| 558 | - currentKey = keyStack.splice(0, 1); | |
| 2962 | + currentKey = keyStack.splice(0, 1); | |
| 2963 | + | |
| 559 | 2964 | if (!keyStack.length) { |
| 560 | 2965 | settingsContainer[currentKey] = value; |
| 561 | 2966 | return self; |
| 562 | 2967 | } |
| 2968 | + | |
| 563 | 2969 | if (!settingsContainer[currentKey]) { |
| 564 | 2970 | settingsContainer[currentKey] = {}; |
| 565 | 2971 | } |
| 2972 | + | |
| 566 | 2973 | return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]); |
| 567 | 2974 | }; |
| 2975 | + | |
| 568 | 2976 | this.getErrorMessage = function (type, functionName) { |
| 569 | 2977 | var message; |
| 2978 | + | |
| 570 | 2979 | switch (type) { |
| 571 | 2980 | case 'forceMethodImplementation': |
| 572 | 2981 | message = "The method '".concat(functionName, "' must to be implemented in the inheritor child."); |
| 573 | 2982 | break; |
| 2983 | + | |
| 574 | 2984 | default: |
| 575 | 2985 | message = 'An error occurs'; |
| 576 | 2986 | } |
| 2987 | + | |
| 577 | 2988 | return message; |
| 578 | - }; | |
| 2989 | + }; // TODO: This function should be deleted ?. | |
| 579 | 2990 | |
| 580 | - // TODO: This function should be deleted ?. | |
| 2991 | + | |
| 581 | 2992 | this.forceMethodImplementation = function (functionName) { |
| 582 | 2993 | throw new Error(this.getErrorMessage('forceMethodImplementation', functionName)); |
| 583 | 2994 | }; |
| 2995 | + | |
| 584 | 2996 | this.on = function (eventName, callback) { |
| 585 | 2997 | if ('object' === (0, _typeof2.default)(eventName)) { |
| 586 | 2998 | $.each(eventName, function (singleEventName) { |
| 587 | 2999 | self.on(singleEventName, this); |
| @@ -587,72 +2999,91 @@ | ||
| 587 | 2999 | self.on(singleEventName, this); |
| 588 | 3000 | }); |
| 589 | 3001 | return self; |
| 590 | 3002 | } |
| 3003 | + | |
| 591 | 3004 | var eventNames = eventName.split(' '); |
| 592 | 3005 | eventNames.forEach(function (singleEventName) { |
| 593 | 3006 | if (!events[singleEventName]) { |
| 594 | 3007 | events[singleEventName] = []; |
| 595 | 3008 | } |
| 3009 | + | |
| 596 | 3010 | events[singleEventName].push(callback); |
| 597 | 3011 | }); |
| 598 | 3012 | return self; |
| 599 | 3013 | }; |
| 3014 | + | |
| 600 | 3015 | this.off = function (eventName, callback) { |
| 601 | 3016 | if (!events[eventName]) { |
| 602 | 3017 | return self; |
| 603 | 3018 | } |
| 3019 | + | |
| 604 | 3020 | if (!callback) { |
| 605 | 3021 | delete events[eventName]; |
| 606 | 3022 | return self; |
| 607 | 3023 | } |
| 3024 | + | |
| 608 | 3025 | var callbackIndex = events[eventName].indexOf(callback); |
| 3026 | + | |
| 609 | 3027 | if (-1 !== callbackIndex) { |
| 610 | - delete events[eventName][callbackIndex]; | |
| 3028 | + delete events[eventName][callbackIndex]; // Reset array index (for next off on same event). | |
| 611 | 3029 | |
| 612 | - // Reset array index (for next off on same event). | |
| 613 | 3030 | events[eventName] = events[eventName].filter(function (val) { |
| 614 | 3031 | return val; |
| 615 | 3032 | }); |
| 616 | 3033 | } |
| 3034 | + | |
| 617 | 3035 | return self; |
| 618 | 3036 | }; |
| 3037 | + | |
| 619 | 3038 | this.trigger = function (eventName) { |
| 620 | 3039 | var methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1), |
| 621 | - params = Array.prototype.slice.call(arguments, 1); | |
| 3040 | + params = Array.prototype.slice.call(arguments, 1); | |
| 3041 | + | |
| 622 | 3042 | if (self[methodName]) { |
| 623 | 3043 | self[methodName].apply(self, params); |
| 624 | 3044 | } |
| 3045 | + | |
| 625 | 3046 | var callbacks = events[eventName]; |
| 3047 | + | |
| 626 | 3048 | if (!callbacks) { |
| 627 | 3049 | return self; |
| 628 | 3050 | } |
| 3051 | + | |
| 629 | 3052 | $.each(callbacks, function (index, callback) { |
| 630 | 3053 | callback.apply(self, params); |
| 631 | 3054 | }); |
| 632 | 3055 | return self; |
| 633 | 3056 | }; |
| 3057 | + | |
| 634 | 3058 | init(); |
| 635 | 3059 | }; |
| 3060 | + | |
| 636 | 3061 | Module.prototype.__construct = function () {}; |
| 3062 | + | |
| 637 | 3063 | Module.prototype.getDefaultSettings = function () { |
| 638 | 3064 | return {}; |
| 639 | 3065 | }; |
| 3066 | + | |
| 640 | 3067 | Module.prototype.getConstructorID = function () { |
| 641 | 3068 | return this.constructor.name; |
| 642 | 3069 | }; |
| 3070 | + | |
| 643 | 3071 | Module.extend = function (properties) { |
| 644 | 3072 | var $ = jQuery, |
| 645 | - parent = this; | |
| 3073 | + parent = this; | |
| 3074 | + | |
| 646 | 3075 | var child = function child() { |
| 647 | 3076 | return parent.apply(this, arguments); |
| 648 | 3077 | }; |
| 3078 | + | |
| 649 | 3079 | $.extend(child, parent); |
| 650 | - child.prototype = Object.create($.extend({}, parent.prototype, properties)); | |
| 3080 | + child.prototype = (0, _create.default)($.extend({}, parent.prototype, properties)); | |
| 651 | 3081 | child.prototype.constructor = child; |
| 652 | 3082 | child.__super__ = parent.prototype; |
| 653 | 3083 | return child; |
| 654 | 3084 | }; |
| 3085 | + | |
| 655 | 3086 | module.exports = Module; |
| 656 | 3087 | |
| 657 | 3088 | /***/ }), |
| 658 | 3089 | |
| @@ -659,20 +3090,20 @@ | ||
| 659 | 3090 | /***/ "../assets/dev/js/modules/imports/utils/masonry.js": |
| 660 | 3091 | /*!*********************************************************!*\ |
| 661 | 3092 | !*** ../assets/dev/js/modules/imports/utils/masonry.js ***! |
| 662 | 3093 | \*********************************************************/ |
| 663 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3094 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 664 | 3095 | |
| 665 | 3096 | "use strict"; |
| 666 | 3097 | |
| 667 | 3098 | |
| 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; | |
| 3099 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3100 | + | |
| 3101 | +var _parseInt2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/parse-int */ "../node_modules/@babel/runtime-corejs2/core-js/parse-int.js")); | |
| 3102 | + | |
| 673 | 3103 | var _viewModule = _interopRequireDefault(__webpack_require__(/*! ../view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 674 | -var _default = exports["default"] = _viewModule.default.extend({ | |
| 3104 | + | |
| 3105 | +module.exports = _viewModule.default.extend({ | |
| 675 | 3106 | getDefaultSettings: function getDefaultSettings() { |
| 676 | 3107 | return { |
| 677 | 3108 | container: null, |
| 678 | 3109 | items: null, |
| @@ -687,21 +3118,22 @@ | ||
| 687 | 3118 | }; |
| 688 | 3119 | }, |
| 689 | 3120 | run: function run() { |
| 690 | 3121 | 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); | |
| 3122 | + distanceFromTop = this.elements.$container.position().top, | |
| 3123 | + settings = this.getSettings(), | |
| 3124 | + columnsCount = settings.columnsCount; | |
| 3125 | + distanceFromTop += (0, _parseInt2.default)(this.elements.$container.css('margin-top'), 10); | |
| 695 | 3126 | this.elements.$items.each(function (index) { |
| 696 | 3127 | var row = Math.floor(index / columnsCount), |
| 697 | - $item = jQuery(this), | |
| 698 | - itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; | |
| 3128 | + $item = jQuery(this), | |
| 3129 | + itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween; | |
| 3130 | + | |
| 699 | 3131 | if (row) { |
| 700 | 3132 | var itemPosition = $item.position(), |
| 701 | - indexAtRow = index % columnsCount, | |
| 702 | - pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; | |
| 703 | - pullHeight -= parseInt($item.css('margin-top'), 10); | |
| 3133 | + indexAtRow = index % columnsCount, | |
| 3134 | + pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow]; | |
| 3135 | + pullHeight -= (0, _parseInt2.default)($item.css('margin-top'), 10); | |
| 704 | 3136 | pullHeight *= -1; |
| 705 | 3137 | $item.css('margin-top', pullHeight + 'px'); |
| 706 | 3138 | heights[indexAtRow] += itemHeight; |
| 707 | 3139 | } else { |
| @@ -721,58 +3153,72 @@ | ||
| 721 | 3153 | |
| 722 | 3154 | "use strict"; |
| 723 | 3155 | |
| 724 | 3156 | |
| 725 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 726 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3157 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3158 | + | |
| 3159 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3160 | + | |
| 3161 | +_Object$defineProperty(exports, "__esModule", { | |
| 727 | 3162 | value: true |
| 728 | -})); | |
| 3163 | +}); | |
| 3164 | + | |
| 729 | 3165 | 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")); | |
| 3166 | + | |
| 3167 | +var _parseFloat2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/parse-float */ "../node_modules/@babel/runtime-corejs2/core-js/parse-float.js")); | |
| 3168 | + | |
| 3169 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3170 | + | |
| 3171 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3172 | + | |
| 732 | 3173 | // Moved from elementor pro: 'assets/dev/js/frontend/utils' |
| 733 | -var Scroll = exports["default"] = /*#__PURE__*/function () { | |
| 3174 | +var Scroll = /*#__PURE__*/function () { | |
| 734 | 3175 | function Scroll() { |
| 735 | 3176 | (0, _classCallCheck2.default)(this, Scroll); |
| 736 | 3177 | } |
| 737 | - return (0, _createClass2.default)(Scroll, null, [{ | |
| 3178 | + | |
| 3179 | + (0, _createClass2.default)(Scroll, null, [{ | |
| 738 | 3180 | key: "scrollObserver", |
| 739 | 3181 | value: |
| 740 | 3182 | /** |
| 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 | |
| 3183 | + * @param {object} obj | |
| 3184 | + * @param {number} obj.sensitivity - Value between 0-100 - Will determine the intersection trigger points on the element | |
| 3185 | + * @param {function} obj.callback - Will be triggered on each intersection point between the element and the viewport top/bottom | |
| 3186 | + * @param {string} obj.offset - Offset between the element intersection points and the viewport, written like in CSS: '-50% 0 -25%' | |
| 3187 | + * @param {HTMLElement} obj.root - The element that the events will be relative to, if 'null' will be relative to the viewport | |
| 746 | 3188 | */ |
| 747 | 3189 | function scrollObserver(obj) { |
| 748 | - var lastScrollY = 0; | |
| 3190 | + var lastScrollY = 0; // Generating threshholds points along the animation height | |
| 3191 | + // More threshholds points = more trigger points of the callback | |
| 749 | 3192 | |
| 750 | - // Generating thresholds points along the animation height | |
| 751 | - // More thresholds points = more trigger points of the callback | |
| 752 | - var buildThresholds = function buildThresholds() { | |
| 3193 | + var buildThreshholds = function buildThreshholds() { | |
| 753 | 3194 | var sensitivityPercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; |
| 754 | - var thresholds = []; | |
| 3195 | + var threshholds = []; | |
| 3196 | + | |
| 755 | 3197 | if (sensitivityPercentage > 0 && sensitivityPercentage <= 100) { |
| 756 | 3198 | var increment = 100 / sensitivityPercentage; |
| 3199 | + | |
| 757 | 3200 | for (var i = 0; i <= 100; i += increment) { |
| 758 | - thresholds.push(i / 100); | |
| 3201 | + threshholds.push(i / 100); | |
| 759 | 3202 | } |
| 760 | 3203 | } else { |
| 761 | - thresholds.push(0); | |
| 3204 | + threshholds.push(0); | |
| 762 | 3205 | } |
| 763 | - return thresholds; | |
| 3206 | + | |
| 3207 | + return threshholds; | |
| 764 | 3208 | }; |
| 3209 | + | |
| 765 | 3210 | var options = { |
| 766 | 3211 | root: obj.root || null, |
| 767 | 3212 | rootMargin: obj.offset || '0px', |
| 768 | - threshold: buildThresholds(obj.sensitivity) | |
| 3213 | + threshold: buildThreshholds(obj.sensitivity) | |
| 769 | 3214 | }; |
| 3215 | + | |
| 770 | 3216 | function handleIntersect(entries) { |
| 771 | 3217 | 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))); | |
| 3218 | + isInViewport = entries[0].isIntersecting, | |
| 3219 | + intersectionScrollDirection = currentScrollY < lastScrollY ? 'down' : 'up', | |
| 3220 | + scrollPercentage = Math.abs((0, _parseFloat2.default)((entries[0].intersectionRatio * 100).toFixed(2))); | |
| 775 | 3221 | obj.callback({ |
| 776 | 3222 | sensitivity: obj.sensitivity, |
| 777 | 3223 | isInViewport: isInViewport, |
| 778 | 3224 | scrollPercentage: scrollPercentage, |
| @@ -779,40 +3225,41 @@ | ||
| 779 | 3225 | intersectionScrollDirection: intersectionScrollDirection |
| 780 | 3226 | }); |
| 781 | 3227 | lastScrollY = currentScrollY; |
| 782 | 3228 | } |
| 3229 | + | |
| 783 | 3230 | return new IntersectionObserver(handleIntersect, options); |
| 784 | 3231 | } |
| 785 | - | |
| 786 | 3232 | /** |
| 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 | |
| 3233 | + * @param {jQuery Element} $element | |
| 3234 | + * @param {object} offsetObj | |
| 3235 | + * @param {number} offsetObj.start - Offset start value in percentages | |
| 3236 | + * @param {number} offsetObj.end - Offset end value in percentages | |
| 791 | 3237 | */ |
| 3238 | + | |
| 792 | 3239 | }, { |
| 793 | 3240 | key: "getElementViewportPercentage", |
| 794 | 3241 | value: function getElementViewportPercentage($element) { |
| 795 | 3242 | var offsetObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
| 796 | 3243 | 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)); | |
| 3244 | + offsetStart = offsetObj.start || 0, | |
| 3245 | + offsetEnd = offsetObj.end || 0, | |
| 3246 | + windowStartOffset = window.innerHeight * offsetStart / 100, | |
| 3247 | + windowEndOffset = window.innerHeight * offsetEnd / 100, | |
| 3248 | + y1 = elementOffset.top - window.innerHeight, | |
| 3249 | + y2 = elementOffset.top + windowStartOffset + $element.height(), | |
| 3250 | + startPosition = 0 - y1 + windowStartOffset, | |
| 3251 | + endPosition = y2 - y1 + windowEndOffset, | |
| 3252 | + percent = Math.max(0, Math.min(startPosition / endPosition, 1)); | |
| 3253 | + return (0, _parseFloat2.default)((percent * 100).toFixed(2)); | |
| 807 | 3254 | } |
| 808 | - | |
| 809 | 3255 | /** |
| 810 | - * @param {Object} offsetObj | |
| 3256 | + * @param {object} offsetObj | |
| 811 | 3257 | * @param {number} offsetObj.start - Offset start value in percentages |
| 812 | - * @param {number} offsetObj.end - Offset end value in percentages | |
| 3258 | + * @param {number} offsetObj.end - Offset end value in percentages | |
| 813 | 3259 | * @param {number} limitPageHeight - Will limit the page height calculation |
| 814 | 3260 | */ |
| 3261 | + | |
| 815 | 3262 | }, { |
| 816 | 3263 | key: "getPageScrollPercentage", |
| 817 | 3264 | value: function getPageScrollPercentage() { |
| 818 | 3265 | var offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -817,18 +3264,21 @@ | ||
| 817 | 3264 | value: function getPageScrollPercentage() { |
| 818 | 3265 | var offsetObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 819 | 3266 | var limitPageHeight = arguments.length > 1 ? arguments[1] : undefined; |
| 820 | 3267 | 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; | |
| 3268 | + offsetEnd = offsetObj.end || 0, | |
| 3269 | + initialPageHeight = limitPageHeight || document.documentElement.scrollHeight - document.documentElement.clientHeight, | |
| 3270 | + heightOffset = initialPageHeight * offsetStart / 100, | |
| 3271 | + pageRange = initialPageHeight + heightOffset + initialPageHeight * offsetEnd / 100, | |
| 3272 | + scrollPos = document.documentElement.scrollTop + document.body.scrollTop + heightOffset; | |
| 826 | 3273 | return scrollPos / pageRange * 100; |
| 827 | 3274 | } |
| 828 | 3275 | }]); |
| 3276 | + return Scroll; | |
| 829 | 3277 | }(); |
| 830 | 3278 | |
| 3279 | +exports["default"] = Scroll; | |
| 3280 | + | |
| 831 | 3281 | /***/ }), |
| 832 | 3282 | |
| 833 | 3283 | /***/ "../assets/dev/js/modules/imports/view-module.js": |
| 834 | 3284 | /*!*******************************************************!*\ |
| @@ -833,20 +3283,18 @@ | ||
| 833 | 3283 | /***/ "../assets/dev/js/modules/imports/view-module.js": |
| 834 | 3284 | /*!*******************************************************!*\ |
| 835 | 3285 | !*** ../assets/dev/js/modules/imports/view-module.js ***! |
| 836 | 3286 | \*******************************************************/ |
| 837 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3287 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 838 | 3288 | |
| 839 | 3289 | "use strict"; |
| 840 | 3290 | |
| 841 | 3291 | |
| 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; | |
| 3292 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3293 | + | |
| 847 | 3294 | var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../assets/dev/js/modules/imports/module.js")); |
| 848 | -var _default = exports["default"] = _module.default.extend({ | |
| 3295 | + | |
| 3296 | +module.exports = _module.default.extend({ | |
| 849 | 3297 | elements: null, |
| 850 | 3298 | getDefaultElements: function getDefaultElements() { |
| 851 | 3299 | return {}; |
| 852 | 3300 | }, |
| @@ -870,22 +3318,31 @@ | ||
| 870 | 3318 | |
| 871 | 3319 | "use strict"; |
| 872 | 3320 | |
| 873 | 3321 | |
| 874 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 875 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3322 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3323 | + | |
| 3324 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3325 | + | |
| 3326 | +_Object$defineProperty(exports, "__esModule", { | |
| 876 | 3327 | value: true |
| 877 | -})); | |
| 3328 | +}); | |
| 3329 | + | |
| 878 | 3330 | exports["default"] = void 0; |
| 3331 | + | |
| 879 | 3332 | var _module = _interopRequireDefault(__webpack_require__(/*! ./imports/module */ "../assets/dev/js/modules/imports/module.js")); |
| 3333 | + | |
| 880 | 3334 | var _viewModule = _interopRequireDefault(__webpack_require__(/*! ./imports/view-module */ "../assets/dev/js/modules/imports/view-module.js")); |
| 3335 | + | |
| 881 | 3336 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! ./imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 3337 | + | |
| 882 | 3338 | var _masonry = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/masonry */ "../assets/dev/js/modules/imports/utils/masonry.js")); |
| 3339 | + | |
| 883 | 3340 | var _scroll = _interopRequireDefault(__webpack_require__(/*! ./imports/utils/scroll */ "../assets/dev/js/modules/imports/utils/scroll.js")); |
| 3341 | + | |
| 884 | 3342 | 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 = { | |
| 3343 | + | |
| 3344 | +var _default = window.elementorModules = { | |
| 888 | 3345 | Module: _module.default, |
| 889 | 3346 | ViewModule: _viewModule.default, |
| 890 | 3347 | ArgsObject: _argsObject.default, |
| 891 | 3348 | ForceMethodImplementation: _forceMethodImplementation.default, |
| @@ -891,21 +3348,13 @@ | ||
| 891 | 3348 | ForceMethodImplementation: _forceMethodImplementation.default, |
| 892 | 3349 | utils: { |
| 893 | 3350 | Masonry: _masonry.default, |
| 894 | 3351 | Scroll: _scroll.default |
| 895 | - }, | |
| 896 | - importExport: { | |
| 897 | - createGetInitialState: _templateRegistryHelpers.createGetInitialState, | |
| 898 | - customizationDialogsRegistry: _customizationDialogs.customizationDialogsRegistry | |
| 899 | 3352 | } |
| 900 | 3353 | }; |
| 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 | 3354 | |
| 3355 | +exports["default"] = _default; | |
| 3356 | + | |
| 908 | 3357 | /***/ }), |
| 909 | 3358 | |
| 910 | 3359 | /***/ "../core/common/assets/js/views/modal/header.js": |
| 911 | 3360 | /*!******************************************************!*\ |
| @@ -915,32 +3364,37 @@ | ||
| 915 | 3364 | |
| 916 | 3365 | "use strict"; |
| 917 | 3366 | |
| 918 | 3367 | |
| 919 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 920 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3368 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3369 | + | |
| 3370 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3371 | + | |
| 3372 | +_Object$defineProperty(exports, "__esModule", { | |
| 921 | 3373 | value: true |
| 922 | -})); | |
| 3374 | +}); | |
| 3375 | + | |
| 923 | 3376 | 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) { | |
| 3377 | + | |
| 3378 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3379 | + | |
| 3380 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3381 | + | |
| 3382 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3383 | + | |
| 3384 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3385 | + | |
| 3386 | +var _default = /*#__PURE__*/function (_Marionette$LayoutVie) { | |
| 3387 | + (0, _inherits2.default)(_default, _Marionette$LayoutVie); | |
| 3388 | + | |
| 3389 | + var _super = (0, _createSuper2.default)(_default); | |
| 3390 | + | |
| 932 | 3391 | function _default() { |
| 933 | 3392 | (0, _classCallCheck2.default)(this, _default); |
| 934 | - return _callSuper(this, _default, arguments); | |
| 3393 | + return _super.apply(this, arguments); | |
| 935 | 3394 | } |
| 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 | - }, { | |
| 3395 | + | |
| 3396 | + (0, _createClass2.default)(_default, [{ | |
| 943 | 3397 | key: "className", |
| 944 | 3398 | value: function className() { |
| 945 | 3399 | return 'elementor-templates-modal__header'; |
| 946 | 3400 | } |
| @@ -972,31 +3426,8 @@ | ||
| 972 | 3426 | 'click @ui.closeModal': 'onCloseModalClick' |
| 973 | 3427 | }; |
| 974 | 3428 | } |
| 975 | 3429 | }, { |
| 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 | 3430 | key: "templateHelpers", |
| 1000 | 3431 | value: function templateHelpers() { |
| 1001 | 3432 | return { |
| 1002 | 3433 | closeType: this.getOption('closeType') |
| @@ -1005,37 +3436,15 @@ | ||
| 1005 | 3436 | }, { |
| 1006 | 3437 | key: "onCloseModalClick", |
| 1007 | 3438 | value: function onCloseModalClick() { |
| 1008 | 3439 | 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 | 3440 | } |
| 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 | 3441 | }]); |
| 3442 | + return _default; | |
| 1036 | 3443 | }(Marionette.LayoutView); |
| 1037 | 3444 | |
| 3445 | +exports["default"] = _default; | |
| 3446 | + | |
| 1038 | 3447 | /***/ }), |
| 1039 | 3448 | |
| 1040 | 3449 | /***/ "../core/common/assets/js/views/modal/layout.js": |
| 1041 | 3450 | /*!******************************************************!*\ |
| @@ -1045,30 +3454,43 @@ | ||
| 1045 | 3454 | |
| 1046 | 3455 | "use strict"; |
| 1047 | 3456 | |
| 1048 | 3457 | |
| 1049 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1050 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3458 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3459 | + | |
| 3460 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3461 | + | |
| 3462 | +_Object$defineProperty(exports, "__esModule", { | |
| 1051 | 3463 | value: true |
| 1052 | -})); | |
| 3464 | +}); | |
| 3465 | + | |
| 1053 | 3466 | 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")); | |
| 3467 | + | |
| 3468 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3469 | + | |
| 3470 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3471 | + | |
| 3472 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3473 | + | |
| 3474 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3475 | + | |
| 1059 | 3476 | var _header = _interopRequireDefault(__webpack_require__(/*! ./header */ "../core/common/assets/js/views/modal/header.js")); |
| 3477 | + | |
| 1060 | 3478 | var _logo = _interopRequireDefault(__webpack_require__(/*! ./logo */ "../core/common/assets/js/views/modal/logo.js")); |
| 3479 | + | |
| 1061 | 3480 | 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) { | |
| 3481 | + | |
| 3482 | +var _default = /*#__PURE__*/function (_Marionette$LayoutVie) { | |
| 3483 | + (0, _inherits2.default)(_default, _Marionette$LayoutVie); | |
| 3484 | + | |
| 3485 | + var _super = (0, _createSuper2.default)(_default); | |
| 3486 | + | |
| 1065 | 3487 | function _default() { |
| 1066 | 3488 | (0, _classCallCheck2.default)(this, _default); |
| 1067 | - return _callSuper(this, _default, arguments); | |
| 3489 | + return _super.apply(this, arguments); | |
| 1068 | 3490 | } |
| 1069 | - (0, _inherits2.default)(_default, _Marionette$LayoutVie); | |
| 1070 | - return (0, _createClass2.default)(_default, [{ | |
| 3491 | + | |
| 3492 | + (0, _createClass2.default)(_default, [{ | |
| 1071 | 3493 | key: "el", |
| 1072 | 3494 | value: function el() { |
| 1073 | 3495 | return this.getModal().getElements('widget'); |
| 1074 | 3496 | } |
| @@ -1091,8 +3513,9 @@ | ||
| 1091 | 3513 | value: function getModal() { |
| 1092 | 3514 | if (!this.modal) { |
| 1093 | 3515 | this.initModal(); |
| 1094 | 3516 | } |
| 3517 | + | |
| 1095 | 3518 | return this.modal; |
| 1096 | 3519 | } |
| 1097 | 3520 | }, { |
| 1098 | 3521 | key: "initModal", |
| @@ -1108,8 +3531,9 @@ | ||
| 1108 | 3531 | }; |
| 1109 | 3532 | jQuery.extend(true, modalOptions, this.getModalOptions()); |
| 1110 | 3533 | this.modal = elementorCommon.dialogsManager.createWidget('lightbox', modalOptions); |
| 1111 | 3534 | this.modal.getElements('message').append(this.modal.addElement('content'), this.modal.addElement('loading')); |
| 3535 | + | |
| 1112 | 3536 | if (modalOptions.draggable) { |
| 1113 | 3537 | this.draggableModal(); |
| 1114 | 3538 | } |
| 1115 | 3539 | } |
| @@ -1175,10 +3599,13 @@ | ||
| 1175 | 3599 | value: function showLogo() { |
| 1176 | 3600 | this.getHeaderView().logoArea.show(new _logo.default(this.getLogoOptions())); |
| 1177 | 3601 | } |
| 1178 | 3602 | }]); |
| 3603 | + return _default; | |
| 1179 | 3604 | }(Marionette.LayoutView); |
| 1180 | 3605 | |
| 3606 | +exports["default"] = _default; | |
| 3607 | + | |
| 1181 | 3608 | /***/ }), |
| 1182 | 3609 | |
| 1183 | 3610 | /***/ "../core/common/assets/js/views/modal/loading.js": |
| 1184 | 3611 | /*!*******************************************************!*\ |
| @@ -1188,27 +3615,37 @@ | ||
| 1188 | 3615 | |
| 1189 | 3616 | "use strict"; |
| 1190 | 3617 | |
| 1191 | 3618 | |
| 1192 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1193 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3619 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3620 | + | |
| 3621 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3622 | + | |
| 3623 | +_Object$defineProperty(exports, "__esModule", { | |
| 1194 | 3624 | value: true |
| 1195 | -})); | |
| 3625 | +}); | |
| 3626 | + | |
| 1196 | 3627 | 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) { | |
| 3628 | + | |
| 3629 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3630 | + | |
| 3631 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3632 | + | |
| 3633 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3634 | + | |
| 3635 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3636 | + | |
| 3637 | +var _default = /*#__PURE__*/function (_Marionette$ItemView) { | |
| 3638 | + (0, _inherits2.default)(_default, _Marionette$ItemView); | |
| 3639 | + | |
| 3640 | + var _super = (0, _createSuper2.default)(_default); | |
| 3641 | + | |
| 1205 | 3642 | function _default() { |
| 1206 | 3643 | (0, _classCallCheck2.default)(this, _default); |
| 1207 | - return _callSuper(this, _default, arguments); | |
| 3644 | + return _super.apply(this, arguments); | |
| 1208 | 3645 | } |
| 1209 | - (0, _inherits2.default)(_default, _Marionette$ItemView); | |
| 1210 | - return (0, _createClass2.default)(_default, [{ | |
| 3646 | + | |
| 3647 | + (0, _createClass2.default)(_default, [{ | |
| 1211 | 3648 | key: "id", |
| 1212 | 3649 | value: function id() { |
| 1213 | 3650 | return 'elementor-template-library-loading'; |
| 1214 | 3651 | } |
| @@ -1217,10 +3654,13 @@ | ||
| 1217 | 3654 | value: function getTemplate() { |
| 1218 | 3655 | return '#tmpl-elementor-template-library-loading'; |
| 1219 | 3656 | } |
| 1220 | 3657 | }]); |
| 3658 | + return _default; | |
| 1221 | 3659 | }(Marionette.ItemView); |
| 1222 | 3660 | |
| 3661 | +exports["default"] = _default; | |
| 3662 | + | |
| 1223 | 3663 | /***/ }), |
| 1224 | 3664 | |
| 1225 | 3665 | /***/ "../core/common/assets/js/views/modal/logo.js": |
| 1226 | 3666 | /*!****************************************************!*\ |
| @@ -1230,27 +3670,37 @@ | ||
| 1230 | 3670 | |
| 1231 | 3671 | "use strict"; |
| 1232 | 3672 | |
| 1233 | 3673 | |
| 1234 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1235 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3674 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3675 | + | |
| 3676 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3677 | + | |
| 3678 | +_Object$defineProperty(exports, "__esModule", { | |
| 1236 | 3679 | value: true |
| 1237 | -})); | |
| 3680 | +}); | |
| 3681 | + | |
| 1238 | 3682 | 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) { | |
| 3683 | + | |
| 3684 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3685 | + | |
| 3686 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3687 | + | |
| 3688 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3689 | + | |
| 3690 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3691 | + | |
| 3692 | +var _default = /*#__PURE__*/function (_Marionette$ItemView) { | |
| 3693 | + (0, _inherits2.default)(_default, _Marionette$ItemView); | |
| 3694 | + | |
| 3695 | + var _super = (0, _createSuper2.default)(_default); | |
| 3696 | + | |
| 1247 | 3697 | function _default() { |
| 1248 | 3698 | (0, _classCallCheck2.default)(this, _default); |
| 1249 | - return _callSuper(this, _default, arguments); | |
| 3699 | + return _super.apply(this, arguments); | |
| 1250 | 3700 | } |
| 1251 | - (0, _inherits2.default)(_default, _Marionette$ItemView); | |
| 1252 | - return (0, _createClass2.default)(_default, [{ | |
| 3701 | + | |
| 3702 | + (0, _createClass2.default)(_default, [{ | |
| 1253 | 3703 | key: "getTemplate", |
| 1254 | 3704 | value: function getTemplate() { |
| 1255 | 3705 | return '#tmpl-elementor-templates-modal__header__logo'; |
| 1256 | 3706 | } |
| @@ -1276,15 +3726,19 @@ | ||
| 1276 | 3726 | }, { |
| 1277 | 3727 | key: "onClick", |
| 1278 | 3728 | value: function onClick() { |
| 1279 | 3729 | var clickCallback = this.getOption('click'); |
| 3730 | + | |
| 1280 | 3731 | if (clickCallback) { |
| 1281 | 3732 | clickCallback(); |
| 1282 | 3733 | } |
| 1283 | 3734 | } |
| 1284 | 3735 | }]); |
| 3736 | + return _default; | |
| 1285 | 3737 | }(Marionette.ItemView); |
| 1286 | 3738 | |
| 3739 | +exports["default"] = _default; | |
| 3740 | + | |
| 1287 | 3741 | /***/ }), |
| 1288 | 3742 | |
| 1289 | 3743 | /***/ "../modules/web-cli/assets/js/modules/command-base.js": |
| 1290 | 3744 | /*!************************************************************!*\ |
| @@ -1294,32 +3748,42 @@ | ||
| 1294 | 3748 | |
| 1295 | 3749 | "use strict"; |
| 1296 | 3750 | |
| 1297 | 3751 | |
| 1298 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1299 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3752 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3753 | + | |
| 3754 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3755 | + | |
| 3756 | +_Object$defineProperty(exports, "__esModule", { | |
| 1300 | 3757 | value: true |
| 1301 | -})); | |
| 3758 | +}); | |
| 3759 | + | |
| 1302 | 3760 | 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")); | |
| 3761 | + | |
| 3762 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3763 | + | |
| 3764 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3765 | + | |
| 3766 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3767 | + | |
| 3768 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3769 | + | |
| 1308 | 3770 | 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; })(); } | |
| 3771 | + | |
| 1312 | 3772 | /** |
| 1313 | 3773 | * @name $e.modules.CommandBase |
| 1314 | 3774 | */ |
| 1315 | -var CommandBase = exports["default"] = /*#__PURE__*/function (_CommandInfra) { | |
| 3775 | +var CommandBase = /*#__PURE__*/function (_CommandInfra) { | |
| 3776 | + (0, _inherits2.default)(CommandBase, _CommandInfra); | |
| 3777 | + | |
| 3778 | + var _super = (0, _createSuper2.default)(CommandBase); | |
| 3779 | + | |
| 1316 | 3780 | function CommandBase() { |
| 1317 | 3781 | (0, _classCallCheck2.default)(this, CommandBase); |
| 1318 | - return _callSuper(this, CommandBase, arguments); | |
| 3782 | + return _super.apply(this, arguments); | |
| 1319 | 3783 | } |
| 1320 | - (0, _inherits2.default)(CommandBase, _CommandInfra); | |
| 1321 | - return (0, _createClass2.default)(CommandBase, [{ | |
| 3784 | + | |
| 3785 | + (0, _createClass2.default)(CommandBase, [{ | |
| 1322 | 3786 | key: "onBeforeRun", |
| 1323 | 3787 | value: function onBeforeRun() { |
| 1324 | 3788 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1325 | 3789 | $e.hooks.runUIBefore(this.command, args); |
| @@ -1341,9 +3805,9 @@ | ||
| 1341 | 3805 | key: "onAfterApply", |
| 1342 | 3806 | value: function onAfterApply() { |
| 1343 | 3807 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1344 | 3808 | var result = arguments.length > 1 ? arguments[1] : undefined; |
| 1345 | - return $e.hooks.runDataAfter(this.command, args, result); | |
| 3809 | + $e.hooks.runDataAfter(this.command, args, result); | |
| 1346 | 3810 | } |
| 1347 | 3811 | }, { |
| 1348 | 3812 | key: "onCatchApply", |
| 1349 | 3813 | value: function onCatchApply(e) { |
| @@ -1348,14 +3812,14 @@ | ||
| 1348 | 3812 | key: "onCatchApply", |
| 1349 | 3813 | value: function onCatchApply(e) { |
| 1350 | 3814 | this.runCatchHooks(e); |
| 1351 | 3815 | } |
| 1352 | - | |
| 1353 | 3816 | /** |
| 1354 | 3817 | * Run all the catch hooks. |
| 1355 | 3818 | * |
| 1356 | 3819 | * @param {Error} e |
| 1357 | 3820 | */ |
| 3821 | + | |
| 1358 | 3822 | }, { |
| 1359 | 3823 | key: "runCatchHooks", |
| 1360 | 3824 | value: function runCatchHooks(e) { |
| 1361 | 3825 | $e.hooks.runDataCatch(this.command, this.args, e); |
| @@ -1360,9 +3824,8 @@ | ||
| 1360 | 3824 | value: function runCatchHooks(e) { |
| 1361 | 3825 | $e.hooks.runDataCatch(this.command, this.args, e); |
| 1362 | 3826 | $e.hooks.runUICatch(this.command, this.args, e); |
| 1363 | 3827 | } |
| 1364 | - | |
| 1365 | 3828 | /** |
| 1366 | 3829 | * TODO - Remove - Backwards compatibility. |
| 1367 | 3830 | * |
| 1368 | 3831 | * Function requireContainer(). |
| @@ -1369,24 +3832,28 @@ | ||
| 1369 | 3832 | * |
| 1370 | 3833 | * Validate `arg.container` & `arg.containers`. |
| 1371 | 3834 | * |
| 1372 | 3835 | * @param {{}} args |
| 1373 | - * @deprecated since 3.7.0, extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase` instead. | |
| 1374 | 3836 | * |
| 1375 | 3837 | * @throws {Error} |
| 1376 | 3838 | */ |
| 3839 | + | |
| 1377 | 3840 | }, { |
| 1378 | 3841 | key: "requireContainer", |
| 1379 | 3842 | value: function requireContainer() { |
| 1380 | 3843 | var _this = this; |
| 3844 | + | |
| 1381 | 3845 | 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`'); | |
| 3846 | + elementorCommon.helpers.softDeprecated('requireContainer', '3.6.0', 'Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`'); | |
| 3847 | + | |
| 1383 | 3848 | if (!args.container && !args.containers) { |
| 1384 | 3849 | throw Error('container or containers are required.'); |
| 1385 | 3850 | } |
| 3851 | + | |
| 1386 | 3852 | if (args.container && args.containers) { |
| 1387 | 3853 | throw Error('container and containers cannot go together please select one of them.'); |
| 1388 | 3854 | } |
| 3855 | + | |
| 1389 | 3856 | var containers = args.containers || [args.container]; |
| 1390 | 3857 | containers.forEach(function (container) { |
| 1391 | 3858 | _this.requireArgumentInstance('container', elementorModules.editor.Container, { |
| 1392 | 3859 | container: container |
| @@ -1398,44 +3865,58 @@ | ||
| 1398 | 3865 | value: function getInstanceType() { |
| 1399 | 3866 | return 'CommandBase'; |
| 1400 | 3867 | } |
| 1401 | 3868 | }]); |
| 3869 | + return CommandBase; | |
| 1402 | 3870 | }(_commandInfra.default); |
| 1403 | 3871 | |
| 3872 | +exports["default"] = CommandBase; | |
| 3873 | + | |
| 1404 | 3874 | /***/ }), |
| 1405 | 3875 | |
| 1406 | -/***/ "../modules/web-cli/assets/js/modules/command-callback-base.js": | |
| 1407 | -/*!*********************************************************************!*\ | |
| 1408 | - !*** ../modules/web-cli/assets/js/modules/command-callback-base.js ***! | |
| 1409 | - \*********************************************************************/ | |
| 3876 | +/***/ "../modules/web-cli/assets/js/modules/command-callback.js": | |
| 3877 | +/*!****************************************************************!*\ | |
| 3878 | + !*** ../modules/web-cli/assets/js/modules/command-callback.js ***! | |
| 3879 | + \****************************************************************/ | |
| 1410 | 3880 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 1411 | 3881 | |
| 1412 | 3882 | "use strict"; |
| 1413 | 3883 | |
| 1414 | 3884 | |
| 1415 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1416 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3885 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3886 | + | |
| 3887 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3888 | + | |
| 3889 | +_Object$defineProperty(exports, "__esModule", { | |
| 1417 | 3890 | value: true |
| 1418 | -})); | |
| 3891 | +}); | |
| 3892 | + | |
| 1419 | 3893 | 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")); | |
| 3894 | + | |
| 3895 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3896 | + | |
| 3897 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3898 | + | |
| 3899 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3900 | + | |
| 3901 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3902 | + | |
| 1425 | 3903 | 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; })(); } | |
| 3904 | + | |
| 1428 | 3905 | /** |
| 1429 | 3906 | * To support pure callbacks in the API(commands.js), to ensure they have registered with the proper context. |
| 1430 | 3907 | */ |
| 1431 | -var CommandCallbackBase = exports["default"] = /*#__PURE__*/function (_CommandBase) { | |
| 1432 | - function CommandCallbackBase() { | |
| 1433 | - (0, _classCallCheck2.default)(this, CommandCallbackBase); | |
| 1434 | - return _callSuper(this, CommandCallbackBase, arguments); | |
| 3908 | +var CommandCallback = /*#__PURE__*/function (_CommandBase) { | |
| 3909 | + (0, _inherits2.default)(CommandCallback, _CommandBase); | |
| 3910 | + | |
| 3911 | + var _super = (0, _createSuper2.default)(CommandCallback); | |
| 3912 | + | |
| 3913 | + function CommandCallback() { | |
| 3914 | + (0, _classCallCheck2.default)(this, CommandCallback); | |
| 3915 | + return _super.apply(this, arguments); | |
| 1435 | 3916 | } |
| 1436 | - (0, _inherits2.default)(CommandCallbackBase, _CommandBase); | |
| 1437 | - return (0, _createClass2.default)(CommandCallbackBase, [{ | |
| 3917 | + | |
| 3918 | + (0, _createClass2.default)(CommandCallback, [{ | |
| 1438 | 3919 | key: "apply", |
| 1439 | 3920 | value: function apply() { |
| 1440 | 3921 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1441 | 3922 | return this.constructor.getCallback()(args); |
| @@ -1442,18 +3923,18 @@ | ||
| 1442 | 3923 | } |
| 1443 | 3924 | }], [{ |
| 1444 | 3925 | key: "getInstanceType", |
| 1445 | 3926 | value: function getInstanceType() { |
| 1446 | - return 'CommandCallbackBase'; | |
| 3927 | + return 'CommandCallback'; | |
| 1447 | 3928 | } |
| 1448 | - | |
| 1449 | 3929 | /** |
| 1450 | 3930 | * Get original callback of the command. |
| 1451 | 3931 | * |
| 1452 | 3932 | * Support pure callbacks ( Non command-base ). |
| 1453 | 3933 | * |
| 1454 | - * @return {()=>{}} Command Results. | |
| 3934 | + * @returns {(function())} | |
| 1455 | 3935 | */ |
| 3936 | + | |
| 1456 | 3937 | }, { |
| 1457 | 3938 | key: "getCallback", |
| 1458 | 3939 | value: function getCallback() { |
| 1459 | 3940 | return this.registerConfig.callback; |
| @@ -1458,10 +3939,13 @@ | ||
| 1458 | 3939 | value: function getCallback() { |
| 1459 | 3940 | return this.registerConfig.callback; |
| 1460 | 3941 | } |
| 1461 | 3942 | }]); |
| 3943 | + return CommandCallback; | |
| 1462 | 3944 | }(_commandBase.default); |
| 1463 | 3945 | |
| 3946 | +exports["default"] = CommandCallback; | |
| 3947 | + | |
| 1464 | 3948 | /***/ }), |
| 1465 | 3949 | |
| 1466 | 3950 | /***/ "../modules/web-cli/assets/js/modules/command-infra.js": |
| 1467 | 3951 | /*!*************************************************************!*\ |
| @@ -1471,76 +3955,83 @@ | ||
| 1471 | 3955 | |
| 1472 | 3956 | "use strict"; |
| 1473 | 3957 | |
| 1474 | 3958 | |
| 1475 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1476 | -Object.defineProperty(exports, "__esModule", ({ | |
| 3959 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3960 | + | |
| 3961 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3962 | + | |
| 3963 | +_Object$defineProperty(exports, "__esModule", { | |
| 1477 | 3964 | value: true |
| 1478 | -})); | |
| 3965 | +}); | |
| 3966 | + | |
| 1479 | 3967 | 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")); | |
| 3968 | + | |
| 3969 | +var _freeze = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/freeze */ "../node_modules/@babel/runtime-corejs2/core-js/object/freeze.js")); | |
| 3970 | + | |
| 3971 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3972 | + | |
| 3973 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3974 | + | |
| 3975 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3976 | + | |
| 3977 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3978 | + | |
| 3979 | +var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/defineProperty */ "../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js")); | |
| 3980 | + | |
| 1486 | 3981 | 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) { | |
| 3982 | + | |
| 3983 | +var CommandInfra = /*#__PURE__*/function (_ArgsObject) { | |
| 3984 | + (0, _inherits2.default)(CommandInfra, _ArgsObject); | |
| 3985 | + | |
| 3986 | + var _super = (0, _createSuper2.default)(CommandInfra); | |
| 3987 | + | |
| 1494 | 3988 | /** |
| 1495 | 3989 | * Function constructor(). |
| 1496 | 3990 | * |
| 1497 | 3991 | * Create Commands Base. |
| 1498 | 3992 | * |
| 1499 | - * @param {{}} args | |
| 3993 | + * @param [args={}] | |
| 1500 | 3994 | */ |
| 1501 | 3995 | function CommandInfra() { |
| 1502 | 3996 | var _this; |
| 3997 | + | |
| 1503 | 3998 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1504 | 3999 | (0, _classCallCheck2.default)(this, CommandInfra); |
| 1505 | - _this = _callSuper(this, CommandInfra, [args]); | |
| 4000 | + _this = _super.call(this, args); | |
| 4001 | + | |
| 1506 | 4002 | if (!_this.constructor.registerConfig) { |
| 1507 | 4003 | throw RangeError('Doing it wrong: Each command type should have `registerConfig`.'); |
| 1508 | - } | |
| 4004 | + } // Acknowledge self about which command it run. | |
| 1509 | 4005 | |
| 1510 | - // Acknowledge self about which command it run. | |
| 1511 | - _this.command = _this.constructor.getCommand(); | |
| 1512 | 4006 | |
| 1513 | - // Assign instance of current component. | |
| 1514 | - _this.component = _this.constructor.getComponent(); | |
| 4007 | + _this.command = _this.constructor.getCommand(); // Assign instance of current component. | |
| 1515 | 4008 | |
| 1516 | - // Who ever need do something before without `super` the constructor can use `initialize` method. | |
| 1517 | - _this.initialize(args); | |
| 4009 | + _this.component = _this.constructor.getComponent(); // Who ever need do something before without `super` the constructor can use `initialize` method. | |
| 1518 | 4010 | |
| 1519 | - // Refresh args, maybe the changed via `initialize`. | |
| 1520 | - args = _this.args; | |
| 4011 | + _this.initialize(args); // Refresh args, maybe the changed via `initialize`. | |
| 1521 | 4012 | |
| 1522 | - // Validate args before run. | |
| 4013 | + | |
| 4014 | + args = _this.args; // Validate args before run. | |
| 4015 | + | |
| 1523 | 4016 | _this.validateArgs(args); |
| 4017 | + | |
| 1524 | 4018 | return _this; |
| 1525 | 4019 | } |
| 1526 | - | |
| 1527 | 4020 | /** |
| 1528 | 4021 | * Function initialize(). |
| 1529 | 4022 | * |
| 1530 | 4023 | * Initialize command, called after construction. |
| 1531 | 4024 | * |
| 1532 | - * @param {{}} args | |
| 4025 | + * @param [args={}] | |
| 1533 | 4026 | */ |
| 1534 | - (0, _inherits2.default)(CommandInfra, _ArgsObject); | |
| 1535 | - return (0, _createClass2.default)(CommandInfra, [{ | |
| 4027 | + | |
| 4028 | + | |
| 4029 | + (0, _createClass2.default)(CommandInfra, [{ | |
| 1536 | 4030 | key: "currentCommand", |
| 1537 | - get: | |
| 1538 | - /** | |
| 1539 | - * @deprecated since 3.7.0, use `this.command` instead. | |
| 1540 | - */ | |
| 4031 | + get: // TODO - Remove backwards compatibility. | |
| 1541 | 4032 | function get() { |
| 1542 | - _deprecation.default.deprecated('this.currentCommand', '3.7.0', 'this.command'); | |
| 4033 | + elementorCommon.helpers.softDeprecated('this.currentCommand', '3.7.0', 'this.command'); | |
| 1543 | 4034 | return this.command; |
| 1544 | 4035 | } |
| 1545 | 4036 | }, { |
| 1546 | 4037 | key: "initialize", |
| @@ -1552,10 +4043,11 @@ | ||
| 1552 | 4043 | * Function validateArgs(). |
| 1553 | 4044 | * |
| 1554 | 4045 | * Validate command arguments. |
| 1555 | 4046 | * |
| 1556 | - * @param {{}} args | |
| 4047 | + * @param [args={}] | |
| 1557 | 4048 | */ |
| 4049 | + | |
| 1558 | 4050 | }, { |
| 1559 | 4051 | key: "validateArgs", |
| 1560 | 4052 | value: function validateArgs() { |
| 1561 | 4053 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -1560,18 +4052,18 @@ | ||
| 1560 | 4052 | value: function validateArgs() { |
| 1561 | 4053 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1562 | 4054 | } // eslint-disable-line no-unused-vars |
| 1563 | 4055 | |
| 1564 | - // eslint-disable-next-line jsdoc/require-returns-check | |
| 1565 | 4056 | /** |
| 1566 | 4057 | * Function apply(). |
| 1567 | 4058 | * |
| 1568 | 4059 | * Do the actual command. |
| 1569 | 4060 | * |
| 1570 | - * @param {{}} args | |
| 4061 | + * @param [args={}] | |
| 1571 | 4062 | * |
| 1572 | - * @return {*} Command results. | |
| 4063 | + * @returns {*} | |
| 1573 | 4064 | */ |
| 4065 | + | |
| 1574 | 4066 | }, { |
| 1575 | 4067 | key: "apply", |
| 1576 | 4068 | value: function apply() { |
| 1577 | 4069 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -1577,29 +4069,29 @@ | ||
| 1577 | 4069 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 1578 | 4070 | // eslint-disable-line no-unused-vars |
| 1579 | 4071 | elementorModules.ForceMethodImplementation(); |
| 1580 | 4072 | } |
| 1581 | - | |
| 1582 | 4073 | /** |
| 1583 | 4074 | * Function run(). |
| 1584 | 4075 | * |
| 1585 | 4076 | * Run command with history & hooks. |
| 1586 | 4077 | * |
| 1587 | - * @return {*} Command results. | |
| 4078 | + * @returns {*} | |
| 1588 | 4079 | */ |
| 4080 | + | |
| 1589 | 4081 | }, { |
| 1590 | 4082 | key: "run", |
| 1591 | 4083 | value: function run() { |
| 1592 | 4084 | return this.apply(this.args); |
| 1593 | 4085 | } |
| 1594 | - | |
| 1595 | 4086 | /** |
| 1596 | 4087 | * Function onBeforeRun. |
| 1597 | 4088 | * |
| 1598 | 4089 | * Called before run(). |
| 1599 | 4090 | * |
| 1600 | - * @param {{}} args | |
| 4091 | + * @param [args={}] | |
| 1601 | 4092 | */ |
| 4093 | + | |
| 1602 | 4094 | }, { |
| 1603 | 4095 | key: "onBeforeRun", |
| 1604 | 4096 | value: function onBeforeRun() { |
| 1605 | 4097 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -1609,11 +4101,12 @@ | ||
| 1609 | 4101 | * Function onAfterRun. |
| 1610 | 4102 | * |
| 1611 | 4103 | * Called after run(). |
| 1612 | 4104 | * |
| 1613 | - * @param {{}} args | |
| 1614 | - * @param {*} result | |
| 4105 | + * @param [args={}] | |
| 4106 | + * @param [result={*}] | |
| 1615 | 4107 | */ |
| 4108 | + | |
| 1616 | 4109 | }, { |
| 1617 | 4110 | key: "onAfterRun", |
| 1618 | 4111 | value: function onAfterRun() { |
| 1619 | 4112 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -1624,10 +4117,11 @@ | ||
| 1624 | 4117 | * Function onBeforeApply. |
| 1625 | 4118 | * |
| 1626 | 4119 | * Called before apply(). |
| 1627 | 4120 | * |
| 1628 | - * @param {{}} args | |
| 4121 | + * @param [args={}] | |
| 1629 | 4122 | */ |
| 4123 | + | |
| 1630 | 4124 | }, { |
| 1631 | 4125 | key: "onBeforeApply", |
| 1632 | 4126 | value: function onBeforeApply() { |
| 1633 | 4127 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -1637,11 +4131,12 @@ | ||
| 1637 | 4131 | * Function onAfterApply. |
| 1638 | 4132 | * |
| 1639 | 4133 | * Called after apply(). |
| 1640 | 4134 | * |
| 1641 | - * @param {{}} args | |
| 1642 | - * @param {*} result | |
| 4135 | + * @param [args={}] | |
| 4136 | + * @param [result={*}] | |
| 1643 | 4137 | */ |
| 4138 | + | |
| 1644 | 4139 | }, { |
| 1645 | 4140 | key: "onAfterApply", |
| 1646 | 4141 | value: function onAfterApply() { |
| 1647 | 4142 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| @@ -1654,40 +4149,52 @@ | ||
| 1654 | 4149 | * Called after apply() failed. |
| 1655 | 4150 | * |
| 1656 | 4151 | * @param {Error} e |
| 1657 | 4152 | */ |
| 4153 | + | |
| 1658 | 4154 | }, { |
| 1659 | 4155 | key: "onCatchApply", |
| 1660 | 4156 | value: function onCatchApply(e) {} // eslint-disable-line no-unused-vars |
| 4157 | + | |
| 1661 | 4158 | }], [{ |
| 1662 | 4159 | key: "getInstanceType", |
| 1663 | - value: function getInstanceType() { | |
| 4160 | + value: | |
| 4161 | + /** | |
| 4162 | + * @type {Object} | |
| 4163 | + */ | |
| 4164 | + function getInstanceType() { | |
| 1664 | 4165 | return 'CommandInfra'; |
| 1665 | 4166 | } |
| 1666 | - | |
| 1667 | 4167 | /** |
| 1668 | 4168 | * Get info of command. |
| 1669 | 4169 | * |
| 1670 | - * @return {Object} Extra information about the command. | |
| 4170 | + * Use to provide 'extra' information about the command. | |
| 4171 | + * | |
| 4172 | + * @returns {Object} | |
| 1671 | 4173 | */ |
| 4174 | + | |
| 1672 | 4175 | }, { |
| 1673 | 4176 | key: "getInfo", |
| 1674 | 4177 | value: function getInfo() { |
| 1675 | 4178 | return {}; |
| 1676 | 4179 | } |
| 1677 | - | |
| 1678 | 4180 | /** |
| 1679 | - * @return {string} Self command name. | |
| 4181 | + * Self command name. | |
| 4182 | + * | |
| 4183 | + * @returns {string} | |
| 1680 | 4184 | */ |
| 4185 | + | |
| 1681 | 4186 | }, { |
| 1682 | 4187 | key: "getCommand", |
| 1683 | 4188 | value: function getCommand() { |
| 1684 | 4189 | return this.registerConfig.command; |
| 1685 | 4190 | } |
| 1686 | - | |
| 1687 | 4191 | /** |
| 1688 | - * @return {ComponentBase} Self component | |
| 4192 | + * Self component. | |
| 4193 | + * | |
| 4194 | + * @returns {ComponentBase} | |
| 1689 | 4195 | */ |
| 4196 | + | |
| 1690 | 4197 | }, { |
| 1691 | 4198 | key: "getComponent", |
| 1692 | 4199 | value: function getComponent() { |
| 1693 | 4200 | return this.registerConfig.component; |
| @@ -1694,15 +4201,15 @@ | ||
| 1694 | 4201 | } |
| 1695 | 4202 | }, { |
| 1696 | 4203 | key: "setRegisterConfig", |
| 1697 | 4204 | value: function setRegisterConfig(config) { |
| 1698 | - this.registerConfig = Object.freeze(config); | |
| 4205 | + this.registerConfig = (0, _freeze.default)(config); | |
| 1699 | 4206 | } |
| 1700 | 4207 | }]); |
| 4208 | + return CommandInfra; | |
| 1701 | 4209 | }(_argsObject.default); |
| 1702 | -/** | |
| 1703 | - * @type {Object} | |
| 1704 | - */ | |
| 4210 | + | |
| 4211 | +exports["default"] = CommandInfra; | |
| 1705 | 4212 | (0, _defineProperty2.default)(CommandInfra, "registerConfig", null); |
| 1706 | 4213 | |
| 1707 | 4214 | /***/ }), |
| 1708 | 4215 | |
| @@ -1714,36 +4221,51 @@ | ||
| 1714 | 4221 | |
| 1715 | 4222 | "use strict"; |
| 1716 | 4223 | |
| 1717 | 4224 | |
| 1718 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1719 | -Object.defineProperty(exports, "__esModule", ({ | |
| 4225 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 4226 | + | |
| 4227 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 4228 | + | |
| 4229 | +_Object$defineProperty(exports, "__esModule", { | |
| 1720 | 4230 | value: true |
| 1721 | -})); | |
| 4231 | +}); | |
| 4232 | + | |
| 1722 | 4233 | 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")); | |
| 4234 | + | |
| 4235 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 4236 | + | |
| 4237 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 4238 | + | |
| 4239 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 4240 | + | |
| 4241 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 4242 | + | |
| 1728 | 4243 | 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) { | |
| 4244 | + | |
| 4245 | +var Close = /*#__PURE__*/function (_CommandBase) { | |
| 4246 | + (0, _inherits2.default)(Close, _CommandBase); | |
| 4247 | + | |
| 4248 | + var _super = (0, _createSuper2.default)(Close); | |
| 4249 | + | |
| 1732 | 4250 | function Close() { |
| 1733 | 4251 | (0, _classCallCheck2.default)(this, Close); |
| 1734 | - return _callSuper(this, Close, arguments); | |
| 4252 | + return _super.apply(this, arguments); | |
| 1735 | 4253 | } |
| 1736 | - (0, _inherits2.default)(Close, _CommandBase); | |
| 1737 | - return (0, _createClass2.default)(Close, [{ | |
| 4254 | + | |
| 4255 | + (0, _createClass2.default)(Close, [{ | |
| 1738 | 4256 | key: "apply", |
| 1739 | 4257 | value: function apply() { |
| 1740 | 4258 | this.component.close(); |
| 1741 | 4259 | } |
| 1742 | 4260 | }]); |
| 4261 | + return Close; | |
| 1743 | 4262 | }(_commandBase.default); |
| 1744 | -var _default = exports["default"] = Close; | |
| 1745 | 4263 | |
| 4264 | +exports.Close = Close; | |
| 4265 | +var _default = Close; | |
| 4266 | +exports["default"] = _default; | |
| 4267 | + | |
| 1746 | 4268 | /***/ }), |
| 1747 | 4269 | |
| 1748 | 4270 | /***/ "../modules/web-cli/assets/js/modules/commands/index.js": |
| 1749 | 4271 | /*!**************************************************************!*\ |
| @@ -1753,31 +4275,39 @@ | ||
| 1753 | 4275 | |
| 1754 | 4276 | "use strict"; |
| 1755 | 4277 | |
| 1756 | 4278 | |
| 1757 | -Object.defineProperty(exports, "__esModule", ({ | |
| 4279 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 4280 | + | |
| 4281 | +_Object$defineProperty(exports, "__esModule", { | |
| 1758 | 4282 | value: true |
| 1759 | -})); | |
| 1760 | -Object.defineProperty(exports, "Close", ({ | |
| 4283 | +}); | |
| 4284 | + | |
| 4285 | +_Object$defineProperty(exports, "Close", { | |
| 1761 | 4286 | enumerable: true, |
| 1762 | 4287 | get: function get() { |
| 1763 | 4288 | return _close.Close; |
| 1764 | 4289 | } |
| 1765 | -})); | |
| 1766 | -Object.defineProperty(exports, "Open", ({ | |
| 4290 | +}); | |
| 4291 | + | |
| 4292 | +_Object$defineProperty(exports, "Open", { | |
| 1767 | 4293 | enumerable: true, |
| 1768 | 4294 | get: function get() { |
| 1769 | 4295 | return _open.Open; |
| 1770 | 4296 | } |
| 1771 | -})); | |
| 1772 | -Object.defineProperty(exports, "Toggle", ({ | |
| 4297 | +}); | |
| 4298 | + | |
| 4299 | +_Object$defineProperty(exports, "Toggle", { | |
| 1773 | 4300 | enumerable: true, |
| 1774 | 4301 | get: function get() { |
| 1775 | 4302 | return _toggle.Toggle; |
| 1776 | 4303 | } |
| 1777 | -})); | |
| 4304 | +}); | |
| 4305 | + | |
| 1778 | 4306 | var _close = __webpack_require__(/*! ./close */ "../modules/web-cli/assets/js/modules/commands/close.js"); |
| 4307 | + | |
| 1779 | 4308 | var _open = __webpack_require__(/*! ./open */ "../modules/web-cli/assets/js/modules/commands/open.js"); |
| 4309 | + | |
| 1780 | 4310 | var _toggle = __webpack_require__(/*! ./toggle */ "../modules/web-cli/assets/js/modules/commands/toggle.js"); |
| 1781 | 4311 | |
| 1782 | 4312 | /***/ }), |
| 1783 | 4313 | |
| @@ -1789,36 +4319,51 @@ | ||
| 1789 | 4319 | |
| 1790 | 4320 | "use strict"; |
| 1791 | 4321 | |
| 1792 | 4322 | |
| 1793 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1794 | -Object.defineProperty(exports, "__esModule", ({ | |
| 4323 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 4324 | + | |
| 4325 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 4326 | + | |
| 4327 | +_Object$defineProperty(exports, "__esModule", { | |
| 1795 | 4328 | value: true |
| 1796 | -})); | |
| 4329 | +}); | |
| 4330 | + | |
| 1797 | 4331 | 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")); | |
| 4332 | + | |
| 4333 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 4334 | + | |
| 4335 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 4336 | + | |
| 4337 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 4338 | + | |
| 4339 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 4340 | + | |
| 1803 | 4341 | 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) { | |
| 4342 | + | |
| 4343 | +var Open = /*#__PURE__*/function (_CommandBase) { | |
| 4344 | + (0, _inherits2.default)(Open, _CommandBase); | |
| 4345 | + | |
| 4346 | + var _super = (0, _createSuper2.default)(Open); | |
| 4347 | + | |
| 1807 | 4348 | function Open() { |
| 1808 | 4349 | (0, _classCallCheck2.default)(this, Open); |
| 1809 | - return _callSuper(this, Open, arguments); | |
| 4350 | + return _super.apply(this, arguments); | |
| 1810 | 4351 | } |
| 1811 | - (0, _inherits2.default)(Open, _CommandBase); | |
| 1812 | - return (0, _createClass2.default)(Open, [{ | |
| 4352 | + | |
| 4353 | + (0, _createClass2.default)(Open, [{ | |
| 1813 | 4354 | key: "apply", |
| 1814 | 4355 | value: function apply() { |
| 1815 | 4356 | $e.route(this.component.getNamespace()); |
| 1816 | 4357 | } |
| 1817 | 4358 | }]); |
| 4359 | + return Open; | |
| 1818 | 4360 | }(_commandBase.default); |
| 1819 | -var _default = exports["default"] = Open; | |
| 1820 | 4361 | |
| 4362 | +exports.Open = Open; | |
| 4363 | +var _default = Open; | |
| 4364 | +exports["default"] = _default; | |
| 4365 | + | |
| 1821 | 4366 | /***/ }), |
| 1822 | 4367 | |
| 1823 | 4368 | /***/ "../modules/web-cli/assets/js/modules/commands/toggle.js": |
| 1824 | 4369 | /*!***************************************************************!*\ |
| @@ -1828,28 +4373,39 @@ | ||
| 1828 | 4373 | |
| 1829 | 4374 | "use strict"; |
| 1830 | 4375 | |
| 1831 | 4376 | |
| 1832 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1833 | -Object.defineProperty(exports, "__esModule", ({ | |
| 4377 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 4378 | + | |
| 4379 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 4380 | + | |
| 4381 | +_Object$defineProperty(exports, "__esModule", { | |
| 1834 | 4382 | value: true |
| 1835 | -})); | |
| 4383 | +}); | |
| 4384 | + | |
| 1836 | 4385 | 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")); | |
| 4386 | + | |
| 4387 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 4388 | + | |
| 4389 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 4390 | + | |
| 4391 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 4392 | + | |
| 4393 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 4394 | + | |
| 1842 | 4395 | 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) { | |
| 4396 | + | |
| 4397 | +var Toggle = /*#__PURE__*/function (_CommandBase) { | |
| 4398 | + (0, _inherits2.default)(Toggle, _CommandBase); | |
| 4399 | + | |
| 4400 | + var _super = (0, _createSuper2.default)(Toggle); | |
| 4401 | + | |
| 1846 | 4402 | function Toggle() { |
| 1847 | 4403 | (0, _classCallCheck2.default)(this, Toggle); |
| 1848 | - return _callSuper(this, Toggle, arguments); | |
| 4404 | + return _super.apply(this, arguments); | |
| 1849 | 4405 | } |
| 1850 | - (0, _inherits2.default)(Toggle, _CommandBase); | |
| 1851 | - return (0, _createClass2.default)(Toggle, [{ | |
| 4406 | + | |
| 4407 | + (0, _createClass2.default)(Toggle, [{ | |
| 1852 | 4408 | key: "apply", |
| 1853 | 4409 | value: function apply() { |
| 1854 | 4410 | if (this.component.isOpen) { |
| 1855 | 4411 | this.component.close(); |
| @@ -1857,11 +4413,15 @@ | ||
| 1857 | 4413 | $e.route(this.component.getNamespace()); |
| 1858 | 4414 | } |
| 1859 | 4415 | } |
| 1860 | 4416 | }]); |
| 4417 | + return Toggle; | |
| 1861 | 4418 | }(_commandBase.default); |
| 1862 | -var _default = exports["default"] = Toggle; | |
| 1863 | 4419 | |
| 4420 | +exports.Toggle = Toggle; | |
| 4421 | +var _default = Toggle; | |
| 4422 | +exports["default"] = _default; | |
| 4423 | + | |
| 1864 | 4424 | /***/ }), |
| 1865 | 4425 | |
| 1866 | 4426 | /***/ "../modules/web-cli/assets/js/modules/component-base.js": |
| 1867 | 4427 | /*!**************************************************************!*\ |
| @@ -1871,47 +4431,71 @@ | ||
| 1871 | 4431 | |
| 1872 | 4432 | "use strict"; |
| 1873 | 4433 | |
| 1874 | 4434 | |
| 1875 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 1876 | -Object.defineProperty(exports, "__esModule", ({ | |
| 4435 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 4436 | + | |
| 4437 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 4438 | + | |
| 4439 | +_Object$defineProperty(exports, "__esModule", { | |
| 1877 | 4440 | value: true |
| 1878 | -})); | |
| 4441 | +}); | |
| 4442 | + | |
| 1879 | 4443 | 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 */ "@reduxjs/toolkit"); | |
| 1889 | -var _module = _interopRequireDefault(__webpack_require__(/*! elementor/assets/dev/js/modules/imports/module.js */ "../assets/dev/js/modules/imports/module.js")); | |
| 4444 | + | |
| 4445 | +__webpack_require__(/*! core-js/modules/es6.regexp.split.js */ "../node_modules/core-js/modules/es6.regexp.split.js"); | |
| 4446 | + | |
| 4447 | +__webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); | |
| 4448 | + | |
| 4449 | +__webpack_require__(/*! core-js/modules/es6.regexp.replace.js */ "../node_modules/core-js/modules/es6.regexp.replace.js"); | |
| 4450 | + | |
| 4451 | +var _entries = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/entries */ "../node_modules/@babel/runtime-corejs2/core-js/object/entries.js")); | |
| 4452 | + | |
| 4453 | +var _values = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/values */ "../node_modules/@babel/runtime-corejs2/core-js/object/values.js")); | |
| 4454 | + | |
| 4455 | +var _keys = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/keys */ "../node_modules/@babel/runtime-corejs2/core-js/object/keys.js")); | |
| 4456 | + | |
| 4457 | +var _objectSpread2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/objectSpread2 */ "../node_modules/@babel/runtime-corejs2/helpers/objectSpread2.js")); | |
| 4458 | + | |
| 4459 | +var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/slicedToArray */ "../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js")); | |
| 4460 | + | |
| 4461 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 4462 | + | |
| 4463 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 4464 | + | |
| 4465 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 4466 | + | |
| 4467 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 4468 | + | |
| 4469 | +var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js")); | |
| 4470 | + | |
| 4471 | +var _commandCallback = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-callback */ "../modules/web-cli/assets/js/modules/command-callback.js")); | |
| 4472 | + | |
| 4473 | +var _toolkit = __webpack_require__(/*! @reduxjs/toolkit */ "../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js"); | |
| 4474 | + | |
| 4475 | +var _module = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/imports/module.js */ "../assets/dev/js/modules/imports/module.js")); | |
| 4476 | + | |
| 1890 | 4477 | 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) { | |
| 4478 | + | |
| 4479 | +var ComponentBase = /*#__PURE__*/function (_Module) { | |
| 4480 | + (0, _inherits2.default)(ComponentBase, _Module); | |
| 4481 | + | |
| 4482 | + var _super = (0, _createSuper2.default)(ComponentBase); | |
| 4483 | + | |
| 1902 | 4484 | function ComponentBase() { |
| 1903 | 4485 | (0, _classCallCheck2.default)(this, ComponentBase); |
| 1904 | - return _callSuper(this, ComponentBase, arguments); | |
| 4486 | + return _super.apply(this, arguments); | |
| 1905 | 4487 | } |
| 1906 | - (0, _inherits2.default)(ComponentBase, _Module); | |
| 1907 | - return (0, _createClass2.default)(ComponentBase, [{ | |
| 4488 | + | |
| 4489 | + (0, _createClass2.default)(ComponentBase, [{ | |
| 1908 | 4490 | key: "__construct", |
| 1909 | 4491 | value: function __construct() { |
| 1910 | 4492 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 4493 | + | |
| 1911 | 4494 | if (args.manager) { |
| 1912 | 4495 | this.manager = args.manager; |
| 1913 | 4496 | } |
| 4497 | + | |
| 1914 | 4498 | this.commands = this.defaultCommands(); |
| 1915 | 4499 | this.commandsInternal = this.defaultCommandsInternal(); |
| 1916 | 4500 | this.hooks = this.defaultHooks(); |
| 1917 | 4501 | this.routes = this.defaultRoutes(); |
| @@ -1927,79 +4511,70 @@ | ||
| 1927 | 4511 | }, { |
| 1928 | 4512 | key: "registerAPI", |
| 1929 | 4513 | value: function registerAPI() { |
| 1930 | 4514 | var _this = this; |
| 1931 | - Object.entries(this.getTabs()).forEach(function (tab) { | |
| 4515 | + | |
| 4516 | + (0, _entries.default)(this.getTabs()).forEach(function (tab) { | |
| 1932 | 4517 | return _this.registerTabRoute(tab[0]); |
| 1933 | 4518 | }); |
| 1934 | - Object.entries(this.getRoutes()).forEach(function (_ref) { | |
| 4519 | + (0, _entries.default)(this.getRoutes()).forEach(function (_ref) { | |
| 1935 | 4520 | var _ref2 = (0, _slicedToArray2.default)(_ref, 2), |
| 1936 | - route = _ref2[0], | |
| 1937 | - callback = _ref2[1]; | |
| 4521 | + route = _ref2[0], | |
| 4522 | + callback = _ref2[1]; | |
| 4523 | + | |
| 1938 | 4524 | return _this.registerRoute(route, callback); |
| 1939 | 4525 | }); |
| 1940 | - Object.entries(this.getCommands()).forEach(function (_ref3) { | |
| 4526 | + (0, _entries.default)(this.getCommands()).forEach(function (_ref3) { | |
| 1941 | 4527 | var _ref4 = (0, _slicedToArray2.default)(_ref3, 2), |
| 1942 | - command = _ref4[0], | |
| 1943 | - callback = _ref4[1]; | |
| 4528 | + command = _ref4[0], | |
| 4529 | + callback = _ref4[1]; | |
| 4530 | + | |
| 1944 | 4531 | return _this.registerCommand(command, callback); |
| 1945 | 4532 | }); |
| 1946 | - Object.entries(this.getCommandsInternal()).forEach(function (_ref5) { | |
| 4533 | + (0, _entries.default)(this.getCommandsInternal()).forEach(function (_ref5) { | |
| 1947 | 4534 | var _ref6 = (0, _slicedToArray2.default)(_ref5, 2), |
| 1948 | - command = _ref6[0], | |
| 1949 | - callback = _ref6[1]; | |
| 4535 | + command = _ref6[0], | |
| 4536 | + callback = _ref6[1]; | |
| 4537 | + | |
| 1950 | 4538 | return _this.registerCommandInternal(command, callback); |
| 1951 | 4539 | }); |
| 1952 | - Object.values(this.getHooks()).forEach(function (instance) { | |
| 4540 | + (0, _values.default)(this.getHooks()).forEach(function (instance) { | |
| 1953 | 4541 | return _this.registerHook(instance); |
| 1954 | 4542 | }); |
| 1955 | - Object.entries(this.getData()).forEach(function (_ref7) { | |
| 4543 | + (0, _entries.default)(this.getData()).forEach(function (_ref7) { | |
| 1956 | 4544 | var _ref8 = (0, _slicedToArray2.default)(_ref7, 2), |
| 1957 | - command = _ref8[0], | |
| 1958 | - callback = _ref8[1]; | |
| 4545 | + command = _ref8[0], | |
| 4546 | + callback = _ref8[1]; | |
| 4547 | + | |
| 1959 | 4548 | return _this.registerData(command, callback); |
| 1960 | 4549 | }); |
| 1961 | - Object.values(this.getUiStates()).forEach(function (instance) { | |
| 4550 | + (0, _values.default)(this.getUiStates()).forEach(function (instance) { | |
| 1962 | 4551 | return _this.registerUiState(instance); |
| 1963 | 4552 | }); |
| 1964 | - Object.entries(this.getStates()).forEach(function (_ref9) { | |
| 1965 | - var _ref0 = (0, _slicedToArray2.default)(_ref9, 2), | |
| 1966 | - id = _ref0[0], | |
| 1967 | - state = _ref0[1]; | |
| 4553 | + (0, _entries.default)(this.getStates()).forEach(function (_ref9) { | |
| 4554 | + var _ref10 = (0, _slicedToArray2.default)(_ref9, 2), | |
| 4555 | + id = _ref10[0], | |
| 4556 | + state = _ref10[1]; | |
| 4557 | + | |
| 1968 | 4558 | return _this.registerState(id, state); |
| 1969 | 4559 | }); |
| 1970 | 4560 | } |
| 1971 | - | |
| 1972 | - // eslint-disable-next-line jsdoc/require-returns-check | |
| 1973 | 4561 | /** |
| 1974 | - * @return {string} namespace | |
| 4562 | + * @returns {string} | |
| 1975 | 4563 | */ |
| 4564 | + | |
| 1976 | 4565 | }, { |
| 1977 | 4566 | key: "getNamespace", |
| 1978 | 4567 | value: function getNamespace() { |
| 1979 | 4568 | (0, _forceMethodImplementation.default)(); |
| 1980 | 4569 | } |
| 1981 | - | |
| 1982 | - /** | |
| 1983 | - * @deprecated since 3.7.0, use `getServiceName()` instead. | |
| 1984 | - */ | |
| 1985 | 4570 | }, { |
| 1986 | 4571 | key: "getRootContainer", |
| 1987 | 4572 | value: function getRootContainer() { |
| 1988 | - _deprecation.default.deprecated('getRootContainer()', '3.7.0', 'getServiceName()'); | |
| 1989 | - return this.getServiceName(); | |
| 4573 | + var parts = this.getNamespace().split('/'); | |
| 4574 | + return parts[0]; | |
| 1990 | 4575 | } |
| 1991 | 4576 | }, { |
| 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 | 4577 | key: "defaultTabs", |
| 2003 | 4578 | value: function defaultTabs() { |
| 2004 | 4579 | return {}; |
| 2005 | 4580 | } |
| @@ -2022,25 +4597,25 @@ | ||
| 2022 | 4597 | key: "defaultHooks", |
| 2023 | 4598 | value: function defaultHooks() { |
| 2024 | 4599 | return {}; |
| 2025 | 4600 | } |
| 2026 | - | |
| 2027 | 4601 | /** |
| 2028 | 4602 | * Get the component's default UI states. |
| 2029 | 4603 | * |
| 2030 | - * @return {Object} default UI states | |
| 4604 | + * @return {Object} | |
| 2031 | 4605 | */ |
| 4606 | + | |
| 2032 | 4607 | }, { |
| 2033 | 4608 | key: "defaultUiStates", |
| 2034 | 4609 | value: function defaultUiStates() { |
| 2035 | 4610 | return {}; |
| 2036 | 4611 | } |
| 2037 | - | |
| 2038 | 4612 | /** |
| 2039 | 4613 | * Get the component's Redux slice settings. |
| 2040 | 4614 | * |
| 2041 | - * @return {Object} Redux slice settings | |
| 4615 | + * @return {Object} | |
| 2042 | 4616 | */ |
| 4617 | + | |
| 2043 | 4618 | }, { |
| 2044 | 4619 | key: "defaultStates", |
| 2045 | 4620 | value: function defaultStates() { |
| 2046 | 4621 | return {}; |
| @@ -2074,25 +4649,25 @@ | ||
| 2074 | 4649 | key: "getHooks", |
| 2075 | 4650 | value: function getHooks() { |
| 2076 | 4651 | return this.hooks; |
| 2077 | 4652 | } |
| 2078 | - | |
| 2079 | 4653 | /** |
| 2080 | 4654 | * Retrieve the component's UI states. |
| 2081 | 4655 | * |
| 2082 | - * @return {Object} UI states | |
| 4656 | + * @return {Object} | |
| 2083 | 4657 | */ |
| 4658 | + | |
| 2084 | 4659 | }, { |
| 2085 | 4660 | key: "getUiStates", |
| 2086 | 4661 | value: function getUiStates() { |
| 2087 | 4662 | return this.uiStates; |
| 2088 | 4663 | } |
| 2089 | - | |
| 2090 | 4664 | /** |
| 2091 | 4665 | * Retrieve the component's Redux Slice. |
| 2092 | 4666 | * |
| 2093 | - * @return {Object} Redux Slice | |
| 4667 | + * @return {Object} | |
| 2094 | 4668 | */ |
| 4669 | + | |
| 2095 | 4670 | }, { |
| 2096 | 4671 | key: "getStates", |
| 2097 | 4672 | value: function getStates() { |
| 2098 | 4673 | return this.states; |
| @@ -2116,63 +4691,41 @@ | ||
| 2116 | 4691 | key: "getData", |
| 2117 | 4692 | value: function getData() { |
| 2118 | 4693 | return this.data; |
| 2119 | 4694 | } |
| 2120 | - | |
| 2121 | 4695 | /** |
| 2122 | - * @param {string} command | |
| 2123 | - * @param {(()=>{}|CommandInfra)} context | |
| 2124 | - * @param {'default'|'internal'|'data'} commandsType | |
| 4696 | + * @param {string} command | |
| 4697 | + * @param {(function()|typeof CommandInfra)} context | |
| 4698 | + * @param commandsAPI | |
| 2125 | 4699 | */ |
| 4700 | + | |
| 2126 | 4701 | }, { |
| 2127 | 4702 | key: "registerCommand", |
| 2128 | 4703 | 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 | - } | |
| 4704 | + var commandsAPI = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : $e.commands; | |
| 2144 | 4705 | var fullCommand = this.getNamespace() + '/' + command, |
| 2145 | - instanceType = context.getInstanceType ? context.getInstanceType() : false, | |
| 2146 | - registerConfig = { | |
| 2147 | - command: fullCommand, | |
| 2148 | - component: this | |
| 2149 | - }; | |
| 4706 | + instanceType = context.getInstanceType ? context.getInstanceType() : false, | |
| 4707 | + registerConfig = { | |
| 4708 | + command: fullCommand, | |
| 4709 | + component: this | |
| 4710 | + }; // Support pure callback. | |
| 2150 | 4711 | |
| 2151 | - // Support pure callback. | |
| 2152 | 4712 | if (!instanceType) { |
| 2153 | 4713 | if ($e.devTools) { |
| 2154 | - $e.devTools.log.warn("Attach command-callback-base, on command: '".concat(fullCommand, "', context is unknown type.")); | |
| 4714 | + $e.devTools.log.warn("Attach command-callback, on command: '".concat(fullCommand, "', context is unknown type.")); | |
| 2155 | 4715 | } |
| 4716 | + | |
| 2156 | 4717 | registerConfig.callback = context; |
| 4718 | + context = _commandCallback.default; | |
| 4719 | + } | |
| 2157 | 4720 | |
| 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 | 4721 | context.setRegisterConfig(registerConfig); |
| 2169 | - commandsManager.register(this, command, context); | |
| 4722 | + commandsAPI.register(this, command, context); | |
| 2170 | 4723 | } |
| 2171 | - | |
| 2172 | 4724 | /** |
| 2173 | 4725 | * @param {HookBase} instance |
| 2174 | 4726 | */ |
| 4727 | + | |
| 2175 | 4728 | }, { |
| 2176 | 4729 | key: "registerHook", |
| 2177 | 4730 | value: function registerHook(instance) { |
| 2178 | 4731 | return instance.register(); |
| @@ -2179,11 +4732,10 @@ | ||
| 2179 | 4732 | } |
| 2180 | 4733 | }, { |
| 2181 | 4734 | key: "registerCommandInternal", |
| 2182 | 4735 | value: function registerCommandInternal(command, context) { |
| 2183 | - this.registerCommand(command, context, 'internal'); | |
| 4736 | + this.registerCommand(command, context, $e.commandsInternal); | |
| 2184 | 4737 | } |
| 2185 | - | |
| 2186 | 4738 | /** |
| 2187 | 4739 | * Register a UI state. |
| 2188 | 4740 | * |
| 2189 | 4741 | * @param {UiStateBase} instance - UI state instance. |
| @@ -2189,27 +4741,28 @@ | ||
| 2189 | 4741 | * @param {UiStateBase} instance - UI state instance. |
| 2190 | 4742 | * |
| 2191 | 4743 | * @return {void} |
| 2192 | 4744 | */ |
| 4745 | + | |
| 2193 | 4746 | }, { |
| 2194 | 4747 | key: "registerUiState", |
| 2195 | 4748 | value: function registerUiState(instance) { |
| 2196 | 4749 | $e.uiStates.register(instance); |
| 2197 | 4750 | } |
| 2198 | - | |
| 2199 | 4751 | /** |
| 2200 | 4752 | * Register a Redux Slice. |
| 2201 | 4753 | * |
| 2202 | - * @param {string} id - State id. | |
| 4754 | + * @param {string} id - State id. | |
| 2203 | 4755 | * @param {Object} stateConfig - The state config. |
| 2204 | 4756 | * |
| 2205 | 4757 | * @return {void} |
| 2206 | 4758 | */ |
| 4759 | + | |
| 2207 | 4760 | }, { |
| 2208 | 4761 | key: "registerState", |
| 2209 | 4762 | value: function registerState(id, stateConfig) { |
| 2210 | 4763 | id = this.getNamespace() + (id ? "/".concat(id) : ''); |
| 2211 | - var slice = (0, _toolkit.createSlice)(_objectSpread(_objectSpread({}, stateConfig), {}, { | |
| 4764 | + var slice = (0, _toolkit.createSlice)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, stateConfig), {}, { | |
| 2212 | 4765 | name: id |
| 2213 | 4766 | })); |
| 2214 | 4767 | $e.store.register(id, slice); |
| 2215 | 4768 | } |
| @@ -2220,9 +4773,9 @@ | ||
| 2220 | 4773 | } |
| 2221 | 4774 | }, { |
| 2222 | 4775 | key: "registerData", |
| 2223 | 4776 | value: function registerData(command, context) { |
| 2224 | - this.registerCommand(command, context, 'data'); | |
| 4777 | + this.registerCommand(command, context, $e.data); | |
| 2225 | 4778 | } |
| 2226 | 4779 | }, { |
| 2227 | 4780 | key: "unregisterRoute", |
| 2228 | 4781 | value: function unregisterRoute(route) { |
| @@ -2231,8 +4784,9 @@ | ||
| 2231 | 4784 | }, { |
| 2232 | 4785 | key: "registerTabRoute", |
| 2233 | 4786 | value: function registerTabRoute(tab) { |
| 2234 | 4787 | var _this2 = this; |
| 4788 | + | |
| 2235 | 4789 | this.registerRoute(tab, function (args) { |
| 2236 | 4790 | return _this2.activateTab(tab, args); |
| 2237 | 4791 | }); |
| 2238 | 4792 | } |
| @@ -2251,12 +4805,13 @@ | ||
| 2251 | 4805 | value: function close() { |
| 2252 | 4806 | if (!this.isOpen) { |
| 2253 | 4807 | return false; |
| 2254 | 4808 | } |
| 4809 | + | |
| 2255 | 4810 | this.isOpen = false; |
| 2256 | 4811 | this.inactivate(); |
| 2257 | 4812 | $e.routes.clearCurrent(this.getNamespace()); |
| 2258 | - $e.routes.clearHistory(this.getServiceName()); | |
| 4813 | + $e.routes.clearHistory(this.getRootContainer()); | |
| 2259 | 4814 | return true; |
| 2260 | 4815 | } |
| 2261 | 4816 | }, { |
| 2262 | 4817 | key: "activate", |
| @@ -2312,17 +4867,17 @@ | ||
| 2312 | 4867 | }, { |
| 2313 | 4868 | key: "addTab", |
| 2314 | 4869 | value: function addTab(tab, args, position) { |
| 2315 | 4870 | var _this3 = this; |
| 2316 | - this.tabs[tab] = args; | |
| 2317 | - // It can be 0. | |
| 4871 | + | |
| 4872 | + this.tabs[tab] = args; // It can be 0. | |
| 4873 | + | |
| 2318 | 4874 | if ('undefined' !== typeof position) { |
| 2319 | 4875 | var newTabs = {}; |
| 2320 | - var ids = Object.keys(this.tabs); | |
| 2321 | - // Remove new tab | |
| 2322 | - ids.pop(); | |
| 4876 | + var ids = (0, _keys.default)(this.tabs); // Remove new tab | |
| 2323 | 4877 | |
| 2324 | - // Add it to position. | |
| 4878 | + ids.pop(); // Add it to position. | |
| 4879 | + | |
| 2325 | 4880 | ids.splice(position, 0, tab); |
| 2326 | 4881 | ids.forEach(function (id) { |
| 2327 | 4882 | newTabs[id] = _this3.tabs[id]; |
| 2328 | 4883 | }); |
| @@ -2327,8 +4882,9 @@ | ||
| 2327 | 4882 | newTabs[id] = _this3.tabs[id]; |
| 2328 | 4883 | }); |
| 2329 | 4884 | this.tabs = newTabs; |
| 2330 | 4885 | } |
| 4886 | + | |
| 2331 | 4887 | this.registerTabRoute(tab); |
| 2332 | 4888 | } |
| 2333 | 4889 | }, { |
| 2334 | 4890 | key: "getTabsWrapperSelector", |
| @@ -2342,12 +4898,15 @@ | ||
| 2342 | 4898 | } |
| 2343 | 4899 | }, { |
| 2344 | 4900 | key: "renderTab", |
| 2345 | 4901 | value: function renderTab(tab) {} // eslint-disable-line |
| 4902 | + | |
| 2346 | 4903 | }, { |
| 2347 | 4904 | key: "activateTab", |
| 2348 | 4905 | value: function activateTab(tab, args) { |
| 2349 | 4906 | var _this4 = this; |
| 4907 | + | |
| 4908 | + this.currentTab = tab; | |
| 2350 | 4909 | this.renderTab(tab, args); |
| 2351 | 4910 | jQuery(this.getTabsWrapperSelector() + ' .elementor-component-tab').off('click').on('click', function (event) { |
| 2352 | 4911 | $e.route(_this4.getTabRoute(event.currentTarget.dataset.tab), args); |
| 2353 | 4912 | }).removeClass('elementor-active').filter('[data-tab="' + tab + '"]').addClass('elementor-active'); |
| @@ -2361,15 +4920,13 @@ | ||
| 2361 | 4920 | key: "getBodyClass", |
| 2362 | 4921 | value: function getBodyClass(route) { |
| 2363 | 4922 | return 'e-route-' + route.replace(/\//g, '-'); |
| 2364 | 4923 | } |
| 2365 | - | |
| 2366 | 4924 | /** |
| 2367 | 4925 | * If command includes uppercase character convert it to lowercase and add `-`. |
| 2368 | 4926 | * e.g: `CopyAll` is converted to `copy-all`. |
| 2369 | - * | |
| 2370 | - * @param {string} commandName | |
| 2371 | 4927 | */ |
| 4928 | + | |
| 2372 | 4929 | }, { |
| 2373 | 4930 | key: "normalizeCommandName", |
| 2374 | 4931 | value: function normalizeCommandName(commandName) { |
| 2375 | 4932 | return commandName.replace(/[A-Z]/g, function (match, offset) { |
| @@ -2375,25 +4932,27 @@ | ||
| 2375 | 4932 | return commandName.replace(/[A-Z]/g, function (match, offset) { |
| 2376 | 4933 | return (offset > 0 ? '-' : '') + match.toLowerCase(); |
| 2377 | 4934 | }); |
| 2378 | 4935 | } |
| 2379 | - | |
| 2380 | 4936 | /** |
| 2381 | - * @param {{}} commandsFromImport | |
| 2382 | - * @return {{}} imported commands | |
| 4937 | + * @param {Object.<string, CommandBase>} commandsFromImport | |
| 4938 | + * @returns {{}} imported commands | |
| 2383 | 4939 | */ |
| 4940 | + | |
| 2384 | 4941 | }, { |
| 2385 | 4942 | key: "importCommands", |
| 2386 | 4943 | value: function importCommands(commandsFromImport) { |
| 2387 | 4944 | var _this5 = this; |
| 2388 | - var commands = {}; | |
| 2389 | 4945 | |
| 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]; | |
| 4946 | + var commands = {}; // Convert `Commands` to `ComponentBase` workable format. | |
| 4947 | + | |
| 4948 | + (0, _entries.default)(commandsFromImport).forEach(function (_ref11) { | |
| 4949 | + var _ref12 = (0, _slicedToArray2.default)(_ref11, 2), | |
| 4950 | + className = _ref12[0], | |
| 4951 | + Class = _ref12[1]; | |
| 4952 | + | |
| 2395 | 4953 | var command = _this5.normalizeCommandName(className); |
| 4954 | + | |
| 2396 | 4955 | commands[command] = Class; |
| 2397 | 4956 | }); |
| 2398 | 4957 | return commands; |
| 2399 | 4958 | } |
| @@ -2400,15 +4959,16 @@ | ||
| 2400 | 4959 | }, { |
| 2401 | 4960 | key: "importHooks", |
| 2402 | 4961 | value: function importHooks(hooksFromImport) { |
| 2403 | 4962 | var hooks = {}; |
| 4963 | + | |
| 2404 | 4964 | for (var key in hooksFromImport) { |
| 2405 | 4965 | var hook = new hooksFromImport[key](); |
| 2406 | 4966 | hooks[hook.getId()] = hook; |
| 2407 | 4967 | } |
| 4968 | + | |
| 2408 | 4969 | return hooks; |
| 2409 | 4970 | } |
| 2410 | - | |
| 2411 | 4971 | /** |
| 2412 | 4972 | * Import & initialize the component's UI states. |
| 2413 | 4973 | * Should be used inside `defaultUiState()`. |
| 2414 | 4974 | * |
| @@ -2413,31 +4973,33 @@ | ||
| 2413 | 4973 | * Should be used inside `defaultUiState()`. |
| 2414 | 4974 | * |
| 2415 | 4975 | * @param {Object} statesFromImport - UI states from import. |
| 2416 | 4976 | * |
| 2417 | - * @return {Object} UI States | |
| 4977 | + * @return {Object} | |
| 2418 | 4978 | */ |
| 4979 | + | |
| 2419 | 4980 | }, { |
| 2420 | 4981 | key: "importUiStates", |
| 2421 | 4982 | value: function importUiStates(statesFromImport) { |
| 2422 | 4983 | var _this6 = this; |
| 4984 | + | |
| 2423 | 4985 | var uiStates = {}; |
| 2424 | - Object.values(statesFromImport).forEach(function (className) { | |
| 4986 | + (0, _values.default)(statesFromImport).forEach(function (className) { | |
| 2425 | 4987 | var uiState = new className(_this6); |
| 2426 | 4988 | uiStates[uiState.getId()] = uiState; |
| 2427 | 4989 | }); |
| 2428 | 4990 | return uiStates; |
| 2429 | 4991 | } |
| 2430 | - | |
| 2431 | 4992 | /** |
| 2432 | 4993 | * Set a UI state value. |
| 2433 | 4994 | * TODO: Should we provide such function? Maybe the developer should implicitly pass the full state ID? |
| 2434 | 4995 | * |
| 2435 | - * @param {string} state - Non-prefixed state ID. | |
| 2436 | - * @param {*} value - New state value. | |
| 4996 | + * @param state - Non-prefixed state ID. | |
| 4997 | + * @param value - New state value. | |
| 2437 | 4998 | * |
| 2438 | 4999 | * @return {void} |
| 2439 | 5000 | */ |
| 5001 | + | |
| 2440 | 5002 | }, { |
| 2441 | 5003 | key: "setUiState", |
| 2442 | 5004 | value: function setUiState(state, value) { |
| 2443 | 5005 | $e.uiStates.set("".concat(this.getNamespace(), "/").concat(state), value); |
| @@ -2449,13 +5011,16 @@ | ||
| 2449 | 5011 | } |
| 2450 | 5012 | }, { |
| 2451 | 5013 | key: "toggleHistoryClass", |
| 2452 | 5014 | value: function toggleHistoryClass() { |
| 2453 | - document.body.classList.toggle('e-routes-has-history', !!$e.routes.getHistory(this.getServiceName()).length); | |
| 5015 | + document.body.classList.toggle('e-routes-has-history', !!$e.routes.getHistory(this.getRootContainer()).length); | |
| 2454 | 5016 | } |
| 2455 | 5017 | }]); |
| 5018 | + return ComponentBase; | |
| 2456 | 5019 | }(_module.default); |
| 2457 | 5020 | |
| 5021 | +exports["default"] = ComponentBase; | |
| 5022 | + | |
| 2458 | 5023 | /***/ }), |
| 2459 | 5024 | |
| 2460 | 5025 | /***/ "../modules/web-cli/assets/js/modules/component-modal-base.js": |
| 2461 | 5026 | /*!********************************************************************!*\ |
| @@ -2465,39 +5030,54 @@ | ||
| 2465 | 5030 | |
| 2466 | 5031 | "use strict"; |
| 2467 | 5032 | |
| 2468 | 5033 | |
| 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", ({ | |
| 5034 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 5035 | + | |
| 5036 | +var _interopRequireWildcard = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireWildcard */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js"); | |
| 5037 | + | |
| 5038 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 5039 | + | |
| 5040 | +_Object$defineProperty(exports, "__esModule", { | |
| 2472 | 5041 | value: true |
| 2473 | -})); | |
| 5042 | +}); | |
| 5043 | + | |
| 2474 | 5044 | 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")); | |
| 5045 | + | |
| 5046 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 5047 | + | |
| 5048 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 5049 | + | |
| 5050 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/get */ "../node_modules/@babel/runtime-corejs2/helpers/get.js")); | |
| 5051 | + | |
| 5052 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/getPrototypeOf */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js")); | |
| 5053 | + | |
| 5054 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 5055 | + | |
| 5056 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 5057 | + | |
| 2482 | 5058 | var _componentBase = _interopRequireDefault(__webpack_require__(/*! ./component-base */ "../modules/web-cli/assets/js/modules/component-base.js")); |
| 5059 | + | |
| 2483 | 5060 | var commands = _interopRequireWildcard(__webpack_require__(/*! ./commands/ */ "../modules/web-cli/assets/js/modules/commands/index.js")); |
| 5061 | + | |
| 2484 | 5062 | 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) { | |
| 5063 | + | |
| 5064 | +var ComponentModalBase = /*#__PURE__*/function (_ComponentBase) { | |
| 5065 | + (0, _inherits2.default)(ComponentModalBase, _ComponentBase); | |
| 5066 | + | |
| 5067 | + var _super = (0, _createSuper2.default)(ComponentModalBase); | |
| 5068 | + | |
| 2490 | 5069 | function ComponentModalBase() { |
| 2491 | 5070 | (0, _classCallCheck2.default)(this, ComponentModalBase); |
| 2492 | - return _callSuper(this, ComponentModalBase, arguments); | |
| 5071 | + return _super.apply(this, arguments); | |
| 2493 | 5072 | } |
| 2494 | - (0, _inherits2.default)(ComponentModalBase, _ComponentBase); | |
| 2495 | - return (0, _createClass2.default)(ComponentModalBase, [{ | |
| 5073 | + | |
| 5074 | + (0, _createClass2.default)(ComponentModalBase, [{ | |
| 2496 | 5075 | key: "registerAPI", |
| 2497 | 5076 | value: function registerAPI() { |
| 2498 | 5077 | var _this = this; |
| 2499 | - _superPropGet(ComponentModalBase, "registerAPI", this, 3)([]); | |
| 5078 | + | |
| 5079 | + (0, _get2.default)((0, _getPrototypeOf2.default)(ComponentModalBase.prototype), "registerAPI", this).call(this); | |
| 2500 | 5080 | $e.shortcuts.register('esc', { |
| 2501 | 5081 | scopes: [this.getNamespace()], |
| 2502 | 5082 | callback: function callback() { |
| 2503 | 5083 | return _this.close(); |
| @@ -2512,9 +5092,11 @@ | ||
| 2512 | 5092 | }, { |
| 2513 | 5093 | key: "defaultRoutes", |
| 2514 | 5094 | value: function defaultRoutes() { |
| 2515 | 5095 | return { |
| 2516 | - '': function _() {/* Nothing to do, it's already rendered. */} | |
| 5096 | + '': function _() { | |
| 5097 | + /* Nothing to do, it's already rendered. */ | |
| 5098 | + } | |
| 2517 | 5099 | }; |
| 2518 | 5100 | } |
| 2519 | 5101 | }, { |
| 2520 | 5102 | key: "open", |
| @@ -2519,8 +5101,9 @@ | ||
| 2519 | 5101 | }, { |
| 2520 | 5102 | key: "open", |
| 2521 | 5103 | value: function open() { |
| 2522 | 5104 | var _this2 = this; |
| 5105 | + | |
| 2523 | 5106 | if (!this.layout) { |
| 2524 | 5107 | var layout = this.getModalLayout(); |
| 2525 | 5108 | this.layout = new layout({ |
| 2526 | 5109 | component: this |
| @@ -2528,8 +5111,9 @@ | ||
| 2528 | 5111 | this.layout.getModal().on('hide', function () { |
| 2529 | 5112 | return _this2.close(); |
| 2530 | 5113 | }); |
| 2531 | 5114 | } |
| 5115 | + | |
| 2532 | 5116 | this.layout.showModal(); |
| 2533 | 5117 | return true; |
| 2534 | 5118 | } |
| 2535 | 5119 | }, { |
| @@ -2534,13 +5118,13 @@ | ||
| 2534 | 5118 | } |
| 2535 | 5119 | }, { |
| 2536 | 5120 | key: "close", |
| 2537 | 5121 | value: function close() { |
| 2538 | - if (!_superPropGet(ComponentModalBase, "close", this, 3)([])) { | |
| 5122 | + if (!(0, _get2.default)((0, _getPrototypeOf2.default)(ComponentModalBase.prototype), "close", this).call(this)) { | |
| 2539 | 5123 | return false; |
| 2540 | 5124 | } |
| 2541 | - var close = elementor.hooks.applyFilters('component/modal/close', this.layout.getModal().hide.bind(this.layout.getModal()), this); | |
| 2542 | - close(); | |
| 5125 | + | |
| 5126 | + this.layout.getModal().hide(); | |
| 2543 | 5127 | return true; |
| 2544 | 5128 | } |
| 2545 | 5129 | }, { |
| 2546 | 5130 | key: "getModalLayout", |
| @@ -2547,10 +5131,13 @@ | ||
| 2547 | 5131 | value: function getModalLayout() { |
| 2548 | 5132 | (0, _forceMethodImplementation.default)(); |
| 2549 | 5133 | } |
| 2550 | 5134 | }]); |
| 5135 | + return ComponentModalBase; | |
| 2551 | 5136 | }(_componentBase.default); |
| 2552 | 5137 | |
| 5138 | +exports["default"] = ComponentModalBase; | |
| 5139 | + | |
| 2553 | 5140 | /***/ }), |
| 2554 | 5141 | |
| 2555 | 5142 | /***/ "../modules/web-cli/assets/js/modules/hook-break.js": |
| 2556 | 5143 | /*!**********************************************************!*\ |
| @@ -2560,850 +5147,6473 @@ | ||
| 2560 | 5147 | |
| 2561 | 5148 | "use strict"; |
| 2562 | 5149 | |
| 2563 | 5150 | |
| 2564 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2565 | -Object.defineProperty(exports, "__esModule", ({ | |
| 5151 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 5152 | + | |
| 5153 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 5154 | + | |
| 5155 | +_Object$defineProperty(exports, "__esModule", { | |
| 2566 | 5156 | value: true |
| 2567 | -})); | |
| 5157 | +}); | |
| 5158 | + | |
| 2568 | 5159 | 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) { | |
| 5160 | + | |
| 5161 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 5162 | + | |
| 5163 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 5164 | + | |
| 5165 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 5166 | + | |
| 5167 | +var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime-corejs2/helpers/wrapNativeSuper.js")); | |
| 5168 | + | |
| 5169 | +var HookBreak = /*#__PURE__*/function (_Error) { | |
| 5170 | + (0, _inherits2.default)(HookBreak, _Error); | |
| 5171 | + | |
| 5172 | + var _super = (0, _createSuper2.default)(HookBreak); | |
| 5173 | + | |
| 2578 | 5174 | function HookBreak() { |
| 2579 | 5175 | (0, _classCallCheck2.default)(this, HookBreak); |
| 2580 | - return _callSuper(this, HookBreak, ['HookBreak']); | |
| 5176 | + return _super.call(this, 'HookBreak'); | |
| 2581 | 5177 | } |
| 2582 | - (0, _inherits2.default)(HookBreak, _Error); | |
| 2583 | - return (0, _createClass2.default)(HookBreak); | |
| 2584 | -}(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 2585 | 5178 | |
| 5179 | + return HookBreak; | |
| 5180 | +}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 5181 | + | |
| 5182 | +exports["default"] = HookBreak; | |
| 5183 | + | |
| 2586 | 5184 | /***/ }), |
| 2587 | 5185 | |
| 2588 | -/***/ "../modules/web-cli/assets/js/utils/console.js": | |
| 2589 | -/*!*****************************************************!*\ | |
| 2590 | - !*** ../modules/web-cli/assets/js/utils/console.js ***! | |
| 2591 | - \*****************************************************/ | |
| 5186 | +/***/ "../modules/web-cli/assets/js/utils/force-method-implementation.js": | |
| 5187 | +/*!*************************************************************************!*\ | |
| 5188 | + !*** ../modules/web-cli/assets/js/utils/force-method-implementation.js ***! | |
| 5189 | + \*************************************************************************/ | |
| 2592 | 5190 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2593 | 5191 | |
| 2594 | 5192 | "use strict"; |
| 2595 | 5193 | |
| 2596 | 5194 | |
| 2597 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2598 | -Object.defineProperty(exports, "__esModule", ({ | |
| 5195 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 5196 | + | |
| 5197 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 5198 | + | |
| 5199 | +_Object$defineProperty(exports, "__esModule", { | |
| 2599 | 5200 | 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); | |
| 5201 | +}); | |
| 5202 | + | |
| 5203 | +exports["default"] = exports.ForceMethodImplementation = void 0; | |
| 5204 | + | |
| 5205 | +__webpack_require__(/*! core-js/modules/es6.regexp.split.js */ "../node_modules/core-js/modules/es6.regexp.split.js"); | |
| 5206 | + | |
| 5207 | +__webpack_require__(/*! core-js/modules/es6.string.starts-with.js */ "../node_modules/core-js/modules/es6.string.starts-with.js"); | |
| 5208 | + | |
| 5209 | +__webpack_require__(/*! core-js/modules/es6.string.includes.js */ "../node_modules/core-js/modules/es6.string.includes.js"); | |
| 5210 | + | |
| 5211 | +__webpack_require__(/*! core-js/modules/es7.array.includes.js */ "../node_modules/core-js/modules/es7.array.includes.js"); | |
| 5212 | + | |
| 5213 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 5214 | + | |
| 5215 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/assertThisInitialized */ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js")); | |
| 5216 | + | |
| 5217 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 5218 | + | |
| 5219 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 5220 | + | |
| 5221 | +var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime-corejs2/helpers/wrapNativeSuper.js")); | |
| 5222 | + | |
| 5223 | +// TODO: Copied from `assets/dev/js/modules/imports/force-method-implementation.js`; | |
| 5224 | +var ForceMethodImplementation = /*#__PURE__*/function (_Error) { | |
| 5225 | + (0, _inherits2.default)(ForceMethodImplementation, _Error); | |
| 5226 | + | |
| 5227 | + var _super = (0, _createSuper2.default)(ForceMethodImplementation); | |
| 5228 | + | |
| 5229 | + function ForceMethodImplementation() { | |
| 5230 | + var _this; | |
| 5231 | + | |
| 5232 | + var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 5233 | + (0, _classCallCheck2.default)(this, ForceMethodImplementation); | |
| 5234 | + _this = _super.call(this, "".concat(info.isStatic ? 'static ' : '').concat(info.fullName, "() should be implemented, please provide '").concat(info.functionName || info.fullName, "' functionality.")); | |
| 5235 | + Error.captureStackTrace((0, _assertThisInitialized2.default)(_this), ForceMethodImplementation); | |
| 5236 | + return _this; | |
| 2607 | 5237 | } |
| 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 | 5238 | |
| 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); | |
| 5239 | + return ForceMethodImplementation; | |
| 5240 | +}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); | |
| 5241 | + | |
| 5242 | +exports.ForceMethodImplementation = ForceMethodImplementation; | |
| 5243 | + | |
| 5244 | +var _default = function _default() { | |
| 5245 | + var stack = Error().stack, | |
| 5246 | + caller = stack.split('\n')[2].trim(), | |
| 5247 | + callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1], | |
| 5248 | + info = {}; | |
| 5249 | + info.functionName = callerName; | |
| 5250 | + info.fullName = callerName; | |
| 5251 | + | |
| 5252 | + if (info.functionName.includes('.')) { | |
| 5253 | + var parts = info.functionName.split('.'); | |
| 5254 | + info.className = parts[0]; | |
| 5255 | + info.functionName = parts[1]; | |
| 5256 | + } else { | |
| 5257 | + info.isStatic = true; | |
| 5258 | + } | |
| 5259 | + | |
| 5260 | + throw new ForceMethodImplementation(info); | |
| 5261 | +}; | |
| 5262 | + | |
| 5263 | +exports["default"] = _default; | |
| 5264 | + | |
| 5265 | +/***/ }), | |
| 5266 | + | |
| 5267 | +/***/ "../node_modules/core-js/library/fn/array/from.js": | |
| 5268 | +/*!********************************************************!*\ | |
| 5269 | + !*** ../node_modules/core-js/library/fn/array/from.js ***! | |
| 5270 | + \********************************************************/ | |
| 5271 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5272 | + | |
| 5273 | +__webpack_require__(/*! ../../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 5274 | +__webpack_require__(/*! ../../modules/es6.array.from */ "../node_modules/core-js/library/modules/es6.array.from.js"); | |
| 5275 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Array.from; | |
| 5276 | + | |
| 5277 | + | |
| 5278 | +/***/ }), | |
| 5279 | + | |
| 5280 | +/***/ "../node_modules/core-js/library/fn/array/is-array.js": | |
| 5281 | +/*!************************************************************!*\ | |
| 5282 | + !*** ../node_modules/core-js/library/fn/array/is-array.js ***! | |
| 5283 | + \************************************************************/ | |
| 5284 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5285 | + | |
| 5286 | +__webpack_require__(/*! ../../modules/es6.array.is-array */ "../node_modules/core-js/library/modules/es6.array.is-array.js"); | |
| 5287 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Array.isArray; | |
| 5288 | + | |
| 5289 | + | |
| 5290 | +/***/ }), | |
| 5291 | + | |
| 5292 | +/***/ "../node_modules/core-js/library/fn/map.js": | |
| 5293 | +/*!*************************************************!*\ | |
| 5294 | + !*** ../node_modules/core-js/library/fn/map.js ***! | |
| 5295 | + \*************************************************/ | |
| 5296 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5297 | + | |
| 5298 | +__webpack_require__(/*! ../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 5299 | +__webpack_require__(/*! ../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 5300 | +__webpack_require__(/*! ../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 5301 | +__webpack_require__(/*! ../modules/es6.map */ "../node_modules/core-js/library/modules/es6.map.js"); | |
| 5302 | +__webpack_require__(/*! ../modules/es7.map.to-json */ "../node_modules/core-js/library/modules/es7.map.to-json.js"); | |
| 5303 | +__webpack_require__(/*! ../modules/es7.map.of */ "../node_modules/core-js/library/modules/es7.map.of.js"); | |
| 5304 | +__webpack_require__(/*! ../modules/es7.map.from */ "../node_modules/core-js/library/modules/es7.map.from.js"); | |
| 5305 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Map; | |
| 5306 | + | |
| 5307 | + | |
| 5308 | +/***/ }), | |
| 5309 | + | |
| 5310 | +/***/ "../node_modules/core-js/library/fn/object/create.js": | |
| 5311 | +/*!***********************************************************!*\ | |
| 5312 | + !*** ../node_modules/core-js/library/fn/object/create.js ***! | |
| 5313 | + \***********************************************************/ | |
| 5314 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5315 | + | |
| 5316 | +__webpack_require__(/*! ../../modules/es6.object.create */ "../node_modules/core-js/library/modules/es6.object.create.js"); | |
| 5317 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 5318 | +module.exports = function create(P, D) { | |
| 5319 | + return $Object.create(P, D); | |
| 5320 | +}; | |
| 5321 | + | |
| 5322 | + | |
| 5323 | +/***/ }), | |
| 5324 | + | |
| 5325 | +/***/ "../node_modules/core-js/library/fn/object/define-properties.js": | |
| 5326 | +/*!**********************************************************************!*\ | |
| 5327 | + !*** ../node_modules/core-js/library/fn/object/define-properties.js ***! | |
| 5328 | + \**********************************************************************/ | |
| 5329 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5330 | + | |
| 5331 | +__webpack_require__(/*! ../../modules/es6.object.define-properties */ "../node_modules/core-js/library/modules/es6.object.define-properties.js"); | |
| 5332 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 5333 | +module.exports = function defineProperties(T, D) { | |
| 5334 | + return $Object.defineProperties(T, D); | |
| 5335 | +}; | |
| 5336 | + | |
| 5337 | + | |
| 5338 | +/***/ }), | |
| 5339 | + | |
| 5340 | +/***/ "../node_modules/core-js/library/fn/object/define-property.js": | |
| 5341 | +/*!********************************************************************!*\ | |
| 5342 | + !*** ../node_modules/core-js/library/fn/object/define-property.js ***! | |
| 5343 | + \********************************************************************/ | |
| 5344 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5345 | + | |
| 5346 | +__webpack_require__(/*! ../../modules/es6.object.define-property */ "../node_modules/core-js/library/modules/es6.object.define-property.js"); | |
| 5347 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 5348 | +module.exports = function defineProperty(it, key, desc) { | |
| 5349 | + return $Object.defineProperty(it, key, desc); | |
| 5350 | +}; | |
| 5351 | + | |
| 5352 | + | |
| 5353 | +/***/ }), | |
| 5354 | + | |
| 5355 | +/***/ "../node_modules/core-js/library/fn/object/entries.js": | |
| 5356 | +/*!************************************************************!*\ | |
| 5357 | + !*** ../node_modules/core-js/library/fn/object/entries.js ***! | |
| 5358 | + \************************************************************/ | |
| 5359 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5360 | + | |
| 5361 | +__webpack_require__(/*! ../../modules/es7.object.entries */ "../node_modules/core-js/library/modules/es7.object.entries.js"); | |
| 5362 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.entries; | |
| 5363 | + | |
| 5364 | + | |
| 5365 | +/***/ }), | |
| 5366 | + | |
| 5367 | +/***/ "../node_modules/core-js/library/fn/object/freeze.js": | |
| 5368 | +/*!***********************************************************!*\ | |
| 5369 | + !*** ../node_modules/core-js/library/fn/object/freeze.js ***! | |
| 5370 | + \***********************************************************/ | |
| 5371 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5372 | + | |
| 5373 | +__webpack_require__(/*! ../../modules/es6.object.freeze */ "../node_modules/core-js/library/modules/es6.object.freeze.js"); | |
| 5374 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.freeze; | |
| 5375 | + | |
| 5376 | + | |
| 5377 | +/***/ }), | |
| 5378 | + | |
| 5379 | +/***/ "../node_modules/core-js/library/fn/object/get-own-property-descriptor.js": | |
| 5380 | +/*!********************************************************************************!*\ | |
| 5381 | + !*** ../node_modules/core-js/library/fn/object/get-own-property-descriptor.js ***! | |
| 5382 | + \********************************************************************************/ | |
| 5383 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5384 | + | |
| 5385 | +__webpack_require__(/*! ../../modules/es6.object.get-own-property-descriptor */ "../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js"); | |
| 5386 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 5387 | +module.exports = function getOwnPropertyDescriptor(it, key) { | |
| 5388 | + return $Object.getOwnPropertyDescriptor(it, key); | |
| 5389 | +}; | |
| 5390 | + | |
| 5391 | + | |
| 5392 | +/***/ }), | |
| 5393 | + | |
| 5394 | +/***/ "../node_modules/core-js/library/fn/object/get-own-property-descriptors.js": | |
| 5395 | +/*!*********************************************************************************!*\ | |
| 5396 | + !*** ../node_modules/core-js/library/fn/object/get-own-property-descriptors.js ***! | |
| 5397 | + \*********************************************************************************/ | |
| 5398 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5399 | + | |
| 5400 | +__webpack_require__(/*! ../../modules/es7.object.get-own-property-descriptors */ "../node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js"); | |
| 5401 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.getOwnPropertyDescriptors; | |
| 5402 | + | |
| 5403 | + | |
| 5404 | +/***/ }), | |
| 5405 | + | |
| 5406 | +/***/ "../node_modules/core-js/library/fn/object/get-own-property-symbols.js": | |
| 5407 | +/*!*****************************************************************************!*\ | |
| 5408 | + !*** ../node_modules/core-js/library/fn/object/get-own-property-symbols.js ***! | |
| 5409 | + \*****************************************************************************/ | |
| 5410 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5411 | + | |
| 5412 | +__webpack_require__(/*! ../../modules/es6.symbol */ "../node_modules/core-js/library/modules/es6.symbol.js"); | |
| 5413 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.getOwnPropertySymbols; | |
| 5414 | + | |
| 5415 | + | |
| 5416 | +/***/ }), | |
| 5417 | + | |
| 5418 | +/***/ "../node_modules/core-js/library/fn/object/get-prototype-of.js": | |
| 5419 | +/*!*********************************************************************!*\ | |
| 5420 | + !*** ../node_modules/core-js/library/fn/object/get-prototype-of.js ***! | |
| 5421 | + \*********************************************************************/ | |
| 5422 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5423 | + | |
| 5424 | +__webpack_require__(/*! ../../modules/es6.object.get-prototype-of */ "../node_modules/core-js/library/modules/es6.object.get-prototype-of.js"); | |
| 5425 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.getPrototypeOf; | |
| 5426 | + | |
| 5427 | + | |
| 5428 | +/***/ }), | |
| 5429 | + | |
| 5430 | +/***/ "../node_modules/core-js/library/fn/object/keys.js": | |
| 5431 | +/*!*********************************************************!*\ | |
| 5432 | + !*** ../node_modules/core-js/library/fn/object/keys.js ***! | |
| 5433 | + \*********************************************************/ | |
| 5434 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5435 | + | |
| 5436 | +__webpack_require__(/*! ../../modules/es6.object.keys */ "../node_modules/core-js/library/modules/es6.object.keys.js"); | |
| 5437 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.keys; | |
| 5438 | + | |
| 5439 | + | |
| 5440 | +/***/ }), | |
| 5441 | + | |
| 5442 | +/***/ "../node_modules/core-js/library/fn/object/set-prototype-of.js": | |
| 5443 | +/*!*********************************************************************!*\ | |
| 5444 | + !*** ../node_modules/core-js/library/fn/object/set-prototype-of.js ***! | |
| 5445 | + \*********************************************************************/ | |
| 5446 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5447 | + | |
| 5448 | +__webpack_require__(/*! ../../modules/es6.object.set-prototype-of */ "../node_modules/core-js/library/modules/es6.object.set-prototype-of.js"); | |
| 5449 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.setPrototypeOf; | |
| 5450 | + | |
| 5451 | + | |
| 5452 | +/***/ }), | |
| 5453 | + | |
| 5454 | +/***/ "../node_modules/core-js/library/fn/object/values.js": | |
| 5455 | +/*!***********************************************************!*\ | |
| 5456 | + !*** ../node_modules/core-js/library/fn/object/values.js ***! | |
| 5457 | + \***********************************************************/ | |
| 5458 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5459 | + | |
| 5460 | +__webpack_require__(/*! ../../modules/es7.object.values */ "../node_modules/core-js/library/modules/es7.object.values.js"); | |
| 5461 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.values; | |
| 5462 | + | |
| 5463 | + | |
| 5464 | +/***/ }), | |
| 5465 | + | |
| 5466 | +/***/ "../node_modules/core-js/library/fn/parse-float.js": | |
| 5467 | +/*!*********************************************************!*\ | |
| 5468 | + !*** ../node_modules/core-js/library/fn/parse-float.js ***! | |
| 5469 | + \*********************************************************/ | |
| 5470 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5471 | + | |
| 5472 | +__webpack_require__(/*! ../modules/es6.parse-float */ "../node_modules/core-js/library/modules/es6.parse-float.js"); | |
| 5473 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").parseFloat; | |
| 5474 | + | |
| 5475 | + | |
| 5476 | +/***/ }), | |
| 5477 | + | |
| 5478 | +/***/ "../node_modules/core-js/library/fn/parse-int.js": | |
| 5479 | +/*!*******************************************************!*\ | |
| 5480 | + !*** ../node_modules/core-js/library/fn/parse-int.js ***! | |
| 5481 | + \*******************************************************/ | |
| 5482 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5483 | + | |
| 5484 | +__webpack_require__(/*! ../modules/es6.parse-int */ "../node_modules/core-js/library/modules/es6.parse-int.js"); | |
| 5485 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").parseInt; | |
| 5486 | + | |
| 5487 | + | |
| 5488 | +/***/ }), | |
| 5489 | + | |
| 5490 | +/***/ "../node_modules/core-js/library/fn/reflect/construct.js": | |
| 5491 | +/*!***************************************************************!*\ | |
| 5492 | + !*** ../node_modules/core-js/library/fn/reflect/construct.js ***! | |
| 5493 | + \***************************************************************/ | |
| 5494 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5495 | + | |
| 5496 | +__webpack_require__(/*! ../../modules/es6.reflect.construct */ "../node_modules/core-js/library/modules/es6.reflect.construct.js"); | |
| 5497 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Reflect.construct; | |
| 5498 | + | |
| 5499 | + | |
| 5500 | +/***/ }), | |
| 5501 | + | |
| 5502 | +/***/ "../node_modules/core-js/library/fn/reflect/get.js": | |
| 5503 | +/*!*********************************************************!*\ | |
| 5504 | + !*** ../node_modules/core-js/library/fn/reflect/get.js ***! | |
| 5505 | + \*********************************************************/ | |
| 5506 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5507 | + | |
| 5508 | +__webpack_require__(/*! ../../modules/es6.reflect.get */ "../node_modules/core-js/library/modules/es6.reflect.get.js"); | |
| 5509 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Reflect.get; | |
| 5510 | + | |
| 5511 | + | |
| 5512 | +/***/ }), | |
| 5513 | + | |
| 5514 | +/***/ "../node_modules/core-js/library/fn/symbol/has-instance.js": | |
| 5515 | +/*!*****************************************************************!*\ | |
| 5516 | + !*** ../node_modules/core-js/library/fn/symbol/has-instance.js ***! | |
| 5517 | + \*****************************************************************/ | |
| 5518 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5519 | + | |
| 5520 | +__webpack_require__(/*! ../../modules/es6.function.has-instance */ "../node_modules/core-js/library/modules/es6.function.has-instance.js"); | |
| 5521 | +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js").f('hasInstance'); | |
| 5522 | + | |
| 5523 | + | |
| 5524 | +/***/ }), | |
| 5525 | + | |
| 5526 | +/***/ "../node_modules/core-js/library/fn/symbol/index.js": | |
| 5527 | +/*!**********************************************************!*\ | |
| 5528 | + !*** ../node_modules/core-js/library/fn/symbol/index.js ***! | |
| 5529 | + \**********************************************************/ | |
| 5530 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5531 | + | |
| 5532 | +__webpack_require__(/*! ../../modules/es6.symbol */ "../node_modules/core-js/library/modules/es6.symbol.js"); | |
| 5533 | +__webpack_require__(/*! ../../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 5534 | +__webpack_require__(/*! ../../modules/es7.symbol.async-iterator */ "../node_modules/core-js/library/modules/es7.symbol.async-iterator.js"); | |
| 5535 | +__webpack_require__(/*! ../../modules/es7.symbol.observable */ "../node_modules/core-js/library/modules/es7.symbol.observable.js"); | |
| 5536 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Symbol; | |
| 5537 | + | |
| 5538 | + | |
| 5539 | +/***/ }), | |
| 5540 | + | |
| 5541 | +/***/ "../node_modules/core-js/library/fn/symbol/iterator.js": | |
| 5542 | +/*!*************************************************************!*\ | |
| 5543 | + !*** ../node_modules/core-js/library/fn/symbol/iterator.js ***! | |
| 5544 | + \*************************************************************/ | |
| 5545 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5546 | + | |
| 5547 | +__webpack_require__(/*! ../../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 5548 | +__webpack_require__(/*! ../../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 5549 | +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js").f('iterator'); | |
| 5550 | + | |
| 5551 | + | |
| 5552 | +/***/ }), | |
| 5553 | + | |
| 5554 | +/***/ "../node_modules/core-js/library/fn/symbol/to-string-tag.js": | |
| 5555 | +/*!******************************************************************!*\ | |
| 5556 | + !*** ../node_modules/core-js/library/fn/symbol/to-string-tag.js ***! | |
| 5557 | + \******************************************************************/ | |
| 5558 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5559 | + | |
| 5560 | +__webpack_require__(/*! ../../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 5561 | +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js").f('toStringTag'); | |
| 5562 | + | |
| 5563 | + | |
| 5564 | +/***/ }), | |
| 5565 | + | |
| 5566 | +/***/ "../node_modules/core-js/library/fn/weak-map.js": | |
| 5567 | +/*!******************************************************!*\ | |
| 5568 | + !*** ../node_modules/core-js/library/fn/weak-map.js ***! | |
| 5569 | + \******************************************************/ | |
| 5570 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5571 | + | |
| 5572 | +__webpack_require__(/*! ../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 5573 | +__webpack_require__(/*! ../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 5574 | +__webpack_require__(/*! ../modules/es6.weak-map */ "../node_modules/core-js/library/modules/es6.weak-map.js"); | |
| 5575 | +__webpack_require__(/*! ../modules/es7.weak-map.of */ "../node_modules/core-js/library/modules/es7.weak-map.of.js"); | |
| 5576 | +__webpack_require__(/*! ../modules/es7.weak-map.from */ "../node_modules/core-js/library/modules/es7.weak-map.from.js"); | |
| 5577 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").WeakMap; | |
| 5578 | + | |
| 5579 | + | |
| 5580 | +/***/ }), | |
| 5581 | + | |
| 5582 | +/***/ "../node_modules/core-js/library/modules/_a-function.js": | |
| 5583 | +/*!**************************************************************!*\ | |
| 5584 | + !*** ../node_modules/core-js/library/modules/_a-function.js ***! | |
| 5585 | + \**************************************************************/ | |
| 5586 | +/***/ ((module) => { | |
| 5587 | + | |
| 5588 | +module.exports = function (it) { | |
| 5589 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 5590 | + return it; | |
| 5591 | +}; | |
| 5592 | + | |
| 5593 | + | |
| 5594 | +/***/ }), | |
| 5595 | + | |
| 5596 | +/***/ "../node_modules/core-js/library/modules/_add-to-unscopables.js": | |
| 5597 | +/*!**********************************************************************!*\ | |
| 5598 | + !*** ../node_modules/core-js/library/modules/_add-to-unscopables.js ***! | |
| 5599 | + \**********************************************************************/ | |
| 5600 | +/***/ ((module) => { | |
| 5601 | + | |
| 5602 | +module.exports = function () { /* empty */ }; | |
| 5603 | + | |
| 5604 | + | |
| 5605 | +/***/ }), | |
| 5606 | + | |
| 5607 | +/***/ "../node_modules/core-js/library/modules/_an-instance.js": | |
| 5608 | +/*!***************************************************************!*\ | |
| 5609 | + !*** ../node_modules/core-js/library/modules/_an-instance.js ***! | |
| 5610 | + \***************************************************************/ | |
| 5611 | +/***/ ((module) => { | |
| 5612 | + | |
| 5613 | +module.exports = function (it, Constructor, name, forbiddenField) { | |
| 5614 | + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { | |
| 5615 | + throw TypeError(name + ': incorrect invocation!'); | |
| 5616 | + } return it; | |
| 5617 | +}; | |
| 5618 | + | |
| 5619 | + | |
| 5620 | +/***/ }), | |
| 5621 | + | |
| 5622 | +/***/ "../node_modules/core-js/library/modules/_an-object.js": | |
| 5623 | +/*!*************************************************************!*\ | |
| 5624 | + !*** ../node_modules/core-js/library/modules/_an-object.js ***! | |
| 5625 | + \*************************************************************/ | |
| 5626 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5627 | + | |
| 5628 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 5629 | +module.exports = function (it) { | |
| 5630 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 5631 | + return it; | |
| 5632 | +}; | |
| 5633 | + | |
| 5634 | + | |
| 5635 | +/***/ }), | |
| 5636 | + | |
| 5637 | +/***/ "../node_modules/core-js/library/modules/_array-from-iterable.js": | |
| 5638 | +/*!***********************************************************************!*\ | |
| 5639 | + !*** ../node_modules/core-js/library/modules/_array-from-iterable.js ***! | |
| 5640 | + \***********************************************************************/ | |
| 5641 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5642 | + | |
| 5643 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 5644 | + | |
| 5645 | +module.exports = function (iter, ITERATOR) { | |
| 5646 | + var result = []; | |
| 5647 | + forOf(iter, false, result.push, result, ITERATOR); | |
| 5648 | + return result; | |
| 5649 | +}; | |
| 5650 | + | |
| 5651 | + | |
| 5652 | +/***/ }), | |
| 5653 | + | |
| 5654 | +/***/ "../node_modules/core-js/library/modules/_array-includes.js": | |
| 5655 | +/*!******************************************************************!*\ | |
| 5656 | + !*** ../node_modules/core-js/library/modules/_array-includes.js ***! | |
| 5657 | + \******************************************************************/ | |
| 5658 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5659 | + | |
| 5660 | +// false -> Array#indexOf | |
| 5661 | +// true -> Array#includes | |
| 5662 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 5663 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 5664 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/library/modules/_to-absolute-index.js"); | |
| 5665 | +module.exports = function (IS_INCLUDES) { | |
| 5666 | + return function ($this, el, fromIndex) { | |
| 5667 | + var O = toIObject($this); | |
| 5668 | + var length = toLength(O.length); | |
| 5669 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 5670 | + var value; | |
| 5671 | + // Array#includes uses SameValueZero equality algorithm | |
| 5672 | + // eslint-disable-next-line no-self-compare | |
| 5673 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 5674 | + value = O[index++]; | |
| 5675 | + // eslint-disable-next-line no-self-compare | |
| 5676 | + if (value != value) return true; | |
| 5677 | + // Array#indexOf ignores holes, Array#includes - not | |
| 5678 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 5679 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 5680 | + } return !IS_INCLUDES && -1; | |
| 5681 | + }; | |
| 5682 | +}; | |
| 5683 | + | |
| 5684 | + | |
| 5685 | +/***/ }), | |
| 5686 | + | |
| 5687 | +/***/ "../node_modules/core-js/library/modules/_array-methods.js": | |
| 5688 | +/*!*****************************************************************!*\ | |
| 5689 | + !*** ../node_modules/core-js/library/modules/_array-methods.js ***! | |
| 5690 | + \*****************************************************************/ | |
| 5691 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5692 | + | |
| 5693 | +// 0 -> Array#forEach | |
| 5694 | +// 1 -> Array#map | |
| 5695 | +// 2 -> Array#filter | |
| 5696 | +// 3 -> Array#some | |
| 5697 | +// 4 -> Array#every | |
| 5698 | +// 5 -> Array#find | |
| 5699 | +// 6 -> Array#findIndex | |
| 5700 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 5701 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 5702 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 5703 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 5704 | +var asc = __webpack_require__(/*! ./_array-species-create */ "../node_modules/core-js/library/modules/_array-species-create.js"); | |
| 5705 | +module.exports = function (TYPE, $create) { | |
| 5706 | + var IS_MAP = TYPE == 1; | |
| 5707 | + var IS_FILTER = TYPE == 2; | |
| 5708 | + var IS_SOME = TYPE == 3; | |
| 5709 | + var IS_EVERY = TYPE == 4; | |
| 5710 | + var IS_FIND_INDEX = TYPE == 6; | |
| 5711 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 5712 | + var create = $create || asc; | |
| 5713 | + return function ($this, callbackfn, that) { | |
| 5714 | + var O = toObject($this); | |
| 5715 | + var self = IObject(O); | |
| 5716 | + var f = ctx(callbackfn, that, 3); | |
| 5717 | + var length = toLength(self.length); | |
| 5718 | + var index = 0; | |
| 5719 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 5720 | + var val, res; | |
| 5721 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 5722 | + val = self[index]; | |
| 5723 | + res = f(val, index, O); | |
| 5724 | + if (TYPE) { | |
| 5725 | + if (IS_MAP) result[index] = res; // map | |
| 5726 | + else if (res) switch (TYPE) { | |
| 5727 | + case 3: return true; // some | |
| 5728 | + case 5: return val; // find | |
| 5729 | + case 6: return index; // findIndex | |
| 5730 | + case 2: result.push(val); // filter | |
| 5731 | + } else if (IS_EVERY) return false; // every | |
| 2620 | 5732 | } |
| 2621 | 5733 | } |
| 2622 | - }, { | |
| 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 | |
| 5734 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 5735 | + }; | |
| 5736 | +}; | |
| 5737 | + | |
| 5738 | + | |
| 5739 | +/***/ }), | |
| 5740 | + | |
| 5741 | +/***/ "../node_modules/core-js/library/modules/_array-species-constructor.js": | |
| 5742 | +/*!*****************************************************************************!*\ | |
| 5743 | + !*** ../node_modules/core-js/library/modules/_array-species-constructor.js ***! | |
| 5744 | + \*****************************************************************************/ | |
| 5745 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5746 | + | |
| 5747 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 5748 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js"); | |
| 5749 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species'); | |
| 5750 | + | |
| 5751 | +module.exports = function (original) { | |
| 5752 | + var C; | |
| 5753 | + if (isArray(original)) { | |
| 5754 | + C = original.constructor; | |
| 5755 | + // cross-realm fallback | |
| 5756 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 5757 | + if (isObject(C)) { | |
| 5758 | + C = C[SPECIES]; | |
| 5759 | + if (C === null) C = undefined; | |
| 2632 | 5760 | } |
| 2633 | - }]); | |
| 2634 | -}(); | |
| 5761 | + } return C === undefined ? Array : C; | |
| 5762 | +}; | |
| 2635 | 5763 | |
| 5764 | + | |
| 2636 | 5765 | /***/ }), |
| 2637 | 5766 | |
| 2638 | -/***/ "../modules/web-cli/assets/js/utils/deprecation.js": | |
| 2639 | -/*!*********************************************************!*\ | |
| 2640 | - !*** ../modules/web-cli/assets/js/utils/deprecation.js ***! | |
| 2641 | - \*********************************************************/ | |
| 2642 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 5767 | +/***/ "../node_modules/core-js/library/modules/_array-species-create.js": | |
| 5768 | +/*!************************************************************************!*\ | |
| 5769 | + !*** ../node_modules/core-js/library/modules/_array-species-create.js ***! | |
| 5770 | + \************************************************************************/ | |
| 5771 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2643 | 5772 | |
| 5773 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 5774 | +var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "../node_modules/core-js/library/modules/_array-species-constructor.js"); | |
| 5775 | + | |
| 5776 | +module.exports = function (original, length) { | |
| 5777 | + return new (speciesConstructor(original))(length); | |
| 5778 | +}; | |
| 5779 | + | |
| 5780 | + | |
| 5781 | +/***/ }), | |
| 5782 | + | |
| 5783 | +/***/ "../node_modules/core-js/library/modules/_bind.js": | |
| 5784 | +/*!********************************************************!*\ | |
| 5785 | + !*** ../node_modules/core-js/library/modules/_bind.js ***! | |
| 5786 | + \********************************************************/ | |
| 5787 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5788 | + | |
| 2644 | 5789 | "use strict"; |
| 2645 | 5790 | |
| 5791 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 5792 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 5793 | +var invoke = __webpack_require__(/*! ./_invoke */ "../node_modules/core-js/library/modules/_invoke.js"); | |
| 5794 | +var arraySlice = [].slice; | |
| 5795 | +var factories = {}; | |
| 2646 | 5796 | |
| 2647 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2648 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2649 | - 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 | - */ | |
| 5797 | +var construct = function (F, len, args) { | |
| 5798 | + if (!(len in factories)) { | |
| 5799 | + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; | |
| 5800 | + // eslint-disable-next-line no-new-func | |
| 5801 | + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); | |
| 5802 | + } return factories[len](F, args); | |
| 5803 | +}; | |
| 2664 | 5804 | |
| 2665 | -var softDeprecated = function softDeprecated(name, version, replacement) { | |
| 2666 | - if (elementorWebCliConfig.isDebug) { | |
| 2667 | - deprecatedMessage('soft', name, version, replacement); | |
| 5805 | +module.exports = Function.bind || function bind(that /* , ...args */) { | |
| 5806 | + var fn = aFunction(this); | |
| 5807 | + var partArgs = arraySlice.call(arguments, 1); | |
| 5808 | + var bound = function (/* args... */) { | |
| 5809 | + var args = partArgs.concat(arraySlice.call(arguments)); | |
| 5810 | + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); | |
| 5811 | + }; | |
| 5812 | + if (isObject(fn.prototype)) bound.prototype = fn.prototype; | |
| 5813 | + return bound; | |
| 5814 | +}; | |
| 5815 | + | |
| 5816 | + | |
| 5817 | +/***/ }), | |
| 5818 | + | |
| 5819 | +/***/ "../node_modules/core-js/library/modules/_classof.js": | |
| 5820 | +/*!***********************************************************!*\ | |
| 5821 | + !*** ../node_modules/core-js/library/modules/_classof.js ***! | |
| 5822 | + \***********************************************************/ | |
| 5823 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5824 | + | |
| 5825 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 5826 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 5827 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 5828 | +// ES3 wrong here | |
| 5829 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 5830 | + | |
| 5831 | +// fallback for IE11 Script Access Denied error | |
| 5832 | +var tryGet = function (it, key) { | |
| 5833 | + try { | |
| 5834 | + return it[key]; | |
| 5835 | + } catch (e) { /* empty */ } | |
| 5836 | +}; | |
| 5837 | + | |
| 5838 | +module.exports = function (it) { | |
| 5839 | + var O, T, B; | |
| 5840 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 5841 | + // @@toStringTag case | |
| 5842 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 5843 | + // builtinTag case | |
| 5844 | + : ARG ? cof(O) | |
| 5845 | + // ES3 arguments fallback | |
| 5846 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 5847 | +}; | |
| 5848 | + | |
| 5849 | + | |
| 5850 | +/***/ }), | |
| 5851 | + | |
| 5852 | +/***/ "../node_modules/core-js/library/modules/_cof.js": | |
| 5853 | +/*!*******************************************************!*\ | |
| 5854 | + !*** ../node_modules/core-js/library/modules/_cof.js ***! | |
| 5855 | + \*******************************************************/ | |
| 5856 | +/***/ ((module) => { | |
| 5857 | + | |
| 5858 | +var toString = {}.toString; | |
| 5859 | + | |
| 5860 | +module.exports = function (it) { | |
| 5861 | + return toString.call(it).slice(8, -1); | |
| 5862 | +}; | |
| 5863 | + | |
| 5864 | + | |
| 5865 | +/***/ }), | |
| 5866 | + | |
| 5867 | +/***/ "../node_modules/core-js/library/modules/_collection-strong.js": | |
| 5868 | +/*!*********************************************************************!*\ | |
| 5869 | + !*** ../node_modules/core-js/library/modules/_collection-strong.js ***! | |
| 5870 | + \*********************************************************************/ | |
| 5871 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5872 | + | |
| 5873 | +"use strict"; | |
| 5874 | + | |
| 5875 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 5876 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 5877 | +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js"); | |
| 5878 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 5879 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 5880 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 5881 | +var $iterDefine = __webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js"); | |
| 5882 | +var step = __webpack_require__(/*! ./_iter-step */ "../node_modules/core-js/library/modules/_iter-step.js"); | |
| 5883 | +var setSpecies = __webpack_require__(/*! ./_set-species */ "../node_modules/core-js/library/modules/_set-species.js"); | |
| 5884 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 5885 | +var fastKey = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").fastKey; | |
| 5886 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 5887 | +var SIZE = DESCRIPTORS ? '_s' : 'size'; | |
| 5888 | + | |
| 5889 | +var getEntry = function (that, key) { | |
| 5890 | + // fast case | |
| 5891 | + var index = fastKey(key); | |
| 5892 | + var entry; | |
| 5893 | + if (index !== 'F') return that._i[index]; | |
| 5894 | + // frozen object case | |
| 5895 | + for (entry = that._f; entry; entry = entry.n) { | |
| 5896 | + if (entry.k == key) return entry; | |
| 2668 | 5897 | } |
| 2669 | 5898 | }; |
| 2670 | -var hardDeprecated = function hardDeprecated(name, version, replacement) { | |
| 2671 | - deprecatedMessage('hard', name, version, replacement); | |
| 5899 | + | |
| 5900 | +module.exports = { | |
| 5901 | + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { | |
| 5902 | + var C = wrapper(function (that, iterable) { | |
| 5903 | + anInstance(that, C, NAME, '_i'); | |
| 5904 | + that._t = NAME; // collection type | |
| 5905 | + that._i = create(null); // index | |
| 5906 | + that._f = undefined; // first entry | |
| 5907 | + that._l = undefined; // last entry | |
| 5908 | + that[SIZE] = 0; // size | |
| 5909 | + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); | |
| 5910 | + }); | |
| 5911 | + redefineAll(C.prototype, { | |
| 5912 | + // 23.1.3.1 Map.prototype.clear() | |
| 5913 | + // 23.2.3.2 Set.prototype.clear() | |
| 5914 | + clear: function clear() { | |
| 5915 | + for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { | |
| 5916 | + entry.r = true; | |
| 5917 | + if (entry.p) entry.p = entry.p.n = undefined; | |
| 5918 | + delete data[entry.i]; | |
| 5919 | + } | |
| 5920 | + that._f = that._l = undefined; | |
| 5921 | + that[SIZE] = 0; | |
| 5922 | + }, | |
| 5923 | + // 23.1.3.3 Map.prototype.delete(key) | |
| 5924 | + // 23.2.3.4 Set.prototype.delete(value) | |
| 5925 | + 'delete': function (key) { | |
| 5926 | + var that = validate(this, NAME); | |
| 5927 | + var entry = getEntry(that, key); | |
| 5928 | + if (entry) { | |
| 5929 | + var next = entry.n; | |
| 5930 | + var prev = entry.p; | |
| 5931 | + delete that._i[entry.i]; | |
| 5932 | + entry.r = true; | |
| 5933 | + if (prev) prev.n = next; | |
| 5934 | + if (next) next.p = prev; | |
| 5935 | + if (that._f == entry) that._f = next; | |
| 5936 | + if (that._l == entry) that._l = prev; | |
| 5937 | + that[SIZE]--; | |
| 5938 | + } return !!entry; | |
| 5939 | + }, | |
| 5940 | + // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) | |
| 5941 | + // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) | |
| 5942 | + forEach: function forEach(callbackfn /* , that = undefined */) { | |
| 5943 | + validate(this, NAME); | |
| 5944 | + var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); | |
| 5945 | + var entry; | |
| 5946 | + while (entry = entry ? entry.n : this._f) { | |
| 5947 | + f(entry.v, entry.k, this); | |
| 5948 | + // revert to the last existing entry | |
| 5949 | + while (entry && entry.r) entry = entry.p; | |
| 5950 | + } | |
| 5951 | + }, | |
| 5952 | + // 23.1.3.7 Map.prototype.has(key) | |
| 5953 | + // 23.2.3.7 Set.prototype.has(value) | |
| 5954 | + has: function has(key) { | |
| 5955 | + return !!getEntry(validate(this, NAME), key); | |
| 5956 | + } | |
| 5957 | + }); | |
| 5958 | + if (DESCRIPTORS) dP(C.prototype, 'size', { | |
| 5959 | + get: function () { | |
| 5960 | + return validate(this, NAME)[SIZE]; | |
| 5961 | + } | |
| 5962 | + }); | |
| 5963 | + return C; | |
| 5964 | + }, | |
| 5965 | + def: function (that, key, value) { | |
| 5966 | + var entry = getEntry(that, key); | |
| 5967 | + var prev, index; | |
| 5968 | + // change existing entry | |
| 5969 | + if (entry) { | |
| 5970 | + entry.v = value; | |
| 5971 | + // create new entry | |
| 5972 | + } else { | |
| 5973 | + that._l = entry = { | |
| 5974 | + i: index = fastKey(key, true), // <- index | |
| 5975 | + k: key, // <- key | |
| 5976 | + v: value, // <- value | |
| 5977 | + p: prev = that._l, // <- previous entry | |
| 5978 | + n: undefined, // <- next entry | |
| 5979 | + r: false // <- removed | |
| 5980 | + }; | |
| 5981 | + if (!that._f) that._f = entry; | |
| 5982 | + if (prev) prev.n = entry; | |
| 5983 | + that[SIZE]++; | |
| 5984 | + // add to index | |
| 5985 | + if (index !== 'F') that._i[index] = entry; | |
| 5986 | + } return that; | |
| 5987 | + }, | |
| 5988 | + getEntry: getEntry, | |
| 5989 | + setStrong: function (C, NAME, IS_MAP) { | |
| 5990 | + // add .keys, .values, .entries, [@@iterator] | |
| 5991 | + // 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 | |
| 5992 | + $iterDefine(C, NAME, function (iterated, kind) { | |
| 5993 | + this._t = validate(iterated, NAME); // target | |
| 5994 | + this._k = kind; // kind | |
| 5995 | + this._l = undefined; // previous | |
| 5996 | + }, function () { | |
| 5997 | + var that = this; | |
| 5998 | + var kind = that._k; | |
| 5999 | + var entry = that._l; | |
| 6000 | + // revert to the last existing entry | |
| 6001 | + while (entry && entry.r) entry = entry.p; | |
| 6002 | + // get next entry | |
| 6003 | + if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { | |
| 6004 | + // or finish the iteration | |
| 6005 | + that._t = undefined; | |
| 6006 | + return step(1); | |
| 6007 | + } | |
| 6008 | + // return step by kind | |
| 6009 | + if (kind == 'keys') return step(0, entry.k); | |
| 6010 | + if (kind == 'values') return step(0, entry.v); | |
| 6011 | + return step(0, [entry.k, entry.v]); | |
| 6012 | + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); | |
| 6013 | + | |
| 6014 | + // add [@@species], 23.1.2.2, 23.2.2.2 | |
| 6015 | + setSpecies(NAME); | |
| 6016 | + } | |
| 2672 | 6017 | }; |
| 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"); | |
| 6018 | + | |
| 6019 | + | |
| 6020 | +/***/ }), | |
| 6021 | + | |
| 6022 | +/***/ "../node_modules/core-js/library/modules/_collection-to-json.js": | |
| 6023 | +/*!**********************************************************************!*\ | |
| 6024 | + !*** ../node_modules/core-js/library/modules/_collection-to-json.js ***! | |
| 6025 | + \**********************************************************************/ | |
| 6026 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6027 | + | |
| 6028 | +// https://github.com/DavidBruant/Map-Set.prototype.toJSON | |
| 6029 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/library/modules/_classof.js"); | |
| 6030 | +var from = __webpack_require__(/*! ./_array-from-iterable */ "../node_modules/core-js/library/modules/_array-from-iterable.js"); | |
| 6031 | +module.exports = function (NAME) { | |
| 6032 | + return function toJSON() { | |
| 6033 | + if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic"); | |
| 6034 | + return from(this); | |
| 6035 | + }; | |
| 6036 | +}; | |
| 6037 | + | |
| 6038 | + | |
| 6039 | +/***/ }), | |
| 6040 | + | |
| 6041 | +/***/ "../node_modules/core-js/library/modules/_collection-weak.js": | |
| 6042 | +/*!*******************************************************************!*\ | |
| 6043 | + !*** ../node_modules/core-js/library/modules/_collection-weak.js ***! | |
| 6044 | + \*******************************************************************/ | |
| 6045 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6046 | + | |
| 6047 | +"use strict"; | |
| 6048 | + | |
| 6049 | +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js"); | |
| 6050 | +var getWeak = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").getWeak; | |
| 6051 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 6052 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6053 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 6054 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 6055 | +var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/library/modules/_array-methods.js"); | |
| 6056 | +var $has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 6057 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 6058 | +var arrayFind = createArrayMethod(5); | |
| 6059 | +var arrayFindIndex = createArrayMethod(6); | |
| 6060 | +var id = 0; | |
| 6061 | + | |
| 6062 | +// fallback for uncaught frozen keys | |
| 6063 | +var uncaughtFrozenStore = function (that) { | |
| 6064 | + return that._l || (that._l = new UncaughtFrozenStore()); | |
| 6065 | +}; | |
| 6066 | +var UncaughtFrozenStore = function () { | |
| 6067 | + this.a = []; | |
| 6068 | +}; | |
| 6069 | +var findUncaughtFrozen = function (store, key) { | |
| 6070 | + return arrayFind(store.a, function (it) { | |
| 6071 | + return it[0] === key; | |
| 6072 | + }); | |
| 6073 | +}; | |
| 6074 | +UncaughtFrozenStore.prototype = { | |
| 6075 | + get: function (key) { | |
| 6076 | + var entry = findUncaughtFrozen(this, key); | |
| 6077 | + if (entry) return entry[1]; | |
| 6078 | + }, | |
| 6079 | + has: function (key) { | |
| 6080 | + return !!findUncaughtFrozen(this, key); | |
| 6081 | + }, | |
| 6082 | + set: function (key, value) { | |
| 6083 | + var entry = findUncaughtFrozen(this, key); | |
| 6084 | + if (entry) entry[1] = value; | |
| 6085 | + else this.a.push([key, value]); | |
| 6086 | + }, | |
| 6087 | + 'delete': function (key) { | |
| 6088 | + var index = arrayFindIndex(this.a, function (it) { | |
| 6089 | + return it[0] === key; | |
| 6090 | + }); | |
| 6091 | + if (~index) this.a.splice(index, 1); | |
| 6092 | + return !!~index; | |
| 2677 | 6093 | } |
| 2678 | - _console.default.warn(message); | |
| 2679 | 6094 | }; |
| 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); | |
| 6095 | + | |
| 6096 | +module.exports = { | |
| 6097 | + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { | |
| 6098 | + var C = wrapper(function (that, iterable) { | |
| 6099 | + anInstance(that, C, NAME, '_i'); | |
| 6100 | + that._t = NAME; // collection type | |
| 6101 | + that._i = id++; // collection id | |
| 6102 | + that._l = undefined; // leak store for uncaught frozen objects | |
| 6103 | + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); | |
| 6104 | + }); | |
| 6105 | + redefineAll(C.prototype, { | |
| 6106 | + // 23.3.3.2 WeakMap.prototype.delete(key) | |
| 6107 | + // 23.4.3.3 WeakSet.prototype.delete(value) | |
| 6108 | + 'delete': function (key) { | |
| 6109 | + if (!isObject(key)) return false; | |
| 6110 | + var data = getWeak(key); | |
| 6111 | + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); | |
| 6112 | + return data && $has(data, this._i) && delete data[this._i]; | |
| 6113 | + }, | |
| 6114 | + // 23.3.3.4 WeakMap.prototype.has(key) | |
| 6115 | + // 23.4.3.4 WeakSet.prototype.has(value) | |
| 6116 | + has: function has(key) { | |
| 6117 | + if (!isObject(key)) return false; | |
| 6118 | + var data = getWeak(key); | |
| 6119 | + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); | |
| 6120 | + return data && $has(data, this._i); | |
| 2691 | 6121 | } |
| 2692 | - } | |
| 6122 | + }); | |
| 6123 | + return C; | |
| 6124 | + }, | |
| 6125 | + def: function (that, key, value) { | |
| 6126 | + var data = getWeak(anObject(key), true); | |
| 6127 | + if (data === true) uncaughtFrozenStore(that).set(key, value); | |
| 6128 | + else data[that._i] = value; | |
| 6129 | + return that; | |
| 6130 | + }, | |
| 6131 | + ufstore: uncaughtFrozenStore | |
| 6132 | +}; | |
| 2693 | 6133 | |
| 2694 | - /** | |
| 2695 | - * @param {string} version | |
| 2696 | - * | |
| 2697 | - * @return {Version} | |
| 2698 | - */ | |
| 2699 | - }, { | |
| 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'); | |
| 6134 | + | |
| 6135 | +/***/ }), | |
| 6136 | + | |
| 6137 | +/***/ "../node_modules/core-js/library/modules/_collection.js": | |
| 6138 | +/*!**************************************************************!*\ | |
| 6139 | + !*** ../node_modules/core-js/library/modules/_collection.js ***! | |
| 6140 | + \**************************************************************/ | |
| 6141 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6142 | + | |
| 6143 | +"use strict"; | |
| 6144 | + | |
| 6145 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6146 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6147 | +var meta = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js"); | |
| 6148 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 6149 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 6150 | +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js"); | |
| 6151 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 6152 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 6153 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6154 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 6155 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 6156 | +var each = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/library/modules/_array-methods.js")(0); | |
| 6157 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 6158 | + | |
| 6159 | +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { | |
| 6160 | + var Base = global[NAME]; | |
| 6161 | + var C = Base; | |
| 6162 | + var ADDER = IS_MAP ? 'set' : 'add'; | |
| 6163 | + var proto = C && C.prototype; | |
| 6164 | + var O = {}; | |
| 6165 | + if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { | |
| 6166 | + new C().entries().next(); | |
| 6167 | + }))) { | |
| 6168 | + // create collection constructor | |
| 6169 | + C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); | |
| 6170 | + redefineAll(C.prototype, methods); | |
| 6171 | + meta.NEED = true; | |
| 6172 | + } else { | |
| 6173 | + C = wrapper(function (target, iterable) { | |
| 6174 | + anInstance(target, C, NAME, '_c'); | |
| 6175 | + target._c = new Base(); | |
| 6176 | + if (iterable != undefined) forOf(iterable, IS_MAP, target[ADDER], target); | |
| 6177 | + }); | |
| 6178 | + each('add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON'.split(','), function (KEY) { | |
| 6179 | + var IS_ADDER = KEY == 'add' || KEY == 'set'; | |
| 6180 | + if (KEY in proto && !(IS_WEAK && KEY == 'clear')) hide(C.prototype, KEY, function (a, b) { | |
| 6181 | + anInstance(this, C, KEY); | |
| 6182 | + if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false; | |
| 6183 | + var result = this._c[KEY](a === 0 ? 0 : a, b); | |
| 6184 | + return IS_ADDER ? this : result; | |
| 6185 | + }); | |
| 6186 | + }); | |
| 6187 | + IS_WEAK || dP(C.prototype, 'size', { | |
| 6188 | + get: function () { | |
| 6189 | + return this._c.size; | |
| 2705 | 6190 | } |
| 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$; | |
| 2712 | - return { | |
| 2713 | - major1: parseInt(major1), | |
| 2714 | - major2: parseInt(major2), | |
| 2715 | - minor: parseInt(minor), | |
| 2716 | - build: build | |
| 6191 | + }); | |
| 6192 | + } | |
| 6193 | + | |
| 6194 | + setToStringTag(C, NAME); | |
| 6195 | + | |
| 6196 | + O[NAME] = C; | |
| 6197 | + $export($export.G + $export.W + $export.F, O); | |
| 6198 | + | |
| 6199 | + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); | |
| 6200 | + | |
| 6201 | + return C; | |
| 6202 | +}; | |
| 6203 | + | |
| 6204 | + | |
| 6205 | +/***/ }), | |
| 6206 | + | |
| 6207 | +/***/ "../node_modules/core-js/library/modules/_core.js": | |
| 6208 | +/*!********************************************************!*\ | |
| 6209 | + !*** ../node_modules/core-js/library/modules/_core.js ***! | |
| 6210 | + \********************************************************/ | |
| 6211 | +/***/ ((module) => { | |
| 6212 | + | |
| 6213 | +var core = module.exports = { version: '2.6.12' }; | |
| 6214 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 6215 | + | |
| 6216 | + | |
| 6217 | +/***/ }), | |
| 6218 | + | |
| 6219 | +/***/ "../node_modules/core-js/library/modules/_create-property.js": | |
| 6220 | +/*!*******************************************************************!*\ | |
| 6221 | + !*** ../node_modules/core-js/library/modules/_create-property.js ***! | |
| 6222 | + \*******************************************************************/ | |
| 6223 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6224 | + | |
| 6225 | +"use strict"; | |
| 6226 | + | |
| 6227 | +var $defineProperty = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 6228 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 6229 | + | |
| 6230 | +module.exports = function (object, index, value) { | |
| 6231 | + if (index in object) $defineProperty.f(object, index, createDesc(0, value)); | |
| 6232 | + else object[index] = value; | |
| 6233 | +}; | |
| 6234 | + | |
| 6235 | + | |
| 6236 | +/***/ }), | |
| 6237 | + | |
| 6238 | +/***/ "../node_modules/core-js/library/modules/_ctx.js": | |
| 6239 | +/*!*******************************************************!*\ | |
| 6240 | + !*** ../node_modules/core-js/library/modules/_ctx.js ***! | |
| 6241 | + \*******************************************************/ | |
| 6242 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6243 | + | |
| 6244 | +// optional / simple context binding | |
| 6245 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 6246 | +module.exports = function (fn, that, length) { | |
| 6247 | + aFunction(fn); | |
| 6248 | + if (that === undefined) return fn; | |
| 6249 | + switch (length) { | |
| 6250 | + case 1: return function (a) { | |
| 6251 | + return fn.call(that, a); | |
| 6252 | + }; | |
| 6253 | + case 2: return function (a, b) { | |
| 6254 | + return fn.call(that, a, b); | |
| 6255 | + }; | |
| 6256 | + case 3: return function (a, b, c) { | |
| 6257 | + return fn.call(that, a, b, c); | |
| 6258 | + }; | |
| 6259 | + } | |
| 6260 | + return function (/* ...args */) { | |
| 6261 | + return fn.apply(that, arguments); | |
| 6262 | + }; | |
| 6263 | +}; | |
| 6264 | + | |
| 6265 | + | |
| 6266 | +/***/ }), | |
| 6267 | + | |
| 6268 | +/***/ "../node_modules/core-js/library/modules/_defined.js": | |
| 6269 | +/*!***********************************************************!*\ | |
| 6270 | + !*** ../node_modules/core-js/library/modules/_defined.js ***! | |
| 6271 | + \***********************************************************/ | |
| 6272 | +/***/ ((module) => { | |
| 6273 | + | |
| 6274 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 6275 | +module.exports = function (it) { | |
| 6276 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 6277 | + return it; | |
| 6278 | +}; | |
| 6279 | + | |
| 6280 | + | |
| 6281 | +/***/ }), | |
| 6282 | + | |
| 6283 | +/***/ "../node_modules/core-js/library/modules/_descriptors.js": | |
| 6284 | +/*!***************************************************************!*\ | |
| 6285 | + !*** ../node_modules/core-js/library/modules/_descriptors.js ***! | |
| 6286 | + \***************************************************************/ | |
| 6287 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6288 | + | |
| 6289 | +// Thank's IE8 for his funny defineProperty | |
| 6290 | +module.exports = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 6291 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 6292 | +}); | |
| 6293 | + | |
| 6294 | + | |
| 6295 | +/***/ }), | |
| 6296 | + | |
| 6297 | +/***/ "../node_modules/core-js/library/modules/_dom-create.js": | |
| 6298 | +/*!**************************************************************!*\ | |
| 6299 | + !*** ../node_modules/core-js/library/modules/_dom-create.js ***! | |
| 6300 | + \**************************************************************/ | |
| 6301 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6302 | + | |
| 6303 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6304 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").document; | |
| 6305 | +// typeof document.createElement is 'object' in old IE | |
| 6306 | +var is = isObject(document) && isObject(document.createElement); | |
| 6307 | +module.exports = function (it) { | |
| 6308 | + return is ? document.createElement(it) : {}; | |
| 6309 | +}; | |
| 6310 | + | |
| 6311 | + | |
| 6312 | +/***/ }), | |
| 6313 | + | |
| 6314 | +/***/ "../node_modules/core-js/library/modules/_enum-bug-keys.js": | |
| 6315 | +/*!*****************************************************************!*\ | |
| 6316 | + !*** ../node_modules/core-js/library/modules/_enum-bug-keys.js ***! | |
| 6317 | + \*****************************************************************/ | |
| 6318 | +/***/ ((module) => { | |
| 6319 | + | |
| 6320 | +// IE 8- don't enum bug keys | |
| 6321 | +module.exports = ( | |
| 6322 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 6323 | +).split(','); | |
| 6324 | + | |
| 6325 | + | |
| 6326 | +/***/ }), | |
| 6327 | + | |
| 6328 | +/***/ "../node_modules/core-js/library/modules/_enum-keys.js": | |
| 6329 | +/*!*************************************************************!*\ | |
| 6330 | + !*** ../node_modules/core-js/library/modules/_enum-keys.js ***! | |
| 6331 | + \*************************************************************/ | |
| 6332 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6333 | + | |
| 6334 | +// all enumerable object keys, includes symbols | |
| 6335 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 6336 | +var gOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 6337 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 6338 | +module.exports = function (it) { | |
| 6339 | + var result = getKeys(it); | |
| 6340 | + var getSymbols = gOPS.f; | |
| 6341 | + if (getSymbols) { | |
| 6342 | + var symbols = getSymbols(it); | |
| 6343 | + var isEnum = pIE.f; | |
| 6344 | + var i = 0; | |
| 6345 | + var key; | |
| 6346 | + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); | |
| 6347 | + } return result; | |
| 6348 | +}; | |
| 6349 | + | |
| 6350 | + | |
| 6351 | +/***/ }), | |
| 6352 | + | |
| 6353 | +/***/ "../node_modules/core-js/library/modules/_export.js": | |
| 6354 | +/*!**********************************************************!*\ | |
| 6355 | + !*** ../node_modules/core-js/library/modules/_export.js ***! | |
| 6356 | + \**********************************************************/ | |
| 6357 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6358 | + | |
| 6359 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6360 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 6361 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 6362 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 6363 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 6364 | +var PROTOTYPE = 'prototype'; | |
| 6365 | + | |
| 6366 | +var $export = function (type, name, source) { | |
| 6367 | + var IS_FORCED = type & $export.F; | |
| 6368 | + var IS_GLOBAL = type & $export.G; | |
| 6369 | + var IS_STATIC = type & $export.S; | |
| 6370 | + var IS_PROTO = type & $export.P; | |
| 6371 | + var IS_BIND = type & $export.B; | |
| 6372 | + var IS_WRAP = type & $export.W; | |
| 6373 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 6374 | + var expProto = exports[PROTOTYPE]; | |
| 6375 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; | |
| 6376 | + var key, own, out; | |
| 6377 | + if (IS_GLOBAL) source = name; | |
| 6378 | + for (key in source) { | |
| 6379 | + // contains in native | |
| 6380 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 6381 | + if (own && has(exports, key)) continue; | |
| 6382 | + // export native or passed | |
| 6383 | + out = own ? target[key] : source[key]; | |
| 6384 | + // prevent global pollution for namespaces | |
| 6385 | + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] | |
| 6386 | + // bind timers to global for call from export context | |
| 6387 | + : IS_BIND && own ? ctx(out, global) | |
| 6388 | + // wrap global constructors for prevent change them in library | |
| 6389 | + : IS_WRAP && target[key] == out ? (function (C) { | |
| 6390 | + var F = function (a, b, c) { | |
| 6391 | + if (this instanceof C) { | |
| 6392 | + switch (arguments.length) { | |
| 6393 | + case 0: return new C(); | |
| 6394 | + case 1: return new C(a); | |
| 6395 | + case 2: return new C(a, b); | |
| 6396 | + } return new C(a, b, c); | |
| 6397 | + } return C.apply(this, arguments); | |
| 2717 | 6398 | }; |
| 6399 | + F[PROTOTYPE] = C[PROTOTYPE]; | |
| 6400 | + return F; | |
| 6401 | + // make static versions for prototype methods | |
| 6402 | + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 6403 | + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% | |
| 6404 | + if (IS_PROTO) { | |
| 6405 | + (exports.virtual || (exports.virtual = {}))[key] = out; | |
| 6406 | + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% | |
| 6407 | + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); | |
| 2718 | 6408 | } |
| 6409 | + } | |
| 6410 | +}; | |
| 6411 | +// type bitmap | |
| 6412 | +$export.F = 1; // forced | |
| 6413 | +$export.G = 2; // global | |
| 6414 | +$export.S = 4; // static | |
| 6415 | +$export.P = 8; // proto | |
| 6416 | +$export.B = 16; // bind | |
| 6417 | +$export.W = 32; // wrap | |
| 6418 | +$export.U = 64; // safe | |
| 6419 | +$export.R = 128; // real proto method for `library` | |
| 6420 | +module.exports = $export; | |
| 2719 | 6421 | |
| 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 | - */ | |
| 2730 | - }, { | |
| 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; | |
| 2737 | - } | |
| 2738 | - return total; | |
| 6422 | + | |
| 6423 | +/***/ }), | |
| 6424 | + | |
| 6425 | +/***/ "../node_modules/core-js/library/modules/_fails.js": | |
| 6426 | +/*!*********************************************************!*\ | |
| 6427 | + !*** ../node_modules/core-js/library/modules/_fails.js ***! | |
| 6428 | + \*********************************************************/ | |
| 6429 | +/***/ ((module) => { | |
| 6430 | + | |
| 6431 | +module.exports = function (exec) { | |
| 6432 | + try { | |
| 6433 | + return !!exec(); | |
| 6434 | + } catch (e) { | |
| 6435 | + return true; | |
| 6436 | + } | |
| 6437 | +}; | |
| 6438 | + | |
| 6439 | + | |
| 6440 | +/***/ }), | |
| 6441 | + | |
| 6442 | +/***/ "../node_modules/core-js/library/modules/_for-of.js": | |
| 6443 | +/*!**********************************************************!*\ | |
| 6444 | + !*** ../node_modules/core-js/library/modules/_for-of.js ***! | |
| 6445 | + \**********************************************************/ | |
| 6446 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6447 | + | |
| 6448 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 6449 | +var call = __webpack_require__(/*! ./_iter-call */ "../node_modules/core-js/library/modules/_iter-call.js"); | |
| 6450 | +var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "../node_modules/core-js/library/modules/_is-array-iter.js"); | |
| 6451 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 6452 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 6453 | +var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "../node_modules/core-js/library/modules/core.get-iterator-method.js"); | |
| 6454 | +var BREAK = {}; | |
| 6455 | +var RETURN = {}; | |
| 6456 | +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { | |
| 6457 | + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); | |
| 6458 | + var f = ctx(fn, that, entries ? 2 : 1); | |
| 6459 | + var index = 0; | |
| 6460 | + var length, step, iterator, result; | |
| 6461 | + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); | |
| 6462 | + // fast case for arrays with default iterator | |
| 6463 | + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { | |
| 6464 | + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); | |
| 6465 | + if (result === BREAK || result === RETURN) return result; | |
| 6466 | + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { | |
| 6467 | + result = call(iterator, f, step.value, entries); | |
| 6468 | + if (result === BREAK || result === RETURN) return result; | |
| 6469 | + } | |
| 6470 | +}; | |
| 6471 | +exports.BREAK = BREAK; | |
| 6472 | +exports.RETURN = RETURN; | |
| 6473 | + | |
| 6474 | + | |
| 6475 | +/***/ }), | |
| 6476 | + | |
| 6477 | +/***/ "../node_modules/core-js/library/modules/_global.js": | |
| 6478 | +/*!**********************************************************!*\ | |
| 6479 | + !*** ../node_modules/core-js/library/modules/_global.js ***! | |
| 6480 | + \**********************************************************/ | |
| 6481 | +/***/ ((module) => { | |
| 6482 | + | |
| 6483 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 6484 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 6485 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 6486 | + // eslint-disable-next-line no-new-func | |
| 6487 | + : Function('return this')(); | |
| 6488 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 6489 | + | |
| 6490 | + | |
| 6491 | +/***/ }), | |
| 6492 | + | |
| 6493 | +/***/ "../node_modules/core-js/library/modules/_has.js": | |
| 6494 | +/*!*******************************************************!*\ | |
| 6495 | + !*** ../node_modules/core-js/library/modules/_has.js ***! | |
| 6496 | + \*******************************************************/ | |
| 6497 | +/***/ ((module) => { | |
| 6498 | + | |
| 6499 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 6500 | +module.exports = function (it, key) { | |
| 6501 | + return hasOwnProperty.call(it, key); | |
| 6502 | +}; | |
| 6503 | + | |
| 6504 | + | |
| 6505 | +/***/ }), | |
| 6506 | + | |
| 6507 | +/***/ "../node_modules/core-js/library/modules/_hide.js": | |
| 6508 | +/*!********************************************************!*\ | |
| 6509 | + !*** ../node_modules/core-js/library/modules/_hide.js ***! | |
| 6510 | + \********************************************************/ | |
| 6511 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6512 | + | |
| 6513 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 6514 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 6515 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? function (object, key, value) { | |
| 6516 | + return dP.f(object, key, createDesc(1, value)); | |
| 6517 | +} : function (object, key, value) { | |
| 6518 | + object[key] = value; | |
| 6519 | + return object; | |
| 6520 | +}; | |
| 6521 | + | |
| 6522 | + | |
| 6523 | +/***/ }), | |
| 6524 | + | |
| 6525 | +/***/ "../node_modules/core-js/library/modules/_html.js": | |
| 6526 | +/*!********************************************************!*\ | |
| 6527 | + !*** ../node_modules/core-js/library/modules/_html.js ***! | |
| 6528 | + \********************************************************/ | |
| 6529 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6530 | + | |
| 6531 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").document; | |
| 6532 | +module.exports = document && document.documentElement; | |
| 6533 | + | |
| 6534 | + | |
| 6535 | +/***/ }), | |
| 6536 | + | |
| 6537 | +/***/ "../node_modules/core-js/library/modules/_ie8-dom-define.js": | |
| 6538 | +/*!******************************************************************!*\ | |
| 6539 | + !*** ../node_modules/core-js/library/modules/_ie8-dom-define.js ***! | |
| 6540 | + \******************************************************************/ | |
| 6541 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6542 | + | |
| 6543 | +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 () { | |
| 6544 | + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 6545 | +}); | |
| 6546 | + | |
| 6547 | + | |
| 6548 | +/***/ }), | |
| 6549 | + | |
| 6550 | +/***/ "../node_modules/core-js/library/modules/_invoke.js": | |
| 6551 | +/*!**********************************************************!*\ | |
| 6552 | + !*** ../node_modules/core-js/library/modules/_invoke.js ***! | |
| 6553 | + \**********************************************************/ | |
| 6554 | +/***/ ((module) => { | |
| 6555 | + | |
| 6556 | +// fast apply, http://jsperf.lnkit.com/fast-apply/5 | |
| 6557 | +module.exports = function (fn, args, that) { | |
| 6558 | + var un = that === undefined; | |
| 6559 | + switch (args.length) { | |
| 6560 | + case 0: return un ? fn() | |
| 6561 | + : fn.call(that); | |
| 6562 | + case 1: return un ? fn(args[0]) | |
| 6563 | + : fn.call(that, args[0]); | |
| 6564 | + case 2: return un ? fn(args[0], args[1]) | |
| 6565 | + : fn.call(that, args[0], args[1]); | |
| 6566 | + case 3: return un ? fn(args[0], args[1], args[2]) | |
| 6567 | + : fn.call(that, args[0], args[1], args[2]); | |
| 6568 | + case 4: return un ? fn(args[0], args[1], args[2], args[3]) | |
| 6569 | + : fn.call(that, args[0], args[1], args[2], args[3]); | |
| 6570 | + } return fn.apply(that, args); | |
| 6571 | +}; | |
| 6572 | + | |
| 6573 | + | |
| 6574 | +/***/ }), | |
| 6575 | + | |
| 6576 | +/***/ "../node_modules/core-js/library/modules/_iobject.js": | |
| 6577 | +/*!***********************************************************!*\ | |
| 6578 | + !*** ../node_modules/core-js/library/modules/_iobject.js ***! | |
| 6579 | + \***********************************************************/ | |
| 6580 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6581 | + | |
| 6582 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 6583 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 6584 | +// eslint-disable-next-line no-prototype-builtins | |
| 6585 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 6586 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 6587 | +}; | |
| 6588 | + | |
| 6589 | + | |
| 6590 | +/***/ }), | |
| 6591 | + | |
| 6592 | +/***/ "../node_modules/core-js/library/modules/_is-array-iter.js": | |
| 6593 | +/*!*****************************************************************!*\ | |
| 6594 | + !*** ../node_modules/core-js/library/modules/_is-array-iter.js ***! | |
| 6595 | + \*****************************************************************/ | |
| 6596 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6597 | + | |
| 6598 | +// check on default Array iterator | |
| 6599 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 6600 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 6601 | +var ArrayProto = Array.prototype; | |
| 6602 | + | |
| 6603 | +module.exports = function (it) { | |
| 6604 | + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); | |
| 6605 | +}; | |
| 6606 | + | |
| 6607 | + | |
| 6608 | +/***/ }), | |
| 6609 | + | |
| 6610 | +/***/ "../node_modules/core-js/library/modules/_is-array.js": | |
| 6611 | +/*!************************************************************!*\ | |
| 6612 | + !*** ../node_modules/core-js/library/modules/_is-array.js ***! | |
| 6613 | + \************************************************************/ | |
| 6614 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6615 | + | |
| 6616 | +// 7.2.2 IsArray(argument) | |
| 6617 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 6618 | +module.exports = Array.isArray || function isArray(arg) { | |
| 6619 | + return cof(arg) == 'Array'; | |
| 6620 | +}; | |
| 6621 | + | |
| 6622 | + | |
| 6623 | +/***/ }), | |
| 6624 | + | |
| 6625 | +/***/ "../node_modules/core-js/library/modules/_is-object.js": | |
| 6626 | +/*!*************************************************************!*\ | |
| 6627 | + !*** ../node_modules/core-js/library/modules/_is-object.js ***! | |
| 6628 | + \*************************************************************/ | |
| 6629 | +/***/ ((module) => { | |
| 6630 | + | |
| 6631 | +module.exports = function (it) { | |
| 6632 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 6633 | +}; | |
| 6634 | + | |
| 6635 | + | |
| 6636 | +/***/ }), | |
| 6637 | + | |
| 6638 | +/***/ "../node_modules/core-js/library/modules/_iter-call.js": | |
| 6639 | +/*!*************************************************************!*\ | |
| 6640 | + !*** ../node_modules/core-js/library/modules/_iter-call.js ***! | |
| 6641 | + \*************************************************************/ | |
| 6642 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6643 | + | |
| 6644 | +// call something on iterator step with safe closing on error | |
| 6645 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 6646 | +module.exports = function (iterator, fn, value, entries) { | |
| 6647 | + try { | |
| 6648 | + return entries ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 6649 | + // 7.4.6 IteratorClose(iterator, completion) | |
| 6650 | + } catch (e) { | |
| 6651 | + var ret = iterator['return']; | |
| 6652 | + if (ret !== undefined) anObject(ret.call(iterator)); | |
| 6653 | + throw e; | |
| 6654 | + } | |
| 6655 | +}; | |
| 6656 | + | |
| 6657 | + | |
| 6658 | +/***/ }), | |
| 6659 | + | |
| 6660 | +/***/ "../node_modules/core-js/library/modules/_iter-create.js": | |
| 6661 | +/*!***************************************************************!*\ | |
| 6662 | + !*** ../node_modules/core-js/library/modules/_iter-create.js ***! | |
| 6663 | + \***************************************************************/ | |
| 6664 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6665 | + | |
| 6666 | +"use strict"; | |
| 6667 | + | |
| 6668 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 6669 | +var descriptor = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 6670 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 6671 | +var IteratorPrototype = {}; | |
| 6672 | + | |
| 6673 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 6674 | +__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; }); | |
| 6675 | + | |
| 6676 | +module.exports = function (Constructor, NAME, next) { | |
| 6677 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 6678 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 6679 | +}; | |
| 6680 | + | |
| 6681 | + | |
| 6682 | +/***/ }), | |
| 6683 | + | |
| 6684 | +/***/ "../node_modules/core-js/library/modules/_iter-define.js": | |
| 6685 | +/*!***************************************************************!*\ | |
| 6686 | + !*** ../node_modules/core-js/library/modules/_iter-define.js ***! | |
| 6687 | + \***************************************************************/ | |
| 6688 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6689 | + | |
| 6690 | +"use strict"; | |
| 6691 | + | |
| 6692 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 6693 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6694 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 6695 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 6696 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 6697 | +var $iterCreate = __webpack_require__(/*! ./_iter-create */ "../node_modules/core-js/library/modules/_iter-create.js"); | |
| 6698 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 6699 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 6700 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 6701 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 6702 | +var FF_ITERATOR = '@@iterator'; | |
| 6703 | +var KEYS = 'keys'; | |
| 6704 | +var VALUES = 'values'; | |
| 6705 | + | |
| 6706 | +var returnThis = function () { return this; }; | |
| 6707 | + | |
| 6708 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 6709 | + $iterCreate(Constructor, NAME, next); | |
| 6710 | + var getMethod = function (kind) { | |
| 6711 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 6712 | + switch (kind) { | |
| 6713 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 6714 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 6715 | + } return function entries() { return new Constructor(this, kind); }; | |
| 6716 | + }; | |
| 6717 | + var TAG = NAME + ' Iterator'; | |
| 6718 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 6719 | + var VALUES_BUG = false; | |
| 6720 | + var proto = Base.prototype; | |
| 6721 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 6722 | + var $default = $native || getMethod(DEFAULT); | |
| 6723 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 6724 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 6725 | + var methods, key, IteratorPrototype; | |
| 6726 | + // Fix native | |
| 6727 | + if ($anyNative) { | |
| 6728 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 6729 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 6730 | + // Set @@toStringTag to native iterators | |
| 6731 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 6732 | + // fix for some old engines | |
| 6733 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 2739 | 6734 | } |
| 6735 | + } | |
| 6736 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 6737 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 6738 | + VALUES_BUG = true; | |
| 6739 | + $default = function values() { return $native.call(this); }; | |
| 6740 | + } | |
| 6741 | + // Define iterator | |
| 6742 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 6743 | + hide(proto, ITERATOR, $default); | |
| 6744 | + } | |
| 6745 | + // Plug for library | |
| 6746 | + Iterators[NAME] = $default; | |
| 6747 | + Iterators[TAG] = returnThis; | |
| 6748 | + if (DEFAULT) { | |
| 6749 | + methods = { | |
| 6750 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 6751 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 6752 | + entries: $entries | |
| 6753 | + }; | |
| 6754 | + if (FORCED) for (key in methods) { | |
| 6755 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 6756 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 6757 | + } | |
| 6758 | + return methods; | |
| 6759 | +}; | |
| 2740 | 6760 | |
| 2741 | - /** | |
| 2742 | - * @param {string} version1 | |
| 2743 | - * @param {string} version2 | |
| 2744 | - * | |
| 2745 | - * @return {number} | |
| 2746 | - */ | |
| 2747 | - }, { | |
| 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; | |
| 2755 | - }); | |
| 6761 | + | |
| 6762 | +/***/ }), | |
| 6763 | + | |
| 6764 | +/***/ "../node_modules/core-js/library/modules/_iter-detect.js": | |
| 6765 | +/*!***************************************************************!*\ | |
| 6766 | + !*** ../node_modules/core-js/library/modules/_iter-detect.js ***! | |
| 6767 | + \***************************************************************/ | |
| 6768 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6769 | + | |
| 6770 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 6771 | +var SAFE_CLOSING = false; | |
| 6772 | + | |
| 6773 | +try { | |
| 6774 | + var riter = [7][ITERATOR](); | |
| 6775 | + riter['return'] = function () { SAFE_CLOSING = true; }; | |
| 6776 | + // eslint-disable-next-line no-throw-literal | |
| 6777 | + Array.from(riter, function () { throw 2; }); | |
| 6778 | +} catch (e) { /* empty */ } | |
| 6779 | + | |
| 6780 | +module.exports = function (exec, skipClosing) { | |
| 6781 | + if (!skipClosing && !SAFE_CLOSING) return false; | |
| 6782 | + var safe = false; | |
| 6783 | + try { | |
| 6784 | + var arr = [7]; | |
| 6785 | + var iter = arr[ITERATOR](); | |
| 6786 | + iter.next = function () { return { done: safe = true }; }; | |
| 6787 | + arr[ITERATOR] = function () { return iter; }; | |
| 6788 | + exec(arr); | |
| 6789 | + } catch (e) { /* empty */ } | |
| 6790 | + return safe; | |
| 6791 | +}; | |
| 6792 | + | |
| 6793 | + | |
| 6794 | +/***/ }), | |
| 6795 | + | |
| 6796 | +/***/ "../node_modules/core-js/library/modules/_iter-step.js": | |
| 6797 | +/*!*************************************************************!*\ | |
| 6798 | + !*** ../node_modules/core-js/library/modules/_iter-step.js ***! | |
| 6799 | + \*************************************************************/ | |
| 6800 | +/***/ ((module) => { | |
| 6801 | + | |
| 6802 | +module.exports = function (done, value) { | |
| 6803 | + return { value: value, done: !!done }; | |
| 6804 | +}; | |
| 6805 | + | |
| 6806 | + | |
| 6807 | +/***/ }), | |
| 6808 | + | |
| 6809 | +/***/ "../node_modules/core-js/library/modules/_iterators.js": | |
| 6810 | +/*!*************************************************************!*\ | |
| 6811 | + !*** ../node_modules/core-js/library/modules/_iterators.js ***! | |
| 6812 | + \*************************************************************/ | |
| 6813 | +/***/ ((module) => { | |
| 6814 | + | |
| 6815 | +module.exports = {}; | |
| 6816 | + | |
| 6817 | + | |
| 6818 | +/***/ }), | |
| 6819 | + | |
| 6820 | +/***/ "../node_modules/core-js/library/modules/_library.js": | |
| 6821 | +/*!***********************************************************!*\ | |
| 6822 | + !*** ../node_modules/core-js/library/modules/_library.js ***! | |
| 6823 | + \***********************************************************/ | |
| 6824 | +/***/ ((module) => { | |
| 6825 | + | |
| 6826 | +module.exports = true; | |
| 6827 | + | |
| 6828 | + | |
| 6829 | +/***/ }), | |
| 6830 | + | |
| 6831 | +/***/ "../node_modules/core-js/library/modules/_meta.js": | |
| 6832 | +/*!********************************************************!*\ | |
| 6833 | + !*** ../node_modules/core-js/library/modules/_meta.js ***! | |
| 6834 | + \********************************************************/ | |
| 6835 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6836 | + | |
| 6837 | +var META = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js")('meta'); | |
| 6838 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6839 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 6840 | +var setDesc = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 6841 | +var id = 0; | |
| 6842 | +var isExtensible = Object.isExtensible || function () { | |
| 6843 | + return true; | |
| 6844 | +}; | |
| 6845 | +var FREEZE = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 6846 | + return isExtensible(Object.preventExtensions({})); | |
| 6847 | +}); | |
| 6848 | +var setMeta = function (it) { | |
| 6849 | + setDesc(it, META, { value: { | |
| 6850 | + i: 'O' + ++id, // object ID | |
| 6851 | + w: {} // weak collections IDs | |
| 6852 | + } }); | |
| 6853 | +}; | |
| 6854 | +var fastKey = function (it, create) { | |
| 6855 | + // return primitive with prefix | |
| 6856 | + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | |
| 6857 | + if (!has(it, META)) { | |
| 6858 | + // can't set metadata to uncaught frozen object | |
| 6859 | + if (!isExtensible(it)) return 'F'; | |
| 6860 | + // not necessary to add metadata | |
| 6861 | + if (!create) return 'E'; | |
| 6862 | + // add missing metadata | |
| 6863 | + setMeta(it); | |
| 6864 | + // return object ID | |
| 6865 | + } return it[META].i; | |
| 6866 | +}; | |
| 6867 | +var getWeak = function (it, create) { | |
| 6868 | + if (!has(it, META)) { | |
| 6869 | + // can't set metadata to uncaught frozen object | |
| 6870 | + if (!isExtensible(it)) return true; | |
| 6871 | + // not necessary to add metadata | |
| 6872 | + if (!create) return false; | |
| 6873 | + // add missing metadata | |
| 6874 | + setMeta(it); | |
| 6875 | + // return hash weak collections IDs | |
| 6876 | + } return it[META].w; | |
| 6877 | +}; | |
| 6878 | +// add metadata on freeze-family methods calling | |
| 6879 | +var onFreeze = function (it) { | |
| 6880 | + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); | |
| 6881 | + return it; | |
| 6882 | +}; | |
| 6883 | +var meta = module.exports = { | |
| 6884 | + KEY: META, | |
| 6885 | + NEED: false, | |
| 6886 | + fastKey: fastKey, | |
| 6887 | + getWeak: getWeak, | |
| 6888 | + onFreeze: onFreeze | |
| 6889 | +}; | |
| 6890 | + | |
| 6891 | + | |
| 6892 | +/***/ }), | |
| 6893 | + | |
| 6894 | +/***/ "../node_modules/core-js/library/modules/_object-assign.js": | |
| 6895 | +/*!*****************************************************************!*\ | |
| 6896 | + !*** ../node_modules/core-js/library/modules/_object-assign.js ***! | |
| 6897 | + \*****************************************************************/ | |
| 6898 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6899 | + | |
| 6900 | +"use strict"; | |
| 6901 | + | |
| 6902 | +// 19.1.2.1 Object.assign(target, source, ...) | |
| 6903 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 6904 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 6905 | +var gOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 6906 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 6907 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 6908 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 6909 | +var $assign = Object.assign; | |
| 6910 | + | |
| 6911 | +// should work with symbols and should have deterministic property order (V8 bug) | |
| 6912 | +module.exports = !$assign || __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 6913 | + var A = {}; | |
| 6914 | + var B = {}; | |
| 6915 | + // eslint-disable-next-line no-undef | |
| 6916 | + var S = Symbol(); | |
| 6917 | + var K = 'abcdefghijklmnopqrst'; | |
| 6918 | + A[S] = 7; | |
| 6919 | + K.split('').forEach(function (k) { B[k] = k; }); | |
| 6920 | + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; | |
| 6921 | +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars | |
| 6922 | + var T = toObject(target); | |
| 6923 | + var aLen = arguments.length; | |
| 6924 | + var index = 1; | |
| 6925 | + var getSymbols = gOPS.f; | |
| 6926 | + var isEnum = pIE.f; | |
| 6927 | + while (aLen > index) { | |
| 6928 | + var S = IObject(arguments[index++]); | |
| 6929 | + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); | |
| 6930 | + var length = keys.length; | |
| 6931 | + var j = 0; | |
| 6932 | + var key; | |
| 6933 | + while (length > j) { | |
| 6934 | + key = keys[j++]; | |
| 6935 | + if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; | |
| 2756 | 6936 | } |
| 6937 | + } return T; | |
| 6938 | +} : $assign; | |
| 2757 | 6939 | |
| 2758 | - /** | |
| 2759 | - * @param {string} version | |
| 2760 | - * | |
| 2761 | - * @return {boolean} | |
| 2762 | - */ | |
| 2763 | - }, { | |
| 2764 | - key: "isSoftDeprecated", | |
| 2765 | - value: function isSoftDeprecated(version) { | |
| 2766 | - var total = this.compareVersion(version, elementorWebCliConfig.version); | |
| 2767 | - return total <= 4; | |
| 2768 | - } | |
| 2769 | 6940 | |
| 2770 | - /** | |
| 2771 | - * @param {string} version | |
| 2772 | - * @return {boolean} | |
| 2773 | - */ | |
| 2774 | - }, { | |
| 2775 | - key: "isHardDeprecated", | |
| 2776 | - value: function isHardDeprecated(version) { | |
| 2777 | - var total = this.compareVersion(version, elementorWebCliConfig.version); | |
| 2778 | - return total < 0 || total >= 8; | |
| 2779 | - } | |
| 2780 | - }]); | |
| 2781 | -}(); | |
| 6941 | +/***/ }), | |
| 2782 | 6942 | |
| 6943 | +/***/ "../node_modules/core-js/library/modules/_object-create.js": | |
| 6944 | +/*!*****************************************************************!*\ | |
| 6945 | + !*** ../node_modules/core-js/library/modules/_object-create.js ***! | |
| 6946 | + \*****************************************************************/ | |
| 6947 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6948 | + | |
| 6949 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 6950 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 6951 | +var dPs = __webpack_require__(/*! ./_object-dps */ "../node_modules/core-js/library/modules/_object-dps.js"); | |
| 6952 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js"); | |
| 6953 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 6954 | +var Empty = function () { /* empty */ }; | |
| 6955 | +var PROTOTYPE = 'prototype'; | |
| 6956 | + | |
| 6957 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 6958 | +var createDict = function () { | |
| 6959 | + // Thrash, waste and sodomy: IE GC bug | |
| 6960 | + var iframe = __webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js")('iframe'); | |
| 6961 | + var i = enumBugKeys.length; | |
| 6962 | + var lt = '<'; | |
| 6963 | + var gt = '>'; | |
| 6964 | + var iframeDocument; | |
| 6965 | + iframe.style.display = 'none'; | |
| 6966 | + __webpack_require__(/*! ./_html */ "../node_modules/core-js/library/modules/_html.js").appendChild(iframe); | |
| 6967 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 6968 | + // createDict = iframe.contentWindow.Object; | |
| 6969 | + // html.removeChild(iframe); | |
| 6970 | + iframeDocument = iframe.contentWindow.document; | |
| 6971 | + iframeDocument.open(); | |
| 6972 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 6973 | + iframeDocument.close(); | |
| 6974 | + createDict = iframeDocument.F; | |
| 6975 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 6976 | + return createDict(); | |
| 6977 | +}; | |
| 6978 | + | |
| 6979 | +module.exports = Object.create || function create(O, Properties) { | |
| 6980 | + var result; | |
| 6981 | + if (O !== null) { | |
| 6982 | + Empty[PROTOTYPE] = anObject(O); | |
| 6983 | + result = new Empty(); | |
| 6984 | + Empty[PROTOTYPE] = null; | |
| 6985 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 6986 | + result[IE_PROTO] = O; | |
| 6987 | + } else result = createDict(); | |
| 6988 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 6989 | +}; | |
| 6990 | + | |
| 6991 | + | |
| 2783 | 6992 | /***/ }), |
| 2784 | 6993 | |
| 2785 | -/***/ "../modules/web-cli/assets/js/utils/force-method-implementation.js": | |
| 2786 | -/*!*************************************************************************!*\ | |
| 2787 | - !*** ../modules/web-cli/assets/js/utils/force-method-implementation.js ***! | |
| 2788 | - \*************************************************************************/ | |
| 6994 | +/***/ "../node_modules/core-js/library/modules/_object-dp.js": | |
| 6995 | +/*!*************************************************************!*\ | |
| 6996 | + !*** ../node_modules/core-js/library/modules/_object-dp.js ***! | |
| 6997 | + \*************************************************************/ | |
| 2789 | 6998 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 2790 | 6999 | |
| 2791 | -"use strict"; | |
| 7000 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 7001 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/library/modules/_ie8-dom-define.js"); | |
| 7002 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 7003 | +var dP = Object.defineProperty; | |
| 2792 | 7004 | |
| 7005 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 7006 | + anObject(O); | |
| 7007 | + P = toPrimitive(P, true); | |
| 7008 | + anObject(Attributes); | |
| 7009 | + if (IE8_DOM_DEFINE) try { | |
| 7010 | + return dP(O, P, Attributes); | |
| 7011 | + } catch (e) { /* empty */ } | |
| 7012 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 7013 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 7014 | + return O; | |
| 7015 | +}; | |
| 2793 | 7016 | |
| 2794 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 2795 | -Object.defineProperty(exports, "__esModule", ({ | |
| 2796 | - 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; | |
| 7017 | + | |
| 7018 | +/***/ }), | |
| 7019 | + | |
| 7020 | +/***/ "../node_modules/core-js/library/modules/_object-dps.js": | |
| 7021 | +/*!**************************************************************!*\ | |
| 7022 | + !*** ../node_modules/core-js/library/modules/_object-dps.js ***! | |
| 7023 | + \**************************************************************/ | |
| 7024 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7025 | + | |
| 7026 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 7027 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 7028 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 7029 | + | |
| 7030 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 7031 | + anObject(O); | |
| 7032 | + var keys = getKeys(Properties); | |
| 7033 | + var length = keys.length; | |
| 7034 | + var i = 0; | |
| 7035 | + var P; | |
| 7036 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 7037 | + return O; | |
| 7038 | +}; | |
| 7039 | + | |
| 7040 | + | |
| 7041 | +/***/ }), | |
| 7042 | + | |
| 7043 | +/***/ "../node_modules/core-js/library/modules/_object-gopd.js": | |
| 7044 | +/*!***************************************************************!*\ | |
| 7045 | + !*** ../node_modules/core-js/library/modules/_object-gopd.js ***! | |
| 7046 | + \***************************************************************/ | |
| 7047 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 7048 | + | |
| 7049 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 7050 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 7051 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 7052 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 7053 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 7054 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/library/modules/_ie8-dom-define.js"); | |
| 7055 | +var gOPD = Object.getOwnPropertyDescriptor; | |
| 7056 | + | |
| 7057 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { | |
| 7058 | + O = toIObject(O); | |
| 7059 | + P = toPrimitive(P, true); | |
| 7060 | + if (IE8_DOM_DEFINE) try { | |
| 7061 | + return gOPD(O, P); | |
| 7062 | + } catch (e) { /* empty */ } | |
| 7063 | + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); | |
| 7064 | +}; | |
| 7065 | + | |
| 7066 | + | |
| 7067 | +/***/ }), | |
| 7068 | + | |
| 7069 | +/***/ "../node_modules/core-js/library/modules/_object-gopn-ext.js": | |
| 7070 | +/*!*******************************************************************!*\ | |
| 7071 | + !*** ../node_modules/core-js/library/modules/_object-gopn-ext.js ***! | |
| 7072 | + \*******************************************************************/ | |
| 7073 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7074 | + | |
| 7075 | +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window | |
| 7076 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 7077 | +var gOPN = __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js").f; | |
| 7078 | +var toString = {}.toString; | |
| 7079 | + | |
| 7080 | +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames | |
| 7081 | + ? Object.getOwnPropertyNames(window) : []; | |
| 7082 | + | |
| 7083 | +var getWindowNames = function (it) { | |
| 7084 | + try { | |
| 7085 | + return gOPN(it); | |
| 7086 | + } catch (e) { | |
| 7087 | + return windowNames.slice(); | |
| 2816 | 7088 | } |
| 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; | |
| 7089 | +}; | |
| 7090 | + | |
| 7091 | +module.exports.f = function getOwnPropertyNames(it) { | |
| 7092 | + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); | |
| 7093 | +}; | |
| 7094 | + | |
| 7095 | + | |
| 7096 | +/***/ }), | |
| 7097 | + | |
| 7098 | +/***/ "../node_modules/core-js/library/modules/_object-gopn.js": | |
| 7099 | +/*!***************************************************************!*\ | |
| 7100 | + !*** ../node_modules/core-js/library/modules/_object-gopn.js ***! | |
| 7101 | + \***************************************************************/ | |
| 7102 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 7103 | + | |
| 7104 | +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) | |
| 7105 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/library/modules/_object-keys-internal.js"); | |
| 7106 | +var hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js").concat('length', 'prototype'); | |
| 7107 | + | |
| 7108 | +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 7109 | + return $keys(O, hiddenKeys); | |
| 7110 | +}; | |
| 7111 | + | |
| 7112 | + | |
| 7113 | +/***/ }), | |
| 7114 | + | |
| 7115 | +/***/ "../node_modules/core-js/library/modules/_object-gops.js": | |
| 7116 | +/*!***************************************************************!*\ | |
| 7117 | + !*** ../node_modules/core-js/library/modules/_object-gops.js ***! | |
| 7118 | + \***************************************************************/ | |
| 7119 | +/***/ ((__unused_webpack_module, exports) => { | |
| 7120 | + | |
| 7121 | +exports.f = Object.getOwnPropertySymbols; | |
| 7122 | + | |
| 7123 | + | |
| 7124 | +/***/ }), | |
| 7125 | + | |
| 7126 | +/***/ "../node_modules/core-js/library/modules/_object-gpo.js": | |
| 7127 | +/*!**************************************************************!*\ | |
| 7128 | + !*** ../node_modules/core-js/library/modules/_object-gpo.js ***! | |
| 7129 | + \**************************************************************/ | |
| 7130 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7131 | + | |
| 7132 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 7133 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 7134 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 7135 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 7136 | +var ObjectProto = Object.prototype; | |
| 7137 | + | |
| 7138 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 7139 | + O = toObject(O); | |
| 7140 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 7141 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 7142 | + return O.constructor.prototype; | |
| 7143 | + } return O instanceof Object ? ObjectProto : null; | |
| 7144 | +}; | |
| 7145 | + | |
| 7146 | + | |
| 7147 | +/***/ }), | |
| 7148 | + | |
| 7149 | +/***/ "../node_modules/core-js/library/modules/_object-keys-internal.js": | |
| 7150 | +/*!************************************************************************!*\ | |
| 7151 | + !*** ../node_modules/core-js/library/modules/_object-keys-internal.js ***! | |
| 7152 | + \************************************************************************/ | |
| 7153 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7154 | + | |
| 7155 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 7156 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 7157 | +var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "../node_modules/core-js/library/modules/_array-includes.js")(false); | |
| 7158 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 7159 | + | |
| 7160 | +module.exports = function (object, names) { | |
| 7161 | + var O = toIObject(object); | |
| 7162 | + var i = 0; | |
| 7163 | + var result = []; | |
| 7164 | + var key; | |
| 7165 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 7166 | + // Don't enum bug & hidden keys | |
| 7167 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 7168 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 2833 | 7169 | } |
| 2834 | - throw new ForceMethodImplementation(info); | |
| 7170 | + return result; | |
| 2835 | 7171 | }; |
| 2836 | 7172 | |
| 7173 | + | |
| 2837 | 7174 | /***/ }), |
| 2838 | 7175 | |
| 2839 | -/***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": | |
| 2840 | -/*!******************************************************************!*\ | |
| 2841 | - !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! | |
| 2842 | - \******************************************************************/ | |
| 7176 | +/***/ "../node_modules/core-js/library/modules/_object-keys.js": | |
| 7177 | +/*!***************************************************************!*\ | |
| 7178 | + !*** ../node_modules/core-js/library/modules/_object-keys.js ***! | |
| 7179 | + \***************************************************************/ | |
| 7180 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7181 | + | |
| 7182 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 7183 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/library/modules/_object-keys-internal.js"); | |
| 7184 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js"); | |
| 7185 | + | |
| 7186 | +module.exports = Object.keys || function keys(O) { | |
| 7187 | + return $keys(O, enumBugKeys); | |
| 7188 | +}; | |
| 7189 | + | |
| 7190 | + | |
| 7191 | +/***/ }), | |
| 7192 | + | |
| 7193 | +/***/ "../node_modules/core-js/library/modules/_object-pie.js": | |
| 7194 | +/*!**************************************************************!*\ | |
| 7195 | + !*** ../node_modules/core-js/library/modules/_object-pie.js ***! | |
| 7196 | + \**************************************************************/ | |
| 7197 | +/***/ ((__unused_webpack_module, exports) => { | |
| 7198 | + | |
| 7199 | +exports.f = {}.propertyIsEnumerable; | |
| 7200 | + | |
| 7201 | + | |
| 7202 | +/***/ }), | |
| 7203 | + | |
| 7204 | +/***/ "../node_modules/core-js/library/modules/_object-sap.js": | |
| 7205 | +/*!**************************************************************!*\ | |
| 7206 | + !*** ../node_modules/core-js/library/modules/_object-sap.js ***! | |
| 7207 | + \**************************************************************/ | |
| 7208 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7209 | + | |
| 7210 | +// most Object methods by ES6 should accept primitives | |
| 7211 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7212 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 7213 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 7214 | +module.exports = function (KEY, exec) { | |
| 7215 | + var fn = (core.Object || {})[KEY] || Object[KEY]; | |
| 7216 | + var exp = {}; | |
| 7217 | + exp[KEY] = exec(fn); | |
| 7218 | + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); | |
| 7219 | +}; | |
| 7220 | + | |
| 7221 | + | |
| 7222 | +/***/ }), | |
| 7223 | + | |
| 7224 | +/***/ "../node_modules/core-js/library/modules/_object-to-array.js": | |
| 7225 | +/*!*******************************************************************!*\ | |
| 7226 | + !*** ../node_modules/core-js/library/modules/_object-to-array.js ***! | |
| 7227 | + \*******************************************************************/ | |
| 7228 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7229 | + | |
| 7230 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 7231 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 7232 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 7233 | +var isEnum = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js").f; | |
| 7234 | +module.exports = function (isEntries) { | |
| 7235 | + return function (it) { | |
| 7236 | + var O = toIObject(it); | |
| 7237 | + var keys = getKeys(O); | |
| 7238 | + var length = keys.length; | |
| 7239 | + var i = 0; | |
| 7240 | + var result = []; | |
| 7241 | + var key; | |
| 7242 | + while (length > i) { | |
| 7243 | + key = keys[i++]; | |
| 7244 | + if (!DESCRIPTORS || isEnum.call(O, key)) { | |
| 7245 | + result.push(isEntries ? [key, O[key]] : O[key]); | |
| 7246 | + } | |
| 7247 | + } | |
| 7248 | + return result; | |
| 7249 | + }; | |
| 7250 | +}; | |
| 7251 | + | |
| 7252 | + | |
| 7253 | +/***/ }), | |
| 7254 | + | |
| 7255 | +/***/ "../node_modules/core-js/library/modules/_own-keys.js": | |
| 7256 | +/*!************************************************************!*\ | |
| 7257 | + !*** ../node_modules/core-js/library/modules/_own-keys.js ***! | |
| 7258 | + \************************************************************/ | |
| 7259 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7260 | + | |
| 7261 | +// all object keys, includes non-enumerable and symbols | |
| 7262 | +var gOPN = __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js"); | |
| 7263 | +var gOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 7264 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 7265 | +var Reflect = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Reflect; | |
| 7266 | +module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { | |
| 7267 | + var keys = gOPN.f(anObject(it)); | |
| 7268 | + var getSymbols = gOPS.f; | |
| 7269 | + return getSymbols ? keys.concat(getSymbols(it)) : keys; | |
| 7270 | +}; | |
| 7271 | + | |
| 7272 | + | |
| 7273 | +/***/ }), | |
| 7274 | + | |
| 7275 | +/***/ "../node_modules/core-js/library/modules/_parse-float.js": | |
| 7276 | +/*!***************************************************************!*\ | |
| 7277 | + !*** ../node_modules/core-js/library/modules/_parse-float.js ***! | |
| 7278 | + \***************************************************************/ | |
| 7279 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7280 | + | |
| 7281 | +var $parseFloat = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").parseFloat; | |
| 7282 | +var $trim = __webpack_require__(/*! ./_string-trim */ "../node_modules/core-js/library/modules/_string-trim.js").trim; | |
| 7283 | + | |
| 7284 | +module.exports = 1 / $parseFloat(__webpack_require__(/*! ./_string-ws */ "../node_modules/core-js/library/modules/_string-ws.js") + '-0') !== -Infinity ? function parseFloat(str) { | |
| 7285 | + var string = $trim(String(str), 3); | |
| 7286 | + var result = $parseFloat(string); | |
| 7287 | + return result === 0 && string.charAt(0) == '-' ? -0 : result; | |
| 7288 | +} : $parseFloat; | |
| 7289 | + | |
| 7290 | + | |
| 7291 | +/***/ }), | |
| 7292 | + | |
| 7293 | +/***/ "../node_modules/core-js/library/modules/_parse-int.js": | |
| 7294 | +/*!*************************************************************!*\ | |
| 7295 | + !*** ../node_modules/core-js/library/modules/_parse-int.js ***! | |
| 7296 | + \*************************************************************/ | |
| 7297 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7298 | + | |
| 7299 | +var $parseInt = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").parseInt; | |
| 7300 | +var $trim = __webpack_require__(/*! ./_string-trim */ "../node_modules/core-js/library/modules/_string-trim.js").trim; | |
| 7301 | +var ws = __webpack_require__(/*! ./_string-ws */ "../node_modules/core-js/library/modules/_string-ws.js"); | |
| 7302 | +var hex = /^[-+]?0[xX]/; | |
| 7303 | + | |
| 7304 | +module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { | |
| 7305 | + var string = $trim(String(str), 3); | |
| 7306 | + return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); | |
| 7307 | +} : $parseInt; | |
| 7308 | + | |
| 7309 | + | |
| 7310 | +/***/ }), | |
| 7311 | + | |
| 7312 | +/***/ "../node_modules/core-js/library/modules/_property-desc.js": | |
| 7313 | +/*!*****************************************************************!*\ | |
| 7314 | + !*** ../node_modules/core-js/library/modules/_property-desc.js ***! | |
| 7315 | + \*****************************************************************/ | |
| 2843 | 7316 | /***/ ((module) => { |
| 2844 | 7317 | |
| 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; | |
| 7318 | +module.exports = function (bitmap, value) { | |
| 7319 | + return { | |
| 7320 | + enumerable: !(bitmap & 1), | |
| 7321 | + configurable: !(bitmap & 2), | |
| 7322 | + writable: !(bitmap & 4), | |
| 7323 | + value: value | |
| 7324 | + }; | |
| 7325 | +}; | |
| 2851 | 7326 | |
| 7327 | + | |
| 2852 | 7328 | /***/ }), |
| 2853 | 7329 | |
| 2854 | -/***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js": | |
| 7330 | +/***/ "../node_modules/core-js/library/modules/_redefine-all.js": | |
| 2855 | 7331 | /*!****************************************************************!*\ |
| 2856 | - !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! | |
| 7332 | + !*** ../node_modules/core-js/library/modules/_redefine-all.js ***! | |
| 2857 | 7333 | \****************************************************************/ |
| 2858 | -/***/ ((module) => { | |
| 7334 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2859 | 7335 | |
| 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; | |
| 7336 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 7337 | +module.exports = function (target, src, safe) { | |
| 7338 | + for (var key in src) { | |
| 7339 | + if (safe && target[key]) target[key] = src[key]; | |
| 7340 | + else hide(target, key, src[key]); | |
| 7341 | + } return target; | |
| 7342 | +}; | |
| 2864 | 7343 | |
| 7344 | + | |
| 2865 | 7345 | /***/ }), |
| 2866 | 7346 | |
| 2867 | -/***/ "../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js": | |
| 2868 | -/*!*******************************************************************!*\ | |
| 2869 | - !*** ../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***! | |
| 2870 | - \*******************************************************************/ | |
| 7347 | +/***/ "../node_modules/core-js/library/modules/_redefine.js": | |
| 7348 | +/*!************************************************************!*\ | |
| 7349 | + !*** ../node_modules/core-js/library/modules/_redefine.js ***! | |
| 7350 | + \************************************************************/ | |
| 2871 | 7351 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2872 | 7352 | |
| 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; | |
| 7353 | +module.exports = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 2878 | 7354 | |
| 7355 | + | |
| 2879 | 7356 | /***/ }), |
| 2880 | 7357 | |
| 2881 | -/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": | |
| 7358 | +/***/ "../node_modules/core-js/library/modules/_set-collection-from.js": | |
| 2882 | 7359 | /*!***********************************************************************!*\ |
| 2883 | - !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! | |
| 7360 | + !*** ../node_modules/core-js/library/modules/_set-collection-from.js ***! | |
| 2884 | 7361 | \***********************************************************************/ |
| 7362 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7363 | + | |
| 7364 | +"use strict"; | |
| 7365 | + | |
| 7366 | +// https://tc39.github.io/proposal-setmap-offrom/ | |
| 7367 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7368 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 7369 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 7370 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 7371 | + | |
| 7372 | +module.exports = function (COLLECTION) { | |
| 7373 | + $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { | |
| 7374 | + var mapFn = arguments[1]; | |
| 7375 | + var mapping, A, n, cb; | |
| 7376 | + aFunction(this); | |
| 7377 | + mapping = mapFn !== undefined; | |
| 7378 | + if (mapping) aFunction(mapFn); | |
| 7379 | + if (source == undefined) return new this(); | |
| 7380 | + A = []; | |
| 7381 | + if (mapping) { | |
| 7382 | + n = 0; | |
| 7383 | + cb = ctx(mapFn, arguments[2], 2); | |
| 7384 | + forOf(source, false, function (nextItem) { | |
| 7385 | + A.push(cb(nextItem, n++)); | |
| 7386 | + }); | |
| 7387 | + } else { | |
| 7388 | + forOf(source, false, A.push, A); | |
| 7389 | + } | |
| 7390 | + return new this(A); | |
| 7391 | + } }); | |
| 7392 | +}; | |
| 7393 | + | |
| 7394 | + | |
| 7395 | +/***/ }), | |
| 7396 | + | |
| 7397 | +/***/ "../node_modules/core-js/library/modules/_set-collection-of.js": | |
| 7398 | +/*!*********************************************************************!*\ | |
| 7399 | + !*** ../node_modules/core-js/library/modules/_set-collection-of.js ***! | |
| 7400 | + \*********************************************************************/ | |
| 7401 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7402 | + | |
| 7403 | +"use strict"; | |
| 7404 | + | |
| 7405 | +// https://tc39.github.io/proposal-setmap-offrom/ | |
| 7406 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7407 | + | |
| 7408 | +module.exports = function (COLLECTION) { | |
| 7409 | + $export($export.S, COLLECTION, { of: function of() { | |
| 7410 | + var length = arguments.length; | |
| 7411 | + var A = new Array(length); | |
| 7412 | + while (length--) A[length] = arguments[length]; | |
| 7413 | + return new this(A); | |
| 7414 | + } }); | |
| 7415 | +}; | |
| 7416 | + | |
| 7417 | + | |
| 7418 | +/***/ }), | |
| 7419 | + | |
| 7420 | +/***/ "../node_modules/core-js/library/modules/_set-proto.js": | |
| 7421 | +/*!*************************************************************!*\ | |
| 7422 | + !*** ../node_modules/core-js/library/modules/_set-proto.js ***! | |
| 7423 | + \*************************************************************/ | |
| 7424 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7425 | + | |
| 7426 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 7427 | +/* eslint-disable no-proto */ | |
| 7428 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 7429 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 7430 | +var check = function (O, proto) { | |
| 7431 | + anObject(O); | |
| 7432 | + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); | |
| 7433 | +}; | |
| 7434 | +module.exports = { | |
| 7435 | + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line | |
| 7436 | + function (test, buggy, set) { | |
| 7437 | + try { | |
| 7438 | + 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); | |
| 7439 | + set(test, []); | |
| 7440 | + buggy = !(test instanceof Array); | |
| 7441 | + } catch (e) { buggy = true; } | |
| 7442 | + return function setPrototypeOf(O, proto) { | |
| 7443 | + check(O, proto); | |
| 7444 | + if (buggy) O.__proto__ = proto; | |
| 7445 | + else set(O, proto); | |
| 7446 | + return O; | |
| 7447 | + }; | |
| 7448 | + }({}, false) : undefined), | |
| 7449 | + check: check | |
| 7450 | +}; | |
| 7451 | + | |
| 7452 | + | |
| 7453 | +/***/ }), | |
| 7454 | + | |
| 7455 | +/***/ "../node_modules/core-js/library/modules/_set-species.js": | |
| 7456 | +/*!***************************************************************!*\ | |
| 7457 | + !*** ../node_modules/core-js/library/modules/_set-species.js ***! | |
| 7458 | + \***************************************************************/ | |
| 7459 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7460 | + | |
| 7461 | +"use strict"; | |
| 7462 | + | |
| 7463 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7464 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 7465 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 7466 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 7467 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species'); | |
| 7468 | + | |
| 7469 | +module.exports = function (KEY) { | |
| 7470 | + var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY]; | |
| 7471 | + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { | |
| 7472 | + configurable: true, | |
| 7473 | + get: function () { return this; } | |
| 7474 | + }); | |
| 7475 | +}; | |
| 7476 | + | |
| 7477 | + | |
| 7478 | +/***/ }), | |
| 7479 | + | |
| 7480 | +/***/ "../node_modules/core-js/library/modules/_set-to-string-tag.js": | |
| 7481 | +/*!*********************************************************************!*\ | |
| 7482 | + !*** ../node_modules/core-js/library/modules/_set-to-string-tag.js ***! | |
| 7483 | + \*********************************************************************/ | |
| 7484 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7485 | + | |
| 7486 | +var def = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 7487 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 7488 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 7489 | + | |
| 7490 | +module.exports = function (it, tag, stat) { | |
| 7491 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 7492 | +}; | |
| 7493 | + | |
| 7494 | + | |
| 7495 | +/***/ }), | |
| 7496 | + | |
| 7497 | +/***/ "../node_modules/core-js/library/modules/_shared-key.js": | |
| 7498 | +/*!**************************************************************!*\ | |
| 7499 | + !*** ../node_modules/core-js/library/modules/_shared-key.js ***! | |
| 7500 | + \**************************************************************/ | |
| 7501 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7502 | + | |
| 7503 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js")('keys'); | |
| 7504 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 7505 | +module.exports = function (key) { | |
| 7506 | + return shared[key] || (shared[key] = uid(key)); | |
| 7507 | +}; | |
| 7508 | + | |
| 7509 | + | |
| 7510 | +/***/ }), | |
| 7511 | + | |
| 7512 | +/***/ "../node_modules/core-js/library/modules/_shared.js": | |
| 7513 | +/*!**********************************************************!*\ | |
| 7514 | + !*** ../node_modules/core-js/library/modules/_shared.js ***! | |
| 7515 | + \**********************************************************/ | |
| 7516 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7517 | + | |
| 7518 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 7519 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7520 | +var SHARED = '__core-js_shared__'; | |
| 7521 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 7522 | + | |
| 7523 | +(module.exports = function (key, value) { | |
| 7524 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 7525 | +})('versions', []).push({ | |
| 7526 | + version: core.version, | |
| 7527 | + mode: __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js") ? 'pure' : 'global', | |
| 7528 | + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' | |
| 7529 | +}); | |
| 7530 | + | |
| 7531 | + | |
| 7532 | +/***/ }), | |
| 7533 | + | |
| 7534 | +/***/ "../node_modules/core-js/library/modules/_string-at.js": | |
| 7535 | +/*!*************************************************************!*\ | |
| 7536 | + !*** ../node_modules/core-js/library/modules/_string-at.js ***! | |
| 7537 | + \*************************************************************/ | |
| 7538 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7539 | + | |
| 7540 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 7541 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 7542 | +// true -> String#at | |
| 7543 | +// false -> String#codePointAt | |
| 7544 | +module.exports = function (TO_STRING) { | |
| 7545 | + return function (that, pos) { | |
| 7546 | + var s = String(defined(that)); | |
| 7547 | + var i = toInteger(pos); | |
| 7548 | + var l = s.length; | |
| 7549 | + var a, b; | |
| 7550 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 7551 | + a = s.charCodeAt(i); | |
| 7552 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 7553 | + ? TO_STRING ? s.charAt(i) : a | |
| 7554 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 7555 | + }; | |
| 7556 | +}; | |
| 7557 | + | |
| 7558 | + | |
| 7559 | +/***/ }), | |
| 7560 | + | |
| 7561 | +/***/ "../node_modules/core-js/library/modules/_string-trim.js": | |
| 7562 | +/*!***************************************************************!*\ | |
| 7563 | + !*** ../node_modules/core-js/library/modules/_string-trim.js ***! | |
| 7564 | + \***************************************************************/ | |
| 7565 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7566 | + | |
| 7567 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7568 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 7569 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 7570 | +var spaces = __webpack_require__(/*! ./_string-ws */ "../node_modules/core-js/library/modules/_string-ws.js"); | |
| 7571 | +var space = '[' + spaces + ']'; | |
| 7572 | +var non = '\u200b\u0085'; | |
| 7573 | +var ltrim = RegExp('^' + space + space + '*'); | |
| 7574 | +var rtrim = RegExp(space + space + '*$'); | |
| 7575 | + | |
| 7576 | +var exporter = function (KEY, exec, ALIAS) { | |
| 7577 | + var exp = {}; | |
| 7578 | + var FORCE = fails(function () { | |
| 7579 | + return !!spaces[KEY]() || non[KEY]() != non; | |
| 7580 | + }); | |
| 7581 | + var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; | |
| 7582 | + if (ALIAS) exp[ALIAS] = fn; | |
| 7583 | + $export($export.P + $export.F * FORCE, 'String', exp); | |
| 7584 | +}; | |
| 7585 | + | |
| 7586 | +// 1 -> String#trimLeft | |
| 7587 | +// 2 -> String#trimRight | |
| 7588 | +// 3 -> String#trim | |
| 7589 | +var trim = exporter.trim = function (string, TYPE) { | |
| 7590 | + string = String(defined(string)); | |
| 7591 | + if (TYPE & 1) string = string.replace(ltrim, ''); | |
| 7592 | + if (TYPE & 2) string = string.replace(rtrim, ''); | |
| 7593 | + return string; | |
| 7594 | +}; | |
| 7595 | + | |
| 7596 | +module.exports = exporter; | |
| 7597 | + | |
| 7598 | + | |
| 7599 | +/***/ }), | |
| 7600 | + | |
| 7601 | +/***/ "../node_modules/core-js/library/modules/_string-ws.js": | |
| 7602 | +/*!*************************************************************!*\ | |
| 7603 | + !*** ../node_modules/core-js/library/modules/_string-ws.js ***! | |
| 7604 | + \*************************************************************/ | |
| 2885 | 7605 | /***/ ((module) => { |
| 2886 | 7606 | |
| 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; | |
| 7607 | +module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + | |
| 7608 | + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; | |
| 2892 | 7609 | |
| 7610 | + | |
| 2893 | 7611 | /***/ }), |
| 2894 | 7612 | |
| 2895 | -/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": | |
| 7613 | +/***/ "../node_modules/core-js/library/modules/_to-absolute-index.js": | |
| 7614 | +/*!*********************************************************************!*\ | |
| 7615 | + !*** ../node_modules/core-js/library/modules/_to-absolute-index.js ***! | |
| 7616 | + \*********************************************************************/ | |
| 7617 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7618 | + | |
| 7619 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 7620 | +var max = Math.max; | |
| 7621 | +var min = Math.min; | |
| 7622 | +module.exports = function (index, length) { | |
| 7623 | + index = toInteger(index); | |
| 7624 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 7625 | +}; | |
| 7626 | + | |
| 7627 | + | |
| 7628 | +/***/ }), | |
| 7629 | + | |
| 7630 | +/***/ "../node_modules/core-js/library/modules/_to-integer.js": | |
| 7631 | +/*!**************************************************************!*\ | |
| 7632 | + !*** ../node_modules/core-js/library/modules/_to-integer.js ***! | |
| 7633 | + \**************************************************************/ | |
| 7634 | +/***/ ((module) => { | |
| 7635 | + | |
| 7636 | +// 7.1.4 ToInteger | |
| 7637 | +var ceil = Math.ceil; | |
| 7638 | +var floor = Math.floor; | |
| 7639 | +module.exports = function (it) { | |
| 7640 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 7641 | +}; | |
| 7642 | + | |
| 7643 | + | |
| 7644 | +/***/ }), | |
| 7645 | + | |
| 7646 | +/***/ "../node_modules/core-js/library/modules/_to-iobject.js": | |
| 7647 | +/*!**************************************************************!*\ | |
| 7648 | + !*** ../node_modules/core-js/library/modules/_to-iobject.js ***! | |
| 7649 | + \**************************************************************/ | |
| 7650 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7651 | + | |
| 7652 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 7653 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 7654 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 7655 | +module.exports = function (it) { | |
| 7656 | + return IObject(defined(it)); | |
| 7657 | +}; | |
| 7658 | + | |
| 7659 | + | |
| 7660 | +/***/ }), | |
| 7661 | + | |
| 7662 | +/***/ "../node_modules/core-js/library/modules/_to-length.js": | |
| 7663 | +/*!*************************************************************!*\ | |
| 7664 | + !*** ../node_modules/core-js/library/modules/_to-length.js ***! | |
| 7665 | + \*************************************************************/ | |
| 7666 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7667 | + | |
| 7668 | +// 7.1.15 ToLength | |
| 7669 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 7670 | +var min = Math.min; | |
| 7671 | +module.exports = function (it) { | |
| 7672 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 7673 | +}; | |
| 7674 | + | |
| 7675 | + | |
| 7676 | +/***/ }), | |
| 7677 | + | |
| 7678 | +/***/ "../node_modules/core-js/library/modules/_to-object.js": | |
| 7679 | +/*!*************************************************************!*\ | |
| 7680 | + !*** ../node_modules/core-js/library/modules/_to-object.js ***! | |
| 7681 | + \*************************************************************/ | |
| 7682 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7683 | + | |
| 7684 | +// 7.1.13 ToObject(argument) | |
| 7685 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 7686 | +module.exports = function (it) { | |
| 7687 | + return Object(defined(it)); | |
| 7688 | +}; | |
| 7689 | + | |
| 7690 | + | |
| 7691 | +/***/ }), | |
| 7692 | + | |
| 7693 | +/***/ "../node_modules/core-js/library/modules/_to-primitive.js": | |
| 2896 | 7694 | /*!****************************************************************!*\ |
| 2897 | - !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! | |
| 7695 | + !*** ../node_modules/core-js/library/modules/_to-primitive.js ***! | |
| 2898 | 7696 | \****************************************************************/ |
| 7697 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7698 | + | |
| 7699 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 7700 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 7701 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 7702 | +// and the second argument - flag - preferred type is a string | |
| 7703 | +module.exports = function (it, S) { | |
| 7704 | + if (!isObject(it)) return it; | |
| 7705 | + var fn, val; | |
| 7706 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 7707 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 7708 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 7709 | + throw TypeError("Can't convert object to primitive value"); | |
| 7710 | +}; | |
| 7711 | + | |
| 7712 | + | |
| 7713 | +/***/ }), | |
| 7714 | + | |
| 7715 | +/***/ "../node_modules/core-js/library/modules/_uid.js": | |
| 7716 | +/*!*******************************************************!*\ | |
| 7717 | + !*** ../node_modules/core-js/library/modules/_uid.js ***! | |
| 7718 | + \*******************************************************/ | |
| 2899 | 7719 | /***/ ((module) => { |
| 2900 | 7720 | |
| 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; | |
| 7721 | +var id = 0; | |
| 7722 | +var px = Math.random(); | |
| 7723 | +module.exports = function (key) { | |
| 7724 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 7725 | +}; | |
| 2905 | 7726 | |
| 7727 | + | |
| 2906 | 7728 | /***/ }), |
| 2907 | 7729 | |
| 2908 | -/***/ "../node_modules/@babel/runtime/helpers/construct.js": | |
| 7730 | +/***/ "../node_modules/core-js/library/modules/_validate-collection.js": | |
| 7731 | +/*!***********************************************************************!*\ | |
| 7732 | + !*** ../node_modules/core-js/library/modules/_validate-collection.js ***! | |
| 7733 | + \***********************************************************************/ | |
| 7734 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7735 | + | |
| 7736 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 7737 | +module.exports = function (it, TYPE) { | |
| 7738 | + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); | |
| 7739 | + return it; | |
| 7740 | +}; | |
| 7741 | + | |
| 7742 | + | |
| 7743 | +/***/ }), | |
| 7744 | + | |
| 7745 | +/***/ "../node_modules/core-js/library/modules/_wks-define.js": | |
| 7746 | +/*!**************************************************************!*\ | |
| 7747 | + !*** ../node_modules/core-js/library/modules/_wks-define.js ***! | |
| 7748 | + \**************************************************************/ | |
| 7749 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7750 | + | |
| 7751 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7752 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 7753 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 7754 | +var wksExt = __webpack_require__(/*! ./_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js"); | |
| 7755 | +var defineProperty = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 7756 | +module.exports = function (name) { | |
| 7757 | + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); | |
| 7758 | + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); | |
| 7759 | +}; | |
| 7760 | + | |
| 7761 | + | |
| 7762 | +/***/ }), | |
| 7763 | + | |
| 7764 | +/***/ "../node_modules/core-js/library/modules/_wks-ext.js": | |
| 2909 | 7765 | /*!***********************************************************!*\ |
| 2910 | - !*** ../node_modules/@babel/runtime/helpers/construct.js ***! | |
| 7766 | + !*** ../node_modules/core-js/library/modules/_wks-ext.js ***! | |
| 2911 | 7767 | \***********************************************************/ |
| 7768 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 7769 | + | |
| 7770 | +exports.f = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js"); | |
| 7771 | + | |
| 7772 | + | |
| 7773 | +/***/ }), | |
| 7774 | + | |
| 7775 | +/***/ "../node_modules/core-js/library/modules/_wks.js": | |
| 7776 | +/*!*******************************************************!*\ | |
| 7777 | + !*** ../node_modules/core-js/library/modules/_wks.js ***! | |
| 7778 | + \*******************************************************/ | |
| 2912 | 7779 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2913 | 7780 | |
| 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; | |
| 7781 | +var store = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js")('wks'); | |
| 7782 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 7783 | +var Symbol = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Symbol; | |
| 7784 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 7785 | + | |
| 7786 | +var $exports = module.exports = function (name) { | |
| 7787 | + return store[name] || (store[name] = | |
| 7788 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 7789 | +}; | |
| 7790 | + | |
| 7791 | +$exports.store = store; | |
| 7792 | + | |
| 7793 | + | |
| 7794 | +/***/ }), | |
| 7795 | + | |
| 7796 | +/***/ "../node_modules/core-js/library/modules/core.get-iterator-method.js": | |
| 7797 | +/*!***************************************************************************!*\ | |
| 7798 | + !*** ../node_modules/core-js/library/modules/core.get-iterator-method.js ***! | |
| 7799 | + \***************************************************************************/ | |
| 7800 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7801 | + | |
| 7802 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/library/modules/_classof.js"); | |
| 7803 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 7804 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 7805 | +module.exports = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js").getIteratorMethod = function (it) { | |
| 7806 | + if (it != undefined) return it[ITERATOR] | |
| 7807 | + || it['@@iterator'] | |
| 7808 | + || Iterators[classof(it)]; | |
| 7809 | +}; | |
| 7810 | + | |
| 7811 | + | |
| 7812 | +/***/ }), | |
| 7813 | + | |
| 7814 | +/***/ "../node_modules/core-js/library/modules/es6.array.from.js": | |
| 7815 | +/*!*****************************************************************!*\ | |
| 7816 | + !*** ../node_modules/core-js/library/modules/es6.array.from.js ***! | |
| 7817 | + \*****************************************************************/ | |
| 7818 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7819 | + | |
| 7820 | +"use strict"; | |
| 7821 | + | |
| 7822 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 7823 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7824 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 7825 | +var call = __webpack_require__(/*! ./_iter-call */ "../node_modules/core-js/library/modules/_iter-call.js"); | |
| 7826 | +var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "../node_modules/core-js/library/modules/_is-array-iter.js"); | |
| 7827 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 7828 | +var createProperty = __webpack_require__(/*! ./_create-property */ "../node_modules/core-js/library/modules/_create-property.js"); | |
| 7829 | +var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "../node_modules/core-js/library/modules/core.get-iterator-method.js"); | |
| 7830 | + | |
| 7831 | +$export($export.S + $export.F * !__webpack_require__(/*! ./_iter-detect */ "../node_modules/core-js/library/modules/_iter-detect.js")(function (iter) { Array.from(iter); }), 'Array', { | |
| 7832 | + // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) | |
| 7833 | + from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { | |
| 7834 | + var O = toObject(arrayLike); | |
| 7835 | + var C = typeof this == 'function' ? this : Array; | |
| 7836 | + var aLen = arguments.length; | |
| 7837 | + var mapfn = aLen > 1 ? arguments[1] : undefined; | |
| 7838 | + var mapping = mapfn !== undefined; | |
| 7839 | + var index = 0; | |
| 7840 | + var iterFn = getIterFn(O); | |
| 7841 | + var length, result, step, iterator; | |
| 7842 | + if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); | |
| 7843 | + // if object isn't iterable or it's array with default iterator - use simple case | |
| 7844 | + if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { | |
| 7845 | + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { | |
| 7846 | + createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); | |
| 7847 | + } | |
| 7848 | + } else { | |
| 7849 | + length = toLength(O.length); | |
| 7850 | + for (result = new C(length); length > index; index++) { | |
| 7851 | + createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); | |
| 7852 | + } | |
| 7853 | + } | |
| 7854 | + result.length = index; | |
| 7855 | + return result; | |
| 7856 | + } | |
| 7857 | +}); | |
| 7858 | + | |
| 7859 | + | |
| 7860 | +/***/ }), | |
| 7861 | + | |
| 7862 | +/***/ "../node_modules/core-js/library/modules/es6.array.is-array.js": | |
| 7863 | +/*!*********************************************************************!*\ | |
| 7864 | + !*** ../node_modules/core-js/library/modules/es6.array.is-array.js ***! | |
| 7865 | + \*********************************************************************/ | |
| 7866 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7867 | + | |
| 7868 | +// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) | |
| 7869 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7870 | + | |
| 7871 | +$export($export.S, 'Array', { isArray: __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js") }); | |
| 7872 | + | |
| 7873 | + | |
| 7874 | +/***/ }), | |
| 7875 | + | |
| 7876 | +/***/ "../node_modules/core-js/library/modules/es6.array.iterator.js": | |
| 7877 | +/*!*********************************************************************!*\ | |
| 7878 | + !*** ../node_modules/core-js/library/modules/es6.array.iterator.js ***! | |
| 7879 | + \*********************************************************************/ | |
| 7880 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7881 | + | |
| 7882 | +"use strict"; | |
| 7883 | + | |
| 7884 | +var addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/library/modules/_add-to-unscopables.js"); | |
| 7885 | +var step = __webpack_require__(/*! ./_iter-step */ "../node_modules/core-js/library/modules/_iter-step.js"); | |
| 7886 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 7887 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 7888 | + | |
| 7889 | +// 22.1.3.4 Array.prototype.entries() | |
| 7890 | +// 22.1.3.13 Array.prototype.keys() | |
| 7891 | +// 22.1.3.29 Array.prototype.values() | |
| 7892 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 7893 | +module.exports = __webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js")(Array, 'Array', function (iterated, kind) { | |
| 7894 | + this._t = toIObject(iterated); // target | |
| 7895 | + this._i = 0; // next index | |
| 7896 | + this._k = kind; // kind | |
| 7897 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 7898 | +}, function () { | |
| 7899 | + var O = this._t; | |
| 7900 | + var kind = this._k; | |
| 7901 | + var index = this._i++; | |
| 7902 | + if (!O || index >= O.length) { | |
| 7903 | + this._t = undefined; | |
| 7904 | + return step(1); | |
| 7905 | + } | |
| 7906 | + if (kind == 'keys') return step(0, index); | |
| 7907 | + if (kind == 'values') return step(0, O[index]); | |
| 7908 | + return step(0, [index, O[index]]); | |
| 7909 | +}, 'values'); | |
| 7910 | + | |
| 7911 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 7912 | +Iterators.Arguments = Iterators.Array; | |
| 7913 | + | |
| 7914 | +addToUnscopables('keys'); | |
| 7915 | +addToUnscopables('values'); | |
| 7916 | +addToUnscopables('entries'); | |
| 7917 | + | |
| 7918 | + | |
| 7919 | +/***/ }), | |
| 7920 | + | |
| 7921 | +/***/ "../node_modules/core-js/library/modules/es6.function.has-instance.js": | |
| 7922 | +/*!****************************************************************************!*\ | |
| 7923 | + !*** ../node_modules/core-js/library/modules/es6.function.has-instance.js ***! | |
| 7924 | + \****************************************************************************/ | |
| 7925 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7926 | + | |
| 7927 | +"use strict"; | |
| 7928 | + | |
| 7929 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 7930 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 7931 | +var HAS_INSTANCE = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('hasInstance'); | |
| 7932 | +var FunctionProto = Function.prototype; | |
| 7933 | +// 19.2.3.6 Function.prototype[@@hasInstance](V) | |
| 7934 | +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) { | |
| 7935 | + if (typeof this != 'function' || !isObject(O)) return false; | |
| 7936 | + if (!isObject(this.prototype)) return O instanceof this; | |
| 7937 | + // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: | |
| 7938 | + while (O = getPrototypeOf(O)) if (this.prototype === O) return true; | |
| 7939 | + return false; | |
| 7940 | +} }); | |
| 7941 | + | |
| 7942 | + | |
| 7943 | +/***/ }), | |
| 7944 | + | |
| 7945 | +/***/ "../node_modules/core-js/library/modules/es6.map.js": | |
| 7946 | +/*!**********************************************************!*\ | |
| 7947 | + !*** ../node_modules/core-js/library/modules/es6.map.js ***! | |
| 7948 | + \**********************************************************/ | |
| 7949 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7950 | + | |
| 7951 | +"use strict"; | |
| 7952 | + | |
| 7953 | +var strong = __webpack_require__(/*! ./_collection-strong */ "../node_modules/core-js/library/modules/_collection-strong.js"); | |
| 7954 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 7955 | +var MAP = 'Map'; | |
| 7956 | + | |
| 7957 | +// 23.1 Map Objects | |
| 7958 | +module.exports = __webpack_require__(/*! ./_collection */ "../node_modules/core-js/library/modules/_collection.js")(MAP, function (get) { | |
| 7959 | + return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; | |
| 7960 | +}, { | |
| 7961 | + // 23.1.3.6 Map.prototype.get(key) | |
| 7962 | + get: function get(key) { | |
| 7963 | + var entry = strong.getEntry(validate(this, MAP), key); | |
| 7964 | + return entry && entry.v; | |
| 7965 | + }, | |
| 7966 | + // 23.1.3.9 Map.prototype.set(key, value) | |
| 7967 | + set: function set(key, value) { | |
| 7968 | + return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); | |
| 7969 | + } | |
| 7970 | +}, strong, true); | |
| 7971 | + | |
| 7972 | + | |
| 7973 | +/***/ }), | |
| 7974 | + | |
| 7975 | +/***/ "../node_modules/core-js/library/modules/es6.object.create.js": | |
| 7976 | +/*!********************************************************************!*\ | |
| 7977 | + !*** ../node_modules/core-js/library/modules/es6.object.create.js ***! | |
| 7978 | + \********************************************************************/ | |
| 7979 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7980 | + | |
| 7981 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7982 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 7983 | +$export($export.S, 'Object', { create: __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js") }); | |
| 7984 | + | |
| 7985 | + | |
| 7986 | +/***/ }), | |
| 7987 | + | |
| 7988 | +/***/ "../node_modules/core-js/library/modules/es6.object.define-properties.js": | |
| 7989 | +/*!*******************************************************************************!*\ | |
| 7990 | + !*** ../node_modules/core-js/library/modules/es6.object.define-properties.js ***! | |
| 7991 | + \*******************************************************************************/ | |
| 7992 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7993 | + | |
| 7994 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7995 | +// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) | |
| 7996 | +$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"), 'Object', { defineProperties: __webpack_require__(/*! ./_object-dps */ "../node_modules/core-js/library/modules/_object-dps.js") }); | |
| 7997 | + | |
| 7998 | + | |
| 7999 | +/***/ }), | |
| 8000 | + | |
| 8001 | +/***/ "../node_modules/core-js/library/modules/es6.object.define-property.js": | |
| 8002 | +/*!*****************************************************************************!*\ | |
| 8003 | + !*** ../node_modules/core-js/library/modules/es6.object.define-property.js ***! | |
| 8004 | + \*****************************************************************************/ | |
| 8005 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8006 | + | |
| 8007 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8008 | +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) | |
| 8009 | +$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 }); | |
| 8010 | + | |
| 8011 | + | |
| 8012 | +/***/ }), | |
| 8013 | + | |
| 8014 | +/***/ "../node_modules/core-js/library/modules/es6.object.freeze.js": | |
| 8015 | +/*!********************************************************************!*\ | |
| 8016 | + !*** ../node_modules/core-js/library/modules/es6.object.freeze.js ***! | |
| 8017 | + \********************************************************************/ | |
| 8018 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8019 | + | |
| 8020 | +// 19.1.2.5 Object.freeze(O) | |
| 8021 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 8022 | +var meta = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").onFreeze; | |
| 8023 | + | |
| 8024 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('freeze', function ($freeze) { | |
| 8025 | + return function freeze(it) { | |
| 8026 | + return $freeze && isObject(it) ? $freeze(meta(it)) : it; | |
| 8027 | + }; | |
| 8028 | +}); | |
| 8029 | + | |
| 8030 | + | |
| 8031 | +/***/ }), | |
| 8032 | + | |
| 8033 | +/***/ "../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js": | |
| 8034 | +/*!*****************************************************************************************!*\ | |
| 8035 | + !*** ../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js ***! | |
| 8036 | + \*****************************************************************************************/ | |
| 8037 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8038 | + | |
| 8039 | +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 8040 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 8041 | +var $getOwnPropertyDescriptor = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js").f; | |
| 8042 | + | |
| 8043 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('getOwnPropertyDescriptor', function () { | |
| 8044 | + return function getOwnPropertyDescriptor(it, key) { | |
| 8045 | + return $getOwnPropertyDescriptor(toIObject(it), key); | |
| 8046 | + }; | |
| 8047 | +}); | |
| 8048 | + | |
| 8049 | + | |
| 8050 | +/***/ }), | |
| 8051 | + | |
| 8052 | +/***/ "../node_modules/core-js/library/modules/es6.object.get-prototype-of.js": | |
| 8053 | +/*!******************************************************************************!*\ | |
| 8054 | + !*** ../node_modules/core-js/library/modules/es6.object.get-prototype-of.js ***! | |
| 8055 | + \******************************************************************************/ | |
| 8056 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8057 | + | |
| 8058 | +// 19.1.2.9 Object.getPrototypeOf(O) | |
| 8059 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 8060 | +var $getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 8061 | + | |
| 8062 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('getPrototypeOf', function () { | |
| 8063 | + return function getPrototypeOf(it) { | |
| 8064 | + return $getPrototypeOf(toObject(it)); | |
| 8065 | + }; | |
| 8066 | +}); | |
| 8067 | + | |
| 8068 | + | |
| 8069 | +/***/ }), | |
| 8070 | + | |
| 8071 | +/***/ "../node_modules/core-js/library/modules/es6.object.keys.js": | |
| 8072 | +/*!******************************************************************!*\ | |
| 8073 | + !*** ../node_modules/core-js/library/modules/es6.object.keys.js ***! | |
| 8074 | + \******************************************************************/ | |
| 8075 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8076 | + | |
| 8077 | +// 19.1.2.14 Object.keys(O) | |
| 8078 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 8079 | +var $keys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 8080 | + | |
| 8081 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('keys', function () { | |
| 8082 | + return function keys(it) { | |
| 8083 | + return $keys(toObject(it)); | |
| 8084 | + }; | |
| 8085 | +}); | |
| 8086 | + | |
| 8087 | + | |
| 8088 | +/***/ }), | |
| 8089 | + | |
| 8090 | +/***/ "../node_modules/core-js/library/modules/es6.object.set-prototype-of.js": | |
| 8091 | +/*!******************************************************************************!*\ | |
| 8092 | + !*** ../node_modules/core-js/library/modules/es6.object.set-prototype-of.js ***! | |
| 8093 | + \******************************************************************************/ | |
| 8094 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8095 | + | |
| 8096 | +// 19.1.3.19 Object.setPrototypeOf(O, proto) | |
| 8097 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8098 | +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(/*! ./_set-proto */ "../node_modules/core-js/library/modules/_set-proto.js").set }); | |
| 8099 | + | |
| 8100 | + | |
| 8101 | +/***/ }), | |
| 8102 | + | |
| 8103 | +/***/ "../node_modules/core-js/library/modules/es6.object.to-string.js": | |
| 8104 | +/*!***********************************************************************!*\ | |
| 8105 | + !*** ../node_modules/core-js/library/modules/es6.object.to-string.js ***! | |
| 8106 | + \***********************************************************************/ | |
| 8107 | +/***/ (() => { | |
| 8108 | + | |
| 8109 | + | |
| 8110 | + | |
| 8111 | +/***/ }), | |
| 8112 | + | |
| 8113 | +/***/ "../node_modules/core-js/library/modules/es6.parse-float.js": | |
| 8114 | +/*!******************************************************************!*\ | |
| 8115 | + !*** ../node_modules/core-js/library/modules/es6.parse-float.js ***! | |
| 8116 | + \******************************************************************/ | |
| 8117 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8118 | + | |
| 8119 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8120 | +var $parseFloat = __webpack_require__(/*! ./_parse-float */ "../node_modules/core-js/library/modules/_parse-float.js"); | |
| 8121 | +// 18.2.4 parseFloat(string) | |
| 8122 | +$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); | |
| 8123 | + | |
| 8124 | + | |
| 8125 | +/***/ }), | |
| 8126 | + | |
| 8127 | +/***/ "../node_modules/core-js/library/modules/es6.parse-int.js": | |
| 8128 | +/*!****************************************************************!*\ | |
| 8129 | + !*** ../node_modules/core-js/library/modules/es6.parse-int.js ***! | |
| 8130 | + \****************************************************************/ | |
| 8131 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8132 | + | |
| 8133 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8134 | +var $parseInt = __webpack_require__(/*! ./_parse-int */ "../node_modules/core-js/library/modules/_parse-int.js"); | |
| 8135 | +// 18.2.5 parseInt(string, radix) | |
| 8136 | +$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); | |
| 8137 | + | |
| 8138 | + | |
| 8139 | +/***/ }), | |
| 8140 | + | |
| 8141 | +/***/ "../node_modules/core-js/library/modules/es6.reflect.construct.js": | |
| 8142 | +/*!************************************************************************!*\ | |
| 8143 | + !*** ../node_modules/core-js/library/modules/es6.reflect.construct.js ***! | |
| 8144 | + \************************************************************************/ | |
| 8145 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8146 | + | |
| 8147 | +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) | |
| 8148 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8149 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 8150 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 8151 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 8152 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 8153 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 8154 | +var bind = __webpack_require__(/*! ./_bind */ "../node_modules/core-js/library/modules/_bind.js"); | |
| 8155 | +var rConstruct = (__webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Reflect || {}).construct; | |
| 8156 | + | |
| 8157 | +// MS Edge supports only 2 arguments and argumentsList argument is optional | |
| 8158 | +// FF Nightly sets third argument as `new.target`, but does not create `this` from it | |
| 8159 | +var NEW_TARGET_BUG = fails(function () { | |
| 8160 | + function F() { /* empty */ } | |
| 8161 | + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); | |
| 8162 | +}); | |
| 8163 | +var ARGS_BUG = !fails(function () { | |
| 8164 | + rConstruct(function () { /* empty */ }); | |
| 8165 | +}); | |
| 8166 | + | |
| 8167 | +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { | |
| 8168 | + construct: function construct(Target, args /* , newTarget */) { | |
| 8169 | + aFunction(Target); | |
| 8170 | + anObject(args); | |
| 8171 | + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); | |
| 8172 | + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); | |
| 8173 | + if (Target == newTarget) { | |
| 8174 | + // w/o altered newTarget, optimization for 0-4 arguments | |
| 8175 | + switch (args.length) { | |
| 8176 | + case 0: return new Target(); | |
| 8177 | + case 1: return new Target(args[0]); | |
| 8178 | + case 2: return new Target(args[0], args[1]); | |
| 8179 | + case 3: return new Target(args[0], args[1], args[2]); | |
| 8180 | + case 4: return new Target(args[0], args[1], args[2], args[3]); | |
| 8181 | + } | |
| 8182 | + // w/o altered newTarget, lot of arguments case | |
| 8183 | + var $args = [null]; | |
| 8184 | + $args.push.apply($args, args); | |
| 8185 | + return new (bind.apply(Target, $args))(); | |
| 8186 | + } | |
| 8187 | + // with altered newTarget, not support built-in constructors | |
| 8188 | + var proto = newTarget.prototype; | |
| 8189 | + var instance = create(isObject(proto) ? proto : Object.prototype); | |
| 8190 | + var result = Function.apply.call(Target, instance, args); | |
| 8191 | + return isObject(result) ? result : instance; | |
| 8192 | + } | |
| 8193 | +}); | |
| 8194 | + | |
| 8195 | + | |
| 8196 | +/***/ }), | |
| 8197 | + | |
| 8198 | +/***/ "../node_modules/core-js/library/modules/es6.reflect.get.js": | |
| 8199 | +/*!******************************************************************!*\ | |
| 8200 | + !*** ../node_modules/core-js/library/modules/es6.reflect.get.js ***! | |
| 8201 | + \******************************************************************/ | |
| 8202 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8203 | + | |
| 8204 | +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) | |
| 8205 | +var gOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 8206 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 8207 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 8208 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8209 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 8210 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 8211 | + | |
| 8212 | +function get(target, propertyKey /* , receiver */) { | |
| 8213 | + var receiver = arguments.length < 3 ? target : arguments[2]; | |
| 8214 | + var desc, proto; | |
| 8215 | + if (anObject(target) === receiver) return target[propertyKey]; | |
| 8216 | + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') | |
| 8217 | + ? desc.value | |
| 8218 | + : desc.get !== undefined | |
| 8219 | + ? desc.get.call(receiver) | |
| 8220 | + : undefined; | |
| 8221 | + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); | |
| 2922 | 8222 | } |
| 2923 | -module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2924 | 8223 | |
| 8224 | +$export($export.S, 'Reflect', { get: get }); | |
| 8225 | + | |
| 8226 | + | |
| 2925 | 8227 | /***/ }), |
| 2926 | 8228 | |
| 2927 | -/***/ "../node_modules/@babel/runtime/helpers/createClass.js": | |
| 8229 | +/***/ "../node_modules/core-js/library/modules/es6.string.iterator.js": | |
| 8230 | +/*!**********************************************************************!*\ | |
| 8231 | + !*** ../node_modules/core-js/library/modules/es6.string.iterator.js ***! | |
| 8232 | + \**********************************************************************/ | |
| 8233 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8234 | + | |
| 8235 | +"use strict"; | |
| 8236 | + | |
| 8237 | +var $at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/library/modules/_string-at.js")(true); | |
| 8238 | + | |
| 8239 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 8240 | +__webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js")(String, 'String', function (iterated) { | |
| 8241 | + this._t = String(iterated); // target | |
| 8242 | + this._i = 0; // next index | |
| 8243 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 8244 | +}, function () { | |
| 8245 | + var O = this._t; | |
| 8246 | + var index = this._i; | |
| 8247 | + var point; | |
| 8248 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 8249 | + point = $at(O, index); | |
| 8250 | + this._i += point.length; | |
| 8251 | + return { value: point, done: false }; | |
| 8252 | +}); | |
| 8253 | + | |
| 8254 | + | |
| 8255 | +/***/ }), | |
| 8256 | + | |
| 8257 | +/***/ "../node_modules/core-js/library/modules/es6.symbol.js": | |
| 2928 | 8258 | /*!*************************************************************!*\ |
| 2929 | - !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! | |
| 8259 | + !*** ../node_modules/core-js/library/modules/es6.symbol.js ***! | |
| 2930 | 8260 | \*************************************************************/ |
| 8261 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8262 | + | |
| 8263 | +"use strict"; | |
| 8264 | + | |
| 8265 | +// ECMAScript 6 symbols shim | |
| 8266 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 8267 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 8268 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 8269 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8270 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 8271 | +var META = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").KEY; | |
| 8272 | +var $fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 8273 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js"); | |
| 8274 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 8275 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 8276 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js"); | |
| 8277 | +var wksExt = __webpack_require__(/*! ./_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js"); | |
| 8278 | +var wksDefine = __webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js"); | |
| 8279 | +var enumKeys = __webpack_require__(/*! ./_enum-keys */ "../node_modules/core-js/library/modules/_enum-keys.js"); | |
| 8280 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js"); | |
| 8281 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 8282 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 8283 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 8284 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 8285 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 8286 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 8287 | +var _create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 8288 | +var gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ "../node_modules/core-js/library/modules/_object-gopn-ext.js"); | |
| 8289 | +var $GOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 8290 | +var $GOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 8291 | +var $DP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 8292 | +var $keys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 8293 | +var gOPD = $GOPD.f; | |
| 8294 | +var dP = $DP.f; | |
| 8295 | +var gOPN = gOPNExt.f; | |
| 8296 | +var $Symbol = global.Symbol; | |
| 8297 | +var $JSON = global.JSON; | |
| 8298 | +var _stringify = $JSON && $JSON.stringify; | |
| 8299 | +var PROTOTYPE = 'prototype'; | |
| 8300 | +var HIDDEN = wks('_hidden'); | |
| 8301 | +var TO_PRIMITIVE = wks('toPrimitive'); | |
| 8302 | +var isEnum = {}.propertyIsEnumerable; | |
| 8303 | +var SymbolRegistry = shared('symbol-registry'); | |
| 8304 | +var AllSymbols = shared('symbols'); | |
| 8305 | +var OPSymbols = shared('op-symbols'); | |
| 8306 | +var ObjectProto = Object[PROTOTYPE]; | |
| 8307 | +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; | |
| 8308 | +var QObject = global.QObject; | |
| 8309 | +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 | |
| 8310 | +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; | |
| 8311 | + | |
| 8312 | +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 | |
| 8313 | +var setSymbolDesc = DESCRIPTORS && $fails(function () { | |
| 8314 | + return _create(dP({}, 'a', { | |
| 8315 | + get: function () { return dP(this, 'a', { value: 7 }).a; } | |
| 8316 | + })).a != 7; | |
| 8317 | +}) ? function (it, key, D) { | |
| 8318 | + var protoDesc = gOPD(ObjectProto, key); | |
| 8319 | + if (protoDesc) delete ObjectProto[key]; | |
| 8320 | + dP(it, key, D); | |
| 8321 | + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); | |
| 8322 | +} : dP; | |
| 8323 | + | |
| 8324 | +var wrap = function (tag) { | |
| 8325 | + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); | |
| 8326 | + sym._k = tag; | |
| 8327 | + return sym; | |
| 8328 | +}; | |
| 8329 | + | |
| 8330 | +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { | |
| 8331 | + return typeof it == 'symbol'; | |
| 8332 | +} : function (it) { | |
| 8333 | + return it instanceof $Symbol; | |
| 8334 | +}; | |
| 8335 | + | |
| 8336 | +var $defineProperty = function defineProperty(it, key, D) { | |
| 8337 | + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); | |
| 8338 | + anObject(it); | |
| 8339 | + key = toPrimitive(key, true); | |
| 8340 | + anObject(D); | |
| 8341 | + if (has(AllSymbols, key)) { | |
| 8342 | + if (!D.enumerable) { | |
| 8343 | + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); | |
| 8344 | + it[HIDDEN][key] = true; | |
| 8345 | + } else { | |
| 8346 | + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; | |
| 8347 | + D = _create(D, { enumerable: createDesc(0, false) }); | |
| 8348 | + } return setSymbolDesc(it, key, D); | |
| 8349 | + } return dP(it, key, D); | |
| 8350 | +}; | |
| 8351 | +var $defineProperties = function defineProperties(it, P) { | |
| 8352 | + anObject(it); | |
| 8353 | + var keys = enumKeys(P = toIObject(P)); | |
| 8354 | + var i = 0; | |
| 8355 | + var l = keys.length; | |
| 8356 | + var key; | |
| 8357 | + while (l > i) $defineProperty(it, key = keys[i++], P[key]); | |
| 8358 | + return it; | |
| 8359 | +}; | |
| 8360 | +var $create = function create(it, P) { | |
| 8361 | + return P === undefined ? _create(it) : $defineProperties(_create(it), P); | |
| 8362 | +}; | |
| 8363 | +var $propertyIsEnumerable = function propertyIsEnumerable(key) { | |
| 8364 | + var E = isEnum.call(this, key = toPrimitive(key, true)); | |
| 8365 | + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; | |
| 8366 | + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; | |
| 8367 | +}; | |
| 8368 | +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { | |
| 8369 | + it = toIObject(it); | |
| 8370 | + key = toPrimitive(key, true); | |
| 8371 | + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; | |
| 8372 | + var D = gOPD(it, key); | |
| 8373 | + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; | |
| 8374 | + return D; | |
| 8375 | +}; | |
| 8376 | +var $getOwnPropertyNames = function getOwnPropertyNames(it) { | |
| 8377 | + var names = gOPN(toIObject(it)); | |
| 8378 | + var result = []; | |
| 8379 | + var i = 0; | |
| 8380 | + var key; | |
| 8381 | + while (names.length > i) { | |
| 8382 | + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); | |
| 8383 | + } return result; | |
| 8384 | +}; | |
| 8385 | +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { | |
| 8386 | + var IS_OP = it === ObjectProto; | |
| 8387 | + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); | |
| 8388 | + var result = []; | |
| 8389 | + var i = 0; | |
| 8390 | + var key; | |
| 8391 | + while (names.length > i) { | |
| 8392 | + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); | |
| 8393 | + } return result; | |
| 8394 | +}; | |
| 8395 | + | |
| 8396 | +// 19.4.1.1 Symbol([description]) | |
| 8397 | +if (!USE_NATIVE) { | |
| 8398 | + $Symbol = function Symbol() { | |
| 8399 | + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); | |
| 8400 | + var tag = uid(arguments.length > 0 ? arguments[0] : undefined); | |
| 8401 | + var $set = function (value) { | |
| 8402 | + if (this === ObjectProto) $set.call(OPSymbols, value); | |
| 8403 | + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; | |
| 8404 | + setSymbolDesc(this, tag, createDesc(1, value)); | |
| 8405 | + }; | |
| 8406 | + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); | |
| 8407 | + return wrap(tag); | |
| 8408 | + }; | |
| 8409 | + redefine($Symbol[PROTOTYPE], 'toString', function toString() { | |
| 8410 | + return this._k; | |
| 8411 | + }); | |
| 8412 | + | |
| 8413 | + $GOPD.f = $getOwnPropertyDescriptor; | |
| 8414 | + $DP.f = $defineProperty; | |
| 8415 | + __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js").f = gOPNExt.f = $getOwnPropertyNames; | |
| 8416 | + __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js").f = $propertyIsEnumerable; | |
| 8417 | + $GOPS.f = $getOwnPropertySymbols; | |
| 8418 | + | |
| 8419 | + if (DESCRIPTORS && !__webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js")) { | |
| 8420 | + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); | |
| 8421 | + } | |
| 8422 | + | |
| 8423 | + wksExt.f = function (name) { | |
| 8424 | + return wrap(wks(name)); | |
| 8425 | + }; | |
| 8426 | +} | |
| 8427 | + | |
| 8428 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); | |
| 8429 | + | |
| 8430 | +for (var es6Symbols = ( | |
| 8431 | + // 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 | |
| 8432 | + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' | |
| 8433 | +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); | |
| 8434 | + | |
| 8435 | +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); | |
| 8436 | + | |
| 8437 | +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { | |
| 8438 | + // 19.4.2.1 Symbol.for(key) | |
| 8439 | + 'for': function (key) { | |
| 8440 | + return has(SymbolRegistry, key += '') | |
| 8441 | + ? SymbolRegistry[key] | |
| 8442 | + : SymbolRegistry[key] = $Symbol(key); | |
| 8443 | + }, | |
| 8444 | + // 19.4.2.5 Symbol.keyFor(sym) | |
| 8445 | + keyFor: function keyFor(sym) { | |
| 8446 | + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); | |
| 8447 | + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; | |
| 8448 | + }, | |
| 8449 | + useSetter: function () { setter = true; }, | |
| 8450 | + useSimple: function () { setter = false; } | |
| 8451 | +}); | |
| 8452 | + | |
| 8453 | +$export($export.S + $export.F * !USE_NATIVE, 'Object', { | |
| 8454 | + // 19.1.2.2 Object.create(O [, Properties]) | |
| 8455 | + create: $create, | |
| 8456 | + // 19.1.2.4 Object.defineProperty(O, P, Attributes) | |
| 8457 | + defineProperty: $defineProperty, | |
| 8458 | + // 19.1.2.3 Object.defineProperties(O, Properties) | |
| 8459 | + defineProperties: $defineProperties, | |
| 8460 | + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 8461 | + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, | |
| 8462 | + // 19.1.2.7 Object.getOwnPropertyNames(O) | |
| 8463 | + getOwnPropertyNames: $getOwnPropertyNames, | |
| 8464 | + // 19.1.2.8 Object.getOwnPropertySymbols(O) | |
| 8465 | + getOwnPropertySymbols: $getOwnPropertySymbols | |
| 8466 | +}); | |
| 8467 | + | |
| 8468 | +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives | |
| 8469 | +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 | |
| 8470 | +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); | |
| 8471 | + | |
| 8472 | +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { | |
| 8473 | + getOwnPropertySymbols: function getOwnPropertySymbols(it) { | |
| 8474 | + return $GOPS.f(toObject(it)); | |
| 8475 | + } | |
| 8476 | +}); | |
| 8477 | + | |
| 8478 | +// 24.3.2 JSON.stringify(value [, replacer [, space]]) | |
| 8479 | +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { | |
| 8480 | + var S = $Symbol(); | |
| 8481 | + // MS Edge converts symbol values to JSON as {} | |
| 8482 | + // WebKit converts symbol values to JSON as null | |
| 8483 | + // V8 throws on boxed symbols | |
| 8484 | + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; | |
| 8485 | +})), 'JSON', { | |
| 8486 | + stringify: function stringify(it) { | |
| 8487 | + var args = [it]; | |
| 8488 | + var i = 1; | |
| 8489 | + var replacer, $replacer; | |
| 8490 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 8491 | + $replacer = replacer = args[1]; | |
| 8492 | + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined | |
| 8493 | + if (!isArray(replacer)) replacer = function (key, value) { | |
| 8494 | + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); | |
| 8495 | + if (!isSymbol(value)) return value; | |
| 8496 | + }; | |
| 8497 | + args[1] = replacer; | |
| 8498 | + return _stringify.apply($JSON, args); | |
| 8499 | + } | |
| 8500 | +}); | |
| 8501 | + | |
| 8502 | +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) | |
| 8503 | +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); | |
| 8504 | +// 19.4.3.5 Symbol.prototype[@@toStringTag] | |
| 8505 | +setToStringTag($Symbol, 'Symbol'); | |
| 8506 | +// 20.2.1.9 Math[@@toStringTag] | |
| 8507 | +setToStringTag(Math, 'Math', true); | |
| 8508 | +// 24.3.3 JSON[@@toStringTag] | |
| 8509 | +setToStringTag(global.JSON, 'JSON', true); | |
| 8510 | + | |
| 8511 | + | |
| 8512 | +/***/ }), | |
| 8513 | + | |
| 8514 | +/***/ "../node_modules/core-js/library/modules/es6.weak-map.js": | |
| 8515 | +/*!***************************************************************!*\ | |
| 8516 | + !*** ../node_modules/core-js/library/modules/es6.weak-map.js ***! | |
| 8517 | + \***************************************************************/ | |
| 2931 | 8518 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2932 | 8519 | |
| 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); | |
| 8520 | +"use strict"; | |
| 8521 | + | |
| 8522 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 8523 | +var each = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/library/modules/_array-methods.js")(0); | |
| 8524 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 8525 | +var meta = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js"); | |
| 8526 | +var assign = __webpack_require__(/*! ./_object-assign */ "../node_modules/core-js/library/modules/_object-assign.js"); | |
| 8527 | +var weak = __webpack_require__(/*! ./_collection-weak */ "../node_modules/core-js/library/modules/_collection-weak.js"); | |
| 8528 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 8529 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 8530 | +var NATIVE_WEAK_MAP = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 8531 | +var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; | |
| 8532 | +var WEAK_MAP = 'WeakMap'; | |
| 8533 | +var getWeak = meta.getWeak; | |
| 8534 | +var isExtensible = Object.isExtensible; | |
| 8535 | +var uncaughtFrozenStore = weak.ufstore; | |
| 8536 | +var InternalMap; | |
| 8537 | + | |
| 8538 | +var wrapper = function (get) { | |
| 8539 | + return function WeakMap() { | |
| 8540 | + return get(this, arguments.length > 0 ? arguments[0] : undefined); | |
| 8541 | + }; | |
| 8542 | +}; | |
| 8543 | + | |
| 8544 | +var methods = { | |
| 8545 | + // 23.3.3.3 WeakMap.prototype.get(key) | |
| 8546 | + get: function get(key) { | |
| 8547 | + if (isObject(key)) { | |
| 8548 | + var data = getWeak(key); | |
| 8549 | + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); | |
| 8550 | + return data ? data[this._i] : undefined; | |
| 8551 | + } | |
| 8552 | + }, | |
| 8553 | + // 23.3.3.5 WeakMap.prototype.set(key, value) | |
| 8554 | + set: function set(key, value) { | |
| 8555 | + return weak.def(validate(this, WEAK_MAP), key, value); | |
| 2938 | 8556 | } |
| 8557 | +}; | |
| 8558 | + | |
| 8559 | +// 23.3 WeakMap Objects | |
| 8560 | +var $WeakMap = module.exports = __webpack_require__(/*! ./_collection */ "../node_modules/core-js/library/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); | |
| 8561 | + | |
| 8562 | +// IE11 WeakMap frozen keys fix | |
| 8563 | +if (NATIVE_WEAK_MAP && IS_IE11) { | |
| 8564 | + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); | |
| 8565 | + assign(InternalMap.prototype, methods); | |
| 8566 | + meta.NEED = true; | |
| 8567 | + each(['delete', 'has', 'get', 'set'], function (key) { | |
| 8568 | + var proto = $WeakMap.prototype; | |
| 8569 | + var method = proto[key]; | |
| 8570 | + redefine(proto, key, function (a, b) { | |
| 8571 | + // store frozen objects on internal weakmap shim | |
| 8572 | + if (isObject(a) && !isExtensible(a)) { | |
| 8573 | + if (!this._f) this._f = new InternalMap(); | |
| 8574 | + var result = this._f[key](a, b); | |
| 8575 | + return key == 'set' ? this : result; | |
| 8576 | + // store all the rest on native weakmap | |
| 8577 | + } return method.call(this, a, b); | |
| 8578 | + }); | |
| 8579 | + }); | |
| 2939 | 8580 | } |
| 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; | |
| 8581 | + | |
| 8582 | + | |
| 8583 | +/***/ }), | |
| 8584 | + | |
| 8585 | +/***/ "../node_modules/core-js/library/modules/es7.map.from.js": | |
| 8586 | +/*!***************************************************************!*\ | |
| 8587 | + !*** ../node_modules/core-js/library/modules/es7.map.from.js ***! | |
| 8588 | + \***************************************************************/ | |
| 8589 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8590 | + | |
| 8591 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from | |
| 8592 | +__webpack_require__(/*! ./_set-collection-from */ "../node_modules/core-js/library/modules/_set-collection-from.js")('Map'); | |
| 8593 | + | |
| 8594 | + | |
| 8595 | +/***/ }), | |
| 8596 | + | |
| 8597 | +/***/ "../node_modules/core-js/library/modules/es7.map.of.js": | |
| 8598 | +/*!*************************************************************!*\ | |
| 8599 | + !*** ../node_modules/core-js/library/modules/es7.map.of.js ***! | |
| 8600 | + \*************************************************************/ | |
| 8601 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8602 | + | |
| 8603 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of | |
| 8604 | +__webpack_require__(/*! ./_set-collection-of */ "../node_modules/core-js/library/modules/_set-collection-of.js")('Map'); | |
| 8605 | + | |
| 8606 | + | |
| 8607 | +/***/ }), | |
| 8608 | + | |
| 8609 | +/***/ "../node_modules/core-js/library/modules/es7.map.to-json.js": | |
| 8610 | +/*!******************************************************************!*\ | |
| 8611 | + !*** ../node_modules/core-js/library/modules/es7.map.to-json.js ***! | |
| 8612 | + \******************************************************************/ | |
| 8613 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8614 | + | |
| 8615 | +// https://github.com/DavidBruant/Map-Set.prototype.toJSON | |
| 8616 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8617 | + | |
| 8618 | +$export($export.P + $export.R, 'Map', { toJSON: __webpack_require__(/*! ./_collection-to-json */ "../node_modules/core-js/library/modules/_collection-to-json.js")('Map') }); | |
| 8619 | + | |
| 8620 | + | |
| 8621 | +/***/ }), | |
| 8622 | + | |
| 8623 | +/***/ "../node_modules/core-js/library/modules/es7.object.entries.js": | |
| 8624 | +/*!*********************************************************************!*\ | |
| 8625 | + !*** ../node_modules/core-js/library/modules/es7.object.entries.js ***! | |
| 8626 | + \*********************************************************************/ | |
| 8627 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8628 | + | |
| 8629 | +// https://github.com/tc39/proposal-object-values-entries | |
| 8630 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8631 | +var $entries = __webpack_require__(/*! ./_object-to-array */ "../node_modules/core-js/library/modules/_object-to-array.js")(true); | |
| 8632 | + | |
| 8633 | +$export($export.S, 'Object', { | |
| 8634 | + entries: function entries(it) { | |
| 8635 | + return $entries(it); | |
| 8636 | + } | |
| 8637 | +}); | |
| 8638 | + | |
| 8639 | + | |
| 8640 | +/***/ }), | |
| 8641 | + | |
| 8642 | +/***/ "../node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js": | |
| 8643 | +/*!******************************************************************************************!*\ | |
| 8644 | + !*** ../node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js ***! | |
| 8645 | + \******************************************************************************************/ | |
| 8646 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8647 | + | |
| 8648 | +// https://github.com/tc39/proposal-object-getownpropertydescriptors | |
| 8649 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8650 | +var ownKeys = __webpack_require__(/*! ./_own-keys */ "../node_modules/core-js/library/modules/_own-keys.js"); | |
| 8651 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 8652 | +var gOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 8653 | +var createProperty = __webpack_require__(/*! ./_create-property */ "../node_modules/core-js/library/modules/_create-property.js"); | |
| 8654 | + | |
| 8655 | +$export($export.S, 'Object', { | |
| 8656 | + getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { | |
| 8657 | + var O = toIObject(object); | |
| 8658 | + var getDesc = gOPD.f; | |
| 8659 | + var keys = ownKeys(O); | |
| 8660 | + var result = {}; | |
| 8661 | + var i = 0; | |
| 8662 | + var key, desc; | |
| 8663 | + while (keys.length > i) { | |
| 8664 | + desc = getDesc(O, key = keys[i++]); | |
| 8665 | + if (desc !== undefined) createProperty(result, key, desc); | |
| 8666 | + } | |
| 8667 | + return result; | |
| 8668 | + } | |
| 8669 | +}); | |
| 8670 | + | |
| 8671 | + | |
| 8672 | +/***/ }), | |
| 8673 | + | |
| 8674 | +/***/ "../node_modules/core-js/library/modules/es7.object.values.js": | |
| 8675 | +/*!********************************************************************!*\ | |
| 8676 | + !*** ../node_modules/core-js/library/modules/es7.object.values.js ***! | |
| 8677 | + \********************************************************************/ | |
| 8678 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8679 | + | |
| 8680 | +// https://github.com/tc39/proposal-object-values-entries | |
| 8681 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 8682 | +var $values = __webpack_require__(/*! ./_object-to-array */ "../node_modules/core-js/library/modules/_object-to-array.js")(false); | |
| 8683 | + | |
| 8684 | +$export($export.S, 'Object', { | |
| 8685 | + values: function values(it) { | |
| 8686 | + return $values(it); | |
| 8687 | + } | |
| 8688 | +}); | |
| 8689 | + | |
| 8690 | + | |
| 8691 | +/***/ }), | |
| 8692 | + | |
| 8693 | +/***/ "../node_modules/core-js/library/modules/es7.symbol.async-iterator.js": | |
| 8694 | +/*!****************************************************************************!*\ | |
| 8695 | + !*** ../node_modules/core-js/library/modules/es7.symbol.async-iterator.js ***! | |
| 8696 | + \****************************************************************************/ | |
| 8697 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8698 | + | |
| 8699 | +__webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js")('asyncIterator'); | |
| 8700 | + | |
| 8701 | + | |
| 8702 | +/***/ }), | |
| 8703 | + | |
| 8704 | +/***/ "../node_modules/core-js/library/modules/es7.symbol.observable.js": | |
| 8705 | +/*!************************************************************************!*\ | |
| 8706 | + !*** ../node_modules/core-js/library/modules/es7.symbol.observable.js ***! | |
| 8707 | + \************************************************************************/ | |
| 8708 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8709 | + | |
| 8710 | +__webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js")('observable'); | |
| 8711 | + | |
| 8712 | + | |
| 8713 | +/***/ }), | |
| 8714 | + | |
| 8715 | +/***/ "../node_modules/core-js/library/modules/es7.weak-map.from.js": | |
| 8716 | +/*!********************************************************************!*\ | |
| 8717 | + !*** ../node_modules/core-js/library/modules/es7.weak-map.from.js ***! | |
| 8718 | + \********************************************************************/ | |
| 8719 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8720 | + | |
| 8721 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from | |
| 8722 | +__webpack_require__(/*! ./_set-collection-from */ "../node_modules/core-js/library/modules/_set-collection-from.js")('WeakMap'); | |
| 8723 | + | |
| 8724 | + | |
| 8725 | +/***/ }), | |
| 8726 | + | |
| 8727 | +/***/ "../node_modules/core-js/library/modules/es7.weak-map.of.js": | |
| 8728 | +/*!******************************************************************!*\ | |
| 8729 | + !*** ../node_modules/core-js/library/modules/es7.weak-map.of.js ***! | |
| 8730 | + \******************************************************************/ | |
| 8731 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8732 | + | |
| 8733 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of | |
| 8734 | +__webpack_require__(/*! ./_set-collection-of */ "../node_modules/core-js/library/modules/_set-collection-of.js")('WeakMap'); | |
| 8735 | + | |
| 8736 | + | |
| 8737 | +/***/ }), | |
| 8738 | + | |
| 8739 | +/***/ "../node_modules/core-js/library/modules/web.dom.iterable.js": | |
| 8740 | +/*!*******************************************************************!*\ | |
| 8741 | + !*** ../node_modules/core-js/library/modules/web.dom.iterable.js ***! | |
| 8742 | + \*******************************************************************/ | |
| 8743 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 8744 | + | |
| 8745 | +__webpack_require__(/*! ./es6.array.iterator */ "../node_modules/core-js/library/modules/es6.array.iterator.js"); | |
| 8746 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 8747 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 8748 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 8749 | +var TO_STRING_TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 8750 | + | |
| 8751 | +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + | |
| 8752 | + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + | |
| 8753 | + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + | |
| 8754 | + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + | |
| 8755 | + 'TextTrackList,TouchList').split(','); | |
| 8756 | + | |
| 8757 | +for (var i = 0; i < DOMIterables.length; i++) { | |
| 8758 | + var NAME = DOMIterables[i]; | |
| 8759 | + var Collection = global[NAME]; | |
| 8760 | + var proto = Collection && Collection.prototype; | |
| 8761 | + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 8762 | + Iterators[NAME] = Iterators.Array; | |
| 2944 | 8763 | } |
| 2945 | -module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2946 | 8764 | |
| 8765 | + | |
| 2947 | 8766 | /***/ }), |
| 2948 | 8767 | |
| 2949 | -/***/ "../node_modules/@babel/runtime/helpers/defineProperty.js": | |
| 8768 | +/***/ "../node_modules/core-js/modules/_a-function.js": | |
| 8769 | +/*!******************************************************!*\ | |
| 8770 | + !*** ../node_modules/core-js/modules/_a-function.js ***! | |
| 8771 | + \******************************************************/ | |
| 8772 | +/***/ ((module) => { | |
| 8773 | + | |
| 8774 | +module.exports = function (it) { | |
| 8775 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 8776 | + return it; | |
| 8777 | +}; | |
| 8778 | + | |
| 8779 | + | |
| 8780 | +/***/ }), | |
| 8781 | + | |
| 8782 | +/***/ "../node_modules/core-js/modules/_add-to-unscopables.js": | |
| 8783 | +/*!**************************************************************!*\ | |
| 8784 | + !*** ../node_modules/core-js/modules/_add-to-unscopables.js ***! | |
| 8785 | + \**************************************************************/ | |
| 8786 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8787 | + | |
| 8788 | +// 22.1.3.31 Array.prototype[@@unscopables] | |
| 8789 | +var UNSCOPABLES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('unscopables'); | |
| 8790 | +var ArrayProto = Array.prototype; | |
| 8791 | +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js")(ArrayProto, UNSCOPABLES, {}); | |
| 8792 | +module.exports = function (key) { | |
| 8793 | + ArrayProto[UNSCOPABLES][key] = true; | |
| 8794 | +}; | |
| 8795 | + | |
| 8796 | + | |
| 8797 | +/***/ }), | |
| 8798 | + | |
| 8799 | +/***/ "../node_modules/core-js/modules/_advance-string-index.js": | |
| 2950 | 8800 | /*!****************************************************************!*\ |
| 2951 | - !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***! | |
| 8801 | + !*** ../node_modules/core-js/modules/_advance-string-index.js ***! | |
| 2952 | 8802 | \****************************************************************/ |
| 2953 | 8803 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2954 | 8804 | |
| 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; | |
| 8805 | +"use strict"; | |
| 2965 | 8806 | |
| 8807 | +var at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/modules/_string-at.js")(true); | |
| 8808 | + | |
| 8809 | + // `AdvanceStringIndex` abstract operation | |
| 8810 | +// https://tc39.github.io/ecma262/#sec-advancestringindex | |
| 8811 | +module.exports = function (S, index, unicode) { | |
| 8812 | + return index + (unicode ? at(S, index).length : 1); | |
| 8813 | +}; | |
| 8814 | + | |
| 8815 | + | |
| 2966 | 8816 | /***/ }), |
| 2967 | 8817 | |
| 2968 | -/***/ "../node_modules/@babel/runtime/helpers/get.js": | |
| 8818 | +/***/ "../node_modules/core-js/modules/_an-object.js": | |
| 2969 | 8819 | /*!*****************************************************!*\ |
| 2970 | - !*** ../node_modules/@babel/runtime/helpers/get.js ***! | |
| 8820 | + !*** ../node_modules/core-js/modules/_an-object.js ***! | |
| 2971 | 8821 | \*****************************************************/ |
| 2972 | 8822 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2973 | 8823 | |
| 2974 | -var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime/helpers/superPropBase.js"); | |
| 2975 | -function _get() { | |
| 2976 | - return module.exports = _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { | |
| 2977 | - var p = superPropBase(e, t); | |
| 2978 | - if (p) { | |
| 2979 | - var n = Object.getOwnPropertyDescriptor(p, t); | |
| 2980 | - return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; | |
| 8824 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 8825 | +module.exports = function (it) { | |
| 8826 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 8827 | + return it; | |
| 8828 | +}; | |
| 8829 | + | |
| 8830 | + | |
| 8831 | +/***/ }), | |
| 8832 | + | |
| 8833 | +/***/ "../node_modules/core-js/modules/_array-includes.js": | |
| 8834 | +/*!**********************************************************!*\ | |
| 8835 | + !*** ../node_modules/core-js/modules/_array-includes.js ***! | |
| 8836 | + \**********************************************************/ | |
| 8837 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8838 | + | |
| 8839 | +// false -> Array#indexOf | |
| 8840 | +// true -> Array#includes | |
| 8841 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/modules/_to-iobject.js"); | |
| 8842 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 8843 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/modules/_to-absolute-index.js"); | |
| 8844 | +module.exports = function (IS_INCLUDES) { | |
| 8845 | + return function ($this, el, fromIndex) { | |
| 8846 | + var O = toIObject($this); | |
| 8847 | + var length = toLength(O.length); | |
| 8848 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 8849 | + var value; | |
| 8850 | + // Array#includes uses SameValueZero equality algorithm | |
| 8851 | + // eslint-disable-next-line no-self-compare | |
| 8852 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 8853 | + value = O[index++]; | |
| 8854 | + // eslint-disable-next-line no-self-compare | |
| 8855 | + if (value != value) return true; | |
| 8856 | + // Array#indexOf ignores holes, Array#includes - not | |
| 8857 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 8858 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 8859 | + } return !IS_INCLUDES && -1; | |
| 8860 | + }; | |
| 8861 | +}; | |
| 8862 | + | |
| 8863 | + | |
| 8864 | +/***/ }), | |
| 8865 | + | |
| 8866 | +/***/ "../node_modules/core-js/modules/_array-methods.js": | |
| 8867 | +/*!*********************************************************!*\ | |
| 8868 | + !*** ../node_modules/core-js/modules/_array-methods.js ***! | |
| 8869 | + \*********************************************************/ | |
| 8870 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8871 | + | |
| 8872 | +// 0 -> Array#forEach | |
| 8873 | +// 1 -> Array#map | |
| 8874 | +// 2 -> Array#filter | |
| 8875 | +// 3 -> Array#some | |
| 8876 | +// 4 -> Array#every | |
| 8877 | +// 5 -> Array#find | |
| 8878 | +// 6 -> Array#findIndex | |
| 8879 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/modules/_ctx.js"); | |
| 8880 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/modules/_iobject.js"); | |
| 8881 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 8882 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 8883 | +var asc = __webpack_require__(/*! ./_array-species-create */ "../node_modules/core-js/modules/_array-species-create.js"); | |
| 8884 | +module.exports = function (TYPE, $create) { | |
| 8885 | + var IS_MAP = TYPE == 1; | |
| 8886 | + var IS_FILTER = TYPE == 2; | |
| 8887 | + var IS_SOME = TYPE == 3; | |
| 8888 | + var IS_EVERY = TYPE == 4; | |
| 8889 | + var IS_FIND_INDEX = TYPE == 6; | |
| 8890 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 8891 | + var create = $create || asc; | |
| 8892 | + return function ($this, callbackfn, that) { | |
| 8893 | + var O = toObject($this); | |
| 8894 | + var self = IObject(O); | |
| 8895 | + var f = ctx(callbackfn, that, 3); | |
| 8896 | + var length = toLength(self.length); | |
| 8897 | + var index = 0; | |
| 8898 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 8899 | + var val, res; | |
| 8900 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 8901 | + val = self[index]; | |
| 8902 | + res = f(val, index, O); | |
| 8903 | + if (TYPE) { | |
| 8904 | + if (IS_MAP) result[index] = res; // map | |
| 8905 | + else if (res) switch (TYPE) { | |
| 8906 | + case 3: return true; // some | |
| 8907 | + case 5: return val; // find | |
| 8908 | + case 6: return index; // findIndex | |
| 8909 | + case 2: result.push(val); // filter | |
| 8910 | + } else if (IS_EVERY) return false; // every | |
| 8911 | + } | |
| 2981 | 8912 | } |
| 2982 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments); | |
| 2983 | -} | |
| 2984 | -module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 8913 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 8914 | + }; | |
| 8915 | +}; | |
| 2985 | 8916 | |
| 8917 | + | |
| 2986 | 8918 | /***/ }), |
| 2987 | 8919 | |
| 2988 | -/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js": | |
| 8920 | +/***/ "../node_modules/core-js/modules/_array-species-constructor.js": | |
| 8921 | +/*!*********************************************************************!*\ | |
| 8922 | + !*** ../node_modules/core-js/modules/_array-species-constructor.js ***! | |
| 8923 | + \*********************************************************************/ | |
| 8924 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8925 | + | |
| 8926 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 8927 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/modules/_is-array.js"); | |
| 8928 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('species'); | |
| 8929 | + | |
| 8930 | +module.exports = function (original) { | |
| 8931 | + var C; | |
| 8932 | + if (isArray(original)) { | |
| 8933 | + C = original.constructor; | |
| 8934 | + // cross-realm fallback | |
| 8935 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 8936 | + if (isObject(C)) { | |
| 8937 | + C = C[SPECIES]; | |
| 8938 | + if (C === null) C = undefined; | |
| 8939 | + } | |
| 8940 | + } return C === undefined ? Array : C; | |
| 8941 | +}; | |
| 8942 | + | |
| 8943 | + | |
| 8944 | +/***/ }), | |
| 8945 | + | |
| 8946 | +/***/ "../node_modules/core-js/modules/_array-species-create.js": | |
| 2989 | 8947 | /*!****************************************************************!*\ |
| 2990 | - !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! | |
| 8948 | + !*** ../node_modules/core-js/modules/_array-species-create.js ***! | |
| 2991 | 8949 | \****************************************************************/ |
| 2992 | -/***/ ((module) => { | |
| 8950 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2993 | 8951 | |
| 2994 | -function _getPrototypeOf(t) { | |
| 2995 | - return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | |
| 2996 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 2997 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); | |
| 2998 | -} | |
| 2999 | -module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 8952 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 8953 | +var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "../node_modules/core-js/modules/_array-species-constructor.js"); | |
| 3000 | 8954 | |
| 8955 | +module.exports = function (original, length) { | |
| 8956 | + return new (speciesConstructor(original))(length); | |
| 8957 | +}; | |
| 8958 | + | |
| 8959 | + | |
| 3001 | 8960 | /***/ }), |
| 3002 | 8961 | |
| 3003 | -/***/ "../node_modules/@babel/runtime/helpers/inherits.js": | |
| 3004 | -/*!**********************************************************!*\ | |
| 3005 | - !*** ../node_modules/@babel/runtime/helpers/inherits.js ***! | |
| 3006 | - \**********************************************************/ | |
| 8962 | +/***/ "../node_modules/core-js/modules/_classof.js": | |
| 8963 | +/*!***************************************************!*\ | |
| 8964 | + !*** ../node_modules/core-js/modules/_classof.js ***! | |
| 8965 | + \***************************************************/ | |
| 3007 | 8966 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3008 | 8967 | |
| 3009 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 3010 | -function _inherits(t, e) { | |
| 3011 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 3012 | - t.prototype = Object.create(e && e.prototype, { | |
| 3013 | - constructor: { | |
| 3014 | - value: t, | |
| 3015 | - writable: !0, | |
| 3016 | - configurable: !0 | |
| 3017 | - } | |
| 3018 | - }), Object.defineProperty(t, "prototype", { | |
| 3019 | - writable: !1 | |
| 3020 | - }), e && setPrototypeOf(t, e); | |
| 3021 | -} | |
| 3022 | -module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 8968 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 8969 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 8970 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag'); | |
| 8971 | +// ES3 wrong here | |
| 8972 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 3023 | 8973 | |
| 8974 | +// fallback for IE11 Script Access Denied error | |
| 8975 | +var tryGet = function (it, key) { | |
| 8976 | + try { | |
| 8977 | + return it[key]; | |
| 8978 | + } catch (e) { /* empty */ } | |
| 8979 | +}; | |
| 8980 | + | |
| 8981 | +module.exports = function (it) { | |
| 8982 | + var O, T, B; | |
| 8983 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 8984 | + // @@toStringTag case | |
| 8985 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 8986 | + // builtinTag case | |
| 8987 | + : ARG ? cof(O) | |
| 8988 | + // ES3 arguments fallback | |
| 8989 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 8990 | +}; | |
| 8991 | + | |
| 8992 | + | |
| 3024 | 8993 | /***/ }), |
| 3025 | 8994 | |
| 3026 | -/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 3027 | -/*!***********************************************************************!*\ | |
| 3028 | - !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 3029 | - \***********************************************************************/ | |
| 8995 | +/***/ "../node_modules/core-js/modules/_cof.js": | |
| 8996 | +/*!***********************************************!*\ | |
| 8997 | + !*** ../node_modules/core-js/modules/_cof.js ***! | |
| 8998 | + \***********************************************/ | |
| 3030 | 8999 | /***/ ((module) => { |
| 3031 | 9000 | |
| 3032 | -function _interopRequireDefault(e) { | |
| 3033 | - return e && e.__esModule ? e : { | |
| 3034 | - "default": e | |
| 9001 | +var toString = {}.toString; | |
| 9002 | + | |
| 9003 | +module.exports = function (it) { | |
| 9004 | + return toString.call(it).slice(8, -1); | |
| 9005 | +}; | |
| 9006 | + | |
| 9007 | + | |
| 9008 | +/***/ }), | |
| 9009 | + | |
| 9010 | +/***/ "../node_modules/core-js/modules/_core.js": | |
| 9011 | +/*!************************************************!*\ | |
| 9012 | + !*** ../node_modules/core-js/modules/_core.js ***! | |
| 9013 | + \************************************************/ | |
| 9014 | +/***/ ((module) => { | |
| 9015 | + | |
| 9016 | +var core = module.exports = { version: '2.6.12' }; | |
| 9017 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 9018 | + | |
| 9019 | + | |
| 9020 | +/***/ }), | |
| 9021 | + | |
| 9022 | +/***/ "../node_modules/core-js/modules/_ctx.js": | |
| 9023 | +/*!***********************************************!*\ | |
| 9024 | + !*** ../node_modules/core-js/modules/_ctx.js ***! | |
| 9025 | + \***********************************************/ | |
| 9026 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9027 | + | |
| 9028 | +// optional / simple context binding | |
| 9029 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/modules/_a-function.js"); | |
| 9030 | +module.exports = function (fn, that, length) { | |
| 9031 | + aFunction(fn); | |
| 9032 | + if (that === undefined) return fn; | |
| 9033 | + switch (length) { | |
| 9034 | + case 1: return function (a) { | |
| 9035 | + return fn.call(that, a); | |
| 9036 | + }; | |
| 9037 | + case 2: return function (a, b) { | |
| 9038 | + return fn.call(that, a, b); | |
| 9039 | + }; | |
| 9040 | + case 3: return function (a, b, c) { | |
| 9041 | + return fn.call(that, a, b, c); | |
| 9042 | + }; | |
| 9043 | + } | |
| 9044 | + return function (/* ...args */) { | |
| 9045 | + return fn.apply(that, arguments); | |
| 3035 | 9046 | }; |
| 3036 | -} | |
| 3037 | -module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9047 | +}; | |
| 3038 | 9048 | |
| 9049 | + | |
| 3039 | 9050 | /***/ }), |
| 3040 | 9051 | |
| 3041 | -/***/ "../node_modules/@babel/runtime/helpers/isNativeFunction.js": | |
| 3042 | -/*!******************************************************************!*\ | |
| 3043 | - !*** ../node_modules/@babel/runtime/helpers/isNativeFunction.js ***! | |
| 3044 | - \******************************************************************/ | |
| 9052 | +/***/ "../node_modules/core-js/modules/_defined.js": | |
| 9053 | +/*!***************************************************!*\ | |
| 9054 | + !*** ../node_modules/core-js/modules/_defined.js ***! | |
| 9055 | + \***************************************************/ | |
| 3045 | 9056 | /***/ ((module) => { |
| 3046 | 9057 | |
| 3047 | -function _isNativeFunction(t) { | |
| 3048 | - try { | |
| 3049 | - return -1 !== Function.toString.call(t).indexOf("[native code]"); | |
| 3050 | - } catch (n) { | |
| 3051 | - return "function" == typeof t; | |
| 9058 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 9059 | +module.exports = function (it) { | |
| 9060 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 9061 | + return it; | |
| 9062 | +}; | |
| 9063 | + | |
| 9064 | + | |
| 9065 | +/***/ }), | |
| 9066 | + | |
| 9067 | +/***/ "../node_modules/core-js/modules/_descriptors.js": | |
| 9068 | +/*!*******************************************************!*\ | |
| 9069 | + !*** ../node_modules/core-js/modules/_descriptors.js ***! | |
| 9070 | + \*******************************************************/ | |
| 9071 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9072 | + | |
| 9073 | +// Thank's IE8 for his funny defineProperty | |
| 9074 | +module.exports = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 9075 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 9076 | +}); | |
| 9077 | + | |
| 9078 | + | |
| 9079 | +/***/ }), | |
| 9080 | + | |
| 9081 | +/***/ "../node_modules/core-js/modules/_dom-create.js": | |
| 9082 | +/*!******************************************************!*\ | |
| 9083 | + !*** ../node_modules/core-js/modules/_dom-create.js ***! | |
| 9084 | + \******************************************************/ | |
| 9085 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9086 | + | |
| 9087 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 9088 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").document; | |
| 9089 | +// typeof document.createElement is 'object' in old IE | |
| 9090 | +var is = isObject(document) && isObject(document.createElement); | |
| 9091 | +module.exports = function (it) { | |
| 9092 | + return is ? document.createElement(it) : {}; | |
| 9093 | +}; | |
| 9094 | + | |
| 9095 | + | |
| 9096 | +/***/ }), | |
| 9097 | + | |
| 9098 | +/***/ "../node_modules/core-js/modules/_export.js": | |
| 9099 | +/*!**************************************************!*\ | |
| 9100 | + !*** ../node_modules/core-js/modules/_export.js ***! | |
| 9101 | + \**************************************************/ | |
| 9102 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9103 | + | |
| 9104 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 9105 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js"); | |
| 9106 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 9107 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 9108 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/modules/_ctx.js"); | |
| 9109 | +var PROTOTYPE = 'prototype'; | |
| 9110 | + | |
| 9111 | +var $export = function (type, name, source) { | |
| 9112 | + var IS_FORCED = type & $export.F; | |
| 9113 | + var IS_GLOBAL = type & $export.G; | |
| 9114 | + var IS_STATIC = type & $export.S; | |
| 9115 | + var IS_PROTO = type & $export.P; | |
| 9116 | + var IS_BIND = type & $export.B; | |
| 9117 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; | |
| 9118 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 9119 | + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); | |
| 9120 | + var key, own, out, exp; | |
| 9121 | + if (IS_GLOBAL) source = name; | |
| 9122 | + for (key in source) { | |
| 9123 | + // contains in native | |
| 9124 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 9125 | + // export native or passed | |
| 9126 | + out = (own ? target : source)[key]; | |
| 9127 | + // bind timers to global for call from export context | |
| 9128 | + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 9129 | + // extend global | |
| 9130 | + if (target) redefine(target, key, out, type & $export.U); | |
| 9131 | + // export | |
| 9132 | + if (exports[key] != out) hide(exports, key, exp); | |
| 9133 | + if (IS_PROTO && expProto[key] != out) expProto[key] = out; | |
| 3052 | 9134 | } |
| 3053 | -} | |
| 3054 | -module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9135 | +}; | |
| 9136 | +global.core = core; | |
| 9137 | +// type bitmap | |
| 9138 | +$export.F = 1; // forced | |
| 9139 | +$export.G = 2; // global | |
| 9140 | +$export.S = 4; // static | |
| 9141 | +$export.P = 8; // proto | |
| 9142 | +$export.B = 16; // bind | |
| 9143 | +$export.W = 32; // wrap | |
| 9144 | +$export.U = 64; // safe | |
| 9145 | +$export.R = 128; // real proto method for `library` | |
| 9146 | +module.exports = $export; | |
| 3055 | 9147 | |
| 9148 | + | |
| 3056 | 9149 | /***/ }), |
| 3057 | 9150 | |
| 3058 | -/***/ "../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js": | |
| 3059 | -/*!**************************************************************************!*\ | |
| 3060 | - !*** ../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***! | |
| 3061 | - \**************************************************************************/ | |
| 3062 | -/***/ ((module) => { | |
| 9151 | +/***/ "../node_modules/core-js/modules/_fails-is-regexp.js": | |
| 9152 | +/*!***********************************************************!*\ | |
| 9153 | + !*** ../node_modules/core-js/modules/_fails-is-regexp.js ***! | |
| 9154 | + \***********************************************************/ | |
| 9155 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3063 | 9156 | |
| 3064 | -function _isNativeReflectConstruct() { | |
| 9157 | +var MATCH = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('match'); | |
| 9158 | +module.exports = function (KEY) { | |
| 9159 | + var re = /./; | |
| 3065 | 9160 | try { |
| 3066 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | |
| 3067 | - } catch (t) {} | |
| 3068 | - return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() { | |
| 3069 | - return !!t; | |
| 3070 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 3071 | -} | |
| 3072 | -module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9161 | + '/./'[KEY](re); | |
| 9162 | + } catch (e) { | |
| 9163 | + try { | |
| 9164 | + re[MATCH] = false; | |
| 9165 | + return !'/./'[KEY](re); | |
| 9166 | + } catch (f) { /* empty */ } | |
| 9167 | + } return true; | |
| 9168 | +}; | |
| 3073 | 9169 | |
| 9170 | + | |
| 3074 | 9171 | /***/ }), |
| 3075 | 9172 | |
| 3076 | -/***/ "../node_modules/@babel/runtime/helpers/iterableToArray.js": | |
| 3077 | -/*!*****************************************************************!*\ | |
| 3078 | - !*** ../node_modules/@babel/runtime/helpers/iterableToArray.js ***! | |
| 3079 | - \*****************************************************************/ | |
| 9173 | +/***/ "../node_modules/core-js/modules/_fails.js": | |
| 9174 | +/*!*************************************************!*\ | |
| 9175 | + !*** ../node_modules/core-js/modules/_fails.js ***! | |
| 9176 | + \*************************************************/ | |
| 3080 | 9177 | /***/ ((module) => { |
| 3081 | 9178 | |
| 3082 | -function _iterableToArray(r) { | |
| 3083 | - if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); | |
| 3084 | -} | |
| 3085 | -module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9179 | +module.exports = function (exec) { | |
| 9180 | + try { | |
| 9181 | + return !!exec(); | |
| 9182 | + } catch (e) { | |
| 9183 | + return true; | |
| 9184 | + } | |
| 9185 | +}; | |
| 3086 | 9186 | |
| 9187 | + | |
| 3087 | 9188 | /***/ }), |
| 3088 | 9189 | |
| 3089 | -/***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": | |
| 3090 | -/*!**********************************************************************!*\ | |
| 3091 | - !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! | |
| 3092 | - \**********************************************************************/ | |
| 3093 | -/***/ ((module) => { | |
| 9190 | +/***/ "../node_modules/core-js/modules/_fix-re-wks.js": | |
| 9191 | +/*!******************************************************!*\ | |
| 9192 | + !*** ../node_modules/core-js/modules/_fix-re-wks.js ***! | |
| 9193 | + \******************************************************/ | |
| 9194 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3094 | 9195 | |
| 3095 | -function _iterableToArrayLimit(r, l) { | |
| 3096 | - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 3097 | - if (null != t) { | |
| 3098 | - var e, | |
| 3099 | - n, | |
| 3100 | - i, | |
| 3101 | - u, | |
| 3102 | - a = [], | |
| 3103 | - f = !0, | |
| 3104 | - o = !1; | |
| 3105 | - try { | |
| 3106 | - if (i = (t = t.call(r)).next, 0 === l) { | |
| 3107 | - if (Object(t) !== t) return; | |
| 3108 | - f = !1; | |
| 3109 | - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 3110 | - } catch (r) { | |
| 3111 | - o = !0, n = r; | |
| 3112 | - } finally { | |
| 3113 | - try { | |
| 3114 | - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 3115 | - } finally { | |
| 3116 | - if (o) throw n; | |
| 9196 | +"use strict"; | |
| 9197 | + | |
| 9198 | +__webpack_require__(/*! ./es6.regexp.exec */ "../node_modules/core-js/modules/es6.regexp.exec.js"); | |
| 9199 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 9200 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 9201 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 9202 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 9203 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js"); | |
| 9204 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 9205 | + | |
| 9206 | +var SPECIES = wks('species'); | |
| 9207 | + | |
| 9208 | +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { | |
| 9209 | + // #replace needs built-in support for named groups. | |
| 9210 | + // #match works fine because it just return the exec results, even if it has | |
| 9211 | + // a "grops" property. | |
| 9212 | + var re = /./; | |
| 9213 | + re.exec = function () { | |
| 9214 | + var result = []; | |
| 9215 | + result.groups = { a: '7' }; | |
| 9216 | + return result; | |
| 9217 | + }; | |
| 9218 | + return ''.replace(re, '$<a>') !== '7'; | |
| 9219 | +}); | |
| 9220 | + | |
| 9221 | +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { | |
| 9222 | + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec | |
| 9223 | + var re = /(?:)/; | |
| 9224 | + var originalExec = re.exec; | |
| 9225 | + re.exec = function () { return originalExec.apply(this, arguments); }; | |
| 9226 | + var result = 'ab'.split(re); | |
| 9227 | + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; | |
| 9228 | +})(); | |
| 9229 | + | |
| 9230 | +module.exports = function (KEY, length, exec) { | |
| 9231 | + var SYMBOL = wks(KEY); | |
| 9232 | + | |
| 9233 | + var DELEGATES_TO_SYMBOL = !fails(function () { | |
| 9234 | + // String methods call symbol-named RegEp methods | |
| 9235 | + var O = {}; | |
| 9236 | + O[SYMBOL] = function () { return 7; }; | |
| 9237 | + return ''[KEY](O) != 7; | |
| 9238 | + }); | |
| 9239 | + | |
| 9240 | + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { | |
| 9241 | + // Symbol-named RegExp methods call .exec | |
| 9242 | + var execCalled = false; | |
| 9243 | + var re = /a/; | |
| 9244 | + re.exec = function () { execCalled = true; return null; }; | |
| 9245 | + if (KEY === 'split') { | |
| 9246 | + // RegExp[@@split] doesn't call the regex's exec method, but first creates | |
| 9247 | + // a new one. We need to return the patched regex when creating the new one. | |
| 9248 | + re.constructor = {}; | |
| 9249 | + re.constructor[SPECIES] = function () { return re; }; | |
| 9250 | + } | |
| 9251 | + re[SYMBOL](''); | |
| 9252 | + return !execCalled; | |
| 9253 | + }) : undefined; | |
| 9254 | + | |
| 9255 | + if ( | |
| 9256 | + !DELEGATES_TO_SYMBOL || | |
| 9257 | + !DELEGATES_TO_EXEC || | |
| 9258 | + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || | |
| 9259 | + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) | |
| 9260 | + ) { | |
| 9261 | + var nativeRegExpMethod = /./[SYMBOL]; | |
| 9262 | + var fns = exec( | |
| 9263 | + defined, | |
| 9264 | + SYMBOL, | |
| 9265 | + ''[KEY], | |
| 9266 | + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { | |
| 9267 | + if (regexp.exec === regexpExec) { | |
| 9268 | + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { | |
| 9269 | + // The native String method already delegates to @@method (this | |
| 9270 | + // polyfilled function), leasing to infinite recursion. | |
| 9271 | + // We avoid it by directly calling the native @@method method. | |
| 9272 | + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; | |
| 9273 | + } | |
| 9274 | + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; | |
| 9275 | + } | |
| 9276 | + return { done: false }; | |
| 3117 | 9277 | } |
| 3118 | - } | |
| 3119 | - return a; | |
| 9278 | + ); | |
| 9279 | + var strfn = fns[0]; | |
| 9280 | + var rxfn = fns[1]; | |
| 9281 | + | |
| 9282 | + redefine(String.prototype, KEY, strfn); | |
| 9283 | + hide(RegExp.prototype, SYMBOL, length == 2 | |
| 9284 | + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) | |
| 9285 | + // 21.2.5.11 RegExp.prototype[@@split](string, limit) | |
| 9286 | + ? function (string, arg) { return rxfn.call(string, this, arg); } | |
| 9287 | + // 21.2.5.6 RegExp.prototype[@@match](string) | |
| 9288 | + // 21.2.5.9 RegExp.prototype[@@search](string) | |
| 9289 | + : function (string) { return rxfn.call(string, this); } | |
| 9290 | + ); | |
| 3120 | 9291 | } |
| 3121 | -} | |
| 3122 | -module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9292 | +}; | |
| 3123 | 9293 | |
| 9294 | + | |
| 3124 | 9295 | /***/ }), |
| 3125 | 9296 | |
| 3126 | -/***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js": | |
| 3127 | -/*!*****************************************************************!*\ | |
| 3128 | - !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***! | |
| 3129 | - \*****************************************************************/ | |
| 9297 | +/***/ "../node_modules/core-js/modules/_flags.js": | |
| 9298 | +/*!*************************************************!*\ | |
| 9299 | + !*** ../node_modules/core-js/modules/_flags.js ***! | |
| 9300 | + \*************************************************/ | |
| 9301 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9302 | + | |
| 9303 | +"use strict"; | |
| 9304 | + | |
| 9305 | +// 21.2.5.3 get RegExp.prototype.flags | |
| 9306 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 9307 | +module.exports = function () { | |
| 9308 | + var that = anObject(this); | |
| 9309 | + var result = ''; | |
| 9310 | + if (that.global) result += 'g'; | |
| 9311 | + if (that.ignoreCase) result += 'i'; | |
| 9312 | + if (that.multiline) result += 'm'; | |
| 9313 | + if (that.unicode) result += 'u'; | |
| 9314 | + if (that.sticky) result += 'y'; | |
| 9315 | + return result; | |
| 9316 | +}; | |
| 9317 | + | |
| 9318 | + | |
| 9319 | +/***/ }), | |
| 9320 | + | |
| 9321 | +/***/ "../node_modules/core-js/modules/_function-to-string.js": | |
| 9322 | +/*!**************************************************************!*\ | |
| 9323 | + !*** ../node_modules/core-js/modules/_function-to-string.js ***! | |
| 9324 | + \**************************************************************/ | |
| 9325 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9326 | + | |
| 9327 | +module.exports = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('native-function-to-string', Function.toString); | |
| 9328 | + | |
| 9329 | + | |
| 9330 | +/***/ }), | |
| 9331 | + | |
| 9332 | +/***/ "../node_modules/core-js/modules/_global.js": | |
| 9333 | +/*!**************************************************!*\ | |
| 9334 | + !*** ../node_modules/core-js/modules/_global.js ***! | |
| 9335 | + \**************************************************/ | |
| 3130 | 9336 | /***/ ((module) => { |
| 3131 | 9337 | |
| 3132 | -function _nonIterableRest() { | |
| 3133 | - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 3134 | -} | |
| 3135 | -module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9338 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 9339 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 9340 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 9341 | + // eslint-disable-next-line no-new-func | |
| 9342 | + : Function('return this')(); | |
| 9343 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 3136 | 9344 | |
| 9345 | + | |
| 3137 | 9346 | /***/ }), |
| 3138 | 9347 | |
| 3139 | -/***/ "../node_modules/@babel/runtime/helpers/nonIterableSpread.js": | |
| 3140 | -/*!*******************************************************************!*\ | |
| 3141 | - !*** ../node_modules/@babel/runtime/helpers/nonIterableSpread.js ***! | |
| 3142 | - \*******************************************************************/ | |
| 9348 | +/***/ "../node_modules/core-js/modules/_has.js": | |
| 9349 | +/*!***********************************************!*\ | |
| 9350 | + !*** ../node_modules/core-js/modules/_has.js ***! | |
| 9351 | + \***********************************************/ | |
| 3143 | 9352 | /***/ ((module) => { |
| 3144 | 9353 | |
| 3145 | -function _nonIterableSpread() { | |
| 3146 | - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 3147 | -} | |
| 3148 | -module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9354 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 9355 | +module.exports = function (it, key) { | |
| 9356 | + return hasOwnProperty.call(it, key); | |
| 9357 | +}; | |
| 3149 | 9358 | |
| 9359 | + | |
| 3150 | 9360 | /***/ }), |
| 3151 | 9361 | |
| 3152 | -/***/ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js": | |
| 3153 | -/*!*************************************************************************!*\ | |
| 3154 | - !*** ../node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***! | |
| 3155 | - \*************************************************************************/ | |
| 9362 | +/***/ "../node_modules/core-js/modules/_hide.js": | |
| 9363 | +/*!************************************************!*\ | |
| 9364 | + !*** ../node_modules/core-js/modules/_hide.js ***! | |
| 9365 | + \************************************************/ | |
| 3156 | 9366 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3157 | 9367 | |
| 3158 | -var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"); | |
| 3159 | -function _objectWithoutProperties(e, t) { | |
| 3160 | - if (null == e) return {}; | |
| 3161 | - var o, | |
| 3162 | - r, | |
| 3163 | - i = objectWithoutPropertiesLoose(e, t); | |
| 3164 | - if (Object.getOwnPropertySymbols) { | |
| 3165 | - var n = Object.getOwnPropertySymbols(e); | |
| 3166 | - for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); | |
| 3167 | - } | |
| 3168 | - return i; | |
| 3169 | -} | |
| 3170 | -module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9368 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js"); | |
| 9369 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/modules/_property-desc.js"); | |
| 9370 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? function (object, key, value) { | |
| 9371 | + return dP.f(object, key, createDesc(1, value)); | |
| 9372 | +} : function (object, key, value) { | |
| 9373 | + object[key] = value; | |
| 9374 | + return object; | |
| 9375 | +}; | |
| 3171 | 9376 | |
| 9377 | + | |
| 3172 | 9378 | /***/ }), |
| 3173 | 9379 | |
| 3174 | -/***/ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js": | |
| 3175 | -/*!******************************************************************************!*\ | |
| 3176 | - !*** ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***! | |
| 3177 | - \******************************************************************************/ | |
| 9380 | +/***/ "../node_modules/core-js/modules/_html.js": | |
| 9381 | +/*!************************************************!*\ | |
| 9382 | + !*** ../node_modules/core-js/modules/_html.js ***! | |
| 9383 | + \************************************************/ | |
| 9384 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9385 | + | |
| 9386 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").document; | |
| 9387 | +module.exports = document && document.documentElement; | |
| 9388 | + | |
| 9389 | + | |
| 9390 | +/***/ }), | |
| 9391 | + | |
| 9392 | +/***/ "../node_modules/core-js/modules/_ie8-dom-define.js": | |
| 9393 | +/*!**********************************************************!*\ | |
| 9394 | + !*** ../node_modules/core-js/modules/_ie8-dom-define.js ***! | |
| 9395 | + \**********************************************************/ | |
| 9396 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9397 | + | |
| 9398 | +module.exports = !__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 9399 | + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 9400 | +}); | |
| 9401 | + | |
| 9402 | + | |
| 9403 | +/***/ }), | |
| 9404 | + | |
| 9405 | +/***/ "../node_modules/core-js/modules/_iobject.js": | |
| 9406 | +/*!***************************************************!*\ | |
| 9407 | + !*** ../node_modules/core-js/modules/_iobject.js ***! | |
| 9408 | + \***************************************************/ | |
| 9409 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9410 | + | |
| 9411 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 9412 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 9413 | +// eslint-disable-next-line no-prototype-builtins | |
| 9414 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 9415 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 9416 | +}; | |
| 9417 | + | |
| 9418 | + | |
| 9419 | +/***/ }), | |
| 9420 | + | |
| 9421 | +/***/ "../node_modules/core-js/modules/_is-array.js": | |
| 9422 | +/*!****************************************************!*\ | |
| 9423 | + !*** ../node_modules/core-js/modules/_is-array.js ***! | |
| 9424 | + \****************************************************/ | |
| 9425 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9426 | + | |
| 9427 | +// 7.2.2 IsArray(argument) | |
| 9428 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 9429 | +module.exports = Array.isArray || function isArray(arg) { | |
| 9430 | + return cof(arg) == 'Array'; | |
| 9431 | +}; | |
| 9432 | + | |
| 9433 | + | |
| 9434 | +/***/ }), | |
| 9435 | + | |
| 9436 | +/***/ "../node_modules/core-js/modules/_is-object.js": | |
| 9437 | +/*!*****************************************************!*\ | |
| 9438 | + !*** ../node_modules/core-js/modules/_is-object.js ***! | |
| 9439 | + \*****************************************************/ | |
| 3178 | 9440 | /***/ ((module) => { |
| 3179 | 9441 | |
| 3180 | -function _objectWithoutPropertiesLoose(r, e) { | |
| 3181 | - if (null == r) return {}; | |
| 3182 | - var t = {}; | |
| 3183 | - for (var n in r) if ({}.hasOwnProperty.call(r, n)) { | |
| 3184 | - if (-1 !== e.indexOf(n)) continue; | |
| 3185 | - t[n] = r[n]; | |
| 3186 | - } | |
| 3187 | - return t; | |
| 3188 | -} | |
| 3189 | -module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9442 | +module.exports = function (it) { | |
| 9443 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 9444 | +}; | |
| 3190 | 9445 | |
| 9446 | + | |
| 3191 | 9447 | /***/ }), |
| 3192 | 9448 | |
| 3193 | -/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": | |
| 3194 | -/*!***************************************************************************!*\ | |
| 3195 | - !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! | |
| 3196 | - \***************************************************************************/ | |
| 9449 | +/***/ "../node_modules/core-js/modules/_is-regexp.js": | |
| 9450 | +/*!*****************************************************!*\ | |
| 9451 | + !*** ../node_modules/core-js/modules/_is-regexp.js ***! | |
| 9452 | + \*****************************************************/ | |
| 3197 | 9453 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3198 | 9454 | |
| 3199 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 3200 | -var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); | |
| 3201 | -function _possibleConstructorReturn(t, e) { | |
| 3202 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 3203 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 3204 | - return assertThisInitialized(t); | |
| 3205 | -} | |
| 3206 | -module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9455 | +// 7.2.8 IsRegExp(argument) | |
| 9456 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 9457 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 9458 | +var MATCH = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('match'); | |
| 9459 | +module.exports = function (it) { | |
| 9460 | + var isRegExp; | |
| 9461 | + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); | |
| 9462 | +}; | |
| 3207 | 9463 | |
| 9464 | + | |
| 3208 | 9465 | /***/ }), |
| 3209 | 9466 | |
| 3210 | -/***/ "../node_modules/@babel/runtime/helpers/readOnlyError.js": | |
| 3211 | -/*!***************************************************************!*\ | |
| 3212 | - !*** ../node_modules/@babel/runtime/helpers/readOnlyError.js ***! | |
| 3213 | - \***************************************************************/ | |
| 9467 | +/***/ "../node_modules/core-js/modules/_library.js": | |
| 9468 | +/*!***************************************************!*\ | |
| 9469 | + !*** ../node_modules/core-js/modules/_library.js ***! | |
| 9470 | + \***************************************************/ | |
| 3214 | 9471 | /***/ ((module) => { |
| 3215 | 9472 | |
| 3216 | -function _readOnlyError(r) { | |
| 3217 | - throw new TypeError('"' + r + '" is read-only'); | |
| 3218 | -} | |
| 3219 | -module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9473 | +module.exports = false; | |
| 3220 | 9474 | |
| 9475 | + | |
| 3221 | 9476 | /***/ }), |
| 3222 | 9477 | |
| 3223 | -/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": | |
| 9478 | +/***/ "../node_modules/core-js/modules/_object-dp.js": | |
| 9479 | +/*!*****************************************************!*\ | |
| 9480 | + !*** ../node_modules/core-js/modules/_object-dp.js ***! | |
| 9481 | + \*****************************************************/ | |
| 9482 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 9483 | + | |
| 9484 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 9485 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/modules/_ie8-dom-define.js"); | |
| 9486 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/modules/_to-primitive.js"); | |
| 9487 | +var dP = Object.defineProperty; | |
| 9488 | + | |
| 9489 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 9490 | + anObject(O); | |
| 9491 | + P = toPrimitive(P, true); | |
| 9492 | + anObject(Attributes); | |
| 9493 | + if (IE8_DOM_DEFINE) try { | |
| 9494 | + return dP(O, P, Attributes); | |
| 9495 | + } catch (e) { /* empty */ } | |
| 9496 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 9497 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 9498 | + return O; | |
| 9499 | +}; | |
| 9500 | + | |
| 9501 | + | |
| 9502 | +/***/ }), | |
| 9503 | + | |
| 9504 | +/***/ "../node_modules/core-js/modules/_property-desc.js": | |
| 9505 | +/*!*********************************************************!*\ | |
| 9506 | + !*** ../node_modules/core-js/modules/_property-desc.js ***! | |
| 9507 | + \*********************************************************/ | |
| 9508 | +/***/ ((module) => { | |
| 9509 | + | |
| 9510 | +module.exports = function (bitmap, value) { | |
| 9511 | + return { | |
| 9512 | + enumerable: !(bitmap & 1), | |
| 9513 | + configurable: !(bitmap & 2), | |
| 9514 | + writable: !(bitmap & 4), | |
| 9515 | + value: value | |
| 9516 | + }; | |
| 9517 | +}; | |
| 9518 | + | |
| 9519 | + | |
| 9520 | +/***/ }), | |
| 9521 | + | |
| 9522 | +/***/ "../node_modules/core-js/modules/_redefine.js": | |
| 9523 | +/*!****************************************************!*\ | |
| 9524 | + !*** ../node_modules/core-js/modules/_redefine.js ***! | |
| 9525 | + \****************************************************/ | |
| 9526 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9527 | + | |
| 9528 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 9529 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 9530 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 9531 | +var SRC = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js")('src'); | |
| 9532 | +var $toString = __webpack_require__(/*! ./_function-to-string */ "../node_modules/core-js/modules/_function-to-string.js"); | |
| 9533 | +var TO_STRING = 'toString'; | |
| 9534 | +var TPL = ('' + $toString).split(TO_STRING); | |
| 9535 | + | |
| 9536 | +__webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js").inspectSource = function (it) { | |
| 9537 | + return $toString.call(it); | |
| 9538 | +}; | |
| 9539 | + | |
| 9540 | +(module.exports = function (O, key, val, safe) { | |
| 9541 | + var isFunction = typeof val == 'function'; | |
| 9542 | + if (isFunction) has(val, 'name') || hide(val, 'name', key); | |
| 9543 | + if (O[key] === val) return; | |
| 9544 | + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); | |
| 9545 | + if (O === global) { | |
| 9546 | + O[key] = val; | |
| 9547 | + } else if (!safe) { | |
| 9548 | + delete O[key]; | |
| 9549 | + hide(O, key, val); | |
| 9550 | + } else if (O[key]) { | |
| 9551 | + O[key] = val; | |
| 9552 | + } else { | |
| 9553 | + hide(O, key, val); | |
| 9554 | + } | |
| 9555 | +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative | |
| 9556 | +})(Function.prototype, TO_STRING, function toString() { | |
| 9557 | + return typeof this == 'function' && this[SRC] || $toString.call(this); | |
| 9558 | +}); | |
| 9559 | + | |
| 9560 | + | |
| 9561 | +/***/ }), | |
| 9562 | + | |
| 9563 | +/***/ "../node_modules/core-js/modules/_regexp-exec-abstract.js": | |
| 3224 | 9564 | /*!****************************************************************!*\ |
| 3225 | - !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! | |
| 9565 | + !*** ../node_modules/core-js/modules/_regexp-exec-abstract.js ***! | |
| 3226 | 9566 | \****************************************************************/ |
| 3227 | -/***/ ((module) => { | |
| 9567 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 3228 | 9568 | |
| 3229 | -function _setPrototypeOf(t, e) { | |
| 3230 | - return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | |
| 3231 | - return t.__proto__ = e, t; | |
| 3232 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); | |
| 9569 | +"use strict"; | |
| 9570 | + | |
| 9571 | + | |
| 9572 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/modules/_classof.js"); | |
| 9573 | +var builtinExec = RegExp.prototype.exec; | |
| 9574 | + | |
| 9575 | + // `RegExpExec` abstract operation | |
| 9576 | +// https://tc39.github.io/ecma262/#sec-regexpexec | |
| 9577 | +module.exports = function (R, S) { | |
| 9578 | + var exec = R.exec; | |
| 9579 | + if (typeof exec === 'function') { | |
| 9580 | + var result = exec.call(R, S); | |
| 9581 | + if (typeof result !== 'object') { | |
| 9582 | + throw new TypeError('RegExp exec method returned something other than an Object or null'); | |
| 9583 | + } | |
| 9584 | + return result; | |
| 9585 | + } | |
| 9586 | + if (classof(R) !== 'RegExp') { | |
| 9587 | + throw new TypeError('RegExp#exec called on incompatible receiver'); | |
| 9588 | + } | |
| 9589 | + return builtinExec.call(R, S); | |
| 9590 | +}; | |
| 9591 | + | |
| 9592 | + | |
| 9593 | +/***/ }), | |
| 9594 | + | |
| 9595 | +/***/ "../node_modules/core-js/modules/_regexp-exec.js": | |
| 9596 | +/*!*******************************************************!*\ | |
| 9597 | + !*** ../node_modules/core-js/modules/_regexp-exec.js ***! | |
| 9598 | + \*******************************************************/ | |
| 9599 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9600 | + | |
| 9601 | +"use strict"; | |
| 9602 | + | |
| 9603 | + | |
| 9604 | +var regexpFlags = __webpack_require__(/*! ./_flags */ "../node_modules/core-js/modules/_flags.js"); | |
| 9605 | + | |
| 9606 | +var nativeExec = RegExp.prototype.exec; | |
| 9607 | +// This always refers to the native implementation, because the | |
| 9608 | +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, | |
| 9609 | +// which loads this file before patching the method. | |
| 9610 | +var nativeReplace = String.prototype.replace; | |
| 9611 | + | |
| 9612 | +var patchedExec = nativeExec; | |
| 9613 | + | |
| 9614 | +var LAST_INDEX = 'lastIndex'; | |
| 9615 | + | |
| 9616 | +var UPDATES_LAST_INDEX_WRONG = (function () { | |
| 9617 | + var re1 = /a/, | |
| 9618 | + re2 = /b*/g; | |
| 9619 | + nativeExec.call(re1, 'a'); | |
| 9620 | + nativeExec.call(re2, 'a'); | |
| 9621 | + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; | |
| 9622 | +})(); | |
| 9623 | + | |
| 9624 | +// nonparticipating capturing group, copied from es5-shim's String#split patch. | |
| 9625 | +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; | |
| 9626 | + | |
| 9627 | +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; | |
| 9628 | + | |
| 9629 | +if (PATCH) { | |
| 9630 | + patchedExec = function exec(str) { | |
| 9631 | + var re = this; | |
| 9632 | + var lastIndex, reCopy, match, i; | |
| 9633 | + | |
| 9634 | + if (NPCG_INCLUDED) { | |
| 9635 | + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); | |
| 9636 | + } | |
| 9637 | + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; | |
| 9638 | + | |
| 9639 | + match = nativeExec.call(re, str); | |
| 9640 | + | |
| 9641 | + if (UPDATES_LAST_INDEX_WRONG && match) { | |
| 9642 | + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; | |
| 9643 | + } | |
| 9644 | + if (NPCG_INCLUDED && match && match.length > 1) { | |
| 9645 | + // Fix browsers whose `exec` methods don't consistently return `undefined` | |
| 9646 | + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ | |
| 9647 | + // eslint-disable-next-line no-loop-func | |
| 9648 | + nativeReplace.call(match[0], reCopy, function () { | |
| 9649 | + for (i = 1; i < arguments.length - 2; i++) { | |
| 9650 | + if (arguments[i] === undefined) match[i] = undefined; | |
| 9651 | + } | |
| 9652 | + }); | |
| 9653 | + } | |
| 9654 | + | |
| 9655 | + return match; | |
| 9656 | + }; | |
| 3233 | 9657 | } |
| 3234 | -module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3235 | 9658 | |
| 9659 | +module.exports = patchedExec; | |
| 9660 | + | |
| 9661 | + | |
| 3236 | 9662 | /***/ }), |
| 3237 | 9663 | |
| 3238 | -/***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js": | |
| 9664 | +/***/ "../node_modules/core-js/modules/_shared.js": | |
| 9665 | +/*!**************************************************!*\ | |
| 9666 | + !*** ../node_modules/core-js/modules/_shared.js ***! | |
| 9667 | + \**************************************************/ | |
| 9668 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9669 | + | |
| 9670 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js"); | |
| 9671 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 9672 | +var SHARED = '__core-js_shared__'; | |
| 9673 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 9674 | + | |
| 9675 | +(module.exports = function (key, value) { | |
| 9676 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 9677 | +})('versions', []).push({ | |
| 9678 | + version: core.version, | |
| 9679 | + mode: __webpack_require__(/*! ./_library */ "../node_modules/core-js/modules/_library.js") ? 'pure' : 'global', | |
| 9680 | + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' | |
| 9681 | +}); | |
| 9682 | + | |
| 9683 | + | |
| 9684 | +/***/ }), | |
| 9685 | + | |
| 9686 | +/***/ "../node_modules/core-js/modules/_species-constructor.js": | |
| 3239 | 9687 | /*!***************************************************************!*\ |
| 3240 | - !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***! | |
| 9688 | + !*** ../node_modules/core-js/modules/_species-constructor.js ***! | |
| 3241 | 9689 | \***************************************************************/ |
| 3242 | 9690 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3243 | 9691 | |
| 3244 | -var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); | |
| 3245 | -var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); | |
| 3246 | -var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); | |
| 3247 | -var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js"); | |
| 3248 | -function _slicedToArray(r, e) { | |
| 3249 | - return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest(); | |
| 3250 | -} | |
| 3251 | -module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9692 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 9693 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 9694 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/modules/_a-function.js"); | |
| 9695 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('species'); | |
| 9696 | +module.exports = function (O, D) { | |
| 9697 | + var C = anObject(O).constructor; | |
| 9698 | + var S; | |
| 9699 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 9700 | +}; | |
| 3252 | 9701 | |
| 9702 | + | |
| 3253 | 9703 | /***/ }), |
| 3254 | 9704 | |
| 3255 | -/***/ "../node_modules/@babel/runtime/helpers/superPropBase.js": | |
| 3256 | -/*!***************************************************************!*\ | |
| 3257 | - !*** ../node_modules/@babel/runtime/helpers/superPropBase.js ***! | |
| 3258 | - \***************************************************************/ | |
| 9705 | +/***/ "../node_modules/core-js/modules/_strict-method.js": | |
| 9706 | +/*!*********************************************************!*\ | |
| 9707 | + !*** ../node_modules/core-js/modules/_strict-method.js ***! | |
| 9708 | + \*********************************************************/ | |
| 3259 | 9709 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3260 | 9710 | |
| 3261 | -var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); | |
| 3262 | -function _superPropBase(t, o) { | |
| 3263 | - for (; !{}.hasOwnProperty.call(t, o) && null !== (t = getPrototypeOf(t));); | |
| 3264 | - return t; | |
| 3265 | -} | |
| 3266 | -module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9711 | +"use strict"; | |
| 3267 | 9712 | |
| 9713 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 9714 | + | |
| 9715 | +module.exports = function (method, arg) { | |
| 9716 | + return !!method && fails(function () { | |
| 9717 | + // eslint-disable-next-line no-useless-call | |
| 9718 | + arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); | |
| 9719 | + }); | |
| 9720 | +}; | |
| 9721 | + | |
| 9722 | + | |
| 3268 | 9723 | /***/ }), |
| 3269 | 9724 | |
| 3270 | -/***/ "../node_modules/@babel/runtime/helpers/toConsumableArray.js": | |
| 3271 | -/*!*******************************************************************!*\ | |
| 3272 | - !*** ../node_modules/@babel/runtime/helpers/toConsumableArray.js ***! | |
| 3273 | - \*******************************************************************/ | |
| 9725 | +/***/ "../node_modules/core-js/modules/_string-at.js": | |
| 9726 | +/*!*****************************************************!*\ | |
| 9727 | + !*** ../node_modules/core-js/modules/_string-at.js ***! | |
| 9728 | + \*****************************************************/ | |
| 3274 | 9729 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3275 | 9730 | |
| 3276 | -var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"); | |
| 3277 | -var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../node_modules/@babel/runtime/helpers/iterableToArray.js"); | |
| 3278 | -var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); | |
| 3279 | -var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ "../node_modules/@babel/runtime/helpers/nonIterableSpread.js"); | |
| 3280 | -function _toConsumableArray(r) { | |
| 3281 | - return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread(); | |
| 3282 | -} | |
| 3283 | -module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9731 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 9732 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 9733 | +// true -> String#at | |
| 9734 | +// false -> String#codePointAt | |
| 9735 | +module.exports = function (TO_STRING) { | |
| 9736 | + return function (that, pos) { | |
| 9737 | + var s = String(defined(that)); | |
| 9738 | + var i = toInteger(pos); | |
| 9739 | + var l = s.length; | |
| 9740 | + var a, b; | |
| 9741 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 9742 | + a = s.charCodeAt(i); | |
| 9743 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 9744 | + ? TO_STRING ? s.charAt(i) : a | |
| 9745 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 9746 | + }; | |
| 9747 | +}; | |
| 3284 | 9748 | |
| 9749 | + | |
| 3285 | 9750 | /***/ }), |
| 3286 | 9751 | |
| 3287 | -/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": | |
| 9752 | +/***/ "../node_modules/core-js/modules/_string-context.js": | |
| 9753 | +/*!**********************************************************!*\ | |
| 9754 | + !*** ../node_modules/core-js/modules/_string-context.js ***! | |
| 9755 | + \**********************************************************/ | |
| 9756 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9757 | + | |
| 9758 | +// helper for String#{startsWith, endsWith, includes} | |
| 9759 | +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "../node_modules/core-js/modules/_is-regexp.js"); | |
| 9760 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 9761 | + | |
| 9762 | +module.exports = function (that, searchString, NAME) { | |
| 9763 | + if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); | |
| 9764 | + return String(defined(that)); | |
| 9765 | +}; | |
| 9766 | + | |
| 9767 | + | |
| 9768 | +/***/ }), | |
| 9769 | + | |
| 9770 | +/***/ "../node_modules/core-js/modules/_to-absolute-index.js": | |
| 3288 | 9771 | /*!*************************************************************!*\ |
| 3289 | - !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! | |
| 9772 | + !*** ../node_modules/core-js/modules/_to-absolute-index.js ***! | |
| 3290 | 9773 | \*************************************************************/ |
| 3291 | 9774 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3292 | 9775 | |
| 3293 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 3294 | -function toPrimitive(t, r) { | |
| 3295 | - if ("object" != _typeof(t) || !t) return t; | |
| 3296 | - var e = t[Symbol.toPrimitive]; | |
| 3297 | - if (void 0 !== e) { | |
| 3298 | - var i = e.call(t, r || "default"); | |
| 3299 | - if ("object" != _typeof(i)) return i; | |
| 3300 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 3301 | - } | |
| 3302 | - return ("string" === r ? String : Number)(t); | |
| 3303 | -} | |
| 3304 | -module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9776 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 9777 | +var max = Math.max; | |
| 9778 | +var min = Math.min; | |
| 9779 | +module.exports = function (index, length) { | |
| 9780 | + index = toInteger(index); | |
| 9781 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 9782 | +}; | |
| 3305 | 9783 | |
| 9784 | + | |
| 3306 | 9785 | /***/ }), |
| 3307 | 9786 | |
| 3308 | -/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": | |
| 3309 | -/*!***************************************************************!*\ | |
| 3310 | - !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! | |
| 3311 | - \***************************************************************/ | |
| 9787 | +/***/ "../node_modules/core-js/modules/_to-integer.js": | |
| 9788 | +/*!******************************************************!*\ | |
| 9789 | + !*** ../node_modules/core-js/modules/_to-integer.js ***! | |
| 9790 | + \******************************************************/ | |
| 9791 | +/***/ ((module) => { | |
| 9792 | + | |
| 9793 | +// 7.1.4 ToInteger | |
| 9794 | +var ceil = Math.ceil; | |
| 9795 | +var floor = Math.floor; | |
| 9796 | +module.exports = function (it) { | |
| 9797 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 9798 | +}; | |
| 9799 | + | |
| 9800 | + | |
| 9801 | +/***/ }), | |
| 9802 | + | |
| 9803 | +/***/ "../node_modules/core-js/modules/_to-iobject.js": | |
| 9804 | +/*!******************************************************!*\ | |
| 9805 | + !*** ../node_modules/core-js/modules/_to-iobject.js ***! | |
| 9806 | + \******************************************************/ | |
| 3312 | 9807 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 3313 | 9808 | |
| 3314 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 3315 | -var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); | |
| 3316 | -function toPropertyKey(t) { | |
| 3317 | - var i = toPrimitive(t, "string"); | |
| 3318 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 3319 | -} | |
| 3320 | -module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 9809 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 9810 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/modules/_iobject.js"); | |
| 9811 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 9812 | +module.exports = function (it) { | |
| 9813 | + return IObject(defined(it)); | |
| 9814 | +}; | |
| 3321 | 9815 | |
| 9816 | + | |
| 3322 | 9817 | /***/ }), |
| 3323 | 9818 | |
| 3324 | -/***/ "../node_modules/@babel/runtime/helpers/typeof.js": | |
| 9819 | +/***/ "../node_modules/core-js/modules/_to-length.js": | |
| 9820 | +/*!*****************************************************!*\ | |
| 9821 | + !*** ../node_modules/core-js/modules/_to-length.js ***! | |
| 9822 | + \*****************************************************/ | |
| 9823 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9824 | + | |
| 9825 | +// 7.1.15 ToLength | |
| 9826 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 9827 | +var min = Math.min; | |
| 9828 | +module.exports = function (it) { | |
| 9829 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 9830 | +}; | |
| 9831 | + | |
| 9832 | + | |
| 9833 | +/***/ }), | |
| 9834 | + | |
| 9835 | +/***/ "../node_modules/core-js/modules/_to-object.js": | |
| 9836 | +/*!*****************************************************!*\ | |
| 9837 | + !*** ../node_modules/core-js/modules/_to-object.js ***! | |
| 9838 | + \*****************************************************/ | |
| 9839 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9840 | + | |
| 9841 | +// 7.1.13 ToObject(argument) | |
| 9842 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 9843 | +module.exports = function (it) { | |
| 9844 | + return Object(defined(it)); | |
| 9845 | +}; | |
| 9846 | + | |
| 9847 | + | |
| 9848 | +/***/ }), | |
| 9849 | + | |
| 9850 | +/***/ "../node_modules/core-js/modules/_to-primitive.js": | |
| 3325 | 9851 | /*!********************************************************!*\ |
| 3326 | - !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! | |
| 9852 | + !*** ../node_modules/core-js/modules/_to-primitive.js ***! | |
| 3327 | 9853 | \********************************************************/ |
| 9854 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9855 | + | |
| 9856 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 9857 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 9858 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 9859 | +// and the second argument - flag - preferred type is a string | |
| 9860 | +module.exports = function (it, S) { | |
| 9861 | + if (!isObject(it)) return it; | |
| 9862 | + var fn, val; | |
| 9863 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 9864 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 9865 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 9866 | + throw TypeError("Can't convert object to primitive value"); | |
| 9867 | +}; | |
| 9868 | + | |
| 9869 | + | |
| 9870 | +/***/ }), | |
| 9871 | + | |
| 9872 | +/***/ "../node_modules/core-js/modules/_uid.js": | |
| 9873 | +/*!***********************************************!*\ | |
| 9874 | + !*** ../node_modules/core-js/modules/_uid.js ***! | |
| 9875 | + \***********************************************/ | |
| 3328 | 9876 | /***/ ((module) => { |
| 3329 | 9877 | |
| 3330 | -function _typeof(o) { | |
| 3331 | - "@babel/helpers - typeof"; | |
| 9878 | +var id = 0; | |
| 9879 | +var px = Math.random(); | |
| 9880 | +module.exports = function (key) { | |
| 9881 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 9882 | +}; | |
| 3332 | 9883 | |
| 3333 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 3334 | - return typeof o; | |
| 3335 | - } : function (o) { | |
| 3336 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 3337 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 9884 | + | |
| 9885 | +/***/ }), | |
| 9886 | + | |
| 9887 | +/***/ "../node_modules/core-js/modules/_wks.js": | |
| 9888 | +/*!***********************************************!*\ | |
| 9889 | + !*** ../node_modules/core-js/modules/_wks.js ***! | |
| 9890 | + \***********************************************/ | |
| 9891 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9892 | + | |
| 9893 | +var store = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('wks'); | |
| 9894 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js"); | |
| 9895 | +var Symbol = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").Symbol; | |
| 9896 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 9897 | + | |
| 9898 | +var $exports = module.exports = function (name) { | |
| 9899 | + return store[name] || (store[name] = | |
| 9900 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 9901 | +}; | |
| 9902 | + | |
| 9903 | +$exports.store = store; | |
| 9904 | + | |
| 9905 | + | |
| 9906 | +/***/ }), | |
| 9907 | + | |
| 9908 | +/***/ "../node_modules/core-js/modules/es6.array.filter.js": | |
| 9909 | +/*!***********************************************************!*\ | |
| 9910 | + !*** ../node_modules/core-js/modules/es6.array.filter.js ***! | |
| 9911 | + \***********************************************************/ | |
| 9912 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9913 | + | |
| 9914 | +"use strict"; | |
| 9915 | + | |
| 9916 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 9917 | +var $filter = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/modules/_array-methods.js")(2); | |
| 9918 | + | |
| 9919 | +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "../node_modules/core-js/modules/_strict-method.js")([].filter, true), 'Array', { | |
| 9920 | + // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) | |
| 9921 | + filter: function filter(callbackfn /* , thisArg */) { | |
| 9922 | + return $filter(this, callbackfn, arguments[1]); | |
| 9923 | + } | |
| 9924 | +}); | |
| 9925 | + | |
| 9926 | + | |
| 9927 | +/***/ }), | |
| 9928 | + | |
| 9929 | +/***/ "../node_modules/core-js/modules/es6.array.slice.js": | |
| 9930 | +/*!**********************************************************!*\ | |
| 9931 | + !*** ../node_modules/core-js/modules/es6.array.slice.js ***! | |
| 9932 | + \**********************************************************/ | |
| 9933 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9934 | + | |
| 9935 | +"use strict"; | |
| 9936 | + | |
| 9937 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 9938 | +var html = __webpack_require__(/*! ./_html */ "../node_modules/core-js/modules/_html.js"); | |
| 9939 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 9940 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/modules/_to-absolute-index.js"); | |
| 9941 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 9942 | +var arraySlice = [].slice; | |
| 9943 | + | |
| 9944 | +// fallback for not array-like ES3 strings and DOM objects | |
| 9945 | +$export($export.P + $export.F * __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 9946 | + if (html) arraySlice.call(html); | |
| 9947 | +}), 'Array', { | |
| 9948 | + slice: function slice(begin, end) { | |
| 9949 | + var len = toLength(this.length); | |
| 9950 | + var klass = cof(this); | |
| 9951 | + end = end === undefined ? len : end; | |
| 9952 | + if (klass == 'Array') return arraySlice.call(this, begin, end); | |
| 9953 | + var start = toAbsoluteIndex(begin, len); | |
| 9954 | + var upTo = toAbsoluteIndex(end, len); | |
| 9955 | + var size = toLength(upTo - start); | |
| 9956 | + var cloned = new Array(size); | |
| 9957 | + var i = 0; | |
| 9958 | + for (; i < size; i++) cloned[i] = klass == 'String' | |
| 9959 | + ? this.charAt(start + i) | |
| 9960 | + : this[start + i]; | |
| 9961 | + return cloned; | |
| 9962 | + } | |
| 9963 | +}); | |
| 9964 | + | |
| 9965 | + | |
| 9966 | +/***/ }), | |
| 9967 | + | |
| 9968 | +/***/ "../node_modules/core-js/modules/es6.function.name.js": | |
| 9969 | +/*!************************************************************!*\ | |
| 9970 | + !*** ../node_modules/core-js/modules/es6.function.name.js ***! | |
| 9971 | + \************************************************************/ | |
| 9972 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9973 | + | |
| 9974 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js").f; | |
| 9975 | +var FProto = Function.prototype; | |
| 9976 | +var nameRE = /^\s*function ([^ (]*)/; | |
| 9977 | +var NAME = 'name'; | |
| 9978 | + | |
| 9979 | +// 19.2.4.2 name | |
| 9980 | +NAME in FProto || __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") && dP(FProto, NAME, { | |
| 9981 | + configurable: true, | |
| 9982 | + get: function () { | |
| 9983 | + try { | |
| 9984 | + return ('' + this).match(nameRE)[1]; | |
| 9985 | + } catch (e) { | |
| 9986 | + return ''; | |
| 9987 | + } | |
| 9988 | + } | |
| 9989 | +}); | |
| 9990 | + | |
| 9991 | + | |
| 9992 | +/***/ }), | |
| 9993 | + | |
| 9994 | +/***/ "../node_modules/core-js/modules/es6.object.to-string.js": | |
| 9995 | +/*!***************************************************************!*\ | |
| 9996 | + !*** ../node_modules/core-js/modules/es6.object.to-string.js ***! | |
| 9997 | + \***************************************************************/ | |
| 9998 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9999 | + | |
| 10000 | +"use strict"; | |
| 10001 | + | |
| 10002 | +// 19.1.3.6 Object.prototype.toString() | |
| 10003 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/modules/_classof.js"); | |
| 10004 | +var test = {}; | |
| 10005 | +test[__webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag')] = 'z'; | |
| 10006 | +if (test + '' != '[object z]') { | |
| 10007 | + __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js")(Object.prototype, 'toString', function toString() { | |
| 10008 | + return '[object ' + classof(this) + ']'; | |
| 10009 | + }, true); | |
| 3338 | 10010 | } |
| 3339 | -module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3340 | 10011 | |
| 10012 | + | |
| 3341 | 10013 | /***/ }), |
| 3342 | 10014 | |
| 3343 | -/***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": | |
| 3344 | -/*!****************************************************************************!*\ | |
| 3345 | - !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! | |
| 3346 | - \****************************************************************************/ | |
| 3347 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10015 | +/***/ "../node_modules/core-js/modules/es6.regexp.exec.js": | |
| 10016 | +/*!**********************************************************!*\ | |
| 10017 | + !*** ../node_modules/core-js/modules/es6.regexp.exec.js ***! | |
| 10018 | + \**********************************************************/ | |
| 10019 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3348 | 10020 | |
| 3349 | -var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); | |
| 3350 | -function _unsupportedIterableToArray(r, a) { | |
| 3351 | - if (r) { | |
| 3352 | - if ("string" == typeof r) return arrayLikeToArray(r, a); | |
| 3353 | - var t = {}.toString.call(r).slice(8, -1); | |
| 3354 | - 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; | |
| 10021 | +"use strict"; | |
| 10022 | + | |
| 10023 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 10024 | +__webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js")({ | |
| 10025 | + target: 'RegExp', | |
| 10026 | + proto: true, | |
| 10027 | + forced: regexpExec !== /./.exec | |
| 10028 | +}, { | |
| 10029 | + exec: regexpExec | |
| 10030 | +}); | |
| 10031 | + | |
| 10032 | + | |
| 10033 | +/***/ }), | |
| 10034 | + | |
| 10035 | +/***/ "../node_modules/core-js/modules/es6.regexp.flags.js": | |
| 10036 | +/*!***********************************************************!*\ | |
| 10037 | + !*** ../node_modules/core-js/modules/es6.regexp.flags.js ***! | |
| 10038 | + \***********************************************************/ | |
| 10039 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 10040 | + | |
| 10041 | +// 21.2.5.3 get RegExp.prototype.flags() | |
| 10042 | +if (__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") && /./g.flags != 'g') __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js").f(RegExp.prototype, 'flags', { | |
| 10043 | + configurable: true, | |
| 10044 | + get: __webpack_require__(/*! ./_flags */ "../node_modules/core-js/modules/_flags.js") | |
| 10045 | +}); | |
| 10046 | + | |
| 10047 | + | |
| 10048 | +/***/ }), | |
| 10049 | + | |
| 10050 | +/***/ "../node_modules/core-js/modules/es6.regexp.replace.js": | |
| 10051 | +/*!*************************************************************!*\ | |
| 10052 | + !*** ../node_modules/core-js/modules/es6.regexp.replace.js ***! | |
| 10053 | + \*************************************************************/ | |
| 10054 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 10055 | + | |
| 10056 | +"use strict"; | |
| 10057 | + | |
| 10058 | + | |
| 10059 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 10060 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 10061 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 10062 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 10063 | +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "../node_modules/core-js/modules/_advance-string-index.js"); | |
| 10064 | +var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "../node_modules/core-js/modules/_regexp-exec-abstract.js"); | |
| 10065 | +var max = Math.max; | |
| 10066 | +var min = Math.min; | |
| 10067 | +var floor = Math.floor; | |
| 10068 | +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; | |
| 10069 | +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; | |
| 10070 | + | |
| 10071 | +var maybeToString = function (it) { | |
| 10072 | + return it === undefined ? it : String(it); | |
| 10073 | +}; | |
| 10074 | + | |
| 10075 | +// @@replace logic | |
| 10076 | +__webpack_require__(/*! ./_fix-re-wks */ "../node_modules/core-js/modules/_fix-re-wks.js")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { | |
| 10077 | + return [ | |
| 10078 | + // `String.prototype.replace` method | |
| 10079 | + // https://tc39.github.io/ecma262/#sec-string.prototype.replace | |
| 10080 | + function replace(searchValue, replaceValue) { | |
| 10081 | + var O = defined(this); | |
| 10082 | + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; | |
| 10083 | + return fn !== undefined | |
| 10084 | + ? fn.call(searchValue, O, replaceValue) | |
| 10085 | + : $replace.call(String(O), searchValue, replaceValue); | |
| 10086 | + }, | |
| 10087 | + // `RegExp.prototype[@@replace]` method | |
| 10088 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace | |
| 10089 | + function (regexp, replaceValue) { | |
| 10090 | + var res = maybeCallNative($replace, regexp, this, replaceValue); | |
| 10091 | + if (res.done) return res.value; | |
| 10092 | + | |
| 10093 | + var rx = anObject(regexp); | |
| 10094 | + var S = String(this); | |
| 10095 | + var functionalReplace = typeof replaceValue === 'function'; | |
| 10096 | + if (!functionalReplace) replaceValue = String(replaceValue); | |
| 10097 | + var global = rx.global; | |
| 10098 | + if (global) { | |
| 10099 | + var fullUnicode = rx.unicode; | |
| 10100 | + rx.lastIndex = 0; | |
| 10101 | + } | |
| 10102 | + var results = []; | |
| 10103 | + while (true) { | |
| 10104 | + var result = regExpExec(rx, S); | |
| 10105 | + if (result === null) break; | |
| 10106 | + results.push(result); | |
| 10107 | + if (!global) break; | |
| 10108 | + var matchStr = String(result[0]); | |
| 10109 | + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); | |
| 10110 | + } | |
| 10111 | + var accumulatedResult = ''; | |
| 10112 | + var nextSourcePosition = 0; | |
| 10113 | + for (var i = 0; i < results.length; i++) { | |
| 10114 | + result = results[i]; | |
| 10115 | + var matched = String(result[0]); | |
| 10116 | + var position = max(min(toInteger(result.index), S.length), 0); | |
| 10117 | + var captures = []; | |
| 10118 | + // NOTE: This is equivalent to | |
| 10119 | + // captures = result.slice(1).map(maybeToString) | |
| 10120 | + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in | |
| 10121 | + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and | |
| 10122 | + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. | |
| 10123 | + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); | |
| 10124 | + var namedCaptures = result.groups; | |
| 10125 | + if (functionalReplace) { | |
| 10126 | + var replacerArgs = [matched].concat(captures, position, S); | |
| 10127 | + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); | |
| 10128 | + var replacement = String(replaceValue.apply(undefined, replacerArgs)); | |
| 10129 | + } else { | |
| 10130 | + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); | |
| 10131 | + } | |
| 10132 | + if (position >= nextSourcePosition) { | |
| 10133 | + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; | |
| 10134 | + nextSourcePosition = position + matched.length; | |
| 10135 | + } | |
| 10136 | + } | |
| 10137 | + return accumulatedResult + S.slice(nextSourcePosition); | |
| 10138 | + } | |
| 10139 | + ]; | |
| 10140 | + | |
| 10141 | + // https://tc39.github.io/ecma262/#sec-getsubstitution | |
| 10142 | + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { | |
| 10143 | + var tailPos = position + matched.length; | |
| 10144 | + var m = captures.length; | |
| 10145 | + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; | |
| 10146 | + if (namedCaptures !== undefined) { | |
| 10147 | + namedCaptures = toObject(namedCaptures); | |
| 10148 | + symbols = SUBSTITUTION_SYMBOLS; | |
| 10149 | + } | |
| 10150 | + return $replace.call(replacement, symbols, function (match, ch) { | |
| 10151 | + var capture; | |
| 10152 | + switch (ch.charAt(0)) { | |
| 10153 | + case '$': return '$'; | |
| 10154 | + case '&': return matched; | |
| 10155 | + case '`': return str.slice(0, position); | |
| 10156 | + case "'": return str.slice(tailPos); | |
| 10157 | + case '<': | |
| 10158 | + capture = namedCaptures[ch.slice(1, -1)]; | |
| 10159 | + break; | |
| 10160 | + default: // \d\d? | |
| 10161 | + var n = +ch; | |
| 10162 | + if (n === 0) return match; | |
| 10163 | + if (n > m) { | |
| 10164 | + var f = floor(n / 10); | |
| 10165 | + if (f === 0) return match; | |
| 10166 | + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); | |
| 10167 | + return match; | |
| 10168 | + } | |
| 10169 | + capture = captures[n - 1]; | |
| 10170 | + } | |
| 10171 | + return capture === undefined ? '' : capture; | |
| 10172 | + }); | |
| 3355 | 10173 | } |
| 10174 | +}); | |
| 10175 | + | |
| 10176 | + | |
| 10177 | +/***/ }), | |
| 10178 | + | |
| 10179 | +/***/ "../node_modules/core-js/modules/es6.regexp.split.js": | |
| 10180 | +/*!***********************************************************!*\ | |
| 10181 | + !*** ../node_modules/core-js/modules/es6.regexp.split.js ***! | |
| 10182 | + \***********************************************************/ | |
| 10183 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 10184 | + | |
| 10185 | +"use strict"; | |
| 10186 | + | |
| 10187 | + | |
| 10188 | +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "../node_modules/core-js/modules/_is-regexp.js"); | |
| 10189 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 10190 | +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "../node_modules/core-js/modules/_species-constructor.js"); | |
| 10191 | +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "../node_modules/core-js/modules/_advance-string-index.js"); | |
| 10192 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 10193 | +var callRegExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "../node_modules/core-js/modules/_regexp-exec-abstract.js"); | |
| 10194 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 10195 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 10196 | +var $min = Math.min; | |
| 10197 | +var $push = [].push; | |
| 10198 | +var $SPLIT = 'split'; | |
| 10199 | +var LENGTH = 'length'; | |
| 10200 | +var LAST_INDEX = 'lastIndex'; | |
| 10201 | +var MAX_UINT32 = 0xffffffff; | |
| 10202 | + | |
| 10203 | +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError | |
| 10204 | +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); | |
| 10205 | + | |
| 10206 | +// @@split logic | |
| 10207 | +__webpack_require__(/*! ./_fix-re-wks */ "../node_modules/core-js/modules/_fix-re-wks.js")('split', 2, function (defined, SPLIT, $split, maybeCallNative) { | |
| 10208 | + var internalSplit; | |
| 10209 | + if ( | |
| 10210 | + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || | |
| 10211 | + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || | |
| 10212 | + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || | |
| 10213 | + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || | |
| 10214 | + '.'[$SPLIT](/()()/)[LENGTH] > 1 || | |
| 10215 | + ''[$SPLIT](/.?/)[LENGTH] | |
| 10216 | + ) { | |
| 10217 | + // based on es5-shim implementation, need to rework it | |
| 10218 | + internalSplit = function (separator, limit) { | |
| 10219 | + var string = String(this); | |
| 10220 | + if (separator === undefined && limit === 0) return []; | |
| 10221 | + // If `separator` is not a regex, use native split | |
| 10222 | + if (!isRegExp(separator)) return $split.call(string, separator, limit); | |
| 10223 | + var output = []; | |
| 10224 | + var flags = (separator.ignoreCase ? 'i' : '') + | |
| 10225 | + (separator.multiline ? 'm' : '') + | |
| 10226 | + (separator.unicode ? 'u' : '') + | |
| 10227 | + (separator.sticky ? 'y' : ''); | |
| 10228 | + var lastLastIndex = 0; | |
| 10229 | + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 10230 | + // Make `global` and avoid `lastIndex` issues by working with a copy | |
| 10231 | + var separatorCopy = new RegExp(separator.source, flags + 'g'); | |
| 10232 | + var match, lastIndex, lastLength; | |
| 10233 | + while (match = regexpExec.call(separatorCopy, string)) { | |
| 10234 | + lastIndex = separatorCopy[LAST_INDEX]; | |
| 10235 | + if (lastIndex > lastLastIndex) { | |
| 10236 | + output.push(string.slice(lastLastIndex, match.index)); | |
| 10237 | + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); | |
| 10238 | + lastLength = match[0][LENGTH]; | |
| 10239 | + lastLastIndex = lastIndex; | |
| 10240 | + if (output[LENGTH] >= splitLimit) break; | |
| 10241 | + } | |
| 10242 | + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop | |
| 10243 | + } | |
| 10244 | + if (lastLastIndex === string[LENGTH]) { | |
| 10245 | + if (lastLength || !separatorCopy.test('')) output.push(''); | |
| 10246 | + } else output.push(string.slice(lastLastIndex)); | |
| 10247 | + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; | |
| 10248 | + }; | |
| 10249 | + // Chakra, V8 | |
| 10250 | + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { | |
| 10251 | + internalSplit = function (separator, limit) { | |
| 10252 | + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); | |
| 10253 | + }; | |
| 10254 | + } else { | |
| 10255 | + internalSplit = $split; | |
| 10256 | + } | |
| 10257 | + | |
| 10258 | + return [ | |
| 10259 | + // `String.prototype.split` method | |
| 10260 | + // https://tc39.github.io/ecma262/#sec-string.prototype.split | |
| 10261 | + function split(separator, limit) { | |
| 10262 | + var O = defined(this); | |
| 10263 | + var splitter = separator == undefined ? undefined : separator[SPLIT]; | |
| 10264 | + return splitter !== undefined | |
| 10265 | + ? splitter.call(separator, O, limit) | |
| 10266 | + : internalSplit.call(String(O), separator, limit); | |
| 10267 | + }, | |
| 10268 | + // `RegExp.prototype[@@split]` method | |
| 10269 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split | |
| 10270 | + // | |
| 10271 | + // NOTE: This cannot be properly polyfilled in engines that don't support | |
| 10272 | + // the 'y' flag. | |
| 10273 | + function (regexp, limit) { | |
| 10274 | + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); | |
| 10275 | + if (res.done) return res.value; | |
| 10276 | + | |
| 10277 | + var rx = anObject(regexp); | |
| 10278 | + var S = String(this); | |
| 10279 | + var C = speciesConstructor(rx, RegExp); | |
| 10280 | + | |
| 10281 | + var unicodeMatching = rx.unicode; | |
| 10282 | + var flags = (rx.ignoreCase ? 'i' : '') + | |
| 10283 | + (rx.multiline ? 'm' : '') + | |
| 10284 | + (rx.unicode ? 'u' : '') + | |
| 10285 | + (SUPPORTS_Y ? 'y' : 'g'); | |
| 10286 | + | |
| 10287 | + // ^(? + rx + ) is needed, in combination with some S slicing, to | |
| 10288 | + // simulate the 'y' flag. | |
| 10289 | + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); | |
| 10290 | + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 10291 | + if (lim === 0) return []; | |
| 10292 | + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; | |
| 10293 | + var p = 0; | |
| 10294 | + var q = 0; | |
| 10295 | + var A = []; | |
| 10296 | + while (q < S.length) { | |
| 10297 | + splitter.lastIndex = SUPPORTS_Y ? q : 0; | |
| 10298 | + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); | |
| 10299 | + var e; | |
| 10300 | + if ( | |
| 10301 | + z === null || | |
| 10302 | + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p | |
| 10303 | + ) { | |
| 10304 | + q = advanceStringIndex(S, q, unicodeMatching); | |
| 10305 | + } else { | |
| 10306 | + A.push(S.slice(p, q)); | |
| 10307 | + if (A.length === lim) return A; | |
| 10308 | + for (var i = 1; i <= z.length - 1; i++) { | |
| 10309 | + A.push(z[i]); | |
| 10310 | + if (A.length === lim) return A; | |
| 10311 | + } | |
| 10312 | + q = p = e; | |
| 10313 | + } | |
| 10314 | + } | |
| 10315 | + A.push(S.slice(p)); | |
| 10316 | + return A; | |
| 10317 | + } | |
| 10318 | + ]; | |
| 10319 | +}); | |
| 10320 | + | |
| 10321 | + | |
| 10322 | +/***/ }), | |
| 10323 | + | |
| 10324 | +/***/ "../node_modules/core-js/modules/es6.regexp.to-string.js": | |
| 10325 | +/*!***************************************************************!*\ | |
| 10326 | + !*** ../node_modules/core-js/modules/es6.regexp.to-string.js ***! | |
| 10327 | + \***************************************************************/ | |
| 10328 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 10329 | + | |
| 10330 | +"use strict"; | |
| 10331 | + | |
| 10332 | +__webpack_require__(/*! ./es6.regexp.flags */ "../node_modules/core-js/modules/es6.regexp.flags.js"); | |
| 10333 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 10334 | +var $flags = __webpack_require__(/*! ./_flags */ "../node_modules/core-js/modules/_flags.js"); | |
| 10335 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js"); | |
| 10336 | +var TO_STRING = 'toString'; | |
| 10337 | +var $toString = /./[TO_STRING]; | |
| 10338 | + | |
| 10339 | +var define = function (fn) { | |
| 10340 | + __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js")(RegExp.prototype, TO_STRING, fn, true); | |
| 10341 | +}; | |
| 10342 | + | |
| 10343 | +// 21.2.5.14 RegExp.prototype.toString() | |
| 10344 | +if (__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { | |
| 10345 | + define(function toString() { | |
| 10346 | + var R = anObject(this); | |
| 10347 | + return '/'.concat(R.source, '/', | |
| 10348 | + 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); | |
| 10349 | + }); | |
| 10350 | +// FF44- RegExp#toString has a wrong name | |
| 10351 | +} else if ($toString.name != TO_STRING) { | |
| 10352 | + define(function toString() { | |
| 10353 | + return $toString.call(this); | |
| 10354 | + }); | |
| 3356 | 10355 | } |
| 3357 | -module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3358 | 10356 | |
| 10357 | + | |
| 3359 | 10358 | /***/ }), |
| 3360 | 10359 | |
| 3361 | -/***/ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js": | |
| 10360 | +/***/ "../node_modules/core-js/modules/es6.string.includes.js": | |
| 10361 | +/*!**************************************************************!*\ | |
| 10362 | + !*** ../node_modules/core-js/modules/es6.string.includes.js ***! | |
| 10363 | + \**************************************************************/ | |
| 10364 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 10365 | + | |
| 10366 | +"use strict"; | |
| 10367 | +// 21.1.3.7 String.prototype.includes(searchString, position = 0) | |
| 10368 | + | |
| 10369 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 10370 | +var context = __webpack_require__(/*! ./_string-context */ "../node_modules/core-js/modules/_string-context.js"); | |
| 10371 | +var INCLUDES = 'includes'; | |
| 10372 | + | |
| 10373 | +$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "../node_modules/core-js/modules/_fails-is-regexp.js")(INCLUDES), 'String', { | |
| 10374 | + includes: function includes(searchString /* , position = 0 */) { | |
| 10375 | + return !!~context(this, searchString, INCLUDES) | |
| 10376 | + .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); | |
| 10377 | + } | |
| 10378 | +}); | |
| 10379 | + | |
| 10380 | + | |
| 10381 | +/***/ }), | |
| 10382 | + | |
| 10383 | +/***/ "../node_modules/core-js/modules/es6.string.starts-with.js": | |
| 3362 | 10384 | /*!*****************************************************************!*\ |
| 3363 | - !*** ../node_modules/@babel/runtime/helpers/wrapNativeSuper.js ***! | |
| 10385 | + !*** ../node_modules/core-js/modules/es6.string.starts-with.js ***! | |
| 3364 | 10386 | \*****************************************************************/ |
| 3365 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10387 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 3366 | 10388 | |
| 3367 | -var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); | |
| 3368 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 3369 | -var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../node_modules/@babel/runtime/helpers/isNativeFunction.js"); | |
| 3370 | -var construct = __webpack_require__(/*! ./construct.js */ "../node_modules/@babel/runtime/helpers/construct.js"); | |
| 3371 | -function _wrapNativeSuper(t) { | |
| 3372 | - var r = "function" == typeof Map ? new Map() : void 0; | |
| 3373 | - return module.exports = _wrapNativeSuper = function _wrapNativeSuper(t) { | |
| 3374 | - if (null === t || !isNativeFunction(t)) return t; | |
| 3375 | - if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); | |
| 3376 | - if (void 0 !== r) { | |
| 3377 | - if (r.has(t)) return r.get(t); | |
| 3378 | - r.set(t, Wrapper); | |
| 10389 | +"use strict"; | |
| 10390 | +// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) | |
| 10391 | + | |
| 10392 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 10393 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 10394 | +var context = __webpack_require__(/*! ./_string-context */ "../node_modules/core-js/modules/_string-context.js"); | |
| 10395 | +var STARTS_WITH = 'startsWith'; | |
| 10396 | +var $startsWith = ''[STARTS_WITH]; | |
| 10397 | + | |
| 10398 | +$export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "../node_modules/core-js/modules/_fails-is-regexp.js")(STARTS_WITH), 'String', { | |
| 10399 | + startsWith: function startsWith(searchString /* , position = 0 */) { | |
| 10400 | + var that = context(this, searchString, STARTS_WITH); | |
| 10401 | + var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); | |
| 10402 | + var search = String(searchString); | |
| 10403 | + return $startsWith | |
| 10404 | + ? $startsWith.call(that, search, index) | |
| 10405 | + : that.slice(index, index + search.length) === search; | |
| 10406 | + } | |
| 10407 | +}); | |
| 10408 | + | |
| 10409 | + | |
| 10410 | +/***/ }), | |
| 10411 | + | |
| 10412 | +/***/ "../node_modules/core-js/modules/es7.array.includes.js": | |
| 10413 | +/*!*************************************************************!*\ | |
| 10414 | + !*** ../node_modules/core-js/modules/es7.array.includes.js ***! | |
| 10415 | + \*************************************************************/ | |
| 10416 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 10417 | + | |
| 10418 | +"use strict"; | |
| 10419 | + | |
| 10420 | +// https://github.com/tc39/Array.prototype.includes | |
| 10421 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 10422 | +var $includes = __webpack_require__(/*! ./_array-includes */ "../node_modules/core-js/modules/_array-includes.js")(true); | |
| 10423 | + | |
| 10424 | +$export($export.P, 'Array', { | |
| 10425 | + includes: function includes(el /* , fromIndex = 0 */) { | |
| 10426 | + return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); | |
| 10427 | + } | |
| 10428 | +}); | |
| 10429 | + | |
| 10430 | +__webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/modules/_add-to-unscopables.js")('includes'); | |
| 10431 | + | |
| 10432 | + | |
| 10433 | +/***/ }), | |
| 10434 | + | |
| 10435 | +/***/ "../node_modules/immer/dist/immer.esm.js": | |
| 10436 | +/*!***********************************************!*\ | |
| 10437 | + !*** ../node_modules/immer/dist/immer.esm.js ***! | |
| 10438 | + \***********************************************/ | |
| 10439 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 10440 | + | |
| 10441 | +"use strict"; | |
| 10442 | +__webpack_require__.r(__webpack_exports__); | |
| 10443 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 10444 | +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), | |
| 10445 | +/* harmony export */ "Immer": () => (/* binding */ un), | |
| 10446 | +/* harmony export */ "applyPatches": () => (/* binding */ pn), | |
| 10447 | +/* harmony export */ "castDraft": () => (/* binding */ K), | |
| 10448 | +/* harmony export */ "castImmutable": () => (/* binding */ $), | |
| 10449 | +/* harmony export */ "createDraft": () => (/* binding */ ln), | |
| 10450 | +/* harmony export */ "current": () => (/* binding */ D), | |
| 10451 | +/* harmony export */ "enableAllPlugins": () => (/* binding */ J), | |
| 10452 | +/* harmony export */ "enableES5": () => (/* binding */ N), | |
| 10453 | +/* harmony export */ "enableMapSet": () => (/* binding */ C), | |
| 10454 | +/* harmony export */ "enablePatches": () => (/* binding */ T), | |
| 10455 | +/* harmony export */ "finishDraft": () => (/* binding */ dn), | |
| 10456 | +/* harmony export */ "freeze": () => (/* binding */ d), | |
| 10457 | +/* harmony export */ "immerable": () => (/* binding */ L), | |
| 10458 | +/* harmony export */ "isDraft": () => (/* binding */ t), | |
| 10459 | +/* harmony export */ "isDraftable": () => (/* binding */ r), | |
| 10460 | +/* harmony export */ "nothing": () => (/* binding */ H), | |
| 10461 | +/* harmony export */ "original": () => (/* binding */ e), | |
| 10462 | +/* harmony export */ "produce": () => (/* binding */ fn), | |
| 10463 | +/* harmony export */ "produceWithPatches": () => (/* binding */ cn), | |
| 10464 | +/* harmony export */ "setAutoFreeze": () => (/* binding */ sn), | |
| 10465 | +/* harmony export */ "setUseProxies": () => (/* binding */ vn) | |
| 10466 | +/* harmony export */ }); | |
| 10467 | +function n(n){for(var t=arguments.length,r=Array(t>1?t-1:0),e=1;e<t;e++)r[e-1]=arguments[e];if(true){var i=Y[n],o=i?"function"==typeof i?i.apply(null,r):i:"unknown error nr: "+n;throw Error("[Immer] "+o)}throw Error("[Immer] minified error nr: "+n+(r.length?" "+r.map((function(n){return"'"+n+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function t(n){return!!n&&!!n[Q]}function r(n){return!!n&&(function(n){if(!n||"object"!=typeof n)return!1;var t=Object.getPrototypeOf(n);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Z}(n)||Array.isArray(n)||!!n[L]||!!n.constructor[L]||s(n)||v(n))}function e(r){return t(r)||n(23,r),r[Q].t}function i(n,t,r){void 0===r&&(r=!1),0===o(n)?(r?Object.keys:nn)(n).forEach((function(e){r&&"symbol"==typeof e||t(e,n[e],n)})):n.forEach((function(r,e){return t(e,r,n)}))}function o(n){var t=n[Q];return t?t.i>3?t.i-4:t.i:Array.isArray(n)?1:s(n)?2:v(n)?3:0}function u(n,t){return 2===o(n)?n.has(t):Object.prototype.hasOwnProperty.call(n,t)}function a(n,t){return 2===o(n)?n.get(t):n[t]}function f(n,t,r){var e=o(n);2===e?n.set(t,r):3===e?(n.delete(t),n.add(r)):n[t]=r}function c(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}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 t=tn(n);delete t[Q];for(var r=nn(t),e=0;e<r.length;e++){var i=r[e],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:n[i]})}return Object.create(Object.getPrototypeOf(n),t)}function d(n,e){return void 0===e&&(e=!1),y(n)||t(n)||!r(n)?n:(o(n)>1&&(n.set=n.add=n.clear=n.delete=h),Object.freeze(n),e&&i(n,(function(n,t){return d(t,!0)}),!0),n)}function h(){n(2)}function y(n){return null==n||"object"!=typeof n||Object.isFrozen(n)}function b(t){var r=rn[t];return r||n(18,t),r}function m(n,t){rn[n]||(rn[n]=t)}function _(){return false||U||n(0),U}function j(n,t){t&&(b("Patches"),n.u=[],n.s=[],n.v=t)}function O(n){g(n),n.p.forEach(S),n.p=null}function g(n){n===U&&(U=n.l)}function w(n){return U={p:[],l:U,h:n,m:!0,_:0}}function S(n){var t=n[Q];0===t.i||1===t.i?t.j():t.O=!0}function P(t,e){e._=e.p.length;var i=e.p[0],o=void 0!==t&&t!==i;return e.h.g||b("ES5").S(e,t,o),o?(i[Q].P&&(O(e),n(4)),r(t)&&(t=M(e,t),e.l||x(e,t)),e.u&&b("Patches").M(i[Q],t,e.u,e.s)):t=M(e,i,[]),O(e),e.u&&e.v(e.u,e.s),t!==H?t:void 0}function M(n,t,r){if(y(t))return t;var e=t[Q];if(!e)return i(t,(function(i,o){return A(n,e,t,i,o,r)}),!0),t;if(e.A!==n)return t;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;i(3===e.i?new Set(o):o,(function(t,i){return A(n,e,o,t,i,r)})),x(n,o,!1),r&&n.u&&b("Patches").R(e,r,n.u,n.s)}return e.o}function A(e,i,o,a,c,s){if( true&&c===o&&n(5),t(c)){var v=M(e,c,s&&i&&3!==i.i&&!u(i.D,a)?s.concat(a):void 0);if(f(o,a,v),!t(v))return;e.m=!1}if(r(c)&&!y(c)){if(!e.h.F&&e._<1)return;M(e,c),i&&i.A.l||x(e,c)}}function x(n,t,r){void 0===r&&(r=!1),n.h.F&&n.m&&d(t,r)}function z(n,t){var r=n[Q];return(r?p(r):n)[t]}function I(n,t){if(t in n)for(var r=Object.getPrototypeOf(n);r;){var e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=Object.getPrototypeOf(r)}}function k(n){n.P||(n.P=!0,n.l&&k(n.l))}function E(n){n.o||(n.o=l(n.t))}function R(n,t,r){var e=s(t)?b("MapSet").N(t,r):v(t)?b("MapSet").T(t,r):n.g?function(n,t){var r=Array.isArray(n),e={i:r?1:0,A:t?t.A:_(),P:!1,I:!1,D:{},l:t,t:n,k:null,o:null,j:null,C:!1},i=e,o=en;r&&(i=[e],o=on);var u=Proxy.revocable(i,o),a=u.revoke,f=u.proxy;return e.k=f,e.j=a,f}(t,r):b("ES5").J(t,r);return(r?r.A:_()).p.push(e),e}function D(e){return t(e)||n(22,e),function n(t){if(!r(t))return t;var e,u=t[Q],c=o(t);if(u){if(!u.P&&(u.i<4||!b("ES5").K(u)))return u.t;u.I=!0,e=F(t,c),u.I=!1}else e=F(t,c);return i(e,(function(t,r){u&&a(u.t,t)===r||f(e,t,n(r))})),3===c?new Set(e):e}(e)}function F(n,t){switch(t){case 2:return new Map(n);case 3:return Array.from(n)}return l(n)}function N(){function r(n,t){var r=s[n];return r?r.enumerable=t:s[n]=r={configurable:!0,enumerable:t,get:function(){var t=this[Q];return true&&f(t),en.get(t,n)},set:function(t){var r=this[Q]; true&&f(r),en.set(r,n,t)}},r}function e(n){for(var t=n.length-1;t>=0;t--){var r=n[t][Q];if(!r.P)switch(r.i){case 5:a(r)&&k(r);break;case 4:o(r)&&k(r)}}}function o(n){for(var t=n.t,r=n.k,e=nn(r),i=e.length-1;i>=0;i--){var o=e[i];if(o!==Q){var a=t[o];if(void 0===a&&!u(t,o))return!0;var f=r[o],s=f&&f[Q];if(s?s.t!==a:!c(f,a))return!0}}var v=!!t[Q];return e.length!==nn(t).length+(v?0:1)}function a(n){var t=n.k;if(t.length!==n.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!r||r.get)}function f(t){t.O&&n(3,JSON.stringify(p(t)))}var s={};m("ES5",{J:function(n,t){var e=Array.isArray(n),i=function(n,t){if(n){for(var e=Array(t.length),i=0;i<t.length;i++)Object.defineProperty(e,""+i,r(i,!0));return e}var o=tn(t);delete o[Q];for(var u=nn(o),a=0;a<u.length;a++){var f=u[a];o[f]=r(f,n||!!o[f].enumerable)}return Object.create(Object.getPrototypeOf(t),o)}(e,n),o={i:e?5:4,A:t?t.A:_(),P:!1,I:!1,D:{},l:t,t:n,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,Q,{value:o,writable:!0}),i},S:function(n,r,o){o?t(r)&&r[Q].A===n&&e(n.p):(n.u&&function n(t){if(t&&"object"==typeof t){var r=t[Q];if(r){var e=r.t,o=r.k,f=r.D,c=r.i;if(4===c)i(o,(function(t){t!==Q&&(void 0!==e[t]||u(e,t)?f[t]||n(o[t]):(f[t]=!0,k(r)))})),i(e,(function(n){void 0!==o[n]||u(o,n)||(f[n]=!1,k(r))}));else if(5===c){if(a(r)&&(k(r),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++)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(!r(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 t=Object.create(Object.getPrototypeOf(n));for(var i in n)t[i]=e(n[i]);return u(n,L)&&(t[L]=n[L]),t}function f(n){return t(n)?e(n):n}var c="add";m("Patches",{$:function(t,r){return r.forEach((function(r){for(var i=r.path,u=r.op,f=t,s=0;s<i.length-1;s++){var v=o(f),p=""+i[s];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(r.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(r.value);default:return delete f[h]}default:n(17,u)}})),t},R:function(n,t,r,e){switch(n.i){case 0:case 4:case 2:return function(n,t,r,e){var o=n.t,s=n.o;i(n.D,(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=t.concat(n);r.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,t,r,e);case 5:case 1:return function(n,t,r,e){var i=n.t,o=n.D,u=n.o;if(u.length<i.length){var a=[u,i];i=a[0],u=a[1];var s=[e,r];r=s[0],e=s[1]}for(var v=0;v<i.length;v++)if(o[v]&&u[v]!==i[v]){var p=t.concat([v]);r.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=t.concat([l]);r.push({op:c,path:d,value:f(u[l])})}i.length<u.length&&e.push({op:"replace",path:t.concat(["length"]),value:i.length})}(n,t,r,e);case 3:return function(n,t,r,e){var i=n.t,o=n.o,u=0;i.forEach((function(n){if(!o.has(n)){var i=t.concat([u]);r.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=t.concat([u]);r.push({op:c,path:o,value:n}),e.unshift({op:"remove",path:o,value:n})}u++}))}(n,t,r,e)}},M:function(n,t,r,e){r.push({op:"replace",path:[],value:t===H?void 0:t}),e.push({op:"replace",path:[],value:n.t})}})}function C(){function t(n,t){function r(){this.constructor=n}a(n,t),n.prototype=(r.prototype=t.prototype,new r)}function e(n){n.o||(n.D=new Map,n.o=new Map(n.t))}function o(n){n.o||(n.o=new Set,n.t.forEach((function(t){if(r(t)){var e=R(n.A.h,t,n);n.p.set(t,e),n.o.add(e)}else n.o.add(t)})))}function u(t){t.O&&n(3,JSON.stringify(p(t)))}var a=function(n,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)},f=function(){function n(n,t){return this[Q]={i:2,l:t,A:t?t.A:_(),P:!1,I:!1,o:void 0,D:void 0,t:n,k:this,C:!1,O:!1},this}t(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,t){var r=this[Q];return u(r),p(r).has(n)&&p(r).get(n)===t||(e(r),k(r),r.D.set(n,!0),r.o.set(n,t),r.D.set(n,!0)),this},o.delete=function(n){if(!this.has(n))return!1;var t=this[Q];return u(t),e(t),k(t),t.D.set(n,!1),t.o.delete(n),!0},o.clear=function(){var n=this[Q];u(n),p(n).size&&(e(n),k(n),n.D=new Map,i(n.t,(function(t){n.D.set(t,!1)})),n.o.clear())},o.forEach=function(n,t){var r=this;p(this[Q]).forEach((function(e,i){n.call(t,r.get(i),i,r)}))},o.get=function(n){var t=this[Q];u(t);var i=p(t).get(n);if(t.I||!r(i))return i;if(i!==t.t.get(n))return i;var o=R(t.A.h,i,t);return e(t),t.o.set(n,o),o},o.keys=function(){return p(this[Q]).keys()},o.values=function(){var n,t=this,r=this.keys();return(n={})[V]=function(){return t.values()},n.next=function(){var n=r.next();return n.done?n:{done:!1,value:t.get(n.value)}},n},o.entries=function(){var n,t=this,r=this.keys();return(n={})[V]=function(){return t.entries()},n.next=function(){var n=r.next();if(n.done)return n;var e=t.get(n.value);return{done:!1,value:[n.value,e]}},n},o[V]=function(){return this.entries()},n}(),c=function(){function n(n,t){return this[Q]={i:3,l:t,A:t?t.A:_(),P:!1,I:!1,o:void 0,t:n,k:this,p:new Map,O:!1,C:!1},this}t(n,Set);var r=n.prototype;return Object.defineProperty(r,"size",{get:function(){return p(this[Q]).size}}),r.has=function(n){var t=this[Q];return u(t),t.o?!!t.o.has(n)||!(!t.p.has(n)||!t.o.has(t.p.get(n))):t.t.has(n)},r.add=function(n){var t=this[Q];return u(t),this.has(n)||(o(t),k(t),t.o.add(n)),this},r.delete=function(n){if(!this.has(n))return!1;var t=this[Q];return u(t),o(t),k(t),t.o.delete(n)||!!t.p.has(n)&&t.o.delete(t.p.get(n))},r.clear=function(){var n=this[Q];u(n),p(n).size&&(o(n),k(n),n.o.clear())},r.values=function(){var n=this[Q];return u(n),o(n),n.o.values()},r.entries=function(){var n=this[Q];return u(n),o(n),n.o.entries()},r.keys=function(){return this.values()},r[V]=function(){return this.values()},r.forEach=function(n,t){for(var r=this.values(),e=r.next();!e.done;)n.call(t,e.value,e.value,this),e=r.next()},n}();m("MapSet",{N:function(n,t){return new f(n,t)},T:function(n,t){return new c(n,t)}})}function J(){N(),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,tn=Object.getOwnPropertyDescriptors||function(n){var t={};return nn(n).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(n,r)})),t},rn={},en={get:function(n,t){if(t===Q)return n;var e=p(n);if(!u(e,t))return function(n,t,r){var e,i=I(t,r);return i?"value"in i?i.value:null===(e=i.get)||void 0===e?void 0:e.call(n.k):void 0}(n,e,t);var i=e[t];return n.I||!r(i)?i:i===z(n.t,t)?(E(n),n.o[t]=R(n.A.h,i,n)):i},has:function(n,t){return t in p(n)},ownKeys:function(n){return Reflect.ownKeys(p(n))},set:function(n,t,r){var e=I(p(n),t);if(null==e?void 0:e.set)return e.set.call(n.k,r),!0;if(!n.P){var i=z(p(n),t),o=null==i?void 0:i[Q];if(o&&o.t===r)return n.o[t]=r,n.D[t]=!1,!0;if(c(r,i)&&(void 0!==r||u(n.t,t)))return!0;E(n),k(n)}return n.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in n.o)||(n.o[t]=r,n.D[t]=!0,!0)},deleteProperty:function(n,t){return void 0!==z(n.t,t)||t in n.t?(n.D[t]=!1,E(n),k(n)):delete n.D[t],n.o&&delete n.o[t],!0},getOwnPropertyDescriptor:function(n,t){var r=p(n),e=Reflect.getOwnPropertyDescriptor(r,t);return e?{writable:!0,configurable:1!==n.i||"length"!==t,enumerable:e.enumerable,value:r[t]}:e},defineProperty:function(){n(11)},getPrototypeOf:function(n){return Object.getPrototypeOf(n.t)},setPrototypeOf:function(){n(12)}},on={};i(en,(function(n,t){on[n]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),on.deleteProperty=function(t,r){return true&&isNaN(parseInt(r))&&n(13),en.deleteProperty.call(this,t[0],r)},on.set=function(t,r,e){return true&&"length"!==r&&isNaN(parseInt(r))&&n(14),en.set.call(this,t[0],r,e,t[0])};var un=function(){function e(t){var e=this;this.g=B,this.F=!0,this.produce=function(t,i,o){if("function"==typeof t&&"function"!=typeof i){var u=i;i=t;var a=e;return function(n){var t=this;void 0===n&&(n=u);for(var r=arguments.length,e=Array(r>1?r-1:0),o=1;o<r;o++)e[o-1]=arguments[o];return a.produce(n,(function(n){var r;return(r=i).call.apply(r,[t,n].concat(e))}))}}var f;if("function"!=typeof i&&n(6),void 0!==o&&"function"!=typeof o&&n(7),r(t)){var c=w(e),s=R(e,t,void 0),v=!0;try{f=i(s),v=!1}finally{v?O(c):g(c)}return"undefined"!=typeof Promise&&f instanceof Promise?f.then((function(n){return j(c,o),P(n,c)}),(function(n){throw O(c),n})):(j(c,o),P(f,c))}if(!t||"object"!=typeof t){if((f=i(t))===H)return;return void 0===f&&(f=t),e.F&&d(f,!0),f}n(21,t)},this.produceWithPatches=function(n,t){return"function"==typeof n?function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return e.produceWithPatches(t,(function(t){return n.apply(void 0,[t].concat(i))}))}:[e.produce(n,t,(function(n,t){r=n,i=t})),r,i];var r,i},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var i=e.prototype;return i.createDraft=function(e){r(e)||n(8),t(e)&&(e=D(e));var i=w(this),o=R(this,e,void 0);return o[Q].C=!0,g(i),o},i.finishDraft=function(t,r){var e=t&&t[Q]; true&&(e&&e.C||n(9),e.I&&n(10));var i=e.A;return j(i,r),P(void 0,i)},i.setAutoFreeze=function(n){this.F=n},i.setUseProxies=function(t){t&&!B&&n(20),this.g=t},i.applyPatches=function(n,r){var e;for(e=r.length-1;e>=0;e--){var i=r[e];if(0===i.path.length&&"replace"===i.op){n=i.value;break}}e>-1&&(r=r.slice(e+1));var o=b("Patches").$;return t(n)?o(n,r):this.produce(n,(function(n){return o(n,r)}))},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); | |
| 10468 | +//# sourceMappingURL=immer.esm.js.map | |
| 10469 | + | |
| 10470 | + | |
| 10471 | +/***/ }), | |
| 10472 | + | |
| 10473 | +/***/ "../node_modules/redux-thunk/es/index.js": | |
| 10474 | +/*!***********************************************!*\ | |
| 10475 | + !*** ../node_modules/redux-thunk/es/index.js ***! | |
| 10476 | + \***********************************************/ | |
| 10477 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 10478 | + | |
| 10479 | +"use strict"; | |
| 10480 | +__webpack_require__.r(__webpack_exports__); | |
| 10481 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 10482 | +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) | |
| 10483 | +/* harmony export */ }); | |
| 10484 | +/** A function that accepts a potential "extra argument" value to be injected later, | |
| 10485 | + * and returns an instance of the thunk middleware that uses that value | |
| 10486 | + */ | |
| 10487 | +function createThunkMiddleware(extraArgument) { | |
| 10488 | + // Standard Redux middleware definition pattern: | |
| 10489 | + // See: https://redux.js.org/tutorials/fundamentals/part-4-store#writing-custom-middleware | |
| 10490 | + var middleware = function middleware(_ref) { | |
| 10491 | + var dispatch = _ref.dispatch, | |
| 10492 | + getState = _ref.getState; | |
| 10493 | + return function (next) { | |
| 10494 | + return function (action) { | |
| 10495 | + // The thunk middleware looks for any functions that were passed to `store.dispatch`. | |
| 10496 | + // If this "action" is really a function, call it and return the result. | |
| 10497 | + if (typeof action === 'function') { | |
| 10498 | + // Inject the store's `dispatch` and `getState` methods, as well as any "extra arg" | |
| 10499 | + return action(dispatch, getState, extraArgument); | |
| 10500 | + } // Otherwise, pass the action down the middleware chain as usual | |
| 10501 | + | |
| 10502 | + | |
| 10503 | + return next(action); | |
| 10504 | + }; | |
| 10505 | + }; | |
| 10506 | + }; | |
| 10507 | + | |
| 10508 | + return middleware; | |
| 10509 | +} | |
| 10510 | + | |
| 10511 | +var thunk = createThunkMiddleware(); // Attach the factory function so users can create a customized version | |
| 10512 | +// with whatever "extra arg" they want to inject into their thunks | |
| 10513 | + | |
| 10514 | +thunk.withExtraArgument = createThunkMiddleware; | |
| 10515 | +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (thunk); | |
| 10516 | + | |
| 10517 | +/***/ }), | |
| 10518 | + | |
| 10519 | +/***/ "../node_modules/redux/es/redux.js": | |
| 10520 | +/*!*****************************************!*\ | |
| 10521 | + !*** ../node_modules/redux/es/redux.js ***! | |
| 10522 | + \*****************************************/ | |
| 10523 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 10524 | + | |
| 10525 | +"use strict"; | |
| 10526 | +__webpack_require__.r(__webpack_exports__); | |
| 10527 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 10528 | +/* harmony export */ "__DO_NOT_USE__ActionTypes": () => (/* binding */ ActionTypes), | |
| 10529 | +/* harmony export */ "applyMiddleware": () => (/* binding */ applyMiddleware), | |
| 10530 | +/* harmony export */ "bindActionCreators": () => (/* binding */ bindActionCreators), | |
| 10531 | +/* harmony export */ "combineReducers": () => (/* binding */ combineReducers), | |
| 10532 | +/* harmony export */ "compose": () => (/* binding */ compose), | |
| 10533 | +/* harmony export */ "createStore": () => (/* binding */ createStore) | |
| 10534 | +/* harmony export */ }); | |
| 10535 | +/* 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"); | |
| 10536 | + | |
| 10537 | + | |
| 10538 | +/** | |
| 10539 | + * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js | |
| 10540 | + * | |
| 10541 | + * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes | |
| 10542 | + * during build. | |
| 10543 | + * @param {number} code | |
| 10544 | + */ | |
| 10545 | +function formatProdErrorMessage(code) { | |
| 10546 | + 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. '; | |
| 10547 | +} | |
| 10548 | + | |
| 10549 | +// Inlined version of the `symbol-observable` polyfill | |
| 10550 | +var $$observable = (function () { | |
| 10551 | + return typeof Symbol === 'function' && Symbol.observable || '@@observable'; | |
| 10552 | +})(); | |
| 10553 | + | |
| 10554 | +/** | |
| 10555 | + * These are private action types reserved by Redux. | |
| 10556 | + * For any unknown actions, you must return the current state. | |
| 10557 | + * If the current state is undefined, you must return the initial state. | |
| 10558 | + * Do not reference these action types directly in your code. | |
| 10559 | + */ | |
| 10560 | +var randomString = function randomString() { | |
| 10561 | + return Math.random().toString(36).substring(7).split('').join('.'); | |
| 10562 | +}; | |
| 10563 | + | |
| 10564 | +var ActionTypes = { | |
| 10565 | + INIT: "@@redux/INIT" + randomString(), | |
| 10566 | + REPLACE: "@@redux/REPLACE" + randomString(), | |
| 10567 | + PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() { | |
| 10568 | + return "@@redux/PROBE_UNKNOWN_ACTION" + randomString(); | |
| 10569 | + } | |
| 10570 | +}; | |
| 10571 | + | |
| 10572 | +/** | |
| 10573 | + * @param {any} obj The object to inspect. | |
| 10574 | + * @returns {boolean} True if the argument appears to be a plain object. | |
| 10575 | + */ | |
| 10576 | +function isPlainObject(obj) { | |
| 10577 | + if (typeof obj !== 'object' || obj === null) return false; | |
| 10578 | + var proto = obj; | |
| 10579 | + | |
| 10580 | + while (Object.getPrototypeOf(proto) !== null) { | |
| 10581 | + proto = Object.getPrototypeOf(proto); | |
| 10582 | + } | |
| 10583 | + | |
| 10584 | + return Object.getPrototypeOf(obj) === proto; | |
| 10585 | +} | |
| 10586 | + | |
| 10587 | +// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of | |
| 10588 | +function miniKindOf(val) { | |
| 10589 | + if (val === void 0) return 'undefined'; | |
| 10590 | + if (val === null) return 'null'; | |
| 10591 | + var type = typeof val; | |
| 10592 | + | |
| 10593 | + switch (type) { | |
| 10594 | + case 'boolean': | |
| 10595 | + case 'string': | |
| 10596 | + case 'number': | |
| 10597 | + case 'symbol': | |
| 10598 | + case 'function': | |
| 10599 | + { | |
| 10600 | + return type; | |
| 10601 | + } | |
| 10602 | + } | |
| 10603 | + | |
| 10604 | + if (Array.isArray(val)) return 'array'; | |
| 10605 | + if (isDate(val)) return 'date'; | |
| 10606 | + if (isError(val)) return 'error'; | |
| 10607 | + var constructorName = ctorName(val); | |
| 10608 | + | |
| 10609 | + switch (constructorName) { | |
| 10610 | + case 'Symbol': | |
| 10611 | + case 'Promise': | |
| 10612 | + case 'WeakMap': | |
| 10613 | + case 'WeakSet': | |
| 10614 | + case 'Map': | |
| 10615 | + case 'Set': | |
| 10616 | + return constructorName; | |
| 10617 | + } // other | |
| 10618 | + | |
| 10619 | + | |
| 10620 | + return type.slice(8, -1).toLowerCase().replace(/\s/g, ''); | |
| 10621 | +} | |
| 10622 | + | |
| 10623 | +function ctorName(val) { | |
| 10624 | + return typeof val.constructor === 'function' ? val.constructor.name : null; | |
| 10625 | +} | |
| 10626 | + | |
| 10627 | +function isError(val) { | |
| 10628 | + return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number'; | |
| 10629 | +} | |
| 10630 | + | |
| 10631 | +function isDate(val) { | |
| 10632 | + if (val instanceof Date) return true; | |
| 10633 | + return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function'; | |
| 10634 | +} | |
| 10635 | + | |
| 10636 | +function kindOf(val) { | |
| 10637 | + var typeOfVal = typeof val; | |
| 10638 | + | |
| 10639 | + if (true) { | |
| 10640 | + typeOfVal = miniKindOf(val); | |
| 10641 | + } | |
| 10642 | + | |
| 10643 | + return typeOfVal; | |
| 10644 | +} | |
| 10645 | + | |
| 10646 | +/** | |
| 10647 | + * Creates a Redux store that holds the state tree. | |
| 10648 | + * The only way to change the data in the store is to call `dispatch()` on it. | |
| 10649 | + * | |
| 10650 | + * There should only be a single store in your app. To specify how different | |
| 10651 | + * parts of the state tree respond to actions, you may combine several reducers | |
| 10652 | + * into a single reducer function by using `combineReducers`. | |
| 10653 | + * | |
| 10654 | + * @param {Function} reducer A function that returns the next state tree, given | |
| 10655 | + * the current state tree and the action to handle. | |
| 10656 | + * | |
| 10657 | + * @param {any} [preloadedState] The initial state. You may optionally specify it | |
| 10658 | + * to hydrate the state from the server in universal apps, or to restore a | |
| 10659 | + * previously serialized user session. | |
| 10660 | + * If you use `combineReducers` to produce the root reducer function, this must be | |
| 10661 | + * an object with the same shape as `combineReducers` keys. | |
| 10662 | + * | |
| 10663 | + * @param {Function} [enhancer] The store enhancer. You may optionally specify it | |
| 10664 | + * to enhance the store with third-party capabilities such as middleware, | |
| 10665 | + * time travel, persistence, etc. The only store enhancer that ships with Redux | |
| 10666 | + * is `applyMiddleware()`. | |
| 10667 | + * | |
| 10668 | + * @returns {Store} A Redux store that lets you read the state, dispatch actions | |
| 10669 | + * and subscribe to changes. | |
| 10670 | + */ | |
| 10671 | + | |
| 10672 | +function createStore(reducer, preloadedState, enhancer) { | |
| 10673 | + var _ref2; | |
| 10674 | + | |
| 10675 | + if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') { | |
| 10676 | + 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.'); | |
| 10677 | + } | |
| 10678 | + | |
| 10679 | + if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') { | |
| 10680 | + enhancer = preloadedState; | |
| 10681 | + preloadedState = undefined; | |
| 10682 | + } | |
| 10683 | + | |
| 10684 | + if (typeof enhancer !== 'undefined') { | |
| 10685 | + if (typeof enhancer !== 'function') { | |
| 10686 | + throw new Error( false ? 0 : "Expected the enhancer to be a function. Instead, received: '" + kindOf(enhancer) + "'"); | |
| 3379 | 10687 | } |
| 3380 | - function Wrapper() { | |
| 3381 | - return construct(t, arguments, getPrototypeOf(this).constructor); | |
| 10688 | + | |
| 10689 | + return enhancer(createStore)(reducer, preloadedState); | |
| 10690 | + } | |
| 10691 | + | |
| 10692 | + if (typeof reducer !== 'function') { | |
| 10693 | + throw new Error( false ? 0 : "Expected the root reducer to be a function. Instead, received: '" + kindOf(reducer) + "'"); | |
| 10694 | + } | |
| 10695 | + | |
| 10696 | + var currentReducer = reducer; | |
| 10697 | + var currentState = preloadedState; | |
| 10698 | + var currentListeners = []; | |
| 10699 | + var nextListeners = currentListeners; | |
| 10700 | + var isDispatching = false; | |
| 10701 | + /** | |
| 10702 | + * This makes a shallow copy of currentListeners so we can use | |
| 10703 | + * nextListeners as a temporary list while dispatching. | |
| 10704 | + * | |
| 10705 | + * This prevents any bugs around consumers calling | |
| 10706 | + * subscribe/unsubscribe in the middle of a dispatch. | |
| 10707 | + */ | |
| 10708 | + | |
| 10709 | + function ensureCanMutateNextListeners() { | |
| 10710 | + if (nextListeners === currentListeners) { | |
| 10711 | + nextListeners = currentListeners.slice(); | |
| 3382 | 10712 | } |
| 3383 | - return Wrapper.prototype = Object.create(t.prototype, { | |
| 3384 | - constructor: { | |
| 3385 | - value: Wrapper, | |
| 3386 | - enumerable: !1, | |
| 3387 | - writable: !0, | |
| 3388 | - configurable: !0 | |
| 10713 | + } | |
| 10714 | + /** | |
| 10715 | + * Reads the state tree managed by the store. | |
| 10716 | + * | |
| 10717 | + * @returns {any} The current state tree of your application. | |
| 10718 | + */ | |
| 10719 | + | |
| 10720 | + | |
| 10721 | + function getState() { | |
| 10722 | + if (isDispatching) { | |
| 10723 | + 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.'); | |
| 10724 | + } | |
| 10725 | + | |
| 10726 | + return currentState; | |
| 10727 | + } | |
| 10728 | + /** | |
| 10729 | + * Adds a change listener. It will be called any time an action is dispatched, | |
| 10730 | + * and some part of the state tree may potentially have changed. You may then | |
| 10731 | + * call `getState()` to read the current state tree inside the callback. | |
| 10732 | + * | |
| 10733 | + * You may call `dispatch()` from a change listener, with the following | |
| 10734 | + * caveats: | |
| 10735 | + * | |
| 10736 | + * 1. The subscriptions are snapshotted just before every `dispatch()` call. | |
| 10737 | + * If you subscribe or unsubscribe while the listeners are being invoked, this | |
| 10738 | + * will not have any effect on the `dispatch()` that is currently in progress. | |
| 10739 | + * However, the next `dispatch()` call, whether nested or not, will use a more | |
| 10740 | + * recent snapshot of the subscription list. | |
| 10741 | + * | |
| 10742 | + * 2. The listener should not expect to see all state changes, as the state | |
| 10743 | + * might have been updated multiple times during a nested `dispatch()` before | |
| 10744 | + * the listener is called. It is, however, guaranteed that all subscribers | |
| 10745 | + * registered before the `dispatch()` started will be called with the latest | |
| 10746 | + * state by the time it exits. | |
| 10747 | + * | |
| 10748 | + * @param {Function} listener A callback to be invoked on every dispatch. | |
| 10749 | + * @returns {Function} A function to remove this change listener. | |
| 10750 | + */ | |
| 10751 | + | |
| 10752 | + | |
| 10753 | + function subscribe(listener) { | |
| 10754 | + if (typeof listener !== 'function') { | |
| 10755 | + throw new Error( false ? 0 : "Expected the listener to be a function. Instead, received: '" + kindOf(listener) + "'"); | |
| 10756 | + } | |
| 10757 | + | |
| 10758 | + if (isDispatching) { | |
| 10759 | + 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.'); | |
| 10760 | + } | |
| 10761 | + | |
| 10762 | + var isSubscribed = true; | |
| 10763 | + ensureCanMutateNextListeners(); | |
| 10764 | + nextListeners.push(listener); | |
| 10765 | + return function unsubscribe() { | |
| 10766 | + if (!isSubscribed) { | |
| 10767 | + return; | |
| 3389 | 10768 | } |
| 3390 | - }), setPrototypeOf(Wrapper, t); | |
| 3391 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t); | |
| 10769 | + | |
| 10770 | + if (isDispatching) { | |
| 10771 | + 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.'); | |
| 10772 | + } | |
| 10773 | + | |
| 10774 | + isSubscribed = false; | |
| 10775 | + ensureCanMutateNextListeners(); | |
| 10776 | + var index = nextListeners.indexOf(listener); | |
| 10777 | + nextListeners.splice(index, 1); | |
| 10778 | + currentListeners = null; | |
| 10779 | + }; | |
| 10780 | + } | |
| 10781 | + /** | |
| 10782 | + * Dispatches an action. It is the only way to trigger a state change. | |
| 10783 | + * | |
| 10784 | + * The `reducer` function, used to create the store, will be called with the | |
| 10785 | + * current state tree and the given `action`. Its return value will | |
| 10786 | + * be considered the **next** state of the tree, and the change listeners | |
| 10787 | + * will be notified. | |
| 10788 | + * | |
| 10789 | + * The base implementation only supports plain object actions. If you want to | |
| 10790 | + * dispatch a Promise, an Observable, a thunk, or something else, you need to | |
| 10791 | + * wrap your store creating function into the corresponding middleware. For | |
| 10792 | + * example, see the documentation for the `redux-thunk` package. Even the | |
| 10793 | + * middleware will eventually dispatch plain object actions using this method. | |
| 10794 | + * | |
| 10795 | + * @param {Object} action A plain object representing “what changed”. It is | |
| 10796 | + * a good idea to keep actions serializable so you can record and replay user | |
| 10797 | + * sessions, or use the time travelling `redux-devtools`. An action must have | |
| 10798 | + * a `type` property which may not be `undefined`. It is a good idea to use | |
| 10799 | + * string constants for action types. | |
| 10800 | + * | |
| 10801 | + * @returns {Object} For convenience, the same action object you dispatched. | |
| 10802 | + * | |
| 10803 | + * Note that, if you use a custom middleware, it may wrap `dispatch()` to | |
| 10804 | + * return something else (for example, a Promise you can await). | |
| 10805 | + */ | |
| 10806 | + | |
| 10807 | + | |
| 10808 | + function dispatch(action) { | |
| 10809 | + if (!isPlainObject(action)) { | |
| 10810 | + 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."); | |
| 10811 | + } | |
| 10812 | + | |
| 10813 | + if (typeof action.type === 'undefined') { | |
| 10814 | + throw new Error( false ? 0 : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.'); | |
| 10815 | + } | |
| 10816 | + | |
| 10817 | + if (isDispatching) { | |
| 10818 | + throw new Error( false ? 0 : 'Reducers may not dispatch actions.'); | |
| 10819 | + } | |
| 10820 | + | |
| 10821 | + try { | |
| 10822 | + isDispatching = true; | |
| 10823 | + currentState = currentReducer(currentState, action); | |
| 10824 | + } finally { | |
| 10825 | + isDispatching = false; | |
| 10826 | + } | |
| 10827 | + | |
| 10828 | + var listeners = currentListeners = nextListeners; | |
| 10829 | + | |
| 10830 | + for (var i = 0; i < listeners.length; i++) { | |
| 10831 | + var listener = listeners[i]; | |
| 10832 | + listener(); | |
| 10833 | + } | |
| 10834 | + | |
| 10835 | + return action; | |
| 10836 | + } | |
| 10837 | + /** | |
| 10838 | + * Replaces the reducer currently used by the store to calculate the state. | |
| 10839 | + * | |
| 10840 | + * You might need this if your app implements code splitting and you want to | |
| 10841 | + * load some of the reducers dynamically. You might also need this if you | |
| 10842 | + * implement a hot reloading mechanism for Redux. | |
| 10843 | + * | |
| 10844 | + * @param {Function} nextReducer The reducer for the store to use instead. | |
| 10845 | + * @returns {void} | |
| 10846 | + */ | |
| 10847 | + | |
| 10848 | + | |
| 10849 | + function replaceReducer(nextReducer) { | |
| 10850 | + if (typeof nextReducer !== 'function') { | |
| 10851 | + throw new Error( false ? 0 : "Expected the nextReducer to be a function. Instead, received: '" + kindOf(nextReducer)); | |
| 10852 | + } | |
| 10853 | + | |
| 10854 | + currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT. | |
| 10855 | + // Any reducers that existed in both the new and old rootReducer | |
| 10856 | + // will receive the previous state. This effectively populates | |
| 10857 | + // the new state tree with any relevant data from the old one. | |
| 10858 | + | |
| 10859 | + dispatch({ | |
| 10860 | + type: ActionTypes.REPLACE | |
| 10861 | + }); | |
| 10862 | + } | |
| 10863 | + /** | |
| 10864 | + * Interoperability point for observable/reactive libraries. | |
| 10865 | + * @returns {observable} A minimal observable of state changes. | |
| 10866 | + * For more information, see the observable proposal: | |
| 10867 | + * https://github.com/tc39/proposal-observable | |
| 10868 | + */ | |
| 10869 | + | |
| 10870 | + | |
| 10871 | + function observable() { | |
| 10872 | + var _ref; | |
| 10873 | + | |
| 10874 | + var outerSubscribe = subscribe; | |
| 10875 | + return _ref = { | |
| 10876 | + /** | |
| 10877 | + * The minimal observable subscription method. | |
| 10878 | + * @param {Object} observer Any object that can be used as an observer. | |
| 10879 | + * The observer object should have a `next` method. | |
| 10880 | + * @returns {subscription} An object with an `unsubscribe` method that can | |
| 10881 | + * be used to unsubscribe the observable from the store, and prevent further | |
| 10882 | + * emission of values from the observable. | |
| 10883 | + */ | |
| 10884 | + subscribe: function subscribe(observer) { | |
| 10885 | + if (typeof observer !== 'object' || observer === null) { | |
| 10886 | + throw new Error( false ? 0 : "Expected the observer to be an object. Instead, received: '" + kindOf(observer) + "'"); | |
| 10887 | + } | |
| 10888 | + | |
| 10889 | + function observeState() { | |
| 10890 | + if (observer.next) { | |
| 10891 | + observer.next(getState()); | |
| 10892 | + } | |
| 10893 | + } | |
| 10894 | + | |
| 10895 | + observeState(); | |
| 10896 | + var unsubscribe = outerSubscribe(observeState); | |
| 10897 | + return { | |
| 10898 | + unsubscribe: unsubscribe | |
| 10899 | + }; | |
| 10900 | + } | |
| 10901 | + }, _ref[$$observable] = function () { | |
| 10902 | + return this; | |
| 10903 | + }, _ref; | |
| 10904 | + } // When a store is created, an "INIT" action is dispatched so that every | |
| 10905 | + // reducer returns their initial state. This effectively populates | |
| 10906 | + // the initial state tree. | |
| 10907 | + | |
| 10908 | + | |
| 10909 | + dispatch({ | |
| 10910 | + type: ActionTypes.INIT | |
| 10911 | + }); | |
| 10912 | + return _ref2 = { | |
| 10913 | + dispatch: dispatch, | |
| 10914 | + subscribe: subscribe, | |
| 10915 | + getState: getState, | |
| 10916 | + replaceReducer: replaceReducer | |
| 10917 | + }, _ref2[$$observable] = observable, _ref2; | |
| 3392 | 10918 | } |
| 3393 | -module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 3394 | 10919 | |
| 10920 | +/** | |
| 10921 | + * Prints a warning in the console if it exists. | |
| 10922 | + * | |
| 10923 | + * @param {String} message The warning message. | |
| 10924 | + * @returns {void} | |
| 10925 | + */ | |
| 10926 | +function warning(message) { | |
| 10927 | + /* eslint-disable no-console */ | |
| 10928 | + if (typeof console !== 'undefined' && typeof console.error === 'function') { | |
| 10929 | + console.error(message); | |
| 10930 | + } | |
| 10931 | + /* eslint-enable no-console */ | |
| 10932 | + | |
| 10933 | + | |
| 10934 | + try { | |
| 10935 | + // This error was thrown as a convenience so that if you enable | |
| 10936 | + // "break on all exceptions" in your console, | |
| 10937 | + // it would pause the execution at this line. | |
| 10938 | + throw new Error(message); | |
| 10939 | + } catch (e) {} // eslint-disable-line no-empty | |
| 10940 | + | |
| 10941 | +} | |
| 10942 | + | |
| 10943 | +function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) { | |
| 10944 | + var reducerKeys = Object.keys(reducers); | |
| 10945 | + var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer'; | |
| 10946 | + | |
| 10947 | + if (reducerKeys.length === 0) { | |
| 10948 | + return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.'; | |
| 10949 | + } | |
| 10950 | + | |
| 10951 | + if (!isPlainObject(inputState)) { | |
| 10952 | + return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\""); | |
| 10953 | + } | |
| 10954 | + | |
| 10955 | + var unexpectedKeys = Object.keys(inputState).filter(function (key) { | |
| 10956 | + return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key]; | |
| 10957 | + }); | |
| 10958 | + unexpectedKeys.forEach(function (key) { | |
| 10959 | + unexpectedKeyCache[key] = true; | |
| 10960 | + }); | |
| 10961 | + if (action && action.type === ActionTypes.REPLACE) return; | |
| 10962 | + | |
| 10963 | + if (unexpectedKeys.length > 0) { | |
| 10964 | + 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."); | |
| 10965 | + } | |
| 10966 | +} | |
| 10967 | + | |
| 10968 | +function assertReducerShape(reducers) { | |
| 10969 | + Object.keys(reducers).forEach(function (key) { | |
| 10970 | + var reducer = reducers[key]; | |
| 10971 | + var initialState = reducer(undefined, { | |
| 10972 | + type: ActionTypes.INIT | |
| 10973 | + }); | |
| 10974 | + | |
| 10975 | + if (typeof initialState === 'undefined') { | |
| 10976 | + 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."); | |
| 10977 | + } | |
| 10978 | + | |
| 10979 | + if (typeof reducer(undefined, { | |
| 10980 | + type: ActionTypes.PROBE_UNKNOWN_ACTION() | |
| 10981 | + }) === 'undefined') { | |
| 10982 | + 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."); | |
| 10983 | + } | |
| 10984 | + }); | |
| 10985 | +} | |
| 10986 | +/** | |
| 10987 | + * Turns an object whose values are different reducer functions, into a single | |
| 10988 | + * reducer function. It will call every child reducer, and gather their results | |
| 10989 | + * into a single state object, whose keys correspond to the keys of the passed | |
| 10990 | + * reducer functions. | |
| 10991 | + * | |
| 10992 | + * @param {Object} reducers An object whose values correspond to different | |
| 10993 | + * reducer functions that need to be combined into one. One handy way to obtain | |
| 10994 | + * it is to use ES6 `import * as reducers` syntax. The reducers may never return | |
| 10995 | + * undefined for any action. Instead, they should return their initial state | |
| 10996 | + * if the state passed to them was undefined, and the current state for any | |
| 10997 | + * unrecognized action. | |
| 10998 | + * | |
| 10999 | + * @returns {Function} A reducer function that invokes every reducer inside the | |
| 11000 | + * passed object, and builds a state object with the same shape. | |
| 11001 | + */ | |
| 11002 | + | |
| 11003 | + | |
| 11004 | +function combineReducers(reducers) { | |
| 11005 | + var reducerKeys = Object.keys(reducers); | |
| 11006 | + var finalReducers = {}; | |
| 11007 | + | |
| 11008 | + for (var i = 0; i < reducerKeys.length; i++) { | |
| 11009 | + var key = reducerKeys[i]; | |
| 11010 | + | |
| 11011 | + if (true) { | |
| 11012 | + if (typeof reducers[key] === 'undefined') { | |
| 11013 | + warning("No reducer provided for key \"" + key + "\""); | |
| 11014 | + } | |
| 11015 | + } | |
| 11016 | + | |
| 11017 | + if (typeof reducers[key] === 'function') { | |
| 11018 | + finalReducers[key] = reducers[key]; | |
| 11019 | + } | |
| 11020 | + } | |
| 11021 | + | |
| 11022 | + var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same | |
| 11023 | + // keys multiple times. | |
| 11024 | + | |
| 11025 | + var unexpectedKeyCache; | |
| 11026 | + | |
| 11027 | + if (true) { | |
| 11028 | + unexpectedKeyCache = {}; | |
| 11029 | + } | |
| 11030 | + | |
| 11031 | + var shapeAssertionError; | |
| 11032 | + | |
| 11033 | + try { | |
| 11034 | + assertReducerShape(finalReducers); | |
| 11035 | + } catch (e) { | |
| 11036 | + shapeAssertionError = e; | |
| 11037 | + } | |
| 11038 | + | |
| 11039 | + return function combination(state, action) { | |
| 11040 | + if (state === void 0) { | |
| 11041 | + state = {}; | |
| 11042 | + } | |
| 11043 | + | |
| 11044 | + if (shapeAssertionError) { | |
| 11045 | + throw shapeAssertionError; | |
| 11046 | + } | |
| 11047 | + | |
| 11048 | + if (true) { | |
| 11049 | + var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache); | |
| 11050 | + | |
| 11051 | + if (warningMessage) { | |
| 11052 | + warning(warningMessage); | |
| 11053 | + } | |
| 11054 | + } | |
| 11055 | + | |
| 11056 | + var hasChanged = false; | |
| 11057 | + var nextState = {}; | |
| 11058 | + | |
| 11059 | + for (var _i = 0; _i < finalReducerKeys.length; _i++) { | |
| 11060 | + var _key = finalReducerKeys[_i]; | |
| 11061 | + var reducer = finalReducers[_key]; | |
| 11062 | + var previousStateForKey = state[_key]; | |
| 11063 | + var nextStateForKey = reducer(previousStateForKey, action); | |
| 11064 | + | |
| 11065 | + if (typeof nextStateForKey === 'undefined') { | |
| 11066 | + var actionType = action && action.type; | |
| 11067 | + 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."); | |
| 11068 | + } | |
| 11069 | + | |
| 11070 | + nextState[_key] = nextStateForKey; | |
| 11071 | + hasChanged = hasChanged || nextStateForKey !== previousStateForKey; | |
| 11072 | + } | |
| 11073 | + | |
| 11074 | + hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length; | |
| 11075 | + return hasChanged ? nextState : state; | |
| 11076 | + }; | |
| 11077 | +} | |
| 11078 | + | |
| 11079 | +function bindActionCreator(actionCreator, dispatch) { | |
| 11080 | + return function () { | |
| 11081 | + return dispatch(actionCreator.apply(this, arguments)); | |
| 11082 | + }; | |
| 11083 | +} | |
| 11084 | +/** | |
| 11085 | + * Turns an object whose values are action creators, into an object with the | |
| 11086 | + * same keys, but with every function wrapped into a `dispatch` call so they | |
| 11087 | + * may be invoked directly. This is just a convenience method, as you can call | |
| 11088 | + * `store.dispatch(MyActionCreators.doSomething())` yourself just fine. | |
| 11089 | + * | |
| 11090 | + * For convenience, you can also pass an action creator as the first argument, | |
| 11091 | + * and get a dispatch wrapped function in return. | |
| 11092 | + * | |
| 11093 | + * @param {Function|Object} actionCreators An object whose values are action | |
| 11094 | + * creator functions. One handy way to obtain it is to use ES6 `import * as` | |
| 11095 | + * syntax. You may also pass a single function. | |
| 11096 | + * | |
| 11097 | + * @param {Function} dispatch The `dispatch` function available on your Redux | |
| 11098 | + * store. | |
| 11099 | + * | |
| 11100 | + * @returns {Function|Object} The object mimicking the original object, but with | |
| 11101 | + * every action creator wrapped into the `dispatch` call. If you passed a | |
| 11102 | + * function as `actionCreators`, the return value will also be a single | |
| 11103 | + * function. | |
| 11104 | + */ | |
| 11105 | + | |
| 11106 | + | |
| 11107 | +function bindActionCreators(actionCreators, dispatch) { | |
| 11108 | + if (typeof actionCreators === 'function') { | |
| 11109 | + return bindActionCreator(actionCreators, dispatch); | |
| 11110 | + } | |
| 11111 | + | |
| 11112 | + if (typeof actionCreators !== 'object' || actionCreators === null) { | |
| 11113 | + 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\"?"); | |
| 11114 | + } | |
| 11115 | + | |
| 11116 | + var boundActionCreators = {}; | |
| 11117 | + | |
| 11118 | + for (var key in actionCreators) { | |
| 11119 | + var actionCreator = actionCreators[key]; | |
| 11120 | + | |
| 11121 | + if (typeof actionCreator === 'function') { | |
| 11122 | + boundActionCreators[key] = bindActionCreator(actionCreator, dispatch); | |
| 11123 | + } | |
| 11124 | + } | |
| 11125 | + | |
| 11126 | + return boundActionCreators; | |
| 11127 | +} | |
| 11128 | + | |
| 11129 | +/** | |
| 11130 | + * Composes single-argument functions from right to left. The rightmost | |
| 11131 | + * function can take multiple arguments as it provides the signature for | |
| 11132 | + * the resulting composite function. | |
| 11133 | + * | |
| 11134 | + * @param {...Function} funcs The functions to compose. | |
| 11135 | + * @returns {Function} A function obtained by composing the argument functions | |
| 11136 | + * from right to left. For example, compose(f, g, h) is identical to doing | |
| 11137 | + * (...args) => f(g(h(...args))). | |
| 11138 | + */ | |
| 11139 | +function compose() { | |
| 11140 | + for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 11141 | + funcs[_key] = arguments[_key]; | |
| 11142 | + } | |
| 11143 | + | |
| 11144 | + if (funcs.length === 0) { | |
| 11145 | + return function (arg) { | |
| 11146 | + return arg; | |
| 11147 | + }; | |
| 11148 | + } | |
| 11149 | + | |
| 11150 | + if (funcs.length === 1) { | |
| 11151 | + return funcs[0]; | |
| 11152 | + } | |
| 11153 | + | |
| 11154 | + return funcs.reduce(function (a, b) { | |
| 11155 | + return function () { | |
| 11156 | + return a(b.apply(void 0, arguments)); | |
| 11157 | + }; | |
| 11158 | + }); | |
| 11159 | +} | |
| 11160 | + | |
| 11161 | +/** | |
| 11162 | + * Creates a store enhancer that applies middleware to the dispatch method | |
| 11163 | + * of the Redux store. This is handy for a variety of tasks, such as expressing | |
| 11164 | + * asynchronous actions in a concise manner, or logging every action payload. | |
| 11165 | + * | |
| 11166 | + * See `redux-thunk` package as an example of the Redux middleware. | |
| 11167 | + * | |
| 11168 | + * Because middleware is potentially asynchronous, this should be the first | |
| 11169 | + * store enhancer in the composition chain. | |
| 11170 | + * | |
| 11171 | + * Note that each middleware will be given the `dispatch` and `getState` functions | |
| 11172 | + * as named arguments. | |
| 11173 | + * | |
| 11174 | + * @param {...Function} middlewares The middleware chain to be applied. | |
| 11175 | + * @returns {Function} A store enhancer applying the middleware. | |
| 11176 | + */ | |
| 11177 | + | |
| 11178 | +function applyMiddleware() { | |
| 11179 | + for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 11180 | + middlewares[_key] = arguments[_key]; | |
| 11181 | + } | |
| 11182 | + | |
| 11183 | + return function (createStore) { | |
| 11184 | + return function () { | |
| 11185 | + var store = createStore.apply(void 0, arguments); | |
| 11186 | + | |
| 11187 | + var _dispatch = function dispatch() { | |
| 11188 | + throw new Error( false ? 0 : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.'); | |
| 11189 | + }; | |
| 11190 | + | |
| 11191 | + var middlewareAPI = { | |
| 11192 | + getState: store.getState, | |
| 11193 | + dispatch: function dispatch() { | |
| 11194 | + return _dispatch.apply(void 0, arguments); | |
| 11195 | + } | |
| 11196 | + }; | |
| 11197 | + var chain = middlewares.map(function (middleware) { | |
| 11198 | + return middleware(middlewareAPI); | |
| 11199 | + }); | |
| 11200 | + _dispatch = compose.apply(void 0, chain)(store.dispatch); | |
| 11201 | + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])({}, store), {}, { | |
| 11202 | + dispatch: _dispatch | |
| 11203 | + }); | |
| 11204 | + }; | |
| 11205 | + }; | |
| 11206 | +} | |
| 11207 | + | |
| 11208 | +/* | |
| 11209 | + * This is a dummy function to check if the function name has been altered by minification. | |
| 11210 | + * If the function has been minified and NODE_ENV !== 'production', warn the user. | |
| 11211 | + */ | |
| 11212 | + | |
| 11213 | +function isCrushed() {} | |
| 11214 | + | |
| 11215 | +if ( true && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') { | |
| 11216 | + warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.'); | |
| 11217 | +} | |
| 11218 | + | |
| 11219 | + | |
| 11220 | + | |
| 11221 | + | |
| 3395 | 11222 | /***/ }), |
| 3396 | 11223 | |
| 3397 | -/***/ "@reduxjs/toolkit": | |
| 3398 | -/*!************************************************!*\ | |
| 3399 | - !*** external "elementorVendors.reduxToolkit" ***! | |
| 3400 | - \************************************************/ | |
| 3401 | -/***/ ((module) => { | |
| 11224 | +/***/ "../node_modules/reselect/es/defaultMemoize.js": | |
| 11225 | +/*!*****************************************************!*\ | |
| 11226 | + !*** ../node_modules/reselect/es/defaultMemoize.js ***! | |
| 11227 | + \*****************************************************/ | |
| 11228 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 3402 | 11229 | |
| 3403 | 11230 | "use strict"; |
| 3404 | -module.exports = elementorVendors.reduxToolkit; | |
| 11231 | +__webpack_require__.r(__webpack_exports__); | |
| 11232 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11233 | +/* harmony export */ "defaultEqualityCheck": () => (/* binding */ defaultEqualityCheck), | |
| 11234 | +/* harmony export */ "createCacheKeyComparator": () => (/* binding */ createCacheKeyComparator), | |
| 11235 | +/* harmony export */ "defaultMemoize": () => (/* binding */ defaultMemoize) | |
| 11236 | +/* harmony export */ }); | |
| 11237 | +// Cache implementation based on Erik Rasmussen's `lru-memoize`: | |
| 11238 | +// https://github.com/erikras/lru-memoize | |
| 11239 | +var NOT_FOUND = 'NOT_FOUND'; | |
| 3405 | 11240 | |
| 11241 | +function createSingletonCache(equals) { | |
| 11242 | + var entry; | |
| 11243 | + return { | |
| 11244 | + get: function get(key) { | |
| 11245 | + if (entry && equals(entry.key, key)) { | |
| 11246 | + return entry.value; | |
| 11247 | + } | |
| 11248 | + | |
| 11249 | + return NOT_FOUND; | |
| 11250 | + }, | |
| 11251 | + put: function put(key, value) { | |
| 11252 | + entry = { | |
| 11253 | + key: key, | |
| 11254 | + value: value | |
| 11255 | + }; | |
| 11256 | + }, | |
| 11257 | + getEntries: function getEntries() { | |
| 11258 | + return entry ? [entry] : []; | |
| 11259 | + }, | |
| 11260 | + clear: function clear() { | |
| 11261 | + entry = undefined; | |
| 11262 | + } | |
| 11263 | + }; | |
| 11264 | +} | |
| 11265 | + | |
| 11266 | +function createLruCache(maxSize, equals) { | |
| 11267 | + var entries = []; | |
| 11268 | + | |
| 11269 | + function get(key) { | |
| 11270 | + var cacheIndex = entries.findIndex(function (entry) { | |
| 11271 | + return equals(key, entry.key); | |
| 11272 | + }); // We found a cached entry | |
| 11273 | + | |
| 11274 | + if (cacheIndex > -1) { | |
| 11275 | + var entry = entries[cacheIndex]; // Cached entry not at top of cache, move it to the top | |
| 11276 | + | |
| 11277 | + if (cacheIndex > 0) { | |
| 11278 | + entries.splice(cacheIndex, 1); | |
| 11279 | + entries.unshift(entry); | |
| 11280 | + } | |
| 11281 | + | |
| 11282 | + return entry.value; | |
| 11283 | + } // No entry found in cache, return sentinel | |
| 11284 | + | |
| 11285 | + | |
| 11286 | + return NOT_FOUND; | |
| 11287 | + } | |
| 11288 | + | |
| 11289 | + function put(key, value) { | |
| 11290 | + if (get(key) === NOT_FOUND) { | |
| 11291 | + // TODO Is unshift slow? | |
| 11292 | + entries.unshift({ | |
| 11293 | + key: key, | |
| 11294 | + value: value | |
| 11295 | + }); | |
| 11296 | + | |
| 11297 | + if (entries.length > maxSize) { | |
| 11298 | + entries.pop(); | |
| 11299 | + } | |
| 11300 | + } | |
| 11301 | + } | |
| 11302 | + | |
| 11303 | + function getEntries() { | |
| 11304 | + return entries; | |
| 11305 | + } | |
| 11306 | + | |
| 11307 | + function clear() { | |
| 11308 | + entries = []; | |
| 11309 | + } | |
| 11310 | + | |
| 11311 | + return { | |
| 11312 | + get: get, | |
| 11313 | + put: put, | |
| 11314 | + getEntries: getEntries, | |
| 11315 | + clear: clear | |
| 11316 | + }; | |
| 11317 | +} | |
| 11318 | + | |
| 11319 | +var defaultEqualityCheck = function defaultEqualityCheck(a, b) { | |
| 11320 | + return a === b; | |
| 11321 | +}; | |
| 11322 | +function createCacheKeyComparator(equalityCheck) { | |
| 11323 | + return function areArgumentsShallowlyEqual(prev, next) { | |
| 11324 | + if (prev === null || next === null || prev.length !== next.length) { | |
| 11325 | + return false; | |
| 11326 | + } // Do this in a for loop (and not a `forEach` or an `every`) so we can determine equality as fast as possible. | |
| 11327 | + | |
| 11328 | + | |
| 11329 | + var length = prev.length; | |
| 11330 | + | |
| 11331 | + for (var i = 0; i < length; i++) { | |
| 11332 | + if (!equalityCheck(prev[i], next[i])) { | |
| 11333 | + return false; | |
| 11334 | + } | |
| 11335 | + } | |
| 11336 | + | |
| 11337 | + return true; | |
| 11338 | + }; | |
| 11339 | +} | |
| 11340 | +// defaultMemoize now supports a configurable cache size with LRU behavior, | |
| 11341 | +// and optional comparison of the result value with existing values | |
| 11342 | +function defaultMemoize(func, equalityCheckOrOptions) { | |
| 11343 | + var providedOptions = typeof equalityCheckOrOptions === 'object' ? equalityCheckOrOptions : { | |
| 11344 | + equalityCheck: equalityCheckOrOptions | |
| 11345 | + }; | |
| 11346 | + var _providedOptions$equa = providedOptions.equalityCheck, | |
| 11347 | + equalityCheck = _providedOptions$equa === void 0 ? defaultEqualityCheck : _providedOptions$equa, | |
| 11348 | + _providedOptions$maxS = providedOptions.maxSize, | |
| 11349 | + maxSize = _providedOptions$maxS === void 0 ? 1 : _providedOptions$maxS, | |
| 11350 | + resultEqualityCheck = providedOptions.resultEqualityCheck; | |
| 11351 | + var comparator = createCacheKeyComparator(equalityCheck); | |
| 11352 | + var cache = maxSize === 1 ? createSingletonCache(comparator) : createLruCache(maxSize, comparator); // we reference arguments instead of spreading them for performance reasons | |
| 11353 | + | |
| 11354 | + function memoized() { | |
| 11355 | + var value = cache.get(arguments); | |
| 11356 | + | |
| 11357 | + if (value === NOT_FOUND) { | |
| 11358 | + // @ts-ignore | |
| 11359 | + value = func.apply(null, arguments); | |
| 11360 | + | |
| 11361 | + if (resultEqualityCheck) { | |
| 11362 | + var entries = cache.getEntries(); | |
| 11363 | + var matchingEntry = entries.find(function (entry) { | |
| 11364 | + return resultEqualityCheck(entry.value, value); | |
| 11365 | + }); | |
| 11366 | + | |
| 11367 | + if (matchingEntry) { | |
| 11368 | + value = matchingEntry.value; | |
| 11369 | + } | |
| 11370 | + } | |
| 11371 | + | |
| 11372 | + cache.put(arguments, value); | |
| 11373 | + } | |
| 11374 | + | |
| 11375 | + return value; | |
| 11376 | + } | |
| 11377 | + | |
| 11378 | + memoized.clearCache = function () { | |
| 11379 | + return cache.clear(); | |
| 11380 | + }; | |
| 11381 | + | |
| 11382 | + return memoized; | |
| 11383 | +} | |
| 11384 | + | |
| 11385 | +/***/ }), | |
| 11386 | + | |
| 11387 | +/***/ "../node_modules/reselect/es/index.js": | |
| 11388 | +/*!********************************************!*\ | |
| 11389 | + !*** ../node_modules/reselect/es/index.js ***! | |
| 11390 | + \********************************************/ | |
| 11391 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 11392 | + | |
| 11393 | +"use strict"; | |
| 11394 | +__webpack_require__.r(__webpack_exports__); | |
| 11395 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11396 | +/* harmony export */ "defaultMemoize": () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize), | |
| 11397 | +/* harmony export */ "defaultEqualityCheck": () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultEqualityCheck), | |
| 11398 | +/* harmony export */ "createSelectorCreator": () => (/* binding */ createSelectorCreator), | |
| 11399 | +/* harmony export */ "createSelector": () => (/* binding */ createSelector), | |
| 11400 | +/* harmony export */ "createStructuredSelector": () => (/* binding */ createStructuredSelector) | |
| 11401 | +/* harmony export */ }); | |
| 11402 | +/* harmony import */ var _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultMemoize */ "../node_modules/reselect/es/defaultMemoize.js"); | |
| 11403 | + | |
| 11404 | + | |
| 11405 | + | |
| 11406 | +function getDependencies(funcs) { | |
| 11407 | + var dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs; | |
| 11408 | + | |
| 11409 | + if (!dependencies.every(function (dep) { | |
| 11410 | + return typeof dep === 'function'; | |
| 11411 | + })) { | |
| 11412 | + var dependencyTypes = dependencies.map(function (dep) { | |
| 11413 | + return typeof dep === 'function' ? "function " + (dep.name || 'unnamed') + "()" : typeof dep; | |
| 11414 | + }).join(', '); | |
| 11415 | + throw new Error("createSelector expects all input-selectors to be functions, but received the following types: [" + dependencyTypes + "]"); | |
| 11416 | + } | |
| 11417 | + | |
| 11418 | + return dependencies; | |
| 11419 | +} | |
| 11420 | + | |
| 11421 | +function createSelectorCreator(memoize) { | |
| 11422 | + for (var _len = arguments.length, memoizeOptionsFromArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | |
| 11423 | + memoizeOptionsFromArgs[_key - 1] = arguments[_key]; | |
| 11424 | + } | |
| 11425 | + | |
| 11426 | + var createSelector = function createSelector() { | |
| 11427 | + for (var _len2 = arguments.length, funcs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { | |
| 11428 | + funcs[_key2] = arguments[_key2]; | |
| 11429 | + } | |
| 11430 | + | |
| 11431 | + var _recomputations = 0; | |
| 11432 | + | |
| 11433 | + var _lastResult; // Due to the intricacies of rest params, we can't do an optional arg after `...funcs`. | |
| 11434 | + // So, start by declaring the default value here. | |
| 11435 | + // (And yes, the words 'memoize' and 'options' appear too many times in this next sequence.) | |
| 11436 | + | |
| 11437 | + | |
| 11438 | + var directlyPassedOptions = { | |
| 11439 | + memoizeOptions: undefined | |
| 11440 | + }; // Normally, the result func or "output selector" is the last arg | |
| 11441 | + | |
| 11442 | + var resultFunc = funcs.pop(); // If the result func is actually an _object_, assume it's our options object | |
| 11443 | + | |
| 11444 | + if (typeof resultFunc === 'object') { | |
| 11445 | + directlyPassedOptions = resultFunc; // and pop the real result func off | |
| 11446 | + | |
| 11447 | + resultFunc = funcs.pop(); | |
| 11448 | + } | |
| 11449 | + | |
| 11450 | + if (typeof resultFunc !== 'function') { | |
| 11451 | + throw new Error("createSelector expects an output function after the inputs, but received: [" + typeof resultFunc + "]"); | |
| 11452 | + } // Determine which set of options we're using. Prefer options passed directly, | |
| 11453 | + // but fall back to options given to createSelectorCreator. | |
| 11454 | + | |
| 11455 | + | |
| 11456 | + var _directlyPassedOption = directlyPassedOptions, | |
| 11457 | + _directlyPassedOption2 = _directlyPassedOption.memoizeOptions, | |
| 11458 | + memoizeOptions = _directlyPassedOption2 === void 0 ? memoizeOptionsFromArgs : _directlyPassedOption2; // Simplifying assumption: it's unlikely that the first options arg of the provided memoizer | |
| 11459 | + // is an array. In most libs I've looked at, it's an equality function or options object. | |
| 11460 | + // Based on that, if `memoizeOptions` _is_ an array, we assume it's a full | |
| 11461 | + // user-provided array of options. Otherwise, it must be just the _first_ arg, and so | |
| 11462 | + // we wrap it in an array so we can apply it. | |
| 11463 | + | |
| 11464 | + var finalMemoizeOptions = Array.isArray(memoizeOptions) ? memoizeOptions : [memoizeOptions]; | |
| 11465 | + var dependencies = getDependencies(funcs); | |
| 11466 | + var memoizedResultFunc = memoize.apply(void 0, [function () { | |
| 11467 | + _recomputations++; // apply arguments instead of spreading for performance. | |
| 11468 | + | |
| 11469 | + return resultFunc.apply(null, arguments); | |
| 11470 | + }].concat(finalMemoizeOptions)); // If a selector is called with the exact same arguments we don't need to traverse our dependencies again. | |
| 11471 | + | |
| 11472 | + var selector = memoize(function () { | |
| 11473 | + var params = []; | |
| 11474 | + var length = dependencies.length; | |
| 11475 | + | |
| 11476 | + for (var i = 0; i < length; i++) { | |
| 11477 | + // apply arguments instead of spreading and mutate a local list of params for performance. | |
| 11478 | + // @ts-ignore | |
| 11479 | + params.push(dependencies[i].apply(null, arguments)); | |
| 11480 | + } // apply arguments instead of spreading for performance. | |
| 11481 | + | |
| 11482 | + | |
| 11483 | + _lastResult = memoizedResultFunc.apply(null, params); | |
| 11484 | + return _lastResult; | |
| 11485 | + }); | |
| 11486 | + Object.assign(selector, { | |
| 11487 | + resultFunc: resultFunc, | |
| 11488 | + memoizedResultFunc: memoizedResultFunc, | |
| 11489 | + dependencies: dependencies, | |
| 11490 | + lastResult: function lastResult() { | |
| 11491 | + return _lastResult; | |
| 11492 | + }, | |
| 11493 | + recomputations: function recomputations() { | |
| 11494 | + return _recomputations; | |
| 11495 | + }, | |
| 11496 | + resetRecomputations: function resetRecomputations() { | |
| 11497 | + return _recomputations = 0; | |
| 11498 | + } | |
| 11499 | + }); | |
| 11500 | + return selector; | |
| 11501 | + }; // @ts-ignore | |
| 11502 | + | |
| 11503 | + | |
| 11504 | + return createSelector; | |
| 11505 | +} | |
| 11506 | +var createSelector = /* #__PURE__ */createSelectorCreator(_defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize); | |
| 11507 | +// Manual definition of state and output arguments | |
| 11508 | +var createStructuredSelector = function createStructuredSelector(selectors, selectorCreator) { | |
| 11509 | + if (selectorCreator === void 0) { | |
| 11510 | + selectorCreator = createSelector; | |
| 11511 | + } | |
| 11512 | + | |
| 11513 | + if (typeof selectors !== 'object') { | |
| 11514 | + throw new Error('createStructuredSelector expects first argument to be an object ' + ("where each property is a selector, instead received a " + typeof selectors)); | |
| 11515 | + } | |
| 11516 | + | |
| 11517 | + var objectKeys = Object.keys(selectors); | |
| 11518 | + var resultSelector = selectorCreator( // @ts-ignore | |
| 11519 | + objectKeys.map(function (key) { | |
| 11520 | + return selectors[key]; | |
| 11521 | + }), function () { | |
| 11522 | + for (var _len3 = arguments.length, values = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { | |
| 11523 | + values[_key3] = arguments[_key3]; | |
| 11524 | + } | |
| 11525 | + | |
| 11526 | + return values.reduce(function (composition, value, index) { | |
| 11527 | + composition[objectKeys[index]] = value; | |
| 11528 | + return composition; | |
| 11529 | + }, {}); | |
| 11530 | + }); | |
| 11531 | + return resultSelector; | |
| 11532 | +}; | |
| 11533 | + | |
| 11534 | +/***/ }), | |
| 11535 | + | |
| 11536 | +/***/ "../node_modules/@babel/runtime/helpers/esm/defineProperty.js": | |
| 11537 | +/*!********************************************************************!*\ | |
| 11538 | + !*** ../node_modules/@babel/runtime/helpers/esm/defineProperty.js ***! | |
| 11539 | + \********************************************************************/ | |
| 11540 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11541 | + | |
| 11542 | +"use strict"; | |
| 11543 | +__webpack_require__.r(__webpack_exports__); | |
| 11544 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11545 | +/* harmony export */ "default": () => (/* binding */ _defineProperty) | |
| 11546 | +/* harmony export */ }); | |
| 11547 | +function _defineProperty(obj, key, value) { | |
| 11548 | + if (key in obj) { | |
| 11549 | + Object.defineProperty(obj, key, { | |
| 11550 | + value: value, | |
| 11551 | + enumerable: true, | |
| 11552 | + configurable: true, | |
| 11553 | + writable: true | |
| 11554 | + }); | |
| 11555 | + } else { | |
| 11556 | + obj[key] = value; | |
| 11557 | + } | |
| 11558 | + | |
| 11559 | + return obj; | |
| 11560 | +} | |
| 11561 | + | |
| 11562 | +/***/ }), | |
| 11563 | + | |
| 11564 | +/***/ "../node_modules/@babel/runtime/helpers/esm/objectSpread2.js": | |
| 11565 | +/*!*******************************************************************!*\ | |
| 11566 | + !*** ../node_modules/@babel/runtime/helpers/esm/objectSpread2.js ***! | |
| 11567 | + \*******************************************************************/ | |
| 11568 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11569 | + | |
| 11570 | +"use strict"; | |
| 11571 | +__webpack_require__.r(__webpack_exports__); | |
| 11572 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11573 | +/* harmony export */ "default": () => (/* binding */ _objectSpread2) | |
| 11574 | +/* harmony export */ }); | |
| 11575 | +/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty.js */ "../node_modules/@babel/runtime/helpers/esm/defineProperty.js"); | |
| 11576 | + | |
| 11577 | + | |
| 11578 | +function ownKeys(object, enumerableOnly) { | |
| 11579 | + var keys = Object.keys(object); | |
| 11580 | + | |
| 11581 | + if (Object.getOwnPropertySymbols) { | |
| 11582 | + var symbols = Object.getOwnPropertySymbols(object); | |
| 11583 | + | |
| 11584 | + if (enumerableOnly) { | |
| 11585 | + symbols = symbols.filter(function (sym) { | |
| 11586 | + return Object.getOwnPropertyDescriptor(object, sym).enumerable; | |
| 11587 | + }); | |
| 11588 | + } | |
| 11589 | + | |
| 11590 | + keys.push.apply(keys, symbols); | |
| 11591 | + } | |
| 11592 | + | |
| 11593 | + return keys; | |
| 11594 | +} | |
| 11595 | + | |
| 11596 | +function _objectSpread2(target) { | |
| 11597 | + for (var i = 1; i < arguments.length; i++) { | |
| 11598 | + var source = arguments[i] != null ? arguments[i] : {}; | |
| 11599 | + | |
| 11600 | + if (i % 2) { | |
| 11601 | + ownKeys(Object(source), true).forEach(function (key) { | |
| 11602 | + (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); | |
| 11603 | + }); | |
| 11604 | + } else if (Object.getOwnPropertyDescriptors) { | |
| 11605 | + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); | |
| 11606 | + } else { | |
| 11607 | + ownKeys(Object(source)).forEach(function (key) { | |
| 11608 | + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | |
| 11609 | + }); | |
| 11610 | + } | |
| 11611 | + } | |
| 11612 | + | |
| 11613 | + return target; | |
| 11614 | +} | |
| 11615 | + | |
| 3406 | 11616 | /***/ }) |
| 3407 | 11617 | |
| 3408 | 11618 | /******/ }); |
| 3409 | 11619 | /************************************************************************/ |
| @@ -3431,10 +11641,39 @@ | ||
| 3431 | 11641 | /******/ return module.exports; |
| 3432 | 11642 | /******/ } |
| 3433 | 11643 | /******/ |
| 3434 | 11644 | /************************************************************************/ |
| 11645 | +/******/ /* webpack/runtime/define property getters */ | |
| 11646 | +/******/ (() => { | |
| 11647 | +/******/ // define getter functions for harmony exports | |
| 11648 | +/******/ __webpack_require__.d = (exports, definition) => { | |
| 11649 | +/******/ for(var key in definition) { | |
| 11650 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 11651 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 11652 | +/******/ } | |
| 11653 | +/******/ } | |
| 11654 | +/******/ }; | |
| 11655 | +/******/ })(); | |
| 11656 | +/******/ | |
| 11657 | +/******/ /* webpack/runtime/hasOwnProperty shorthand */ | |
| 11658 | +/******/ (() => { | |
| 11659 | +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 11660 | +/******/ })(); | |
| 11661 | +/******/ | |
| 11662 | +/******/ /* webpack/runtime/make namespace object */ | |
| 11663 | +/******/ (() => { | |
| 11664 | +/******/ // define __esModule on exports | |
| 11665 | +/******/ __webpack_require__.r = (exports) => { | |
| 11666 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 11667 | +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
| 11668 | +/******/ } | |
| 11669 | +/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
| 11670 | +/******/ }; | |
| 11671 | +/******/ })(); | |
| 11672 | +/******/ | |
| 11673 | +/************************************************************************/ | |
| 3435 | 11674 | var __webpack_exports__ = {}; |
| 3436 | -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. | |
| 11675 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 3437 | 11676 | (() => { |
| 3438 | 11677 | "use strict"; |
| 3439 | 11678 | /*!*******************************************!*\ |
| 3440 | 11679 | !*** ../core/common/assets/js/modules.js ***! |
| @@ -3440,45 +11679,45 @@ | ||
| 3440 | 11679 | !*** ../core/common/assets/js/modules.js ***! |
| 3441 | 11680 | \*******************************************/ |
| 3442 | 11681 | |
| 3443 | 11682 | |
| 3444 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 11683 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 11684 | + | |
| 3445 | 11685 | var _modules = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/modules */ "../assets/dev/js/modules/modules.js")); |
| 11686 | + | |
| 3446 | 11687 | var _layout = _interopRequireDefault(__webpack_require__(/*! ./views/modal/layout */ "../core/common/assets/js/views/modal/layout.js")); |
| 11688 | + | |
| 3447 | 11689 | var _componentBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-base */ "../modules/web-cli/assets/js/modules/component-base.js")); |
| 11690 | + | |
| 3448 | 11691 | var _componentModalBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-modal-base */ "../modules/web-cli/assets/js/modules/component-modal-base.js")); |
| 11692 | + | |
| 3449 | 11693 | var _hookBreak = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/hook-break */ "../modules/web-cli/assets/js/modules/hook-break.js")); |
| 11694 | + | |
| 3450 | 11695 | _modules.default.common = { |
| 3451 | - /** | |
| 3452 | - * @deprecated since 2.9.0, use `$e.modules.ComponentBase` instead. | |
| 3453 | - */ | |
| 3454 | 11696 | get Component() { |
| 3455 | 11697 | // `elementorCommon` isn't available during it self initialize. |
| 3456 | 11698 | setTimeout(function () { |
| 3457 | - elementorDevTools.deprecation.deprecated('elementorModules.common.Component', '2.9.0', '$e.modules.ComponentBase'); | |
| 11699 | + elementorCommon.helpers.softDeprecated('elementorModules.common.Component', '2.9.0', '$e.modules.ComponentBase'); | |
| 3458 | 11700 | }, 2000); |
| 3459 | 11701 | return _componentBase.default; |
| 3460 | 11702 | }, |
| 3461 | - /** | |
| 3462 | - * @deprecated since 2.9.0, use `$e.modules.ComponentModalBase` instead. | |
| 3463 | - */ | |
| 11703 | + | |
| 3464 | 11704 | get ComponentModal() { |
| 3465 | 11705 | // `elementorCommon` isn't available during it self initialize. |
| 3466 | 11706 | setTimeout(function () { |
| 3467 | - elementorDevTools.deprecation.deprecated('elementorModules.common.ComponentModal', '2.9.0', '$e.modules.ComponentModalBase'); | |
| 11707 | + elementorCommon.helpers.softDeprecated('elementorModules.common.ComponentModal', '2.9.0', '$e.modules.ComponentModalBase'); | |
| 3468 | 11708 | }, 2000); |
| 3469 | 11709 | return _componentModalBase.default; |
| 3470 | 11710 | }, |
| 3471 | - /** | |
| 3472 | - * @deprecated since 2.9.0, use `$e.modules.HookBreak` instead. | |
| 3473 | - */ | |
| 11711 | + | |
| 3474 | 11712 | get HookBreak() { |
| 3475 | 11713 | // `elementorCommon` isn't available during it self initialize. |
| 3476 | 11714 | setTimeout(function () { |
| 3477 | - elementorDevTools.deprecation.deprecated('elementorModules.common.HookBreak', '2.9.0', '$e.modules.HookBreak'); | |
| 11715 | + elementorCommon.helpers.softDeprecated('elementorModules.common.HookBreak', '2.9.0', '$e.modules.HookBreak'); | |
| 3478 | 11716 | }, 2000); |
| 3479 | 11717 | return _hookBreak.default; |
| 3480 | 11718 | }, |
| 11719 | + | |
| 3481 | 11720 | views: { |
| 3482 | 11721 | modal: { |
| 3483 | 11722 | Layout: _layout.default |
| 3484 | 11723 | } |