| @@ -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/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 | |
| @@ -474,10 +490,9 @@ | ||
| 474 | 490 | * @param {{}} args |
| 475 | 491 | * |
| 476 | 492 | * @throws {Error} |
| 477 | 493 | */ |
| 478 | - (0, _inherits2.default)(ArgsObject, _InstanceType); | |
| 479 | - return (0, _createClass2.default)(ArgsObject, [{ | |
| 494 | + (0, _createClass2.default)(ArgsObject, [{ | |
| 480 | 495 | key: "requireArgument", |
| 481 | 496 | value: function requireArgument(property) { |
| 482 | 497 | var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args; |
| 483 | 498 | if (!Object.prototype.hasOwnProperty.call(args, property)) { |
| @@ -555,9 +570,11 @@ | ||
| 555 | 570 | value: function getInstanceType() { |
| 556 | 571 | return 'ArgsObject'; |
| 557 | 572 | } |
| 558 | 573 | }]); |
| 574 | + return ArgsObject; | |
| 559 | 575 | }(_instanceType.default); |
| 576 | +exports["default"] = ArgsObject; | |
| 560 | 577 | |
| 561 | 578 | /***/ }), |
| 562 | 579 | |
| 563 | 580 | /***/ "../assets/dev/js/modules/imports/instance-type.js": |
| @@ -575,12 +592,11 @@ | ||
| 575 | 592 | })); |
| 576 | 593 | exports["default"] = void 0; |
| 577 | 594 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 578 | 595 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 596 | +var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js")); | |
| 579 | 597 | 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 () { | |
| 598 | +var InstanceType = /*#__PURE__*/function (_Symbol$hasInstance) { | |
| 583 | 599 | function InstanceType() { |
| 584 | 600 | var _this = this; |
| 585 | 601 | (0, _classCallCheck2.default)(this, InstanceType); |
| 586 | 602 | // Since anonymous classes sometimes do not get validated by babel, do it manually. |
| @@ -593,10 +609,10 @@ | ||
| 593 | 609 | prototypes.reverse().forEach(function (proto) { |
| 594 | 610 | return _this instanceof proto; |
| 595 | 611 | }); |
| 596 | 612 | } |
| 597 | - return (0, _createClass2.default)(InstanceType, null, [{ | |
| 598 | - key: Symbol.hasInstance, | |
| 613 | + (0, _createClass2.default)(InstanceType, null, [{ | |
| 614 | + key: _Symbol$hasInstance, | |
| 599 | 615 | value: function value(target) { |
| 600 | 616 | /** |
| 601 | 617 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 602 | 618 | * its give's opportunity to mange capabilities of instanceOf operator. |
| @@ -601,9 +617,9 @@ | ||
| 601 | 617 | * This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class |
| 602 | 618 | * its give's opportunity to mange capabilities of instanceOf operator. |
| 603 | 619 | * saving current class each time will give option later to handle instanceOf manually. |
| 604 | 620 | */ |
| 605 | - var result = _superPropGet(InstanceType, Symbol.hasInstance, this, 2)([target]); | |
| 621 | + var result = (0, _get2.default)((0, _getPrototypeOf2.default)(InstanceType), Symbol.hasInstance, this).call(this, target); | |
| 606 | 622 | |
| 607 | 623 | // Act normal when validate a class, which does not have instance type. |
| 608 | 624 | if (target && !target.constructor.getInstanceType) { |
| 609 | 625 | return result; |
| @@ -635,9 +651,11 @@ | ||
| 635 | 651 | value: function getInstanceType() { |
| 636 | 652 | elementorModules.ForceMethodImplementation(); |
| 637 | 653 | } |
| 638 | 654 | }]); |
| 639 | -}(); | |
| 655 | + return InstanceType; | |
| 656 | +}(Symbol.hasInstance); | |
| 657 | +exports["default"] = InstanceType; | |
| 640 | 658 | |
| 641 | 659 | /***/ }), |
| 642 | 660 | |
| 643 | 661 | /***/ "../modules/web-cli/assets/js/modules/command-base.js": |
| @@ -655,25 +673,26 @@ | ||
| 655 | 673 | })); |
| 656 | 674 | exports["default"] = void 0; |
| 657 | 675 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 658 | 676 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 677 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 659 | 678 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 660 | 679 | 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 | 680 | var _commandInfra = _interopRequireDefault(__webpack_require__(/*! ./command-infra */ "../modules/web-cli/assets/js/modules/command-infra.js")); |
| 663 | 681 | 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; })(); } | |
| 682 | +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); }; } | |
| 683 | +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 | 684 | /** |
| 667 | 685 | * @name $e.modules.CommandBase |
| 668 | 686 | */ |
| 669 | -var CommandBase = exports["default"] = /*#__PURE__*/function (_CommandInfra) { | |
| 687 | +var CommandBase = /*#__PURE__*/function (_CommandInfra) { | |
| 688 | + (0, _inherits2.default)(CommandBase, _CommandInfra); | |
| 689 | + var _super = _createSuper(CommandBase); | |
| 670 | 690 | function CommandBase() { |
| 671 | 691 | (0, _classCallCheck2.default)(this, CommandBase); |
| 672 | - return _callSuper(this, CommandBase, arguments); | |
| 692 | + return _super.apply(this, arguments); | |
| 673 | 693 | } |
| 674 | - (0, _inherits2.default)(CommandBase, _CommandInfra); | |
| 675 | - return (0, _createClass2.default)(CommandBase, [{ | |
| 694 | + (0, _createClass2.default)(CommandBase, [{ | |
| 676 | 695 | key: "onBeforeRun", |
| 677 | 696 | value: function onBeforeRun() { |
| 678 | 697 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 679 | 698 | $e.hooks.runUIBefore(this.command, args); |
| @@ -695,9 +714,9 @@ | ||
| 695 | 714 | key: "onAfterApply", |
| 696 | 715 | value: function onAfterApply() { |
| 697 | 716 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 698 | 717 | var result = arguments.length > 1 ? arguments[1] : undefined; |
| 699 | - return $e.hooks.runDataAfter(this.command, args, result); | |
| 718 | + $e.hooks.runDataAfter(this.command, args, result); | |
| 700 | 719 | } |
| 701 | 720 | }, { |
| 702 | 721 | key: "onCatchApply", |
| 703 | 722 | value: function onCatchApply(e) { |
| @@ -752,9 +771,11 @@ | ||
| 752 | 771 | value: function getInstanceType() { |
| 753 | 772 | return 'CommandBase'; |
| 754 | 773 | } |
| 755 | 774 | }]); |
| 775 | + return CommandBase; | |
| 756 | 776 | }(_commandInfra.default); |
| 777 | +exports["default"] = CommandBase; | |
| 757 | 778 | |
| 758 | 779 | /***/ }), |
| 759 | 780 | |
| 760 | 781 | /***/ "../modules/web-cli/assets/js/modules/command-infra.js": |
| @@ -772,20 +793,22 @@ | ||
| 772 | 793 | })); |
| 773 | 794 | exports["default"] = void 0; |
| 774 | 795 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 775 | 796 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 797 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 776 | 798 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 777 | 799 | 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 | 800 | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); |
| 780 | 801 | var _argsObject = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/imports/args-object */ "../assets/dev/js/modules/imports/args-object.js")); |
| 781 | 802 | 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; })(); } | |
| 803 | +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); }; } | |
| 804 | +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 | 805 | /** |
| 785 | 806 | * @typedef {import('../modules/component-base')} ComponentBase |
| 786 | 807 | */ |
| 787 | -var CommandInfra = exports["default"] = /*#__PURE__*/function (_ArgsObject) { | |
| 808 | +var CommandInfra = /*#__PURE__*/function (_ArgsObject) { | |
| 809 | + (0, _inherits2.default)(CommandInfra, _ArgsObject); | |
| 810 | + var _super = _createSuper(CommandInfra); | |
| 788 | 811 | /** |
| 789 | 812 | * Function constructor(). |
| 790 | 813 | * |
| 791 | 814 | * Create Commands Base. |
| @@ -795,9 +818,9 @@ | ||
| 795 | 818 | function CommandInfra() { |
| 796 | 819 | var _this; |
| 797 | 820 | var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 798 | 821 | (0, _classCallCheck2.default)(this, CommandInfra); |
| 799 | - _this = _callSuper(this, CommandInfra, [args]); | |
| 822 | + _this = _super.call(this, args); | |
| 800 | 823 | if (!_this.constructor.registerConfig) { |
| 801 | 824 | throw RangeError('Doing it wrong: Each command type should have `registerConfig`.'); |
| 802 | 825 | } |
| 803 | 826 | |
| @@ -824,10 +847,9 @@ | ||
| 824 | 847 | * Initialize command, called after construction. |
| 825 | 848 | * |
| 826 | 849 | * @param {{}} args |
| 827 | 850 | */ |
| 828 | - (0, _inherits2.default)(CommandInfra, _ArgsObject); | |
| 829 | - return (0, _createClass2.default)(CommandInfra, [{ | |
| 851 | + (0, _createClass2.default)(CommandInfra, [{ | |
| 830 | 852 | key: "currentCommand", |
| 831 | 853 | get: |
| 832 | 854 | /** |
| 833 | 855 | * @deprecated since 3.7.0, use `this.command` instead. |
| @@ -991,9 +1013,11 @@ | ||
| 991 | 1013 | value: function setRegisterConfig(config) { |
| 992 | 1014 | this.registerConfig = Object.freeze(config); |
| 993 | 1015 | } |
| 994 | 1016 | }]); |
| 1017 | + return CommandInfra; | |
| 995 | 1018 | }(_argsObject.default); |
| 1019 | +exports["default"] = CommandInfra; | |
| 996 | 1020 | /** |
| 997 | 1021 | * @type {Object} |
| 998 | 1022 | */ |
| 999 | 1023 | (0, _defineProperty2.default)(CommandInfra, "registerConfig", null); |
| @@ -1015,13 +1039,13 @@ | ||
| 1015 | 1039 | })); |
| 1016 | 1040 | exports["default"] = void 0; |
| 1017 | 1041 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 1018 | 1042 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 1019 | -var Console = exports["default"] = /*#__PURE__*/function () { | |
| 1043 | +var Console = /*#__PURE__*/function () { | |
| 1020 | 1044 | function Console() { |
| 1021 | 1045 | (0, _classCallCheck2.default)(this, Console); |
| 1022 | 1046 | } |
| 1023 | - return (0, _createClass2.default)(Console, null, [{ | |
| 1047 | + (0, _createClass2.default)(Console, null, [{ | |
| 1024 | 1048 | key: "error", |
| 1025 | 1049 | value: function error(message) { |
| 1026 | 1050 | // Show an error if devTools is available. |
| 1027 | 1051 | if ($e.devTools) { |
| @@ -1045,9 +1069,11 @@ | ||
| 1045 | 1069 | args.unshift('%c %c', style, ''); |
| 1046 | 1070 | (_console = console).warn.apply(_console, args); // eslint-disable-line no-console |
| 1047 | 1071 | } |
| 1048 | 1072 | }]); |
| 1073 | + return Console; | |
| 1049 | 1074 | }(); |
| 1075 | +exports["default"] = Console; | |
| 1050 | 1076 | |
| 1051 | 1077 | /***/ }), |
| 1052 | 1078 | |
| 1053 | 1079 | /***/ "../modules/web-cli/assets/js/utils/deprecation.js": |
| @@ -1075,9 +1101,8 @@ | ||
| 1075 | 1101 | * @property {number} major2 The second number |
| 1076 | 1102 | * @property {number} minor The third number |
| 1077 | 1103 | * @property {string} build The fourth number |
| 1078 | 1104 | */ |
| 1079 | - | |
| 1080 | 1105 | var softDeprecated = function softDeprecated(name, version, replacement) { |
| 1081 | 1106 | if (elementorWebCliConfig.isDebug) { |
| 1082 | 1107 | deprecatedMessage('soft', name, version, replacement); |
| 1083 | 1108 | } |
| @@ -1091,13 +1116,13 @@ | ||
| 1091 | 1116 | message += " - Use `".concat(replacement, "` instead"); |
| 1092 | 1117 | } |
| 1093 | 1118 | _console.default.warn(message); |
| 1094 | 1119 | }; |
| 1095 | -var Deprecation = exports["default"] = /*#__PURE__*/function () { | |
| 1120 | +var Deprecation = /*#__PURE__*/function () { | |
| 1096 | 1121 | function Deprecation() { |
| 1097 | 1122 | (0, _classCallCheck2.default)(this, Deprecation); |
| 1098 | 1123 | } |
| 1099 | - return (0, _createClass2.default)(Deprecation, null, [{ | |
| 1124 | + (0, _createClass2.default)(Deprecation, null, [{ | |
| 1100 | 1125 | key: "deprecated", |
| 1101 | 1126 | value: function deprecated(name, version, replacement) { |
| 1102 | 1127 | if (this.isHardDeprecated(version)) { |
| 1103 | 1128 | hardDeprecated(name, version, replacement); |
| @@ -1192,9 +1217,11 @@ | ||
| 1192 | 1217 | var total = this.compareVersion(version, elementorWebCliConfig.version); |
| 1193 | 1218 | return total < 0 || total >= 8; |
| 1194 | 1219 | } |
| 1195 | 1220 | }]); |
| 1221 | + return Deprecation; | |
| 1196 | 1222 | }(); |
| 1223 | +exports["default"] = Deprecation; | |
| 1197 | 1224 | |
| 1198 | 1225 | /***/ }), |
| 1199 | 1226 | |
| 1200 | 1227 | /***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": |
| @@ -1202,12 +1229,12 @@ | ||
| 1202 | 1229 | !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! |
| 1203 | 1230 | \******************************************************************/ |
| 1204 | 1231 | /***/ ((module) => { |
| 1205 | 1232 | |
| 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; | |
| 1233 | +function _arrayLikeToArray(arr, len) { | |
| 1234 | + if (len == null || len > arr.length) len = arr.length; | |
| 1235 | + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; | |
| 1236 | + return arr2; | |
| 1210 | 1237 | } |
| 1211 | 1238 | module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1212 | 1239 | |
| 1213 | 1240 | /***/ }), |
| @@ -1217,10 +1244,10 @@ | ||
| 1217 | 1244 | !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! |
| 1218 | 1245 | \****************************************************************/ |
| 1219 | 1246 | /***/ ((module) => { |
| 1220 | 1247 | |
| 1221 | -function _arrayWithHoles(r) { | |
| 1222 | - if (Array.isArray(r)) return r; | |
| 1248 | +function _arrayWithHoles(arr) { | |
| 1249 | + if (Array.isArray(arr)) return arr; | |
| 1223 | 1250 | } |
| 1224 | 1251 | module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1225 | 1252 | |
| 1226 | 1253 | /***/ }), |
| @@ -1230,11 +1257,13 @@ | ||
| 1230 | 1257 | !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! |
| 1231 | 1258 | \***********************************************************************/ |
| 1232 | 1259 | /***/ ((module) => { |
| 1233 | 1260 | |
| 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; | |
| 1261 | +function _assertThisInitialized(self) { | |
| 1262 | + if (self === void 0) { | |
| 1263 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 1264 | + } | |
| 1265 | + return self; | |
| 1237 | 1266 | } |
| 1238 | 1267 | module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1239 | 1268 | |
| 1240 | 1269 | /***/ }), |
| @@ -1244,10 +1273,12 @@ | ||
| 1244 | 1273 | !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! |
| 1245 | 1274 | \****************************************************************/ |
| 1246 | 1275 | /***/ ((module) => { |
| 1247 | 1276 | |
| 1248 | -function _classCallCheck(a, n) { | |
| 1249 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 1277 | +function _classCallCheck(instance, Constructor) { | |
| 1278 | + if (!(instance instanceof Constructor)) { | |
| 1279 | + throw new TypeError("Cannot call a class as a function"); | |
| 1280 | + } | |
| 1250 | 1281 | } |
| 1251 | 1282 | module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1252 | 1283 | |
| 1253 | 1284 | /***/ }), |
| @@ -1258,18 +1289,24 @@ | ||
| 1258 | 1289 | \*************************************************************/ |
| 1259 | 1290 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1260 | 1291 | |
| 1261 | 1292 | 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); | |
| 1293 | +function _defineProperties(target, props) { | |
| 1294 | + for (var i = 0; i < props.length; i++) { | |
| 1295 | + var descriptor = props[i]; | |
| 1296 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 1297 | + descriptor.configurable = true; | |
| 1298 | + if ("value" in descriptor) descriptor.writable = true; | |
| 1299 | + Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); | |
| 1266 | 1300 | } |
| 1267 | 1301 | } |
| 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; | |
| 1302 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 1303 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 1304 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 1305 | + Object.defineProperty(Constructor, "prototype", { | |
| 1306 | + writable: false | |
| 1307 | + }); | |
| 1308 | + return Constructor; | |
| 1272 | 1309 | } |
| 1273 | 1310 | module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1274 | 1311 | |
| 1275 | 1312 | /***/ }), |
| @@ -1280,15 +1317,21 @@ | ||
| 1280 | 1317 | \****************************************************************/ |
| 1281 | 1318 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1282 | 1319 | |
| 1283 | 1320 | 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; | |
| 1321 | +function _defineProperty(obj, key, value) { | |
| 1322 | + key = toPropertyKey(key); | |
| 1323 | + if (key in obj) { | |
| 1324 | + Object.defineProperty(obj, key, { | |
| 1325 | + value: value, | |
| 1326 | + enumerable: true, | |
| 1327 | + configurable: true, | |
| 1328 | + writable: true | |
| 1329 | + }); | |
| 1330 | + } else { | |
| 1331 | + obj[key] = value; | |
| 1332 | + } | |
| 1333 | + return obj; | |
| 1291 | 1334 | } |
| 1292 | 1335 | module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1293 | 1336 | |
| 1294 | 1337 | /***/ }), |
| @@ -1300,15 +1343,22 @@ | ||
| 1300 | 1343 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1301 | 1344 | |
| 1302 | 1345 | var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime/helpers/superPropBase.js"); |
| 1303 | 1346 | 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); | |
| 1347 | + if (typeof Reflect !== "undefined" && Reflect.get) { | |
| 1348 | + module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 1349 | + } else { | |
| 1350 | + module.exports = _get = function _get(target, property, receiver) { | |
| 1351 | + var base = superPropBase(target, property); | |
| 1352 | + if (!base) return; | |
| 1353 | + var desc = Object.getOwnPropertyDescriptor(base, property); | |
| 1354 | + if (desc.get) { | |
| 1355 | + return desc.get.call(arguments.length < 3 ? target : receiver); | |
| 1356 | + } | |
| 1357 | + return desc.value; | |
| 1358 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 1359 | + } | |
| 1360 | + return _get.apply(this, arguments); | |
| 1311 | 1361 | } |
| 1312 | 1362 | module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1313 | 1363 | |
| 1314 | 1364 | /***/ }), |
| @@ -1318,12 +1368,13 @@ | ||
| 1318 | 1368 | !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! |
| 1319 | 1369 | \****************************************************************/ |
| 1320 | 1370 | /***/ ((module) => { |
| 1321 | 1371 | |
| 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); | |
| 1372 | +function _getPrototypeOf(o) { | |
| 1373 | + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | |
| 1374 | + return o.__proto__ || Object.getPrototypeOf(o); | |
| 1375 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 1376 | + return _getPrototypeOf(o); | |
| 1326 | 1377 | } |
| 1327 | 1378 | module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1328 | 1379 | |
| 1329 | 1380 | /***/ }), |
| @@ -1334,19 +1385,23 @@ | ||
| 1334 | 1385 | \**********************************************************/ |
| 1335 | 1386 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1336 | 1387 | |
| 1337 | 1388 | 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, { | |
| 1389 | +function _inherits(subClass, superClass) { | |
| 1390 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 1391 | + throw new TypeError("Super expression must either be null or a function"); | |
| 1392 | + } | |
| 1393 | + subClass.prototype = Object.create(superClass && superClass.prototype, { | |
| 1341 | 1394 | constructor: { |
| 1342 | - value: t, | |
| 1343 | - writable: !0, | |
| 1344 | - configurable: !0 | |
| 1395 | + value: subClass, | |
| 1396 | + writable: true, | |
| 1397 | + configurable: true | |
| 1345 | 1398 | } |
| 1346 | - }), Object.defineProperty(t, "prototype", { | |
| 1347 | - writable: !1 | |
| 1348 | - }), e && setPrototypeOf(t, e); | |
| 1399 | + }); | |
| 1400 | + Object.defineProperty(subClass, "prototype", { | |
| 1401 | + writable: false | |
| 1402 | + }); | |
| 1403 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 1349 | 1404 | } |
| 1350 | 1405 | module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1351 | 1406 | |
| 1352 | 1407 | /***/ }), |
| @@ -1356,11 +1411,11 @@ | ||
| 1356 | 1411 | !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 1357 | 1412 | \***********************************************************************/ |
| 1358 | 1413 | /***/ ((module) => { |
| 1359 | 1414 | |
| 1360 | -function _interopRequireDefault(e) { | |
| 1361 | - return e && e.__esModule ? e : { | |
| 1362 | - "default": e | |
| 1415 | +function _interopRequireDefault(obj) { | |
| 1416 | + return obj && obj.__esModule ? obj : { | |
| 1417 | + "default": obj | |
| 1363 | 1418 | }; |
| 1364 | 1419 | } |
| 1365 | 1420 | module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1366 | 1421 | |
| @@ -1423,12 +1478,15 @@ | ||
| 1423 | 1478 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1424 | 1479 | |
| 1425 | 1480 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 1426 | 1481 | 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); | |
| 1482 | +function _possibleConstructorReturn(self, call) { | |
| 1483 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 1484 | + return call; | |
| 1485 | + } else if (call !== void 0) { | |
| 1486 | + throw new TypeError("Derived constructors may only return object or undefined"); | |
| 1487 | + } | |
| 1488 | + return assertThisInitialized(self); | |
| 1431 | 1489 | } |
| 1432 | 1490 | module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1433 | 1491 | |
| 1434 | 1492 | /***/ }), |
| @@ -1438,12 +1496,14 @@ | ||
| 1438 | 1496 | !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! |
| 1439 | 1497 | \****************************************************************/ |
| 1440 | 1498 | /***/ ((module) => { |
| 1441 | 1499 | |
| 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); | |
| 1500 | +function _setPrototypeOf(o, p) { | |
| 1501 | + module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | |
| 1502 | + o.__proto__ = p; | |
| 1503 | + return o; | |
| 1504 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 1505 | + return _setPrototypeOf(o, p); | |
| 1446 | 1506 | } |
| 1447 | 1507 | module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1448 | 1508 | |
| 1449 | 1509 | /***/ }), |
| @@ -1457,10 +1517,10 @@ | ||
| 1457 | 1517 | var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); |
| 1458 | 1518 | var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); |
| 1459 | 1519 | var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); |
| 1460 | 1520 | 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(); | |
| 1521 | +function _slicedToArray(arr, i) { | |
| 1522 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 1463 | 1523 | } |
| 1464 | 1524 | module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1465 | 1525 | |
| 1466 | 1526 | /***/ }), |
| @@ -1471,11 +1531,14 @@ | ||
| 1471 | 1531 | \***************************************************************/ |
| 1472 | 1532 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1473 | 1533 | |
| 1474 | 1534 | 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; | |
| 1535 | +function _superPropBase(object, property) { | |
| 1536 | + while (!Object.prototype.hasOwnProperty.call(object, property)) { | |
| 1537 | + object = getPrototypeOf(object); | |
| 1538 | + if (object === null) break; | |
| 1539 | + } | |
| 1540 | + return object; | |
| 1478 | 1541 | } |
| 1479 | 1542 | module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1480 | 1543 | |
| 1481 | 1544 | /***/ }), |
| @@ -1510,9 +1573,9 @@ | ||
| 1510 | 1573 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 1511 | 1574 | var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); |
| 1512 | 1575 | function toPropertyKey(t) { |
| 1513 | 1576 | var i = toPrimitive(t, "string"); |
| 1514 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 1577 | + return "symbol" == _typeof(i) ? i : String(i); | |
| 1515 | 1578 | } |
| 1516 | 1579 | module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1517 | 1580 | |
| 1518 | 1581 | /***/ }), |
| @@ -1525,13 +1588,13 @@ | ||
| 1525 | 1588 | |
| 1526 | 1589 | function _typeof(o) { |
| 1527 | 1590 | "@babel/helpers - typeof"; |
| 1528 | 1591 | |
| 1529 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 1592 | + return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 1530 | 1593 | return typeof o; |
| 1531 | 1594 | } : function (o) { |
| 1532 | 1595 | 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); | |
| 1596 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o); | |
| 1534 | 1597 | } |
| 1535 | 1598 | module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1536 | 1599 | |
| 1537 | 1600 | /***/ }), |
| @@ -1542,14 +1605,15 @@ | ||
| 1542 | 1605 | \****************************************************************************/ |
| 1543 | 1606 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 1544 | 1607 | |
| 1545 | 1608 | 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 | - } | |
| 1609 | +function _unsupportedIterableToArray(o, minLen) { | |
| 1610 | + if (!o) return; | |
| 1611 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 1612 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 1613 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 1614 | + if (n === "Map" || n === "Set") return Array.from(o); | |
| 1615 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 1552 | 1616 | } |
| 1553 | 1617 | module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 1554 | 1618 | |
| 1555 | 1619 | /***/ }) |
| @@ -1581,9 +1645,9 @@ | ||
| 1581 | 1645 | /******/ } |
| 1582 | 1646 | /******/ |
| 1583 | 1647 | /************************************************************************/ |
| 1584 | 1648 | var __webpack_exports__ = {}; |
| 1585 | -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. | |
| 1649 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 1586 | 1650 | (() => { |
| 1587 | 1651 | "use strict"; |
| 1588 | 1652 | /*!**************************************************!*\ |
| 1589 | 1653 | !*** ../assets/dev/js/editor/editor-document.js ***! |