DonationForms
2 years ago
fonts
2 years ago
images
2 years ago
adminBlocks.asset.php
2 years ago
adminBlocks.css
2 years ago
adminBlocks.js
2 years ago
baseFormDesignCss.asset.php
2 years ago
baseFormDesignCss.css
2 years ago
baseFormDesignCss.js
2 years ago
classicFormDesignCss.asset.php
2 years ago
classicFormDesignCss.css
2 years ago
classicFormDesignCss.js
2 years ago
classicFormDesignJs.asset.php
2 years ago
classicFormDesignJs.js
2 years ago
donationConfirmationReceiptApp.asset.php
2 years ago
donationConfirmationReceiptApp.js
2 years ago
donationFormApp.asset.php
2 years ago
donationFormApp.css
2 years ago
donationFormApp.js
2 years ago
donationFormBlock.asset.php
2 years ago
donationFormBlock.css
2 years ago
donationFormBlock.js
2 years ago
donationFormBlockApp.asset.php
2 years ago
donationFormBlockApp.css
2 years ago
donationFormBlockApp.js
2 years ago
donationFormEmbed.asset.php
2 years ago
donationFormEmbed.js
2 years ago
donationFormEmbedInside.asset.php
2 years ago
donationFormEmbedInside.js
2 years ago
donationFormRegistrars.asset.php
2 years ago
donationFormRegistrars.css
2 years ago
donationFormRegistrars.js
2 years ago
formBuilderApp.asset.php
2 years ago
formBuilderApp.css
2 years ago
formBuilderApp.js
2 years ago
formBuilderRegistrars.asset.php
2 years ago
formBuilderRegistrars.css
2 years ago
formBuilderRegistrars.js
2 years ago
multiStepFormDesignCss.asset.php
2 years ago
multiStepFormDesignCss.css
2 years ago
multiStepFormDesignCss.js
2 years ago
offlineGateway.asset.php
2 years ago
offlineGateway.js
2 years ago
offlineGatewayFormBuilder.asset.php
2 years ago
offlineGatewayFormBuilder.css
2 years ago
offlineGatewayFormBuilder.js
2 years ago
payPalCommerceGateway.asset.php
2 years ago
payPalCommerceGateway.js
2 years ago
payPalStandardGateway.asset.php
2 years ago
payPalStandardGateway.js
2 years ago
stripePaymentElementFormBuilder.asset.php
2 years ago
stripePaymentElementFormBuilder.css
2 years ago
stripePaymentElementFormBuilder.js
2 years ago
stripePaymentElementGateway.asset.php
2 years ago
stripePaymentElementGateway.js
2 years ago
style-adminBlocks.css
2 years ago
style-formBuilderApp.css
2 years ago
testGateway.asset.php
2 years ago
testGateway.js
2 years ago
testOffsiteGateway.asset.php
2 years ago
testOffsiteGateway.js
2 years ago
donationFormBlockApp.js
1 lines
| 1 | !function(){var e={2703:function(e,n,t){"use strict";var o=t(414);function i(){}function r(){}r.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,r,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:r,resetWarningCache:i};return t.PropTypes=t,t}},5697:function(e,n,t){e.exports=t(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function t(o){var i=n[o];if(void 0!==i)return i.exports;var r=n[o]={exports:{}};return e[o](r,r.exports,t),r.exports}t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},t.d=function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){"use strict";var e=window.wp.element,n=t(5697),o=t.n(n),i=window.React,r=t.n(i);function a(){return a=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},a.apply(this,arguments)}function s(e,n){if(null==e)return{};var t,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||(i[t]=e[t]);return i}var c,d,u=(c=function(e){!function(n){if("undefined"!=typeof window){var t,o=0,i=!1,r=!1,a=7,s="[iFrameSizer]",c=s.length,d=null,u=window.requestAnimationFrame,l={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},f={},m=null,g={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",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}},h={};window.jQuery&&((t=window.jQuery).fn?t.fn.iFrameResize||(t.fn.iFrameResize=function(e){return this.filter("iframe").each((function(n,t){H(t,e)})).end()}):M("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof n&&n.amd?n([],L):e.exports=L(),window.iFrameResize=window.iFrameResize||L()}function p(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function w(e,n,t){e.addEventListener(n,t,!1)}function b(e,n,t){e.removeEventListener(n,t,!1)}function y(e){return f[e]?f[e].log:i}function v(e,n){k("log",e,n,y(e))}function M(e,n){k("info",e,n,y(e))}function x(e,n){k("warn",e,n,!0)}function k(e,n,t,o){!0===o&&"object"==typeof window.console&&console[e](function(e){return s+"["+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"),S((function(){W(A),E(B),g("onResized",A)}),A,"init")}function t(e){var n=Number(f[B]["max"+e]),t=Number(f[B]["min"+e]),o=e.toLowerCase(),i=Number(A[o]);v(B,"Checking "+o+" is in range "+t+"-"+n),i<t&&(i=t,v(B,"Set "+o+" to min value")),i>n&&(i=n,v(B,"Set "+o+" to max value")),A[o]=""+i}function o(e){return j.substr(j.indexOf(":")+a+e)}function i(e,n){var t,o;t=function(){var t,o;P("Send Page Info","pageInfo:"+(t=document.body.getBoundingClientRect(),o=A.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-t.top,10),offsetLeft:parseInt(o.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)},h[o=n]||(h[o]=setTimeout((function(){h[o]=null,t()}),32))}function r(e){var n=e.getBoundingClientRect();return I(B),{x:Math.floor(Number(n.left)+Number(d.x)),y:Math.floor(Number(n.top)+Number(d.y))}}function u(e){var n=e?r(A.iframe):{x:0,y:0},t={x:Number(A.width)+n.x,y:Number(A.height)+n.y};v(B,"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(B,"Unable to scroll to requested position, window.parentIFrame not found"):(d=t,l(),v(B,"--"))}function l(){!1!==g("onScroll",d)?E(B):T()}function m(e){g(e,{iframe:A.iframe,screenX:A.width,screenY:A.height,type:A.type})}function g(e,n){return R(B,e,n)}var p,y,k,z,F,H,j=e.data,A={},B=null;"[iFrameResizerChild]Ready"===j?function(){for(var e in f)P("iFrame requested init",N(e),f[e].iframe,e)}():s===(""+j).substr(0,c)&&j.substr(c).split(":")[0]in f?(z=(k=j.substr(c).split(":"))[1]?parseInt(k[1],10):0,F=f[k[0]]&&f[k[0]].iframe,H=getComputedStyle(F),A={iframe:F,id:k[0],height:z+function(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}(H)+function(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}(H),width:k[2],type:k[3]},B=A.id,f[B]&&(f[B].loaded=!0),(y=A.type in{true:1,false:1,undefined:1})&&v(B,"Ignoring init message from meta parent page"),!y&&function(e){var n=!0;return f[e]||(n=!1,x(A.type+" No settings for "+e+". Message was: "+j)),n}(B)&&(v(B,"Received: "+j),p=!0,null===A.iframe&&(x(B,"IFrame ("+A.id+") not found"),p=!1),p&&function(){var n,t=e.origin,o=f[B]&&f[B].checkOrigin;if(o&&""+t!="null"&&!(o.constructor===Array?function(){var e=0,n=!1;for(v(B,"Checking connection is from allowed list of origins: "+o);e<o.length;e++)if(o[e]===t){n=!0;break}return n}():(n=f[B]&&f[B].remoteHost,v(B,"Checking connection is from: "+n),t===n)))throw new Error("Unexpected message received from: "+t+" for "+A.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(f[B]&&f[B].firstRun&&f[B]&&(f[B].firstRun=!1),A.type){case"close":O(A.iframe);break;case"message":c=o(6),v(B,"onMessage passed: {iframe: "+A.iframe.id+", message: "+c+"}"),g("onMessage",{iframe:A.iframe,message:JSON.parse(c)}),v(B,"--");break;case"mouseenter":m("onMouseEnter");break;case"mouseleave":m("onMouseLeave");break;case"autoResize":f[B].autoResize=JSON.parse(o(9));break;case"scrollTo":u(!1);break;case"scrollToOffset":u(!0);break;case"pageInfo":i(f[B]&&f[B].iframe,B),function(){function e(e,o){function r(){f[t]?i(f[t].iframe,t):n()}["scroll","resize"].forEach((function(n){v(t,e+n+" listener for sendPageInfo"),o(window,n,r)}))}function n(){e("Remove ",b)}var t=B;e("Add ",w),f[t]&&(f[t].stopPageInfo=n)}();break;case"pageInfoStop":f[B]&&f[B].stopPageInfo&&(f[B].stopPageInfo(),delete f[B].stopPageInfo);break;case"inPageLink":t=o(9).split("#")[1]||"",a=decodeURIComponent(t),(s=document.getElementById(a)||document.getElementsByName(a)[0])?(e=r(s),v(B,"Moving to in page link (#"+t+") at x: "+e.x+" y: "+e.y),d={x:e.x,y:e.y},l(),v(B,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(t):v(B,"In page link #"+t+" not found and window.parentIFrame not found"):v(B,"In page link #"+t+" not found");break;case"reset":C(A);break;case"init":n(),g("onInit",A.iframe);break;default:n()}var e,t,a,s,c}())):M(B,"Ignored: "+j)}function R(e,n,t){var o=null,i=null;if(f[e]){if("function"!=typeof(o=f[e][n]))throw new TypeError(n+" on iFrame["+e+"] is not a function");i=o(t)}return i}function F(e){var n=e.id;delete f[n]}function O(e){var n=e.id;if(!1!==R(n,"onClose",n)){v(n,"Removing iFrame: "+n);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){x(e)}R(n,"onClosed",n),v(n,"--"),F(e)}else v(n,"Close iframe cancelled by onClose event")}function I(e){null===d&&v(e,"Get page position: "+(d={x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop}).x+","+d.y)}function E(e){null!==d&&(window.scrollTo(d.x,d.y),v(e,"Set page position: "+d.x+","+d.y),T())}function T(){d=null}function C(e){v(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),I(e.id),S((function(){W(e),P("reset","reset",e.iframe,e.id)}),e,"reset")}function W(e){function n(n){r||"0"!==e[n]||(r=!0,v(o,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(f).forEach((function(e){!function(e){function n(n){return"0px"===(f[e]&&f[e].iframe.style[n])}f[e]&&null!==f[e].iframe.offsetParent&&(n("height")||n("width"))&&P("Visibility change","resize",f[e].iframe,e)}(e)}))}function n(n){v("window","Mutation observed: "+n[0].target+" "+n[0].type),j(e,16)}var t,o=p();o&&(t=document.querySelector("body"),new o(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",v(e.id,"IFrame ("+o+") "+n+" set to "+e[n]+"px")):v("undefined","messageData id not set")}(t),n(t)}var o=e.iframe.id;f[o]&&(f[o].sizeHeight&&t("height"),f[o].sizeWidth&&t("width"))}function S(e,n,t){t!==n.type&&u&&!window.jasmine?(v(n.id,"Requesting animation frame"),u(e)):e()}function P(e,n,t,o,i){var r,a=!1;o=o||t.id,f[o]&&(t&&"contentWindow"in t&&null!==t.contentWindow?(r=f[o]&&f[o].targetOrigin,v(o,"["+e+"] Sending msg to iframe["+o+"] ("+n+") targetOrigin: "+r),t.contentWindow.postMessage(s+n,r)):x(o,"["+e+"] IFrame("+o+") not found"),i&&f[o]&&f[o].warningTimeout&&(f[o].msgTimeout=setTimeout((function(){!f[o]||f[o].loaded||a||(a=!0,x(o,"IFrame has not responded within "+f[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."))}),f[o].warningTimeout)))}function N(e){return e+":"+f[e].bodyMarginV1+":"+f[e].sizeWidth+":"+f[e].log+":"+f[e].interval+":"+f[e].enablePublicMethods+":"+f[e].autoResize+":"+f[e].bodyMargin+":"+f[e].heightCalculationMethod+":"+f[e].bodyBackground+":"+f[e].bodyPadding+":"+f[e].tolerance+":"+f[e].inPageLinks+":"+f[e].resizeFrom+":"+f[e].widthCalculationMethod}function H(e,t){function r(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(c,"Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}var a,s,c=function(n){var r;return""===n&&(e.id=(r=t&&t.id||g.id+o++,null!==document.getElementById(r)&&(r+=o++),n=r),i=(t||{}).log,v(n,"Added missing iframe ID: "+n+" ("+e.src+")")),n}(e.id);c in f&&"iFrameResizer"in e?x(c,"Ignored iFrame, already setup."):(function(n){var t;n=n||{},f[c]={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(r,n),function(e){for(var n in g)Object.prototype.hasOwnProperty.call(g,n)&&(f[c][n]=Object.prototype.hasOwnProperty.call(e,n)?e[n]:g[n])}(n),f[c]&&(f[c].targetOrigin=!0===f[c].checkOrigin?""===(t=f[c].remoteHost)||null!==t.match(/^(about:blank|javascript:|file:\/\/)/)?"*":t:"*")}(t),function(){switch(v(c,"IFrame scrolling "+(f[c]&&f[c].scrolling?"enabled":"disabled")+" for "+c),e.style.overflow=!1===(f[c]&&f[c].scrolling)?"hidden":"auto",f[c]&&f[c].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=f[c]?f[c].scrolling:"no"}}(),function(){function n(n){1/0!==f[c][n]&&0!==f[c][n]&&(e.style[n]=f[c][n]+"px",v(c,"Set "+n+" = "+f[c][n]+"px"))}function t(e){if(f[c]["min"+e]>f[c]["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(f[c]&&f[c].bodyMargin)&&"0"!==(f[c]&&f[c].bodyMargin)||(f[c].bodyMarginV1=f[c].bodyMargin,f[c].bodyMargin=f[c].bodyMargin+"px"),a=N(c),(s=p())&&function(n){e.parentNode&&new n((function(n){n.forEach((function(n){Array.prototype.slice.call(n.removedNodes).forEach((function(n){n===e&&O(e)}))}))})).observe(e.parentNode,{childList:!0})}(s),w(e,"load",(function(){var t,o;P("iFrame.onload",a,e,n,!0),t=f[c]&&f[c].firstRun,o=f[c]&&f[c].heightCalculationMethod in l,!t&&o&&C({iframe:e,height:0,width:0,type:"init"})})),P("init",a,e,n,!0),f[c]&&(f[c].iframe.iFrameResizer={close:O.bind(null,f[c].iframe),removeListeners:F.bind(null,f[c].iframe),resize:P.bind(null,"Window resize","resize",f[c].iframe),moveToAnchor:function(e){P("Move to anchor","moveToAnchor:"+e,f[c].iframe,c)},sendMessage:function(e){P("Send Message","message:"+(e=JSON.stringify(e)),f[c].iframe,c)}}))}function j(e,n){null===m&&(m=setTimeout((function(){m=null,e()}),n))}function A(){"hidden"!==document.visibilityState&&(v("document","Trigger event: Visiblity change"),j((function(){B("Tab Visable","resize")}),16))}function B(e,n){Object.keys(f).forEach((function(t){(function(e){return f[e]&&"parent"===f[e].resizeFrom&&f[e].autoResize&&!f[e].firstRun})(t)&&P(e,n,f[t].iframe,t)}))}function L(){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+">")}(),H(n,e),t.push(n))}var t;return function(){var e,n=["moz","webkit","o","ms"];for(e=0;e<n.length&&!u;e+=1)u=window[n[e]+"RequestAnimationFrame"];u?u=u.bind(window):v("setup","RequestAnimationFrame not supported")}(),w(window,"message",z),w(window,"resize",(function(){v("window","Trigger event: resize"),j((function(){B("Window resize","resize")}),16)})),w(document,"visibilitychange",A),w(document,"-webkit-visibilitychange",A),function(o,i){switch(t=[],function(e){e&&e.enablePublicMethods&&x("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(o),typeof i){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),e.bind(n,o));break;case"object":e(o,i);break;default:throw new TypeError("Unexpected data type ("+typeof i+")")}return t}}}()},c(d={exports:{}}),d.exports),l=function(){},f=function(e){var n=e.title,t=e.forwardRef,o=s(e,["title","forwardRef"]),c=function(e){return e.autoResize,e.bodyBackground,e.bodyMargin,e.bodyPadding,e.checkOrigin,e.inPageLinks,e.heightCalculationMethod,e.interval,e.log,e.maxHeight,e.maxWidth,e.minHeight,e.minWidth,e.resizeFrom,e.scrolling,e.sizeHeight,e.sizeWidth,e.warningTimeout,e.tolerance,e.widthCalculationMethod,e.onClosed,e.onInit,e.onMessage,e.onMouseEnter,e.onMouseLeave,e.onResized,s(e,["autoResize","bodyBackground","bodyMargin","bodyPadding","checkOrigin","inPageLinks","heightCalculationMethod","interval","log","maxHeight","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClosed","onInit","onMessage","onMouseEnter","onMouseLeave","onResized"])}(o),d=(0,i.useRef)(null),f=function(){return l(!d.current,"[iframeSizerReact]["+(d&&d.current&&d.current.id)+"] Close event ignored, to remove the iframe update your React component"),!d.current};return(0,i.useEffect)((function(){var e=d.current;return u(a({},o,{onClose:f}),e),function(){return e.iFrameResizer&&e.iFrameResizer.removeListeners()}}),[]),(0,i.useImperativeHandle)(t,(function(){return{resize:function(){return d.current.iFrameResizer.resize()},moveToAnchor:function(e){return d.current.iFrameResizer.moveToAnchor(e)},sendMessage:function(e,n){d.current.iFrameResizer.sendMessage(e,n)}}})),r().createElement("iframe",a({title:n},c,{ref:d}))};f.defaultProps={title:"iframe"},f.propTypes={title:o().string};var m=f,g=window.ReactDOM;function h({dataSrc:n,embedId:t,openFormButton:o}){const[i,r]=(0,e.useState)(!1),a=(0,e.useRef)(null),s=()=>{r(!i)};return(0,e.useEffect)((()=>{const{current:e}=a;i&&e.showModal()}),[i]),(0,e.createElement)("div",{className:"givewp-donation-form-modal"},(0,e.createElement)("button",{className:"givewp-donation-form-modal__open",onClick:s},o),i&&(0,g.createPortal)((0,e.createElement)("dialog",{className:"givewp-donation-form-modal__dialog",ref:a},(0,e.createElement)("button",{className:"givewp-donation-form-modal__close",type:"button","aria-label":"Close",onClick:s},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))),(0,e.createElement)(m,{id:t,src:n,checkOrigin:!1,style:{width:"32.5rem",minWidth:"100%",border:"none",overflowY:"scroll",background:"none !important"}})),document.body))}function p({formFormat:n,dataSrc:t,embedId:o,openFormButton:i,formUrl:r}){return"newTab"===n?(0,e.createElement)("a",{className:"givewp-donation-form-link",href:r,target:"_blank",rel:"noopener noreferrer"},i):"modal"===n||"reveal"===n?(0,e.createElement)(h,{openFormButton:i,dataSrc:t,embedId:o}):(0,e.createElement)(m,{id:o,src:t,checkOrigin:!1,style:{width:"1px",minWidth:"100%",border:"0"}})}document.querySelectorAll(".root-data-givewp-embed").forEach((n=>{const t=n.getAttribute("data-src"),o=n.getAttribute("data-givewp-embed-id"),i=n.getAttribute("data-form-format"),r=n.getAttribute("data-open-form-button"),a=n.getAttribute("data-form-url");e.createRoot?(0,e.createRoot)(n).render((0,e.createElement)(p,{openFormButton:r,formFormat:i,dataSrc:t,embedId:o,formUrl:a})):(0,e.render)((0,e.createElement)(p,{openFormButton:r,formFormat:i,dataSrc:t,embedId:o,formUrl:a}),n)}))}()}(); |