| @@ -1,4 +1,5 @@ | ||
| 1 | +/*! elementor - v3.23.0 - 01-07-2024 */ | |
| 1 | 2 | /******/ (() => { // webpackBootstrap |
| 2 | 3 | /******/ var __webpack_modules__ = ({ |
| 3 | 4 | |
| 4 | 5 | /***/ "../assets/dev/js/editor/container/container.js": |
| @@ -15,22 +16,22 @@ | ||
| 15 | 16 | Object.defineProperty(exports, "__esModule", ({ |
| 16 | 17 | value: true |
| 17 | 18 | })); |
| 18 | 19 | exports["default"] = void 0; |
| 19 | -var _readOnlyError2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/readOnlyError */ "../node_modules/@babel/runtime/helpers/readOnlyError.js")); | |
| 20 | 20 | var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js")); |
| 21 | 21 | var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); |
| 22 | 22 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 23 | 23 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 24 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js")); | |
| 25 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 24 | 26 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 25 | 27 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 26 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 27 | 28 | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); |
| 28 | 29 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! ../../modules/imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 29 | 30 | var _panel = _interopRequireDefault(__webpack_require__(/*! ./panel */ "../assets/dev/js/editor/container/panel.js")); |
| 30 | 31 | var _childrenArray = _interopRequireDefault(__webpack_require__(/*! ./model/children-array */ "../assets/dev/js/editor/container/model/children-array.js")); |
| 31 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 32 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 32 | +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | |
| 33 | +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | |
| 33 | 34 | /** |
| 34 | 35 | * @typedef {import('../../../../lib/backbone/backbone.marionette')} Backbone |
| 35 | 36 | * @typedef {import('../../../../lib/backbone/backbone.marionette')} Marionette |
| 36 | 37 | * @typedef {import('../elements/views/base')} BaseElementView |
| @@ -42,9 +43,11 @@ | ||
| 42 | 43 | * TODO: ViewsOptions |
| 43 | 44 | * |
| 44 | 45 | * @typedef {(Marionette.View|Marionette.CompositeView|BaseElementView|SectionView|BaseContainer)} ViewsOptions |
| 45 | 46 | */ |
| 46 | -var Container = exports["default"] = /*#__PURE__*/function (_ArgsObject) { | |
| 47 | +var Container = /*#__PURE__*/function (_ArgsObject) { | |
| 48 | + (0, _inherits2.default)(Container, _ArgsObject); | |
| 49 | + var _super = _createSuper(Container); | |
| 47 | 50 | /** |
| 48 | 51 | * Function constructor(). |
| 49 | 52 | * |
| 50 | 53 | * Create container. |
| @@ -55,9 +58,9 @@ | ||
| 55 | 58 | */ |
| 56 | 59 | function Container(args) { |
| 57 | 60 | var _this; |
| 58 | 61 | (0, _classCallCheck2.default)(this, Container); |
| 59 | - _this = _callSuper(this, Container, [args]); | |
| 62 | + _this = _super.call(this, args); | |
| 60 | 63 | |
| 61 | 64 | // Validate args. |
| 62 | 65 | /** |
| 63 | 66 | * Container type. |
| @@ -63,99 +66,99 @@ | ||
| 63 | 66 | * Container type. |
| 64 | 67 | * |
| 65 | 68 | * @type {string} |
| 66 | 69 | */ |
| 67 | - (0, _defineProperty2.default)(_this, "type", void 0); | |
| 70 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", void 0); | |
| 68 | 71 | /** |
| 69 | 72 | * Container id. |
| 70 | 73 | * |
| 71 | 74 | * @type {string} |
| 72 | 75 | */ |
| 73 | - (0, _defineProperty2.default)(_this, "id", void 0); | |
| 76 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "id", void 0); | |
| 74 | 77 | /** |
| 75 | 78 | * Document Object. |
| 76 | 79 | * |
| 77 | 80 | * @type {{}} |
| 78 | 81 | */ |
| 79 | - (0, _defineProperty2.default)(_this, "document", void 0); | |
| 82 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "document", void 0); | |
| 80 | 83 | /** |
| 81 | 84 | * Container model. |
| 82 | 85 | * |
| 83 | 86 | * @type {(Backbone.Model|BaseElementModel)} |
| 84 | 87 | */ |
| 85 | - (0, _defineProperty2.default)(_this, "model", void 0); | |
| 88 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "model", void 0); | |
| 86 | 89 | /** |
| 87 | 90 | * Container settings. |
| 88 | 91 | * |
| 89 | 92 | * @type {Backbone.Model} |
| 90 | 93 | */ |
| 91 | - (0, _defineProperty2.default)(_this, "settings", void 0); | |
| 94 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "settings", void 0); | |
| 92 | 95 | /** |
| 93 | 96 | * Container view. |
| 94 | 97 | * |
| 95 | 98 | * @type {ViewsOptions} |
| 96 | 99 | */ |
| 97 | - (0, _defineProperty2.default)(_this, "view", void 0); | |
| 100 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "view", void 0); | |
| 98 | 101 | /** |
| 99 | 102 | * Container parent. |
| 100 | 103 | * |
| 101 | 104 | * @type {Container} |
| 102 | 105 | */ |
| 103 | - (0, _defineProperty2.default)(_this, "parent", void 0); | |
| 106 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "parent", void 0); | |
| 104 | 107 | /** |
| 105 | 108 | * Container children(s). |
| 106 | 109 | * |
| 107 | 110 | * @type {ChildrenArray} |
| 108 | 111 | */ |
| 109 | - (0, _defineProperty2.default)(_this, "children", new _childrenArray.default()); | |
| 112 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "children", new _childrenArray.default()); | |
| 110 | 113 | /** |
| 111 | 114 | * Container dynamic. |
| 112 | 115 | * |
| 113 | 116 | * @type {Backbone.Model} |
| 114 | 117 | */ |
| 115 | - (0, _defineProperty2.default)(_this, "dynamic", void 0); | |
| 118 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "dynamic", void 0); | |
| 116 | 119 | /** |
| 117 | 120 | * Container globals. |
| 118 | 121 | * |
| 119 | 122 | * @type {Backbone.Model} |
| 120 | 123 | */ |
| 121 | - (0, _defineProperty2.default)(_this, "globals", void 0); | |
| 124 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "globals", void 0); | |
| 122 | 125 | /** |
| 123 | 126 | * Container label. |
| 124 | 127 | * |
| 125 | 128 | * @type {string} |
| 126 | 129 | */ |
| 127 | - (0, _defineProperty2.default)(_this, "label", void 0); | |
| 130 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "label", void 0); | |
| 128 | 131 | /** |
| 129 | 132 | * Container controls. |
| 130 | 133 | * |
| 131 | 134 | * @type {{}} |
| 132 | 135 | */ |
| 133 | - (0, _defineProperty2.default)(_this, "controls", {}); | |
| 136 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "controls", {}); | |
| 134 | 137 | /** |
| 135 | 138 | * Repeaters containers |
| 136 | 139 | * |
| 137 | 140 | * @type {{}} |
| 138 | 141 | */ |
| 139 | - (0, _defineProperty2.default)(_this, "repeaters", {}); | |
| 142 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "repeaters", {}); | |
| 140 | 143 | /** |
| 141 | 144 | * Container renderer (The one who render). |
| 142 | 145 | * |
| 143 | 146 | * @type {Container} |
| 144 | 147 | */ |
| 145 | - (0, _defineProperty2.default)(_this, "renderer", void 0); | |
| 148 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "renderer", void 0); | |
| 146 | 149 | /** |
| 147 | 150 | * Container panel. |
| 148 | 151 | * |
| 149 | 152 | * @type {Panel} |
| 150 | 153 | */ |
| 151 | - (0, _defineProperty2.default)(_this, "panel", void 0); | |
| 154 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "panel", void 0); | |
| 152 | 155 | /** |
| 153 | 156 | * Controls placeholders. |
| 154 | 157 | * |
| 155 | 158 | * @type {{}} |
| 156 | 159 | */ |
| 157 | - (0, _defineProperty2.default)(_this, "placeholders", {}); | |
| 160 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "placeholders", {}); | |
| 158 | 161 | _this.validateArgs(args); |
| 159 | 162 | args = Object.entries(args); |
| 160 | 163 | |
| 161 | 164 | // If empty. |
| @@ -170,9 +173,9 @@ | ||
| 170 | 173 | value = _ref2[1]; |
| 171 | 174 | _this[key] = 'undefined' === typeof value ? _this[key] : value; |
| 172 | 175 | }); |
| 173 | 176 | if ('undefined' === typeof _this.renderer) { |
| 174 | - _this.renderer = _this; | |
| 177 | + _this.renderer = (0, _assertThisInitialized2.default)(_this); | |
| 175 | 178 | } |
| 176 | 179 | if (!_this.document) { |
| 177 | 180 | _this.document = elementor.documents.getCurrent(); |
| 178 | 181 | } |
| @@ -177,14 +180,13 @@ | ||
| 177 | 180 | _this.document = elementor.documents.getCurrent(); |
| 178 | 181 | } |
| 179 | 182 | _this.dynamic = new Backbone.Model(_this.settings.get('__dynamic__')); |
| 180 | 183 | _this.globals = new Backbone.Model(_this.settings.get('__globals__')); |
| 181 | - _this.panel = new _panel.default(_this); | |
| 184 | + _this.panel = new _panel.default((0, _assertThisInitialized2.default)(_this)); | |
| 182 | 185 | _this.initialize(); |
| 183 | 186 | return _this; |
| 184 | 187 | } |
| 185 | - (0, _inherits2.default)(Container, _ArgsObject); | |
| 186 | - return (0, _createClass2.default)(Container, [{ | |
| 188 | + (0, _createClass2.default)(Container, [{ | |
| 187 | 189 | key: "initialize", |
| 188 | 190 | value: function initialize() { |
| 189 | 191 | if (this.isViewElement()) { |
| 190 | 192 | this.addToParent(); |
| @@ -510,13 +512,12 @@ | ||
| 510 | 512 | */ |
| 511 | 513 | }, { |
| 512 | 514 | key: "render", |
| 513 | 515 | value: function render() { |
| 514 | - var _this$view; | |
| 515 | 516 | if (!this.renderer) { |
| 516 | 517 | return; |
| 517 | 518 | } |
| 518 | - this.renderer.view.renderOnChange(this.settings, (_this$view = this.view) === null || _this$view === void 0 ? void 0 : _this$view.$el); | |
| 519 | + this.renderer.view.renderOnChange(this.settings); | |
| 519 | 520 | } |
| 520 | 521 | }, { |
| 521 | 522 | key: "renderUI", |
| 522 | 523 | value: function renderUI() { |
| @@ -527,10 +528,9 @@ | ||
| 527 | 528 | } |
| 528 | 529 | }, { |
| 529 | 530 | key: "isEditable", |
| 530 | 531 | value: function isEditable() { |
| 531 | - var _this$model, _this$model$get, _this$model$get$get; | |
| 532 | - return 'edit' === elementor.channels.dataEditMode.request('activeMode') && 'open' === this.document.editor.status && !((_this$model = this.model) !== null && _this$model !== void 0 && (_this$model$get = _this$model.get) !== null && _this$model$get !== void 0 && (_this$model$get = _this$model$get.call(_this$model, 'editSettings')) !== null && _this$model$get !== void 0 && (_this$model$get$get = _this$model$get.get) !== null && _this$model$get$get !== void 0 && _this$model$get$get.call(_this$model$get, 'inactive')); | |
| 532 | + return 'edit' === elementor.channels.dataEditMode.request('activeMode') && 'open' === this.document.editor.status; | |
| 533 | 533 | } |
| 534 | 534 | }, { |
| 535 | 535 | key: "isDesignable", |
| 536 | 536 | value: function isDesignable() { |
| @@ -657,9 +657,11 @@ | ||
| 657 | 657 | // No global default. |
| 658 | 658 | return ''; |
| 659 | 659 | } |
| 660 | 660 | }]); |
| 661 | + return Container; | |
| 661 | 662 | }(_argsObject.default); |
| 663 | +exports["default"] = Container; | |
| 662 | 664 | // TODO: Swap those backwards compatibility is required. |
| 663 | 665 | (0, _defineProperty2.default)(Container, "TYPE_REPEATER", 'repeater-control'); |
| 664 | 666 | (0, _defineProperty2.default)(Container, "TYPE_REPEATER_ITEM", 'repeater'); |
| 665 | 667 | |
| @@ -680,27 +682,28 @@ | ||
| 680 | 682 | })); |
| 681 | 683 | exports["default"] = void 0; |
| 682 | 684 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 683 | 685 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 686 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 684 | 687 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 685 | 688 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 686 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 687 | 689 | var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js")); |
| 688 | -function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; } | |
| 689 | -function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } | |
| 690 | -function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } | |
| 691 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 692 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 690 | +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } | |
| 691 | +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | |
| 692 | +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } | |
| 693 | +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | |
| 694 | +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | |
| 693 | 695 | /** |
| 694 | 696 | * @typedef {import('../container')} Container |
| 695 | 697 | */ |
| 696 | -var ChildrenArray = exports["default"] = /*#__PURE__*/function (_Array) { | |
| 698 | +var ChildrenArray = /*#__PURE__*/function (_Array) { | |
| 699 | + (0, _inherits2.default)(ChildrenArray, _Array); | |
| 700 | + var _super = _createSuper(ChildrenArray); | |
| 697 | 701 | function ChildrenArray() { |
| 698 | 702 | (0, _classCallCheck2.default)(this, ChildrenArray); |
| 699 | - return _callSuper(this, ChildrenArray, arguments); | |
| 703 | + return _super.apply(this, arguments); | |
| 700 | 704 | } |
| 701 | - (0, _inherits2.default)(ChildrenArray, _Array); | |
| 702 | - return (0, _createClass2.default)(ChildrenArray, [{ | |
| 705 | + (0, _createClass2.default)(ChildrenArray, [{ | |
| 703 | 706 | key: "clear", |
| 704 | 707 | value: function clear() { |
| 705 | 708 | this.length = 0; |
| 706 | 709 | } |
| @@ -801,9 +804,11 @@ | ||
| 801 | 804 | } |
| 802 | 805 | return false; |
| 803 | 806 | } |
| 804 | 807 | }]); |
| 805 | -}(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Array)); | |
| 808 | + return ChildrenArray; | |
| 809 | +}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Array)); | |
| 810 | +exports["default"] = ChildrenArray; | |
| 806 | 811 | |
| 807 | 812 | /***/ }), |
| 808 | 813 | |
| 809 | 814 | /***/ "../assets/dev/js/editor/container/panel.js": |
| @@ -824,9 +829,9 @@ | ||
| 824 | 829 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 825 | 830 | /** |
| 826 | 831 | * @typedef {import('./container')} Container |
| 827 | 832 | */ |
| 828 | -var Panel = exports["default"] = /*#__PURE__*/function () { | |
| 833 | +var Panel = /*#__PURE__*/function () { | |
| 829 | 834 | /** |
| 830 | 835 | * Function constructor(). |
| 831 | 836 | * |
| 832 | 837 | * Create constructor panel. |
| @@ -842,9 +847,9 @@ | ||
| 842 | 847 | * Function refresh(). |
| 843 | 848 | * |
| 844 | 849 | * Refresh the panel. |
| 845 | 850 | */ |
| 846 | - return (0, _createClass2.default)(Panel, [{ | |
| 851 | + (0, _createClass2.default)(Panel, [{ | |
| 847 | 852 | key: "refresh", |
| 848 | 853 | value: function refresh() { |
| 849 | 854 | if ($e.routes.isPartOf('panel/editor')) { |
| 850 | 855 | $e.routes.refreshContainer('panel'); |
| @@ -875,9 +880,11 @@ | ||
| 875 | 880 | name: name |
| 876 | 881 | }); |
| 877 | 882 | } |
| 878 | 883 | }]); |
| 884 | + return Panel; | |
| 879 | 885 | }(); |
| 886 | +exports["default"] = Panel; | |
| 880 | 887 | |
| 881 | 888 | /***/ }), |
| 882 | 889 | |
| 883 | 890 | /***/ "../assets/dev/js/editor/elements/models/base-settings.js": |
| @@ -1016,9 +1023,9 @@ | ||
| 1016 | 1023 | if (control.groupType) { |
| 1017 | 1024 | controlGlobalKey = control.groupPrefix + control.groupType; |
| 1018 | 1025 | } |
| 1019 | 1026 | var globalControl = controls[controlGlobalKey]; |
| 1020 | - if (!(globalControl !== null && globalControl !== void 0 && (_globalControl$global = globalControl.global) !== null && _globalControl$global !== void 0 && _globalControl$global.active)) { | |
| 1027 | + if (!((_globalControl$global = globalControl.global) !== null && _globalControl$global !== void 0 && _globalControl$global.active)) { | |
| 1021 | 1028 | return false; |
| 1022 | 1029 | } |
| 1023 | 1030 | var globalValue = (_this$attributes$__gl = this.attributes.__globals__) === null || _this$attributes$__gl === void 0 ? void 0 : _this$attributes$__gl[controlGlobalKey]; |
| 1024 | 1031 | return !!globalValue; |
| @@ -1298,11 +1305,11 @@ | ||
| 1298 | 1305 | Object.defineProperty(exports, "__esModule", ({ |
| 1299 | 1306 | value: true |
| 1300 | 1307 | })); |
| 1301 | 1308 | exports["default"] = void 0; |
| 1302 | -function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; } | |
| 1303 | -function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } } | |
| 1304 | -function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } | |
| 1309 | +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } | |
| 1310 | +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | |
| 1311 | +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } | |
| 1305 | 1312 | /** |
| 1306 | 1313 | * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved |
| 1307 | 1314 | * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can |
| 1308 | 1315 | * check whether it's instanceof by using the objects constructor and prototype names. |
| @@ -1310,16 +1317,16 @@ | ||
| 1310 | 1317 | * @param object |
| 1311 | 1318 | * @param constructors |
| 1312 | 1319 | * @return {boolean} |
| 1313 | 1320 | */ |
| 1314 | -var _default = exports["default"] = function _default(object, constructors) { | |
| 1321 | +var _default = function _default(object, constructors) { | |
| 1315 | 1322 | constructors = Array.isArray(constructors) ? constructors : [constructors]; |
| 1316 | 1323 | var _iterator = _createForOfIteratorHelper(constructors), |
| 1317 | 1324 | _step; |
| 1318 | 1325 | try { |
| 1319 | 1326 | for (_iterator.s(); !(_step = _iterator.n()).done;) { |
| 1320 | - var constructor = _step.value; | |
| 1321 | - if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) { | |
| 1327 | + var _constructor = _step.value; | |
| 1328 | + if (object.constructor.name === _constructor.prototype[Symbol.toStringTag]) { | |
| 1322 | 1329 | return true; |
| 1323 | 1330 | } |
| 1324 | 1331 | } |
| 1325 | 1332 | } catch (err) { |
| @@ -1328,8 +1335,9 @@ | ||
| 1328 | 1335 | _iterator.f(); |
| 1329 | 1336 | } |
| 1330 | 1337 | return false; |
| 1331 | 1338 | }; |
| 1339 | +exports["default"] = _default; | |
| 1332 | 1340 | |
| 1333 | 1341 | /***/ }), |
| 1334 | 1342 | |
| 1335 | 1343 | /***/ "../assets/dev/js/editor/utils/module.js": |
| @@ -1353,11 +1361,10 @@ | ||
| 1353 | 1361 | $window.on('elementor:init', this.onElementorReady); |
| 1354 | 1362 | }, |
| 1355 | 1363 | // TODO: Delete as soon as possible. |
| 1356 | 1364 | getEditorControlView: function getEditorControlView(name) { |
| 1357 | - var _this$getEditorContro; | |
| 1358 | 1365 | var editor = elementor.getPanelView().getCurrentPageView(); |
| 1359 | - return editor.children.findByModelCid((_this$getEditorContro = this.getEditorControlModel(name)) === null || _this$getEditorContro === void 0 ? void 0 : _this$getEditorContro.cid); | |
| 1366 | + return editor.children.findByModelCid(this.getEditorControlModel(name).cid); | |
| 1360 | 1367 | }, |
| 1361 | 1368 | // TODO: Delete as soon as possible. |
| 1362 | 1369 | getEditorControlModel: function getEditorControlModel(name) { |
| 1363 | 1370 | var editor = elementor.getPanelView().getCurrentPageView(); |
| @@ -1397,9 +1404,9 @@ | ||
| 1397 | 1404 | exports["default"] = void 0; |
| 1398 | 1405 | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); |
| 1399 | 1406 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 1400 | 1407 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 1401 | -var ControlsPopover = exports["default"] = /*#__PURE__*/function () { | |
| 1408 | +var ControlsPopover = /*#__PURE__*/function () { | |
| 1402 | 1409 | function ControlsPopover(child) { |
| 1403 | 1410 | (0, _classCallCheck2.default)(this, ControlsPopover); |
| 1404 | 1411 | this.child = child; |
| 1405 | 1412 | this.$popover = jQuery('<div>', { |
| @@ -1413,9 +1420,9 @@ | ||
| 1413 | 1420 | if ('typography' === this.child.model.attributes.groupType) { |
| 1414 | 1421 | this.createPopoverHeader(); |
| 1415 | 1422 | } |
| 1416 | 1423 | } |
| 1417 | - return (0, _createClass2.default)(ControlsPopover, [{ | |
| 1424 | + (0, _createClass2.default)(ControlsPopover, [{ | |
| 1418 | 1425 | key: "addChild", |
| 1419 | 1426 | value: function addChild(child) { |
| 1420 | 1427 | this.$popover.append(child.$el); |
| 1421 | 1428 | } |
| @@ -1450,9 +1457,8 @@ | ||
| 1450 | 1457 | }, { |
| 1451 | 1458 | key: "onResetButtonClick", |
| 1452 | 1459 | value: function onResetButtonClick() { |
| 1453 | 1460 | this.$popover.hide(); |
| 1454 | - this.$popover.trigger('hide'); | |
| 1455 | 1461 | var groupControlName = this.child.model.get('groupPrefix') + 'typography', |
| 1456 | 1462 | args = { |
| 1457 | 1463 | container: this.child.options.container, |
| 1458 | 1464 | settings: (0, _defineProperty2.default)({}, groupControlName, '') |
| @@ -1497,9 +1503,11 @@ | ||
| 1497 | 1503 | value: function destroy() { |
| 1498 | 1504 | this.$popover.remove(); |
| 1499 | 1505 | } |
| 1500 | 1506 | }]); |
| 1507 | + return ControlsPopover; | |
| 1501 | 1508 | }(); |
| 1509 | +exports["default"] = ControlsPopover; | |
| 1502 | 1510 | |
| 1503 | 1511 | /***/ }), |
| 1504 | 1512 | |
| 1505 | 1513 | /***/ "../assets/dev/js/editor/views/controls-stack.js": |
| @@ -1693,14 +1701,15 @@ | ||
| 1693 | 1701 | }); |
| 1694 | 1702 | }, |
| 1695 | 1703 | removePopovers: function removePopovers(view) { |
| 1696 | 1704 | var _view$popovers; |
| 1697 | - (_view$popovers = view.popovers) === null || _view$popovers === void 0 || _view$popovers.forEach(function (popover) { | |
| 1705 | + (_view$popovers = view.popovers) === null || _view$popovers === void 0 ? void 0 : _view$popovers.forEach(function (popover) { | |
| 1698 | 1706 | return popover.destroy(); |
| 1699 | 1707 | }); |
| 1700 | 1708 | } |
| 1701 | 1709 | }); |
| 1702 | -var _default = exports["default"] = ControlsStack; | |
| 1710 | +var _default = ControlsStack; | |
| 1711 | +exports["default"] = _default; | |
| 1703 | 1712 | |
| 1704 | 1713 | /***/ }), |
| 1705 | 1714 | |
| 1706 | 1715 | /***/ "../assets/dev/js/modules/imports/args-object.js": |
| @@ -1719,16 +1728,18 @@ | ||
| 1719 | 1728 | exports["default"] = void 0; |
| 1720 | 1729 | var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js")); |
| 1721 | 1730 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 1722 | 1731 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 1732 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1723 | 1733 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 1724 | 1734 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 1725 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1726 | 1735 | var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js")); |
| 1727 | 1736 | var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js")); |
| 1728 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1729 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1730 | -var ArgsObject = exports["default"] = /*#__PURE__*/function (_InstanceType) { | |
| 1737 | +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | |
| 1738 | +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | |
| 1739 | +var ArgsObject = /*#__PURE__*/function (_InstanceType) { | |
| 1740 | + (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 1741 | + var _super = _createSuper(ArgsObject); | |
| 1731 | 1742 | /** |
| 1732 | 1743 | * Function constructor(). |
| 1733 | 1744 | * |
| 1734 | 1745 | * Create ArgsObject. |
| @@ -1737,9 +1748,9 @@ | ||
| 1737 | 1748 | */ |
| 1738 | 1749 | function ArgsObject(args) { |
| 1739 | 1750 | var _this; |
| 1740 | 1751 | (0, _classCallCheck2.default)(this, ArgsObject); |
| 1741 | - _this = _callSuper(this, ArgsObject); | |
| 1752 | + _this = _super.call(this); | |
| 1742 | 1753 | _this.args = args; |
| 1743 | 1754 | return _this; |
| 1744 | 1755 | } |
| 1745 | 1756 | |
| @@ -1752,10 +1763,9 @@ | ||
| 1752 | 1763 | * @param {{}} args |
| 1753 | 1764 | * |
| 1754 | 1765 | * @throws {Error} |
| 1755 | 1766 | */ |
| 1756 | - (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 1757 | - return (0, _createClass2.default)(ArgsObject, [{ | |
| 1767 | + (0, _createClass2.default)(ArgsObject, [{ | |
| 1758 | 1768 | key: "requireArgument", |
| 1759 | 1769 | value: function requireArgument(property) { |
| 1760 | 1770 | var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; |
| 1761 | 1771 | if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| @@ -1833,9 +1843,11 @@ | ||
| 1833 | 1843 | value: function getInstanceType() { |
| 1834 | 1844 | return 'ArgsObject'; |
| 1835 | 1845 | } |
| 1836 | 1846 | }]); |
| 1847 | + return ArgsObject; | |
| 1837 | 1848 | }(_instanceType.default); |
| 1849 | +exports["default"] = ArgsObject; | |
| 1838 | 1850 | |
| 1839 | 1851 | /***/ }), |
| 1840 | 1852 | |
| 1841 | 1853 | /***/ "../assets/dev/js/modules/imports/instance-type.js": |
| @@ -1853,12 +1865,11 @@ | ||
| 1853 | 1865 | })); |
| 1854 | 1866 | exports["default"] = void 0; |
| 1855 | 1867 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 1856 | 1868 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 1869 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js")); | |
| 1857 | 1870 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 1858 | -var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js")); | |
| 1859 | -function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; } | |
| 1860 | -var InstanceType = exports["default"] = /*#__PURE__*/function () { | |
| 1871 | +var InstanceType = /*#__PURE__*/function (_Symbol$hasInstance) { | |
| 1861 | 1872 | function InstanceType() { |
| 1862 | 1873 | var _this = this; |
| 1863 | 1874 | (0, _classCallCheck2.default)(this, InstanceType); |
| 1864 | 1875 | // Since anonymous classes sometimes do not get validated by babel, do it manually. |
| @@ -1871,10 +1882,10 @@ | ||
| 1871 | 1882 | prototypes.reverse().forEach(function (proto) { |
| 1872 | 1883 | return _this instanceof proto; |
| 1873 | 1884 | }); |
| 1874 | 1885 | } |
| 1875 | - return (0, _createClass2.default)(InstanceType, null, [{ | |
| 1876 | - key: Symbol.hasInstance, | |
| 1886 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 1887 | + key: _Symbol$hasInstance, | |
| 1877 | 1888 | value: function value(target) { |
| 1878 | 1889 | /** |
| 1879 | 1890 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 1880 | 1891 | * its give's opportunity to mange capabilities of instanceOf operator. |
| @@ -1879,9 +1890,9 @@ | ||
| 1879 | 1890 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 1880 | 1891 | * its give's opportunity to mange capabilities of instanceOf operator. |
| 1881 | 1892 | * saving current class each time will give option later to handle instanceOf manually. |
| 1882 | 1893 | */ |
| 1883 | - var result = _superPropGet(InstanceType, Symbol.hasInstance, this, 2)([target]); | |
| 1894 | + var result = (0, _get2.default)((0, _getPrototypeOf2.default)(InstanceType), Symbol.hasInstance, this).call(this, target); | |
| 1884 | 1895 | |
| 1885 | 1896 | // Act normal when validate a class, which does not have instance type. |
| 1886 | 1897 | if (target && !target.constructor.getInstanceType) { |
| 1887 | 1898 | return result; |
| @@ -1913,9 +1924,11 @@ | ||
| 1913 | 1924 | value: function getInstanceType() { |
| 1914 | 1925 | elementorModules.ForceMethodImplementation(); |
| 1915 | 1926 | } |
| 1916 | 1927 | }]); |
| 1917 | -}(); | |
| 1928 | + return InstanceType; | |
| 1929 | +}(Symbol.hasInstance); | |
| 1930 | +exports["default"] = InstanceType; | |
| 1918 | 1931 | |
| 1919 | 1932 | /***/ }), |
| 1920 | 1933 | |
| 1921 | 1934 | /***/ "../assets/dev/js/utils/introduction.js": |
| @@ -1935,15 +1948,18 @@ | ||
| 1935 | 1948 | var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "../node_modules/@babel/runtime/regenerator/index.js")); |
| 1936 | 1949 | var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js")); |
| 1937 | 1950 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 1938 | 1951 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 1952 | +var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js")); | |
| 1953 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1939 | 1954 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 1940 | 1955 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 1941 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 1942 | 1956 | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); |
| 1943 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 1944 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 1945 | -var _default = exports["default"] = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 1957 | +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | |
| 1958 | +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | |
| 1959 | +var _default = /*#__PURE__*/function (_elementorModules$Mod) { | |
| 1960 | + (0, _inherits2.default)(_default, _elementorModules$Mod); | |
| 1961 | + var _super = _createSuper(_default); | |
| 1946 | 1962 | function _default() { |
| 1947 | 1963 | var _this; |
| 1948 | 1964 | (0, _classCallCheck2.default)(this, _default); |
| 1949 | 1965 | for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
| @@ -1948,15 +1964,14 @@ | ||
| 1948 | 1964 | (0, _classCallCheck2.default)(this, _default); |
| 1949 | 1965 | for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
| 1950 | 1966 | args[_key] = arguments[_key]; |
| 1951 | 1967 | } |
| 1952 | - _this = _callSuper(this, _default, [].concat(args)); | |
| 1953 | - (0, _defineProperty2.default)(_this, "introductionMap", null); | |
| 1968 | + _this = _super.call.apply(_super, [this].concat(args)); | |
| 1969 | + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "introductionMap", null); | |
| 1954 | 1970 | _this.initDialog(); |
| 1955 | 1971 | return _this; |
| 1956 | 1972 | } |
| 1957 | - (0, _inherits2.default)(_default, _elementorModules$Mod); | |
| 1958 | - return (0, _createClass2.default)(_default, [{ | |
| 1973 | + (0, _createClass2.default)(_default, [{ | |
| 1959 | 1974 | key: "setIntroductionMap", |
| 1960 | 1975 | value: function setIntroductionMap(map) { |
| 1961 | 1976 | this.introductionMap = map; |
| 1962 | 1977 | } |
| @@ -2023,11 +2038,11 @@ | ||
| 2023 | 2038 | } |
| 2024 | 2039 | }, { |
| 2025 | 2040 | key: "setViewed", |
| 2026 | 2041 | value: function () { |
| 2027 | - var _setViewed = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() { | |
| 2042 | + var _setViewed = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { | |
| 2028 | 2043 | var _this3 = this; |
| 2029 | - return _regenerator.default.wrap(function (_context) { | |
| 2044 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 2030 | 2045 | while (1) switch (_context.prev = _context.next) { |
| 2031 | 2046 | case 0: |
| 2032 | 2047 | this.introductionViewed = true; |
| 2033 | 2048 | return _context.abrupt("return", new Promise(function (resolve, reject) { |
| @@ -2038,9 +2053,9 @@ | ||
| 2038 | 2053 | success: resolve, |
| 2039 | 2054 | error: reject |
| 2040 | 2055 | }); |
| 2041 | 2056 | })); |
| 2042 | - case 1: | |
| 2057 | + case 2: | |
| 2043 | 2058 | case "end": |
| 2044 | 2059 | return _context.stop(); |
| 2045 | 2060 | } |
| 2046 | 2061 | }, _callee, this); |
| @@ -2050,22 +2065,22 @@ | ||
| 2050 | 2065 | } |
| 2051 | 2066 | return setViewed; |
| 2052 | 2067 | }() |
| 2053 | 2068 | }]); |
| 2069 | + return _default; | |
| 2054 | 2070 | }(elementorModules.Module); |
| 2071 | +exports["default"] = _default; | |
| 2055 | 2072 | |
| 2056 | 2073 | /***/ }), |
| 2057 | 2074 | |
| 2058 | -/***/ "../node_modules/@babel/runtime/helpers/OverloadYield.js": | |
| 2059 | -/*!***************************************************************!*\ | |
| 2060 | - !*** ../node_modules/@babel/runtime/helpers/OverloadYield.js ***! | |
| 2061 | - \***************************************************************/ | |
| 2075 | +/***/ "@wordpress/i18n": | |
| 2076 | +/*!**************************!*\ | |
| 2077 | + !*** external "wp.i18n" ***! | |
| 2078 | + \**************************/ | |
| 2062 | 2079 | /***/ ((module) => { |
| 2063 | 2080 | |
| 2064 | -function _OverloadYield(e, d) { | |
| 2065 | - this.v = e, this.k = d; | |
| 2066 | -} | |
| 2067 | -module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2081 | +"use strict"; | |
| 2082 | +module.exports = wp.i18n; | |
| 2068 | 2083 | |
| 2069 | 2084 | /***/ }), |
| 2070 | 2085 | |
| 2071 | 2086 | /***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": |
| @@ -2073,12 +2088,12 @@ | ||
| 2073 | 2088 | !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! |
| 2074 | 2089 | \******************************************************************/ |
| 2075 | 2090 | /***/ ((module) => { |
| 2076 | 2091 | |
| 2077 | -function _arrayLikeToArray(r, a) { | |
| 2078 | - (null == a || a > r.length) && (a = r.length); | |
| 2079 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 2080 | - return n; | |
| 2092 | +function _arrayLikeToArray(arr, len) { | |
| 2093 | + if (len == null || len > arr.length) len = arr.length; | |
| 2094 | + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; | |
| 2095 | + return arr2; | |
| 2081 | 2096 | } |
| 2082 | 2097 | module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2083 | 2098 | |
| 2084 | 2099 | /***/ }), |
| @@ -2088,10 +2103,10 @@ | ||
| 2088 | 2103 | !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! |
| 2089 | 2104 | \****************************************************************/ |
| 2090 | 2105 | /***/ ((module) => { |
| 2091 | 2106 | |
| 2092 | -function _arrayWithHoles(r) { | |
| 2093 | - if (Array.isArray(r)) return r; | |
| 2107 | +function _arrayWithHoles(arr) { | |
| 2108 | + if (Array.isArray(arr)) return arr; | |
| 2094 | 2109 | } |
| 2095 | 2110 | module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2096 | 2111 | |
| 2097 | 2112 | /***/ }), |
| @@ -2101,11 +2116,13 @@ | ||
| 2101 | 2116 | !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! |
| 2102 | 2117 | \***********************************************************************/ |
| 2103 | 2118 | /***/ ((module) => { |
| 2104 | 2119 | |
| 2105 | -function _assertThisInitialized(e) { | |
| 2106 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 2107 | - return e; | |
| 2120 | +function _assertThisInitialized(self) { | |
| 2121 | + if (self === void 0) { | |
| 2122 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 2123 | + } | |
| 2124 | + return self; | |
| 2108 | 2125 | } |
| 2109 | 2126 | module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2110 | 2127 | |
| 2111 | 2128 | /***/ }), |
| @@ -2115,30 +2132,35 @@ | ||
| 2115 | 2132 | !*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***! |
| 2116 | 2133 | \******************************************************************/ |
| 2117 | 2134 | /***/ ((module) => { |
| 2118 | 2135 | |
| 2119 | -function asyncGeneratorStep(n, t, e, r, o, a, c) { | |
| 2136 | +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { | |
| 2120 | 2137 | try { |
| 2121 | - var i = n[a](c), | |
| 2122 | - u = i.value; | |
| 2123 | - } catch (n) { | |
| 2124 | - return void e(n); | |
| 2138 | + var info = gen[key](arg); | |
| 2139 | + var value = info.value; | |
| 2140 | + } catch (error) { | |
| 2141 | + reject(error); | |
| 2142 | + return; | |
| 2125 | 2143 | } |
| 2126 | - i.done ? t(u) : Promise.resolve(u).then(r, o); | |
| 2144 | + if (info.done) { | |
| 2145 | + resolve(value); | |
| 2146 | + } else { | |
| 2147 | + Promise.resolve(value).then(_next, _throw); | |
| 2148 | + } | |
| 2127 | 2149 | } |
| 2128 | -function _asyncToGenerator(n) { | |
| 2150 | +function _asyncToGenerator(fn) { | |
| 2129 | 2151 | return function () { |
| 2130 | - var t = this, | |
| 2131 | - e = arguments; | |
| 2132 | - return new Promise(function (r, o) { | |
| 2133 | - var a = n.apply(t, e); | |
| 2134 | - function _next(n) { | |
| 2135 | - asyncGeneratorStep(a, r, o, _next, _throw, "next", n); | |
| 2152 | + var self = this, | |
| 2153 | + args = arguments; | |
| 2154 | + return new Promise(function (resolve, reject) { | |
| 2155 | + var gen = fn.apply(self, args); | |
| 2156 | + function _next(value) { | |
| 2157 | + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); | |
| 2136 | 2158 | } |
| 2137 | - function _throw(n) { | |
| 2138 | - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); | |
| 2159 | + function _throw(err) { | |
| 2160 | + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); | |
| 2139 | 2161 | } |
| 2140 | - _next(void 0); | |
| 2162 | + _next(undefined); | |
| 2141 | 2163 | }); |
| 2142 | 2164 | }; |
| 2143 | 2165 | } |
| 2144 | 2166 | module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| @@ -2150,10 +2172,12 @@ | ||
| 2150 | 2172 | !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! |
| 2151 | 2173 | \****************************************************************/ |
| 2152 | 2174 | /***/ ((module) => { |
| 2153 | 2175 | |
| 2154 | -function _classCallCheck(a, n) { | |
| 2155 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 2176 | +function _classCallCheck(instance, Constructor) { | |
| 2177 | + if (!(instance instanceof Constructor)) { | |
| 2178 | + throw new TypeError("Cannot call a class as a function"); | |
| 2179 | + } | |
| 2156 | 2180 | } |
| 2157 | 2181 | module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2158 | 2182 | |
| 2159 | 2183 | /***/ }), |
| @@ -2163,10 +2187,10 @@ | ||
| 2163 | 2187 | !*** ../node_modules/@babel/runtime/helpers/construct.js ***! |
| 2164 | 2188 | \***********************************************************/ |
| 2165 | 2189 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2166 | 2190 | |
| 2191 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 2167 | 2192 | var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js"); |
| 2168 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 2169 | 2193 | function _construct(t, e, r) { |
| 2170 | 2194 | if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); |
| 2171 | 2195 | var o = [null]; |
| 2172 | 2196 | o.push.apply(o, e); |
| @@ -2183,18 +2207,24 @@ | ||
| 2183 | 2207 | \*************************************************************/ |
| 2184 | 2208 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2185 | 2209 | |
| 2186 | 2210 | var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); |
| 2187 | -function _defineProperties(e, r) { | |
| 2188 | - for (var t = 0; t < r.length; t++) { | |
| 2189 | - var o = r[t]; | |
| 2190 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 2211 | +function _defineProperties(target, props) { | |
| 2212 | + for (var i = 0; i < props.length; i++) { | |
| 2213 | + var descriptor = props[i]; | |
| 2214 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 2215 | + descriptor.configurable = true; | |
| 2216 | + if ("value" in descriptor) descriptor.writable = true; | |
| 2217 | + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); | |
| 2191 | 2218 | } |
| 2192 | 2219 | } |
| 2193 | -function _createClass(e, r, t) { | |
| 2194 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| 2195 | - writable: !1 | |
| 2196 | - }), e; | |
| 2220 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 2221 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 2222 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 2223 | + Object.defineProperty(Constructor, "prototype", { | |
| 2224 | + writable: false | |
| 2225 | + }); | |
| 2226 | + return Constructor; | |
| 2197 | 2227 | } |
| 2198 | 2228 | module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2199 | 2229 | |
| 2200 | 2230 | /***/ }), |
| @@ -2205,15 +2235,21 @@ | ||
| 2205 | 2235 | \****************************************************************/ |
| 2206 | 2236 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2207 | 2237 | |
| 2208 | 2238 | var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); |
| 2209 | -function _defineProperty(e, r, t) { | |
| 2210 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 2211 | - value: t, | |
| 2212 | - enumerable: !0, | |
| 2213 | - configurable: !0, | |
| 2214 | - writable: !0 | |
| 2215 | - }) : e[r] = t, e; | |
| 2239 | +function _defineProperty(obj, key, value) { | |
| 2240 | + key = toPropertyKey(key); | |
| 2241 | + if (key in obj) { | |
| 2242 | + Object.defineProperty(obj, key, { | |
| 2243 | + value: value, | |
| 2244 | + enumerable: true, | |
| 2245 | + configurable: true, | |
| 2246 | + writable: true | |
| 2247 | + }); | |
| 2248 | + } else { | |
| 2249 | + obj[key] = value; | |
| 2250 | + } | |
| 2251 | + return obj; | |
| 2216 | 2252 | } |
| 2217 | 2253 | module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2218 | 2254 | |
| 2219 | 2255 | /***/ }), |
| @@ -2225,15 +2261,22 @@ | ||
| 2225 | 2261 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2226 | 2262 | |
| 2227 | 2263 | var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime/helpers/superPropBase.js"); |
| 2228 | 2264 | function _get() { |
| 2229 | - return module.exports = _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { | |
| 2230 | - var p = superPropBase(e, t); | |
| 2231 | - if (p) { | |
| 2232 | - var n = Object.getOwnPropertyDescriptor(p, t); | |
| 2233 | - return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; | |
| 2234 | - } | |
| 2235 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments); | |
| 2265 | + if (typeof Reflect !== "undefined" && Reflect.get) { | |
| 2266 | + module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2267 | + } else { | |
| 2268 | + module.exports = _get = function _get(target, property, receiver) { | |
| 2269 | + var base = superPropBase(target, property); | |
| 2270 | + if (!base) return; | |
| 2271 | + var desc = Object.getOwnPropertyDescriptor(base, property); | |
| 2272 | + if (desc.get) { | |
| 2273 | + return desc.get.call(arguments.length < 3 ? target : receiver); | |
| 2274 | + } | |
| 2275 | + return desc.value; | |
| 2276 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2277 | + } | |
| 2278 | + return _get.apply(this, arguments); | |
| 2236 | 2279 | } |
| 2237 | 2280 | module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2238 | 2281 | |
| 2239 | 2282 | /***/ }), |
| @@ -2243,12 +2286,13 @@ | ||
| 2243 | 2286 | !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! |
| 2244 | 2287 | \****************************************************************/ |
| 2245 | 2288 | /***/ ((module) => { |
| 2246 | 2289 | |
| 2247 | -function _getPrototypeOf(t) { | |
| 2248 | - return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | |
| 2249 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 2250 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); | |
| 2290 | +function _getPrototypeOf(o) { | |
| 2291 | + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | |
| 2292 | + return o.__proto__ || Object.getPrototypeOf(o); | |
| 2293 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2294 | + return _getPrototypeOf(o); | |
| 2251 | 2295 | } |
| 2252 | 2296 | module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2253 | 2297 | |
| 2254 | 2298 | /***/ }), |
| @@ -2259,19 +2303,23 @@ | ||
| 2259 | 2303 | \**********************************************************/ |
| 2260 | 2304 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2261 | 2305 | |
| 2262 | 2306 | var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); |
| 2263 | -function _inherits(t, e) { | |
| 2264 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 2265 | - t.prototype = Object.create(e && e.prototype, { | |
| 2307 | +function _inherits(subClass, superClass) { | |
| 2308 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 2309 | + throw new TypeError("Super expression must either be null or a function"); | |
| 2310 | + } | |
| 2311 | + subClass.prototype = Object.create(superClass && superClass.prototype, { | |
| 2266 | 2312 | constructor: { |
| 2267 | - value: t, | |
| 2268 | - writable: !0, | |
| 2269 | - configurable: !0 | |
| 2313 | + value: subClass, | |
| 2314 | + writable: true, | |
| 2315 | + configurable: true | |
| 2270 | 2316 | } |
| 2271 | - }), Object.defineProperty(t, "prototype", { | |
| 2272 | - writable: !1 | |
| 2273 | - }), e && setPrototypeOf(t, e); | |
| 2317 | + }); | |
| 2318 | + Object.defineProperty(subClass, "prototype", { | |
| 2319 | + writable: false | |
| 2320 | + }); | |
| 2321 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 2274 | 2322 | } |
| 2275 | 2323 | module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2276 | 2324 | |
| 2277 | 2325 | /***/ }), |
| @@ -2281,11 +2329,11 @@ | ||
| 2281 | 2329 | !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 2282 | 2330 | \***********************************************************************/ |
| 2283 | 2331 | /***/ ((module) => { |
| 2284 | 2332 | |
| 2285 | -function _interopRequireDefault(e) { | |
| 2286 | - return e && e.__esModule ? e : { | |
| 2287 | - "default": e | |
| 2333 | +function _interopRequireDefault(obj) { | |
| 2334 | + return obj && obj.__esModule ? obj : { | |
| 2335 | + "default": obj | |
| 2288 | 2336 | }; |
| 2289 | 2337 | } |
| 2290 | 2338 | module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2291 | 2339 | |
| @@ -2296,13 +2344,13 @@ | ||
| 2296 | 2344 | !*** ../node_modules/@babel/runtime/helpers/isNativeFunction.js ***! |
| 2297 | 2345 | \******************************************************************/ |
| 2298 | 2346 | /***/ ((module) => { |
| 2299 | 2347 | |
| 2300 | -function _isNativeFunction(t) { | |
| 2348 | +function _isNativeFunction(fn) { | |
| 2301 | 2349 | try { |
| 2302 | - return -1 !== Function.toString.call(t).indexOf("[native code]"); | |
| 2303 | - } catch (n) { | |
| 2304 | - return "function" == typeof t; | |
| 2350 | + return Function.toString.call(fn).indexOf("[native code]") !== -1; | |
| 2351 | + } catch (e) { | |
| 2352 | + return typeof fn === "function"; | |
| 2305 | 2353 | } |
| 2306 | 2354 | } |
| 2307 | 2355 | module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2308 | 2356 | |
| @@ -2383,363 +2431,330 @@ | ||
| 2383 | 2431 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2384 | 2432 | |
| 2385 | 2433 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 2386 | 2434 | var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); |
| 2387 | -function _possibleConstructorReturn(t, e) { | |
| 2388 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 2389 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 2390 | - return assertThisInitialized(t); | |
| 2435 | +function _possibleConstructorReturn(self, call) { | |
| 2436 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 2437 | + return call; | |
| 2438 | + } else if (call !== void 0) { | |
| 2439 | + throw new TypeError("Derived constructors may only return object or undefined"); | |
| 2440 | + } | |
| 2441 | + return assertThisInitialized(self); | |
| 2391 | 2442 | } |
| 2392 | 2443 | module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2393 | 2444 | |
| 2394 | 2445 | /***/ }), |
| 2395 | 2446 | |
| 2396 | -/***/ "../node_modules/@babel/runtime/helpers/readOnlyError.js": | |
| 2397 | -/*!***************************************************************!*\ | |
| 2398 | - !*** ../node_modules/@babel/runtime/helpers/readOnlyError.js ***! | |
| 2399 | - \***************************************************************/ | |
| 2400 | -/***/ ((module) => { | |
| 2401 | - | |
| 2402 | -function _readOnlyError(r) { | |
| 2403 | - throw new TypeError('"' + r + '" is read-only'); | |
| 2404 | -} | |
| 2405 | -module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2406 | - | |
| 2407 | -/***/ }), | |
| 2408 | - | |
| 2409 | -/***/ "../node_modules/@babel/runtime/helpers/regenerator.js": | |
| 2410 | -/*!*************************************************************!*\ | |
| 2411 | - !*** ../node_modules/@babel/runtime/helpers/regenerator.js ***! | |
| 2412 | - \*************************************************************/ | |
| 2447 | +/***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js": | |
| 2448 | +/*!********************************************************************!*\ | |
| 2449 | + !*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! | |
| 2450 | + \********************************************************************/ | |
| 2413 | 2451 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2414 | 2452 | |
| 2415 | -var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js"); | |
| 2416 | -function _regenerator() { | |
| 2417 | - /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ | |
| 2418 | - var e, | |
| 2419 | - t, | |
| 2420 | - r = "function" == typeof Symbol ? Symbol : {}, | |
| 2421 | - n = r.iterator || "@@iterator", | |
| 2422 | - o = r.toStringTag || "@@toStringTag"; | |
| 2423 | - function i(r, n, o, i) { | |
| 2424 | - var c = n && n.prototype instanceof Generator ? n : Generator, | |
| 2425 | - u = Object.create(c.prototype); | |
| 2426 | - return regeneratorDefine(u, "_invoke", function (r, n, o) { | |
| 2427 | - var i, | |
| 2428 | - c, | |
| 2429 | - u, | |
| 2430 | - f = 0, | |
| 2431 | - p = o || [], | |
| 2432 | - y = !1, | |
| 2433 | - G = { | |
| 2434 | - p: 0, | |
| 2435 | - n: 0, | |
| 2436 | - v: e, | |
| 2437 | - a: d, | |
| 2438 | - f: d.bind(e, 4), | |
| 2439 | - d: function d(t, r) { | |
| 2440 | - return i = t, c = 0, u = e, G.n = r, a; | |
| 2441 | - } | |
| 2442 | - }; | |
| 2443 | - function d(r, n) { | |
| 2444 | - for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { | |
| 2445 | - var o, | |
| 2446 | - i = p[t], | |
| 2447 | - d = G.p, | |
| 2448 | - l = i[2]; | |
| 2449 | - r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); | |
| 2450 | - } | |
| 2451 | - if (o || r > 1) return a; | |
| 2452 | - throw y = !0, n; | |
| 2453 | - } | |
| 2454 | - return function (o, p, l) { | |
| 2455 | - if (f > 1) throw TypeError("Generator is already running"); | |
| 2456 | - for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { | |
| 2457 | - i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); | |
| 2458 | - try { | |
| 2459 | - if (f = 2, i) { | |
| 2460 | - if (c || (o = "next"), t = i[o]) { | |
| 2461 | - if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); | |
| 2462 | - if (!t.done) return t; | |
| 2463 | - u = t.value, c < 2 && (c = 0); | |
| 2464 | - } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); | |
| 2465 | - i = e; | |
| 2466 | - } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; | |
| 2467 | - } catch (t) { | |
| 2468 | - i = e, c = 1, u = t; | |
| 2469 | - } finally { | |
| 2470 | - f = 1; | |
| 2471 | - } | |
| 2472 | - } | |
| 2473 | - return { | |
| 2474 | - value: t, | |
| 2475 | - done: y | |
| 2476 | - }; | |
| 2453 | +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 2454 | +function _regeneratorRuntime() { | |
| 2455 | + "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | |
| 2456 | + module.exports = _regeneratorRuntime = function _regeneratorRuntime() { | |
| 2457 | + return e; | |
| 2458 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2459 | + var t, | |
| 2460 | + e = {}, | |
| 2461 | + r = Object.prototype, | |
| 2462 | + n = r.hasOwnProperty, | |
| 2463 | + o = Object.defineProperty || function (t, e, r) { | |
| 2464 | + t[e] = r.value; | |
| 2465 | + }, | |
| 2466 | + i = "function" == typeof Symbol ? Symbol : {}, | |
| 2467 | + a = i.iterator || "@@iterator", | |
| 2468 | + c = i.asyncIterator || "@@asyncIterator", | |
| 2469 | + u = i.toStringTag || "@@toStringTag"; | |
| 2470 | + function define(t, e, r) { | |
| 2471 | + return Object.defineProperty(t, e, { | |
| 2472 | + value: r, | |
| 2473 | + enumerable: !0, | |
| 2474 | + configurable: !0, | |
| 2475 | + writable: !0 | |
| 2476 | + }), t[e]; | |
| 2477 | + } | |
| 2478 | + try { | |
| 2479 | + define({}, ""); | |
| 2480 | + } catch (t) { | |
| 2481 | + define = function define(t, e, r) { | |
| 2482 | + return t[e] = r; | |
| 2483 | + }; | |
| 2484 | + } | |
| 2485 | + function wrap(t, e, r, n) { | |
| 2486 | + var i = e && e.prototype instanceof Generator ? e : Generator, | |
| 2487 | + a = Object.create(i.prototype), | |
| 2488 | + c = new Context(n || []); | |
| 2489 | + return o(a, "_invoke", { | |
| 2490 | + value: makeInvokeMethod(t, r, c) | |
| 2491 | + }), a; | |
| 2492 | + } | |
| 2493 | + function tryCatch(t, e, r) { | |
| 2494 | + try { | |
| 2495 | + return { | |
| 2496 | + type: "normal", | |
| 2497 | + arg: t.call(e, r) | |
| 2477 | 2498 | }; |
| 2478 | - }(r, o, i), !0), u; | |
| 2499 | + } catch (t) { | |
| 2500 | + return { | |
| 2501 | + type: "throw", | |
| 2502 | + arg: t | |
| 2503 | + }; | |
| 2504 | + } | |
| 2479 | 2505 | } |
| 2480 | - var a = {}; | |
| 2506 | + e.wrap = wrap; | |
| 2507 | + var h = "suspendedStart", | |
| 2508 | + l = "suspendedYield", | |
| 2509 | + f = "executing", | |
| 2510 | + s = "completed", | |
| 2511 | + y = {}; | |
| 2481 | 2512 | function Generator() {} |
| 2482 | 2513 | function GeneratorFunction() {} |
| 2483 | 2514 | function GeneratorFunctionPrototype() {} |
| 2484 | - t = Object.getPrototypeOf; | |
| 2485 | - var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function () { | |
| 2486 | - return this; | |
| 2487 | - }), t), | |
| 2488 | - u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); | |
| 2489 | - function f(e) { | |
| 2490 | - return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; | |
| 2491 | - } | |
| 2492 | - return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), regeneratorDefine(u), regeneratorDefine(u, o, "Generator"), regeneratorDefine(u, n, function () { | |
| 2515 | + var p = {}; | |
| 2516 | + define(p, a, function () { | |
| 2493 | 2517 | return this; |
| 2494 | - }), regeneratorDefine(u, "toString", function () { | |
| 2495 | - return "[object Generator]"; | |
| 2496 | - }), (module.exports = _regenerator = function _regenerator() { | |
| 2497 | - return { | |
| 2498 | - w: i, | |
| 2499 | - m: f | |
| 2500 | - }; | |
| 2501 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 2502 | -} | |
| 2503 | -module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2504 | - | |
| 2505 | -/***/ }), | |
| 2506 | - | |
| 2507 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsync.js": | |
| 2508 | -/*!******************************************************************!*\ | |
| 2509 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorAsync.js ***! | |
| 2510 | - \******************************************************************/ | |
| 2511 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2512 | - | |
| 2513 | -var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js"); | |
| 2514 | -function _regeneratorAsync(n, e, r, t, o) { | |
| 2515 | - var a = regeneratorAsyncGen(n, e, r, t, o); | |
| 2516 | - return a.next().then(function (n) { | |
| 2517 | - return n.done ? n.value : a.next(); | |
| 2518 | 2518 | }); |
| 2519 | -} | |
| 2520 | -module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2521 | - | |
| 2522 | -/***/ }), | |
| 2523 | - | |
| 2524 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js": | |
| 2525 | -/*!*********************************************************************!*\ | |
| 2526 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js ***! | |
| 2527 | - \*********************************************************************/ | |
| 2528 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2529 | - | |
| 2530 | -var regenerator = __webpack_require__(/*! ./regenerator.js */ "../node_modules/@babel/runtime/helpers/regenerator.js"); | |
| 2531 | -var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js"); | |
| 2532 | -function _regeneratorAsyncGen(r, e, t, o, n) { | |
| 2533 | - return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise); | |
| 2534 | -} | |
| 2535 | -module.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2536 | - | |
| 2537 | -/***/ }), | |
| 2538 | - | |
| 2539 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js": | |
| 2540 | -/*!**************************************************************************!*\ | |
| 2541 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js ***! | |
| 2542 | - \**************************************************************************/ | |
| 2543 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2544 | - | |
| 2545 | -var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ "../node_modules/@babel/runtime/helpers/OverloadYield.js"); | |
| 2546 | -var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js"); | |
| 2547 | -function AsyncIterator(t, e) { | |
| 2548 | - function n(r, o, i, f) { | |
| 2549 | - try { | |
| 2550 | - var c = t[r](o), | |
| 2551 | - u = c.value; | |
| 2552 | - return u instanceof OverloadYield ? e.resolve(u.v).then(function (t) { | |
| 2553 | - n("next", t, i, f); | |
| 2554 | - }, function (t) { | |
| 2555 | - n("throw", t, i, f); | |
| 2556 | - }) : e.resolve(u).then(function (t) { | |
| 2557 | - c.value = t, i(c); | |
| 2558 | - }, function (t) { | |
| 2559 | - return n("throw", t, i, f); | |
| 2519 | + var d = Object.getPrototypeOf, | |
| 2520 | + v = d && d(d(values([]))); | |
| 2521 | + v && v !== r && n.call(v, a) && (p = v); | |
| 2522 | + var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); | |
| 2523 | + function defineIteratorMethods(t) { | |
| 2524 | + ["next", "throw", "return"].forEach(function (e) { | |
| 2525 | + define(t, e, function (t) { | |
| 2526 | + return this._invoke(e, t); | |
| 2560 | 2527 | }); |
| 2561 | - } catch (t) { | |
| 2562 | - f(t); | |
| 2563 | - } | |
| 2528 | + }); | |
| 2564 | 2529 | } |
| 2565 | - var r; | |
| 2566 | - this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () { | |
| 2567 | - return this; | |
| 2568 | - })), regeneratorDefine(this, "_invoke", function (t, o, i) { | |
| 2569 | - function f() { | |
| 2570 | - return new e(function (e, r) { | |
| 2571 | - n(t, i, e, r); | |
| 2572 | - }); | |
| 2530 | + function AsyncIterator(t, e) { | |
| 2531 | + function invoke(r, o, i, a) { | |
| 2532 | + var c = tryCatch(t[r], t, o); | |
| 2533 | + if ("throw" !== c.type) { | |
| 2534 | + var u = c.arg, | |
| 2535 | + h = u.value; | |
| 2536 | + return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { | |
| 2537 | + invoke("next", t, i, a); | |
| 2538 | + }, function (t) { | |
| 2539 | + invoke("throw", t, i, a); | |
| 2540 | + }) : e.resolve(h).then(function (t) { | |
| 2541 | + u.value = t, i(u); | |
| 2542 | + }, function (t) { | |
| 2543 | + return invoke("throw", t, i, a); | |
| 2544 | + }); | |
| 2545 | + } | |
| 2546 | + a(c.arg); | |
| 2573 | 2547 | } |
| 2574 | - return r = r ? r.then(f, f) : f(); | |
| 2575 | - }, !0); | |
| 2576 | -} | |
| 2577 | -module.exports = AsyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2578 | - | |
| 2579 | -/***/ }), | |
| 2580 | - | |
| 2581 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js": | |
| 2582 | -/*!*******************************************************************!*\ | |
| 2583 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorDefine.js ***! | |
| 2584 | - \*******************************************************************/ | |
| 2585 | -/***/ ((module) => { | |
| 2586 | - | |
| 2587 | -function _regeneratorDefine(e, r, n, t) { | |
| 2588 | - var i = Object.defineProperty; | |
| 2589 | - try { | |
| 2590 | - i({}, "", {}); | |
| 2591 | - } catch (e) { | |
| 2592 | - i = 0; | |
| 2548 | + var r; | |
| 2549 | + o(this, "_invoke", { | |
| 2550 | + value: function value(t, n) { | |
| 2551 | + function callInvokeWithMethodAndArg() { | |
| 2552 | + return new e(function (e, r) { | |
| 2553 | + invoke(t, n, e, r); | |
| 2554 | + }); | |
| 2555 | + } | |
| 2556 | + return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); | |
| 2557 | + } | |
| 2558 | + }); | |
| 2593 | 2559 | } |
| 2594 | - module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) { | |
| 2595 | - function o(r, n) { | |
| 2596 | - _regeneratorDefine(e, r, function (e) { | |
| 2597 | - return this._invoke(r, n, e); | |
| 2598 | - }); | |
| 2599 | - } | |
| 2600 | - r ? i ? i(e, r, { | |
| 2601 | - value: n, | |
| 2602 | - enumerable: !t, | |
| 2603 | - configurable: !t, | |
| 2604 | - writable: !t | |
| 2605 | - }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); | |
| 2606 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _regeneratorDefine(e, r, n, t); | |
| 2607 | -} | |
| 2608 | -module.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2609 | - | |
| 2610 | -/***/ }), | |
| 2611 | - | |
| 2612 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorKeys.js": | |
| 2613 | -/*!*****************************************************************!*\ | |
| 2614 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorKeys.js ***! | |
| 2615 | - \*****************************************************************/ | |
| 2616 | -/***/ ((module) => { | |
| 2617 | - | |
| 2618 | -function _regeneratorKeys(e) { | |
| 2619 | - var n = Object(e), | |
| 2620 | - r = []; | |
| 2621 | - for (var t in n) r.unshift(t); | |
| 2622 | - return function e() { | |
| 2623 | - for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e; | |
| 2624 | - return e.done = !0, e; | |
| 2625 | - }; | |
| 2626 | -} | |
| 2627 | -module.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2628 | - | |
| 2629 | -/***/ }), | |
| 2630 | - | |
| 2631 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js": | |
| 2632 | -/*!********************************************************************!*\ | |
| 2633 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! | |
| 2634 | - \********************************************************************/ | |
| 2635 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2636 | - | |
| 2637 | -var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ "../node_modules/@babel/runtime/helpers/OverloadYield.js"); | |
| 2638 | -var regenerator = __webpack_require__(/*! ./regenerator.js */ "../node_modules/@babel/runtime/helpers/regenerator.js"); | |
| 2639 | -var regeneratorAsync = __webpack_require__(/*! ./regeneratorAsync.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsync.js"); | |
| 2640 | -var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js"); | |
| 2641 | -var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js"); | |
| 2642 | -var regeneratorKeys = __webpack_require__(/*! ./regeneratorKeys.js */ "../node_modules/@babel/runtime/helpers/regeneratorKeys.js"); | |
| 2643 | -var regeneratorValues = __webpack_require__(/*! ./regeneratorValues.js */ "../node_modules/@babel/runtime/helpers/regeneratorValues.js"); | |
| 2644 | -function _regeneratorRuntime() { | |
| 2645 | - "use strict"; | |
| 2646 | - | |
| 2647 | - var r = regenerator(), | |
| 2648 | - e = r.m(_regeneratorRuntime), | |
| 2649 | - t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor; | |
| 2650 | - function n(r) { | |
| 2651 | - var e = "function" == typeof r && r.constructor; | |
| 2652 | - return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name)); | |
| 2653 | - } | |
| 2654 | - var o = { | |
| 2655 | - "throw": 1, | |
| 2656 | - "return": 2, | |
| 2657 | - "break": 3, | |
| 2658 | - "continue": 3 | |
| 2659 | - }; | |
| 2660 | - function a(r) { | |
| 2661 | - var e, t; | |
| 2662 | - return function (n) { | |
| 2663 | - e || (e = { | |
| 2664 | - stop: function stop() { | |
| 2665 | - return t(n.a, 2); | |
| 2666 | - }, | |
| 2667 | - "catch": function _catch() { | |
| 2668 | - return n.v; | |
| 2669 | - }, | |
| 2670 | - abrupt: function abrupt(r, e) { | |
| 2671 | - return t(n.a, o[r], e); | |
| 2672 | - }, | |
| 2673 | - delegateYield: function delegateYield(r, o, a) { | |
| 2674 | - return e.resultName = o, t(n.d, regeneratorValues(r), a); | |
| 2675 | - }, | |
| 2676 | - finish: function finish(r) { | |
| 2677 | - return t(n.f, r); | |
| 2560 | + function makeInvokeMethod(e, r, n) { | |
| 2561 | + var o = h; | |
| 2562 | + return function (i, a) { | |
| 2563 | + if (o === f) throw new Error("Generator is already running"); | |
| 2564 | + if (o === s) { | |
| 2565 | + if ("throw" === i) throw a; | |
| 2566 | + return { | |
| 2567 | + value: t, | |
| 2568 | + done: !0 | |
| 2569 | + }; | |
| 2570 | + } | |
| 2571 | + for (n.method = i, n.arg = a;;) { | |
| 2572 | + var c = n.delegate; | |
| 2573 | + if (c) { | |
| 2574 | + var u = maybeInvokeDelegate(c, n); | |
| 2575 | + if (u) { | |
| 2576 | + if (u === y) continue; | |
| 2577 | + return u; | |
| 2578 | + } | |
| 2678 | 2579 | } |
| 2679 | - }, t = function t(r, _t, o) { | |
| 2680 | - n.p = e.prev, n.n = e.next; | |
| 2681 | - try { | |
| 2682 | - return r(_t, o); | |
| 2683 | - } finally { | |
| 2684 | - e.next = n.n; | |
| 2580 | + if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { | |
| 2581 | + if (o === h) throw o = s, n.arg; | |
| 2582 | + n.dispatchException(n.arg); | |
| 2583 | + } else "return" === n.method && n.abrupt("return", n.arg); | |
| 2584 | + o = f; | |
| 2585 | + var p = tryCatch(e, r, n); | |
| 2586 | + if ("normal" === p.type) { | |
| 2587 | + if (o = n.done ? s : l, p.arg === y) continue; | |
| 2588 | + return { | |
| 2589 | + value: p.arg, | |
| 2590 | + done: n.done | |
| 2591 | + }; | |
| 2685 | 2592 | } |
| 2686 | - }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n; | |
| 2687 | - try { | |
| 2688 | - return r.call(this, e); | |
| 2689 | - } finally { | |
| 2690 | - n.p = e.prev, n.n = e.next; | |
| 2593 | + "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); | |
| 2691 | 2594 | } |
| 2692 | 2595 | }; |
| 2693 | 2596 | } |
| 2694 | - return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() { | |
| 2597 | + function maybeInvokeDelegate(e, r) { | |
| 2598 | + var n = r.method, | |
| 2599 | + o = e.iterator[n]; | |
| 2600 | + if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; | |
| 2601 | + var i = tryCatch(o, e.iterator, r.arg); | |
| 2602 | + if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; | |
| 2603 | + var a = i.arg; | |
| 2604 | + return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); | |
| 2605 | + } | |
| 2606 | + function pushTryEntry(t) { | |
| 2607 | + var e = { | |
| 2608 | + tryLoc: t[0] | |
| 2609 | + }; | |
| 2610 | + 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); | |
| 2611 | + } | |
| 2612 | + function resetTryEntry(t) { | |
| 2613 | + var e = t.completion || {}; | |
| 2614 | + e.type = "normal", delete e.arg, t.completion = e; | |
| 2615 | + } | |
| 2616 | + function Context(t) { | |
| 2617 | + this.tryEntries = [{ | |
| 2618 | + tryLoc: "root" | |
| 2619 | + }], t.forEach(pushTryEntry, this), this.reset(!0); | |
| 2620 | + } | |
| 2621 | + function values(e) { | |
| 2622 | + if (e || "" === e) { | |
| 2623 | + var r = e[a]; | |
| 2624 | + if (r) return r.call(e); | |
| 2625 | + if ("function" == typeof e.next) return e; | |
| 2626 | + if (!isNaN(e.length)) { | |
| 2627 | + var o = -1, | |
| 2628 | + i = function next() { | |
| 2629 | + for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; | |
| 2630 | + return next.value = t, next.done = !0, next; | |
| 2631 | + }; | |
| 2632 | + return i.next = i; | |
| 2633 | + } | |
| 2634 | + } | |
| 2635 | + throw new TypeError(_typeof(e) + " is not iterable"); | |
| 2636 | + } | |
| 2637 | + return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { | |
| 2638 | + value: GeneratorFunctionPrototype, | |
| 2639 | + configurable: !0 | |
| 2640 | + }), o(GeneratorFunctionPrototype, "constructor", { | |
| 2641 | + value: GeneratorFunction, | |
| 2642 | + configurable: !0 | |
| 2643 | + }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { | |
| 2644 | + var e = "function" == typeof t && t.constructor; | |
| 2645 | + return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); | |
| 2646 | + }, e.mark = function (t) { | |
| 2647 | + return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; | |
| 2648 | + }, e.awrap = function (t) { | |
| 2695 | 2649 | return { |
| 2696 | - wrap: function wrap(e, t, n, o) { | |
| 2697 | - return r.w(a(e), t, n, o && o.reverse()); | |
| 2698 | - }, | |
| 2699 | - isGeneratorFunction: n, | |
| 2700 | - mark: r.m, | |
| 2701 | - awrap: function awrap(r, e) { | |
| 2702 | - return new OverloadYield(r, e); | |
| 2703 | - }, | |
| 2704 | - AsyncIterator: regeneratorAsyncIterator, | |
| 2705 | - async: function async(r, e, t, o, u) { | |
| 2706 | - return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u); | |
| 2707 | - }, | |
| 2708 | - keys: regeneratorKeys, | |
| 2709 | - values: regeneratorValues | |
| 2650 | + __await: t | |
| 2710 | 2651 | }; |
| 2711 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 2712 | -} | |
| 2713 | -module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2714 | - | |
| 2715 | -/***/ }), | |
| 2716 | - | |
| 2717 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorValues.js": | |
| 2718 | -/*!*******************************************************************!*\ | |
| 2719 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorValues.js ***! | |
| 2720 | - \*******************************************************************/ | |
| 2721 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 2722 | - | |
| 2723 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 2724 | -function _regeneratorValues(e) { | |
| 2725 | - if (null != e) { | |
| 2726 | - var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"], | |
| 2727 | - r = 0; | |
| 2728 | - if (t) return t.call(e); | |
| 2729 | - if ("function" == typeof e.next) return e; | |
| 2730 | - if (!isNaN(e.length)) return { | |
| 2731 | - next: function next() { | |
| 2732 | - return e && r >= e.length && (e = void 0), { | |
| 2733 | - value: e && e[r++], | |
| 2734 | - done: !e | |
| 2735 | - }; | |
| 2652 | + }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { | |
| 2653 | + return this; | |
| 2654 | + }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { | |
| 2655 | + void 0 === i && (i = Promise); | |
| 2656 | + var a = new AsyncIterator(wrap(t, r, n, o), i); | |
| 2657 | + return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { | |
| 2658 | + return t.done ? t.value : a.next(); | |
| 2659 | + }); | |
| 2660 | + }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { | |
| 2661 | + return this; | |
| 2662 | + }), define(g, "toString", function () { | |
| 2663 | + return "[object Generator]"; | |
| 2664 | + }), e.keys = function (t) { | |
| 2665 | + var e = Object(t), | |
| 2666 | + r = []; | |
| 2667 | + for (var n in e) r.push(n); | |
| 2668 | + return r.reverse(), function next() { | |
| 2669 | + for (; r.length;) { | |
| 2670 | + var t = r.pop(); | |
| 2671 | + if (t in e) return next.value = t, next.done = !1, next; | |
| 2736 | 2672 | } |
| 2673 | + return next.done = !0, next; | |
| 2737 | 2674 | }; |
| 2738 | - } | |
| 2739 | - throw new TypeError(_typeof(e) + " is not iterable"); | |
| 2675 | + }, e.values = values, Context.prototype = { | |
| 2676 | + constructor: Context, | |
| 2677 | + reset: function reset(e) { | |
| 2678 | + if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); | |
| 2679 | + }, | |
| 2680 | + stop: function stop() { | |
| 2681 | + this.done = !0; | |
| 2682 | + var t = this.tryEntries[0].completion; | |
| 2683 | + if ("throw" === t.type) throw t.arg; | |
| 2684 | + return this.rval; | |
| 2685 | + }, | |
| 2686 | + dispatchException: function dispatchException(e) { | |
| 2687 | + if (this.done) throw e; | |
| 2688 | + var r = this; | |
| 2689 | + function handle(n, o) { | |
| 2690 | + return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; | |
| 2691 | + } | |
| 2692 | + for (var o = this.tryEntries.length - 1; o >= 0; --o) { | |
| 2693 | + var i = this.tryEntries[o], | |
| 2694 | + a = i.completion; | |
| 2695 | + if ("root" === i.tryLoc) return handle("end"); | |
| 2696 | + if (i.tryLoc <= this.prev) { | |
| 2697 | + var c = n.call(i, "catchLoc"), | |
| 2698 | + u = n.call(i, "finallyLoc"); | |
| 2699 | + if (c && u) { | |
| 2700 | + if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); | |
| 2701 | + if (this.prev < i.finallyLoc) return handle(i.finallyLoc); | |
| 2702 | + } else if (c) { | |
| 2703 | + if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); | |
| 2704 | + } else { | |
| 2705 | + if (!u) throw new Error("try statement without catch or finally"); | |
| 2706 | + if (this.prev < i.finallyLoc) return handle(i.finallyLoc); | |
| 2707 | + } | |
| 2708 | + } | |
| 2709 | + } | |
| 2710 | + }, | |
| 2711 | + abrupt: function abrupt(t, e) { | |
| 2712 | + for (var r = this.tryEntries.length - 1; r >= 0; --r) { | |
| 2713 | + var o = this.tryEntries[r]; | |
| 2714 | + if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { | |
| 2715 | + var i = o; | |
| 2716 | + break; | |
| 2717 | + } | |
| 2718 | + } | |
| 2719 | + i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); | |
| 2720 | + var a = i ? i.completion : {}; | |
| 2721 | + return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); | |
| 2722 | + }, | |
| 2723 | + complete: function complete(t, e) { | |
| 2724 | + if ("throw" === t.type) throw t.arg; | |
| 2725 | + return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; | |
| 2726 | + }, | |
| 2727 | + finish: function finish(t) { | |
| 2728 | + for (var e = this.tryEntries.length - 1; e >= 0; --e) { | |
| 2729 | + var r = this.tryEntries[e]; | |
| 2730 | + if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; | |
| 2731 | + } | |
| 2732 | + }, | |
| 2733 | + "catch": function _catch(t) { | |
| 2734 | + for (var e = this.tryEntries.length - 1; e >= 0; --e) { | |
| 2735 | + var r = this.tryEntries[e]; | |
| 2736 | + if (r.tryLoc === t) { | |
| 2737 | + var n = r.completion; | |
| 2738 | + if ("throw" === n.type) { | |
| 2739 | + var o = n.arg; | |
| 2740 | + resetTryEntry(r); | |
| 2741 | + } | |
| 2742 | + return o; | |
| 2743 | + } | |
| 2744 | + } | |
| 2745 | + throw new Error("illegal catch attempt"); | |
| 2746 | + }, | |
| 2747 | + delegateYield: function delegateYield(e, r, n) { | |
| 2748 | + return this.delegate = { | |
| 2749 | + iterator: values(e), | |
| 2750 | + resultName: r, | |
| 2751 | + nextLoc: n | |
| 2752 | + }, "next" === this.method && (this.arg = t), y; | |
| 2753 | + } | |
| 2754 | + }, e; | |
| 2740 | 2755 | } |
| 2741 | -module.exports = _regeneratorValues, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2756 | +module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2742 | 2757 | |
| 2743 | 2758 | /***/ }), |
| 2744 | 2759 | |
| 2745 | 2760 | /***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": |
| @@ -2747,12 +2762,14 @@ | ||
| 2747 | 2762 | !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! |
| 2748 | 2763 | \****************************************************************/ |
| 2749 | 2764 | /***/ ((module) => { |
| 2750 | 2765 | |
| 2751 | -function _setPrototypeOf(t, e) { | |
| 2752 | - return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | |
| 2753 | - return t.__proto__ = e, t; | |
| 2754 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); | |
| 2766 | +function _setPrototypeOf(o, p) { | |
| 2767 | + module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | |
| 2768 | + o.__proto__ = p; | |
| 2769 | + return o; | |
| 2770 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2771 | + return _setPrototypeOf(o, p); | |
| 2755 | 2772 | } |
| 2756 | 2773 | module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2757 | 2774 | |
| 2758 | 2775 | /***/ }), |
| @@ -2766,10 +2783,10 @@ | ||
| 2766 | 2783 | var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); |
| 2767 | 2784 | var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); |
| 2768 | 2785 | var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); |
| 2769 | 2786 | var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js"); |
| 2770 | -function _slicedToArray(r, e) { | |
| 2771 | - return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest(); | |
| 2787 | +function _slicedToArray(arr, i) { | |
| 2788 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 2772 | 2789 | } |
| 2773 | 2790 | module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2774 | 2791 | |
| 2775 | 2792 | /***/ }), |
| @@ -2780,11 +2797,14 @@ | ||
| 2780 | 2797 | \***************************************************************/ |
| 2781 | 2798 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2782 | 2799 | |
| 2783 | 2800 | var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); |
| 2784 | -function _superPropBase(t, o) { | |
| 2785 | - for (; !{}.hasOwnProperty.call(t, o) && null !== (t = getPrototypeOf(t));); | |
| 2786 | - return t; | |
| 2801 | +function _superPropBase(object, property) { | |
| 2802 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 2803 | + object = getPrototypeOf(object); | |
| 2804 | + if (object === null) break; | |
| 2805 | + } | |
| 2806 | + return object; | |
| 2787 | 2807 | } |
| 2788 | 2808 | module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2789 | 2809 | |
| 2790 | 2810 | /***/ }), |
| @@ -2819,9 +2839,9 @@ | ||
| 2819 | 2839 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 2820 | 2840 | var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); |
| 2821 | 2841 | function toPropertyKey(t) { |
| 2822 | 2842 | var i = toPrimitive(t, "string"); |
| 2823 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 2843 | + return "symbol" == _typeof(i) ? i : String(i); | |
| 2824 | 2844 | } |
| 2825 | 2845 | module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2826 | 2846 | |
| 2827 | 2847 | /***/ }), |
| @@ -2834,13 +2854,13 @@ | ||
| 2834 | 2854 | |
| 2835 | 2855 | function _typeof(o) { |
| 2836 | 2856 | "@babel/helpers - typeof"; |
| 2837 | 2857 | |
| 2838 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 2858 | + return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 2839 | 2859 | return typeof o; |
| 2840 | 2860 | } : function (o) { |
| 2841 | 2861 | return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; |
| 2842 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 2862 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o); | |
| 2843 | 2863 | } |
| 2844 | 2864 | module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2845 | 2865 | |
| 2846 | 2866 | /***/ }), |
| @@ -2851,14 +2871,15 @@ | ||
| 2851 | 2871 | \****************************************************************************/ |
| 2852 | 2872 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 2853 | 2873 | |
| 2854 | 2874 | var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); |
| 2855 | -function _unsupportedIterableToArray(r, a) { | |
| 2856 | - if (r) { | |
| 2857 | - if ("string" == typeof r) return arrayLikeToArray(r, a); | |
| 2858 | - var t = {}.toString.call(r).slice(8, -1); | |
| 2859 | - 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; | |
| 2860 | - } | |
| 2875 | +function _unsupportedIterableToArray(o, minLen) { | |
| 2876 | + if (!o) return; | |
| 2877 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 2878 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 2879 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 2880 | + if (n === "Map" || n === "Set") return Array.from(o); | |
| 2881 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 2861 | 2882 | } |
| 2862 | 2883 | module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2863 | 2884 | |
| 2864 | 2885 | /***/ }), |
| @@ -2872,29 +2893,33 @@ | ||
| 2872 | 2893 | var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); |
| 2873 | 2894 | var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); |
| 2874 | 2895 | var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../node_modules/@babel/runtime/helpers/isNativeFunction.js"); |
| 2875 | 2896 | var construct = __webpack_require__(/*! ./construct.js */ "../node_modules/@babel/runtime/helpers/construct.js"); |
| 2876 | -function _wrapNativeSuper(t) { | |
| 2877 | - var r = "function" == typeof Map ? new Map() : void 0; | |
| 2878 | - return module.exports = _wrapNativeSuper = function _wrapNativeSuper(t) { | |
| 2879 | - if (null === t || !isNativeFunction(t)) return t; | |
| 2880 | - if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); | |
| 2881 | - if (void 0 !== r) { | |
| 2882 | - if (r.has(t)) return r.get(t); | |
| 2883 | - r.set(t, Wrapper); | |
| 2897 | +function _wrapNativeSuper(Class) { | |
| 2898 | + var _cache = typeof Map === "function" ? new Map() : undefined; | |
| 2899 | + module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { | |
| 2900 | + if (Class === null || !isNativeFunction(Class)) return Class; | |
| 2901 | + if (typeof Class !== "function") { | |
| 2902 | + throw new TypeError("Super expression must either be null or a function"); | |
| 2884 | 2903 | } |
| 2904 | + if (typeof _cache !== "undefined") { | |
| 2905 | + if (_cache.has(Class)) return _cache.get(Class); | |
| 2906 | + _cache.set(Class, Wrapper); | |
| 2907 | + } | |
| 2885 | 2908 | function Wrapper() { |
| 2886 | - return construct(t, arguments, getPrototypeOf(this).constructor); | |
| 2909 | + return construct(Class, arguments, getPrototypeOf(this).constructor); | |
| 2887 | 2910 | } |
| 2888 | - return Wrapper.prototype = Object.create(t.prototype, { | |
| 2911 | + Wrapper.prototype = Object.create(Class.prototype, { | |
| 2889 | 2912 | constructor: { |
| 2890 | 2913 | value: Wrapper, |
| 2891 | - enumerable: !1, | |
| 2892 | - writable: !0, | |
| 2893 | - configurable: !0 | |
| 2914 | + enumerable: false, | |
| 2915 | + writable: true, | |
| 2916 | + configurable: true | |
| 2894 | 2917 | } |
| 2895 | - }), setPrototypeOf(Wrapper, t); | |
| 2896 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _wrapNativeSuper(t); | |
| 2918 | + }); | |
| 2919 | + return setPrototypeOf(Wrapper, Class); | |
| 2920 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 2921 | + return _wrapNativeSuper(Class); | |
| 2897 | 2922 | } |
| 2898 | 2923 | module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 2899 | 2924 | |
| 2900 | 2925 | /***/ }), |
| @@ -2921,19 +2946,8 @@ | ||
| 2921 | 2946 | } |
| 2922 | 2947 | } |
| 2923 | 2948 | |
| 2924 | 2949 | |
| 2925 | -/***/ }), | |
| 2926 | - | |
| 2927 | -/***/ "@wordpress/i18n": | |
| 2928 | -/*!**************************!*\ | |
| 2929 | - !*** external "wp.i18n" ***! | |
| 2930 | - \**************************/ | |
| 2931 | -/***/ ((module) => { | |
| 2932 | - | |
| 2933 | -"use strict"; | |
| 2934 | -module.exports = wp.i18n; | |
| 2935 | - | |
| 2936 | 2950 | /***/ }) |
| 2937 | 2951 | |
| 2938 | 2952 | /******/ }); |
| 2939 | 2953 | /************************************************************************/ |
| @@ -2962,9 +2976,9 @@ | ||
| 2962 | 2976 | /******/ } |
| 2963 | 2977 | /******/ |
| 2964 | 2978 | /************************************************************************/ |
| 2965 | 2979 | var __webpack_exports__ = {}; |
| 2966 | -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. | |
| 2980 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 2967 | 2981 | (() => { |
| 2968 | 2982 | "use strict"; |
| 2969 | 2983 | /*!******************************************!*\ |
| 2970 | 2984 | !*** ../assets/dev/js/editor/modules.js ***! |