| @@ -1,4 +1,5 @@ | ||
| 1 | +/*! elementor - v3.7.5 - 14-09-2022 */ | |
| 1 | 2 | /******/ (() => { // webpackBootstrap |
| 2 | 3 | /******/ var __webpack_modules__ = ({ |
| 3 | 4 | |
| 4 | 5 | /***/ "../modules/dev-tools/assets/js/deprecation.js": |
| @@ -10,15 +11,20 @@ | ||
| 10 | 11 | "use strict"; |
| 11 | 12 | |
| 12 | 13 | |
| 13 | 14 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 15 | + | |
| 14 | 16 | Object.defineProperty(exports, "__esModule", ({ |
| 15 | 17 | value: true |
| 16 | 18 | })); |
| 17 | 19 | exports["default"] = void 0; |
| 20 | + | |
| 18 | 21 | var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); |
| 22 | + | |
| 19 | 23 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 24 | + | |
| 20 | 25 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 26 | + | |
| 21 | 27 | /** |
| 22 | 28 | * @typedef {Object} Version |
| 23 | 29 | * @property {number} major1 The first number |
| 24 | 30 | * @property {number} major2 The second number |
| @@ -30,29 +36,34 @@ | ||
| 30 | 36 | * @param {string} name |
| 31 | 37 | * @param {string} version |
| 32 | 38 | * @param {string} replacement |
| 33 | 39 | */ |
| 34 | - | |
| 35 | 40 | var softDeprecated = function softDeprecated(name, version, replacement) { |
| 36 | 41 | if (elementorDevToolsConfig.isDebug) { |
| 37 | 42 | deprecatedMessage('soft', name, version, replacement); |
| 38 | 43 | } |
| 39 | 44 | }; |
| 45 | + | |
| 40 | 46 | var hardDeprecated = function hardDeprecated(name, version, replacement) { |
| 41 | 47 | deprecatedMessage('hard', name, version, replacement); |
| 42 | 48 | }; |
| 49 | + | |
| 43 | 50 | var deprecatedMessage = function deprecatedMessage(type, name, version, replacement) { |
| 44 | 51 | var message = "`".concat(name, "` is ").concat(type, " deprecated since ").concat(version); |
| 52 | + | |
| 45 | 53 | if (replacement) { |
| 46 | 54 | message += " - Use `".concat(replacement, "` instead"); |
| 47 | 55 | } |
| 56 | + | |
| 48 | 57 | elementorDevTools.consoleWarn(message); |
| 49 | 58 | }; |
| 50 | -var Deprecation = exports["default"] = /*#__PURE__*/function () { | |
| 59 | + | |
| 60 | +var Deprecation = /*#__PURE__*/function () { | |
| 51 | 61 | function Deprecation() { |
| 52 | 62 | (0, _classCallCheck2.default)(this, Deprecation); |
| 53 | 63 | } |
| 54 | - return (0, _createClass2.default)(Deprecation, [{ | |
| 64 | + | |
| 65 | + (0, _createClass2.default)(Deprecation, [{ | |
| 55 | 66 | key: "deprecated", |
| 56 | 67 | value: function deprecated(name, version, replacement) { |
| 57 | 68 | if (this.isHardDeprecated(version)) { |
| 58 | 69 | hardDeprecated(name, version, replacement); |
| @@ -59,27 +70,30 @@ | ||
| 59 | 70 | } else { |
| 60 | 71 | softDeprecated(name, version, replacement); |
| 61 | 72 | } |
| 62 | 73 | } |
| 63 | - | |
| 64 | 74 | /** |
| 65 | 75 | * @param {string} version |
| 66 | 76 | * |
| 67 | 77 | * @return {Version} |
| 68 | 78 | */ |
| 79 | + | |
| 69 | 80 | }, { |
| 70 | 81 | key: "parseVersion", |
| 71 | 82 | value: function parseVersion(version) { |
| 72 | 83 | var versionParts = version.split('.'); |
| 84 | + | |
| 73 | 85 | if (versionParts.length < 3 || versionParts.length > 4) { |
| 74 | 86 | throw new RangeError('Invalid Semantic Version string provided'); |
| 75 | 87 | } |
| 88 | + | |
| 76 | 89 | var _versionParts = (0, _slicedToArray2.default)(versionParts, 4), |
| 77 | - major1 = _versionParts[0], | |
| 78 | - major2 = _versionParts[1], | |
| 79 | - minor = _versionParts[2], | |
| 80 | - _versionParts$ = _versionParts[3], | |
| 81 | - build = _versionParts$ === void 0 ? '' : _versionParts$; | |
| 90 | + major1 = _versionParts[0], | |
| 91 | + major2 = _versionParts[1], | |
| 92 | + minor = _versionParts[2], | |
| 93 | + _versionParts$ = _versionParts[3], | |
| 94 | + build = _versionParts$ === void 0 ? '' : _versionParts$; | |
| 95 | + | |
| 82 | 96 | return { |
| 83 | 97 | major1: parseInt(major1), |
| 84 | 98 | major2: parseInt(major2), |
| 85 | 99 | minor: parseInt(minor), |
| @@ -85,9 +99,8 @@ | ||
| 85 | 99 | minor: parseInt(minor), |
| 86 | 100 | build: build |
| 87 | 101 | }; |
| 88 | 102 | } |
| 89 | - | |
| 90 | 103 | /** |
| 91 | 104 | * Get total of major. |
| 92 | 105 | * |
| 93 | 106 | * Since `get_total_major` cannot determine how much really versions between 2.9.0 and 3.3.0 if there is 2.10.0 version for example, |
| @@ -96,19 +109,21 @@ | ||
| 96 | 109 | * @param {Version} versionObj |
| 97 | 110 | * |
| 98 | 111 | * @return {number} |
| 99 | 112 | */ |
| 113 | + | |
| 100 | 114 | }, { |
| 101 | 115 | key: "getTotalMajor", |
| 102 | 116 | value: function getTotalMajor(versionObj) { |
| 103 | 117 | var total = parseInt("".concat(versionObj.major1).concat(versionObj.major2, "0")); |
| 104 | 118 | total = Number((total / 10).toFixed(0)); |
| 119 | + | |
| 105 | 120 | if (versionObj.major2 > 9) { |
| 106 | 121 | total = versionObj.major2 - 9; |
| 107 | 122 | } |
| 123 | + | |
| 108 | 124 | return total; |
| 109 | 125 | } |
| 110 | - | |
| 111 | 126 | /** |
| 112 | 127 | * @param {string} version1 |
| 113 | 128 | * @param {string} version2 |
| 114 | 129 | * |
| @@ -113,12 +128,14 @@ | ||
| 113 | 128 | * @param {string} version2 |
| 114 | 129 | * |
| 115 | 130 | * @return {number} |
| 116 | 131 | */ |
| 132 | + | |
| 117 | 133 | }, { |
| 118 | 134 | key: "compareVersion", |
| 119 | 135 | value: function compareVersion(version1, version2) { |
| 120 | 136 | var _this = this; |
| 137 | + | |
| 121 | 138 | return [this.parseVersion(version1), this.parseVersion(version2)].map(function (versionObj) { |
| 122 | 139 | return _this.getTotalMajor(versionObj); |
| 123 | 140 | }).reduce(function (acc, major) { |
| 124 | 141 | return acc - major; |
| @@ -123,14 +140,14 @@ | ||
| 123 | 140 | }).reduce(function (acc, major) { |
| 124 | 141 | return acc - major; |
| 125 | 142 | }); |
| 126 | 143 | } |
| 127 | - | |
| 128 | 144 | /** |
| 129 | 145 | * @param {string} version |
| 130 | 146 | * |
| 131 | 147 | * @return {boolean} |
| 132 | 148 | */ |
| 149 | + | |
| 133 | 150 | }, { |
| 134 | 151 | key: "isSoftDeprecated", |
| 135 | 152 | value: function isSoftDeprecated(version) { |
| 136 | 153 | var total = this.compareVersion(version, elementorDevToolsConfig.deprecation.current_version); |
| @@ -135,13 +152,13 @@ | ||
| 135 | 152 | value: function isSoftDeprecated(version) { |
| 136 | 153 | var total = this.compareVersion(version, elementorDevToolsConfig.deprecation.current_version); |
| 137 | 154 | return total <= elementorDevToolsConfig.deprecation.soft_version_count; |
| 138 | 155 | } |
| 139 | - | |
| 140 | 156 | /** |
| 141 | 157 | * @param {string} version |
| 142 | 158 | * @return {boolean} |
| 143 | 159 | */ |
| 160 | + | |
| 144 | 161 | }, { |
| 145 | 162 | key: "isHardDeprecated", |
| 146 | 163 | value: function isHardDeprecated(version) { |
| 147 | 164 | var total = this.compareVersion(version, elementorDevToolsConfig.deprecation.current_version); |
| @@ -147,10 +164,13 @@ | ||
| 147 | 164 | var total = this.compareVersion(version, elementorDevToolsConfig.deprecation.current_version); |
| 148 | 165 | return total < 0 || total >= elementorDevToolsConfig.deprecation.hard_version_count; |
| 149 | 166 | } |
| 150 | 167 | }]); |
| 168 | + return Deprecation; | |
| 151 | 169 | }(); |
| 152 | 170 | |
| 171 | +exports["default"] = Deprecation; | |
| 172 | + | |
| 153 | 173 | /***/ }), |
| 154 | 174 | |
| 155 | 175 | /***/ "../modules/dev-tools/assets/js/module.js": |
| 156 | 176 | /*!************************************************!*\ |
| @@ -161,38 +181,50 @@ | ||
| 161 | 181 | "use strict"; |
| 162 | 182 | |
| 163 | 183 | |
| 164 | 184 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 185 | + | |
| 165 | 186 | Object.defineProperty(exports, "__esModule", ({ |
| 166 | 187 | value: true |
| 167 | 188 | })); |
| 168 | 189 | exports["default"] = void 0; |
| 190 | + | |
| 169 | 191 | var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ "../node_modules/@babel/runtime/helpers/toConsumableArray.js")); |
| 192 | + | |
| 170 | 193 | var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); |
| 194 | + | |
| 171 | 195 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 196 | + | |
| 172 | 197 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 198 | + | |
| 173 | 199 | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); |
| 200 | + | |
| 174 | 201 | var _deprecation = _interopRequireDefault(__webpack_require__(/*! ./deprecation */ "../modules/dev-tools/assets/js/deprecation.js")); |
| 202 | + | |
| 175 | 203 | /* global elementorDevToolsConfig */ |
| 176 | -var Module = exports["default"] = /*#__PURE__*/function () { | |
| 204 | +var Module = /*#__PURE__*/function () { | |
| 205 | + /** | |
| 206 | + * @type {Deprecation} | |
| 207 | + */ | |
| 177 | 208 | function Module(deprecation) { |
| 178 | 209 | (0, _classCallCheck2.default)(this, Module); |
| 179 | - /** | |
| 180 | - * @type {Deprecation} | |
| 181 | - */ | |
| 182 | 210 | (0, _defineProperty2.default)(this, "deprecation", void 0); |
| 183 | 211 | this.deprecation = deprecation; |
| 184 | 212 | } |
| 185 | - return (0, _createClass2.default)(Module, [{ | |
| 213 | + | |
| 214 | + (0, _createClass2.default)(Module, [{ | |
| 186 | 215 | key: "notifyBackendDeprecations", |
| 187 | 216 | value: function notifyBackendDeprecations() { |
| 188 | 217 | var _this = this; |
| 218 | + | |
| 189 | 219 | var notices = elementorDevToolsConfig.deprecation.soft_notices; |
| 190 | 220 | Object.entries(notices).forEach(function (_ref) { |
| 191 | 221 | var _this$deprecation; |
| 222 | + | |
| 192 | 223 | var _ref2 = (0, _slicedToArray2.default)(_ref, 2), |
| 193 | - key = _ref2[0], | |
| 194 | - notice = _ref2[1]; | |
| 224 | + key = _ref2[0], | |
| 225 | + notice = _ref2[1]; | |
| 226 | + | |
| 195 | 227 | (_this$deprecation = _this.deprecation).deprecated.apply(_this$deprecation, [key].concat((0, _toConsumableArray2.default)(notice))); |
| 196 | 228 | }); |
| 197 | 229 | } |
| 198 | 230 | }, { |
| @@ -198,18 +230,26 @@ | ||
| 198 | 230 | }, { |
| 199 | 231 | key: "consoleWarn", |
| 200 | 232 | value: function consoleWarn() { |
| 201 | 233 | var _console; |
| 234 | + | |
| 202 | 235 | var style = "font-size: 12px; background-image: url(\"".concat(elementorDevToolsConfig.urls.assets, "images/logo-icon.png\"); background-repeat: no-repeat; background-size: contain;"); |
| 236 | + | |
| 203 | 237 | for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
| 204 | 238 | args[_key] = arguments[_key]; |
| 205 | 239 | } |
| 240 | + | |
| 206 | 241 | args.unshift('%c %c', style, ''); |
| 242 | + | |
| 207 | 243 | (_console = console).warn.apply(_console, args); // eslint-disable-line no-console |
| 244 | + | |
| 208 | 245 | } |
| 209 | 246 | }]); |
| 247 | + return Module; | |
| 210 | 248 | }(); |
| 211 | 249 | |
| 250 | +exports["default"] = Module; | |
| 251 | + | |
| 212 | 252 | /***/ }), |
| 213 | 253 | |
| 214 | 254 | /***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": |
| 215 | 255 | /*!******************************************************************!*\ |
| @@ -216,13 +256,18 @@ | ||
| 216 | 256 | !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! |
| 217 | 257 | \******************************************************************/ |
| 218 | 258 | /***/ ((module) => { |
| 219 | 259 | |
| 220 | -function _arrayLikeToArray(r, a) { | |
| 221 | - (null == a || a > r.length) && (a = r.length); | |
| 222 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 223 | - return n; | |
| 260 | +function _arrayLikeToArray(arr, len) { | |
| 261 | + if (len == null || len > arr.length) len = arr.length; | |
| 262 | + | |
| 263 | + for (var i = 0, arr2 = new Array(len); i < len; i++) { | |
| 264 | + arr2[i] = arr[i]; | |
| 265 | + } | |
| 266 | + | |
| 267 | + return arr2; | |
| 224 | 268 | } |
| 269 | + | |
| 225 | 270 | module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 226 | 271 | |
| 227 | 272 | /***/ }), |
| 228 | 273 | |
| @@ -231,11 +276,12 @@ | ||
| 231 | 276 | !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! |
| 232 | 277 | \****************************************************************/ |
| 233 | 278 | /***/ ((module) => { |
| 234 | 279 | |
| 235 | -function _arrayWithHoles(r) { | |
| 236 | - if (Array.isArray(r)) return r; | |
| 280 | +function _arrayWithHoles(arr) { | |
| 281 | + if (Array.isArray(arr)) return arr; | |
| 237 | 282 | } |
| 283 | + | |
| 238 | 284 | module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 239 | 285 | |
| 240 | 286 | /***/ }), |
| 241 | 287 | |
| @@ -245,11 +291,13 @@ | ||
| 245 | 291 | \*******************************************************************/ |
| 246 | 292 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 247 | 293 | |
| 248 | 294 | var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); |
| 249 | -function _arrayWithoutHoles(r) { | |
| 250 | - if (Array.isArray(r)) return arrayLikeToArray(r); | |
| 295 | + | |
| 296 | +function _arrayWithoutHoles(arr) { | |
| 297 | + if (Array.isArray(arr)) return arrayLikeToArray(arr); | |
| 251 | 298 | } |
| 299 | + | |
| 252 | 300 | module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 253 | 301 | |
| 254 | 302 | /***/ }), |
| 255 | 303 | |
| @@ -258,11 +306,14 @@ | ||
| 258 | 306 | !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! |
| 259 | 307 | \****************************************************************/ |
| 260 | 308 | /***/ ((module) => { |
| 261 | 309 | |
| 262 | -function _classCallCheck(a, n) { | |
| 263 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 310 | +function _classCallCheck(instance, Constructor) { | |
| 311 | + if (!(instance instanceof Constructor)) { | |
| 312 | + throw new TypeError("Cannot call a class as a function"); | |
| 313 | + } | |
| 264 | 314 | } |
| 315 | + | |
| 265 | 316 | module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 266 | 317 | |
| 267 | 318 | /***/ }), |
| 268 | 319 | |
| @@ -269,22 +320,29 @@ | ||
| 269 | 320 | /***/ "../node_modules/@babel/runtime/helpers/createClass.js": |
| 270 | 321 | /*!*************************************************************!*\ |
| 271 | 322 | !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! |
| 272 | 323 | \*************************************************************/ |
| 273 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 324 | +/***/ ((module) => { | |
| 274 | 325 | |
| 275 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 276 | -function _defineProperties(e, r) { | |
| 277 | - for (var t = 0; t < r.length; t++) { | |
| 278 | - var o = r[t]; | |
| 279 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 326 | +function _defineProperties(target, props) { | |
| 327 | + for (var i = 0; i < props.length; i++) { | |
| 328 | + var descriptor = props[i]; | |
| 329 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 330 | + descriptor.configurable = true; | |
| 331 | + if ("value" in descriptor) descriptor.writable = true; | |
| 332 | + Object.defineProperty(target, descriptor.key, descriptor); | |
| 280 | 333 | } |
| 281 | 334 | } |
| 282 | -function _createClass(e, r, t) { | |
| 283 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| 284 | - writable: !1 | |
| 285 | - }), e; | |
| 335 | + | |
| 336 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 337 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 338 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 339 | + Object.defineProperty(Constructor, "prototype", { | |
| 340 | + writable: false | |
| 341 | + }); | |
| 342 | + return Constructor; | |
| 286 | 343 | } |
| 344 | + | |
| 287 | 345 | module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 288 | 346 | |
| 289 | 347 | /***/ }), |
| 290 | 348 | |
| @@ -291,19 +349,25 @@ | ||
| 291 | 349 | /***/ "../node_modules/@babel/runtime/helpers/defineProperty.js": |
| 292 | 350 | /*!****************************************************************!*\ |
| 293 | 351 | !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***! |
| 294 | 352 | \****************************************************************/ |
| 295 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 353 | +/***/ ((module) => { | |
| 296 | 354 | |
| 297 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 298 | -function _defineProperty(e, r, t) { | |
| 299 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 300 | - value: t, | |
| 301 | - enumerable: !0, | |
| 302 | - configurable: !0, | |
| 303 | - writable: !0 | |
| 304 | - }) : e[r] = t, e; | |
| 355 | +function _defineProperty(obj, key, value) { | |
| 356 | + if (key in obj) { | |
| 357 | + Object.defineProperty(obj, key, { | |
| 358 | + value: value, | |
| 359 | + enumerable: true, | |
| 360 | + configurable: true, | |
| 361 | + writable: true | |
| 362 | + }); | |
| 363 | + } else { | |
| 364 | + obj[key] = value; | |
| 365 | + } | |
| 366 | + | |
| 367 | + return obj; | |
| 305 | 368 | } |
| 369 | + | |
| 306 | 370 | module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 307 | 371 | |
| 308 | 372 | /***/ }), |
| 309 | 373 | |
| @@ -312,13 +376,14 @@ | ||
| 312 | 376 | !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 313 | 377 | \***********************************************************************/ |
| 314 | 378 | /***/ ((module) => { |
| 315 | 379 | |
| 316 | -function _interopRequireDefault(e) { | |
| 317 | - return e && e.__esModule ? e : { | |
| 318 | - "default": e | |
| 380 | +function _interopRequireDefault(obj) { | |
| 381 | + return obj && obj.__esModule ? obj : { | |
| 382 | + "default": obj | |
| 319 | 383 | }; |
| 320 | 384 | } |
| 385 | + | |
| 321 | 386 | module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 322 | 387 | |
| 323 | 388 | /***/ }), |
| 324 | 389 | |
| @@ -327,11 +392,12 @@ | ||
| 327 | 392 | !*** ../node_modules/@babel/runtime/helpers/iterableToArray.js ***! |
| 328 | 393 | \*****************************************************************/ |
| 329 | 394 | /***/ ((module) => { |
| 330 | 395 | |
| 331 | -function _iterableToArray(r) { | |
| 332 | - if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); | |
| 396 | +function _iterableToArray(iter) { | |
| 397 | + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); | |
| 333 | 398 | } |
| 399 | + | |
| 334 | 400 | module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 335 | 401 | |
| 336 | 402 | /***/ }), |
| 337 | 403 | |
| @@ -340,35 +406,38 @@ | ||
| 340 | 406 | !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! |
| 341 | 407 | \**********************************************************************/ |
| 342 | 408 | /***/ ((module) => { |
| 343 | 409 | |
| 344 | -function _iterableToArrayLimit(r, l) { | |
| 345 | - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 346 | - if (null != t) { | |
| 347 | - var e, | |
| 348 | - n, | |
| 349 | - i, | |
| 350 | - u, | |
| 351 | - a = [], | |
| 352 | - f = !0, | |
| 353 | - o = !1; | |
| 410 | +function _iterableToArrayLimit(arr, i) { | |
| 411 | + var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; | |
| 412 | + | |
| 413 | + if (_i == null) return; | |
| 414 | + var _arr = []; | |
| 415 | + var _n = true; | |
| 416 | + var _d = false; | |
| 417 | + | |
| 418 | + var _s, _e; | |
| 419 | + | |
| 420 | + try { | |
| 421 | + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { | |
| 422 | + _arr.push(_s.value); | |
| 423 | + | |
| 424 | + if (i && _arr.length === i) break; | |
| 425 | + } | |
| 426 | + } catch (err) { | |
| 427 | + _d = true; | |
| 428 | + _e = err; | |
| 429 | + } finally { | |
| 354 | 430 | try { |
| 355 | - if (i = (t = t.call(r)).next, 0 === l) { | |
| 356 | - if (Object(t) !== t) return; | |
| 357 | - f = !1; | |
| 358 | - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 359 | - } catch (r) { | |
| 360 | - o = !0, n = r; | |
| 431 | + if (!_n && _i["return"] != null) _i["return"](); | |
| 361 | 432 | } finally { |
| 362 | - try { | |
| 363 | - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 364 | - } finally { | |
| 365 | - if (o) throw n; | |
| 366 | - } | |
| 433 | + if (_d) throw _e; | |
| 367 | 434 | } |
| 368 | - return a; | |
| 369 | 435 | } |
| 436 | + | |
| 437 | + return _arr; | |
| 370 | 438 | } |
| 439 | + | |
| 371 | 440 | module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 372 | 441 | |
| 373 | 442 | /***/ }), |
| 374 | 443 | |
| @@ -380,8 +449,9 @@ | ||
| 380 | 449 | |
| 381 | 450 | function _nonIterableRest() { |
| 382 | 451 | throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); |
| 383 | 452 | } |
| 453 | + | |
| 384 | 454 | module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 385 | 455 | |
| 386 | 456 | /***/ }), |
| 387 | 457 | |
| @@ -393,8 +463,9 @@ | ||
| 393 | 463 | |
| 394 | 464 | function _nonIterableSpread() { |
| 395 | 465 | throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); |
| 396 | 466 | } |
| 467 | + | |
| 397 | 468 | module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 398 | 469 | |
| 399 | 470 | /***/ }), |
| 400 | 471 | |
| @@ -404,14 +475,19 @@ | ||
| 404 | 475 | \***************************************************************/ |
| 405 | 476 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 406 | 477 | |
| 407 | 478 | var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); |
| 479 | + | |
| 408 | 480 | var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); |
| 481 | + | |
| 409 | 482 | var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); |
| 483 | + | |
| 410 | 484 | var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js"); |
| 411 | -function _slicedToArray(r, e) { | |
| 412 | - return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest(); | |
| 485 | + | |
| 486 | +function _slicedToArray(arr, i) { | |
| 487 | + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); | |
| 413 | 488 | } |
| 489 | + | |
| 414 | 490 | module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 415 | 491 | |
| 416 | 492 | /***/ }), |
| 417 | 493 | |
| @@ -421,74 +497,23 @@ | ||
| 421 | 497 | \*******************************************************************/ |
| 422 | 498 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 423 | 499 | |
| 424 | 500 | var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"); |
| 501 | + | |
| 425 | 502 | var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../node_modules/@babel/runtime/helpers/iterableToArray.js"); |
| 503 | + | |
| 426 | 504 | var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); |
| 505 | + | |
| 427 | 506 | var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ "../node_modules/@babel/runtime/helpers/nonIterableSpread.js"); |
| 428 | -function _toConsumableArray(r) { | |
| 429 | - return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread(); | |
| 430 | -} | |
| 431 | -module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 432 | 507 | |
| 433 | -/***/ }), | |
| 434 | - | |
| 435 | -/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": | |
| 436 | -/*!*************************************************************!*\ | |
| 437 | - !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! | |
| 438 | - \*************************************************************/ | |
| 439 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 440 | - | |
| 441 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 442 | -function toPrimitive(t, r) { | |
| 443 | - if ("object" != _typeof(t) || !t) return t; | |
| 444 | - var e = t[Symbol.toPrimitive]; | |
| 445 | - if (void 0 !== e) { | |
| 446 | - var i = e.call(t, r || "default"); | |
| 447 | - if ("object" != _typeof(i)) return i; | |
| 448 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 449 | - } | |
| 450 | - return ("string" === r ? String : Number)(t); | |
| 508 | +function _toConsumableArray(arr) { | |
| 509 | + return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); | |
| 451 | 510 | } |
| 452 | -module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 453 | 511 | |
| 454 | -/***/ }), | |
| 512 | +module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 455 | 513 | |
| 456 | -/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": | |
| 457 | -/*!***************************************************************!*\ | |
| 458 | - !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! | |
| 459 | - \***************************************************************/ | |
| 460 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 461 | - | |
| 462 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 463 | -var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); | |
| 464 | -function toPropertyKey(t) { | |
| 465 | - var i = toPrimitive(t, "string"); | |
| 466 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 467 | -} | |
| 468 | -module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 469 | - | |
| 470 | 514 | /***/ }), |
| 471 | 515 | |
| 472 | -/***/ "../node_modules/@babel/runtime/helpers/typeof.js": | |
| 473 | -/*!********************************************************!*\ | |
| 474 | - !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! | |
| 475 | - \********************************************************/ | |
| 476 | -/***/ ((module) => { | |
| 477 | - | |
| 478 | -function _typeof(o) { | |
| 479 | - "@babel/helpers - typeof"; | |
| 480 | - | |
| 481 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 482 | - return typeof o; | |
| 483 | - } : function (o) { | |
| 484 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 485 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 486 | -} | |
| 487 | -module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 488 | - | |
| 489 | -/***/ }), | |
| 490 | - | |
| 491 | 516 | /***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": |
| 492 | 517 | /*!****************************************************************************!*\ |
| 493 | 518 | !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! |
| 494 | 519 | \****************************************************************************/ |
| @@ -494,15 +519,18 @@ | ||
| 494 | 519 | \****************************************************************************/ |
| 495 | 520 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 496 | 521 | |
| 497 | 522 | var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); |
| 498 | -function _unsupportedIterableToArray(r, a) { | |
| 499 | - if (r) { | |
| 500 | - if ("string" == typeof r) return arrayLikeToArray(r, a); | |
| 501 | - var t = {}.toString.call(r).slice(8, -1); | |
| 502 | - 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; | |
| 503 | - } | |
| 523 | + | |
| 524 | +function _unsupportedIterableToArray(o, minLen) { | |
| 525 | + if (!o) return; | |
| 526 | + if (typeof o === "string") return arrayLikeToArray(o, minLen); | |
| 527 | + var n = Object.prototype.toString.call(o).slice(8, -1); | |
| 528 | + if (n === "Object" && o.constructor) n = o.constructor.name; | |
| 529 | + if (n === "Map" || n === "Set") return Array.from(o); | |
| 530 | + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | |
| 504 | 531 | } |
| 532 | + | |
| 505 | 533 | module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 506 | 534 | |
| 507 | 535 | /***/ }) |
| 508 | 536 | |
| @@ -533,9 +561,9 @@ | ||
| 533 | 561 | /******/ } |
| 534 | 562 | /******/ |
| 535 | 563 | /************************************************************************/ |
| 536 | 564 | var __webpack_exports__ = {}; |
| 537 | -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. | |
| 565 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 538 | 566 | (() => { |
| 539 | 567 | "use strict"; |
| 540 | 568 | /*!***********************************************!*\ |
| 541 | 569 | !*** ../modules/dev-tools/assets/js/index.js ***! |
| @@ -542,10 +570,13 @@ | ||
| 542 | 570 | \***********************************************/ |
| 543 | 571 | |
| 544 | 572 | |
| 545 | 573 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 574 | + | |
| 546 | 575 | var _deprecation = _interopRequireDefault(__webpack_require__(/*! ./deprecation */ "../modules/dev-tools/assets/js/deprecation.js")); |
| 576 | + | |
| 547 | 577 | var _module = _interopRequireDefault(__webpack_require__(/*! ./module */ "../modules/dev-tools/assets/js/module.js")); |
| 578 | + | |
| 548 | 579 | if (!window.elementorDevTools) { |
| 549 | 580 | window.elementorDevTools = new _module.default(new _deprecation.default()); |
| 550 | 581 | window.elementorDevTools.notifyBackendDeprecations(); |
| 551 | 582 | } |