PATH:
home
/
letacommog
/
www
/
wp-content
/
plugins
/
popup-maker
/
assets
/
js
!function(e){"use strict";function n(e,n,i){"addEventListener"in window?e.addEventListener(n,i,!1):"attachEvent"in window&&e.attachEvent("on"+n,i)}function i(e,n,i){"removeEventListener"in window?e.removeEventListener(n,i,!1):"detachEvent"in window&&e.detachEvent("on"+n,i)}function t(){var e,n=["moz","webkit","o","ms"];for(e=0;e<n.length&&!L;e+=1)L=window[n[e]+"RequestAnimationFrame"];L||c("setup","RequestAnimationFrame not supported")}function o(e){var n="Host page: "+e;return window.top!==window.self&&(n=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),n}function r(e){return A+"["+o(e)+"]"}function a(e){return V[e]?V[e].log:W}function c(e,n){f("log",e,n,a(e))}function u(e,n){f("info",e,n,a(e))}function s(e,n){f("warn",e,n,!0)}function f(e,n,i,t){!0===t&&"object"==typeof window.console&&console[e](r(n),i)}function d(e){function t(){function e(){b(Q),w(X),P("resizedCallback",Q)}r("Height"),r("Width"),y(e,Q,"init")}function o(){var e=J.substr(j).split(":");return{iframe:V[e[0]]&&V[e[0]].iframe,id:e[0],height:e[1],width:e[2],type:e[3]}}function r(e){var n=Number(V[X]["max"+e]),i=Number(V[X]["min"+e]),t=e.toLowerCase(),o=Number(Q[t]);c(X,"Checking "+t+" is in range "+i+"-"+n),o<i&&(o=i,c(X,"Set "+t+" to min value")),o>n&&(o=n,c(X,"Set "+t+" to max value")),Q[t]=""+o}function a(){function n(){function e(){var e=0,n=!1;for(c(X,"Checking connection is from allowed list of origins: "+t);e<t.length;e++)if(t[e]===i){n=!0;break}return n}function n(){var e=V[X]&&V[X].remoteHost;return c(X,"Checking connection is from: "+e),i===e}return t.constructor===Array?e():n()}var i=e.origin,t=V[X]&&V[X].checkOrigin;if(t&&""+i!="null"&&!n())throw new Error("Unexpected message received from: "+i+" for "+Q.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function f(){return A===(""+J).substr(0,j)&&J.substr(j).split(":")[0]in V}function d(){var e=Q.type in{"true":1,"false":1,undefined:1};return e&&c(X,"Ignoring init message from meta parent page"),e}function F(e){return J.substr(J.indexOf(":")+S+e)}function I(e){c(X,"MessageCallback passed: {iframe: "+Q.iframe.id+", message: "+e+"}"),P("messageCallback",{iframe:Q.iframe,message:JSON.parse(e)}),c(X,"--")}function M(){var e=document.body.getBoundingClientRect(),n=Q.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:n.height,iframeWidth:n.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(n.top-e.top,10),offsetLeft:parseInt(n.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})}function z(e,n){function i(){v("Send Page Info","pageInfo:"+M(),e,n)}x(i,32,n)}function R(){function e(e,n){function i(){V[r]?z(V[r].iframe,r):t()}["scroll","resize"].forEach(function(t){c(r,e+t+" listener for sendPageInfo"),n(window,t,i)})}function t(){e("Remove ",i)}function o(){e("Add ",n)}var r=X;o(),V[r]&&(V[r].stopPageInfo=t)}function C(){V[X]&&V[X].stopPageInfo&&(V[X].stopPageInfo(),delete V[X].stopPageInfo)}function E(){var e=!0;return null===Q.iframe&&(s(X,"IFrame ("+Q.id+") not found"),e=!1),e}function O(e){var n=e.getBoundingClientRect();return g(X),{x:Math.floor(Number(n.left)+Number(q.x)),y:Math.floor(Number(n.top)+Number(q.y))}}function T(e){function n(){q=r,N(),c(X,"--")}function i(){return{x:Number(Q.width)+o.x,y:Number(Q.height)+o.y}}function t(){window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](r.x,r.y):s(X,"Unable to scroll to requested position, window.parentIFrame not found")}var o=e?O(Q.iframe):{x:0,y:0},r=i();c(X,"Reposition requested from iFrame (offset x:"+o.x+" y:"+o.y+")"),window.top!==window.self?t():n()}function N(){!1!==P("scrollCallback",q)?w(X):h()}function W(e){function n(){var e=O(r);c(X,"Moving to in page link (#"+t+") at x: "+e.x+" y: "+e.y),q={x:e.x,y:e.y},N(),c(X,"--")}function i(){window.parentIFrame?window.parentIFrame.moveToAnchor(t):c(X,"In page link #"+t+" not found and window.parentIFrame not found")}var t=e.split("#")[1]||"",o=decodeURIComponent(t),r=document.getElementById(o)||document.getElementsByName(o)[0];r?n():window.top!==window.self?i():c(X,"In page link #"+t+" not found")}function P(e,n){return l(X,e,n)}function H(){switch(V[X]&&V[X].firstRun&&U(),Q.type){case"close":V[X].closeRequestCallback?l(X,"closeRequestCallback",V[X].iframe):m(Q.iframe);break;case"message":I(F(6));break;case"scrollTo":T(!1);break;case"scrollToOffset":T(!0);break;case"pageInfo":z(V[X]&&V[X].iframe,X),R();break;case"pageInfoStop":C();break;case"inPageLink":W(F(9));break;case"reset":p(Q);break;case"init":t(),P("initCallback",Q.iframe);break;default:t()}}function L(e){var n=!0;return V[e]||(n=!1,s(Q.type+" No settings for "+e+". Message was: "+J)),n}function B(){for(var e in V)v("iFrame requested init",k(e),document.getElementById(e),e)}function U(){V[X]&&(V[X].firstRun=!1)}var J=e.data,Q={},X=null;"[iFrameResizerChild]Ready"===J?B():f()?(Q=o(),X=D=Q.id,V[X]&&(V[X].loaded=!0),!d()&&L(X)&&(c(X,"Received: "+J),E()&&a()&&H())):u(X,"Ignored: "+J)}function l(e,n,i){var t=null,o=null;if(V[e]){if("function"!=typeof(t=V[e][n]))throw new TypeError(n+" on iFrame["+e+"] is not a function");o=t(i)}return o}function m(e){var n=e.id;c(n,"Removing iFrame: "+n),e.parentNode&&e.parentNode.removeChild(e),l(n,"closedCallback",n),c(n,"--"),delete V[n]}function g(n){null===q&&(q={x:window.pageXOffset!==e?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==e?window.pageYOffset:document.documentElement.scrollTop},c(n,"Get page position: "+q.x+","+q.y))}function w(e){null!==q&&(window.scrollTo(q.x,q.y),c(e,"Set page position: "+q.x+","+q.y),h())}function h(){q=null}function p(e){function n(){b(e),v("reset","reset",e.iframe,e.id)}c(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),g(e.id),y(n,e,"reset")}function b(e){function n(n){e.iframe.style[n]=e[n]+"px",c(e.id,"IFrame ("+o+") "+n+" set to "+e[n]+"px")}function i(n){P||"0"!==e[n]||(P=!0,c(o,"Hidden iFrame detected, creating visibility listener"),M())}function t(e){n(e),i(e)}var o=e.iframe.id;V[o]&&(V[o].sizeHeight&&t("height"),V[o].sizeWidth&&t("width"))}function y(e,n,i){i!==n.type&&L?(c(n.id,"Requesting animation frame"),L(e)):e()}function v(e,n,i,t,o){function r(){var o=V[t]&&V[t].targetOrigin;c(t,"["+e+"] Sending msg to iframe["+t+"] ("+n+") targetOrigin: "+o),i.contentWindow.postMessage(A+n,o)}function a(){s(t,"["+e+"] IFrame("+t+") not found")}function u(){i&&"contentWindow"in i&&null!==i.contentWindow?r():a()}function f(){function e(){!V[t]||V[t].loaded||d||(d=!0,s(t,"IFrame has not responded within "+V[t].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ingored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}o&&V[t]&&V[t].warningTimeout&&(V[t].msgTimeout=setTimeout(e,V[t].warningTimeout))}var d=!1;t=t||i.id,V[t]&&(u(),f())}function k(e){return e+":"+V[e].bodyMarginV1+":"+V[e].sizeWidth+":"+V[e].log+":"+V[e].interval+":"+V[e].enablePublicMethods+":"+V[e].autoResize+":"+V[e].bodyMargin+":"+V[e].heightCalculationMethod+":"+V[e].bodyBackground+":"+V[e].bodyPadding+":"+V[e].tolerance+":"+V[e].inPageLinks+":"+V[e].resizeFrom+":"+V[e].widthCalculationMethod}function F(i,t){function o(){function e(e){1/0!==V[I][e]&&0!==V[I][e]&&(i.style[e]=V[I][e]+"px",c(I,"Set "+e+" = "+V[I][e]+"px"))}function n(e){if(V[I]["min"+e]>V[I]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),e("maxHeight"),e("minHeight"),e("maxWidth"),e("minWidth")}function r(){var e=t&&t.id||J.id+N++;return null!==document.getElementById(e)&&(e+=N++),e}function a(e){return D=e,""===e&&(i.id=e=r(),W=(t||{}).log,D=e,c(e,"Added missing iframe ID: "+e+" ("+i.src+")")),e}function u(){switch(c(I,"IFrame scrolling "+(V[I]&&V[I].scrolling?"enabled":"disabled")+" for "+I),i.style.overflow=!1===(V[I]&&V[I].scrolling)?"hidden":"auto",V[I]&&V[I].scrolling){case!0:i.scrolling="yes";break;case!1:i.scrolling="no";break;default:i.scrolling=V[I]?V[I].scrolling:"no"}}function f(){"number"!=typeof(V[I]&&V[I].bodyMargin)&&"0"!==(V[I]&&V[I].bodyMargin)||(V[I].bodyMarginV1=V[I].bodyMargin,V[I].bodyMargin=V[I].bodyMargin+"px")}function d(){var e=V[I]&&V[I].firstRun,n=V[I]&&V[I].heightCalculationMethod in B;!e&&n&&p({iframe:i,height:0,width:0,type:"init"})}function l(){Function.prototype.bind&&V[I]&&(V[I].iframe.iFrameResizer={close:m.bind(null,V[I].iframe),resize:v.bind(null,"Window resize","resize",V[I].iframe),moveToAnchor:function(e){v("Move to anchor","moveToAnchor:"+e,V[I].iframe,I)},sendMessage:function(e){e=JSON.stringify(e),v("Send Message","message:"+e,V[I].iframe,I)}})}function g(t){function o(){v("iFrame.onload",t,i,e,!0),d()}n(i,"load",o),v("init",t,i,e,!0)}function w(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}function h(e){for(var n in J)J.hasOwnProperty(n)&&(V[I][n]=e.hasOwnProperty(n)?e[n]:J[n])}function b(e){return""===e||"file://"===e?"*":e}function y(e){e=e||{},V[I]={firstRun:!0,iframe:i,remoteHost:i.src.split("/").slice(0,3).join("/")},w(e),h(e),V[I]&&(V[I].targetOrigin=!0===V[I].checkOrigin?b(V[I].remoteHost):"*")}function F(){return I in V&&"iFrameResizer"in i}var I=a(i.id);F()?s(I,"Ignored iFrame, already setup."):(y(t),u(),o(),f(),g(k(I)),l())}function I(e,n){null===U&&(U=setTimeout(function(){U=null,e()},n))}function x(e,n,i){Q[i]||(Q[i]=setTimeout(function(){Q[i]=null,e()},n))}function M(){function e(){function e(e){function n(n){return"0px"===(V[e]&&V[e].iframe.style[n])}function i(e){return null!==e.offsetParent}V[e]&&i(V[e].iframe)&&(n("height")||n("width"))&&v("Visibility change","resize",V[e].iframe,e)}for(var n in V)e(n)}function n(n){c("window","Mutation observed: "+n[0].target+" "+n[0].type),I(e,16)}function i(){var e=document.querySelector("body"),i={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};new t(n).observe(e,i)}var t=window.MutationObserver||window.WebKitMutationObserver;t&&i()}function z(e){function n(){C("Window "+e,"resize")}c("window","Trigger event: "+e),I(n,16)}function R(){function e(){C("Tab Visable","resize")}"hidden"!==document.visibilityState&&(c("document","Trigger event: Visiblity change"),I(e,16))}function C(e,n){function i(e){return V[e]&&"parent"===V[e].resizeFrom&&V[e].autoResize&&!V[e].firstRun}for(var t in V)i(t)&&v(e,n,document.getElementById(t),t)}function E(){n(window,"message",d),n(window,"resize",function(){z("resize")}),n(document,"visibilitychange",R),n(document,"-webkit-visibilitychange",R),n(window,"focusin",function(){z("focus")}),n(window,"focus",function(){z("focus")})}function O(){function n(e,n){function i(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}n&&(i(),F(n,e),o.push(n))}function i(e){e&&e.enablePublicMethods&&s("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}var o;return t(),E(),function(t,r){switch(o=[],i(t),typeof r){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(r||"iframe"),n.bind(e,t));break;case"object":n(t,r);break;default:throw new TypeError("Unexpected data type ("+typeof r+")")}return o}}function T(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(e){function n(n,i){F(i,e)}return this.filter("iframe").each(n).end()}):u("","Unable to bind to jQuery, it is not fully loaded.")}if("undefined"!=typeof window){var N=0,W=!1,P=!1,H="message",S=H.length,A="[iFrameSizer]",j=A.length,q=null,L=window.requestAnimationFrame,B={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},V={},U=null,D="Host Page",J={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){s("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},Q={};window.jQuery&&T(window.jQuery),"function"==typeof define&&define.amd?define([],O):"object"==typeof module&&"object"==typeof module.exports?module.exports=O():window.iFrameResize=window.iFrameResize||O()}}();
[+]
..
[-] iframeResizer.min.js
[edit]
[-] popup-maker-easy-modal-importer-site.js
[edit]
[-] admin-settings-page.min.js
[edit]
[-] admin-batch.min.js
[edit]
[-] admin-marketing.min.js
[edit]
[-] admin-deprecated.min.js
[edit]
[-] admin-general.min.js
[edit]
[-] admin-deprecated.js
[edit]
[-] admin-theme-editor.min.js
[edit]
[-] site.js
[edit]
[-] mobile-detect.js
[edit]
[-] popup-maker-easy-modal-importer-site.min.js
[edit]
[-] admin-general.js
[edit]
[-] admin-theme-editor.js
[edit]
[-] mce-buttons.js
[edit]
[-] mobile-detect.min.js
[edit]
[-] admin-popup-editor.js
[edit]
[-] admin-marketing.js
[edit]
[-] admin-settings-page.js
[edit]
[-] admin-shortcode-ui.js
[edit]
[-] admin-popup-editor.min.js
[edit]
[-] site.min.js
[edit]
[-] admin-shortcode-ui.min.js
[edit]
[-] mce-buttons.min.js
[edit]
[-] iframeResizer.js
[edit]
[-] admin-batch.js
[edit]