2 lines
9.2 KiB
JavaScript
2 lines
9.2 KiB
JavaScript
|
/*! elementor - v3.18.0 - 20-12-2023 */
|
||
|
(()=>{var e={97267:(e,t,o)=>{"use strict";var r=o(38003).__,n=o(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=n(o(78983)),i=n(o(42081)),a=n(o(58724)),s=n(o(71173)),l=n(o(74910)),c=n(o(5721));function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var o,r=(0,l.default)(e);if(t){var n=(0,l.default)(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return(0,s.default)(this,o)}}var f=function(e){(0,a.default)(BetaTesterLayout,e);var t=_createSuper(BetaTesterLayout);function BetaTesterLayout(){return(0,u.default)(this,BetaTesterLayout),t.apply(this,arguments)}return(0,i.default)(BetaTesterLayout,[{key:"ui",value:function ui(){return{closeModal:".elementor-templates-modal__header__close",dontShowAgain:".elementor-beta-tester-do-not-show-again"}}},{key:"events",value:function events(){return{"click @ui.closeModal":this.onCloseModalClick,"click @ui.dontShowAgain":this.onDontShowAgainClick}}},{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-beta-tester-modal",hide:{onBackgroundClick:!1}}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:r("Sign Up","elementor")}}},{key:"initialize",value:function initialize(){elementorModules.common.views.modal.Layout.prototype.initialize.apply(this,arguments),this.showLogo(),this.showContentView();var e=r("Don't Show Again","elementor");this.modalHeader.currentView.ui.closeModal.after(jQuery("<div>",{class:"elementor-beta-tester-do-not-show-again"}).text(e))}},{key:"showContentView",value:function showContentView(){this.modalContent.show(new c.default)}},{key:"onDontShowAgainClick",value:function onDontShowAgainClick(){this.hideModal(),this.onCloseModalClick()}},{key:"onCloseModalClick",value:function onCloseModalClick(){elementorCommon.ajax.addRequest("introduction_viewed",{data:{introductionKey:elementorAdmin.config.beta_tester.beta_tester_signup}})}}]),BetaTesterLayout}(elementorModules.common.views.modal.Layout);t.default=f},5721:(e,t,o)=>{"use strict";var r=o(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(78983)),u=r(o(42081)),i=r(o(58724)),a=r(o(71173)),s=r(o(74910));function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var o,r=(0,s.default)(e);if(t){var n=(0,s.default)(this).constructor;o=Reflect.construct(r,arguments,n)}else o=r.apply(this,arguments);return(0,a.default)(this,o)}}var l=function(e){(0,i.default)(BetaTesterView,e);var t=_createSuper(BetaTesterView);function BetaTesterView(){var e;return(0,n.default)(this,BetaTesterView),(e=t.call(this)).id="elementor-beta-tester-dialog-content",e.template="#tmpl-elementor-beta-tester",e}return(0,u.default)(BetaTesterView,[{key:"ui",value:function ui(){return{betaForm:"#elementor-beta-tester-form",betaEmail:"#elementor-beta-tester-form__email",betaButton:"#elementor-beta-tester-form__submit"}}},{key:"events",value:function events(){return{"submit @ui.betaForm":"onBetaFormSubmit"}}},{key:"onBetaFormSubmit",value:function onBetaFormSubmit(e){e.preventDefault();var t=this.ui.betaEmail.val();this.ui.betaButton.addClass("elementor-button-state"),elementorCommon.ajax.addRequest("beta_tester_signup",{data:{betaTesterEmail:t}}),elementorBetaTester.layout.hideModal()}},{key:"onRender",value:function onRender(){}}]),BetaTesterView}(Marionette.ItemView);t.default=l},38003:e=>{"use strict";e.exports=wp.i18n},77266:e=>{e.exports=function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been init
|