????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.96.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/pontiacques.org/wp-content/plugins/give/build/assets/dist/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/pontiacques.org/wp-content/plugins/give/build/assets/dist/js/paypal-commerce.js
(()=>{"use strict";const e=class{constructor(e){this.form=e,this.jQueryForm=jQuery(e),this.ajaxurl=Give.fn.getGlobalVar("ajaxurl"),this.setupProperties()}setupProperties(){}boot(){this.renderPaymentMethodOption()}renderPaymentMethodOption(){}showError(e){e.hasOwnProperty("details")?n.addErrors(this.jQueryForm,Give.form.fn.getErrorHTML([{message:e.details[0].description}])):n.addErrors(this.jQueryForm,e)}isInTestMode(){return"1"===Give.fn.getGlobalVar("is_test_mode")}displayErrorMessage(e,t=!1){let r=Give.form.fn.getErrorHTML([{message:window.givePayPalCommerce.genericDonorErrorMessage}]);(t||this.isInTestMode())&&(r=e),this.showError(r)}isProcessingEventForForm(e){return e===this.form.getAttribute("id")&&n.isPayPalCommerceSelected(this.jQueryForm)}async createOrderHandler(e,t){Give.form.fn.removeErrors(this.jQueryForm);const r=await fetch(`${this.ajaxurl}?action=give_paypal_commerce_create_order`,{method:"POST",body:n.getFormDataWithoutGiveActionField(this.form)}),i=await r.json();if(!i.success)throw i.data.error;return i.data.id}},t=class extends e{setupProperties(){this.ccFieldsContainer=this.form.querySelector('[id^="give_cc_fields-"]'),this.recurringChoiceHiddenField=this.form.querySelector('input[name="_give_is_donation_recurring"]'),this.smartButton=null,this.updateOrderAmount=!1}static canShow(){return-1!==givePayPalCommerce.payPalSdkQueryParameters.components.indexOf("buttons")}getButtonContainer(){this.ccFieldsContainer=this.form.querySelector('[id^="give_cc_fields-"]');const e=this.ccFieldsContainer.querySelector("#give-paypal-commerce-smart-buttons-wrap");if(e)return e;const t=document.createElement("div"),r=this.ccFieldsContainer.querySelector(".separator-with-text");t.setAttribute("id","give-paypal-commerce-smart-buttons-wrap");const i=this.ccFieldsContainer.querySelector("[id^=give-card-number-wrap-]");return this.ccFieldsContainer.insertBefore(t,r||i)}renderPaymentMethodOption(){this.smartButtonContainer=this.getButtonContainer(),this.smartButton&&this.smartButton.close();const e={onInit:this.onInitHandler.bind(this),onClick:this.onClickHandler.bind(this),createOrder:this.createOrderHandler.bind(this),onApprove:this.orderApproveHandler.bind(this),style:{layout:"vertical",size:"responsive",shape:"rect",label:"paypal",color:"gold",tagline:!1},onError:e=>{this.displayErrorMessage(e)}};return n.isRecurringDonation(this.form)&&(e.createSubscription=this.creatSubscriptionHandler.bind(this),e.onApprove=this.subscriptionApproveHandler.bind(this),delete e.createOrder),n.toggleDonateNowButton(this.form),this.smartButton=paypal.Buttons(e),this.smartButton.render(this.smartButtonContainer)}onInitHandler(e,t){}async onClickHandler(e,t){const r=new FormData(this.form);o.canShow()&&(r.delete("card_name"),r.delete("card_cvc"),r.delete("card_number"),r.delete("card_expiry")),Give.form.fn.removeErrors(this.jQueryForm);const i=await Give.form.fn.isDonorFilledValidData(this.form,r);return"success"===i?(this.observeAmount(),t.resolve()):(this.showError(i),t.reject())}observeAmount(){const e=this,t=e.form.querySelector("#give-amount");if(t){const r={attributes:!0,childList:!0,characterData:!0};new MutationObserver((function(t){e.updateOrderAmount=!0})).observe(t,r)}}async creatSubscriptionHandler(e,t){Give.form.fn.removeErrors(this.jQueryForm);const r=await fetch(`${this.ajaxurl}?action=give_paypal_commerce_create_plan_id`,{method:"POST",body:n.getFormDataWithoutGiveActionField(this.form)}),i=await r.json();if(!i.success)throw i.data.error;const o=new FormData(this.form),s={name:{given_name:o.get("give_first"),surname:o.get("give_last")},email_address:o.get("give_email")};return o.get("billing_country")&&(s.shipping_address={name:{full_name:`${o.get("give_first")} ${o.get("give_last")}`.trim()},address:{address_line_1:o.get("card_address"),address_line_2:o.get("card_address_2"),admin_area_2:o.get("card_city"),admin_area_1:o.get("card_state"),postal_code:o.get("card_zip"),country_code:o.get("billing_country")}}),t.subscription.create({plan_id:i.data.id,subscriber:s})}async subscriptionApproveHandler(e,t){Give.form.fn.showProcessingState(window.givePayPalCommerce.textForOverlayScreen),await n.addFieldToForm(this.form,e.subscriptionID,"payPalSubscriptionId"),this.submitDonationForm()}async orderApproveHandler(e,t){Give.form.fn.showProcessingState(window.givePayPalCommerce.textForOverlayScreen),Give.form.fn.disable(this.jQueryForm,!0),Give.form.fn.removeErrors(this.jQueryForm);const r=await fetch(`${this.ajaxurl}?action=give_paypal_commerce_approve_order&order=${e.orderID}&update_amount=${this.updateOrderAmount}`,{method:"post",body:n.getFormDataWithoutGiveActionField(this.form)}),i=await r.json();let o={};if(!i.success)return Give.form.fn.disable(this.jQueryForm,!1),Give.form.fn.hideProcessingState(),this.displayErrorMessage(i.data.error,!0),o=i.data.error?.details?.[0],o&&"INSTRUMENT_DECLINED"===o.issue?t.restart():void 0;const s=i.data.order;await n.addFieldToForm(this.form,s.id,"payPalOrderId"),this.submitDonationForm()}submitDonationForm(){this.jQueryForm.off("submit"),this.removeCreditCardFields(),this.form.submit()}removeCreditCardFields(){if(o.canShow()){this.jQueryForm.find('input[name="card_name"]').parent().remove(),this.ccFieldsContainer.querySelector(".separator-with-text").remove();const e=new i(this.form);for(const t in e.cardFields)e.cardFields[t].el.parentElement.remove()}}};class r extends e{setupProperties(){this.ccFieldsContainer=this.form.querySelector('[id^="give_cc_fields-"]'),this.cardFields=this.getCardFields(),this.recurringChoiceHiddenField=this.form.querySelector('input[name="_give_is_donation_recurring"]'),this.separator=this.ccFieldsContainer.querySelector(".separator-with-text"),this.separator||!r.canShow(this.form)&&!o.canShow()||(this.separator=this.cardFields.number.el?this.cardFields.number.el.parentElement.insertAdjacentElement("beforebegin",this.separatorHtml()):null)}renderPaymentMethodOption(){this.toggleFields()}getCardFields(){return{number:{el:this.form.querySelector('input[name="card_number"]')},cvv:{el:this.form.querySelector('input[name="card_cvc"]')},expirationDate:{el:this.form.querySelector('input[name="card_expiry"]')}}}toggleFields(){const e=r.canShow(this.form)?"block":"none";for(const t in this.cardFields)this.cardFields[t].el.style.display=e,this.cardFields[t].el.disabled="none"===e}static canShow(e){return o.canShow()&&n.isRecurringDonation(e)}removeFields(){for(const e in this.cardFields)this.cardFields[e].el&&this.cardFields[e].el.parentElement.remove();const e=this.form.querySelector('input[name="card_name"]');e&&e.parentElement.remove(),this.separator&&this.separator.remove()}separatorHtml(){const e=document.createElement("div");return e.setAttribute("class","separator-with-text"),e.innerHTML=`<div class="dashed-line"></div><div class="label">${givePayPalCommerce.separatorLabel}</div><div class="dashed-line"></div>`,e}}const i=r,o=class extends e{constructor(e){super(e.form),this.customCardFields=e,this.setFocusStyle()}setupProperties(){this.cardFields={},this.hostedCardFieldsContainers={},this.hostedFieldContainerStyleProperties=["height"],this.hostedInputFieldStyleProperties=["color","direction","font-size","letter-spacing","line-height"],this.hostedFocusedInputFieldStyleProperties=["color","border-left-color"],this.hostedInputFieldPlaceholderStyleProperties=["color"],this.styles={container:{},input:{},"input:focus":{},"input:placeholder":{}}}static canShow(){return!0===paypal?.HostedFields?.isEligible()&&"1"===window.givePayPalCommerce.supportsCustomPayments&&-1!==givePayPalCommerce.payPalSdkQueryParameters.components.indexOf("hosted-fields")}async renderPaymentMethodOption(){this.setupContainerForHostedCardFields(),this.applyStyleToContainer();const e=`submit.${this.form.getAttribute("id")}`,t=this.createOrderHandler.bind(this),r=await this.getComputedInputFieldForHostedField(),i=this.getPayPalHostedCardFields(),o=await paypal.HostedFields.render({createOrder:t,styles:r,fields:i}).catch((e=>{this.displayErrorMessage(e)})),s=this.onSubmitHandlerForDonationForm.bind(this);this.addEventToHostedFields(o),this.jQueryForm.off(e).on(e,{hostedCardFields:o},s)}setupContainerForHostedCardFields(){const e=this.customCardFields.cardFields;let t="";for(const r in e){const i=document.createElement("div");t=e[r].el.getAttribute("name");const o=`give-${e[r].el.getAttribute("id")}`;let s;(s=this.form.querySelector(`#${o}`))?(s.innerHTML="",this.hostedCardFieldsContainers[this.getFieldTypeByFieldName(t)]=s):(i.setAttribute("id",o),i.setAttribute("class","give-paypal-commerce-cc-field give-input-field-wrapper"),this.hostedCardFieldsContainers[this.getFieldTypeByFieldName(t)]=e[r].el.parentElement.appendChild(i))}this.toggleFields()}getPayPalHostedCardFields(){return{number:{selector:`#${this.hostedCardFieldsContainers.number.getAttribute("id")}`,placeholder:givePayPalCommerce.cardFieldPlaceholders.cardNumber},cvv:{selector:`#${this.hostedCardFieldsContainers.cvv.getAttribute("id")}`,placeholder:givePayPalCommerce.cardFieldPlaceholders.cardCvc},expirationDate:{selector:`#${this.hostedCardFieldsContainers.expirationDate.getAttribute("id")}`,placeholder:givePayPalCommerce.cardFieldPlaceholders.expirationDate}}}async approvePayment(e){const t=await fetch(`${this.ajaxurl}?action=give_paypal_commerce_approve_order&order=`+e,{method:"POST",body:n.getFormDataWithoutGiveActionField(this.form)});return await t.json()}getComputedInputFieldForHostedField(){return{input:{...this.styles.input,...givePayPalCommerce.hostedCardFieldStyles.input},":focus":{color:this.styles["input:focus"].color,...givePayPalCommerce.hostedCardFieldStyles[":focus"]},":placeholder":{color:this.styles["input:placeholder"].color,...givePayPalCommerce.hostedCardFieldStyles[":placeholder"]}}}async onSubmitHandlerForDonationForm(e){if(!n.isPayPalCommerceSelected(this.jQueryForm))return!0;if(n.isRecurringDonation(this.form))return Give.form.fn.showProcessingState(window.givePayPalCommerce.textForOverlayScreen),void this.submitDonationForm();const t=this.hostedFieldOnSubmitErrorHandler.bind(this);e.preventDefault(),Give.form.fn.removeErrors(this.jQueryForm);const{hostedCardFields:r}=e.data,i=this.getExtraCardDetails.bind(this),o=await r.submit({contingencies:["SCA_WHEN_REQUIRED"],...i}).catch(t);return!!o&&(this.canThreeDsAuthorizeCard(o)&&!this.IsCardThreeDsAuthorized(o)?(Give.form.fn.addErrorsAndResetDonationButton(this.jQueryForm,Give.form.fn.getErrorHTML([{message:givePayPalCommerce.threeDsCardAuthenticationFailedNotice}])),!1):(await this.onApproveHandler(o),!1))}async onApproveHandler(e){Give.form.fn.showProcessingState(window.givePayPalCommerce.textForOverlayScreen);const t=await this.approvePayment(e.orderId);if(!t.success)return this.hostedFieldOnSubmitErrorHandler(t.data.error),void Give.form.fn.hideProcessingState();await n.addFieldToForm(this.form,t.data.order.id,"payPalOrderId"),this.submitDonationForm()}getExtraCardDetails(){return{cardholderName:this.form.getElementById("#card_name").value}}addEventToHostedFields(e){const t=this;e.on("focus",(function(e){t.hostedCardFieldsContainers[e.emittedBy].classList.add("has-focus")})),e.on("blur",(function(e){t.hostedCardFieldsContainers[e.emittedBy].classList.remove("has-focus")}))}applyStyleToContainer(){this.computedStyles(),this.setHostedFieldContainerHeight(),window.addEventListener("load",this.setHostedFieldContainerHeight.bind(this))}computedStyles(){const e=this.form.querySelector('input[name="card_name"]'),t=window.getComputedStyle(e,null);Array.from(this.styles.container).length||(this.hostedFieldContainerStyleProperties.forEach((e=>{this.styles.container={[e]:t.getPropertyValue(e),...this.styles.container}})),this.hostedInputFieldStyleProperties.forEach((e=>{this.styles.input={[e]:t.getPropertyValue(e),...this.styles.input}})),this.hostedInputFieldPlaceholderStyleProperties.forEach((e=>{this.styles["input:placeholder"]={[e]:t.getPropertyValue(e),...this.styles["input:placeholder"]}})))}setHostedFieldContainerHeight(){if(this.styles.container.height=`${this.form.querySelector('input[name="card_name"]').offsetHeight}px`,!["auto","0px"].includes(this.styles.container.height))for(const e in this.hostedCardFieldsContainers)this.hostedCardFieldsContainers[e].style.setProperty("height",this.styles.container.height)}setFocusStyle(){this.form.querySelectorAll('input[type="text"]').forEach((e=>{e.addEventListener("focus",(e=>{if(Array.from(this.styles["input:focus"]).length)return;const t=window.getComputedStyle(e.target,null);this.hostedFocusedInputFieldStyleProperties.forEach((e=>{this.styles["input:focus"]={[e]:t.getPropertyValue(e),...this.styles["input:focus"]}}))}),{once:!0})}))}canThreeDsAuthorizeCard(e){return["NO","POSSIBLE"].includes(e.liabilityShift)}IsCardThreeDsAuthorized(e){return e.liabilityShifted&&"POSSIBLE"===e.liabilityShift}hostedFieldOnSubmitErrorHandler(e){const t={},r=[];if(!e)return r.push({message:window.givePayPalCommerce.genericDonorErrorMessage}),Give.form.fn.resetDonationButton(this.jQueryForm),void Give.form.fn.addErrorsAndResetDonationButton(this.jQueryForm,Give.form.fn.getErrorHTML(r));if("string"==typeof e)return r.push({message:e}),Give.form.fn.resetDonationButton(this.jQueryForm),void Give.form.fn.addErrorsAndResetDonationButton(this.jQueryForm,Give.form.fn.getErrorHTML(r));e.details.forEach((e=>{if(e.hasOwnProperty("field")){if(!t.hasOwnProperty(`${e.field}`)){let i="";if(-1!==e.field.indexOf("expiry"))i=givePayPalCommerce.paypalCardInfoErrorPrefixes.expirationDateField;else if(-1!==e.field.indexOf("number"))i=givePayPalCommerce.paypalCardInfoErrorPrefixes.cardNumberField;else{if(-1===e.field.indexOf("security_code"))return e.hasOwnProperty("description")?void r.push({message:e.description}):void r.push({message:`${givePayPalCommerce.genericDonorErrorMessage} ${givePayPalCommerce.errorCodeLabel}: ${e.issue}`});i=givePayPalCommerce.paypalCardInfoErrorPrefixes.cardCvcField}t[`${e.field}`]=i?[`<strong>${i}</strong>`]:[]}t[`${e.field}`].push(`${e.description}.`)}else r.push({message:e.description})}));for(const e in t)r.push({message:t[e].join(" ")});Give.form.fn.addErrorsAndResetDonationButton(this.jQueryForm,Give.form.fn.getErrorHTML(r))}submitDonationForm(){this.jQueryForm.off("submit"),this.jQueryForm.submit()}toggleFields(){const e=n.isRecurringDonation(this.form)?"none":"block",t="none"===e&&!i.canShow(this.form);this.toggleCardNameField(t);for(const r in this.hostedCardFieldsContainers)this.hostedCardFieldsContainers[r].style.display=e,this.hostedCardFieldsContainers[r].parentElement.style.display=t?"none":"block";this.customCardFields.separator&&(this.customCardFields.separator.style.display=t?"none":"flex")}toggleCardNameField(e){const t=this.form.querySelector('input[name="card_name"]');t.parentElement.style.display=e?"none":"block",t.disabled=e}getFieldTypeByFieldName(e){return"card_number"===e?"number":"card_cvc"===e?"cvv":"card_expiry"===e?"expirationDate":void 0}};class s{static getFormDataWithoutGiveActionField(e){const t=new FormData(e);return t.delete("give_action"),t}static addFieldToForm(e,t,r){const i=document.createElement("input");return i.type="hidden",i.name=r,i.value=t,new Promise(((t,r)=>{t(e.appendChild(i))}))}static isPayPalCommerceSelected(e){return"paypal-commerce"===Give.form.fn.getGateway(e)}static addErrors(e,t){e.find("#give-paypal-commerce-smart-buttons-wrap").before(t)}static isRecurringDonation(e){const t=e.querySelector('input[name="_give_is_donation_recurring"]');return t&&"1"===t.value}static trackRecurringHiddenFieldChange(e,t){new window.MutationObserver((function(e){e[0].oldValue!==e[0].target.value&&s.isPayPalCommerceSelected(jQuery(e[0].target).closest(".give-form"))&&t.call()})).observe(e,{attributeFilter:["value"],attributeOldValue:!0})}static trackDonationCurrencyChange(e,t){new window.MutationObserver((function(e){e[0].oldValue!==e[0].target.getAttribute("data-currency_code")&&s.isPayPalCommerceSelected(jQuery(e[0].target))&&t.call()})).observe(e,{attributeFilter:["data-currency_code"],attributeOldValue:!0})}static toggleDonateNowButton(e){let t="";(!o.canShow()||s.isRecurringDonation(e)&&!i.canShow(e))&&(t="none"),e.querySelector('input[name="give-purchase"]').style.display=t}}const n=s;function a(e,t){void 0===t&&(t={});var r=document.createElement("script");return r.src=e,Object.keys(t).forEach((function(e){r.setAttribute(e,t[e]),"data-csp-nonce"===e&&r.setAttribute("nonce",t["data-csp-nonce"])})),r}function d(e,t){if(void 0===t&&(t=c()),u(e,t),"undefined"==typeof document)return t.resolve(null);var r=function(e){var t="https://www.paypal.com/sdk/js";e.sdkBaseURL&&(t=e.sdkBaseURL,delete e.sdkBaseURL),function(e){var t=e["merchant-id"],r=e["data-merchant-id"],i="",o="";Array.isArray(t)?t.length>1?(i="*",o=t.toString()):i=t.toString():"string"==typeof t&&t.length>0?i=t:"string"==typeof r&&r.length>0&&(i="*",o=r),e["merchant-id"]=i,e["data-merchant-id"]=o}(e);var r,i,o=Object.keys(e).filter((function(t){return void 0!==e[t]&&null!==e[t]&&""!==e[t]})).reduce((function(t,r){var i=e[r].toString();return"data-"===r.substring(0,5)?t.dataAttributes[r]=i:t.queryParams[r]=i,t}),{queryParams:{},dataAttributes:{}}),s=o.queryParams,n=o.dataAttributes;return{url:"".concat(t,"?").concat((r=s,i="",Object.keys(r).forEach((function(e){0!==i.length&&(i+="&"),i+=e+"="+r[e]})),i)),dataAttributes:n}}(e),i=r.url,o=r.dataAttributes,s=o["data-namespace"]||"paypal",n=l(s);return function(e,t){var r=document.querySelector('script[src="'.concat(e,'"]'));if(null===r)return null;var i=a(e,t),o=r.cloneNode();if(delete o.dataset.uidAuto,Object.keys(o.dataset).length!==Object.keys(i.dataset).length)return null;var s=!0;return Object.keys(o.dataset).forEach((function(e){o.dataset[e]!==i.dataset[e]&&(s=!1)})),s?r:null}(i,o)&&n?t.resolve(n):function(e,t){void 0===t&&(t=c()),u(e,t);var r=e.url,i=e.attributes;if("string"!=typeof r||0===r.length)throw new Error("Invalid url.");if(void 0!==i&&"object"!=typeof i)throw new Error("Expected attributes to be an object.");return new t((function(e,t){if("undefined"==typeof document)return e();!function(e){var t=e.onSuccess,r=e.onError,i=a(e.url,e.attributes);i.onerror=r,i.onload=t,document.head.insertBefore(i,document.head.firstElementChild)}({url:r,attributes:i,onSuccess:function(){return e()},onError:function(){var e=new Error('The script "'.concat(r,'" failed to load.'));return window.fetch?fetch(r).then((function(r){return 200===r.status&&t(e),r.text()})).then((function(e){var r=function(e){var t=e.split("/* Original Error:")[1];return t?t.replace(/\n/g,"").replace("*/","").trim():e}(e);t(new Error(r))})).catch((function(e){t(e)})):t(e)}})}))}({url:i,attributes:o},t).then((function(){var e=l(s);if(e)return e;throw new Error("The window.".concat(s," global variable is not available."))}))}function c(){if("undefined"==typeof Promise)throw new Error("Promise is undefined. To resolve the issue, use a Promise polyfill.");return Promise}function l(e){return window[e]}function u(e,t){if("object"!=typeof e||null===e)throw new Error("Expected an options object.");if(void 0!==t&&"function"!=typeof t)throw new Error("Expected PromisePonyfill to be a function.")}const m=window.wp.i18n;document.addEventListener("DOMContentLoaded",(()=>{let e=document.querySelectorAll(".give-form-wrap");const r=[];function s(e){!function(e){const t=e.querySelector('input[name="_give_is_donation_recurring"]');t&&n.trackRecurringHiddenFieldChange(t,(()=>{c(e)}))}(e),function(e){n.trackDonationCurrencyChange(e,(()=>{c(e)}))}(e),function(e){document.addEventListener("give_gateway_loaded",(()=>{n.isPayPalCommerceSelected(jQuery(e))&&c(e)}))}(e)}function a(e){const r=new t(e),s=new i(e);if(t.canShow()&&r.boot(),o.canShow()){const e=new o(s);return s.boot(),void e.boot()}s.removeFields()}function c(t){(async function(e){const t={...givePayPalCommerce.payPalSdkQueryParameters},r=n.isRecurringDonation(e);return t.intent=r?"subscription":"capture",t.vault=!!r,t.currency=Give.form.fn.getInfo("currency_code",jQuery(e)),await d(t)})(t).then((()=>{!function(){const t=e=>{n.isPayPalCommerceSelected(jQuery(e))&&a(e)};e.forEach((e=>{const r=e.querySelector(".give-form");e.classList.contains("give-display-button-only")||e.classList.contains("give-display-modal")||r&&t(r)}));const r=document.querySelector(".mfp-content form.give-form");r&&t(r)}()})).then((()=>{let e=givePayPalCommerce.payPalSdkQueryParameters.components.split(",");paypal.hasOwnProperty("HostedFields")&&-1!==e.indexOf("hosted-fields")&&(o.canShow()||(e=e.filter((e=>"hosted-fields"!==e)),givePayPalCommerce.payPalSdkQueryParameters.components=e.join(","),c(t)))})).catch((e=>{const r=jQuery(t);Give.form.fn.addErrors(r,Give.form.fn.getErrorHTML([{message:(0,m.__)("A problem has occurred with the connection between this site and PayPal, preventing donations. Please contact site administrators if reloading the page does not fix the issue. This is usually the result of some JavaScript conflict on the page.","give")}])),Give.form.fn.disable(r,!0),console.error(e)}))}e.forEach((e=>{Give.form.fn.hasDonationForm(e)&&r.push(e)})),r.length&&(e=r,c(e[0].querySelector(".give-form")),e.forEach((e=>{const t=e.querySelector(".give-form");e.classList.contains("give-display-button-only")||e.classList.contains("give-display-modal")||s(t)})),jQuery(".give-form-wrap.give-display-button-only button.give-btn-modal, .give-form-wrap.give-display-modal button.give-btn-modal").on("click",(function(){const e=window.setInterval((()=>{const t=document.querySelector(".mfp-content form.give-form");t&&(n.isPayPalCommerceSelected(jQuery(t))&&a(t),s(t),window.clearInterval(e))}),100)})),jQuery("form.give-form").on("submit",(e=>!n.isPayPalCommerceSelected(jQuery(void 0))||(e.preventDefault(),!1))))}))})();

Youez - 2016 - github.com/yon3zu
LinuXploit