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