PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 4.16.6.1
GiveWP – Donation Plugin and Fundraising Platform v4.16.6.1
4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 2.32.0 2.33.0 2.33.1 2.33.2 2.33.3 2.33.4 2.33.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.10.0 3.11.0 3.12.0 3.12.1 3.12.2 3.12.3 3.13.0 3.14.0 3.14.1 3.14.2 3.15.0 3.15.1 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.17.0 3.17.1 3.17.2 3.18.0 3.19.0 3.19.1 3.19.2 3.19.3 3.19.4 3.2.0 3.2.1 3.2.2 3.20.0 3.21.0 3.21.1 3.22.0 3.22.1 3.22.2 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.7.0 3.8.0 3.9.0 4.0.0 4.1.0 4.1.1 4.10.0 4.10.1 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.1 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 trunk 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.2 2.11.3 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.13.1 2.13.2 2.13.3 2.13.4 2.14.0 2.15.0 2.16.0 2.16.1 2.17.0 2.17.1 2.17.3 2.18.0 2.18.1 2.19.1 2.19.2 2.19.3 2.19.4 2.19.5 2.19.6 2.19.7 2.19.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.20.0 2.20.1 2.20.2 2.21.0 2.21.1 2.21.2 2.21.3 2.21.4 2.22.0 2.22.1 2.22.2 2.22.3 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.24.2 2.25.0 2.25.1 2.25.2 2.25.3 2.26.0 2.27.0 2.27.1 2.27.2 2.27.3 2.28.0 2.29.0 2.29.1 2.29.2
give / build / assets / dist / js / give-classic-template.js
give / build / assets / dist / js Last commit date
admin-add-ons.asset.php 1 year ago admin-add-ons.js 1 year ago admin-onboarding-wizard-rtl.css 1 year ago admin-onboarding-wizard.asset.php 1 year ago admin-onboarding-wizard.css 1 year ago admin-onboarding-wizard.js 1 year ago admin-reports-rtl.css 1 year ago admin-reports-widget-rtl.css 1 year ago admin-reports-widget.asset.php 1 year ago admin-reports-widget.css 1 year ago admin-reports-widget.js 1 year ago admin-reports.asset.php 1 year ago admin-reports.css 1 year ago admin-reports.js 1 year ago admin-setup.asset.php 1 year ago admin-setup.js 1 year ago admin-shortcodes.asset.php 1 year ago admin-shortcodes.js 1 year ago admin-upsell-addons-page-rtl.css 1 year ago admin-upsell-addons-page.asset.php 1 year ago admin-upsell-addons-page.css 1 year ago admin-upsell-addons-page.js 1 year ago admin-upsell-sale-banner.asset.php 1 year ago admin-upsell-sale-banner.js 1 year ago admin-widgets.asset.php 1 year ago admin-widgets.js 1 year ago admin.asset.php 1 month ago admin.js 1 month ago donation-options.asset.php 1 year ago donation-options.js 1 year ago donor-dashboards-app-rtl.css 6 months ago donor-dashboards-app.asset.php 3 weeks ago donor-dashboards-app.css 6 months ago donor-dashboards-app.js 3 weeks ago donor-dashboards-block.asset.php 8 months ago donor-dashboards-block.js 8 months ago give-add-v2form-rtl.css 1 year ago give-add-v2form.asset.php 6 months ago give-add-v2form.css 1 year ago give-add-v2form.js 6 months ago give-admin-donation-forms-rtl.css 9 months ago give-admin-donation-forms.asset.php 6 months ago give-admin-donation-forms.css 9 months ago give-admin-donation-forms.js 6 months ago give-admin-donations-rtl.css 9 months ago give-admin-donations.asset.php 9 months ago give-admin-donations.css 9 months ago give-admin-donations.js 9 months ago give-admin-donors-rtl.css 9 months ago give-admin-donors.asset.php 9 months ago give-admin-donors.css 9 months ago give-admin-donors.js 9 months ago give-admin-event-tickets-details-rtl.css 9 months ago give-admin-event-tickets-details.asset.php 9 months ago give-admin-event-tickets-details.css 9 months ago give-admin-event-tickets-details.js 9 months ago give-admin-event-tickets-rtl.css 9 months ago give-admin-event-tickets.asset.php 9 months ago give-admin-event-tickets.css 9 months ago give-admin-event-tickets.js 9 months ago give-admin-subscriptions-rtl.css 9 months ago give-admin-subscriptions.asset.php 9 months ago give-admin-subscriptions.css 9 months ago give-admin-subscriptions.js 9 months ago give-classic-template.asset.php 1 year ago give-classic-template.js 1 year ago give-donation-forms-load-async-data.asset.php 1 year ago give-donation-forms-load-async-data.js 1 year ago give-donation-summary.asset.php 1 year ago give-donation-summary.js 1 year ago give-edit-v2form-rtl.css 1 year ago give-edit-v2form.asset.php 6 months ago give-edit-v2form.css 1 year ago give-edit-v2form.js 6 months ago give-log-list-table-app-rtl.css 9 months ago give-log-list-table-app.asset.php 9 months ago give-log-list-table-app.css 9 months ago give-log-list-table-app.js 9 months ago give-migrations-list-table-app-rtl.css 9 months ago give-migrations-list-table-app.asset.php 9 months ago give-migrations-list-table-app.css 9 months ago give-migrations-list-table-app.js 9 months ago give-sequoia-template.asset.php 1 year ago give-sequoia-template.js 1 year ago give-stripe-becs.asset.php 1 year ago give-stripe-becs.js 1 year ago give-stripe-sepa.asset.php 1 year ago give-stripe-sepa.js 1 year ago give-stripe.asset.php 1 year ago give-stripe.js 1 year ago give.asset.php 1 year ago give.js 1 year ago iframe-content.asset.php 1 year ago iframe-content.js 1 year ago orphaned-forms-list-table-rtl.css 9 months ago orphaned-forms-list-table.asset.php 9 months ago orphaned-forms-list-table.css 9 months ago orphaned-forms-list-table.js 9 months ago parent-page.asset.php 1 year ago parent-page.js 1 year ago payment-gateway.asset.php 1 year ago payment-gateway.js 1 year ago paypal-commerce.asset.php 1 year ago paypal-commerce.js 1 year ago plugin-deactivation-survey.asset.php 1 year ago plugin-deactivation-survey.js 1 year ago utils.asset.php 1 year ago utils.js 1 year ago welcome-banner-rtl.css 1 year ago welcome-banner.asset.php 1 year ago welcome-banner.css 1 year ago welcome-banner.js 1 year ago
give-classic-template.js
1 lines
1 (()=>{var e={12942:function(e){e.exports=function(){"use strict";var e=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],t=function(e){return String(e).replace(/[&<>"']/g,(function(e){return"&"+n[e]+";"}))},n={"&":"amp","<":"lt",">":"gt",'"':"quot","'":"apos"},o="dangerouslySetInnerHTML",i={className:"class",htmlFor:"for"},r={};return function(n,a){var c=[],s="";a=a||{};for(var l=arguments.length;l-- >2;)c.push(arguments[l]);if("function"==typeof n)return a.children=c.reverse(),n(a);if(n){if(s+="<"+n,a)for(var u in a)!1!==a[u]&&null!=a[u]&&u!==o&&(s+=" "+(i[u]?i[u]:t(u))+'="'+t(a[u])+'"');s+=">"}if(-1===e.indexOf(n)){if(a[o])s+=a[o].__html;else for(;c.length;){var d=c.pop();if(d)if(d.pop)for(var m=d.length;m--;)c.push(d[m]);else s+=!0===r[d]?d:t(d)}s+=n?"</"+n+">":""}return r[s]=!0,s}}()}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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(12942),t=n.n(e);function o(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function i(e){e?.parentNode.removeChild(e)}function r(e){const t=document.createElement("template");return e.trim(),t.innerHTML=e,t.content.firstChild}function a(e,t="textContent"){const n=document.createElement("canvas").getContext("2d"),{fontWeight:o,fontSize:i,fontFamily:r}=window.getComputedStyle(e);return n.font=`${o} ${i} ${r}`,n.measureText(e[t]).width}const c=document.querySelector('[name="give-fee-recovery-settings"]')?.value,s=("give_fee_recovery_object"in window&&c&&JSON.parse(c),"Give_Recurring_Vars"in window),l="enabled"===window.classicTemplateOptions.payment_information.donation_summary_enabled,u=window?.give_cs_json_obj?.length>20;var d;function m(){classicTemplateOptions.donor_information.headline&&(document.querySelector(".give-personal-info-section legend:first-of-type").textContent=classicTemplateOptions.donor_information.headline)}function p(){classicTemplateOptions.donor_information.description&&o(r(t()("p",{className:"give-personal-info-description"},classicTemplateOptions.donor_information.description)),document.querySelector("#give_checkout_user_info legend:first-of-type"))}function g({symbol:e=window.Give.fn.getGlobalVar("currency_sign"),symbolPosition:n=window.Give.fn.getGlobalVar("currency_pos"),decimalSeparator:o=window.Give.fn.getGlobalVar("decimal_separator")}){document.querySelectorAll(".give-donation-level-btn:not(.give-btn-level-custom)").forEach((i=>{i.innerHTML!==("before"===n?e+i.value:i.value+e)&&function(e){const n=e.parentNode;if(!e.getAttribute("has-tooltip")){const o=r(t()("span",{className:"give-tooltip hint--top hint--bounce","aria-label":n.getAttribute("aria-label")}));e.innerHTML.length<50&&o.classList.add("narrow"),n.replaceChild(o,e),o.appendChild(e),e.setAttribute("has-tooltip","true")}}(i);const a=i.getAttribute("value"),[c,s]=a.split(o),l="before"===n?`${e}${a}`:`${a}${e}`;i.parentNode&&i.parentNode.getAttribute("aria-label")==i.getAttribute("aria-label")&&i.parentNode.setAttribute("aria-label",l),i.setAttribute("aria-label",l);const u=({position:n})=>t()("span",{className:`give-currency-symbol-${n}`},e);i.innerHTML=t()("span",{className:"give-formatted-currency","aria-hidden":!0},"before"===n&&t()(u,{position:"before"}),t()("span",{className:"give-amount-formatted"},t()("span",{className:"give-amount-without-decimals"},c),t()("span",{className:"give-amount-decimal"},s)),"after"===n&&t()(u,{position:"after"}))}))}"give_stripe_vars"in window&&(window.give_stripe_vars.element_font_styles={cssSrc:document.querySelector("#give-google-font-css")?.href},Object.assign(window.give_stripe_vars.element_base_styles,{color:"#828382",fontFamily:window.getComputedStyle(document.body).fontFamily,fontWeight:400})),d=()=>{document.getElementById("give-receipt")||(document.body.classList.add(`give-container-${window.classicTemplateOptions.visual_appearance.container_style}`),o(document.querySelector(".give-personal-info-section"),document.querySelector(".give-donation-amount-section")),document.querySelector(".give-payment-details-section").append(document.querySelector("#give_purchase_form_wrap")),o(document.querySelector(".give-donate-now-button-section"),document.querySelector(".give-payment-details-section")),classicTemplateOptions.donation_amount.description&&document.querySelector(".give-amount-heading").after(r(t()("p",{className:"give-amount-description"},classicTemplateOptions.donation_amount.description))),m(),p(),classicTemplateOptions.payment_information.headline&&(document.querySelector(".give-payment-mode-label").textContent=classicTemplateOptions.payment_information.headline),classicTemplateOptions.payment_information.description&&o(r(`<p class="give-payment-mode-description">${classicTemplateOptions.payment_information.description}</p>`),document.querySelector(".give-payment-mode-label")),function(){if(u){const e=JSON.parse(window.give_cs_json_obj).supported_currency,t=document.querySelector("input[name=give-cs-form-currency]"),n=new MutationObserver((([t])=>{const n=t.target.value,o=e[n];g({symbol:o.symbol,decimalSeparator:o.setting.decimal_separator,precision:o.setting.number_decimals})})),o=e[t.value];g({symbol:o.symbol,decimalSeparator:o.setting.decimal_separator,precision:o.setting.number_decimals}),n.observe(t,{attributeFilter:["value"]})}else g({})}(),function(){if(w())return;f(v());const e=document.querySelector("#give_purchase_form_wrap");e.removeChild(e.querySelector(".give-donation-submit")),document.querySelector(".give-gateway-details").append(...e.children),i(e)}(),l&&function(){const e=document.querySelector(".give-donation-form-summary-section"),t=document.querySelector(".give-payment-details-section");e.closest(".give-donate-now-button-section")?o(e,t):e.closest(".give-personal-info-section")&&t.parentNode.insertBefore(e,t)}(),s&&function(){const e=document.querySelector('[name="give-recurring-period"]');e&&(e.addEventListener("change",(function(e){window.GiveDonationSummary.handleDonorsChoiceRecurringFrequency(e.target,jQuery(".give-form"))})),document.querySelector(".give-recurring-donors-choice-period")?.addEventListener("change",(function(){window.GiveDonationSummary.handleDonorsChoiceRecurringFrequency(e,jQuery(".give-form"))})),document.querySelector('[name="give-price-id"]')?.addEventListener("change",(function(e){window.GiveDonationSummary.handleAdminDefinedRecurringFrequency(e.target,jQuery(".give-form"))})))}(),jQuery.ajaxPrefilter((function(e,t){e.url.includes("?payment-mode=")&&(e.beforeSend=function(){jQuery(".give-donate-now-button-section").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),i(document.querySelector(".give-gateway-details")),t.beforeSend instanceof Function&&t.beforeSend()},e.success=function(e){t.success(e),i(document.querySelector("#give_purchase_form_wrap"));const n=v();n.innerHTML=e,document.querySelector(".give-personal-info-section").replaceChildren(...n.removeChild(n.querySelector(".give-personal-info-section")).children),m(),p(),document.querySelector(".give-donate-now-button-section").replaceWith(...n.removeChild(n.querySelector("#give_purchase_submit")).children),y(),l&&(document.querySelector(".give-donation-form-summary-section").replaceChildren(...n.removeChild(n.querySelector(".give-donation-form-summary-section")).children),window.GiveDonationSummary.initTotal()),i(document.querySelector(".give-gateway-details")),f(n),s&&function(){const e=jQuery(".give-form"),t=document.querySelector('[name="give-recurring-period"]'),n=document.querySelector('[name="give-price-id"]');t&&window.GiveDonationSummary.handleDonorsChoiceRecurringFrequency(t,e),n&&window.GiveDonationSummary.handleAdminDefinedRecurringFrequency(n,e)}(),jQuery(".give-donate-now-button-section").unblock()})})),u&&(window.Give_Currency_Switcher.adjust_dropdown_width=()=>{const e=document.querySelector(".give-cs-select-currency"),t=document.querySelector(".give-currency-symbol");e.style.setProperty("--currency-text-width",function(e){const{fontSize:t}=window.getComputedStyle(document.documentElement);return Number.parseFloat(e)/Number.parseFloat(t)+"rem"}(a(t))),e.style.width=null},window.Give_Currency_Switcher.adjust_dropdown_width()),s&&function(){const e=document.querySelector(".give-recurring-donors-choice-period");if(e){function t(){e.style.setProperty("--selected-text-width",function(e,t){const{fontSize:n}=window.getComputedStyle(t);return Number.parseFloat(e)/Number.parseFloat(n)+"em"}(a(e,"value"),e))}document.fonts.ready.then(t),e.addEventListener("change",t)}}(),y(),function(){const e=document.querySelector("#give_error_test_mode");e&&(w()?document.querySelector("#give_secure_site_wrapper").before(e):document.querySelector(".give-payment-mode-label").after(e))}(),u&&function(){const e=document.querySelector(".give-currency-switcher-msg-wrap");e.parentNode.after(e)}(),document.querySelectorAll('.give-donation-amount-section input[type="checkbox"]').forEach((e=>e.addEventListener("change",(e=>{e.target.parentNode.classList.toggle("checked-within")})))))},"loading"!==document.readyState?window.setTimeout(d,0):document.addEventListener("DOMContentLoaded",d);const v=()=>r('<div class="give-gateway-details"></div>'),f=e=>jQuery(".give-gateway-option-selected > .give-gateway-option").after(e);function y(){"enabled"===window.classicTemplateOptions.visual_appearance.secure_badge&&document.querySelector(".give-donate-now-button-section").lastChild.after(r(t()("aside",{className:"give-secure-donation-badge-bottom"},t()("svg",{className:"give-form-secure-icon"},t()("use",{href:"#give-icon-lock"})),window.classicTemplateOptions.visual_appearance.secure_badge_text)))}function w(){return 1===document.getElementById("give-gateway-radio-list").children.length}window.GiveClassicTemplate={share:e=>{let t=parent.window.location.toString();return window.Give.fn.getParameterByName("giveDonationAction",t)&&(t=window.Give.fn.removeURLParameter(t,"giveDonationAction"),t=window.Give.fn.removeURLParameter(t,"payment-confirmation"),t=window.Give.fn.removeURLParameter(t,"payment-id")),e.classList.contains("facebook-btn")?window.Give.share.fn.facebook(t):e.classList.contains("twitter-btn")&&window.Give.share.fn.twitter(t,classicTemplateOptions.donation_receipt.twitter_message),!1}}})()})();