Current Path: > home > codekrsu > > escapematrixonline.com > wp-content > plugins > > optinmonster > assets > js
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Elementor | Directory | - | - | |
Utils | Directory | - | - | |
admin.js | File | 1111 bytes | April 01 2021 19:57:40. | |
block.json | File | 476 bytes | January 28 2022 20:43:14. | |
editor.js | File | 11401 bytes | November 17 2021 04:02:26. | |
elementor.js | File | 4367 bytes | May 16 2024 20:41:42. | |
global.js | File | 1905 bytes | March 24 2022 03:15:26. | |
helper.js | File | 4458 bytes | June 07 2023 00:56:20. | |
mailpoet.js | File | 1155 bytes | October 13 2023 01:19:08. | |
metabox.js | File | 1924 bytes | April 01 2021 19:57:40. | |
om-format.js | File | 617 bytes | April 01 2021 19:57:40. | |
om-settings.js | File | 632 bytes | June 24 2021 19:34:54. | |
plugininstall.js | File | 2105 bytes | September 14 2022 06:35:44. | |
wc-marketing.js | File | 1569 bytes | April 01 2021 19:57:40. |
/* ========================================================== * elementor.js * ========================================================== * Copyright 2021 Awesome Motive. * https://awesomemotive.com * ========================================================== */ // Lazy-loading to get around https://github.com/elementor/elementor/issues/19709 const getCampaignSelector = () => import('./Elementor/CampaignSelector'); window.OMAPI_Elementor = window.OMAPI_Elementor || {}; window.OMAPI_Elementor.instances = window.OMAPI_Elementor.instances || []; (function (window, document, $, app) { /** * Tells the campaign being initiated that it is in preview mode (form will not work). * * @since 2.2.0 * * @param {Object} evt Event * * @returns {void} */ app.setAsPreview = (evt) => { // Disable form fields if called from the Gutenberg editor. evt.detail.Campaign.preview = true; }; /** * Triggers a load event for backbone models to listen to. * * @since 2.2.0 * * @param {Object} evt Event * * @returns {void} */ app.triggerLoaded = (evt) => { const { id } = evt.detail.Campaign; app.instances.forEach((instance) => { instance.trigger(instance.campaignSlug() === id ? 'campaignLoaded' : 'otherCampaignLoaded'); }); }; /** * Handles outputting api.js render errors in the block when necessary. * * @since 2.2.0 * * @param {[type]} evt [description] * * @returns {[type]} [description] */ app.triggerError = (evt) => { let { Campaign, Main, error } = evt.detail; const id = Main ? Main.defaults.campaign : Campaign ? Campaign.id : ''; if (!id) { return; } const instance = app.instances.find((i) => i.campaignSlug() === id); if (!instance) { return; } if (error.response) { error = JSON.parse(error.response).message || JSON.parse(error.response).error; } instance.trigger('campaignError', error); }; /** * Triggers events for backbone models whenever a campaign is removed. * * @since 2.2.0 * * @param {Object} evt Event * * @returns {void} */ app.triggerRemove = (evt) => { const { id } = evt.detail; app.instances.forEach((instance) => { if (instance.campaignSlug() !== id) { instance.trigger('otherCampaignRemoved', id); } }); }; app.init = function () { // Disable form fields document.addEventListener('om.Campaign.init', app.setAsPreview); // Store the API utils. document.addEventListener('om.Main.init', ({ detail }) => (app.utils = detail._utils)); // Disable all non-inline campaigns from Elementor preview. document.addEventListener('om.WebFonts.init', function (evt) { var campaign = evt.detail.Campaign; if (!campaign.Types.isInline()) { campaign.off(); } }); $(window).on('elementor/frontend/init', function () { // Widget buttons click. elementor.channels.editor.on('elementorOMAPIAddInlineBtnClick', () => window.open(OMAPI.templatesUri + '&type=inline') ); elementor.channels.editor.on('elementorOMAPICreateAccount', () => window.open(OMAPI.wizardUri)); elementor.channels.editor.on('elementorOMAPIConnectAccount', () => window.open(OMAPI.settingsUri)); document.addEventListener('om.Campaign.afterShow', app.triggerLoaded); document.addEventListener('om.Main.getCampaigns.error', app.triggerError); document.addEventListener('om.Campaign.show.error', app.triggerError); document.addEventListener('om.Campaign.load.error', app.triggerError); document.addEventListener('om.Plugin.Elementor.Instance.removed', app.triggerRemove); // Check for new style of handler attachment. // https://developers.elementor.com/a-new-method-for-attaching-a-js-handler-to-an-element/ if (elementorFrontend.elementsHandler && elementorFrontend.elementsHandler.attachHandler) { getCampaignSelector().then((CampaignSelector) => { elementorFrontend.elementsHandler.attachHandler('optinmonster', CampaignSelector.default); }); } else { // Fallback to previous method. elementorFrontend.hooks.addAction('frontend/element_ready/optinmonster.default', ($element) => { getCampaignSelector().then((CampaignSelector) => { elementorFrontend.elementsHandler.addHandler(CampaignSelector.default, { $element }); }); }); } }); }; app.init(); })(window, document, jQuery, window.OMAPI_Elementor);
SILENT KILLER Tool