PluginProbe
Elementor Website Builder – more than just a page builder / 3.13.2
Elementor Website Builder – more than just a page builder v3.13.2
4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | assets/js/editor-document.js +255 -196 4.1.0-dev23.13.2 View file →
@@ -1,4 +1,5 @@
1 +/*! elementor - v3.13.2 - 11-05-2023 */
1 2 /******/ (() => { // webpackBootstrap
2 3 /******/ var __webpack_modules__ = ({
3 4
4 5 /***/ "../assets/dev/js/editor/command-bases/command-container-base.js":
@@ -16,24 +17,25 @@
16 17 }));
17 18 exports["default"] = void 0;
18 19 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
19 20 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
21 +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
20 22 var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
21 23 var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
22 -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
23 24 var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js"));
24 -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)); }
25 -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
25 +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); }; }
26 +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; } }
26 27 /**
27 28 * @name $e.modules.editor.CommandContainerBase
28 29 */
29 -var CommandContainerBase = exports["default"] = /*#__PURE__*/function (_CommandBase) {
30 +var CommandContainerBase = /*#__PURE__*/function (_CommandBase) {
31 + (0, _inherits2.default)(CommandContainerBase, _CommandBase);
32 + var _super = _createSuper(CommandContainerBase);
30 33 function CommandContainerBase() {
31 34 (0, _classCallCheck2.default)(this, CommandContainerBase);
32 - return _callSuper(this, CommandContainerBase, arguments);
35 + return _super.apply(this, arguments);
33 36 }
34 - (0, _inherits2.default)(CommandContainerBase, _CommandBase);
35 - return (0, _createClass2.default)(CommandContainerBase, [{
37 + (0, _createClass2.default)(CommandContainerBase, [{
36 38 key: "requireContainer",
37 39 value:
38 40 /**
39 41 * Function requireContainer().
@@ -65,9 +67,11 @@
65 67 value: function getInstanceType() {
66 68 return 'CommandContainerBase';
67 69 }
68 70 }]);
71 + return CommandContainerBase;
69 72 }(_commandBase.default);
73 +exports["default"] = CommandContainerBase;
70 74
71 75 /***/ }),
72 76
73 77 /***/ "../assets/dev/js/editor/command-bases/command-container-internal-base.js":
@@ -85,30 +89,33 @@
85 89 }));
86 90 exports["default"] = void 0;
87 91 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
88 92 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
93 +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
89 94 var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
90 95 var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
91 -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
92 96 var _commandContainerBase = _interopRequireDefault(__webpack_require__(/*! ./command-container-base */ "../assets/dev/js/editor/command-bases/command-container-base.js"));
93 -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)); }
94 -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
97 +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); }; }
98 +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; } }
95 99 /**
96 100 * @name $e.modules.editor.CommandContainerInternalBase
97 101 */
98 -var CommandContainerInternalBase = exports["default"] = /*#__PURE__*/function (_CommandContainerBase) {
102 +var CommandContainerInternalBase = /*#__PURE__*/function (_CommandContainerBase) {
103 + (0, _inherits2.default)(CommandContainerInternalBase, _CommandContainerBase);
104 + var _super = _createSuper(CommandContainerInternalBase);
99 105 function CommandContainerInternalBase(args) {
100 106 (0, _classCallCheck2.default)(this, CommandContainerInternalBase);
101 - return _callSuper(this, CommandContainerInternalBase, [args, $e.commandsInternal]);
107 + return _super.call(this, args, $e.commandsInternal);
102 108 }
103 - (0, _inherits2.default)(CommandContainerInternalBase, _CommandContainerBase);
104 - return (0, _createClass2.default)(CommandContainerInternalBase, null, [{
109 + (0, _createClass2.default)(CommandContainerInternalBase, null, [{
105 110 key: "getInstanceType",
106 111 value: function getInstanceType() {
107 112 return 'CommandContainerInternalBase';
108 113 }
109 114 }]);
115 + return CommandContainerInternalBase;
110 116 }(_commandContainerBase.default);
117 +exports["default"] = CommandContainerInternalBase;
111 118
112 119 /***/ }),
113 120
114 121 /***/ "../assets/dev/js/editor/document/command-bases/command-history-base.js":
@@ -126,26 +133,26 @@
126 133 }));
127 134 exports["default"] = void 0;
128 135 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
129 136 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
137 +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
138 +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
130 139 var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
131 140 var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
132 -var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
133 -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
134 141 var _commandContainerBase = _interopRequireDefault(__webpack_require__(/*! elementor-editor/command-bases/command-container-base */ "../assets/dev/js/editor/command-bases/command-container-base.js"));
135 -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)); }
136 -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
137 -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; }
142 +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); }; }
143 +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; } }
138 144 /**
139 145 * @name $e.modules.editor.document.CommandHistoryBase
140 146 */
141 -var CommandHistoryBase = exports["default"] = /*#__PURE__*/function (_CommandContainerBase) {
147 +var CommandHistoryBase = /*#__PURE__*/function (_CommandContainerBase) {
148 + (0, _inherits2.default)(CommandHistoryBase, _CommandContainerBase);
149 + var _super = _createSuper(CommandHistoryBase);
142 150 function CommandHistoryBase() {
143 151 (0, _classCallCheck2.default)(this, CommandHistoryBase);
144 - return _callSuper(this, CommandHistoryBase, arguments);
152 + return _super.apply(this, arguments);
145 153 }
146 - (0, _inherits2.default)(CommandHistoryBase, _CommandContainerBase);
147 - return (0, _createClass2.default)(CommandHistoryBase, [{
154 + (0, _createClass2.default)(CommandHistoryBase, [{
148 155 key: "initialize",
149 156 value: function initialize() {
150 157 var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
151 158 var _args$options = args.options,
@@ -199,9 +206,9 @@
199 206 }
200 207 }, {
201 208 key: "onBeforeRun",
202 209 value: function onBeforeRun(args) {
203 - _superPropGet(CommandHistoryBase, "onBeforeRun", this, 3)([args]);
210 + (0, _get2.default)((0, _getPrototypeOf2.default)(CommandHistoryBase.prototype), "onBeforeRun", this).call(this, args);
204 211 if (this.history && this.isHistoryActive()) {
205 212 this.historyId = $e.internal('document/history/start-log', this.history);
206 213 }
207 214 }
@@ -207,9 +214,9 @@
207 214 }
208 215 }, {
209 216 key: "onAfterRun",
210 217 value: function onAfterRun(args, result) {
211 - _superPropGet(CommandHistoryBase, "onAfterRun", this, 3)([args, result]);
218 + (0, _get2.default)((0, _getPrototypeOf2.default)(CommandHistoryBase.prototype), "onAfterRun", this).call(this, args, result);
212 219 if (this.history && this.isHistoryActive()) {
213 220 $e.internal('document/history/end-log', {
214 221 id: this.historyId
215 222 });
@@ -219,9 +226,9 @@
219 226 key: "onAfterApply",
220 227 value: function onAfterApply() {
221 228 var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
222 229 var result = arguments.length > 1 ? arguments[1] : undefined;
223 - _superPropGet(CommandHistoryBase, "onAfterApply", this, 3)([args, result]);
230 + (0, _get2.default)((0, _getPrototypeOf2.default)(CommandHistoryBase.prototype), "onAfterApply", this).call(this, args, result);
224 231 if (this.isDataChanged()) {
225 232 $e.internal('document/save/set-is-modified', {
226 233 status: true
227 234 });
@@ -235,9 +242,9 @@
235 242 $e.internal('document/history/delete-log', {
236 243 id: this.historyId
237 244 });
238 245 }
239 - _superPropGet(CommandHistoryBase, "onCatchApply", this, 3)([e]);
246 + (0, _get2.default)((0, _getPrototypeOf2.default)(CommandHistoryBase.prototype), "onCatchApply", this).call(this, e);
240 247 }
241 248 }, {
242 249 key: "isDataChanged",
243 250 value: function isDataChanged() {
@@ -249,9 +256,11 @@
249 256 value: function getInstanceType() {
250 257 return 'CommandHistoryBase';
251 258 }
252 259 }]);
260 + return CommandHistoryBase;
253 261 }(_commandContainerBase.default);
262 +exports["default"] = CommandHistoryBase;
254 263
255 264 /***/ }),
256 265
257 266 /***/ "../assets/dev/js/editor/document/command-bases/command-history-debounce-base.js":
@@ -269,18 +278,17 @@
269 278 }));
270 279 exports.getDefaultDebounceDelay = exports["default"] = exports.DEFAULT_DEBOUNCE_DELAY = void 0;
271 280 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
272 281 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
282 +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
283 +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
273 284 var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
274 285 var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
275 -var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
276 -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
277 286 var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
278 287 var _commandHistoryBase = _interopRequireDefault(__webpack_require__(/*! ./command-history-base */ "../assets/dev/js/editor/document/command-bases/command-history-base.js"));
279 -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)); }
280 -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
281 -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; }
282 -var DEFAULT_DEBOUNCE_DELAY = exports.DEFAULT_DEBOUNCE_DELAY = 800;
288 +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); }; }
289 +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; } }
290 +var DEFAULT_DEBOUNCE_DELAY = 800;
283 291
284 292 /**
285 293 * Function getDefaultDebounceDelay().
286 294 *
@@ -287,9 +295,10 @@
287 295 * Returns default debounce delay time, if exists in config override.
288 296 *
289 297 * @return {number} default debounce delay time
290 298 */
291 -var getDefaultDebounceDelay = exports.getDefaultDebounceDelay = function getDefaultDebounceDelay() {
299 +exports.DEFAULT_DEBOUNCE_DELAY = DEFAULT_DEBOUNCE_DELAY;
300 +var getDefaultDebounceDelay = function getDefaultDebounceDelay() {
292 301 var result = DEFAULT_DEBOUNCE_DELAY;
293 302 if (elementor.config.document && undefined !== elementor.config.document.debounceDelay) {
294 303 result = elementor.config.document.debounceDelay;
295 304 }
@@ -298,20 +307,22 @@
298 307
299 308 /**
300 309 * @name $e.modules.editor.document.CommandHistoryDebounceBase
301 310 */
302 -var CommandHistoryDebounceBase = exports["default"] = /*#__PURE__*/function (_CommandHistoryBase) {
311 +exports.getDefaultDebounceDelay = getDefaultDebounceDelay;
312 +var CommandHistoryDebounceBase = /*#__PURE__*/function (_CommandHistoryBase) {
313 + (0, _inherits2.default)(CommandHistoryDebounceBase, _CommandHistoryBase);
314 + var _super = _createSuper(CommandHistoryDebounceBase);
303 315 function CommandHistoryDebounceBase() {
304 316 (0, _classCallCheck2.default)(this, CommandHistoryDebounceBase);
305 - return _callSuper(this, CommandHistoryDebounceBase, arguments);
317 + return _super.apply(this, arguments);
306 318 }
307 - (0, _inherits2.default)(CommandHistoryDebounceBase, _CommandHistoryBase);
308 - return (0, _createClass2.default)(CommandHistoryDebounceBase, [{
319 + (0, _createClass2.default)(CommandHistoryDebounceBase, [{
309 320 key: "initialize",
310 321 value: function initialize(args) {
311 322 var _args$options = args.options,
312 323 options = _args$options === void 0 ? {} : _args$options;
313 - _superPropGet(CommandHistoryDebounceBase, "initialize", this, 3)([args]);
324 + (0, _get2.default)((0, _getPrototypeOf2.default)(CommandHistoryDebounceBase.prototype), "initialize", this).call(this, args);
314 325 if (!this.constructor.debounce) {
315 326 this.constructor.debounce = _.debounce(function (fn) {
316 327 return fn();
317 328 }, getDefaultDebounceDelay());
@@ -366,9 +377,11 @@
366 377 value: function getInstanceType() {
367 378 return 'CommandHistoryDebounceBase';
368 379 }
369 380 }]);
381 + return CommandHistoryDebounceBase;
370 382 }(_commandHistoryBase.default);
383 +exports["default"] = CommandHistoryDebounceBase;
371 384 /**
372 385 * Function debounce().
373 386 *
374 387 * Will debounce every function you pass in, at the same debounce flow.
@@ -391,11 +404,11 @@
391 404 Object.defineProperty(exports, "__esModule", ({
392 405 value: true
393 406 }));
394 407 exports["default"] = void 0;
395 -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; } } }; }
396 -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; } }
397 -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; }
408 +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; } } }; }
409 +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); }
410 +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; }
398 411 /**
399 412 * Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved
400 413 * object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can
401 414 * check whether it's instanceof by using the objects constructor and prototype names.
@@ -403,16 +416,16 @@
403 416 * @param object
404 417 * @param constructors
405 418 * @return {boolean}
406 419 */
407 -var _default = exports["default"] = function _default(object, constructors) {
420 +var _default = function _default(object, constructors) {
408 421 constructors = Array.isArray(constructors) ? constructors : [constructors];
409 422 var _iterator = _createForOfIteratorHelper(constructors),
410 423 _step;
411 424 try {
412 425 for (_iterator.s(); !(_step = _iterator.n()).done;) {
413 - var constructor = _step.value;
414 - if (object.constructor.name === constructor.prototype[Symbol.toStringTag]) {
426 + var _constructor = _step.value;
427 + if (object.constructor.name === _constructor.prototype[Symbol.toStringTag]) {
415 428 return true;
416 429 }
417 430 }
418 431 } catch (err) {
@@ -421,8 +434,9 @@
421 434 _iterator.f();
422 435 }
423 436 return false;
424 437 };
438 +exports["default"] = _default;
425 439
426 440 /***/ }),
427 441
428 442 /***/ "../assets/dev/js/modules/imports/args-object.js":
@@ -441,16 +455,18 @@
441 455 exports["default"] = void 0;
442 456 var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"));
443 457 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
444 458 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
459 +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
445 460 var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
446 461 var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
447 -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
448 462 var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js"));
449 463 var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js"));
450 -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)); }
451 -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
452 -var ArgsObject = exports["default"] = /*#__PURE__*/function (_InstanceType) {
464 +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); }; }
465 +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; } }
466 +var ArgsObject = /*#__PURE__*/function (_InstanceType) {
467 + (0, _inherits2.default)(ArgsObject, _InstanceType);
468 + var _super = _createSuper(ArgsObject);
453 469 /**
454 470 * Function constructor().
455 471 *
456 472 * Create ArgsObject.
@@ -459,9 +475,9 @@
459 475 */
460 476 function ArgsObject(args) {
461 477 var _this;
462 478 (0, _classCallCheck2.default)(this, ArgsObject);
463 - _this = _callSuper(this, ArgsObject);
479 + _this = _super.call(this);
464 480 _this.args = args;
465 481 return _this;
466 482 }
467 483
@@ -473,11 +489,11 @@
473 489 * @param {string} property
474 490 * @param {{}} args
475 491 *
476 492 * @throws {Error}
493 + *
477 494 */
478 - (0, _inherits2.default)(ArgsObject, _InstanceType);
479 - return (0, _createClass2.default)(ArgsObject, [{
495 + (0, _createClass2.default)(ArgsObject, [{
480 496 key: "requireArgument",
481 497 value: function requireArgument(property) {
482 498 var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args;
483 499 if (!Object.prototype.hasOwnProperty.call(args, property)) {
@@ -494,8 +510,9 @@
494 510 * @param {string} type
495 511 * @param {{}} args
496 512 *
497 513 * @throws {Error}
514 + *
498 515 */
499 516 }, {
500 517 key: "requireArgumentType",
501 518 value: function requireArgumentType(property, type) {
@@ -515,8 +532,9 @@
515 532 * @param {*} instance
516 533 * @param {{}} args
517 534 *
518 535 * @throws {Error}
536 + *
519 537 */
520 538 }, {
521 539 key: "requireArgumentInstance",
522 540 value: function requireArgumentInstance(property, instance) {
@@ -536,8 +554,9 @@
536 554 * @param {*} type
537 555 * @param {{}} args
538 556 *
539 557 * @throws {Error}
558 + *
540 559 */
541 560 }, {
542 561 key: "requireArgumentConstructor",
543 562 value: function requireArgumentConstructor(property, type) {
@@ -555,9 +574,11 @@
555 574 value: function getInstanceType() {
556 575 return 'ArgsObject';
557 576 }
558 577 }]);
578 + return ArgsObject;
559 579 }(_instanceType.default);
580 +exports["default"] = ArgsObject;
560 581
561 582 /***/ }),
562 583
563 584 /***/ "../assets/dev/js/modules/imports/instance-type.js":
@@ -575,12 +596,11 @@
575 596 }));
576 597 exports["default"] = void 0;
577 598 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
578 599 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
600 +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
579 601 var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
580 -var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
581 -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; }
582 -var InstanceType = exports["default"] = /*#__PURE__*/function () {
602 +var InstanceType = /*#__PURE__*/function (_Symbol$hasInstance) {
583 603 function InstanceType() {
584 604 var _this = this;
585 605 (0, _classCallCheck2.default)(this, InstanceType);
586 606 // Since anonymous classes sometimes do not get validated by babel, do it manually.
@@ -593,10 +613,10 @@
593 613 prototypes.reverse().forEach(function (proto) {
594 614 return _this instanceof proto;
595 615 });
596 616 }
597 - return (0, _createClass2.default)(InstanceType, null, [{
598 - key: Symbol.hasInstance,
617 + (0, _createClass2.default)(InstanceType, null, [{
618 + key: _Symbol$hasInstance,
599 619 value: function value(target) {
600 620 /**
601 621 * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class
602 622 * its give's opportunity to mange capabilities of instanceOf operator.
@@ -601,9 +621,9 @@
601 621 * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class
602 622 * its give's opportunity to mange capabilities of instanceOf operator.
603 623 * saving current class each time will give option later to handle instanceOf manually.
604 624 */
605 - var result = _superPropGet(InstanceType, Symbol.hasInstance, this, 2)([target]);
625 + var result = (0, _get2.default)((0, _getPrototypeOf2.default)(InstanceType), Symbol.hasInstance, this).call(this, target);
606 626
607 627 // Act normal when validate a class, which does not have instance type.
608 628 if (target && !target.constructor.getInstanceType) {
609 629 return result;
@@ -635,9 +655,11 @@
635 655 value: function getInstanceType() {
636 656 elementorModules.ForceMethodImplementation();
637 657 }
638 658 }]);
639 -}();
659 + return InstanceType;
660 +}(Symbol.hasInstance);
661 +exports["default"] = InstanceType;
640 662
641 663 /***/ }),
642 664
643 665 /***/ "../modules/web-cli/assets/js/modules/command-base.js":
@@ -655,25 +677,26 @@
655 677 }));
656 678 exports["default"] = void 0;
657 679 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
658 680 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
681 +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
659 682 var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
660 683 var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
661 -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
662 684 var _commandInfra = _interopRequireDefault(__webpack_require__(/*! ./command-infra */ "../modules/web-cli/assets/js/modules/command-infra.js"));
663 685 var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js"));
664 -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)); }
665 -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
686 +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); }; }
687 +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; } }
666 688 /**
667 689 * @name $e.modules.CommandBase
668 690 */
669 -var CommandBase = exports["default"] = /*#__PURE__*/function (_CommandInfra) {
691 +var CommandBase = /*#__PURE__*/function (_CommandInfra) {
692 + (0, _inherits2.default)(CommandBase, _CommandInfra);
693 + var _super = _createSuper(CommandBase);
670 694 function CommandBase() {
671 695 (0, _classCallCheck2.default)(this, CommandBase);
672 - return _callSuper(this, CommandBase, arguments);
696 + return _super.apply(this, arguments);
673 697 }
674 - (0, _inherits2.default)(CommandBase, _CommandInfra);
675 - return (0, _createClass2.default)(CommandBase, [{
698 + (0, _createClass2.default)(CommandBase, [{
676 699 key: "onBeforeRun",
677 700 value: function onBeforeRun() {
678 701 var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
679 702 $e.hooks.runUIBefore(this.command, args);
@@ -695,9 +718,9 @@
695 718 key: "onAfterApply",
696 719 value: function onAfterApply() {
697 720 var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
698 721 var result = arguments.length > 1 ? arguments[1] : undefined;
699 - return $e.hooks.runDataAfter(this.command, args, result);
722 + $e.hooks.runDataAfter(this.command, args, result);
700 723 }
701 724 }, {
702 725 key: "onCatchApply",
703 726 value: function onCatchApply(e) {
@@ -723,9 +746,8 @@
723 746 *
724 747 * Validate `arg.container` & `arg.containers`.
725 748 *
726 749 * @param {{}} args
727 - * @deprecated since 3.7.0, extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase` instead.
728 750 *
729 751 * @throws {Error}
730 752 */
731 753 }, {
@@ -732,9 +754,9 @@
732 754 key: "requireContainer",
733 755 value: function requireContainer() {
734 756 var _this = this;
735 757 var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.args;
736 - _deprecation.default.deprecated('requireContainer()', '3.7.0', 'Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`');
758 + _deprecation.default.deprecated('requireContainer', '3.7.0', 'Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`');
737 759 if (!args.container && !args.containers) {
738 760 throw Error('container or containers are required.');
739 761 }
740 762 if (args.container && args.containers) {
@@ -752,9 +774,11 @@
752 774 value: function getInstanceType() {
753 775 return 'CommandBase';
754 776 }
755 777 }]);
778 + return CommandBase;
756 779 }(_commandInfra.default);
780 +exports["default"] = CommandBase;
757 781
758 782 /***/ }),
759 783
760 784 /***/ "../modules/web-cli/assets/js/modules/command-infra.js":
@@ -772,20 +796,22 @@
772 796 }));
773 797 exports["default"] = void 0;
774 798 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
775 799 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
800 +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
776 801 var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
777 802 var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
778 -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
779 803 var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
780 804 var _argsObject = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/imports/args-object */ "../assets/dev/js/modules/imports/args-object.js"));
781 805 var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js"));
782 -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)); }
783 -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
806 +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); }; }
807 +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; } }
784 808 /**
785 809 * @typedef {import('../modules/component-base')} ComponentBase
786 810 */
787 -var CommandInfra = exports["default"] = /*#__PURE__*/function (_ArgsObject) {
811 +var CommandInfra = /*#__PURE__*/function (_ArgsObject) {
812 + (0, _inherits2.default)(CommandInfra, _ArgsObject);
813 + var _super = _createSuper(CommandInfra);
788 814 /**
789 815 * Function constructor().
790 816 *
791 817 * Create Commands Base.
@@ -795,9 +821,9 @@
795 821 function CommandInfra() {
796 822 var _this;
797 823 var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
798 824 (0, _classCallCheck2.default)(this, CommandInfra);
799 - _this = _callSuper(this, CommandInfra, [args]);
825 + _this = _super.call(this, args);
800 826 if (!_this.constructor.registerConfig) {
801 827 throw RangeError('Doing it wrong: Each command type should have `registerConfig`.');
802 828 }
803 829
@@ -824,15 +850,12 @@
824 850 * Initialize command, called after construction.
825 851 *
826 852 * @param {{}} args
827 853 */
828 - (0, _inherits2.default)(CommandInfra, _ArgsObject);
829 - return (0, _createClass2.default)(CommandInfra, [{
854 + (0, _createClass2.default)(CommandInfra, [{
830 855 key: "currentCommand",
831 856 get:
832 - /**
833 - * @deprecated since 3.7.0, use `this.command` instead.
834 - */
857 + // TODO - Remove backwards compatibility.
835 858 function get() {
836 859 _deprecation.default.deprecated('this.currentCommand', '3.7.0', 'this.command');
837 860 return this.command;
838 861 }
@@ -991,9 +1014,11 @@
991 1014 value: function setRegisterConfig(config) {
992 1015 this.registerConfig = Object.freeze(config);
993 1016 }
994 1017 }]);
1018 + return CommandInfra;
995 1019 }(_argsObject.default);
1020 +exports["default"] = CommandInfra;
996 1021 /**
997 1022 * @type {Object}
998 1023 */
999 1024 (0, _defineProperty2.default)(CommandInfra, "registerConfig", null);
@@ -1015,13 +1040,13 @@
1015 1040 }));
1016 1041 exports["default"] = void 0;
1017 1042 var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
1018 1043 var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
1019 -var Console = exports["default"] = /*#__PURE__*/function () {
1044 +var Console = /*#__PURE__*/function () {
1020 1045 function Console() {
1021 1046 (0, _classCallCheck2.default)(this, Console);
1022 1047 }
1023 - return (0, _createClass2.default)(Console, null, [{
1048 + (0, _createClass2.default)(Console, null, [{
1024 1049 key: "error",
1025 1050 value: function error(message) {
1026 1051 // Show an error if devTools is available.
1027 1052 if ($e.devTools) {
@@ -1045,9 +1070,11 @@
1045 1070 args.unshift('%c %c', style, '');
1046 1071 (_console = console).warn.apply(_console, args); // eslint-disable-line no-console
1047 1072 }
1048 1073 }]);
1074 + return Console;
1049 1075 }();
1076 +exports["default"] = Console;
1050 1077
1051 1078 /***/ }),
1052 1079
1053 1080 /***/ "../modules/web-cli/assets/js/utils/deprecation.js":
@@ -1075,9 +1102,8 @@
1075 1102 * @property {number} major2 The second number
1076 1103 * @property {number} minor The third number
1077 1104 * @property {string} build The fourth number
1078 1105 */
1079 -
1080 1106 var softDeprecated = function softDeprecated(name, version, replacement) {
1081 1107 if (elementorWebCliConfig.isDebug) {
1082 1108 deprecatedMessage('soft', name, version, replacement);
1083 1109 }
@@ -1091,13 +1117,13 @@
1091 1117 message += " - Use `".concat(replacement, "` instead");
1092 1118 }
1093 1119 _console.default.warn(message);
1094 1120 };
1095 -var Deprecation = exports["default"] = /*#__PURE__*/function () {
1121 +var Deprecation = /*#__PURE__*/function () {
1096 1122 function Deprecation() {
1097 1123 (0, _classCallCheck2.default)(this, Deprecation);
1098 1124 }
1099 - return (0, _createClass2.default)(Deprecation, null, [{
1125 + (0, _createClass2.default)(Deprecation, null, [{
1100 1126 key: "deprecated",
1101 1127 value: function deprecated(name, version, replacement) {
1102 1128 if (this.isHardDeprecated(version)) {
1103 1129 hardDeprecated(name, version, replacement);
@@ -1192,9 +1218,11 @@
1192 1218 var total = this.compareVersion(version, elementorWebCliConfig.version);
1193 1219 return total < 0 || total >= 8;
1194 1220 }
1195 1221 }]);
1222 + return Deprecation;
1196 1223 }();
1224 +exports["default"] = Deprecation;
1197 1225
1198 1226 /***/ }),
1199 1227
1200 1228 /***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
@@ -1202,12 +1230,12 @@
1202 1230 !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
1203 1231 \******************************************************************/
1204 1232 /***/ ((module) => {
1205 1233
1206 -function _arrayLikeToArray(r, a) {
1207 - (null == a || a > r.length) && (a = r.length);
1208 - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
1209 - return n;
1234 +function _arrayLikeToArray(arr, len) {
1235 + if (len == null || len > arr.length) len = arr.length;
1236 + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1237 + return arr2;
1210 1238 }
1211 1239 module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1212 1240
1213 1241 /***/ }),
@@ -1217,10 +1245,10 @@
1217 1245 !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
1218 1246 \****************************************************************/
1219 1247 /***/ ((module) => {
1220 1248
1221 -function _arrayWithHoles(r) {
1222 - if (Array.isArray(r)) return r;
1249 +function _arrayWithHoles(arr) {
1250 + if (Array.isArray(arr)) return arr;
1223 1251 }
1224 1252 module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
1225 1253
1226 1254 /***/ }),
@@ -1230,11 +1258,13 @@
1230 1258 !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
1231 1259 \***********************************************************************/
1232 1260 /***/ ((module) => {
1233 1261
1234 -function _assertThisInitialized(e) {
1235 - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1236 - return e;
1262 +function _assertThisInitialized(self) {
1263 + if (self === void 0) {
1264 + throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1265 + }
1266 + return self;
1237 1267 }
1238 1268 module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
1239 1269
1240 1270 /***/ }),
@@ -1244,10 +1274,12 @@
1244 1274 !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***!
1245 1275 \****************************************************************/
1246 1276 /***/ ((module) => {
1247 1277
1248 -function _classCallCheck(a, n) {
1249 - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
1278 +function _classCallCheck(instance, Constructor) {
1279 + if (!(instance instanceof Constructor)) {
1280 + throw new TypeError("Cannot call a class as a function");
1281 + }
1250 1282 }
1251 1283 module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
1252 1284
1253 1285 /***/ }),
@@ -1258,18 +1290,24 @@
1258 1290 \*************************************************************/
1259 1291 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1260 1292
1261 1293 var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js");
1262 -function _defineProperties(e, r) {
1263 - for (var t = 0; t < r.length; t++) {
1264 - var o = r[t];
1265 - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
1294 +function _defineProperties(target, props) {
1295 + for (var i = 0; i < props.length; i++) {
1296 + var descriptor = props[i];
1297 + descriptor.enumerable = descriptor.enumerable || false;
1298 + descriptor.configurable = true;
1299 + if ("value" in descriptor) descriptor.writable = true;
1300 + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
1266 1301 }
1267 1302 }
1268 -function _createClass(e, r, t) {
1269 - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
1270 - writable: !1
1271 - }), e;
1303 +function _createClass(Constructor, protoProps, staticProps) {
1304 + if (protoProps) _defineProperties(Constructor.prototype, protoProps);
1305 + if (staticProps) _defineProperties(Constructor, staticProps);
1306 + Object.defineProperty(Constructor, "prototype", {
1307 + writable: false
1308 + });
1309 + return Constructor;
1272 1310 }
1273 1311 module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
1274 1312
1275 1313 /***/ }),
@@ -1280,15 +1318,21 @@
1280 1318 \****************************************************************/
1281 1319 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1282 1320
1283 1321 var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js");
1284 -function _defineProperty(e, r, t) {
1285 - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
1286 - value: t,
1287 - enumerable: !0,
1288 - configurable: !0,
1289 - writable: !0
1290 - }) : e[r] = t, e;
1322 +function _defineProperty(obj, key, value) {
1323 + key = toPropertyKey(key);
1324 + if (key in obj) {
1325 + Object.defineProperty(obj, key, {
1326 + value: value,
1327 + enumerable: true,
1328 + configurable: true,
1329 + writable: true
1330 + });
1331 + } else {
1332 + obj[key] = value;
1333 + }
1334 + return obj;
1291 1335 }
1292 1336 module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
1293 1337
1294 1338 /***/ }),
@@ -1300,15 +1344,22 @@
1300 1344 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1301 1345
1302 1346 var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime/helpers/superPropBase.js");
1303 1347 function _get() {
1304 - return module.exports = _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) {
1305 - var p = superPropBase(e, t);
1306 - if (p) {
1307 - var n = Object.getOwnPropertyDescriptor(p, t);
1308 - return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value;
1309 - }
1310 - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments);
1348 + if (typeof Reflect !== "undefined" && Reflect.get) {
1349 + module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
1350 + } else {
1351 + module.exports = _get = function _get(target, property, receiver) {
1352 + var base = superPropBase(target, property);
1353 + if (!base) return;
1354 + var desc = Object.getOwnPropertyDescriptor(base, property);
1355 + if (desc.get) {
1356 + return desc.get.call(arguments.length < 3 ? target : receiver);
1357 + }
1358 + return desc.value;
1359 + }, module.exports.__esModule = true, module.exports["default"] = module.exports;
1360 + }
1361 + return _get.apply(this, arguments);
1311 1362 }
1312 1363 module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;
1313 1364
1314 1365 /***/ }),
@@ -1318,12 +1369,13 @@
1318 1369 !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
1319 1370 \****************************************************************/
1320 1371 /***/ ((module) => {
1321 1372
1322 -function _getPrototypeOf(t) {
1323 - return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
1324 - return t.__proto__ || Object.getPrototypeOf(t);
1325 - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t);
1373 +function _getPrototypeOf(o) {
1374 + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
1375 + return o.__proto__ || Object.getPrototypeOf(o);
1376 + }, module.exports.__esModule = true, module.exports["default"] = module.exports;
1377 + return _getPrototypeOf(o);
1326 1378 }
1327 1379 module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
1328 1380
1329 1381 /***/ }),
@@ -1334,19 +1386,23 @@
1334 1386 \**********************************************************/
1335 1387 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1336 1388
1337 1389 var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js");
1338 -function _inherits(t, e) {
1339 - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
1340 - t.prototype = Object.create(e && e.prototype, {
1390 +function _inherits(subClass, superClass) {
1391 + if (typeof superClass !== "function" && superClass !== null) {
1392 + throw new TypeError("Super expression must either be null or a function");
1393 + }
1394 + subClass.prototype = Object.create(superClass && superClass.prototype, {
1341 1395 constructor: {
1342 - value: t,
1343 - writable: !0,
1344 - configurable: !0
1396 + value: subClass,
1397 + writable: true,
1398 + configurable: true
1345 1399 }
1346 - }), Object.defineProperty(t, "prototype", {
1347 - writable: !1
1348 - }), e && setPrototypeOf(t, e);
1400 + });
1401 + Object.defineProperty(subClass, "prototype", {
1402 + writable: false
1403 + });
1404 + if (superClass) setPrototypeOf(subClass, superClass);
1349 1405 }
1350 1406 module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
1351 1407
1352 1408 /***/ }),
@@ -1356,11 +1412,11 @@
1356 1412 !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
1357 1413 \***********************************************************************/
1358 1414 /***/ ((module) => {
1359 1415
1360 -function _interopRequireDefault(e) {
1361 - return e && e.__esModule ? e : {
1362 - "default": e
1416 +function _interopRequireDefault(obj) {
1417 + return obj && obj.__esModule ? obj : {
1418 + "default": obj
1363 1419 };
1364 1420 }
1365 1421 module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
1366 1422
@@ -1371,33 +1427,33 @@
1371 1427 !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
1372 1428 \**********************************************************************/
1373 1429 /***/ ((module) => {
1374 1430
1375 -function _iterableToArrayLimit(r, l) {
1376 - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
1377 - if (null != t) {
1378 - var e,
1379 - n,
1380 - i,
1381 - u,
1382 - a = [],
1383 - f = !0,
1384 - o = !1;
1431 +function _iterableToArrayLimit(arr, i) {
1432 + var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
1433 + if (null != _i) {
1434 + var _s,
1435 + _e,
1436 + _x,
1437 + _r,
1438 + _arr = [],
1439 + _n = !0,
1440 + _d = !1;
1385 1441 try {
1386 - if (i = (t = t.call(r)).next, 0 === l) {
1387 - if (Object(t) !== t) return;
1388 - f = !1;
1389 - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
1390 - } catch (r) {
1391 - o = !0, n = r;
1442 + if (_x = (_i = _i.call(arr)).next, 0 === i) {
1443 + if (Object(_i) !== _i) return;
1444 + _n = !1;
1445 + } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
1446 + } catch (err) {
1447 + _d = !0, _e = err;
1392 1448 } finally {
1393 1449 try {
1394 - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
1450 + if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
1395 1451 } finally {
1396 - if (o) throw n;
1452 + if (_d) throw _e;
1397 1453 }
1398 1454 }
1399 - return a;
1455 + return _arr;
1400 1456 }
1401 1457 }
1402 1458 module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
1403 1459
@@ -1423,12 +1479,15 @@
1423 1479 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1424 1480
1425 1481 var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
1426 1482 var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js");
1427 -function _possibleConstructorReturn(t, e) {
1428 - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
1429 - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
1430 - return assertThisInitialized(t);
1483 +function _possibleConstructorReturn(self, call) {
1484 + if (call && (_typeof(call) === "object" || typeof call === "function")) {
1485 + return call;
1486 + } else if (call !== void 0) {
1487 + throw new TypeError("Derived constructors may only return object or undefined");
1488 + }
1489 + return assertThisInitialized(self);
1431 1490 }
1432 1491 module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
1433 1492
1434 1493 /***/ }),
@@ -1438,12 +1497,14 @@
1438 1497 !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
1439 1498 \****************************************************************/
1440 1499 /***/ ((module) => {
1441 1500
1442 -function _setPrototypeOf(t, e) {
1443 - return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
1444 - return t.__proto__ = e, t;
1445 - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e);
1501 +function _setPrototypeOf(o, p) {
1502 + module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
1503 + o.__proto__ = p;
1504 + return o;
1505 + }, module.exports.__esModule = true, module.exports["default"] = module.exports;
1506 + return _setPrototypeOf(o, p);
1446 1507 }
1447 1508 module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
1448 1509
1449 1510 /***/ }),
@@ -1457,10 +1518,10 @@
1457 1518 var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js");
1458 1519 var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js");
1459 1520 var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
1460 1521 var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js");
1461 -function _slicedToArray(r, e) {
1462 - return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();
1522 +function _slicedToArray(arr, i) {
1523 + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
1463 1524 }
1464 1525 module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1465 1526
1466 1527 /***/ }),
@@ -1471,11 +1532,14 @@
1471 1532 \***************************************************************/
1472 1533 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1473 1534
1474 1535 var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js");
1475 -function _superPropBase(t, o) {
1476 - for (; !{}.hasOwnProperty.call(t, o) && null !== (t = getPrototypeOf(t)););
1477 - return t;
1536 +function _superPropBase(object, property) {
1537 + while (!Object.prototype.hasOwnProperty.call(object, property)) {
1538 + object = getPrototypeOf(object);
1539 + if (object === null) break;
1540 + }
1541 + return object;
1478 1542 }
1479 1543 module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
1480 1544
1481 1545 /***/ }),
@@ -1486,19 +1550,19 @@
1486 1550 \*************************************************************/
1487 1551 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1488 1552
1489 1553 var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
1490 -function toPrimitive(t, r) {
1491 - if ("object" != _typeof(t) || !t) return t;
1492 - var e = t[Symbol.toPrimitive];
1493 - if (void 0 !== e) {
1494 - var i = e.call(t, r || "default");
1495 - if ("object" != _typeof(i)) return i;
1554 +function _toPrimitive(input, hint) {
1555 + if (_typeof(input) !== "object" || input === null) return input;
1556 + var prim = input[Symbol.toPrimitive];
1557 + if (prim !== undefined) {
1558 + var res = prim.call(input, hint || "default");
1559 + if (_typeof(res) !== "object") return res;
1496 1560 throw new TypeError("@@toPrimitive must return a primitive value.");
1497 1561 }
1498 - return ("string" === r ? String : Number)(t);
1562 + return (hint === "string" ? String : Number)(input);
1499 1563 }
1500 -module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
1564 +module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
1501 1565
1502 1566 /***/ }),
1503 1567
1504 1568 /***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js":
@@ -1508,13 +1572,13 @@
1508 1572 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1509 1573
1510 1574 var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
1511 1575 var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js");
1512 -function toPropertyKey(t) {
1513 - var i = toPrimitive(t, "string");
1514 - return "symbol" == _typeof(i) ? i : i + "";
1576 +function _toPropertyKey(arg) {
1577 + var key = toPrimitive(arg, "string");
1578 + return _typeof(key) === "symbol" ? key : String(key);
1515 1579 }
1516 -module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
1580 +module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
1517 1581
1518 1582 /***/ }),
1519 1583
1520 1584 /***/ "../node_modules/@babel/runtime/helpers/typeof.js":
@@ -1522,16 +1586,16 @@
1522 1586 !*** ../node_modules/@babel/runtime/helpers/typeof.js ***!
1523 1587 \********************************************************/
1524 1588 /***/ ((module) => {
1525 1589
1526 -function _typeof(o) {
1590 +function _typeof(obj) {
1527 1591 "@babel/helpers - typeof";
1528 1592
1529 - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
1530 - return typeof o;
1531 - } : function (o) {
1532 - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1533 - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
1593 + return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
1594 + return typeof obj;
1595 + } : function (obj) {
1596 + return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1597 + }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
1534 1598 }
1535 1599 module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
1536 1600
1537 1601 /***/ }),
@@ -1542,14 +1606,15 @@
1542 1606 \****************************************************************************/
1543 1607 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1544 1608
1545 1609 var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
1546 -function _unsupportedIterableToArray(r, a) {
1547 - if (r) {
1548 - if ("string" == typeof r) return arrayLikeToArray(r, a);
1549 - var t = {}.toString.call(r).slice(8, -1);
1550 - 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;
1551 - }
1610 +function _unsupportedIterableToArray(o, minLen) {
1611 + if (!o) return;
1612 + if (typeof o === "string") return arrayLikeToArray(o, minLen);
1613 + var n = Object.prototype.toString.call(o).slice(8, -1);
1614 + if (n === "Object" && o.constructor) n = o.constructor.name;
1615 + if (n === "Map" || n === "Set") return Array.from(o);
1616 + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
1552 1617 }
1553 1618 module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
1554 1619
1555 1620 /***/ })
@@ -1581,9 +1646,9 @@
1581 1646 /******/ }
1582 1647 /******/
1583 1648 /************************************************************************/
1584 1649 var __webpack_exports__ = {};
1585 -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
1650 +// This entry need to be wrapped in an IIFE because it need to be in strict mode.
1586 1651 (() => {
1587 1652 "use strict";
1588 1653 /*!**************************************************!*\
1589 1654 !*** ../assets/dev/js/editor/editor-document.js ***!
@@ -1605,18 +1670,12 @@
1605 1670 };
1606 1671
1607 1672 // TODO: Remove, BC.
1608 1673 $e.modules.document = {
1609 - /**
1610 - * @deprecated since 3.7.0, use `$e.modules.editor.document.CommandHistoryBase` instead.
1611 - */
1612 1674 get CommandHistory() {
1613 1675 elementorDevTools.deprecation.deprecated('$e.modules.document.CommandHistory', '3.7.0', '$e.modules.editor.document.CommandHistoryBase');
1614 1676 return $e.modules.editor.document.CommandHistoryBase;
1615 1677 },
1616 - /**
1617 - * @deprecated since 3.7.0, use `$e.modules.editor.document.CommandHistoryDebounceBase` instead.
1618 - */
1619 1678 get CommandHistoryDebounce() {
1620 1679 elementorDevTools.deprecation.deprecated('$e.modules.CommandHistoryDebounce', '3.7.0', '$e.modules.editor.document.CommandHistoryDebounceBase');
1621 1680 return $e.modules.editor.document.CommandHistoryDebounceBase;
1622 1681 }