Google

Cyb3r Drag0nz Team Shell

Server : Apache
System : Linux webd003.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : atwiofrxug (73666)
PHP Version : 8.4.10
Disable Functions : _dyuweyrj4,_dyuweyrj4r,dl
Current Directory : /home/atwiofrxug/mylittletelaviv/wp-content/plugins/popup-maker/assets/js/
Directory Status: Writeable | Document Root: Writeable

Upload File







Viewing: /home/atwiofrxug/mylittletelaviv/wp-content/plugins/popup-maker/assets/js/iframeResizer.min.js

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

Cyb3r Drag0nz Team • Google Edition