System.register(["./index-c820db66.system.js","./index-542a2c72.system.js","./_commonjsHelpers-c8881874.system.js"],(function(t){"use strict";var n,r;return{setters:[function(t){n=t.r},function(t){r=t.d},function(){}],execute:function(){var e=".sc-smoothly-display-amount-h{display:block}[hidden].sc-smoothly-display-amount-h{display:none}";var i=t("smoothly_display_amount",function(){function t(t){n(this,t)}t.prototype.format=function(t){var n=3;var e=2;var i=r.Currency.decimalDigits(this.currency)?r.Currency.decimalDigits(this.currency):e;var s=t.length;var o;var a=t;if(a=="")a="0";if(t.includes(".")){o=t.indexOf(".");if(o==0){a="0"+a;o++}s=o;a=a.padEnd(o+i+1,"0");a=a.substring(0,o+i+1)}else{a=a+".";o=a.length-1;a=a.padEnd(o+i+1,"0")}var c=Math.ceil(s/n)-1;if(c>0){for(var u=0;u<c;u++){var l=s-(c-u)*n;a=a.slice(0,l)+" "+a.slice(l,a.length);s++}}return a};t.prototype.render=function(){return[typeof this.amount=="number"?this.format(this.amount.toString()):this.format(this.amount)," ",this.currency]};return t}());i.style=e}}}));