AlkantarClanX12
Current Path : /home/thanudqk/siampokernew.org/wp-content/plugins/elementor/assets/js/ |
Current File : /home/thanudqk/siampokernew.org/wp-content/plugins/elementor/assets/js/new-template.min.js |
/*! elementor - v3.1.1 - 31-01-2021 */ (()=>{"use strict";var e,t,n={70119:(e,t,n)=>{var o=n(18194).__,i=n(97631);e.exports=elementorModules.common.views.modal.Layout.extend({getModalOptions:function getModalOptions(){return{id:"elementor-new-template-modal"}},getLogoOptions:function getLogoOptions(){return{title:o("New Template","elementor")}},initialize:function initialize(){elementorModules.common.views.modal.Layout.prototype.initialize.apply(this,arguments),this.showLogo(),this.showContentView()},showContentView:function showContentView(){this.modalContent.show(new i)}})},97631:e=>{e.exports=Marionette.ItemView.extend({id:"elementor-new-template-dialog-content",template:"#tmpl-elementor-new-template",ui:{},events:{},onRender:function onRender(){}})},18194:e=>{e.exports=wp.i18n}},o={};function __webpack_require__(e){if(o[e])return o[e].exports;var t=o[e]={exports:{}};return n[e](t,t.exports,__webpack_require__),t.exports}e=__webpack_require__(70119),t=elementorModules.ViewModule.extend({getDefaultSettings:function getDefaultSettings(){return{selectors:{addButton:".page-title-action:first, #elementor-template-library-add-new"}}},getDefaultElements:function getDefaultElements(){var e=this.getSettings("selectors");return{$addButton:jQuery(e.addButton)}},bindEvents:function bindEvents(){this.elements.$addButton.on("click",this.onAddButtonClick),elementorCommon.elements.$window.on("hashchange",this.showModalByHash.bind(this))},showModalByHash:function showModalByHash(){"#add_new"===location.hash&&(this.layout.showModal(),location.hash="")},onInit:function onInit(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments),this.layout=new e,this.showModalByHash()},onAddButtonClick:function onAddButtonClick(e){e.preventDefault(),this.layout.showModal()}}),jQuery((function(){window.elementorNewTemplate=new t}))})();