/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/assets/dist/js
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/assets/dist/js/give-donation-summary.js (8455B)
(()=>{var e={50743:function(e,n){!function(r,t){var o={version:"0.4.1",settings:{currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}}},a=Array.prototype.map,i=Array.isArray,u=Object.prototype.toString;function c(e){return!!(""===e||e&&e.charCodeAt&&e.substr)}function m(e){return i?i(e):"[object Array]"===u.call(e)}function f(e){return e&&"[object Object]"===u.call(e)}function s(e,n){var r;for(r in e=e||{},n=n||{})n.hasOwnProperty(r)&&null==e[r]&&(e[r]=n[r]);return e}function l(e,n,r){var t,o,i=[];if(!e)return i;if(a&&e.map===a)return e.map(n,r);for(t=0,o=e.length;t
3?c.length%3:0;return u+(v?c.substr(0,v)+a.thousand:"")+c.substr(v).replace(/(\d{3})(?=\d)/g,"$1"+a.thousand)+(i?a.decimal+y(Math.abs(e),i).split(".")[1]:"")},h=o.formatMoney=function(e,n,r,t,a,i){if(m(e))return l(e,(function(e){return h(e,n,r,t,a,i)}));e=g(e);var u=s(f(n)?n:{symbol:n,precision:r,thousand:t,decimal:a,format:i},o.settings.currency),c=v(u.format);return(e>0?c.pos:e<0?c.neg:c.zero).replace("%s",u.symbol).replace("%v",p(Math.abs(e),d(u.precision),u.thousand,u.decimal))};o.formatColumn=function(e,n,r,t,a,i){if(!e)return[];var u=s(f(n)?n:{symbol:n,precision:r,thousand:t,decimal:a,format:i},o.settings.currency),y=v(u.format),h=y.pos.indexOf("%s")0?y.pos:e<0?y.neg:y.zero).replace("%s",u.symbol).replace("%v",p(Math.abs(e),d(u.precision),u.thousand,u.decimal));return r.length>b&&(b=r.length),r}));return l(S,(function(e,n){return c(e)&&e.length{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{"use strict";var e=r(50743),n=r.n(e);function t(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(!e)return;if("string"==typeof e)return o(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,n)}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var t=0,a=function(){};return{s:a,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,i=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw i}}}}function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,t=new Array(n);r2&&void 0!==arguments[2])||arguments[2],o=document.querySelector(e);if(o){var a=jQuery(o.closest(".give-form"));new MutationObserver((function(e){var r,o=t(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;"attributes"===i.type&&n(i.target,a)}}catch(e){o.e(e)}finally{o.f()}})).observe(o,{attributes:!0}),r&&n(o,a)}},format_amount:function(e,r){e=e.replace(Give.form.fn.getInfo("thousands_separator",r),"").replace(Give.form.fn.getInfo("decimal_separator",r),".");var t=Give.form.fn.getInfo("currency_code",r),o=GiveDonationSummaryData.currencyPrecisionLookup[t];return n().formatMoney(e,{symbol:Give.form.fn.getInfo("currency_symbol",r),format:"before"===Give.form.fn.getInfo("currency_position",r)?"%s%v":"%v%s",decimal:Give.form.fn.getInfo("decimal_separator",r),thousand:Give.form.fn.getInfo("thousands_separator",r),precision:o})}},jQuery(document).on("give:postInit",GiveDonationSummary.init),jQuery(document).on("Give:onGatewayLoadSuccess",GiveDonationSummary.onGatewayLoadSuccess)})()})();