/*! elementor - v3.19.0 - 07-02-2024 */ /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "@wordpress/i18n": /*!**************************!*\ !*** external "wp.i18n" ***! \**************************/ /***/ ((module) => { module.exports = wp.i18n; /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. (() => { /*!*******************************************!*\ !*** ../assets/dev/js/admin/gutenberg.js ***! \*******************************************/ /* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; /* global ElementorGutenbergSettings */ (function ($) { 'use strict'; var ElementorGutenbergApp = { cacheElements: function cacheElements() { var self = this; self.isElementorMode = ElementorGutenbergSettings.isElementorMode; self.cache = {}; self.cache.$gutenberg = $('#editor'); self.cache.$switchMode = $($('#elementor-gutenberg-button-switch-mode').html()); self.cache.$switchModeButton = self.cache.$switchMode.find('#elementor-switch-mode-button'); self.bindEvents(); self.toggleStatus(); wp.data.subscribe(function () { setTimeout(function () { self.buildPanel(); }, 1); }); }, buildPanel: function buildPanel() { var self = this; if (!self.cache.$gutenberg.find('#elementor-switch-mode').length) { self.cache.$gutenberg.find('.edit-post-header-toolbar').append(self.cache.$switchMode); } if (this.hasIframe()) { this.hideIframeContent(); } if (!$('#elementor-editor').length) { self.cache.$editorPanel = $($('#elementor-gutenberg-panel').html()); self.cache.$gurenbergBlockList = self.cache.$gutenberg.find('.is-desktop-preview'); self.cache.$gurenbergBlockList.append(self.cache.$editorPanel); self.cache.$editorPanelButton = self.cache.$editorPanel.find('#elementor-go-to-edit-page-link'); self.cache.$editorPanelButton.on('click', function (event) { event.preventDefault(); self.animateLoader(); // A new post is initialized as an 'auto-draft'. // if the post is not a new post it should not save it to avoid some saving conflict between elementor and gutenberg. var isNewPost = 'auto-draft' === wp.data.select('core/editor').getCurrentPost().status; if (isNewPost) { var documentTitle = wp.data.select('core/editor').getEditedPostAttribute('title'); if (!documentTitle) { wp.data.dispatch('core/editor').editPost({ title: 'Elementor #' + $('#post_ID').val() }); } wp.data.dispatch('core/editor').savePost(); } self.redirectWhenSave(); }); } }, // Sometimes Gutenberg uses iframe instead of div. hasIframe: function hasIframe() { return !!this.cache.$gutenberg.find('iframe[name="editor-canvas"]').length; }, hideIframeContent: function hideIframeContent() { if (!this.isElementorMode) { return; } var style = ""; this.cache.$gutenberg.find('iframe[name="editor-canvas"]').contents().find('body').append(style); }, bindEvents: function bindEvents() { var self = this; self.cache.$switchModeButton.on('click', function () { if (self.isElementorMode) { elementorCommon.dialogsManager.createWidget('confirm', { message: __('Please note that you are switching to WordPress default editor. Your current layout, design and content might break.', 'elementor'), headerMessage: __('Back to WordPress Editor', 'elementor'), strings: { confirm: __('Continue', 'elementor'), cancel: __('Cancel', 'elementor') }, defaultOption: 'confirm', onConfirm: function onConfirm() { var wpEditor = wp.data.dispatch('core/editor'); wpEditor.editPost({ gutenberg_elementor_mode: false }); wpEditor.savePost(); self.isElementorMode = !self.isElementorMode; self.toggleStatus(); } }).show(); } else { self.isElementorMode = !self.isElementorMode; self.toggleStatus(); self.cache.$editorPanelButton.trigger('click'); } }); }, redirectWhenSave: function redirectWhenSave() { var self = this; setTimeout(function () { if (wp.data.select('core/editor').isSavingPost()) { self.redirectWhenSave(); } else { location.href = ElementorGutenbergSettings.editLink; } }, 300); }, animateLoader: function animateLoader() { this.cache.$editorPanelButton.addClass('elementor-animate'); }, toggleStatus: function toggleStatus() { jQuery('body').toggleClass('elementor-editor-active', this.isElementorMode).toggleClass('elementor-editor-inactive', !this.isElementorMode); }, init: function init() { this.cacheElements(); } }; $(function () { ElementorGutenbergApp.init(); }); })(jQuery); })(); /******/ })() ; //# sourceMappingURL=gutenberg.js.map
Lasallanos
Амоция скачивания вдобавок установки программного обеспечения выискается предельно простой. В конце перечня ищутся иконки “Шестеренка” — переход к опциям вдобавок молния в видах возвращения нате главный экран использования. Когда пользователь авторизован, достаточно активна кнопка “Выйти”…
If you are Crown Gold coins Gambling establishment doesn’t struck a good grandslam to your commission gateways, they at least attacks a stand-right up double if using a golf ball analogy. That have Western Express…
Content Where Do you Play at the best Local casino Web sites? PokerStars Gambling establishment Caesars Palace Local casino How to decide on the proper On-line casino While you are Fans doesn’t have a big…
Content Как пополнить счет а еще следовательно деньги на Мелбет? Непраздничное лучник игорный дом Melbet БК Мелбет работает из 2012 возраста, успешно обслуживая игроков больше какими средствами изо 200 государств. Получите и распишитесь сайте основаны…
Content В связи с которыми дополнение в видах «Андроида» лишать работает? А как обновить Мелбет для Андроид Успехи маневренного применения «Мелбет» Настройки а также оригинальности службы софта «Мелбет» Как заключать спортивные условия больше телефон Букмекерская…
Blogs Face to face: Mobile Gambling enterprises vs Pc Gambling enterprises Finest Cellular Casinos and Applications the real deal Money Game Mobile Gambling establishment Listing As a result, gamblers having crypto will normally pick mobile-amicable…
Content Волите узнавать что касается неношеных бонусах первенствовать? А как приобрести взаимодействующий промокод Мелбет в данное время? Ключевые дополнение акта “Кэшбэк фрибет” Для извлечения того али иного бонуса бк Мелбет в 2025 году необходим промокод….
Content A knowledgeable online slots websites to own 2025 try: Combos & Special Symbols What exactly are some of the position provides I should learn about? Sample the newest Volatility with Demo Play Our Top…
Content Веб-обозрение употребления Melbet возьмите Android Информация в рассуждении фирмы Мелбет Дизайн софта схож должностному сайту во брюзглом варианте, заслуги манкируют. Получите и распишитесь https://treasurecrestintegrated.com/zakachat-melbet-vozmite-droid-besplatnaya-variant-upotrebleniya-dlya-android-vo-bukmekerskoy-kontore-melbet/ почту настанет письмо ссылаясь, чтобы беттер прибинтовал запись буква email.
To fulfill the newest 10x gaming needs, we must wager 10 times the brand new shared amount of our put and you will extra ($500, $1,250), totaling $17,five hundred. The newest T&Cs usually imply when…
Comentarios recientes