| @@ -1,1852 +1,11673 @@ | ||
| 1 | -(function(_reduxjs_toolkit) { | |
| 1 | +/*! elementor - v3.5.6 - 28-02-2022 */ | |
| 2 | +/******/ (() => { // webpackBootstrap | |
| 3 | +/******/ var __webpack_modules__ = ({ | |
| 2 | 4 | |
| 3 | -//#region \0rolldown/runtime.js | |
| 4 | - var __create = Object.create; | |
| 5 | - var __defProp = Object.defineProperty; | |
| 6 | - var __name = (target, value) => __defProp(target, "name", { | |
| 7 | - value, | |
| 8 | - configurable: true | |
| 9 | - }); | |
| 10 | - var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | |
| 11 | - var __getOwnPropNames = Object.getOwnPropertyNames; | |
| 12 | - var __getProtoOf = Object.getPrototypeOf; | |
| 13 | - var __hasOwnProp = Object.prototype.hasOwnProperty; | |
| 14 | - var __esmMin = (fn, res, err) => () => { | |
| 15 | - if (err) throw err[0]; | |
| 16 | - try { | |
| 17 | - return fn && (res = fn(fn = 0)), res; | |
| 18 | - } catch (e) { | |
| 19 | - throw err = [e], e; | |
| 20 | - } | |
| 21 | - }; | |
| 22 | - var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports); | |
| 23 | - var __exportAll = (all, no_symbols) => { | |
| 24 | - let target = {}; | |
| 25 | - for (var name in all) { | |
| 26 | - __defProp(target, name, { | |
| 27 | - get: all[name], | |
| 28 | - enumerable: true | |
| 29 | - }); | |
| 30 | - } | |
| 31 | - if (!no_symbols) { | |
| 32 | - __defProp(target, Symbol.toStringTag, { value: "Module" }); | |
| 33 | - } | |
| 34 | - return target; | |
| 35 | - }; | |
| 36 | - var __copyProps = (to, from, except, desc) => { | |
| 37 | - if (from && typeof from === "object" || typeof from === "function") { | |
| 38 | - for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) { | |
| 39 | - key = keys[i]; | |
| 40 | - if (!__hasOwnProp.call(to, key) && key !== except) { | |
| 41 | - __defProp(to, key, { | |
| 42 | - get: ((k) => from[k]).bind(null, key), | |
| 43 | - enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable | |
| 44 | - }); | |
| 45 | - } | |
| 46 | - } | |
| 47 | - } | |
| 48 | - return to; | |
| 49 | - }; | |
| 50 | - var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { | |
| 51 | - value: mod, | |
| 52 | - enumerable: true | |
| 53 | - }) : target, mod)); | |
| 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__) => { | |
| 54 | 10 | |
| 55 | -//#endregion | |
| 11 | +module.exports = __webpack_require__(/*! core-js/library/fn/array/from */ "../node_modules/core-js/library/fn/array/from.js"); | |
| 56 | 12 | |
| 57 | -//#region node_modules/@babel/runtime/helpers/esm/classCallCheck.js | |
| 58 | - function _classCallCheck(a, n) { | |
| 59 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 60 | - } | |
| 13 | +/***/ }), | |
| 61 | 14 | |
| 62 | -//#endregion | |
| 63 | -//#region node_modules/@babel/runtime/helpers/esm/typeof.js | |
| 64 | - function _typeof(o) { | |
| 65 | - "@babel/helpers - typeof"; | |
| 66 | - return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 67 | - return typeof o; | |
| 68 | - } : function(o) { | |
| 69 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 70 | - }, _typeof(o); | |
| 71 | - } | |
| 72 | - var init_typeof = __esmMin((() => {})); | |
| 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__) => { | |
| 73 | 20 | |
| 74 | -//#endregion | |
| 75 | -//#region node_modules/@babel/runtime/helpers/esm/toPrimitive.js | |
| 76 | - init_typeof(); | |
| 77 | - function toPrimitive(t, r) { | |
| 78 | - if ("object" != _typeof(t) || !t) return t; | |
| 79 | - var e = t[Symbol.toPrimitive]; | |
| 80 | - if (void 0 !== e) { | |
| 81 | - var i = e.call(t, r || "default"); | |
| 82 | - if ("object" != _typeof(i)) return i; | |
| 83 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 84 | - } | |
| 85 | - return ("string" === r ? String : Number)(t); | |
| 86 | - } | |
| 21 | +module.exports = __webpack_require__(/*! core-js/library/fn/array/is-array */ "../node_modules/core-js/library/fn/array/is-array.js"); | |
| 87 | 22 | |
| 88 | -//#endregion | |
| 89 | -//#region node_modules/@babel/runtime/helpers/esm/toPropertyKey.js | |
| 90 | - init_typeof(); | |
| 91 | - function toPropertyKey(t) { | |
| 92 | - var i = toPrimitive(t, "string"); | |
| 93 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 94 | - } | |
| 23 | +/***/ }), | |
| 95 | 24 | |
| 96 | -//#endregion | |
| 97 | -//#region node_modules/@babel/runtime/helpers/esm/createClass.js | |
| 98 | - function _defineProperties(e, r) { | |
| 99 | - for (var t = 0; t < r.length; t++) { | |
| 100 | - var o = r[t]; | |
| 101 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 102 | - } | |
| 103 | - } | |
| 104 | - function _createClass(e, r, t) { | |
| 105 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; | |
| 106 | - } | |
| 25 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js": | |
| 26 | +/*!***********************************************************************!*\ | |
| 27 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/create.js ***! | |
| 28 | + \***********************************************************************/ | |
| 29 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 107 | 30 | |
| 108 | -//#endregion | |
| 109 | -//#region node_modules/@babel/runtime/helpers/esm/defineProperty.js | |
| 110 | - function _defineProperty(e, r, t) { | |
| 111 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 112 | - value: t, | |
| 113 | - enumerable: !0, | |
| 114 | - configurable: !0, | |
| 115 | - writable: !0 | |
| 116 | - }) : e[r] = t, e; | |
| 117 | - } | |
| 31 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/create */ "../node_modules/core-js/library/fn/object/create.js"); | |
| 118 | 32 | |
| 119 | -//#endregion | |
| 120 | -//#region node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js | |
| 121 | - function _assertThisInitialized(e) { | |
| 122 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 123 | - return e; | |
| 124 | - } | |
| 33 | +/***/ }), | |
| 125 | 34 | |
| 126 | -//#endregion | |
| 127 | -//#region node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js | |
| 128 | - init_typeof(); | |
| 129 | - function _possibleConstructorReturn(t, e) { | |
| 130 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 131 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 132 | - return _assertThisInitialized(t); | |
| 133 | - } | |
| 35 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/define-properties.js": | |
| 36 | +/*!**********************************************************************************!*\ | |
| 37 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/define-properties.js ***! | |
| 38 | + \**********************************************************************************/ | |
| 39 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 134 | 40 | |
| 135 | -//#endregion | |
| 136 | -//#region node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js | |
| 137 | - function _getPrototypeOf(t) { | |
| 138 | - return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) { | |
| 139 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 140 | - }, _getPrototypeOf(t); | |
| 141 | - } | |
| 41 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/define-properties */ "../node_modules/core-js/library/fn/object/define-properties.js"); | |
| 142 | 42 | |
| 143 | -//#endregion | |
| 144 | -//#region node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js | |
| 145 | - function _setPrototypeOf(t, e) { | |
| 146 | - return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) { | |
| 147 | - return t.__proto__ = e, t; | |
| 148 | - }, _setPrototypeOf(t, e); | |
| 149 | - } | |
| 43 | +/***/ }), | |
| 150 | 44 | |
| 151 | -//#endregion | |
| 152 | -//#region node_modules/@babel/runtime/helpers/esm/inherits.js | |
| 153 | - function _inherits(t, e) { | |
| 154 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 155 | - t.prototype = Object.create(e && e.prototype, { constructor: { | |
| 156 | - value: t, | |
| 157 | - writable: !0, | |
| 158 | - configurable: !0 | |
| 159 | - } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); | |
| 160 | - } | |
| 45 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js": | |
| 46 | +/*!********************************************************************************!*\ | |
| 47 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js ***! | |
| 48 | + \********************************************************************************/ | |
| 49 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 161 | 50 | |
| 162 | -//#endregion | |
| 163 | -//#region node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js | |
| 164 | - function _arrayWithHoles(r) { | |
| 165 | - if (Array.isArray(r)) return r; | |
| 166 | - } | |
| 51 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/define-property */ "../node_modules/core-js/library/fn/object/define-property.js"); | |
| 167 | 52 | |
| 168 | -//#endregion | |
| 169 | -//#region node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js | |
| 170 | - function _iterableToArrayLimit(r, l) { | |
| 171 | - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 172 | - if (null != t) { | |
| 173 | - var e; | |
| 174 | - var n; | |
| 175 | - var i; | |
| 176 | - var u; | |
| 177 | - var a = []; | |
| 178 | - var f = !0; | |
| 179 | - var o = !1; | |
| 180 | - try { | |
| 181 | - if (i = (t = t.call(r)).next, 0 === l) { | |
| 182 | - if (Object(t) !== t) return; | |
| 183 | - f = !1; | |
| 184 | - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 185 | - } catch (r) { | |
| 186 | - o = !0, n = r; | |
| 187 | - } finally { | |
| 188 | - try { | |
| 189 | - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 190 | - } finally { | |
| 191 | - if (o) throw n; | |
| 192 | - } | |
| 193 | - } | |
| 194 | - return a; | |
| 195 | - } | |
| 196 | - } | |
| 53 | +/***/ }), | |
| 197 | 54 | |
| 198 | -//#endregion | |
| 199 | -//#region node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js | |
| 200 | - function _arrayLikeToArray$1(r, a) { | |
| 201 | - (null == a || a > r.length) && (a = r.length); | |
| 202 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 203 | - return n; | |
| 204 | - } | |
| 205 | - __name(_arrayLikeToArray$1, "_arrayLikeToArray"); | |
| 55 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/entries.js": | |
| 56 | +/*!************************************************************************!*\ | |
| 57 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/entries.js ***! | |
| 58 | + \************************************************************************/ | |
| 59 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 206 | 60 | |
| 207 | -//#endregion | |
| 208 | -//#region node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js | |
| 209 | - function _unsupportedIterableToArray$1(r, a) { | |
| 210 | - if (r) { | |
| 211 | - if ("string" == typeof r) return _arrayLikeToArray$1(r, a); | |
| 212 | - var t = {}.toString.call(r).slice(8, -1); | |
| 213 | - 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$1(r, a) : void 0; | |
| 214 | - } | |
| 215 | - } | |
| 216 | - __name(_unsupportedIterableToArray$1, "_unsupportedIterableToArray"); | |
| 61 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/entries */ "../node_modules/core-js/library/fn/object/entries.js"); | |
| 217 | 62 | |
| 218 | -//#endregion | |
| 219 | -//#region node_modules/@babel/runtime/helpers/esm/nonIterableRest.js | |
| 220 | - function _nonIterableRest() { | |
| 221 | - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 222 | - } | |
| 63 | +/***/ }), | |
| 223 | 64 | |
| 224 | -//#endregion | |
| 225 | -//#region node_modules/@babel/runtime/helpers/esm/slicedToArray.js | |
| 226 | - function _slicedToArray(r, e) { | |
| 227 | - return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$1(r, e) || _nonIterableRest(); | |
| 228 | - } | |
| 65 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js": | |
| 66 | +/*!********************************************************************************************!*\ | |
| 67 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js ***! | |
| 68 | + \********************************************************************************************/ | |
| 69 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 229 | 70 | |
| 230 | -//#endregion | |
| 231 | -//#region node_modules/@babel/runtime/helpers/esm/superPropBase.js | |
| 232 | - function _superPropBase(t, o) { | |
| 233 | - for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); | |
| 234 | - return t; | |
| 235 | - } | |
| 71 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/get-own-property-descriptor */ "../node_modules/core-js/library/fn/object/get-own-property-descriptor.js"); | |
| 236 | 72 | |
| 237 | -//#endregion | |
| 238 | -//#region node_modules/@babel/runtime/helpers/esm/get.js | |
| 239 | - function _get() { | |
| 240 | - return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function(e, t, r) { | |
| 241 | - var p = _superPropBase(e, t); | |
| 242 | - if (p) { | |
| 243 | - var n = Object.getOwnPropertyDescriptor(p, t); | |
| 244 | - return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; | |
| 245 | - } | |
| 246 | - }, _get.apply(null, arguments); | |
| 247 | - } | |
| 73 | +/***/ }), | |
| 248 | 74 | |
| 249 | -//#endregion | |
| 250 | -//#region assets/dev/js/modules/imports/instance-type.js | |
| 251 | - function _superPropGet(t, o, e, r) { | |
| 252 | - var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); | |
| 253 | - return 2 & r && "function" == typeof p ? function(t) { | |
| 254 | - return p.apply(e, t); | |
| 255 | - } : p; | |
| 256 | - } | |
| 257 | - var InstanceType = /*#__PURE__*/ function() { | |
| 258 | - function InstanceType() { | |
| 259 | - var _this = this; | |
| 260 | - _classCallCheck(this, InstanceType); | |
| 261 | - var target = this instanceof InstanceType ? this.constructor : void 0; | |
| 262 | - var prototypes = []; | |
| 263 | - while (target.__proto__ && target.__proto__.name) { | |
| 264 | - prototypes.push(target.__proto__); | |
| 265 | - target = target.__proto__; | |
| 266 | - } | |
| 267 | - prototypes.reverse().forEach(function(proto) { | |
| 268 | - return _this instanceof proto; | |
| 269 | - }); | |
| 270 | - } | |
| 271 | - return _createClass(InstanceType, null, [{ | |
| 272 | - key: Symbol.hasInstance, | |
| 273 | - value: function value(target) { | |
| 274 | - /** | |
| 275 | - * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 276 | - * its give's opportunity to mange capabilities of instanceOf operator. | |
| 277 | - * saving current class each time will give option later to handle instanceOf manually. | |
| 278 | - */ | |
| 279 | - var result = _superPropGet(InstanceType, Symbol.hasInstance, this, 2)([target]); | |
| 280 | - if (target && !target.constructor.getInstanceType) return result; | |
| 281 | - if (target) { | |
| 282 | - if (!target.instanceTypes) target.instanceTypes = []; | |
| 283 | - if (!result) { | |
| 284 | - if (this.getInstanceType() === target.constructor.getInstanceType()) result = true; | |
| 285 | - } | |
| 286 | - if (result) { | |
| 287 | - var name = this.getInstanceType === InstanceType.getInstanceType ? "BaseInstanceType" : this.getInstanceType(); | |
| 288 | - if (-1 === target.instanceTypes.indexOf(name)) target.instanceTypes.push(name); | |
| 289 | - } | |
| 290 | - } | |
| 291 | - if (!result && target) result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 292 | - return result; | |
| 293 | - } | |
| 294 | - }, { | |
| 295 | - key: "getInstanceType", | |
| 296 | - value: function getInstanceType() { | |
| 297 | - elementorModules.ForceMethodImplementation(); | |
| 298 | - } | |
| 299 | - }]); | |
| 300 | - }(); | |
| 75 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptors.js": | |
| 76 | +/*!*********************************************************************************************!*\ | |
| 77 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptors.js ***! | |
| 78 | + \*********************************************************************************************/ | |
| 79 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 301 | 80 | |
| 302 | -//#endregion | |
| 303 | -//#region assets/dev/js/editor/utils/is-instanceof.js | |
| 304 | - function _createForOfIteratorHelper(r, e) { | |
| 305 | - var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 306 | - if (!t) { | |
| 307 | - if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { | |
| 308 | - t && (r = t); | |
| 309 | - var _n = 0; | |
| 310 | - var F = function F() {}; | |
| 311 | - return { | |
| 312 | - s: F, | |
| 313 | - n: function n() { | |
| 314 | - return _n >= r.length ? { done: !0 } : { | |
| 315 | - done: !1, | |
| 316 | - value: r[_n++] | |
| 317 | - }; | |
| 318 | - }, | |
| 319 | - e: function e(r) { | |
| 320 | - throw r; | |
| 321 | - }, | |
| 322 | - f: F | |
| 323 | - }; | |
| 324 | - } | |
| 325 | - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 326 | - } | |
| 327 | - var o; | |
| 328 | - var a = !0; | |
| 329 | - var u = !1; | |
| 330 | - return { | |
| 331 | - s: function s() { | |
| 332 | - t = t.call(r); | |
| 333 | - }, | |
| 334 | - n: function n() { | |
| 335 | - var r = t.next(); | |
| 336 | - return a = r.done, r; | |
| 337 | - }, | |
| 338 | - e: function e(r) { | |
| 339 | - u = !0, o = r; | |
| 340 | - }, | |
| 341 | - f: function f() { | |
| 342 | - try { | |
| 343 | - a || null == t.return || t.return(); | |
| 344 | - } finally { | |
| 345 | - if (u) throw o; | |
| 346 | - } | |
| 347 | - } | |
| 348 | - }; | |
| 349 | - } | |
| 350 | - function _unsupportedIterableToArray(r, a) { | |
| 351 | - if (r) { | |
| 352 | - if ("string" == typeof r) return _arrayLikeToArray(r, a); | |
| 353 | - var t = {}.toString.call(r).slice(8, -1); | |
| 354 | - 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; | |
| 355 | - } | |
| 356 | - } | |
| 357 | - function _arrayLikeToArray(r, a) { | |
| 358 | - (null == a || a > r.length) && (a = r.length); | |
| 359 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 360 | - return n; | |
| 361 | - } | |
| 362 | - /** | |
| 363 | - * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved | |
| 364 | - * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can | |
| 365 | - * check whether it's instanceof by using the objects constructor and prototype names. | |
| 366 | - * | |
| 367 | - * @param object | |
| 368 | - * @param constructors | |
| 369 | - * @return {boolean} | |
| 370 | - */ | |
| 371 | - var is_instanceof_default = /* @__PURE__ */ __name((function(object, constructors) { | |
| 372 | - constructors = Array.isArray(constructors) ? constructors : [constructors]; | |
| 373 | - var _iterator = _createForOfIteratorHelper(constructors); | |
| 374 | - var _step; | |
| 375 | - try { | |
| 376 | - for (_iterator.s(); !(_step = _iterator.n()).done;) { | |
| 377 | - var constructor = _step.value; | |
| 378 | - if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) return true; | |
| 379 | - } | |
| 380 | - } catch (err) { | |
| 381 | - _iterator.e(err); | |
| 382 | - } finally { | |
| 383 | - _iterator.f(); | |
| 384 | - } | |
| 385 | - return false; | |
| 386 | - }), "default"); | |
| 81 | +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"); | |
| 387 | 82 | |
| 388 | -//#endregion | |
| 389 | -//#region assets/dev/js/modules/imports/args-object.js | |
| 390 | - init_typeof(); | |
| 391 | - function _callSuper$9(t, o, e) { | |
| 392 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$10() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 393 | - } | |
| 394 | - __name(_callSuper$9, "_callSuper"); | |
| 395 | - function _isNativeReflectConstruct$10() { | |
| 396 | - try { | |
| 397 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 398 | - } catch (t) {} | |
| 399 | - return (_isNativeReflectConstruct$10 = function _isNativeReflectConstruct() { | |
| 400 | - return !!t; | |
| 401 | - })(); | |
| 402 | - } | |
| 403 | - __name(_isNativeReflectConstruct$10, "_isNativeReflectConstruct"); | |
| 404 | - var ArgsObject = /*#__PURE__*/ function(_InstanceType) { | |
| 405 | - /** | |
| 406 | - * Function constructor(). | |
| 407 | - * | |
| 408 | - * Create ArgsObject. | |
| 409 | - * | |
| 410 | - * @param {{}} args | |
| 411 | - */ | |
| 412 | - function ArgsObject(args) { | |
| 413 | - var _this; | |
| 414 | - _classCallCheck(this, ArgsObject); | |
| 415 | - _this = _callSuper$9(this, ArgsObject); | |
| 416 | - _this.args = args; | |
| 417 | - return _this; | |
| 418 | - } | |
| 419 | - /** | |
| 420 | - * Function requireArgument(). | |
| 421 | - * | |
| 422 | - * Validate property in args. | |
| 423 | - * | |
| 424 | - * @param {string} property | |
| 425 | - * @param {{}} args | |
| 426 | - * | |
| 427 | - * @throws {Error} | |
| 428 | - */ | |
| 429 | - _inherits(ArgsObject, _InstanceType); | |
| 430 | - return _createClass(ArgsObject, [ | |
| 431 | - { | |
| 432 | - key: "requireArgument", | |
| 433 | - value: function requireArgument(property) { | |
| 434 | - var args = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.args; | |
| 435 | - if (!Object.prototype.hasOwnProperty.call(args, property)) throw Error("".concat(property, " is required.")); | |
| 436 | - } | |
| 437 | - }, | |
| 438 | - { | |
| 439 | - key: "requireArgumentType", | |
| 440 | - value: function requireArgumentType(property, type) { | |
| 441 | - var args = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : this.args; | |
| 442 | - this.requireArgument(property, args); | |
| 443 | - if (_typeof(args[property]) !== type) throw Error("".concat(property, " invalid type: ").concat(type, ".")); | |
| 444 | - } | |
| 445 | - }, | |
| 446 | - { | |
| 447 | - key: "requireArgumentInstance", | |
| 448 | - value: function requireArgumentInstance(property, instance) { | |
| 449 | - var args = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : this.args; | |
| 450 | - this.requireArgument(property, args); | |
| 451 | - if (!(args[property] instanceof instance) && !is_instanceof_default(args[property], instance)) throw Error("".concat(property, " invalid instance.")); | |
| 452 | - } | |
| 453 | - }, | |
| 454 | - { | |
| 455 | - key: "requireArgumentConstructor", | |
| 456 | - value: function requireArgumentConstructor(property, type) { | |
| 457 | - var args = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : this.args; | |
| 458 | - this.requireArgument(property, args); | |
| 459 | - if (args[property].constructor.toString() !== type.prototype.constructor.toString()) throw Error("".concat(property, " invalid constructor type.")); | |
| 460 | - } | |
| 461 | - } | |
| 462 | - ], [{ | |
| 463 | - key: "getInstanceType", | |
| 464 | - value: function getInstanceType() { | |
| 465 | - return "ArgsObject"; | |
| 466 | - } | |
| 467 | - }]); | |
| 468 | - }(InstanceType); | |
| 83 | +/***/ }), | |
| 469 | 84 | |
| 470 | -//#endregion | |
| 471 | -//#region modules/web-cli/assets/js/utils/console.js | |
| 472 | - var Console = /*#__PURE__*/ function() { | |
| 473 | - function Console() { | |
| 474 | - _classCallCheck(this, Console); | |
| 475 | - } | |
| 476 | - return _createClass(Console, null, [{ | |
| 477 | - key: "error", | |
| 478 | - value: function error(message) { | |
| 479 | - if ($e.devTools) $e.devTools.log.error(message); | |
| 480 | - if (!(message instanceof $e.modules.HookBreak)) console.error(message); | |
| 481 | - } | |
| 482 | - }, { | |
| 483 | - key: "warn", | |
| 484 | - value: function warn() { | |
| 485 | - var _console; | |
| 486 | - var style = "font-size: 12px; background-image: url(\"".concat(elementorWebCliConfig.urls.assets, "images/logo-icon.png\"); background-repeat: no-repeat; background-size: contain;"); | |
| 487 | - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key]; | |
| 488 | - args.unshift("%c %c", style, ""); | |
| 489 | - (_console = console).warn.apply(_console, args); | |
| 490 | - } | |
| 491 | - }]); | |
| 492 | - }(); | |
| 85 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-symbols.js": | |
| 86 | +/*!*****************************************************************************************!*\ | |
| 87 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-symbols.js ***! | |
| 88 | + \*****************************************************************************************/ | |
| 89 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 493 | 90 | |
| 494 | -//#endregion | |
| 495 | -//#region modules/web-cli/assets/js/utils/deprecation.js | |
| 91 | +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"); | |
| 92 | + | |
| 93 | +/***/ }), | |
| 94 | + | |
| 95 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js": | |
| 96 | +/*!*********************************************************************************!*\ | |
| 97 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js ***! | |
| 98 | + \*********************************************************************************/ | |
| 99 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 100 | + | |
| 101 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/get-prototype-of */ "../node_modules/core-js/library/fn/object/get-prototype-of.js"); | |
| 102 | + | |
| 103 | +/***/ }), | |
| 104 | + | |
| 105 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/keys.js": | |
| 106 | +/*!*********************************************************************!*\ | |
| 107 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/keys.js ***! | |
| 108 | + \*********************************************************************/ | |
| 109 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 110 | + | |
| 111 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/keys */ "../node_modules/core-js/library/fn/object/keys.js"); | |
| 112 | + | |
| 113 | +/***/ }), | |
| 114 | + | |
| 115 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js": | |
| 116 | +/*!*********************************************************************************!*\ | |
| 117 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js ***! | |
| 118 | + \*********************************************************************************/ | |
| 119 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 120 | + | |
| 121 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/set-prototype-of */ "../node_modules/core-js/library/fn/object/set-prototype-of.js"); | |
| 122 | + | |
| 123 | +/***/ }), | |
| 124 | + | |
| 125 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/object/values.js": | |
| 126 | +/*!***********************************************************************!*\ | |
| 127 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/object/values.js ***! | |
| 128 | + \***********************************************************************/ | |
| 129 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 130 | + | |
| 131 | +module.exports = __webpack_require__(/*! core-js/library/fn/object/values */ "../node_modules/core-js/library/fn/object/values.js"); | |
| 132 | + | |
| 133 | +/***/ }), | |
| 134 | + | |
| 135 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/promise.js": | |
| 136 | +/*!*****************************************************************!*\ | |
| 137 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/promise.js ***! | |
| 138 | + \*****************************************************************/ | |
| 139 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 140 | + | |
| 141 | +module.exports = __webpack_require__(/*! core-js/library/fn/promise */ "../node_modules/core-js/library/fn/promise.js"); | |
| 142 | + | |
| 143 | +/***/ }), | |
| 144 | + | |
| 145 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js": | |
| 146 | +/*!***************************************************************************!*\ | |
| 147 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js ***! | |
| 148 | + \***************************************************************************/ | |
| 149 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 150 | + | |
| 151 | +module.exports = __webpack_require__(/*! core-js/library/fn/reflect/construct */ "../node_modules/core-js/library/fn/reflect/construct.js"); | |
| 152 | + | |
| 153 | +/***/ }), | |
| 154 | + | |
| 155 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js": | |
| 156 | +/*!*********************************************************************!*\ | |
| 157 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js ***! | |
| 158 | + \*********************************************************************/ | |
| 159 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 160 | + | |
| 161 | +module.exports = __webpack_require__(/*! core-js/library/fn/reflect/get */ "../node_modules/core-js/library/fn/reflect/get.js"); | |
| 162 | + | |
| 163 | +/***/ }), | |
| 164 | + | |
| 165 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js": | |
| 166 | +/*!****************************************************************!*\ | |
| 167 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol.js ***! | |
| 168 | + \****************************************************************/ | |
| 169 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 170 | + | |
| 171 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol */ "../node_modules/core-js/library/fn/symbol/index.js"); | |
| 172 | + | |
| 173 | +/***/ }), | |
| 174 | + | |
| 175 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol/has-instance.js": | |
| 176 | +/*!*****************************************************************************!*\ | |
| 177 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol/has-instance.js ***! | |
| 178 | + \*****************************************************************************/ | |
| 179 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 180 | + | |
| 181 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol/has-instance */ "../node_modules/core-js/library/fn/symbol/has-instance.js"); | |
| 182 | + | |
| 183 | +/***/ }), | |
| 184 | + | |
| 185 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js": | |
| 186 | +/*!*************************************************************************!*\ | |
| 187 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js ***! | |
| 188 | + \*************************************************************************/ | |
| 189 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 190 | + | |
| 191 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol/iterator */ "../node_modules/core-js/library/fn/symbol/iterator.js"); | |
| 192 | + | |
| 193 | +/***/ }), | |
| 194 | + | |
| 195 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/symbol/to-string-tag.js": | |
| 196 | +/*!******************************************************************************!*\ | |
| 197 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/symbol/to-string-tag.js ***! | |
| 198 | + \******************************************************************************/ | |
| 199 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 200 | + | |
| 201 | +module.exports = __webpack_require__(/*! core-js/library/fn/symbol/to-string-tag */ "../node_modules/core-js/library/fn/symbol/to-string-tag.js"); | |
| 202 | + | |
| 203 | +/***/ }), | |
| 204 | + | |
| 205 | +/***/ "../node_modules/@babel/runtime-corejs2/core-js/weak-map.js": | |
| 206 | +/*!******************************************************************!*\ | |
| 207 | + !*** ../node_modules/@babel/runtime-corejs2/core-js/weak-map.js ***! | |
| 208 | + \******************************************************************/ | |
| 209 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 210 | + | |
| 211 | +module.exports = __webpack_require__(/*! core-js/library/fn/weak-map */ "../node_modules/core-js/library/fn/weak-map.js"); | |
| 212 | + | |
| 213 | +/***/ }), | |
| 214 | + | |
| 215 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js": | |
| 216 | +/*!**************************************************************************!*\ | |
| 217 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js ***! | |
| 218 | + \**************************************************************************/ | |
| 219 | +/***/ ((module) => { | |
| 220 | + | |
| 221 | +function _arrayLikeToArray(arr, len) { | |
| 222 | + if (len == null || len > arr.length) len = arr.length; | |
| 223 | + | |
| 224 | + for (var i = 0, arr2 = new Array(len); i < len; i++) { | |
| 225 | + arr2[i] = arr[i]; | |
| 226 | + } | |
| 227 | + | |
| 228 | + return arr2; | |
| 229 | +} | |
| 230 | + | |
| 231 | +module.exports = _arrayLikeToArray; | |
| 232 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 233 | + | |
| 234 | +/***/ }), | |
| 235 | + | |
| 236 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js": | |
| 237 | +/*!************************************************************************!*\ | |
| 238 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js ***! | |
| 239 | + \************************************************************************/ | |
| 240 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 241 | + | |
| 242 | +var _Array$isArray = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js"); | |
| 243 | + | |
| 244 | +function _arrayWithHoles(arr) { | |
| 245 | + if (_Array$isArray(arr)) return arr; | |
| 246 | +} | |
| 247 | + | |
| 248 | +module.exports = _arrayWithHoles; | |
| 249 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 250 | + | |
| 251 | +/***/ }), | |
| 252 | + | |
| 253 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js": | |
| 254 | +/*!*******************************************************************************!*\ | |
| 255 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js ***! | |
| 256 | + \*******************************************************************************/ | |
| 257 | +/***/ ((module) => { | |
| 258 | + | |
| 259 | +function _assertThisInitialized(self) { | |
| 260 | + if (self === void 0) { | |
| 261 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 262 | + } | |
| 263 | + | |
| 264 | + return self; | |
| 265 | +} | |
| 266 | + | |
| 267 | +module.exports = _assertThisInitialized; | |
| 268 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 269 | + | |
| 270 | +/***/ }), | |
| 271 | + | |
| 272 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js": | |
| 273 | +/*!**************************************************************************!*\ | |
| 274 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js ***! | |
| 275 | + \**************************************************************************/ | |
| 276 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 277 | + | |
| 278 | +var _Promise = __webpack_require__(/*! @babel/runtime-corejs2/core-js/promise */ "../node_modules/@babel/runtime-corejs2/core-js/promise.js"); | |
| 279 | + | |
| 280 | +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { | |
| 281 | + try { | |
| 282 | + var info = gen[key](arg); | |
| 283 | + var value = info.value; | |
| 284 | + } catch (error) { | |
| 285 | + reject(error); | |
| 286 | + return; | |
| 287 | + } | |
| 288 | + | |
| 289 | + if (info.done) { | |
| 290 | + resolve(value); | |
| 291 | + } else { | |
| 292 | + _Promise.resolve(value).then(_next, _throw); | |
| 293 | + } | |
| 294 | +} | |
| 295 | + | |
| 296 | +function _asyncToGenerator(fn) { | |
| 297 | + return function () { | |
| 298 | + var self = this, | |
| 299 | + args = arguments; | |
| 300 | + return new _Promise(function (resolve, reject) { | |
| 301 | + var gen = fn.apply(self, args); | |
| 302 | + | |
| 303 | + function _next(value) { | |
| 304 | + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); | |
| 305 | + } | |
| 306 | + | |
| 307 | + function _throw(err) { | |
| 308 | + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); | |
| 309 | + } | |
| 310 | + | |
| 311 | + _next(undefined); | |
| 312 | + }); | |
| 313 | + }; | |
| 314 | +} | |
| 315 | + | |
| 316 | +module.exports = _asyncToGenerator; | |
| 317 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 318 | + | |
| 319 | +/***/ }), | |
| 320 | + | |
| 321 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js": | |
| 322 | +/*!************************************************************************!*\ | |
| 323 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js ***! | |
| 324 | + \************************************************************************/ | |
| 325 | +/***/ ((module) => { | |
| 326 | + | |
| 327 | +function _classCallCheck(instance, Constructor) { | |
| 328 | + if (!(instance instanceof Constructor)) { | |
| 329 | + throw new TypeError("Cannot call a class as a function"); | |
| 330 | + } | |
| 331 | +} | |
| 332 | + | |
| 333 | +module.exports = _classCallCheck; | |
| 334 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 335 | + | |
| 336 | +/***/ }), | |
| 337 | + | |
| 338 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js": | |
| 339 | +/*!*********************************************************************!*\ | |
| 340 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createClass.js ***! | |
| 341 | + \*********************************************************************/ | |
| 342 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 343 | + | |
| 344 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 345 | + | |
| 346 | +function _defineProperties(target, props) { | |
| 347 | + for (var i = 0; i < props.length; i++) { | |
| 348 | + var descriptor = props[i]; | |
| 349 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 350 | + descriptor.configurable = true; | |
| 351 | + if ("value" in descriptor) descriptor.writable = true; | |
| 352 | + | |
| 353 | + _Object$defineProperty(target, descriptor.key, descriptor); | |
| 354 | + } | |
| 355 | +} | |
| 356 | + | |
| 357 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 358 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 359 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 360 | + return Constructor; | |
| 361 | +} | |
| 362 | + | |
| 363 | +module.exports = _createClass; | |
| 364 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 365 | + | |
| 366 | +/***/ }), | |
| 367 | + | |
| 368 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createForOfIteratorHelper.js": | |
| 369 | +/*!***********************************************************************************!*\ | |
| 370 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createForOfIteratorHelper.js ***! | |
| 371 | + \***********************************************************************************/ | |
| 372 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 373 | + | |
| 374 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 375 | + | |
| 376 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 377 | + | |
| 378 | +var _Array$isArray = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js"); | |
| 379 | + | |
| 380 | +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js"); | |
| 381 | + | |
| 382 | +function _createForOfIteratorHelper(o, allowArrayLike) { | |
| 383 | + var it = typeof _Symbol !== "undefined" && o[_Symbol$iterator] || o["@@iterator"]; | |
| 384 | + | |
| 385 | + if (!it) { | |
| 386 | + if (_Array$isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | |
| 387 | + if (it) o = it; | |
| 388 | + var i = 0; | |
| 389 | + | |
| 390 | + var F = function F() {}; | |
| 391 | + | |
| 392 | + return { | |
| 393 | + s: F, | |
| 394 | + n: function n() { | |
| 395 | + if (i >= o.length) return { | |
| 396 | + done: true | |
| 397 | + }; | |
| 398 | + return { | |
| 399 | + done: false, | |
| 400 | + value: o[i++] | |
| 401 | + }; | |
| 402 | + }, | |
| 403 | + e: function e(_e) { | |
| 404 | + throw _e; | |
| 405 | + }, | |
| 406 | + f: F | |
| 407 | + }; | |
| 408 | + } | |
| 409 | + | |
| 410 | + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 411 | + } | |
| 412 | + | |
| 413 | + var normalCompletion = true, | |
| 414 | + didErr = false, | |
| 415 | + err; | |
| 416 | + return { | |
| 417 | + s: function s() { | |
| 418 | + it = it.call(o); | |
| 419 | + }, | |
| 420 | + n: function n() { | |
| 421 | + var step = it.next(); | |
| 422 | + normalCompletion = step.done; | |
| 423 | + return step; | |
| 424 | + }, | |
| 425 | + e: function e(_e2) { | |
| 426 | + didErr = true; | |
| 427 | + err = _e2; | |
| 428 | + }, | |
| 429 | + f: function f() { | |
| 430 | + try { | |
| 431 | + if (!normalCompletion && it["return"] != null) it["return"](); | |
| 432 | + } finally { | |
| 433 | + if (didErr) throw err; | |
| 434 | + } | |
| 435 | + } | |
| 436 | + }; | |
| 437 | +} | |
| 438 | + | |
| 439 | +module.exports = _createForOfIteratorHelper; | |
| 440 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 441 | + | |
| 442 | +/***/ }), | |
| 443 | + | |
| 444 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js": | |
| 445 | +/*!*********************************************************************!*\ | |
| 446 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/createSuper.js ***! | |
| 447 | + \*********************************************************************/ | |
| 448 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 449 | + | |
| 450 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 451 | + | |
| 452 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 453 | + | |
| 454 | +var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js"); | |
| 455 | + | |
| 456 | +var possibleConstructorReturn = __webpack_require__(/*! ./possibleConstructorReturn.js */ "../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js"); | |
| 457 | + | |
| 458 | +function _createSuper(Derived) { | |
| 459 | + var hasNativeReflectConstruct = isNativeReflectConstruct(); | |
| 460 | + return function _createSuperInternal() { | |
| 461 | + var Super = getPrototypeOf(Derived), | |
| 462 | + result; | |
| 463 | + | |
| 464 | + if (hasNativeReflectConstruct) { | |
| 465 | + var NewTarget = getPrototypeOf(this).constructor; | |
| 466 | + result = _Reflect$construct(Super, arguments, NewTarget); | |
| 467 | + } else { | |
| 468 | + result = Super.apply(this, arguments); | |
| 469 | + } | |
| 470 | + | |
| 471 | + return possibleConstructorReturn(this, result); | |
| 472 | + }; | |
| 473 | +} | |
| 474 | + | |
| 475 | +module.exports = _createSuper; | |
| 476 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 477 | + | |
| 478 | +/***/ }), | |
| 479 | + | |
| 480 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js": | |
| 481 | +/*!************************************************************************!*\ | |
| 482 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js ***! | |
| 483 | + \************************************************************************/ | |
| 484 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 485 | + | |
| 486 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 487 | + | |
| 488 | +function _defineProperty(obj, key, value) { | |
| 489 | + if (key in obj) { | |
| 490 | + _Object$defineProperty(obj, key, { | |
| 491 | + value: value, | |
| 492 | + enumerable: true, | |
| 493 | + configurable: true, | |
| 494 | + writable: true | |
| 495 | + }); | |
| 496 | + } else { | |
| 497 | + obj[key] = value; | |
| 498 | + } | |
| 499 | + | |
| 500 | + return obj; | |
| 501 | +} | |
| 502 | + | |
| 503 | +module.exports = _defineProperty; | |
| 504 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 505 | + | |
| 506 | +/***/ }), | |
| 507 | + | |
| 508 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/get.js": | |
| 509 | +/*!*************************************************************!*\ | |
| 510 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/get.js ***! | |
| 511 | + \*************************************************************/ | |
| 512 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 513 | + | |
| 514 | +var _Reflect$get = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/get */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/get.js"); | |
| 515 | + | |
| 516 | +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"); | |
| 517 | + | |
| 518 | +var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js"); | |
| 519 | + | |
| 520 | +function _get(target, property, receiver) { | |
| 521 | + if (typeof Reflect !== "undefined" && _Reflect$get) { | |
| 522 | + module.exports = _get = _Reflect$get; | |
| 523 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 524 | + } else { | |
| 525 | + module.exports = _get = function _get(target, property, receiver) { | |
| 526 | + var base = superPropBase(target, property); | |
| 527 | + if (!base) return; | |
| 528 | + | |
| 529 | + var desc = _Object$getOwnPropertyDescriptor(base, property); | |
| 530 | + | |
| 531 | + if (desc.get) { | |
| 532 | + return desc.get.call(receiver); | |
| 533 | + } | |
| 534 | + | |
| 535 | + return desc.value; | |
| 536 | + }; | |
| 537 | + | |
| 538 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 539 | + } | |
| 540 | + | |
| 541 | + return _get(target, property, receiver || target); | |
| 542 | +} | |
| 543 | + | |
| 544 | +module.exports = _get; | |
| 545 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 546 | + | |
| 547 | +/***/ }), | |
| 548 | + | |
| 549 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js": | |
| 550 | +/*!************************************************************************!*\ | |
| 551 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js ***! | |
| 552 | + \************************************************************************/ | |
| 553 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 554 | + | |
| 555 | +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"); | |
| 556 | + | |
| 557 | +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"); | |
| 558 | + | |
| 559 | +function _getPrototypeOf(o) { | |
| 560 | + module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) { | |
| 561 | + return o.__proto__ || _Object$getPrototypeOf(o); | |
| 562 | + }; | |
| 563 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 564 | + return _getPrototypeOf(o); | |
| 565 | +} | |
| 566 | + | |
| 567 | +module.exports = _getPrototypeOf; | |
| 568 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 569 | + | |
| 570 | +/***/ }), | |
| 571 | + | |
| 572 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js": | |
| 573 | +/*!******************************************************************!*\ | |
| 574 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/inherits.js ***! | |
| 575 | + \******************************************************************/ | |
| 576 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 577 | + | |
| 578 | +var _Object$create = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/create */ "../node_modules/@babel/runtime-corejs2/core-js/object/create.js"); | |
| 579 | + | |
| 580 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js"); | |
| 581 | + | |
| 582 | +function _inherits(subClass, superClass) { | |
| 583 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 584 | + throw new TypeError("Super expression must either be null or a function"); | |
| 585 | + } | |
| 586 | + | |
| 587 | + subClass.prototype = _Object$create(superClass && superClass.prototype, { | |
| 588 | + constructor: { | |
| 589 | + value: subClass, | |
| 590 | + writable: true, | |
| 591 | + configurable: true | |
| 592 | + } | |
| 593 | + }); | |
| 594 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 595 | +} | |
| 596 | + | |
| 597 | +module.exports = _inherits; | |
| 598 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 599 | + | |
| 600 | +/***/ }), | |
| 601 | + | |
| 602 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js": | |
| 603 | +/*!*******************************************************************************!*\ | |
| 604 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js ***! | |
| 605 | + \*******************************************************************************/ | |
| 606 | +/***/ ((module) => { | |
| 607 | + | |
| 608 | +function _interopRequireDefault(obj) { | |
| 609 | + return obj && obj.__esModule ? obj : { | |
| 610 | + "default": obj | |
| 611 | + }; | |
| 612 | +} | |
| 613 | + | |
| 614 | +module.exports = _interopRequireDefault; | |
| 615 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 616 | + | |
| 617 | +/***/ }), | |
| 618 | + | |
| 619 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js": | |
| 620 | +/*!********************************************************************************!*\ | |
| 621 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js ***! | |
| 622 | + \********************************************************************************/ | |
| 623 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 624 | + | |
| 625 | +var _typeof = __webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")["default"]; | |
| 626 | + | |
| 627 | +var _WeakMap = __webpack_require__(/*! @babel/runtime-corejs2/core-js/weak-map */ "../node_modules/@babel/runtime-corejs2/core-js/weak-map.js"); | |
| 628 | + | |
| 629 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 630 | + | |
| 631 | +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"); | |
| 632 | + | |
| 633 | +function _getRequireWildcardCache(nodeInterop) { | |
| 634 | + if (typeof _WeakMap !== "function") return null; | |
| 635 | + var cacheBabelInterop = new _WeakMap(); | |
| 636 | + var cacheNodeInterop = new _WeakMap(); | |
| 637 | + return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { | |
| 638 | + return nodeInterop ? cacheNodeInterop : cacheBabelInterop; | |
| 639 | + })(nodeInterop); | |
| 640 | +} | |
| 641 | + | |
| 642 | +function _interopRequireWildcard(obj, nodeInterop) { | |
| 643 | + if (!nodeInterop && obj && obj.__esModule) { | |
| 644 | + return obj; | |
| 645 | + } | |
| 646 | + | |
| 647 | + if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { | |
| 648 | + return { | |
| 649 | + "default": obj | |
| 650 | + }; | |
| 651 | + } | |
| 652 | + | |
| 653 | + var cache = _getRequireWildcardCache(nodeInterop); | |
| 654 | + | |
| 655 | + if (cache && cache.has(obj)) { | |
| 656 | + return cache.get(obj); | |
| 657 | + } | |
| 658 | + | |
| 659 | + var newObj = {}; | |
| 660 | + var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; | |
| 661 | + | |
| 662 | + for (var key in obj) { | |
| 663 | + if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { | |
| 664 | + var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; | |
| 665 | + | |
| 666 | + if (desc && (desc.get || desc.set)) { | |
| 667 | + _Object$defineProperty(newObj, key, desc); | |
| 668 | + } else { | |
| 669 | + newObj[key] = obj[key]; | |
| 670 | + } | |
| 671 | + } | |
| 672 | + } | |
| 673 | + | |
| 674 | + newObj["default"] = obj; | |
| 675 | + | |
| 676 | + if (cache) { | |
| 677 | + cache.set(obj, newObj); | |
| 678 | + } | |
| 679 | + | |
| 680 | + return newObj; | |
| 681 | +} | |
| 682 | + | |
| 683 | +module.exports = _interopRequireWildcard; | |
| 684 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 685 | + | |
| 686 | +/***/ }), | |
| 687 | + | |
| 688 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js": | |
| 689 | +/*!**********************************************************************************!*\ | |
| 690 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/isNativeReflectConstruct.js ***! | |
| 691 | + \**********************************************************************************/ | |
| 692 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 693 | + | |
| 694 | +var _Reflect$construct = __webpack_require__(/*! @babel/runtime-corejs2/core-js/reflect/construct */ "../node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js"); | |
| 695 | + | |
| 696 | +function _isNativeReflectConstruct() { | |
| 697 | + if (typeof Reflect === "undefined" || !_Reflect$construct) return false; | |
| 698 | + if (_Reflect$construct.sham) return false; | |
| 699 | + if (typeof Proxy === "function") return true; | |
| 700 | + | |
| 701 | + try { | |
| 702 | + Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); | |
| 703 | + return true; | |
| 704 | + } catch (e) { | |
| 705 | + return false; | |
| 706 | + } | |
| 707 | +} | |
| 708 | + | |
| 709 | +module.exports = _isNativeReflectConstruct; | |
| 710 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 711 | + | |
| 712 | +/***/ }), | |
| 713 | + | |
| 714 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js": | |
| 715 | +/*!******************************************************************************!*\ | |
| 716 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js ***! | |
| 717 | + \******************************************************************************/ | |
| 718 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 719 | + | |
| 720 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 721 | + | |
| 722 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 723 | + | |
| 724 | +function _iterableToArrayLimit(arr, i) { | |
| 725 | + var _i = arr == null ? null : typeof _Symbol !== "undefined" && arr[_Symbol$iterator] || arr["@@iterator"]; | |
| 726 | + | |
| 727 | + if (_i == null) return; | |
| 728 | + var _arr = []; | |
| 729 | + var _n = true; | |
| 730 | + var _d = false; | |
| 731 | + | |
| 732 | + var _s, _e; | |
| 733 | + | |
| 734 | + try { | |
| 735 | + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { | |
| 736 | + _arr.push(_s.value); | |
| 737 | + | |
| 738 | + if (i && _arr.length === i) break; | |
| 739 | + } | |
| 740 | + } catch (err) { | |
| 741 | + _d = true; | |
| 742 | + _e = err; | |
| 743 | + } finally { | |
| 744 | + try { | |
| 745 | + if (!_n && _i["return"] != null) _i["return"](); | |
| 746 | + } finally { | |
| 747 | + if (_d) throw _e; | |
| 748 | + } | |
| 749 | + } | |
| 750 | + | |
| 751 | + return _arr; | |
| 752 | +} | |
| 753 | + | |
| 754 | +module.exports = _iterableToArrayLimit; | |
| 755 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 756 | + | |
| 757 | +/***/ }), | |
| 758 | + | |
| 759 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js": | |
| 760 | +/*!*************************************************************************!*\ | |
| 761 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js ***! | |
| 762 | + \*************************************************************************/ | |
| 763 | +/***/ ((module) => { | |
| 764 | + | |
| 765 | +function _nonIterableRest() { | |
| 766 | + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 767 | +} | |
| 768 | + | |
| 769 | +module.exports = _nonIterableRest; | |
| 770 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 771 | + | |
| 772 | +/***/ }), | |
| 773 | + | |
| 774 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/objectSpread2.js": | |
| 775 | +/*!***********************************************************************!*\ | |
| 776 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/objectSpread2.js ***! | |
| 777 | + \***********************************************************************/ | |
| 778 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 779 | + | |
| 780 | +var _Object$keys = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/keys */ "../node_modules/@babel/runtime-corejs2/core-js/object/keys.js"); | |
| 781 | + | |
| 782 | +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"); | |
| 783 | + | |
| 784 | +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"); | |
| 785 | + | |
| 786 | +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"); | |
| 787 | + | |
| 788 | +var _Object$defineProperties = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-properties */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-properties.js"); | |
| 789 | + | |
| 790 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 791 | + | |
| 792 | +var defineProperty = __webpack_require__(/*! ./defineProperty.js */ "../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js"); | |
| 793 | + | |
| 794 | +function ownKeys(object, enumerableOnly) { | |
| 795 | + var keys = _Object$keys(object); | |
| 796 | + | |
| 797 | + if (_Object$getOwnPropertySymbols) { | |
| 798 | + var symbols = _Object$getOwnPropertySymbols(object); | |
| 799 | + | |
| 800 | + if (enumerableOnly) { | |
| 801 | + symbols = symbols.filter(function (sym) { | |
| 802 | + return _Object$getOwnPropertyDescriptor(object, sym).enumerable; | |
| 803 | + }); | |
| 804 | + } | |
| 805 | + | |
| 806 | + keys.push.apply(keys, symbols); | |
| 807 | + } | |
| 808 | + | |
| 809 | + return keys; | |
| 810 | +} | |
| 811 | + | |
| 812 | +function _objectSpread2(target) { | |
| 813 | + for (var i = 1; i < arguments.length; i++) { | |
| 814 | + var source = arguments[i] != null ? arguments[i] : {}; | |
| 815 | + | |
| 816 | + if (i % 2) { | |
| 817 | + ownKeys(Object(source), true).forEach(function (key) { | |
| 818 | + defineProperty(target, key, source[key]); | |
| 819 | + }); | |
| 820 | + } else if (_Object$getOwnPropertyDescriptors) { | |
| 821 | + _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)); | |
| 822 | + } else { | |
| 823 | + ownKeys(Object(source)).forEach(function (key) { | |
| 824 | + _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); | |
| 825 | + }); | |
| 826 | + } | |
| 827 | + } | |
| 828 | + | |
| 829 | + return target; | |
| 830 | +} | |
| 831 | + | |
| 832 | +module.exports = _objectSpread2; | |
| 833 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 834 | + | |
| 835 | +/***/ }), | |
| 836 | + | |
| 837 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js": | |
| 838 | +/*!***********************************************************************************!*\ | |
| 839 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js ***! | |
| 840 | + \***********************************************************************************/ | |
| 841 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 842 | + | |
| 843 | +var _typeof = __webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")["default"]; | |
| 844 | + | |
| 845 | +var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js"); | |
| 846 | + | |
| 847 | +function _possibleConstructorReturn(self, call) { | |
| 848 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 849 | + return call; | |
| 850 | + } else if (call !== void 0) { | |
| 851 | + throw new TypeError("Derived constructors may only return object or undefined"); | |
| 852 | + } | |
| 853 | + | |
| 854 | + return assertThisInitialized(self); | |
| 855 | +} | |
| 856 | + | |
| 857 | +module.exports = _possibleConstructorReturn; | |
| 858 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 859 | + | |
| 860 | +/***/ }), | |
| 861 | + | |
| 862 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js": | |
| 863 | +/*!************************************************************************!*\ | |
| 864 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js ***! | |
| 865 | + \************************************************************************/ | |
| 866 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 867 | + | |
| 868 | +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"); | |
| 869 | + | |
| 870 | +function _setPrototypeOf(o, p) { | |
| 871 | + module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) { | |
| 872 | + o.__proto__ = p; | |
| 873 | + return o; | |
| 874 | + }; | |
| 875 | + | |
| 876 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 877 | + return _setPrototypeOf(o, p); | |
| 878 | +} | |
| 879 | + | |
| 880 | +module.exports = _setPrototypeOf; | |
| 881 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 882 | + | |
| 883 | +/***/ }), | |
| 884 | + | |
| 885 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js": | |
| 886 | +/*!***********************************************************************!*\ | |
| 887 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js ***! | |
| 888 | + \***********************************************************************/ | |
| 889 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 890 | + | |
| 891 | +var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js"); | |
| 892 | + | |
| 893 | +var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js"); | |
| 894 | + | |
| 895 | +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js"); | |
| 896 | + | |
| 897 | +var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js"); | |
| 898 | + | |
| 899 | +function _slicedToArray(arr, i) { | |
| 900 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 901 | +} | |
| 902 | + | |
| 903 | +module.exports = _slicedToArray; | |
| 904 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 905 | + | |
| 906 | +/***/ }), | |
| 907 | + | |
| 908 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js": | |
| 909 | +/*!***********************************************************************!*\ | |
| 910 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/superPropBase.js ***! | |
| 911 | + \***********************************************************************/ | |
| 912 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 913 | + | |
| 914 | +var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js"); | |
| 915 | + | |
| 916 | +function _superPropBase(object, property) { | |
| 917 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 918 | + object = getPrototypeOf(object); | |
| 919 | + if (object === null) break; | |
| 920 | + } | |
| 921 | + | |
| 922 | + return object; | |
| 923 | +} | |
| 924 | + | |
| 925 | +module.exports = _superPropBase; | |
| 926 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 927 | + | |
| 928 | +/***/ }), | |
| 929 | + | |
| 930 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js": | |
| 931 | +/*!****************************************************************!*\ | |
| 932 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/typeof.js ***! | |
| 933 | + \****************************************************************/ | |
| 934 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 935 | + | |
| 936 | +var _Symbol = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol */ "../node_modules/@babel/runtime-corejs2/core-js/symbol.js"); | |
| 937 | + | |
| 938 | +var _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/iterator */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js"); | |
| 939 | + | |
| 940 | +function _typeof(obj) { | |
| 941 | + "@babel/helpers - typeof"; | |
| 942 | + | |
| 943 | + if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { | |
| 944 | + module.exports = _typeof = function _typeof(obj) { | |
| 945 | + return typeof obj; | |
| 946 | + }; | |
| 947 | + | |
| 948 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 949 | + } else { | |
| 950 | + module.exports = _typeof = function _typeof(obj) { | |
| 951 | + return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; | |
| 952 | + }; | |
| 953 | + | |
| 954 | + module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 955 | + } | |
| 956 | + | |
| 957 | + return _typeof(obj); | |
| 958 | +} | |
| 959 | + | |
| 960 | +module.exports = _typeof; | |
| 961 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 962 | + | |
| 963 | +/***/ }), | |
| 964 | + | |
| 965 | +/***/ "../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js": | |
| 966 | +/*!************************************************************************************!*\ | |
| 967 | + !*** ../node_modules/@babel/runtime-corejs2/helpers/unsupportedIterableToArray.js ***! | |
| 968 | + \************************************************************************************/ | |
| 969 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 970 | + | |
| 971 | +var _Array$from = __webpack_require__(/*! @babel/runtime-corejs2/core-js/array/from */ "../node_modules/@babel/runtime-corejs2/core-js/array/from.js"); | |
| 972 | + | |
| 973 | +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime-corejs2/helpers/arrayLikeToArray.js"); | |
| 974 | + | |
| 975 | +function _unsupportedIterableToArray(o, minLen) { | |
| 976 | + if (!o) return; | |
| 977 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 978 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 979 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 980 | + if (n === "Map" || n === "Set") return _Array$from(o); | |
| 981 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 982 | +} | |
| 983 | + | |
| 984 | +module.exports = _unsupportedIterableToArray; | |
| 985 | +module.exports["default"] = module.exports, module.exports.__esModule = true; | |
| 986 | + | |
| 987 | +/***/ }), | |
| 988 | + | |
| 989 | +/***/ "../node_modules/@babel/runtime/regenerator/index.js": | |
| 990 | +/*!***********************************************************!*\ | |
| 991 | + !*** ../node_modules/@babel/runtime/regenerator/index.js ***! | |
| 992 | + \***********************************************************/ | |
| 993 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 994 | + | |
| 995 | +module.exports = __webpack_require__(/*! regenerator-runtime */ "../node_modules/regenerator-runtime/runtime.js"); | |
| 996 | + | |
| 997 | + | |
| 998 | +/***/ }), | |
| 999 | + | |
| 1000 | +/***/ "../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js": | |
| 1001 | +/*!******************************************************************!*\ | |
| 1002 | + !*** ../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js ***! | |
| 1003 | + \******************************************************************/ | |
| 1004 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 1005 | + | |
| 1006 | +"use strict"; | |
| 1007 | +__webpack_require__.r(__webpack_exports__); | |
| 1008 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 1009 | +/* harmony export */ "__DO_NOT_USE__ActionTypes": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.__DO_NOT_USE__ActionTypes), | |
| 1010 | +/* harmony export */ "applyMiddleware": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.applyMiddleware), | |
| 1011 | +/* harmony export */ "bindActionCreators": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.bindActionCreators), | |
| 1012 | +/* harmony export */ "combineReducers": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers), | |
| 1013 | +/* harmony export */ "compose": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.compose), | |
| 1014 | +/* harmony export */ "createStore": () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.createStore), | |
| 1015 | +/* harmony export */ "MiddlewareArray": () => (/* binding */ MiddlewareArray), | |
| 1016 | +/* harmony export */ "configureStore": () => (/* binding */ configureStore), | |
| 1017 | +/* harmony export */ "createAction": () => (/* binding */ createAction), | |
| 1018 | +/* harmony export */ "createAsyncThunk": () => (/* binding */ createAsyncThunk), | |
| 1019 | +/* harmony export */ "createDraftSafeSelector": () => (/* binding */ createDraftSafeSelector), | |
| 1020 | +/* harmony export */ "createEntityAdapter": () => (/* binding */ createEntityAdapter), | |
| 1021 | +/* harmony export */ "createImmutableStateInvariantMiddleware": () => (/* binding */ createImmutableStateInvariantMiddleware), | |
| 1022 | +/* harmony export */ "createNextState": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__["default"]), | |
| 1023 | +/* harmony export */ "createReducer": () => (/* binding */ createReducer), | |
| 1024 | +/* harmony export */ "createSelector": () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_1__.createSelector), | |
| 1025 | +/* harmony export */ "createSerializableStateInvariantMiddleware": () => (/* binding */ createSerializableStateInvariantMiddleware), | |
| 1026 | +/* harmony export */ "createSlice": () => (/* binding */ createSlice), | |
| 1027 | +/* harmony export */ "current": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.current), | |
| 1028 | +/* harmony export */ "findNonSerializableValue": () => (/* binding */ findNonSerializableValue), | |
| 1029 | +/* harmony export */ "freeze": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.freeze), | |
| 1030 | +/* harmony export */ "getDefaultMiddleware": () => (/* binding */ getDefaultMiddleware), | |
| 1031 | +/* harmony export */ "getType": () => (/* binding */ getType), | |
| 1032 | +/* harmony export */ "isAllOf": () => (/* binding */ isAllOf), | |
| 1033 | +/* harmony export */ "isAnyOf": () => (/* binding */ isAnyOf), | |
| 1034 | +/* harmony export */ "isAsyncThunkAction": () => (/* binding */ isAsyncThunkAction), | |
| 1035 | +/* harmony export */ "isDraft": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.isDraft), | |
| 1036 | +/* harmony export */ "isFulfilled": () => (/* binding */ isFulfilled), | |
| 1037 | +/* harmony export */ "isImmutableDefault": () => (/* binding */ isImmutableDefault), | |
| 1038 | +/* harmony export */ "isPending": () => (/* binding */ isPending), | |
| 1039 | +/* harmony export */ "isPlain": () => (/* binding */ isPlain), | |
| 1040 | +/* harmony export */ "isPlainObject": () => (/* binding */ isPlainObject), | |
| 1041 | +/* harmony export */ "isRejected": () => (/* binding */ isRejected), | |
| 1042 | +/* harmony export */ "isRejectedWithValue": () => (/* binding */ isRejectedWithValue), | |
| 1043 | +/* harmony export */ "miniSerializeError": () => (/* binding */ miniSerializeError), | |
| 1044 | +/* harmony export */ "nanoid": () => (/* binding */ nanoid), | |
| 1045 | +/* harmony export */ "original": () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.original), | |
| 1046 | +/* harmony export */ "unwrapResult": () => (/* binding */ unwrapResult) | |
| 1047 | +/* harmony export */ }); | |
| 1048 | +/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! immer */ "../node_modules/immer/dist/immer.esm.js"); | |
| 1049 | +/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "../node_modules/redux/es/redux.js"); | |
| 1050 | +/* harmony import */ var reselect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! reselect */ "../node_modules/reselect/es/index.js"); | |
| 1051 | +/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! redux-thunk */ "../node_modules/redux-thunk/es/index.js"); | |
| 1052 | +var __extends = (undefined && undefined.__extends) || (function () { | |
| 1053 | + var extendStatics = function (d, b) { | |
| 1054 | + extendStatics = Object.setPrototypeOf || | |
| 1055 | + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | |
| 1056 | + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | |
| 1057 | + return extendStatics(d, b); | |
| 1058 | + }; | |
| 1059 | + return function (d, b) { | |
| 1060 | + if (typeof b !== "function" && b !== null) | |
| 1061 | + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | |
| 1062 | + extendStatics(d, b); | |
| 1063 | + function __() { this.constructor = d; } | |
| 1064 | + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | |
| 1065 | + }; | |
| 1066 | +})(); | |
| 1067 | +var __generator = (undefined && undefined.__generator) || function (thisArg, body) { | |
| 1068 | + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | |
| 1069 | + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | |
| 1070 | + function verb(n) { return function (v) { return step([n, v]); }; } | |
| 1071 | + function step(op) { | |
| 1072 | + if (f) throw new TypeError("Generator is already executing."); | |
| 1073 | + while (_) try { | |
| 1074 | + 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; | |
| 1075 | + if (y = 0, t) op = [op[0] & 2, t.value]; | |
| 1076 | + switch (op[0]) { | |
| 1077 | + case 0: case 1: t = op; break; | |
| 1078 | + case 4: _.label++; return { value: op[1], done: false }; | |
| 1079 | + case 5: _.label++; y = op[1]; op = [0]; continue; | |
| 1080 | + case 7: op = _.ops.pop(); _.trys.pop(); continue; | |
| 1081 | + default: | |
| 1082 | + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | |
| 1083 | + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | |
| 1084 | + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | |
| 1085 | + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | |
| 1086 | + if (t[2]) _.ops.pop(); | |
| 1087 | + _.trys.pop(); continue; | |
| 1088 | + } | |
| 1089 | + op = body.call(thisArg, _); | |
| 1090 | + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | |
| 1091 | + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | |
| 1092 | + } | |
| 1093 | +}; | |
| 1094 | +var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) { | |
| 1095 | + for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | |
| 1096 | + to[j] = from[i]; | |
| 1097 | + return to; | |
| 1098 | +}; | |
| 1099 | +var __defProp = Object.defineProperty; | |
| 1100 | +var __defProps = Object.defineProperties; | |
| 1101 | +var __getOwnPropDescs = Object.getOwnPropertyDescriptors; | |
| 1102 | +var __getOwnPropSymbols = Object.getOwnPropertySymbols; | |
| 1103 | +var __hasOwnProp = Object.prototype.hasOwnProperty; | |
| 1104 | +var __propIsEnum = Object.prototype.propertyIsEnumerable; | |
| 1105 | +var __defNormalProp = function (obj, key, value) { return key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value }) : obj[key] = value; }; | |
| 1106 | +var __spreadValues = function (a, b) { | |
| 1107 | + for (var prop in b || (b = {})) | |
| 1108 | + if (__hasOwnProp.call(b, prop)) | |
| 1109 | + __defNormalProp(a, prop, b[prop]); | |
| 1110 | + if (__getOwnPropSymbols) | |
| 1111 | + for (var _i = 0, _b = __getOwnPropSymbols(b); _i < _b.length; _i++) { | |
| 1112 | + var prop = _b[_i]; | |
| 1113 | + if (__propIsEnum.call(b, prop)) | |
| 1114 | + __defNormalProp(a, prop, b[prop]); | |
| 1115 | + } | |
| 1116 | + return a; | |
| 1117 | +}; | |
| 1118 | +var __spreadProps = function (a, b) { return __defProps(a, __getOwnPropDescs(b)); }; | |
| 1119 | +var __async = function (__this, __arguments, generator) { | |
| 1120 | + return new Promise(function (resolve, reject) { | |
| 1121 | + var fulfilled = function (value) { | |
| 1122 | + try { | |
| 1123 | + step(generator.next(value)); | |
| 1124 | + } | |
| 1125 | + catch (e) { | |
| 1126 | + reject(e); | |
| 1127 | + } | |
| 1128 | + }; | |
| 1129 | + var rejected = function (value) { | |
| 1130 | + try { | |
| 1131 | + step(generator.throw(value)); | |
| 1132 | + } | |
| 1133 | + catch (e) { | |
| 1134 | + reject(e); | |
| 1135 | + } | |
| 1136 | + }; | |
| 1137 | + var step = function (x) { return x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); }; | |
| 1138 | + step((generator = generator.apply(__this, __arguments)).next()); | |
| 1139 | + }); | |
| 1140 | +}; | |
| 1141 | +// src/index.ts | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | +// src/createDraftSafeSelector.ts | |
| 1147 | + | |
| 1148 | + | |
| 1149 | +var createDraftSafeSelector = function () { | |
| 1150 | + var args = []; | |
| 1151 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1152 | + args[_i] = arguments[_i]; | |
| 1153 | + } | |
| 1154 | + var selector = reselect__WEBPACK_IMPORTED_MODULE_1__.createSelector.apply(void 0, args); | |
| 1155 | + var wrappedSelector = function (value) { | |
| 1156 | + var rest = []; | |
| 1157 | + for (var _i = 1; _i < arguments.length; _i++) { | |
| 1158 | + rest[_i - 1] = arguments[_i]; | |
| 1159 | + } | |
| 1160 | + return selector.apply(void 0, __spreadArray([(0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(value) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__.current)(value) : value], rest)); | |
| 1161 | + }; | |
| 1162 | + return wrappedSelector; | |
| 1163 | +}; | |
| 1164 | +// src/configureStore.ts | |
| 1165 | + | |
| 1166 | +// src/devtoolsExtension.ts | |
| 1167 | + | |
| 1168 | +var composeWithDevTools = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function () { | |
| 1169 | + if (arguments.length === 0) | |
| 1170 | + return void 0; | |
| 1171 | + if (typeof arguments[0] === "object") | |
| 1172 | + return redux__WEBPACK_IMPORTED_MODULE_0__.compose; | |
| 1173 | + return redux__WEBPACK_IMPORTED_MODULE_0__.compose.apply(null, arguments); | |
| 1174 | +}; | |
| 1175 | +var devToolsEnhancer = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__ : function () { | |
| 1176 | + return function (noop) { | |
| 1177 | + return noop; | |
| 1178 | + }; | |
| 1179 | +}; | |
| 1180 | +// src/isPlainObject.ts | |
| 1181 | +function isPlainObject(value) { | |
| 1182 | + if (typeof value !== "object" || value === null) | |
| 1183 | + return false; | |
| 1184 | + var proto = value; | |
| 1185 | + while (Object.getPrototypeOf(proto) !== null) { | |
| 1186 | + proto = Object.getPrototypeOf(proto); | |
| 1187 | + } | |
| 1188 | + return Object.getPrototypeOf(value) === proto; | |
| 1189 | +} | |
| 1190 | +// src/getDefaultMiddleware.ts | |
| 1191 | + | |
| 1192 | +// src/utils.ts | |
| 1193 | +function getTimeMeasureUtils(maxDelay, fnName) { | |
| 1194 | + var elapsed = 0; | |
| 1195 | + return { | |
| 1196 | + measureTime: function (fn) { | |
| 1197 | + var started = Date.now(); | |
| 1198 | + try { | |
| 1199 | + return fn(); | |
| 1200 | + } | |
| 1201 | + finally { | |
| 1202 | + var finished = Date.now(); | |
| 1203 | + elapsed += finished - started; | |
| 1204 | + } | |
| 1205 | + }, | |
| 1206 | + warnIfExceeded: function () { | |
| 1207 | + if (elapsed > maxDelay) { | |
| 1208 | + 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."); | |
| 1209 | + } | |
| 1210 | + } | |
| 1211 | + }; | |
| 1212 | +} | |
| 1213 | +var MiddlewareArray = /** @class */ (function (_super) { | |
| 1214 | + __extends(MiddlewareArray, _super); | |
| 1215 | + function MiddlewareArray() { | |
| 1216 | + var args = []; | |
| 1217 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1218 | + args[_i] = arguments[_i]; | |
| 1219 | + } | |
| 1220 | + var _this = _super.apply(this, args) || this; | |
| 1221 | + Object.setPrototypeOf(_this, MiddlewareArray.prototype); | |
| 1222 | + return _this; | |
| 1223 | + } | |
| 1224 | + Object.defineProperty(MiddlewareArray, Symbol.species, { | |
| 1225 | + get: function () { | |
| 1226 | + return MiddlewareArray; | |
| 1227 | + }, | |
| 1228 | + enumerable: false, | |
| 1229 | + configurable: true | |
| 1230 | + }); | |
| 1231 | + MiddlewareArray.prototype.concat = function () { | |
| 1232 | + var arr = []; | |
| 1233 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1234 | + arr[_i] = arguments[_i]; | |
| 1235 | + } | |
| 1236 | + return _super.prototype.concat.apply(this, arr); | |
| 1237 | + }; | |
| 1238 | + MiddlewareArray.prototype.prepend = function () { | |
| 1239 | + var arr = []; | |
| 1240 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1241 | + arr[_i] = arguments[_i]; | |
| 1242 | + } | |
| 1243 | + if (arr.length === 1 && Array.isArray(arr[0])) { | |
| 1244 | + return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr[0].concat(this))))(); | |
| 1245 | + } | |
| 1246 | + return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr.concat(this))))(); | |
| 1247 | + }; | |
| 1248 | + return MiddlewareArray; | |
| 1249 | +}(Array)); | |
| 1250 | +// src/immutableStateInvariantMiddleware.ts | |
| 1251 | +var isProduction = "development" === "production"; | |
| 1252 | +var prefix = "Invariant failed"; | |
| 1253 | +function invariant(condition, message) { | |
| 1254 | + if (condition) { | |
| 1255 | + return; | |
| 1256 | + } | |
| 1257 | + if (isProduction) { | |
| 1258 | + throw new Error(prefix); | |
| 1259 | + } | |
| 1260 | + throw new Error(prefix + ": " + (message || "")); | |
| 1261 | +} | |
| 1262 | +function stringify(obj, serializer, indent, decycler) { | |
| 1263 | + return JSON.stringify(obj, getSerialize(serializer, decycler), indent); | |
| 1264 | +} | |
| 1265 | +function getSerialize(serializer, decycler) { | |
| 1266 | + var stack = [], keys = []; | |
| 1267 | + if (!decycler) | |
| 1268 | + decycler = function (_, value) { | |
| 1269 | + if (stack[0] === value) | |
| 1270 | + return "[Circular ~]"; | |
| 1271 | + return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]"; | |
| 1272 | + }; | |
| 1273 | + return function (key, value) { | |
| 1274 | + if (stack.length > 0) { | |
| 1275 | + var thisPos = stack.indexOf(this); | |
| 1276 | + ~thisPos ? stack.splice(thisPos + 1) : stack.push(this); | |
| 1277 | + ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key); | |
| 1278 | + if (~stack.indexOf(value)) | |
| 1279 | + value = decycler.call(this, key, value); | |
| 1280 | + } | |
| 1281 | + else | |
| 1282 | + stack.push(value); | |
| 1283 | + return serializer == null ? value : serializer.call(this, key, value); | |
| 1284 | + }; | |
| 1285 | +} | |
| 1286 | +function isImmutableDefault(value) { | |
| 1287 | + return typeof value !== "object" || value === null || typeof value === "undefined" || Object.isFrozen(value); | |
| 1288 | +} | |
| 1289 | +function trackForMutations(isImmutable, ignorePaths, obj) { | |
| 1290 | + var trackedProperties = trackProperties(isImmutable, ignorePaths, obj); | |
| 1291 | + return { | |
| 1292 | + detectMutations: function () { | |
| 1293 | + return detectMutations(isImmutable, ignorePaths, trackedProperties, obj); | |
| 1294 | + } | |
| 1295 | + }; | |
| 1296 | +} | |
| 1297 | +function trackProperties(isImmutable, ignorePaths, obj, path) { | |
| 1298 | + if (ignorePaths === void 0) { ignorePaths = []; } | |
| 1299 | + if (path === void 0) { path = ""; } | |
| 1300 | + var tracked = { value: obj }; | |
| 1301 | + if (!isImmutable(obj)) { | |
| 1302 | + tracked.children = {}; | |
| 1303 | + for (var key in obj) { | |
| 1304 | + var childPath = path ? path + "." + key : key; | |
| 1305 | + if (ignorePaths.length && ignorePaths.indexOf(childPath) !== -1) { | |
| 1306 | + continue; | |
| 1307 | + } | |
| 1308 | + tracked.children[key] = trackProperties(isImmutable, ignorePaths, obj[key], childPath); | |
| 1309 | + } | |
| 1310 | + } | |
| 1311 | + return tracked; | |
| 1312 | +} | |
| 1313 | +function detectMutations(isImmutable, ignorePaths, trackedProperty, obj, sameParentRef, path) { | |
| 1314 | + if (ignorePaths === void 0) { ignorePaths = []; } | |
| 1315 | + if (sameParentRef === void 0) { sameParentRef = false; } | |
| 1316 | + if (path === void 0) { path = ""; } | |
| 1317 | + var prevObj = trackedProperty ? trackedProperty.value : void 0; | |
| 1318 | + var sameRef = prevObj === obj; | |
| 1319 | + if (sameParentRef && !sameRef && !Number.isNaN(obj)) { | |
| 1320 | + return { wasMutated: true, path: path }; | |
| 1321 | + } | |
| 1322 | + if (isImmutable(prevObj) || isImmutable(obj)) { | |
| 1323 | + return { wasMutated: false }; | |
| 1324 | + } | |
| 1325 | + var keysToDetect = {}; | |
| 1326 | + for (var key in trackedProperty.children) { | |
| 1327 | + keysToDetect[key] = true; | |
| 1328 | + } | |
| 1329 | + for (var key in obj) { | |
| 1330 | + keysToDetect[key] = true; | |
| 1331 | + } | |
| 1332 | + for (var key in keysToDetect) { | |
| 1333 | + var childPath = path ? path + "." + key : key; | |
| 1334 | + if (ignorePaths.length && ignorePaths.indexOf(childPath) !== -1) { | |
| 1335 | + continue; | |
| 1336 | + } | |
| 1337 | + var result = detectMutations(isImmutable, ignorePaths, trackedProperty.children[key], obj[key], sameRef, childPath); | |
| 1338 | + if (result.wasMutated) { | |
| 1339 | + return result; | |
| 1340 | + } | |
| 1341 | + } | |
| 1342 | + return { wasMutated: false }; | |
| 1343 | +} | |
| 1344 | +function createImmutableStateInvariantMiddleware(options) { | |
| 1345 | + if (options === void 0) { options = {}; } | |
| 1346 | + if (false) {} | |
| 1347 | + 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; | |
| 1348 | + ignoredPaths = ignoredPaths || ignore; | |
| 1349 | + var track = trackForMutations.bind(null, isImmutable, ignoredPaths); | |
| 1350 | + return function (_b) { | |
| 1351 | + var getState = _b.getState; | |
| 1352 | + var state = getState(); | |
| 1353 | + var tracker = track(state); | |
| 1354 | + var result; | |
| 1355 | + return function (next) { return function (action) { | |
| 1356 | + var measureUtils = getTimeMeasureUtils(warnAfter, "ImmutableStateInvariantMiddleware"); | |
| 1357 | + measureUtils.measureTime(function () { | |
| 1358 | + state = getState(); | |
| 1359 | + result = tracker.detectMutations(); | |
| 1360 | + tracker = track(state); | |
| 1361 | + 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)"); | |
| 1362 | + }); | |
| 1363 | + var dispatchedAction = next(action); | |
| 1364 | + measureUtils.measureTime(function () { | |
| 1365 | + state = getState(); | |
| 1366 | + result = tracker.detectMutations(); | |
| 1367 | + tracker = track(state); | |
| 1368 | + 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)"); | |
| 1369 | + }); | |
| 1370 | + measureUtils.warnIfExceeded(); | |
| 1371 | + return dispatchedAction; | |
| 1372 | + }; }; | |
| 1373 | + }; | |
| 1374 | +} | |
| 1375 | +// src/serializableStateInvariantMiddleware.ts | |
| 1376 | +function isPlain(val) { | |
| 1377 | + var type = typeof val; | |
| 1378 | + return type === "undefined" || val === null || type === "string" || type === "boolean" || type === "number" || Array.isArray(val) || isPlainObject(val); | |
| 1379 | +} | |
| 1380 | +function findNonSerializableValue(value, path, isSerializable, getEntries, ignoredPaths) { | |
| 1381 | + if (path === void 0) { path = ""; } | |
| 1382 | + if (isSerializable === void 0) { isSerializable = isPlain; } | |
| 1383 | + if (ignoredPaths === void 0) { ignoredPaths = []; } | |
| 1384 | + var foundNestedSerializable; | |
| 1385 | + if (!isSerializable(value)) { | |
| 1386 | + return { | |
| 1387 | + keyPath: path || "<root>", | |
| 1388 | + value: value | |
| 1389 | + }; | |
| 1390 | + } | |
| 1391 | + if (typeof value !== "object" || value === null) { | |
| 1392 | + return false; | |
| 1393 | + } | |
| 1394 | + var entries = getEntries != null ? getEntries(value) : Object.entries(value); | |
| 1395 | + var hasIgnoredPaths = ignoredPaths.length > 0; | |
| 1396 | + for (var _i = 0, entries_1 = entries; _i < entries_1.length; _i++) { | |
| 1397 | + var _b = entries_1[_i], key = _b[0], nestedValue = _b[1]; | |
| 1398 | + var nestedPath = path ? path + "." + key : key; | |
| 1399 | + if (hasIgnoredPaths && ignoredPaths.indexOf(nestedPath) >= 0) { | |
| 1400 | + continue; | |
| 1401 | + } | |
| 1402 | + if (!isSerializable(nestedValue)) { | |
| 1403 | + return { | |
| 1404 | + keyPath: nestedPath, | |
| 1405 | + value: nestedValue | |
| 1406 | + }; | |
| 1407 | + } | |
| 1408 | + if (typeof nestedValue === "object") { | |
| 1409 | + foundNestedSerializable = findNonSerializableValue(nestedValue, nestedPath, isSerializable, getEntries, ignoredPaths); | |
| 1410 | + if (foundNestedSerializable) { | |
| 1411 | + return foundNestedSerializable; | |
| 1412 | + } | |
| 1413 | + } | |
| 1414 | + } | |
| 1415 | + return false; | |
| 1416 | +} | |
| 1417 | +function createSerializableStateInvariantMiddleware(options) { | |
| 1418 | + if (options === void 0) { options = {}; } | |
| 1419 | + if (false) {} | |
| 1420 | + 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; | |
| 1421 | + return function (storeAPI) { return function (next) { return function (action) { | |
| 1422 | + if (ignoredActions.length && ignoredActions.indexOf(action.type) !== -1) { | |
| 1423 | + return next(action); | |
| 1424 | + } | |
| 1425 | + var measureUtils = getTimeMeasureUtils(warnAfter, "SerializableStateInvariantMiddleware"); | |
| 1426 | + measureUtils.measureTime(function () { | |
| 1427 | + var foundActionNonSerializableValue = findNonSerializableValue(action, "", isSerializable, getEntries, ignoredActionPaths); | |
| 1428 | + if (foundActionNonSerializableValue) { | |
| 1429 | + var keyPath = foundActionNonSerializableValue.keyPath, value = foundActionNonSerializableValue.value; | |
| 1430 | + 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)"); | |
| 1431 | + } | |
| 1432 | + }); | |
| 1433 | + var result = next(action); | |
| 1434 | + if (!ignoreState) { | |
| 1435 | + measureUtils.measureTime(function () { | |
| 1436 | + var state = storeAPI.getState(); | |
| 1437 | + var foundStateNonSerializableValue = findNonSerializableValue(state, "", isSerializable, getEntries, ignoredPaths); | |
| 1438 | + if (foundStateNonSerializableValue) { | |
| 1439 | + var keyPath = foundStateNonSerializableValue.keyPath, value = foundStateNonSerializableValue.value; | |
| 1440 | + 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)"); | |
| 1441 | + } | |
| 1442 | + }); | |
| 1443 | + measureUtils.warnIfExceeded(); | |
| 1444 | + } | |
| 1445 | + return result; | |
| 1446 | + }; }; }; | |
| 1447 | +} | |
| 1448 | +// src/getDefaultMiddleware.ts | |
| 1449 | +function isBoolean(x) { | |
| 1450 | + return typeof x === "boolean"; | |
| 1451 | +} | |
| 1452 | +function curryGetDefaultMiddleware() { | |
| 1453 | + return function curriedGetDefaultMiddleware(options) { | |
| 1454 | + return getDefaultMiddleware(options); | |
| 1455 | + }; | |
| 1456 | +} | |
| 1457 | +function getDefaultMiddleware(options) { | |
| 1458 | + if (options === void 0) { options = {}; } | |
| 1459 | + 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; | |
| 1460 | + var middlewareArray = new MiddlewareArray(); | |
| 1461 | + if (thunk) { | |
| 1462 | + if (isBoolean(thunk)) { | |
| 1463 | + middlewareArray.push(redux_thunk__WEBPACK_IMPORTED_MODULE_3__["default"]); | |
| 1464 | + } | |
| 1465 | + else { | |
| 1466 | + middlewareArray.push(redux_thunk__WEBPACK_IMPORTED_MODULE_3__["default"].withExtraArgument(thunk.extraArgument)); | |
| 1467 | + } | |
| 1468 | + } | |
| 1469 | + if (true) { | |
| 1470 | + if (immutableCheck) { | |
| 1471 | + var immutableOptions = {}; | |
| 1472 | + if (!isBoolean(immutableCheck)) { | |
| 1473 | + immutableOptions = immutableCheck; | |
| 1474 | + } | |
| 1475 | + middlewareArray.unshift(createImmutableStateInvariantMiddleware(immutableOptions)); | |
| 1476 | + } | |
| 1477 | + if (serializableCheck) { | |
| 1478 | + var serializableOptions = {}; | |
| 1479 | + if (!isBoolean(serializableCheck)) { | |
| 1480 | + serializableOptions = serializableCheck; | |
| 1481 | + } | |
| 1482 | + middlewareArray.push(createSerializableStateInvariantMiddleware(serializableOptions)); | |
| 1483 | + } | |
| 1484 | + } | |
| 1485 | + return middlewareArray; | |
| 1486 | +} | |
| 1487 | +// src/configureStore.ts | |
| 1488 | +var IS_PRODUCTION = "development" === "production"; | |
| 1489 | +function configureStore(options) { | |
| 1490 | + var curriedGetDefaultMiddleware = curryGetDefaultMiddleware(); | |
| 1491 | + 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; | |
| 1492 | + var rootReducer; | |
| 1493 | + if (typeof reducer === "function") { | |
| 1494 | + rootReducer = reducer; | |
| 1495 | + } | |
| 1496 | + else if (isPlainObject(reducer)) { | |
| 1497 | + rootReducer = (0,redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers)(reducer); | |
| 1498 | + } | |
| 1499 | + else { | |
| 1500 | + throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers'); | |
| 1501 | + } | |
| 1502 | + var finalMiddleware = middleware; | |
| 1503 | + if (typeof finalMiddleware === "function") { | |
| 1504 | + finalMiddleware = finalMiddleware(curriedGetDefaultMiddleware); | |
| 1505 | + if (!IS_PRODUCTION && !Array.isArray(finalMiddleware)) { | |
| 1506 | + throw new Error("when using a middleware builder function, an array of middleware must be returned"); | |
| 1507 | + } | |
| 1508 | + } | |
| 1509 | + if (!IS_PRODUCTION && finalMiddleware.some(function (item) { return typeof item !== "function"; })) { | |
| 1510 | + throw new Error("each middleware provided to configureStore must be a function"); | |
| 1511 | + } | |
| 1512 | + var middlewareEnhancer = redux__WEBPACK_IMPORTED_MODULE_0__.applyMiddleware.apply(void 0, finalMiddleware); | |
| 1513 | + var finalCompose = redux__WEBPACK_IMPORTED_MODULE_0__.compose; | |
| 1514 | + if (devTools) { | |
| 1515 | + finalCompose = composeWithDevTools(__spreadValues({ | |
| 1516 | + trace: !IS_PRODUCTION | |
| 1517 | + }, typeof devTools === "object" && devTools)); | |
| 1518 | + } | |
| 1519 | + var storeEnhancers = [middlewareEnhancer]; | |
| 1520 | + if (Array.isArray(enhancers)) { | |
| 1521 | + storeEnhancers = __spreadArray([middlewareEnhancer], enhancers); | |
| 1522 | + } | |
| 1523 | + else if (typeof enhancers === "function") { | |
| 1524 | + storeEnhancers = enhancers(storeEnhancers); | |
| 1525 | + } | |
| 1526 | + var composedEnhancer = finalCompose.apply(void 0, storeEnhancers); | |
| 1527 | + return (0,redux__WEBPACK_IMPORTED_MODULE_0__.createStore)(rootReducer, preloadedState, composedEnhancer); | |
| 1528 | +} | |
| 1529 | +// src/createAction.ts | |
| 1530 | +function createAction(type, prepareAction) { | |
| 1531 | + function actionCreator() { | |
| 1532 | + var args = []; | |
| 1533 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 1534 | + args[_i] = arguments[_i]; | |
| 1535 | + } | |
| 1536 | + if (prepareAction) { | |
| 1537 | + var prepared = prepareAction.apply(void 0, args); | |
| 1538 | + if (!prepared) { | |
| 1539 | + throw new Error("prepareAction did not return an object"); | |
| 1540 | + } | |
| 1541 | + return __spreadValues(__spreadValues({ | |
| 1542 | + type: type, | |
| 1543 | + payload: prepared.payload | |
| 1544 | + }, "meta" in prepared && { meta: prepared.meta }), "error" in prepared && { error: prepared.error }); | |
| 1545 | + } | |
| 1546 | + return { type: type, payload: args[0] }; | |
| 1547 | + } | |
| 1548 | + actionCreator.toString = function () { return "" + type; }; | |
| 1549 | + actionCreator.type = type; | |
| 1550 | + actionCreator.match = function (action) { return action.type === type; }; | |
| 1551 | + return actionCreator; | |
| 1552 | +} | |
| 1553 | +function isFSA(action) { | |
| 1554 | + return isPlainObject(action) && typeof action.type === "string" && Object.keys(action).every(isValidKey); | |
| 1555 | +} | |
| 1556 | +function isValidKey(key) { | |
| 1557 | + return ["type", "payload", "error", "meta"].indexOf(key) > -1; | |
| 1558 | +} | |
| 1559 | +function getType(actionCreator) { | |
| 1560 | + return "" + actionCreator; | |
| 1561 | +} | |
| 1562 | +// src/createReducer.ts | |
| 1563 | + | |
| 1564 | +// src/mapBuilders.ts | |
| 1565 | +function executeReducerBuilderCallback(builderCallback) { | |
| 1566 | + var actionsMap = {}; | |
| 1567 | + var actionMatchers = []; | |
| 1568 | + var defaultCaseReducer; | |
| 1569 | + var builder = { | |
| 1570 | + addCase: function (typeOrActionCreator, reducer) { | |
| 1571 | + if (true) { | |
| 1572 | + if (actionMatchers.length > 0) { | |
| 1573 | + throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`"); | |
| 1574 | + } | |
| 1575 | + if (defaultCaseReducer) { | |
| 1576 | + throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`"); | |
| 1577 | + } | |
| 1578 | + } | |
| 1579 | + var type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type; | |
| 1580 | + if (type in actionsMap) { | |
| 1581 | + throw new Error("addCase cannot be called with two reducers for the same action type"); | |
| 1582 | + } | |
| 1583 | + actionsMap[type] = reducer; | |
| 1584 | + return builder; | |
| 1585 | + }, | |
| 1586 | + addMatcher: function (matcher, reducer) { | |
| 1587 | + if (true) { | |
| 1588 | + if (defaultCaseReducer) { | |
| 1589 | + throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`"); | |
| 1590 | + } | |
| 1591 | + } | |
| 1592 | + actionMatchers.push({ matcher: matcher, reducer: reducer }); | |
| 1593 | + return builder; | |
| 1594 | + }, | |
| 1595 | + addDefaultCase: function (reducer) { | |
| 1596 | + if (true) { | |
| 1597 | + if (defaultCaseReducer) { | |
| 1598 | + throw new Error("`builder.addDefaultCase` can only be called once"); | |
| 1599 | + } | |
| 1600 | + } | |
| 1601 | + defaultCaseReducer = reducer; | |
| 1602 | + return builder; | |
| 1603 | + } | |
| 1604 | + }; | |
| 1605 | + builderCallback(builder); | |
| 1606 | + return [actionsMap, actionMatchers, defaultCaseReducer]; | |
| 1607 | +} | |
| 1608 | +// src/createReducer.ts | |
| 1609 | +function createReducer(initialState, mapOrBuilderCallback, actionMatchers, defaultCaseReducer) { | |
| 1610 | + if (actionMatchers === void 0) { actionMatchers = []; } | |
| 1611 | + var _b = typeof mapOrBuilderCallback === "function" ? executeReducerBuilderCallback(mapOrBuilderCallback) : [mapOrBuilderCallback, actionMatchers, defaultCaseReducer], actionsMap = _b[0], finalActionMatchers = _b[1], finalDefaultCaseReducer = _b[2]; | |
| 1612 | + var frozenInitialState = (0,immer__WEBPACK_IMPORTED_MODULE_2__["default"])(initialState, function () { | |
| 1613 | + }); | |
| 1614 | + return function (state, action) { | |
| 1615 | + if (state === void 0) { state = frozenInitialState; } | |
| 1616 | + var caseReducers = __spreadArray([ | |
| 1617 | + actionsMap[action.type] | |
| 1618 | + ], finalActionMatchers.filter(function (_b) { | |
| 1619 | + var matcher = _b.matcher; | |
| 1620 | + return matcher(action); | |
| 1621 | + }).map(function (_b) { | |
| 1622 | + var reducer = _b.reducer; | |
| 1623 | + return reducer; | |
| 1624 | + })); | |
| 1625 | + if (caseReducers.filter(function (cr) { return !!cr; }).length === 0) { | |
| 1626 | + caseReducers = [finalDefaultCaseReducer]; | |
| 1627 | + } | |
| 1628 | + return caseReducers.reduce(function (previousState, caseReducer) { | |
| 1629 | + if (caseReducer) { | |
| 1630 | + if ((0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(previousState)) { | |
| 1631 | + var draft = previousState; | |
| 1632 | + var result = caseReducer(draft, action); | |
| 1633 | + if (typeof result === "undefined") { | |
| 1634 | + return previousState; | |
| 1635 | + } | |
| 1636 | + return result; | |
| 1637 | + } | |
| 1638 | + else if (!(0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraftable)(previousState)) { | |
| 1639 | + var result = caseReducer(previousState, action); | |
| 1640 | + if (typeof result === "undefined") { | |
| 1641 | + if (previousState === null) { | |
| 1642 | + return previousState; | |
| 1643 | + } | |
| 1644 | + throw Error("A case reducer on a non-draftable value must not return undefined"); | |
| 1645 | + } | |
| 1646 | + return result; | |
| 1647 | + } | |
| 1648 | + else { | |
| 1649 | + return (0,immer__WEBPACK_IMPORTED_MODULE_2__["default"])(previousState, function (draft) { | |
| 1650 | + return caseReducer(draft, action); | |
| 1651 | + }); | |
| 1652 | + } | |
| 1653 | + } | |
| 1654 | + return previousState; | |
| 1655 | + }, state); | |
| 1656 | + }; | |
| 1657 | +} | |
| 1658 | +// src/createSlice.ts | |
| 1659 | +function getType2(slice, actionKey) { | |
| 1660 | + return slice + "/" + actionKey; | |
| 1661 | +} | |
| 1662 | +function createSlice(options) { | |
| 1663 | + var name = options.name, initialState = options.initialState; | |
| 1664 | + if (!name) { | |
| 1665 | + throw new Error("`name` is a required option for createSlice"); | |
| 1666 | + } | |
| 1667 | + var reducers = options.reducers || {}; | |
| 1668 | + 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; | |
| 1669 | + var reducerNames = Object.keys(reducers); | |
| 1670 | + var sliceCaseReducersByName = {}; | |
| 1671 | + var sliceCaseReducersByType = {}; | |
| 1672 | + var actionCreators = {}; | |
| 1673 | + reducerNames.forEach(function (reducerName) { | |
| 1674 | + var maybeReducerWithPrepare = reducers[reducerName]; | |
| 1675 | + var type = getType2(name, reducerName); | |
| 1676 | + var caseReducer; | |
| 1677 | + var prepareCallback; | |
| 1678 | + if ("reducer" in maybeReducerWithPrepare) { | |
| 1679 | + caseReducer = maybeReducerWithPrepare.reducer; | |
| 1680 | + prepareCallback = maybeReducerWithPrepare.prepare; | |
| 1681 | + } | |
| 1682 | + else { | |
| 1683 | + caseReducer = maybeReducerWithPrepare; | |
| 1684 | + } | |
| 1685 | + sliceCaseReducersByName[reducerName] = caseReducer; | |
| 1686 | + sliceCaseReducersByType[type] = caseReducer; | |
| 1687 | + actionCreators[reducerName] = prepareCallback ? createAction(type, prepareCallback) : createAction(type); | |
| 1688 | + }); | |
| 1689 | + var finalCaseReducers = __spreadValues(__spreadValues({}, extraReducers), sliceCaseReducersByType); | |
| 1690 | + var reducer = createReducer(initialState, finalCaseReducers, actionMatchers, defaultCaseReducer); | |
| 1691 | + return { | |
| 1692 | + name: name, | |
| 1693 | + reducer: reducer, | |
| 1694 | + actions: actionCreators, | |
| 1695 | + caseReducers: sliceCaseReducersByName | |
| 1696 | + }; | |
| 1697 | +} | |
| 1698 | +// src/entities/entity_state.ts | |
| 1699 | +function getInitialEntityState() { | |
| 1700 | + return { | |
| 1701 | + ids: [], | |
| 1702 | + entities: {} | |
| 1703 | + }; | |
| 1704 | +} | |
| 1705 | +function createInitialStateFactory() { | |
| 1706 | + function getInitialState(additionalState) { | |
| 1707 | + if (additionalState === void 0) { additionalState = {}; } | |
| 1708 | + return Object.assign(getInitialEntityState(), additionalState); | |
| 1709 | + } | |
| 1710 | + return { getInitialState: getInitialState }; | |
| 1711 | +} | |
| 1712 | +// src/entities/state_selectors.ts | |
| 1713 | +function createSelectorsFactory() { | |
| 1714 | + function getSelectors(selectState) { | |
| 1715 | + var selectIds = function (state) { return state.ids; }; | |
| 1716 | + var selectEntities = function (state) { return state.entities; }; | |
| 1717 | + var selectAll = createDraftSafeSelector(selectIds, selectEntities, function (ids, entities) { return ids.map(function (id) { return entities[id]; }); }); | |
| 1718 | + var selectId = function (_, id) { return id; }; | |
| 1719 | + var selectById = function (entities, id) { return entities[id]; }; | |
| 1720 | + var selectTotal = createDraftSafeSelector(selectIds, function (ids) { return ids.length; }); | |
| 1721 | + if (!selectState) { | |
| 1722 | + return { | |
| 1723 | + selectIds: selectIds, | |
| 1724 | + selectEntities: selectEntities, | |
| 1725 | + selectAll: selectAll, | |
| 1726 | + selectTotal: selectTotal, | |
| 1727 | + selectById: createDraftSafeSelector(selectEntities, selectId, selectById) | |
| 1728 | + }; | |
| 1729 | + } | |
| 1730 | + var selectGlobalizedEntities = createDraftSafeSelector(selectState, selectEntities); | |
| 1731 | + return { | |
| 1732 | + selectIds: createDraftSafeSelector(selectState, selectIds), | |
| 1733 | + selectEntities: selectGlobalizedEntities, | |
| 1734 | + selectAll: createDraftSafeSelector(selectState, selectAll), | |
| 1735 | + selectTotal: createDraftSafeSelector(selectState, selectTotal), | |
| 1736 | + selectById: createDraftSafeSelector(selectGlobalizedEntities, selectId, selectById) | |
| 1737 | + }; | |
| 1738 | + } | |
| 1739 | + return { getSelectors: getSelectors }; | |
| 1740 | +} | |
| 1741 | +// src/entities/state_adapter.ts | |
| 1742 | + | |
| 1743 | +function createSingleArgumentStateOperator(mutator) { | |
| 1744 | + var operator = createStateOperator(function (_, state) { return mutator(state); }); | |
| 1745 | + return function operation(state) { | |
| 1746 | + return operator(state, void 0); | |
| 1747 | + }; | |
| 1748 | +} | |
| 1749 | +function createStateOperator(mutator) { | |
| 1750 | + return function operation(state, arg) { | |
| 1751 | + function isPayloadActionArgument(arg2) { | |
| 1752 | + return isFSA(arg2); | |
| 1753 | + } | |
| 1754 | + var runMutator = function (draft) { | |
| 1755 | + if (isPayloadActionArgument(arg)) { | |
| 1756 | + mutator(arg.payload, draft); | |
| 1757 | + } | |
| 1758 | + else { | |
| 1759 | + mutator(arg, draft); | |
| 1760 | + } | |
| 1761 | + }; | |
| 1762 | + if ((0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(state)) { | |
| 1763 | + runMutator(state); | |
| 1764 | + return state; | |
| 1765 | + } | |
| 1766 | + else { | |
| 1767 | + return (0,immer__WEBPACK_IMPORTED_MODULE_2__["default"])(state, runMutator); | |
| 1768 | + } | |
| 1769 | + }; | |
| 1770 | +} | |
| 1771 | +// src/entities/utils.ts | |
| 1772 | +function selectIdValue(entity, selectId) { | |
| 1773 | + var key = selectId(entity); | |
| 1774 | + if ( true && key === void 0) { | |
| 1775 | + 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()); | |
| 1776 | + } | |
| 1777 | + return key; | |
| 1778 | +} | |
| 1779 | +function ensureEntitiesArray(entities) { | |
| 1780 | + if (!Array.isArray(entities)) { | |
| 1781 | + entities = Object.values(entities); | |
| 1782 | + } | |
| 1783 | + return entities; | |
| 1784 | +} | |
| 1785 | +function splitAddedUpdatedEntities(newEntities, selectId, state) { | |
| 1786 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1787 | + var added = []; | |
| 1788 | + var updated = []; | |
| 1789 | + for (var _i = 0, newEntities_1 = newEntities; _i < newEntities_1.length; _i++) { | |
| 1790 | + var entity = newEntities_1[_i]; | |
| 1791 | + var id = selectIdValue(entity, selectId); | |
| 1792 | + if (id in state.entities) { | |
| 1793 | + updated.push({ id: id, changes: entity }); | |
| 1794 | + } | |
| 1795 | + else { | |
| 1796 | + added.push(entity); | |
| 1797 | + } | |
| 1798 | + } | |
| 1799 | + return [added, updated]; | |
| 1800 | +} | |
| 1801 | +// src/entities/unsorted_state_adapter.ts | |
| 1802 | +function createUnsortedStateAdapter(selectId) { | |
| 1803 | + function addOneMutably(entity, state) { | |
| 1804 | + var key = selectIdValue(entity, selectId); | |
| 1805 | + if (key in state.entities) { | |
| 1806 | + return; | |
| 1807 | + } | |
| 1808 | + state.ids.push(key); | |
| 1809 | + state.entities[key] = entity; | |
| 1810 | + } | |
| 1811 | + function addManyMutably(newEntities, state) { | |
| 1812 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1813 | + for (var _i = 0, newEntities_2 = newEntities; _i < newEntities_2.length; _i++) { | |
| 1814 | + var entity = newEntities_2[_i]; | |
| 1815 | + addOneMutably(entity, state); | |
| 1816 | + } | |
| 1817 | + } | |
| 1818 | + function setOneMutably(entity, state) { | |
| 1819 | + var key = selectIdValue(entity, selectId); | |
| 1820 | + if (!(key in state.entities)) { | |
| 1821 | + state.ids.push(key); | |
| 1822 | + } | |
| 1823 | + state.entities[key] = entity; | |
| 1824 | + } | |
| 1825 | + function setManyMutably(newEntities, state) { | |
| 1826 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1827 | + for (var _i = 0, newEntities_3 = newEntities; _i < newEntities_3.length; _i++) { | |
| 1828 | + var entity = newEntities_3[_i]; | |
| 1829 | + setOneMutably(entity, state); | |
| 1830 | + } | |
| 1831 | + } | |
| 1832 | + function setAllMutably(newEntities, state) { | |
| 1833 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1834 | + state.ids = []; | |
| 1835 | + state.entities = {}; | |
| 1836 | + addManyMutably(newEntities, state); | |
| 1837 | + } | |
| 1838 | + function removeOneMutably(key, state) { | |
| 1839 | + return removeManyMutably([key], state); | |
| 1840 | + } | |
| 1841 | + function removeManyMutably(keys, state) { | |
| 1842 | + var didMutate = false; | |
| 1843 | + keys.forEach(function (key) { | |
| 1844 | + if (key in state.entities) { | |
| 1845 | + delete state.entities[key]; | |
| 1846 | + didMutate = true; | |
| 1847 | + } | |
| 1848 | + }); | |
| 1849 | + if (didMutate) { | |
| 1850 | + state.ids = state.ids.filter(function (id) { return id in state.entities; }); | |
| 1851 | + } | |
| 1852 | + } | |
| 1853 | + function removeAllMutably(state) { | |
| 1854 | + Object.assign(state, { | |
| 1855 | + ids: [], | |
| 1856 | + entities: {} | |
| 1857 | + }); | |
| 1858 | + } | |
| 1859 | + function takeNewKey(keys, update, state) { | |
| 1860 | + var original2 = state.entities[update.id]; | |
| 1861 | + var updated = Object.assign({}, original2, update.changes); | |
| 1862 | + var newKey = selectIdValue(updated, selectId); | |
| 1863 | + var hasNewKey = newKey !== update.id; | |
| 1864 | + if (hasNewKey) { | |
| 1865 | + keys[update.id] = newKey; | |
| 1866 | + delete state.entities[update.id]; | |
| 1867 | + } | |
| 1868 | + state.entities[newKey] = updated; | |
| 1869 | + return hasNewKey; | |
| 1870 | + } | |
| 1871 | + function updateOneMutably(update, state) { | |
| 1872 | + return updateManyMutably([update], state); | |
| 1873 | + } | |
| 1874 | + function updateManyMutably(updates, state) { | |
| 1875 | + var newKeys = {}; | |
| 1876 | + var updatesPerEntity = {}; | |
| 1877 | + updates.forEach(function (update) { | |
| 1878 | + if (update.id in state.entities) { | |
| 1879 | + updatesPerEntity[update.id] = { | |
| 1880 | + id: update.id, | |
| 1881 | + changes: __spreadValues(__spreadValues({}, updatesPerEntity[update.id] ? updatesPerEntity[update.id].changes : null), update.changes) | |
| 1882 | + }; | |
| 1883 | + } | |
| 1884 | + }); | |
| 1885 | + updates = Object.values(updatesPerEntity); | |
| 1886 | + var didMutateEntities = updates.length > 0; | |
| 1887 | + if (didMutateEntities) { | |
| 1888 | + var didMutateIds = updates.filter(function (update) { return takeNewKey(newKeys, update, state); }).length > 0; | |
| 1889 | + if (didMutateIds) { | |
| 1890 | + state.ids = state.ids.map(function (id) { return newKeys[id] || id; }); | |
| 1891 | + } | |
| 1892 | + } | |
| 1893 | + } | |
| 1894 | + function upsertOneMutably(entity, state) { | |
| 1895 | + return upsertManyMutably([entity], state); | |
| 1896 | + } | |
| 1897 | + function upsertManyMutably(newEntities, state) { | |
| 1898 | + var _b = splitAddedUpdatedEntities(newEntities, selectId, state), added = _b[0], updated = _b[1]; | |
| 1899 | + updateManyMutably(updated, state); | |
| 1900 | + addManyMutably(added, state); | |
| 1901 | + } | |
| 1902 | + return { | |
| 1903 | + removeAll: createSingleArgumentStateOperator(removeAllMutably), | |
| 1904 | + addOne: createStateOperator(addOneMutably), | |
| 1905 | + addMany: createStateOperator(addManyMutably), | |
| 1906 | + setOne: createStateOperator(setOneMutably), | |
| 1907 | + setMany: createStateOperator(setManyMutably), | |
| 1908 | + setAll: createStateOperator(setAllMutably), | |
| 1909 | + updateOne: createStateOperator(updateOneMutably), | |
| 1910 | + updateMany: createStateOperator(updateManyMutably), | |
| 1911 | + upsertOne: createStateOperator(upsertOneMutably), | |
| 1912 | + upsertMany: createStateOperator(upsertManyMutably), | |
| 1913 | + removeOne: createStateOperator(removeOneMutably), | |
| 1914 | + removeMany: createStateOperator(removeManyMutably) | |
| 1915 | + }; | |
| 1916 | +} | |
| 1917 | +// src/entities/sorted_state_adapter.ts | |
| 1918 | +function createSortedStateAdapter(selectId, sort) { | |
| 1919 | + var _b = createUnsortedStateAdapter(selectId), removeOne = _b.removeOne, removeMany = _b.removeMany, removeAll = _b.removeAll; | |
| 1920 | + function addOneMutably(entity, state) { | |
| 1921 | + return addManyMutably([entity], state); | |
| 1922 | + } | |
| 1923 | + function addManyMutably(newEntities, state) { | |
| 1924 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1925 | + var models = newEntities.filter(function (model) { return !(selectIdValue(model, selectId) in state.entities); }); | |
| 1926 | + if (models.length !== 0) { | |
| 1927 | + merge(models, state); | |
| 1928 | + } | |
| 1929 | + } | |
| 1930 | + function setOneMutably(entity, state) { | |
| 1931 | + return setManyMutably([entity], state); | |
| 1932 | + } | |
| 1933 | + function setManyMutably(newEntities, state) { | |
| 1934 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1935 | + if (newEntities.length !== 0) { | |
| 1936 | + merge(newEntities, state); | |
| 1937 | + } | |
| 1938 | + } | |
| 1939 | + function setAllMutably(newEntities, state) { | |
| 1940 | + newEntities = ensureEntitiesArray(newEntities); | |
| 1941 | + state.entities = {}; | |
| 1942 | + state.ids = []; | |
| 1943 | + addManyMutably(newEntities, state); | |
| 1944 | + } | |
| 1945 | + function updateOneMutably(update, state) { | |
| 1946 | + return updateManyMutably([update], state); | |
| 1947 | + } | |
| 1948 | + function takeUpdatedModel(models, update, state) { | |
| 1949 | + if (!(update.id in state.entities)) { | |
| 1950 | + return false; | |
| 1951 | + } | |
| 1952 | + var original2 = state.entities[update.id]; | |
| 1953 | + var updated = Object.assign({}, original2, update.changes); | |
| 1954 | + var newKey = selectIdValue(updated, selectId); | |
| 1955 | + delete state.entities[update.id]; | |
| 1956 | + models.push(updated); | |
| 1957 | + return newKey !== update.id; | |
| 1958 | + } | |
| 1959 | + function updateManyMutably(updates, state) { | |
| 1960 | + var models = []; | |
| 1961 | + updates.forEach(function (update) { return takeUpdatedModel(models, update, state); }); | |
| 1962 | + if (models.length !== 0) { | |
| 1963 | + merge(models, state); | |
| 1964 | + } | |
| 1965 | + } | |
| 1966 | + function upsertOneMutably(entity, state) { | |
| 1967 | + return upsertManyMutably([entity], state); | |
| 1968 | + } | |
| 1969 | + function upsertManyMutably(newEntities, state) { | |
| 1970 | + var _b = splitAddedUpdatedEntities(newEntities, selectId, state), added = _b[0], updated = _b[1]; | |
| 1971 | + updateManyMutably(updated, state); | |
| 1972 | + addManyMutably(added, state); | |
| 1973 | + } | |
| 1974 | + function areArraysEqual(a, b) { | |
| 1975 | + if (a.length !== b.length) { | |
| 1976 | + return false; | |
| 1977 | + } | |
| 1978 | + for (var i = 0; i < a.length && i < b.length; i++) { | |
| 1979 | + if (a[i] === b[i]) { | |
| 1980 | + continue; | |
| 1981 | + } | |
| 1982 | + return false; | |
| 1983 | + } | |
| 1984 | + return true; | |
| 1985 | + } | |
| 1986 | + function merge(models, state) { | |
| 1987 | + models.forEach(function (model) { | |
| 1988 | + state.entities[selectId(model)] = model; | |
| 1989 | + }); | |
| 1990 | + var allEntities = Object.values(state.entities); | |
| 1991 | + allEntities.sort(sort); | |
| 1992 | + var newSortedIds = allEntities.map(selectId); | |
| 1993 | + var ids = state.ids; | |
| 1994 | + if (!areArraysEqual(ids, newSortedIds)) { | |
| 1995 | + state.ids = newSortedIds; | |
| 1996 | + } | |
| 1997 | + } | |
| 1998 | + return { | |
| 1999 | + removeOne: removeOne, | |
| 2000 | + removeMany: removeMany, | |
| 2001 | + removeAll: removeAll, | |
| 2002 | + addOne: createStateOperator(addOneMutably), | |
| 2003 | + updateOne: createStateOperator(updateOneMutably), | |
| 2004 | + upsertOne: createStateOperator(upsertOneMutably), | |
| 2005 | + setOne: createStateOperator(setOneMutably), | |
| 2006 | + setMany: createStateOperator(setManyMutably), | |
| 2007 | + setAll: createStateOperator(setAllMutably), | |
| 2008 | + addMany: createStateOperator(addManyMutably), | |
| 2009 | + updateMany: createStateOperator(updateManyMutably), | |
| 2010 | + upsertMany: createStateOperator(upsertManyMutably) | |
| 2011 | + }; | |
| 2012 | +} | |
| 2013 | +// src/entities/create_adapter.ts | |
| 2014 | +function createEntityAdapter(options) { | |
| 2015 | + if (options === void 0) { options = {}; } | |
| 2016 | + var _b = __spreadValues({ | |
| 2017 | + sortComparer: false, | |
| 2018 | + selectId: function (instance) { return instance.id; } | |
| 2019 | + }, options), selectId = _b.selectId, sortComparer = _b.sortComparer; | |
| 2020 | + var stateFactory = createInitialStateFactory(); | |
| 2021 | + var selectorsFactory = createSelectorsFactory(); | |
| 2022 | + var stateAdapter = sortComparer ? createSortedStateAdapter(selectId, sortComparer) : createUnsortedStateAdapter(selectId); | |
| 2023 | + return __spreadValues(__spreadValues(__spreadValues({ | |
| 2024 | + selectId: selectId, | |
| 2025 | + sortComparer: sortComparer | |
| 2026 | + }, stateFactory), selectorsFactory), stateAdapter); | |
| 2027 | +} | |
| 2028 | +// src/nanoid.ts | |
| 2029 | +var urlAlphabet = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"; | |
| 2030 | +var nanoid = function (size) { | |
| 2031 | + if (size === void 0) { size = 21; } | |
| 2032 | + var id = ""; | |
| 2033 | + var i = size; | |
| 2034 | + while (i--) { | |
| 2035 | + id += urlAlphabet[Math.random() * 64 | 0]; | |
| 2036 | + } | |
| 2037 | + return id; | |
| 2038 | +}; | |
| 2039 | +// src/createAsyncThunk.ts | |
| 2040 | +var commonProperties = [ | |
| 2041 | + "name", | |
| 2042 | + "message", | |
| 2043 | + "stack", | |
| 2044 | + "code" | |
| 2045 | +]; | |
| 2046 | +var RejectWithValue = /** @class */ (function () { | |
| 2047 | + function RejectWithValue(payload, meta) { | |
| 2048 | + this.payload = payload; | |
| 2049 | + this.meta = meta; | |
| 2050 | + } | |
| 2051 | + return RejectWithValue; | |
| 2052 | +}()); | |
| 2053 | +var FulfillWithMeta = /** @class */ (function () { | |
| 2054 | + function FulfillWithMeta(payload, meta) { | |
| 2055 | + this.payload = payload; | |
| 2056 | + this.meta = meta; | |
| 2057 | + } | |
| 2058 | + return FulfillWithMeta; | |
| 2059 | +}()); | |
| 2060 | +var miniSerializeError = function (value) { | |
| 2061 | + if (typeof value === "object" && value !== null) { | |
| 2062 | + var simpleError = {}; | |
| 2063 | + for (var _i = 0, commonProperties_1 = commonProperties; _i < commonProperties_1.length; _i++) { | |
| 2064 | + var property = commonProperties_1[_i]; | |
| 2065 | + if (typeof value[property] === "string") { | |
| 2066 | + simpleError[property] = value[property]; | |
| 2067 | + } | |
| 2068 | + } | |
| 2069 | + return simpleError; | |
| 2070 | + } | |
| 2071 | + return { message: String(value) }; | |
| 2072 | +}; | |
| 2073 | +function createAsyncThunk(typePrefix, payloadCreator, options) { | |
| 2074 | + var fulfilled = createAction(typePrefix + "/fulfilled", function (payload, requestId, arg, meta) { return ({ | |
| 2075 | + payload: payload, | |
| 2076 | + meta: __spreadProps(__spreadValues({}, meta || {}), { | |
| 2077 | + arg: arg, | |
| 2078 | + requestId: requestId, | |
| 2079 | + requestStatus: "fulfilled" | |
| 2080 | + }) | |
| 2081 | + }); }); | |
| 2082 | + var pending = createAction(typePrefix + "/pending", function (requestId, arg, meta) { return ({ | |
| 2083 | + payload: void 0, | |
| 2084 | + meta: __spreadProps(__spreadValues({}, meta || {}), { | |
| 2085 | + arg: arg, | |
| 2086 | + requestId: requestId, | |
| 2087 | + requestStatus: "pending" | |
| 2088 | + }) | |
| 2089 | + }); }); | |
| 2090 | + var rejected = createAction(typePrefix + "/rejected", function (error, requestId, arg, payload, meta) { return ({ | |
| 2091 | + payload: payload, | |
| 2092 | + error: (options && options.serializeError || miniSerializeError)(error || "Rejected"), | |
| 2093 | + meta: __spreadProps(__spreadValues({}, meta || {}), { | |
| 2094 | + arg: arg, | |
| 2095 | + requestId: requestId, | |
| 2096 | + rejectedWithValue: !!payload, | |
| 2097 | + requestStatus: "rejected", | |
| 2098 | + aborted: (error == null ? void 0 : error.name) === "AbortError", | |
| 2099 | + condition: (error == null ? void 0 : error.name) === "ConditionError" | |
| 2100 | + }) | |
| 2101 | + }); }); | |
| 2102 | + var displayedWarning = false; | |
| 2103 | + var AC = typeof AbortController !== "undefined" ? AbortController : /** @class */ (function () { | |
| 2104 | + function class_1() { | |
| 2105 | + this.signal = { | |
| 2106 | + aborted: false, | |
| 2107 | + addEventListener: function () { | |
| 2108 | + }, | |
| 2109 | + dispatchEvent: function () { | |
| 2110 | + return false; | |
| 2111 | + }, | |
| 2112 | + onabort: function () { | |
| 2113 | + }, | |
| 2114 | + removeEventListener: function () { | |
| 2115 | + } | |
| 2116 | + }; | |
| 2117 | + } | |
| 2118 | + class_1.prototype.abort = function () { | |
| 2119 | + if (true) { | |
| 2120 | + if (!displayedWarning) { | |
| 2121 | + displayedWarning = true; | |
| 2122 | + 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'."); | |
| 2123 | + } | |
| 2124 | + } | |
| 2125 | + }; | |
| 2126 | + return class_1; | |
| 2127 | + }()); | |
| 2128 | + function actionCreator(arg) { | |
| 2129 | + return function (dispatch, getState, extra) { | |
| 2130 | + var _a; | |
| 2131 | + var requestId = ((_a = options == null ? void 0 : options.idGenerator) != null ? _a : nanoid)(); | |
| 2132 | + var abortController = new AC(); | |
| 2133 | + var abortReason; | |
| 2134 | + var abortedPromise = new Promise(function (_, reject) { return abortController.signal.addEventListener("abort", function () { return reject({ name: "AbortError", message: abortReason || "Aborted" }); }); }); | |
| 2135 | + var started = false; | |
| 2136 | + function abort(reason) { | |
| 2137 | + if (started) { | |
| 2138 | + abortReason = reason; | |
| 2139 | + abortController.abort(); | |
| 2140 | + } | |
| 2141 | + } | |
| 2142 | + var promise = function () { | |
| 2143 | + return __async(this, null, function () { | |
| 2144 | + var _a2, finalAction, err_1, skipDispatch; | |
| 2145 | + return __generator(this, function (_b) { | |
| 2146 | + switch (_b.label) { | |
| 2147 | + case 0: | |
| 2148 | + _b.trys.push([0, 2, , 3]); | |
| 2149 | + if (options && options.condition && options.condition(arg, { getState: getState, extra: extra }) === false) { | |
| 2150 | + throw { | |
| 2151 | + name: "ConditionError", | |
| 2152 | + message: "Aborted due to condition callback returning false." | |
| 2153 | + }; | |
| 2154 | + } | |
| 2155 | + started = true; | |
| 2156 | + 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 }))); | |
| 2157 | + return [4 /*yield*/, Promise.race([ | |
| 2158 | + abortedPromise, | |
| 2159 | + Promise.resolve(payloadCreator(arg, { | |
| 2160 | + dispatch: dispatch, | |
| 2161 | + getState: getState, | |
| 2162 | + extra: extra, | |
| 2163 | + requestId: requestId, | |
| 2164 | + signal: abortController.signal, | |
| 2165 | + rejectWithValue: function (value, meta) { | |
| 2166 | + return new RejectWithValue(value, meta); | |
| 2167 | + }, | |
| 2168 | + fulfillWithValue: function (value, meta) { | |
| 2169 | + return new FulfillWithMeta(value, meta); | |
| 2170 | + } | |
| 2171 | + })).then(function (result) { | |
| 2172 | + if (result instanceof RejectWithValue) { | |
| 2173 | + throw result; | |
| 2174 | + } | |
| 2175 | + if (result instanceof FulfillWithMeta) { | |
| 2176 | + return fulfilled(result.payload, requestId, arg, result.meta); | |
| 2177 | + } | |
| 2178 | + return fulfilled(result, requestId, arg); | |
| 2179 | + }) | |
| 2180 | + ])]; | |
| 2181 | + case 1: | |
| 2182 | + finalAction = _b.sent(); | |
| 2183 | + return [3 /*break*/, 3]; | |
| 2184 | + case 2: | |
| 2185 | + err_1 = _b.sent(); | |
| 2186 | + finalAction = err_1 instanceof RejectWithValue ? rejected(null, requestId, arg, err_1.payload, err_1.meta) : rejected(err_1, requestId, arg); | |
| 2187 | + return [3 /*break*/, 3]; | |
| 2188 | + case 3: | |
| 2189 | + skipDispatch = options && !options.dispatchConditionRejection && rejected.match(finalAction) && finalAction.meta.condition; | |
| 2190 | + if (!skipDispatch) { | |
| 2191 | + dispatch(finalAction); | |
| 2192 | + } | |
| 2193 | + return [2 /*return*/, finalAction]; | |
| 2194 | + } | |
| 2195 | + }); | |
| 2196 | + }); | |
| 2197 | + }(); | |
| 2198 | + return Object.assign(promise, { | |
| 2199 | + abort: abort, | |
| 2200 | + requestId: requestId, | |
| 2201 | + arg: arg, | |
| 2202 | + unwrap: function () { | |
| 2203 | + return promise.then(unwrapResult); | |
| 2204 | + } | |
| 2205 | + }); | |
| 2206 | + }; | |
| 2207 | + } | |
| 2208 | + return Object.assign(actionCreator, { | |
| 2209 | + pending: pending, | |
| 2210 | + rejected: rejected, | |
| 2211 | + fulfilled: fulfilled, | |
| 2212 | + typePrefix: typePrefix | |
| 2213 | + }); | |
| 2214 | +} | |
| 2215 | +function unwrapResult(action) { | |
| 2216 | + if (action.meta && action.meta.rejectedWithValue) { | |
| 2217 | + throw action.payload; | |
| 2218 | + } | |
| 2219 | + if (action.error) { | |
| 2220 | + throw action.error; | |
| 2221 | + } | |
| 2222 | + return action.payload; | |
| 2223 | +} | |
| 2224 | +// src/tsHelpers.ts | |
| 2225 | +var hasMatchFunction = function (v) { | |
| 2226 | + return v && typeof v.match === "function"; | |
| 2227 | +}; | |
| 2228 | +// src/matchers.ts | |
| 2229 | +var matches = function (matcher, action) { | |
| 2230 | + if (hasMatchFunction(matcher)) { | |
| 2231 | + return matcher.match(action); | |
| 2232 | + } | |
| 2233 | + else { | |
| 2234 | + return matcher(action); | |
| 2235 | + } | |
| 2236 | +}; | |
| 2237 | +function isAnyOf() { | |
| 2238 | + var matchers = []; | |
| 2239 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2240 | + matchers[_i] = arguments[_i]; | |
| 2241 | + } | |
| 2242 | + return function (action) { | |
| 2243 | + return matchers.some(function (matcher) { return matches(matcher, action); }); | |
| 2244 | + }; | |
| 2245 | +} | |
| 2246 | +function isAllOf() { | |
| 2247 | + var matchers = []; | |
| 2248 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2249 | + matchers[_i] = arguments[_i]; | |
| 2250 | + } | |
| 2251 | + return function (action) { | |
| 2252 | + return matchers.every(function (matcher) { return matches(matcher, action); }); | |
| 2253 | + }; | |
| 2254 | +} | |
| 2255 | +function hasExpectedRequestMetadata(action, validStatus) { | |
| 2256 | + if (!action || !action.meta) | |
| 2257 | + return false; | |
| 2258 | + var hasValidRequestId = typeof action.meta.requestId === "string"; | |
| 2259 | + var hasValidRequestStatus = validStatus.indexOf(action.meta.requestStatus) > -1; | |
| 2260 | + return hasValidRequestId && hasValidRequestStatus; | |
| 2261 | +} | |
| 2262 | +function isAsyncThunkArray(a) { | |
| 2263 | + return typeof a[0] === "function" && "pending" in a[0] && "fulfilled" in a[0] && "rejected" in a[0]; | |
| 2264 | +} | |
| 2265 | +function isPending() { | |
| 2266 | + var asyncThunks = []; | |
| 2267 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2268 | + asyncThunks[_i] = arguments[_i]; | |
| 2269 | + } | |
| 2270 | + if (asyncThunks.length === 0) { | |
| 2271 | + return function (action) { return hasExpectedRequestMetadata(action, ["pending"]); }; | |
| 2272 | + } | |
| 2273 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2274 | + return isPending()(asyncThunks[0]); | |
| 2275 | + } | |
| 2276 | + return function (action) { | |
| 2277 | + var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.pending; }); | |
| 2278 | + var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 2279 | + return combinedMatcher(action); | |
| 2280 | + }; | |
| 2281 | +} | |
| 2282 | +function isRejected() { | |
| 2283 | + var asyncThunks = []; | |
| 2284 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2285 | + asyncThunks[_i] = arguments[_i]; | |
| 2286 | + } | |
| 2287 | + if (asyncThunks.length === 0) { | |
| 2288 | + return function (action) { return hasExpectedRequestMetadata(action, ["rejected"]); }; | |
| 2289 | + } | |
| 2290 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2291 | + return isRejected()(asyncThunks[0]); | |
| 2292 | + } | |
| 2293 | + return function (action) { | |
| 2294 | + var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.rejected; }); | |
| 2295 | + var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 2296 | + return combinedMatcher(action); | |
| 2297 | + }; | |
| 2298 | +} | |
| 2299 | +function isRejectedWithValue() { | |
| 2300 | + var asyncThunks = []; | |
| 2301 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2302 | + asyncThunks[_i] = arguments[_i]; | |
| 2303 | + } | |
| 2304 | + var hasFlag = function (action) { | |
| 2305 | + return action && action.meta && action.meta.rejectedWithValue; | |
| 2306 | + }; | |
| 2307 | + if (asyncThunks.length === 0) { | |
| 2308 | + return function (action) { | |
| 2309 | + var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag); | |
| 2310 | + return combinedMatcher(action); | |
| 2311 | + }; | |
| 2312 | + } | |
| 2313 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2314 | + return isRejectedWithValue()(asyncThunks[0]); | |
| 2315 | + } | |
| 2316 | + return function (action) { | |
| 2317 | + var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag); | |
| 2318 | + return combinedMatcher(action); | |
| 2319 | + }; | |
| 2320 | +} | |
| 2321 | +function isFulfilled() { | |
| 2322 | + var asyncThunks = []; | |
| 2323 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2324 | + asyncThunks[_i] = arguments[_i]; | |
| 2325 | + } | |
| 2326 | + if (asyncThunks.length === 0) { | |
| 2327 | + return function (action) { return hasExpectedRequestMetadata(action, ["fulfilled"]); }; | |
| 2328 | + } | |
| 2329 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2330 | + return isFulfilled()(asyncThunks[0]); | |
| 2331 | + } | |
| 2332 | + return function (action) { | |
| 2333 | + var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.fulfilled; }); | |
| 2334 | + var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 2335 | + return combinedMatcher(action); | |
| 2336 | + }; | |
| 2337 | +} | |
| 2338 | +function isAsyncThunkAction() { | |
| 2339 | + var asyncThunks = []; | |
| 2340 | + for (var _i = 0; _i < arguments.length; _i++) { | |
| 2341 | + asyncThunks[_i] = arguments[_i]; | |
| 2342 | + } | |
| 2343 | + if (asyncThunks.length === 0) { | |
| 2344 | + return function (action) { return hasExpectedRequestMetadata(action, ["pending", "fulfilled", "rejected"]); }; | |
| 2345 | + } | |
| 2346 | + if (!isAsyncThunkArray(asyncThunks)) { | |
| 2347 | + return isAsyncThunkAction()(asyncThunks[0]); | |
| 2348 | + } | |
| 2349 | + return function (action) { | |
| 2350 | + var matchers = []; | |
| 2351 | + for (var _i = 0, asyncThunks_1 = asyncThunks; _i < asyncThunks_1.length; _i++) { | |
| 2352 | + var asyncThunk = asyncThunks_1[_i]; | |
| 2353 | + matchers.push(asyncThunk.pending, asyncThunk.rejected, asyncThunk.fulfilled); | |
| 2354 | + } | |
| 2355 | + var combinedMatcher = isAnyOf.apply(void 0, matchers); | |
| 2356 | + return combinedMatcher(action); | |
| 2357 | + }; | |
| 2358 | +} | |
| 2359 | +// src/index.ts | |
| 2360 | +(0,immer__WEBPACK_IMPORTED_MODULE_2__.enableES5)(); | |
| 2361 | + | |
| 2362 | +//# sourceMappingURL=redux-toolkit.esm.js.map | |
| 2363 | + | |
| 2364 | +/***/ }), | |
| 2365 | + | |
| 2366 | +/***/ "../assets/dev/js/editor/utils/is-instanceof.js": | |
| 2367 | +/*!******************************************************!*\ | |
| 2368 | + !*** ../assets/dev/js/editor/utils/is-instanceof.js ***! | |
| 2369 | + \******************************************************/ | |
| 2370 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2371 | + | |
| 2372 | +"use strict"; | |
| 2373 | + | |
| 2374 | + | |
| 2375 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2376 | + | |
| 2377 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2378 | + | |
| 2379 | +_Object$defineProperty(exports, "__esModule", { | |
| 2380 | + value: true | |
| 2381 | +}); | |
| 2382 | + | |
| 2383 | +exports["default"] = void 0; | |
| 2384 | + | |
| 2385 | +__webpack_require__(/*! core-js/modules/es6.function.name.js */ "../node_modules/core-js/modules/es6.function.name.js"); | |
| 2386 | + | |
| 2387 | +var _createForOfIteratorHelper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createForOfIteratorHelper */ "../node_modules/@babel/runtime-corejs2/helpers/createForOfIteratorHelper.js")); | |
| 2388 | + | |
| 2389 | +var _isArray = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js")); | |
| 2390 | + | |
| 2391 | +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")); | |
| 2392 | + | |
| 496 | 2393 | /** |
| 497 | - * @typedef {Object} Version | |
| 498 | - * @property {number} major1 The first number | |
| 499 | - * @property {number} major2 The second number | |
| 500 | - * @property {number} minor The third number | |
| 501 | - * @property {string} build The fourth number | |
| 502 | - */ | |
| 503 | - var softDeprecated = function softDeprecated(name, version, replacement) { | |
| 504 | - if (elementorWebCliConfig.isDebug) deprecatedMessage("soft", name, version, replacement); | |
| 505 | - }; | |
| 506 | - var hardDeprecated = function hardDeprecated(name, version, replacement) { | |
| 507 | - deprecatedMessage("hard", name, version, replacement); | |
| 508 | - }; | |
| 509 | - var deprecatedMessage = function deprecatedMessage(type, name, version, replacement) { | |
| 510 | - var message = "`".concat(name, "` is ").concat(type, " deprecated since ").concat(version); | |
| 511 | - if (replacement) message += " - Use `".concat(replacement, "` instead"); | |
| 512 | - Console.warn(message); | |
| 513 | - }; | |
| 514 | - var Deprecation = /*#__PURE__*/ function() { | |
| 515 | - function Deprecation() { | |
| 516 | - _classCallCheck(this, Deprecation); | |
| 517 | - } | |
| 518 | - return _createClass(Deprecation, null, [ | |
| 519 | - { | |
| 520 | - key: "deprecated", | |
| 521 | - value: function deprecated(name, version, replacement) { | |
| 522 | - if (this.isHardDeprecated(version)) hardDeprecated(name, version, replacement); | |
| 523 | - else softDeprecated(name, version, replacement); | |
| 524 | - } | |
| 525 | - }, | |
| 526 | - { | |
| 527 | - key: "parseVersion", | |
| 528 | - value: function parseVersion(version) { | |
| 529 | - var versionParts = version.split("."); | |
| 530 | - if (versionParts.length < 3 || versionParts.length > 4) throw new RangeError("Invalid Semantic Version string provided"); | |
| 531 | - var _versionParts = _slicedToArray(versionParts, 4); | |
| 532 | - var major1 = _versionParts[0]; | |
| 533 | - var major2 = _versionParts[1]; | |
| 534 | - var minor = _versionParts[2]; | |
| 535 | - var _versionParts$ = _versionParts[3]; | |
| 536 | - return { | |
| 537 | - major1: parseInt(major1), | |
| 538 | - major2: parseInt(major2), | |
| 539 | - minor: parseInt(minor), | |
| 540 | - build: _versionParts$ === void 0 ? "" : _versionParts$ | |
| 541 | - }; | |
| 542 | - } | |
| 543 | - }, | |
| 544 | - { | |
| 545 | - key: "getTotalMajor", | |
| 546 | - value: function getTotalMajor(versionObj) { | |
| 547 | - var total = parseInt("".concat(versionObj.major1).concat(versionObj.major2, "0")); | |
| 548 | - total = Number((total / 10).toFixed(0)); | |
| 549 | - if (versionObj.major2 > 9) total = versionObj.major2 - 9; | |
| 550 | - return total; | |
| 551 | - } | |
| 552 | - }, | |
| 553 | - { | |
| 554 | - key: "compareVersion", | |
| 555 | - value: function compareVersion(version1, version2) { | |
| 556 | - var _this = this; | |
| 557 | - return [this.parseVersion(version1), this.parseVersion(version2)].map(function(versionObj) { | |
| 558 | - return _this.getTotalMajor(versionObj); | |
| 559 | - }).reduce(function(acc, major) { | |
| 560 | - return acc - major; | |
| 561 | - }); | |
| 562 | - } | |
| 563 | - }, | |
| 564 | - { | |
| 565 | - key: "isSoftDeprecated", | |
| 566 | - value: function isSoftDeprecated(version) { | |
| 567 | - return this.compareVersion(version, elementorWebCliConfig.version) <= 4; | |
| 568 | - } | |
| 569 | - }, | |
| 570 | - { | |
| 571 | - key: "isHardDeprecated", | |
| 572 | - value: function isHardDeprecated(version) { | |
| 573 | - var total = this.compareVersion(version, elementorWebCliConfig.version); | |
| 574 | - return total < 0 || total >= 8; | |
| 575 | - } | |
| 576 | - } | |
| 577 | - ]); | |
| 578 | - }(); | |
| 2394 | + * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved | |
| 2395 | + * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can | |
| 2396 | + * check whether it's instanceof by using the objects constructor and prototype names. | |
| 2397 | + * | |
| 2398 | + * @param object | |
| 2399 | + * @param constructors | |
| 2400 | + * @returns {boolean} | |
| 2401 | + */ | |
| 2402 | +var _default = function _default(object, constructors) { | |
| 2403 | + constructors = (0, _isArray.default)(constructors) ? constructors : [constructors]; | |
| 579 | 2404 | |
| 580 | -//#endregion | |
| 581 | -//#region modules/web-cli/assets/js/modules/command-infra.js | |
| 582 | - function _callSuper$8(t, o, e) { | |
| 583 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$9() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 584 | - } | |
| 585 | - __name(_callSuper$8, "_callSuper"); | |
| 586 | - function _isNativeReflectConstruct$9() { | |
| 587 | - try { | |
| 588 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 589 | - } catch (t) {} | |
| 590 | - return (_isNativeReflectConstruct$9 = function _isNativeReflectConstruct() { | |
| 591 | - return !!t; | |
| 592 | - })(); | |
| 593 | - } | |
| 594 | - __name(_isNativeReflectConstruct$9, "_isNativeReflectConstruct"); | |
| 595 | - /** | |
| 596 | - * @typedef {import('../modules/component-base')} ComponentBase | |
| 597 | - */ | |
| 598 | - var CommandInfra = /*#__PURE__*/ function(_ArgsObject) { | |
| 599 | - /** | |
| 600 | - * Function constructor(). | |
| 601 | - * | |
| 602 | - * Create Commands Base. | |
| 603 | - * | |
| 604 | - * @param {{}} args | |
| 605 | - */ | |
| 606 | - function CommandInfra() { | |
| 607 | - var _this; | |
| 608 | - var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | |
| 609 | - _classCallCheck(this, CommandInfra); | |
| 610 | - _this = _callSuper$8(this, CommandInfra, [args]); | |
| 611 | - if (!_this.constructor.registerConfig) throw RangeError("Doing it wrong: Each command type should have `registerConfig`."); | |
| 612 | - _this.command = _this.constructor.getCommand(); | |
| 613 | - _this.component = _this.constructor.getComponent(); | |
| 614 | - _this.initialize(args); | |
| 615 | - args = _this.args; | |
| 616 | - _this.validateArgs(args); | |
| 617 | - return _this; | |
| 618 | - } | |
| 619 | - /** | |
| 620 | - * Function initialize(). | |
| 621 | - * | |
| 622 | - * Initialize command, called after construction. | |
| 623 | - * | |
| 624 | - * @param {{}} args | |
| 625 | - */ | |
| 626 | - _inherits(CommandInfra, _ArgsObject); | |
| 627 | - return _createClass(CommandInfra, [ | |
| 628 | - { | |
| 629 | - key: "currentCommand", | |
| 630 | - get: function get() { | |
| 631 | - Deprecation.deprecated("this.currentCommand", "3.7.0", "this.command"); | |
| 632 | - return this.command; | |
| 633 | - } | |
| 634 | - }, | |
| 635 | - { | |
| 636 | - key: "initialize", | |
| 637 | - value: function initialize() { | |
| 638 | - arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; | |
| 639 | - } | |
| 640 | - }, | |
| 641 | - { | |
| 642 | - key: "validateArgs", | |
| 643 | - value: function validateArgs() { | |
| 644 | - arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; | |
| 645 | - } | |
| 646 | - }, | |
| 647 | - { | |
| 648 | - key: "apply", | |
| 649 | - value: function apply() { | |
| 650 | - arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; | |
| 651 | - elementorModules.ForceMethodImplementation(); | |
| 652 | - } | |
| 653 | - }, | |
| 654 | - { | |
| 655 | - key: "run", | |
| 656 | - value: function run() { | |
| 657 | - return this.apply(this.args); | |
| 658 | - } | |
| 659 | - }, | |
| 660 | - { | |
| 661 | - key: "onBeforeRun", | |
| 662 | - value: function onBeforeRun() { | |
| 663 | - arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; | |
| 664 | - } | |
| 665 | - }, | |
| 666 | - { | |
| 667 | - key: "onAfterRun", | |
| 668 | - value: function onAfterRun() { | |
| 669 | - arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; | |
| 670 | - arguments.length > 1 && arguments[1]; | |
| 671 | - } | |
| 672 | - }, | |
| 673 | - { | |
| 674 | - key: "onBeforeApply", | |
| 675 | - value: function onBeforeApply() { | |
| 676 | - arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; | |
| 677 | - } | |
| 678 | - }, | |
| 679 | - { | |
| 680 | - key: "onAfterApply", | |
| 681 | - value: function onAfterApply() { | |
| 682 | - arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; | |
| 683 | - arguments.length > 1 && arguments[1]; | |
| 684 | - } | |
| 685 | - }, | |
| 686 | - { | |
| 687 | - key: "onCatchApply", | |
| 688 | - value: function onCatchApply(e) {} | |
| 689 | - } | |
| 690 | - ], [ | |
| 691 | - { | |
| 692 | - key: "getInstanceType", | |
| 693 | - value: function getInstanceType() { | |
| 694 | - return "CommandInfra"; | |
| 695 | - } | |
| 696 | - }, | |
| 697 | - { | |
| 698 | - key: "getInfo", | |
| 699 | - value: function getInfo() { | |
| 700 | - return {}; | |
| 701 | - } | |
| 702 | - }, | |
| 703 | - { | |
| 704 | - key: "getCommand", | |
| 705 | - value: function getCommand() { | |
| 706 | - return this.registerConfig.command; | |
| 707 | - } | |
| 708 | - }, | |
| 709 | - { | |
| 710 | - key: "getComponent", | |
| 711 | - value: function getComponent() { | |
| 712 | - return this.registerConfig.component; | |
| 713 | - } | |
| 714 | - }, | |
| 715 | - { | |
| 716 | - key: "setRegisterConfig", | |
| 717 | - value: function setRegisterConfig(config) { | |
| 718 | - this.registerConfig = Object.freeze(config); | |
| 719 | - } | |
| 720 | - } | |
| 721 | - ]); | |
| 722 | - }(ArgsObject); | |
| 723 | - /** | |
| 724 | - * @type {Object} | |
| 725 | - */ | |
| 726 | - _defineProperty(CommandInfra, "registerConfig", null); | |
| 2405 | + var _iterator = (0, _createForOfIteratorHelper2.default)(constructors), | |
| 2406 | + _step; | |
| 727 | 2407 | |
| 728 | -//#endregion | |
| 729 | -//#region modules/web-cli/assets/js/modules/command-base.js | |
| 730 | - function _callSuper$7(t, o, e) { | |
| 731 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$8() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 732 | - } | |
| 733 | - __name(_callSuper$7, "_callSuper"); | |
| 734 | - function _isNativeReflectConstruct$8() { | |
| 735 | - try { | |
| 736 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 737 | - } catch (t) {} | |
| 738 | - return (_isNativeReflectConstruct$8 = function _isNativeReflectConstruct() { | |
| 739 | - return !!t; | |
| 740 | - })(); | |
| 741 | - } | |
| 742 | - __name(_isNativeReflectConstruct$8, "_isNativeReflectConstruct"); | |
| 743 | - /** | |
| 744 | - * @name $e.modules.CommandBase | |
| 745 | - */ | |
| 746 | - var CommandBase = /*#__PURE__*/ function(_CommandInfra) { | |
| 747 | - function CommandBase() { | |
| 748 | - _classCallCheck(this, CommandBase); | |
| 749 | - return _callSuper$7(this, CommandBase, arguments); | |
| 750 | - } | |
| 751 | - _inherits(CommandBase, _CommandInfra); | |
| 752 | - return _createClass(CommandBase, [ | |
| 753 | - { | |
| 754 | - key: "onBeforeRun", | |
| 755 | - value: function onBeforeRun() { | |
| 756 | - var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | |
| 757 | - $e.hooks.runUIBefore(this.command, args); | |
| 758 | - } | |
| 759 | - }, | |
| 760 | - { | |
| 761 | - key: "onAfterRun", | |
| 762 | - value: function onAfterRun() { | |
| 763 | - var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | |
| 764 | - var result = arguments.length > 1 ? arguments[1] : void 0; | |
| 765 | - $e.hooks.runUIAfter(this.command, args, result); | |
| 766 | - } | |
| 767 | - }, | |
| 768 | - { | |
| 769 | - key: "onBeforeApply", | |
| 770 | - value: function onBeforeApply() { | |
| 771 | - var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | |
| 772 | - $e.hooks.runDataDependency(this.command, args); | |
| 773 | - } | |
| 774 | - }, | |
| 775 | - { | |
| 776 | - key: "onAfterApply", | |
| 777 | - value: function onAfterApply() { | |
| 778 | - var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | |
| 779 | - var result = arguments.length > 1 ? arguments[1] : void 0; | |
| 780 | - return $e.hooks.runDataAfter(this.command, args, result); | |
| 781 | - } | |
| 782 | - }, | |
| 783 | - { | |
| 784 | - key: "onCatchApply", | |
| 785 | - value: function onCatchApply(e) { | |
| 786 | - this.runCatchHooks(e); | |
| 787 | - } | |
| 788 | - }, | |
| 789 | - { | |
| 790 | - key: "runCatchHooks", | |
| 791 | - value: function runCatchHooks(e) { | |
| 792 | - $e.hooks.runDataCatch(this.command, this.args, e); | |
| 793 | - $e.hooks.runUICatch(this.command, this.args, e); | |
| 794 | - } | |
| 795 | - }, | |
| 796 | - { | |
| 797 | - key: "requireContainer", | |
| 798 | - value: function requireContainer() { | |
| 799 | - var _this = this; | |
| 800 | - var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.args; | |
| 801 | - Deprecation.deprecated("requireContainer()", "3.7.0", "Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"); | |
| 802 | - if (!args.container && !args.containers) throw Error("container or containers are required."); | |
| 803 | - if (args.container && args.containers) throw Error("container and containers cannot go together please select one of them."); | |
| 804 | - (args.containers || [args.container]).forEach(function(container) { | |
| 805 | - _this.requireArgumentInstance("container", elementorModules.editor.Container, { container }); | |
| 806 | - }); | |
| 807 | - } | |
| 808 | - } | |
| 809 | - ], [{ | |
| 810 | - key: "getInstanceType", | |
| 811 | - value: function getInstanceType() { | |
| 812 | - return "CommandBase"; | |
| 813 | - } | |
| 814 | - }]); | |
| 815 | - }(CommandInfra); | |
| 2408 | + try { | |
| 2409 | + for (_iterator.s(); !(_step = _iterator.n()).done;) { | |
| 2410 | + var _constructor = _step.value; | |
| 816 | 2411 | |
| 817 | -//#endregion | |
| 818 | -//#region modules/web-cli/assets/js/modules/command-callback-base.js | |
| 819 | - function _callSuper$6(t, o, e) { | |
| 820 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$7() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 821 | - } | |
| 822 | - __name(_callSuper$6, "_callSuper"); | |
| 823 | - function _isNativeReflectConstruct$7() { | |
| 824 | - try { | |
| 825 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 826 | - } catch (t) {} | |
| 827 | - return (_isNativeReflectConstruct$7 = function _isNativeReflectConstruct() { | |
| 828 | - return !!t; | |
| 829 | - })(); | |
| 830 | - } | |
| 831 | - __name(_isNativeReflectConstruct$7, "_isNativeReflectConstruct"); | |
| 832 | - /** | |
| 833 | - * To support pure callbacks in the API(commands.js), to ensure they have registered with the proper context. | |
| 834 | - */ | |
| 835 | - var CommandCallbackBase = /*#__PURE__*/ function(_CommandBase) { | |
| 836 | - function CommandCallbackBase() { | |
| 837 | - _classCallCheck(this, CommandCallbackBase); | |
| 838 | - return _callSuper$6(this, CommandCallbackBase, arguments); | |
| 839 | - } | |
| 840 | - _inherits(CommandCallbackBase, _CommandBase); | |
| 841 | - return _createClass(CommandCallbackBase, [{ | |
| 842 | - key: "apply", | |
| 843 | - value: function apply() { | |
| 844 | - var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | |
| 845 | - return this.constructor.getCallback()(args); | |
| 846 | - } | |
| 847 | - }], [{ | |
| 848 | - key: "getInstanceType", | |
| 849 | - value: function getInstanceType() { | |
| 850 | - return "CommandCallbackBase"; | |
| 851 | - } | |
| 852 | - }, { | |
| 853 | - key: "getCallback", | |
| 854 | - value: function getCallback() { | |
| 855 | - return this.registerConfig.callback; | |
| 856 | - } | |
| 857 | - }]); | |
| 858 | - }(CommandBase); | |
| 2412 | + if (object.constructor.name === _constructor.prototype[_toStringTag.default]) { | |
| 2413 | + return true; | |
| 2414 | + } | |
| 2415 | + } | |
| 2416 | + } catch (err) { | |
| 2417 | + _iterator.e(err); | |
| 2418 | + } finally { | |
| 2419 | + _iterator.f(); | |
| 2420 | + } | |
| 859 | 2421 | |
| 860 | -//#endregion | |
| 861 | -//#region assets/dev/js/modules/imports/module.js | |
| 862 | - var require_module = /* @__PURE__ */ __commonJSMin(((exports, module) => { | |
| 863 | - init_typeof(); | |
| 864 | - var Module = function Module() { | |
| 865 | - var $ = jQuery; | |
| 866 | - var instanceParams = arguments; | |
| 867 | - var self = this; | |
| 868 | - var events = {}; | |
| 869 | - var settings; | |
| 870 | - var ensureClosureMethods = function ensureClosureMethods() { | |
| 871 | - $.each(self, function(methodName) { | |
| 872 | - var oldMethod = self[methodName]; | |
| 873 | - if ("function" !== typeof oldMethod) return; | |
| 874 | - self[methodName] = function() { | |
| 875 | - return oldMethod.apply(self, arguments); | |
| 876 | - }; | |
| 877 | - }); | |
| 878 | - }; | |
| 879 | - var initSettings = function initSettings() { | |
| 880 | - settings = self.getDefaultSettings(); | |
| 881 | - var instanceSettings = instanceParams[0]; | |
| 882 | - if (instanceSettings) $.extend(true, settings, instanceSettings); | |
| 883 | - }; | |
| 884 | - var init = function init() { | |
| 885 | - self.__construct.apply(self, instanceParams); | |
| 886 | - ensureClosureMethods(); | |
| 887 | - initSettings(); | |
| 888 | - self.trigger("init"); | |
| 889 | - }; | |
| 890 | - this.getItems = function(items, itemKey) { | |
| 891 | - if (itemKey) { | |
| 892 | - var keyStack = itemKey.split("."); | |
| 893 | - var currentKey = keyStack.splice(0, 1); | |
| 894 | - if (!keyStack.length) return items[currentKey]; | |
| 895 | - if (!items[currentKey]) return; | |
| 896 | - return this.getItems(items[currentKey], keyStack.join(".")); | |
| 897 | - } | |
| 898 | - return items; | |
| 899 | - }; | |
| 900 | - this.getSettings = function(setting) { | |
| 901 | - return this.getItems(settings, setting); | |
| 902 | - }; | |
| 903 | - this.setSettings = function(settingKey, value, settingsContainer) { | |
| 904 | - if (!settingsContainer) settingsContainer = settings; | |
| 905 | - if ("object" === _typeof(settingKey)) { | |
| 906 | - $.extend(settingsContainer, settingKey); | |
| 907 | - return self; | |
| 908 | - } | |
| 909 | - var keyStack = settingKey.split("."); | |
| 910 | - var currentKey = keyStack.splice(0, 1); | |
| 911 | - if (!keyStack.length) { | |
| 912 | - settingsContainer[currentKey] = value; | |
| 913 | - return self; | |
| 914 | - } | |
| 915 | - if (!settingsContainer[currentKey]) settingsContainer[currentKey] = {}; | |
| 916 | - return self.setSettings(keyStack.join("."), value, settingsContainer[currentKey]); | |
| 917 | - }; | |
| 918 | - this.getErrorMessage = function(type, functionName) { | |
| 919 | - var message; | |
| 920 | - switch (type) { | |
| 921 | - case "forceMethodImplementation": | |
| 922 | - message = "The method '".concat(functionName, "' must to be implemented in the inheritor child."); | |
| 923 | - break; | |
| 924 | - default: message = "An error occurs"; | |
| 925 | - } | |
| 926 | - return message; | |
| 927 | - }; | |
| 928 | - this.forceMethodImplementation = function(functionName) { | |
| 929 | - throw new Error(this.getErrorMessage("forceMethodImplementation", functionName)); | |
| 930 | - }; | |
| 931 | - this.on = function(eventName, callback) { | |
| 932 | - if ("object" === _typeof(eventName)) { | |
| 933 | - $.each(eventName, function(singleEventName) { | |
| 934 | - self.on(singleEventName, this); | |
| 935 | - }); | |
| 936 | - return self; | |
| 937 | - } | |
| 938 | - eventName.split(" ").forEach(function(singleEventName) { | |
| 939 | - if (!events[singleEventName]) events[singleEventName] = []; | |
| 940 | - events[singleEventName].push(callback); | |
| 941 | - }); | |
| 942 | - return self; | |
| 943 | - }; | |
| 944 | - this.off = function(eventName, callback) { | |
| 945 | - if (!events[eventName]) return self; | |
| 946 | - if (!callback) { | |
| 947 | - delete events[eventName]; | |
| 948 | - return self; | |
| 949 | - } | |
| 950 | - var callbackIndex = events[eventName].indexOf(callback); | |
| 951 | - if (-1 !== callbackIndex) { | |
| 952 | - delete events[eventName][callbackIndex]; | |
| 953 | - events[eventName] = events[eventName].filter(function(val) { | |
| 954 | - return val; | |
| 955 | - }); | |
| 956 | - } | |
| 957 | - return self; | |
| 958 | - }; | |
| 959 | - this.trigger = function(eventName) { | |
| 960 | - var methodName = "on" + eventName[0].toUpperCase() + eventName.slice(1); | |
| 961 | - var params = Array.prototype.slice.call(arguments, 1); | |
| 962 | - if (self[methodName]) self[methodName].apply(self, params); | |
| 963 | - var callbacks = events[eventName]; | |
| 964 | - if (!callbacks) return self; | |
| 965 | - $.each(callbacks, function(index, callback) { | |
| 966 | - callback.apply(self, params); | |
| 967 | - }); | |
| 968 | - return self; | |
| 969 | - }; | |
| 970 | - init(); | |
| 971 | - }; | |
| 972 | - Module.prototype.__construct = function() {}; | |
| 973 | - Module.prototype.getDefaultSettings = function() { | |
| 974 | - return {}; | |
| 975 | - }; | |
| 976 | - Module.prototype.getConstructorID = function() { | |
| 977 | - return this.constructor.name; | |
| 978 | - }; | |
| 979 | - Module.extend = function(properties) { | |
| 980 | - var $ = jQuery; | |
| 981 | - var parent = this; | |
| 982 | - var child = function child() { | |
| 983 | - return parent.apply(this, arguments); | |
| 984 | - }; | |
| 985 | - $.extend(child, parent); | |
| 986 | - child.prototype = Object.create($.extend({}, parent.prototype, properties)); | |
| 987 | - child.prototype.constructor = child; | |
| 988 | - child.__super__ = parent.prototype; | |
| 989 | - return child; | |
| 990 | - }; | |
| 991 | - module.exports = Module; | |
| 992 | - })); | |
| 2422 | + return false; | |
| 2423 | +}; | |
| 993 | 2424 | |
| 994 | -//#endregion | |
| 995 | -//#region node_modules/@babel/runtime/helpers/esm/isNativeFunction.js | |
| 996 | -var import_module = /* @__PURE__ */ __toESM(require_module()); | |
| 997 | - function _isNativeFunction(t) { | |
| 998 | - try { | |
| 999 | - return -1 !== Function.toString.call(t).indexOf("[native code]"); | |
| 1000 | - } catch (n) { | |
| 1001 | - return "function" == typeof t; | |
| 1002 | - } | |
| 1003 | - } | |
| 2425 | +exports["default"] = _default; | |
| 1004 | 2426 | |
| 1005 | -//#endregion | |
| 1006 | -//#region node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js | |
| 1007 | - function _isNativeReflectConstruct$6() { | |
| 1008 | - try { | |
| 1009 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1010 | - } catch (t) {} | |
| 1011 | - return (_isNativeReflectConstruct$6 = function _isNativeReflectConstruct() { | |
| 1012 | - return !!t; | |
| 1013 | - })(); | |
| 1014 | - } | |
| 1015 | - __name(_isNativeReflectConstruct$6, "_isNativeReflectConstruct"); | |
| 2427 | +/***/ }), | |
| 1016 | 2428 | |
| 1017 | -//#endregion | |
| 1018 | -//#region node_modules/@babel/runtime/helpers/esm/construct.js | |
| 1019 | - function _construct(t, e, r) { | |
| 1020 | - if (_isNativeReflectConstruct$6()) return Reflect.construct.apply(null, arguments); | |
| 1021 | - var o = [null]; | |
| 1022 | - o.push.apply(o, e); | |
| 1023 | - var p = new (t.bind.apply(t, o))(); | |
| 1024 | - return r && _setPrototypeOf(p, r.prototype), p; | |
| 1025 | - } | |
| 2429 | +/***/ "../assets/dev/js/modules/imports/args-object.js": | |
| 2430 | +/*!*******************************************************!*\ | |
| 2431 | + !*** ../assets/dev/js/modules/imports/args-object.js ***! | |
| 2432 | + \*******************************************************/ | |
| 2433 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 1026 | 2434 | |
| 1027 | -//#endregion | |
| 1028 | -//#region node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js | |
| 1029 | - function _wrapNativeSuper(t) { | |
| 1030 | - var r = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0; | |
| 1031 | - return _wrapNativeSuper = function _wrapNativeSuper(t) { | |
| 1032 | - if (null === t || !_isNativeFunction(t)) return t; | |
| 1033 | - if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); | |
| 1034 | - if (void 0 !== r) { | |
| 1035 | - if (r.has(t)) return r.get(t); | |
| 1036 | - r.set(t, Wrapper); | |
| 1037 | - } | |
| 1038 | - function Wrapper() { | |
| 1039 | - return _construct(t, arguments, _getPrototypeOf(this).constructor); | |
| 1040 | - } | |
| 1041 | - return Wrapper.prototype = Object.create(t.prototype, { constructor: { | |
| 1042 | - value: Wrapper, | |
| 1043 | - enumerable: !1, | |
| 1044 | - writable: !0, | |
| 1045 | - configurable: !0 | |
| 1046 | - } }), _setPrototypeOf(Wrapper, t); | |
| 1047 | - }, _wrapNativeSuper(t); | |
| 1048 | - } | |
| 2435 | +"use strict"; | |
| 1049 | 2436 | |
| 1050 | -//#endregion | |
| 1051 | -//#region modules/web-cli/assets/js/utils/force-method-implementation.js | |
| 1052 | - function _callSuper$5(t, o, e) { | |
| 1053 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$5() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1054 | - } | |
| 1055 | - __name(_callSuper$5, "_callSuper"); | |
| 1056 | - function _isNativeReflectConstruct$5() { | |
| 1057 | - try { | |
| 1058 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1059 | - } catch (t) {} | |
| 1060 | - return (_isNativeReflectConstruct$5 = function _isNativeReflectConstruct() { | |
| 1061 | - return !!t; | |
| 1062 | - })(); | |
| 1063 | - } | |
| 1064 | - __name(_isNativeReflectConstruct$5, "_isNativeReflectConstruct"); | |
| 1065 | - var ForceMethodImplementation = /*#__PURE__*/ function(_Error) { | |
| 1066 | - function ForceMethodImplementation() { | |
| 1067 | - var _this; | |
| 1068 | - var info = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | |
| 1069 | - _classCallCheck(this, ForceMethodImplementation); | |
| 1070 | - _this = _callSuper$5(this, ForceMethodImplementation, ["".concat(info.isStatic ? "static " : "").concat(info.fullName, "() should be implemented, please provide '").concat(info.functionName || info.fullName, "' functionality.")]); | |
| 1071 | - Error.captureStackTrace(_this, ForceMethodImplementation); | |
| 1072 | - return _this; | |
| 1073 | - } | |
| 1074 | - _inherits(ForceMethodImplementation, _Error); | |
| 1075 | - return _createClass(ForceMethodImplementation); | |
| 1076 | - }(/*#__PURE__*/ _wrapNativeSuper(Error)); | |
| 1077 | - var force_method_implementation_default = /* @__PURE__ */ __name((function() { | |
| 1078 | - var caller = Error().stack.split("\n")[2].trim(); | |
| 1079 | - var callerName = caller.startsWith("at new") ? "constructor" : caller.split(" ")[1]; | |
| 1080 | - var info = {}; | |
| 1081 | - info.functionName = callerName; | |
| 1082 | - info.fullName = callerName; | |
| 1083 | - if (info.functionName.includes(".")) { | |
| 1084 | - var parts = info.functionName.split("."); | |
| 1085 | - info.className = parts[0]; | |
| 1086 | - info.functionName = parts[1]; | |
| 1087 | - } else info.isStatic = true; | |
| 1088 | - throw new ForceMethodImplementation(info); | |
| 1089 | - }), "default"); | |
| 1090 | 2437 | |
| 1091 | -//#endregion | |
| 1092 | -//#region modules/web-cli/assets/js/modules/component-base.js | |
| 1093 | - function ownKeys(e, r) { | |
| 1094 | - var t = Object.keys(e); | |
| 1095 | - if (Object.getOwnPropertySymbols) { | |
| 1096 | - var o = Object.getOwnPropertySymbols(e); | |
| 1097 | - r && (o = o.filter(function(r) { | |
| 1098 | - return Object.getOwnPropertyDescriptor(e, r).enumerable; | |
| 1099 | - })), t.push.apply(t, o); | |
| 1100 | - } | |
| 1101 | - return t; | |
| 1102 | - } | |
| 1103 | - function _objectSpread(e) { | |
| 1104 | - for (var r = 1; r < arguments.length; r++) { | |
| 1105 | - var t = null != arguments[r] ? arguments[r] : {}; | |
| 1106 | - r % 2 ? ownKeys(Object(t), !0).forEach(function(r) { | |
| 1107 | - _defineProperty(e, r, t[r]); | |
| 1108 | - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) { | |
| 1109 | - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); | |
| 1110 | - }); | |
| 1111 | - } | |
| 1112 | - return e; | |
| 1113 | - } | |
| 1114 | - function _callSuper$4(t, o, e) { | |
| 1115 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$4() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1116 | - } | |
| 1117 | - __name(_callSuper$4, "_callSuper"); | |
| 1118 | - function _isNativeReflectConstruct$4() { | |
| 1119 | - try { | |
| 1120 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1121 | - } catch (t) {} | |
| 1122 | - return (_isNativeReflectConstruct$4 = function _isNativeReflectConstruct() { | |
| 1123 | - return !!t; | |
| 1124 | - })(); | |
| 1125 | - } | |
| 1126 | - __name(_isNativeReflectConstruct$4, "_isNativeReflectConstruct"); | |
| 1127 | - /** | |
| 1128 | - * @typedef {import('./command-infra')} CommandInfra | |
| 1129 | - * @typedef {import('./hook-base')} HookBase | |
| 1130 | - * @typedef {import('../core/states/ui-state-base')} UiStateBase | |
| 1131 | - */ | |
| 1132 | - var ComponentBase = /*#__PURE__*/ function(_Module) { | |
| 1133 | - function ComponentBase() { | |
| 1134 | - _classCallCheck(this, ComponentBase); | |
| 1135 | - return _callSuper$4(this, ComponentBase, arguments); | |
| 1136 | - } | |
| 1137 | - _inherits(ComponentBase, _Module); | |
| 1138 | - return _createClass(ComponentBase, [ | |
| 1139 | - { | |
| 1140 | - key: "__construct", | |
| 1141 | - value: function __construct() { | |
| 1142 | - var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | |
| 1143 | - if (args.manager) this.manager = args.manager; | |
| 1144 | - this.commands = this.defaultCommands(); | |
| 1145 | - this.commandsInternal = this.defaultCommandsInternal(); | |
| 1146 | - this.hooks = this.defaultHooks(); | |
| 1147 | - this.routes = this.defaultRoutes(); | |
| 1148 | - this.tabs = this.defaultTabs(); | |
| 1149 | - this.shortcuts = this.defaultShortcuts(); | |
| 1150 | - this.utils = this.defaultUtils(); | |
| 1151 | - this.data = this.defaultData(); | |
| 1152 | - this.uiStates = this.defaultUiStates(); | |
| 1153 | - this.states = this.defaultStates(); | |
| 1154 | - this.defaultRoute = ""; | |
| 1155 | - this.currentTab = ""; | |
| 1156 | - } | |
| 1157 | - }, | |
| 1158 | - { | |
| 1159 | - key: "registerAPI", | |
| 1160 | - value: function registerAPI() { | |
| 1161 | - var _this = this; | |
| 1162 | - Object.entries(this.getTabs()).forEach(function(tab) { | |
| 1163 | - return _this.registerTabRoute(tab[0]); | |
| 1164 | - }); | |
| 1165 | - Object.entries(this.getRoutes()).forEach(function(_ref) { | |
| 1166 | - var _ref2 = _slicedToArray(_ref, 2); | |
| 1167 | - var route = _ref2[0]; | |
| 1168 | - var callback = _ref2[1]; | |
| 1169 | - return _this.registerRoute(route, callback); | |
| 1170 | - }); | |
| 1171 | - Object.entries(this.getCommands()).forEach(function(_ref3) { | |
| 1172 | - var _ref4 = _slicedToArray(_ref3, 2); | |
| 1173 | - var command = _ref4[0]; | |
| 1174 | - var callback = _ref4[1]; | |
| 1175 | - return _this.registerCommand(command, callback); | |
| 1176 | - }); | |
| 1177 | - Object.entries(this.getCommandsInternal()).forEach(function(_ref5) { | |
| 1178 | - var _ref6 = _slicedToArray(_ref5, 2); | |
| 1179 | - var command = _ref6[0]; | |
| 1180 | - var callback = _ref6[1]; | |
| 1181 | - return _this.registerCommandInternal(command, callback); | |
| 1182 | - }); | |
| 1183 | - Object.values(this.getHooks()).forEach(function(instance) { | |
| 1184 | - return _this.registerHook(instance); | |
| 1185 | - }); | |
| 1186 | - Object.entries(this.getData()).forEach(function(_ref7) { | |
| 1187 | - var _ref8 = _slicedToArray(_ref7, 2); | |
| 1188 | - var command = _ref8[0]; | |
| 1189 | - var callback = _ref8[1]; | |
| 1190 | - return _this.registerData(command, callback); | |
| 1191 | - }); | |
| 1192 | - Object.values(this.getUiStates()).forEach(function(instance) { | |
| 1193 | - return _this.registerUiState(instance); | |
| 1194 | - }); | |
| 1195 | - Object.entries(this.getStates()).forEach(function(_ref9) { | |
| 1196 | - var _ref0 = _slicedToArray(_ref9, 2); | |
| 1197 | - var id = _ref0[0]; | |
| 1198 | - var state = _ref0[1]; | |
| 1199 | - return _this.registerState(id, state); | |
| 1200 | - }); | |
| 1201 | - } | |
| 1202 | - }, | |
| 1203 | - { | |
| 1204 | - key: "getNamespace", | |
| 1205 | - value: function getNamespace() { | |
| 1206 | - force_method_implementation_default(); | |
| 1207 | - } | |
| 1208 | - }, | |
| 1209 | - { | |
| 1210 | - key: "getRootContainer", | |
| 1211 | - value: function getRootContainer() { | |
| 1212 | - Deprecation.deprecated("getRootContainer()", "3.7.0", "getServiceName()"); | |
| 1213 | - return this.getServiceName(); | |
| 1214 | - } | |
| 1215 | - }, | |
| 1216 | - { | |
| 1217 | - key: "getServiceName", | |
| 1218 | - value: function getServiceName() { | |
| 1219 | - return this.getNamespace().split("/")[0]; | |
| 1220 | - } | |
| 1221 | - }, | |
| 1222 | - { | |
| 1223 | - key: "store", | |
| 1224 | - get: function get() { | |
| 1225 | - return $e.store.get(this.getNamespace()); | |
| 1226 | - } | |
| 1227 | - }, | |
| 1228 | - { | |
| 1229 | - key: "defaultTabs", | |
| 1230 | - value: function defaultTabs() { | |
| 1231 | - return {}; | |
| 1232 | - } | |
| 1233 | - }, | |
| 1234 | - { | |
| 1235 | - key: "defaultRoutes", | |
| 1236 | - value: function defaultRoutes() { | |
| 1237 | - return {}; | |
| 1238 | - } | |
| 1239 | - }, | |
| 1240 | - { | |
| 1241 | - key: "defaultCommands", | |
| 1242 | - value: function defaultCommands() { | |
| 1243 | - return {}; | |
| 1244 | - } | |
| 1245 | - }, | |
| 1246 | - { | |
| 1247 | - key: "defaultCommandsInternal", | |
| 1248 | - value: function defaultCommandsInternal() { | |
| 1249 | - return {}; | |
| 1250 | - } | |
| 1251 | - }, | |
| 1252 | - { | |
| 1253 | - key: "defaultHooks", | |
| 1254 | - value: function defaultHooks() { | |
| 1255 | - return {}; | |
| 1256 | - } | |
| 1257 | - }, | |
| 1258 | - { | |
| 1259 | - key: "defaultUiStates", | |
| 1260 | - value: function defaultUiStates() { | |
| 1261 | - return {}; | |
| 1262 | - } | |
| 1263 | - }, | |
| 1264 | - { | |
| 1265 | - key: "defaultStates", | |
| 1266 | - value: function defaultStates() { | |
| 1267 | - return {}; | |
| 1268 | - } | |
| 1269 | - }, | |
| 1270 | - { | |
| 1271 | - key: "defaultShortcuts", | |
| 1272 | - value: function defaultShortcuts() { | |
| 1273 | - return {}; | |
| 1274 | - } | |
| 1275 | - }, | |
| 1276 | - { | |
| 1277 | - key: "defaultUtils", | |
| 1278 | - value: function defaultUtils() { | |
| 1279 | - return {}; | |
| 1280 | - } | |
| 1281 | - }, | |
| 1282 | - { | |
| 1283 | - key: "defaultData", | |
| 1284 | - value: function defaultData() { | |
| 1285 | - return {}; | |
| 1286 | - } | |
| 1287 | - }, | |
| 1288 | - { | |
| 1289 | - key: "getCommands", | |
| 1290 | - value: function getCommands() { | |
| 1291 | - return this.commands; | |
| 1292 | - } | |
| 1293 | - }, | |
| 1294 | - { | |
| 1295 | - key: "getCommandsInternal", | |
| 1296 | - value: function getCommandsInternal() { | |
| 1297 | - return this.commandsInternal; | |
| 1298 | - } | |
| 1299 | - }, | |
| 1300 | - { | |
| 1301 | - key: "getHooks", | |
| 1302 | - value: function getHooks() { | |
| 1303 | - return this.hooks; | |
| 1304 | - } | |
| 1305 | - }, | |
| 1306 | - { | |
| 1307 | - key: "getUiStates", | |
| 1308 | - value: function getUiStates() { | |
| 1309 | - return this.uiStates; | |
| 1310 | - } | |
| 1311 | - }, | |
| 1312 | - { | |
| 1313 | - key: "getStates", | |
| 1314 | - value: function getStates() { | |
| 1315 | - return this.states; | |
| 1316 | - } | |
| 1317 | - }, | |
| 1318 | - { | |
| 1319 | - key: "getRoutes", | |
| 1320 | - value: function getRoutes() { | |
| 1321 | - return this.routes; | |
| 1322 | - } | |
| 1323 | - }, | |
| 1324 | - { | |
| 1325 | - key: "getTabs", | |
| 1326 | - value: function getTabs() { | |
| 1327 | - return this.tabs; | |
| 1328 | - } | |
| 1329 | - }, | |
| 1330 | - { | |
| 1331 | - key: "getShortcuts", | |
| 1332 | - value: function getShortcuts() { | |
| 1333 | - return this.shortcuts; | |
| 1334 | - } | |
| 1335 | - }, | |
| 1336 | - { | |
| 1337 | - key: "getData", | |
| 1338 | - value: function getData() { | |
| 1339 | - return this.data; | |
| 1340 | - } | |
| 1341 | - }, | |
| 1342 | - { | |
| 1343 | - key: "registerCommand", | |
| 1344 | - value: function registerCommand(command, context) { | |
| 1345 | - var commandsType = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "default"; | |
| 1346 | - var commandsManager; | |
| 1347 | - switch (commandsType) { | |
| 1348 | - case "default": | |
| 1349 | - commandsManager = $e.commands; | |
| 1350 | - break; | |
| 1351 | - case "internal": | |
| 1352 | - commandsManager = $e.commandsInternal; | |
| 1353 | - break; | |
| 1354 | - case "data": | |
| 1355 | - commandsManager = $e.data; | |
| 1356 | - break; | |
| 1357 | - default: throw new Error("Invalid commands type: '".concat(command, "'")); | |
| 1358 | - } | |
| 1359 | - var fullCommand = this.getNamespace() + "/" + command; | |
| 1360 | - var instanceType = context.getInstanceType ? context.getInstanceType() : false; | |
| 1361 | - var registerConfig = { | |
| 1362 | - command: fullCommand, | |
| 1363 | - component: this | |
| 1364 | - }; | |
| 1365 | - if (!instanceType) { | |
| 1366 | - if ($e.devTools) $e.devTools.log.warn("Attach command-callback-base, on command: '".concat(fullCommand, "', context is unknown type.")); | |
| 1367 | - registerConfig.callback = context; | |
| 1368 | - context = /*#__PURE__*/ function(_CommandCallbackBase) { | |
| 1369 | - function context() { | |
| 1370 | - _classCallCheck(this, context); | |
| 1371 | - return _callSuper$4(this, context, arguments); | |
| 1372 | - } | |
| 1373 | - _inherits(context, _CommandCallbackBase); | |
| 1374 | - return _createClass(context); | |
| 1375 | - }(CommandCallbackBase); | |
| 1376 | - } | |
| 1377 | - context.setRegisterConfig(registerConfig); | |
| 1378 | - commandsManager.register(this, command, context); | |
| 1379 | - } | |
| 1380 | - }, | |
| 1381 | - { | |
| 1382 | - key: "registerHook", | |
| 1383 | - value: function registerHook(instance) { | |
| 1384 | - return instance.register(); | |
| 1385 | - } | |
| 1386 | - }, | |
| 1387 | - { | |
| 1388 | - key: "registerCommandInternal", | |
| 1389 | - value: function registerCommandInternal(command, context) { | |
| 1390 | - this.registerCommand(command, context, "internal"); | |
| 1391 | - } | |
| 1392 | - }, | |
| 1393 | - { | |
| 1394 | - key: "registerUiState", | |
| 1395 | - value: function registerUiState(instance) { | |
| 1396 | - $e.uiStates.register(instance); | |
| 1397 | - } | |
| 1398 | - }, | |
| 1399 | - { | |
| 1400 | - key: "registerState", | |
| 1401 | - value: function registerState(id, stateConfig) { | |
| 1402 | - id = this.getNamespace() + (id ? "/".concat(id) : ""); | |
| 1403 | - var slice = (0, _reduxjs_toolkit.createSlice)(_objectSpread(_objectSpread({}, stateConfig), {}, { name: id })); | |
| 1404 | - $e.store.register(id, slice); | |
| 1405 | - } | |
| 1406 | - }, | |
| 1407 | - { | |
| 1408 | - key: "registerRoute", | |
| 1409 | - value: function registerRoute(route, callback) { | |
| 1410 | - $e.routes.register(this, route, callback); | |
| 1411 | - } | |
| 1412 | - }, | |
| 1413 | - { | |
| 1414 | - key: "registerData", | |
| 1415 | - value: function registerData(command, context) { | |
| 1416 | - this.registerCommand(command, context, "data"); | |
| 1417 | - } | |
| 1418 | - }, | |
| 1419 | - { | |
| 1420 | - key: "unregisterRoute", | |
| 1421 | - value: function unregisterRoute(route) { | |
| 1422 | - $e.routes.unregister(this, route); | |
| 1423 | - } | |
| 1424 | - }, | |
| 1425 | - { | |
| 1426 | - key: "registerTabRoute", | |
| 1427 | - value: function registerTabRoute(tab) { | |
| 1428 | - var _this2 = this; | |
| 1429 | - this.registerRoute(tab, function(args) { | |
| 1430 | - return _this2.activateTab(tab, args); | |
| 1431 | - }); | |
| 1432 | - } | |
| 1433 | - }, | |
| 1434 | - { | |
| 1435 | - key: "dependency", | |
| 1436 | - value: function dependency() { | |
| 1437 | - return true; | |
| 1438 | - } | |
| 1439 | - }, | |
| 1440 | - { | |
| 1441 | - key: "open", | |
| 1442 | - value: function open() { | |
| 1443 | - return true; | |
| 1444 | - } | |
| 1445 | - }, | |
| 1446 | - { | |
| 1447 | - key: "close", | |
| 1448 | - value: function close() { | |
| 1449 | - if (!this.isOpen) return false; | |
| 1450 | - this.isOpen = false; | |
| 1451 | - this.inactivate(); | |
| 1452 | - $e.routes.clearCurrent(this.getNamespace()); | |
| 1453 | - $e.routes.clearHistory(this.getServiceName()); | |
| 1454 | - return true; | |
| 1455 | - } | |
| 1456 | - }, | |
| 1457 | - { | |
| 1458 | - key: "activate", | |
| 1459 | - value: function activate() { | |
| 1460 | - $e.components.activate(this.getNamespace()); | |
| 1461 | - } | |
| 1462 | - }, | |
| 1463 | - { | |
| 1464 | - key: "inactivate", | |
| 1465 | - value: function inactivate() { | |
| 1466 | - $e.components.inactivate(this.getNamespace()); | |
| 1467 | - } | |
| 1468 | - }, | |
| 1469 | - { | |
| 1470 | - key: "isActive", | |
| 1471 | - value: function isActive() { | |
| 1472 | - return $e.components.isActive(this.getNamespace()); | |
| 1473 | - } | |
| 1474 | - }, | |
| 1475 | - { | |
| 1476 | - key: "onRoute", | |
| 1477 | - value: function onRoute(route) { | |
| 1478 | - this.toggleRouteClass(route, true); | |
| 1479 | - this.toggleHistoryClass(); | |
| 1480 | - this.activate(); | |
| 1481 | - this.trigger("route/open", route); | |
| 1482 | - } | |
| 1483 | - }, | |
| 1484 | - { | |
| 1485 | - key: "onCloseRoute", | |
| 1486 | - value: function onCloseRoute(route) { | |
| 1487 | - this.toggleRouteClass(route, false); | |
| 1488 | - this.inactivate(); | |
| 1489 | - this.trigger("route/close", route); | |
| 1490 | - } | |
| 1491 | - }, | |
| 1492 | - { | |
| 1493 | - key: "setDefaultRoute", | |
| 1494 | - value: function setDefaultRoute(route) { | |
| 1495 | - this.defaultRoute = this.getNamespace() + "/" + route; | |
| 1496 | - } | |
| 1497 | - }, | |
| 1498 | - { | |
| 1499 | - key: "getDefaultRoute", | |
| 1500 | - value: function getDefaultRoute() { | |
| 1501 | - return this.defaultRoute; | |
| 1502 | - } | |
| 1503 | - }, | |
| 1504 | - { | |
| 1505 | - key: "removeTab", | |
| 1506 | - value: function removeTab(tab) { | |
| 1507 | - delete this.tabs[tab]; | |
| 1508 | - this.unregisterRoute(tab); | |
| 1509 | - } | |
| 1510 | - }, | |
| 1511 | - { | |
| 1512 | - key: "hasTab", | |
| 1513 | - value: function hasTab(tab) { | |
| 1514 | - return !!this.tabs[tab]; | |
| 1515 | - } | |
| 1516 | - }, | |
| 1517 | - { | |
| 1518 | - key: "addTab", | |
| 1519 | - value: function addTab(tab, args, position) { | |
| 1520 | - var _this3 = this; | |
| 1521 | - this.tabs[tab] = args; | |
| 1522 | - if ("undefined" !== typeof position) { | |
| 1523 | - var newTabs = {}; | |
| 1524 | - var ids = Object.keys(this.tabs); | |
| 1525 | - ids.pop(); | |
| 1526 | - ids.splice(position, 0, tab); | |
| 1527 | - ids.forEach(function(id) { | |
| 1528 | - newTabs[id] = _this3.tabs[id]; | |
| 1529 | - }); | |
| 1530 | - this.tabs = newTabs; | |
| 1531 | - } | |
| 1532 | - this.registerTabRoute(tab); | |
| 1533 | - } | |
| 1534 | - }, | |
| 1535 | - { | |
| 1536 | - key: "getTabsWrapperSelector", | |
| 1537 | - value: function getTabsWrapperSelector() { | |
| 1538 | - return ""; | |
| 1539 | - } | |
| 1540 | - }, | |
| 1541 | - { | |
| 1542 | - key: "getTabRoute", | |
| 1543 | - value: function getTabRoute(tab) { | |
| 1544 | - return this.getNamespace() + "/" + tab; | |
| 1545 | - } | |
| 1546 | - }, | |
| 1547 | - { | |
| 1548 | - key: "renderTab", | |
| 1549 | - value: function renderTab(tab) {} | |
| 1550 | - }, | |
| 1551 | - { | |
| 1552 | - key: "activateTab", | |
| 1553 | - value: function activateTab(tab, args) { | |
| 1554 | - var _this4 = this; | |
| 1555 | - this.renderTab(tab, args); | |
| 1556 | - jQuery(this.getTabsWrapperSelector() + " .elementor-component-tab").off("click").on("click", function(event) { | |
| 1557 | - $e.route(_this4.getTabRoute(event.currentTarget.dataset.tab), args); | |
| 1558 | - }).removeClass("elementor-active").filter("[data-tab=\"" + tab + "\"]").addClass("elementor-active"); | |
| 1559 | - } | |
| 1560 | - }, | |
| 1561 | - { | |
| 1562 | - key: "getActiveTabConfig", | |
| 1563 | - value: function getActiveTabConfig() { | |
| 1564 | - return this.tabs[this.currentTab] || {}; | |
| 1565 | - } | |
| 1566 | - }, | |
| 1567 | - { | |
| 1568 | - key: "getBodyClass", | |
| 1569 | - value: function getBodyClass(route) { | |
| 1570 | - return "e-route-" + route.replace(/\//g, "-"); | |
| 1571 | - } | |
| 1572 | - }, | |
| 1573 | - { | |
| 1574 | - key: "normalizeCommandName", | |
| 1575 | - value: function normalizeCommandName(commandName) { | |
| 1576 | - return commandName.replace(/[A-Z]/g, function(match, offset) { | |
| 1577 | - return (offset > 0 ? "-" : "") + match.toLowerCase(); | |
| 1578 | - }); | |
| 1579 | - } | |
| 1580 | - }, | |
| 1581 | - { | |
| 1582 | - key: "importCommands", | |
| 1583 | - value: function importCommands(commandsFromImport) { | |
| 1584 | - var _this5 = this; | |
| 1585 | - var commands = {}; | |
| 1586 | - Object.entries(commandsFromImport).forEach(function(_ref1) { | |
| 1587 | - var _ref10 = _slicedToArray(_ref1, 2); | |
| 1588 | - var className = _ref10[0]; | |
| 1589 | - var Class = _ref10[1]; | |
| 1590 | - var command = _this5.normalizeCommandName(className); | |
| 1591 | - commands[command] = Class; | |
| 1592 | - }); | |
| 1593 | - return commands; | |
| 1594 | - } | |
| 1595 | - }, | |
| 1596 | - { | |
| 1597 | - key: "importHooks", | |
| 1598 | - value: function importHooks(hooksFromImport) { | |
| 1599 | - var hooks = {}; | |
| 1600 | - for (var key in hooksFromImport) { | |
| 1601 | - var hook = new hooksFromImport[key](); | |
| 1602 | - hooks[hook.getId()] = hook; | |
| 1603 | - } | |
| 1604 | - return hooks; | |
| 1605 | - } | |
| 1606 | - }, | |
| 1607 | - { | |
| 1608 | - key: "importUiStates", | |
| 1609 | - value: function importUiStates(statesFromImport) { | |
| 1610 | - var _this6 = this; | |
| 1611 | - var uiStates = {}; | |
| 1612 | - Object.values(statesFromImport).forEach(function(className) { | |
| 1613 | - var uiState = new className(_this6); | |
| 1614 | - uiStates[uiState.getId()] = uiState; | |
| 1615 | - }); | |
| 1616 | - return uiStates; | |
| 1617 | - } | |
| 1618 | - }, | |
| 1619 | - { | |
| 1620 | - key: "setUiState", | |
| 1621 | - value: function setUiState(state, value) { | |
| 1622 | - $e.uiStates.set("".concat(this.getNamespace(), "/").concat(state), value); | |
| 1623 | - } | |
| 1624 | - }, | |
| 1625 | - { | |
| 1626 | - key: "toggleRouteClass", | |
| 1627 | - value: function toggleRouteClass(route, state) { | |
| 1628 | - document.body.classList.toggle(this.getBodyClass(route), state); | |
| 1629 | - } | |
| 1630 | - }, | |
| 1631 | - { | |
| 1632 | - key: "toggleHistoryClass", | |
| 1633 | - value: function toggleHistoryClass() { | |
| 1634 | - document.body.classList.toggle("e-routes-has-history", !!$e.routes.getHistory(this.getServiceName()).length); | |
| 1635 | - } | |
| 1636 | - } | |
| 1637 | - ]); | |
| 1638 | - }(import_module.default); | |
| 2438 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 1639 | 2439 | |
| 1640 | -//#endregion | |
| 1641 | -//#region app/assets/js/loader/commands/close.js | |
| 1642 | - function _callSuper$3(t, o, e) { | |
| 1643 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$3() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1644 | - } | |
| 1645 | - __name(_callSuper$3, "_callSuper"); | |
| 1646 | - function _isNativeReflectConstruct$3() { | |
| 1647 | - try { | |
| 1648 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1649 | - } catch (t) {} | |
| 1650 | - return (_isNativeReflectConstruct$3 = function _isNativeReflectConstruct() { | |
| 1651 | - return !!t; | |
| 1652 | - })(); | |
| 1653 | - } | |
| 1654 | - __name(_isNativeReflectConstruct$3, "_isNativeReflectConstruct"); | |
| 1655 | - var Close = /*#__PURE__*/ function(_$e$modules$CommandBa) { | |
| 1656 | - function Close() { | |
| 1657 | - _classCallCheck(this, Close); | |
| 1658 | - return _callSuper$3(this, Close, arguments); | |
| 1659 | - } | |
| 1660 | - _inherits(Close, _$e$modules$CommandBa); | |
| 1661 | - return _createClass(Close, [{ | |
| 1662 | - key: "apply", | |
| 1663 | - value: function apply() { | |
| 1664 | - if (!this.component.close()) return false; | |
| 1665 | - this.component.iframe.remove(); | |
| 1666 | - this.component.iframe = null; | |
| 1667 | - if (this.component.backdrop) { | |
| 1668 | - this.component.backdrop.remove(); | |
| 1669 | - this.component.backdrop = null; | |
| 1670 | - } | |
| 1671 | - document.body.style.overflow = ""; | |
| 1672 | - return true; | |
| 1673 | - } | |
| 1674 | - }]); | |
| 1675 | - }($e.modules.CommandBase); | |
| 2440 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 1676 | 2441 | |
| 1677 | -//#endregion | |
| 1678 | -//#region app/assets/js/loader/commands/load.js | |
| 1679 | - function _callSuper$2(t, o, e) { | |
| 1680 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$2() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1681 | - } | |
| 1682 | - __name(_callSuper$2, "_callSuper"); | |
| 1683 | - function _isNativeReflectConstruct$2() { | |
| 1684 | - try { | |
| 1685 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1686 | - } catch (t) {} | |
| 1687 | - return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { | |
| 1688 | - return !!t; | |
| 1689 | - })(); | |
| 1690 | - } | |
| 1691 | - __name(_isNativeReflectConstruct$2, "_isNativeReflectConstruct"); | |
| 1692 | - var Load = /*#__PURE__*/ function(_$e$modules$CommandBa) { | |
| 1693 | - function Load() { | |
| 1694 | - _classCallCheck(this, Load); | |
| 1695 | - return _callSuper$2(this, Load, arguments); | |
| 1696 | - } | |
| 1697 | - _inherits(Load, _$e$modules$CommandBa); | |
| 1698 | - return _createClass(Load, [{ | |
| 1699 | - key: "apply", | |
| 1700 | - value: function apply(args) { | |
| 1701 | - var component = this.component; | |
| 1702 | - if (!component.iframe) { | |
| 1703 | - component.backdrop = document.createElement("div"); | |
| 1704 | - component.backdrop.className = "elementor-app-backdrop"; | |
| 1705 | - component.backdrop.style.display = "none"; | |
| 1706 | - component.backdrop.addEventListener("click", function() { | |
| 1707 | - $e.run("app/close"); | |
| 1708 | - }); | |
| 1709 | - document.body.appendChild(component.backdrop); | |
| 1710 | - component.iframe = document.createElement("iframe"); | |
| 1711 | - component.iframe.className = "elementor-app-iframe"; | |
| 1712 | - component.iframe.style.display = "none"; | |
| 1713 | - component.iframe.addEventListener("load", function() { | |
| 1714 | - if (component.iframe) component.iframe.classList.add("elementor-app-iframe--visible"); | |
| 1715 | - if (component.backdrop) component.backdrop.classList.add("elementor-app-backdrop--visible"); | |
| 1716 | - }); | |
| 1717 | - document.body.appendChild(component.iframe); | |
| 1718 | - } | |
| 1719 | - if (args.url === component.iframe.src) return; | |
| 1720 | - component.iframe.src = args.url; | |
| 1721 | - } | |
| 1722 | - }]); | |
| 1723 | - }($e.modules.CommandBase); | |
| 2442 | +_Object$defineProperty(exports, "__esModule", { | |
| 2443 | + value: true | |
| 2444 | +}); | |
| 1724 | 2445 | |
| 1725 | -//#endregion | |
| 1726 | -//#region app/assets/js/loader/commands/open.js | |
| 1727 | - function _callSuper$1(t, o, e) { | |
| 1728 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$1() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1729 | - } | |
| 1730 | - __name(_callSuper$1, "_callSuper"); | |
| 1731 | - function _isNativeReflectConstruct$1() { | |
| 1732 | - try { | |
| 1733 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1734 | - } catch (t) {} | |
| 1735 | - return (_isNativeReflectConstruct$1 = function _isNativeReflectConstruct() { | |
| 1736 | - return !!t; | |
| 1737 | - })(); | |
| 1738 | - } | |
| 1739 | - __name(_isNativeReflectConstruct$1, "_isNativeReflectConstruct"); | |
| 1740 | - var Open = /*#__PURE__*/ function(_$e$modules$CommandBa) { | |
| 1741 | - function Open() { | |
| 1742 | - _classCallCheck(this, Open); | |
| 1743 | - return _callSuper$1(this, Open, arguments); | |
| 1744 | - } | |
| 1745 | - _inherits(Open, _$e$modules$CommandBa); | |
| 1746 | - return _createClass(Open, [{ | |
| 1747 | - key: "apply", | |
| 1748 | - value: function apply(args) { | |
| 1749 | - $e.route("app", args); | |
| 1750 | - return true; | |
| 1751 | - } | |
| 1752 | - }]); | |
| 1753 | - }($e.modules.CommandBase); | |
| 2446 | +exports["default"] = void 0; | |
| 1754 | 2447 | |
| 1755 | -//#endregion | |
| 1756 | -//#region app/assets/js/loader/commands/index.js | |
| 1757 | - var commands_exports = /* @__PURE__ */ __exportAll({ | |
| 1758 | - Close: () => Close, | |
| 1759 | - Load: () => Load, | |
| 1760 | - Open: () => Open | |
| 1761 | - }); | |
| 2448 | +var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")); | |
| 1762 | 2449 | |
| 1763 | -//#endregion | |
| 1764 | -//#region app/assets/js/loader/component.js | |
| 1765 | - function _callSuper(t, o, e) { | |
| 1766 | - return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 1767 | - } | |
| 1768 | - function _isNativeReflectConstruct() { | |
| 1769 | - try { | |
| 1770 | - var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 1771 | - } catch (t) {} | |
| 1772 | - return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { | |
| 1773 | - return !!t; | |
| 1774 | - })(); | |
| 1775 | - } | |
| 1776 | - var Component = /*#__PURE__*/ function(_ComponentModalBase) { | |
| 1777 | - function Component() { | |
| 1778 | - _classCallCheck(this, Component); | |
| 1779 | - return _callSuper(this, Component, arguments); | |
| 1780 | - } | |
| 1781 | - _inherits(Component, _ComponentModalBase); | |
| 1782 | - return _createClass(Component, [ | |
| 1783 | - { | |
| 1784 | - key: "getNamespace", | |
| 1785 | - value: function getNamespace() { | |
| 1786 | - return "app"; | |
| 1787 | - } | |
| 1788 | - }, | |
| 1789 | - { | |
| 1790 | - key: "defaultRoutes", | |
| 1791 | - value: function defaultRoutes() { | |
| 1792 | - var _this = this; | |
| 1793 | - return { "": function _(args) { | |
| 1794 | - args.url = args.url || elementorAppConfig.menu_url; | |
| 1795 | - $e.run("app/load", args); | |
| 1796 | - _this.iframe.style.display = ""; | |
| 1797 | - if (_this.backdrop) _this.backdrop.style.display = ""; | |
| 1798 | - document.body.style.overflow = "hidden"; | |
| 1799 | - } }; | |
| 1800 | - } | |
| 1801 | - }, | |
| 1802 | - { | |
| 1803 | - key: "defaultCommands", | |
| 1804 | - value: function defaultCommands() { | |
| 1805 | - return this.importCommands(commands_exports); | |
| 1806 | - } | |
| 1807 | - }, | |
| 1808 | - { | |
| 1809 | - key: "defaultShortcuts", | |
| 1810 | - value: function defaultShortcuts() { | |
| 1811 | - return { | |
| 1812 | - "": { keys: "ctrl+shift+e" }, | |
| 1813 | - close: { | |
| 1814 | - keys: "esc", | |
| 1815 | - scopes: [this.getNamespace()] | |
| 1816 | - } | |
| 1817 | - }; | |
| 1818 | - } | |
| 1819 | - } | |
| 1820 | - ]); | |
| 1821 | - }(ComponentBase); | |
| 2450 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 1822 | 2451 | |
| 1823 | -//#endregion | |
| 1824 | -//#region app/assets/js/app-loader.js | |
| 1825 | - window.elementorAppLoader = new (/* @__PURE__ */ function() { | |
| 1826 | - function AppLoader() { | |
| 1827 | - _classCallCheck(this, AppLoader); | |
| 1828 | - _defineProperty(this, "selector", "a.elementor-app-link, .elementor-app-link .ab-item"); | |
| 1829 | - $e.components.register(new Component()); | |
| 1830 | - window.addEventListener("DOMContentLoaded", this.onLoad.bind(this)); | |
| 1831 | - } | |
| 1832 | - return _createClass(AppLoader, [{ | |
| 1833 | - key: "onLoad", | |
| 1834 | - value: function onLoad() { | |
| 1835 | - var links = document.querySelectorAll(this.selector); | |
| 1836 | - if (!links.length) return; | |
| 1837 | - links.forEach(function(link) { | |
| 1838 | - link.addEventListener("click", function(event) { | |
| 1839 | - event.preventDefault(); | |
| 1840 | - $e.run("app/open", { url: link.href }); | |
| 1841 | - }); | |
| 1842 | - link.addEventListener("mouseenter", function() { | |
| 1843 | - $e.run("app/load", { url: link.href }); | |
| 1844 | - }); | |
| 1845 | - }); | |
| 1846 | - } | |
| 1847 | - }]); | |
| 1848 | - }())(); | |
| 2452 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 1849 | 2453 | |
| 1850 | -//#endregion | |
| 1851 | -})(elementorVendors.reduxToolkit); | |
| 2454 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2455 | + | |
| 2456 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2457 | + | |
| 2458 | +var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); | |
| 2459 | + | |
| 2460 | +var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); | |
| 2461 | + | |
| 2462 | +var ArgsObject = /*#__PURE__*/function (_InstanceType) { | |
| 2463 | + (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 2464 | + | |
| 2465 | + var _super = (0, _createSuper2.default)(ArgsObject); | |
| 2466 | + | |
| 2467 | + /** | |
| 2468 | + * Function constructor(). | |
| 2469 | + * | |
| 2470 | + * Create ArgsObject. | |
| 2471 | + * | |
| 2472 | + * @param {{}} args | |
| 2473 | + */ | |
| 2474 | + function ArgsObject(args) { | |
| 2475 | + var _this; | |
| 2476 | + | |
| 2477 | + (0, _classCallCheck2.default)(this, ArgsObject); | |
| 2478 | + _this = _super.call(this); | |
| 2479 | + _this.args = args; | |
| 2480 | + return _this; | |
| 2481 | + } | |
| 2482 | + /** | |
| 2483 | + * Function requireArgument(). | |
| 2484 | + * | |
| 2485 | + * Validate property in args. | |
| 2486 | + * | |
| 2487 | + * @param {string} property | |
| 2488 | + * @param {{}} args | |
| 2489 | + * | |
| 2490 | + * @throws {Error} | |
| 2491 | + * | |
| 2492 | + */ | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + (0, _createClass2.default)(ArgsObject, [{ | |
| 2496 | + key: "requireArgument", | |
| 2497 | + value: function requireArgument(property) { | |
| 2498 | + var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; | |
| 2499 | + | |
| 2500 | + if (!args.hasOwnProperty(property)) { | |
| 2501 | + throw Error("".concat(property, " is required.")); | |
| 2502 | + } | |
| 2503 | + } | |
| 2504 | + /** | |
| 2505 | + * Function requireArgumentType(). | |
| 2506 | + * | |
| 2507 | + * Validate property in args using `type === typeof(args.whatever)`. | |
| 2508 | + * | |
| 2509 | + * @param {string} property | |
| 2510 | + * @param {string} type | |
| 2511 | + * @param {{}} args | |
| 2512 | + * | |
| 2513 | + * @throws {Error} | |
| 2514 | + * | |
| 2515 | + */ | |
| 2516 | + | |
| 2517 | + }, { | |
| 2518 | + key: "requireArgumentType", | |
| 2519 | + value: function requireArgumentType(property, type) { | |
| 2520 | + var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 2521 | + this.requireArgument(property, args); | |
| 2522 | + | |
| 2523 | + if ((0, _typeof2.default)(args[property]) !== type) { | |
| 2524 | + throw Error("".concat(property, " invalid type: ").concat(type, ".")); | |
| 2525 | + } | |
| 2526 | + } | |
| 2527 | + /** | |
| 2528 | + * Function requireArgumentInstance(). | |
| 2529 | + * | |
| 2530 | + * Validate property in args using `args.whatever instanceof instance`. | |
| 2531 | + * | |
| 2532 | + * @param {string} property | |
| 2533 | + * @param {instanceof} instance | |
| 2534 | + * @param {{}} args | |
| 2535 | + * | |
| 2536 | + * @throws {Error} | |
| 2537 | + * | |
| 2538 | + */ | |
| 2539 | + | |
| 2540 | + }, { | |
| 2541 | + key: "requireArgumentInstance", | |
| 2542 | + value: function requireArgumentInstance(property, instance) { | |
| 2543 | + var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 2544 | + this.requireArgument(property, args); | |
| 2545 | + | |
| 2546 | + if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) { | |
| 2547 | + throw Error("".concat(property, " invalid instance.")); | |
| 2548 | + } | |
| 2549 | + } | |
| 2550 | + /** | |
| 2551 | + * Function requireArgumentConstructor(). | |
| 2552 | + * | |
| 2553 | + * Validate property in args using `type === args.whatever.constructor`. | |
| 2554 | + * | |
| 2555 | + * @param {string} property | |
| 2556 | + * @param {*} type | |
| 2557 | + * @param {{}} args | |
| 2558 | + * | |
| 2559 | + * @throws {Error} | |
| 2560 | + * | |
| 2561 | + */ | |
| 2562 | + | |
| 2563 | + }, { | |
| 2564 | + key: "requireArgumentConstructor", | |
| 2565 | + value: function requireArgumentConstructor(property, type) { | |
| 2566 | + var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args; | |
| 2567 | + this.requireArgument(property, args); | |
| 2568 | + | |
| 2569 | + if (args[property].constructor !== type) { | |
| 2570 | + throw Error("".concat(property, " invalid constructor type.")); | |
| 2571 | + } | |
| 2572 | + } | |
| 2573 | + }], [{ | |
| 2574 | + key: "getInstanceType", | |
| 2575 | + value: function getInstanceType() { | |
| 2576 | + return 'ArgsObject'; | |
| 2577 | + } | |
| 2578 | + }]); | |
| 2579 | + return ArgsObject; | |
| 2580 | +}(_instanceType.default); | |
| 2581 | + | |
| 2582 | +exports["default"] = ArgsObject; | |
| 2583 | + | |
| 2584 | +/***/ }), | |
| 2585 | + | |
| 2586 | +/***/ "../assets/dev/js/modules/imports/instance-type.js": | |
| 2587 | +/*!*********************************************************!*\ | |
| 2588 | + !*** ../assets/dev/js/modules/imports/instance-type.js ***! | |
| 2589 | + \*********************************************************/ | |
| 2590 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2591 | + | |
| 2592 | +"use strict"; | |
| 2593 | + | |
| 2594 | + | |
| 2595 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2596 | + | |
| 2597 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2598 | + | |
| 2599 | +_Object$defineProperty(exports, "__esModule", { | |
| 2600 | + value: true | |
| 2601 | +}); | |
| 2602 | + | |
| 2603 | +exports["default"] = void 0; | |
| 2604 | + | |
| 2605 | +var _hasInstance = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/symbol/has-instance */ "../node_modules/@babel/runtime-corejs2/core-js/symbol/has-instance.js")); | |
| 2606 | + | |
| 2607 | +var _isArray = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js")); | |
| 2608 | + | |
| 2609 | +__webpack_require__(/*! core-js/modules/es6.function.name.js */ "../node_modules/core-js/modules/es6.function.name.js"); | |
| 2610 | + | |
| 2611 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2612 | + | |
| 2613 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2614 | + | |
| 2615 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/get */ "../node_modules/@babel/runtime-corejs2/helpers/get.js")); | |
| 2616 | + | |
| 2617 | +var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/getPrototypeOf */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js")); | |
| 2618 | + | |
| 2619 | +var InstanceType = /*#__PURE__*/function (_Symbol$hasInstance) { | |
| 2620 | + function InstanceType() { | |
| 2621 | + var _this = this; | |
| 2622 | + | |
| 2623 | + (0, _classCallCheck2.default)(this, InstanceType); | |
| 2624 | + // Since anonymous classes sometimes do not get validated by babel, do it manually. | |
| 2625 | + var target = this instanceof InstanceType ? this.constructor : void 0; | |
| 2626 | + var prototypes = []; | |
| 2627 | + | |
| 2628 | + while (target.__proto__ && target.__proto__.name) { | |
| 2629 | + prototypes.push(target.__proto__); | |
| 2630 | + target = target.__proto__; | |
| 2631 | + } | |
| 2632 | + | |
| 2633 | + prototypes.reverse().forEach(function (proto) { | |
| 2634 | + return _this instanceof proto; | |
| 2635 | + }); | |
| 2636 | + } | |
| 2637 | + | |
| 2638 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 2639 | + key: _Symbol$hasInstance, | |
| 2640 | + value: function value(target) { | |
| 2641 | + /** | |
| 2642 | + * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class | |
| 2643 | + * its give's opportunity to mange capabilities of instanceOf operator. | |
| 2644 | + * saving current class each time will give option later to handle instanceOf manually. | |
| 2645 | + */ | |
| 2646 | + 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. | |
| 2647 | + | |
| 2648 | + if (target && !target.constructor.getInstanceType) { | |
| 2649 | + return result; | |
| 2650 | + } | |
| 2651 | + | |
| 2652 | + if (target) { | |
| 2653 | + if (!target.instanceTypes) { | |
| 2654 | + target.instanceTypes = []; | |
| 2655 | + } | |
| 2656 | + | |
| 2657 | + if (!result) { | |
| 2658 | + if (this.getInstanceType() === target.constructor.getInstanceType()) { | |
| 2659 | + result = true; | |
| 2660 | + } | |
| 2661 | + } | |
| 2662 | + | |
| 2663 | + if (result) { | |
| 2664 | + var name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType(); | |
| 2665 | + | |
| 2666 | + if (-1 === target.instanceTypes.indexOf(name)) { | |
| 2667 | + target.instanceTypes.push(name); | |
| 2668 | + } | |
| 2669 | + } | |
| 2670 | + } | |
| 2671 | + | |
| 2672 | + if (!result && target) { | |
| 2673 | + // Check if the given 'target', is instance of known types. | |
| 2674 | + result = target.instanceTypes && (0, _isArray.default)(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType()); | |
| 2675 | + } | |
| 2676 | + | |
| 2677 | + return result; | |
| 2678 | + } | |
| 2679 | + }, { | |
| 2680 | + key: "getInstanceType", | |
| 2681 | + value: function getInstanceType() { | |
| 2682 | + elementorModules.ForceMethodImplementation(); | |
| 2683 | + } | |
| 2684 | + }]); | |
| 2685 | + return InstanceType; | |
| 2686 | +}(_hasInstance.default); | |
| 2687 | + | |
| 2688 | +exports["default"] = InstanceType; | |
| 2689 | + | |
| 2690 | +/***/ }), | |
| 2691 | + | |
| 2692 | +/***/ "../core/app/assets/js/loader/commands/close.js": | |
| 2693 | +/*!******************************************************!*\ | |
| 2694 | + !*** ../core/app/assets/js/loader/commands/close.js ***! | |
| 2695 | + \******************************************************/ | |
| 2696 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2697 | + | |
| 2698 | +"use strict"; | |
| 2699 | + | |
| 2700 | + | |
| 2701 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2702 | + | |
| 2703 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2704 | + | |
| 2705 | +_Object$defineProperty(exports, "__esModule", { | |
| 2706 | + value: true | |
| 2707 | +}); | |
| 2708 | + | |
| 2709 | +exports["default"] = exports.Close = void 0; | |
| 2710 | + | |
| 2711 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2712 | + | |
| 2713 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2714 | + | |
| 2715 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2716 | + | |
| 2717 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2718 | + | |
| 2719 | +var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../core/common/assets/js/api/modules/command-base.js")); | |
| 2720 | + | |
| 2721 | +var Close = /*#__PURE__*/function (_CommandBase) { | |
| 2722 | + (0, _inherits2.default)(Close, _CommandBase); | |
| 2723 | + | |
| 2724 | + var _super = (0, _createSuper2.default)(Close); | |
| 2725 | + | |
| 2726 | + function Close() { | |
| 2727 | + (0, _classCallCheck2.default)(this, Close); | |
| 2728 | + return _super.apply(this, arguments); | |
| 2729 | + } | |
| 2730 | + | |
| 2731 | + (0, _createClass2.default)(Close, [{ | |
| 2732 | + key: "apply", | |
| 2733 | + value: function apply() { | |
| 2734 | + if (!this.component.close()) { | |
| 2735 | + return false; | |
| 2736 | + } | |
| 2737 | + | |
| 2738 | + this.component.iframe.remove(); | |
| 2739 | + this.component.iframe = null; | |
| 2740 | + return true; | |
| 2741 | + } | |
| 2742 | + }]); | |
| 2743 | + return Close; | |
| 2744 | +}(_commandBase.default); | |
| 2745 | + | |
| 2746 | +exports.Close = Close; | |
| 2747 | +var _default = Close; | |
| 2748 | +exports["default"] = _default; | |
| 2749 | + | |
| 2750 | +/***/ }), | |
| 2751 | + | |
| 2752 | +/***/ "../core/app/assets/js/loader/commands/index.js": | |
| 2753 | +/*!******************************************************!*\ | |
| 2754 | + !*** ../core/app/assets/js/loader/commands/index.js ***! | |
| 2755 | + \******************************************************/ | |
| 2756 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2757 | + | |
| 2758 | +"use strict"; | |
| 2759 | + | |
| 2760 | + | |
| 2761 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2762 | + | |
| 2763 | +_Object$defineProperty(exports, "__esModule", { | |
| 2764 | + value: true | |
| 2765 | +}); | |
| 2766 | + | |
| 2767 | +_Object$defineProperty(exports, "Close", { | |
| 2768 | + enumerable: true, | |
| 2769 | + get: function get() { | |
| 2770 | + return _close.Close; | |
| 2771 | + } | |
| 2772 | +}); | |
| 2773 | + | |
| 2774 | +_Object$defineProperty(exports, "Load", { | |
| 2775 | + enumerable: true, | |
| 2776 | + get: function get() { | |
| 2777 | + return _load.Load; | |
| 2778 | + } | |
| 2779 | +}); | |
| 2780 | + | |
| 2781 | +_Object$defineProperty(exports, "Open", { | |
| 2782 | + enumerable: true, | |
| 2783 | + get: function get() { | |
| 2784 | + return _open.Open; | |
| 2785 | + } | |
| 2786 | +}); | |
| 2787 | + | |
| 2788 | +var _close = __webpack_require__(/*! ./close */ "../core/app/assets/js/loader/commands/close.js"); | |
| 2789 | + | |
| 2790 | +var _load = __webpack_require__(/*! ./load */ "../core/app/assets/js/loader/commands/load.js"); | |
| 2791 | + | |
| 2792 | +var _open = __webpack_require__(/*! ./open */ "../core/app/assets/js/loader/commands/open.js"); | |
| 2793 | + | |
| 2794 | +/***/ }), | |
| 2795 | + | |
| 2796 | +/***/ "../core/app/assets/js/loader/commands/load.js": | |
| 2797 | +/*!*****************************************************!*\ | |
| 2798 | + !*** ../core/app/assets/js/loader/commands/load.js ***! | |
| 2799 | + \*****************************************************/ | |
| 2800 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2801 | + | |
| 2802 | +"use strict"; | |
| 2803 | + | |
| 2804 | + | |
| 2805 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2806 | + | |
| 2807 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2808 | + | |
| 2809 | +_Object$defineProperty(exports, "__esModule", { | |
| 2810 | + value: true | |
| 2811 | +}); | |
| 2812 | + | |
| 2813 | +exports["default"] = exports.Load = void 0; | |
| 2814 | + | |
| 2815 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2816 | + | |
| 2817 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2818 | + | |
| 2819 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2820 | + | |
| 2821 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2822 | + | |
| 2823 | +var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../core/common/assets/js/api/modules/command-base.js")); | |
| 2824 | + | |
| 2825 | +var Load = /*#__PURE__*/function (_CommandBase) { | |
| 2826 | + (0, _inherits2.default)(Load, _CommandBase); | |
| 2827 | + | |
| 2828 | + var _super = (0, _createSuper2.default)(Load); | |
| 2829 | + | |
| 2830 | + function Load() { | |
| 2831 | + (0, _classCallCheck2.default)(this, Load); | |
| 2832 | + return _super.apply(this, arguments); | |
| 2833 | + } | |
| 2834 | + | |
| 2835 | + (0, _createClass2.default)(Load, [{ | |
| 2836 | + key: "apply", | |
| 2837 | + value: function apply(args) { | |
| 2838 | + var component = this.component; | |
| 2839 | + | |
| 2840 | + if (!component.iframe) { | |
| 2841 | + component.iframe = document.createElement('iframe'); | |
| 2842 | + component.iframe.className = 'elementor-app-iframe'; | |
| 2843 | + component.iframe.style.cssText = '' + 'display: none;' + 'width: 100%;' + 'height: 100%;' + 'position: fixed;' + 'top: 0;' + 'left: 0;' + 'z-index: 99999; /* Over WP Admin Bar */' + 'background-color: rgba(0, 0, 0, 0.8);'; | |
| 2844 | + document.body.appendChild(component.iframe); | |
| 2845 | + } | |
| 2846 | + | |
| 2847 | + if (args.url === component.iframe.src) { | |
| 2848 | + return; | |
| 2849 | + } | |
| 2850 | + | |
| 2851 | + component.iframe.src = args.url; | |
| 2852 | + } | |
| 2853 | + }]); | |
| 2854 | + return Load; | |
| 2855 | +}(_commandBase.default); | |
| 2856 | + | |
| 2857 | +exports.Load = Load; | |
| 2858 | +var _default = Load; | |
| 2859 | +exports["default"] = _default; | |
| 2860 | + | |
| 2861 | +/***/ }), | |
| 2862 | + | |
| 2863 | +/***/ "../core/app/assets/js/loader/commands/open.js": | |
| 2864 | +/*!*****************************************************!*\ | |
| 2865 | + !*** ../core/app/assets/js/loader/commands/open.js ***! | |
| 2866 | + \*****************************************************/ | |
| 2867 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2868 | + | |
| 2869 | +"use strict"; | |
| 2870 | + | |
| 2871 | + | |
| 2872 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2873 | + | |
| 2874 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2875 | + | |
| 2876 | +_Object$defineProperty(exports, "__esModule", { | |
| 2877 | + value: true | |
| 2878 | +}); | |
| 2879 | + | |
| 2880 | +exports["default"] = exports.Open = void 0; | |
| 2881 | + | |
| 2882 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2883 | + | |
| 2884 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2885 | + | |
| 2886 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2887 | + | |
| 2888 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2889 | + | |
| 2890 | +var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../core/common/assets/js/api/modules/command-base.js")); | |
| 2891 | + | |
| 2892 | +var Open = /*#__PURE__*/function (_CommandBase) { | |
| 2893 | + (0, _inherits2.default)(Open, _CommandBase); | |
| 2894 | + | |
| 2895 | + var _super = (0, _createSuper2.default)(Open); | |
| 2896 | + | |
| 2897 | + function Open() { | |
| 2898 | + (0, _classCallCheck2.default)(this, Open); | |
| 2899 | + return _super.apply(this, arguments); | |
| 2900 | + } | |
| 2901 | + | |
| 2902 | + (0, _createClass2.default)(Open, [{ | |
| 2903 | + key: "apply", | |
| 2904 | + value: function apply(args) { | |
| 2905 | + $e.route('app', args); | |
| 2906 | + return true; | |
| 2907 | + } | |
| 2908 | + }]); | |
| 2909 | + return Open; | |
| 2910 | +}(_commandBase.default); | |
| 2911 | + | |
| 2912 | +exports.Open = Open; | |
| 2913 | +var _default = Open; | |
| 2914 | +exports["default"] = _default; | |
| 2915 | + | |
| 2916 | +/***/ }), | |
| 2917 | + | |
| 2918 | +/***/ "../core/app/assets/js/loader/component.js": | |
| 2919 | +/*!*************************************************!*\ | |
| 2920 | + !*** ../core/app/assets/js/loader/component.js ***! | |
| 2921 | + \*************************************************/ | |
| 2922 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 2923 | + | |
| 2924 | +"use strict"; | |
| 2925 | + | |
| 2926 | + | |
| 2927 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 2928 | + | |
| 2929 | +var _interopRequireWildcard = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireWildcard */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js"); | |
| 2930 | + | |
| 2931 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 2932 | + | |
| 2933 | +_Object$defineProperty(exports, "__esModule", { | |
| 2934 | + value: true | |
| 2935 | +}); | |
| 2936 | + | |
| 2937 | +exports["default"] = void 0; | |
| 2938 | + | |
| 2939 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 2940 | + | |
| 2941 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 2942 | + | |
| 2943 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 2944 | + | |
| 2945 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 2946 | + | |
| 2947 | +var _componentBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-base */ "../core/common/assets/js/api/modules/component-base.js")); | |
| 2948 | + | |
| 2949 | +var commands = _interopRequireWildcard(__webpack_require__(/*! ./commands/ */ "../core/app/assets/js/loader/commands/index.js")); | |
| 2950 | + | |
| 2951 | +var Component = /*#__PURE__*/function (_ComponentModalBase) { | |
| 2952 | + (0, _inherits2.default)(Component, _ComponentModalBase); | |
| 2953 | + | |
| 2954 | + var _super = (0, _createSuper2.default)(Component); | |
| 2955 | + | |
| 2956 | + function Component() { | |
| 2957 | + (0, _classCallCheck2.default)(this, Component); | |
| 2958 | + return _super.apply(this, arguments); | |
| 2959 | + } | |
| 2960 | + | |
| 2961 | + (0, _createClass2.default)(Component, [{ | |
| 2962 | + key: "getNamespace", | |
| 2963 | + value: function getNamespace() { | |
| 2964 | + return 'app'; | |
| 2965 | + } | |
| 2966 | + }, { | |
| 2967 | + key: "defaultRoutes", | |
| 2968 | + value: function defaultRoutes() { | |
| 2969 | + var _this = this; | |
| 2970 | + | |
| 2971 | + return { | |
| 2972 | + '': function _(args) { | |
| 2973 | + args.url = args.url || elementorAppConfig.menu_url; | |
| 2974 | + $e.run('app/load', args); | |
| 2975 | + _this.iframe.style.display = ''; | |
| 2976 | + document.body.style.overflow = 'hidden'; | |
| 2977 | + } | |
| 2978 | + }; | |
| 2979 | + } | |
| 2980 | + }, { | |
| 2981 | + key: "defaultCommands", | |
| 2982 | + value: function defaultCommands() { | |
| 2983 | + return this.importCommands(commands); | |
| 2984 | + } | |
| 2985 | + }, { | |
| 2986 | + key: "defaultShortcuts", | |
| 2987 | + value: function defaultShortcuts() { | |
| 2988 | + return { | |
| 2989 | + '': { | |
| 2990 | + keys: 'ctrl+shift+e' | |
| 2991 | + }, | |
| 2992 | + close: { | |
| 2993 | + keys: 'esc', | |
| 2994 | + scopes: [this.getNamespace()] | |
| 2995 | + } | |
| 2996 | + }; | |
| 2997 | + } | |
| 2998 | + }]); | |
| 2999 | + return Component; | |
| 3000 | +}(_componentBase.default); | |
| 3001 | + | |
| 3002 | +exports["default"] = Component; | |
| 3003 | + | |
| 3004 | +/***/ }), | |
| 3005 | + | |
| 3006 | +/***/ "../core/common/assets/js/api/modules/command-base.js": | |
| 3007 | +/*!************************************************************!*\ | |
| 3008 | + !*** ../core/common/assets/js/api/modules/command-base.js ***! | |
| 3009 | + \************************************************************/ | |
| 3010 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3011 | + | |
| 3012 | +"use strict"; | |
| 3013 | + | |
| 3014 | + | |
| 3015 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3016 | + | |
| 3017 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3018 | + | |
| 3019 | +_Object$defineProperty(exports, "__esModule", { | |
| 3020 | + value: true | |
| 3021 | +}); | |
| 3022 | + | |
| 3023 | +exports["default"] = void 0; | |
| 3024 | + | |
| 3025 | +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "../node_modules/@babel/runtime/regenerator/index.js")); | |
| 3026 | + | |
| 3027 | +__webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); | |
| 3028 | + | |
| 3029 | +__webpack_require__(/*! core-js/modules/es6.string.iterator.js */ "../node_modules/core-js/modules/es6.string.iterator.js"); | |
| 3030 | + | |
| 3031 | +__webpack_require__(/*! core-js/modules/es6.object.to-string.js */ "../node_modules/core-js/modules/es6.object.to-string.js"); | |
| 3032 | + | |
| 3033 | +__webpack_require__(/*! core-js/modules/es6.array.iterator.js */ "../node_modules/core-js/modules/es6.array.iterator.js"); | |
| 3034 | + | |
| 3035 | +__webpack_require__(/*! core-js/modules/web.dom.iterable.js */ "../node_modules/core-js/modules/web.dom.iterable.js"); | |
| 3036 | + | |
| 3037 | +var _isArray = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/array/is-array */ "../node_modules/@babel/runtime-corejs2/core-js/array/is-array.js")); | |
| 3038 | + | |
| 3039 | +var _promise = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/promise */ "../node_modules/@babel/runtime-corejs2/core-js/promise.js")); | |
| 3040 | + | |
| 3041 | +var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/typeof */ "../node_modules/@babel/runtime-corejs2/helpers/typeof.js")); | |
| 3042 | + | |
| 3043 | +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/asyncToGenerator */ "../node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js")); | |
| 3044 | + | |
| 3045 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3046 | + | |
| 3047 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3048 | + | |
| 3049 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/assertThisInitialized */ "../node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js")); | |
| 3050 | + | |
| 3051 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3052 | + | |
| 3053 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3054 | + | |
| 3055 | +var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/defineProperty */ "../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js")); | |
| 3056 | + | |
| 3057 | +var _argsObject = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); | |
| 3058 | + | |
| 3059 | +var CommandBase = /*#__PURE__*/function (_ArgsObject) { | |
| 3060 | + (0, _inherits2.default)(CommandBase, _ArgsObject); | |
| 3061 | + | |
| 3062 | + var _super = (0, _createSuper2.default)(CommandBase); | |
| 3063 | + | |
| 3064 | + /** | |
| 3065 | + * Function constructor(). | |
| 3066 | + * | |
| 3067 | + * Create Commands Base. | |
| 3068 | + * | |
| 3069 | + * @param [args={}] | |
| 3070 | + * @param [commandsAPI={}] | |
| 3071 | + */ | |
| 3072 | + function CommandBase(args) { | |
| 3073 | + var _this; | |
| 3074 | + | |
| 3075 | + var commandsAPI = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : $e.commands; | |
| 3076 | + (0, _classCallCheck2.default)(this, CommandBase); | |
| 3077 | + _this = _super.call(this, args); // Acknowledge self about which command it run. | |
| 3078 | + | |
| 3079 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "component", void 0); | |
| 3080 | + _this.currentCommand = commandsAPI.getCurrentLast(); // Assign instance of current component. | |
| 3081 | + | |
| 3082 | + _this.component = commandsAPI.getComponent(_this.currentCommand); // Who ever need do something before without `super` the constructor can use `initialize` method. | |
| 3083 | + | |
| 3084 | + _this.initialize(args); // Refresh args, maybe the changed via `initialize`. | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + args = _this.args; // Validate args before run. | |
| 3088 | + | |
| 3089 | + _this.validateArgs(args); | |
| 3090 | + | |
| 3091 | + return _this; | |
| 3092 | + } | |
| 3093 | + /** | |
| 3094 | + * Function requireContainer(). | |
| 3095 | + * | |
| 3096 | + * Validate `arg.container` & `arg.containers`. | |
| 3097 | + * | |
| 3098 | + * @param {{}} args | |
| 3099 | + * | |
| 3100 | + * @throws {Error} | |
| 3101 | + */ | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + (0, _createClass2.default)(CommandBase, [{ | |
| 3105 | + key: "requireContainer", | |
| 3106 | + value: function requireContainer() { | |
| 3107 | + var _this2 = this; | |
| 3108 | + | |
| 3109 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.args; | |
| 3110 | + | |
| 3111 | + if (!args.container && !args.containers) { | |
| 3112 | + throw Error('container or containers are required.'); | |
| 3113 | + } | |
| 3114 | + | |
| 3115 | + if (args.container && args.containers) { | |
| 3116 | + throw Error('container and containers cannot go together please select one of them.'); | |
| 3117 | + } | |
| 3118 | + | |
| 3119 | + var containers = args.containers || [args.container]; | |
| 3120 | + containers.forEach(function (container) { | |
| 3121 | + _this2.requireArgumentInstance('container', elementorModules.editor.Container, { | |
| 3122 | + container: container | |
| 3123 | + }); | |
| 3124 | + }); | |
| 3125 | + } | |
| 3126 | + /** | |
| 3127 | + * Function initialize(). | |
| 3128 | + * | |
| 3129 | + * Initialize command, called after construction. | |
| 3130 | + * | |
| 3131 | + * @param [args={}] | |
| 3132 | + */ | |
| 3133 | + | |
| 3134 | + }, { | |
| 3135 | + key: "initialize", | |
| 3136 | + value: function initialize() { | |
| 3137 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 3138 | + } // eslint-disable-line no-unused-vars | |
| 3139 | + | |
| 3140 | + /** | |
| 3141 | + * Function validateArgs(). | |
| 3142 | + * | |
| 3143 | + * Validate command arguments. | |
| 3144 | + * | |
| 3145 | + * @param [args={}] | |
| 3146 | + */ | |
| 3147 | + | |
| 3148 | + }, { | |
| 3149 | + key: "validateArgs", | |
| 3150 | + value: function validateArgs() { | |
| 3151 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 3152 | + } // eslint-disable-line no-unused-vars | |
| 3153 | + | |
| 3154 | + /** | |
| 3155 | + * Function isDataChanged(). | |
| 3156 | + * | |
| 3157 | + * Whether the editor needs to set change flag on/off. | |
| 3158 | + * | |
| 3159 | + * @returns {boolean} | |
| 3160 | + */ | |
| 3161 | + | |
| 3162 | + }, { | |
| 3163 | + key: "isDataChanged", | |
| 3164 | + value: function isDataChanged() { | |
| 3165 | + return false; | |
| 3166 | + } | |
| 3167 | + /** | |
| 3168 | + * Function apply(). | |
| 3169 | + * | |
| 3170 | + * Do the actual command. | |
| 3171 | + * | |
| 3172 | + * @param [args={}] | |
| 3173 | + * | |
| 3174 | + * @returns {*} | |
| 3175 | + */ | |
| 3176 | + | |
| 3177 | + }, { | |
| 3178 | + key: "apply", | |
| 3179 | + value: function apply() { | |
| 3180 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 3181 | + // eslint-disable-line no-unused-vars | |
| 3182 | + elementorModules.ForceMethodImplementation(); | |
| 3183 | + } | |
| 3184 | + /** | |
| 3185 | + * Function run(). | |
| 3186 | + * | |
| 3187 | + * Run command with history & hooks. | |
| 3188 | + * | |
| 3189 | + * @returns {*} | |
| 3190 | + */ | |
| 3191 | + | |
| 3192 | + }, { | |
| 3193 | + key: "run", | |
| 3194 | + value: function run() { | |
| 3195 | + var result; // For UI Hooks. | |
| 3196 | + | |
| 3197 | + this.onBeforeRun(this.args); | |
| 3198 | + | |
| 3199 | + try { | |
| 3200 | + // For Data hooks. | |
| 3201 | + this.onBeforeApply(this.args); | |
| 3202 | + result = this.apply(this.args); | |
| 3203 | + } catch (e) { | |
| 3204 | + this.onCatchApply(e); // Catch 'Hook-Break' that comes from hooks base. | |
| 3205 | + | |
| 3206 | + if (e instanceof $e.modules.HookBreak) { | |
| 3207 | + // Bypass. | |
| 3208 | + return false; | |
| 3209 | + } | |
| 3210 | + } | |
| 3211 | + | |
| 3212 | + return this.runAfter(result); | |
| 3213 | + } | |
| 3214 | + }, { | |
| 3215 | + key: "runAfter", | |
| 3216 | + value: function runAfter(result) { | |
| 3217 | + var _this3 = this; | |
| 3218 | + | |
| 3219 | + var onAfter = function onAfter(_result) { | |
| 3220 | + // Run Data hooks. | |
| 3221 | + _this3.onAfterApply(_this3.args, _result); // TODO: Create Command-Base for Command-Document and apply it on after. | |
| 3222 | + | |
| 3223 | + | |
| 3224 | + if (_this3.isDataChanged()) { | |
| 3225 | + $e.internal('document/save/set-is-modified', { | |
| 3226 | + status: true | |
| 3227 | + }); | |
| 3228 | + } // For UI hooks. | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + _this3.onAfterRun(_this3.args, _result); | |
| 3232 | + }, | |
| 3233 | + asyncOnAfter = /*#__PURE__*/function () { | |
| 3234 | + var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(_result) { | |
| 3235 | + var results, promises; | |
| 3236 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 3237 | + while (1) { | |
| 3238 | + switch (_context.prev = _context.next) { | |
| 3239 | + case 0: | |
| 3240 | + // Run Data hooks. | |
| 3241 | + results = _this3.onAfterApply(_this3.args, _result), promises = (0, _isArray.default)(results) ? results.flat().filter(function (filtered) { | |
| 3242 | + return filtered instanceof _promise.default; | |
| 3243 | + }) : []; | |
| 3244 | + | |
| 3245 | + if (!promises.length) { | |
| 3246 | + _context.next = 4; | |
| 3247 | + break; | |
| 3248 | + } | |
| 3249 | + | |
| 3250 | + _context.next = 4; | |
| 3251 | + return _promise.default.all(promises); | |
| 3252 | + | |
| 3253 | + case 4: | |
| 3254 | + if (_this3.isDataChanged()) { | |
| 3255 | + // TODO: Create Command-Base for Command-Document and apply it on after. | |
| 3256 | + $e.internal('document/save/set-is-modified', { | |
| 3257 | + status: true | |
| 3258 | + }); | |
| 3259 | + } // For UI hooks. | |
| 3260 | + | |
| 3261 | + | |
| 3262 | + _this3.onAfterRun(_this3.args, _result); | |
| 3263 | + | |
| 3264 | + case 6: | |
| 3265 | + case "end": | |
| 3266 | + return _context.stop(); | |
| 3267 | + } | |
| 3268 | + } | |
| 3269 | + }, _callee); | |
| 3270 | + })); | |
| 3271 | + | |
| 3272 | + return function asyncOnAfter(_x) { | |
| 3273 | + return _ref.apply(this, arguments); | |
| 3274 | + }; | |
| 3275 | + }(); // TODO: Temp code determine if it's a jQuery deferred object. | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + if (result && 'object' === (0, _typeof2.default)(result) && result.promise && result.then && result.fail) { | |
| 3279 | + result.fail(this.onCatchApply.bind(this)); | |
| 3280 | + result.done(onAfter); | |
| 3281 | + } else if (result instanceof _promise.default) { | |
| 3282 | + // Override initial result ( promise ) to await onAfter promises, first!. | |
| 3283 | + return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() { | |
| 3284 | + return _regenerator.default.wrap(function _callee2$(_context2) { | |
| 3285 | + while (1) { | |
| 3286 | + switch (_context2.prev = _context2.next) { | |
| 3287 | + case 0: | |
| 3288 | + _context2.next = 2; | |
| 3289 | + return result.catch(_this3.onCatchApply.bind(_this3)); | |
| 3290 | + | |
| 3291 | + case 2: | |
| 3292 | + _context2.next = 4; | |
| 3293 | + return result.then(function (_result) { | |
| 3294 | + return asyncOnAfter(_result); | |
| 3295 | + }); | |
| 3296 | + | |
| 3297 | + case 4: | |
| 3298 | + return _context2.abrupt("return", result); | |
| 3299 | + | |
| 3300 | + case 5: | |
| 3301 | + case "end": | |
| 3302 | + return _context2.stop(); | |
| 3303 | + } | |
| 3304 | + } | |
| 3305 | + }, _callee2); | |
| 3306 | + }))(); | |
| 3307 | + } else { | |
| 3308 | + onAfter(result); | |
| 3309 | + } | |
| 3310 | + | |
| 3311 | + return result; | |
| 3312 | + } | |
| 3313 | + /** | |
| 3314 | + * Run all the catch hooks. | |
| 3315 | + * | |
| 3316 | + * @param {Error} e | |
| 3317 | + */ | |
| 3318 | + | |
| 3319 | + }, { | |
| 3320 | + key: "runCatchHooks", | |
| 3321 | + value: function runCatchHooks(e) { | |
| 3322 | + $e.hooks.runDataCatch(this.currentCommand, this.args, e); | |
| 3323 | + $e.hooks.runUICatch(this.currentCommand, this.args, e); | |
| 3324 | + } | |
| 3325 | + /** | |
| 3326 | + * Function onBeforeRun. | |
| 3327 | + * | |
| 3328 | + * Called before run(). | |
| 3329 | + * | |
| 3330 | + * @param [args={}] | |
| 3331 | + */ | |
| 3332 | + | |
| 3333 | + }, { | |
| 3334 | + key: "onBeforeRun", | |
| 3335 | + value: function onBeforeRun() { | |
| 3336 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 3337 | + $e.hooks.runUIBefore(this.currentCommand, args); | |
| 3338 | + } | |
| 3339 | + /** | |
| 3340 | + * Function onAfterRun. | |
| 3341 | + * | |
| 3342 | + * Called after run(). | |
| 3343 | + * | |
| 3344 | + * @param [args={}] | |
| 3345 | + * @param [result={*}] | |
| 3346 | + */ | |
| 3347 | + | |
| 3348 | + }, { | |
| 3349 | + key: "onAfterRun", | |
| 3350 | + value: function onAfterRun() { | |
| 3351 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 3352 | + var result = arguments.length > 1 ? arguments[1] : undefined; | |
| 3353 | + $e.hooks.runUIAfter(this.currentCommand, args, result); | |
| 3354 | + } | |
| 3355 | + /** | |
| 3356 | + * Function onBeforeApply. | |
| 3357 | + * | |
| 3358 | + * Called before apply(). | |
| 3359 | + * | |
| 3360 | + * @param [args={}] | |
| 3361 | + */ | |
| 3362 | + | |
| 3363 | + }, { | |
| 3364 | + key: "onBeforeApply", | |
| 3365 | + value: function onBeforeApply() { | |
| 3366 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 3367 | + $e.hooks.runDataDependency(this.currentCommand, args); | |
| 3368 | + } | |
| 3369 | + /** | |
| 3370 | + * Function onAfterApply. | |
| 3371 | + * | |
| 3372 | + * Called after apply(). | |
| 3373 | + * | |
| 3374 | + * @param [args={}] | |
| 3375 | + * @param [result={*}] | |
| 3376 | + */ | |
| 3377 | + | |
| 3378 | + }, { | |
| 3379 | + key: "onAfterApply", | |
| 3380 | + value: function onAfterApply() { | |
| 3381 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 3382 | + var result = arguments.length > 1 ? arguments[1] : undefined; | |
| 3383 | + return $e.hooks.runDataAfter(this.currentCommand, args, result); | |
| 3384 | + } | |
| 3385 | + /** | |
| 3386 | + * Function onCatchApply. | |
| 3387 | + * | |
| 3388 | + * Called after apply() failed. | |
| 3389 | + * | |
| 3390 | + * @param {Error} e | |
| 3391 | + */ | |
| 3392 | + | |
| 3393 | + }, { | |
| 3394 | + key: "onCatchApply", | |
| 3395 | + value: function onCatchApply(e) { | |
| 3396 | + this.runCatchHooks(e); | |
| 3397 | + elementorCommon.helpers.consoleError(e); | |
| 3398 | + } | |
| 3399 | + }], [{ | |
| 3400 | + key: "getInstanceType", | |
| 3401 | + value: function getInstanceType() { | |
| 3402 | + return 'CommandBase'; | |
| 3403 | + } | |
| 3404 | + /** | |
| 3405 | + * Get info of command. | |
| 3406 | + * | |
| 3407 | + * Use to provide 'extra' information about the command. | |
| 3408 | + * | |
| 3409 | + * @returns {Object} | |
| 3410 | + */ | |
| 3411 | + | |
| 3412 | + }, { | |
| 3413 | + key: "getInfo", | |
| 3414 | + value: function getInfo() { | |
| 3415 | + return {}; | |
| 3416 | + } | |
| 3417 | + /** | |
| 3418 | + * Current component. | |
| 3419 | + * | |
| 3420 | + * @type {Component} | |
| 3421 | + */ | |
| 3422 | + | |
| 3423 | + }]); | |
| 3424 | + return CommandBase; | |
| 3425 | +}(_argsObject.default); | |
| 3426 | + | |
| 3427 | +exports["default"] = CommandBase; | |
| 3428 | + | |
| 3429 | +/***/ }), | |
| 3430 | + | |
| 3431 | +/***/ "../core/common/assets/js/api/modules/component-base.js": | |
| 3432 | +/*!**************************************************************!*\ | |
| 3433 | + !*** ../core/common/assets/js/api/modules/component-base.js ***! | |
| 3434 | + \**************************************************************/ | |
| 3435 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3436 | + | |
| 3437 | +"use strict"; | |
| 3438 | + | |
| 3439 | + | |
| 3440 | +var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); | |
| 3441 | + | |
| 3442 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 3443 | + | |
| 3444 | +_Object$defineProperty(exports, "__esModule", { | |
| 3445 | + value: true | |
| 3446 | +}); | |
| 3447 | + | |
| 3448 | +exports["default"] = void 0; | |
| 3449 | + | |
| 3450 | +__webpack_require__(/*! core-js/modules/es6.regexp.split.js */ "../node_modules/core-js/modules/es6.regexp.split.js"); | |
| 3451 | + | |
| 3452 | +__webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); | |
| 3453 | + | |
| 3454 | +__webpack_require__(/*! core-js/modules/es6.regexp.replace.js */ "../node_modules/core-js/modules/es6.regexp.replace.js"); | |
| 3455 | + | |
| 3456 | +var _entries = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/entries */ "../node_modules/@babel/runtime-corejs2/core-js/object/entries.js")); | |
| 3457 | + | |
| 3458 | +var _values = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/values */ "../node_modules/@babel/runtime-corejs2/core-js/object/values.js")); | |
| 3459 | + | |
| 3460 | +var _keys = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/core-js/object/keys */ "../node_modules/@babel/runtime-corejs2/core-js/object/keys.js")); | |
| 3461 | + | |
| 3462 | +var _objectSpread2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/objectSpread2 */ "../node_modules/@babel/runtime-corejs2/helpers/objectSpread2.js")); | |
| 3463 | + | |
| 3464 | +var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/slicedToArray */ "../node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js")); | |
| 3465 | + | |
| 3466 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 3467 | + | |
| 3468 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 3469 | + | |
| 3470 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); | |
| 3471 | + | |
| 3472 | +var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); | |
| 3473 | + | |
| 3474 | +var _toolkit = __webpack_require__(/*! @reduxjs/toolkit */ "../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js"); | |
| 3475 | + | |
| 3476 | +var ComponentBase = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 3477 | + (0, _inherits2.default)(ComponentBase, _elementorModules$Mod); | |
| 3478 | + | |
| 3479 | + var _super = (0, _createSuper2.default)(ComponentBase); | |
| 3480 | + | |
| 3481 | + function ComponentBase() { | |
| 3482 | + (0, _classCallCheck2.default)(this, ComponentBase); | |
| 3483 | + return _super.apply(this, arguments); | |
| 3484 | + } | |
| 3485 | + | |
| 3486 | + (0, _createClass2.default)(ComponentBase, [{ | |
| 3487 | + key: "__construct", | |
| 3488 | + value: function __construct() { | |
| 3489 | + var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 3490 | + | |
| 3491 | + if (args.manager) { | |
| 3492 | + this.manager = args.manager; | |
| 3493 | + } | |
| 3494 | + | |
| 3495 | + this.commands = this.defaultCommands(); | |
| 3496 | + this.commandsInternal = this.defaultCommandsInternal(); | |
| 3497 | + this.hooks = this.defaultHooks(); | |
| 3498 | + this.routes = this.defaultRoutes(); | |
| 3499 | + this.tabs = this.defaultTabs(); | |
| 3500 | + this.shortcuts = this.defaultShortcuts(); | |
| 3501 | + this.utils = this.defaultUtils(); | |
| 3502 | + this.data = this.defaultData(); | |
| 3503 | + this.uiStates = this.defaultUiStates(); | |
| 3504 | + this.states = this.defaultStates(); | |
| 3505 | + this.defaultRoute = ''; | |
| 3506 | + this.currentTab = ''; | |
| 3507 | + } | |
| 3508 | + }, { | |
| 3509 | + key: "registerAPI", | |
| 3510 | + value: function registerAPI() { | |
| 3511 | + var _this = this; | |
| 3512 | + | |
| 3513 | + (0, _entries.default)(this.getTabs()).forEach(function (tab) { | |
| 3514 | + return _this.registerTabRoute(tab[0]); | |
| 3515 | + }); | |
| 3516 | + (0, _entries.default)(this.getRoutes()).forEach(function (_ref) { | |
| 3517 | + var _ref2 = (0, _slicedToArray2.default)(_ref, 2), | |
| 3518 | + route = _ref2[0], | |
| 3519 | + callback = _ref2[1]; | |
| 3520 | + | |
| 3521 | + return _this.registerRoute(route, callback); | |
| 3522 | + }); | |
| 3523 | + (0, _entries.default)(this.getCommands()).forEach(function (_ref3) { | |
| 3524 | + var _ref4 = (0, _slicedToArray2.default)(_ref3, 2), | |
| 3525 | + command = _ref4[0], | |
| 3526 | + callback = _ref4[1]; | |
| 3527 | + | |
| 3528 | + return _this.registerCommand(command, callback); | |
| 3529 | + }); | |
| 3530 | + (0, _entries.default)(this.getCommandsInternal()).forEach(function (_ref5) { | |
| 3531 | + var _ref6 = (0, _slicedToArray2.default)(_ref5, 2), | |
| 3532 | + command = _ref6[0], | |
| 3533 | + callback = _ref6[1]; | |
| 3534 | + | |
| 3535 | + return _this.registerCommandInternal(command, callback); | |
| 3536 | + }); | |
| 3537 | + (0, _values.default)(this.getHooks()).forEach(function (instance) { | |
| 3538 | + return _this.registerHook(instance); | |
| 3539 | + }); | |
| 3540 | + (0, _entries.default)(this.getData()).forEach(function (_ref7) { | |
| 3541 | + var _ref8 = (0, _slicedToArray2.default)(_ref7, 2), | |
| 3542 | + command = _ref8[0], | |
| 3543 | + callback = _ref8[1]; | |
| 3544 | + | |
| 3545 | + return _this.registerData(command, callback); | |
| 3546 | + }); | |
| 3547 | + (0, _values.default)(this.getUiStates()).forEach(function (instance) { | |
| 3548 | + return _this.registerUiState(instance); | |
| 3549 | + }); | |
| 3550 | + (0, _entries.default)(this.getStates()).forEach(function (_ref9) { | |
| 3551 | + var _ref10 = (0, _slicedToArray2.default)(_ref9, 2), | |
| 3552 | + id = _ref10[0], | |
| 3553 | + state = _ref10[1]; | |
| 3554 | + | |
| 3555 | + return _this.registerState(id, state); | |
| 3556 | + }); | |
| 3557 | + } | |
| 3558 | + /** | |
| 3559 | + * @returns {string} | |
| 3560 | + */ | |
| 3561 | + | |
| 3562 | + }, { | |
| 3563 | + key: "getNamespace", | |
| 3564 | + value: function getNamespace() { | |
| 3565 | + elementorModules.ForceMethodImplementation(); | |
| 3566 | + } | |
| 3567 | + }, { | |
| 3568 | + key: "getRootContainer", | |
| 3569 | + value: function getRootContainer() { | |
| 3570 | + var parts = this.getNamespace().split('/'); | |
| 3571 | + return parts[0]; | |
| 3572 | + } | |
| 3573 | + }, { | |
| 3574 | + key: "defaultTabs", | |
| 3575 | + value: function defaultTabs() { | |
| 3576 | + return {}; | |
| 3577 | + } | |
| 3578 | + }, { | |
| 3579 | + key: "defaultRoutes", | |
| 3580 | + value: function defaultRoutes() { | |
| 3581 | + return {}; | |
| 3582 | + } | |
| 3583 | + }, { | |
| 3584 | + key: "defaultCommands", | |
| 3585 | + value: function defaultCommands() { | |
| 3586 | + return {}; | |
| 3587 | + } | |
| 3588 | + }, { | |
| 3589 | + key: "defaultCommandsInternal", | |
| 3590 | + value: function defaultCommandsInternal() { | |
| 3591 | + return {}; | |
| 3592 | + } | |
| 3593 | + }, { | |
| 3594 | + key: "defaultHooks", | |
| 3595 | + value: function defaultHooks() { | |
| 3596 | + return {}; | |
| 3597 | + } | |
| 3598 | + /** | |
| 3599 | + * Get the component's default UI states. | |
| 3600 | + * | |
| 3601 | + * @return {Object} | |
| 3602 | + */ | |
| 3603 | + | |
| 3604 | + }, { | |
| 3605 | + key: "defaultUiStates", | |
| 3606 | + value: function defaultUiStates() { | |
| 3607 | + return {}; | |
| 3608 | + } | |
| 3609 | + /** | |
| 3610 | + * Get the component's Redux slice settings. | |
| 3611 | + * | |
| 3612 | + * @return {Object} | |
| 3613 | + */ | |
| 3614 | + | |
| 3615 | + }, { | |
| 3616 | + key: "defaultStates", | |
| 3617 | + value: function defaultStates() { | |
| 3618 | + return {}; | |
| 3619 | + } | |
| 3620 | + }, { | |
| 3621 | + key: "defaultShortcuts", | |
| 3622 | + value: function defaultShortcuts() { | |
| 3623 | + return {}; | |
| 3624 | + } | |
| 3625 | + }, { | |
| 3626 | + key: "defaultUtils", | |
| 3627 | + value: function defaultUtils() { | |
| 3628 | + return {}; | |
| 3629 | + } | |
| 3630 | + }, { | |
| 3631 | + key: "defaultData", | |
| 3632 | + value: function defaultData() { | |
| 3633 | + return {}; | |
| 3634 | + } | |
| 3635 | + }, { | |
| 3636 | + key: "getCommands", | |
| 3637 | + value: function getCommands() { | |
| 3638 | + return this.commands; | |
| 3639 | + } | |
| 3640 | + }, { | |
| 3641 | + key: "getCommandsInternal", | |
| 3642 | + value: function getCommandsInternal() { | |
| 3643 | + return this.commandsInternal; | |
| 3644 | + } | |
| 3645 | + }, { | |
| 3646 | + key: "getHooks", | |
| 3647 | + value: function getHooks() { | |
| 3648 | + return this.hooks; | |
| 3649 | + } | |
| 3650 | + /** | |
| 3651 | + * Retrieve the component's UI states. | |
| 3652 | + * | |
| 3653 | + * @return {Object} | |
| 3654 | + */ | |
| 3655 | + | |
| 3656 | + }, { | |
| 3657 | + key: "getUiStates", | |
| 3658 | + value: function getUiStates() { | |
| 3659 | + return this.uiStates; | |
| 3660 | + } | |
| 3661 | + /** | |
| 3662 | + * Retrieve the component's Redux Slice. | |
| 3663 | + * | |
| 3664 | + * @return {Object} | |
| 3665 | + */ | |
| 3666 | + | |
| 3667 | + }, { | |
| 3668 | + key: "getStates", | |
| 3669 | + value: function getStates() { | |
| 3670 | + return this.states; | |
| 3671 | + } | |
| 3672 | + }, { | |
| 3673 | + key: "getRoutes", | |
| 3674 | + value: function getRoutes() { | |
| 3675 | + return this.routes; | |
| 3676 | + } | |
| 3677 | + }, { | |
| 3678 | + key: "getTabs", | |
| 3679 | + value: function getTabs() { | |
| 3680 | + return this.tabs; | |
| 3681 | + } | |
| 3682 | + }, { | |
| 3683 | + key: "getShortcuts", | |
| 3684 | + value: function getShortcuts() { | |
| 3685 | + return this.shortcuts; | |
| 3686 | + } | |
| 3687 | + }, { | |
| 3688 | + key: "getData", | |
| 3689 | + value: function getData() { | |
| 3690 | + return this.data; | |
| 3691 | + } | |
| 3692 | + }, { | |
| 3693 | + key: "registerCommand", | |
| 3694 | + value: function registerCommand(command, callback) { | |
| 3695 | + $e.commands.register(this, command, callback); | |
| 3696 | + } | |
| 3697 | + /** | |
| 3698 | + * @param {HookBase} instance | |
| 3699 | + */ | |
| 3700 | + | |
| 3701 | + }, { | |
| 3702 | + key: "registerHook", | |
| 3703 | + value: function registerHook(instance) { | |
| 3704 | + return instance.register(); | |
| 3705 | + } | |
| 3706 | + /** | |
| 3707 | + * Register a UI state. | |
| 3708 | + * | |
| 3709 | + * @param {UiStateBase} instance - UI state instance. | |
| 3710 | + * | |
| 3711 | + * @return {void} | |
| 3712 | + */ | |
| 3713 | + | |
| 3714 | + }, { | |
| 3715 | + key: "registerUiState", | |
| 3716 | + value: function registerUiState(instance) { | |
| 3717 | + $e.uiStates.register(instance); | |
| 3718 | + } | |
| 3719 | + /** | |
| 3720 | + * Register a Redux Slice. | |
| 3721 | + * | |
| 3722 | + * @param {string} id - State id. | |
| 3723 | + * @param {Object} stateConfig - The state config. | |
| 3724 | + * | |
| 3725 | + * @return {void} | |
| 3726 | + */ | |
| 3727 | + | |
| 3728 | + }, { | |
| 3729 | + key: "registerState", | |
| 3730 | + value: function registerState(id, stateConfig) { | |
| 3731 | + id = this.getNamespace() + (id ? "/".concat(id) : ''); | |
| 3732 | + var slice = (0, _toolkit.createSlice)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, stateConfig), {}, { | |
| 3733 | + name: id | |
| 3734 | + })); | |
| 3735 | + $e.store.register(id, slice); | |
| 3736 | + } | |
| 3737 | + }, { | |
| 3738 | + key: "registerCommandInternal", | |
| 3739 | + value: function registerCommandInternal(command, callback) { | |
| 3740 | + $e.commandsInternal.register(this, command, callback); | |
| 3741 | + } | |
| 3742 | + }, { | |
| 3743 | + key: "registerRoute", | |
| 3744 | + value: function registerRoute(route, callback) { | |
| 3745 | + $e.routes.register(this, route, callback); | |
| 3746 | + } | |
| 3747 | + }, { | |
| 3748 | + key: "registerData", | |
| 3749 | + value: function registerData(command, callback) { | |
| 3750 | + $e.data.register(this, command, callback); | |
| 3751 | + } | |
| 3752 | + }, { | |
| 3753 | + key: "unregisterRoute", | |
| 3754 | + value: function unregisterRoute(route) { | |
| 3755 | + $e.routes.unregister(this, route); | |
| 3756 | + } | |
| 3757 | + }, { | |
| 3758 | + key: "registerTabRoute", | |
| 3759 | + value: function registerTabRoute(tab) { | |
| 3760 | + var _this2 = this; | |
| 3761 | + | |
| 3762 | + this.registerRoute(tab, function (args) { | |
| 3763 | + return _this2.activateTab(tab, args); | |
| 3764 | + }); | |
| 3765 | + } | |
| 3766 | + }, { | |
| 3767 | + key: "dependency", | |
| 3768 | + value: function dependency() { | |
| 3769 | + return true; | |
| 3770 | + } | |
| 3771 | + }, { | |
| 3772 | + key: "open", | |
| 3773 | + value: function open() { | |
| 3774 | + return true; | |
| 3775 | + } | |
| 3776 | + }, { | |
| 3777 | + key: "close", | |
| 3778 | + value: function close() { | |
| 3779 | + if (!this.isOpen) { | |
| 3780 | + return false; | |
| 3781 | + } | |
| 3782 | + | |
| 3783 | + this.isOpen = false; | |
| 3784 | + this.inactivate(); | |
| 3785 | + $e.routes.clearCurrent(this.getNamespace()); | |
| 3786 | + $e.routes.clearHistory(this.getRootContainer()); | |
| 3787 | + return true; | |
| 3788 | + } | |
| 3789 | + }, { | |
| 3790 | + key: "activate", | |
| 3791 | + value: function activate() { | |
| 3792 | + $e.components.activate(this.getNamespace()); | |
| 3793 | + } | |
| 3794 | + }, { | |
| 3795 | + key: "inactivate", | |
| 3796 | + value: function inactivate() { | |
| 3797 | + $e.components.inactivate(this.getNamespace()); | |
| 3798 | + } | |
| 3799 | + }, { | |
| 3800 | + key: "isActive", | |
| 3801 | + value: function isActive() { | |
| 3802 | + return $e.components.isActive(this.getNamespace()); | |
| 3803 | + } | |
| 3804 | + }, { | |
| 3805 | + key: "onRoute", | |
| 3806 | + value: function onRoute(route) { | |
| 3807 | + this.toggleRouteClass(route, true); | |
| 3808 | + this.toggleHistoryClass(); | |
| 3809 | + this.activate(); | |
| 3810 | + this.trigger('route/open', route); | |
| 3811 | + } | |
| 3812 | + }, { | |
| 3813 | + key: "onCloseRoute", | |
| 3814 | + value: function onCloseRoute(route) { | |
| 3815 | + this.toggleRouteClass(route, false); | |
| 3816 | + this.inactivate(); | |
| 3817 | + this.trigger('route/close', route); | |
| 3818 | + } | |
| 3819 | + }, { | |
| 3820 | + key: "setDefaultRoute", | |
| 3821 | + value: function setDefaultRoute(route) { | |
| 3822 | + this.defaultRoute = this.getNamespace() + '/' + route; | |
| 3823 | + } | |
| 3824 | + }, { | |
| 3825 | + key: "getDefaultRoute", | |
| 3826 | + value: function getDefaultRoute() { | |
| 3827 | + return this.defaultRoute; | |
| 3828 | + } | |
| 3829 | + }, { | |
| 3830 | + key: "removeTab", | |
| 3831 | + value: function removeTab(tab) { | |
| 3832 | + delete this.tabs[tab]; | |
| 3833 | + this.unregisterRoute(tab); | |
| 3834 | + } | |
| 3835 | + }, { | |
| 3836 | + key: "hasTab", | |
| 3837 | + value: function hasTab(tab) { | |
| 3838 | + return !!this.tabs[tab]; | |
| 3839 | + } | |
| 3840 | + }, { | |
| 3841 | + key: "addTab", | |
| 3842 | + value: function addTab(tab, args, position) { | |
| 3843 | + var _this3 = this; | |
| 3844 | + | |
| 3845 | + this.tabs[tab] = args; // It can be 0. | |
| 3846 | + | |
| 3847 | + if ('undefined' !== typeof position) { | |
| 3848 | + var newTabs = {}; | |
| 3849 | + var ids = (0, _keys.default)(this.tabs); // Remove new tab | |
| 3850 | + | |
| 3851 | + ids.pop(); // Add it to position. | |
| 3852 | + | |
| 3853 | + ids.splice(position, 0, tab); | |
| 3854 | + ids.forEach(function (id) { | |
| 3855 | + newTabs[id] = _this3.tabs[id]; | |
| 3856 | + }); | |
| 3857 | + this.tabs = newTabs; | |
| 3858 | + } | |
| 3859 | + | |
| 3860 | + this.registerTabRoute(tab); | |
| 3861 | + } | |
| 3862 | + }, { | |
| 3863 | + key: "getTabsWrapperSelector", | |
| 3864 | + value: function getTabsWrapperSelector() { | |
| 3865 | + return ''; | |
| 3866 | + } | |
| 3867 | + }, { | |
| 3868 | + key: "getTabRoute", | |
| 3869 | + value: function getTabRoute(tab) { | |
| 3870 | + return this.getNamespace() + '/' + tab; | |
| 3871 | + } | |
| 3872 | + }, { | |
| 3873 | + key: "renderTab", | |
| 3874 | + value: function renderTab(tab) {} // eslint-disable-line | |
| 3875 | + | |
| 3876 | + }, { | |
| 3877 | + key: "activateTab", | |
| 3878 | + value: function activateTab(tab, args) { | |
| 3879 | + var _this4 = this; | |
| 3880 | + | |
| 3881 | + this.currentTab = tab; | |
| 3882 | + this.renderTab(tab, args); | |
| 3883 | + jQuery(this.getTabsWrapperSelector() + ' .elementor-component-tab').off('click').on('click', function (event) { | |
| 3884 | + $e.route(_this4.getTabRoute(event.currentTarget.dataset.tab), args); | |
| 3885 | + }).removeClass('elementor-active').filter('[data-tab="' + tab + '"]').addClass('elementor-active'); | |
| 3886 | + } | |
| 3887 | + }, { | |
| 3888 | + key: "getActiveTabConfig", | |
| 3889 | + value: function getActiveTabConfig() { | |
| 3890 | + return this.tabs[this.currentTab] || {}; | |
| 3891 | + } | |
| 3892 | + }, { | |
| 3893 | + key: "getBodyClass", | |
| 3894 | + value: function getBodyClass(route) { | |
| 3895 | + return 'e-route-' + route.replace(/\//g, '-'); | |
| 3896 | + } | |
| 3897 | + /** | |
| 3898 | + * If command includes uppercase character convert it to lowercase and add `-`. | |
| 3899 | + * e.g: `CopyAll` is converted to `copy-all`. | |
| 3900 | + */ | |
| 3901 | + | |
| 3902 | + }, { | |
| 3903 | + key: "normalizeCommandName", | |
| 3904 | + value: function normalizeCommandName(commandName) { | |
| 3905 | + return commandName.replace(/[A-Z]/g, function (match, offset) { | |
| 3906 | + return (offset > 0 ? '-' : '') + match.toLowerCase(); | |
| 3907 | + }); | |
| 3908 | + } | |
| 3909 | + }, { | |
| 3910 | + key: "importCommands", | |
| 3911 | + value: function importCommands(commandsFromImport) { | |
| 3912 | + var _this5 = this; | |
| 3913 | + | |
| 3914 | + var commands = {}; // Convert `Commands` to `ComponentBase` workable format. | |
| 3915 | + | |
| 3916 | + (0, _entries.default)(commandsFromImport).forEach(function (_ref11) { | |
| 3917 | + var _ref12 = (0, _slicedToArray2.default)(_ref11, 2), | |
| 3918 | + className = _ref12[0], | |
| 3919 | + Class = _ref12[1]; | |
| 3920 | + | |
| 3921 | + var command = _this5.normalizeCommandName(className); | |
| 3922 | + | |
| 3923 | + commands[command] = function (args) { | |
| 3924 | + return new Class(args).run(); | |
| 3925 | + }; // TODO: Temporary code, remove after merge with 'require-commands-base' branch. | |
| 3926 | + // should not return callback, but Class or Instance without run ( gain performance ). | |
| 3927 | + | |
| 3928 | + | |
| 3929 | + $e.commands.classes[_this5.getNamespace() + '/' + command] = Class; | |
| 3930 | + }); | |
| 3931 | + return commands; | |
| 3932 | + } | |
| 3933 | + }, { | |
| 3934 | + key: "importHooks", | |
| 3935 | + value: function importHooks(hooksFromImport) { | |
| 3936 | + var hooks = {}; | |
| 3937 | + | |
| 3938 | + for (var key in hooksFromImport) { | |
| 3939 | + var hook = new hooksFromImport[key](); | |
| 3940 | + hooks[hook.getId()] = hook; | |
| 3941 | + } | |
| 3942 | + | |
| 3943 | + return hooks; | |
| 3944 | + } | |
| 3945 | + /** | |
| 3946 | + * Import & initialize the component's UI states. | |
| 3947 | + * Should be used inside `defaultUiState()`. | |
| 3948 | + * | |
| 3949 | + * @param {Object} statesFromImport - UI states from import. | |
| 3950 | + * | |
| 3951 | + * @return {Object} | |
| 3952 | + */ | |
| 3953 | + | |
| 3954 | + }, { | |
| 3955 | + key: "importUiStates", | |
| 3956 | + value: function importUiStates(statesFromImport) { | |
| 3957 | + var _this6 = this; | |
| 3958 | + | |
| 3959 | + var uiStates = {}; | |
| 3960 | + (0, _values.default)(statesFromImport).forEach(function (className) { | |
| 3961 | + var uiState = new className(_this6); | |
| 3962 | + uiStates[uiState.getId()] = uiState; | |
| 3963 | + }); | |
| 3964 | + return uiStates; | |
| 3965 | + } | |
| 3966 | + /** | |
| 3967 | + * Set a UI state value. | |
| 3968 | + * TODO: Should we provide such function? Maybe the developer should implicitly pass the full state ID? | |
| 3969 | + * | |
| 3970 | + * @param state - Non-prefixed state ID. | |
| 3971 | + * @param value - New state value. | |
| 3972 | + * | |
| 3973 | + * @return {void} | |
| 3974 | + */ | |
| 3975 | + | |
| 3976 | + }, { | |
| 3977 | + key: "setUiState", | |
| 3978 | + value: function setUiState(state, value) { | |
| 3979 | + $e.uiStates.set("".concat(this.getNamespace(), "/").concat(state), value); | |
| 3980 | + } | |
| 3981 | + }, { | |
| 3982 | + key: "toggleRouteClass", | |
| 3983 | + value: function toggleRouteClass(route, state) { | |
| 3984 | + elementorCommon.elements.$body.toggleClass(this.getBodyClass(route), state); | |
| 3985 | + } | |
| 3986 | + }, { | |
| 3987 | + key: "toggleHistoryClass", | |
| 3988 | + value: function toggleHistoryClass() { | |
| 3989 | + elementorCommon.elements.$body.toggleClass('e-routes-has-history', !!$e.routes.getHistory(this.getRootContainer()).length); | |
| 3990 | + } | |
| 3991 | + }]); | |
| 3992 | + return ComponentBase; | |
| 3993 | +}(elementorModules.Module); | |
| 3994 | + | |
| 3995 | +exports["default"] = ComponentBase; | |
| 3996 | + | |
| 3997 | +/***/ }), | |
| 3998 | + | |
| 3999 | +/***/ "../node_modules/core-js/library/fn/array/from.js": | |
| 4000 | +/*!********************************************************!*\ | |
| 4001 | + !*** ../node_modules/core-js/library/fn/array/from.js ***! | |
| 4002 | + \********************************************************/ | |
| 4003 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4004 | + | |
| 4005 | +__webpack_require__(/*! ../../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 4006 | +__webpack_require__(/*! ../../modules/es6.array.from */ "../node_modules/core-js/library/modules/es6.array.from.js"); | |
| 4007 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Array.from; | |
| 4008 | + | |
| 4009 | + | |
| 4010 | +/***/ }), | |
| 4011 | + | |
| 4012 | +/***/ "../node_modules/core-js/library/fn/array/is-array.js": | |
| 4013 | +/*!************************************************************!*\ | |
| 4014 | + !*** ../node_modules/core-js/library/fn/array/is-array.js ***! | |
| 4015 | + \************************************************************/ | |
| 4016 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4017 | + | |
| 4018 | +__webpack_require__(/*! ../../modules/es6.array.is-array */ "../node_modules/core-js/library/modules/es6.array.is-array.js"); | |
| 4019 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Array.isArray; | |
| 4020 | + | |
| 4021 | + | |
| 4022 | +/***/ }), | |
| 4023 | + | |
| 4024 | +/***/ "../node_modules/core-js/library/fn/object/create.js": | |
| 4025 | +/*!***********************************************************!*\ | |
| 4026 | + !*** ../node_modules/core-js/library/fn/object/create.js ***! | |
| 4027 | + \***********************************************************/ | |
| 4028 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4029 | + | |
| 4030 | +__webpack_require__(/*! ../../modules/es6.object.create */ "../node_modules/core-js/library/modules/es6.object.create.js"); | |
| 4031 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 4032 | +module.exports = function create(P, D) { | |
| 4033 | + return $Object.create(P, D); | |
| 4034 | +}; | |
| 4035 | + | |
| 4036 | + | |
| 4037 | +/***/ }), | |
| 4038 | + | |
| 4039 | +/***/ "../node_modules/core-js/library/fn/object/define-properties.js": | |
| 4040 | +/*!**********************************************************************!*\ | |
| 4041 | + !*** ../node_modules/core-js/library/fn/object/define-properties.js ***! | |
| 4042 | + \**********************************************************************/ | |
| 4043 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4044 | + | |
| 4045 | +__webpack_require__(/*! ../../modules/es6.object.define-properties */ "../node_modules/core-js/library/modules/es6.object.define-properties.js"); | |
| 4046 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 4047 | +module.exports = function defineProperties(T, D) { | |
| 4048 | + return $Object.defineProperties(T, D); | |
| 4049 | +}; | |
| 4050 | + | |
| 4051 | + | |
| 4052 | +/***/ }), | |
| 4053 | + | |
| 4054 | +/***/ "../node_modules/core-js/library/fn/object/define-property.js": | |
| 4055 | +/*!********************************************************************!*\ | |
| 4056 | + !*** ../node_modules/core-js/library/fn/object/define-property.js ***! | |
| 4057 | + \********************************************************************/ | |
| 4058 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4059 | + | |
| 4060 | +__webpack_require__(/*! ../../modules/es6.object.define-property */ "../node_modules/core-js/library/modules/es6.object.define-property.js"); | |
| 4061 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 4062 | +module.exports = function defineProperty(it, key, desc) { | |
| 4063 | + return $Object.defineProperty(it, key, desc); | |
| 4064 | +}; | |
| 4065 | + | |
| 4066 | + | |
| 4067 | +/***/ }), | |
| 4068 | + | |
| 4069 | +/***/ "../node_modules/core-js/library/fn/object/entries.js": | |
| 4070 | +/*!************************************************************!*\ | |
| 4071 | + !*** ../node_modules/core-js/library/fn/object/entries.js ***! | |
| 4072 | + \************************************************************/ | |
| 4073 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4074 | + | |
| 4075 | +__webpack_require__(/*! ../../modules/es7.object.entries */ "../node_modules/core-js/library/modules/es7.object.entries.js"); | |
| 4076 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.entries; | |
| 4077 | + | |
| 4078 | + | |
| 4079 | +/***/ }), | |
| 4080 | + | |
| 4081 | +/***/ "../node_modules/core-js/library/fn/object/get-own-property-descriptor.js": | |
| 4082 | +/*!********************************************************************************!*\ | |
| 4083 | + !*** ../node_modules/core-js/library/fn/object/get-own-property-descriptor.js ***! | |
| 4084 | + \********************************************************************************/ | |
| 4085 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4086 | + | |
| 4087 | +__webpack_require__(/*! ../../modules/es6.object.get-own-property-descriptor */ "../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js"); | |
| 4088 | +var $Object = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object; | |
| 4089 | +module.exports = function getOwnPropertyDescriptor(it, key) { | |
| 4090 | + return $Object.getOwnPropertyDescriptor(it, key); | |
| 4091 | +}; | |
| 4092 | + | |
| 4093 | + | |
| 4094 | +/***/ }), | |
| 4095 | + | |
| 4096 | +/***/ "../node_modules/core-js/library/fn/object/get-own-property-descriptors.js": | |
| 4097 | +/*!*********************************************************************************!*\ | |
| 4098 | + !*** ../node_modules/core-js/library/fn/object/get-own-property-descriptors.js ***! | |
| 4099 | + \*********************************************************************************/ | |
| 4100 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4101 | + | |
| 4102 | +__webpack_require__(/*! ../../modules/es7.object.get-own-property-descriptors */ "../node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js"); | |
| 4103 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.getOwnPropertyDescriptors; | |
| 4104 | + | |
| 4105 | + | |
| 4106 | +/***/ }), | |
| 4107 | + | |
| 4108 | +/***/ "../node_modules/core-js/library/fn/object/get-own-property-symbols.js": | |
| 4109 | +/*!*****************************************************************************!*\ | |
| 4110 | + !*** ../node_modules/core-js/library/fn/object/get-own-property-symbols.js ***! | |
| 4111 | + \*****************************************************************************/ | |
| 4112 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4113 | + | |
| 4114 | +__webpack_require__(/*! ../../modules/es6.symbol */ "../node_modules/core-js/library/modules/es6.symbol.js"); | |
| 4115 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.getOwnPropertySymbols; | |
| 4116 | + | |
| 4117 | + | |
| 4118 | +/***/ }), | |
| 4119 | + | |
| 4120 | +/***/ "../node_modules/core-js/library/fn/object/get-prototype-of.js": | |
| 4121 | +/*!*********************************************************************!*\ | |
| 4122 | + !*** ../node_modules/core-js/library/fn/object/get-prototype-of.js ***! | |
| 4123 | + \*********************************************************************/ | |
| 4124 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4125 | + | |
| 4126 | +__webpack_require__(/*! ../../modules/es6.object.get-prototype-of */ "../node_modules/core-js/library/modules/es6.object.get-prototype-of.js"); | |
| 4127 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.getPrototypeOf; | |
| 4128 | + | |
| 4129 | + | |
| 4130 | +/***/ }), | |
| 4131 | + | |
| 4132 | +/***/ "../node_modules/core-js/library/fn/object/keys.js": | |
| 4133 | +/*!*********************************************************!*\ | |
| 4134 | + !*** ../node_modules/core-js/library/fn/object/keys.js ***! | |
| 4135 | + \*********************************************************/ | |
| 4136 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4137 | + | |
| 4138 | +__webpack_require__(/*! ../../modules/es6.object.keys */ "../node_modules/core-js/library/modules/es6.object.keys.js"); | |
| 4139 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.keys; | |
| 4140 | + | |
| 4141 | + | |
| 4142 | +/***/ }), | |
| 4143 | + | |
| 4144 | +/***/ "../node_modules/core-js/library/fn/object/set-prototype-of.js": | |
| 4145 | +/*!*********************************************************************!*\ | |
| 4146 | + !*** ../node_modules/core-js/library/fn/object/set-prototype-of.js ***! | |
| 4147 | + \*********************************************************************/ | |
| 4148 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4149 | + | |
| 4150 | +__webpack_require__(/*! ../../modules/es6.object.set-prototype-of */ "../node_modules/core-js/library/modules/es6.object.set-prototype-of.js"); | |
| 4151 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.setPrototypeOf; | |
| 4152 | + | |
| 4153 | + | |
| 4154 | +/***/ }), | |
| 4155 | + | |
| 4156 | +/***/ "../node_modules/core-js/library/fn/object/values.js": | |
| 4157 | +/*!***********************************************************!*\ | |
| 4158 | + !*** ../node_modules/core-js/library/fn/object/values.js ***! | |
| 4159 | + \***********************************************************/ | |
| 4160 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4161 | + | |
| 4162 | +__webpack_require__(/*! ../../modules/es7.object.values */ "../node_modules/core-js/library/modules/es7.object.values.js"); | |
| 4163 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Object.values; | |
| 4164 | + | |
| 4165 | + | |
| 4166 | +/***/ }), | |
| 4167 | + | |
| 4168 | +/***/ "../node_modules/core-js/library/fn/promise.js": | |
| 4169 | +/*!*****************************************************!*\ | |
| 4170 | + !*** ../node_modules/core-js/library/fn/promise.js ***! | |
| 4171 | + \*****************************************************/ | |
| 4172 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4173 | + | |
| 4174 | +__webpack_require__(/*! ../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 4175 | +__webpack_require__(/*! ../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 4176 | +__webpack_require__(/*! ../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 4177 | +__webpack_require__(/*! ../modules/es6.promise */ "../node_modules/core-js/library/modules/es6.promise.js"); | |
| 4178 | +__webpack_require__(/*! ../modules/es7.promise.finally */ "../node_modules/core-js/library/modules/es7.promise.finally.js"); | |
| 4179 | +__webpack_require__(/*! ../modules/es7.promise.try */ "../node_modules/core-js/library/modules/es7.promise.try.js"); | |
| 4180 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Promise; | |
| 4181 | + | |
| 4182 | + | |
| 4183 | +/***/ }), | |
| 4184 | + | |
| 4185 | +/***/ "../node_modules/core-js/library/fn/reflect/construct.js": | |
| 4186 | +/*!***************************************************************!*\ | |
| 4187 | + !*** ../node_modules/core-js/library/fn/reflect/construct.js ***! | |
| 4188 | + \***************************************************************/ | |
| 4189 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4190 | + | |
| 4191 | +__webpack_require__(/*! ../../modules/es6.reflect.construct */ "../node_modules/core-js/library/modules/es6.reflect.construct.js"); | |
| 4192 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Reflect.construct; | |
| 4193 | + | |
| 4194 | + | |
| 4195 | +/***/ }), | |
| 4196 | + | |
| 4197 | +/***/ "../node_modules/core-js/library/fn/reflect/get.js": | |
| 4198 | +/*!*********************************************************!*\ | |
| 4199 | + !*** ../node_modules/core-js/library/fn/reflect/get.js ***! | |
| 4200 | + \*********************************************************/ | |
| 4201 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4202 | + | |
| 4203 | +__webpack_require__(/*! ../../modules/es6.reflect.get */ "../node_modules/core-js/library/modules/es6.reflect.get.js"); | |
| 4204 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Reflect.get; | |
| 4205 | + | |
| 4206 | + | |
| 4207 | +/***/ }), | |
| 4208 | + | |
| 4209 | +/***/ "../node_modules/core-js/library/fn/symbol/has-instance.js": | |
| 4210 | +/*!*****************************************************************!*\ | |
| 4211 | + !*** ../node_modules/core-js/library/fn/symbol/has-instance.js ***! | |
| 4212 | + \*****************************************************************/ | |
| 4213 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4214 | + | |
| 4215 | +__webpack_require__(/*! ../../modules/es6.function.has-instance */ "../node_modules/core-js/library/modules/es6.function.has-instance.js"); | |
| 4216 | +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js").f('hasInstance'); | |
| 4217 | + | |
| 4218 | + | |
| 4219 | +/***/ }), | |
| 4220 | + | |
| 4221 | +/***/ "../node_modules/core-js/library/fn/symbol/index.js": | |
| 4222 | +/*!**********************************************************!*\ | |
| 4223 | + !*** ../node_modules/core-js/library/fn/symbol/index.js ***! | |
| 4224 | + \**********************************************************/ | |
| 4225 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4226 | + | |
| 4227 | +__webpack_require__(/*! ../../modules/es6.symbol */ "../node_modules/core-js/library/modules/es6.symbol.js"); | |
| 4228 | +__webpack_require__(/*! ../../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 4229 | +__webpack_require__(/*! ../../modules/es7.symbol.async-iterator */ "../node_modules/core-js/library/modules/es7.symbol.async-iterator.js"); | |
| 4230 | +__webpack_require__(/*! ../../modules/es7.symbol.observable */ "../node_modules/core-js/library/modules/es7.symbol.observable.js"); | |
| 4231 | +module.exports = __webpack_require__(/*! ../../modules/_core */ "../node_modules/core-js/library/modules/_core.js").Symbol; | |
| 4232 | + | |
| 4233 | + | |
| 4234 | +/***/ }), | |
| 4235 | + | |
| 4236 | +/***/ "../node_modules/core-js/library/fn/symbol/iterator.js": | |
| 4237 | +/*!*************************************************************!*\ | |
| 4238 | + !*** ../node_modules/core-js/library/fn/symbol/iterator.js ***! | |
| 4239 | + \*************************************************************/ | |
| 4240 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4241 | + | |
| 4242 | +__webpack_require__(/*! ../../modules/es6.string.iterator */ "../node_modules/core-js/library/modules/es6.string.iterator.js"); | |
| 4243 | +__webpack_require__(/*! ../../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 4244 | +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js").f('iterator'); | |
| 4245 | + | |
| 4246 | + | |
| 4247 | +/***/ }), | |
| 4248 | + | |
| 4249 | +/***/ "../node_modules/core-js/library/fn/symbol/to-string-tag.js": | |
| 4250 | +/*!******************************************************************!*\ | |
| 4251 | + !*** ../node_modules/core-js/library/fn/symbol/to-string-tag.js ***! | |
| 4252 | + \******************************************************************/ | |
| 4253 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4254 | + | |
| 4255 | +__webpack_require__(/*! ../../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 4256 | +module.exports = __webpack_require__(/*! ../../modules/_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js").f('toStringTag'); | |
| 4257 | + | |
| 4258 | + | |
| 4259 | +/***/ }), | |
| 4260 | + | |
| 4261 | +/***/ "../node_modules/core-js/library/fn/weak-map.js": | |
| 4262 | +/*!******************************************************!*\ | |
| 4263 | + !*** ../node_modules/core-js/library/fn/weak-map.js ***! | |
| 4264 | + \******************************************************/ | |
| 4265 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4266 | + | |
| 4267 | +__webpack_require__(/*! ../modules/es6.object.to-string */ "../node_modules/core-js/library/modules/es6.object.to-string.js"); | |
| 4268 | +__webpack_require__(/*! ../modules/web.dom.iterable */ "../node_modules/core-js/library/modules/web.dom.iterable.js"); | |
| 4269 | +__webpack_require__(/*! ../modules/es6.weak-map */ "../node_modules/core-js/library/modules/es6.weak-map.js"); | |
| 4270 | +__webpack_require__(/*! ../modules/es7.weak-map.of */ "../node_modules/core-js/library/modules/es7.weak-map.of.js"); | |
| 4271 | +__webpack_require__(/*! ../modules/es7.weak-map.from */ "../node_modules/core-js/library/modules/es7.weak-map.from.js"); | |
| 4272 | +module.exports = __webpack_require__(/*! ../modules/_core */ "../node_modules/core-js/library/modules/_core.js").WeakMap; | |
| 4273 | + | |
| 4274 | + | |
| 4275 | +/***/ }), | |
| 4276 | + | |
| 4277 | +/***/ "../node_modules/core-js/library/modules/_a-function.js": | |
| 4278 | +/*!**************************************************************!*\ | |
| 4279 | + !*** ../node_modules/core-js/library/modules/_a-function.js ***! | |
| 4280 | + \**************************************************************/ | |
| 4281 | +/***/ ((module) => { | |
| 4282 | + | |
| 4283 | +module.exports = function (it) { | |
| 4284 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 4285 | + return it; | |
| 4286 | +}; | |
| 4287 | + | |
| 4288 | + | |
| 4289 | +/***/ }), | |
| 4290 | + | |
| 4291 | +/***/ "../node_modules/core-js/library/modules/_add-to-unscopables.js": | |
| 4292 | +/*!**********************************************************************!*\ | |
| 4293 | + !*** ../node_modules/core-js/library/modules/_add-to-unscopables.js ***! | |
| 4294 | + \**********************************************************************/ | |
| 4295 | +/***/ ((module) => { | |
| 4296 | + | |
| 4297 | +module.exports = function () { /* empty */ }; | |
| 4298 | + | |
| 4299 | + | |
| 4300 | +/***/ }), | |
| 4301 | + | |
| 4302 | +/***/ "../node_modules/core-js/library/modules/_an-instance.js": | |
| 4303 | +/*!***************************************************************!*\ | |
| 4304 | + !*** ../node_modules/core-js/library/modules/_an-instance.js ***! | |
| 4305 | + \***************************************************************/ | |
| 4306 | +/***/ ((module) => { | |
| 4307 | + | |
| 4308 | +module.exports = function (it, Constructor, name, forbiddenField) { | |
| 4309 | + if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { | |
| 4310 | + throw TypeError(name + ': incorrect invocation!'); | |
| 4311 | + } return it; | |
| 4312 | +}; | |
| 4313 | + | |
| 4314 | + | |
| 4315 | +/***/ }), | |
| 4316 | + | |
| 4317 | +/***/ "../node_modules/core-js/library/modules/_an-object.js": | |
| 4318 | +/*!*************************************************************!*\ | |
| 4319 | + !*** ../node_modules/core-js/library/modules/_an-object.js ***! | |
| 4320 | + \*************************************************************/ | |
| 4321 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4322 | + | |
| 4323 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 4324 | +module.exports = function (it) { | |
| 4325 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 4326 | + return it; | |
| 4327 | +}; | |
| 4328 | + | |
| 4329 | + | |
| 4330 | +/***/ }), | |
| 4331 | + | |
| 4332 | +/***/ "../node_modules/core-js/library/modules/_array-includes.js": | |
| 4333 | +/*!******************************************************************!*\ | |
| 4334 | + !*** ../node_modules/core-js/library/modules/_array-includes.js ***! | |
| 4335 | + \******************************************************************/ | |
| 4336 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4337 | + | |
| 4338 | +// false -> Array#indexOf | |
| 4339 | +// true -> Array#includes | |
| 4340 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 4341 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 4342 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/library/modules/_to-absolute-index.js"); | |
| 4343 | +module.exports = function (IS_INCLUDES) { | |
| 4344 | + return function ($this, el, fromIndex) { | |
| 4345 | + var O = toIObject($this); | |
| 4346 | + var length = toLength(O.length); | |
| 4347 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 4348 | + var value; | |
| 4349 | + // Array#includes uses SameValueZero equality algorithm | |
| 4350 | + // eslint-disable-next-line no-self-compare | |
| 4351 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 4352 | + value = O[index++]; | |
| 4353 | + // eslint-disable-next-line no-self-compare | |
| 4354 | + if (value != value) return true; | |
| 4355 | + // Array#indexOf ignores holes, Array#includes - not | |
| 4356 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 4357 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 4358 | + } return !IS_INCLUDES && -1; | |
| 4359 | + }; | |
| 4360 | +}; | |
| 4361 | + | |
| 4362 | + | |
| 4363 | +/***/ }), | |
| 4364 | + | |
| 4365 | +/***/ "../node_modules/core-js/library/modules/_array-methods.js": | |
| 4366 | +/*!*****************************************************************!*\ | |
| 4367 | + !*** ../node_modules/core-js/library/modules/_array-methods.js ***! | |
| 4368 | + \*****************************************************************/ | |
| 4369 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4370 | + | |
| 4371 | +// 0 -> Array#forEach | |
| 4372 | +// 1 -> Array#map | |
| 4373 | +// 2 -> Array#filter | |
| 4374 | +// 3 -> Array#some | |
| 4375 | +// 4 -> Array#every | |
| 4376 | +// 5 -> Array#find | |
| 4377 | +// 6 -> Array#findIndex | |
| 4378 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 4379 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 4380 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 4381 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 4382 | +var asc = __webpack_require__(/*! ./_array-species-create */ "../node_modules/core-js/library/modules/_array-species-create.js"); | |
| 4383 | +module.exports = function (TYPE, $create) { | |
| 4384 | + var IS_MAP = TYPE == 1; | |
| 4385 | + var IS_FILTER = TYPE == 2; | |
| 4386 | + var IS_SOME = TYPE == 3; | |
| 4387 | + var IS_EVERY = TYPE == 4; | |
| 4388 | + var IS_FIND_INDEX = TYPE == 6; | |
| 4389 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 4390 | + var create = $create || asc; | |
| 4391 | + return function ($this, callbackfn, that) { | |
| 4392 | + var O = toObject($this); | |
| 4393 | + var self = IObject(O); | |
| 4394 | + var f = ctx(callbackfn, that, 3); | |
| 4395 | + var length = toLength(self.length); | |
| 4396 | + var index = 0; | |
| 4397 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 4398 | + var val, res; | |
| 4399 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 4400 | + val = self[index]; | |
| 4401 | + res = f(val, index, O); | |
| 4402 | + if (TYPE) { | |
| 4403 | + if (IS_MAP) result[index] = res; // map | |
| 4404 | + else if (res) switch (TYPE) { | |
| 4405 | + case 3: return true; // some | |
| 4406 | + case 5: return val; // find | |
| 4407 | + case 6: return index; // findIndex | |
| 4408 | + case 2: result.push(val); // filter | |
| 4409 | + } else if (IS_EVERY) return false; // every | |
| 4410 | + } | |
| 4411 | + } | |
| 4412 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 4413 | + }; | |
| 4414 | +}; | |
| 4415 | + | |
| 4416 | + | |
| 4417 | +/***/ }), | |
| 4418 | + | |
| 4419 | +/***/ "../node_modules/core-js/library/modules/_array-species-constructor.js": | |
| 4420 | +/*!*****************************************************************************!*\ | |
| 4421 | + !*** ../node_modules/core-js/library/modules/_array-species-constructor.js ***! | |
| 4422 | + \*****************************************************************************/ | |
| 4423 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4424 | + | |
| 4425 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 4426 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js"); | |
| 4427 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species'); | |
| 4428 | + | |
| 4429 | +module.exports = function (original) { | |
| 4430 | + var C; | |
| 4431 | + if (isArray(original)) { | |
| 4432 | + C = original.constructor; | |
| 4433 | + // cross-realm fallback | |
| 4434 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 4435 | + if (isObject(C)) { | |
| 4436 | + C = C[SPECIES]; | |
| 4437 | + if (C === null) C = undefined; | |
| 4438 | + } | |
| 4439 | + } return C === undefined ? Array : C; | |
| 4440 | +}; | |
| 4441 | + | |
| 4442 | + | |
| 4443 | +/***/ }), | |
| 4444 | + | |
| 4445 | +/***/ "../node_modules/core-js/library/modules/_array-species-create.js": | |
| 4446 | +/*!************************************************************************!*\ | |
| 4447 | + !*** ../node_modules/core-js/library/modules/_array-species-create.js ***! | |
| 4448 | + \************************************************************************/ | |
| 4449 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4450 | + | |
| 4451 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 4452 | +var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "../node_modules/core-js/library/modules/_array-species-constructor.js"); | |
| 4453 | + | |
| 4454 | +module.exports = function (original, length) { | |
| 4455 | + return new (speciesConstructor(original))(length); | |
| 4456 | +}; | |
| 4457 | + | |
| 4458 | + | |
| 4459 | +/***/ }), | |
| 4460 | + | |
| 4461 | +/***/ "../node_modules/core-js/library/modules/_bind.js": | |
| 4462 | +/*!********************************************************!*\ | |
| 4463 | + !*** ../node_modules/core-js/library/modules/_bind.js ***! | |
| 4464 | + \********************************************************/ | |
| 4465 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4466 | + | |
| 4467 | +"use strict"; | |
| 4468 | + | |
| 4469 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 4470 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 4471 | +var invoke = __webpack_require__(/*! ./_invoke */ "../node_modules/core-js/library/modules/_invoke.js"); | |
| 4472 | +var arraySlice = [].slice; | |
| 4473 | +var factories = {}; | |
| 4474 | + | |
| 4475 | +var construct = function (F, len, args) { | |
| 4476 | + if (!(len in factories)) { | |
| 4477 | + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; | |
| 4478 | + // eslint-disable-next-line no-new-func | |
| 4479 | + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); | |
| 4480 | + } return factories[len](F, args); | |
| 4481 | +}; | |
| 4482 | + | |
| 4483 | +module.exports = Function.bind || function bind(that /* , ...args */) { | |
| 4484 | + var fn = aFunction(this); | |
| 4485 | + var partArgs = arraySlice.call(arguments, 1); | |
| 4486 | + var bound = function (/* args... */) { | |
| 4487 | + var args = partArgs.concat(arraySlice.call(arguments)); | |
| 4488 | + return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); | |
| 4489 | + }; | |
| 4490 | + if (isObject(fn.prototype)) bound.prototype = fn.prototype; | |
| 4491 | + return bound; | |
| 4492 | +}; | |
| 4493 | + | |
| 4494 | + | |
| 4495 | +/***/ }), | |
| 4496 | + | |
| 4497 | +/***/ "../node_modules/core-js/library/modules/_classof.js": | |
| 4498 | +/*!***********************************************************!*\ | |
| 4499 | + !*** ../node_modules/core-js/library/modules/_classof.js ***! | |
| 4500 | + \***********************************************************/ | |
| 4501 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4502 | + | |
| 4503 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 4504 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 4505 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 4506 | +// ES3 wrong here | |
| 4507 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 4508 | + | |
| 4509 | +// fallback for IE11 Script Access Denied error | |
| 4510 | +var tryGet = function (it, key) { | |
| 4511 | + try { | |
| 4512 | + return it[key]; | |
| 4513 | + } catch (e) { /* empty */ } | |
| 4514 | +}; | |
| 4515 | + | |
| 4516 | +module.exports = function (it) { | |
| 4517 | + var O, T, B; | |
| 4518 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 4519 | + // @@toStringTag case | |
| 4520 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 4521 | + // builtinTag case | |
| 4522 | + : ARG ? cof(O) | |
| 4523 | + // ES3 arguments fallback | |
| 4524 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 4525 | +}; | |
| 4526 | + | |
| 4527 | + | |
| 4528 | +/***/ }), | |
| 4529 | + | |
| 4530 | +/***/ "../node_modules/core-js/library/modules/_cof.js": | |
| 4531 | +/*!*******************************************************!*\ | |
| 4532 | + !*** ../node_modules/core-js/library/modules/_cof.js ***! | |
| 4533 | + \*******************************************************/ | |
| 4534 | +/***/ ((module) => { | |
| 4535 | + | |
| 4536 | +var toString = {}.toString; | |
| 4537 | + | |
| 4538 | +module.exports = function (it) { | |
| 4539 | + return toString.call(it).slice(8, -1); | |
| 4540 | +}; | |
| 4541 | + | |
| 4542 | + | |
| 4543 | +/***/ }), | |
| 4544 | + | |
| 4545 | +/***/ "../node_modules/core-js/library/modules/_collection-weak.js": | |
| 4546 | +/*!*******************************************************************!*\ | |
| 4547 | + !*** ../node_modules/core-js/library/modules/_collection-weak.js ***! | |
| 4548 | + \*******************************************************************/ | |
| 4549 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4550 | + | |
| 4551 | +"use strict"; | |
| 4552 | + | |
| 4553 | +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js"); | |
| 4554 | +var getWeak = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").getWeak; | |
| 4555 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 4556 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 4557 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 4558 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 4559 | +var createArrayMethod = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/library/modules/_array-methods.js"); | |
| 4560 | +var $has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 4561 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 4562 | +var arrayFind = createArrayMethod(5); | |
| 4563 | +var arrayFindIndex = createArrayMethod(6); | |
| 4564 | +var id = 0; | |
| 4565 | + | |
| 4566 | +// fallback for uncaught frozen keys | |
| 4567 | +var uncaughtFrozenStore = function (that) { | |
| 4568 | + return that._l || (that._l = new UncaughtFrozenStore()); | |
| 4569 | +}; | |
| 4570 | +var UncaughtFrozenStore = function () { | |
| 4571 | + this.a = []; | |
| 4572 | +}; | |
| 4573 | +var findUncaughtFrozen = function (store, key) { | |
| 4574 | + return arrayFind(store.a, function (it) { | |
| 4575 | + return it[0] === key; | |
| 4576 | + }); | |
| 4577 | +}; | |
| 4578 | +UncaughtFrozenStore.prototype = { | |
| 4579 | + get: function (key) { | |
| 4580 | + var entry = findUncaughtFrozen(this, key); | |
| 4581 | + if (entry) return entry[1]; | |
| 4582 | + }, | |
| 4583 | + has: function (key) { | |
| 4584 | + return !!findUncaughtFrozen(this, key); | |
| 4585 | + }, | |
| 4586 | + set: function (key, value) { | |
| 4587 | + var entry = findUncaughtFrozen(this, key); | |
| 4588 | + if (entry) entry[1] = value; | |
| 4589 | + else this.a.push([key, value]); | |
| 4590 | + }, | |
| 4591 | + 'delete': function (key) { | |
| 4592 | + var index = arrayFindIndex(this.a, function (it) { | |
| 4593 | + return it[0] === key; | |
| 4594 | + }); | |
| 4595 | + if (~index) this.a.splice(index, 1); | |
| 4596 | + return !!~index; | |
| 4597 | + } | |
| 4598 | +}; | |
| 4599 | + | |
| 4600 | +module.exports = { | |
| 4601 | + getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { | |
| 4602 | + var C = wrapper(function (that, iterable) { | |
| 4603 | + anInstance(that, C, NAME, '_i'); | |
| 4604 | + that._t = NAME; // collection type | |
| 4605 | + that._i = id++; // collection id | |
| 4606 | + that._l = undefined; // leak store for uncaught frozen objects | |
| 4607 | + if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); | |
| 4608 | + }); | |
| 4609 | + redefineAll(C.prototype, { | |
| 4610 | + // 23.3.3.2 WeakMap.prototype.delete(key) | |
| 4611 | + // 23.4.3.3 WeakSet.prototype.delete(value) | |
| 4612 | + 'delete': function (key) { | |
| 4613 | + if (!isObject(key)) return false; | |
| 4614 | + var data = getWeak(key); | |
| 4615 | + if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); | |
| 4616 | + return data && $has(data, this._i) && delete data[this._i]; | |
| 4617 | + }, | |
| 4618 | + // 23.3.3.4 WeakMap.prototype.has(key) | |
| 4619 | + // 23.4.3.4 WeakSet.prototype.has(value) | |
| 4620 | + has: function has(key) { | |
| 4621 | + if (!isObject(key)) return false; | |
| 4622 | + var data = getWeak(key); | |
| 4623 | + if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); | |
| 4624 | + return data && $has(data, this._i); | |
| 4625 | + } | |
| 4626 | + }); | |
| 4627 | + return C; | |
| 4628 | + }, | |
| 4629 | + def: function (that, key, value) { | |
| 4630 | + var data = getWeak(anObject(key), true); | |
| 4631 | + if (data === true) uncaughtFrozenStore(that).set(key, value); | |
| 4632 | + else data[that._i] = value; | |
| 4633 | + return that; | |
| 4634 | + }, | |
| 4635 | + ufstore: uncaughtFrozenStore | |
| 4636 | +}; | |
| 4637 | + | |
| 4638 | + | |
| 4639 | +/***/ }), | |
| 4640 | + | |
| 4641 | +/***/ "../node_modules/core-js/library/modules/_collection.js": | |
| 4642 | +/*!**************************************************************!*\ | |
| 4643 | + !*** ../node_modules/core-js/library/modules/_collection.js ***! | |
| 4644 | + \**************************************************************/ | |
| 4645 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4646 | + | |
| 4647 | +"use strict"; | |
| 4648 | + | |
| 4649 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 4650 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 4651 | +var meta = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js"); | |
| 4652 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 4653 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 4654 | +var redefineAll = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js"); | |
| 4655 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 4656 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 4657 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 4658 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 4659 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 4660 | +var each = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/library/modules/_array-methods.js")(0); | |
| 4661 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 4662 | + | |
| 4663 | +module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { | |
| 4664 | + var Base = global[NAME]; | |
| 4665 | + var C = Base; | |
| 4666 | + var ADDER = IS_MAP ? 'set' : 'add'; | |
| 4667 | + var proto = C && C.prototype; | |
| 4668 | + var O = {}; | |
| 4669 | + if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { | |
| 4670 | + new C().entries().next(); | |
| 4671 | + }))) { | |
| 4672 | + // create collection constructor | |
| 4673 | + C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); | |
| 4674 | + redefineAll(C.prototype, methods); | |
| 4675 | + meta.NEED = true; | |
| 4676 | + } else { | |
| 4677 | + C = wrapper(function (target, iterable) { | |
| 4678 | + anInstance(target, C, NAME, '_c'); | |
| 4679 | + target._c = new Base(); | |
| 4680 | + if (iterable != undefined) forOf(iterable, IS_MAP, target[ADDER], target); | |
| 4681 | + }); | |
| 4682 | + each('add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON'.split(','), function (KEY) { | |
| 4683 | + var IS_ADDER = KEY == 'add' || KEY == 'set'; | |
| 4684 | + if (KEY in proto && !(IS_WEAK && KEY == 'clear')) hide(C.prototype, KEY, function (a, b) { | |
| 4685 | + anInstance(this, C, KEY); | |
| 4686 | + if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false; | |
| 4687 | + var result = this._c[KEY](a === 0 ? 0 : a, b); | |
| 4688 | + return IS_ADDER ? this : result; | |
| 4689 | + }); | |
| 4690 | + }); | |
| 4691 | + IS_WEAK || dP(C.prototype, 'size', { | |
| 4692 | + get: function () { | |
| 4693 | + return this._c.size; | |
| 4694 | + } | |
| 4695 | + }); | |
| 4696 | + } | |
| 4697 | + | |
| 4698 | + setToStringTag(C, NAME); | |
| 4699 | + | |
| 4700 | + O[NAME] = C; | |
| 4701 | + $export($export.G + $export.W + $export.F, O); | |
| 4702 | + | |
| 4703 | + if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); | |
| 4704 | + | |
| 4705 | + return C; | |
| 4706 | +}; | |
| 4707 | + | |
| 4708 | + | |
| 4709 | +/***/ }), | |
| 4710 | + | |
| 4711 | +/***/ "../node_modules/core-js/library/modules/_core.js": | |
| 4712 | +/*!********************************************************!*\ | |
| 4713 | + !*** ../node_modules/core-js/library/modules/_core.js ***! | |
| 4714 | + \********************************************************/ | |
| 4715 | +/***/ ((module) => { | |
| 4716 | + | |
| 4717 | +var core = module.exports = { version: '2.6.12' }; | |
| 4718 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 4719 | + | |
| 4720 | + | |
| 4721 | +/***/ }), | |
| 4722 | + | |
| 4723 | +/***/ "../node_modules/core-js/library/modules/_create-property.js": | |
| 4724 | +/*!*******************************************************************!*\ | |
| 4725 | + !*** ../node_modules/core-js/library/modules/_create-property.js ***! | |
| 4726 | + \*******************************************************************/ | |
| 4727 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4728 | + | |
| 4729 | +"use strict"; | |
| 4730 | + | |
| 4731 | +var $defineProperty = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 4732 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 4733 | + | |
| 4734 | +module.exports = function (object, index, value) { | |
| 4735 | + if (index in object) $defineProperty.f(object, index, createDesc(0, value)); | |
| 4736 | + else object[index] = value; | |
| 4737 | +}; | |
| 4738 | + | |
| 4739 | + | |
| 4740 | +/***/ }), | |
| 4741 | + | |
| 4742 | +/***/ "../node_modules/core-js/library/modules/_ctx.js": | |
| 4743 | +/*!*******************************************************!*\ | |
| 4744 | + !*** ../node_modules/core-js/library/modules/_ctx.js ***! | |
| 4745 | + \*******************************************************/ | |
| 4746 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4747 | + | |
| 4748 | +// optional / simple context binding | |
| 4749 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 4750 | +module.exports = function (fn, that, length) { | |
| 4751 | + aFunction(fn); | |
| 4752 | + if (that === undefined) return fn; | |
| 4753 | + switch (length) { | |
| 4754 | + case 1: return function (a) { | |
| 4755 | + return fn.call(that, a); | |
| 4756 | + }; | |
| 4757 | + case 2: return function (a, b) { | |
| 4758 | + return fn.call(that, a, b); | |
| 4759 | + }; | |
| 4760 | + case 3: return function (a, b, c) { | |
| 4761 | + return fn.call(that, a, b, c); | |
| 4762 | + }; | |
| 4763 | + } | |
| 4764 | + return function (/* ...args */) { | |
| 4765 | + return fn.apply(that, arguments); | |
| 4766 | + }; | |
| 4767 | +}; | |
| 4768 | + | |
| 4769 | + | |
| 4770 | +/***/ }), | |
| 4771 | + | |
| 4772 | +/***/ "../node_modules/core-js/library/modules/_defined.js": | |
| 4773 | +/*!***********************************************************!*\ | |
| 4774 | + !*** ../node_modules/core-js/library/modules/_defined.js ***! | |
| 4775 | + \***********************************************************/ | |
| 4776 | +/***/ ((module) => { | |
| 4777 | + | |
| 4778 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 4779 | +module.exports = function (it) { | |
| 4780 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 4781 | + return it; | |
| 4782 | +}; | |
| 4783 | + | |
| 4784 | + | |
| 4785 | +/***/ }), | |
| 4786 | + | |
| 4787 | +/***/ "../node_modules/core-js/library/modules/_descriptors.js": | |
| 4788 | +/*!***************************************************************!*\ | |
| 4789 | + !*** ../node_modules/core-js/library/modules/_descriptors.js ***! | |
| 4790 | + \***************************************************************/ | |
| 4791 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4792 | + | |
| 4793 | +// Thank's IE8 for his funny defineProperty | |
| 4794 | +module.exports = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 4795 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 4796 | +}); | |
| 4797 | + | |
| 4798 | + | |
| 4799 | +/***/ }), | |
| 4800 | + | |
| 4801 | +/***/ "../node_modules/core-js/library/modules/_dom-create.js": | |
| 4802 | +/*!**************************************************************!*\ | |
| 4803 | + !*** ../node_modules/core-js/library/modules/_dom-create.js ***! | |
| 4804 | + \**************************************************************/ | |
| 4805 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4806 | + | |
| 4807 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 4808 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").document; | |
| 4809 | +// typeof document.createElement is 'object' in old IE | |
| 4810 | +var is = isObject(document) && isObject(document.createElement); | |
| 4811 | +module.exports = function (it) { | |
| 4812 | + return is ? document.createElement(it) : {}; | |
| 4813 | +}; | |
| 4814 | + | |
| 4815 | + | |
| 4816 | +/***/ }), | |
| 4817 | + | |
| 4818 | +/***/ "../node_modules/core-js/library/modules/_enum-bug-keys.js": | |
| 4819 | +/*!*****************************************************************!*\ | |
| 4820 | + !*** ../node_modules/core-js/library/modules/_enum-bug-keys.js ***! | |
| 4821 | + \*****************************************************************/ | |
| 4822 | +/***/ ((module) => { | |
| 4823 | + | |
| 4824 | +// IE 8- don't enum bug keys | |
| 4825 | +module.exports = ( | |
| 4826 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 4827 | +).split(','); | |
| 4828 | + | |
| 4829 | + | |
| 4830 | +/***/ }), | |
| 4831 | + | |
| 4832 | +/***/ "../node_modules/core-js/library/modules/_enum-keys.js": | |
| 4833 | +/*!*************************************************************!*\ | |
| 4834 | + !*** ../node_modules/core-js/library/modules/_enum-keys.js ***! | |
| 4835 | + \*************************************************************/ | |
| 4836 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4837 | + | |
| 4838 | +// all enumerable object keys, includes symbols | |
| 4839 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 4840 | +var gOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 4841 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 4842 | +module.exports = function (it) { | |
| 4843 | + var result = getKeys(it); | |
| 4844 | + var getSymbols = gOPS.f; | |
| 4845 | + if (getSymbols) { | |
| 4846 | + var symbols = getSymbols(it); | |
| 4847 | + var isEnum = pIE.f; | |
| 4848 | + var i = 0; | |
| 4849 | + var key; | |
| 4850 | + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); | |
| 4851 | + } return result; | |
| 4852 | +}; | |
| 4853 | + | |
| 4854 | + | |
| 4855 | +/***/ }), | |
| 4856 | + | |
| 4857 | +/***/ "../node_modules/core-js/library/modules/_export.js": | |
| 4858 | +/*!**********************************************************!*\ | |
| 4859 | + !*** ../node_modules/core-js/library/modules/_export.js ***! | |
| 4860 | + \**********************************************************/ | |
| 4861 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4862 | + | |
| 4863 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 4864 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 4865 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 4866 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 4867 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 4868 | +var PROTOTYPE = 'prototype'; | |
| 4869 | + | |
| 4870 | +var $export = function (type, name, source) { | |
| 4871 | + var IS_FORCED = type & $export.F; | |
| 4872 | + var IS_GLOBAL = type & $export.G; | |
| 4873 | + var IS_STATIC = type & $export.S; | |
| 4874 | + var IS_PROTO = type & $export.P; | |
| 4875 | + var IS_BIND = type & $export.B; | |
| 4876 | + var IS_WRAP = type & $export.W; | |
| 4877 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 4878 | + var expProto = exports[PROTOTYPE]; | |
| 4879 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; | |
| 4880 | + var key, own, out; | |
| 4881 | + if (IS_GLOBAL) source = name; | |
| 4882 | + for (key in source) { | |
| 4883 | + // contains in native | |
| 4884 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 4885 | + if (own && has(exports, key)) continue; | |
| 4886 | + // export native or passed | |
| 4887 | + out = own ? target[key] : source[key]; | |
| 4888 | + // prevent global pollution for namespaces | |
| 4889 | + exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] | |
| 4890 | + // bind timers to global for call from export context | |
| 4891 | + : IS_BIND && own ? ctx(out, global) | |
| 4892 | + // wrap global constructors for prevent change them in library | |
| 4893 | + : IS_WRAP && target[key] == out ? (function (C) { | |
| 4894 | + var F = function (a, b, c) { | |
| 4895 | + if (this instanceof C) { | |
| 4896 | + switch (arguments.length) { | |
| 4897 | + case 0: return new C(); | |
| 4898 | + case 1: return new C(a); | |
| 4899 | + case 2: return new C(a, b); | |
| 4900 | + } return new C(a, b, c); | |
| 4901 | + } return C.apply(this, arguments); | |
| 4902 | + }; | |
| 4903 | + F[PROTOTYPE] = C[PROTOTYPE]; | |
| 4904 | + return F; | |
| 4905 | + // make static versions for prototype methods | |
| 4906 | + })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 4907 | + // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% | |
| 4908 | + if (IS_PROTO) { | |
| 4909 | + (exports.virtual || (exports.virtual = {}))[key] = out; | |
| 4910 | + // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% | |
| 4911 | + if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); | |
| 4912 | + } | |
| 4913 | + } | |
| 4914 | +}; | |
| 4915 | +// type bitmap | |
| 4916 | +$export.F = 1; // forced | |
| 4917 | +$export.G = 2; // global | |
| 4918 | +$export.S = 4; // static | |
| 4919 | +$export.P = 8; // proto | |
| 4920 | +$export.B = 16; // bind | |
| 4921 | +$export.W = 32; // wrap | |
| 4922 | +$export.U = 64; // safe | |
| 4923 | +$export.R = 128; // real proto method for `library` | |
| 4924 | +module.exports = $export; | |
| 4925 | + | |
| 4926 | + | |
| 4927 | +/***/ }), | |
| 4928 | + | |
| 4929 | +/***/ "../node_modules/core-js/library/modules/_fails.js": | |
| 4930 | +/*!*********************************************************!*\ | |
| 4931 | + !*** ../node_modules/core-js/library/modules/_fails.js ***! | |
| 4932 | + \*********************************************************/ | |
| 4933 | +/***/ ((module) => { | |
| 4934 | + | |
| 4935 | +module.exports = function (exec) { | |
| 4936 | + try { | |
| 4937 | + return !!exec(); | |
| 4938 | + } catch (e) { | |
| 4939 | + return true; | |
| 4940 | + } | |
| 4941 | +}; | |
| 4942 | + | |
| 4943 | + | |
| 4944 | +/***/ }), | |
| 4945 | + | |
| 4946 | +/***/ "../node_modules/core-js/library/modules/_for-of.js": | |
| 4947 | +/*!**********************************************************!*\ | |
| 4948 | + !*** ../node_modules/core-js/library/modules/_for-of.js ***! | |
| 4949 | + \**********************************************************/ | |
| 4950 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 4951 | + | |
| 4952 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 4953 | +var call = __webpack_require__(/*! ./_iter-call */ "../node_modules/core-js/library/modules/_iter-call.js"); | |
| 4954 | +var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "../node_modules/core-js/library/modules/_is-array-iter.js"); | |
| 4955 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 4956 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 4957 | +var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "../node_modules/core-js/library/modules/core.get-iterator-method.js"); | |
| 4958 | +var BREAK = {}; | |
| 4959 | +var RETURN = {}; | |
| 4960 | +var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { | |
| 4961 | + var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); | |
| 4962 | + var f = ctx(fn, that, entries ? 2 : 1); | |
| 4963 | + var index = 0; | |
| 4964 | + var length, step, iterator, result; | |
| 4965 | + if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); | |
| 4966 | + // fast case for arrays with default iterator | |
| 4967 | + if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { | |
| 4968 | + result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); | |
| 4969 | + if (result === BREAK || result === RETURN) return result; | |
| 4970 | + } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { | |
| 4971 | + result = call(iterator, f, step.value, entries); | |
| 4972 | + if (result === BREAK || result === RETURN) return result; | |
| 4973 | + } | |
| 4974 | +}; | |
| 4975 | +exports.BREAK = BREAK; | |
| 4976 | +exports.RETURN = RETURN; | |
| 4977 | + | |
| 4978 | + | |
| 4979 | +/***/ }), | |
| 4980 | + | |
| 4981 | +/***/ "../node_modules/core-js/library/modules/_global.js": | |
| 4982 | +/*!**********************************************************!*\ | |
| 4983 | + !*** ../node_modules/core-js/library/modules/_global.js ***! | |
| 4984 | + \**********************************************************/ | |
| 4985 | +/***/ ((module) => { | |
| 4986 | + | |
| 4987 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 4988 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 4989 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 4990 | + // eslint-disable-next-line no-new-func | |
| 4991 | + : Function('return this')(); | |
| 4992 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 4993 | + | |
| 4994 | + | |
| 4995 | +/***/ }), | |
| 4996 | + | |
| 4997 | +/***/ "../node_modules/core-js/library/modules/_has.js": | |
| 4998 | +/*!*******************************************************!*\ | |
| 4999 | + !*** ../node_modules/core-js/library/modules/_has.js ***! | |
| 5000 | + \*******************************************************/ | |
| 5001 | +/***/ ((module) => { | |
| 5002 | + | |
| 5003 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 5004 | +module.exports = function (it, key) { | |
| 5005 | + return hasOwnProperty.call(it, key); | |
| 5006 | +}; | |
| 5007 | + | |
| 5008 | + | |
| 5009 | +/***/ }), | |
| 5010 | + | |
| 5011 | +/***/ "../node_modules/core-js/library/modules/_hide.js": | |
| 5012 | +/*!********************************************************!*\ | |
| 5013 | + !*** ../node_modules/core-js/library/modules/_hide.js ***! | |
| 5014 | + \********************************************************/ | |
| 5015 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5016 | + | |
| 5017 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 5018 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 5019 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? function (object, key, value) { | |
| 5020 | + return dP.f(object, key, createDesc(1, value)); | |
| 5021 | +} : function (object, key, value) { | |
| 5022 | + object[key] = value; | |
| 5023 | + return object; | |
| 5024 | +}; | |
| 5025 | + | |
| 5026 | + | |
| 5027 | +/***/ }), | |
| 5028 | + | |
| 5029 | +/***/ "../node_modules/core-js/library/modules/_html.js": | |
| 5030 | +/*!********************************************************!*\ | |
| 5031 | + !*** ../node_modules/core-js/library/modules/_html.js ***! | |
| 5032 | + \********************************************************/ | |
| 5033 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5034 | + | |
| 5035 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").document; | |
| 5036 | +module.exports = document && document.documentElement; | |
| 5037 | + | |
| 5038 | + | |
| 5039 | +/***/ }), | |
| 5040 | + | |
| 5041 | +/***/ "../node_modules/core-js/library/modules/_ie8-dom-define.js": | |
| 5042 | +/*!******************************************************************!*\ | |
| 5043 | + !*** ../node_modules/core-js/library/modules/_ie8-dom-define.js ***! | |
| 5044 | + \******************************************************************/ | |
| 5045 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5046 | + | |
| 5047 | +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 () { | |
| 5048 | + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 5049 | +}); | |
| 5050 | + | |
| 5051 | + | |
| 5052 | +/***/ }), | |
| 5053 | + | |
| 5054 | +/***/ "../node_modules/core-js/library/modules/_invoke.js": | |
| 5055 | +/*!**********************************************************!*\ | |
| 5056 | + !*** ../node_modules/core-js/library/modules/_invoke.js ***! | |
| 5057 | + \**********************************************************/ | |
| 5058 | +/***/ ((module) => { | |
| 5059 | + | |
| 5060 | +// fast apply, http://jsperf.lnkit.com/fast-apply/5 | |
| 5061 | +module.exports = function (fn, args, that) { | |
| 5062 | + var un = that === undefined; | |
| 5063 | + switch (args.length) { | |
| 5064 | + case 0: return un ? fn() | |
| 5065 | + : fn.call(that); | |
| 5066 | + case 1: return un ? fn(args[0]) | |
| 5067 | + : fn.call(that, args[0]); | |
| 5068 | + case 2: return un ? fn(args[0], args[1]) | |
| 5069 | + : fn.call(that, args[0], args[1]); | |
| 5070 | + case 3: return un ? fn(args[0], args[1], args[2]) | |
| 5071 | + : fn.call(that, args[0], args[1], args[2]); | |
| 5072 | + case 4: return un ? fn(args[0], args[1], args[2], args[3]) | |
| 5073 | + : fn.call(that, args[0], args[1], args[2], args[3]); | |
| 5074 | + } return fn.apply(that, args); | |
| 5075 | +}; | |
| 5076 | + | |
| 5077 | + | |
| 5078 | +/***/ }), | |
| 5079 | + | |
| 5080 | +/***/ "../node_modules/core-js/library/modules/_iobject.js": | |
| 5081 | +/*!***********************************************************!*\ | |
| 5082 | + !*** ../node_modules/core-js/library/modules/_iobject.js ***! | |
| 5083 | + \***********************************************************/ | |
| 5084 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5085 | + | |
| 5086 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 5087 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 5088 | +// eslint-disable-next-line no-prototype-builtins | |
| 5089 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 5090 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 5091 | +}; | |
| 5092 | + | |
| 5093 | + | |
| 5094 | +/***/ }), | |
| 5095 | + | |
| 5096 | +/***/ "../node_modules/core-js/library/modules/_is-array-iter.js": | |
| 5097 | +/*!*****************************************************************!*\ | |
| 5098 | + !*** ../node_modules/core-js/library/modules/_is-array-iter.js ***! | |
| 5099 | + \*****************************************************************/ | |
| 5100 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5101 | + | |
| 5102 | +// check on default Array iterator | |
| 5103 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 5104 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 5105 | +var ArrayProto = Array.prototype; | |
| 5106 | + | |
| 5107 | +module.exports = function (it) { | |
| 5108 | + return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); | |
| 5109 | +}; | |
| 5110 | + | |
| 5111 | + | |
| 5112 | +/***/ }), | |
| 5113 | + | |
| 5114 | +/***/ "../node_modules/core-js/library/modules/_is-array.js": | |
| 5115 | +/*!************************************************************!*\ | |
| 5116 | + !*** ../node_modules/core-js/library/modules/_is-array.js ***! | |
| 5117 | + \************************************************************/ | |
| 5118 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5119 | + | |
| 5120 | +// 7.2.2 IsArray(argument) | |
| 5121 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js"); | |
| 5122 | +module.exports = Array.isArray || function isArray(arg) { | |
| 5123 | + return cof(arg) == 'Array'; | |
| 5124 | +}; | |
| 5125 | + | |
| 5126 | + | |
| 5127 | +/***/ }), | |
| 5128 | + | |
| 5129 | +/***/ "../node_modules/core-js/library/modules/_is-object.js": | |
| 5130 | +/*!*************************************************************!*\ | |
| 5131 | + !*** ../node_modules/core-js/library/modules/_is-object.js ***! | |
| 5132 | + \*************************************************************/ | |
| 5133 | +/***/ ((module) => { | |
| 5134 | + | |
| 5135 | +module.exports = function (it) { | |
| 5136 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 5137 | +}; | |
| 5138 | + | |
| 5139 | + | |
| 5140 | +/***/ }), | |
| 5141 | + | |
| 5142 | +/***/ "../node_modules/core-js/library/modules/_iter-call.js": | |
| 5143 | +/*!*************************************************************!*\ | |
| 5144 | + !*** ../node_modules/core-js/library/modules/_iter-call.js ***! | |
| 5145 | + \*************************************************************/ | |
| 5146 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5147 | + | |
| 5148 | +// call something on iterator step with safe closing on error | |
| 5149 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5150 | +module.exports = function (iterator, fn, value, entries) { | |
| 5151 | + try { | |
| 5152 | + return entries ? fn(anObject(value)[0], value[1]) : fn(value); | |
| 5153 | + // 7.4.6 IteratorClose(iterator, completion) | |
| 5154 | + } catch (e) { | |
| 5155 | + var ret = iterator['return']; | |
| 5156 | + if (ret !== undefined) anObject(ret.call(iterator)); | |
| 5157 | + throw e; | |
| 5158 | + } | |
| 5159 | +}; | |
| 5160 | + | |
| 5161 | + | |
| 5162 | +/***/ }), | |
| 5163 | + | |
| 5164 | +/***/ "../node_modules/core-js/library/modules/_iter-create.js": | |
| 5165 | +/*!***************************************************************!*\ | |
| 5166 | + !*** ../node_modules/core-js/library/modules/_iter-create.js ***! | |
| 5167 | + \***************************************************************/ | |
| 5168 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5169 | + | |
| 5170 | +"use strict"; | |
| 5171 | + | |
| 5172 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 5173 | +var descriptor = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 5174 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 5175 | +var IteratorPrototype = {}; | |
| 5176 | + | |
| 5177 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 5178 | +__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; }); | |
| 5179 | + | |
| 5180 | +module.exports = function (Constructor, NAME, next) { | |
| 5181 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 5182 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 5183 | +}; | |
| 5184 | + | |
| 5185 | + | |
| 5186 | +/***/ }), | |
| 5187 | + | |
| 5188 | +/***/ "../node_modules/core-js/library/modules/_iter-define.js": | |
| 5189 | +/*!***************************************************************!*\ | |
| 5190 | + !*** ../node_modules/core-js/library/modules/_iter-define.js ***! | |
| 5191 | + \***************************************************************/ | |
| 5192 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5193 | + | |
| 5194 | +"use strict"; | |
| 5195 | + | |
| 5196 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 5197 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 5198 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 5199 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 5200 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 5201 | +var $iterCreate = __webpack_require__(/*! ./_iter-create */ "../node_modules/core-js/library/modules/_iter-create.js"); | |
| 5202 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 5203 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 5204 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 5205 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 5206 | +var FF_ITERATOR = '@@iterator'; | |
| 5207 | +var KEYS = 'keys'; | |
| 5208 | +var VALUES = 'values'; | |
| 5209 | + | |
| 5210 | +var returnThis = function () { return this; }; | |
| 5211 | + | |
| 5212 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 5213 | + $iterCreate(Constructor, NAME, next); | |
| 5214 | + var getMethod = function (kind) { | |
| 5215 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 5216 | + switch (kind) { | |
| 5217 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 5218 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 5219 | + } return function entries() { return new Constructor(this, kind); }; | |
| 5220 | + }; | |
| 5221 | + var TAG = NAME + ' Iterator'; | |
| 5222 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 5223 | + var VALUES_BUG = false; | |
| 5224 | + var proto = Base.prototype; | |
| 5225 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 5226 | + var $default = $native || getMethod(DEFAULT); | |
| 5227 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 5228 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 5229 | + var methods, key, IteratorPrototype; | |
| 5230 | + // Fix native | |
| 5231 | + if ($anyNative) { | |
| 5232 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 5233 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 5234 | + // Set @@toStringTag to native iterators | |
| 5235 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 5236 | + // fix for some old engines | |
| 5237 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 5238 | + } | |
| 5239 | + } | |
| 5240 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 5241 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 5242 | + VALUES_BUG = true; | |
| 5243 | + $default = function values() { return $native.call(this); }; | |
| 5244 | + } | |
| 5245 | + // Define iterator | |
| 5246 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 5247 | + hide(proto, ITERATOR, $default); | |
| 5248 | + } | |
| 5249 | + // Plug for library | |
| 5250 | + Iterators[NAME] = $default; | |
| 5251 | + Iterators[TAG] = returnThis; | |
| 5252 | + if (DEFAULT) { | |
| 5253 | + methods = { | |
| 5254 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 5255 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 5256 | + entries: $entries | |
| 5257 | + }; | |
| 5258 | + if (FORCED) for (key in methods) { | |
| 5259 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 5260 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 5261 | + } | |
| 5262 | + return methods; | |
| 5263 | +}; | |
| 5264 | + | |
| 5265 | + | |
| 5266 | +/***/ }), | |
| 5267 | + | |
| 5268 | +/***/ "../node_modules/core-js/library/modules/_iter-detect.js": | |
| 5269 | +/*!***************************************************************!*\ | |
| 5270 | + !*** ../node_modules/core-js/library/modules/_iter-detect.js ***! | |
| 5271 | + \***************************************************************/ | |
| 5272 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5273 | + | |
| 5274 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 5275 | +var SAFE_CLOSING = false; | |
| 5276 | + | |
| 5277 | +try { | |
| 5278 | + var riter = [7][ITERATOR](); | |
| 5279 | + riter['return'] = function () { SAFE_CLOSING = true; }; | |
| 5280 | + // eslint-disable-next-line no-throw-literal | |
| 5281 | + Array.from(riter, function () { throw 2; }); | |
| 5282 | +} catch (e) { /* empty */ } | |
| 5283 | + | |
| 5284 | +module.exports = function (exec, skipClosing) { | |
| 5285 | + if (!skipClosing && !SAFE_CLOSING) return false; | |
| 5286 | + var safe = false; | |
| 5287 | + try { | |
| 5288 | + var arr = [7]; | |
| 5289 | + var iter = arr[ITERATOR](); | |
| 5290 | + iter.next = function () { return { done: safe = true }; }; | |
| 5291 | + arr[ITERATOR] = function () { return iter; }; | |
| 5292 | + exec(arr); | |
| 5293 | + } catch (e) { /* empty */ } | |
| 5294 | + return safe; | |
| 5295 | +}; | |
| 5296 | + | |
| 5297 | + | |
| 5298 | +/***/ }), | |
| 5299 | + | |
| 5300 | +/***/ "../node_modules/core-js/library/modules/_iter-step.js": | |
| 5301 | +/*!*************************************************************!*\ | |
| 5302 | + !*** ../node_modules/core-js/library/modules/_iter-step.js ***! | |
| 5303 | + \*************************************************************/ | |
| 5304 | +/***/ ((module) => { | |
| 5305 | + | |
| 5306 | +module.exports = function (done, value) { | |
| 5307 | + return { value: value, done: !!done }; | |
| 5308 | +}; | |
| 5309 | + | |
| 5310 | + | |
| 5311 | +/***/ }), | |
| 5312 | + | |
| 5313 | +/***/ "../node_modules/core-js/library/modules/_iterators.js": | |
| 5314 | +/*!*************************************************************!*\ | |
| 5315 | + !*** ../node_modules/core-js/library/modules/_iterators.js ***! | |
| 5316 | + \*************************************************************/ | |
| 5317 | +/***/ ((module) => { | |
| 5318 | + | |
| 5319 | +module.exports = {}; | |
| 5320 | + | |
| 5321 | + | |
| 5322 | +/***/ }), | |
| 5323 | + | |
| 5324 | +/***/ "../node_modules/core-js/library/modules/_library.js": | |
| 5325 | +/*!***********************************************************!*\ | |
| 5326 | + !*** ../node_modules/core-js/library/modules/_library.js ***! | |
| 5327 | + \***********************************************************/ | |
| 5328 | +/***/ ((module) => { | |
| 5329 | + | |
| 5330 | +module.exports = true; | |
| 5331 | + | |
| 5332 | + | |
| 5333 | +/***/ }), | |
| 5334 | + | |
| 5335 | +/***/ "../node_modules/core-js/library/modules/_meta.js": | |
| 5336 | +/*!********************************************************!*\ | |
| 5337 | + !*** ../node_modules/core-js/library/modules/_meta.js ***! | |
| 5338 | + \********************************************************/ | |
| 5339 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5340 | + | |
| 5341 | +var META = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js")('meta'); | |
| 5342 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 5343 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 5344 | +var setDesc = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 5345 | +var id = 0; | |
| 5346 | +var isExtensible = Object.isExtensible || function () { | |
| 5347 | + return true; | |
| 5348 | +}; | |
| 5349 | +var FREEZE = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 5350 | + return isExtensible(Object.preventExtensions({})); | |
| 5351 | +}); | |
| 5352 | +var setMeta = function (it) { | |
| 5353 | + setDesc(it, META, { value: { | |
| 5354 | + i: 'O' + ++id, // object ID | |
| 5355 | + w: {} // weak collections IDs | |
| 5356 | + } }); | |
| 5357 | +}; | |
| 5358 | +var fastKey = function (it, create) { | |
| 5359 | + // return primitive with prefix | |
| 5360 | + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; | |
| 5361 | + if (!has(it, META)) { | |
| 5362 | + // can't set metadata to uncaught frozen object | |
| 5363 | + if (!isExtensible(it)) return 'F'; | |
| 5364 | + // not necessary to add metadata | |
| 5365 | + if (!create) return 'E'; | |
| 5366 | + // add missing metadata | |
| 5367 | + setMeta(it); | |
| 5368 | + // return object ID | |
| 5369 | + } return it[META].i; | |
| 5370 | +}; | |
| 5371 | +var getWeak = function (it, create) { | |
| 5372 | + if (!has(it, META)) { | |
| 5373 | + // can't set metadata to uncaught frozen object | |
| 5374 | + if (!isExtensible(it)) return true; | |
| 5375 | + // not necessary to add metadata | |
| 5376 | + if (!create) return false; | |
| 5377 | + // add missing metadata | |
| 5378 | + setMeta(it); | |
| 5379 | + // return hash weak collections IDs | |
| 5380 | + } return it[META].w; | |
| 5381 | +}; | |
| 5382 | +// add metadata on freeze-family methods calling | |
| 5383 | +var onFreeze = function (it) { | |
| 5384 | + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); | |
| 5385 | + return it; | |
| 5386 | +}; | |
| 5387 | +var meta = module.exports = { | |
| 5388 | + KEY: META, | |
| 5389 | + NEED: false, | |
| 5390 | + fastKey: fastKey, | |
| 5391 | + getWeak: getWeak, | |
| 5392 | + onFreeze: onFreeze | |
| 5393 | +}; | |
| 5394 | + | |
| 5395 | + | |
| 5396 | +/***/ }), | |
| 5397 | + | |
| 5398 | +/***/ "../node_modules/core-js/library/modules/_microtask.js": | |
| 5399 | +/*!*************************************************************!*\ | |
| 5400 | + !*** ../node_modules/core-js/library/modules/_microtask.js ***! | |
| 5401 | + \*************************************************************/ | |
| 5402 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5403 | + | |
| 5404 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 5405 | +var macrotask = __webpack_require__(/*! ./_task */ "../node_modules/core-js/library/modules/_task.js").set; | |
| 5406 | +var Observer = global.MutationObserver || global.WebKitMutationObserver; | |
| 5407 | +var process = global.process; | |
| 5408 | +var Promise = global.Promise; | |
| 5409 | +var isNode = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js")(process) == 'process'; | |
| 5410 | + | |
| 5411 | +module.exports = function () { | |
| 5412 | + var head, last, notify; | |
| 5413 | + | |
| 5414 | + var flush = function () { | |
| 5415 | + var parent, fn; | |
| 5416 | + if (isNode && (parent = process.domain)) parent.exit(); | |
| 5417 | + while (head) { | |
| 5418 | + fn = head.fn; | |
| 5419 | + head = head.next; | |
| 5420 | + try { | |
| 5421 | + fn(); | |
| 5422 | + } catch (e) { | |
| 5423 | + if (head) notify(); | |
| 5424 | + else last = undefined; | |
| 5425 | + throw e; | |
| 5426 | + } | |
| 5427 | + } last = undefined; | |
| 5428 | + if (parent) parent.enter(); | |
| 5429 | + }; | |
| 5430 | + | |
| 5431 | + // Node.js | |
| 5432 | + if (isNode) { | |
| 5433 | + notify = function () { | |
| 5434 | + process.nextTick(flush); | |
| 5435 | + }; | |
| 5436 | + // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 | |
| 5437 | + } else if (Observer && !(global.navigator && global.navigator.standalone)) { | |
| 5438 | + var toggle = true; | |
| 5439 | + var node = document.createTextNode(''); | |
| 5440 | + new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new | |
| 5441 | + notify = function () { | |
| 5442 | + node.data = toggle = !toggle; | |
| 5443 | + }; | |
| 5444 | + // environments with maybe non-completely correct, but existent Promise | |
| 5445 | + } else if (Promise && Promise.resolve) { | |
| 5446 | + // Promise.resolve without an argument throws an error in LG WebOS 2 | |
| 5447 | + var promise = Promise.resolve(undefined); | |
| 5448 | + notify = function () { | |
| 5449 | + promise.then(flush); | |
| 5450 | + }; | |
| 5451 | + // for other environments - macrotask based on: | |
| 5452 | + // - setImmediate | |
| 5453 | + // - MessageChannel | |
| 5454 | + // - window.postMessag | |
| 5455 | + // - onreadystatechange | |
| 5456 | + // - setTimeout | |
| 5457 | + } else { | |
| 5458 | + notify = function () { | |
| 5459 | + // strange IE + webpack dev server bug - use .call(global) | |
| 5460 | + macrotask.call(global, flush); | |
| 5461 | + }; | |
| 5462 | + } | |
| 5463 | + | |
| 5464 | + return function (fn) { | |
| 5465 | + var task = { fn: fn, next: undefined }; | |
| 5466 | + if (last) last.next = task; | |
| 5467 | + if (!head) { | |
| 5468 | + head = task; | |
| 5469 | + notify(); | |
| 5470 | + } last = task; | |
| 5471 | + }; | |
| 5472 | +}; | |
| 5473 | + | |
| 5474 | + | |
| 5475 | +/***/ }), | |
| 5476 | + | |
| 5477 | +/***/ "../node_modules/core-js/library/modules/_new-promise-capability.js": | |
| 5478 | +/*!**************************************************************************!*\ | |
| 5479 | + !*** ../node_modules/core-js/library/modules/_new-promise-capability.js ***! | |
| 5480 | + \**************************************************************************/ | |
| 5481 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5482 | + | |
| 5483 | +"use strict"; | |
| 5484 | + | |
| 5485 | +// 25.4.1.5 NewPromiseCapability(C) | |
| 5486 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 5487 | + | |
| 5488 | +function PromiseCapability(C) { | |
| 5489 | + var resolve, reject; | |
| 5490 | + this.promise = new C(function ($$resolve, $$reject) { | |
| 5491 | + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); | |
| 5492 | + resolve = $$resolve; | |
| 5493 | + reject = $$reject; | |
| 5494 | + }); | |
| 5495 | + this.resolve = aFunction(resolve); | |
| 5496 | + this.reject = aFunction(reject); | |
| 5497 | +} | |
| 5498 | + | |
| 5499 | +module.exports.f = function (C) { | |
| 5500 | + return new PromiseCapability(C); | |
| 5501 | +}; | |
| 5502 | + | |
| 5503 | + | |
| 5504 | +/***/ }), | |
| 5505 | + | |
| 5506 | +/***/ "../node_modules/core-js/library/modules/_object-assign.js": | |
| 5507 | +/*!*****************************************************************!*\ | |
| 5508 | + !*** ../node_modules/core-js/library/modules/_object-assign.js ***! | |
| 5509 | + \*****************************************************************/ | |
| 5510 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5511 | + | |
| 5512 | +"use strict"; | |
| 5513 | + | |
| 5514 | +// 19.1.2.1 Object.assign(target, source, ...) | |
| 5515 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 5516 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 5517 | +var gOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 5518 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 5519 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 5520 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 5521 | +var $assign = Object.assign; | |
| 5522 | + | |
| 5523 | +// should work with symbols and should have deterministic property order (V8 bug) | |
| 5524 | +module.exports = !$assign || __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js")(function () { | |
| 5525 | + var A = {}; | |
| 5526 | + var B = {}; | |
| 5527 | + // eslint-disable-next-line no-undef | |
| 5528 | + var S = Symbol(); | |
| 5529 | + var K = 'abcdefghijklmnopqrst'; | |
| 5530 | + A[S] = 7; | |
| 5531 | + K.split('').forEach(function (k) { B[k] = k; }); | |
| 5532 | + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; | |
| 5533 | +}) ? function assign(target, source) { // eslint-disable-line no-unused-vars | |
| 5534 | + var T = toObject(target); | |
| 5535 | + var aLen = arguments.length; | |
| 5536 | + var index = 1; | |
| 5537 | + var getSymbols = gOPS.f; | |
| 5538 | + var isEnum = pIE.f; | |
| 5539 | + while (aLen > index) { | |
| 5540 | + var S = IObject(arguments[index++]); | |
| 5541 | + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); | |
| 5542 | + var length = keys.length; | |
| 5543 | + var j = 0; | |
| 5544 | + var key; | |
| 5545 | + while (length > j) { | |
| 5546 | + key = keys[j++]; | |
| 5547 | + if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; | |
| 5548 | + } | |
| 5549 | + } return T; | |
| 5550 | +} : $assign; | |
| 5551 | + | |
| 5552 | + | |
| 5553 | +/***/ }), | |
| 5554 | + | |
| 5555 | +/***/ "../node_modules/core-js/library/modules/_object-create.js": | |
| 5556 | +/*!*****************************************************************!*\ | |
| 5557 | + !*** ../node_modules/core-js/library/modules/_object-create.js ***! | |
| 5558 | + \*****************************************************************/ | |
| 5559 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5560 | + | |
| 5561 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 5562 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5563 | +var dPs = __webpack_require__(/*! ./_object-dps */ "../node_modules/core-js/library/modules/_object-dps.js"); | |
| 5564 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js"); | |
| 5565 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 5566 | +var Empty = function () { /* empty */ }; | |
| 5567 | +var PROTOTYPE = 'prototype'; | |
| 5568 | + | |
| 5569 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 5570 | +var createDict = function () { | |
| 5571 | + // Thrash, waste and sodomy: IE GC bug | |
| 5572 | + var iframe = __webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js")('iframe'); | |
| 5573 | + var i = enumBugKeys.length; | |
| 5574 | + var lt = '<'; | |
| 5575 | + var gt = '>'; | |
| 5576 | + var iframeDocument; | |
| 5577 | + iframe.style.display = 'none'; | |
| 5578 | + __webpack_require__(/*! ./_html */ "../node_modules/core-js/library/modules/_html.js").appendChild(iframe); | |
| 5579 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 5580 | + // createDict = iframe.contentWindow.Object; | |
| 5581 | + // html.removeChild(iframe); | |
| 5582 | + iframeDocument = iframe.contentWindow.document; | |
| 5583 | + iframeDocument.open(); | |
| 5584 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 5585 | + iframeDocument.close(); | |
| 5586 | + createDict = iframeDocument.F; | |
| 5587 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 5588 | + return createDict(); | |
| 5589 | +}; | |
| 5590 | + | |
| 5591 | +module.exports = Object.create || function create(O, Properties) { | |
| 5592 | + var result; | |
| 5593 | + if (O !== null) { | |
| 5594 | + Empty[PROTOTYPE] = anObject(O); | |
| 5595 | + result = new Empty(); | |
| 5596 | + Empty[PROTOTYPE] = null; | |
| 5597 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 5598 | + result[IE_PROTO] = O; | |
| 5599 | + } else result = createDict(); | |
| 5600 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 5601 | +}; | |
| 5602 | + | |
| 5603 | + | |
| 5604 | +/***/ }), | |
| 5605 | + | |
| 5606 | +/***/ "../node_modules/core-js/library/modules/_object-dp.js": | |
| 5607 | +/*!*************************************************************!*\ | |
| 5608 | + !*** ../node_modules/core-js/library/modules/_object-dp.js ***! | |
| 5609 | + \*************************************************************/ | |
| 5610 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 5611 | + | |
| 5612 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5613 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/library/modules/_ie8-dom-define.js"); | |
| 5614 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 5615 | +var dP = Object.defineProperty; | |
| 5616 | + | |
| 5617 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 5618 | + anObject(O); | |
| 5619 | + P = toPrimitive(P, true); | |
| 5620 | + anObject(Attributes); | |
| 5621 | + if (IE8_DOM_DEFINE) try { | |
| 5622 | + return dP(O, P, Attributes); | |
| 5623 | + } catch (e) { /* empty */ } | |
| 5624 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 5625 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 5626 | + return O; | |
| 5627 | +}; | |
| 5628 | + | |
| 5629 | + | |
| 5630 | +/***/ }), | |
| 5631 | + | |
| 5632 | +/***/ "../node_modules/core-js/library/modules/_object-dps.js": | |
| 5633 | +/*!**************************************************************!*\ | |
| 5634 | + !*** ../node_modules/core-js/library/modules/_object-dps.js ***! | |
| 5635 | + \**************************************************************/ | |
| 5636 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5637 | + | |
| 5638 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 5639 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5640 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 5641 | + | |
| 5642 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 5643 | + anObject(O); | |
| 5644 | + var keys = getKeys(Properties); | |
| 5645 | + var length = keys.length; | |
| 5646 | + var i = 0; | |
| 5647 | + var P; | |
| 5648 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 5649 | + return O; | |
| 5650 | +}; | |
| 5651 | + | |
| 5652 | + | |
| 5653 | +/***/ }), | |
| 5654 | + | |
| 5655 | +/***/ "../node_modules/core-js/library/modules/_object-gopd.js": | |
| 5656 | +/*!***************************************************************!*\ | |
| 5657 | + !*** ../node_modules/core-js/library/modules/_object-gopd.js ***! | |
| 5658 | + \***************************************************************/ | |
| 5659 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 5660 | + | |
| 5661 | +var pIE = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js"); | |
| 5662 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 5663 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 5664 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 5665 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 5666 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/library/modules/_ie8-dom-define.js"); | |
| 5667 | +var gOPD = Object.getOwnPropertyDescriptor; | |
| 5668 | + | |
| 5669 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js") ? gOPD : function getOwnPropertyDescriptor(O, P) { | |
| 5670 | + O = toIObject(O); | |
| 5671 | + P = toPrimitive(P, true); | |
| 5672 | + if (IE8_DOM_DEFINE) try { | |
| 5673 | + return gOPD(O, P); | |
| 5674 | + } catch (e) { /* empty */ } | |
| 5675 | + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); | |
| 5676 | +}; | |
| 5677 | + | |
| 5678 | + | |
| 5679 | +/***/ }), | |
| 5680 | + | |
| 5681 | +/***/ "../node_modules/core-js/library/modules/_object-gopn-ext.js": | |
| 5682 | +/*!*******************************************************************!*\ | |
| 5683 | + !*** ../node_modules/core-js/library/modules/_object-gopn-ext.js ***! | |
| 5684 | + \*******************************************************************/ | |
| 5685 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5686 | + | |
| 5687 | +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window | |
| 5688 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 5689 | +var gOPN = __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js").f; | |
| 5690 | +var toString = {}.toString; | |
| 5691 | + | |
| 5692 | +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames | |
| 5693 | + ? Object.getOwnPropertyNames(window) : []; | |
| 5694 | + | |
| 5695 | +var getWindowNames = function (it) { | |
| 5696 | + try { | |
| 5697 | + return gOPN(it); | |
| 5698 | + } catch (e) { | |
| 5699 | + return windowNames.slice(); | |
| 5700 | + } | |
| 5701 | +}; | |
| 5702 | + | |
| 5703 | +module.exports.f = function getOwnPropertyNames(it) { | |
| 5704 | + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); | |
| 5705 | +}; | |
| 5706 | + | |
| 5707 | + | |
| 5708 | +/***/ }), | |
| 5709 | + | |
| 5710 | +/***/ "../node_modules/core-js/library/modules/_object-gopn.js": | |
| 5711 | +/*!***************************************************************!*\ | |
| 5712 | + !*** ../node_modules/core-js/library/modules/_object-gopn.js ***! | |
| 5713 | + \***************************************************************/ | |
| 5714 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 5715 | + | |
| 5716 | +// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) | |
| 5717 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/library/modules/_object-keys-internal.js"); | |
| 5718 | +var hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js").concat('length', 'prototype'); | |
| 5719 | + | |
| 5720 | +exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { | |
| 5721 | + return $keys(O, hiddenKeys); | |
| 5722 | +}; | |
| 5723 | + | |
| 5724 | + | |
| 5725 | +/***/ }), | |
| 5726 | + | |
| 5727 | +/***/ "../node_modules/core-js/library/modules/_object-gops.js": | |
| 5728 | +/*!***************************************************************!*\ | |
| 5729 | + !*** ../node_modules/core-js/library/modules/_object-gops.js ***! | |
| 5730 | + \***************************************************************/ | |
| 5731 | +/***/ ((__unused_webpack_module, exports) => { | |
| 5732 | + | |
| 5733 | +exports.f = Object.getOwnPropertySymbols; | |
| 5734 | + | |
| 5735 | + | |
| 5736 | +/***/ }), | |
| 5737 | + | |
| 5738 | +/***/ "../node_modules/core-js/library/modules/_object-gpo.js": | |
| 5739 | +/*!**************************************************************!*\ | |
| 5740 | + !*** ../node_modules/core-js/library/modules/_object-gpo.js ***! | |
| 5741 | + \**************************************************************/ | |
| 5742 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5743 | + | |
| 5744 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 5745 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 5746 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 5747 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 5748 | +var ObjectProto = Object.prototype; | |
| 5749 | + | |
| 5750 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 5751 | + O = toObject(O); | |
| 5752 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 5753 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 5754 | + return O.constructor.prototype; | |
| 5755 | + } return O instanceof Object ? ObjectProto : null; | |
| 5756 | +}; | |
| 5757 | + | |
| 5758 | + | |
| 5759 | +/***/ }), | |
| 5760 | + | |
| 5761 | +/***/ "../node_modules/core-js/library/modules/_object-keys-internal.js": | |
| 5762 | +/*!************************************************************************!*\ | |
| 5763 | + !*** ../node_modules/core-js/library/modules/_object-keys-internal.js ***! | |
| 5764 | + \************************************************************************/ | |
| 5765 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5766 | + | |
| 5767 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 5768 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 5769 | +var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "../node_modules/core-js/library/modules/_array-includes.js")(false); | |
| 5770 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/library/modules/_shared-key.js")('IE_PROTO'); | |
| 5771 | + | |
| 5772 | +module.exports = function (object, names) { | |
| 5773 | + var O = toIObject(object); | |
| 5774 | + var i = 0; | |
| 5775 | + var result = []; | |
| 5776 | + var key; | |
| 5777 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 5778 | + // Don't enum bug & hidden keys | |
| 5779 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 5780 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 5781 | + } | |
| 5782 | + return result; | |
| 5783 | +}; | |
| 5784 | + | |
| 5785 | + | |
| 5786 | +/***/ }), | |
| 5787 | + | |
| 5788 | +/***/ "../node_modules/core-js/library/modules/_object-keys.js": | |
| 5789 | +/*!***************************************************************!*\ | |
| 5790 | + !*** ../node_modules/core-js/library/modules/_object-keys.js ***! | |
| 5791 | + \***************************************************************/ | |
| 5792 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5793 | + | |
| 5794 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 5795 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/library/modules/_object-keys-internal.js"); | |
| 5796 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/library/modules/_enum-bug-keys.js"); | |
| 5797 | + | |
| 5798 | +module.exports = Object.keys || function keys(O) { | |
| 5799 | + return $keys(O, enumBugKeys); | |
| 5800 | +}; | |
| 5801 | + | |
| 5802 | + | |
| 5803 | +/***/ }), | |
| 5804 | + | |
| 5805 | +/***/ "../node_modules/core-js/library/modules/_object-pie.js": | |
| 5806 | +/*!**************************************************************!*\ | |
| 5807 | + !*** ../node_modules/core-js/library/modules/_object-pie.js ***! | |
| 5808 | + \**************************************************************/ | |
| 5809 | +/***/ ((__unused_webpack_module, exports) => { | |
| 5810 | + | |
| 5811 | +exports.f = {}.propertyIsEnumerable; | |
| 5812 | + | |
| 5813 | + | |
| 5814 | +/***/ }), | |
| 5815 | + | |
| 5816 | +/***/ "../node_modules/core-js/library/modules/_object-sap.js": | |
| 5817 | +/*!**************************************************************!*\ | |
| 5818 | + !*** ../node_modules/core-js/library/modules/_object-sap.js ***! | |
| 5819 | + \**************************************************************/ | |
| 5820 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5821 | + | |
| 5822 | +// most Object methods by ES6 should accept primitives | |
| 5823 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 5824 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 5825 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 5826 | +module.exports = function (KEY, exec) { | |
| 5827 | + var fn = (core.Object || {})[KEY] || Object[KEY]; | |
| 5828 | + var exp = {}; | |
| 5829 | + exp[KEY] = exec(fn); | |
| 5830 | + $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); | |
| 5831 | +}; | |
| 5832 | + | |
| 5833 | + | |
| 5834 | +/***/ }), | |
| 5835 | + | |
| 5836 | +/***/ "../node_modules/core-js/library/modules/_object-to-array.js": | |
| 5837 | +/*!*******************************************************************!*\ | |
| 5838 | + !*** ../node_modules/core-js/library/modules/_object-to-array.js ***! | |
| 5839 | + \*******************************************************************/ | |
| 5840 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5841 | + | |
| 5842 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 5843 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 5844 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 5845 | +var isEnum = __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js").f; | |
| 5846 | +module.exports = function (isEntries) { | |
| 5847 | + return function (it) { | |
| 5848 | + var O = toIObject(it); | |
| 5849 | + var keys = getKeys(O); | |
| 5850 | + var length = keys.length; | |
| 5851 | + var i = 0; | |
| 5852 | + var result = []; | |
| 5853 | + var key; | |
| 5854 | + while (length > i) { | |
| 5855 | + key = keys[i++]; | |
| 5856 | + if (!DESCRIPTORS || isEnum.call(O, key)) { | |
| 5857 | + result.push(isEntries ? [key, O[key]] : O[key]); | |
| 5858 | + } | |
| 5859 | + } | |
| 5860 | + return result; | |
| 5861 | + }; | |
| 5862 | +}; | |
| 5863 | + | |
| 5864 | + | |
| 5865 | +/***/ }), | |
| 5866 | + | |
| 5867 | +/***/ "../node_modules/core-js/library/modules/_own-keys.js": | |
| 5868 | +/*!************************************************************!*\ | |
| 5869 | + !*** ../node_modules/core-js/library/modules/_own-keys.js ***! | |
| 5870 | + \************************************************************/ | |
| 5871 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5872 | + | |
| 5873 | +// all object keys, includes non-enumerable and symbols | |
| 5874 | +var gOPN = __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js"); | |
| 5875 | +var gOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 5876 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5877 | +var Reflect = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Reflect; | |
| 5878 | +module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { | |
| 5879 | + var keys = gOPN.f(anObject(it)); | |
| 5880 | + var getSymbols = gOPS.f; | |
| 5881 | + return getSymbols ? keys.concat(getSymbols(it)) : keys; | |
| 5882 | +}; | |
| 5883 | + | |
| 5884 | + | |
| 5885 | +/***/ }), | |
| 5886 | + | |
| 5887 | +/***/ "../node_modules/core-js/library/modules/_perform.js": | |
| 5888 | +/*!***********************************************************!*\ | |
| 5889 | + !*** ../node_modules/core-js/library/modules/_perform.js ***! | |
| 5890 | + \***********************************************************/ | |
| 5891 | +/***/ ((module) => { | |
| 5892 | + | |
| 5893 | +module.exports = function (exec) { | |
| 5894 | + try { | |
| 5895 | + return { e: false, v: exec() }; | |
| 5896 | + } catch (e) { | |
| 5897 | + return { e: true, v: e }; | |
| 5898 | + } | |
| 5899 | +}; | |
| 5900 | + | |
| 5901 | + | |
| 5902 | +/***/ }), | |
| 5903 | + | |
| 5904 | +/***/ "../node_modules/core-js/library/modules/_promise-resolve.js": | |
| 5905 | +/*!*******************************************************************!*\ | |
| 5906 | + !*** ../node_modules/core-js/library/modules/_promise-resolve.js ***! | |
| 5907 | + \*******************************************************************/ | |
| 5908 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5909 | + | |
| 5910 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 5911 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 5912 | +var newPromiseCapability = __webpack_require__(/*! ./_new-promise-capability */ "../node_modules/core-js/library/modules/_new-promise-capability.js"); | |
| 5913 | + | |
| 5914 | +module.exports = function (C, x) { | |
| 5915 | + anObject(C); | |
| 5916 | + if (isObject(x) && x.constructor === C) return x; | |
| 5917 | + var promiseCapability = newPromiseCapability.f(C); | |
| 5918 | + var resolve = promiseCapability.resolve; | |
| 5919 | + resolve(x); | |
| 5920 | + return promiseCapability.promise; | |
| 5921 | +}; | |
| 5922 | + | |
| 5923 | + | |
| 5924 | +/***/ }), | |
| 5925 | + | |
| 5926 | +/***/ "../node_modules/core-js/library/modules/_property-desc.js": | |
| 5927 | +/*!*****************************************************************!*\ | |
| 5928 | + !*** ../node_modules/core-js/library/modules/_property-desc.js ***! | |
| 5929 | + \*****************************************************************/ | |
| 5930 | +/***/ ((module) => { | |
| 5931 | + | |
| 5932 | +module.exports = function (bitmap, value) { | |
| 5933 | + return { | |
| 5934 | + enumerable: !(bitmap & 1), | |
| 5935 | + configurable: !(bitmap & 2), | |
| 5936 | + writable: !(bitmap & 4), | |
| 5937 | + value: value | |
| 5938 | + }; | |
| 5939 | +}; | |
| 5940 | + | |
| 5941 | + | |
| 5942 | +/***/ }), | |
| 5943 | + | |
| 5944 | +/***/ "../node_modules/core-js/library/modules/_redefine-all.js": | |
| 5945 | +/*!****************************************************************!*\ | |
| 5946 | + !*** ../node_modules/core-js/library/modules/_redefine-all.js ***! | |
| 5947 | + \****************************************************************/ | |
| 5948 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5949 | + | |
| 5950 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 5951 | +module.exports = function (target, src, safe) { | |
| 5952 | + for (var key in src) { | |
| 5953 | + if (safe && target[key]) target[key] = src[key]; | |
| 5954 | + else hide(target, key, src[key]); | |
| 5955 | + } return target; | |
| 5956 | +}; | |
| 5957 | + | |
| 5958 | + | |
| 5959 | +/***/ }), | |
| 5960 | + | |
| 5961 | +/***/ "../node_modules/core-js/library/modules/_redefine.js": | |
| 5962 | +/*!************************************************************!*\ | |
| 5963 | + !*** ../node_modules/core-js/library/modules/_redefine.js ***! | |
| 5964 | + \************************************************************/ | |
| 5965 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5966 | + | |
| 5967 | +module.exports = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 5968 | + | |
| 5969 | + | |
| 5970 | +/***/ }), | |
| 5971 | + | |
| 5972 | +/***/ "../node_modules/core-js/library/modules/_set-collection-from.js": | |
| 5973 | +/*!***********************************************************************!*\ | |
| 5974 | + !*** ../node_modules/core-js/library/modules/_set-collection-from.js ***! | |
| 5975 | + \***********************************************************************/ | |
| 5976 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 5977 | + | |
| 5978 | +"use strict"; | |
| 5979 | + | |
| 5980 | +// https://tc39.github.io/proposal-setmap-offrom/ | |
| 5981 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 5982 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 5983 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 5984 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 5985 | + | |
| 5986 | +module.exports = function (COLLECTION) { | |
| 5987 | + $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { | |
| 5988 | + var mapFn = arguments[1]; | |
| 5989 | + var mapping, A, n, cb; | |
| 5990 | + aFunction(this); | |
| 5991 | + mapping = mapFn !== undefined; | |
| 5992 | + if (mapping) aFunction(mapFn); | |
| 5993 | + if (source == undefined) return new this(); | |
| 5994 | + A = []; | |
| 5995 | + if (mapping) { | |
| 5996 | + n = 0; | |
| 5997 | + cb = ctx(mapFn, arguments[2], 2); | |
| 5998 | + forOf(source, false, function (nextItem) { | |
| 5999 | + A.push(cb(nextItem, n++)); | |
| 6000 | + }); | |
| 6001 | + } else { | |
| 6002 | + forOf(source, false, A.push, A); | |
| 6003 | + } | |
| 6004 | + return new this(A); | |
| 6005 | + } }); | |
| 6006 | +}; | |
| 6007 | + | |
| 6008 | + | |
| 6009 | +/***/ }), | |
| 6010 | + | |
| 6011 | +/***/ "../node_modules/core-js/library/modules/_set-collection-of.js": | |
| 6012 | +/*!*********************************************************************!*\ | |
| 6013 | + !*** ../node_modules/core-js/library/modules/_set-collection-of.js ***! | |
| 6014 | + \*********************************************************************/ | |
| 6015 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6016 | + | |
| 6017 | +"use strict"; | |
| 6018 | + | |
| 6019 | +// https://tc39.github.io/proposal-setmap-offrom/ | |
| 6020 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6021 | + | |
| 6022 | +module.exports = function (COLLECTION) { | |
| 6023 | + $export($export.S, COLLECTION, { of: function of() { | |
| 6024 | + var length = arguments.length; | |
| 6025 | + var A = new Array(length); | |
| 6026 | + while (length--) A[length] = arguments[length]; | |
| 6027 | + return new this(A); | |
| 6028 | + } }); | |
| 6029 | +}; | |
| 6030 | + | |
| 6031 | + | |
| 6032 | +/***/ }), | |
| 6033 | + | |
| 6034 | +/***/ "../node_modules/core-js/library/modules/_set-proto.js": | |
| 6035 | +/*!*************************************************************!*\ | |
| 6036 | + !*** ../node_modules/core-js/library/modules/_set-proto.js ***! | |
| 6037 | + \*************************************************************/ | |
| 6038 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6039 | + | |
| 6040 | +// Works with __proto__ only. Old v8 can't work with null proto objects. | |
| 6041 | +/* eslint-disable no-proto */ | |
| 6042 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6043 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 6044 | +var check = function (O, proto) { | |
| 6045 | + anObject(O); | |
| 6046 | + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); | |
| 6047 | +}; | |
| 6048 | +module.exports = { | |
| 6049 | + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line | |
| 6050 | + function (test, buggy, set) { | |
| 6051 | + try { | |
| 6052 | + 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); | |
| 6053 | + set(test, []); | |
| 6054 | + buggy = !(test instanceof Array); | |
| 6055 | + } catch (e) { buggy = true; } | |
| 6056 | + return function setPrototypeOf(O, proto) { | |
| 6057 | + check(O, proto); | |
| 6058 | + if (buggy) O.__proto__ = proto; | |
| 6059 | + else set(O, proto); | |
| 6060 | + return O; | |
| 6061 | + }; | |
| 6062 | + }({}, false) : undefined), | |
| 6063 | + check: check | |
| 6064 | +}; | |
| 6065 | + | |
| 6066 | + | |
| 6067 | +/***/ }), | |
| 6068 | + | |
| 6069 | +/***/ "../node_modules/core-js/library/modules/_set-species.js": | |
| 6070 | +/*!***************************************************************!*\ | |
| 6071 | + !*** ../node_modules/core-js/library/modules/_set-species.js ***! | |
| 6072 | + \***************************************************************/ | |
| 6073 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6074 | + | |
| 6075 | +"use strict"; | |
| 6076 | + | |
| 6077 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6078 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 6079 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 6080 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 6081 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species'); | |
| 6082 | + | |
| 6083 | +module.exports = function (KEY) { | |
| 6084 | + var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY]; | |
| 6085 | + if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { | |
| 6086 | + configurable: true, | |
| 6087 | + get: function () { return this; } | |
| 6088 | + }); | |
| 6089 | +}; | |
| 6090 | + | |
| 6091 | + | |
| 6092 | +/***/ }), | |
| 6093 | + | |
| 6094 | +/***/ "../node_modules/core-js/library/modules/_set-to-string-tag.js": | |
| 6095 | +/*!*********************************************************************!*\ | |
| 6096 | + !*** ../node_modules/core-js/library/modules/_set-to-string-tag.js ***! | |
| 6097 | + \*********************************************************************/ | |
| 6098 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6099 | + | |
| 6100 | +var def = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 6101 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 6102 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 6103 | + | |
| 6104 | +module.exports = function (it, tag, stat) { | |
| 6105 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 6106 | +}; | |
| 6107 | + | |
| 6108 | + | |
| 6109 | +/***/ }), | |
| 6110 | + | |
| 6111 | +/***/ "../node_modules/core-js/library/modules/_shared-key.js": | |
| 6112 | +/*!**************************************************************!*\ | |
| 6113 | + !*** ../node_modules/core-js/library/modules/_shared-key.js ***! | |
| 6114 | + \**************************************************************/ | |
| 6115 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6116 | + | |
| 6117 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js")('keys'); | |
| 6118 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 6119 | +module.exports = function (key) { | |
| 6120 | + return shared[key] || (shared[key] = uid(key)); | |
| 6121 | +}; | |
| 6122 | + | |
| 6123 | + | |
| 6124 | +/***/ }), | |
| 6125 | + | |
| 6126 | +/***/ "../node_modules/core-js/library/modules/_shared.js": | |
| 6127 | +/*!**********************************************************!*\ | |
| 6128 | + !*** ../node_modules/core-js/library/modules/_shared.js ***! | |
| 6129 | + \**********************************************************/ | |
| 6130 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6131 | + | |
| 6132 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 6133 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6134 | +var SHARED = '__core-js_shared__'; | |
| 6135 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 6136 | + | |
| 6137 | +(module.exports = function (key, value) { | |
| 6138 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 6139 | +})('versions', []).push({ | |
| 6140 | + version: core.version, | |
| 6141 | + mode: __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js") ? 'pure' : 'global', | |
| 6142 | + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' | |
| 6143 | +}); | |
| 6144 | + | |
| 6145 | + | |
| 6146 | +/***/ }), | |
| 6147 | + | |
| 6148 | +/***/ "../node_modules/core-js/library/modules/_species-constructor.js": | |
| 6149 | +/*!***********************************************************************!*\ | |
| 6150 | + !*** ../node_modules/core-js/library/modules/_species-constructor.js ***! | |
| 6151 | + \***********************************************************************/ | |
| 6152 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6153 | + | |
| 6154 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 6155 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 6156 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 6157 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species'); | |
| 6158 | +module.exports = function (O, D) { | |
| 6159 | + var C = anObject(O).constructor; | |
| 6160 | + var S; | |
| 6161 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 6162 | +}; | |
| 6163 | + | |
| 6164 | + | |
| 6165 | +/***/ }), | |
| 6166 | + | |
| 6167 | +/***/ "../node_modules/core-js/library/modules/_string-at.js": | |
| 6168 | +/*!*************************************************************!*\ | |
| 6169 | + !*** ../node_modules/core-js/library/modules/_string-at.js ***! | |
| 6170 | + \*************************************************************/ | |
| 6171 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6172 | + | |
| 6173 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 6174 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 6175 | +// true -> String#at | |
| 6176 | +// false -> String#codePointAt | |
| 6177 | +module.exports = function (TO_STRING) { | |
| 6178 | + return function (that, pos) { | |
| 6179 | + var s = String(defined(that)); | |
| 6180 | + var i = toInteger(pos); | |
| 6181 | + var l = s.length; | |
| 6182 | + var a, b; | |
| 6183 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 6184 | + a = s.charCodeAt(i); | |
| 6185 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 6186 | + ? TO_STRING ? s.charAt(i) : a | |
| 6187 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 6188 | + }; | |
| 6189 | +}; | |
| 6190 | + | |
| 6191 | + | |
| 6192 | +/***/ }), | |
| 6193 | + | |
| 6194 | +/***/ "../node_modules/core-js/library/modules/_task.js": | |
| 6195 | +/*!********************************************************!*\ | |
| 6196 | + !*** ../node_modules/core-js/library/modules/_task.js ***! | |
| 6197 | + \********************************************************/ | |
| 6198 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6199 | + | |
| 6200 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 6201 | +var invoke = __webpack_require__(/*! ./_invoke */ "../node_modules/core-js/library/modules/_invoke.js"); | |
| 6202 | +var html = __webpack_require__(/*! ./_html */ "../node_modules/core-js/library/modules/_html.js"); | |
| 6203 | +var cel = __webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/library/modules/_dom-create.js"); | |
| 6204 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6205 | +var process = global.process; | |
| 6206 | +var setTask = global.setImmediate; | |
| 6207 | +var clearTask = global.clearImmediate; | |
| 6208 | +var MessageChannel = global.MessageChannel; | |
| 6209 | +var Dispatch = global.Dispatch; | |
| 6210 | +var counter = 0; | |
| 6211 | +var queue = {}; | |
| 6212 | +var ONREADYSTATECHANGE = 'onreadystatechange'; | |
| 6213 | +var defer, channel, port; | |
| 6214 | +var run = function () { | |
| 6215 | + var id = +this; | |
| 6216 | + // eslint-disable-next-line no-prototype-builtins | |
| 6217 | + if (queue.hasOwnProperty(id)) { | |
| 6218 | + var fn = queue[id]; | |
| 6219 | + delete queue[id]; | |
| 6220 | + fn(); | |
| 6221 | + } | |
| 6222 | +}; | |
| 6223 | +var listener = function (event) { | |
| 6224 | + run.call(event.data); | |
| 6225 | +}; | |
| 6226 | +// Node.js 0.9+ & IE10+ has setImmediate, otherwise: | |
| 6227 | +if (!setTask || !clearTask) { | |
| 6228 | + setTask = function setImmediate(fn) { | |
| 6229 | + var args = []; | |
| 6230 | + var i = 1; | |
| 6231 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 6232 | + queue[++counter] = function () { | |
| 6233 | + // eslint-disable-next-line no-new-func | |
| 6234 | + invoke(typeof fn == 'function' ? fn : Function(fn), args); | |
| 6235 | + }; | |
| 6236 | + defer(counter); | |
| 6237 | + return counter; | |
| 6238 | + }; | |
| 6239 | + clearTask = function clearImmediate(id) { | |
| 6240 | + delete queue[id]; | |
| 6241 | + }; | |
| 6242 | + // Node.js 0.8- | |
| 6243 | + if (__webpack_require__(/*! ./_cof */ "../node_modules/core-js/library/modules/_cof.js")(process) == 'process') { | |
| 6244 | + defer = function (id) { | |
| 6245 | + process.nextTick(ctx(run, id, 1)); | |
| 6246 | + }; | |
| 6247 | + // Sphere (JS game engine) Dispatch API | |
| 6248 | + } else if (Dispatch && Dispatch.now) { | |
| 6249 | + defer = function (id) { | |
| 6250 | + Dispatch.now(ctx(run, id, 1)); | |
| 6251 | + }; | |
| 6252 | + // Browsers with MessageChannel, includes WebWorkers | |
| 6253 | + } else if (MessageChannel) { | |
| 6254 | + channel = new MessageChannel(); | |
| 6255 | + port = channel.port2; | |
| 6256 | + channel.port1.onmessage = listener; | |
| 6257 | + defer = ctx(port.postMessage, port, 1); | |
| 6258 | + // Browsers with postMessage, skip WebWorkers | |
| 6259 | + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' | |
| 6260 | + } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { | |
| 6261 | + defer = function (id) { | |
| 6262 | + global.postMessage(id + '', '*'); | |
| 6263 | + }; | |
| 6264 | + global.addEventListener('message', listener, false); | |
| 6265 | + // IE8- | |
| 6266 | + } else if (ONREADYSTATECHANGE in cel('script')) { | |
| 6267 | + defer = function (id) { | |
| 6268 | + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { | |
| 6269 | + html.removeChild(this); | |
| 6270 | + run.call(id); | |
| 6271 | + }; | |
| 6272 | + }; | |
| 6273 | + // Rest old browsers | |
| 6274 | + } else { | |
| 6275 | + defer = function (id) { | |
| 6276 | + setTimeout(ctx(run, id, 1), 0); | |
| 6277 | + }; | |
| 6278 | + } | |
| 6279 | +} | |
| 6280 | +module.exports = { | |
| 6281 | + set: setTask, | |
| 6282 | + clear: clearTask | |
| 6283 | +}; | |
| 6284 | + | |
| 6285 | + | |
| 6286 | +/***/ }), | |
| 6287 | + | |
| 6288 | +/***/ "../node_modules/core-js/library/modules/_to-absolute-index.js": | |
| 6289 | +/*!*********************************************************************!*\ | |
| 6290 | + !*** ../node_modules/core-js/library/modules/_to-absolute-index.js ***! | |
| 6291 | + \*********************************************************************/ | |
| 6292 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6293 | + | |
| 6294 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 6295 | +var max = Math.max; | |
| 6296 | +var min = Math.min; | |
| 6297 | +module.exports = function (index, length) { | |
| 6298 | + index = toInteger(index); | |
| 6299 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 6300 | +}; | |
| 6301 | + | |
| 6302 | + | |
| 6303 | +/***/ }), | |
| 6304 | + | |
| 6305 | +/***/ "../node_modules/core-js/library/modules/_to-integer.js": | |
| 6306 | +/*!**************************************************************!*\ | |
| 6307 | + !*** ../node_modules/core-js/library/modules/_to-integer.js ***! | |
| 6308 | + \**************************************************************/ | |
| 6309 | +/***/ ((module) => { | |
| 6310 | + | |
| 6311 | +// 7.1.4 ToInteger | |
| 6312 | +var ceil = Math.ceil; | |
| 6313 | +var floor = Math.floor; | |
| 6314 | +module.exports = function (it) { | |
| 6315 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 6316 | +}; | |
| 6317 | + | |
| 6318 | + | |
| 6319 | +/***/ }), | |
| 6320 | + | |
| 6321 | +/***/ "../node_modules/core-js/library/modules/_to-iobject.js": | |
| 6322 | +/*!**************************************************************!*\ | |
| 6323 | + !*** ../node_modules/core-js/library/modules/_to-iobject.js ***! | |
| 6324 | + \**************************************************************/ | |
| 6325 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6326 | + | |
| 6327 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 6328 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/library/modules/_iobject.js"); | |
| 6329 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 6330 | +module.exports = function (it) { | |
| 6331 | + return IObject(defined(it)); | |
| 6332 | +}; | |
| 6333 | + | |
| 6334 | + | |
| 6335 | +/***/ }), | |
| 6336 | + | |
| 6337 | +/***/ "../node_modules/core-js/library/modules/_to-length.js": | |
| 6338 | +/*!*************************************************************!*\ | |
| 6339 | + !*** ../node_modules/core-js/library/modules/_to-length.js ***! | |
| 6340 | + \*************************************************************/ | |
| 6341 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6342 | + | |
| 6343 | +// 7.1.15 ToLength | |
| 6344 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/library/modules/_to-integer.js"); | |
| 6345 | +var min = Math.min; | |
| 6346 | +module.exports = function (it) { | |
| 6347 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 6348 | +}; | |
| 6349 | + | |
| 6350 | + | |
| 6351 | +/***/ }), | |
| 6352 | + | |
| 6353 | +/***/ "../node_modules/core-js/library/modules/_to-object.js": | |
| 6354 | +/*!*************************************************************!*\ | |
| 6355 | + !*** ../node_modules/core-js/library/modules/_to-object.js ***! | |
| 6356 | + \*************************************************************/ | |
| 6357 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6358 | + | |
| 6359 | +// 7.1.13 ToObject(argument) | |
| 6360 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/library/modules/_defined.js"); | |
| 6361 | +module.exports = function (it) { | |
| 6362 | + return Object(defined(it)); | |
| 6363 | +}; | |
| 6364 | + | |
| 6365 | + | |
| 6366 | +/***/ }), | |
| 6367 | + | |
| 6368 | +/***/ "../node_modules/core-js/library/modules/_to-primitive.js": | |
| 6369 | +/*!****************************************************************!*\ | |
| 6370 | + !*** ../node_modules/core-js/library/modules/_to-primitive.js ***! | |
| 6371 | + \****************************************************************/ | |
| 6372 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6373 | + | |
| 6374 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 6375 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6376 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 6377 | +// and the second argument - flag - preferred type is a string | |
| 6378 | +module.exports = function (it, S) { | |
| 6379 | + if (!isObject(it)) return it; | |
| 6380 | + var fn, val; | |
| 6381 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 6382 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 6383 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 6384 | + throw TypeError("Can't convert object to primitive value"); | |
| 6385 | +}; | |
| 6386 | + | |
| 6387 | + | |
| 6388 | +/***/ }), | |
| 6389 | + | |
| 6390 | +/***/ "../node_modules/core-js/library/modules/_uid.js": | |
| 6391 | +/*!*******************************************************!*\ | |
| 6392 | + !*** ../node_modules/core-js/library/modules/_uid.js ***! | |
| 6393 | + \*******************************************************/ | |
| 6394 | +/***/ ((module) => { | |
| 6395 | + | |
| 6396 | +var id = 0; | |
| 6397 | +var px = Math.random(); | |
| 6398 | +module.exports = function (key) { | |
| 6399 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 6400 | +}; | |
| 6401 | + | |
| 6402 | + | |
| 6403 | +/***/ }), | |
| 6404 | + | |
| 6405 | +/***/ "../node_modules/core-js/library/modules/_user-agent.js": | |
| 6406 | +/*!**************************************************************!*\ | |
| 6407 | + !*** ../node_modules/core-js/library/modules/_user-agent.js ***! | |
| 6408 | + \**************************************************************/ | |
| 6409 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6410 | + | |
| 6411 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6412 | +var navigator = global.navigator; | |
| 6413 | + | |
| 6414 | +module.exports = navigator && navigator.userAgent || ''; | |
| 6415 | + | |
| 6416 | + | |
| 6417 | +/***/ }), | |
| 6418 | + | |
| 6419 | +/***/ "../node_modules/core-js/library/modules/_validate-collection.js": | |
| 6420 | +/*!***********************************************************************!*\ | |
| 6421 | + !*** ../node_modules/core-js/library/modules/_validate-collection.js ***! | |
| 6422 | + \***********************************************************************/ | |
| 6423 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6424 | + | |
| 6425 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6426 | +module.exports = function (it, TYPE) { | |
| 6427 | + if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); | |
| 6428 | + return it; | |
| 6429 | +}; | |
| 6430 | + | |
| 6431 | + | |
| 6432 | +/***/ }), | |
| 6433 | + | |
| 6434 | +/***/ "../node_modules/core-js/library/modules/_wks-define.js": | |
| 6435 | +/*!**************************************************************!*\ | |
| 6436 | + !*** ../node_modules/core-js/library/modules/_wks-define.js ***! | |
| 6437 | + \**************************************************************/ | |
| 6438 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6439 | + | |
| 6440 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6441 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 6442 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 6443 | +var wksExt = __webpack_require__(/*! ./_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js"); | |
| 6444 | +var defineProperty = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js").f; | |
| 6445 | +module.exports = function (name) { | |
| 6446 | + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); | |
| 6447 | + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); | |
| 6448 | +}; | |
| 6449 | + | |
| 6450 | + | |
| 6451 | +/***/ }), | |
| 6452 | + | |
| 6453 | +/***/ "../node_modules/core-js/library/modules/_wks-ext.js": | |
| 6454 | +/*!***********************************************************!*\ | |
| 6455 | + !*** ../node_modules/core-js/library/modules/_wks-ext.js ***! | |
| 6456 | + \***********************************************************/ | |
| 6457 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 6458 | + | |
| 6459 | +exports.f = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js"); | |
| 6460 | + | |
| 6461 | + | |
| 6462 | +/***/ }), | |
| 6463 | + | |
| 6464 | +/***/ "../node_modules/core-js/library/modules/_wks.js": | |
| 6465 | +/*!*******************************************************!*\ | |
| 6466 | + !*** ../node_modules/core-js/library/modules/_wks.js ***! | |
| 6467 | + \*******************************************************/ | |
| 6468 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6469 | + | |
| 6470 | +var store = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js")('wks'); | |
| 6471 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 6472 | +var Symbol = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Symbol; | |
| 6473 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 6474 | + | |
| 6475 | +var $exports = module.exports = function (name) { | |
| 6476 | + return store[name] || (store[name] = | |
| 6477 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 6478 | +}; | |
| 6479 | + | |
| 6480 | +$exports.store = store; | |
| 6481 | + | |
| 6482 | + | |
| 6483 | +/***/ }), | |
| 6484 | + | |
| 6485 | +/***/ "../node_modules/core-js/library/modules/core.get-iterator-method.js": | |
| 6486 | +/*!***************************************************************************!*\ | |
| 6487 | + !*** ../node_modules/core-js/library/modules/core.get-iterator-method.js ***! | |
| 6488 | + \***************************************************************************/ | |
| 6489 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6490 | + | |
| 6491 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/library/modules/_classof.js"); | |
| 6492 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('iterator'); | |
| 6493 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 6494 | +module.exports = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js").getIteratorMethod = function (it) { | |
| 6495 | + if (it != undefined) return it[ITERATOR] | |
| 6496 | + || it['@@iterator'] | |
| 6497 | + || Iterators[classof(it)]; | |
| 6498 | +}; | |
| 6499 | + | |
| 6500 | + | |
| 6501 | +/***/ }), | |
| 6502 | + | |
| 6503 | +/***/ "../node_modules/core-js/library/modules/es6.array.from.js": | |
| 6504 | +/*!*****************************************************************!*\ | |
| 6505 | + !*** ../node_modules/core-js/library/modules/es6.array.from.js ***! | |
| 6506 | + \*****************************************************************/ | |
| 6507 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6508 | + | |
| 6509 | +"use strict"; | |
| 6510 | + | |
| 6511 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 6512 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6513 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 6514 | +var call = __webpack_require__(/*! ./_iter-call */ "../node_modules/core-js/library/modules/_iter-call.js"); | |
| 6515 | +var isArrayIter = __webpack_require__(/*! ./_is-array-iter */ "../node_modules/core-js/library/modules/_is-array-iter.js"); | |
| 6516 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/library/modules/_to-length.js"); | |
| 6517 | +var createProperty = __webpack_require__(/*! ./_create-property */ "../node_modules/core-js/library/modules/_create-property.js"); | |
| 6518 | +var getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ "../node_modules/core-js/library/modules/core.get-iterator-method.js"); | |
| 6519 | + | |
| 6520 | +$export($export.S + $export.F * !__webpack_require__(/*! ./_iter-detect */ "../node_modules/core-js/library/modules/_iter-detect.js")(function (iter) { Array.from(iter); }), 'Array', { | |
| 6521 | + // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) | |
| 6522 | + from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { | |
| 6523 | + var O = toObject(arrayLike); | |
| 6524 | + var C = typeof this == 'function' ? this : Array; | |
| 6525 | + var aLen = arguments.length; | |
| 6526 | + var mapfn = aLen > 1 ? arguments[1] : undefined; | |
| 6527 | + var mapping = mapfn !== undefined; | |
| 6528 | + var index = 0; | |
| 6529 | + var iterFn = getIterFn(O); | |
| 6530 | + var length, result, step, iterator; | |
| 6531 | + if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); | |
| 6532 | + // if object isn't iterable or it's array with default iterator - use simple case | |
| 6533 | + if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { | |
| 6534 | + for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { | |
| 6535 | + createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); | |
| 6536 | + } | |
| 6537 | + } else { | |
| 6538 | + length = toLength(O.length); | |
| 6539 | + for (result = new C(length); length > index; index++) { | |
| 6540 | + createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); | |
| 6541 | + } | |
| 6542 | + } | |
| 6543 | + result.length = index; | |
| 6544 | + return result; | |
| 6545 | + } | |
| 6546 | +}); | |
| 6547 | + | |
| 6548 | + | |
| 6549 | +/***/ }), | |
| 6550 | + | |
| 6551 | +/***/ "../node_modules/core-js/library/modules/es6.array.is-array.js": | |
| 6552 | +/*!*********************************************************************!*\ | |
| 6553 | + !*** ../node_modules/core-js/library/modules/es6.array.is-array.js ***! | |
| 6554 | + \*********************************************************************/ | |
| 6555 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6556 | + | |
| 6557 | +// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) | |
| 6558 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6559 | + | |
| 6560 | +$export($export.S, 'Array', { isArray: __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js") }); | |
| 6561 | + | |
| 6562 | + | |
| 6563 | +/***/ }), | |
| 6564 | + | |
| 6565 | +/***/ "../node_modules/core-js/library/modules/es6.array.iterator.js": | |
| 6566 | +/*!*********************************************************************!*\ | |
| 6567 | + !*** ../node_modules/core-js/library/modules/es6.array.iterator.js ***! | |
| 6568 | + \*********************************************************************/ | |
| 6569 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6570 | + | |
| 6571 | +"use strict"; | |
| 6572 | + | |
| 6573 | +var addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/library/modules/_add-to-unscopables.js"); | |
| 6574 | +var step = __webpack_require__(/*! ./_iter-step */ "../node_modules/core-js/library/modules/_iter-step.js"); | |
| 6575 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 6576 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 6577 | + | |
| 6578 | +// 22.1.3.4 Array.prototype.entries() | |
| 6579 | +// 22.1.3.13 Array.prototype.keys() | |
| 6580 | +// 22.1.3.29 Array.prototype.values() | |
| 6581 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 6582 | +module.exports = __webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js")(Array, 'Array', function (iterated, kind) { | |
| 6583 | + this._t = toIObject(iterated); // target | |
| 6584 | + this._i = 0; // next index | |
| 6585 | + this._k = kind; // kind | |
| 6586 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 6587 | +}, function () { | |
| 6588 | + var O = this._t; | |
| 6589 | + var kind = this._k; | |
| 6590 | + var index = this._i++; | |
| 6591 | + if (!O || index >= O.length) { | |
| 6592 | + this._t = undefined; | |
| 6593 | + return step(1); | |
| 6594 | + } | |
| 6595 | + if (kind == 'keys') return step(0, index); | |
| 6596 | + if (kind == 'values') return step(0, O[index]); | |
| 6597 | + return step(0, [index, O[index]]); | |
| 6598 | +}, 'values'); | |
| 6599 | + | |
| 6600 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 6601 | +Iterators.Arguments = Iterators.Array; | |
| 6602 | + | |
| 6603 | +addToUnscopables('keys'); | |
| 6604 | +addToUnscopables('values'); | |
| 6605 | +addToUnscopables('entries'); | |
| 6606 | + | |
| 6607 | + | |
| 6608 | +/***/ }), | |
| 6609 | + | |
| 6610 | +/***/ "../node_modules/core-js/library/modules/es6.function.has-instance.js": | |
| 6611 | +/*!****************************************************************************!*\ | |
| 6612 | + !*** ../node_modules/core-js/library/modules/es6.function.has-instance.js ***! | |
| 6613 | + \****************************************************************************/ | |
| 6614 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6615 | + | |
| 6616 | +"use strict"; | |
| 6617 | + | |
| 6618 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6619 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 6620 | +var HAS_INSTANCE = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('hasInstance'); | |
| 6621 | +var FunctionProto = Function.prototype; | |
| 6622 | +// 19.2.3.6 Function.prototype[@@hasInstance](V) | |
| 6623 | +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) { | |
| 6624 | + if (typeof this != 'function' || !isObject(O)) return false; | |
| 6625 | + if (!isObject(this.prototype)) return O instanceof this; | |
| 6626 | + // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: | |
| 6627 | + while (O = getPrototypeOf(O)) if (this.prototype === O) return true; | |
| 6628 | + return false; | |
| 6629 | +} }); | |
| 6630 | + | |
| 6631 | + | |
| 6632 | +/***/ }), | |
| 6633 | + | |
| 6634 | +/***/ "../node_modules/core-js/library/modules/es6.object.create.js": | |
| 6635 | +/*!********************************************************************!*\ | |
| 6636 | + !*** ../node_modules/core-js/library/modules/es6.object.create.js ***! | |
| 6637 | + \********************************************************************/ | |
| 6638 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6639 | + | |
| 6640 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6641 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 6642 | +$export($export.S, 'Object', { create: __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js") }); | |
| 6643 | + | |
| 6644 | + | |
| 6645 | +/***/ }), | |
| 6646 | + | |
| 6647 | +/***/ "../node_modules/core-js/library/modules/es6.object.define-properties.js": | |
| 6648 | +/*!*******************************************************************************!*\ | |
| 6649 | + !*** ../node_modules/core-js/library/modules/es6.object.define-properties.js ***! | |
| 6650 | + \*******************************************************************************/ | |
| 6651 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6652 | + | |
| 6653 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6654 | +// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) | |
| 6655 | +$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") }); | |
| 6656 | + | |
| 6657 | + | |
| 6658 | +/***/ }), | |
| 6659 | + | |
| 6660 | +/***/ "../node_modules/core-js/library/modules/es6.object.define-property.js": | |
| 6661 | +/*!*****************************************************************************!*\ | |
| 6662 | + !*** ../node_modules/core-js/library/modules/es6.object.define-property.js ***! | |
| 6663 | + \*****************************************************************************/ | |
| 6664 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6665 | + | |
| 6666 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6667 | +// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) | |
| 6668 | +$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 }); | |
| 6669 | + | |
| 6670 | + | |
| 6671 | +/***/ }), | |
| 6672 | + | |
| 6673 | +/***/ "../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js": | |
| 6674 | +/*!*****************************************************************************************!*\ | |
| 6675 | + !*** ../node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js ***! | |
| 6676 | + \*****************************************************************************************/ | |
| 6677 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6678 | + | |
| 6679 | +// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 6680 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 6681 | +var $getOwnPropertyDescriptor = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js").f; | |
| 6682 | + | |
| 6683 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('getOwnPropertyDescriptor', function () { | |
| 6684 | + return function getOwnPropertyDescriptor(it, key) { | |
| 6685 | + return $getOwnPropertyDescriptor(toIObject(it), key); | |
| 6686 | + }; | |
| 6687 | +}); | |
| 6688 | + | |
| 6689 | + | |
| 6690 | +/***/ }), | |
| 6691 | + | |
| 6692 | +/***/ "../node_modules/core-js/library/modules/es6.object.get-prototype-of.js": | |
| 6693 | +/*!******************************************************************************!*\ | |
| 6694 | + !*** ../node_modules/core-js/library/modules/es6.object.get-prototype-of.js ***! | |
| 6695 | + \******************************************************************************/ | |
| 6696 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6697 | + | |
| 6698 | +// 19.1.2.9 Object.getPrototypeOf(O) | |
| 6699 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 6700 | +var $getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 6701 | + | |
| 6702 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('getPrototypeOf', function () { | |
| 6703 | + return function getPrototypeOf(it) { | |
| 6704 | + return $getPrototypeOf(toObject(it)); | |
| 6705 | + }; | |
| 6706 | +}); | |
| 6707 | + | |
| 6708 | + | |
| 6709 | +/***/ }), | |
| 6710 | + | |
| 6711 | +/***/ "../node_modules/core-js/library/modules/es6.object.keys.js": | |
| 6712 | +/*!******************************************************************!*\ | |
| 6713 | + !*** ../node_modules/core-js/library/modules/es6.object.keys.js ***! | |
| 6714 | + \******************************************************************/ | |
| 6715 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6716 | + | |
| 6717 | +// 19.1.2.14 Object.keys(O) | |
| 6718 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 6719 | +var $keys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 6720 | + | |
| 6721 | +__webpack_require__(/*! ./_object-sap */ "../node_modules/core-js/library/modules/_object-sap.js")('keys', function () { | |
| 6722 | + return function keys(it) { | |
| 6723 | + return $keys(toObject(it)); | |
| 6724 | + }; | |
| 6725 | +}); | |
| 6726 | + | |
| 6727 | + | |
| 6728 | +/***/ }), | |
| 6729 | + | |
| 6730 | +/***/ "../node_modules/core-js/library/modules/es6.object.set-prototype-of.js": | |
| 6731 | +/*!******************************************************************************!*\ | |
| 6732 | + !*** ../node_modules/core-js/library/modules/es6.object.set-prototype-of.js ***! | |
| 6733 | + \******************************************************************************/ | |
| 6734 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6735 | + | |
| 6736 | +// 19.1.3.19 Object.setPrototypeOf(O, proto) | |
| 6737 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6738 | +$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(/*! ./_set-proto */ "../node_modules/core-js/library/modules/_set-proto.js").set }); | |
| 6739 | + | |
| 6740 | + | |
| 6741 | +/***/ }), | |
| 6742 | + | |
| 6743 | +/***/ "../node_modules/core-js/library/modules/es6.object.to-string.js": | |
| 6744 | +/*!***********************************************************************!*\ | |
| 6745 | + !*** ../node_modules/core-js/library/modules/es6.object.to-string.js ***! | |
| 6746 | + \***********************************************************************/ | |
| 6747 | +/***/ (() => { | |
| 6748 | + | |
| 6749 | + | |
| 6750 | + | |
| 6751 | +/***/ }), | |
| 6752 | + | |
| 6753 | +/***/ "../node_modules/core-js/library/modules/es6.promise.js": | |
| 6754 | +/*!**************************************************************!*\ | |
| 6755 | + !*** ../node_modules/core-js/library/modules/es6.promise.js ***! | |
| 6756 | + \**************************************************************/ | |
| 6757 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 6758 | + | |
| 6759 | +"use strict"; | |
| 6760 | + | |
| 6761 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js"); | |
| 6762 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 6763 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/library/modules/_ctx.js"); | |
| 6764 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/library/modules/_classof.js"); | |
| 6765 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 6766 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 6767 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 6768 | +var anInstance = __webpack_require__(/*! ./_an-instance */ "../node_modules/core-js/library/modules/_an-instance.js"); | |
| 6769 | +var forOf = __webpack_require__(/*! ./_for-of */ "../node_modules/core-js/library/modules/_for-of.js"); | |
| 6770 | +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "../node_modules/core-js/library/modules/_species-constructor.js"); | |
| 6771 | +var task = __webpack_require__(/*! ./_task */ "../node_modules/core-js/library/modules/_task.js").set; | |
| 6772 | +var microtask = __webpack_require__(/*! ./_microtask */ "../node_modules/core-js/library/modules/_microtask.js")(); | |
| 6773 | +var newPromiseCapabilityModule = __webpack_require__(/*! ./_new-promise-capability */ "../node_modules/core-js/library/modules/_new-promise-capability.js"); | |
| 6774 | +var perform = __webpack_require__(/*! ./_perform */ "../node_modules/core-js/library/modules/_perform.js"); | |
| 6775 | +var userAgent = __webpack_require__(/*! ./_user-agent */ "../node_modules/core-js/library/modules/_user-agent.js"); | |
| 6776 | +var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "../node_modules/core-js/library/modules/_promise-resolve.js"); | |
| 6777 | +var PROMISE = 'Promise'; | |
| 6778 | +var TypeError = global.TypeError; | |
| 6779 | +var process = global.process; | |
| 6780 | +var versions = process && process.versions; | |
| 6781 | +var v8 = versions && versions.v8 || ''; | |
| 6782 | +var $Promise = global[PROMISE]; | |
| 6783 | +var isNode = classof(process) == 'process'; | |
| 6784 | +var empty = function () { /* empty */ }; | |
| 6785 | +var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; | |
| 6786 | +var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; | |
| 6787 | + | |
| 6788 | +var USE_NATIVE = !!function () { | |
| 6789 | + try { | |
| 6790 | + // correct subclassing with @@species support | |
| 6791 | + var promise = $Promise.resolve(1); | |
| 6792 | + var FakePromise = (promise.constructor = {})[__webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('species')] = function (exec) { | |
| 6793 | + exec(empty, empty); | |
| 6794 | + }; | |
| 6795 | + // unhandled rejections tracking support, NodeJS Promise without it fails @@species test | |
| 6796 | + return (isNode || typeof PromiseRejectionEvent == 'function') | |
| 6797 | + && promise.then(empty) instanceof FakePromise | |
| 6798 | + // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables | |
| 6799 | + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 | |
| 6800 | + // we can't detect it synchronously, so just check versions | |
| 6801 | + && v8.indexOf('6.6') !== 0 | |
| 6802 | + && userAgent.indexOf('Chrome/66') === -1; | |
| 6803 | + } catch (e) { /* empty */ } | |
| 6804 | +}(); | |
| 6805 | + | |
| 6806 | +// helpers | |
| 6807 | +var isThenable = function (it) { | |
| 6808 | + var then; | |
| 6809 | + return isObject(it) && typeof (then = it.then) == 'function' ? then : false; | |
| 6810 | +}; | |
| 6811 | +var notify = function (promise, isReject) { | |
| 6812 | + if (promise._n) return; | |
| 6813 | + promise._n = true; | |
| 6814 | + var chain = promise._c; | |
| 6815 | + microtask(function () { | |
| 6816 | + var value = promise._v; | |
| 6817 | + var ok = promise._s == 1; | |
| 6818 | + var i = 0; | |
| 6819 | + var run = function (reaction) { | |
| 6820 | + var handler = ok ? reaction.ok : reaction.fail; | |
| 6821 | + var resolve = reaction.resolve; | |
| 6822 | + var reject = reaction.reject; | |
| 6823 | + var domain = reaction.domain; | |
| 6824 | + var result, then, exited; | |
| 6825 | + try { | |
| 6826 | + if (handler) { | |
| 6827 | + if (!ok) { | |
| 6828 | + if (promise._h == 2) onHandleUnhandled(promise); | |
| 6829 | + promise._h = 1; | |
| 6830 | + } | |
| 6831 | + if (handler === true) result = value; | |
| 6832 | + else { | |
| 6833 | + if (domain) domain.enter(); | |
| 6834 | + result = handler(value); // may throw | |
| 6835 | + if (domain) { | |
| 6836 | + domain.exit(); | |
| 6837 | + exited = true; | |
| 6838 | + } | |
| 6839 | + } | |
| 6840 | + if (result === reaction.promise) { | |
| 6841 | + reject(TypeError('Promise-chain cycle')); | |
| 6842 | + } else if (then = isThenable(result)) { | |
| 6843 | + then.call(result, resolve, reject); | |
| 6844 | + } else resolve(result); | |
| 6845 | + } else reject(value); | |
| 6846 | + } catch (e) { | |
| 6847 | + if (domain && !exited) domain.exit(); | |
| 6848 | + reject(e); | |
| 6849 | + } | |
| 6850 | + }; | |
| 6851 | + while (chain.length > i) run(chain[i++]); // variable length - can't use forEach | |
| 6852 | + promise._c = []; | |
| 6853 | + promise._n = false; | |
| 6854 | + if (isReject && !promise._h) onUnhandled(promise); | |
| 6855 | + }); | |
| 6856 | +}; | |
| 6857 | +var onUnhandled = function (promise) { | |
| 6858 | + task.call(global, function () { | |
| 6859 | + var value = promise._v; | |
| 6860 | + var unhandled = isUnhandled(promise); | |
| 6861 | + var result, handler, console; | |
| 6862 | + if (unhandled) { | |
| 6863 | + result = perform(function () { | |
| 6864 | + if (isNode) { | |
| 6865 | + process.emit('unhandledRejection', value, promise); | |
| 6866 | + } else if (handler = global.onunhandledrejection) { | |
| 6867 | + handler({ promise: promise, reason: value }); | |
| 6868 | + } else if ((console = global.console) && console.error) { | |
| 6869 | + console.error('Unhandled promise rejection', value); | |
| 6870 | + } | |
| 6871 | + }); | |
| 6872 | + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should | |
| 6873 | + promise._h = isNode || isUnhandled(promise) ? 2 : 1; | |
| 6874 | + } promise._a = undefined; | |
| 6875 | + if (unhandled && result.e) throw result.v; | |
| 6876 | + }); | |
| 6877 | +}; | |
| 6878 | +var isUnhandled = function (promise) { | |
| 6879 | + return promise._h !== 1 && (promise._a || promise._c).length === 0; | |
| 6880 | +}; | |
| 6881 | +var onHandleUnhandled = function (promise) { | |
| 6882 | + task.call(global, function () { | |
| 6883 | + var handler; | |
| 6884 | + if (isNode) { | |
| 6885 | + process.emit('rejectionHandled', promise); | |
| 6886 | + } else if (handler = global.onrejectionhandled) { | |
| 6887 | + handler({ promise: promise, reason: promise._v }); | |
| 6888 | + } | |
| 6889 | + }); | |
| 6890 | +}; | |
| 6891 | +var $reject = function (value) { | |
| 6892 | + var promise = this; | |
| 6893 | + if (promise._d) return; | |
| 6894 | + promise._d = true; | |
| 6895 | + promise = promise._w || promise; // unwrap | |
| 6896 | + promise._v = value; | |
| 6897 | + promise._s = 2; | |
| 6898 | + if (!promise._a) promise._a = promise._c.slice(); | |
| 6899 | + notify(promise, true); | |
| 6900 | +}; | |
| 6901 | +var $resolve = function (value) { | |
| 6902 | + var promise = this; | |
| 6903 | + var then; | |
| 6904 | + if (promise._d) return; | |
| 6905 | + promise._d = true; | |
| 6906 | + promise = promise._w || promise; // unwrap | |
| 6907 | + try { | |
| 6908 | + if (promise === value) throw TypeError("Promise can't be resolved itself"); | |
| 6909 | + if (then = isThenable(value)) { | |
| 6910 | + microtask(function () { | |
| 6911 | + var wrapper = { _w: promise, _d: false }; // wrap | |
| 6912 | + try { | |
| 6913 | + then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); | |
| 6914 | + } catch (e) { | |
| 6915 | + $reject.call(wrapper, e); | |
| 6916 | + } | |
| 6917 | + }); | |
| 6918 | + } else { | |
| 6919 | + promise._v = value; | |
| 6920 | + promise._s = 1; | |
| 6921 | + notify(promise, false); | |
| 6922 | + } | |
| 6923 | + } catch (e) { | |
| 6924 | + $reject.call({ _w: promise, _d: false }, e); // wrap | |
| 6925 | + } | |
| 6926 | +}; | |
| 6927 | + | |
| 6928 | +// constructor polyfill | |
| 6929 | +if (!USE_NATIVE) { | |
| 6930 | + // 25.4.3.1 Promise(executor) | |
| 6931 | + $Promise = function Promise(executor) { | |
| 6932 | + anInstance(this, $Promise, PROMISE, '_h'); | |
| 6933 | + aFunction(executor); | |
| 6934 | + Internal.call(this); | |
| 6935 | + try { | |
| 6936 | + executor(ctx($resolve, this, 1), ctx($reject, this, 1)); | |
| 6937 | + } catch (err) { | |
| 6938 | + $reject.call(this, err); | |
| 6939 | + } | |
| 6940 | + }; | |
| 6941 | + // eslint-disable-next-line no-unused-vars | |
| 6942 | + Internal = function Promise(executor) { | |
| 6943 | + this._c = []; // <- awaiting reactions | |
| 6944 | + this._a = undefined; // <- checked in isUnhandled reactions | |
| 6945 | + this._s = 0; // <- state | |
| 6946 | + this._d = false; // <- done | |
| 6947 | + this._v = undefined; // <- value | |
| 6948 | + this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled | |
| 6949 | + this._n = false; // <- notify | |
| 6950 | + }; | |
| 6951 | + Internal.prototype = __webpack_require__(/*! ./_redefine-all */ "../node_modules/core-js/library/modules/_redefine-all.js")($Promise.prototype, { | |
| 6952 | + // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) | |
| 6953 | + then: function then(onFulfilled, onRejected) { | |
| 6954 | + var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); | |
| 6955 | + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; | |
| 6956 | + reaction.fail = typeof onRejected == 'function' && onRejected; | |
| 6957 | + reaction.domain = isNode ? process.domain : undefined; | |
| 6958 | + this._c.push(reaction); | |
| 6959 | + if (this._a) this._a.push(reaction); | |
| 6960 | + if (this._s) notify(this, false); | |
| 6961 | + return reaction.promise; | |
| 6962 | + }, | |
| 6963 | + // 25.4.5.1 Promise.prototype.catch(onRejected) | |
| 6964 | + 'catch': function (onRejected) { | |
| 6965 | + return this.then(undefined, onRejected); | |
| 6966 | + } | |
| 6967 | + }); | |
| 6968 | + OwnPromiseCapability = function () { | |
| 6969 | + var promise = new Internal(); | |
| 6970 | + this.promise = promise; | |
| 6971 | + this.resolve = ctx($resolve, promise, 1); | |
| 6972 | + this.reject = ctx($reject, promise, 1); | |
| 6973 | + }; | |
| 6974 | + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { | |
| 6975 | + return C === $Promise || C === Wrapper | |
| 6976 | + ? new OwnPromiseCapability(C) | |
| 6977 | + : newGenericPromiseCapability(C); | |
| 6978 | + }; | |
| 6979 | +} | |
| 6980 | + | |
| 6981 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); | |
| 6982 | +__webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js")($Promise, PROMISE); | |
| 6983 | +__webpack_require__(/*! ./_set-species */ "../node_modules/core-js/library/modules/_set-species.js")(PROMISE); | |
| 6984 | +Wrapper = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js")[PROMISE]; | |
| 6985 | + | |
| 6986 | +// statics | |
| 6987 | +$export($export.S + $export.F * !USE_NATIVE, PROMISE, { | |
| 6988 | + // 25.4.4.5 Promise.reject(r) | |
| 6989 | + reject: function reject(r) { | |
| 6990 | + var capability = newPromiseCapability(this); | |
| 6991 | + var $$reject = capability.reject; | |
| 6992 | + $$reject(r); | |
| 6993 | + return capability.promise; | |
| 6994 | + } | |
| 6995 | +}); | |
| 6996 | +$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { | |
| 6997 | + // 25.4.4.6 Promise.resolve(x) | |
| 6998 | + resolve: function resolve(x) { | |
| 6999 | + return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); | |
| 7000 | + } | |
| 7001 | +}); | |
| 7002 | +$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(/*! ./_iter-detect */ "../node_modules/core-js/library/modules/_iter-detect.js")(function (iter) { | |
| 7003 | + $Promise.all(iter)['catch'](empty); | |
| 7004 | +})), PROMISE, { | |
| 7005 | + // 25.4.4.1 Promise.all(iterable) | |
| 7006 | + all: function all(iterable) { | |
| 7007 | + var C = this; | |
| 7008 | + var capability = newPromiseCapability(C); | |
| 7009 | + var resolve = capability.resolve; | |
| 7010 | + var reject = capability.reject; | |
| 7011 | + var result = perform(function () { | |
| 7012 | + var values = []; | |
| 7013 | + var index = 0; | |
| 7014 | + var remaining = 1; | |
| 7015 | + forOf(iterable, false, function (promise) { | |
| 7016 | + var $index = index++; | |
| 7017 | + var alreadyCalled = false; | |
| 7018 | + values.push(undefined); | |
| 7019 | + remaining++; | |
| 7020 | + C.resolve(promise).then(function (value) { | |
| 7021 | + if (alreadyCalled) return; | |
| 7022 | + alreadyCalled = true; | |
| 7023 | + values[$index] = value; | |
| 7024 | + --remaining || resolve(values); | |
| 7025 | + }, reject); | |
| 7026 | + }); | |
| 7027 | + --remaining || resolve(values); | |
| 7028 | + }); | |
| 7029 | + if (result.e) reject(result.v); | |
| 7030 | + return capability.promise; | |
| 7031 | + }, | |
| 7032 | + // 25.4.4.4 Promise.race(iterable) | |
| 7033 | + race: function race(iterable) { | |
| 7034 | + var C = this; | |
| 7035 | + var capability = newPromiseCapability(C); | |
| 7036 | + var reject = capability.reject; | |
| 7037 | + var result = perform(function () { | |
| 7038 | + forOf(iterable, false, function (promise) { | |
| 7039 | + C.resolve(promise).then(capability.resolve, reject); | |
| 7040 | + }); | |
| 7041 | + }); | |
| 7042 | + if (result.e) reject(result.v); | |
| 7043 | + return capability.promise; | |
| 7044 | + } | |
| 7045 | +}); | |
| 7046 | + | |
| 7047 | + | |
| 7048 | +/***/ }), | |
| 7049 | + | |
| 7050 | +/***/ "../node_modules/core-js/library/modules/es6.reflect.construct.js": | |
| 7051 | +/*!************************************************************************!*\ | |
| 7052 | + !*** ../node_modules/core-js/library/modules/es6.reflect.construct.js ***! | |
| 7053 | + \************************************************************************/ | |
| 7054 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7055 | + | |
| 7056 | +// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) | |
| 7057 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7058 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 7059 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/library/modules/_a-function.js"); | |
| 7060 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 7061 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 7062 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 7063 | +var bind = __webpack_require__(/*! ./_bind */ "../node_modules/core-js/library/modules/_bind.js"); | |
| 7064 | +var rConstruct = (__webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js").Reflect || {}).construct; | |
| 7065 | + | |
| 7066 | +// MS Edge supports only 2 arguments and argumentsList argument is optional | |
| 7067 | +// FF Nightly sets third argument as `new.target`, but does not create `this` from it | |
| 7068 | +var NEW_TARGET_BUG = fails(function () { | |
| 7069 | + function F() { /* empty */ } | |
| 7070 | + return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); | |
| 7071 | +}); | |
| 7072 | +var ARGS_BUG = !fails(function () { | |
| 7073 | + rConstruct(function () { /* empty */ }); | |
| 7074 | +}); | |
| 7075 | + | |
| 7076 | +$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { | |
| 7077 | + construct: function construct(Target, args /* , newTarget */) { | |
| 7078 | + aFunction(Target); | |
| 7079 | + anObject(args); | |
| 7080 | + var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); | |
| 7081 | + if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); | |
| 7082 | + if (Target == newTarget) { | |
| 7083 | + // w/o altered newTarget, optimization for 0-4 arguments | |
| 7084 | + switch (args.length) { | |
| 7085 | + case 0: return new Target(); | |
| 7086 | + case 1: return new Target(args[0]); | |
| 7087 | + case 2: return new Target(args[0], args[1]); | |
| 7088 | + case 3: return new Target(args[0], args[1], args[2]); | |
| 7089 | + case 4: return new Target(args[0], args[1], args[2], args[3]); | |
| 7090 | + } | |
| 7091 | + // w/o altered newTarget, lot of arguments case | |
| 7092 | + var $args = [null]; | |
| 7093 | + $args.push.apply($args, args); | |
| 7094 | + return new (bind.apply(Target, $args))(); | |
| 7095 | + } | |
| 7096 | + // with altered newTarget, not support built-in constructors | |
| 7097 | + var proto = newTarget.prototype; | |
| 7098 | + var instance = create(isObject(proto) ? proto : Object.prototype); | |
| 7099 | + var result = Function.apply.call(Target, instance, args); | |
| 7100 | + return isObject(result) ? result : instance; | |
| 7101 | + } | |
| 7102 | +}); | |
| 7103 | + | |
| 7104 | + | |
| 7105 | +/***/ }), | |
| 7106 | + | |
| 7107 | +/***/ "../node_modules/core-js/library/modules/es6.reflect.get.js": | |
| 7108 | +/*!******************************************************************!*\ | |
| 7109 | + !*** ../node_modules/core-js/library/modules/es6.reflect.get.js ***! | |
| 7110 | + \******************************************************************/ | |
| 7111 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7112 | + | |
| 7113 | +// 26.1.6 Reflect.get(target, propertyKey [, receiver]) | |
| 7114 | +var gOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 7115 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/library/modules/_object-gpo.js"); | |
| 7116 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 7117 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7118 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 7119 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 7120 | + | |
| 7121 | +function get(target, propertyKey /* , receiver */) { | |
| 7122 | + var receiver = arguments.length < 3 ? target : arguments[2]; | |
| 7123 | + var desc, proto; | |
| 7124 | + if (anObject(target) === receiver) return target[propertyKey]; | |
| 7125 | + if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') | |
| 7126 | + ? desc.value | |
| 7127 | + : desc.get !== undefined | |
| 7128 | + ? desc.get.call(receiver) | |
| 7129 | + : undefined; | |
| 7130 | + if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); | |
| 7131 | +} | |
| 7132 | + | |
| 7133 | +$export($export.S, 'Reflect', { get: get }); | |
| 7134 | + | |
| 7135 | + | |
| 7136 | +/***/ }), | |
| 7137 | + | |
| 7138 | +/***/ "../node_modules/core-js/library/modules/es6.string.iterator.js": | |
| 7139 | +/*!**********************************************************************!*\ | |
| 7140 | + !*** ../node_modules/core-js/library/modules/es6.string.iterator.js ***! | |
| 7141 | + \**********************************************************************/ | |
| 7142 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7143 | + | |
| 7144 | +"use strict"; | |
| 7145 | + | |
| 7146 | +var $at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/library/modules/_string-at.js")(true); | |
| 7147 | + | |
| 7148 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 7149 | +__webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/library/modules/_iter-define.js")(String, 'String', function (iterated) { | |
| 7150 | + this._t = String(iterated); // target | |
| 7151 | + this._i = 0; // next index | |
| 7152 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 7153 | +}, function () { | |
| 7154 | + var O = this._t; | |
| 7155 | + var index = this._i; | |
| 7156 | + var point; | |
| 7157 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 7158 | + point = $at(O, index); | |
| 7159 | + this._i += point.length; | |
| 7160 | + return { value: point, done: false }; | |
| 7161 | +}); | |
| 7162 | + | |
| 7163 | + | |
| 7164 | +/***/ }), | |
| 7165 | + | |
| 7166 | +/***/ "../node_modules/core-js/library/modules/es6.symbol.js": | |
| 7167 | +/*!*************************************************************!*\ | |
| 7168 | + !*** ../node_modules/core-js/library/modules/es6.symbol.js ***! | |
| 7169 | + \*************************************************************/ | |
| 7170 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7171 | + | |
| 7172 | +"use strict"; | |
| 7173 | + | |
| 7174 | +// ECMAScript 6 symbols shim | |
| 7175 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7176 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/library/modules/_has.js"); | |
| 7177 | +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/library/modules/_descriptors.js"); | |
| 7178 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7179 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 7180 | +var META = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js").KEY; | |
| 7181 | +var $fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/library/modules/_fails.js"); | |
| 7182 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/library/modules/_shared.js"); | |
| 7183 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/library/modules/_set-to-string-tag.js"); | |
| 7184 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/library/modules/_uid.js"); | |
| 7185 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js"); | |
| 7186 | +var wksExt = __webpack_require__(/*! ./_wks-ext */ "../node_modules/core-js/library/modules/_wks-ext.js"); | |
| 7187 | +var wksDefine = __webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js"); | |
| 7188 | +var enumKeys = __webpack_require__(/*! ./_enum-keys */ "../node_modules/core-js/library/modules/_enum-keys.js"); | |
| 7189 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/library/modules/_is-array.js"); | |
| 7190 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/library/modules/_an-object.js"); | |
| 7191 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 7192 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/library/modules/_to-object.js"); | |
| 7193 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 7194 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/library/modules/_to-primitive.js"); | |
| 7195 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/library/modules/_property-desc.js"); | |
| 7196 | +var _create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/library/modules/_object-create.js"); | |
| 7197 | +var gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ "../node_modules/core-js/library/modules/_object-gopn-ext.js"); | |
| 7198 | +var $GOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 7199 | +var $GOPS = __webpack_require__(/*! ./_object-gops */ "../node_modules/core-js/library/modules/_object-gops.js"); | |
| 7200 | +var $DP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/library/modules/_object-dp.js"); | |
| 7201 | +var $keys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/library/modules/_object-keys.js"); | |
| 7202 | +var gOPD = $GOPD.f; | |
| 7203 | +var dP = $DP.f; | |
| 7204 | +var gOPN = gOPNExt.f; | |
| 7205 | +var $Symbol = global.Symbol; | |
| 7206 | +var $JSON = global.JSON; | |
| 7207 | +var _stringify = $JSON && $JSON.stringify; | |
| 7208 | +var PROTOTYPE = 'prototype'; | |
| 7209 | +var HIDDEN = wks('_hidden'); | |
| 7210 | +var TO_PRIMITIVE = wks('toPrimitive'); | |
| 7211 | +var isEnum = {}.propertyIsEnumerable; | |
| 7212 | +var SymbolRegistry = shared('symbol-registry'); | |
| 7213 | +var AllSymbols = shared('symbols'); | |
| 7214 | +var OPSymbols = shared('op-symbols'); | |
| 7215 | +var ObjectProto = Object[PROTOTYPE]; | |
| 7216 | +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; | |
| 7217 | +var QObject = global.QObject; | |
| 7218 | +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 | |
| 7219 | +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; | |
| 7220 | + | |
| 7221 | +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 | |
| 7222 | +var setSymbolDesc = DESCRIPTORS && $fails(function () { | |
| 7223 | + return _create(dP({}, 'a', { | |
| 7224 | + get: function () { return dP(this, 'a', { value: 7 }).a; } | |
| 7225 | + })).a != 7; | |
| 7226 | +}) ? function (it, key, D) { | |
| 7227 | + var protoDesc = gOPD(ObjectProto, key); | |
| 7228 | + if (protoDesc) delete ObjectProto[key]; | |
| 7229 | + dP(it, key, D); | |
| 7230 | + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); | |
| 7231 | +} : dP; | |
| 7232 | + | |
| 7233 | +var wrap = function (tag) { | |
| 7234 | + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); | |
| 7235 | + sym._k = tag; | |
| 7236 | + return sym; | |
| 7237 | +}; | |
| 7238 | + | |
| 7239 | +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { | |
| 7240 | + return typeof it == 'symbol'; | |
| 7241 | +} : function (it) { | |
| 7242 | + return it instanceof $Symbol; | |
| 7243 | +}; | |
| 7244 | + | |
| 7245 | +var $defineProperty = function defineProperty(it, key, D) { | |
| 7246 | + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); | |
| 7247 | + anObject(it); | |
| 7248 | + key = toPrimitive(key, true); | |
| 7249 | + anObject(D); | |
| 7250 | + if (has(AllSymbols, key)) { | |
| 7251 | + if (!D.enumerable) { | |
| 7252 | + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); | |
| 7253 | + it[HIDDEN][key] = true; | |
| 7254 | + } else { | |
| 7255 | + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; | |
| 7256 | + D = _create(D, { enumerable: createDesc(0, false) }); | |
| 7257 | + } return setSymbolDesc(it, key, D); | |
| 7258 | + } return dP(it, key, D); | |
| 7259 | +}; | |
| 7260 | +var $defineProperties = function defineProperties(it, P) { | |
| 7261 | + anObject(it); | |
| 7262 | + var keys = enumKeys(P = toIObject(P)); | |
| 7263 | + var i = 0; | |
| 7264 | + var l = keys.length; | |
| 7265 | + var key; | |
| 7266 | + while (l > i) $defineProperty(it, key = keys[i++], P[key]); | |
| 7267 | + return it; | |
| 7268 | +}; | |
| 7269 | +var $create = function create(it, P) { | |
| 7270 | + return P === undefined ? _create(it) : $defineProperties(_create(it), P); | |
| 7271 | +}; | |
| 7272 | +var $propertyIsEnumerable = function propertyIsEnumerable(key) { | |
| 7273 | + var E = isEnum.call(this, key = toPrimitive(key, true)); | |
| 7274 | + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; | |
| 7275 | + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; | |
| 7276 | +}; | |
| 7277 | +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { | |
| 7278 | + it = toIObject(it); | |
| 7279 | + key = toPrimitive(key, true); | |
| 7280 | + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; | |
| 7281 | + var D = gOPD(it, key); | |
| 7282 | + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; | |
| 7283 | + return D; | |
| 7284 | +}; | |
| 7285 | +var $getOwnPropertyNames = function getOwnPropertyNames(it) { | |
| 7286 | + var names = gOPN(toIObject(it)); | |
| 7287 | + var result = []; | |
| 7288 | + var i = 0; | |
| 7289 | + var key; | |
| 7290 | + while (names.length > i) { | |
| 7291 | + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); | |
| 7292 | + } return result; | |
| 7293 | +}; | |
| 7294 | +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { | |
| 7295 | + var IS_OP = it === ObjectProto; | |
| 7296 | + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); | |
| 7297 | + var result = []; | |
| 7298 | + var i = 0; | |
| 7299 | + var key; | |
| 7300 | + while (names.length > i) { | |
| 7301 | + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); | |
| 7302 | + } return result; | |
| 7303 | +}; | |
| 7304 | + | |
| 7305 | +// 19.4.1.1 Symbol([description]) | |
| 7306 | +if (!USE_NATIVE) { | |
| 7307 | + $Symbol = function Symbol() { | |
| 7308 | + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); | |
| 7309 | + var tag = uid(arguments.length > 0 ? arguments[0] : undefined); | |
| 7310 | + var $set = function (value) { | |
| 7311 | + if (this === ObjectProto) $set.call(OPSymbols, value); | |
| 7312 | + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; | |
| 7313 | + setSymbolDesc(this, tag, createDesc(1, value)); | |
| 7314 | + }; | |
| 7315 | + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); | |
| 7316 | + return wrap(tag); | |
| 7317 | + }; | |
| 7318 | + redefine($Symbol[PROTOTYPE], 'toString', function toString() { | |
| 7319 | + return this._k; | |
| 7320 | + }); | |
| 7321 | + | |
| 7322 | + $GOPD.f = $getOwnPropertyDescriptor; | |
| 7323 | + $DP.f = $defineProperty; | |
| 7324 | + __webpack_require__(/*! ./_object-gopn */ "../node_modules/core-js/library/modules/_object-gopn.js").f = gOPNExt.f = $getOwnPropertyNames; | |
| 7325 | + __webpack_require__(/*! ./_object-pie */ "../node_modules/core-js/library/modules/_object-pie.js").f = $propertyIsEnumerable; | |
| 7326 | + $GOPS.f = $getOwnPropertySymbols; | |
| 7327 | + | |
| 7328 | + if (DESCRIPTORS && !__webpack_require__(/*! ./_library */ "../node_modules/core-js/library/modules/_library.js")) { | |
| 7329 | + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); | |
| 7330 | + } | |
| 7331 | + | |
| 7332 | + wksExt.f = function (name) { | |
| 7333 | + return wrap(wks(name)); | |
| 7334 | + }; | |
| 7335 | +} | |
| 7336 | + | |
| 7337 | +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); | |
| 7338 | + | |
| 7339 | +for (var es6Symbols = ( | |
| 7340 | + // 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 | |
| 7341 | + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' | |
| 7342 | +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); | |
| 7343 | + | |
| 7344 | +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); | |
| 7345 | + | |
| 7346 | +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { | |
| 7347 | + // 19.4.2.1 Symbol.for(key) | |
| 7348 | + 'for': function (key) { | |
| 7349 | + return has(SymbolRegistry, key += '') | |
| 7350 | + ? SymbolRegistry[key] | |
| 7351 | + : SymbolRegistry[key] = $Symbol(key); | |
| 7352 | + }, | |
| 7353 | + // 19.4.2.5 Symbol.keyFor(sym) | |
| 7354 | + keyFor: function keyFor(sym) { | |
| 7355 | + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); | |
| 7356 | + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; | |
| 7357 | + }, | |
| 7358 | + useSetter: function () { setter = true; }, | |
| 7359 | + useSimple: function () { setter = false; } | |
| 7360 | +}); | |
| 7361 | + | |
| 7362 | +$export($export.S + $export.F * !USE_NATIVE, 'Object', { | |
| 7363 | + // 19.1.2.2 Object.create(O [, Properties]) | |
| 7364 | + create: $create, | |
| 7365 | + // 19.1.2.4 Object.defineProperty(O, P, Attributes) | |
| 7366 | + defineProperty: $defineProperty, | |
| 7367 | + // 19.1.2.3 Object.defineProperties(O, Properties) | |
| 7368 | + defineProperties: $defineProperties, | |
| 7369 | + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) | |
| 7370 | + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, | |
| 7371 | + // 19.1.2.7 Object.getOwnPropertyNames(O) | |
| 7372 | + getOwnPropertyNames: $getOwnPropertyNames, | |
| 7373 | + // 19.1.2.8 Object.getOwnPropertySymbols(O) | |
| 7374 | + getOwnPropertySymbols: $getOwnPropertySymbols | |
| 7375 | +}); | |
| 7376 | + | |
| 7377 | +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives | |
| 7378 | +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 | |
| 7379 | +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); | |
| 7380 | + | |
| 7381 | +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { | |
| 7382 | + getOwnPropertySymbols: function getOwnPropertySymbols(it) { | |
| 7383 | + return $GOPS.f(toObject(it)); | |
| 7384 | + } | |
| 7385 | +}); | |
| 7386 | + | |
| 7387 | +// 24.3.2 JSON.stringify(value [, replacer [, space]]) | |
| 7388 | +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { | |
| 7389 | + var S = $Symbol(); | |
| 7390 | + // MS Edge converts symbol values to JSON as {} | |
| 7391 | + // WebKit converts symbol values to JSON as null | |
| 7392 | + // V8 throws on boxed symbols | |
| 7393 | + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; | |
| 7394 | +})), 'JSON', { | |
| 7395 | + stringify: function stringify(it) { | |
| 7396 | + var args = [it]; | |
| 7397 | + var i = 1; | |
| 7398 | + var replacer, $replacer; | |
| 7399 | + while (arguments.length > i) args.push(arguments[i++]); | |
| 7400 | + $replacer = replacer = args[1]; | |
| 7401 | + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined | |
| 7402 | + if (!isArray(replacer)) replacer = function (key, value) { | |
| 7403 | + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); | |
| 7404 | + if (!isSymbol(value)) return value; | |
| 7405 | + }; | |
| 7406 | + args[1] = replacer; | |
| 7407 | + return _stringify.apply($JSON, args); | |
| 7408 | + } | |
| 7409 | +}); | |
| 7410 | + | |
| 7411 | +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) | |
| 7412 | +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); | |
| 7413 | +// 19.4.3.5 Symbol.prototype[@@toStringTag] | |
| 7414 | +setToStringTag($Symbol, 'Symbol'); | |
| 7415 | +// 20.2.1.9 Math[@@toStringTag] | |
| 7416 | +setToStringTag(Math, 'Math', true); | |
| 7417 | +// 24.3.3 JSON[@@toStringTag] | |
| 7418 | +setToStringTag(global.JSON, 'JSON', true); | |
| 7419 | + | |
| 7420 | + | |
| 7421 | +/***/ }), | |
| 7422 | + | |
| 7423 | +/***/ "../node_modules/core-js/library/modules/es6.weak-map.js": | |
| 7424 | +/*!***************************************************************!*\ | |
| 7425 | + !*** ../node_modules/core-js/library/modules/es6.weak-map.js ***! | |
| 7426 | + \***************************************************************/ | |
| 7427 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7428 | + | |
| 7429 | +"use strict"; | |
| 7430 | + | |
| 7431 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7432 | +var each = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/library/modules/_array-methods.js")(0); | |
| 7433 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/library/modules/_redefine.js"); | |
| 7434 | +var meta = __webpack_require__(/*! ./_meta */ "../node_modules/core-js/library/modules/_meta.js"); | |
| 7435 | +var assign = __webpack_require__(/*! ./_object-assign */ "../node_modules/core-js/library/modules/_object-assign.js"); | |
| 7436 | +var weak = __webpack_require__(/*! ./_collection-weak */ "../node_modules/core-js/library/modules/_collection-weak.js"); | |
| 7437 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/library/modules/_is-object.js"); | |
| 7438 | +var validate = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 7439 | +var NATIVE_WEAK_MAP = __webpack_require__(/*! ./_validate-collection */ "../node_modules/core-js/library/modules/_validate-collection.js"); | |
| 7440 | +var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; | |
| 7441 | +var WEAK_MAP = 'WeakMap'; | |
| 7442 | +var getWeak = meta.getWeak; | |
| 7443 | +var isExtensible = Object.isExtensible; | |
| 7444 | +var uncaughtFrozenStore = weak.ufstore; | |
| 7445 | +var InternalMap; | |
| 7446 | + | |
| 7447 | +var wrapper = function (get) { | |
| 7448 | + return function WeakMap() { | |
| 7449 | + return get(this, arguments.length > 0 ? arguments[0] : undefined); | |
| 7450 | + }; | |
| 7451 | +}; | |
| 7452 | + | |
| 7453 | +var methods = { | |
| 7454 | + // 23.3.3.3 WeakMap.prototype.get(key) | |
| 7455 | + get: function get(key) { | |
| 7456 | + if (isObject(key)) { | |
| 7457 | + var data = getWeak(key); | |
| 7458 | + if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); | |
| 7459 | + return data ? data[this._i] : undefined; | |
| 7460 | + } | |
| 7461 | + }, | |
| 7462 | + // 23.3.3.5 WeakMap.prototype.set(key, value) | |
| 7463 | + set: function set(key, value) { | |
| 7464 | + return weak.def(validate(this, WEAK_MAP), key, value); | |
| 7465 | + } | |
| 7466 | +}; | |
| 7467 | + | |
| 7468 | +// 23.3 WeakMap Objects | |
| 7469 | +var $WeakMap = module.exports = __webpack_require__(/*! ./_collection */ "../node_modules/core-js/library/modules/_collection.js")(WEAK_MAP, wrapper, methods, weak, true, true); | |
| 7470 | + | |
| 7471 | +// IE11 WeakMap frozen keys fix | |
| 7472 | +if (NATIVE_WEAK_MAP && IS_IE11) { | |
| 7473 | + InternalMap = weak.getConstructor(wrapper, WEAK_MAP); | |
| 7474 | + assign(InternalMap.prototype, methods); | |
| 7475 | + meta.NEED = true; | |
| 7476 | + each(['delete', 'has', 'get', 'set'], function (key) { | |
| 7477 | + var proto = $WeakMap.prototype; | |
| 7478 | + var method = proto[key]; | |
| 7479 | + redefine(proto, key, function (a, b) { | |
| 7480 | + // store frozen objects on internal weakmap shim | |
| 7481 | + if (isObject(a) && !isExtensible(a)) { | |
| 7482 | + if (!this._f) this._f = new InternalMap(); | |
| 7483 | + var result = this._f[key](a, b); | |
| 7484 | + return key == 'set' ? this : result; | |
| 7485 | + // store all the rest on native weakmap | |
| 7486 | + } return method.call(this, a, b); | |
| 7487 | + }); | |
| 7488 | + }); | |
| 7489 | +} | |
| 7490 | + | |
| 7491 | + | |
| 7492 | +/***/ }), | |
| 7493 | + | |
| 7494 | +/***/ "../node_modules/core-js/library/modules/es7.object.entries.js": | |
| 7495 | +/*!*********************************************************************!*\ | |
| 7496 | + !*** ../node_modules/core-js/library/modules/es7.object.entries.js ***! | |
| 7497 | + \*********************************************************************/ | |
| 7498 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7499 | + | |
| 7500 | +// https://github.com/tc39/proposal-object-values-entries | |
| 7501 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7502 | +var $entries = __webpack_require__(/*! ./_object-to-array */ "../node_modules/core-js/library/modules/_object-to-array.js")(true); | |
| 7503 | + | |
| 7504 | +$export($export.S, 'Object', { | |
| 7505 | + entries: function entries(it) { | |
| 7506 | + return $entries(it); | |
| 7507 | + } | |
| 7508 | +}); | |
| 7509 | + | |
| 7510 | + | |
| 7511 | +/***/ }), | |
| 7512 | + | |
| 7513 | +/***/ "../node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js": | |
| 7514 | +/*!******************************************************************************************!*\ | |
| 7515 | + !*** ../node_modules/core-js/library/modules/es7.object.get-own-property-descriptors.js ***! | |
| 7516 | + \******************************************************************************************/ | |
| 7517 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7518 | + | |
| 7519 | +// https://github.com/tc39/proposal-object-getownpropertydescriptors | |
| 7520 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7521 | +var ownKeys = __webpack_require__(/*! ./_own-keys */ "../node_modules/core-js/library/modules/_own-keys.js"); | |
| 7522 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/library/modules/_to-iobject.js"); | |
| 7523 | +var gOPD = __webpack_require__(/*! ./_object-gopd */ "../node_modules/core-js/library/modules/_object-gopd.js"); | |
| 7524 | +var createProperty = __webpack_require__(/*! ./_create-property */ "../node_modules/core-js/library/modules/_create-property.js"); | |
| 7525 | + | |
| 7526 | +$export($export.S, 'Object', { | |
| 7527 | + getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { | |
| 7528 | + var O = toIObject(object); | |
| 7529 | + var getDesc = gOPD.f; | |
| 7530 | + var keys = ownKeys(O); | |
| 7531 | + var result = {}; | |
| 7532 | + var i = 0; | |
| 7533 | + var key, desc; | |
| 7534 | + while (keys.length > i) { | |
| 7535 | + desc = getDesc(O, key = keys[i++]); | |
| 7536 | + if (desc !== undefined) createProperty(result, key, desc); | |
| 7537 | + } | |
| 7538 | + return result; | |
| 7539 | + } | |
| 7540 | +}); | |
| 7541 | + | |
| 7542 | + | |
| 7543 | +/***/ }), | |
| 7544 | + | |
| 7545 | +/***/ "../node_modules/core-js/library/modules/es7.object.values.js": | |
| 7546 | +/*!********************************************************************!*\ | |
| 7547 | + !*** ../node_modules/core-js/library/modules/es7.object.values.js ***! | |
| 7548 | + \********************************************************************/ | |
| 7549 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7550 | + | |
| 7551 | +// https://github.com/tc39/proposal-object-values-entries | |
| 7552 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7553 | +var $values = __webpack_require__(/*! ./_object-to-array */ "../node_modules/core-js/library/modules/_object-to-array.js")(false); | |
| 7554 | + | |
| 7555 | +$export($export.S, 'Object', { | |
| 7556 | + values: function values(it) { | |
| 7557 | + return $values(it); | |
| 7558 | + } | |
| 7559 | +}); | |
| 7560 | + | |
| 7561 | + | |
| 7562 | +/***/ }), | |
| 7563 | + | |
| 7564 | +/***/ "../node_modules/core-js/library/modules/es7.promise.finally.js": | |
| 7565 | +/*!**********************************************************************!*\ | |
| 7566 | + !*** ../node_modules/core-js/library/modules/es7.promise.finally.js ***! | |
| 7567 | + \**********************************************************************/ | |
| 7568 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7569 | + | |
| 7570 | +"use strict"; | |
| 7571 | +// https://github.com/tc39/proposal-promise-finally | |
| 7572 | + | |
| 7573 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7574 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/library/modules/_core.js"); | |
| 7575 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7576 | +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "../node_modules/core-js/library/modules/_species-constructor.js"); | |
| 7577 | +var promiseResolve = __webpack_require__(/*! ./_promise-resolve */ "../node_modules/core-js/library/modules/_promise-resolve.js"); | |
| 7578 | + | |
| 7579 | +$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { | |
| 7580 | + var C = speciesConstructor(this, core.Promise || global.Promise); | |
| 7581 | + var isFunction = typeof onFinally == 'function'; | |
| 7582 | + return this.then( | |
| 7583 | + isFunction ? function (x) { | |
| 7584 | + return promiseResolve(C, onFinally()).then(function () { return x; }); | |
| 7585 | + } : onFinally, | |
| 7586 | + isFunction ? function (e) { | |
| 7587 | + return promiseResolve(C, onFinally()).then(function () { throw e; }); | |
| 7588 | + } : onFinally | |
| 7589 | + ); | |
| 7590 | +} }); | |
| 7591 | + | |
| 7592 | + | |
| 7593 | +/***/ }), | |
| 7594 | + | |
| 7595 | +/***/ "../node_modules/core-js/library/modules/es7.promise.try.js": | |
| 7596 | +/*!******************************************************************!*\ | |
| 7597 | + !*** ../node_modules/core-js/library/modules/es7.promise.try.js ***! | |
| 7598 | + \******************************************************************/ | |
| 7599 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7600 | + | |
| 7601 | +"use strict"; | |
| 7602 | + | |
| 7603 | +// https://github.com/tc39/proposal-promise-try | |
| 7604 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/library/modules/_export.js"); | |
| 7605 | +var newPromiseCapability = __webpack_require__(/*! ./_new-promise-capability */ "../node_modules/core-js/library/modules/_new-promise-capability.js"); | |
| 7606 | +var perform = __webpack_require__(/*! ./_perform */ "../node_modules/core-js/library/modules/_perform.js"); | |
| 7607 | + | |
| 7608 | +$export($export.S, 'Promise', { 'try': function (callbackfn) { | |
| 7609 | + var promiseCapability = newPromiseCapability.f(this); | |
| 7610 | + var result = perform(callbackfn); | |
| 7611 | + (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); | |
| 7612 | + return promiseCapability.promise; | |
| 7613 | +} }); | |
| 7614 | + | |
| 7615 | + | |
| 7616 | +/***/ }), | |
| 7617 | + | |
| 7618 | +/***/ "../node_modules/core-js/library/modules/es7.symbol.async-iterator.js": | |
| 7619 | +/*!****************************************************************************!*\ | |
| 7620 | + !*** ../node_modules/core-js/library/modules/es7.symbol.async-iterator.js ***! | |
| 7621 | + \****************************************************************************/ | |
| 7622 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7623 | + | |
| 7624 | +__webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js")('asyncIterator'); | |
| 7625 | + | |
| 7626 | + | |
| 7627 | +/***/ }), | |
| 7628 | + | |
| 7629 | +/***/ "../node_modules/core-js/library/modules/es7.symbol.observable.js": | |
| 7630 | +/*!************************************************************************!*\ | |
| 7631 | + !*** ../node_modules/core-js/library/modules/es7.symbol.observable.js ***! | |
| 7632 | + \************************************************************************/ | |
| 7633 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7634 | + | |
| 7635 | +__webpack_require__(/*! ./_wks-define */ "../node_modules/core-js/library/modules/_wks-define.js")('observable'); | |
| 7636 | + | |
| 7637 | + | |
| 7638 | +/***/ }), | |
| 7639 | + | |
| 7640 | +/***/ "../node_modules/core-js/library/modules/es7.weak-map.from.js": | |
| 7641 | +/*!********************************************************************!*\ | |
| 7642 | + !*** ../node_modules/core-js/library/modules/es7.weak-map.from.js ***! | |
| 7643 | + \********************************************************************/ | |
| 7644 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7645 | + | |
| 7646 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from | |
| 7647 | +__webpack_require__(/*! ./_set-collection-from */ "../node_modules/core-js/library/modules/_set-collection-from.js")('WeakMap'); | |
| 7648 | + | |
| 7649 | + | |
| 7650 | +/***/ }), | |
| 7651 | + | |
| 7652 | +/***/ "../node_modules/core-js/library/modules/es7.weak-map.of.js": | |
| 7653 | +/*!******************************************************************!*\ | |
| 7654 | + !*** ../node_modules/core-js/library/modules/es7.weak-map.of.js ***! | |
| 7655 | + \******************************************************************/ | |
| 7656 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7657 | + | |
| 7658 | +// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of | |
| 7659 | +__webpack_require__(/*! ./_set-collection-of */ "../node_modules/core-js/library/modules/_set-collection-of.js")('WeakMap'); | |
| 7660 | + | |
| 7661 | + | |
| 7662 | +/***/ }), | |
| 7663 | + | |
| 7664 | +/***/ "../node_modules/core-js/library/modules/web.dom.iterable.js": | |
| 7665 | +/*!*******************************************************************!*\ | |
| 7666 | + !*** ../node_modules/core-js/library/modules/web.dom.iterable.js ***! | |
| 7667 | + \*******************************************************************/ | |
| 7668 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 7669 | + | |
| 7670 | +__webpack_require__(/*! ./es6.array.iterator */ "../node_modules/core-js/library/modules/es6.array.iterator.js"); | |
| 7671 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/library/modules/_global.js"); | |
| 7672 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/library/modules/_hide.js"); | |
| 7673 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/library/modules/_iterators.js"); | |
| 7674 | +var TO_STRING_TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/library/modules/_wks.js")('toStringTag'); | |
| 7675 | + | |
| 7676 | +var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + | |
| 7677 | + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + | |
| 7678 | + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + | |
| 7679 | + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + | |
| 7680 | + 'TextTrackList,TouchList').split(','); | |
| 7681 | + | |
| 7682 | +for (var i = 0; i < DOMIterables.length; i++) { | |
| 7683 | + var NAME = DOMIterables[i]; | |
| 7684 | + var Collection = global[NAME]; | |
| 7685 | + var proto = Collection && Collection.prototype; | |
| 7686 | + if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 7687 | + Iterators[NAME] = Iterators.Array; | |
| 7688 | +} | |
| 7689 | + | |
| 7690 | + | |
| 7691 | +/***/ }), | |
| 7692 | + | |
| 7693 | +/***/ "../node_modules/core-js/modules/_a-function.js": | |
| 7694 | +/*!******************************************************!*\ | |
| 7695 | + !*** ../node_modules/core-js/modules/_a-function.js ***! | |
| 7696 | + \******************************************************/ | |
| 7697 | +/***/ ((module) => { | |
| 7698 | + | |
| 7699 | +module.exports = function (it) { | |
| 7700 | + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); | |
| 7701 | + return it; | |
| 7702 | +}; | |
| 7703 | + | |
| 7704 | + | |
| 7705 | +/***/ }), | |
| 7706 | + | |
| 7707 | +/***/ "../node_modules/core-js/modules/_add-to-unscopables.js": | |
| 7708 | +/*!**************************************************************!*\ | |
| 7709 | + !*** ../node_modules/core-js/modules/_add-to-unscopables.js ***! | |
| 7710 | + \**************************************************************/ | |
| 7711 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7712 | + | |
| 7713 | +// 22.1.3.31 Array.prototype[@@unscopables] | |
| 7714 | +var UNSCOPABLES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('unscopables'); | |
| 7715 | +var ArrayProto = Array.prototype; | |
| 7716 | +if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js")(ArrayProto, UNSCOPABLES, {}); | |
| 7717 | +module.exports = function (key) { | |
| 7718 | + ArrayProto[UNSCOPABLES][key] = true; | |
| 7719 | +}; | |
| 7720 | + | |
| 7721 | + | |
| 7722 | +/***/ }), | |
| 7723 | + | |
| 7724 | +/***/ "../node_modules/core-js/modules/_advance-string-index.js": | |
| 7725 | +/*!****************************************************************!*\ | |
| 7726 | + !*** ../node_modules/core-js/modules/_advance-string-index.js ***! | |
| 7727 | + \****************************************************************/ | |
| 7728 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7729 | + | |
| 7730 | +"use strict"; | |
| 7731 | + | |
| 7732 | +var at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/modules/_string-at.js")(true); | |
| 7733 | + | |
| 7734 | + // `AdvanceStringIndex` abstract operation | |
| 7735 | +// https://tc39.github.io/ecma262/#sec-advancestringindex | |
| 7736 | +module.exports = function (S, index, unicode) { | |
| 7737 | + return index + (unicode ? at(S, index).length : 1); | |
| 7738 | +}; | |
| 7739 | + | |
| 7740 | + | |
| 7741 | +/***/ }), | |
| 7742 | + | |
| 7743 | +/***/ "../node_modules/core-js/modules/_an-object.js": | |
| 7744 | +/*!*****************************************************!*\ | |
| 7745 | + !*** ../node_modules/core-js/modules/_an-object.js ***! | |
| 7746 | + \*****************************************************/ | |
| 7747 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7748 | + | |
| 7749 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 7750 | +module.exports = function (it) { | |
| 7751 | + if (!isObject(it)) throw TypeError(it + ' is not an object!'); | |
| 7752 | + return it; | |
| 7753 | +}; | |
| 7754 | + | |
| 7755 | + | |
| 7756 | +/***/ }), | |
| 7757 | + | |
| 7758 | +/***/ "../node_modules/core-js/modules/_array-includes.js": | |
| 7759 | +/*!**********************************************************!*\ | |
| 7760 | + !*** ../node_modules/core-js/modules/_array-includes.js ***! | |
| 7761 | + \**********************************************************/ | |
| 7762 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7763 | + | |
| 7764 | +// false -> Array#indexOf | |
| 7765 | +// true -> Array#includes | |
| 7766 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/modules/_to-iobject.js"); | |
| 7767 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 7768 | +var toAbsoluteIndex = __webpack_require__(/*! ./_to-absolute-index */ "../node_modules/core-js/modules/_to-absolute-index.js"); | |
| 7769 | +module.exports = function (IS_INCLUDES) { | |
| 7770 | + return function ($this, el, fromIndex) { | |
| 7771 | + var O = toIObject($this); | |
| 7772 | + var length = toLength(O.length); | |
| 7773 | + var index = toAbsoluteIndex(fromIndex, length); | |
| 7774 | + var value; | |
| 7775 | + // Array#includes uses SameValueZero equality algorithm | |
| 7776 | + // eslint-disable-next-line no-self-compare | |
| 7777 | + if (IS_INCLUDES && el != el) while (length > index) { | |
| 7778 | + value = O[index++]; | |
| 7779 | + // eslint-disable-next-line no-self-compare | |
| 7780 | + if (value != value) return true; | |
| 7781 | + // Array#indexOf ignores holes, Array#includes - not | |
| 7782 | + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { | |
| 7783 | + if (O[index] === el) return IS_INCLUDES || index || 0; | |
| 7784 | + } return !IS_INCLUDES && -1; | |
| 7785 | + }; | |
| 7786 | +}; | |
| 7787 | + | |
| 7788 | + | |
| 7789 | +/***/ }), | |
| 7790 | + | |
| 7791 | +/***/ "../node_modules/core-js/modules/_array-methods.js": | |
| 7792 | +/*!*********************************************************!*\ | |
| 7793 | + !*** ../node_modules/core-js/modules/_array-methods.js ***! | |
| 7794 | + \*********************************************************/ | |
| 7795 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7796 | + | |
| 7797 | +// 0 -> Array#forEach | |
| 7798 | +// 1 -> Array#map | |
| 7799 | +// 2 -> Array#filter | |
| 7800 | +// 3 -> Array#some | |
| 7801 | +// 4 -> Array#every | |
| 7802 | +// 5 -> Array#find | |
| 7803 | +// 6 -> Array#findIndex | |
| 7804 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/modules/_ctx.js"); | |
| 7805 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/modules/_iobject.js"); | |
| 7806 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 7807 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 7808 | +var asc = __webpack_require__(/*! ./_array-species-create */ "../node_modules/core-js/modules/_array-species-create.js"); | |
| 7809 | +module.exports = function (TYPE, $create) { | |
| 7810 | + var IS_MAP = TYPE == 1; | |
| 7811 | + var IS_FILTER = TYPE == 2; | |
| 7812 | + var IS_SOME = TYPE == 3; | |
| 7813 | + var IS_EVERY = TYPE == 4; | |
| 7814 | + var IS_FIND_INDEX = TYPE == 6; | |
| 7815 | + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; | |
| 7816 | + var create = $create || asc; | |
| 7817 | + return function ($this, callbackfn, that) { | |
| 7818 | + var O = toObject($this); | |
| 7819 | + var self = IObject(O); | |
| 7820 | + var f = ctx(callbackfn, that, 3); | |
| 7821 | + var length = toLength(self.length); | |
| 7822 | + var index = 0; | |
| 7823 | + var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; | |
| 7824 | + var val, res; | |
| 7825 | + for (;length > index; index++) if (NO_HOLES || index in self) { | |
| 7826 | + val = self[index]; | |
| 7827 | + res = f(val, index, O); | |
| 7828 | + if (TYPE) { | |
| 7829 | + if (IS_MAP) result[index] = res; // map | |
| 7830 | + else if (res) switch (TYPE) { | |
| 7831 | + case 3: return true; // some | |
| 7832 | + case 5: return val; // find | |
| 7833 | + case 6: return index; // findIndex | |
| 7834 | + case 2: result.push(val); // filter | |
| 7835 | + } else if (IS_EVERY) return false; // every | |
| 7836 | + } | |
| 7837 | + } | |
| 7838 | + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; | |
| 7839 | + }; | |
| 7840 | +}; | |
| 7841 | + | |
| 7842 | + | |
| 7843 | +/***/ }), | |
| 7844 | + | |
| 7845 | +/***/ "../node_modules/core-js/modules/_array-species-constructor.js": | |
| 7846 | +/*!*********************************************************************!*\ | |
| 7847 | + !*** ../node_modules/core-js/modules/_array-species-constructor.js ***! | |
| 7848 | + \*********************************************************************/ | |
| 7849 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7850 | + | |
| 7851 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 7852 | +var isArray = __webpack_require__(/*! ./_is-array */ "../node_modules/core-js/modules/_is-array.js"); | |
| 7853 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('species'); | |
| 7854 | + | |
| 7855 | +module.exports = function (original) { | |
| 7856 | + var C; | |
| 7857 | + if (isArray(original)) { | |
| 7858 | + C = original.constructor; | |
| 7859 | + // cross-realm fallback | |
| 7860 | + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; | |
| 7861 | + if (isObject(C)) { | |
| 7862 | + C = C[SPECIES]; | |
| 7863 | + if (C === null) C = undefined; | |
| 7864 | + } | |
| 7865 | + } return C === undefined ? Array : C; | |
| 7866 | +}; | |
| 7867 | + | |
| 7868 | + | |
| 7869 | +/***/ }), | |
| 7870 | + | |
| 7871 | +/***/ "../node_modules/core-js/modules/_array-species-create.js": | |
| 7872 | +/*!****************************************************************!*\ | |
| 7873 | + !*** ../node_modules/core-js/modules/_array-species-create.js ***! | |
| 7874 | + \****************************************************************/ | |
| 7875 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7876 | + | |
| 7877 | +// 9.4.2.3 ArraySpeciesCreate(originalArray, length) | |
| 7878 | +var speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ "../node_modules/core-js/modules/_array-species-constructor.js"); | |
| 7879 | + | |
| 7880 | +module.exports = function (original, length) { | |
| 7881 | + return new (speciesConstructor(original))(length); | |
| 7882 | +}; | |
| 7883 | + | |
| 7884 | + | |
| 7885 | +/***/ }), | |
| 7886 | + | |
| 7887 | +/***/ "../node_modules/core-js/modules/_classof.js": | |
| 7888 | +/*!***************************************************!*\ | |
| 7889 | + !*** ../node_modules/core-js/modules/_classof.js ***! | |
| 7890 | + \***************************************************/ | |
| 7891 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7892 | + | |
| 7893 | +// getting tag from 19.1.3.6 Object.prototype.toString() | |
| 7894 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 7895 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag'); | |
| 7896 | +// ES3 wrong here | |
| 7897 | +var ARG = cof(function () { return arguments; }()) == 'Arguments'; | |
| 7898 | + | |
| 7899 | +// fallback for IE11 Script Access Denied error | |
| 7900 | +var tryGet = function (it, key) { | |
| 7901 | + try { | |
| 7902 | + return it[key]; | |
| 7903 | + } catch (e) { /* empty */ } | |
| 7904 | +}; | |
| 7905 | + | |
| 7906 | +module.exports = function (it) { | |
| 7907 | + var O, T, B; | |
| 7908 | + return it === undefined ? 'Undefined' : it === null ? 'Null' | |
| 7909 | + // @@toStringTag case | |
| 7910 | + : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T | |
| 7911 | + // builtinTag case | |
| 7912 | + : ARG ? cof(O) | |
| 7913 | + // ES3 arguments fallback | |
| 7914 | + : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; | |
| 7915 | +}; | |
| 7916 | + | |
| 7917 | + | |
| 7918 | +/***/ }), | |
| 7919 | + | |
| 7920 | +/***/ "../node_modules/core-js/modules/_cof.js": | |
| 7921 | +/*!***********************************************!*\ | |
| 7922 | + !*** ../node_modules/core-js/modules/_cof.js ***! | |
| 7923 | + \***********************************************/ | |
| 7924 | +/***/ ((module) => { | |
| 7925 | + | |
| 7926 | +var toString = {}.toString; | |
| 7927 | + | |
| 7928 | +module.exports = function (it) { | |
| 7929 | + return toString.call(it).slice(8, -1); | |
| 7930 | +}; | |
| 7931 | + | |
| 7932 | + | |
| 7933 | +/***/ }), | |
| 7934 | + | |
| 7935 | +/***/ "../node_modules/core-js/modules/_core.js": | |
| 7936 | +/*!************************************************!*\ | |
| 7937 | + !*** ../node_modules/core-js/modules/_core.js ***! | |
| 7938 | + \************************************************/ | |
| 7939 | +/***/ ((module) => { | |
| 7940 | + | |
| 7941 | +var core = module.exports = { version: '2.6.12' }; | |
| 7942 | +if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef | |
| 7943 | + | |
| 7944 | + | |
| 7945 | +/***/ }), | |
| 7946 | + | |
| 7947 | +/***/ "../node_modules/core-js/modules/_ctx.js": | |
| 7948 | +/*!***********************************************!*\ | |
| 7949 | + !*** ../node_modules/core-js/modules/_ctx.js ***! | |
| 7950 | + \***********************************************/ | |
| 7951 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7952 | + | |
| 7953 | +// optional / simple context binding | |
| 7954 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/modules/_a-function.js"); | |
| 7955 | +module.exports = function (fn, that, length) { | |
| 7956 | + aFunction(fn); | |
| 7957 | + if (that === undefined) return fn; | |
| 7958 | + switch (length) { | |
| 7959 | + case 1: return function (a) { | |
| 7960 | + return fn.call(that, a); | |
| 7961 | + }; | |
| 7962 | + case 2: return function (a, b) { | |
| 7963 | + return fn.call(that, a, b); | |
| 7964 | + }; | |
| 7965 | + case 3: return function (a, b, c) { | |
| 7966 | + return fn.call(that, a, b, c); | |
| 7967 | + }; | |
| 7968 | + } | |
| 7969 | + return function (/* ...args */) { | |
| 7970 | + return fn.apply(that, arguments); | |
| 7971 | + }; | |
| 7972 | +}; | |
| 7973 | + | |
| 7974 | + | |
| 7975 | +/***/ }), | |
| 7976 | + | |
| 7977 | +/***/ "../node_modules/core-js/modules/_defined.js": | |
| 7978 | +/*!***************************************************!*\ | |
| 7979 | + !*** ../node_modules/core-js/modules/_defined.js ***! | |
| 7980 | + \***************************************************/ | |
| 7981 | +/***/ ((module) => { | |
| 7982 | + | |
| 7983 | +// 7.2.1 RequireObjectCoercible(argument) | |
| 7984 | +module.exports = function (it) { | |
| 7985 | + if (it == undefined) throw TypeError("Can't call method on " + it); | |
| 7986 | + return it; | |
| 7987 | +}; | |
| 7988 | + | |
| 7989 | + | |
| 7990 | +/***/ }), | |
| 7991 | + | |
| 7992 | +/***/ "../node_modules/core-js/modules/_descriptors.js": | |
| 7993 | +/*!*******************************************************!*\ | |
| 7994 | + !*** ../node_modules/core-js/modules/_descriptors.js ***! | |
| 7995 | + \*******************************************************/ | |
| 7996 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7997 | + | |
| 7998 | +// Thank's IE8 for his funny defineProperty | |
| 7999 | +module.exports = !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 8000 | + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | |
| 8001 | +}); | |
| 8002 | + | |
| 8003 | + | |
| 8004 | +/***/ }), | |
| 8005 | + | |
| 8006 | +/***/ "../node_modules/core-js/modules/_dom-create.js": | |
| 8007 | +/*!******************************************************!*\ | |
| 8008 | + !*** ../node_modules/core-js/modules/_dom-create.js ***! | |
| 8009 | + \******************************************************/ | |
| 8010 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8011 | + | |
| 8012 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 8013 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").document; | |
| 8014 | +// typeof document.createElement is 'object' in old IE | |
| 8015 | +var is = isObject(document) && isObject(document.createElement); | |
| 8016 | +module.exports = function (it) { | |
| 8017 | + return is ? document.createElement(it) : {}; | |
| 8018 | +}; | |
| 8019 | + | |
| 8020 | + | |
| 8021 | +/***/ }), | |
| 8022 | + | |
| 8023 | +/***/ "../node_modules/core-js/modules/_enum-bug-keys.js": | |
| 8024 | +/*!*********************************************************!*\ | |
| 8025 | + !*** ../node_modules/core-js/modules/_enum-bug-keys.js ***! | |
| 8026 | + \*********************************************************/ | |
| 8027 | +/***/ ((module) => { | |
| 8028 | + | |
| 8029 | +// IE 8- don't enum bug keys | |
| 8030 | +module.exports = ( | |
| 8031 | + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' | |
| 8032 | +).split(','); | |
| 8033 | + | |
| 8034 | + | |
| 8035 | +/***/ }), | |
| 8036 | + | |
| 8037 | +/***/ "../node_modules/core-js/modules/_export.js": | |
| 8038 | +/*!**************************************************!*\ | |
| 8039 | + !*** ../node_modules/core-js/modules/_export.js ***! | |
| 8040 | + \**************************************************/ | |
| 8041 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8042 | + | |
| 8043 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 8044 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js"); | |
| 8045 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 8046 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 8047 | +var ctx = __webpack_require__(/*! ./_ctx */ "../node_modules/core-js/modules/_ctx.js"); | |
| 8048 | +var PROTOTYPE = 'prototype'; | |
| 8049 | + | |
| 8050 | +var $export = function (type, name, source) { | |
| 8051 | + var IS_FORCED = type & $export.F; | |
| 8052 | + var IS_GLOBAL = type & $export.G; | |
| 8053 | + var IS_STATIC = type & $export.S; | |
| 8054 | + var IS_PROTO = type & $export.P; | |
| 8055 | + var IS_BIND = type & $export.B; | |
| 8056 | + var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; | |
| 8057 | + var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); | |
| 8058 | + var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); | |
| 8059 | + var key, own, out, exp; | |
| 8060 | + if (IS_GLOBAL) source = name; | |
| 8061 | + for (key in source) { | |
| 8062 | + // contains in native | |
| 8063 | + own = !IS_FORCED && target && target[key] !== undefined; | |
| 8064 | + // export native or passed | |
| 8065 | + out = (own ? target : source)[key]; | |
| 8066 | + // bind timers to global for call from export context | |
| 8067 | + exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; | |
| 8068 | + // extend global | |
| 8069 | + if (target) redefine(target, key, out, type & $export.U); | |
| 8070 | + // export | |
| 8071 | + if (exports[key] != out) hide(exports, key, exp); | |
| 8072 | + if (IS_PROTO && expProto[key] != out) expProto[key] = out; | |
| 8073 | + } | |
| 8074 | +}; | |
| 8075 | +global.core = core; | |
| 8076 | +// type bitmap | |
| 8077 | +$export.F = 1; // forced | |
| 8078 | +$export.G = 2; // global | |
| 8079 | +$export.S = 4; // static | |
| 8080 | +$export.P = 8; // proto | |
| 8081 | +$export.B = 16; // bind | |
| 8082 | +$export.W = 32; // wrap | |
| 8083 | +$export.U = 64; // safe | |
| 8084 | +$export.R = 128; // real proto method for `library` | |
| 8085 | +module.exports = $export; | |
| 8086 | + | |
| 8087 | + | |
| 8088 | +/***/ }), | |
| 8089 | + | |
| 8090 | +/***/ "../node_modules/core-js/modules/_fails.js": | |
| 8091 | +/*!*************************************************!*\ | |
| 8092 | + !*** ../node_modules/core-js/modules/_fails.js ***! | |
| 8093 | + \*************************************************/ | |
| 8094 | +/***/ ((module) => { | |
| 8095 | + | |
| 8096 | +module.exports = function (exec) { | |
| 8097 | + try { | |
| 8098 | + return !!exec(); | |
| 8099 | + } catch (e) { | |
| 8100 | + return true; | |
| 8101 | + } | |
| 8102 | +}; | |
| 8103 | + | |
| 8104 | + | |
| 8105 | +/***/ }), | |
| 8106 | + | |
| 8107 | +/***/ "../node_modules/core-js/modules/_fix-re-wks.js": | |
| 8108 | +/*!******************************************************!*\ | |
| 8109 | + !*** ../node_modules/core-js/modules/_fix-re-wks.js ***! | |
| 8110 | + \******************************************************/ | |
| 8111 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8112 | + | |
| 8113 | +"use strict"; | |
| 8114 | + | |
| 8115 | +__webpack_require__(/*! ./es6.regexp.exec */ "../node_modules/core-js/modules/es6.regexp.exec.js"); | |
| 8116 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 8117 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 8118 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 8119 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 8120 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js"); | |
| 8121 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 8122 | + | |
| 8123 | +var SPECIES = wks('species'); | |
| 8124 | + | |
| 8125 | +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { | |
| 8126 | + // #replace needs built-in support for named groups. | |
| 8127 | + // #match works fine because it just return the exec results, even if it has | |
| 8128 | + // a "grops" property. | |
| 8129 | + var re = /./; | |
| 8130 | + re.exec = function () { | |
| 8131 | + var result = []; | |
| 8132 | + result.groups = { a: '7' }; | |
| 8133 | + return result; | |
| 8134 | + }; | |
| 8135 | + return ''.replace(re, '$<a>') !== '7'; | |
| 8136 | +}); | |
| 8137 | + | |
| 8138 | +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { | |
| 8139 | + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec | |
| 8140 | + var re = /(?:)/; | |
| 8141 | + var originalExec = re.exec; | |
| 8142 | + re.exec = function () { return originalExec.apply(this, arguments); }; | |
| 8143 | + var result = 'ab'.split(re); | |
| 8144 | + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; | |
| 8145 | +})(); | |
| 8146 | + | |
| 8147 | +module.exports = function (KEY, length, exec) { | |
| 8148 | + var SYMBOL = wks(KEY); | |
| 8149 | + | |
| 8150 | + var DELEGATES_TO_SYMBOL = !fails(function () { | |
| 8151 | + // String methods call symbol-named RegEp methods | |
| 8152 | + var O = {}; | |
| 8153 | + O[SYMBOL] = function () { return 7; }; | |
| 8154 | + return ''[KEY](O) != 7; | |
| 8155 | + }); | |
| 8156 | + | |
| 8157 | + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { | |
| 8158 | + // Symbol-named RegExp methods call .exec | |
| 8159 | + var execCalled = false; | |
| 8160 | + var re = /a/; | |
| 8161 | + re.exec = function () { execCalled = true; return null; }; | |
| 8162 | + if (KEY === 'split') { | |
| 8163 | + // RegExp[@@split] doesn't call the regex's exec method, but first creates | |
| 8164 | + // a new one. We need to return the patched regex when creating the new one. | |
| 8165 | + re.constructor = {}; | |
| 8166 | + re.constructor[SPECIES] = function () { return re; }; | |
| 8167 | + } | |
| 8168 | + re[SYMBOL](''); | |
| 8169 | + return !execCalled; | |
| 8170 | + }) : undefined; | |
| 8171 | + | |
| 8172 | + if ( | |
| 8173 | + !DELEGATES_TO_SYMBOL || | |
| 8174 | + !DELEGATES_TO_EXEC || | |
| 8175 | + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || | |
| 8176 | + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) | |
| 8177 | + ) { | |
| 8178 | + var nativeRegExpMethod = /./[SYMBOL]; | |
| 8179 | + var fns = exec( | |
| 8180 | + defined, | |
| 8181 | + SYMBOL, | |
| 8182 | + ''[KEY], | |
| 8183 | + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { | |
| 8184 | + if (regexp.exec === regexpExec) { | |
| 8185 | + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { | |
| 8186 | + // The native String method already delegates to @@method (this | |
| 8187 | + // polyfilled function), leasing to infinite recursion. | |
| 8188 | + // We avoid it by directly calling the native @@method method. | |
| 8189 | + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; | |
| 8190 | + } | |
| 8191 | + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; | |
| 8192 | + } | |
| 8193 | + return { done: false }; | |
| 8194 | + } | |
| 8195 | + ); | |
| 8196 | + var strfn = fns[0]; | |
| 8197 | + var rxfn = fns[1]; | |
| 8198 | + | |
| 8199 | + redefine(String.prototype, KEY, strfn); | |
| 8200 | + hide(RegExp.prototype, SYMBOL, length == 2 | |
| 8201 | + // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) | |
| 8202 | + // 21.2.5.11 RegExp.prototype[@@split](string, limit) | |
| 8203 | + ? function (string, arg) { return rxfn.call(string, this, arg); } | |
| 8204 | + // 21.2.5.6 RegExp.prototype[@@match](string) | |
| 8205 | + // 21.2.5.9 RegExp.prototype[@@search](string) | |
| 8206 | + : function (string) { return rxfn.call(string, this); } | |
| 8207 | + ); | |
| 8208 | + } | |
| 8209 | +}; | |
| 8210 | + | |
| 8211 | + | |
| 8212 | +/***/ }), | |
| 8213 | + | |
| 8214 | +/***/ "../node_modules/core-js/modules/_flags.js": | |
| 8215 | +/*!*************************************************!*\ | |
| 8216 | + !*** ../node_modules/core-js/modules/_flags.js ***! | |
| 8217 | + \*************************************************/ | |
| 8218 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8219 | + | |
| 8220 | +"use strict"; | |
| 8221 | + | |
| 8222 | +// 21.2.5.3 get RegExp.prototype.flags | |
| 8223 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8224 | +module.exports = function () { | |
| 8225 | + var that = anObject(this); | |
| 8226 | + var result = ''; | |
| 8227 | + if (that.global) result += 'g'; | |
| 8228 | + if (that.ignoreCase) result += 'i'; | |
| 8229 | + if (that.multiline) result += 'm'; | |
| 8230 | + if (that.unicode) result += 'u'; | |
| 8231 | + if (that.sticky) result += 'y'; | |
| 8232 | + return result; | |
| 8233 | +}; | |
| 8234 | + | |
| 8235 | + | |
| 8236 | +/***/ }), | |
| 8237 | + | |
| 8238 | +/***/ "../node_modules/core-js/modules/_function-to-string.js": | |
| 8239 | +/*!**************************************************************!*\ | |
| 8240 | + !*** ../node_modules/core-js/modules/_function-to-string.js ***! | |
| 8241 | + \**************************************************************/ | |
| 8242 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8243 | + | |
| 8244 | +module.exports = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('native-function-to-string', Function.toString); | |
| 8245 | + | |
| 8246 | + | |
| 8247 | +/***/ }), | |
| 8248 | + | |
| 8249 | +/***/ "../node_modules/core-js/modules/_global.js": | |
| 8250 | +/*!**************************************************!*\ | |
| 8251 | + !*** ../node_modules/core-js/modules/_global.js ***! | |
| 8252 | + \**************************************************/ | |
| 8253 | +/***/ ((module) => { | |
| 8254 | + | |
| 8255 | +// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | |
| 8256 | +var global = module.exports = typeof window != 'undefined' && window.Math == Math | |
| 8257 | + ? window : typeof self != 'undefined' && self.Math == Math ? self | |
| 8258 | + // eslint-disable-next-line no-new-func | |
| 8259 | + : Function('return this')(); | |
| 8260 | +if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | |
| 8261 | + | |
| 8262 | + | |
| 8263 | +/***/ }), | |
| 8264 | + | |
| 8265 | +/***/ "../node_modules/core-js/modules/_has.js": | |
| 8266 | +/*!***********************************************!*\ | |
| 8267 | + !*** ../node_modules/core-js/modules/_has.js ***! | |
| 8268 | + \***********************************************/ | |
| 8269 | +/***/ ((module) => { | |
| 8270 | + | |
| 8271 | +var hasOwnProperty = {}.hasOwnProperty; | |
| 8272 | +module.exports = function (it, key) { | |
| 8273 | + return hasOwnProperty.call(it, key); | |
| 8274 | +}; | |
| 8275 | + | |
| 8276 | + | |
| 8277 | +/***/ }), | |
| 8278 | + | |
| 8279 | +/***/ "../node_modules/core-js/modules/_hide.js": | |
| 8280 | +/*!************************************************!*\ | |
| 8281 | + !*** ../node_modules/core-js/modules/_hide.js ***! | |
| 8282 | + \************************************************/ | |
| 8283 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8284 | + | |
| 8285 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js"); | |
| 8286 | +var createDesc = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/modules/_property-desc.js"); | |
| 8287 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? function (object, key, value) { | |
| 8288 | + return dP.f(object, key, createDesc(1, value)); | |
| 8289 | +} : function (object, key, value) { | |
| 8290 | + object[key] = value; | |
| 8291 | + return object; | |
| 8292 | +}; | |
| 8293 | + | |
| 8294 | + | |
| 8295 | +/***/ }), | |
| 8296 | + | |
| 8297 | +/***/ "../node_modules/core-js/modules/_html.js": | |
| 8298 | +/*!************************************************!*\ | |
| 8299 | + !*** ../node_modules/core-js/modules/_html.js ***! | |
| 8300 | + \************************************************/ | |
| 8301 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8302 | + | |
| 8303 | +var document = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").document; | |
| 8304 | +module.exports = document && document.documentElement; | |
| 8305 | + | |
| 8306 | + | |
| 8307 | +/***/ }), | |
| 8308 | + | |
| 8309 | +/***/ "../node_modules/core-js/modules/_ie8-dom-define.js": | |
| 8310 | +/*!**********************************************************!*\ | |
| 8311 | + !*** ../node_modules/core-js/modules/_ie8-dom-define.js ***! | |
| 8312 | + \**********************************************************/ | |
| 8313 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8314 | + | |
| 8315 | +module.exports = !__webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") && !__webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js")(function () { | |
| 8316 | + return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/modules/_dom-create.js")('div'), 'a', { get: function () { return 7; } }).a != 7; | |
| 8317 | +}); | |
| 8318 | + | |
| 8319 | + | |
| 8320 | +/***/ }), | |
| 8321 | + | |
| 8322 | +/***/ "../node_modules/core-js/modules/_iobject.js": | |
| 8323 | +/*!***************************************************!*\ | |
| 8324 | + !*** ../node_modules/core-js/modules/_iobject.js ***! | |
| 8325 | + \***************************************************/ | |
| 8326 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8327 | + | |
| 8328 | +// fallback for non-array-like ES3 and non-enumerable old V8 strings | |
| 8329 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 8330 | +// eslint-disable-next-line no-prototype-builtins | |
| 8331 | +module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { | |
| 8332 | + return cof(it) == 'String' ? it.split('') : Object(it); | |
| 8333 | +}; | |
| 8334 | + | |
| 8335 | + | |
| 8336 | +/***/ }), | |
| 8337 | + | |
| 8338 | +/***/ "../node_modules/core-js/modules/_is-array.js": | |
| 8339 | +/*!****************************************************!*\ | |
| 8340 | + !*** ../node_modules/core-js/modules/_is-array.js ***! | |
| 8341 | + \****************************************************/ | |
| 8342 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8343 | + | |
| 8344 | +// 7.2.2 IsArray(argument) | |
| 8345 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 8346 | +module.exports = Array.isArray || function isArray(arg) { | |
| 8347 | + return cof(arg) == 'Array'; | |
| 8348 | +}; | |
| 8349 | + | |
| 8350 | + | |
| 8351 | +/***/ }), | |
| 8352 | + | |
| 8353 | +/***/ "../node_modules/core-js/modules/_is-object.js": | |
| 8354 | +/*!*****************************************************!*\ | |
| 8355 | + !*** ../node_modules/core-js/modules/_is-object.js ***! | |
| 8356 | + \*****************************************************/ | |
| 8357 | +/***/ ((module) => { | |
| 8358 | + | |
| 8359 | +module.exports = function (it) { | |
| 8360 | + return typeof it === 'object' ? it !== null : typeof it === 'function'; | |
| 8361 | +}; | |
| 8362 | + | |
| 8363 | + | |
| 8364 | +/***/ }), | |
| 8365 | + | |
| 8366 | +/***/ "../node_modules/core-js/modules/_is-regexp.js": | |
| 8367 | +/*!*****************************************************!*\ | |
| 8368 | + !*** ../node_modules/core-js/modules/_is-regexp.js ***! | |
| 8369 | + \*****************************************************/ | |
| 8370 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8371 | + | |
| 8372 | +// 7.2.8 IsRegExp(argument) | |
| 8373 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 8374 | +var cof = __webpack_require__(/*! ./_cof */ "../node_modules/core-js/modules/_cof.js"); | |
| 8375 | +var MATCH = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('match'); | |
| 8376 | +module.exports = function (it) { | |
| 8377 | + var isRegExp; | |
| 8378 | + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); | |
| 8379 | +}; | |
| 8380 | + | |
| 8381 | + | |
| 8382 | +/***/ }), | |
| 8383 | + | |
| 8384 | +/***/ "../node_modules/core-js/modules/_iter-create.js": | |
| 8385 | +/*!*******************************************************!*\ | |
| 8386 | + !*** ../node_modules/core-js/modules/_iter-create.js ***! | |
| 8387 | + \*******************************************************/ | |
| 8388 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8389 | + | |
| 8390 | +"use strict"; | |
| 8391 | + | |
| 8392 | +var create = __webpack_require__(/*! ./_object-create */ "../node_modules/core-js/modules/_object-create.js"); | |
| 8393 | +var descriptor = __webpack_require__(/*! ./_property-desc */ "../node_modules/core-js/modules/_property-desc.js"); | |
| 8394 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/modules/_set-to-string-tag.js"); | |
| 8395 | +var IteratorPrototype = {}; | |
| 8396 | + | |
| 8397 | +// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() | |
| 8398 | +__webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js")(IteratorPrototype, __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('iterator'), function () { return this; }); | |
| 8399 | + | |
| 8400 | +module.exports = function (Constructor, NAME, next) { | |
| 8401 | + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); | |
| 8402 | + setToStringTag(Constructor, NAME + ' Iterator'); | |
| 8403 | +}; | |
| 8404 | + | |
| 8405 | + | |
| 8406 | +/***/ }), | |
| 8407 | + | |
| 8408 | +/***/ "../node_modules/core-js/modules/_iter-define.js": | |
| 8409 | +/*!*******************************************************!*\ | |
| 8410 | + !*** ../node_modules/core-js/modules/_iter-define.js ***! | |
| 8411 | + \*******************************************************/ | |
| 8412 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8413 | + | |
| 8414 | +"use strict"; | |
| 8415 | + | |
| 8416 | +var LIBRARY = __webpack_require__(/*! ./_library */ "../node_modules/core-js/modules/_library.js"); | |
| 8417 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 8418 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 8419 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 8420 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/modules/_iterators.js"); | |
| 8421 | +var $iterCreate = __webpack_require__(/*! ./_iter-create */ "../node_modules/core-js/modules/_iter-create.js"); | |
| 8422 | +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "../node_modules/core-js/modules/_set-to-string-tag.js"); | |
| 8423 | +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "../node_modules/core-js/modules/_object-gpo.js"); | |
| 8424 | +var ITERATOR = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('iterator'); | |
| 8425 | +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` | |
| 8426 | +var FF_ITERATOR = '@@iterator'; | |
| 8427 | +var KEYS = 'keys'; | |
| 8428 | +var VALUES = 'values'; | |
| 8429 | + | |
| 8430 | +var returnThis = function () { return this; }; | |
| 8431 | + | |
| 8432 | +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { | |
| 8433 | + $iterCreate(Constructor, NAME, next); | |
| 8434 | + var getMethod = function (kind) { | |
| 8435 | + if (!BUGGY && kind in proto) return proto[kind]; | |
| 8436 | + switch (kind) { | |
| 8437 | + case KEYS: return function keys() { return new Constructor(this, kind); }; | |
| 8438 | + case VALUES: return function values() { return new Constructor(this, kind); }; | |
| 8439 | + } return function entries() { return new Constructor(this, kind); }; | |
| 8440 | + }; | |
| 8441 | + var TAG = NAME + ' Iterator'; | |
| 8442 | + var DEF_VALUES = DEFAULT == VALUES; | |
| 8443 | + var VALUES_BUG = false; | |
| 8444 | + var proto = Base.prototype; | |
| 8445 | + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; | |
| 8446 | + var $default = $native || getMethod(DEFAULT); | |
| 8447 | + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; | |
| 8448 | + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; | |
| 8449 | + var methods, key, IteratorPrototype; | |
| 8450 | + // Fix native | |
| 8451 | + if ($anyNative) { | |
| 8452 | + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); | |
| 8453 | + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { | |
| 8454 | + // Set @@toStringTag to native iterators | |
| 8455 | + setToStringTag(IteratorPrototype, TAG, true); | |
| 8456 | + // fix for some old engines | |
| 8457 | + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); | |
| 8458 | + } | |
| 8459 | + } | |
| 8460 | + // fix Array#{values, @@iterator}.name in V8 / FF | |
| 8461 | + if (DEF_VALUES && $native && $native.name !== VALUES) { | |
| 8462 | + VALUES_BUG = true; | |
| 8463 | + $default = function values() { return $native.call(this); }; | |
| 8464 | + } | |
| 8465 | + // Define iterator | |
| 8466 | + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { | |
| 8467 | + hide(proto, ITERATOR, $default); | |
| 8468 | + } | |
| 8469 | + // Plug for library | |
| 8470 | + Iterators[NAME] = $default; | |
| 8471 | + Iterators[TAG] = returnThis; | |
| 8472 | + if (DEFAULT) { | |
| 8473 | + methods = { | |
| 8474 | + values: DEF_VALUES ? $default : getMethod(VALUES), | |
| 8475 | + keys: IS_SET ? $default : getMethod(KEYS), | |
| 8476 | + entries: $entries | |
| 8477 | + }; | |
| 8478 | + if (FORCED) for (key in methods) { | |
| 8479 | + if (!(key in proto)) redefine(proto, key, methods[key]); | |
| 8480 | + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); | |
| 8481 | + } | |
| 8482 | + return methods; | |
| 8483 | +}; | |
| 8484 | + | |
| 8485 | + | |
| 8486 | +/***/ }), | |
| 8487 | + | |
| 8488 | +/***/ "../node_modules/core-js/modules/_iter-step.js": | |
| 8489 | +/*!*****************************************************!*\ | |
| 8490 | + !*** ../node_modules/core-js/modules/_iter-step.js ***! | |
| 8491 | + \*****************************************************/ | |
| 8492 | +/***/ ((module) => { | |
| 8493 | + | |
| 8494 | +module.exports = function (done, value) { | |
| 8495 | + return { value: value, done: !!done }; | |
| 8496 | +}; | |
| 8497 | + | |
| 8498 | + | |
| 8499 | +/***/ }), | |
| 8500 | + | |
| 8501 | +/***/ "../node_modules/core-js/modules/_iterators.js": | |
| 8502 | +/*!*****************************************************!*\ | |
| 8503 | + !*** ../node_modules/core-js/modules/_iterators.js ***! | |
| 8504 | + \*****************************************************/ | |
| 8505 | +/***/ ((module) => { | |
| 8506 | + | |
| 8507 | +module.exports = {}; | |
| 8508 | + | |
| 8509 | + | |
| 8510 | +/***/ }), | |
| 8511 | + | |
| 8512 | +/***/ "../node_modules/core-js/modules/_library.js": | |
| 8513 | +/*!***************************************************!*\ | |
| 8514 | + !*** ../node_modules/core-js/modules/_library.js ***! | |
| 8515 | + \***************************************************/ | |
| 8516 | +/***/ ((module) => { | |
| 8517 | + | |
| 8518 | +module.exports = false; | |
| 8519 | + | |
| 8520 | + | |
| 8521 | +/***/ }), | |
| 8522 | + | |
| 8523 | +/***/ "../node_modules/core-js/modules/_object-create.js": | |
| 8524 | +/*!*********************************************************!*\ | |
| 8525 | + !*** ../node_modules/core-js/modules/_object-create.js ***! | |
| 8526 | + \*********************************************************/ | |
| 8527 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8528 | + | |
| 8529 | +// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | |
| 8530 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8531 | +var dPs = __webpack_require__(/*! ./_object-dps */ "../node_modules/core-js/modules/_object-dps.js"); | |
| 8532 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/modules/_enum-bug-keys.js"); | |
| 8533 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); | |
| 8534 | +var Empty = function () { /* empty */ }; | |
| 8535 | +var PROTOTYPE = 'prototype'; | |
| 8536 | + | |
| 8537 | +// Create object with fake `null` prototype: use iframe Object with cleared prototype | |
| 8538 | +var createDict = function () { | |
| 8539 | + // Thrash, waste and sodomy: IE GC bug | |
| 8540 | + var iframe = __webpack_require__(/*! ./_dom-create */ "../node_modules/core-js/modules/_dom-create.js")('iframe'); | |
| 8541 | + var i = enumBugKeys.length; | |
| 8542 | + var lt = '<'; | |
| 8543 | + var gt = '>'; | |
| 8544 | + var iframeDocument; | |
| 8545 | + iframe.style.display = 'none'; | |
| 8546 | + __webpack_require__(/*! ./_html */ "../node_modules/core-js/modules/_html.js").appendChild(iframe); | |
| 8547 | + iframe.src = 'javascript:'; // eslint-disable-line no-script-url | |
| 8548 | + // createDict = iframe.contentWindow.Object; | |
| 8549 | + // html.removeChild(iframe); | |
| 8550 | + iframeDocument = iframe.contentWindow.document; | |
| 8551 | + iframeDocument.open(); | |
| 8552 | + iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | |
| 8553 | + iframeDocument.close(); | |
| 8554 | + createDict = iframeDocument.F; | |
| 8555 | + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; | |
| 8556 | + return createDict(); | |
| 8557 | +}; | |
| 8558 | + | |
| 8559 | +module.exports = Object.create || function create(O, Properties) { | |
| 8560 | + var result; | |
| 8561 | + if (O !== null) { | |
| 8562 | + Empty[PROTOTYPE] = anObject(O); | |
| 8563 | + result = new Empty(); | |
| 8564 | + Empty[PROTOTYPE] = null; | |
| 8565 | + // add "__proto__" for Object.getPrototypeOf polyfill | |
| 8566 | + result[IE_PROTO] = O; | |
| 8567 | + } else result = createDict(); | |
| 8568 | + return Properties === undefined ? result : dPs(result, Properties); | |
| 8569 | +}; | |
| 8570 | + | |
| 8571 | + | |
| 8572 | +/***/ }), | |
| 8573 | + | |
| 8574 | +/***/ "../node_modules/core-js/modules/_object-dp.js": | |
| 8575 | +/*!*****************************************************!*\ | |
| 8576 | + !*** ../node_modules/core-js/modules/_object-dp.js ***! | |
| 8577 | + \*****************************************************/ | |
| 8578 | +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 8579 | + | |
| 8580 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8581 | +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "../node_modules/core-js/modules/_ie8-dom-define.js"); | |
| 8582 | +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "../node_modules/core-js/modules/_to-primitive.js"); | |
| 8583 | +var dP = Object.defineProperty; | |
| 8584 | + | |
| 8585 | +exports.f = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | |
| 8586 | + anObject(O); | |
| 8587 | + P = toPrimitive(P, true); | |
| 8588 | + anObject(Attributes); | |
| 8589 | + if (IE8_DOM_DEFINE) try { | |
| 8590 | + return dP(O, P, Attributes); | |
| 8591 | + } catch (e) { /* empty */ } | |
| 8592 | + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | |
| 8593 | + if ('value' in Attributes) O[P] = Attributes.value; | |
| 8594 | + return O; | |
| 8595 | +}; | |
| 8596 | + | |
| 8597 | + | |
| 8598 | +/***/ }), | |
| 8599 | + | |
| 8600 | +/***/ "../node_modules/core-js/modules/_object-dps.js": | |
| 8601 | +/*!******************************************************!*\ | |
| 8602 | + !*** ../node_modules/core-js/modules/_object-dps.js ***! | |
| 8603 | + \******************************************************/ | |
| 8604 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8605 | + | |
| 8606 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js"); | |
| 8607 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8608 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/modules/_object-keys.js"); | |
| 8609 | + | |
| 8610 | +module.exports = __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") ? Object.defineProperties : function defineProperties(O, Properties) { | |
| 8611 | + anObject(O); | |
| 8612 | + var keys = getKeys(Properties); | |
| 8613 | + var length = keys.length; | |
| 8614 | + var i = 0; | |
| 8615 | + var P; | |
| 8616 | + while (length > i) dP.f(O, P = keys[i++], Properties[P]); | |
| 8617 | + return O; | |
| 8618 | +}; | |
| 8619 | + | |
| 8620 | + | |
| 8621 | +/***/ }), | |
| 8622 | + | |
| 8623 | +/***/ "../node_modules/core-js/modules/_object-gpo.js": | |
| 8624 | +/*!******************************************************!*\ | |
| 8625 | + !*** ../node_modules/core-js/modules/_object-gpo.js ***! | |
| 8626 | + \******************************************************/ | |
| 8627 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8628 | + | |
| 8629 | +// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) | |
| 8630 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 8631 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 8632 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); | |
| 8633 | +var ObjectProto = Object.prototype; | |
| 8634 | + | |
| 8635 | +module.exports = Object.getPrototypeOf || function (O) { | |
| 8636 | + O = toObject(O); | |
| 8637 | + if (has(O, IE_PROTO)) return O[IE_PROTO]; | |
| 8638 | + if (typeof O.constructor == 'function' && O instanceof O.constructor) { | |
| 8639 | + return O.constructor.prototype; | |
| 8640 | + } return O instanceof Object ? ObjectProto : null; | |
| 8641 | +}; | |
| 8642 | + | |
| 8643 | + | |
| 8644 | +/***/ }), | |
| 8645 | + | |
| 8646 | +/***/ "../node_modules/core-js/modules/_object-keys-internal.js": | |
| 8647 | +/*!****************************************************************!*\ | |
| 8648 | + !*** ../node_modules/core-js/modules/_object-keys-internal.js ***! | |
| 8649 | + \****************************************************************/ | |
| 8650 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8651 | + | |
| 8652 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 8653 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/modules/_to-iobject.js"); | |
| 8654 | +var arrayIndexOf = __webpack_require__(/*! ./_array-includes */ "../node_modules/core-js/modules/_array-includes.js")(false); | |
| 8655 | +var IE_PROTO = __webpack_require__(/*! ./_shared-key */ "../node_modules/core-js/modules/_shared-key.js")('IE_PROTO'); | |
| 8656 | + | |
| 8657 | +module.exports = function (object, names) { | |
| 8658 | + var O = toIObject(object); | |
| 8659 | + var i = 0; | |
| 8660 | + var result = []; | |
| 8661 | + var key; | |
| 8662 | + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); | |
| 8663 | + // Don't enum bug & hidden keys | |
| 8664 | + while (names.length > i) if (has(O, key = names[i++])) { | |
| 8665 | + ~arrayIndexOf(result, key) || result.push(key); | |
| 8666 | + } | |
| 8667 | + return result; | |
| 8668 | +}; | |
| 8669 | + | |
| 8670 | + | |
| 8671 | +/***/ }), | |
| 8672 | + | |
| 8673 | +/***/ "../node_modules/core-js/modules/_object-keys.js": | |
| 8674 | +/*!*******************************************************!*\ | |
| 8675 | + !*** ../node_modules/core-js/modules/_object-keys.js ***! | |
| 8676 | + \*******************************************************/ | |
| 8677 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8678 | + | |
| 8679 | +// 19.1.2.14 / 15.2.3.14 Object.keys(O) | |
| 8680 | +var $keys = __webpack_require__(/*! ./_object-keys-internal */ "../node_modules/core-js/modules/_object-keys-internal.js"); | |
| 8681 | +var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ "../node_modules/core-js/modules/_enum-bug-keys.js"); | |
| 8682 | + | |
| 8683 | +module.exports = Object.keys || function keys(O) { | |
| 8684 | + return $keys(O, enumBugKeys); | |
| 8685 | +}; | |
| 8686 | + | |
| 8687 | + | |
| 8688 | +/***/ }), | |
| 8689 | + | |
| 8690 | +/***/ "../node_modules/core-js/modules/_property-desc.js": | |
| 8691 | +/*!*********************************************************!*\ | |
| 8692 | + !*** ../node_modules/core-js/modules/_property-desc.js ***! | |
| 8693 | + \*********************************************************/ | |
| 8694 | +/***/ ((module) => { | |
| 8695 | + | |
| 8696 | +module.exports = function (bitmap, value) { | |
| 8697 | + return { | |
| 8698 | + enumerable: !(bitmap & 1), | |
| 8699 | + configurable: !(bitmap & 2), | |
| 8700 | + writable: !(bitmap & 4), | |
| 8701 | + value: value | |
| 8702 | + }; | |
| 8703 | +}; | |
| 8704 | + | |
| 8705 | + | |
| 8706 | +/***/ }), | |
| 8707 | + | |
| 8708 | +/***/ "../node_modules/core-js/modules/_redefine.js": | |
| 8709 | +/*!****************************************************!*\ | |
| 8710 | + !*** ../node_modules/core-js/modules/_redefine.js ***! | |
| 8711 | + \****************************************************/ | |
| 8712 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8713 | + | |
| 8714 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 8715 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 8716 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 8717 | +var SRC = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js")('src'); | |
| 8718 | +var $toString = __webpack_require__(/*! ./_function-to-string */ "../node_modules/core-js/modules/_function-to-string.js"); | |
| 8719 | +var TO_STRING = 'toString'; | |
| 8720 | +var TPL = ('' + $toString).split(TO_STRING); | |
| 8721 | + | |
| 8722 | +__webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js").inspectSource = function (it) { | |
| 8723 | + return $toString.call(it); | |
| 8724 | +}; | |
| 8725 | + | |
| 8726 | +(module.exports = function (O, key, val, safe) { | |
| 8727 | + var isFunction = typeof val == 'function'; | |
| 8728 | + if (isFunction) has(val, 'name') || hide(val, 'name', key); | |
| 8729 | + if (O[key] === val) return; | |
| 8730 | + if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); | |
| 8731 | + if (O === global) { | |
| 8732 | + O[key] = val; | |
| 8733 | + } else if (!safe) { | |
| 8734 | + delete O[key]; | |
| 8735 | + hide(O, key, val); | |
| 8736 | + } else if (O[key]) { | |
| 8737 | + O[key] = val; | |
| 8738 | + } else { | |
| 8739 | + hide(O, key, val); | |
| 8740 | + } | |
| 8741 | +// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative | |
| 8742 | +})(Function.prototype, TO_STRING, function toString() { | |
| 8743 | + return typeof this == 'function' && this[SRC] || $toString.call(this); | |
| 8744 | +}); | |
| 8745 | + | |
| 8746 | + | |
| 8747 | +/***/ }), | |
| 8748 | + | |
| 8749 | +/***/ "../node_modules/core-js/modules/_regexp-exec-abstract.js": | |
| 8750 | +/*!****************************************************************!*\ | |
| 8751 | + !*** ../node_modules/core-js/modules/_regexp-exec-abstract.js ***! | |
| 8752 | + \****************************************************************/ | |
| 8753 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8754 | + | |
| 8755 | +"use strict"; | |
| 8756 | + | |
| 8757 | + | |
| 8758 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/modules/_classof.js"); | |
| 8759 | +var builtinExec = RegExp.prototype.exec; | |
| 8760 | + | |
| 8761 | + // `RegExpExec` abstract operation | |
| 8762 | +// https://tc39.github.io/ecma262/#sec-regexpexec | |
| 8763 | +module.exports = function (R, S) { | |
| 8764 | + var exec = R.exec; | |
| 8765 | + if (typeof exec === 'function') { | |
| 8766 | + var result = exec.call(R, S); | |
| 8767 | + if (typeof result !== 'object') { | |
| 8768 | + throw new TypeError('RegExp exec method returned something other than an Object or null'); | |
| 8769 | + } | |
| 8770 | + return result; | |
| 8771 | + } | |
| 8772 | + if (classof(R) !== 'RegExp') { | |
| 8773 | + throw new TypeError('RegExp#exec called on incompatible receiver'); | |
| 8774 | + } | |
| 8775 | + return builtinExec.call(R, S); | |
| 8776 | +}; | |
| 8777 | + | |
| 8778 | + | |
| 8779 | +/***/ }), | |
| 8780 | + | |
| 8781 | +/***/ "../node_modules/core-js/modules/_regexp-exec.js": | |
| 8782 | +/*!*******************************************************!*\ | |
| 8783 | + !*** ../node_modules/core-js/modules/_regexp-exec.js ***! | |
| 8784 | + \*******************************************************/ | |
| 8785 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8786 | + | |
| 8787 | +"use strict"; | |
| 8788 | + | |
| 8789 | + | |
| 8790 | +var regexpFlags = __webpack_require__(/*! ./_flags */ "../node_modules/core-js/modules/_flags.js"); | |
| 8791 | + | |
| 8792 | +var nativeExec = RegExp.prototype.exec; | |
| 8793 | +// This always refers to the native implementation, because the | |
| 8794 | +// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, | |
| 8795 | +// which loads this file before patching the method. | |
| 8796 | +var nativeReplace = String.prototype.replace; | |
| 8797 | + | |
| 8798 | +var patchedExec = nativeExec; | |
| 8799 | + | |
| 8800 | +var LAST_INDEX = 'lastIndex'; | |
| 8801 | + | |
| 8802 | +var UPDATES_LAST_INDEX_WRONG = (function () { | |
| 8803 | + var re1 = /a/, | |
| 8804 | + re2 = /b*/g; | |
| 8805 | + nativeExec.call(re1, 'a'); | |
| 8806 | + nativeExec.call(re2, 'a'); | |
| 8807 | + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; | |
| 8808 | +})(); | |
| 8809 | + | |
| 8810 | +// nonparticipating capturing group, copied from es5-shim's String#split patch. | |
| 8811 | +var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; | |
| 8812 | + | |
| 8813 | +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; | |
| 8814 | + | |
| 8815 | +if (PATCH) { | |
| 8816 | + patchedExec = function exec(str) { | |
| 8817 | + var re = this; | |
| 8818 | + var lastIndex, reCopy, match, i; | |
| 8819 | + | |
| 8820 | + if (NPCG_INCLUDED) { | |
| 8821 | + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); | |
| 8822 | + } | |
| 8823 | + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; | |
| 8824 | + | |
| 8825 | + match = nativeExec.call(re, str); | |
| 8826 | + | |
| 8827 | + if (UPDATES_LAST_INDEX_WRONG && match) { | |
| 8828 | + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; | |
| 8829 | + } | |
| 8830 | + if (NPCG_INCLUDED && match && match.length > 1) { | |
| 8831 | + // Fix browsers whose `exec` methods don't consistently return `undefined` | |
| 8832 | + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ | |
| 8833 | + // eslint-disable-next-line no-loop-func | |
| 8834 | + nativeReplace.call(match[0], reCopy, function () { | |
| 8835 | + for (i = 1; i < arguments.length - 2; i++) { | |
| 8836 | + if (arguments[i] === undefined) match[i] = undefined; | |
| 8837 | + } | |
| 8838 | + }); | |
| 8839 | + } | |
| 8840 | + | |
| 8841 | + return match; | |
| 8842 | + }; | |
| 8843 | +} | |
| 8844 | + | |
| 8845 | +module.exports = patchedExec; | |
| 8846 | + | |
| 8847 | + | |
| 8848 | +/***/ }), | |
| 8849 | + | |
| 8850 | +/***/ "../node_modules/core-js/modules/_set-to-string-tag.js": | |
| 8851 | +/*!*************************************************************!*\ | |
| 8852 | + !*** ../node_modules/core-js/modules/_set-to-string-tag.js ***! | |
| 8853 | + \*************************************************************/ | |
| 8854 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8855 | + | |
| 8856 | +var def = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js").f; | |
| 8857 | +var has = __webpack_require__(/*! ./_has */ "../node_modules/core-js/modules/_has.js"); | |
| 8858 | +var TAG = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag'); | |
| 8859 | + | |
| 8860 | +module.exports = function (it, tag, stat) { | |
| 8861 | + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); | |
| 8862 | +}; | |
| 8863 | + | |
| 8864 | + | |
| 8865 | +/***/ }), | |
| 8866 | + | |
| 8867 | +/***/ "../node_modules/core-js/modules/_shared-key.js": | |
| 8868 | +/*!******************************************************!*\ | |
| 8869 | + !*** ../node_modules/core-js/modules/_shared-key.js ***! | |
| 8870 | + \******************************************************/ | |
| 8871 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8872 | + | |
| 8873 | +var shared = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('keys'); | |
| 8874 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js"); | |
| 8875 | +module.exports = function (key) { | |
| 8876 | + return shared[key] || (shared[key] = uid(key)); | |
| 8877 | +}; | |
| 8878 | + | |
| 8879 | + | |
| 8880 | +/***/ }), | |
| 8881 | + | |
| 8882 | +/***/ "../node_modules/core-js/modules/_shared.js": | |
| 8883 | +/*!**************************************************!*\ | |
| 8884 | + !*** ../node_modules/core-js/modules/_shared.js ***! | |
| 8885 | + \**************************************************/ | |
| 8886 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8887 | + | |
| 8888 | +var core = __webpack_require__(/*! ./_core */ "../node_modules/core-js/modules/_core.js"); | |
| 8889 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 8890 | +var SHARED = '__core-js_shared__'; | |
| 8891 | +var store = global[SHARED] || (global[SHARED] = {}); | |
| 8892 | + | |
| 8893 | +(module.exports = function (key, value) { | |
| 8894 | + return store[key] || (store[key] = value !== undefined ? value : {}); | |
| 8895 | +})('versions', []).push({ | |
| 8896 | + version: core.version, | |
| 8897 | + mode: __webpack_require__(/*! ./_library */ "../node_modules/core-js/modules/_library.js") ? 'pure' : 'global', | |
| 8898 | + copyright: '© 2020 Denis Pushkarev (zloirock.ru)' | |
| 8899 | +}); | |
| 8900 | + | |
| 8901 | + | |
| 8902 | +/***/ }), | |
| 8903 | + | |
| 8904 | +/***/ "../node_modules/core-js/modules/_species-constructor.js": | |
| 8905 | +/*!***************************************************************!*\ | |
| 8906 | + !*** ../node_modules/core-js/modules/_species-constructor.js ***! | |
| 8907 | + \***************************************************************/ | |
| 8908 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8909 | + | |
| 8910 | +// 7.3.20 SpeciesConstructor(O, defaultConstructor) | |
| 8911 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 8912 | +var aFunction = __webpack_require__(/*! ./_a-function */ "../node_modules/core-js/modules/_a-function.js"); | |
| 8913 | +var SPECIES = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('species'); | |
| 8914 | +module.exports = function (O, D) { | |
| 8915 | + var C = anObject(O).constructor; | |
| 8916 | + var S; | |
| 8917 | + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); | |
| 8918 | +}; | |
| 8919 | + | |
| 8920 | + | |
| 8921 | +/***/ }), | |
| 8922 | + | |
| 8923 | +/***/ "../node_modules/core-js/modules/_strict-method.js": | |
| 8924 | +/*!*********************************************************!*\ | |
| 8925 | + !*** ../node_modules/core-js/modules/_strict-method.js ***! | |
| 8926 | + \*********************************************************/ | |
| 8927 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8928 | + | |
| 8929 | +"use strict"; | |
| 8930 | + | |
| 8931 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 8932 | + | |
| 8933 | +module.exports = function (method, arg) { | |
| 8934 | + return !!method && fails(function () { | |
| 8935 | + // eslint-disable-next-line no-useless-call | |
| 8936 | + arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); | |
| 8937 | + }); | |
| 8938 | +}; | |
| 8939 | + | |
| 8940 | + | |
| 8941 | +/***/ }), | |
| 8942 | + | |
| 8943 | +/***/ "../node_modules/core-js/modules/_string-at.js": | |
| 8944 | +/*!*****************************************************!*\ | |
| 8945 | + !*** ../node_modules/core-js/modules/_string-at.js ***! | |
| 8946 | + \*****************************************************/ | |
| 8947 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8948 | + | |
| 8949 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 8950 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 8951 | +// true -> String#at | |
| 8952 | +// false -> String#codePointAt | |
| 8953 | +module.exports = function (TO_STRING) { | |
| 8954 | + return function (that, pos) { | |
| 8955 | + var s = String(defined(that)); | |
| 8956 | + var i = toInteger(pos); | |
| 8957 | + var l = s.length; | |
| 8958 | + var a, b; | |
| 8959 | + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; | |
| 8960 | + a = s.charCodeAt(i); | |
| 8961 | + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff | |
| 8962 | + ? TO_STRING ? s.charAt(i) : a | |
| 8963 | + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; | |
| 8964 | + }; | |
| 8965 | +}; | |
| 8966 | + | |
| 8967 | + | |
| 8968 | +/***/ }), | |
| 8969 | + | |
| 8970 | +/***/ "../node_modules/core-js/modules/_to-absolute-index.js": | |
| 8971 | +/*!*************************************************************!*\ | |
| 8972 | + !*** ../node_modules/core-js/modules/_to-absolute-index.js ***! | |
| 8973 | + \*************************************************************/ | |
| 8974 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 8975 | + | |
| 8976 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 8977 | +var max = Math.max; | |
| 8978 | +var min = Math.min; | |
| 8979 | +module.exports = function (index, length) { | |
| 8980 | + index = toInteger(index); | |
| 8981 | + return index < 0 ? max(index + length, 0) : min(index, length); | |
| 8982 | +}; | |
| 8983 | + | |
| 8984 | + | |
| 8985 | +/***/ }), | |
| 8986 | + | |
| 8987 | +/***/ "../node_modules/core-js/modules/_to-integer.js": | |
| 8988 | +/*!******************************************************!*\ | |
| 8989 | + !*** ../node_modules/core-js/modules/_to-integer.js ***! | |
| 8990 | + \******************************************************/ | |
| 8991 | +/***/ ((module) => { | |
| 8992 | + | |
| 8993 | +// 7.1.4 ToInteger | |
| 8994 | +var ceil = Math.ceil; | |
| 8995 | +var floor = Math.floor; | |
| 8996 | +module.exports = function (it) { | |
| 8997 | + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); | |
| 8998 | +}; | |
| 8999 | + | |
| 9000 | + | |
| 9001 | +/***/ }), | |
| 9002 | + | |
| 9003 | +/***/ "../node_modules/core-js/modules/_to-iobject.js": | |
| 9004 | +/*!******************************************************!*\ | |
| 9005 | + !*** ../node_modules/core-js/modules/_to-iobject.js ***! | |
| 9006 | + \******************************************************/ | |
| 9007 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9008 | + | |
| 9009 | +// to indexed object, toObject with fallback for non-array-like ES3 strings | |
| 9010 | +var IObject = __webpack_require__(/*! ./_iobject */ "../node_modules/core-js/modules/_iobject.js"); | |
| 9011 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 9012 | +module.exports = function (it) { | |
| 9013 | + return IObject(defined(it)); | |
| 9014 | +}; | |
| 9015 | + | |
| 9016 | + | |
| 9017 | +/***/ }), | |
| 9018 | + | |
| 9019 | +/***/ "../node_modules/core-js/modules/_to-length.js": | |
| 9020 | +/*!*****************************************************!*\ | |
| 9021 | + !*** ../node_modules/core-js/modules/_to-length.js ***! | |
| 9022 | + \*****************************************************/ | |
| 9023 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9024 | + | |
| 9025 | +// 7.1.15 ToLength | |
| 9026 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 9027 | +var min = Math.min; | |
| 9028 | +module.exports = function (it) { | |
| 9029 | + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 | |
| 9030 | +}; | |
| 9031 | + | |
| 9032 | + | |
| 9033 | +/***/ }), | |
| 9034 | + | |
| 9035 | +/***/ "../node_modules/core-js/modules/_to-object.js": | |
| 9036 | +/*!*****************************************************!*\ | |
| 9037 | + !*** ../node_modules/core-js/modules/_to-object.js ***! | |
| 9038 | + \*****************************************************/ | |
| 9039 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9040 | + | |
| 9041 | +// 7.1.13 ToObject(argument) | |
| 9042 | +var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); | |
| 9043 | +module.exports = function (it) { | |
| 9044 | + return Object(defined(it)); | |
| 9045 | +}; | |
| 9046 | + | |
| 9047 | + | |
| 9048 | +/***/ }), | |
| 9049 | + | |
| 9050 | +/***/ "../node_modules/core-js/modules/_to-primitive.js": | |
| 9051 | +/*!********************************************************!*\ | |
| 9052 | + !*** ../node_modules/core-js/modules/_to-primitive.js ***! | |
| 9053 | + \********************************************************/ | |
| 9054 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9055 | + | |
| 9056 | +// 7.1.1 ToPrimitive(input [, PreferredType]) | |
| 9057 | +var isObject = __webpack_require__(/*! ./_is-object */ "../node_modules/core-js/modules/_is-object.js"); | |
| 9058 | +// instead of the ES6 spec version, we didn't implement @@toPrimitive case | |
| 9059 | +// and the second argument - flag - preferred type is a string | |
| 9060 | +module.exports = function (it, S) { | |
| 9061 | + if (!isObject(it)) return it; | |
| 9062 | + var fn, val; | |
| 9063 | + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 9064 | + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 9065 | + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | |
| 9066 | + throw TypeError("Can't convert object to primitive value"); | |
| 9067 | +}; | |
| 9068 | + | |
| 9069 | + | |
| 9070 | +/***/ }), | |
| 9071 | + | |
| 9072 | +/***/ "../node_modules/core-js/modules/_uid.js": | |
| 9073 | +/*!***********************************************!*\ | |
| 9074 | + !*** ../node_modules/core-js/modules/_uid.js ***! | |
| 9075 | + \***********************************************/ | |
| 9076 | +/***/ ((module) => { | |
| 9077 | + | |
| 9078 | +var id = 0; | |
| 9079 | +var px = Math.random(); | |
| 9080 | +module.exports = function (key) { | |
| 9081 | + return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); | |
| 9082 | +}; | |
| 9083 | + | |
| 9084 | + | |
| 9085 | +/***/ }), | |
| 9086 | + | |
| 9087 | +/***/ "../node_modules/core-js/modules/_wks.js": | |
| 9088 | +/*!***********************************************!*\ | |
| 9089 | + !*** ../node_modules/core-js/modules/_wks.js ***! | |
| 9090 | + \***********************************************/ | |
| 9091 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9092 | + | |
| 9093 | +var store = __webpack_require__(/*! ./_shared */ "../node_modules/core-js/modules/_shared.js")('wks'); | |
| 9094 | +var uid = __webpack_require__(/*! ./_uid */ "../node_modules/core-js/modules/_uid.js"); | |
| 9095 | +var Symbol = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js").Symbol; | |
| 9096 | +var USE_SYMBOL = typeof Symbol == 'function'; | |
| 9097 | + | |
| 9098 | +var $exports = module.exports = function (name) { | |
| 9099 | + return store[name] || (store[name] = | |
| 9100 | + USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); | |
| 9101 | +}; | |
| 9102 | + | |
| 9103 | +$exports.store = store; | |
| 9104 | + | |
| 9105 | + | |
| 9106 | +/***/ }), | |
| 9107 | + | |
| 9108 | +/***/ "../node_modules/core-js/modules/es6.array.filter.js": | |
| 9109 | +/*!***********************************************************!*\ | |
| 9110 | + !*** ../node_modules/core-js/modules/es6.array.filter.js ***! | |
| 9111 | + \***********************************************************/ | |
| 9112 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9113 | + | |
| 9114 | +"use strict"; | |
| 9115 | + | |
| 9116 | +var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); | |
| 9117 | +var $filter = __webpack_require__(/*! ./_array-methods */ "../node_modules/core-js/modules/_array-methods.js")(2); | |
| 9118 | + | |
| 9119 | +$export($export.P + $export.F * !__webpack_require__(/*! ./_strict-method */ "../node_modules/core-js/modules/_strict-method.js")([].filter, true), 'Array', { | |
| 9120 | + // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) | |
| 9121 | + filter: function filter(callbackfn /* , thisArg */) { | |
| 9122 | + return $filter(this, callbackfn, arguments[1]); | |
| 9123 | + } | |
| 9124 | +}); | |
| 9125 | + | |
| 9126 | + | |
| 9127 | +/***/ }), | |
| 9128 | + | |
| 9129 | +/***/ "../node_modules/core-js/modules/es6.array.iterator.js": | |
| 9130 | +/*!*************************************************************!*\ | |
| 9131 | + !*** ../node_modules/core-js/modules/es6.array.iterator.js ***! | |
| 9132 | + \*************************************************************/ | |
| 9133 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 9134 | + | |
| 9135 | +"use strict"; | |
| 9136 | + | |
| 9137 | +var addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ "../node_modules/core-js/modules/_add-to-unscopables.js"); | |
| 9138 | +var step = __webpack_require__(/*! ./_iter-step */ "../node_modules/core-js/modules/_iter-step.js"); | |
| 9139 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/modules/_iterators.js"); | |
| 9140 | +var toIObject = __webpack_require__(/*! ./_to-iobject */ "../node_modules/core-js/modules/_to-iobject.js"); | |
| 9141 | + | |
| 9142 | +// 22.1.3.4 Array.prototype.entries() | |
| 9143 | +// 22.1.3.13 Array.prototype.keys() | |
| 9144 | +// 22.1.3.29 Array.prototype.values() | |
| 9145 | +// 22.1.3.30 Array.prototype[@@iterator]() | |
| 9146 | +module.exports = __webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/modules/_iter-define.js")(Array, 'Array', function (iterated, kind) { | |
| 9147 | + this._t = toIObject(iterated); // target | |
| 9148 | + this._i = 0; // next index | |
| 9149 | + this._k = kind; // kind | |
| 9150 | +// 22.1.5.2.1 %ArrayIteratorPrototype%.next() | |
| 9151 | +}, function () { | |
| 9152 | + var O = this._t; | |
| 9153 | + var kind = this._k; | |
| 9154 | + var index = this._i++; | |
| 9155 | + if (!O || index >= O.length) { | |
| 9156 | + this._t = undefined; | |
| 9157 | + return step(1); | |
| 9158 | + } | |
| 9159 | + if (kind == 'keys') return step(0, index); | |
| 9160 | + if (kind == 'values') return step(0, O[index]); | |
| 9161 | + return step(0, [index, O[index]]); | |
| 9162 | +}, 'values'); | |
| 9163 | + | |
| 9164 | +// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) | |
| 9165 | +Iterators.Arguments = Iterators.Array; | |
| 9166 | + | |
| 9167 | +addToUnscopables('keys'); | |
| 9168 | +addToUnscopables('values'); | |
| 9169 | +addToUnscopables('entries'); | |
| 9170 | + | |
| 9171 | + | |
| 9172 | +/***/ }), | |
| 9173 | + | |
| 9174 | +/***/ "../node_modules/core-js/modules/es6.function.name.js": | |
| 9175 | +/*!************************************************************!*\ | |
| 9176 | + !*** ../node_modules/core-js/modules/es6.function.name.js ***! | |
| 9177 | + \************************************************************/ | |
| 9178 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9179 | + | |
| 9180 | +var dP = __webpack_require__(/*! ./_object-dp */ "../node_modules/core-js/modules/_object-dp.js").f; | |
| 9181 | +var FProto = Function.prototype; | |
| 9182 | +var nameRE = /^\s*function ([^ (]*)/; | |
| 9183 | +var NAME = 'name'; | |
| 9184 | + | |
| 9185 | +// 19.2.4.2 name | |
| 9186 | +NAME in FProto || __webpack_require__(/*! ./_descriptors */ "../node_modules/core-js/modules/_descriptors.js") && dP(FProto, NAME, { | |
| 9187 | + configurable: true, | |
| 9188 | + get: function () { | |
| 9189 | + try { | |
| 9190 | + return ('' + this).match(nameRE)[1]; | |
| 9191 | + } catch (e) { | |
| 9192 | + return ''; | |
| 9193 | + } | |
| 9194 | + } | |
| 9195 | +}); | |
| 9196 | + | |
| 9197 | + | |
| 9198 | +/***/ }), | |
| 9199 | + | |
| 9200 | +/***/ "../node_modules/core-js/modules/es6.object.to-string.js": | |
| 9201 | +/*!***************************************************************!*\ | |
| 9202 | + !*** ../node_modules/core-js/modules/es6.object.to-string.js ***! | |
| 9203 | + \***************************************************************/ | |
| 9204 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9205 | + | |
| 9206 | +"use strict"; | |
| 9207 | + | |
| 9208 | +// 19.1.3.6 Object.prototype.toString() | |
| 9209 | +var classof = __webpack_require__(/*! ./_classof */ "../node_modules/core-js/modules/_classof.js"); | |
| 9210 | +var test = {}; | |
| 9211 | +test[__webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('toStringTag')] = 'z'; | |
| 9212 | +if (test + '' != '[object z]') { | |
| 9213 | + __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js")(Object.prototype, 'toString', function toString() { | |
| 9214 | + return '[object ' + classof(this) + ']'; | |
| 9215 | + }, true); | |
| 9216 | +} | |
| 9217 | + | |
| 9218 | + | |
| 9219 | +/***/ }), | |
| 9220 | + | |
| 9221 | +/***/ "../node_modules/core-js/modules/es6.regexp.exec.js": | |
| 9222 | +/*!**********************************************************!*\ | |
| 9223 | + !*** ../node_modules/core-js/modules/es6.regexp.exec.js ***! | |
| 9224 | + \**********************************************************/ | |
| 9225 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9226 | + | |
| 9227 | +"use strict"; | |
| 9228 | + | |
| 9229 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 9230 | +__webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js")({ | |
| 9231 | + target: 'RegExp', | |
| 9232 | + proto: true, | |
| 9233 | + forced: regexpExec !== /./.exec | |
| 9234 | +}, { | |
| 9235 | + exec: regexpExec | |
| 9236 | +}); | |
| 9237 | + | |
| 9238 | + | |
| 9239 | +/***/ }), | |
| 9240 | + | |
| 9241 | +/***/ "../node_modules/core-js/modules/es6.regexp.replace.js": | |
| 9242 | +/*!*************************************************************!*\ | |
| 9243 | + !*** ../node_modules/core-js/modules/es6.regexp.replace.js ***! | |
| 9244 | + \*************************************************************/ | |
| 9245 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9246 | + | |
| 9247 | +"use strict"; | |
| 9248 | + | |
| 9249 | + | |
| 9250 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 9251 | +var toObject = __webpack_require__(/*! ./_to-object */ "../node_modules/core-js/modules/_to-object.js"); | |
| 9252 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 9253 | +var toInteger = __webpack_require__(/*! ./_to-integer */ "../node_modules/core-js/modules/_to-integer.js"); | |
| 9254 | +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "../node_modules/core-js/modules/_advance-string-index.js"); | |
| 9255 | +var regExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "../node_modules/core-js/modules/_regexp-exec-abstract.js"); | |
| 9256 | +var max = Math.max; | |
| 9257 | +var min = Math.min; | |
| 9258 | +var floor = Math.floor; | |
| 9259 | +var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; | |
| 9260 | +var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; | |
| 9261 | + | |
| 9262 | +var maybeToString = function (it) { | |
| 9263 | + return it === undefined ? it : String(it); | |
| 9264 | +}; | |
| 9265 | + | |
| 9266 | +// @@replace logic | |
| 9267 | +__webpack_require__(/*! ./_fix-re-wks */ "../node_modules/core-js/modules/_fix-re-wks.js")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { | |
| 9268 | + return [ | |
| 9269 | + // `String.prototype.replace` method | |
| 9270 | + // https://tc39.github.io/ecma262/#sec-string.prototype.replace | |
| 9271 | + function replace(searchValue, replaceValue) { | |
| 9272 | + var O = defined(this); | |
| 9273 | + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; | |
| 9274 | + return fn !== undefined | |
| 9275 | + ? fn.call(searchValue, O, replaceValue) | |
| 9276 | + : $replace.call(String(O), searchValue, replaceValue); | |
| 9277 | + }, | |
| 9278 | + // `RegExp.prototype[@@replace]` method | |
| 9279 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace | |
| 9280 | + function (regexp, replaceValue) { | |
| 9281 | + var res = maybeCallNative($replace, regexp, this, replaceValue); | |
| 9282 | + if (res.done) return res.value; | |
| 9283 | + | |
| 9284 | + var rx = anObject(regexp); | |
| 9285 | + var S = String(this); | |
| 9286 | + var functionalReplace = typeof replaceValue === 'function'; | |
| 9287 | + if (!functionalReplace) replaceValue = String(replaceValue); | |
| 9288 | + var global = rx.global; | |
| 9289 | + if (global) { | |
| 9290 | + var fullUnicode = rx.unicode; | |
| 9291 | + rx.lastIndex = 0; | |
| 9292 | + } | |
| 9293 | + var results = []; | |
| 9294 | + while (true) { | |
| 9295 | + var result = regExpExec(rx, S); | |
| 9296 | + if (result === null) break; | |
| 9297 | + results.push(result); | |
| 9298 | + if (!global) break; | |
| 9299 | + var matchStr = String(result[0]); | |
| 9300 | + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); | |
| 9301 | + } | |
| 9302 | + var accumulatedResult = ''; | |
| 9303 | + var nextSourcePosition = 0; | |
| 9304 | + for (var i = 0; i < results.length; i++) { | |
| 9305 | + result = results[i]; | |
| 9306 | + var matched = String(result[0]); | |
| 9307 | + var position = max(min(toInteger(result.index), S.length), 0); | |
| 9308 | + var captures = []; | |
| 9309 | + // NOTE: This is equivalent to | |
| 9310 | + // captures = result.slice(1).map(maybeToString) | |
| 9311 | + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in | |
| 9312 | + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and | |
| 9313 | + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. | |
| 9314 | + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); | |
| 9315 | + var namedCaptures = result.groups; | |
| 9316 | + if (functionalReplace) { | |
| 9317 | + var replacerArgs = [matched].concat(captures, position, S); | |
| 9318 | + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); | |
| 9319 | + var replacement = String(replaceValue.apply(undefined, replacerArgs)); | |
| 9320 | + } else { | |
| 9321 | + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); | |
| 9322 | + } | |
| 9323 | + if (position >= nextSourcePosition) { | |
| 9324 | + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; | |
| 9325 | + nextSourcePosition = position + matched.length; | |
| 9326 | + } | |
| 9327 | + } | |
| 9328 | + return accumulatedResult + S.slice(nextSourcePosition); | |
| 9329 | + } | |
| 9330 | + ]; | |
| 9331 | + | |
| 9332 | + // https://tc39.github.io/ecma262/#sec-getsubstitution | |
| 9333 | + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { | |
| 9334 | + var tailPos = position + matched.length; | |
| 9335 | + var m = captures.length; | |
| 9336 | + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; | |
| 9337 | + if (namedCaptures !== undefined) { | |
| 9338 | + namedCaptures = toObject(namedCaptures); | |
| 9339 | + symbols = SUBSTITUTION_SYMBOLS; | |
| 9340 | + } | |
| 9341 | + return $replace.call(replacement, symbols, function (match, ch) { | |
| 9342 | + var capture; | |
| 9343 | + switch (ch.charAt(0)) { | |
| 9344 | + case '$': return '$'; | |
| 9345 | + case '&': return matched; | |
| 9346 | + case '`': return str.slice(0, position); | |
| 9347 | + case "'": return str.slice(tailPos); | |
| 9348 | + case '<': | |
| 9349 | + capture = namedCaptures[ch.slice(1, -1)]; | |
| 9350 | + break; | |
| 9351 | + default: // \d\d? | |
| 9352 | + var n = +ch; | |
| 9353 | + if (n === 0) return match; | |
| 9354 | + if (n > m) { | |
| 9355 | + var f = floor(n / 10); | |
| 9356 | + if (f === 0) return match; | |
| 9357 | + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); | |
| 9358 | + return match; | |
| 9359 | + } | |
| 9360 | + capture = captures[n - 1]; | |
| 9361 | + } | |
| 9362 | + return capture === undefined ? '' : capture; | |
| 9363 | + }); | |
| 9364 | + } | |
| 9365 | +}); | |
| 9366 | + | |
| 9367 | + | |
| 9368 | +/***/ }), | |
| 9369 | + | |
| 9370 | +/***/ "../node_modules/core-js/modules/es6.regexp.split.js": | |
| 9371 | +/*!***********************************************************!*\ | |
| 9372 | + !*** ../node_modules/core-js/modules/es6.regexp.split.js ***! | |
| 9373 | + \***********************************************************/ | |
| 9374 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9375 | + | |
| 9376 | +"use strict"; | |
| 9377 | + | |
| 9378 | + | |
| 9379 | +var isRegExp = __webpack_require__(/*! ./_is-regexp */ "../node_modules/core-js/modules/_is-regexp.js"); | |
| 9380 | +var anObject = __webpack_require__(/*! ./_an-object */ "../node_modules/core-js/modules/_an-object.js"); | |
| 9381 | +var speciesConstructor = __webpack_require__(/*! ./_species-constructor */ "../node_modules/core-js/modules/_species-constructor.js"); | |
| 9382 | +var advanceStringIndex = __webpack_require__(/*! ./_advance-string-index */ "../node_modules/core-js/modules/_advance-string-index.js"); | |
| 9383 | +var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); | |
| 9384 | +var callRegExpExec = __webpack_require__(/*! ./_regexp-exec-abstract */ "../node_modules/core-js/modules/_regexp-exec-abstract.js"); | |
| 9385 | +var regexpExec = __webpack_require__(/*! ./_regexp-exec */ "../node_modules/core-js/modules/_regexp-exec.js"); | |
| 9386 | +var fails = __webpack_require__(/*! ./_fails */ "../node_modules/core-js/modules/_fails.js"); | |
| 9387 | +var $min = Math.min; | |
| 9388 | +var $push = [].push; | |
| 9389 | +var $SPLIT = 'split'; | |
| 9390 | +var LENGTH = 'length'; | |
| 9391 | +var LAST_INDEX = 'lastIndex'; | |
| 9392 | +var MAX_UINT32 = 0xffffffff; | |
| 9393 | + | |
| 9394 | +// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError | |
| 9395 | +var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); | |
| 9396 | + | |
| 9397 | +// @@split logic | |
| 9398 | +__webpack_require__(/*! ./_fix-re-wks */ "../node_modules/core-js/modules/_fix-re-wks.js")('split', 2, function (defined, SPLIT, $split, maybeCallNative) { | |
| 9399 | + var internalSplit; | |
| 9400 | + if ( | |
| 9401 | + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || | |
| 9402 | + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || | |
| 9403 | + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || | |
| 9404 | + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || | |
| 9405 | + '.'[$SPLIT](/()()/)[LENGTH] > 1 || | |
| 9406 | + ''[$SPLIT](/.?/)[LENGTH] | |
| 9407 | + ) { | |
| 9408 | + // based on es5-shim implementation, need to rework it | |
| 9409 | + internalSplit = function (separator, limit) { | |
| 9410 | + var string = String(this); | |
| 9411 | + if (separator === undefined && limit === 0) return []; | |
| 9412 | + // If `separator` is not a regex, use native split | |
| 9413 | + if (!isRegExp(separator)) return $split.call(string, separator, limit); | |
| 9414 | + var output = []; | |
| 9415 | + var flags = (separator.ignoreCase ? 'i' : '') + | |
| 9416 | + (separator.multiline ? 'm' : '') + | |
| 9417 | + (separator.unicode ? 'u' : '') + | |
| 9418 | + (separator.sticky ? 'y' : ''); | |
| 9419 | + var lastLastIndex = 0; | |
| 9420 | + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 9421 | + // Make `global` and avoid `lastIndex` issues by working with a copy | |
| 9422 | + var separatorCopy = new RegExp(separator.source, flags + 'g'); | |
| 9423 | + var match, lastIndex, lastLength; | |
| 9424 | + while (match = regexpExec.call(separatorCopy, string)) { | |
| 9425 | + lastIndex = separatorCopy[LAST_INDEX]; | |
| 9426 | + if (lastIndex > lastLastIndex) { | |
| 9427 | + output.push(string.slice(lastLastIndex, match.index)); | |
| 9428 | + if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); | |
| 9429 | + lastLength = match[0][LENGTH]; | |
| 9430 | + lastLastIndex = lastIndex; | |
| 9431 | + if (output[LENGTH] >= splitLimit) break; | |
| 9432 | + } | |
| 9433 | + if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop | |
| 9434 | + } | |
| 9435 | + if (lastLastIndex === string[LENGTH]) { | |
| 9436 | + if (lastLength || !separatorCopy.test('')) output.push(''); | |
| 9437 | + } else output.push(string.slice(lastLastIndex)); | |
| 9438 | + return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; | |
| 9439 | + }; | |
| 9440 | + // Chakra, V8 | |
| 9441 | + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { | |
| 9442 | + internalSplit = function (separator, limit) { | |
| 9443 | + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); | |
| 9444 | + }; | |
| 9445 | + } else { | |
| 9446 | + internalSplit = $split; | |
| 9447 | + } | |
| 9448 | + | |
| 9449 | + return [ | |
| 9450 | + // `String.prototype.split` method | |
| 9451 | + // https://tc39.github.io/ecma262/#sec-string.prototype.split | |
| 9452 | + function split(separator, limit) { | |
| 9453 | + var O = defined(this); | |
| 9454 | + var splitter = separator == undefined ? undefined : separator[SPLIT]; | |
| 9455 | + return splitter !== undefined | |
| 9456 | + ? splitter.call(separator, O, limit) | |
| 9457 | + : internalSplit.call(String(O), separator, limit); | |
| 9458 | + }, | |
| 9459 | + // `RegExp.prototype[@@split]` method | |
| 9460 | + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split | |
| 9461 | + // | |
| 9462 | + // NOTE: This cannot be properly polyfilled in engines that don't support | |
| 9463 | + // the 'y' flag. | |
| 9464 | + function (regexp, limit) { | |
| 9465 | + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); | |
| 9466 | + if (res.done) return res.value; | |
| 9467 | + | |
| 9468 | + var rx = anObject(regexp); | |
| 9469 | + var S = String(this); | |
| 9470 | + var C = speciesConstructor(rx, RegExp); | |
| 9471 | + | |
| 9472 | + var unicodeMatching = rx.unicode; | |
| 9473 | + var flags = (rx.ignoreCase ? 'i' : '') + | |
| 9474 | + (rx.multiline ? 'm' : '') + | |
| 9475 | + (rx.unicode ? 'u' : '') + | |
| 9476 | + (SUPPORTS_Y ? 'y' : 'g'); | |
| 9477 | + | |
| 9478 | + // ^(? + rx + ) is needed, in combination with some S slicing, to | |
| 9479 | + // simulate the 'y' flag. | |
| 9480 | + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); | |
| 9481 | + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; | |
| 9482 | + if (lim === 0) return []; | |
| 9483 | + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; | |
| 9484 | + var p = 0; | |
| 9485 | + var q = 0; | |
| 9486 | + var A = []; | |
| 9487 | + while (q < S.length) { | |
| 9488 | + splitter.lastIndex = SUPPORTS_Y ? q : 0; | |
| 9489 | + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); | |
| 9490 | + var e; | |
| 9491 | + if ( | |
| 9492 | + z === null || | |
| 9493 | + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p | |
| 9494 | + ) { | |
| 9495 | + q = advanceStringIndex(S, q, unicodeMatching); | |
| 9496 | + } else { | |
| 9497 | + A.push(S.slice(p, q)); | |
| 9498 | + if (A.length === lim) return A; | |
| 9499 | + for (var i = 1; i <= z.length - 1; i++) { | |
| 9500 | + A.push(z[i]); | |
| 9501 | + if (A.length === lim) return A; | |
| 9502 | + } | |
| 9503 | + q = p = e; | |
| 9504 | + } | |
| 9505 | + } | |
| 9506 | + A.push(S.slice(p)); | |
| 9507 | + return A; | |
| 9508 | + } | |
| 9509 | + ]; | |
| 9510 | +}); | |
| 9511 | + | |
| 9512 | + | |
| 9513 | +/***/ }), | |
| 9514 | + | |
| 9515 | +/***/ "../node_modules/core-js/modules/es6.string.iterator.js": | |
| 9516 | +/*!**************************************************************!*\ | |
| 9517 | + !*** ../node_modules/core-js/modules/es6.string.iterator.js ***! | |
| 9518 | + \**************************************************************/ | |
| 9519 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9520 | + | |
| 9521 | +"use strict"; | |
| 9522 | + | |
| 9523 | +var $at = __webpack_require__(/*! ./_string-at */ "../node_modules/core-js/modules/_string-at.js")(true); | |
| 9524 | + | |
| 9525 | +// 21.1.3.27 String.prototype[@@iterator]() | |
| 9526 | +__webpack_require__(/*! ./_iter-define */ "../node_modules/core-js/modules/_iter-define.js")(String, 'String', function (iterated) { | |
| 9527 | + this._t = String(iterated); // target | |
| 9528 | + this._i = 0; // next index | |
| 9529 | +// 21.1.5.2.1 %StringIteratorPrototype%.next() | |
| 9530 | +}, function () { | |
| 9531 | + var O = this._t; | |
| 9532 | + var index = this._i; | |
| 9533 | + var point; | |
| 9534 | + if (index >= O.length) return { value: undefined, done: true }; | |
| 9535 | + point = $at(O, index); | |
| 9536 | + this._i += point.length; | |
| 9537 | + return { value: point, done: false }; | |
| 9538 | +}); | |
| 9539 | + | |
| 9540 | + | |
| 9541 | +/***/ }), | |
| 9542 | + | |
| 9543 | +/***/ "../node_modules/core-js/modules/web.dom.iterable.js": | |
| 9544 | +/*!***********************************************************!*\ | |
| 9545 | + !*** ../node_modules/core-js/modules/web.dom.iterable.js ***! | |
| 9546 | + \***********************************************************/ | |
| 9547 | +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { | |
| 9548 | + | |
| 9549 | +var $iterators = __webpack_require__(/*! ./es6.array.iterator */ "../node_modules/core-js/modules/es6.array.iterator.js"); | |
| 9550 | +var getKeys = __webpack_require__(/*! ./_object-keys */ "../node_modules/core-js/modules/_object-keys.js"); | |
| 9551 | +var redefine = __webpack_require__(/*! ./_redefine */ "../node_modules/core-js/modules/_redefine.js"); | |
| 9552 | +var global = __webpack_require__(/*! ./_global */ "../node_modules/core-js/modules/_global.js"); | |
| 9553 | +var hide = __webpack_require__(/*! ./_hide */ "../node_modules/core-js/modules/_hide.js"); | |
| 9554 | +var Iterators = __webpack_require__(/*! ./_iterators */ "../node_modules/core-js/modules/_iterators.js"); | |
| 9555 | +var wks = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js"); | |
| 9556 | +var ITERATOR = wks('iterator'); | |
| 9557 | +var TO_STRING_TAG = wks('toStringTag'); | |
| 9558 | +var ArrayValues = Iterators.Array; | |
| 9559 | + | |
| 9560 | +var DOMIterables = { | |
| 9561 | + CSSRuleList: true, // TODO: Not spec compliant, should be false. | |
| 9562 | + CSSStyleDeclaration: false, | |
| 9563 | + CSSValueList: false, | |
| 9564 | + ClientRectList: false, | |
| 9565 | + DOMRectList: false, | |
| 9566 | + DOMStringList: false, | |
| 9567 | + DOMTokenList: true, | |
| 9568 | + DataTransferItemList: false, | |
| 9569 | + FileList: false, | |
| 9570 | + HTMLAllCollection: false, | |
| 9571 | + HTMLCollection: false, | |
| 9572 | + HTMLFormElement: false, | |
| 9573 | + HTMLSelectElement: false, | |
| 9574 | + MediaList: true, // TODO: Not spec compliant, should be false. | |
| 9575 | + MimeTypeArray: false, | |
| 9576 | + NamedNodeMap: false, | |
| 9577 | + NodeList: true, | |
| 9578 | + PaintRequestList: false, | |
| 9579 | + Plugin: false, | |
| 9580 | + PluginArray: false, | |
| 9581 | + SVGLengthList: false, | |
| 9582 | + SVGNumberList: false, | |
| 9583 | + SVGPathSegList: false, | |
| 9584 | + SVGPointList: false, | |
| 9585 | + SVGStringList: false, | |
| 9586 | + SVGTransformList: false, | |
| 9587 | + SourceBufferList: false, | |
| 9588 | + StyleSheetList: true, // TODO: Not spec compliant, should be false. | |
| 9589 | + TextTrackCueList: false, | |
| 9590 | + TextTrackList: false, | |
| 9591 | + TouchList: false | |
| 9592 | +}; | |
| 9593 | + | |
| 9594 | +for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { | |
| 9595 | + var NAME = collections[i]; | |
| 9596 | + var explicit = DOMIterables[NAME]; | |
| 9597 | + var Collection = global[NAME]; | |
| 9598 | + var proto = Collection && Collection.prototype; | |
| 9599 | + var key; | |
| 9600 | + if (proto) { | |
| 9601 | + if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); | |
| 9602 | + if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); | |
| 9603 | + Iterators[NAME] = ArrayValues; | |
| 9604 | + if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); | |
| 9605 | + } | |
| 9606 | +} | |
| 9607 | + | |
| 9608 | + | |
| 9609 | +/***/ }), | |
| 9610 | + | |
| 9611 | +/***/ "../node_modules/immer/dist/immer.esm.js": | |
| 9612 | +/*!***********************************************!*\ | |
| 9613 | + !*** ../node_modules/immer/dist/immer.esm.js ***! | |
| 9614 | + \***********************************************/ | |
| 9615 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 9616 | + | |
| 9617 | +"use strict"; | |
| 9618 | +__webpack_require__.r(__webpack_exports__); | |
| 9619 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 9620 | +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), | |
| 9621 | +/* harmony export */ "Immer": () => (/* binding */ un), | |
| 9622 | +/* harmony export */ "applyPatches": () => (/* binding */ pn), | |
| 9623 | +/* harmony export */ "castDraft": () => (/* binding */ K), | |
| 9624 | +/* harmony export */ "castImmutable": () => (/* binding */ $), | |
| 9625 | +/* harmony export */ "createDraft": () => (/* binding */ ln), | |
| 9626 | +/* harmony export */ "current": () => (/* binding */ D), | |
| 9627 | +/* harmony export */ "enableAllPlugins": () => (/* binding */ J), | |
| 9628 | +/* harmony export */ "enableES5": () => (/* binding */ N), | |
| 9629 | +/* harmony export */ "enableMapSet": () => (/* binding */ C), | |
| 9630 | +/* harmony export */ "enablePatches": () => (/* binding */ T), | |
| 9631 | +/* harmony export */ "finishDraft": () => (/* binding */ dn), | |
| 9632 | +/* harmony export */ "freeze": () => (/* binding */ d), | |
| 9633 | +/* harmony export */ "immerable": () => (/* binding */ L), | |
| 9634 | +/* harmony export */ "isDraft": () => (/* binding */ t), | |
| 9635 | +/* harmony export */ "isDraftable": () => (/* binding */ r), | |
| 9636 | +/* harmony export */ "nothing": () => (/* binding */ H), | |
| 9637 | +/* harmony export */ "original": () => (/* binding */ e), | |
| 9638 | +/* harmony export */ "produce": () => (/* binding */ fn), | |
| 9639 | +/* harmony export */ "produceWithPatches": () => (/* binding */ cn), | |
| 9640 | +/* harmony export */ "setAutoFreeze": () => (/* binding */ sn), | |
| 9641 | +/* harmony export */ "setUseProxies": () => (/* binding */ vn) | |
| 9642 | +/* harmony export */ }); | |
| 9643 | +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); | |
| 9644 | +//# sourceMappingURL=immer.esm.js.map | |
| 9645 | + | |
| 9646 | + | |
| 9647 | +/***/ }), | |
| 9648 | + | |
| 9649 | +/***/ "../node_modules/redux-thunk/es/index.js": | |
| 9650 | +/*!***********************************************!*\ | |
| 9651 | + !*** ../node_modules/redux-thunk/es/index.js ***! | |
| 9652 | + \***********************************************/ | |
| 9653 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 9654 | + | |
| 9655 | +"use strict"; | |
| 9656 | +__webpack_require__.r(__webpack_exports__); | |
| 9657 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 9658 | +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) | |
| 9659 | +/* harmony export */ }); | |
| 9660 | +/** A function that accepts a potential "extra argument" value to be injected later, | |
| 9661 | + * and returns an instance of the thunk middleware that uses that value | |
| 9662 | + */ | |
| 9663 | +function createThunkMiddleware(extraArgument) { | |
| 9664 | + // Standard Redux middleware definition pattern: | |
| 9665 | + // See: https://redux.js.org/tutorials/fundamentals/part-4-store#writing-custom-middleware | |
| 9666 | + var middleware = function middleware(_ref) { | |
| 9667 | + var dispatch = _ref.dispatch, | |
| 9668 | + getState = _ref.getState; | |
| 9669 | + return function (next) { | |
| 9670 | + return function (action) { | |
| 9671 | + // The thunk middleware looks for any functions that were passed to `store.dispatch`. | |
| 9672 | + // If this "action" is really a function, call it and return the result. | |
| 9673 | + if (typeof action === 'function') { | |
| 9674 | + // Inject the store's `dispatch` and `getState` methods, as well as any "extra arg" | |
| 9675 | + return action(dispatch, getState, extraArgument); | |
| 9676 | + } // Otherwise, pass the action down the middleware chain as usual | |
| 9677 | + | |
| 9678 | + | |
| 9679 | + return next(action); | |
| 9680 | + }; | |
| 9681 | + }; | |
| 9682 | + }; | |
| 9683 | + | |
| 9684 | + return middleware; | |
| 9685 | +} | |
| 9686 | + | |
| 9687 | +var thunk = createThunkMiddleware(); // Attach the factory function so users can create a customized version | |
| 9688 | +// with whatever "extra arg" they want to inject into their thunks | |
| 9689 | + | |
| 9690 | +thunk.withExtraArgument = createThunkMiddleware; | |
| 9691 | +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (thunk); | |
| 9692 | + | |
| 9693 | +/***/ }), | |
| 9694 | + | |
| 9695 | +/***/ "../node_modules/redux/es/redux.js": | |
| 9696 | +/*!*****************************************!*\ | |
| 9697 | + !*** ../node_modules/redux/es/redux.js ***! | |
| 9698 | + \*****************************************/ | |
| 9699 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 9700 | + | |
| 9701 | +"use strict"; | |
| 9702 | +__webpack_require__.r(__webpack_exports__); | |
| 9703 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 9704 | +/* harmony export */ "__DO_NOT_USE__ActionTypes": () => (/* binding */ ActionTypes), | |
| 9705 | +/* harmony export */ "applyMiddleware": () => (/* binding */ applyMiddleware), | |
| 9706 | +/* harmony export */ "bindActionCreators": () => (/* binding */ bindActionCreators), | |
| 9707 | +/* harmony export */ "combineReducers": () => (/* binding */ combineReducers), | |
| 9708 | +/* harmony export */ "compose": () => (/* binding */ compose), | |
| 9709 | +/* harmony export */ "createStore": () => (/* binding */ createStore) | |
| 9710 | +/* harmony export */ }); | |
| 9711 | +/* 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"); | |
| 9712 | + | |
| 9713 | + | |
| 9714 | +/** | |
| 9715 | + * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js | |
| 9716 | + * | |
| 9717 | + * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes | |
| 9718 | + * during build. | |
| 9719 | + * @param {number} code | |
| 9720 | + */ | |
| 9721 | +function formatProdErrorMessage(code) { | |
| 9722 | + 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. '; | |
| 9723 | +} | |
| 9724 | + | |
| 9725 | +// Inlined version of the `symbol-observable` polyfill | |
| 9726 | +var $$observable = (function () { | |
| 9727 | + return typeof Symbol === 'function' && Symbol.observable || '@@observable'; | |
| 9728 | +})(); | |
| 9729 | + | |
| 9730 | +/** | |
| 9731 | + * These are private action types reserved by Redux. | |
| 9732 | + * For any unknown actions, you must return the current state. | |
| 9733 | + * If the current state is undefined, you must return the initial state. | |
| 9734 | + * Do not reference these action types directly in your code. | |
| 9735 | + */ | |
| 9736 | +var randomString = function randomString() { | |
| 9737 | + return Math.random().toString(36).substring(7).split('').join('.'); | |
| 9738 | +}; | |
| 9739 | + | |
| 9740 | +var ActionTypes = { | |
| 9741 | + INIT: "@@redux/INIT" + randomString(), | |
| 9742 | + REPLACE: "@@redux/REPLACE" + randomString(), | |
| 9743 | + PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() { | |
| 9744 | + return "@@redux/PROBE_UNKNOWN_ACTION" + randomString(); | |
| 9745 | + } | |
| 9746 | +}; | |
| 9747 | + | |
| 9748 | +/** | |
| 9749 | + * @param {any} obj The object to inspect. | |
| 9750 | + * @returns {boolean} True if the argument appears to be a plain object. | |
| 9751 | + */ | |
| 9752 | +function isPlainObject(obj) { | |
| 9753 | + if (typeof obj !== 'object' || obj === null) return false; | |
| 9754 | + var proto = obj; | |
| 9755 | + | |
| 9756 | + while (Object.getPrototypeOf(proto) !== null) { | |
| 9757 | + proto = Object.getPrototypeOf(proto); | |
| 9758 | + } | |
| 9759 | + | |
| 9760 | + return Object.getPrototypeOf(obj) === proto; | |
| 9761 | +} | |
| 9762 | + | |
| 9763 | +// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of | |
| 9764 | +function miniKindOf(val) { | |
| 9765 | + if (val === void 0) return 'undefined'; | |
| 9766 | + if (val === null) return 'null'; | |
| 9767 | + var type = typeof val; | |
| 9768 | + | |
| 9769 | + switch (type) { | |
| 9770 | + case 'boolean': | |
| 9771 | + case 'string': | |
| 9772 | + case 'number': | |
| 9773 | + case 'symbol': | |
| 9774 | + case 'function': | |
| 9775 | + { | |
| 9776 | + return type; | |
| 9777 | + } | |
| 9778 | + } | |
| 9779 | + | |
| 9780 | + if (Array.isArray(val)) return 'array'; | |
| 9781 | + if (isDate(val)) return 'date'; | |
| 9782 | + if (isError(val)) return 'error'; | |
| 9783 | + var constructorName = ctorName(val); | |
| 9784 | + | |
| 9785 | + switch (constructorName) { | |
| 9786 | + case 'Symbol': | |
| 9787 | + case 'Promise': | |
| 9788 | + case 'WeakMap': | |
| 9789 | + case 'WeakSet': | |
| 9790 | + case 'Map': | |
| 9791 | + case 'Set': | |
| 9792 | + return constructorName; | |
| 9793 | + } // other | |
| 9794 | + | |
| 9795 | + | |
| 9796 | + return type.slice(8, -1).toLowerCase().replace(/\s/g, ''); | |
| 9797 | +} | |
| 9798 | + | |
| 9799 | +function ctorName(val) { | |
| 9800 | + return typeof val.constructor === 'function' ? val.constructor.name : null; | |
| 9801 | +} | |
| 9802 | + | |
| 9803 | +function isError(val) { | |
| 9804 | + return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number'; | |
| 9805 | +} | |
| 9806 | + | |
| 9807 | +function isDate(val) { | |
| 9808 | + if (val instanceof Date) return true; | |
| 9809 | + return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function'; | |
| 9810 | +} | |
| 9811 | + | |
| 9812 | +function kindOf(val) { | |
| 9813 | + var typeOfVal = typeof val; | |
| 9814 | + | |
| 9815 | + if (true) { | |
| 9816 | + typeOfVal = miniKindOf(val); | |
| 9817 | + } | |
| 9818 | + | |
| 9819 | + return typeOfVal; | |
| 9820 | +} | |
| 9821 | + | |
| 9822 | +/** | |
| 9823 | + * Creates a Redux store that holds the state tree. | |
| 9824 | + * The only way to change the data in the store is to call `dispatch()` on it. | |
| 9825 | + * | |
| 9826 | + * There should only be a single store in your app. To specify how different | |
| 9827 | + * parts of the state tree respond to actions, you may combine several reducers | |
| 9828 | + * into a single reducer function by using `combineReducers`. | |
| 9829 | + * | |
| 9830 | + * @param {Function} reducer A function that returns the next state tree, given | |
| 9831 | + * the current state tree and the action to handle. | |
| 9832 | + * | |
| 9833 | + * @param {any} [preloadedState] The initial state. You may optionally specify it | |
| 9834 | + * to hydrate the state from the server in universal apps, or to restore a | |
| 9835 | + * previously serialized user session. | |
| 9836 | + * If you use `combineReducers` to produce the root reducer function, this must be | |
| 9837 | + * an object with the same shape as `combineReducers` keys. | |
| 9838 | + * | |
| 9839 | + * @param {Function} [enhancer] The store enhancer. You may optionally specify it | |
| 9840 | + * to enhance the store with third-party capabilities such as middleware, | |
| 9841 | + * time travel, persistence, etc. The only store enhancer that ships with Redux | |
| 9842 | + * is `applyMiddleware()`. | |
| 9843 | + * | |
| 9844 | + * @returns {Store} A Redux store that lets you read the state, dispatch actions | |
| 9845 | + * and subscribe to changes. | |
| 9846 | + */ | |
| 9847 | + | |
| 9848 | +function createStore(reducer, preloadedState, enhancer) { | |
| 9849 | + var _ref2; | |
| 9850 | + | |
| 9851 | + if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') { | |
| 9852 | + 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.'); | |
| 9853 | + } | |
| 9854 | + | |
| 9855 | + if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') { | |
| 9856 | + enhancer = preloadedState; | |
| 9857 | + preloadedState = undefined; | |
| 9858 | + } | |
| 9859 | + | |
| 9860 | + if (typeof enhancer !== 'undefined') { | |
| 9861 | + if (typeof enhancer !== 'function') { | |
| 9862 | + throw new Error( false ? 0 : "Expected the enhancer to be a function. Instead, received: '" + kindOf(enhancer) + "'"); | |
| 9863 | + } | |
| 9864 | + | |
| 9865 | + return enhancer(createStore)(reducer, preloadedState); | |
| 9866 | + } | |
| 9867 | + | |
| 9868 | + if (typeof reducer !== 'function') { | |
| 9869 | + throw new Error( false ? 0 : "Expected the root reducer to be a function. Instead, received: '" + kindOf(reducer) + "'"); | |
| 9870 | + } | |
| 9871 | + | |
| 9872 | + var currentReducer = reducer; | |
| 9873 | + var currentState = preloadedState; | |
| 9874 | + var currentListeners = []; | |
| 9875 | + var nextListeners = currentListeners; | |
| 9876 | + var isDispatching = false; | |
| 9877 | + /** | |
| 9878 | + * This makes a shallow copy of currentListeners so we can use | |
| 9879 | + * nextListeners as a temporary list while dispatching. | |
| 9880 | + * | |
| 9881 | + * This prevents any bugs around consumers calling | |
| 9882 | + * subscribe/unsubscribe in the middle of a dispatch. | |
| 9883 | + */ | |
| 9884 | + | |
| 9885 | + function ensureCanMutateNextListeners() { | |
| 9886 | + if (nextListeners === currentListeners) { | |
| 9887 | + nextListeners = currentListeners.slice(); | |
| 9888 | + } | |
| 9889 | + } | |
| 9890 | + /** | |
| 9891 | + * Reads the state tree managed by the store. | |
| 9892 | + * | |
| 9893 | + * @returns {any} The current state tree of your application. | |
| 9894 | + */ | |
| 9895 | + | |
| 9896 | + | |
| 9897 | + function getState() { | |
| 9898 | + if (isDispatching) { | |
| 9899 | + 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.'); | |
| 9900 | + } | |
| 9901 | + | |
| 9902 | + return currentState; | |
| 9903 | + } | |
| 9904 | + /** | |
| 9905 | + * Adds a change listener. It will be called any time an action is dispatched, | |
| 9906 | + * and some part of the state tree may potentially have changed. You may then | |
| 9907 | + * call `getState()` to read the current state tree inside the callback. | |
| 9908 | + * | |
| 9909 | + * You may call `dispatch()` from a change listener, with the following | |
| 9910 | + * caveats: | |
| 9911 | + * | |
| 9912 | + * 1. The subscriptions are snapshotted just before every `dispatch()` call. | |
| 9913 | + * If you subscribe or unsubscribe while the listeners are being invoked, this | |
| 9914 | + * will not have any effect on the `dispatch()` that is currently in progress. | |
| 9915 | + * However, the next `dispatch()` call, whether nested or not, will use a more | |
| 9916 | + * recent snapshot of the subscription list. | |
| 9917 | + * | |
| 9918 | + * 2. The listener should not expect to see all state changes, as the state | |
| 9919 | + * might have been updated multiple times during a nested `dispatch()` before | |
| 9920 | + * the listener is called. It is, however, guaranteed that all subscribers | |
| 9921 | + * registered before the `dispatch()` started will be called with the latest | |
| 9922 | + * state by the time it exits. | |
| 9923 | + * | |
| 9924 | + * @param {Function} listener A callback to be invoked on every dispatch. | |
| 9925 | + * @returns {Function} A function to remove this change listener. | |
| 9926 | + */ | |
| 9927 | + | |
| 9928 | + | |
| 9929 | + function subscribe(listener) { | |
| 9930 | + if (typeof listener !== 'function') { | |
| 9931 | + throw new Error( false ? 0 : "Expected the listener to be a function. Instead, received: '" + kindOf(listener) + "'"); | |
| 9932 | + } | |
| 9933 | + | |
| 9934 | + if (isDispatching) { | |
| 9935 | + 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.'); | |
| 9936 | + } | |
| 9937 | + | |
| 9938 | + var isSubscribed = true; | |
| 9939 | + ensureCanMutateNextListeners(); | |
| 9940 | + nextListeners.push(listener); | |
| 9941 | + return function unsubscribe() { | |
| 9942 | + if (!isSubscribed) { | |
| 9943 | + return; | |
| 9944 | + } | |
| 9945 | + | |
| 9946 | + if (isDispatching) { | |
| 9947 | + 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.'); | |
| 9948 | + } | |
| 9949 | + | |
| 9950 | + isSubscribed = false; | |
| 9951 | + ensureCanMutateNextListeners(); | |
| 9952 | + var index = nextListeners.indexOf(listener); | |
| 9953 | + nextListeners.splice(index, 1); | |
| 9954 | + currentListeners = null; | |
| 9955 | + }; | |
| 9956 | + } | |
| 9957 | + /** | |
| 9958 | + * Dispatches an action. It is the only way to trigger a state change. | |
| 9959 | + * | |
| 9960 | + * The `reducer` function, used to create the store, will be called with the | |
| 9961 | + * current state tree and the given `action`. Its return value will | |
| 9962 | + * be considered the **next** state of the tree, and the change listeners | |
| 9963 | + * will be notified. | |
| 9964 | + * | |
| 9965 | + * The base implementation only supports plain object actions. If you want to | |
| 9966 | + * dispatch a Promise, an Observable, a thunk, or something else, you need to | |
| 9967 | + * wrap your store creating function into the corresponding middleware. For | |
| 9968 | + * example, see the documentation for the `redux-thunk` package. Even the | |
| 9969 | + * middleware will eventually dispatch plain object actions using this method. | |
| 9970 | + * | |
| 9971 | + * @param {Object} action A plain object representing “what changed”. It is | |
| 9972 | + * a good idea to keep actions serializable so you can record and replay user | |
| 9973 | + * sessions, or use the time travelling `redux-devtools`. An action must have | |
| 9974 | + * a `type` property which may not be `undefined`. It is a good idea to use | |
| 9975 | + * string constants for action types. | |
| 9976 | + * | |
| 9977 | + * @returns {Object} For convenience, the same action object you dispatched. | |
| 9978 | + * | |
| 9979 | + * Note that, if you use a custom middleware, it may wrap `dispatch()` to | |
| 9980 | + * return something else (for example, a Promise you can await). | |
| 9981 | + */ | |
| 9982 | + | |
| 9983 | + | |
| 9984 | + function dispatch(action) { | |
| 9985 | + if (!isPlainObject(action)) { | |
| 9986 | + 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."); | |
| 9987 | + } | |
| 9988 | + | |
| 9989 | + if (typeof action.type === 'undefined') { | |
| 9990 | + throw new Error( false ? 0 : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.'); | |
| 9991 | + } | |
| 9992 | + | |
| 9993 | + if (isDispatching) { | |
| 9994 | + throw new Error( false ? 0 : 'Reducers may not dispatch actions.'); | |
| 9995 | + } | |
| 9996 | + | |
| 9997 | + try { | |
| 9998 | + isDispatching = true; | |
| 9999 | + currentState = currentReducer(currentState, action); | |
| 10000 | + } finally { | |
| 10001 | + isDispatching = false; | |
| 10002 | + } | |
| 10003 | + | |
| 10004 | + var listeners = currentListeners = nextListeners; | |
| 10005 | + | |
| 10006 | + for (var i = 0; i < listeners.length; i++) { | |
| 10007 | + var listener = listeners[i]; | |
| 10008 | + listener(); | |
| 10009 | + } | |
| 10010 | + | |
| 10011 | + return action; | |
| 10012 | + } | |
| 10013 | + /** | |
| 10014 | + * Replaces the reducer currently used by the store to calculate the state. | |
| 10015 | + * | |
| 10016 | + * You might need this if your app implements code splitting and you want to | |
| 10017 | + * load some of the reducers dynamically. You might also need this if you | |
| 10018 | + * implement a hot reloading mechanism for Redux. | |
| 10019 | + * | |
| 10020 | + * @param {Function} nextReducer The reducer for the store to use instead. | |
| 10021 | + * @returns {void} | |
| 10022 | + */ | |
| 10023 | + | |
| 10024 | + | |
| 10025 | + function replaceReducer(nextReducer) { | |
| 10026 | + if (typeof nextReducer !== 'function') { | |
| 10027 | + throw new Error( false ? 0 : "Expected the nextReducer to be a function. Instead, received: '" + kindOf(nextReducer)); | |
| 10028 | + } | |
| 10029 | + | |
| 10030 | + currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT. | |
| 10031 | + // Any reducers that existed in both the new and old rootReducer | |
| 10032 | + // will receive the previous state. This effectively populates | |
| 10033 | + // the new state tree with any relevant data from the old one. | |
| 10034 | + | |
| 10035 | + dispatch({ | |
| 10036 | + type: ActionTypes.REPLACE | |
| 10037 | + }); | |
| 10038 | + } | |
| 10039 | + /** | |
| 10040 | + * Interoperability point for observable/reactive libraries. | |
| 10041 | + * @returns {observable} A minimal observable of state changes. | |
| 10042 | + * For more information, see the observable proposal: | |
| 10043 | + * https://github.com/tc39/proposal-observable | |
| 10044 | + */ | |
| 10045 | + | |
| 10046 | + | |
| 10047 | + function observable() { | |
| 10048 | + var _ref; | |
| 10049 | + | |
| 10050 | + var outerSubscribe = subscribe; | |
| 10051 | + return _ref = { | |
| 10052 | + /** | |
| 10053 | + * The minimal observable subscription method. | |
| 10054 | + * @param {Object} observer Any object that can be used as an observer. | |
| 10055 | + * The observer object should have a `next` method. | |
| 10056 | + * @returns {subscription} An object with an `unsubscribe` method that can | |
| 10057 | + * be used to unsubscribe the observable from the store, and prevent further | |
| 10058 | + * emission of values from the observable. | |
| 10059 | + */ | |
| 10060 | + subscribe: function subscribe(observer) { | |
| 10061 | + if (typeof observer !== 'object' || observer === null) { | |
| 10062 | + throw new Error( false ? 0 : "Expected the observer to be an object. Instead, received: '" + kindOf(observer) + "'"); | |
| 10063 | + } | |
| 10064 | + | |
| 10065 | + function observeState() { | |
| 10066 | + if (observer.next) { | |
| 10067 | + observer.next(getState()); | |
| 10068 | + } | |
| 10069 | + } | |
| 10070 | + | |
| 10071 | + observeState(); | |
| 10072 | + var unsubscribe = outerSubscribe(observeState); | |
| 10073 | + return { | |
| 10074 | + unsubscribe: unsubscribe | |
| 10075 | + }; | |
| 10076 | + } | |
| 10077 | + }, _ref[$$observable] = function () { | |
| 10078 | + return this; | |
| 10079 | + }, _ref; | |
| 10080 | + } // When a store is created, an "INIT" action is dispatched so that every | |
| 10081 | + // reducer returns their initial state. This effectively populates | |
| 10082 | + // the initial state tree. | |
| 10083 | + | |
| 10084 | + | |
| 10085 | + dispatch({ | |
| 10086 | + type: ActionTypes.INIT | |
| 10087 | + }); | |
| 10088 | + return _ref2 = { | |
| 10089 | + dispatch: dispatch, | |
| 10090 | + subscribe: subscribe, | |
| 10091 | + getState: getState, | |
| 10092 | + replaceReducer: replaceReducer | |
| 10093 | + }, _ref2[$$observable] = observable, _ref2; | |
| 10094 | +} | |
| 10095 | + | |
| 10096 | +/** | |
| 10097 | + * Prints a warning in the console if it exists. | |
| 10098 | + * | |
| 10099 | + * @param {String} message The warning message. | |
| 10100 | + * @returns {void} | |
| 10101 | + */ | |
| 10102 | +function warning(message) { | |
| 10103 | + /* eslint-disable no-console */ | |
| 10104 | + if (typeof console !== 'undefined' && typeof console.error === 'function') { | |
| 10105 | + console.error(message); | |
| 10106 | + } | |
| 10107 | + /* eslint-enable no-console */ | |
| 10108 | + | |
| 10109 | + | |
| 10110 | + try { | |
| 10111 | + // This error was thrown as a convenience so that if you enable | |
| 10112 | + // "break on all exceptions" in your console, | |
| 10113 | + // it would pause the execution at this line. | |
| 10114 | + throw new Error(message); | |
| 10115 | + } catch (e) {} // eslint-disable-line no-empty | |
| 10116 | + | |
| 10117 | +} | |
| 10118 | + | |
| 10119 | +function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) { | |
| 10120 | + var reducerKeys = Object.keys(reducers); | |
| 10121 | + var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer'; | |
| 10122 | + | |
| 10123 | + if (reducerKeys.length === 0) { | |
| 10124 | + return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.'; | |
| 10125 | + } | |
| 10126 | + | |
| 10127 | + if (!isPlainObject(inputState)) { | |
| 10128 | + return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\""); | |
| 10129 | + } | |
| 10130 | + | |
| 10131 | + var unexpectedKeys = Object.keys(inputState).filter(function (key) { | |
| 10132 | + return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key]; | |
| 10133 | + }); | |
| 10134 | + unexpectedKeys.forEach(function (key) { | |
| 10135 | + unexpectedKeyCache[key] = true; | |
| 10136 | + }); | |
| 10137 | + if (action && action.type === ActionTypes.REPLACE) return; | |
| 10138 | + | |
| 10139 | + if (unexpectedKeys.length > 0) { | |
| 10140 | + 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."); | |
| 10141 | + } | |
| 10142 | +} | |
| 10143 | + | |
| 10144 | +function assertReducerShape(reducers) { | |
| 10145 | + Object.keys(reducers).forEach(function (key) { | |
| 10146 | + var reducer = reducers[key]; | |
| 10147 | + var initialState = reducer(undefined, { | |
| 10148 | + type: ActionTypes.INIT | |
| 10149 | + }); | |
| 10150 | + | |
| 10151 | + if (typeof initialState === 'undefined') { | |
| 10152 | + 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."); | |
| 10153 | + } | |
| 10154 | + | |
| 10155 | + if (typeof reducer(undefined, { | |
| 10156 | + type: ActionTypes.PROBE_UNKNOWN_ACTION() | |
| 10157 | + }) === 'undefined') { | |
| 10158 | + 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."); | |
| 10159 | + } | |
| 10160 | + }); | |
| 10161 | +} | |
| 10162 | +/** | |
| 10163 | + * Turns an object whose values are different reducer functions, into a single | |
| 10164 | + * reducer function. It will call every child reducer, and gather their results | |
| 10165 | + * into a single state object, whose keys correspond to the keys of the passed | |
| 10166 | + * reducer functions. | |
| 10167 | + * | |
| 10168 | + * @param {Object} reducers An object whose values correspond to different | |
| 10169 | + * reducer functions that need to be combined into one. One handy way to obtain | |
| 10170 | + * it is to use ES6 `import * as reducers` syntax. The reducers may never return | |
| 10171 | + * undefined for any action. Instead, they should return their initial state | |
| 10172 | + * if the state passed to them was undefined, and the current state for any | |
| 10173 | + * unrecognized action. | |
| 10174 | + * | |
| 10175 | + * @returns {Function} A reducer function that invokes every reducer inside the | |
| 10176 | + * passed object, and builds a state object with the same shape. | |
| 10177 | + */ | |
| 10178 | + | |
| 10179 | + | |
| 10180 | +function combineReducers(reducers) { | |
| 10181 | + var reducerKeys = Object.keys(reducers); | |
| 10182 | + var finalReducers = {}; | |
| 10183 | + | |
| 10184 | + for (var i = 0; i < reducerKeys.length; i++) { | |
| 10185 | + var key = reducerKeys[i]; | |
| 10186 | + | |
| 10187 | + if (true) { | |
| 10188 | + if (typeof reducers[key] === 'undefined') { | |
| 10189 | + warning("No reducer provided for key \"" + key + "\""); | |
| 10190 | + } | |
| 10191 | + } | |
| 10192 | + | |
| 10193 | + if (typeof reducers[key] === 'function') { | |
| 10194 | + finalReducers[key] = reducers[key]; | |
| 10195 | + } | |
| 10196 | + } | |
| 10197 | + | |
| 10198 | + var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same | |
| 10199 | + // keys multiple times. | |
| 10200 | + | |
| 10201 | + var unexpectedKeyCache; | |
| 10202 | + | |
| 10203 | + if (true) { | |
| 10204 | + unexpectedKeyCache = {}; | |
| 10205 | + } | |
| 10206 | + | |
| 10207 | + var shapeAssertionError; | |
| 10208 | + | |
| 10209 | + try { | |
| 10210 | + assertReducerShape(finalReducers); | |
| 10211 | + } catch (e) { | |
| 10212 | + shapeAssertionError = e; | |
| 10213 | + } | |
| 10214 | + | |
| 10215 | + return function combination(state, action) { | |
| 10216 | + if (state === void 0) { | |
| 10217 | + state = {}; | |
| 10218 | + } | |
| 10219 | + | |
| 10220 | + if (shapeAssertionError) { | |
| 10221 | + throw shapeAssertionError; | |
| 10222 | + } | |
| 10223 | + | |
| 10224 | + if (true) { | |
| 10225 | + var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache); | |
| 10226 | + | |
| 10227 | + if (warningMessage) { | |
| 10228 | + warning(warningMessage); | |
| 10229 | + } | |
| 10230 | + } | |
| 10231 | + | |
| 10232 | + var hasChanged = false; | |
| 10233 | + var nextState = {}; | |
| 10234 | + | |
| 10235 | + for (var _i = 0; _i < finalReducerKeys.length; _i++) { | |
| 10236 | + var _key = finalReducerKeys[_i]; | |
| 10237 | + var reducer = finalReducers[_key]; | |
| 10238 | + var previousStateForKey = state[_key]; | |
| 10239 | + var nextStateForKey = reducer(previousStateForKey, action); | |
| 10240 | + | |
| 10241 | + if (typeof nextStateForKey === 'undefined') { | |
| 10242 | + var actionType = action && action.type; | |
| 10243 | + 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."); | |
| 10244 | + } | |
| 10245 | + | |
| 10246 | + nextState[_key] = nextStateForKey; | |
| 10247 | + hasChanged = hasChanged || nextStateForKey !== previousStateForKey; | |
| 10248 | + } | |
| 10249 | + | |
| 10250 | + hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length; | |
| 10251 | + return hasChanged ? nextState : state; | |
| 10252 | + }; | |
| 10253 | +} | |
| 10254 | + | |
| 10255 | +function bindActionCreator(actionCreator, dispatch) { | |
| 10256 | + return function () { | |
| 10257 | + return dispatch(actionCreator.apply(this, arguments)); | |
| 10258 | + }; | |
| 10259 | +} | |
| 10260 | +/** | |
| 10261 | + * Turns an object whose values are action creators, into an object with the | |
| 10262 | + * same keys, but with every function wrapped into a `dispatch` call so they | |
| 10263 | + * may be invoked directly. This is just a convenience method, as you can call | |
| 10264 | + * `store.dispatch(MyActionCreators.doSomething())` yourself just fine. | |
| 10265 | + * | |
| 10266 | + * For convenience, you can also pass an action creator as the first argument, | |
| 10267 | + * and get a dispatch wrapped function in return. | |
| 10268 | + * | |
| 10269 | + * @param {Function|Object} actionCreators An object whose values are action | |
| 10270 | + * creator functions. One handy way to obtain it is to use ES6 `import * as` | |
| 10271 | + * syntax. You may also pass a single function. | |
| 10272 | + * | |
| 10273 | + * @param {Function} dispatch The `dispatch` function available on your Redux | |
| 10274 | + * store. | |
| 10275 | + * | |
| 10276 | + * @returns {Function|Object} The object mimicking the original object, but with | |
| 10277 | + * every action creator wrapped into the `dispatch` call. If you passed a | |
| 10278 | + * function as `actionCreators`, the return value will also be a single | |
| 10279 | + * function. | |
| 10280 | + */ | |
| 10281 | + | |
| 10282 | + | |
| 10283 | +function bindActionCreators(actionCreators, dispatch) { | |
| 10284 | + if (typeof actionCreators === 'function') { | |
| 10285 | + return bindActionCreator(actionCreators, dispatch); | |
| 10286 | + } | |
| 10287 | + | |
| 10288 | + if (typeof actionCreators !== 'object' || actionCreators === null) { | |
| 10289 | + 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\"?"); | |
| 10290 | + } | |
| 10291 | + | |
| 10292 | + var boundActionCreators = {}; | |
| 10293 | + | |
| 10294 | + for (var key in actionCreators) { | |
| 10295 | + var actionCreator = actionCreators[key]; | |
| 10296 | + | |
| 10297 | + if (typeof actionCreator === 'function') { | |
| 10298 | + boundActionCreators[key] = bindActionCreator(actionCreator, dispatch); | |
| 10299 | + } | |
| 10300 | + } | |
| 10301 | + | |
| 10302 | + return boundActionCreators; | |
| 10303 | +} | |
| 10304 | + | |
| 10305 | +/** | |
| 10306 | + * Composes single-argument functions from right to left. The rightmost | |
| 10307 | + * function can take multiple arguments as it provides the signature for | |
| 10308 | + * the resulting composite function. | |
| 10309 | + * | |
| 10310 | + * @param {...Function} funcs The functions to compose. | |
| 10311 | + * @returns {Function} A function obtained by composing the argument functions | |
| 10312 | + * from right to left. For example, compose(f, g, h) is identical to doing | |
| 10313 | + * (...args) => f(g(h(...args))). | |
| 10314 | + */ | |
| 10315 | +function compose() { | |
| 10316 | + for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 10317 | + funcs[_key] = arguments[_key]; | |
| 10318 | + } | |
| 10319 | + | |
| 10320 | + if (funcs.length === 0) { | |
| 10321 | + return function (arg) { | |
| 10322 | + return arg; | |
| 10323 | + }; | |
| 10324 | + } | |
| 10325 | + | |
| 10326 | + if (funcs.length === 1) { | |
| 10327 | + return funcs[0]; | |
| 10328 | + } | |
| 10329 | + | |
| 10330 | + return funcs.reduce(function (a, b) { | |
| 10331 | + return function () { | |
| 10332 | + return a(b.apply(void 0, arguments)); | |
| 10333 | + }; | |
| 10334 | + }); | |
| 10335 | +} | |
| 10336 | + | |
| 10337 | +/** | |
| 10338 | + * Creates a store enhancer that applies middleware to the dispatch method | |
| 10339 | + * of the Redux store. This is handy for a variety of tasks, such as expressing | |
| 10340 | + * asynchronous actions in a concise manner, or logging every action payload. | |
| 10341 | + * | |
| 10342 | + * See `redux-thunk` package as an example of the Redux middleware. | |
| 10343 | + * | |
| 10344 | + * Because middleware is potentially asynchronous, this should be the first | |
| 10345 | + * store enhancer in the composition chain. | |
| 10346 | + * | |
| 10347 | + * Note that each middleware will be given the `dispatch` and `getState` functions | |
| 10348 | + * as named arguments. | |
| 10349 | + * | |
| 10350 | + * @param {...Function} middlewares The middleware chain to be applied. | |
| 10351 | + * @returns {Function} A store enhancer applying the middleware. | |
| 10352 | + */ | |
| 10353 | + | |
| 10354 | +function applyMiddleware() { | |
| 10355 | + for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) { | |
| 10356 | + middlewares[_key] = arguments[_key]; | |
| 10357 | + } | |
| 10358 | + | |
| 10359 | + return function (createStore) { | |
| 10360 | + return function () { | |
| 10361 | + var store = createStore.apply(void 0, arguments); | |
| 10362 | + | |
| 10363 | + var _dispatch = function dispatch() { | |
| 10364 | + throw new Error( false ? 0 : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.'); | |
| 10365 | + }; | |
| 10366 | + | |
| 10367 | + var middlewareAPI = { | |
| 10368 | + getState: store.getState, | |
| 10369 | + dispatch: function dispatch() { | |
| 10370 | + return _dispatch.apply(void 0, arguments); | |
| 10371 | + } | |
| 10372 | + }; | |
| 10373 | + var chain = middlewares.map(function (middleware) { | |
| 10374 | + return middleware(middlewareAPI); | |
| 10375 | + }); | |
| 10376 | + _dispatch = compose.apply(void 0, chain)(store.dispatch); | |
| 10377 | + return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])({}, store), {}, { | |
| 10378 | + dispatch: _dispatch | |
| 10379 | + }); | |
| 10380 | + }; | |
| 10381 | + }; | |
| 10382 | +} | |
| 10383 | + | |
| 10384 | +/* | |
| 10385 | + * This is a dummy function to check if the function name has been altered by minification. | |
| 10386 | + * If the function has been minified and NODE_ENV !== 'production', warn the user. | |
| 10387 | + */ | |
| 10388 | + | |
| 10389 | +function isCrushed() {} | |
| 10390 | + | |
| 10391 | +if ( true && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') { | |
| 10392 | + 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.'); | |
| 10393 | +} | |
| 10394 | + | |
| 10395 | + | |
| 10396 | + | |
| 10397 | + | |
| 10398 | +/***/ }), | |
| 10399 | + | |
| 10400 | +/***/ "../node_modules/regenerator-runtime/runtime.js": | |
| 10401 | +/*!******************************************************!*\ | |
| 10402 | + !*** ../node_modules/regenerator-runtime/runtime.js ***! | |
| 10403 | + \******************************************************/ | |
| 10404 | +/***/ ((module) => { | |
| 10405 | + | |
| 10406 | +/** | |
| 10407 | + * Copyright (c) 2014-present, Facebook, Inc. | |
| 10408 | + * | |
| 10409 | + * This source code is licensed under the MIT license found in the | |
| 10410 | + * LICENSE file in the root directory of this source tree. | |
| 10411 | + */ | |
| 10412 | + | |
| 10413 | +var runtime = (function (exports) { | |
| 10414 | + "use strict"; | |
| 10415 | + | |
| 10416 | + var Op = Object.prototype; | |
| 10417 | + var hasOwn = Op.hasOwnProperty; | |
| 10418 | + var undefined; // More compressible than void 0. | |
| 10419 | + var $Symbol = typeof Symbol === "function" ? Symbol : {}; | |
| 10420 | + var iteratorSymbol = $Symbol.iterator || "@@iterator"; | |
| 10421 | + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; | |
| 10422 | + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; | |
| 10423 | + | |
| 10424 | + function define(obj, key, value) { | |
| 10425 | + Object.defineProperty(obj, key, { | |
| 10426 | + value: value, | |
| 10427 | + enumerable: true, | |
| 10428 | + configurable: true, | |
| 10429 | + writable: true | |
| 10430 | + }); | |
| 10431 | + return obj[key]; | |
| 10432 | + } | |
| 10433 | + try { | |
| 10434 | + // IE 8 has a broken Object.defineProperty that only works on DOM objects. | |
| 10435 | + define({}, ""); | |
| 10436 | + } catch (err) { | |
| 10437 | + define = function(obj, key, value) { | |
| 10438 | + return obj[key] = value; | |
| 10439 | + }; | |
| 10440 | + } | |
| 10441 | + | |
| 10442 | + function wrap(innerFn, outerFn, self, tryLocsList) { | |
| 10443 | + // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. | |
| 10444 | + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; | |
| 10445 | + var generator = Object.create(protoGenerator.prototype); | |
| 10446 | + var context = new Context(tryLocsList || []); | |
| 10447 | + | |
| 10448 | + // The ._invoke method unifies the implementations of the .next, | |
| 10449 | + // .throw, and .return methods. | |
| 10450 | + generator._invoke = makeInvokeMethod(innerFn, self, context); | |
| 10451 | + | |
| 10452 | + return generator; | |
| 10453 | + } | |
| 10454 | + exports.wrap = wrap; | |
| 10455 | + | |
| 10456 | + // Try/catch helper to minimize deoptimizations. Returns a completion | |
| 10457 | + // record like context.tryEntries[i].completion. This interface could | |
| 10458 | + // have been (and was previously) designed to take a closure to be | |
| 10459 | + // invoked without arguments, but in all the cases we care about we | |
| 10460 | + // already have an existing method we want to call, so there's no need | |
| 10461 | + // to create a new function object. We can even get away with assuming | |
| 10462 | + // the method takes exactly one argument, since that happens to be true | |
| 10463 | + // in every case, so we don't have to touch the arguments object. The | |
| 10464 | + // only additional allocation required is the completion record, which | |
| 10465 | + // has a stable shape and so hopefully should be cheap to allocate. | |
| 10466 | + function tryCatch(fn, obj, arg) { | |
| 10467 | + try { | |
| 10468 | + return { type: "normal", arg: fn.call(obj, arg) }; | |
| 10469 | + } catch (err) { | |
| 10470 | + return { type: "throw", arg: err }; | |
| 10471 | + } | |
| 10472 | + } | |
| 10473 | + | |
| 10474 | + var GenStateSuspendedStart = "suspendedStart"; | |
| 10475 | + var GenStateSuspendedYield = "suspendedYield"; | |
| 10476 | + var GenStateExecuting = "executing"; | |
| 10477 | + var GenStateCompleted = "completed"; | |
| 10478 | + | |
| 10479 | + // Returning this object from the innerFn has the same effect as | |
| 10480 | + // breaking out of the dispatch switch statement. | |
| 10481 | + var ContinueSentinel = {}; | |
| 10482 | + | |
| 10483 | + // Dummy constructor functions that we use as the .constructor and | |
| 10484 | + // .constructor.prototype properties for functions that return Generator | |
| 10485 | + // objects. For full spec compliance, you may wish to configure your | |
| 10486 | + // minifier not to mangle the names of these two functions. | |
| 10487 | + function Generator() {} | |
| 10488 | + function GeneratorFunction() {} | |
| 10489 | + function GeneratorFunctionPrototype() {} | |
| 10490 | + | |
| 10491 | + // This is a polyfill for %IteratorPrototype% for environments that | |
| 10492 | + // don't natively support it. | |
| 10493 | + var IteratorPrototype = {}; | |
| 10494 | + define(IteratorPrototype, iteratorSymbol, function () { | |
| 10495 | + return this; | |
| 10496 | + }); | |
| 10497 | + | |
| 10498 | + var getProto = Object.getPrototypeOf; | |
| 10499 | + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); | |
| 10500 | + if (NativeIteratorPrototype && | |
| 10501 | + NativeIteratorPrototype !== Op && | |
| 10502 | + hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { | |
| 10503 | + // This environment has a native %IteratorPrototype%; use it instead | |
| 10504 | + // of the polyfill. | |
| 10505 | + IteratorPrototype = NativeIteratorPrototype; | |
| 10506 | + } | |
| 10507 | + | |
| 10508 | + var Gp = GeneratorFunctionPrototype.prototype = | |
| 10509 | + Generator.prototype = Object.create(IteratorPrototype); | |
| 10510 | + GeneratorFunction.prototype = GeneratorFunctionPrototype; | |
| 10511 | + define(Gp, "constructor", GeneratorFunctionPrototype); | |
| 10512 | + define(GeneratorFunctionPrototype, "constructor", GeneratorFunction); | |
| 10513 | + GeneratorFunction.displayName = define( | |
| 10514 | + GeneratorFunctionPrototype, | |
| 10515 | + toStringTagSymbol, | |
| 10516 | + "GeneratorFunction" | |
| 10517 | + ); | |
| 10518 | + | |
| 10519 | + // Helper for defining the .next, .throw, and .return methods of the | |
| 10520 | + // Iterator interface in terms of a single ._invoke method. | |
| 10521 | + function defineIteratorMethods(prototype) { | |
| 10522 | + ["next", "throw", "return"].forEach(function(method) { | |
| 10523 | + define(prototype, method, function(arg) { | |
| 10524 | + return this._invoke(method, arg); | |
| 10525 | + }); | |
| 10526 | + }); | |
| 10527 | + } | |
| 10528 | + | |
| 10529 | + exports.isGeneratorFunction = function(genFun) { | |
| 10530 | + var ctor = typeof genFun === "function" && genFun.constructor; | |
| 10531 | + return ctor | |
| 10532 | + ? ctor === GeneratorFunction || | |
| 10533 | + // For the native GeneratorFunction constructor, the best we can | |
| 10534 | + // do is to check its .name property. | |
| 10535 | + (ctor.displayName || ctor.name) === "GeneratorFunction" | |
| 10536 | + : false; | |
| 10537 | + }; | |
| 10538 | + | |
| 10539 | + exports.mark = function(genFun) { | |
| 10540 | + if (Object.setPrototypeOf) { | |
| 10541 | + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); | |
| 10542 | + } else { | |
| 10543 | + genFun.__proto__ = GeneratorFunctionPrototype; | |
| 10544 | + define(genFun, toStringTagSymbol, "GeneratorFunction"); | |
| 10545 | + } | |
| 10546 | + genFun.prototype = Object.create(Gp); | |
| 10547 | + return genFun; | |
| 10548 | + }; | |
| 10549 | + | |
| 10550 | + // Within the body of any async function, `await x` is transformed to | |
| 10551 | + // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test | |
| 10552 | + // `hasOwn.call(value, "__await")` to determine if the yielded value is | |
| 10553 | + // meant to be awaited. | |
| 10554 | + exports.awrap = function(arg) { | |
| 10555 | + return { __await: arg }; | |
| 10556 | + }; | |
| 10557 | + | |
| 10558 | + function AsyncIterator(generator, PromiseImpl) { | |
| 10559 | + function invoke(method, arg, resolve, reject) { | |
| 10560 | + var record = tryCatch(generator[method], generator, arg); | |
| 10561 | + if (record.type === "throw") { | |
| 10562 | + reject(record.arg); | |
| 10563 | + } else { | |
| 10564 | + var result = record.arg; | |
| 10565 | + var value = result.value; | |
| 10566 | + if (value && | |
| 10567 | + typeof value === "object" && | |
| 10568 | + hasOwn.call(value, "__await")) { | |
| 10569 | + return PromiseImpl.resolve(value.__await).then(function(value) { | |
| 10570 | + invoke("next", value, resolve, reject); | |
| 10571 | + }, function(err) { | |
| 10572 | + invoke("throw", err, resolve, reject); | |
| 10573 | + }); | |
| 10574 | + } | |
| 10575 | + | |
| 10576 | + return PromiseImpl.resolve(value).then(function(unwrapped) { | |
| 10577 | + // When a yielded Promise is resolved, its final value becomes | |
| 10578 | + // the .value of the Promise<{value,done}> result for the | |
| 10579 | + // current iteration. | |
| 10580 | + result.value = unwrapped; | |
| 10581 | + resolve(result); | |
| 10582 | + }, function(error) { | |
| 10583 | + // If a rejected Promise was yielded, throw the rejection back | |
| 10584 | + // into the async generator function so it can be handled there. | |
| 10585 | + return invoke("throw", error, resolve, reject); | |
| 10586 | + }); | |
| 10587 | + } | |
| 10588 | + } | |
| 10589 | + | |
| 10590 | + var previousPromise; | |
| 10591 | + | |
| 10592 | + function enqueue(method, arg) { | |
| 10593 | + function callInvokeWithMethodAndArg() { | |
| 10594 | + return new PromiseImpl(function(resolve, reject) { | |
| 10595 | + invoke(method, arg, resolve, reject); | |
| 10596 | + }); | |
| 10597 | + } | |
| 10598 | + | |
| 10599 | + return previousPromise = | |
| 10600 | + // If enqueue has been called before, then we want to wait until | |
| 10601 | + // all previous Promises have been resolved before calling invoke, | |
| 10602 | + // so that results are always delivered in the correct order. If | |
| 10603 | + // enqueue has not been called before, then it is important to | |
| 10604 | + // call invoke immediately, without waiting on a callback to fire, | |
| 10605 | + // so that the async generator function has the opportunity to do | |
| 10606 | + // any necessary setup in a predictable way. This predictability | |
| 10607 | + // is why the Promise constructor synchronously invokes its | |
| 10608 | + // executor callback, and why async functions synchronously | |
| 10609 | + // execute code before the first await. Since we implement simple | |
| 10610 | + // async functions in terms of async generators, it is especially | |
| 10611 | + // important to get this right, even though it requires care. | |
| 10612 | + previousPromise ? previousPromise.then( | |
| 10613 | + callInvokeWithMethodAndArg, | |
| 10614 | + // Avoid propagating failures to Promises returned by later | |
| 10615 | + // invocations of the iterator. | |
| 10616 | + callInvokeWithMethodAndArg | |
| 10617 | + ) : callInvokeWithMethodAndArg(); | |
| 10618 | + } | |
| 10619 | + | |
| 10620 | + // Define the unified helper method that is used to implement .next, | |
| 10621 | + // .throw, and .return (see defineIteratorMethods). | |
| 10622 | + this._invoke = enqueue; | |
| 10623 | + } | |
| 10624 | + | |
| 10625 | + defineIteratorMethods(AsyncIterator.prototype); | |
| 10626 | + define(AsyncIterator.prototype, asyncIteratorSymbol, function () { | |
| 10627 | + return this; | |
| 10628 | + }); | |
| 10629 | + exports.AsyncIterator = AsyncIterator; | |
| 10630 | + | |
| 10631 | + // Note that simple async functions are implemented on top of | |
| 10632 | + // AsyncIterator objects; they just return a Promise for the value of | |
| 10633 | + // the final result produced by the iterator. | |
| 10634 | + exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { | |
| 10635 | + if (PromiseImpl === void 0) PromiseImpl = Promise; | |
| 10636 | + | |
| 10637 | + var iter = new AsyncIterator( | |
| 10638 | + wrap(innerFn, outerFn, self, tryLocsList), | |
| 10639 | + PromiseImpl | |
| 10640 | + ); | |
| 10641 | + | |
| 10642 | + return exports.isGeneratorFunction(outerFn) | |
| 10643 | + ? iter // If outerFn is a generator, return the full iterator. | |
| 10644 | + : iter.next().then(function(result) { | |
| 10645 | + return result.done ? result.value : iter.next(); | |
| 10646 | + }); | |
| 10647 | + }; | |
| 10648 | + | |
| 10649 | + function makeInvokeMethod(innerFn, self, context) { | |
| 10650 | + var state = GenStateSuspendedStart; | |
| 10651 | + | |
| 10652 | + return function invoke(method, arg) { | |
| 10653 | + if (state === GenStateExecuting) { | |
| 10654 | + throw new Error("Generator is already running"); | |
| 10655 | + } | |
| 10656 | + | |
| 10657 | + if (state === GenStateCompleted) { | |
| 10658 | + if (method === "throw") { | |
| 10659 | + throw arg; | |
| 10660 | + } | |
| 10661 | + | |
| 10662 | + // Be forgiving, per 25.3.3.3.3 of the spec: | |
| 10663 | + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume | |
| 10664 | + return doneResult(); | |
| 10665 | + } | |
| 10666 | + | |
| 10667 | + context.method = method; | |
| 10668 | + context.arg = arg; | |
| 10669 | + | |
| 10670 | + while (true) { | |
| 10671 | + var delegate = context.delegate; | |
| 10672 | + if (delegate) { | |
| 10673 | + var delegateResult = maybeInvokeDelegate(delegate, context); | |
| 10674 | + if (delegateResult) { | |
| 10675 | + if (delegateResult === ContinueSentinel) continue; | |
| 10676 | + return delegateResult; | |
| 10677 | + } | |
| 10678 | + } | |
| 10679 | + | |
| 10680 | + if (context.method === "next") { | |
| 10681 | + // Setting context._sent for legacy support of Babel's | |
| 10682 | + // function.sent implementation. | |
| 10683 | + context.sent = context._sent = context.arg; | |
| 10684 | + | |
| 10685 | + } else if (context.method === "throw") { | |
| 10686 | + if (state === GenStateSuspendedStart) { | |
| 10687 | + state = GenStateCompleted; | |
| 10688 | + throw context.arg; | |
| 10689 | + } | |
| 10690 | + | |
| 10691 | + context.dispatchException(context.arg); | |
| 10692 | + | |
| 10693 | + } else if (context.method === "return") { | |
| 10694 | + context.abrupt("return", context.arg); | |
| 10695 | + } | |
| 10696 | + | |
| 10697 | + state = GenStateExecuting; | |
| 10698 | + | |
| 10699 | + var record = tryCatch(innerFn, self, context); | |
| 10700 | + if (record.type === "normal") { | |
| 10701 | + // If an exception is thrown from innerFn, we leave state === | |
| 10702 | + // GenStateExecuting and loop back for another invocation. | |
| 10703 | + state = context.done | |
| 10704 | + ? GenStateCompleted | |
| 10705 | + : GenStateSuspendedYield; | |
| 10706 | + | |
| 10707 | + if (record.arg === ContinueSentinel) { | |
| 10708 | + continue; | |
| 10709 | + } | |
| 10710 | + | |
| 10711 | + return { | |
| 10712 | + value: record.arg, | |
| 10713 | + done: context.done | |
| 10714 | + }; | |
| 10715 | + | |
| 10716 | + } else if (record.type === "throw") { | |
| 10717 | + state = GenStateCompleted; | |
| 10718 | + // Dispatch the exception by looping back around to the | |
| 10719 | + // context.dispatchException(context.arg) call above. | |
| 10720 | + context.method = "throw"; | |
| 10721 | + context.arg = record.arg; | |
| 10722 | + } | |
| 10723 | + } | |
| 10724 | + }; | |
| 10725 | + } | |
| 10726 | + | |
| 10727 | + // Call delegate.iterator[context.method](context.arg) and handle the | |
| 10728 | + // result, either by returning a { value, done } result from the | |
| 10729 | + // delegate iterator, or by modifying context.method and context.arg, | |
| 10730 | + // setting context.delegate to null, and returning the ContinueSentinel. | |
| 10731 | + function maybeInvokeDelegate(delegate, context) { | |
| 10732 | + var method = delegate.iterator[context.method]; | |
| 10733 | + if (method === undefined) { | |
| 10734 | + // A .throw or .return when the delegate iterator has no .throw | |
| 10735 | + // method always terminates the yield* loop. | |
| 10736 | + context.delegate = null; | |
| 10737 | + | |
| 10738 | + if (context.method === "throw") { | |
| 10739 | + // Note: ["return"] must be used for ES3 parsing compatibility. | |
| 10740 | + if (delegate.iterator["return"]) { | |
| 10741 | + // If the delegate iterator has a return method, give it a | |
| 10742 | + // chance to clean up. | |
| 10743 | + context.method = "return"; | |
| 10744 | + context.arg = undefined; | |
| 10745 | + maybeInvokeDelegate(delegate, context); | |
| 10746 | + | |
| 10747 | + if (context.method === "throw") { | |
| 10748 | + // If maybeInvokeDelegate(context) changed context.method from | |
| 10749 | + // "return" to "throw", let that override the TypeError below. | |
| 10750 | + return ContinueSentinel; | |
| 10751 | + } | |
| 10752 | + } | |
| 10753 | + | |
| 10754 | + context.method = "throw"; | |
| 10755 | + context.arg = new TypeError( | |
| 10756 | + "The iterator does not provide a 'throw' method"); | |
| 10757 | + } | |
| 10758 | + | |
| 10759 | + return ContinueSentinel; | |
| 10760 | + } | |
| 10761 | + | |
| 10762 | + var record = tryCatch(method, delegate.iterator, context.arg); | |
| 10763 | + | |
| 10764 | + if (record.type === "throw") { | |
| 10765 | + context.method = "throw"; | |
| 10766 | + context.arg = record.arg; | |
| 10767 | + context.delegate = null; | |
| 10768 | + return ContinueSentinel; | |
| 10769 | + } | |
| 10770 | + | |
| 10771 | + var info = record.arg; | |
| 10772 | + | |
| 10773 | + if (! info) { | |
| 10774 | + context.method = "throw"; | |
| 10775 | + context.arg = new TypeError("iterator result is not an object"); | |
| 10776 | + context.delegate = null; | |
| 10777 | + return ContinueSentinel; | |
| 10778 | + } | |
| 10779 | + | |
| 10780 | + if (info.done) { | |
| 10781 | + // Assign the result of the finished delegate to the temporary | |
| 10782 | + // variable specified by delegate.resultName (see delegateYield). | |
| 10783 | + context[delegate.resultName] = info.value; | |
| 10784 | + | |
| 10785 | + // Resume execution at the desired location (see delegateYield). | |
| 10786 | + context.next = delegate.nextLoc; | |
| 10787 | + | |
| 10788 | + // If context.method was "throw" but the delegate handled the | |
| 10789 | + // exception, let the outer generator proceed normally. If | |
| 10790 | + // context.method was "next", forget context.arg since it has been | |
| 10791 | + // "consumed" by the delegate iterator. If context.method was | |
| 10792 | + // "return", allow the original .return call to continue in the | |
| 10793 | + // outer generator. | |
| 10794 | + if (context.method !== "return") { | |
| 10795 | + context.method = "next"; | |
| 10796 | + context.arg = undefined; | |
| 10797 | + } | |
| 10798 | + | |
| 10799 | + } else { | |
| 10800 | + // Re-yield the result returned by the delegate method. | |
| 10801 | + return info; | |
| 10802 | + } | |
| 10803 | + | |
| 10804 | + // The delegate iterator is finished, so forget it and continue with | |
| 10805 | + // the outer generator. | |
| 10806 | + context.delegate = null; | |
| 10807 | + return ContinueSentinel; | |
| 10808 | + } | |
| 10809 | + | |
| 10810 | + // Define Generator.prototype.{next,throw,return} in terms of the | |
| 10811 | + // unified ._invoke helper method. | |
| 10812 | + defineIteratorMethods(Gp); | |
| 10813 | + | |
| 10814 | + define(Gp, toStringTagSymbol, "Generator"); | |
| 10815 | + | |
| 10816 | + // A Generator should always return itself as the iterator object when the | |
| 10817 | + // @@iterator function is called on it. Some browsers' implementations of the | |
| 10818 | + // iterator prototype chain incorrectly implement this, causing the Generator | |
| 10819 | + // object to not be returned from this call. This ensures that doesn't happen. | |
| 10820 | + // See https://github.com/facebook/regenerator/issues/274 for more details. | |
| 10821 | + define(Gp, iteratorSymbol, function() { | |
| 10822 | + return this; | |
| 10823 | + }); | |
| 10824 | + | |
| 10825 | + define(Gp, "toString", function() { | |
| 10826 | + return "[object Generator]"; | |
| 10827 | + }); | |
| 10828 | + | |
| 10829 | + function pushTryEntry(locs) { | |
| 10830 | + var entry = { tryLoc: locs[0] }; | |
| 10831 | + | |
| 10832 | + if (1 in locs) { | |
| 10833 | + entry.catchLoc = locs[1]; | |
| 10834 | + } | |
| 10835 | + | |
| 10836 | + if (2 in locs) { | |
| 10837 | + entry.finallyLoc = locs[2]; | |
| 10838 | + entry.afterLoc = locs[3]; | |
| 10839 | + } | |
| 10840 | + | |
| 10841 | + this.tryEntries.push(entry); | |
| 10842 | + } | |
| 10843 | + | |
| 10844 | + function resetTryEntry(entry) { | |
| 10845 | + var record = entry.completion || {}; | |
| 10846 | + record.type = "normal"; | |
| 10847 | + delete record.arg; | |
| 10848 | + entry.completion = record; | |
| 10849 | + } | |
| 10850 | + | |
| 10851 | + function Context(tryLocsList) { | |
| 10852 | + // The root entry object (effectively a try statement without a catch | |
| 10853 | + // or a finally block) gives us a place to store values thrown from | |
| 10854 | + // locations where there is no enclosing try statement. | |
| 10855 | + this.tryEntries = [{ tryLoc: "root" }]; | |
| 10856 | + tryLocsList.forEach(pushTryEntry, this); | |
| 10857 | + this.reset(true); | |
| 10858 | + } | |
| 10859 | + | |
| 10860 | + exports.keys = function(object) { | |
| 10861 | + var keys = []; | |
| 10862 | + for (var key in object) { | |
| 10863 | + keys.push(key); | |
| 10864 | + } | |
| 10865 | + keys.reverse(); | |
| 10866 | + | |
| 10867 | + // Rather than returning an object with a next method, we keep | |
| 10868 | + // things simple and return the next function itself. | |
| 10869 | + return function next() { | |
| 10870 | + while (keys.length) { | |
| 10871 | + var key = keys.pop(); | |
| 10872 | + if (key in object) { | |
| 10873 | + next.value = key; | |
| 10874 | + next.done = false; | |
| 10875 | + return next; | |
| 10876 | + } | |
| 10877 | + } | |
| 10878 | + | |
| 10879 | + // To avoid creating an additional object, we just hang the .value | |
| 10880 | + // and .done properties off the next function object itself. This | |
| 10881 | + // also ensures that the minifier will not anonymize the function. | |
| 10882 | + next.done = true; | |
| 10883 | + return next; | |
| 10884 | + }; | |
| 10885 | + }; | |
| 10886 | + | |
| 10887 | + function values(iterable) { | |
| 10888 | + if (iterable) { | |
| 10889 | + var iteratorMethod = iterable[iteratorSymbol]; | |
| 10890 | + if (iteratorMethod) { | |
| 10891 | + return iteratorMethod.call(iterable); | |
| 10892 | + } | |
| 10893 | + | |
| 10894 | + if (typeof iterable.next === "function") { | |
| 10895 | + return iterable; | |
| 10896 | + } | |
| 10897 | + | |
| 10898 | + if (!isNaN(iterable.length)) { | |
| 10899 | + var i = -1, next = function next() { | |
| 10900 | + while (++i < iterable.length) { | |
| 10901 | + if (hasOwn.call(iterable, i)) { | |
| 10902 | + next.value = iterable[i]; | |
| 10903 | + next.done = false; | |
| 10904 | + return next; | |
| 10905 | + } | |
| 10906 | + } | |
| 10907 | + | |
| 10908 | + next.value = undefined; | |
| 10909 | + next.done = true; | |
| 10910 | + | |
| 10911 | + return next; | |
| 10912 | + }; | |
| 10913 | + | |
| 10914 | + return next.next = next; | |
| 10915 | + } | |
| 10916 | + } | |
| 10917 | + | |
| 10918 | + // Return an iterator with no values. | |
| 10919 | + return { next: doneResult }; | |
| 10920 | + } | |
| 10921 | + exports.values = values; | |
| 10922 | + | |
| 10923 | + function doneResult() { | |
| 10924 | + return { value: undefined, done: true }; | |
| 10925 | + } | |
| 10926 | + | |
| 10927 | + Context.prototype = { | |
| 10928 | + constructor: Context, | |
| 10929 | + | |
| 10930 | + reset: function(skipTempReset) { | |
| 10931 | + this.prev = 0; | |
| 10932 | + this.next = 0; | |
| 10933 | + // Resetting context._sent for legacy support of Babel's | |
| 10934 | + // function.sent implementation. | |
| 10935 | + this.sent = this._sent = undefined; | |
| 10936 | + this.done = false; | |
| 10937 | + this.delegate = null; | |
| 10938 | + | |
| 10939 | + this.method = "next"; | |
| 10940 | + this.arg = undefined; | |
| 10941 | + | |
| 10942 | + this.tryEntries.forEach(resetTryEntry); | |
| 10943 | + | |
| 10944 | + if (!skipTempReset) { | |
| 10945 | + for (var name in this) { | |
| 10946 | + // Not sure about the optimal order of these conditions: | |
| 10947 | + if (name.charAt(0) === "t" && | |
| 10948 | + hasOwn.call(this, name) && | |
| 10949 | + !isNaN(+name.slice(1))) { | |
| 10950 | + this[name] = undefined; | |
| 10951 | + } | |
| 10952 | + } | |
| 10953 | + } | |
| 10954 | + }, | |
| 10955 | + | |
| 10956 | + stop: function() { | |
| 10957 | + this.done = true; | |
| 10958 | + | |
| 10959 | + var rootEntry = this.tryEntries[0]; | |
| 10960 | + var rootRecord = rootEntry.completion; | |
| 10961 | + if (rootRecord.type === "throw") { | |
| 10962 | + throw rootRecord.arg; | |
| 10963 | + } | |
| 10964 | + | |
| 10965 | + return this.rval; | |
| 10966 | + }, | |
| 10967 | + | |
| 10968 | + dispatchException: function(exception) { | |
| 10969 | + if (this.done) { | |
| 10970 | + throw exception; | |
| 10971 | + } | |
| 10972 | + | |
| 10973 | + var context = this; | |
| 10974 | + function handle(loc, caught) { | |
| 10975 | + record.type = "throw"; | |
| 10976 | + record.arg = exception; | |
| 10977 | + context.next = loc; | |
| 10978 | + | |
| 10979 | + if (caught) { | |
| 10980 | + // If the dispatched exception was caught by a catch block, | |
| 10981 | + // then let that catch block handle the exception normally. | |
| 10982 | + context.method = "next"; | |
| 10983 | + context.arg = undefined; | |
| 10984 | + } | |
| 10985 | + | |
| 10986 | + return !! caught; | |
| 10987 | + } | |
| 10988 | + | |
| 10989 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 10990 | + var entry = this.tryEntries[i]; | |
| 10991 | + var record = entry.completion; | |
| 10992 | + | |
| 10993 | + if (entry.tryLoc === "root") { | |
| 10994 | + // Exception thrown outside of any try block that could handle | |
| 10995 | + // it, so set the completion value of the entire function to | |
| 10996 | + // throw the exception. | |
| 10997 | + return handle("end"); | |
| 10998 | + } | |
| 10999 | + | |
| 11000 | + if (entry.tryLoc <= this.prev) { | |
| 11001 | + var hasCatch = hasOwn.call(entry, "catchLoc"); | |
| 11002 | + var hasFinally = hasOwn.call(entry, "finallyLoc"); | |
| 11003 | + | |
| 11004 | + if (hasCatch && hasFinally) { | |
| 11005 | + if (this.prev < entry.catchLoc) { | |
| 11006 | + return handle(entry.catchLoc, true); | |
| 11007 | + } else if (this.prev < entry.finallyLoc) { | |
| 11008 | + return handle(entry.finallyLoc); | |
| 11009 | + } | |
| 11010 | + | |
| 11011 | + } else if (hasCatch) { | |
| 11012 | + if (this.prev < entry.catchLoc) { | |
| 11013 | + return handle(entry.catchLoc, true); | |
| 11014 | + } | |
| 11015 | + | |
| 11016 | + } else if (hasFinally) { | |
| 11017 | + if (this.prev < entry.finallyLoc) { | |
| 11018 | + return handle(entry.finallyLoc); | |
| 11019 | + } | |
| 11020 | + | |
| 11021 | + } else { | |
| 11022 | + throw new Error("try statement without catch or finally"); | |
| 11023 | + } | |
| 11024 | + } | |
| 11025 | + } | |
| 11026 | + }, | |
| 11027 | + | |
| 11028 | + abrupt: function(type, arg) { | |
| 11029 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 11030 | + var entry = this.tryEntries[i]; | |
| 11031 | + if (entry.tryLoc <= this.prev && | |
| 11032 | + hasOwn.call(entry, "finallyLoc") && | |
| 11033 | + this.prev < entry.finallyLoc) { | |
| 11034 | + var finallyEntry = entry; | |
| 11035 | + break; | |
| 11036 | + } | |
| 11037 | + } | |
| 11038 | + | |
| 11039 | + if (finallyEntry && | |
| 11040 | + (type === "break" || | |
| 11041 | + type === "continue") && | |
| 11042 | + finallyEntry.tryLoc <= arg && | |
| 11043 | + arg <= finallyEntry.finallyLoc) { | |
| 11044 | + // Ignore the finally entry if control is not jumping to a | |
| 11045 | + // location outside the try/catch block. | |
| 11046 | + finallyEntry = null; | |
| 11047 | + } | |
| 11048 | + | |
| 11049 | + var record = finallyEntry ? finallyEntry.completion : {}; | |
| 11050 | + record.type = type; | |
| 11051 | + record.arg = arg; | |
| 11052 | + | |
| 11053 | + if (finallyEntry) { | |
| 11054 | + this.method = "next"; | |
| 11055 | + this.next = finallyEntry.finallyLoc; | |
| 11056 | + return ContinueSentinel; | |
| 11057 | + } | |
| 11058 | + | |
| 11059 | + return this.complete(record); | |
| 11060 | + }, | |
| 11061 | + | |
| 11062 | + complete: function(record, afterLoc) { | |
| 11063 | + if (record.type === "throw") { | |
| 11064 | + throw record.arg; | |
| 11065 | + } | |
| 11066 | + | |
| 11067 | + if (record.type === "break" || | |
| 11068 | + record.type === "continue") { | |
| 11069 | + this.next = record.arg; | |
| 11070 | + } else if (record.type === "return") { | |
| 11071 | + this.rval = this.arg = record.arg; | |
| 11072 | + this.method = "return"; | |
| 11073 | + this.next = "end"; | |
| 11074 | + } else if (record.type === "normal" && afterLoc) { | |
| 11075 | + this.next = afterLoc; | |
| 11076 | + } | |
| 11077 | + | |
| 11078 | + return ContinueSentinel; | |
| 11079 | + }, | |
| 11080 | + | |
| 11081 | + finish: function(finallyLoc) { | |
| 11082 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 11083 | + var entry = this.tryEntries[i]; | |
| 11084 | + if (entry.finallyLoc === finallyLoc) { | |
| 11085 | + this.complete(entry.completion, entry.afterLoc); | |
| 11086 | + resetTryEntry(entry); | |
| 11087 | + return ContinueSentinel; | |
| 11088 | + } | |
| 11089 | + } | |
| 11090 | + }, | |
| 11091 | + | |
| 11092 | + "catch": function(tryLoc) { | |
| 11093 | + for (var i = this.tryEntries.length - 1; i >= 0; --i) { | |
| 11094 | + var entry = this.tryEntries[i]; | |
| 11095 | + if (entry.tryLoc === tryLoc) { | |
| 11096 | + var record = entry.completion; | |
| 11097 | + if (record.type === "throw") { | |
| 11098 | + var thrown = record.arg; | |
| 11099 | + resetTryEntry(entry); | |
| 11100 | + } | |
| 11101 | + return thrown; | |
| 11102 | + } | |
| 11103 | + } | |
| 11104 | + | |
| 11105 | + // The context.catch method must only be called with a location | |
| 11106 | + // argument that corresponds to a known catch block. | |
| 11107 | + throw new Error("illegal catch attempt"); | |
| 11108 | + }, | |
| 11109 | + | |
| 11110 | + delegateYield: function(iterable, resultName, nextLoc) { | |
| 11111 | + this.delegate = { | |
| 11112 | + iterator: values(iterable), | |
| 11113 | + resultName: resultName, | |
| 11114 | + nextLoc: nextLoc | |
| 11115 | + }; | |
| 11116 | + | |
| 11117 | + if (this.method === "next") { | |
| 11118 | + // Deliberately forget the last sent value so that we don't | |
| 11119 | + // accidentally pass it on to the delegate. | |
| 11120 | + this.arg = undefined; | |
| 11121 | + } | |
| 11122 | + | |
| 11123 | + return ContinueSentinel; | |
| 11124 | + } | |
| 11125 | + }; | |
| 11126 | + | |
| 11127 | + // Regardless of whether this script is executing as a CommonJS module | |
| 11128 | + // or not, return the runtime object so that we can declare the variable | |
| 11129 | + // regeneratorRuntime in the outer scope, which allows this module to be | |
| 11130 | + // injected easily by `bin/regenerator --include-runtime script.js`. | |
| 11131 | + return exports; | |
| 11132 | + | |
| 11133 | +}( | |
| 11134 | + // If this script is executing as a CommonJS module, use module.exports | |
| 11135 | + // as the regeneratorRuntime namespace. Otherwise create a new empty | |
| 11136 | + // object. Either way, the resulting object will be used to initialize | |
| 11137 | + // the regeneratorRuntime variable at the top of this file. | |
| 11138 | + true ? module.exports : 0 | |
| 11139 | +)); | |
| 11140 | + | |
| 11141 | +try { | |
| 11142 | + regeneratorRuntime = runtime; | |
| 11143 | +} catch (accidentalStrictMode) { | |
| 11144 | + // This module should not be running in strict mode, so the above | |
| 11145 | + // assignment should always work unless something is misconfigured. Just | |
| 11146 | + // in case runtime.js accidentally runs in strict mode, in modern engines | |
| 11147 | + // we can explicitly access globalThis. In older engines we can escape | |
| 11148 | + // strict mode using a global Function call. This could conceivably fail | |
| 11149 | + // if a Content Security Policy forbids using Function, but in that case | |
| 11150 | + // the proper solution is to fix the accidental strict mode problem. If | |
| 11151 | + // you've misconfigured your bundler to force strict mode and applied a | |
| 11152 | + // CSP to forbid Function, and you're not willing to fix either of those | |
| 11153 | + // problems, please detail your unique predicament in a GitHub issue. | |
| 11154 | + if (typeof globalThis === "object") { | |
| 11155 | + globalThis.regeneratorRuntime = runtime; | |
| 11156 | + } else { | |
| 11157 | + Function("r", "regeneratorRuntime = r")(runtime); | |
| 11158 | + } | |
| 11159 | +} | |
| 11160 | + | |
| 11161 | + | |
| 11162 | +/***/ }), | |
| 11163 | + | |
| 11164 | +/***/ "../node_modules/reselect/es/defaultMemoize.js": | |
| 11165 | +/*!*****************************************************!*\ | |
| 11166 | + !*** ../node_modules/reselect/es/defaultMemoize.js ***! | |
| 11167 | + \*****************************************************/ | |
| 11168 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 11169 | + | |
| 11170 | +"use strict"; | |
| 11171 | +__webpack_require__.r(__webpack_exports__); | |
| 11172 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11173 | +/* harmony export */ "defaultEqualityCheck": () => (/* binding */ defaultEqualityCheck), | |
| 11174 | +/* harmony export */ "createCacheKeyComparator": () => (/* binding */ createCacheKeyComparator), | |
| 11175 | +/* harmony export */ "defaultMemoize": () => (/* binding */ defaultMemoize) | |
| 11176 | +/* harmony export */ }); | |
| 11177 | +// Cache implementation based on Erik Rasmussen's `lru-memoize`: | |
| 11178 | +// https://github.com/erikras/lru-memoize | |
| 11179 | +var NOT_FOUND = 'NOT_FOUND'; | |
| 11180 | + | |
| 11181 | +function createSingletonCache(equals) { | |
| 11182 | + var entry; | |
| 11183 | + return { | |
| 11184 | + get: function get(key) { | |
| 11185 | + if (entry && equals(entry.key, key)) { | |
| 11186 | + return entry.value; | |
| 11187 | + } | |
| 11188 | + | |
| 11189 | + return NOT_FOUND; | |
| 11190 | + }, | |
| 11191 | + put: function put(key, value) { | |
| 11192 | + entry = { | |
| 11193 | + key: key, | |
| 11194 | + value: value | |
| 11195 | + }; | |
| 11196 | + }, | |
| 11197 | + getEntries: function getEntries() { | |
| 11198 | + return entry ? [entry] : []; | |
| 11199 | + }, | |
| 11200 | + clear: function clear() { | |
| 11201 | + entry = undefined; | |
| 11202 | + } | |
| 11203 | + }; | |
| 11204 | +} | |
| 11205 | + | |
| 11206 | +function createLruCache(maxSize, equals) { | |
| 11207 | + var entries = []; | |
| 11208 | + | |
| 11209 | + function get(key) { | |
| 11210 | + var cacheIndex = entries.findIndex(function (entry) { | |
| 11211 | + return equals(key, entry.key); | |
| 11212 | + }); // We found a cached entry | |
| 11213 | + | |
| 11214 | + if (cacheIndex > -1) { | |
| 11215 | + var entry = entries[cacheIndex]; // Cached entry not at top of cache, move it to the top | |
| 11216 | + | |
| 11217 | + if (cacheIndex > 0) { | |
| 11218 | + entries.splice(cacheIndex, 1); | |
| 11219 | + entries.unshift(entry); | |
| 11220 | + } | |
| 11221 | + | |
| 11222 | + return entry.value; | |
| 11223 | + } // No entry found in cache, return sentinel | |
| 11224 | + | |
| 11225 | + | |
| 11226 | + return NOT_FOUND; | |
| 11227 | + } | |
| 11228 | + | |
| 11229 | + function put(key, value) { | |
| 11230 | + if (get(key) === NOT_FOUND) { | |
| 11231 | + // TODO Is unshift slow? | |
| 11232 | + entries.unshift({ | |
| 11233 | + key: key, | |
| 11234 | + value: value | |
| 11235 | + }); | |
| 11236 | + | |
| 11237 | + if (entries.length > maxSize) { | |
| 11238 | + entries.pop(); | |
| 11239 | + } | |
| 11240 | + } | |
| 11241 | + } | |
| 11242 | + | |
| 11243 | + function getEntries() { | |
| 11244 | + return entries; | |
| 11245 | + } | |
| 11246 | + | |
| 11247 | + function clear() { | |
| 11248 | + entries = []; | |
| 11249 | + } | |
| 11250 | + | |
| 11251 | + return { | |
| 11252 | + get: get, | |
| 11253 | + put: put, | |
| 11254 | + getEntries: getEntries, | |
| 11255 | + clear: clear | |
| 11256 | + }; | |
| 11257 | +} | |
| 11258 | + | |
| 11259 | +var defaultEqualityCheck = function defaultEqualityCheck(a, b) { | |
| 11260 | + return a === b; | |
| 11261 | +}; | |
| 11262 | +function createCacheKeyComparator(equalityCheck) { | |
| 11263 | + return function areArgumentsShallowlyEqual(prev, next) { | |
| 11264 | + if (prev === null || next === null || prev.length !== next.length) { | |
| 11265 | + return false; | |
| 11266 | + } // Do this in a for loop (and not a `forEach` or an `every`) so we can determine equality as fast as possible. | |
| 11267 | + | |
| 11268 | + | |
| 11269 | + var length = prev.length; | |
| 11270 | + | |
| 11271 | + for (var i = 0; i < length; i++) { | |
| 11272 | + if (!equalityCheck(prev[i], next[i])) { | |
| 11273 | + return false; | |
| 11274 | + } | |
| 11275 | + } | |
| 11276 | + | |
| 11277 | + return true; | |
| 11278 | + }; | |
| 11279 | +} | |
| 11280 | +// defaultMemoize now supports a configurable cache size with LRU behavior, | |
| 11281 | +// and optional comparison of the result value with existing values | |
| 11282 | +function defaultMemoize(func, equalityCheckOrOptions) { | |
| 11283 | + var providedOptions = typeof equalityCheckOrOptions === 'object' ? equalityCheckOrOptions : { | |
| 11284 | + equalityCheck: equalityCheckOrOptions | |
| 11285 | + }; | |
| 11286 | + var _providedOptions$equa = providedOptions.equalityCheck, | |
| 11287 | + equalityCheck = _providedOptions$equa === void 0 ? defaultEqualityCheck : _providedOptions$equa, | |
| 11288 | + _providedOptions$maxS = providedOptions.maxSize, | |
| 11289 | + maxSize = _providedOptions$maxS === void 0 ? 1 : _providedOptions$maxS, | |
| 11290 | + resultEqualityCheck = providedOptions.resultEqualityCheck; | |
| 11291 | + var comparator = createCacheKeyComparator(equalityCheck); | |
| 11292 | + var cache = maxSize === 1 ? createSingletonCache(comparator) : createLruCache(maxSize, comparator); // we reference arguments instead of spreading them for performance reasons | |
| 11293 | + | |
| 11294 | + function memoized() { | |
| 11295 | + var value = cache.get(arguments); | |
| 11296 | + | |
| 11297 | + if (value === NOT_FOUND) { | |
| 11298 | + // @ts-ignore | |
| 11299 | + value = func.apply(null, arguments); | |
| 11300 | + | |
| 11301 | + if (resultEqualityCheck) { | |
| 11302 | + var entries = cache.getEntries(); | |
| 11303 | + var matchingEntry = entries.find(function (entry) { | |
| 11304 | + return resultEqualityCheck(entry.value, value); | |
| 11305 | + }); | |
| 11306 | + | |
| 11307 | + if (matchingEntry) { | |
| 11308 | + value = matchingEntry.value; | |
| 11309 | + } | |
| 11310 | + } | |
| 11311 | + | |
| 11312 | + cache.put(arguments, value); | |
| 11313 | + } | |
| 11314 | + | |
| 11315 | + return value; | |
| 11316 | + } | |
| 11317 | + | |
| 11318 | + memoized.clearCache = function () { | |
| 11319 | + return cache.clear(); | |
| 11320 | + }; | |
| 11321 | + | |
| 11322 | + return memoized; | |
| 11323 | +} | |
| 11324 | + | |
| 11325 | +/***/ }), | |
| 11326 | + | |
| 11327 | +/***/ "../node_modules/reselect/es/index.js": | |
| 11328 | +/*!********************************************!*\ | |
| 11329 | + !*** ../node_modules/reselect/es/index.js ***! | |
| 11330 | + \********************************************/ | |
| 11331 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 11332 | + | |
| 11333 | +"use strict"; | |
| 11334 | +__webpack_require__.r(__webpack_exports__); | |
| 11335 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11336 | +/* harmony export */ "defaultMemoize": () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize), | |
| 11337 | +/* harmony export */ "defaultEqualityCheck": () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultEqualityCheck), | |
| 11338 | +/* harmony export */ "createSelectorCreator": () => (/* binding */ createSelectorCreator), | |
| 11339 | +/* harmony export */ "createSelector": () => (/* binding */ createSelector), | |
| 11340 | +/* harmony export */ "createStructuredSelector": () => (/* binding */ createStructuredSelector) | |
| 11341 | +/* harmony export */ }); | |
| 11342 | +/* harmony import */ var _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultMemoize */ "../node_modules/reselect/es/defaultMemoize.js"); | |
| 11343 | + | |
| 11344 | + | |
| 11345 | + | |
| 11346 | +function getDependencies(funcs) { | |
| 11347 | + var dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs; | |
| 11348 | + | |
| 11349 | + if (!dependencies.every(function (dep) { | |
| 11350 | + return typeof dep === 'function'; | |
| 11351 | + })) { | |
| 11352 | + var dependencyTypes = dependencies.map(function (dep) { | |
| 11353 | + return typeof dep === 'function' ? "function " + (dep.name || 'unnamed') + "()" : typeof dep; | |
| 11354 | + }).join(', '); | |
| 11355 | + throw new Error("createSelector expects all input-selectors to be functions, but received the following types: [" + dependencyTypes + "]"); | |
| 11356 | + } | |
| 11357 | + | |
| 11358 | + return dependencies; | |
| 11359 | +} | |
| 11360 | + | |
| 11361 | +function createSelectorCreator(memoize) { | |
| 11362 | + for (var _len = arguments.length, memoizeOptionsFromArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | |
| 11363 | + memoizeOptionsFromArgs[_key - 1] = arguments[_key]; | |
| 11364 | + } | |
| 11365 | + | |
| 11366 | + var createSelector = function createSelector() { | |
| 11367 | + for (var _len2 = arguments.length, funcs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { | |
| 11368 | + funcs[_key2] = arguments[_key2]; | |
| 11369 | + } | |
| 11370 | + | |
| 11371 | + var _recomputations = 0; | |
| 11372 | + | |
| 11373 | + var _lastResult; // Due to the intricacies of rest params, we can't do an optional arg after `...funcs`. | |
| 11374 | + // So, start by declaring the default value here. | |
| 11375 | + // (And yes, the words 'memoize' and 'options' appear too many times in this next sequence.) | |
| 11376 | + | |
| 11377 | + | |
| 11378 | + var directlyPassedOptions = { | |
| 11379 | + memoizeOptions: undefined | |
| 11380 | + }; // Normally, the result func or "output selector" is the last arg | |
| 11381 | + | |
| 11382 | + var resultFunc = funcs.pop(); // If the result func is actually an _object_, assume it's our options object | |
| 11383 | + | |
| 11384 | + if (typeof resultFunc === 'object') { | |
| 11385 | + directlyPassedOptions = resultFunc; // and pop the real result func off | |
| 11386 | + | |
| 11387 | + resultFunc = funcs.pop(); | |
| 11388 | + } | |
| 11389 | + | |
| 11390 | + if (typeof resultFunc !== 'function') { | |
| 11391 | + throw new Error("createSelector expects an output function after the inputs, but received: [" + typeof resultFunc + "]"); | |
| 11392 | + } // Determine which set of options we're using. Prefer options passed directly, | |
| 11393 | + // but fall back to options given to createSelectorCreator. | |
| 11394 | + | |
| 11395 | + | |
| 11396 | + var _directlyPassedOption = directlyPassedOptions, | |
| 11397 | + _directlyPassedOption2 = _directlyPassedOption.memoizeOptions, | |
| 11398 | + memoizeOptions = _directlyPassedOption2 === void 0 ? memoizeOptionsFromArgs : _directlyPassedOption2; // Simplifying assumption: it's unlikely that the first options arg of the provided memoizer | |
| 11399 | + // is an array. In most libs I've looked at, it's an equality function or options object. | |
| 11400 | + // Based on that, if `memoizeOptions` _is_ an array, we assume it's a full | |
| 11401 | + // user-provided array of options. Otherwise, it must be just the _first_ arg, and so | |
| 11402 | + // we wrap it in an array so we can apply it. | |
| 11403 | + | |
| 11404 | + var finalMemoizeOptions = Array.isArray(memoizeOptions) ? memoizeOptions : [memoizeOptions]; | |
| 11405 | + var dependencies = getDependencies(funcs); | |
| 11406 | + var memoizedResultFunc = memoize.apply(void 0, [function () { | |
| 11407 | + _recomputations++; // apply arguments instead of spreading for performance. | |
| 11408 | + | |
| 11409 | + return resultFunc.apply(null, arguments); | |
| 11410 | + }].concat(finalMemoizeOptions)); // If a selector is called with the exact same arguments we don't need to traverse our dependencies again. | |
| 11411 | + | |
| 11412 | + var selector = memoize(function () { | |
| 11413 | + var params = []; | |
| 11414 | + var length = dependencies.length; | |
| 11415 | + | |
| 11416 | + for (var i = 0; i < length; i++) { | |
| 11417 | + // apply arguments instead of spreading and mutate a local list of params for performance. | |
| 11418 | + // @ts-ignore | |
| 11419 | + params.push(dependencies[i].apply(null, arguments)); | |
| 11420 | + } // apply arguments instead of spreading for performance. | |
| 11421 | + | |
| 11422 | + | |
| 11423 | + _lastResult = memoizedResultFunc.apply(null, params); | |
| 11424 | + return _lastResult; | |
| 11425 | + }); | |
| 11426 | + Object.assign(selector, { | |
| 11427 | + resultFunc: resultFunc, | |
| 11428 | + memoizedResultFunc: memoizedResultFunc, | |
| 11429 | + dependencies: dependencies, | |
| 11430 | + lastResult: function lastResult() { | |
| 11431 | + return _lastResult; | |
| 11432 | + }, | |
| 11433 | + recomputations: function recomputations() { | |
| 11434 | + return _recomputations; | |
| 11435 | + }, | |
| 11436 | + resetRecomputations: function resetRecomputations() { | |
| 11437 | + return _recomputations = 0; | |
| 11438 | + } | |
| 11439 | + }); | |
| 11440 | + return selector; | |
| 11441 | + }; // @ts-ignore | |
| 11442 | + | |
| 11443 | + | |
| 11444 | + return createSelector; | |
| 11445 | +} | |
| 11446 | +var createSelector = /* #__PURE__ */createSelectorCreator(_defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize); | |
| 11447 | +// Manual definition of state and output arguments | |
| 11448 | +var createStructuredSelector = function createStructuredSelector(selectors, selectorCreator) { | |
| 11449 | + if (selectorCreator === void 0) { | |
| 11450 | + selectorCreator = createSelector; | |
| 11451 | + } | |
| 11452 | + | |
| 11453 | + if (typeof selectors !== 'object') { | |
| 11454 | + throw new Error('createStructuredSelector expects first argument to be an object ' + ("where each property is a selector, instead received a " + typeof selectors)); | |
| 11455 | + } | |
| 11456 | + | |
| 11457 | + var objectKeys = Object.keys(selectors); | |
| 11458 | + var resultSelector = selectorCreator( // @ts-ignore | |
| 11459 | + objectKeys.map(function (key) { | |
| 11460 | + return selectors[key]; | |
| 11461 | + }), function () { | |
| 11462 | + for (var _len3 = arguments.length, values = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { | |
| 11463 | + values[_key3] = arguments[_key3]; | |
| 11464 | + } | |
| 11465 | + | |
| 11466 | + return values.reduce(function (composition, value, index) { | |
| 11467 | + composition[objectKeys[index]] = value; | |
| 11468 | + return composition; | |
| 11469 | + }, {}); | |
| 11470 | + }); | |
| 11471 | + return resultSelector; | |
| 11472 | +}; | |
| 11473 | + | |
| 11474 | +/***/ }), | |
| 11475 | + | |
| 11476 | +/***/ "../node_modules/@babel/runtime/helpers/esm/defineProperty.js": | |
| 11477 | +/*!********************************************************************!*\ | |
| 11478 | + !*** ../node_modules/@babel/runtime/helpers/esm/defineProperty.js ***! | |
| 11479 | + \********************************************************************/ | |
| 11480 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11481 | + | |
| 11482 | +"use strict"; | |
| 11483 | +__webpack_require__.r(__webpack_exports__); | |
| 11484 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11485 | +/* harmony export */ "default": () => (/* binding */ _defineProperty) | |
| 11486 | +/* harmony export */ }); | |
| 11487 | +function _defineProperty(obj, key, value) { | |
| 11488 | + if (key in obj) { | |
| 11489 | + Object.defineProperty(obj, key, { | |
| 11490 | + value: value, | |
| 11491 | + enumerable: true, | |
| 11492 | + configurable: true, | |
| 11493 | + writable: true | |
| 11494 | + }); | |
| 11495 | + } else { | |
| 11496 | + obj[key] = value; | |
| 11497 | + } | |
| 11498 | + | |
| 11499 | + return obj; | |
| 11500 | +} | |
| 11501 | + | |
| 11502 | +/***/ }), | |
| 11503 | + | |
| 11504 | +/***/ "../node_modules/@babel/runtime/helpers/esm/objectSpread2.js": | |
| 11505 | +/*!*******************************************************************!*\ | |
| 11506 | + !*** ../node_modules/@babel/runtime/helpers/esm/objectSpread2.js ***! | |
| 11507 | + \*******************************************************************/ | |
| 11508 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11509 | + | |
| 11510 | +"use strict"; | |
| 11511 | +__webpack_require__.r(__webpack_exports__); | |
| 11512 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11513 | +/* harmony export */ "default": () => (/* binding */ _objectSpread2) | |
| 11514 | +/* harmony export */ }); | |
| 11515 | +/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty.js */ "../node_modules/@babel/runtime/helpers/esm/defineProperty.js"); | |
| 11516 | + | |
| 11517 | + | |
| 11518 | +function ownKeys(object, enumerableOnly) { | |
| 11519 | + var keys = Object.keys(object); | |
| 11520 | + | |
| 11521 | + if (Object.getOwnPropertySymbols) { | |
| 11522 | + var symbols = Object.getOwnPropertySymbols(object); | |
| 11523 | + | |
| 11524 | + if (enumerableOnly) { | |
| 11525 | + symbols = symbols.filter(function (sym) { | |
| 11526 | + return Object.getOwnPropertyDescriptor(object, sym).enumerable; | |
| 11527 | + }); | |
| 11528 | + } | |
| 11529 | + | |
| 11530 | + keys.push.apply(keys, symbols); | |
| 11531 | + } | |
| 11532 | + | |
| 11533 | + return keys; | |
| 11534 | +} | |
| 11535 | + | |
| 11536 | +function _objectSpread2(target) { | |
| 11537 | + for (var i = 1; i < arguments.length; i++) { | |
| 11538 | + var source = arguments[i] != null ? arguments[i] : {}; | |
| 11539 | + | |
| 11540 | + if (i % 2) { | |
| 11541 | + ownKeys(Object(source), true).forEach(function (key) { | |
| 11542 | + (0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); | |
| 11543 | + }); | |
| 11544 | + } else if (Object.getOwnPropertyDescriptors) { | |
| 11545 | + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); | |
| 11546 | + } else { | |
| 11547 | + ownKeys(Object(source)).forEach(function (key) { | |
| 11548 | + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | |
| 11549 | + }); | |
| 11550 | + } | |
| 11551 | + } | |
| 11552 | + | |
| 11553 | + return target; | |
| 11554 | +} | |
| 11555 | + | |
| 11556 | +/***/ }) | |
| 11557 | + | |
| 11558 | +/******/ }); | |
| 11559 | +/************************************************************************/ | |
| 11560 | +/******/ // The module cache | |
| 11561 | +/******/ var __webpack_module_cache__ = {}; | |
| 11562 | +/******/ | |
| 11563 | +/******/ // The require function | |
| 11564 | +/******/ function __webpack_require__(moduleId) { | |
| 11565 | +/******/ // Check if module is in cache | |
| 11566 | +/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 11567 | +/******/ if (cachedModule !== undefined) { | |
| 11568 | +/******/ return cachedModule.exports; | |
| 11569 | +/******/ } | |
| 11570 | +/******/ // Create a new module (and put it into the cache) | |
| 11571 | +/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 11572 | +/******/ // no module.id needed | |
| 11573 | +/******/ // no module.loaded needed | |
| 11574 | +/******/ exports: {} | |
| 11575 | +/******/ }; | |
| 11576 | +/******/ | |
| 11577 | +/******/ // Execute the module function | |
| 11578 | +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); | |
| 11579 | +/******/ | |
| 11580 | +/******/ // Return the exports of the module | |
| 11581 | +/******/ return module.exports; | |
| 11582 | +/******/ } | |
| 11583 | +/******/ | |
| 11584 | +/************************************************************************/ | |
| 11585 | +/******/ /* webpack/runtime/define property getters */ | |
| 11586 | +/******/ (() => { | |
| 11587 | +/******/ // define getter functions for harmony exports | |
| 11588 | +/******/ __webpack_require__.d = (exports, definition) => { | |
| 11589 | +/******/ for(var key in definition) { | |
| 11590 | +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
| 11591 | +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
| 11592 | +/******/ } | |
| 11593 | +/******/ } | |
| 11594 | +/******/ }; | |
| 11595 | +/******/ })(); | |
| 11596 | +/******/ | |
| 11597 | +/******/ /* webpack/runtime/hasOwnProperty shorthand */ | |
| 11598 | +/******/ (() => { | |
| 11599 | +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | |
| 11600 | +/******/ })(); | |
| 11601 | +/******/ | |
| 11602 | +/******/ /* webpack/runtime/make namespace object */ | |
| 11603 | +/******/ (() => { | |
| 11604 | +/******/ // define __esModule on exports | |
| 11605 | +/******/ __webpack_require__.r = (exports) => { | |
| 11606 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| 11607 | +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
| 11608 | +/******/ } | |
| 11609 | +/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
| 11610 | +/******/ }; | |
| 11611 | +/******/ })(); | |
| 11612 | +/******/ | |
| 11613 | +/************************************************************************/ | |
| 11614 | +var __webpack_exports__ = {}; | |
| 11615 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 11616 | +(() => { | |
| 11617 | +"use strict"; | |
| 11618 | +/*!*******************************************!*\ | |
| 11619 | + !*** ../core/app/assets/js/app-loader.js ***! | |
| 11620 | + \*******************************************/ | |
| 11621 | + | |
| 11622 | + | |
| 11623 | +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); | |
| 11624 | + | |
| 11625 | +var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); | |
| 11626 | + | |
| 11627 | +var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); | |
| 11628 | + | |
| 11629 | +var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/defineProperty */ "../node_modules/@babel/runtime-corejs2/helpers/defineProperty.js")); | |
| 11630 | + | |
| 11631 | +var _component = _interopRequireDefault(__webpack_require__(/*! ./loader/component */ "../core/app/assets/js/loader/component.js")); | |
| 11632 | + | |
| 11633 | +var AppLoader = /*#__PURE__*/function () { | |
| 11634 | + function AppLoader() { | |
| 11635 | + (0, _classCallCheck2.default)(this, AppLoader); | |
| 11636 | + (0, _defineProperty2.default)(this, "selector", 'a.elementor-app-link, .elementor-app-link .ab-item'); | |
| 11637 | + $e.components.register(new _component.default()); | |
| 11638 | + window.addEventListener('DOMContentLoaded', this.onLoad.bind(this)); | |
| 11639 | + } | |
| 11640 | + | |
| 11641 | + (0, _createClass2.default)(AppLoader, [{ | |
| 11642 | + key: "onLoad", | |
| 11643 | + value: function onLoad() { | |
| 11644 | + var links = document.querySelectorAll(this.selector); | |
| 11645 | + | |
| 11646 | + if (!links.length) { | |
| 11647 | + return; | |
| 11648 | + } | |
| 11649 | + | |
| 11650 | + links.forEach(function (link) { | |
| 11651 | + link.addEventListener('click', function (event) { | |
| 11652 | + event.preventDefault(); | |
| 11653 | + $e.run('app/open', { | |
| 11654 | + url: link.href | |
| 11655 | + }); | |
| 11656 | + }); | |
| 11657 | + link.addEventListener('mouseenter', function () { | |
| 11658 | + $e.run('app/load', { | |
| 11659 | + url: link.href | |
| 11660 | + }); | |
| 11661 | + }); | |
| 11662 | + }); | |
| 11663 | + } | |
| 11664 | + }]); | |
| 11665 | + return AppLoader; | |
| 11666 | +}(); | |
| 11667 | + | |
| 11668 | +window.elementorAppLoader = new AppLoader(); | |
| 11669 | +})(); | |
| 11670 | + | |
| 11671 | +/******/ })() | |
| 11672 | +; | |
| 1852 | 11673 | //# sourceMappingURL=app-loader.js.map |