"use strict";(self.webpackChunkapp_container=self.webpackChunkapp_container||[]).push([[4759],{4759:(e,a,t)=>{function r(e,a,t){"string"==typeof e&&(e=e.replace(".",""));let r="";const n=/\{\{\s*(\w+)\s*\}\}/,c=a||"${{amount}}";function o(e,a){return void 0===e?a:e}function p(e,a,t,r){if(a=o(a,2),t=o(t,","),r=o(r,"."),isNaN(e)||null==e)return"0";const n=(e=(e/100).toFixed(a)).split(".");return n[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+t)+(n[1]?r+n[1]:"")}switch(c.match(n)[1]){case"amount":r=p(e,2);break;case"amount_no_decimals":r=p(e,0);break;case"amount_with_comma_separator":r=p(e,2,".",",");break;case"amount_no_decimals_with_comma_separator":r=p(e,0,".",",")}return function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'")}(c.replace(n,r))}t.r(a),t.d(a,{formatMoney:()=>r})}}]);