Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/nandedex/www/wp-content/plugins11/financial-pack-pro/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : /home/nandedex/www/wp-content/plugins11/financial-pack-pro/js/financial-pack.min.js
!function(e){function f(e){return""===e||e&&e.charCodeAt&&e.substr}function u(e){return t?t(e):"[object Array]"===n.call(e)}function p(e){return"[object Object]"===n.call(e)}function m(e,r){var t;e=e||{},r=r||{};for(t in r)r.hasOwnProperty(t)&&null==e[t]&&(e[t]=r[t]);return e}function h(e,r,t){var n,c,o=[];if(!e)return o;if(a&&e.map===a)return e.map(r,t);for(n=0,c=e.length;n<c;n++)o[n]=r.call(t,e[n],n,e);return o}function d(e,r){return e=Math.round(Math.abs(e)),isNaN(e)?r:e}function v(e){var r=b.settings.currency.format;return"function"==typeof e&&(e=e()),f(e)&&e.match("%v")?{pos:e,neg:e.replace("-","").replace("%v","-%v"),zero:e}:e&&e.pos&&e.pos.match("%v")?e:f(r)?b.settings.currency.format={pos:r,neg:r.replace("%v","-%v"),zero:r}:r}var r,b={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,t=Array.isArray,n=Object.prototype.toString,y=b.unformat=b.parse=function(e,r){if(u(e))return h(e,function(e){return y(e,r)});if("number"==typeof(e=e||0))return e;r=r||".";var t=RegExp("[^0-9-"+r+"]",["g"]);t=parseFloat((""+e).replace(/\((.*)\)/,"-$1").replace(t,"").replace(r,"."));return isNaN(t)?0:t},l=b.toFixed=function(e,r){r=d(r,b.settings.number.precision);var t=Math.pow(10,r);return(Math.round(b.unformat(e)*t)/t).toFixed(r)},g=b.formatNumber=b.format=function(e,r,t,n){if(u(e))return h(e,function(e){return g(e,r,t,n)});e=y(e);var c=m(p(r)?r:{precision:r,thousand:t,decimal:n},b.settings.number),o=d(c.precision),a=e<0?"-":"",i=parseInt(l(Math.abs(e||0),o),10)+"",s=3<i.length?i.length%3:0;return a+(s?i.substr(0,s)+c.thousand:"")+i.substr(s).replace(/(\d{3})(?=\d)/g,"$1"+c.thousand)+(o?c.decimal+l(Math.abs(e),o).split(".")[1]:"")},s=b.formatMoney=function(e,r,t,n,c,o){if(u(e))return h(e,function(e){return s(e,r,t,n,c,o)});e=y(e);var a=m(p(r)?r:{symbol:r,precision:t,thousand:n,decimal:c,format:o},b.settings.currency),i=v(a.format);return(0<e?i.pos:e<0?i.neg:i.zero).replace("%s",a.symbol).replace("%v",g(Math.abs(e),d(a.precision),a.thousand,a.decimal))};b.formatColumn=function(e,r,t,n,c,o){if(!e)return[];var a=m(p(r)?r:{symbol:r,precision:t,thousand:n,decimal:c,format:o},b.settings.currency),i=v(a.format),s=i.pos.indexOf("%s")<i.pos.indexOf("%v"),l=0;e=h(e,function(e){return u(e)?b.formatColumn(e,a):((e=(0<(e=y(e))?i.pos:e<0?i.neg:i.zero).replace("%s",a.symbol).replace("%v",g(Math.abs(e),d(a.precision),a.thousand,a.decimal))).length>l&&(l=e.length),e)});return h(e,function(e){return f(e)&&e.length<l?s?e.replace(a.symbol,a.symbol+Array(l-e.length+1).join(" ")):Array(l-e.length+1).join(" ")+e:e})},"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=b),exports.accounting=b):"function"==typeof define&&define.amd?define([],function(){return b}):(b.noConflict=(r=e.accounting,function(){return e.accounting=r,b.noConflict=void 0,b}),e.accounting=b)}(this),Array.prototype.map||(Array.prototype.map=function(e){var r,t,n;if(null==this)throw new TypeError("this is null or not defined");var c=Object(this),o=c.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1<arguments.length&&(r=arguments[1]),t=new Array(o),n=0;n<o;){var a,i;n in c&&(a=c[n],i=e.call(r,a,n,c),t[n]=i),n++}return t}),jQuery(function(p){"use strict";if(p(".bsfp-widgets-list.bsfp-align-marquee").marquee({allowCss3Support:!0,delayBeforeStart:0,duplicated:!0,startVisible:!0}),p(".bs-fp-chart-list.ct-chart, .bs-fpt-chart-list.ct-chart").each(function(){var e=p(this),r={},t={chartPadding:0,stretch:!0,grid:!1,showArea:!0,showPoint:!1,fullWidth:!0,axisX:{showLabel:!1,showGrid:!1,offset:0},axisY:{showLabel:!1,showGrid:!1,offset:0},lineSmooth:Chartist.Interpolation.simple({divisor:100})};e.data("series")&&(r.series=[e.data("series").split(",").map(Number)]),e.data("width")&&(t.width=e.data("width")),e.data("height")&&(t.height=e.data("height")),new Chartist.Line(this,r,t),e.removeAttr("data-series")}),"object"==typeof bs_financial_loc&&"object"==typeof bs_financial_loc.converter&&"object"==typeof bs_financial_loc.converter.rates){var u=function(e,r,t){if(r=r.toUpperCase(),t=t.toUpperCase(),bs_financial_loc.converter.base_currency!==r)if(bs_financial_loc.converter.currencies&&bs_financial_loc.converter.currencies[r])e*=bs_financial_loc.converter.currencies[r];else{if(!bs_financial_loc.converter.rates||!bs_financial_loc.converter.rates[r])return!1;e/=bs_financial_loc.converter.rates[r]}var n;return bs_financial_loc.converter.base_currency!==t?bs_financial_loc.converter.rates&&bs_financial_loc.converter.rates[t]?n=e*bs_financial_loc.converter.rates[t]:bs_financial_loc.converter.currencies&&bs_financial_loc.converter.currencies[t]&&(n=e/bs_financial_loc.converter.currencies[t]):n=e,n},m=function(e){isNaN(e);for(var r=(e+="").split("."),t=r[0],n=1<r.length?"."+r[1]:"",c=/(\d+)(\d{3})/;c.test(t);)t=t.replace(c,"$1,$2");return t+n},h=function(e,r){var t,n=2;if(0===(e=parseFloat(e)))return"0";if(e<1){n=Math.ceil((t=1/e,Math.log(t)/Math.LN10+2))}return accounting.formatMoney(e,r,n)},d=function(e){if(!e||"SELECT"!==e.tagName)return{};var r=[];return Array.prototype.forEach.call(e.options,function(e){r.push({key:e.value,value:e.innerText})}),r},v=function(n,e,r){return!(!n||"SELECT"!==n.tagName)&&(n.innerHTML="",e.forEach(function(e,r){var t=document.createElement("option");t.value=e.key,t.innerText=e.value,n.options.add(t,r)}),n.options.selectedIndex=r||0,!0)},e=p(document);e.on("keyup",".bs-fpc .fpc-convert-from",function(e){var r,t,n,c=p(this),o=c.val().replace(/,/g,""),a=c.closest(".fpc-wrapper-body"),i=p(".fpc-to-unit :selected",a).val(),s=p(".fpc-from-unit :selected",a).val(),l=c.hasClass("fpc-convert-to"),f=l?(n=s,{from:u(t=o,i,n),to:t}):{from:r=o,to:u(r,s,i)};p(".fpc-to-currency-label .value",a).html(h(f.to,"")),l?p(".fpc-input.fpc-convert-from",a).val(m(f.from)):p(".fpc-input.fpc-convert-to",a).val(m(f.to)),c.val(m(o)),p(".fpc-from-currency-label .value",a).html(h(f.from,""))}),e.on("change",".fpc-from-unit,.fpc-to-unit",function(){var e=p(this),r=e.closest(".fpc-wrapper-body"),t=p(":selected",e).val().toUpperCase(),n=function(e){if(""!==e){e=e.replace("*","");var r=bs_financial_loc.converter.currencies_logo;return r=r&&r.list&&r.list[e]?r.list[e]:r&&r.pattern&&r.pattern.cc&&r.pattern.cc.list[e]?r.pattern.cc.url.replace("%code%",e.toLowerCase()).replace("%id%",r.pattern.cc.list[e]):r&&r.pattern&&r.pattern.local&&-1<r.pattern.local.list.indexOf(e.toUpperCase())?r.pattern.local.url.replace("%code%",e.toLowerCase()):bs_financial_loc.converter.cash_logo_url.replace("%code%",e.toLowerCase())}}(t);p(e.hasClass("fpc-from-unit")?".fpc-from-currency-icon":".fpc-to-currency-icon",r).attr("src",n);var c=e.hasClass("fpc-from-unit")?".fpc-from-currency-label .unit":".fpc-to-currency-label .unit";p(c,r.closest(".fpc-wrapper-body")).hasClass("keep-empty")||p(c,r.closest(".fpc-wrapper-body")).html(t),p(".fpc-convert-from",r).keyup()}),e.on("click",".fpc-switch-arrow",function(e){e.preventDefault();var r=p(this).closest(".bs-fpc"),t=p(".fpc-from-unit",r)[0],n=p(".fpc-to-unit",r)[0],c=d(n),o=d(t),a=t.selectedIndex,i=n.selectedIndex;v(t,c,i),v(n,o,a);var s=p(".fpc-from-currency-icon",r),l=p(".fpc-to-currency-icon",r),f=s.attr("src"),u=l.attr("src");p(".fpc-from-currency-label .unit",r).hasClass("keep-empty")||(p(".fpc-from-currency-label .unit",r).hasClass("bsf-currency-code")?p(".fpc-from-currency-label .unit",r).html(p(t.options.item(i)).attr("value")):p(".fpc-from-currency-label .unit",r).html(t.options.item(i).innerText)),p(".fpc-to-currency-label .unit",r).hasClass("keep-empty")||(p(".fpc-to-currency-label .unit",r).hasClass("bsf-currency-code")?p(".fpc-to-currency-label .unit",r).html(p(t.options.item(a)).attr("value")):p(".fpc-to-currency-label .unit",r).html(n.options.item(a).innerText)),s.attr("src",u),l.attr("src",f),p(".fpc-convert-from",r).keyup()}),e.find(".fpc-convert-from").keyup(),e.find(".fpc-from-unit,.fpc-to-unit").change()}});

F1le Man4ger