File Editor
Directories:
.. (Back)
Files:
admin.min.js
campaign-selector.min.js
campaign-selector.min.js.LICENSE.txt
editor.min.js
elementor.min.js
global.min.js
helper.min.js
metabox.min.js
om-format.min.js
om-settings.min.js
plugininstall.min.js
wc-marketing.min.js
Create New File
Create
Edit File: elementor.min.js
!function(){var e,n,t={},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.m=t,o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(n,t){return o.f[t](e,n),n}),[]))},o.u=function(e){return"./dist/"+e+".min.js"},o.miniCssF=function(e){},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},e={},n="optin-monster-wp-api:",o.l=function(t,r,i,a){if(e[t])e[t].push(r);else{var d,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==n+i){d=u;break}}d||(s=!0,(d=document.createElement("script")).charset="utf-8",d.timeout=120,o.nc&&d.setAttribute("nonce",o.nc),d.setAttribute("data-webpack",n+i),d.src=t),e[t]=[r];var m=function(n,r){d.onerror=d.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((function(e){return e(r)})),n)return n(r)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=m.bind(null,d.onerror),d.onload=m.bind(null,d.onload),s&&document.head.appendChild(d)}},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;o.g.importScripts&&(e=o.g.location+"");var n=o.g.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var t=n.getElementsByTagName("script");if(t.length)for(var r=t.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=t[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e+"../../"}(),function(){var e={952:0};o.f.j=function(n,t){var r=o.o(e,n)?e[n]:void 0;if(0!==r)if(r)t.push(r[2]);else{var i=new Promise((function(t,o){r=e[n]=[t,o]}));t.push(r[2]=i);var a=o.p+o.u(n),d=new Error;o.l(a,(function(t){if(o.o(e,n)&&(0!==(r=e[n])&&(e[n]=void 0),r)){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;d.message="Loading chunk "+n+" failed.\n("+i+": "+a+")",d.name="ChunkLoadError",d.type=i,d.request=a,r[1](d)}}),"chunk-"+n,n)}};var n=function(n,t){var r,i,a=t[0],d=t[1],s=t[2],l=0;if(a.some((function(n){return 0!==e[n]}))){for(r in d)o.o(d,r)&&(o.m[r]=d[r]);s&&s(o)}for(n&&n(t);l<a.length;l++)i=a[l],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},t=self.webpackChunkoptin_monster_wp_api=self.webpackChunkoptin_monster_wp_api||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}();const i=()=>o.e(131).then(o.bind(o,7131));window.OMAPI_Elementor=window.OMAPI_Elementor||{},window.OMAPI_Elementor.instances=window.OMAPI_Elementor.instances||[],function(e,n,t,r){r.setAsPreview=e=>{e.detail.Campaign.preview=!0},r.triggerLoaded=e=>{const{id:n}=e.detail.Campaign;r.instances.forEach((e=>{e.trigger(e.campaignSlug()===n?"campaignLoaded":"otherCampaignLoaded")}))},r.triggerError=e=>{let{Campaign:n,Main:t,error:o}=e.detail;const i=t?t.defaults.campaign:n?n.id:"";if(!i)return;const a=r.instances.find((e=>e.campaignSlug()===i));a&&(o.response&&(o=JSON.parse(o.response).message||JSON.parse(o.response).error),a.trigger("campaignError",o))},r.triggerRemove=e=>{const{id:n}=e.detail;r.instances.forEach((e=>{e.campaignSlug()!==n&&e.trigger("otherCampaignRemoved",n)}))},r.init=function(){n.addEventListener("om.Campaign.init",r.setAsPreview),n.addEventListener("om.Main.init",(e=>{let{detail:n}=e;return r.utils=n._utils})),n.addEventListener("om.WebFonts.init",(function(e){var n=e.detail.Campaign;n.Types.isInline()||n.off()})),t(e).on("elementor/frontend/init",(function(){elementor.channels.editor.on("elementorOMAPIAddInlineBtnClick",(()=>e.open(OMAPI.templatesUri+"&type=inline"))),elementor.channels.editor.on("elementorOMAPICreateAccount",(()=>e.open(OMAPI.wizardUri))),elementor.channels.editor.on("elementorOMAPIConnectAccount",(()=>e.open(OMAPI.settingsUri))),n.addEventListener("om.Campaign.afterShow",r.triggerLoaded),n.addEventListener("om.Main.getCampaigns.error",r.triggerError),n.addEventListener("om.Campaign.show.error",r.triggerError),n.addEventListener("om.Campaign.load.error",r.triggerError),n.addEventListener("om.Plugin.Elementor.Instance.removed",r.triggerRemove),elementorFrontend.elementsHandler&&elementorFrontend.elementsHandler.attachHandler?i().then((e=>{elementorFrontend.elementsHandler.attachHandler("optinmonster",e.default)})):elementorFrontend.hooks.addAction("frontend/element_ready/optinmonster.default",(e=>{i().then((n=>{elementorFrontend.elementsHandler.addHandler(n.default,{$element:e})}))}))}))},r.init()}(window,document,jQuery,window.OMAPI_Elementor)}();
Save Changes
Rename File
Rename