@everymatrix/player-elevate-points-history 1.86.3 → 1.86.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/cjs/bonus-pagination-limits_6.cjs.entry.js +168 -148
  2. package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.js +2 -2
  3. package/dist/collection/renders/renderTopBar.js +1 -1
  4. package/dist/collection/utils/translation.js +58 -58
  5. package/dist/esm/bonus-pagination-limits_6.entry.js +168 -148
  6. package/dist/player-elevate-points-history/bonus-pagination-limits_6.entry.js +4 -4
  7. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +2 -0
  8. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +2 -0
  9. package/dist/types/renders/renderTopBar.d.ts +1 -1
  10. package/dist/types/utils/translation.d.ts +57 -57
  11. package/package.json +1 -1
  12. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +0 -2
  13. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +0 -2
  14. /package/dist/types/{Users/maria.bumbar/Desktop/Widgets & Template → builds/emfe-widgets}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  15. /package/dist/types/{Users/maria.bumbar/Desktop/Widgets & Template → builds/emfe-widgets}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/storybook/main.d.ts +0 -0
  16. /package/dist/types/{Users/maria.bumbar/Desktop/Widgets & Template → builds/emfe-widgets}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/storybook/preview.d.ts +0 -0
  17. /package/dist/types/{Users/maria.bumbar/Desktop/Widgets & Template → builds/emfe-widgets}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/index.d.ts +0 -0
  18. /package/dist/types/{Users/maria.bumbar/Desktop/Widgets & Template → builds/emfe-widgets}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
  19. /package/dist/types/{Users/maria.bumbar/Desktop/Widgets & Template → builds/emfe-widgets}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  20. /package/dist/types/{Users/maria.bumbar/Desktop/Widgets & Template → builds/emfe-widgets}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  21. /package/dist/types/{Users/maria.bumbar/Desktop/Widgets & Template → builds/emfe-widgets}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -7,11 +7,14 @@ const locale_utils = require('./locale.utils-457021be.js');
7
7
  const playerElevateCardItems = require('./player-elevate-card-items-51776c27.js');
8
8
 
9
9
  const DEFAULT_LANGUAGE$1 = 'en';
10
- const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
10
+ const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr', 'tr'];
11
11
  const TRANSLATIONS$1 = {
12
12
  en: {
13
13
  "pageLimitLabel": 'Show',
14
14
  },
15
+ tr: {
16
+ "pageLimitLabel": 'Göster',
17
+ },
15
18
  hu: {
16
19
  "pageLimitLabel": 'Show',
17
20
  },
@@ -1036,65 +1039,65 @@ const translation = {
1036
1039
  "tournamentTicket": "Tournament Ticket Redeem",
1037
1040
  "physicalItem": "Custom Reward Redeem",
1038
1041
  "role": "Role Assignment Redeem"
1042
+ }
1043
+ },
1044
+ "tr": {
1045
+ "tabTitle": {
1046
+ "spendable": "Coin",
1047
+ "loyalty": "XP",
1048
+ "history": "Mağaza Alımları",
1049
+ "rakeback": "Rakeback"
1039
1050
  },
1040
- "tr": {
1041
- "tabTitle": {
1042
- "spendable": "Coin",
1043
- "loyalty": "XP",
1044
- "history": "Mağaza Alımları",
1045
- "rakeback": "Rakeback"
1046
- },
1047
- "barTitle": {
1048
- "spendable": "Coin Geçmişi",
1049
- "loyalty": "Deneyim Puanı Geçmişi",
1050
- "history": "Mağaza Alımları",
1051
- "rakeback": "Rakeback Geçmişi"
1052
- },
1053
- "bonus": "Bonus",
1054
- "coins": "Coin",
1055
- "noContent": "İçerik Yok",
1056
- "loading": "Yükleniyor",
1057
- "redeem": "Kullan",
1058
- "reload": "Yenile",
1059
- "reloadMsgWhenError": "Ağ Sorunu, lütfen ",
1060
- "rakebackPointType": {
1061
- "wageringByRealMoney": "Rakeback Casino Gerçek Bahis",
1062
- "bonus": "Rakeback Talebi",
1063
- "vendor2User": "Rakeback Talebi",
1064
- "cancelledWageringByRealMoney": "İptal Edilen Rakeback Casino Gerçek Bahis"
1065
- },
1066
- "pointType": {
1067
- "registration": "Kayıt",
1068
- "cancelledRegistration": "İptal Edilen Kayıt",
1069
- "expiredRegistration": "Süresi Dolan Kayıt",
1070
- "manual": "Manuel",
1071
- "cancelledManual": "İptal Edilen Manuel",
1072
- "expiredManual": "Süresi Dolan Manuel",
1073
- "wageringByRealMoney": "Gerçek Para Bahsi",
1074
- "wageringByBonusMoney": "Bonus Para Bahsi",
1075
- "cancelledWageringByRealMoney": "İptal Edilen Gerçek Para Bahsi",
1076
- "cancelledWageringByBonusMoney": "İptal Edilen Bonus Para Bahsi",
1077
- "expiredWageringByRealMoney": "Süresi Dolan Gerçek Para Bahsi",
1078
- "expiredWageringByBonusMoney": "Süresi Dolan Bonus Para Bahsi",
1079
- "levelExpired": "Seviye Süresi Doldu",
1080
- "bonus": "Bonus Kullanımı",
1081
- "manualByTournament": "Turnuvadan Ödül",
1082
- "manualByPrizeEngine": "PrizeEngine'den Ödül",
1083
- "manualByMission": "Görevden Ödül",
1084
- "manualByChallenge": "Meydan Okumadan Ödül",
1085
- "cancelledManualByTournament": "İptal Edilen Turnuva Ödülü",
1086
- "cancelledManualByMission": "İptal Edilen Görev Ödülü",
1087
- "cancelledManualByChallenge": "İptal Edilen Meydan Okuma Ödülü",
1088
- "expiredManualByTournament": "Süresi Dolan Turnuva Ödülü",
1089
- "expiredManualByMission": "Süresi Dolan Görev Ödülü",
1090
- "expiredManualByChallenge": "Süresi Dolan Meydan Okuma Ödülü",
1091
- "cancelledManualByPrizeEngine": "İptal Edilen PrizeEngine Ödülü",
1092
- "expiredManualByPrizeEngine": "Süresi Dolan PrizeEngine Ödülü",
1093
- "prizeEngine": "PrizeEngine Kullanımı",
1094
- "tournamentTicket": "Turnuva Bileti Kullanımı",
1095
- "physicalItem": "Özel Ödül Kullanımı",
1096
- "role": "Rol Ataması Kullanımı"
1097
- }
1051
+ "barTitle": {
1052
+ "spendable": "Coin Geçmişi",
1053
+ "loyalty": "Deneyim Puanı Geçmişi",
1054
+ "history": "Mağaza Alımları",
1055
+ "rakeback": "Rakeback Geçmişi"
1056
+ },
1057
+ "bonus": "Bonus",
1058
+ "coins": "Coin",
1059
+ "noContent": "İçerik Yok",
1060
+ "loading": "Yükleniyor",
1061
+ "redeem": "Kullan",
1062
+ "reload": "Yenile",
1063
+ "reloadMsgWhenError": "Ağ Sorunu, lütfen ",
1064
+ "rakebackPointType": {
1065
+ "wageringByRealMoney": "Rakeback Casino Gerçek Bahis",
1066
+ "bonus": "Rakeback Talebi",
1067
+ "vendor2User": "Rakeback Talebi",
1068
+ "cancelledWageringByRealMoney": "İptal Edilen Rakeback Casino Gerçek Bahis"
1069
+ },
1070
+ "pointType": {
1071
+ "registration": "Kayıt",
1072
+ "cancelledRegistration": "İptal Edilen Kayıt",
1073
+ "expiredRegistration": "Süresi Dolan Kayıt",
1074
+ "manual": "Manuel",
1075
+ "cancelledManual": "İptal Edilen Manuel",
1076
+ "expiredManual": "Süresi Dolan Manuel",
1077
+ "wageringByRealMoney": "Gerçek Para Bahsi",
1078
+ "wageringByBonusMoney": "Bonus Para Bahsi",
1079
+ "cancelledWageringByRealMoney": "İptal Edilen Gerçek Para Bahsi",
1080
+ "cancelledWageringByBonusMoney": "İptal Edilen Bonus Para Bahsi",
1081
+ "expiredWageringByRealMoney": "Süresi Dolan Gerçek Para Bahsi",
1082
+ "expiredWageringByBonusMoney": "Süresi Dolan Bonus Para Bahsi",
1083
+ "levelExpired": "Seviye Süresi Doldu",
1084
+ "bonus": "Bonus Kullanımı",
1085
+ "manualByTournament": "Turnuvadan Ödül",
1086
+ "manualByPrizeEngine": "PrizeEngine'den Ödül",
1087
+ "manualByMission": "Görevden Ödül",
1088
+ "manualByChallenge": "Meydan Okumadan Ödül",
1089
+ "cancelledManualByTournament": "İptal Edilen Turnuva Ödülü",
1090
+ "cancelledManualByMission": "İptal Edilen Görev Ödülü",
1091
+ "cancelledManualByChallenge": "İptal Edilen Meydan Okuma Ödülü",
1092
+ "expiredManualByTournament": "Süresi Dolan Turnuva Ödülü",
1093
+ "expiredManualByMission": "Süresi Dolan Görev Ödülü",
1094
+ "expiredManualByChallenge": "Süresi Dolan Meydan Okuma Ödülü",
1095
+ "cancelledManualByPrizeEngine": "İptal Edilen PrizeEngine Ödülü",
1096
+ "expiredManualByPrizeEngine": "Süresi Dolan PrizeEngine Ödülü",
1097
+ "prizeEngine": "PrizeEngine Kullanımı",
1098
+ "tournamentTicket": "Turnuva Bileti Kullanımı",
1099
+ "physicalItem": "Özel Ödül Kullanımı",
1100
+ "role": "Rol Ataması Kullanımı"
1098
1101
  }
1099
1102
  }
1100
1103
  };
@@ -1219,13 +1222,13 @@ const menuSvg = `<svg width="30" height="8" viewBox="0 0 30 8" fill="none" xmlns
1219
1222
  </svg>
1220
1223
  `;
1221
1224
 
1222
- const renderTopBar = (locale, type, pageSetting) => index.h("div", { class: "TopBarContainer" },
1225
+ const renderTopBar = (locale, type, pageSetting, language = 'en') => index.h("div", { class: "TopBarContainer" },
1223
1226
  index.h("div", { class: "BackImageContainer" },
1224
1227
  index.h("span", { class: "BackImage", innerHTML: backSvg })),
1225
1228
  index.h("div", { class: "TitleContainer" },
1226
1229
  index.h("div", { class: "Title", title: locale.barTitle[type] }, locale.barTitle[type]),
1227
1230
  index.h("div", { class: 'Limits' },
1228
- index.h("bonus-pagination-limits", { pageLimitOptions: pageSetting.pageLimitOptions, limit: pageSetting.limit }))),
1231
+ index.h("bonus-pagination-limits", { pageLimitOptions: pageSetting.pageLimitOptions, limit: pageSetting.limit, language: language }))),
1229
1232
  index.h("div", null,
1230
1233
  index.h("span", { class: "MenuImage", innerHTML: menuSvg })));
1231
1234
 
@@ -1238,10 +1241,10 @@ var decimal = {exports: {}};
1238
1241
 
1239
1242
 
1240
1243
  /*!
1241
- * decimal.js v10.4.3
1244
+ * decimal.js v10.6.0
1242
1245
  * An arbitrary-precision Decimal type for JavaScript.
1243
1246
  * https://github.com/MikeMcl/decimal.js
1244
- * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
1247
+ * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
1245
1248
  * MIT Licence
1246
1249
  */
1247
1250
 
@@ -1453,8 +1456,8 @@ var decimal = {exports: {}};
1453
1456
  * Return a new Decimal whose value is the value of this Decimal clamped to the range
1454
1457
  * delineated by `min` and `max`.
1455
1458
  *
1456
- * min {number|string|Decimal}
1457
- * max {number|string|Decimal}
1459
+ * min {number|string|bigint|Decimal}
1460
+ * max {number|string|bigint|Decimal}
1458
1461
  *
1459
1462
  */
1460
1463
  P.clampedTo = P.clamp = function (min, max) {
@@ -1958,8 +1961,7 @@ var decimal = {exports: {}};
1958
1961
  *
1959
1962
  */
1960
1963
  P.inverseCosine = P.acos = function () {
1961
- var halfPi,
1962
- x = this,
1964
+ var x = this,
1963
1965
  Ctor = x.constructor,
1964
1966
  k = x.abs().cmp(1),
1965
1967
  pr = Ctor.precision,
@@ -1980,13 +1982,13 @@ var decimal = {exports: {}};
1980
1982
  Ctor.precision = pr + 6;
1981
1983
  Ctor.rounding = 1;
1982
1984
 
1983
- x = x.asin();
1984
- halfPi = getPi(Ctor, pr + 4, rm).times(0.5);
1985
+ // See https://github.com/MikeMcl/decimal.js/pull/217
1986
+ x = new Ctor(1).minus(x).div(x.plus(1)).sqrt().atan();
1985
1987
 
1986
1988
  Ctor.precision = pr;
1987
1989
  Ctor.rounding = rm;
1988
1990
 
1989
- return halfPi.minus(x);
1991
+ return x.times(2);
1990
1992
  };
1991
1993
 
1992
1994
 
@@ -2360,7 +2362,7 @@ var decimal = {exports: {}};
2360
2362
  * log[b](Infinity) = Infinity
2361
2363
  * log[b](NaN) = NaN
2362
2364
  *
2363
- * [base] {number|string|Decimal} The base of the logarithm.
2365
+ * [base] {number|string|bigint|Decimal} The base of the logarithm.
2364
2366
  *
2365
2367
  */
2366
2368
  P.logarithm = P.log = function (base) {
@@ -2454,11 +2456,11 @@ var decimal = {exports: {}};
2454
2456
  /*
2455
2457
  * Return a new Decimal whose value is the maximum of the arguments and the value of this Decimal.
2456
2458
  *
2457
- * arguments {number|string|Decimal}
2459
+ * arguments {number|string|bigint|Decimal}
2458
2460
  *
2459
2461
  P.max = function () {
2460
2462
  Array.prototype.push.call(arguments, this);
2461
- return maxOrMin(this.constructor, arguments, 'lt');
2463
+ return maxOrMin(this.constructor, arguments, -1);
2462
2464
  };
2463
2465
  */
2464
2466
 
@@ -2466,11 +2468,11 @@ var decimal = {exports: {}};
2466
2468
  /*
2467
2469
  * Return a new Decimal whose value is the minimum of the arguments and the value of this Decimal.
2468
2470
  *
2469
- * arguments {number|string|Decimal}
2471
+ * arguments {number|string|bigint|Decimal}
2470
2472
  *
2471
2473
  P.min = function () {
2472
2474
  Array.prototype.push.call(arguments, this);
2473
- return maxOrMin(this.constructor, arguments, 'gt');
2475
+ return maxOrMin(this.constructor, arguments, 1);
2474
2476
  };
2475
2477
  */
2476
2478
 
@@ -3289,7 +3291,7 @@ var decimal = {exports: {}};
3289
3291
  * denominator. If a maximum denominator is not specified, the denominator will be the lowest
3290
3292
  * value necessary to represent the number exactly.
3291
3293
  *
3292
- * [maxD] {number|string|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
3294
+ * [maxD] {number|string|bigint|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
3293
3295
  *
3294
3296
  */
3295
3297
  P.toFraction = function (maxD) {
@@ -3377,7 +3379,7 @@ var decimal = {exports: {}};
3377
3379
  *
3378
3380
  * The return value is not affected by the value of `precision`.
3379
3381
  *
3380
- * y {number|string|Decimal} The magnitude to round to a multiple of.
3382
+ * y {number|string|bigint|Decimal} The magnitude to round to a multiple of.
3381
3383
  * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
3382
3384
  *
3383
3385
  * 'toNearest() rounding mode not an integer: {rm}'
@@ -3497,7 +3499,7 @@ var decimal = {exports: {}};
3497
3499
  *
3498
3500
  * If a result is incorrectly rounded the maximum error will be 1 ulp (unit in last place).
3499
3501
  *
3500
- * y {number|string|Decimal} The power to which to raise this Decimal.
3502
+ * y {number|string|bigint|Decimal} The power to which to raise this Decimal.
3501
3503
  *
3502
3504
  */
3503
3505
  P.toPower = P.pow = function (y) {
@@ -4481,19 +4483,25 @@ var decimal = {exports: {}};
4481
4483
 
4482
4484
 
4483
4485
  /*
4484
- * Handle `max` and `min`. `ltgt` is 'lt' or 'gt'.
4486
+ * Handle `max` (`n` is -1) and `min` (`n` is 1).
4485
4487
  */
4486
- function maxOrMin(Ctor, args, ltgt) {
4487
- var y,
4488
+ function maxOrMin(Ctor, args, n) {
4489
+ var k, y,
4488
4490
  x = new Ctor(args[0]),
4489
4491
  i = 0;
4490
4492
 
4491
4493
  for (; ++i < args.length;) {
4492
4494
  y = new Ctor(args[i]);
4495
+
4496
+ // NaN?
4493
4497
  if (!y.s) {
4494
4498
  x = y;
4495
4499
  break;
4496
- } else if (x[ltgt](y)) {
4500
+ }
4501
+
4502
+ k = x.cmp(y);
4503
+
4504
+ if (k === n || k === 0 && x.s === n) {
4497
4505
  x = y;
4498
4506
  }
4499
4507
  }
@@ -4752,6 +4760,8 @@ var decimal = {exports: {}};
4752
4760
  function parseDecimal(x, str) {
4753
4761
  var e, i, len;
4754
4762
 
4763
+ // TODO BigInt str: no need to check for decimal point, exponential form or leading zeros.
4764
+
4755
4765
  // Decimal point?
4756
4766
  if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
4757
4767
 
@@ -5217,7 +5227,7 @@ var decimal = {exports: {}};
5217
5227
  /*
5218
5228
  * Return a new Decimal whose value is the absolute value of `x`.
5219
5229
  *
5220
- * x {number|string|Decimal}
5230
+ * x {number|string|bigint|Decimal}
5221
5231
  *
5222
5232
  */
5223
5233
  function abs(x) {
@@ -5228,7 +5238,7 @@ var decimal = {exports: {}};
5228
5238
  /*
5229
5239
  * Return a new Decimal whose value is the arccosine in radians of `x`.
5230
5240
  *
5231
- * x {number|string|Decimal}
5241
+ * x {number|string|bigint|Decimal}
5232
5242
  *
5233
5243
  */
5234
5244
  function acos(x) {
@@ -5240,7 +5250,7 @@ var decimal = {exports: {}};
5240
5250
  * Return a new Decimal whose value is the inverse of the hyperbolic cosine of `x`, rounded to
5241
5251
  * `precision` significant digits using rounding mode `rounding`.
5242
5252
  *
5243
- * x {number|string|Decimal} A value in radians.
5253
+ * x {number|string|bigint|Decimal} A value in radians.
5244
5254
  *
5245
5255
  */
5246
5256
  function acosh(x) {
@@ -5252,8 +5262,8 @@ var decimal = {exports: {}};
5252
5262
  * Return a new Decimal whose value is the sum of `x` and `y`, rounded to `precision` significant
5253
5263
  * digits using rounding mode `rounding`.
5254
5264
  *
5255
- * x {number|string|Decimal}
5256
- * y {number|string|Decimal}
5265
+ * x {number|string|bigint|Decimal}
5266
+ * y {number|string|bigint|Decimal}
5257
5267
  *
5258
5268
  */
5259
5269
  function add(x, y) {
@@ -5265,7 +5275,7 @@ var decimal = {exports: {}};
5265
5275
  * Return a new Decimal whose value is the arcsine in radians of `x`, rounded to `precision`
5266
5276
  * significant digits using rounding mode `rounding`.
5267
5277
  *
5268
- * x {number|string|Decimal}
5278
+ * x {number|string|bigint|Decimal}
5269
5279
  *
5270
5280
  */
5271
5281
  function asin(x) {
@@ -5277,7 +5287,7 @@ var decimal = {exports: {}};
5277
5287
  * Return a new Decimal whose value is the inverse of the hyperbolic sine of `x`, rounded to
5278
5288
  * `precision` significant digits using rounding mode `rounding`.
5279
5289
  *
5280
- * x {number|string|Decimal} A value in radians.
5290
+ * x {number|string|bigint|Decimal} A value in radians.
5281
5291
  *
5282
5292
  */
5283
5293
  function asinh(x) {
@@ -5289,7 +5299,7 @@ var decimal = {exports: {}};
5289
5299
  * Return a new Decimal whose value is the arctangent in radians of `x`, rounded to `precision`
5290
5300
  * significant digits using rounding mode `rounding`.
5291
5301
  *
5292
- * x {number|string|Decimal}
5302
+ * x {number|string|bigint|Decimal}
5293
5303
  *
5294
5304
  */
5295
5305
  function atan(x) {
@@ -5301,7 +5311,7 @@ var decimal = {exports: {}};
5301
5311
  * Return a new Decimal whose value is the inverse of the hyperbolic tangent of `x`, rounded to
5302
5312
  * `precision` significant digits using rounding mode `rounding`.
5303
5313
  *
5304
- * x {number|string|Decimal} A value in radians.
5314
+ * x {number|string|bigint|Decimal} A value in radians.
5305
5315
  *
5306
5316
  */
5307
5317
  function atanh(x) {
@@ -5316,8 +5326,8 @@ var decimal = {exports: {}};
5316
5326
  * Domain: [-Infinity, Infinity]
5317
5327
  * Range: [-pi, pi]
5318
5328
  *
5319
- * y {number|string|Decimal} The y-coordinate.
5320
- * x {number|string|Decimal} The x-coordinate.
5329
+ * y {number|string|bigint|Decimal} The y-coordinate.
5330
+ * x {number|string|bigint|Decimal} The x-coordinate.
5321
5331
  *
5322
5332
  * atan2(±0, -0) = ±pi
5323
5333
  * atan2(±0, +0) = ±0
@@ -5382,7 +5392,7 @@ var decimal = {exports: {}};
5382
5392
  * Return a new Decimal whose value is the cube root of `x`, rounded to `precision` significant
5383
5393
  * digits using rounding mode `rounding`.
5384
5394
  *
5385
- * x {number|string|Decimal}
5395
+ * x {number|string|bigint|Decimal}
5386
5396
  *
5387
5397
  */
5388
5398
  function cbrt(x) {
@@ -5393,7 +5403,7 @@ var decimal = {exports: {}};
5393
5403
  /*
5394
5404
  * Return a new Decimal whose value is `x` rounded to an integer using `ROUND_CEIL`.
5395
5405
  *
5396
- * x {number|string|Decimal}
5406
+ * x {number|string|bigint|Decimal}
5397
5407
  *
5398
5408
  */
5399
5409
  function ceil(x) {
@@ -5404,9 +5414,9 @@ var decimal = {exports: {}};
5404
5414
  /*
5405
5415
  * Return a new Decimal whose value is `x` clamped to the range delineated by `min` and `max`.
5406
5416
  *
5407
- * x {number|string|Decimal}
5408
- * min {number|string|Decimal}
5409
- * max {number|string|Decimal}
5417
+ * x {number|string|bigint|Decimal}
5418
+ * min {number|string|bigint|Decimal}
5419
+ * max {number|string|bigint|Decimal}
5410
5420
  *
5411
5421
  */
5412
5422
  function clamp(x, min, max) {
@@ -5480,7 +5490,7 @@ var decimal = {exports: {}};
5480
5490
  * Return a new Decimal whose value is the cosine of `x`, rounded to `precision` significant
5481
5491
  * digits using rounding mode `rounding`.
5482
5492
  *
5483
- * x {number|string|Decimal} A value in radians.
5493
+ * x {number|string|bigint|Decimal} A value in radians.
5484
5494
  *
5485
5495
  */
5486
5496
  function cos(x) {
@@ -5492,7 +5502,7 @@ var decimal = {exports: {}};
5492
5502
  * Return a new Decimal whose value is the hyperbolic cosine of `x`, rounded to precision
5493
5503
  * significant digits using rounding mode `rounding`.
5494
5504
  *
5495
- * x {number|string|Decimal} A value in radians.
5505
+ * x {number|string|bigint|Decimal} A value in radians.
5496
5506
  *
5497
5507
  */
5498
5508
  function cosh(x) {
@@ -5512,7 +5522,7 @@ var decimal = {exports: {}};
5512
5522
  * The Decimal constructor and exported function.
5513
5523
  * Return a new Decimal instance.
5514
5524
  *
5515
- * v {number|string|Decimal} A numeric value.
5525
+ * v {number|string|bigint|Decimal} A numeric value.
5516
5526
  *
5517
5527
  */
5518
5528
  function Decimal(v) {
@@ -5526,7 +5536,6 @@ var decimal = {exports: {}};
5526
5536
  // which points to Object.
5527
5537
  x.constructor = Decimal;
5528
5538
 
5529
- // Duplicate.
5530
5539
  if (isDecimalInstance(v)) {
5531
5540
  x.s = v.s;
5532
5541
 
@@ -5591,9 +5600,10 @@ var decimal = {exports: {}};
5591
5600
  }
5592
5601
 
5593
5602
  return;
5603
+ }
5594
5604
 
5595
- // Infinity, NaN.
5596
- } else if (v * 0 !== 0) {
5605
+ // Infinity or NaN?
5606
+ if (v * 0 !== 0) {
5597
5607
  if (!v) x.s = NaN;
5598
5608
  x.e = NaN;
5599
5609
  x.d = null;
@@ -5601,22 +5611,32 @@ var decimal = {exports: {}};
5601
5611
  }
5602
5612
 
5603
5613
  return parseDecimal(x, v.toString());
5614
+ }
5615
+
5616
+ if (t === 'string') {
5617
+ if ((i = v.charCodeAt(0)) === 45) { // minus sign
5618
+ v = v.slice(1);
5619
+ x.s = -1;
5620
+ } else {
5621
+ if (i === 43) v = v.slice(1); // plus sign
5622
+ x.s = 1;
5623
+ }
5604
5624
 
5605
- } else if (t !== 'string') {
5606
- throw Error(invalidArgument + v);
5625
+ return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v);
5607
5626
  }
5608
5627
 
5609
- // Minus sign?
5610
- if ((i = v.charCodeAt(0)) === 45) {
5611
- v = v.slice(1);
5612
- x.s = -1;
5613
- } else {
5614
- // Plus sign?
5615
- if (i === 43) v = v.slice(1);
5616
- x.s = 1;
5628
+ if (t === 'bigint') {
5629
+ if (v < 0) {
5630
+ v = -v;
5631
+ x.s = -1;
5632
+ } else {
5633
+ x.s = 1;
5634
+ }
5635
+
5636
+ return parseDecimal(x, v.toString());
5617
5637
  }
5618
5638
 
5619
- return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v);
5639
+ throw Error(invalidArgument + v);
5620
5640
  }
5621
5641
 
5622
5642
  Decimal.prototype = P;
@@ -5693,8 +5713,8 @@ var decimal = {exports: {}};
5693
5713
  * Return a new Decimal whose value is `x` divided by `y`, rounded to `precision` significant
5694
5714
  * digits using rounding mode `rounding`.
5695
5715
  *
5696
- * x {number|string|Decimal}
5697
- * y {number|string|Decimal}
5716
+ * x {number|string|bigint|Decimal}
5717
+ * y {number|string|bigint|Decimal}
5698
5718
  *
5699
5719
  */
5700
5720
  function div(x, y) {
@@ -5706,7 +5726,7 @@ var decimal = {exports: {}};
5706
5726
  * Return a new Decimal whose value is the natural exponential of `x`, rounded to `precision`
5707
5727
  * significant digits using rounding mode `rounding`.
5708
5728
  *
5709
- * x {number|string|Decimal} The power to which to raise the base of the natural log.
5729
+ * x {number|string|bigint|Decimal} The power to which to raise the base of the natural log.
5710
5730
  *
5711
5731
  */
5712
5732
  function exp(x) {
@@ -5717,7 +5737,7 @@ var decimal = {exports: {}};
5717
5737
  /*
5718
5738
  * Return a new Decimal whose value is `x` round to an integer using `ROUND_FLOOR`.
5719
5739
  *
5720
- * x {number|string|Decimal}
5740
+ * x {number|string|bigint|Decimal}
5721
5741
  *
5722
5742
  */
5723
5743
  function floor(x) {
@@ -5731,7 +5751,7 @@ var decimal = {exports: {}};
5731
5751
  *
5732
5752
  * hypot(a, b, ...) = sqrt(a^2 + b^2 + ...)
5733
5753
  *
5734
- * arguments {number|string|Decimal}
5754
+ * arguments {number|string|bigint|Decimal}
5735
5755
  *
5736
5756
  */
5737
5757
  function hypot() {
@@ -5773,7 +5793,7 @@ var decimal = {exports: {}};
5773
5793
  * Return a new Decimal whose value is the natural logarithm of `x`, rounded to `precision`
5774
5794
  * significant digits using rounding mode `rounding`.
5775
5795
  *
5776
- * x {number|string|Decimal}
5796
+ * x {number|string|bigint|Decimal}
5777
5797
  *
5778
5798
  */
5779
5799
  function ln(x) {
@@ -5787,8 +5807,8 @@ var decimal = {exports: {}};
5787
5807
  *
5788
5808
  * log[y](x)
5789
5809
  *
5790
- * x {number|string|Decimal} The argument of the logarithm.
5791
- * y {number|string|Decimal} The base of the logarithm.
5810
+ * x {number|string|bigint|Decimal} The argument of the logarithm.
5811
+ * y {number|string|bigint|Decimal} The base of the logarithm.
5792
5812
  *
5793
5813
  */
5794
5814
  function log(x, y) {
@@ -5800,7 +5820,7 @@ var decimal = {exports: {}};
5800
5820
  * Return a new Decimal whose value is the base 2 logarithm of `x`, rounded to `precision`
5801
5821
  * significant digits using rounding mode `rounding`.
5802
5822
  *
5803
- * x {number|string|Decimal}
5823
+ * x {number|string|bigint|Decimal}
5804
5824
  *
5805
5825
  */
5806
5826
  function log2(x) {
@@ -5812,7 +5832,7 @@ var decimal = {exports: {}};
5812
5832
  * Return a new Decimal whose value is the base 10 logarithm of `x`, rounded to `precision`
5813
5833
  * significant digits using rounding mode `rounding`.
5814
5834
  *
5815
- * x {number|string|Decimal}
5835
+ * x {number|string|bigint|Decimal}
5816
5836
  *
5817
5837
  */
5818
5838
  function log10(x) {
@@ -5823,22 +5843,22 @@ var decimal = {exports: {}};
5823
5843
  /*
5824
5844
  * Return a new Decimal whose value is the maximum of the arguments.
5825
5845
  *
5826
- * arguments {number|string|Decimal}
5846
+ * arguments {number|string|bigint|Decimal}
5827
5847
  *
5828
5848
  */
5829
5849
  function max() {
5830
- return maxOrMin(this, arguments, 'lt');
5850
+ return maxOrMin(this, arguments, -1);
5831
5851
  }
5832
5852
 
5833
5853
 
5834
5854
  /*
5835
5855
  * Return a new Decimal whose value is the minimum of the arguments.
5836
5856
  *
5837
- * arguments {number|string|Decimal}
5857
+ * arguments {number|string|bigint|Decimal}
5838
5858
  *
5839
5859
  */
5840
5860
  function min() {
5841
- return maxOrMin(this, arguments, 'gt');
5861
+ return maxOrMin(this, arguments, 1);
5842
5862
  }
5843
5863
 
5844
5864
 
@@ -5846,8 +5866,8 @@ var decimal = {exports: {}};
5846
5866
  * Return a new Decimal whose value is `x` modulo `y`, rounded to `precision` significant digits
5847
5867
  * using rounding mode `rounding`.
5848
5868
  *
5849
- * x {number|string|Decimal}
5850
- * y {number|string|Decimal}
5869
+ * x {number|string|bigint|Decimal}
5870
+ * y {number|string|bigint|Decimal}
5851
5871
  *
5852
5872
  */
5853
5873
  function mod(x, y) {
@@ -5859,8 +5879,8 @@ var decimal = {exports: {}};
5859
5879
  * Return a new Decimal whose value is `x` multiplied by `y`, rounded to `precision` significant
5860
5880
  * digits using rounding mode `rounding`.
5861
5881
  *
5862
- * x {number|string|Decimal}
5863
- * y {number|string|Decimal}
5882
+ * x {number|string|bigint|Decimal}
5883
+ * y {number|string|bigint|Decimal}
5864
5884
  *
5865
5885
  */
5866
5886
  function mul(x, y) {
@@ -5872,8 +5892,8 @@ var decimal = {exports: {}};
5872
5892
  * Return a new Decimal whose value is `x` raised to the power `y`, rounded to precision
5873
5893
  * significant digits using rounding mode `rounding`.
5874
5894
  *
5875
- * x {number|string|Decimal} The base.
5876
- * y {number|string|Decimal} The exponent.
5895
+ * x {number|string|bigint|Decimal} The base.
5896
+ * y {number|string|bigint|Decimal} The exponent.
5877
5897
  *
5878
5898
  */
5879
5899
  function pow(x, y) {
@@ -5991,7 +6011,7 @@ var decimal = {exports: {}};
5991
6011
  *
5992
6012
  * To emulate `Math.round`, set rounding to 7 (ROUND_HALF_CEIL).
5993
6013
  *
5994
- * x {number|string|Decimal}
6014
+ * x {number|string|bigint|Decimal}
5995
6015
  *
5996
6016
  */
5997
6017
  function round(x) {
@@ -6007,7 +6027,7 @@ var decimal = {exports: {}};
6007
6027
  * -0 if x is -0,
6008
6028
  * NaN otherwise
6009
6029
  *
6010
- * x {number|string|Decimal}
6030
+ * x {number|string|bigint|Decimal}
6011
6031
  *
6012
6032
  */
6013
6033
  function sign(x) {
@@ -6020,7 +6040,7 @@ var decimal = {exports: {}};
6020
6040
  * Return a new Decimal whose value is the sine of `x`, rounded to `precision` significant digits
6021
6041
  * using rounding mode `rounding`.
6022
6042
  *
6023
- * x {number|string|Decimal} A value in radians.
6043
+ * x {number|string|bigint|Decimal} A value in radians.
6024
6044
  *
6025
6045
  */
6026
6046
  function sin(x) {
@@ -6032,7 +6052,7 @@ var decimal = {exports: {}};
6032
6052
  * Return a new Decimal whose value is the hyperbolic sine of `x`, rounded to `precision`
6033
6053
  * significant digits using rounding mode `rounding`.
6034
6054
  *
6035
- * x {number|string|Decimal} A value in radians.
6055
+ * x {number|string|bigint|Decimal} A value in radians.
6036
6056
  *
6037
6057
  */
6038
6058
  function sinh(x) {
@@ -6044,7 +6064,7 @@ var decimal = {exports: {}};
6044
6064
  * Return a new Decimal whose value is the square root of `x`, rounded to `precision` significant
6045
6065
  * digits using rounding mode `rounding`.
6046
6066
  *
6047
- * x {number|string|Decimal}
6067
+ * x {number|string|bigint|Decimal}
6048
6068
  *
6049
6069
  */
6050
6070
  function sqrt(x) {
@@ -6056,8 +6076,8 @@ var decimal = {exports: {}};
6056
6076
  * Return a new Decimal whose value is `x` minus `y`, rounded to `precision` significant digits
6057
6077
  * using rounding mode `rounding`.
6058
6078
  *
6059
- * x {number|string|Decimal}
6060
- * y {number|string|Decimal}
6079
+ * x {number|string|bigint|Decimal}
6080
+ * y {number|string|bigint|Decimal}
6061
6081
  *
6062
6082
  */
6063
6083
  function sub(x, y) {
@@ -6071,7 +6091,7 @@ var decimal = {exports: {}};
6071
6091
  *
6072
6092
  * Only the result is rounded, not the intermediate calculations.
6073
6093
  *
6074
- * arguments {number|string|Decimal}
6094
+ * arguments {number|string|bigint|Decimal}
6075
6095
  *
6076
6096
  */
6077
6097
  function sum() {
@@ -6091,7 +6111,7 @@ var decimal = {exports: {}};
6091
6111
  * Return a new Decimal whose value is the tangent of `x`, rounded to `precision` significant
6092
6112
  * digits using rounding mode `rounding`.
6093
6113
  *
6094
- * x {number|string|Decimal} A value in radians.
6114
+ * x {number|string|bigint|Decimal} A value in radians.
6095
6115
  *
6096
6116
  */
6097
6117
  function tan(x) {
@@ -6103,7 +6123,7 @@ var decimal = {exports: {}};
6103
6123
  * Return a new Decimal whose value is the hyperbolic tangent of `x`, rounded to `precision`
6104
6124
  * significant digits using rounding mode `rounding`.
6105
6125
  *
6106
- * x {number|string|Decimal} A value in radians.
6126
+ * x {number|string|bigint|Decimal} A value in radians.
6107
6127
  *
6108
6128
  */
6109
6129
  function tanh(x) {
@@ -6114,7 +6134,7 @@ var decimal = {exports: {}};
6114
6134
  /*
6115
6135
  * Return a new Decimal whose value is `x` truncated to an integer.
6116
6136
  *
6117
- * x {number|string|Decimal}
6137
+ * x {number|string|bigint|Decimal}
6118
6138
  *
6119
6139
  */
6120
6140
  function trunc(x) {
@@ -6228,8 +6248,8 @@ const PlayerElevatePointsHistory = class {
6228
6248
  return (index.h("main", { key: '88ee16781c8b84ba0cf4c008409c8b0460a65c5d' }, index.h("general-styling-wrapper", { key: 'a4a86b442087c1a9e8ff27a21adde4a63c2b1773', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl,
6229
6249
  // @ts-ignore
6230
6250
  targetTranslations: translation, translationUrl: this.translationUrl, mbSource: this.mbSource }), index.h("player-elevate-pointcard", { key: 'bed65d6923747be4beb1d1520e4eca4c124eb3e9', playerAvatarUrl: this.playerAvatarUrl, endpoint: this.endpoint, session: this.session, language: this.language, clientStylingUrl: this.clientStylingUrl, clientStyling: this.clientStyling, translationUrl: this.translationUrl }), index.h("div", { key: 'f5d93a35b480712866fd4af9d0923f65d07b7bb8', class: "PlayerElevatePointsDetaisContainer" }, [
6231
- renderTopBar(this.locale, this.type, pageSetting),
6232
- index.h("div", { key: '47a458ce70b8d97bef8476521aa4dffbd724f70f', class: "Tabs Row" }, (this.validWallets || []).map(key => (index.h("div", { class: "tab" }, index.h("div", { class: `TabText ${key === this.type ? 'active' : ''}`, onClick: this.switchTab.bind(this, key) }, this.locale.tabTitle[key]), index.h("div", { class: `TabBorderBottom ${key === this.type ? 'active' : ''}` }))))),
6251
+ renderTopBar(this.locale, this.type, pageSetting, this.language),
6252
+ index.h("div", { key: '5642ba092d69c539eeceb1360408b6a44d870e3f', class: "Tabs Row" }, (this.validWallets || []).map(key => (index.h("div", { class: "tab" }, index.h("div", { class: `TabText ${key === this.type ? 'active' : ''}`, onClick: this.switchTab.bind(this, key) }, this.locale.tabTitle[key]), index.h("div", { class: `TabBorderBottom ${key === this.type ? 'active' : ''}` }))))),
6233
6253
  ((_a = this.pointsWallets[this.type]) === null || _a === void 0 ? void 0 : _a.isLoadFailed)
6234
6254
  ? index.h("div", { class: "ReloadMsg" }, this.locale['reloadMsgWhenError'], index.h("a", { class: "Reload", onClick: this.updateWallets }, this.locale['reload']))
6235
6255
  : this.loadWallets(renderWallets.bind(this, this.locale, ((_b = this.pointsWallets[this.type]) === null || _b === void 0 ? void 0 : _b.wallets) || [], pageSetting))