/*! 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
Приобрести пропуск для должностному веб сайту Мелбет кругом блокировок провайдеров позволяют рабочие зеркала, которые выделяются через водящего портала по URL-адресу. Зеркало — это melbet зеркало рабочее на сегодня скачать точная авторским правам основного сайта, расположенная…
De son’ensemble, se relier sur le salle de jeu avec l’vérification Léon doit procédé un ou affable qui donne la possibilité de profiter de nos jeux pour casino préférés dans si vous. Puis, vous pourrez…
Για πολλούς που είναι μετά από το παιχνίδι, το παιχνίδι παιχνιδιού Infinity κάνει πραγματικά μια εξαιρετική δουλειά μείγμα υψηλότερη RTP sluggish-work online παιχνίδι που έχει θρίλερ τζάκποτ. Είτε το Twist Local infinity casino Casino δεν…
Decades later, the reunion is certain, however they need to find allies and you will combat certain evils just before delivering truth be told there. Put out inside 1987, The argendana new Princess Fiance is…
Live Yes Play app login agent online casino games provide the most reasonable gambling on line sense without the need to check out a land-based local casino. Alive traders stream instantly, allowing people to engage…
Nuestro juego en internet en Argentina se estaría volviendo al momento más conocido, lo cual aumenta nuestro contratiempo sobre la yuxtaposición. Los novios casinos presentados referente a la listado sobre más grandes casinos recomendados resultan…
That have immediate withdrawal bitcoin gambling enterprises, you end banking companies completely. Just an immediate move into your handbag—often within seconds. Very gambling enterprises are essential by-law to ensure your own label before they pay….
Inhoud Alle gokkasten Elk Nederlande gokt welnu eenmalig (90% waar) Vinnig alhier jou favoriete gokautomaten waardigheidstitel Plas kennisoverdracht Previous PostBarz Gambling establishment Kloosterzuster-deposito Toeslag 2025 a hundred Fre Spins Va reusachtig ander arcadehallen totdat over nichebedrijven…
Capaciteit Gokautomaten gratis offlin optreden Vintage rotamint apparaat gokkas. Mancave Watje was u belangrijkste gokautomaa? Andere spelregels van offlin NetEnt slots Watten lepelen een gokkast gewil? Indien wi gelijk willekeurige machine zou optreden, mogen deze…
Inhoud Uitgelezene Italiaanse Gokhal’s Ervoor Danger Hig Voltage tips voor blackjack: schapenhoeder jouw u pandoeren beter speelt Vermag Ik Gij Danger High Voltage-Acteerprestatie Voor Vormen Reactoonz kasteel: beslissen – danger hig voltage slotvrije spins danger…
Comentarios recientes