| @@ -1,4 +1,5 @@ | ||
| 1 | +/*! elementor - v3.8.1 - 13-11-2022 */ | |
| 1 | 2 | /******/ (() => { // webpackBootstrap |
| 2 | 3 | /******/ var __webpack_modules__ = ({ |
| 3 | 4 | |
| 4 | 5 | /***/ "../assets/dev/js/admin/beta-tester/layout.js": |
| @@ -11,27 +12,41 @@ | ||
| 11 | 12 | /* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; |
| 12 | 13 | |
| 13 | 14 | |
| 14 | 15 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 16 | + | |
| 15 | 17 | Object.defineProperty(exports, "__esModule", ({ |
| 16 | 18 | value: true |
| 17 | 19 | })); |
| 18 | 20 | exports["default"] = void 0; |
| 21 | + | |
| 19 | 22 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 23 | + | |
| 20 | 24 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 25 | + | |
| 26 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 27 | + | |
| 21 | 28 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 29 | + | |
| 22 | 30 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 23 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 31 | + | |
| 24 | 32 | var _view = _interopRequireDefault(__webpack_require__(/*! ./view */ "../assets/dev/js/admin/beta-tester/view.js")); |
| 25 | -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)); } | |
| 26 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 27 | -var BetaTesterLayout = exports["default"] = /*#__PURE__*/function (_elementorModules$com) { | |
| 33 | + | |
| 34 | +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); }; } | |
| 35 | + | |
| 36 | +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; } } | |
| 37 | + | |
| 38 | +var BetaTesterLayout = /*#__PURE__*/function (_elementorModules$com) { | |
| 39 | + (0, _inherits2.default)(BetaTesterLayout, _elementorModules$com); | |
| 40 | + | |
| 41 | + var _super = _createSuper(BetaTesterLayout); | |
| 42 | + | |
| 28 | 43 | function BetaTesterLayout() { |
| 29 | 44 | (0, _classCallCheck2.default)(this, BetaTesterLayout); |
| 30 | - return _callSuper(this, BetaTesterLayout, arguments); | |
| 45 | + return _super.apply(this, arguments); | |
| 31 | 46 | } |
| 32 | - (0, _inherits2.default)(BetaTesterLayout, _elementorModules$com); | |
| 33 | - return (0, _createClass2.default)(BetaTesterLayout, [{ | |
| 47 | + | |
| 48 | + (0, _createClass2.default)(BetaTesterLayout, [{ | |
| 34 | 49 | key: "ui", |
| 35 | 50 | value: function ui() { |
| 36 | 51 | return { |
| 37 | 52 | closeModal: '.elementor-templates-modal__header__close', |
| @@ -68,9 +83,11 @@ | ||
| 68 | 83 | value: function initialize() { |
| 69 | 84 | elementorModules.common.views.modal.Layout.prototype.initialize.apply(this, arguments); |
| 70 | 85 | this.showLogo(); |
| 71 | 86 | this.showContentView(); |
| 87 | + | |
| 72 | 88 | var doNotShowAgain = __('Don\'t Show Again', 'elementor'); |
| 89 | + | |
| 73 | 90 | this.modalHeader.currentView.ui.closeModal.after(jQuery('<div>', { |
| 74 | 91 | class: 'elementor-beta-tester-do-not-show-again' |
| 75 | 92 | }).text(doNotShowAgain)); |
| 76 | 93 | } |
| @@ -94,10 +111,13 @@ | ||
| 94 | 111 | } |
| 95 | 112 | }); |
| 96 | 113 | } |
| 97 | 114 | }]); |
| 115 | + return BetaTesterLayout; | |
| 98 | 116 | }(elementorModules.common.views.modal.Layout); |
| 99 | 117 | |
| 118 | +exports["default"] = BetaTesterLayout; | |
| 119 | + | |
| 100 | 120 | /***/ }), |
| 101 | 121 | |
| 102 | 122 | /***/ "../assets/dev/js/admin/beta-tester/view.js": |
| 103 | 123 | /*!**************************************************!*\ |
| @@ -108,30 +128,44 @@ | ||
| 108 | 128 | "use strict"; |
| 109 | 129 | |
| 110 | 130 | |
| 111 | 131 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 132 | + | |
| 112 | 133 | Object.defineProperty(exports, "__esModule", ({ |
| 113 | 134 | value: true |
| 114 | 135 | })); |
| 115 | 136 | exports["default"] = void 0; |
| 137 | + | |
| 116 | 138 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 139 | + | |
| 117 | 140 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 141 | + | |
| 142 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 143 | + | |
| 118 | 144 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 145 | + | |
| 119 | 146 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 120 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 121 | -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)); } | |
| 122 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 123 | -var BetaTesterView = exports["default"] = /*#__PURE__*/function (_Marionette$ItemView) { | |
| 147 | + | |
| 148 | +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); }; } | |
| 149 | + | |
| 150 | +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; } } | |
| 151 | + | |
| 152 | +var BetaTesterView = /*#__PURE__*/function (_Marionette$ItemView) { | |
| 153 | + (0, _inherits2.default)(BetaTesterView, _Marionette$ItemView); | |
| 154 | + | |
| 155 | + var _super = _createSuper(BetaTesterView); | |
| 156 | + | |
| 124 | 157 | function BetaTesterView() { |
| 125 | 158 | var _this; |
| 159 | + | |
| 126 | 160 | (0, _classCallCheck2.default)(this, BetaTesterView); |
| 127 | - _this = _callSuper(this, BetaTesterView); | |
| 161 | + _this = _super.call(this); | |
| 128 | 162 | _this.id = 'elementor-beta-tester-dialog-content'; |
| 129 | 163 | _this.template = '#tmpl-elementor-beta-tester'; |
| 130 | 164 | return _this; |
| 131 | 165 | } |
| 132 | - (0, _inherits2.default)(BetaTesterView, _Marionette$ItemView); | |
| 133 | - return (0, _createClass2.default)(BetaTesterView, [{ | |
| 166 | + | |
| 167 | + (0, _createClass2.default)(BetaTesterView, [{ | |
| 134 | 168 | key: "ui", |
| 135 | 169 | value: function ui() { |
| 136 | 170 | return { |
| 137 | 171 | betaForm: '#elementor-beta-tester-form', |
| @@ -154,10 +188,10 @@ | ||
| 154 | 188 | this.ui.betaButton.addClass('elementor-button-state'); |
| 155 | 189 | elementorCommon.ajax.addRequest('beta_tester_signup', { |
| 156 | 190 | data: { |
| 157 | 191 | betaTesterEmail: email |
| 158 | - } | |
| 159 | - // Do not wait for response. | |
| 192 | + } // Do not wait for response. | |
| 193 | + | |
| 160 | 194 | }); |
| 161 | 195 | elementorBetaTester.layout.hideModal(); |
| 162 | 196 | } |
| 163 | 197 | }, { |
| @@ -163,12 +197,26 @@ | ||
| 163 | 197 | }, { |
| 164 | 198 | key: "onRender", |
| 165 | 199 | value: function onRender() {} |
| 166 | 200 | }]); |
| 201 | + return BetaTesterView; | |
| 167 | 202 | }(Marionette.ItemView); |
| 168 | 203 | |
| 204 | +exports["default"] = BetaTesterView; | |
| 205 | + | |
| 169 | 206 | /***/ }), |
| 170 | 207 | |
| 208 | +/***/ "@wordpress/i18n": | |
| 209 | +/*!**************************!*\ | |
| 210 | + !*** external "wp.i18n" ***! | |
| 211 | + \**************************/ | |
| 212 | +/***/ ((module) => { | |
| 213 | + | |
| 214 | +"use strict"; | |
| 215 | +module.exports = wp.i18n; | |
| 216 | + | |
| 217 | +/***/ }), | |
| 218 | + | |
| 171 | 219 | /***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": |
| 172 | 220 | /*!***********************************************************************!*\ |
| 173 | 221 | !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! |
| 174 | 222 | \***********************************************************************/ |
| @@ -173,12 +221,16 @@ | ||
| 173 | 221 | !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! |
| 174 | 222 | \***********************************************************************/ |
| 175 | 223 | /***/ ((module) => { |
| 176 | 224 | |
| 177 | -function _assertThisInitialized(e) { | |
| 178 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 179 | - return e; | |
| 225 | +function _assertThisInitialized(self) { | |
| 226 | + if (self === void 0) { | |
| 227 | + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 228 | + } | |
| 229 | + | |
| 230 | + return self; | |
| 180 | 231 | } |
| 232 | + | |
| 181 | 233 | module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 182 | 234 | |
| 183 | 235 | /***/ }), |
| 184 | 236 | |
| @@ -187,11 +239,14 @@ | ||
| 187 | 239 | !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! |
| 188 | 240 | \****************************************************************/ |
| 189 | 241 | /***/ ((module) => { |
| 190 | 242 | |
| 191 | -function _classCallCheck(a, n) { | |
| 192 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 243 | +function _classCallCheck(instance, Constructor) { | |
| 244 | + if (!(instance instanceof Constructor)) { | |
| 245 | + throw new TypeError("Cannot call a class as a function"); | |
| 246 | + } | |
| 193 | 247 | } |
| 248 | + | |
| 194 | 249 | module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 195 | 250 | |
| 196 | 251 | /***/ }), |
| 197 | 252 | |
| @@ -198,22 +253,29 @@ | ||
| 198 | 253 | /***/ "../node_modules/@babel/runtime/helpers/createClass.js": |
| 199 | 254 | /*!*************************************************************!*\ |
| 200 | 255 | !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! |
| 201 | 256 | \*************************************************************/ |
| 202 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 257 | +/***/ ((module) => { | |
| 203 | 258 | |
| 204 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 205 | -function _defineProperties(e, r) { | |
| 206 | - for (var t = 0; t < r.length; t++) { | |
| 207 | - var o = r[t]; | |
| 208 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 259 | +function _defineProperties(target, props) { | |
| 260 | + for (var i = 0; i < props.length; i++) { | |
| 261 | + var descriptor = props[i]; | |
| 262 | + descriptor.enumerable = descriptor.enumerable || false; | |
| 263 | + descriptor.configurable = true; | |
| 264 | + if ("value" in descriptor) descriptor.writable = true; | |
| 265 | + Object.defineProperty(target, descriptor.key, descriptor); | |
| 209 | 266 | } |
| 210 | 267 | } |
| 211 | -function _createClass(e, r, t) { | |
| 212 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| 213 | - writable: !1 | |
| 214 | - }), e; | |
| 268 | + | |
| 269 | +function _createClass(Constructor, protoProps, staticProps) { | |
| 270 | + if (protoProps) _defineProperties(Constructor.prototype, protoProps); | |
| 271 | + if (staticProps) _defineProperties(Constructor, staticProps); | |
| 272 | + Object.defineProperty(Constructor, "prototype", { | |
| 273 | + writable: false | |
| 274 | + }); | |
| 275 | + return Constructor; | |
| 215 | 276 | } |
| 277 | + | |
| 216 | 278 | module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 217 | 279 | |
| 218 | 280 | /***/ }), |
| 219 | 281 | |
| @@ -222,13 +284,15 @@ | ||
| 222 | 284 | !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! |
| 223 | 285 | \****************************************************************/ |
| 224 | 286 | /***/ ((module) => { |
| 225 | 287 | |
| 226 | -function _getPrototypeOf(t) { | |
| 227 | - return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | |
| 228 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 229 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); | |
| 288 | +function _getPrototypeOf(o) { | |
| 289 | + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | |
| 290 | + return o.__proto__ || Object.getPrototypeOf(o); | |
| 291 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 292 | + return _getPrototypeOf(o); | |
| 230 | 293 | } |
| 294 | + | |
| 231 | 295 | module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 232 | 296 | |
| 233 | 297 | /***/ }), |
| 234 | 298 | |
| @@ -238,20 +302,27 @@ | ||
| 238 | 302 | \**********************************************************/ |
| 239 | 303 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 240 | 304 | |
| 241 | 305 | var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); |
| 242 | -function _inherits(t, e) { | |
| 243 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 244 | - t.prototype = Object.create(e && e.prototype, { | |
| 306 | + | |
| 307 | +function _inherits(subClass, superClass) { | |
| 308 | + if (typeof superClass !== "function" && superClass !== null) { | |
| 309 | + throw new TypeError("Super expression must either be null or a function"); | |
| 310 | + } | |
| 311 | + | |
| 312 | + subClass.prototype = Object.create(superClass && superClass.prototype, { | |
| 245 | 313 | constructor: { |
| 246 | - value: t, | |
| 247 | - writable: !0, | |
| 248 | - configurable: !0 | |
| 314 | + value: subClass, | |
| 315 | + writable: true, | |
| 316 | + configurable: true | |
| 249 | 317 | } |
| 250 | - }), Object.defineProperty(t, "prototype", { | |
| 251 | - writable: !1 | |
| 252 | - }), e && setPrototypeOf(t, e); | |
| 318 | + }); | |
| 319 | + Object.defineProperty(subClass, "prototype", { | |
| 320 | + writable: false | |
| 321 | + }); | |
| 322 | + if (superClass) setPrototypeOf(subClass, superClass); | |
| 253 | 323 | } |
| 324 | + | |
| 254 | 325 | module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 255 | 326 | |
| 256 | 327 | /***/ }), |
| 257 | 328 | |
| @@ -260,13 +331,14 @@ | ||
| 260 | 331 | !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 261 | 332 | \***********************************************************************/ |
| 262 | 333 | /***/ ((module) => { |
| 263 | 334 | |
| 264 | -function _interopRequireDefault(e) { | |
| 265 | - return e && e.__esModule ? e : { | |
| 266 | - "default": e | |
| 335 | +function _interopRequireDefault(obj) { | |
| 336 | + return obj && obj.__esModule ? obj : { | |
| 337 | + "default": obj | |
| 267 | 338 | }; |
| 268 | 339 | } |
| 340 | + | |
| 269 | 341 | module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 270 | 342 | |
| 271 | 343 | /***/ }), |
| 272 | 344 | |
| @@ -276,14 +348,21 @@ | ||
| 276 | 348 | \***************************************************************************/ |
| 277 | 349 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 278 | 350 | |
| 279 | 351 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 352 | + | |
| 280 | 353 | var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); |
| 281 | -function _possibleConstructorReturn(t, e) { | |
| 282 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 283 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 284 | - return assertThisInitialized(t); | |
| 354 | + | |
| 355 | +function _possibleConstructorReturn(self, call) { | |
| 356 | + if (call && (_typeof(call) === "object" || typeof call === "function")) { | |
| 357 | + return call; | |
| 358 | + } else if (call !== void 0) { | |
| 359 | + throw new TypeError("Derived constructors may only return object or undefined"); | |
| 360 | + } | |
| 361 | + | |
| 362 | + return assertThisInitialized(self); | |
| 285 | 363 | } |
| 364 | + | |
| 286 | 365 | module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 287 | 366 | |
| 288 | 367 | /***/ }), |
| 289 | 368 | |
| @@ -292,54 +371,20 @@ | ||
| 292 | 371 | !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! |
| 293 | 372 | \****************************************************************/ |
| 294 | 373 | /***/ ((module) => { |
| 295 | 374 | |
| 296 | -function _setPrototypeOf(t, e) { | |
| 297 | - return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | |
| 298 | - return t.__proto__ = e, t; | |
| 299 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); | |
| 375 | +function _setPrototypeOf(o, p) { | |
| 376 | + module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | |
| 377 | + o.__proto__ = p; | |
| 378 | + return o; | |
| 379 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 380 | + return _setPrototypeOf(o, p); | |
| 300 | 381 | } |
| 382 | + | |
| 301 | 383 | module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 302 | 384 | |
| 303 | 385 | /***/ }), |
| 304 | 386 | |
| 305 | -/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": | |
| 306 | -/*!*************************************************************!*\ | |
| 307 | - !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! | |
| 308 | - \*************************************************************/ | |
| 309 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 310 | - | |
| 311 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 312 | -function toPrimitive(t, r) { | |
| 313 | - if ("object" != _typeof(t) || !t) return t; | |
| 314 | - var e = t[Symbol.toPrimitive]; | |
| 315 | - if (void 0 !== e) { | |
| 316 | - var i = e.call(t, r || "default"); | |
| 317 | - if ("object" != _typeof(i)) return i; | |
| 318 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 319 | - } | |
| 320 | - return ("string" === r ? String : Number)(t); | |
| 321 | -} | |
| 322 | -module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 323 | - | |
| 324 | -/***/ }), | |
| 325 | - | |
| 326 | -/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": | |
| 327 | -/*!***************************************************************!*\ | |
| 328 | - !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! | |
| 329 | - \***************************************************************/ | |
| 330 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 331 | - | |
| 332 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 333 | -var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); | |
| 334 | -function toPropertyKey(t) { | |
| 335 | - var i = toPrimitive(t, "string"); | |
| 336 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 337 | -} | |
| 338 | -module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 339 | - | |
| 340 | -/***/ }), | |
| 341 | - | |
| 342 | 387 | /***/ "../node_modules/@babel/runtime/helpers/typeof.js": |
| 343 | 388 | /*!********************************************************!*\ |
| 344 | 389 | !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! |
| 345 | 390 | \********************************************************/ |
| @@ -344,30 +389,20 @@ | ||
| 344 | 389 | !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! |
| 345 | 390 | \********************************************************/ |
| 346 | 391 | /***/ ((module) => { |
| 347 | 392 | |
| 348 | -function _typeof(o) { | |
| 393 | +function _typeof(obj) { | |
| 349 | 394 | "@babel/helpers - typeof"; |
| 350 | 395 | |
| 351 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 352 | - return typeof o; | |
| 353 | - } : function (o) { | |
| 354 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 355 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 396 | + return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { | |
| 397 | + return typeof obj; | |
| 398 | + } : function (obj) { | |
| 399 | + return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; | |
| 400 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj); | |
| 356 | 401 | } |
| 402 | + | |
| 357 | 403 | module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 358 | 404 | |
| 359 | -/***/ }), | |
| 360 | - | |
| 361 | -/***/ "@wordpress/i18n": | |
| 362 | -/*!**************************!*\ | |
| 363 | - !*** external "wp.i18n" ***! | |
| 364 | - \**************************/ | |
| 365 | -/***/ ((module) => { | |
| 366 | - | |
| 367 | -"use strict"; | |
| 368 | -module.exports = wp.i18n; | |
| 369 | - | |
| 370 | 405 | /***/ }) |
| 371 | 406 | |
| 372 | 407 | /******/ }); |
| 373 | 408 | /************************************************************************/ |
| @@ -396,9 +431,9 @@ | ||
| 396 | 431 | /******/ } |
| 397 | 432 | /******/ |
| 398 | 433 | /************************************************************************/ |
| 399 | 434 | var __webpack_exports__ = {}; |
| 400 | -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. | |
| 435 | +// This entry need to be wrapped in an IIFE because it need to be in strict mode. | |
| 401 | 436 | (() => { |
| 402 | 437 | "use strict"; |
| 403 | 438 | /*!*********************************************************!*\ |
| 404 | 439 | !*** ../assets/dev/js/admin/beta-tester/beta-tester.js ***! |
| @@ -405,23 +440,36 @@ | ||
| 405 | 440 | \*********************************************************/ |
| 406 | 441 | |
| 407 | 442 | |
| 408 | 443 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 444 | + | |
| 409 | 445 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 446 | + | |
| 410 | 447 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 448 | + | |
| 449 | +var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 450 | + | |
| 411 | 451 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 452 | + | |
| 412 | 453 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 413 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 454 | + | |
| 414 | 455 | var _layout = _interopRequireDefault(__webpack_require__(/*! ./layout */ "../assets/dev/js/admin/beta-tester/layout.js")); |
| 415 | -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)); } | |
| 416 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 456 | + | |
| 457 | +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); }; } | |
| 458 | + | |
| 459 | +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; } } | |
| 460 | + | |
| 417 | 461 | var BetaTesterModule = /*#__PURE__*/function (_elementorModules$Vie) { |
| 462 | + (0, _inherits2.default)(BetaTesterModule, _elementorModules$Vie); | |
| 463 | + | |
| 464 | + var _super = _createSuper(BetaTesterModule); | |
| 465 | + | |
| 418 | 466 | function BetaTesterModule() { |
| 419 | 467 | (0, _classCallCheck2.default)(this, BetaTesterModule); |
| 420 | - return _callSuper(this, BetaTesterModule, arguments); | |
| 468 | + return _super.apply(this, arguments); | |
| 421 | 469 | } |
| 422 | - (0, _inherits2.default)(BetaTesterModule, _elementorModules$Vie); | |
| 423 | - return (0, _createClass2.default)(BetaTesterModule, [{ | |
| 470 | + | |
| 471 | + (0, _createClass2.default)(BetaTesterModule, [{ | |
| 424 | 472 | key: "onInit", |
| 425 | 473 | value: function onInit() { |
| 426 | 474 | elementorModules.ViewModule.prototype.onInit.apply(this, arguments); |
| 427 | 475 | this.showLayout(false); |
| @@ -429,11 +477,13 @@ | ||
| 429 | 477 | }, { |
| 430 | 478 | key: "showLayout", |
| 431 | 479 | value: function showLayout() { |
| 432 | 480 | var always = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; |
| 481 | + | |
| 433 | 482 | if (!always && (!elementorAdmin.config.beta_tester.option_enabled || elementorAdmin.config.beta_tester.signup_dismissed || '#tab-fontawesome4_migration' === location.hash)) { |
| 434 | 483 | return; |
| 435 | 484 | } |
| 485 | + | |
| 436 | 486 | this.layout = new _layout.default(); |
| 437 | 487 | this.layout.showModal(); |
| 438 | 488 | } |
| 439 | 489 | }, { |
| @@ -459,9 +509,11 @@ | ||
| 459 | 509 | var elements = this.elements; |
| 460 | 510 | elements.$betaTesterFirstToKnow.on('click', this.showLayout.bind(this)); |
| 461 | 511 | } |
| 462 | 512 | }]); |
| 513 | + return BetaTesterModule; | |
| 463 | 514 | }(elementorModules.ViewModule); |
| 515 | + | |
| 464 | 516 | jQuery(function () { |
| 465 | 517 | window.elementorBetaTester = new BetaTesterModule(); |
| 466 | 518 | }); |
| 467 | 519 | })(); |