Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.145.80.247
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/build/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/build/donationFormEmbed.js
(()=>{var e={5303:(e,n,t)=>{e.exports=t(9457)},9402:e=>{!function(n){if("undefined"!=typeof window){var t=!0,i=10,o="",r=0,a="",s=null,u="",c=!1,d={resize:1,click:1},l=128,f=!0,m=1,g="bodyOffset",h=g,p=!0,w="",y={},b=32,v=null,T=!1,M=!1,E="[iFrameSizer]",I=E.length,O="",x={max:1,min:1,bodyScroll:1,documentElementScroll:1},S="child",z=!0,k=window.parent,N="*",R=0,F=!1,C=null,A=16,W=1,L="scroll",P=L,H=window,j=function(){se("onMessage function not defined")},B=function(){},q=function(){},D={height:function(){return se("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return se("Custom width calculation function not defined"),document.body.scrollWidth}},U={},V=!1;try{var J=Object.create({},{passive:{get:function(){V=!0}}});window.addEventListener("test",te,J),window.removeEventListener("test",te,J)}catch(e){}var X,Y,Q,K,G,Z,$,_={bodyOffset:function(){return document.body.offsetHeight+we("marginTop")+we("marginBottom")},offset:function(){return _.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return D.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,be(_))},min:function(){return Math.min.apply(null,be(_))},grow:function(){return _.max()},lowestElement:function(){return Math.max(_.bodyOffset()||_.documentElementOffset(),ye("bottom",Te()))},taggedElement:function(){return ve("bottom","data-iframe-height")}},ee={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return D.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(ee.bodyScroll(),ee.documentElementScroll())},max:function(){return Math.max.apply(null,be(ee))},min:function(){return Math.min.apply(null,be(ee))},rightMostElement:function(){return ye("right",Te())},taggedElement:function(){return ve("right","data-iframe-width")}},ne=(X=Me,G=null,Z=0,$=function(){Z=Date.now(),G=null,K=X.apply(Y,Q),G||(Y=Q=null)},function(){var e=Date.now();Z||(Z=e);var n=A-(e-Z);return Y=this,Q=arguments,n<=0||n>A?(G&&(clearTimeout(G),G=null),Z=e,K=X.apply(Y,Q),G||(Y=Q=null)):G||(G=setTimeout($,n)),K});ie(window,"message",(function(i){var d,m={init:function(){var e,d,m;w=i.data,k=i.source,function(){function e(e){return"true"===e}var i=w.substr(I).split(":");O=i[0],r=n!==i[1]?Number(i[1]):r,c=n!==i[2]?e(i[2]):c,T=n!==i[3]?e(i[3]):T,b=n!==i[4]?Number(i[4]):b,t=n!==i[6]?e(i[6]):t,a=i[7],h=n!==i[8]?i[8]:h,o=i[9],u=i[10],R=n!==i[11]?Number(i[11]):R,y.enable=n!==i[12]&&e(i[12]),S=n!==i[13]?i[13]:S,P=n!==i[14]?i[14]:P,M=n!==i[15]?Boolean(i[15]):M}(),ae("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;ae("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(ue,e),j="onMessage"in e?e.onMessage:j,B="onReady"in e?e.onReady:B,N="targetOrigin"in e?e.targetOrigin:N,h="heightCalculationMethod"in e?e.heightCalculationMethod:h,P="widthCalculationMethod"in e?e.widthCalculationMethod:P}function n(e,n){return"function"==typeof e&&(ae("Setup custom "+n+"CalcMethod"),D[n]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),h=n(h,"height"),P=n(P,"width")),ae("TargetOrigin for parent set to: "+N)}(),n===a&&(a=r+"px"),ce("margin",(d="margin",-1!==(m=a).indexOf("-")&&(se("Negative CSS value ignored for "+d),m=""),m)),ce("background",o),ce("padding",u),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),me(),ge(),document.documentElement.style.height="",document.body.style.height="",ae('HTML & body height set to "auto"'),ae("Enable public methods"),H.parentIFrame={autoResize:function(e){return!0===e&&!1===t?(t=!0,he()):!1===e&&!0===t&&(t=!1,le("remove"),null!==s&&s.disconnect(),clearInterval(v)),Se(0,0,"autoResize",JSON.stringify(t)),t},close:function(){Se(0,0,"close")},getId:function(){return O},getPageInfo:function(e){"function"==typeof e?(q=e,Se(0,0,"pageInfo")):(q=function(){},Se(0,0,"pageInfoStop"))},moveToAnchor:function(e){y.findTarget(e)},reset:function(){xe("parentIFrame.reset")},scrollTo:function(e,n){Se(n,e,"scrollTo")},scrollToOffset:function(e,n){Se(n,e,"scrollToOffset")},sendMessage:function(e,n){Se(0,0,"message",JSON.stringify(e),n)},setHeightCalculationMethod:function(e){h=e,me()},setWidthCalculationMethod:function(e){P=e,ge()},setTargetOrigin:function(e){ae("Set targetOrigin: "+e),N=e},size:function(e,n){Ee("size","parentIFrame.size("+(e||"")+(n?","+n:"")+")",e,n)}},function(){function e(e){Se(0,0,e.type,e.screenY+":"+e.screenX)}function n(n,t){ae("Add event listener: "+t),ie(window.document,n,e)}!0===M&&(n("mouseenter","Mouse Enter"),n("mouseleave","Mouse Leave"))}(),he(),y=function(){function e(){return{x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop}}function t(n){var t=n.getBoundingClientRect(),i=e();return{x:parseInt(t.left,10)+parseInt(i.x,10),y:parseInt(t.top,10)+parseInt(i.y,10)}}function i(e){function i(e){var n=t(e);ae("Moving to in page link (#"+o+") at x: "+n.x+" y: "+n.y),Se(n.y,n.x,"scrollToOffset")}var o=e.split("#")[1]||e,r=decodeURIComponent(o),a=document.getElementById(r)||document.getElementsByName(r)[0];n!==a?i(a):(ae("In page link (#"+o+") not found in iFrame, so sending to parent"),Se(0,0,"inPageLink","#"+o))}function o(){var e=window.location.hash,n=window.location.href;""!==e&&"#"!==e&&i(n)}function r(){function e(e){function n(e){e.preventDefault(),i(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&ie(e,"click",n)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){ie(window,"hashchange",o)}function s(){setTimeout(o,l)}function u(){Array.prototype.forEach&&document.querySelectorAll?(ae("Setting up location.hash handlers"),r(),a(),s()):se("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}return y.enable?u():ae("In page linking not enabled"),{findTarget:i}}(),Ee("init","Init message from host page"),B(),f=!1,setTimeout((function(){p=!1}),l)},reset:function(){p?ae("Page reset ignored by init"):(ae("Page size reset by host page"),Oe("resetPage"))},resize:function(){Ee("resizeParent","Parent window requested size check")},moveToAnchor:function(){y.findTarget(x())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=x();ae("PageInfoFromParent called from parent: "+e),q(JSON.parse(e)),ae(" --")},message:function(){var e=x();ae("onMessage called from parent: "+e),j(JSON.parse(e)),ae(" --")}};function g(){return i.data.split("]")[1].split(":")[0]}function x(){return i.data.substr(i.data.indexOf(":")+1)}function z(){return i.data.split(":")[2]in{true:1,false:1}}E===(""+i.data).substr(0,I)&&(!1===f?(d=g())in m?m[d]():!e.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||z()||se("Unexpected message ("+i.data+")"):z()?m.init():ae('Ignored message of type "'+g()+'". Received before initialization.'))})),ie(window,"readystatechange",ze),ze()}function te(){}function ie(e,n,t,i){e.addEventListener(n,t,!!V&&(i||{}))}function oe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function re(e){return E+"["+O+"] "+e}function ae(e){T&&"object"==typeof window.console&&console.log(re(e))}function se(e){"object"==typeof window.console&&console.warn(re(e))}function ue(e){var n=e.split("Callback");if(2===n.length){var t="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[t]=this[e],delete this[e],se("Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}function ce(e,t){n!==t&&""!==t&&"null"!==t&&(document.body.style[e]=t,ae("Body "+e+' set to "'+t+'"'))}function de(e){var n={add:function(n){function t(){Ee(e.eventName,e.eventType)}U[n]=t,ie(window,n,t,{passive:!0})},remove:function(e){var n,t,i=U[e];delete U[e],n=e,t=i,window.removeEventListener(n,t,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(n[e.method])):n[e.method](e.eventName),ae(oe(e.method)+" event listener: "+e.eventType)}function le(e){de({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),de({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),de({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),de({method:e,eventType:"Input",eventName:"input"}),de({method:e,eventType:"Mouse Up",eventName:"mouseup"}),de({method:e,eventType:"Mouse Down",eventName:"mousedown"}),de({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),de({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),de({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),de({method:e,eventType:"Touch Start",eventName:"touchstart"}),de({method:e,eventType:"Touch End",eventName:"touchend"}),de({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),de({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),de({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),de({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===S&&de({method:e,eventType:"IFrame Resized",eventName:"resize"})}function fe(e,n,t,i){return n!==e&&(e in t||(se(e+" is not a valid option for "+i+"CalculationMethod."),e=n),ae(i+' calculation method set to "'+e+'"')),e}function me(){h=fe(h,g,_,"height")}function ge(){P=fe(P,L,ee,"width")}function he(){var e;!0===t?(le("add"),e=0>b,window.MutationObserver||window.WebKitMutationObserver?e?pe():s=function(){function e(e){function n(e){!1===e.complete&&(ae("Attach listeners to "+e.src),e.addEventListener("load",i,!1),e.addEventListener("error",o,!1),a.push(e))}"attributes"===e.type&&"src"===e.attributeName?n(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),n)}function n(e){ae("Remove listeners from "+e.src),e.removeEventListener("load",i,!1),e.removeEventListener("error",o,!1),function(e){a.splice(a.indexOf(e),1)}(e)}function t(e,t,i){n(e.target),Ee(t,i+": "+e.target.src)}function i(e){t(e,"imageLoad","Image loaded")}function o(e){t(e,"imageLoadFailed","Image load failed")}function r(n){Ee("mutationObserver","mutationObserver: "+n[0].target+" "+n[0].type),n.forEach(e)}var a=[],s=window.MutationObserver||window.WebKitMutationObserver,u=function(){var e=document.querySelector("body");return u=new s(r),ae("Create body MutationObserver"),u.observe(e,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),u}();return{disconnect:function(){"disconnect"in u&&(ae("Disconnect body MutationObserver"),u.disconnect(),a.forEach(n))}}}():(ae("MutationObserver not supported in this browser!"),pe())):ae("Auto Resize disabled")}function pe(){0!==b&&(ae("setInterval: "+b+"ms"),v=setInterval((function(){Ee("interval","setInterval: "+b)}),Math.abs(b)))}function we(e,n){var t=0;return n=n||document.body,t=null!==(t=document.defaultView.getComputedStyle(n,null))?t[e]:0,parseInt(t,i)}function ye(e,n){for(var t=n.length,i=0,o=0,r=oe(e),a=Date.now(),s=0;s<t;s++)(i=n[s].getBoundingClientRect()[e]+we("margin"+r,n[s]))>o&&(o=i);return a=Date.now()-a,ae("Parsed "+t+" HTML elements"),ae("Element position calculated in "+a+"ms"),function(e){e>A/2&&ae("Event throttle increased to "+(A=2*e)+"ms")}(a),o}function be(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function ve(e,n){var t=document.querySelectorAll("["+n+"]");return 0===t.length&&(se("No tagged elements ("+n+") found on page"),document.querySelectorAll("body *")),ye(e,t)}function Te(){return document.querySelectorAll("body *")}function Me(e,t,i,o){var r,a;!function(){function e(e,n){return!(Math.abs(e-n)<=R)}return r=n!==i?i:_[h](),a=n!==o?o:ee[P](),e(m,r)||c&&e(W,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(h in x||c&&P in x)?xe(t):e in{interval:1}||ae("No change in size detected"):(Ie(),Se(m=r,W=a,e))}function Ee(e,n,t,i){F&&e in d?ae("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ae("Trigger event: "+n),"init"===e?Me(e,n,t,i):ne(e,n,t,i))}function Ie(){F||(F=!0,ae("Trigger event lock on")),clearTimeout(C),C=setTimeout((function(){F=!1,ae("Trigger event lock off"),ae("--")}),l)}function Oe(e){m=_[h](),W=ee[P](),Se(m,W,e)}function xe(e){var n=h;h=g,ae("Reset trigger event: "+e),Ie(),Oe("reset"),h=n}function Se(e,t,i,o,r){var a;!0===z&&(n===r?r=N:ae("Message targetOrigin: "+r),ae("Sending message to host page ("+(a=O+":"+e+":"+t+":"+i+(n!==o?":"+o:""))+")"),k.postMessage(E+a,r))}function ze(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},6702:(e,n)=>{var t,i,o;!function(r){if("undefined"!=typeof window){var a,s=0,u=!1,c=!1,d=7,l="[iFrameSizer]",f=l.length,m=null,g=window.requestAnimationFrame,h={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},p={},w=null,y={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,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){x("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}},b={};window.jQuery&&((a=window.jQuery).fn?a.fn.iFrameResize||(a.fn.iFrameResize=function(e){return this.filter("iframe").each((function(n,t){B(t,e)})).end()}):O("","Unable to bind to jQuery, it is not fully loaded.")),i=[],(o="function"==typeof(t=V)?t.apply(n,i):t)===r||(e.exports=o),window.iFrameResize=window.iFrameResize||V()}function v(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function T(e,n,t){e.addEventListener(n,t,!1)}function M(e,n,t){e.removeEventListener(n,t,!1)}function E(e){return p[e]?p[e].log:u}function I(e,n){S("log",e,n,E(e))}function O(e,n){S("info",e,n,E(e))}function x(e,n){S("warn",e,n,!0)}function S(e,n,t,i){!0===i&&"object"==typeof window.console&&console[e](function(e){return l+"["+function(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}(e)+"]"}(n),t)}function z(e){function n(){t("Height"),t("Width"),P((function(){L(z),C(N),c("onResized",z)}),z,"init")}function t(e){var n=Number(p[N]["max"+e]),t=Number(p[N]["min"+e]),i=e.toLowerCase(),o=Number(z[i]);I(N,"Checking "+i+" is in range "+t+"-"+n),o<t&&(o=t,I(N,"Set "+i+" to min value")),o>n&&(o=n,I(N,"Set "+i+" to max value")),z[i]=""+o}function i(e){return S.substr(S.indexOf(":")+d+e)}function o(e,n){var t,i;t=function(){var t,i;H("Send Page Info","pageInfo:"+(t=document.body.getBoundingClientRect(),i=z.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:i.height,iframeWidth:i.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(i.top-t.top,10),offsetLeft:parseInt(i.left-t.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,n)},b[i=n]||(b[i]=setTimeout((function(){b[i]=null,t()}),32))}function r(e){var n=e.getBoundingClientRect();return F(N),{x:Math.floor(Number(n.left)+Number(m.x)),y:Math.floor(Number(n.top)+Number(m.y))}}function a(e){var n=e?r(z.iframe):{x:0,y:0},t={x:Number(z.width)+n.x,y:Number(z.height)+n.y};I(N,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](t.x,t.y):x(N,"Unable to scroll to requested position, window.parentIFrame not found"):(m=t,s(),I(N,"--"))}function s(){!1!==c("onScroll",m)?C(N):A()}function u(e){var n={};if(0===Number(z.width)&&0===Number(z.height)){var t=i(9).split(":");n={x:t[1],y:t[0]}}else n={x:z.width,y:z.height};c(e,{iframe:z.iframe,screenX:Number(n.x),screenY:Number(n.y),type:z.type})}function c(e,n){return k(N,e,n)}var g,h,w,y,v,E,S=e.data,z={},N=null;"[iFrameResizerChild]Ready"===S?function(){for(var e in p)H("iFrame requested init",j(e),p[e].iframe,e)}():l===(""+S).substr(0,f)&&S.substr(f).split(":")[0]in p?(y=(w=S.substr(f).split(":"))[1]?parseInt(w[1],10):0,v=p[w[0]]&&p[w[0]].iframe,E=getComputedStyle(v),z={iframe:v,id:w[0],height:y+function(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}(E)+function(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}(E),width:w[2],type:w[3]},N=z.id,p[N]&&(p[N].loaded=!0),(h=z.type in{true:1,false:1,undefined:1})&&I(N,"Ignoring init message from meta parent page"),!h&&function(e){var n=!0;return p[e]||(n=!1,x(z.type+" No settings for "+e+". Message was: "+S)),n}(N)&&(I(N,"Received: "+S),g=!0,null===z.iframe&&(x(N,"IFrame ("+z.id+") not found"),g=!1),g&&function(){var n,t=e.origin,i=p[N]&&p[N].checkOrigin;if(i&&""+t!="null"&&!(i.constructor===Array?function(){var e=0,n=!1;for(I(N,"Checking connection is from allowed list of origins: "+i);e<i.length;e++)if(i[e]===t){n=!0;break}return n}():(n=p[N]&&p[N].remoteHost,I(N,"Checking connection is from: "+n),t===n)))throw new Error("Unexpected message received from: "+t+" for "+z.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(){switch(p[N]&&p[N].firstRun&&p[N]&&(p[N].firstRun=!1),z.type){case"close":R(z.iframe);break;case"message":f=i(6),I(N,"onMessage passed: {iframe: "+z.iframe.id+", message: "+f+"}"),c("onMessage",{iframe:z.iframe,message:JSON.parse(f)}),I(N,"--");break;case"mouseenter":u("onMouseEnter");break;case"mouseleave":u("onMouseLeave");break;case"autoResize":p[N].autoResize=JSON.parse(i(9));break;case"scrollTo":a(!1);break;case"scrollToOffset":a(!0);break;case"pageInfo":o(p[N]&&p[N].iframe,N),function(){function e(e,i){function r(){p[t]?o(p[t].iframe,t):n()}["scroll","resize"].forEach((function(n){I(t,e+n+" listener for sendPageInfo"),i(window,n,r)}))}function n(){e("Remove ",M)}var t=N;e("Add ",T),p[t]&&(p[t].stopPageInfo=n)}();break;case"pageInfoStop":p[N]&&p[N].stopPageInfo&&(p[N].stopPageInfo(),delete p[N].stopPageInfo);break;case"inPageLink":t=i(9).split("#")[1]||"",d=decodeURIComponent(t),(l=document.getElementById(d)||document.getElementsByName(d)[0])?(e=r(l),I(N,"Moving to in page link (#"+t+") at x: "+e.x+" y: "+e.y),m={x:e.x,y:e.y},s(),I(N,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(t):I(N,"In page link #"+t+" not found and window.parentIFrame not found"):I(N,"In page link #"+t+" not found");break;case"reset":W(z);break;case"init":n(),c("onInit",z.iframe);break;default:0===Number(z.width)&&0===Number(z.height)?x("Unsupported message received ("+z.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):n()}var e,t,d,l,f}())):O(N,"Ignored: "+S)}function k(e,n,t){var i=null,o=null;if(p[e]){if("function"!=typeof(i=p[e][n]))throw new TypeError(n+" on iFrame["+e+"] is not a function");o=i(t)}return o}function N(e){var n=e.id;delete p[n]}function R(e){var n=e.id;if(!1!==k(n,"onClose",n)){I(n,"Removing iFrame: "+n);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){x(e)}k(n,"onClosed",n),I(n,"--"),N(e)}else I(n,"Close iframe cancelled by onClose event")}function F(e){null===m&&I(e,"Get page position: "+(m={x:window.pageXOffset!==r?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==r?window.pageYOffset:document.documentElement.scrollTop}).x+","+m.y)}function C(e){null!==m&&(window.scrollTo(m.x,m.y),I(e,"Set page position: "+m.x+","+m.y),A())}function A(){m=null}function W(e){I(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),F(e.id),P((function(){L(e),H("reset","reset",e.iframe,e.id)}),e,"reset")}function L(e){function n(n){c||"0"!==e[n]||(c=!0,I(i,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(p).forEach((function(e){!function(e){function n(n){return"0px"===(p[e]&&p[e].iframe.style[n])}p[e]&&null!==p[e].iframe.offsetParent&&(n("height")||n("width"))&&H("Visibility change","resize",p[e].iframe,e)}(e)}))}function n(n){I("window","Mutation observed: "+n[0].target+" "+n[0].type),q(e,16)}var t,i=v();i&&(t=document.querySelector("body"),new i(n).observe(t,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}())}function t(t){!function(n){e.id?(e.iframe.style[n]=e[n]+"px",I(e.id,"IFrame ("+i+") "+n+" set to "+e[n]+"px")):I("undefined","messageData id not set")}(t),n(t)}var i=e.iframe.id;p[i]&&(p[i].sizeHeight&&t("height"),p[i].sizeWidth&&t("width"))}function P(e,n,t){t!==n.type&&g&&!window.jasmine?(I(n.id,"Requesting animation frame"),g(e)):e()}function H(e,n,t,i,o){var r,a=!1;i=i||t.id,p[i]&&(t&&"contentWindow"in t&&null!==t.contentWindow?(r=p[i]&&p[i].targetOrigin,I(i,"["+e+"] Sending msg to iframe["+i+"] ("+n+") targetOrigin: "+r),t.contentWindow.postMessage(l+n,r)):x(i,"["+e+"] IFrame("+i+") not found"),o&&p[i]&&p[i].warningTimeout&&(p[i].msgTimeout=setTimeout((function(){!p[i]||p[i].loaded||a||(a=!0,x(i,"IFrame has not responded within "+p[i].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),p[i].warningTimeout)))}function j(e){return e+":"+p[e].bodyMarginV1+":"+p[e].sizeWidth+":"+p[e].log+":"+p[e].interval+":"+p[e].enablePublicMethods+":"+p[e].autoResize+":"+p[e].bodyMargin+":"+p[e].heightCalculationMethod+":"+p[e].bodyBackground+":"+p[e].bodyPadding+":"+p[e].tolerance+":"+p[e].inPageLinks+":"+p[e].resizeFrom+":"+p[e].widthCalculationMethod+":"+p[e].mouseEvents}function B(e,n){function t(e){var n=e.split("Callback");if(2===n.length){var t="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[t]=this[e],delete this[e],x(a,"Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}var i,o,a=function(t){var i;return""===t&&(e.id=(i=n&&n.id||y.id+s++,null!==document.getElementById(i)&&(i+=s++),t=i),u=(n||{}).log,I(t,"Added missing iframe ID: "+t+" ("+e.src+")")),t}(e.id);a in p&&"iFrameResizer"in e?x(a,"Ignored iFrame, already setup."):(function(n){var i;n=n||{},p[a]={firstRun:!0,iframe:e,remoteHost:e.src&&e.src.split("/").slice(0,3).join("/")},function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(n),Object.keys(n).forEach(t,n),function(e){for(var n in y)Object.prototype.hasOwnProperty.call(y,n)&&(p[a][n]=Object.prototype.hasOwnProperty.call(e,n)?e[n]:y[n])}(n),p[a]&&(p[a].targetOrigin=!0===p[a].checkOrigin?""===(i=p[a].remoteHost)||null!==i.match(/^(about:blank|javascript:|file:\/\/)/)?"*":i:"*")}(n),function(){switch(I(a,"IFrame scrolling "+(p[a]&&p[a].scrolling?"enabled":"disabled")+" for "+a),e.style.overflow=!1===(p[a]&&p[a].scrolling)?"hidden":"auto",p[a]&&p[a].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=p[a]?p[a].scrolling:"no"}}(),function(){function n(n){var t=p[a][n];1/0!==t&&0!==t&&(e.style[n]="number"==typeof t?t+"px":t,I(a,"Set "+n+" = "+e.style[n]))}function t(e){if(p[a]["min"+e]>p[a]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}t("Height"),t("Width"),n("maxHeight"),n("minHeight"),n("maxWidth"),n("minWidth")}(),"number"!=typeof(p[a]&&p[a].bodyMargin)&&"0"!==(p[a]&&p[a].bodyMargin)||(p[a].bodyMarginV1=p[a].bodyMargin,p[a].bodyMargin=p[a].bodyMargin+"px"),i=j(a),(o=v())&&function(n){e.parentNode&&new n((function(n){n.forEach((function(n){Array.prototype.slice.call(n.removedNodes).forEach((function(n){n===e&&R(e)}))}))})).observe(e.parentNode,{childList:!0})}(o),T(e,"load",(function(){var n,t;H("iFrame.onload",i,e,r,!0),n=p[a]&&p[a].firstRun,t=p[a]&&p[a].heightCalculationMethod in h,!n&&t&&W({iframe:e,height:0,width:0,type:"init"})})),H("init",i,e,r,!0),p[a]&&(p[a].iframe.iFrameResizer={close:R.bind(null,p[a].iframe),removeListeners:N.bind(null,p[a].iframe),resize:H.bind(null,"Window resize","resize",p[a].iframe),moveToAnchor:function(e){H("Move to anchor","moveToAnchor:"+e,p[a].iframe,a)},sendMessage:function(e){H("Send Message","message:"+(e=JSON.stringify(e)),p[a].iframe,a)}}))}function q(e,n){null===w&&(w=setTimeout((function(){w=null,e()}),n))}function D(){"hidden"!==document.visibilityState&&(I("document","Trigger event: Visiblity change"),q((function(){U("Tab Visable","resize")}),16))}function U(e,n){Object.keys(p).forEach((function(t){(function(e){return p[e]&&"parent"===p[e].resizeFrom&&p[e].autoResize&&!p[e].firstRun})(t)&&H(e,n,p[t].iframe,t)}))}function V(){function e(e,t){t&&(function(){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}(),B(t,e),n.push(t))}var n;return function(){var e,n=["moz","webkit","o","ms"];for(e=0;e<n.length&&!g;e+=1)g=window[n[e]+"RequestAnimationFrame"];g?g=g.bind(window):I("setup","RequestAnimationFrame not supported")}(),T(window,"message",z),T(window,"resize",(function(){I("window","Trigger event: resize"),q((function(){U("Window resize","resize")}),16)})),T(document,"visibilitychange",D),T(document,"-webkit-visibilitychange",D),function(t,i){switch(n=[],function(e){e&&e.enablePublicMethods&&x("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(t),typeof i){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),e.bind(r,t));break;case"object":e(t,i);break;default:throw new TypeError("Unexpected data type ("+typeof i+")")}return n}}}()},9457:(e,n,t)=>{var i=t(6702);n.iframeResize=i,t(9402)}},n={};function t(i){var o=n[i];if(void 0!==o)return o.exports;var r=n[i]={exports:{}};return e[i](r,r.exports,t),r.exports}(()=>{"use strict";(0,t(5303).iframeResize)({heightCalculationMethod:"taggedElement"},"iframe[data-givewp-embed]")})()})();

Youez - 2016 - github.com/yon3zu
LinuXploit