// Module ID: 11607 // Function ID: 11608 // Name: getBarText // Dependencies: [1236, 2] // Exports: getBarText // Module 11607 (getBarText) import set from "set" /* 2 */; import getSystemLocale from "getSystemLocale" /* 1236 */; const result = set.fileFinishedImporting("modules/dice_roll/DiceRollUtils.tsx"); export const getBarText = function getBarText(flag, results) { if (flag) { const intl2 = getSystemLocale.intl; let str = intl2.string(getSystemLocale.t["x/FIRX"]); } else { str = ""; if (null != results) { const intl = getSystemLocale.intl; const obj = { total: null }; obj[0] = results.reduce((arg0, arg1) => arg0 + arg1, 0); str = intl.formatToPlainString(getSystemLocale.t.xU4pF1, obj); } } return str; };