PATH:
home
/
lab2454c
/
credityork.com
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/*! elementor - v3.13.3 - 22-05-2023 */ /******/ (() => { // 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 (!$('#elementor-editor').length) { self.cache.$editorPanel = $($('#elementor-gutenberg-panel').html()); // TODO: `editor-block-list__layout` class for WP < 5.3 support. self.cache.$gurenbergBlockList = self.cache.$gutenberg.find('.editor-block-list__layout, .editor-post-text-editor, .block-editor-block-list__layout'); self.cache.$gurenbergBlockList.after(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(); }); } }, 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
[+]
..
[-] frontend.min.js
[edit]
[-] be69c0d71c69e96d6a96.bundle.min.js
[edit]
[-] editor.js
[edit]
[-] kit-library.122bb1346ccb087862ae.bundle.min.js
[edit]
[-] alert.cbc2a0fee74ee3ed0419.bundle.min.js
[edit]
[-] admin-feedback.min.js
[edit]
[-] nested-tabs.min.js
[edit]
[-] frontend.js
[edit]
[-] container-converter.min.js
[edit]
[-] kit-elements-defaults-editor.js
[edit]
[-] notes.min.js
[edit]
[-] progress.ca55d33bb06cee4e6f02.bundle.min.js
[edit]
[-] video.d86bfd0676264945e968.bundle.min.js
[edit]
[-] admin-top-bar.min.js
[edit]
[-] editor-loader-v1.min.js
[edit]
[-] tabs.c2af5be7f9cb3cdcf3d5.bundle.min.js
[edit]
[-] import-export-admin.min.js
[edit]
[-] admin.js
[edit]
[-] admin-modules.js
[edit]
[-] f44354f947a948ef36c9.bundle.min.js
[edit]
[-] admin-top-bar.js
[edit]
[-] editor-modules.min.js
[edit]
[-] alert.5c23f364fd0f1ece78ac.bundle.js
[edit]
[-] gutenberg.min.js
[edit]
[-] app.min.js
[edit]
[-] nested-tabs.js
[edit]
[-] app.js
[edit]
[-] editor-loader-v1.js
[edit]
[-] editor.min.js.LICENSE.txt
[edit]
[-] preloaded-modules.min.js
[edit]
[+]
packages
[-] preloaded-modules.js
[edit]
[-] nested-elements.min.js
[edit]
[-] kit-elements-defaults-editor.min.js
[edit]
[-] 7fada1a61d72da6d46ab.bundle.min.js
[edit]
[-] gutenberg.js
[edit]
[-] ai-admin.min.js.LICENSE.txt
[edit]
[-] dev-tools.js
[edit]
[-] editor-document.js
[edit]
[-] app-packages.js
[edit]
[-] common.min.js
[edit]
[-] text-editor.904ef93cc88acb021fdd.bundle.js
[edit]
[-] container.5e815d130b9285528140.bundle.js
[edit]
[-] web-cli.min.js
[edit]
[-] lightbox.db6cea8ed8ffdf265764.bundle.min.js
[edit]
[-] common-modules.min.js
[edit]
[-] common-modules.js
[edit]
[-] frontend-modules.min.js
[edit]
[-] common.js
[edit]
[-] 468f41fa91dee0f38b7d.bundle.js
[edit]
[-] new-template.min.js
[edit]
[-] app-loader.js
[edit]
[-] editor.min.js
[edit]
[-] tabs.dc22ac11bf840003dd7f.bundle.js
[edit]
[-] lightbox.e2344f1933f87e3014b3.bundle.js
[edit]
[-] elementor-admin-bar.js
[edit]
[-] editor-loader-v2.js
[edit]
[-] text-path.e17f48a91199337badc8.bundle.js
[edit]
[-] kit-elements-defaults-editor.min.js.LICENSE.txt
[edit]
[-] 82916c9aba5712bca47c.bundle.js
[edit]
[-] elementor-admin-bar.min.js
[edit]
[-] nested-elements.js
[edit]
[-] toggle.31881477c45ff5cf9d4d.bundle.min.js
[edit]
[-] frontend-modules.js
[edit]
[-] webpack.runtime.min.js
[edit]
[-] adea2c8e99ec77c3e05d.bundle.js
[edit]
[-] text-path.b50b3e74488a4e302613.bundle.min.js
[edit]
[-] app-loader.min.js
[edit]
[-] container.3e03f0b480c65f79dee6.bundle.min.js
[edit]
[-] web-cli.js
[edit]
[-] webpack.runtime.js
[edit]
[-] editor-modules.js
[edit]
[-] announcements-app.min.js
[edit]
[-] onboarding.6aace3f2fdf9ebb9bde5.bundle.min.js
[edit]
[-] counter.02cef29c589e742d4c8c.bundle.min.js
[edit]
[-] app-packages.min.js.LICENSE.txt
[edit]
[-] toggle.29e5a34bb6e51dab4600.bundle.js
[edit]
[-] new-template.js
[edit]
[-] app.min.js.LICENSE.txt
[edit]
[-] responsive-bar.min.js
[edit]
[-] admin-feedback.js
[edit]
[-] accordion.8799675460c73eb48972.bundle.min.js
[edit]
[-] editor-document.min.js
[edit]
[-] image-carousel.8007d415cd5f258d2d69.bundle.js
[edit]
[-] beta-tester.js
[edit]
[-] common.min.js.LICENSE.txt
[edit]
[-] video.82d55b692da440a65954.bundle.js
[edit]
[-] wp-audio.4368a4a260548f3c083a.bundle.js
[edit]
[-] 96124ada3ba05750eec1.bundle.js
[edit]
[-] ai.min.js.LICENSE.txt
[edit]
[-] progress.ddc47ad5120f8813e430.bundle.js
[edit]
[-] announcements-app.js
[edit]
[-] web-cli.min.js.LICENSE.txt
[edit]
[-] app-packages.min.js
[edit]
[-] text-editor.2c35aafbe5bf0e127950.bundle.min.js
[edit]
[-] onboarding.11552dda33809c4e4b47.bundle.js
[edit]
[-] accordion.d0e98fa492444fcce9f9.bundle.js
[edit]
[-] counter.6e06639071a3da2a8059.bundle.js
[edit]
[-] admin.min.js
[edit]
[-] admin-modules.min.js
[edit]
[-] container-converter.js
[edit]
[-] responsive-bar.js
[edit]
[-] 765551b6f9005a42004c.bundle.js
[edit]
[-] ai.min.js
[edit]
[-] editor-loader-v2.min.js
[edit]
[-] ai-admin.min.js
[edit]
[-] 1bef795bdeaafc779b19.bundle.min.js
[edit]
[-] ai-admin.js
[edit]
[-] image-carousel.4455c6362492d9067512.bundle.min.js
[edit]
[-] kit-library.18b65108d23ab1dafb8a.bundle.js
[edit]
[-] ai.js
[edit]
[-] adadcfdaada40ff3919c.bundle.min.js
[edit]
[-] nested-tabs.min.js.LICENSE.txt
[edit]
[-] import-export-admin.js
[edit]
[-] notes.js
[edit]
[-] 62aed6374b1561fb5fd8.bundle.js
[edit]
[-] wp-audio.75f0ced143febb8cd31a.bundle.min.js
[edit]
[-] dev-tools.min.js
[edit]
[-] beta-tester.min.js
[edit]
[-] announcements-app.min.js.LICENSE.txt
[edit]