import {
  __commonJS
} from "/build/_shared/chunk-RODUX5XG.js";

// ../../node_modules/numbro/dist/numbro.min.js
var require_numbro_min = __commonJS({
  "../../node_modules/numbro/dist/numbro.min.js"(exports, module) {
    !function(e, t) {
      "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).numbro = t();
    }(exports, function() {
      "use strict";
      var e = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {};
      function t(e2) {
        return e2 && e2.__esModule && Object.prototype.hasOwnProperty.call(e2, "default") ? e2.default : e2;
      }
      var r, n, i, a, o = { languageTag: "en-US", delimiters: { thousands: ",", decimal: "." }, abbreviations: { thousand: "k", million: "m", billion: "b", trillion: "t" }, spaceSeparated: false, ordinal: function(e2) {
        let t2 = e2 % 10;
        return 1 == ~~(e2 % 100 / 10) ? "th" : 1 === t2 ? "st" : 2 === t2 ? "nd" : 3 === t2 ? "rd" : "th";
      }, bytes: { binarySuffixes: ["B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"], decimalSuffixes: ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] }, currency: { symbol: "$", position: "prefix", code: "USD" }, currencyFormat: { thousandSeparated: true, totalLength: 4, spaceSeparated: true, spaceSeparatedCurrency: true }, formats: { fourDigits: { totalLength: 4, spaceSeparated: true }, fullWithTwoDecimals: { output: "currency", thousandSeparated: true, mantissa: 2 }, fullWithTwoDecimalsNoCurrency: { thousandSeparated: true, mantissa: 2 }, fullWithNoDecimals: { output: "currency", thousandSeparated: true, mantissa: 0 } } };
      function u() {
        if (n)
          return r;
        n = 1;
        const e2 = [{ key: "ZiB", factor: Math.pow(1024, 7) }, { key: "ZB", factor: Math.pow(1e3, 7) }, { key: "YiB", factor: Math.pow(1024, 8) }, { key: "YB", factor: Math.pow(1e3, 8) }, { key: "TiB", factor: Math.pow(1024, 4) }, { key: "TB", factor: Math.pow(1e3, 4) }, { key: "PiB", factor: Math.pow(1024, 5) }, { key: "PB", factor: Math.pow(1e3, 5) }, { key: "MiB", factor: Math.pow(1024, 2) }, { key: "MB", factor: Math.pow(1e3, 2) }, { key: "KiB", factor: Math.pow(1024, 1) }, { key: "KB", factor: Math.pow(1e3, 1) }, { key: "GiB", factor: Math.pow(1024, 3) }, { key: "GB", factor: Math.pow(1e3, 3) }, { key: "EiB", factor: Math.pow(1024, 6) }, { key: "EB", factor: Math.pow(1e3, 6) }, { key: "B", factor: 1 }];
        function t2(e3) {
          return e3.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
        }
        function i2(r2, n2, a3, o2, u2, s2, l2) {
          if (!isNaN(+r2))
            return +r2;
          let c2 = "", f2 = r2.replace(/(^[^(]*)\((.*)\)([^)]*$)/, "$1$2$3");
          if (f2 !== r2)
            return -1 * i2(f2, n2, a3, o2, u2, s2);
          for (let t3 = 0; t3 < e2.length; t3++) {
            let l3 = e2[t3];
            if (c2 = r2.replace(RegExp(`([0-9 ])(${l3.key})$`), "$1"), c2 !== r2)
              return i2(c2, n2, a3, o2, u2, s2) * l3.factor;
          }
          if (c2 = r2.replace("%", ""), c2 !== r2)
            return i2(c2, n2, a3, o2, u2, s2) / 100;
          let p2 = parseFloat(r2);
          if (isNaN(p2))
            return;
          let g2 = o2(p2);
          if (g2 && "." !== g2 && (c2 = r2.replace(new RegExp(`${t2(g2)}$`), ""), c2 !== r2))
            return i2(c2, n2, a3, o2, u2, s2);
          let h2 = {};
          Object.keys(s2).forEach((e3) => {
            h2[s2[e3]] = e3;
          });
          let d2 = Object.keys(h2).sort().reverse(), m2 = d2.length;
          for (let e3 = 0; e3 < m2; e3++) {
            let t3 = d2[e3], l3 = h2[t3];
            if (c2 = r2.replace(t3, ""), c2 !== r2) {
              let e4;
              switch (l3) {
                case "thousand":
                  e4 = Math.pow(10, 3);
                  break;
                case "million":
                  e4 = Math.pow(10, 6);
                  break;
                case "billion":
                  e4 = Math.pow(10, 9);
                  break;
                case "trillion":
                  e4 = Math.pow(10, 12);
              }
              return i2(c2, n2, a3, o2, u2, s2) * e4;
            }
          }
        }
        function a2(e3, r2, n2 = "", a3, o2, u2, s2) {
          if ("" === e3)
            return;
          if (e3 === o2)
            return 0;
          let l2 = function(e4, r3, n3) {
            let i3 = e4.replace(n3, "");
            return i3 = i3.replace(new RegExp(`([0-9])${t2(r3.thousands)}([0-9])`, "g"), "$1$2"), i3 = i3.replace(r3.decimal, "."), i3;
          }(e3, r2, n2);
          return i2(l2, r2, n2, a3, o2, u2);
        }
        return r = { unformat: function(e3, t3) {
          const r2 = p();
          let n2, i3 = r2.currentDelimiters(), o2 = r2.currentCurrency().symbol, u2 = r2.currentOrdinal(), s2 = r2.getZeroFormat(), l2 = r2.currentAbbreviations();
          if ("string" == typeof e3)
            n2 = function(e4, t4) {
              if (!e4.indexOf(":") || ":" === t4.thousands)
                return false;
              let r3 = e4.split(":");
              if (3 !== r3.length)
                return false;
              let n3 = +r3[0], i4 = +r3[1], a3 = +r3[2];
              return !isNaN(n3) && !isNaN(i4) && !isNaN(a3);
            }(e3, i3) ? function(e4) {
              let t4 = e4.split(":"), r3 = +t4[0], n3 = +t4[1];
              return +t4[2] + 60 * n3 + 3600 * r3;
            }(e3) : a2(e3, i3, o2, u2, s2, l2);
          else {
            if ("number" != typeof e3)
              return;
            n2 = e3;
          }
          if (void 0 !== n2)
            return n2;
        } }, r;
      }
      function s() {
        if (a)
          return i;
        a = 1;
        let e2 = u();
        const t2 = /^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/, r2 = { output: { type: "string", validValues: ["currency", "percent", "byte", "time", "ordinal", "number"] }, base: { type: "string", validValues: ["decimal", "binary", "general"], restriction: (e3, t3) => "byte" === t3.output, message: "`base` must be provided only when the output is `byte`", mandatory: (e3) => "byte" === e3.output }, characteristic: { type: "number", restriction: (e3) => e3 >= 0, message: "value must be positive" }, prefix: "string", postfix: "string", forceAverage: { type: "string", validValues: ["trillion", "billion", "million", "thousand"] }, average: "boolean", lowPrecision: { type: "boolean", restriction: (e3, t3) => true === t3.average, message: "`lowPrecision` must be provided only when the option `average` is set" }, currencyPosition: { type: "string", validValues: ["prefix", "infix", "postfix"] }, currencySymbol: "string", totalLength: { type: "number", restrictions: [{ restriction: (e3) => e3 >= 0, message: "value must be positive" }, { restriction: (e3, t3) => !t3.exponential, message: "`totalLength` is incompatible with `exponential`" }] }, mantissa: { type: "number", restriction: (e3) => e3 >= 0, message: "value must be positive" }, optionalMantissa: "boolean", trimMantissa: "boolean", roundingFunction: "function", optionalCharacteristic: "boolean", thousandSeparated: "boolean", spaceSeparated: "boolean", spaceSeparatedCurrency: "boolean", spaceSeparatedAbbreviation: "boolean", abbreviations: { type: "object", children: { thousand: "string", million: "string", billion: "string", trillion: "string" } }, negative: { type: "string", validValues: ["sign", "parenthesis"] }, forceSign: "boolean", exponential: { type: "boolean" }, prefixSymbol: { type: "boolean", restriction: (e3, t3) => "percent" === t3.output, message: "`prefixSymbol` can be provided only when the output is `percent`" } }, n2 = { languageTag: { type: "string", mandatory: true, restriction: (e3) => e3.match(t2), message: "the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)" }, delimiters: { type: "object", children: { thousands: "string", decimal: "string", thousandsSize: "number" }, mandatory: true }, abbreviations: { type: "object", children: { thousand: { type: "string", mandatory: true }, million: { type: "string", mandatory: true }, billion: { type: "string", mandatory: true }, trillion: { type: "string", mandatory: true } }, mandatory: true }, spaceSeparated: "boolean", spaceSeparatedCurrency: "boolean", ordinal: { type: "function", mandatory: true }, bytes: { type: "object", children: { binarySuffixes: "object", decimalSuffixes: "object" } }, currency: { type: "object", children: { symbol: "string", position: "string", code: "string" }, mandatory: true }, defaults: "format", ordinalFormat: "format", byteFormat: "format", percentageFormat: "format", currencyFormat: "format", timeDefaults: "format", formats: { type: "object", children: { fourDigits: { type: "format", mandatory: true }, fullWithTwoDecimals: { type: "format", mandatory: true }, fullWithTwoDecimalsNoCurrency: { type: "format", mandatory: true }, fullWithNoDecimals: { type: "format", mandatory: true } } } };
        function o2(t3) {
          return void 0 !== e2.unformat(t3);
        }
        function s2(e3, t3, n3, i2 = false) {
          let a2 = Object.keys(e3).map((i3) => {
            if (!t3[i3])
              return console.error(`${n3} Invalid key: ${i3}`), false;
            let a3 = e3[i3], o3 = t3[i3];
            if ("string" == typeof o3 && (o3 = { type: o3 }), "format" === o3.type) {
              if (!s2(a3, r2, `[Validate ${i3}]`, true))
                return false;
            } else if (typeof a3 !== o3.type)
              return console.error(`${n3} ${i3} type mismatched: "${o3.type}" expected, "${typeof a3}" provided`), false;
            if (o3.restrictions && o3.restrictions.length) {
              let t4 = o3.restrictions.length;
              for (let r3 = 0; r3 < t4; r3++) {
                let { restriction: t5, message: u2 } = o3.restrictions[r3];
                if (!t5(a3, e3))
                  return console.error(`${n3} ${i3} invalid value: ${u2}`), false;
              }
            }
            if (o3.restriction && !o3.restriction(a3, e3))
              return console.error(`${n3} ${i3} invalid value: ${o3.message}`), false;
            if (o3.validValues && -1 === o3.validValues.indexOf(a3))
              return console.error(`${n3} ${i3} invalid value: must be among ${JSON.stringify(o3.validValues)}, "${a3}" provided`), false;
            if (o3.children) {
              if (!s2(a3, o3.children, `[Validate ${i3}]`))
                return false;
            }
            return true;
          });
          return i2 || a2.push(...Object.keys(t3).map((r3) => {
            let i3 = t3[r3];
            if ("string" == typeof i3 && (i3 = { type: i3 }), i3.mandatory) {
              let t4 = i3.mandatory;
              if ("function" == typeof t4 && (t4 = t4(e3)), t4 && void 0 === e3[r3])
                return console.error(`${n3} Missing mandatory key "${r3}"`), false;
            }
            return true;
          })), a2.reduce((e4, t4) => e4 && t4, true);
        }
        function l2(e3) {
          return s2(e3, r2, "[Validate format]");
        }
        return i = { validate: function(e3, t3) {
          let r3 = o2(e3), n3 = l2(t3);
          return r3 && n3;
        }, validateFormat: l2, validateInput: o2, validateLanguage: function(e3) {
          return s2(e3, n2, "[Validate language]");
        } }, i;
      }
      var l, c, f = { parseFormat: function(e2, t2 = {}) {
        return "string" != typeof e2 ? e2 : (function(e3, t3) {
          if (-1 === e3.indexOf("$")) {
            if (-1 === e3.indexOf("%"))
              return -1 !== e3.indexOf("bd") ? (t3.output = "byte", void (t3.base = "general")) : -1 !== e3.indexOf("b") ? (t3.output = "byte", void (t3.base = "binary")) : -1 !== e3.indexOf("d") ? (t3.output = "byte", void (t3.base = "decimal")) : void (-1 === e3.indexOf(":") ? -1 !== e3.indexOf("o") && (t3.output = "ordinal") : t3.output = "time");
            t3.output = "percent";
          } else
            t3.output = "currency";
        }(e2 = function(e3, t3) {
          let r2 = e3.match(/{([^}]*)}$/);
          return r2 ? (t3.postfix = r2[1], e3.slice(0, -r2[0].length)) : e3;
        }(e2 = function(e3, t3) {
          let r2 = e3.match(/^{([^}]*)}/);
          return r2 ? (t3.prefix = r2[1], e3.slice(r2[0].length)) : e3;
        }(e2, t2), t2), t2), function(e3, t3) {
          let r2 = e3.match(/[1-9]+[0-9]*/);
          r2 && (t3.totalLength = +r2[0]);
        }(e2, t2), function(e3, t3) {
          let r2 = e3.split(".")[0].match(/0+/);
          r2 && (t3.characteristic = r2[0].length);
        }(e2, t2), function(e3, t3) {
          if (-1 !== e3.indexOf(".")) {
            let r2 = e3.split(".")[0];
            t3.optionalCharacteristic = -1 === r2.indexOf("0");
          }
        }(e2, t2), function(e3, t3) {
          -1 !== e3.indexOf("a") && (t3.average = true);
        }(e2, t2), function(e3, t3) {
          -1 !== e3.indexOf("K") ? t3.forceAverage = "thousand" : -1 !== e3.indexOf("M") ? t3.forceAverage = "million" : -1 !== e3.indexOf("B") ? t3.forceAverage = "billion" : -1 !== e3.indexOf("T") && (t3.forceAverage = "trillion");
        }(e2, t2), function(e3, t3) {
          let r2 = e3.split(".")[1];
          if (r2) {
            let e4 = r2.match(/0+/);
            e4 && (t3.mantissa = e4[0].length);
          }
        }(e2, t2), function(e3, t3) {
          e3.match(/\[\.]/) ? t3.optionalMantissa = true : e3.match(/\./) && (t3.optionalMantissa = false);
        }(e2, t2), function(e3, t3) {
          const r2 = e3.split(".")[1];
          r2 && (t3.trimMantissa = -1 !== r2.indexOf("["));
        }(e2, t2), function(e3, t3) {
          -1 !== e3.indexOf(",") && (t3.thousandSeparated = true);
        }(e2, t2), function(e3, t3) {
          -1 !== e3.indexOf(" ") && (t3.spaceSeparated = true, t3.spaceSeparatedCurrency = true, (t3.average || t3.forceAverage) && (t3.spaceSeparatedAbbreviation = true));
        }(e2, t2), function(e3, t3) {
          e3.match(/^\+?\([^)]*\)$/) && (t3.negative = "parenthesis"), e3.match(/^\+?-/) && (t3.negative = "sign");
        }(e2, t2), function(e3, t3) {
          e3.match(/^\+/) && (t3.forceSign = true);
        }(e2, t2), t2);
      } };
      function p() {
        if (c)
          return l;
        c = 1;
        const e2 = o, t2 = s(), r2 = f;
        let n2, i2 = {}, a2 = {}, u2 = null, p2 = {};
        function g2(e3) {
          n2 = e3;
        }
        function h2() {
          return a2[n2];
        }
        return i2.languages = () => Object.assign({}, a2), i2.currentLanguage = () => n2, i2.currentBytes = () => h2().bytes || {}, i2.currentCurrency = () => h2().currency, i2.currentAbbreviations = () => h2().abbreviations, i2.currentDelimiters = () => h2().delimiters, i2.currentOrdinal = () => h2().ordinal, i2.currentDefaults = () => Object.assign({}, h2().defaults, p2), i2.currentOrdinalDefaultFormat = () => Object.assign({}, i2.currentDefaults(), h2().ordinalFormat), i2.currentByteDefaultFormat = () => Object.assign({}, i2.currentDefaults(), h2().byteFormat), i2.currentPercentageDefaultFormat = () => Object.assign({}, i2.currentDefaults(), h2().percentageFormat), i2.currentCurrencyDefaultFormat = () => Object.assign({}, i2.currentDefaults(), h2().currencyFormat), i2.currentTimeDefaultFormat = () => Object.assign({}, i2.currentDefaults(), h2().timeFormat), i2.setDefaults = (e3) => {
          e3 = r2.parseFormat(e3), t2.validateFormat(e3) && (p2 = e3);
        }, i2.getZeroFormat = () => u2, i2.setZeroFormat = (e3) => u2 = "string" == typeof e3 ? e3 : null, i2.hasZeroFormat = () => null !== u2, i2.languageData = (e3) => {
          if (e3) {
            if (a2[e3])
              return a2[e3];
            throw new Error(`Unknown tag "${e3}"`);
          }
          return h2();
        }, i2.registerLanguage = (e3, r3 = false) => {
          if (!t2.validateLanguage(e3))
            throw new Error("Invalid language data");
          a2[e3.languageTag] = e3, r3 && g2(e3.languageTag);
        }, i2.setLanguage = (t3, r3 = e2.languageTag) => {
          if (!a2[t3]) {
            let e3 = t3.split("-")[0], n3 = Object.keys(a2).find((t4) => t4.split("-")[0] === e3);
            return a2[n3] ? void g2(n3) : void g2(r3);
          }
          g2(t3);
        }, i2.registerLanguage(e2), n2 = e2.languageTag, l = i2;
      }
      function g(e2, t2) {
        e2.forEach((e3) => {
          let r2;
          try {
            r2 = function(e4) {
              throw new Error('Could not dynamically require "' + e4 + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
            }(`../languages/${e3}`);
          } catch (t3) {
            console.error(`Unable to load "${e3}". No matching language file found.`);
          }
          r2 && t2.registerLanguage(r2);
        });
      }
      var h = { exports: {} };
      !function(t2) {
        !function(e2) {
          var r2, n2 = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, i2 = Math.ceil, a2 = Math.floor, o2 = "[BigNumber Error] ", u2 = o2 + "Number primitive has more than 15 significant digits: ", s2 = 1e14, l2 = 14, c2 = 9007199254740991, f2 = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], p2 = 1e7, g2 = 1e9;
          function h2(e3) {
            var t3 = 0 | e3;
            return e3 > 0 || e3 === t3 ? t3 : t3 - 1;
          }
          function d2(e3) {
            for (var t3, r3, n3 = 1, i3 = e3.length, a3 = e3[0] + ""; n3 < i3; ) {
              for (t3 = e3[n3++] + "", r3 = l2 - t3.length; r3--; t3 = "0" + t3)
                ;
              a3 += t3;
            }
            for (i3 = a3.length; 48 === a3.charCodeAt(--i3); )
              ;
            return a3.slice(0, i3 + 1 || 1);
          }
          function m2(e3, t3) {
            var r3, n3, i3 = e3.c, a3 = t3.c, o3 = e3.s, u3 = t3.s, s3 = e3.e, l3 = t3.e;
            if (!o3 || !u3)
              return null;
            if (r3 = i3 && !i3[0], n3 = a3 && !a3[0], r3 || n3)
              return r3 ? n3 ? 0 : -u3 : o3;
            if (o3 != u3)
              return o3;
            if (r3 = o3 < 0, n3 = s3 == l3, !i3 || !a3)
              return n3 ? 0 : !i3 ^ r3 ? 1 : -1;
            if (!n3)
              return s3 > l3 ^ r3 ? 1 : -1;
            for (u3 = (s3 = i3.length) < (l3 = a3.length) ? s3 : l3, o3 = 0; o3 < u3; o3++)
              if (i3[o3] != a3[o3])
                return i3[o3] > a3[o3] ^ r3 ? 1 : -1;
            return s3 == l3 ? 0 : s3 > l3 ^ r3 ? 1 : -1;
          }
          function y2(e3, t3, r3, n3) {
            if (e3 < t3 || e3 > r3 || e3 !== a2(e3))
              throw Error(o2 + (n3 || "Argument") + ("number" == typeof e3 ? e3 < t3 || e3 > r3 ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(e3));
          }
          function b2(e3) {
            var t3 = e3.c.length - 1;
            return h2(e3.e / l2) == t3 && e3.c[t3] % 2 != 0;
          }
          function v2(e3, t3) {
            return (e3.length > 1 ? e3.charAt(0) + "." + e3.slice(1) : e3) + (t3 < 0 ? "e" : "e+") + t3;
          }
          function w2(e3, t3, r3) {
            var n3, i3;
            if (t3 < 0) {
              for (i3 = r3 + "."; ++t3; i3 += r3)
                ;
              e3 = i3 + e3;
            } else if (++t3 > (n3 = e3.length)) {
              for (i3 = r3, t3 -= n3; --t3; i3 += r3)
                ;
              e3 += i3;
            } else
              t3 < n3 && (e3 = e3.slice(0, t3) + "." + e3.slice(t3));
            return e3;
          }
          r2 = function e3(t3) {
            var r3, O2, x2, S2, N2, $2, B2, M2, D2, F2, E2 = q.prototype = { constructor: q, toString: null, valueOf: null }, A2 = new q(1), _2 = 20, k2 = 4, L2 = -7, P2 = 21, T2 = -1e7, C2 = 1e7, j2 = false, U2 = 1, R2 = 0, I2 = { prefix: "", groupSize: 3, secondaryGroupSize: 0, groupSeparator: ",", decimalSeparator: ".", fractionGroupSize: 0, fractionGroupSeparator: "\xA0", suffix: "" }, G2 = "0123456789abcdefghijklmnopqrstuvwxyz", V = true;
            function q(e4, t4) {
              var r4, i3, o3, s3, f3, p3, g3, h3, d3 = this;
              if (!(d3 instanceof q))
                return new q(e4, t4);
              if (null == t4) {
                if (e4 && true === e4._isBigNumber)
                  return d3.s = e4.s, void (!e4.c || e4.e > C2 ? d3.c = d3.e = null : e4.e < T2 ? d3.c = [d3.e = 0] : (d3.e = e4.e, d3.c = e4.c.slice()));
                if ((p3 = "number" == typeof e4) && 0 * e4 == 0) {
                  if (d3.s = 1 / e4 < 0 ? (e4 = -e4, -1) : 1, e4 === ~~e4) {
                    for (s3 = 0, f3 = e4; f3 >= 10; f3 /= 10, s3++)
                      ;
                    return void (s3 > C2 ? d3.c = d3.e = null : (d3.e = s3, d3.c = [e4]));
                  }
                  h3 = String(e4);
                } else {
                  if (!n2.test(h3 = String(e4)))
                    return x2(d3, h3, p3);
                  d3.s = 45 == h3.charCodeAt(0) ? (h3 = h3.slice(1), -1) : 1;
                }
                (s3 = h3.indexOf(".")) > -1 && (h3 = h3.replace(".", "")), (f3 = h3.search(/e/i)) > 0 ? (s3 < 0 && (s3 = f3), s3 += +h3.slice(f3 + 1), h3 = h3.substring(0, f3)) : s3 < 0 && (s3 = h3.length);
              } else {
                if (y2(t4, 2, G2.length, "Base"), 10 == t4 && V)
                  return H(d3 = new q(e4), _2 + d3.e + 1, k2);
                if (h3 = String(e4), p3 = "number" == typeof e4) {
                  if (0 * e4 != 0)
                    return x2(d3, h3, p3, t4);
                  if (d3.s = 1 / e4 < 0 ? (h3 = h3.slice(1), -1) : 1, q.DEBUG && h3.replace(/^0\.0*|\./, "").length > 15)
                    throw Error(u2 + e4);
                } else
                  d3.s = 45 === h3.charCodeAt(0) ? (h3 = h3.slice(1), -1) : 1;
                for (r4 = G2.slice(0, t4), s3 = f3 = 0, g3 = h3.length; f3 < g3; f3++)
                  if (r4.indexOf(i3 = h3.charAt(f3)) < 0) {
                    if ("." == i3) {
                      if (f3 > s3) {
                        s3 = g3;
                        continue;
                      }
                    } else if (!o3 && (h3 == h3.toUpperCase() && (h3 = h3.toLowerCase()) || h3 == h3.toLowerCase() && (h3 = h3.toUpperCase()))) {
                      o3 = true, f3 = -1, s3 = 0;
                      continue;
                    }
                    return x2(d3, String(e4), p3, t4);
                  }
                p3 = false, (s3 = (h3 = O2(h3, t4, 10, d3.s)).indexOf(".")) > -1 ? h3 = h3.replace(".", "") : s3 = h3.length;
              }
              for (f3 = 0; 48 === h3.charCodeAt(f3); f3++)
                ;
              for (g3 = h3.length; 48 === h3.charCodeAt(--g3); )
                ;
              if (h3 = h3.slice(f3, ++g3)) {
                if (g3 -= f3, p3 && q.DEBUG && g3 > 15 && (e4 > c2 || e4 !== a2(e4)))
                  throw Error(u2 + d3.s * e4);
                if ((s3 = s3 - f3 - 1) > C2)
                  d3.c = d3.e = null;
                else if (s3 < T2)
                  d3.c = [d3.e = 0];
                else {
                  if (d3.e = s3, d3.c = [], f3 = (s3 + 1) % l2, s3 < 0 && (f3 += l2), f3 < g3) {
                    for (f3 && d3.c.push(+h3.slice(0, f3)), g3 -= l2; f3 < g3; )
                      d3.c.push(+h3.slice(f3, f3 += l2));
                    f3 = l2 - (h3 = h3.slice(f3)).length;
                  } else
                    f3 -= g3;
                  for (; f3--; h3 += "0")
                    ;
                  d3.c.push(+h3);
                }
              } else
                d3.c = [d3.e = 0];
            }
            function Z(e4, t4, r4, n3) {
              var i3, a3, o3, u3, s3;
              if (null == r4 ? r4 = k2 : y2(r4, 0, 8), !e4.c)
                return e4.toString();
              if (i3 = e4.c[0], o3 = e4.e, null == t4)
                s3 = d2(e4.c), s3 = 1 == n3 || 2 == n3 && (o3 <= L2 || o3 >= P2) ? v2(s3, o3) : w2(s3, o3, "0");
              else if (a3 = (e4 = H(new q(e4), t4, r4)).e, u3 = (s3 = d2(e4.c)).length, 1 == n3 || 2 == n3 && (t4 <= a3 || a3 <= L2)) {
                for (; u3 < t4; s3 += "0", u3++)
                  ;
                s3 = v2(s3, a3);
              } else if (t4 -= o3, s3 = w2(s3, a3, "0"), a3 + 1 > u3) {
                if (--t4 > 0)
                  for (s3 += "."; t4--; s3 += "0")
                    ;
              } else if ((t4 += a3 - u3) > 0)
                for (a3 + 1 == u3 && (s3 += "."); t4--; s3 += "0")
                  ;
              return e4.s < 0 && i3 ? "-" + s3 : s3;
            }
            function z(e4, t4) {
              for (var r4, n3, i3 = 1, a3 = new q(e4[0]); i3 < e4.length; i3++)
                (!(n3 = new q(e4[i3])).s || (r4 = m2(a3, n3)) === t4 || 0 === r4 && a3.s === t4) && (a3 = n3);
              return a3;
            }
            function W(e4, t4, r4) {
              for (var n3 = 1, i3 = t4.length; !t4[--i3]; t4.pop())
                ;
              for (i3 = t4[0]; i3 >= 10; i3 /= 10, n3++)
                ;
              return (r4 = n3 + r4 * l2 - 1) > C2 ? e4.c = e4.e = null : r4 < T2 ? e4.c = [e4.e = 0] : (e4.e = r4, e4.c = t4), e4;
            }
            function H(e4, t4, r4, n3) {
              var o3, u3, c3, p3, g3, h3, d3, m3 = e4.c, y3 = f2;
              if (m3) {
                e: {
                  for (o3 = 1, p3 = m3[0]; p3 >= 10; p3 /= 10, o3++)
                    ;
                  if ((u3 = t4 - o3) < 0)
                    u3 += l2, c3 = t4, g3 = m3[h3 = 0], d3 = a2(g3 / y3[o3 - c3 - 1] % 10);
                  else if ((h3 = i2((u3 + 1) / l2)) >= m3.length) {
                    if (!n3)
                      break e;
                    for (; m3.length <= h3; m3.push(0))
                      ;
                    g3 = d3 = 0, o3 = 1, c3 = (u3 %= l2) - l2 + 1;
                  } else {
                    for (g3 = p3 = m3[h3], o3 = 1; p3 >= 10; p3 /= 10, o3++)
                      ;
                    d3 = (c3 = (u3 %= l2) - l2 + o3) < 0 ? 0 : a2(g3 / y3[o3 - c3 - 1] % 10);
                  }
                  if (n3 = n3 || t4 < 0 || null != m3[h3 + 1] || (c3 < 0 ? g3 : g3 % y3[o3 - c3 - 1]), n3 = r4 < 4 ? (d3 || n3) && (0 == r4 || r4 == (e4.s < 0 ? 3 : 2)) : d3 > 5 || 5 == d3 && (4 == r4 || n3 || 6 == r4 && (u3 > 0 ? c3 > 0 ? g3 / y3[o3 - c3] : 0 : m3[h3 - 1]) % 10 & 1 || r4 == (e4.s < 0 ? 8 : 7)), t4 < 1 || !m3[0])
                    return m3.length = 0, n3 ? (t4 -= e4.e + 1, m3[0] = y3[(l2 - t4 % l2) % l2], e4.e = -t4 || 0) : m3[0] = e4.e = 0, e4;
                  if (0 == u3 ? (m3.length = h3, p3 = 1, h3--) : (m3.length = h3 + 1, p3 = y3[l2 - u3], m3[h3] = c3 > 0 ? a2(g3 / y3[o3 - c3] % y3[c3]) * p3 : 0), n3)
                    for (; ; ) {
                      if (0 == h3) {
                        for (u3 = 1, c3 = m3[0]; c3 >= 10; c3 /= 10, u3++)
                          ;
                        for (c3 = m3[0] += p3, p3 = 1; c3 >= 10; c3 /= 10, p3++)
                          ;
                        u3 != p3 && (e4.e++, m3[0] == s2 && (m3[0] = 1));
                        break;
                      }
                      if (m3[h3] += p3, m3[h3] != s2)
                        break;
                      m3[h3--] = 0, p3 = 1;
                    }
                  for (u3 = m3.length; 0 === m3[--u3]; m3.pop())
                    ;
                }
                e4.e > C2 ? e4.c = e4.e = null : e4.e < T2 && (e4.c = [e4.e = 0]);
              }
              return e4;
            }
            function Y(e4) {
              var t4, r4 = e4.e;
              return null === r4 ? e4.toString() : (t4 = d2(e4.c), t4 = r4 <= L2 || r4 >= P2 ? v2(t4, r4) : w2(t4, r4, "0"), e4.s < 0 ? "-" + t4 : t4);
            }
            return q.clone = e3, q.ROUND_UP = 0, q.ROUND_DOWN = 1, q.ROUND_CEIL = 2, q.ROUND_FLOOR = 3, q.ROUND_HALF_UP = 4, q.ROUND_HALF_DOWN = 5, q.ROUND_HALF_EVEN = 6, q.ROUND_HALF_CEIL = 7, q.ROUND_HALF_FLOOR = 8, q.EUCLID = 9, q.config = q.set = function(e4) {
              var t4, r4;
              if (null != e4) {
                if ("object" != typeof e4)
                  throw Error(o2 + "Object expected: " + e4);
                if (e4.hasOwnProperty(t4 = "DECIMAL_PLACES") && (y2(r4 = e4[t4], 0, g2, t4), _2 = r4), e4.hasOwnProperty(t4 = "ROUNDING_MODE") && (y2(r4 = e4[t4], 0, 8, t4), k2 = r4), e4.hasOwnProperty(t4 = "EXPONENTIAL_AT") && ((r4 = e4[t4]) && r4.pop ? (y2(r4[0], -g2, 0, t4), y2(r4[1], 0, g2, t4), L2 = r4[0], P2 = r4[1]) : (y2(r4, -g2, g2, t4), L2 = -(P2 = r4 < 0 ? -r4 : r4))), e4.hasOwnProperty(t4 = "RANGE"))
                  if ((r4 = e4[t4]) && r4.pop)
                    y2(r4[0], -g2, -1, t4), y2(r4[1], 1, g2, t4), T2 = r4[0], C2 = r4[1];
                  else {
                    if (y2(r4, -g2, g2, t4), !r4)
                      throw Error(o2 + t4 + " cannot be zero: " + r4);
                    T2 = -(C2 = r4 < 0 ? -r4 : r4);
                  }
                if (e4.hasOwnProperty(t4 = "CRYPTO")) {
                  if ((r4 = e4[t4]) !== !!r4)
                    throw Error(o2 + t4 + " not true or false: " + r4);
                  if (r4) {
                    if ("undefined" == typeof crypto || !crypto || !crypto.getRandomValues && !crypto.randomBytes)
                      throw j2 = !r4, Error(o2 + "crypto unavailable");
                    j2 = r4;
                  } else
                    j2 = r4;
                }
                if (e4.hasOwnProperty(t4 = "MODULO_MODE") && (y2(r4 = e4[t4], 0, 9, t4), U2 = r4), e4.hasOwnProperty(t4 = "POW_PRECISION") && (y2(r4 = e4[t4], 0, g2, t4), R2 = r4), e4.hasOwnProperty(t4 = "FORMAT")) {
                  if ("object" != typeof (r4 = e4[t4]))
                    throw Error(o2 + t4 + " not an object: " + r4);
                  I2 = r4;
                }
                if (e4.hasOwnProperty(t4 = "ALPHABET")) {
                  if ("string" != typeof (r4 = e4[t4]) || /^.?$|[+\-.\s]|(.).*\1/.test(r4))
                    throw Error(o2 + t4 + " invalid: " + r4);
                  V = "0123456789" == r4.slice(0, 10), G2 = r4;
                }
              }
              return { DECIMAL_PLACES: _2, ROUNDING_MODE: k2, EXPONENTIAL_AT: [L2, P2], RANGE: [T2, C2], CRYPTO: j2, MODULO_MODE: U2, POW_PRECISION: R2, FORMAT: I2, ALPHABET: G2 };
            }, q.isBigNumber = function(e4) {
              if (!e4 || true !== e4._isBigNumber)
                return false;
              if (!q.DEBUG)
                return true;
              var t4, r4, n3 = e4.c, i3 = e4.e, u3 = e4.s;
              e:
                if ("[object Array]" == {}.toString.call(n3)) {
                  if ((1 === u3 || -1 === u3) && i3 >= -g2 && i3 <= g2 && i3 === a2(i3)) {
                    if (0 === n3[0]) {
                      if (0 === i3 && 1 === n3.length)
                        return true;
                      break e;
                    }
                    if ((t4 = (i3 + 1) % l2) < 1 && (t4 += l2), String(n3[0]).length == t4) {
                      for (t4 = 0; t4 < n3.length; t4++)
                        if ((r4 = n3[t4]) < 0 || r4 >= s2 || r4 !== a2(r4))
                          break e;
                      if (0 !== r4)
                        return true;
                    }
                  }
                } else if (null === n3 && null === i3 && (null === u3 || 1 === u3 || -1 === u3))
                  return true;
              throw Error(o2 + "Invalid BigNumber: " + e4);
            }, q.maximum = q.max = function() {
              return z(arguments, -1);
            }, q.minimum = q.min = function() {
              return z(arguments, 1);
            }, q.random = (S2 = 9007199254740992, N2 = Math.random() * S2 & 2097151 ? function() {
              return a2(Math.random() * S2);
            } : function() {
              return 8388608 * (1073741824 * Math.random() | 0) + (8388608 * Math.random() | 0);
            }, function(e4) {
              var t4, r4, n3, u3, s3, c3 = 0, p3 = [], h3 = new q(A2);
              if (null == e4 ? e4 = _2 : y2(e4, 0, g2), u3 = i2(e4 / l2), j2)
                if (crypto.getRandomValues) {
                  for (t4 = crypto.getRandomValues(new Uint32Array(u3 *= 2)); c3 < u3; )
                    (s3 = 131072 * t4[c3] + (t4[c3 + 1] >>> 11)) >= 9e15 ? (r4 = crypto.getRandomValues(new Uint32Array(2)), t4[c3] = r4[0], t4[c3 + 1] = r4[1]) : (p3.push(s3 % 1e14), c3 += 2);
                  c3 = u3 / 2;
                } else {
                  if (!crypto.randomBytes)
                    throw j2 = false, Error(o2 + "crypto unavailable");
                  for (t4 = crypto.randomBytes(u3 *= 7); c3 < u3; )
                    (s3 = 281474976710656 * (31 & t4[c3]) + 1099511627776 * t4[c3 + 1] + 4294967296 * t4[c3 + 2] + 16777216 * t4[c3 + 3] + (t4[c3 + 4] << 16) + (t4[c3 + 5] << 8) + t4[c3 + 6]) >= 9e15 ? crypto.randomBytes(7).copy(t4, c3) : (p3.push(s3 % 1e14), c3 += 7);
                  c3 = u3 / 7;
                }
              if (!j2)
                for (; c3 < u3; )
                  (s3 = N2()) < 9e15 && (p3[c3++] = s3 % 1e14);
              for (u3 = p3[--c3], e4 %= l2, u3 && e4 && (s3 = f2[l2 - e4], p3[c3] = a2(u3 / s3) * s3); 0 === p3[c3]; p3.pop(), c3--)
                ;
              if (c3 < 0)
                p3 = [n3 = 0];
              else {
                for (n3 = -1; 0 === p3[0]; p3.splice(0, 1), n3 -= l2)
                  ;
                for (c3 = 1, s3 = p3[0]; s3 >= 10; s3 /= 10, c3++)
                  ;
                c3 < l2 && (n3 -= l2 - c3);
              }
              return h3.e = n3, h3.c = p3, h3;
            }), q.sum = function() {
              for (var e4 = 1, t4 = arguments, r4 = new q(t4[0]); e4 < t4.length; )
                r4 = r4.plus(t4[e4++]);
              return r4;
            }, O2 = function() {
              var e4 = "0123456789";
              function t4(e5, t5, r4, n3) {
                for (var i3, a3, o3 = [0], u3 = 0, s3 = e5.length; u3 < s3; ) {
                  for (a3 = o3.length; a3--; o3[a3] *= t5)
                    ;
                  for (o3[0] += n3.indexOf(e5.charAt(u3++)), i3 = 0; i3 < o3.length; i3++)
                    o3[i3] > r4 - 1 && (null == o3[i3 + 1] && (o3[i3 + 1] = 0), o3[i3 + 1] += o3[i3] / r4 | 0, o3[i3] %= r4);
                }
                return o3.reverse();
              }
              return function(n3, i3, a3, o3, u3) {
                var s3, l3, c3, f3, p3, g3, h3, m3, y3 = n3.indexOf("."), b3 = _2, v3 = k2;
                for (y3 >= 0 && (f3 = R2, R2 = 0, n3 = n3.replace(".", ""), g3 = (m3 = new q(i3)).pow(n3.length - y3), R2 = f3, m3.c = t4(w2(d2(g3.c), g3.e, "0"), 10, a3, e4), m3.e = m3.c.length), c3 = f3 = (h3 = t4(n3, i3, a3, u3 ? (s3 = G2, e4) : (s3 = e4, G2))).length; 0 == h3[--f3]; h3.pop())
                  ;
                if (!h3[0])
                  return s3.charAt(0);
                if (y3 < 0 ? --c3 : (g3.c = h3, g3.e = c3, g3.s = o3, h3 = (g3 = r3(g3, m3, b3, v3, a3)).c, p3 = g3.r, c3 = g3.e), y3 = h3[l3 = c3 + b3 + 1], f3 = a3 / 2, p3 = p3 || l3 < 0 || null != h3[l3 + 1], p3 = v3 < 4 ? (null != y3 || p3) && (0 == v3 || v3 == (g3.s < 0 ? 3 : 2)) : y3 > f3 || y3 == f3 && (4 == v3 || p3 || 6 == v3 && 1 & h3[l3 - 1] || v3 == (g3.s < 0 ? 8 : 7)), l3 < 1 || !h3[0])
                  n3 = p3 ? w2(s3.charAt(1), -b3, s3.charAt(0)) : s3.charAt(0);
                else {
                  if (h3.length = l3, p3)
                    for (--a3; ++h3[--l3] > a3; )
                      h3[l3] = 0, l3 || (++c3, h3 = [1].concat(h3));
                  for (f3 = h3.length; !h3[--f3]; )
                    ;
                  for (y3 = 0, n3 = ""; y3 <= f3; n3 += s3.charAt(h3[y3++]))
                    ;
                  n3 = w2(n3, c3, s3.charAt(0));
                }
                return n3;
              };
            }(), r3 = function() {
              function e4(e5, t5, r5) {
                var n3, i3, a3, o3, u3 = 0, s3 = e5.length, l3 = t5 % p2, c3 = t5 / p2 | 0;
                for (e5 = e5.slice(); s3--; )
                  u3 = ((i3 = l3 * (a3 = e5[s3] % p2) + (n3 = c3 * a3 + (o3 = e5[s3] / p2 | 0) * l3) % p2 * p2 + u3) / r5 | 0) + (n3 / p2 | 0) + c3 * o3, e5[s3] = i3 % r5;
                return u3 && (e5 = [u3].concat(e5)), e5;
              }
              function t4(e5, t5, r5, n3) {
                var i3, a3;
                if (r5 != n3)
                  a3 = r5 > n3 ? 1 : -1;
                else
                  for (i3 = a3 = 0; i3 < r5; i3++)
                    if (e5[i3] != t5[i3]) {
                      a3 = e5[i3] > t5[i3] ? 1 : -1;
                      break;
                    }
                return a3;
              }
              function r4(e5, t5, r5, n3) {
                for (var i3 = 0; r5--; )
                  e5[r5] -= i3, i3 = e5[r5] < t5[r5] ? 1 : 0, e5[r5] = i3 * n3 + e5[r5] - t5[r5];
                for (; !e5[0] && e5.length > 1; e5.splice(0, 1))
                  ;
              }
              return function(n3, i3, o3, u3, c3) {
                var f3, p3, g3, d3, m3, y3, b3, v3, w3, O3, x3, S3, N3, $3, B3, M3, D3, F3 = n3.s == i3.s ? 1 : -1, E3 = n3.c, A3 = i3.c;
                if (!(E3 && E3[0] && A3 && A3[0]))
                  return new q(n3.s && i3.s && (E3 ? !A3 || E3[0] != A3[0] : A3) ? E3 && 0 == E3[0] || !A3 ? 0 * F3 : F3 / 0 : NaN);
                for (w3 = (v3 = new q(F3)).c = [], F3 = o3 + (p3 = n3.e - i3.e) + 1, c3 || (c3 = s2, p3 = h2(n3.e / l2) - h2(i3.e / l2), F3 = F3 / l2 | 0), g3 = 0; A3[g3] == (E3[g3] || 0); g3++)
                  ;
                if (A3[g3] > (E3[g3] || 0) && p3--, F3 < 0)
                  w3.push(1), d3 = true;
                else {
                  for ($3 = E3.length, M3 = A3.length, g3 = 0, F3 += 2, (m3 = a2(c3 / (A3[0] + 1))) > 1 && (A3 = e4(A3, m3, c3), E3 = e4(E3, m3, c3), M3 = A3.length, $3 = E3.length), N3 = M3, x3 = (O3 = E3.slice(0, M3)).length; x3 < M3; O3[x3++] = 0)
                    ;
                  D3 = A3.slice(), D3 = [0].concat(D3), B3 = A3[0], A3[1] >= c3 / 2 && B3++;
                  do {
                    if (m3 = 0, (f3 = t4(A3, O3, M3, x3)) < 0) {
                      if (S3 = O3[0], M3 != x3 && (S3 = S3 * c3 + (O3[1] || 0)), (m3 = a2(S3 / B3)) > 1)
                        for (m3 >= c3 && (m3 = c3 - 1), b3 = (y3 = e4(A3, m3, c3)).length, x3 = O3.length; 1 == t4(y3, O3, b3, x3); )
                          m3--, r4(y3, M3 < b3 ? D3 : A3, b3, c3), b3 = y3.length, f3 = 1;
                      else
                        0 == m3 && (f3 = m3 = 1), b3 = (y3 = A3.slice()).length;
                      if (b3 < x3 && (y3 = [0].concat(y3)), r4(O3, y3, x3, c3), x3 = O3.length, -1 == f3)
                        for (; t4(A3, O3, M3, x3) < 1; )
                          m3++, r4(O3, M3 < x3 ? D3 : A3, x3, c3), x3 = O3.length;
                    } else
                      0 === f3 && (m3++, O3 = [0]);
                    w3[g3++] = m3, O3[0] ? O3[x3++] = E3[N3] || 0 : (O3 = [E3[N3]], x3 = 1);
                  } while ((N3++ < $3 || null != O3[0]) && F3--);
                  d3 = null != O3[0], w3[0] || w3.splice(0, 1);
                }
                if (c3 == s2) {
                  for (g3 = 1, F3 = w3[0]; F3 >= 10; F3 /= 10, g3++)
                    ;
                  H(v3, o3 + (v3.e = g3 + p3 * l2 - 1) + 1, u3, d3);
                } else
                  v3.e = p3, v3.r = +d3;
                return v3;
              };
            }(), $2 = /^(-?)0([xbo])(?=\w[\w.]*$)/i, B2 = /^([^.]+)\.$/, M2 = /^\.([^.]+)$/, D2 = /^-?(Infinity|NaN)$/, F2 = /^\s*\+(?=[\w.])|^\s+|\s+$/g, x2 = function(e4, t4, r4, n3) {
              var i3, a3 = r4 ? t4 : t4.replace(F2, "");
              if (D2.test(a3))
                e4.s = isNaN(a3) ? null : a3 < 0 ? -1 : 1;
              else {
                if (!r4 && (a3 = a3.replace($2, function(e5, t5, r5) {
                  return i3 = "x" == (r5 = r5.toLowerCase()) ? 16 : "b" == r5 ? 2 : 8, n3 && n3 != i3 ? e5 : t5;
                }), n3 && (i3 = n3, a3 = a3.replace(B2, "$1").replace(M2, "0.$1")), t4 != a3))
                  return new q(a3, i3);
                if (q.DEBUG)
                  throw Error(o2 + "Not a" + (n3 ? " base " + n3 : "") + " number: " + t4);
                e4.s = null;
              }
              e4.c = e4.e = null;
            }, E2.absoluteValue = E2.abs = function() {
              var e4 = new q(this);
              return e4.s < 0 && (e4.s = 1), e4;
            }, E2.comparedTo = function(e4, t4) {
              return m2(this, new q(e4, t4));
            }, E2.decimalPlaces = E2.dp = function(e4, t4) {
              var r4, n3, i3, a3 = this;
              if (null != e4)
                return y2(e4, 0, g2), null == t4 ? t4 = k2 : y2(t4, 0, 8), H(new q(a3), e4 + a3.e + 1, t4);
              if (!(r4 = a3.c))
                return null;
              if (n3 = ((i3 = r4.length - 1) - h2(this.e / l2)) * l2, i3 = r4[i3])
                for (; i3 % 10 == 0; i3 /= 10, n3--)
                  ;
              return n3 < 0 && (n3 = 0), n3;
            }, E2.dividedBy = E2.div = function(e4, t4) {
              return r3(this, new q(e4, t4), _2, k2);
            }, E2.dividedToIntegerBy = E2.idiv = function(e4, t4) {
              return r3(this, new q(e4, t4), 0, 1);
            }, E2.exponentiatedBy = E2.pow = function(e4, t4) {
              var r4, n3, u3, s3, c3, f3, p3, g3, h3 = this;
              if ((e4 = new q(e4)).c && !e4.isInteger())
                throw Error(o2 + "Exponent not an integer: " + Y(e4));
              if (null != t4 && (t4 = new q(t4)), c3 = e4.e > 14, !h3.c || !h3.c[0] || 1 == h3.c[0] && !h3.e && 1 == h3.c.length || !e4.c || !e4.c[0])
                return g3 = new q(Math.pow(+Y(h3), c3 ? e4.s * (2 - b2(e4)) : +Y(e4))), t4 ? g3.mod(t4) : g3;
              if (f3 = e4.s < 0, t4) {
                if (t4.c ? !t4.c[0] : !t4.s)
                  return new q(NaN);
                (n3 = !f3 && h3.isInteger() && t4.isInteger()) && (h3 = h3.mod(t4));
              } else {
                if (e4.e > 9 && (h3.e > 0 || h3.e < -1 || (0 == h3.e ? h3.c[0] > 1 || c3 && h3.c[1] >= 24e7 : h3.c[0] < 8e13 || c3 && h3.c[0] <= 9999975e7)))
                  return s3 = h3.s < 0 && b2(e4) ? -0 : 0, h3.e > -1 && (s3 = 1 / s3), new q(f3 ? 1 / s3 : s3);
                R2 && (s3 = i2(R2 / l2 + 2));
              }
              for (c3 ? (r4 = new q(0.5), f3 && (e4.s = 1), p3 = b2(e4)) : p3 = (u3 = Math.abs(+Y(e4))) % 2, g3 = new q(A2); ; ) {
                if (p3) {
                  if (!(g3 = g3.times(h3)).c)
                    break;
                  s3 ? g3.c.length > s3 && (g3.c.length = s3) : n3 && (g3 = g3.mod(t4));
                }
                if (u3) {
                  if (0 === (u3 = a2(u3 / 2)))
                    break;
                  p3 = u3 % 2;
                } else if (H(e4 = e4.times(r4), e4.e + 1, 1), e4.e > 14)
                  p3 = b2(e4);
                else {
                  if (0 === (u3 = +Y(e4)))
                    break;
                  p3 = u3 % 2;
                }
                h3 = h3.times(h3), s3 ? h3.c && h3.c.length > s3 && (h3.c.length = s3) : n3 && (h3 = h3.mod(t4));
              }
              return n3 ? g3 : (f3 && (g3 = A2.div(g3)), t4 ? g3.mod(t4) : s3 ? H(g3, R2, k2, void 0) : g3);
            }, E2.integerValue = function(e4) {
              var t4 = new q(this);
              return null == e4 ? e4 = k2 : y2(e4, 0, 8), H(t4, t4.e + 1, e4);
            }, E2.isEqualTo = E2.eq = function(e4, t4) {
              return 0 === m2(this, new q(e4, t4));
            }, E2.isFinite = function() {
              return !!this.c;
            }, E2.isGreaterThan = E2.gt = function(e4, t4) {
              return m2(this, new q(e4, t4)) > 0;
            }, E2.isGreaterThanOrEqualTo = E2.gte = function(e4, t4) {
              return 1 === (t4 = m2(this, new q(e4, t4))) || 0 === t4;
            }, E2.isInteger = function() {
              return !!this.c && h2(this.e / l2) > this.c.length - 2;
            }, E2.isLessThan = E2.lt = function(e4, t4) {
              return m2(this, new q(e4, t4)) < 0;
            }, E2.isLessThanOrEqualTo = E2.lte = function(e4, t4) {
              return -1 === (t4 = m2(this, new q(e4, t4))) || 0 === t4;
            }, E2.isNaN = function() {
              return !this.s;
            }, E2.isNegative = function() {
              return this.s < 0;
            }, E2.isPositive = function() {
              return this.s > 0;
            }, E2.isZero = function() {
              return !!this.c && 0 == this.c[0];
            }, E2.minus = function(e4, t4) {
              var r4, n3, i3, a3, o3 = this, u3 = o3.s;
              if (t4 = (e4 = new q(e4, t4)).s, !u3 || !t4)
                return new q(NaN);
              if (u3 != t4)
                return e4.s = -t4, o3.plus(e4);
              var c3 = o3.e / l2, f3 = e4.e / l2, p3 = o3.c, g3 = e4.c;
              if (!c3 || !f3) {
                if (!p3 || !g3)
                  return p3 ? (e4.s = -t4, e4) : new q(g3 ? o3 : NaN);
                if (!p3[0] || !g3[0])
                  return g3[0] ? (e4.s = -t4, e4) : new q(p3[0] ? o3 : 3 == k2 ? -0 : 0);
              }
              if (c3 = h2(c3), f3 = h2(f3), p3 = p3.slice(), u3 = c3 - f3) {
                for ((a3 = u3 < 0) ? (u3 = -u3, i3 = p3) : (f3 = c3, i3 = g3), i3.reverse(), t4 = u3; t4--; i3.push(0))
                  ;
                i3.reverse();
              } else
                for (n3 = (a3 = (u3 = p3.length) < (t4 = g3.length)) ? u3 : t4, u3 = t4 = 0; t4 < n3; t4++)
                  if (p3[t4] != g3[t4]) {
                    a3 = p3[t4] < g3[t4];
                    break;
                  }
              if (a3 && (i3 = p3, p3 = g3, g3 = i3, e4.s = -e4.s), (t4 = (n3 = g3.length) - (r4 = p3.length)) > 0)
                for (; t4--; p3[r4++] = 0)
                  ;
              for (t4 = s2 - 1; n3 > u3; ) {
                if (p3[--n3] < g3[n3]) {
                  for (r4 = n3; r4 && !p3[--r4]; p3[r4] = t4)
                    ;
                  --p3[r4], p3[n3] += s2;
                }
                p3[n3] -= g3[n3];
              }
              for (; 0 == p3[0]; p3.splice(0, 1), --f3)
                ;
              return p3[0] ? W(e4, p3, f3) : (e4.s = 3 == k2 ? -1 : 1, e4.c = [e4.e = 0], e4);
            }, E2.modulo = E2.mod = function(e4, t4) {
              var n3, i3, a3 = this;
              return e4 = new q(e4, t4), !a3.c || !e4.s || e4.c && !e4.c[0] ? new q(NaN) : !e4.c || a3.c && !a3.c[0] ? new q(a3) : (9 == U2 ? (i3 = e4.s, e4.s = 1, n3 = r3(a3, e4, 0, 3), e4.s = i3, n3.s *= i3) : n3 = r3(a3, e4, 0, U2), (e4 = a3.minus(n3.times(e4))).c[0] || 1 != U2 || (e4.s = a3.s), e4);
            }, E2.multipliedBy = E2.times = function(e4, t4) {
              var r4, n3, i3, a3, o3, u3, c3, f3, g3, d3, m3, y3, b3, v3, w3, O3 = this, x3 = O3.c, S3 = (e4 = new q(e4, t4)).c;
              if (!(x3 && S3 && x3[0] && S3[0]))
                return !O3.s || !e4.s || x3 && !x3[0] && !S3 || S3 && !S3[0] && !x3 ? e4.c = e4.e = e4.s = null : (e4.s *= O3.s, x3 && S3 ? (e4.c = [0], e4.e = 0) : e4.c = e4.e = null), e4;
              for (n3 = h2(O3.e / l2) + h2(e4.e / l2), e4.s *= O3.s, (c3 = x3.length) < (d3 = S3.length) && (b3 = x3, x3 = S3, S3 = b3, i3 = c3, c3 = d3, d3 = i3), i3 = c3 + d3, b3 = []; i3--; b3.push(0))
                ;
              for (v3 = s2, w3 = p2, i3 = d3; --i3 >= 0; ) {
                for (r4 = 0, m3 = S3[i3] % w3, y3 = S3[i3] / w3 | 0, a3 = i3 + (o3 = c3); a3 > i3; )
                  r4 = ((f3 = m3 * (f3 = x3[--o3] % w3) + (u3 = y3 * f3 + (g3 = x3[o3] / w3 | 0) * m3) % w3 * w3 + b3[a3] + r4) / v3 | 0) + (u3 / w3 | 0) + y3 * g3, b3[a3--] = f3 % v3;
                b3[a3] = r4;
              }
              return r4 ? ++n3 : b3.splice(0, 1), W(e4, b3, n3);
            }, E2.negated = function() {
              var e4 = new q(this);
              return e4.s = -e4.s || null, e4;
            }, E2.plus = function(e4, t4) {
              var r4, n3 = this, i3 = n3.s;
              if (t4 = (e4 = new q(e4, t4)).s, !i3 || !t4)
                return new q(NaN);
              if (i3 != t4)
                return e4.s = -t4, n3.minus(e4);
              var a3 = n3.e / l2, o3 = e4.e / l2, u3 = n3.c, c3 = e4.c;
              if (!a3 || !o3) {
                if (!u3 || !c3)
                  return new q(i3 / 0);
                if (!u3[0] || !c3[0])
                  return c3[0] ? e4 : new q(u3[0] ? n3 : 0 * i3);
              }
              if (a3 = h2(a3), o3 = h2(o3), u3 = u3.slice(), i3 = a3 - o3) {
                for (i3 > 0 ? (o3 = a3, r4 = c3) : (i3 = -i3, r4 = u3), r4.reverse(); i3--; r4.push(0))
                  ;
                r4.reverse();
              }
              for ((i3 = u3.length) - (t4 = c3.length) < 0 && (r4 = c3, c3 = u3, u3 = r4, t4 = i3), i3 = 0; t4; )
                i3 = (u3[--t4] = u3[t4] + c3[t4] + i3) / s2 | 0, u3[t4] = s2 === u3[t4] ? 0 : u3[t4] % s2;
              return i3 && (u3 = [i3].concat(u3), ++o3), W(e4, u3, o3);
            }, E2.precision = E2.sd = function(e4, t4) {
              var r4, n3, i3, a3 = this;
              if (null != e4 && e4 !== !!e4)
                return y2(e4, 1, g2), null == t4 ? t4 = k2 : y2(t4, 0, 8), H(new q(a3), e4, t4);
              if (!(r4 = a3.c))
                return null;
              if (n3 = (i3 = r4.length - 1) * l2 + 1, i3 = r4[i3]) {
                for (; i3 % 10 == 0; i3 /= 10, n3--)
                  ;
                for (i3 = r4[0]; i3 >= 10; i3 /= 10, n3++)
                  ;
              }
              return e4 && a3.e + 1 > n3 && (n3 = a3.e + 1), n3;
            }, E2.shiftedBy = function(e4) {
              return y2(e4, -9007199254740991, c2), this.times("1e" + e4);
            }, E2.squareRoot = E2.sqrt = function() {
              var e4, t4, n3, i3, a3, o3 = this, u3 = o3.c, s3 = o3.s, l3 = o3.e, c3 = _2 + 4, f3 = new q("0.5");
              if (1 !== s3 || !u3 || !u3[0])
                return new q(!s3 || s3 < 0 && (!u3 || u3[0]) ? NaN : u3 ? o3 : 1 / 0);
              if (0 == (s3 = Math.sqrt(+Y(o3))) || s3 == 1 / 0 ? (((t4 = d2(u3)).length + l3) % 2 == 0 && (t4 += "0"), s3 = Math.sqrt(+t4), l3 = h2((l3 + 1) / 2) - (l3 < 0 || l3 % 2), n3 = new q(t4 = s3 == 1 / 0 ? "5e" + l3 : (t4 = s3.toExponential()).slice(0, t4.indexOf("e") + 1) + l3)) : n3 = new q(s3 + ""), n3.c[0]) {
                for ((s3 = (l3 = n3.e) + c3) < 3 && (s3 = 0); ; )
                  if (a3 = n3, n3 = f3.times(a3.plus(r3(o3, a3, c3, 1))), d2(a3.c).slice(0, s3) === (t4 = d2(n3.c)).slice(0, s3)) {
                    if (n3.e < l3 && --s3, "9999" != (t4 = t4.slice(s3 - 3, s3 + 1)) && (i3 || "4999" != t4)) {
                      +t4 && (+t4.slice(1) || "5" != t4.charAt(0)) || (H(n3, n3.e + _2 + 2, 1), e4 = !n3.times(n3).eq(o3));
                      break;
                    }
                    if (!i3 && (H(a3, a3.e + _2 + 2, 0), a3.times(a3).eq(o3))) {
                      n3 = a3;
                      break;
                    }
                    c3 += 4, s3 += 4, i3 = 1;
                  }
              }
              return H(n3, n3.e + _2 + 1, k2, e4);
            }, E2.toExponential = function(e4, t4) {
              return null != e4 && (y2(e4, 0, g2), e4++), Z(this, e4, t4, 1);
            }, E2.toFixed = function(e4, t4) {
              return null != e4 && (y2(e4, 0, g2), e4 = e4 + this.e + 1), Z(this, e4, t4);
            }, E2.toFormat = function(e4, t4, r4) {
              var n3, i3 = this;
              if (null == r4)
                null != e4 && t4 && "object" == typeof t4 ? (r4 = t4, t4 = null) : e4 && "object" == typeof e4 ? (r4 = e4, e4 = t4 = null) : r4 = I2;
              else if ("object" != typeof r4)
                throw Error(o2 + "Argument not an object: " + r4);
              if (n3 = i3.toFixed(e4, t4), i3.c) {
                var a3, u3 = n3.split("."), s3 = +r4.groupSize, l3 = +r4.secondaryGroupSize, c3 = r4.groupSeparator || "", f3 = u3[0], p3 = u3[1], g3 = i3.s < 0, h3 = g3 ? f3.slice(1) : f3, d3 = h3.length;
                if (l3 && (a3 = s3, s3 = l3, l3 = a3, d3 -= a3), s3 > 0 && d3 > 0) {
                  for (a3 = d3 % s3 || s3, f3 = h3.substr(0, a3); a3 < d3; a3 += s3)
                    f3 += c3 + h3.substr(a3, s3);
                  l3 > 0 && (f3 += c3 + h3.slice(a3)), g3 && (f3 = "-" + f3);
                }
                n3 = p3 ? f3 + (r4.decimalSeparator || "") + ((l3 = +r4.fractionGroupSize) ? p3.replace(new RegExp("\\d{" + l3 + "}\\B", "g"), "$&" + (r4.fractionGroupSeparator || "")) : p3) : f3;
              }
              return (r4.prefix || "") + n3 + (r4.suffix || "");
            }, E2.toFraction = function(e4) {
              var t4, n3, i3, a3, u3, s3, c3, p3, g3, h3, m3, y3, b3 = this, v3 = b3.c;
              if (null != e4 && (!(c3 = new q(e4)).isInteger() && (c3.c || 1 !== c3.s) || c3.lt(A2)))
                throw Error(o2 + "Argument " + (c3.isInteger() ? "out of range: " : "not an integer: ") + Y(c3));
              if (!v3)
                return new q(b3);
              for (t4 = new q(A2), g3 = n3 = new q(A2), i3 = p3 = new q(A2), y3 = d2(v3), u3 = t4.e = y3.length - b3.e - 1, t4.c[0] = f2[(s3 = u3 % l2) < 0 ? l2 + s3 : s3], e4 = !e4 || c3.comparedTo(t4) > 0 ? u3 > 0 ? t4 : g3 : c3, s3 = C2, C2 = 1 / 0, c3 = new q(y3), p3.c[0] = 0; h3 = r3(c3, t4, 0, 1), 1 != (a3 = n3.plus(h3.times(i3))).comparedTo(e4); )
                n3 = i3, i3 = a3, g3 = p3.plus(h3.times(a3 = g3)), p3 = a3, t4 = c3.minus(h3.times(a3 = t4)), c3 = a3;
              return a3 = r3(e4.minus(n3), i3, 0, 1), p3 = p3.plus(a3.times(g3)), n3 = n3.plus(a3.times(i3)), p3.s = g3.s = b3.s, m3 = r3(g3, i3, u3 *= 2, k2).minus(b3).abs().comparedTo(r3(p3, n3, u3, k2).minus(b3).abs()) < 1 ? [g3, i3] : [p3, n3], C2 = s3, m3;
            }, E2.toNumber = function() {
              return +Y(this);
            }, E2.toPrecision = function(e4, t4) {
              return null != e4 && y2(e4, 1, g2), Z(this, e4, t4, 2);
            }, E2.toString = function(e4) {
              var t4, r4 = this, n3 = r4.s, i3 = r4.e;
              return null === i3 ? n3 ? (t4 = "Infinity", n3 < 0 && (t4 = "-" + t4)) : t4 = "NaN" : (null == e4 ? t4 = i3 <= L2 || i3 >= P2 ? v2(d2(r4.c), i3) : w2(d2(r4.c), i3, "0") : 10 === e4 && V ? t4 = w2(d2((r4 = H(new q(r4), _2 + i3 + 1, k2)).c), r4.e, "0") : (y2(e4, 2, G2.length, "Base"), t4 = O2(w2(d2(r4.c), i3, "0"), 10, e4, n3, true)), n3 < 0 && r4.c[0] && (t4 = "-" + t4)), t4;
            }, E2.valueOf = E2.toJSON = function() {
              return Y(this);
            }, E2._isBigNumber = true, null != t3 && q.set(t3), q;
          }(), r2.default = r2.BigNumber = r2, t2.exports ? t2.exports = r2 : (e2 || (e2 = "undefined" != typeof self && self ? self : window), e2.BigNumber = r2);
        }(e);
      }(h);
      var d = h.exports;
      const m = p(), y = s(), b = f, v = d, w = { trillion: Math.pow(10, 12), billion: Math.pow(10, 9), million: Math.pow(10, 6), thousand: Math.pow(10, 3) }, O = { totalLength: 0, characteristic: 0, forceAverage: false, average: false, mantissa: -1, optionalMantissa: true, thousandSeparated: false, spaceSeparated: false, negative: "sign", forceSign: false, roundingFunction: Math.round, spaceSeparatedAbbreviation: false }, { binarySuffixes: x, decimalSuffixes: S } = m.currentBytes(), N = { general: { scale: 1024, suffixes: S, marker: "bd" }, binary: { scale: 1024, suffixes: x, marker: "b" }, decimal: { scale: 1e3, suffixes: S, marker: "d" } };
      function $(e2, t2 = {}, r2) {
        if ("string" == typeof t2 && (t2 = b.parseFormat(t2)), !y.validateFormat(t2))
          return "ERROR: invalid format";
        let n2 = t2.prefix || "", i2 = t2.postfix || "", a2 = function(e3, t3, r3) {
          switch (t3.output) {
            case "currency":
              return function(e4, t4, r4) {
                const n3 = r4.currentCurrency();
                let i3, a3 = Object.assign({}, t4), o2 = Object.assign({}, O, a3), u2 = "", s2 = !!o2.totalLength || !!o2.forceAverage || o2.average, l2 = a3.currencyPosition || n3.position, c2 = a3.currencySymbol || n3.symbol;
                const f2 = void 0 !== o2.spaceSeparatedCurrency ? o2.spaceSeparatedCurrency : o2.spaceSeparated;
                void 0 === a3.lowPrecision && (a3.lowPrecision = false);
                f2 && (u2 = " ");
                "infix" === l2 && (i3 = u2 + c2 + u2);
                let p2 = F({ instance: e4, providedFormat: a3, state: r4, decimalSeparator: i3 });
                "prefix" === l2 && (p2 = e4._value < 0 && "sign" === o2.negative ? `-${u2}${c2}${p2.slice(1)}` : e4._value > 0 && o2.forceSign ? `+${u2}${c2}${p2.slice(1)}` : c2 + u2 + p2);
                l2 && "postfix" !== l2 || (u2 = !o2.spaceSeparatedAbbreviation && s2 ? "" : u2, p2 = p2 + u2 + c2);
                return p2;
              }(e3, t3 = E(t3, m.currentCurrencyDefaultFormat()), m);
            case "percent":
              return function(e4, t4, r4, n3) {
                let i3 = t4.prefixSymbol, a3 = F({ instance: n3(100 * e4._value), providedFormat: t4, state: r4 }), o2 = Object.assign({}, O, t4);
                if (i3)
                  return `%${o2.spaceSeparated ? " " : ""}${a3}`;
                return `${a3}${o2.spaceSeparated ? " " : ""}%`;
              }(e3, t3 = E(t3, m.currentPercentageDefaultFormat()), m, r3);
            case "byte":
              return function(e4, t4, r4, n3) {
                let i3 = t4.base || "binary", a3 = Object.assign({}, O, t4);
                const { binarySuffixes: o2, decimalSuffixes: u2 } = r4.currentBytes();
                let s2 = { general: { scale: 1024, suffixes: u2 || S, marker: "bd" }, binary: { scale: 1024, suffixes: o2 || x, marker: "b" }, decimal: { scale: 1e3, suffixes: u2 || S, marker: "d" } }[i3], { value: l2, suffix: c2 } = B(e4._value, s2.suffixes, s2.scale), f2 = F({ instance: n3(l2), providedFormat: t4, state: r4, defaults: r4.currentByteDefaultFormat() });
                return `${f2}${a3.spaceSeparated ? " " : ""}${c2}`;
              }(e3, t3 = E(t3, m.currentByteDefaultFormat()), m, r3);
            case "time":
              return t3 = E(t3, m.currentTimeDefaultFormat()), function(e4) {
                let t4 = Math.floor(e4._value / 60 / 60), r4 = Math.floor((e4._value - 60 * t4 * 60) / 60), n3 = Math.round(e4._value - 60 * t4 * 60 - 60 * r4);
                return `${t4}:${r4 < 10 ? "0" : ""}${r4}:${n3 < 10 ? "0" : ""}${n3}`;
              }(e3);
            case "ordinal":
              return function(e4, t4, r4) {
                let n3 = r4.currentOrdinal(), i3 = Object.assign({}, O, t4), a3 = F({ instance: e4, providedFormat: t4, state: r4 }), o2 = n3(e4._value);
                return `${a3}${i3.spaceSeparated ? " " : ""}${o2}`;
              }(e3, t3 = E(t3, m.currentOrdinalDefaultFormat()), m);
            default:
              return F({ instance: e3, providedFormat: t3, numbro: r3 });
          }
        }(e2, t2, r2);
        return a2 = function(e3, t3) {
          return t3 + e3;
        }(a2, n2), a2 = function(e3, t3) {
          return e3 + t3;
        }(a2, i2), a2;
      }
      function B(e2, t2, r2) {
        let n2 = t2[0], i2 = Math.abs(e2);
        if (i2 >= r2) {
          for (let a2 = 1; a2 < t2.length; ++a2) {
            let o2 = Math.pow(r2, a2), u2 = Math.pow(r2, a2 + 1);
            if (i2 >= o2 && i2 < u2) {
              n2 = t2[a2], e2 /= o2;
              break;
            }
          }
          n2 === t2[0] && (e2 /= Math.pow(r2, t2.length - 1), n2 = t2[t2.length - 1]);
        }
        return { value: e2, suffix: n2 };
      }
      function M(e2) {
        let t2 = "";
        for (let r2 = 0; r2 < e2; r2++)
          t2 += "0";
        return t2;
      }
      function D(e2, t2, r2 = Math.round) {
        if (-1 !== e2.toString().indexOf("e"))
          return function(e3, t3) {
            let r3 = e3.toString(), [n2, i2] = r3.split("e"), [a2, o2 = ""] = n2.split(".");
            if (+i2 > 0)
              r3 = a2 + o2 + M(i2 - o2.length);
            else {
              let e4 = ".";
              e4 = +a2 < 0 ? `-0${e4}` : `0${e4}`;
              let n3 = (M(-i2 - 1) + Math.abs(a2) + o2).substr(0, t3);
              n3.length < t3 && (n3 += M(t3 - n3.length)), r3 = e4 + n3;
            }
            return +i2 > 0 && t3 > 0 && (r3 += `.${M(t3)}`), r3;
          }(e2, t2);
        return new v(r2(+`${e2}e+${t2}`) / Math.pow(10, t2)).toFixed(t2);
      }
      function F({ instance: e2, providedFormat: t2, state: r2 = m, decimalSeparator: n2, defaults: i2 = r2.currentDefaults() }) {
        let a2 = e2._value;
        if (0 === a2 && r2.hasZeroFormat())
          return r2.getZeroFormat();
        if (!isFinite(a2))
          return a2.toString();
        let o2 = Object.assign({}, O, i2, t2), u2 = o2.totalLength, s2 = u2 ? 0 : o2.characteristic, l2 = o2.optionalCharacteristic, c2 = o2.forceAverage, f2 = o2.lowPrecision, p2 = !!u2 || !!c2 || o2.average, g2 = u2 ? -1 : p2 && void 0 === t2.mantissa ? 0 : o2.mantissa, h2 = !u2 && (void 0 === t2.optionalMantissa ? -1 === g2 : o2.optionalMantissa), d2 = o2.trimMantissa, y2 = o2.thousandSeparated, b2 = o2.spaceSeparated, v2 = o2.negative, x2 = o2.forceSign, S2 = o2.exponential, N2 = o2.roundingFunction, $2 = "";
        if (p2) {
          let e3 = function({ value: e4, forceAverage: t3, lowPrecision: r3 = true, abbreviations: n3, spaceSeparated: i3 = false, totalLength: a3 = 0, roundingFunction: o3 = Math.round }) {
            let u3 = "", s3 = Math.abs(e4), l3 = -1;
            if (t3 && n3[t3] && w[t3] ? (u3 = n3[t3], e4 /= w[t3]) : s3 >= w.trillion || r3 && 1 === o3(s3 / w.trillion) ? (u3 = n3.trillion, e4 /= w.trillion) : s3 < w.trillion && s3 >= w.billion || r3 && 1 === o3(s3 / w.billion) ? (u3 = n3.billion, e4 /= w.billion) : s3 < w.billion && s3 >= w.million || r3 && 1 === o3(s3 / w.million) ? (u3 = n3.million, e4 /= w.million) : (s3 < w.million && s3 >= w.thousand || r3 && 1 === o3(s3 / w.thousand)) && (u3 = n3.thousand, e4 /= w.thousand), u3 && (u3 = (i3 ? " " : "") + u3), a3) {
              let t4 = e4 < 0, r4 = e4.toString().split(".")[0], n4 = t4 ? r4.length - 1 : r4.length;
              l3 = Math.max(a3 - n4, 0);
            }
            return { value: e4, abbreviation: u3, mantissaPrecision: l3 };
          }({ value: a2, forceAverage: c2, lowPrecision: f2, abbreviations: r2.currentAbbreviations(), spaceSeparated: b2, roundingFunction: N2, totalLength: u2 });
          a2 = e3.value, $2 += e3.abbreviation, u2 && (g2 = e3.mantissaPrecision);
        }
        if (S2) {
          let e3 = function({ value: e4, characteristicPrecision: t3 }) {
            let [r3, n3] = e4.toExponential().split("e"), i3 = +r3;
            return t3 ? (1 < t3 && (i3 *= Math.pow(10, t3 - 1), n3 = +n3 - (t3 - 1), n3 = n3 >= 0 ? `+${n3}` : n3), { value: i3, abbreviation: `e${n3}` }) : { value: i3, abbreviation: `e${n3}` };
          }({ value: a2, characteristicPrecision: s2 });
          a2 = e3.value, $2 = e3.abbreviation + $2;
        }
        let B2 = function(e3, t3, r3, n3, i3, a3) {
          if (-1 === n3)
            return e3;
          let o3 = D(t3, n3, a3), [u3, s3 = ""] = o3.toString().split(".");
          if (s3.match(/^0+$/) && (r3 || i3))
            return u3;
          let l3 = s3.match(/0+$/);
          return i3 && l3 ? `${u3}.${s3.toString().slice(0, l3.index)}` : o3.toString();
        }(a2.toString(), a2, h2, g2, d2, N2);
        return B2 = function(e3, t3, r3, n3) {
          let i3 = e3, [a3, o3] = i3.toString().split(".");
          if (a3.match(/^-?0$/) && r3)
            return o3 ? `${a3.replace("0", "")}.${o3}` : a3.replace("0", "");
          const u3 = t3 < 0 && 0 === a3.indexOf("-");
          if (u3 && (a3 = a3.slice(1), i3 = i3.slice(1)), a3.length < n3) {
            let e4 = n3 - a3.length;
            for (let t4 = 0; t4 < e4; t4++)
              i3 = `0${i3}`;
          }
          return u3 && (i3 = `-${i3}`), i3.toString();
        }(B2, a2, l2, s2), B2 = function(e3, t3, r3, n3, i3) {
          let a3 = n3.currentDelimiters(), o3 = a3.thousands;
          i3 = i3 || a3.decimal;
          let u3 = a3.thousandsSize || 3, s3 = e3.toString(), l3 = s3.split(".")[0], c3 = s3.split(".")[1];
          const f3 = t3 < 0 && 0 === l3.indexOf("-");
          if (r3) {
            f3 && (l3 = l3.slice(1));
            let e4 = function(e5, t4) {
              let r4 = [], n4 = 0;
              for (let i4 = e5; i4 > 0; i4--)
                n4 === t4 && (r4.unshift(i4), n4 = 0), n4++;
              return r4;
            }(l3.length, u3);
            e4.forEach((e5, t4) => {
              l3 = l3.slice(0, e5 + t4) + o3 + l3.slice(e5 + t4);
            }), f3 && (l3 = `-${l3}`);
          }
          return s3 = c3 ? l3 + i3 + c3 : l3, s3;
        }(B2, a2, y2, r2, n2), (p2 || S2) && (B2 = function(e3, t3) {
          return e3 + t3;
        }(B2, $2)), (x2 || a2 < 0) && (B2 = function(e3, t3, r3) {
          return 0 === t3 ? e3 : 0 == +e3 ? e3.replace("-", "") : t3 > 0 ? `+${e3}` : "sign" === r3 ? e3 : `(${e3.replace("-", "")})`;
        }(B2, a2, v2)), B2;
      }
      function E(e2, t2) {
        if (!e2)
          return t2;
        let r2 = Object.keys(e2);
        return 1 === r2.length && "output" === r2[0] ? t2 : e2;
      }
      const A = d;
      function _(e2, t2, r2) {
        let n2 = new A(e2._value), i2 = t2;
        return r2.isNumbro(t2) && (i2 = t2._value), i2 = new A(i2), e2._value = n2.minus(i2).toNumber(), e2;
      }
      const k = p(), L = s(), P = ((e2) => ({ loadLanguagesInNode: (t2) => g(t2, e2) }))(G), T = u();
      let C = ((e2) => ({ format: (...t2) => $(...t2, e2), getByteUnit: (...t2) => function(e3) {
        let t3 = N.general;
        return B(e3._value, t3.suffixes, t3.scale).suffix;
      }(...t2, e2), getBinaryByteUnit: (...t2) => function(e3) {
        let t3 = N.binary;
        return B(e3._value, t3.suffixes, t3.scale).suffix;
      }(...t2, e2), getDecimalByteUnit: (...t2) => function(e3) {
        let t3 = N.decimal;
        return B(e3._value, t3.suffixes, t3.scale).suffix;
      }(...t2, e2), formatOrDefault: E }))(G), j = ((e2) => ({ add: (t2, r2) => function(e3, t3, r3) {
        let n2 = new A(e3._value), i2 = t3;
        return r3.isNumbro(t3) && (i2 = t3._value), i2 = new A(i2), e3._value = n2.plus(i2).toNumber(), e3;
      }(t2, r2, e2), subtract: (t2, r2) => _(t2, r2, e2), multiply: (t2, r2) => function(e3, t3, r3) {
        let n2 = new A(e3._value), i2 = t3;
        return r3.isNumbro(t3) && (i2 = t3._value), i2 = new A(i2), e3._value = n2.times(i2).toNumber(), e3;
      }(t2, r2, e2), divide: (t2, r2) => function(e3, t3, r3) {
        let n2 = new A(e3._value), i2 = t3;
        return r3.isNumbro(t3) && (i2 = t3._value), i2 = new A(i2), e3._value = n2.dividedBy(i2).toNumber(), e3;
      }(t2, r2, e2), set: (t2, r2) => function(e3, t3, r3) {
        let n2 = t3;
        return r3.isNumbro(t3) && (n2 = t3._value), e3._value = n2, e3;
      }(t2, r2, e2), difference: (t2, r2) => function(e3, t3, r3) {
        let n2 = r3(e3._value);
        return _(n2, t3, r3), Math.abs(n2._value);
      }(t2, r2, e2), BigNumber: A }))(G);
      const U = f;
      class R {
        constructor(e2) {
          this._value = e2;
        }
        clone() {
          return G(this._value);
        }
        format(e2 = {}) {
          return C.format(this, e2);
        }
        formatCurrency(e2) {
          return "string" == typeof e2 && (e2 = U.parseFormat(e2)), (e2 = C.formatOrDefault(e2, k.currentCurrencyDefaultFormat())).output = "currency", C.format(this, e2);
        }
        formatTime(e2 = {}) {
          return e2.output = "time", C.format(this, e2);
        }
        binaryByteUnits() {
          return C.getBinaryByteUnit(this);
        }
        decimalByteUnits() {
          return C.getDecimalByteUnit(this);
        }
        byteUnits() {
          return C.getByteUnit(this);
        }
        difference(e2) {
          return j.difference(this, e2);
        }
        add(e2) {
          return j.add(this, e2);
        }
        subtract(e2) {
          return j.subtract(this, e2);
        }
        multiply(e2) {
          return j.multiply(this, e2);
        }
        divide(e2) {
          return j.divide(this, e2);
        }
        set(e2) {
          return j.set(this, I(e2));
        }
        value() {
          return this._value;
        }
        valueOf() {
          return this._value;
        }
      }
      function I(e2) {
        let t2 = e2;
        return G.isNumbro(e2) ? t2 = e2._value : "string" == typeof e2 ? t2 = G.unformat(e2) : isNaN(e2) && (t2 = NaN), t2;
      }
      function G(e2) {
        return new R(I(e2));
      }
      return G.version = "2.4.0", G.isNumbro = function(e2) {
        return e2 instanceof R;
      }, G.language = k.currentLanguage, G.registerLanguage = k.registerLanguage, G.setLanguage = k.setLanguage, G.languages = k.languages, G.languageData = k.languageData, G.zeroFormat = k.setZeroFormat, G.defaultFormat = k.currentDefaults, G.setDefaults = k.setDefaults, G.defaultCurrencyFormat = k.currentCurrencyDefaultFormat, G.validate = L.validate, G.loadLanguagesInNode = P.loadLanguagesInNode, G.unformat = T.unformat, G.BigNumber = j.BigNumber, t(G);
    });
  }
});

export {
  require_numbro_min
};
/*! Bundled license information:

numbro/dist/numbro.min.js:
  (*!
  	 * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
  	 *
  	 * Permission is hereby granted, free of charge, to any person obtaining a copy
  	 * of this software and associated documentation files (the "Software"), to deal
  	 * in the Software without restriction, including without limitation the rights
  	 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  	 * copies of the Software, and to permit persons to whom the Software is
  	 * furnished to do so, subject to the following conditions:
  	 *
  	 * The above copyright notice and this permission notice shall be included in
  	 * all copies or substantial portions of the Software.
  	 *
  	 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  	 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  	 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  	 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  	 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  	 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  	 * SOFTWARE.
  	 *)
*/
//# sourceMappingURL=/build/_shared/chunk-TCLIWQBB.js.map
