/*! 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
1.0LASALLANOShttps://lasallanos.edu.ecCarlos Gomezhttps://lasallanos.edu.ec/author/carlos/Enjoy fun & flirty black bbw sex datingrich600338<blockquote class="wp-embedded-content" data-secret="XDBb7ORyuR"><a href="https://lasallanos.edu.ec/enjoy-fun-flirty-black-bbw-sex-dating/">Enjoy fun & flirty black bbw sex dating</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://lasallanos.edu.ec/enjoy-fun-flirty-black-bbw-sex-dating/embed/#?secret=XDBb7ORyuR" width="600" height="338" title="«Enjoy fun & flirty black bbw sex dating» — LASALLANOS" data-secret="XDBb7ORyuR" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script type="text/javascript">
/* <![CDATA[ */
/*! This file is auto-generated */
!function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document);
/* ]]> */
</script>