@sisense/sdk-ui-vue 2.3.0 → 2.4.0

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 (38) hide show
  1. package/dist/ai.cjs +23 -22
  2. package/dist/ai.js +642 -543
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.js +935 -805
  5. package/dist/packages/sdk-ui-vue/src/components/charts/chart.d.ts +2 -2
  6. package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard-by-id.d.ts +2 -6
  7. package/dist/packages/sdk-ui-vue/src/components/dashboard/dashboard.d.ts +2 -6
  8. package/dist/packages/sdk-ui-vue/src/components/dashboard/index.d.ts +2 -2
  9. package/dist/packages/sdk-ui-vue/src/components/filters/filters-panel.d.ts +106 -0
  10. package/dist/packages/sdk-ui-vue/src/components/filters/index.d.ts +1 -0
  11. package/dist/packages/sdk-ui-vue/src/components/widgets/chart-widget.d.ts +2 -2
  12. package/dist/packages/sdk-ui-vue/src/components/widgets/index.d.ts +1 -1
  13. package/dist/packages/sdk-ui-vue/src/components/widgets/widget-by-id.d.ts +2 -2
  14. package/dist/packages/sdk-ui-vue/src/components/widgets/widget.d.ts +13 -13
  15. package/dist/packages/sdk-ui-vue/src/composables/index.d.ts +4 -1
  16. package/dist/packages/sdk-ui-vue/src/composables/use-custom-widgets.d.ts +46 -0
  17. package/dist/packages/sdk-ui-vue/src/composables/use-execute-custom-widget-query.d.ts +45 -0
  18. package/dist/packages/sdk-ui-vue/src/composables/use-get-filter-members.d.ts +46 -0
  19. package/dist/packages/sdk-ui-vue/src/helpers/context-connectors/custom-widgets-context-connector.d.ts +8 -0
  20. package/dist/packages/sdk-ui-vue/src/helpers/context-connectors/index.d.ts +1 -1
  21. package/dist/packages/sdk-ui-vue/src/helpers/dynamic-renderer.d.ts +16 -0
  22. package/dist/packages/sdk-ui-vue/src/helpers/setup-helper.d.ts +1 -1
  23. package/dist/packages/sdk-ui-vue/src/lib.d.ts +1 -1
  24. package/dist/packages/sdk-ui-vue/src/providers/custom-widgets-provider/custom-widgets-context.d.ts +12 -0
  25. package/dist/packages/sdk-ui-vue/src/providers/{plugins-provider/plugins-provider.d.ts → custom-widgets-provider/custom-widgets-provider.d.ts} +3 -3
  26. package/dist/packages/sdk-ui-vue/src/providers/custom-widgets-provider/index.d.ts +2 -0
  27. package/dist/packages/sdk-ui-vue/src/providers/index.d.ts +1 -1
  28. package/dist/packages/sdk-ui-vue/src/sdk-ui-core-exports.d.ts +1 -1
  29. package/dist/packages/sdk-ui-vue/src/types/index.d.ts +0 -1
  30. package/dist/use-tracking-522444fb.cjs +1073 -0
  31. package/dist/{use-tracking-594f296b.js → use-tracking-d5f179d9.js} +38192 -38020
  32. package/package.json +2 -2
  33. package/dist/packages/sdk-ui-vue/src/composables/use-plugins.d.ts +0 -4
  34. package/dist/packages/sdk-ui-vue/src/helpers/context-connectors/plugins-context-connector.d.ts +0 -8
  35. package/dist/packages/sdk-ui-vue/src/providers/plugins-provider/index.d.ts +0 -2
  36. package/dist/packages/sdk-ui-vue/src/providers/plugins-provider/plugins-context.d.ts +0 -10
  37. package/dist/packages/sdk-ui-vue/src/types/dashboard-config.d.ts +0 -24
  38. package/dist/use-tracking-58ebfa35.cjs +0 -1073
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent as y, watch as M, toRefs as L, ref as B, onBeforeUnmount as Rt, computed as Be, openBlock as cn, createElementBlock as fn, renderSlot as Le, createVNode as nt, unref as E, createElementVNode as dn } from "vue";
2
- import { s as $t, H as pn, a as S, k as gn, C as hn, x as mn, _ as yn, w as bn, S as Sn, T as On, P as vn, b as xn, E as Cn, A as wn, D as Dn, M as jn, c as Pn, N as An, L as Fn, I as Ln, O as En, d as Nn, e as Tn, f as Rn, g as $n, y as Mn, r as U, i as De, h as In, j as We, l as Mt, m as _n, n as kn, o as Bn, p as It, q as _t, t as rt, u as kt, v as Se, z as Bt, B as Un, F as q, G as V, J as _, K as I, Q as C, R as Ut, U as qn, V as ze, W as Vn, Z as qt, X as Kn, Y as Vt, $ as Kt, a0 as Hn, a1 as X, a2 as Wn, a3 as zn, a4 as Gn, a5 as Jn, a6 as Qn, a7 as Yn, a8 as Zn, a9 as Xn, aa as er, ab as tr, ac as st, ad as nr, ae as rr, af as it, ag as sr, ah as ir, ai as ar, aj as or, ak as ur, al as lr, am as cr, an as fr, ao as dr, ap as pr, aq as gr, ar as ee, as as K } from "./use-tracking-594f296b.js";
3
- import { av as su, at as iu, au, aw as ou } from "./use-tracking-594f296b.js";
4
- const hr = y({
1
+ import { defineComponent as y, watch as T, toRefs as A, ref as B, onBeforeUnmount as De, createApp as dn, computed as We, openBlock as fn, createElementBlock as pn, renderSlot as Re, createVNode as at, unref as E, createElementVNode as gn } from "vue";
2
+ import { s as _t, W as hn, a as S, N as mn, L as yn, A as bn, O as Sn, E as On, I as vn, P as xn, q as Cn, c as wn, j as Dn, z as jn, R as Pn, F as An, x as Fn, b as Ln, B as En, H as Nn, Y as Tn, S as Rn, d as Mn, M as $n, T as In, e as _n, f as kn, r as U, i as je, g as Bn, k as Qe, h as kt, l as Un, m as qn, o as Vn, n as Bt, p as Ut, t as ot, u as qt, v as Se, w as Vt, y as Wn, C as q, D as V, G as M, J as R, K as O, Q as Wt, Z as Kn, U as Ye, V as Hn, X as Pe, _ as Gn, $ as Ae, a0 as Fe, a1 as zn, a2 as Jn, a3 as Qn, a4 as X, a5 as Yn, a6 as Zn, a7 as Xn, a8 as er, a9 as tr, aa as nr, ab as rr, ac as sr, ad as ir, ae as ar, af as or, ag as ut, ah as ur, ai as lr, aj as lt, ak as cr, al as dr, am as fr, an as pr, ao as gr, ap as hr, aq as mr, ar as yr, as as br, at as Sr, au as Or, av as ee, aw as W } from "./use-tracking-d5f179d9.js";
3
+ import { az as gu, ax as hu, ay as mu, aA as yu, aB as bu } from "./use-tracking-d5f179d9.js";
4
+ const vr = y({
5
5
  props: {
6
6
  /**
7
7
  * {@inheritDoc @sisense/sdk-ui!DrilldownBreadcrumbsProps.clearDrilldownSelections}
@@ -40,8 +40,8 @@ const hr = y({
40
40
  required: !0
41
41
  }
42
42
  },
43
- setup: (e, { slots: t }) => $t(pn, e, t, [])
44
- }), fo = y({
43
+ setup: (e, { slots: t }) => _t(hn, e, t, [])
44
+ }), So = y({
45
45
  props: {
46
46
  /**
47
47
  * {@inheritDoc @sisense/sdk-ui!AreaChartProps.dataOptions}
@@ -107,8 +107,8 @@ const hr = y({
107
107
  */
108
108
  onDataPointsSelected: Function
109
109
  },
110
- setup: (e) => S(gn, e)
111
- }), po = y({
110
+ setup: (e) => S(mn, e)
111
+ }), Oo = y({
112
112
  props: {
113
113
  /**
114
114
  * {@inheritDoc @sisense/sdk-ui!BarChartProps.dataOptions}
@@ -174,8 +174,8 @@ const hr = y({
174
174
  */
175
175
  styleOptions: Object
176
176
  },
177
- setup: (e) => S(hn, e)
178
- }), go = y({
177
+ setup: (e) => S(yn, e)
178
+ }), vo = y({
179
179
  props: {
180
180
  /**
181
181
  * {@inheritDoc @sisense/sdk-ui!ColumnChartProps.dataOptions}
@@ -241,8 +241,8 @@ const hr = y({
241
241
  */
242
242
  styleOptions: Object
243
243
  },
244
- setup: (e) => S(mn, e)
245
- }), ho = y({
244
+ setup: (e) => S(bn, e)
245
+ }), xo = y({
246
246
  props: {
247
247
  /**
248
248
  * {@inheritDoc @sisense/sdk-ui!FunnelChartProps.dataOptions}
@@ -308,8 +308,8 @@ const hr = y({
308
308
  */
309
309
  styleOptions: Object
310
310
  },
311
- setup: (e) => S(yn, e)
312
- }), mo = y({
311
+ setup: (e) => S(Sn, e)
312
+ }), Co = y({
313
313
  props: {
314
314
  /**
315
315
  * {@inheritDoc @sisense/sdk-ui!LineChartProps.dataOptions}
@@ -375,8 +375,8 @@ const hr = y({
375
375
  */
376
376
  styleOptions: Object
377
377
  },
378
- setup: (e) => S(bn, e)
379
- }), yo = y({
378
+ setup: (e) => S(On, e)
379
+ }), wo = y({
380
380
  props: {
381
381
  /**
382
382
  * {@inheritDoc @sisense/sdk-ui!PieChartProps.dataOptions}
@@ -442,8 +442,8 @@ const hr = y({
442
442
  */
443
443
  styleOptions: Object
444
444
  },
445
- setup: (e) => S(Sn, e)
446
- }), bo = y({
445
+ setup: (e) => S(vn, e)
446
+ }), Do = y({
447
447
  props: {
448
448
  /**
449
449
  * {@inheritDoc @sisense/sdk-ui!ScatterChartProps.dataOptions}
@@ -509,8 +509,8 @@ const hr = y({
509
509
  */
510
510
  styleOptions: Object
511
511
  },
512
- setup: (e) => S(On, e)
513
- }), So = y({
512
+ setup: (e) => S(xn, e)
513
+ }), jo = y({
514
514
  props: {
515
515
  /**
516
516
  * {@inheritDoc @sisense/sdk-ui!TableProps.dataOptions}
@@ -548,8 +548,8 @@ const hr = y({
548
548
  */
549
549
  onDataReady: Function
550
550
  },
551
- setup: (e) => S(vn, e)
552
- }), Oo = y({
551
+ setup: (e) => S(Cn, e)
552
+ }), Po = y({
553
553
  props: {
554
554
  /**
555
555
  * {@inheritDoc @sisense/sdk-ui!PivotTableProps.dataOptions}
@@ -587,8 +587,8 @@ const hr = y({
587
587
  */
588
588
  styleOptions: Object
589
589
  },
590
- setup: (e) => S(xn, e)
591
- }), vo = y({
590
+ setup: (e) => S(wn, e)
591
+ }), Ao = y({
592
592
  props: {
593
593
  /**
594
594
  * {@inheritDoc @sisense/sdk-ui!TreemapChartProps.dataOptions}
@@ -654,8 +654,8 @@ const hr = y({
654
654
  */
655
655
  styleOptions: Object
656
656
  },
657
- setup: (e) => S(Cn, e)
658
- }), xo = y({
657
+ setup: (e) => S(Dn, e)
658
+ }), Fo = y({
659
659
  props: {
660
660
  /**
661
661
  * {@inheritDoc @sisense/sdk-ui!SunburstChartProps.dataOptions}
@@ -721,8 +721,8 @@ const hr = y({
721
721
  */
722
722
  styleOptions: Object
723
723
  },
724
- setup: (e) => S(wn, e)
725
- }), Co = y({
724
+ setup: (e) => S(jn, e)
725
+ }), Lo = y({
726
726
  props: {
727
727
  /**
728
728
  * {@inheritDoc @sisense/sdk-ui!PolarChartProps.dataOptions}
@@ -788,8 +788,8 @@ const hr = y({
788
788
  */
789
789
  styleOptions: Object
790
790
  },
791
- setup: (e) => S(Dn, e)
792
- }), wo = y({
791
+ setup: (e) => S(Pn, e)
792
+ }), Eo = y({
793
793
  props: {
794
794
  /**
795
795
  * {@inheritDoc @sisense/sdk-ui!IndicatorChartProps.dataOptions}
@@ -837,8 +837,8 @@ const hr = y({
837
837
  */
838
838
  onDataReady: Function
839
839
  },
840
- setup: (e) => S(jn, e)
841
- }), Do = y({
840
+ setup: (e) => S(An, e)
841
+ }), No = y({
842
842
  props: {
843
843
  /**
844
844
  * {@inheritDoc @sisense/sdk-ui!ChartProps.chartType}
@@ -917,8 +917,8 @@ const hr = y({
917
917
  */
918
918
  refreshCounter: Number
919
919
  },
920
- setup: (e) => S(Pn, e)
921
- }), jo = y({
920
+ setup: (e) => S(Fn, e)
921
+ }), To = y({
922
922
  props: {
923
923
  /**
924
924
  * {@inheritDoc @sisense/sdk-ui!BoxplotChartProps.dataOptions}
@@ -984,8 +984,8 @@ const hr = y({
984
984
  */
985
985
  onDataPointsSelected: Function
986
986
  },
987
- setup: (e) => S(An, e)
988
- }), Po = y({
987
+ setup: (e) => S(Ln, e)
988
+ }), Ro = y({
989
989
  props: {
990
990
  /**
991
991
  * {@inheritDoc @sisense/sdk-ui!AreamapChartProps.dataOptions}
@@ -1033,8 +1033,8 @@ const hr = y({
1033
1033
  */
1034
1034
  onDataPointClick: Function
1035
1035
  },
1036
- setup: (e) => S(Fn, e)
1037
- }), Ao = y({
1036
+ setup: (e) => S(En, e)
1037
+ }), Mo = y({
1038
1038
  props: {
1039
1039
  /**
1040
1040
  * {@inheritDoc @sisense/sdk-ui!ScattermapChartProps.dataOptions}
@@ -1082,8 +1082,8 @@ const hr = y({
1082
1082
  */
1083
1083
  onDataPointClick: Object
1084
1084
  },
1085
- setup: (e) => S(Ln, e)
1086
- }), Fo = y({
1085
+ setup: (e) => S(Nn, e)
1086
+ }), $o = y({
1087
1087
  props: {
1088
1088
  /**
1089
1089
  * {@inheritDoc @sisense/sdk-ui!AreaRangeChartProps.dataOptions}
@@ -1149,8 +1149,8 @@ const hr = y({
1149
1149
  */
1150
1150
  styleOptions: Object
1151
1151
  },
1152
- setup: (e) => S(En, e)
1153
- }), Lo = y({
1152
+ setup: (e) => S(Tn, e)
1153
+ }), Io = y({
1154
1154
  props: {
1155
1155
  /**
1156
1156
  * {@inheritDoc @sisense/sdk-ui!DateRangeFilterTileProps.attribute}
@@ -1210,8 +1210,8 @@ const hr = y({
1210
1210
  */
1211
1211
  onEdit: Function
1212
1212
  },
1213
- setup: (e) => S(Nn, e)
1214
- }), Eo = y({
1213
+ setup: (e) => S(Rn, e)
1214
+ }), _o = y({
1215
1215
  props: {
1216
1216
  /**
1217
1217
  * {@inheritDoc @sisense/sdk-ui!MemberFilterTileProps.attribute}
@@ -1258,8 +1258,8 @@ const hr = y({
1258
1258
  */
1259
1259
  onEdit: Function
1260
1260
  },
1261
- setup: (e) => S(Tn, e)
1262
- }), No = y({
1261
+ setup: (e) => S(Mn, e)
1262
+ }), ko = y({
1263
1263
  props: {
1264
1264
  /**
1265
1265
  * {@inheritDoc @sisense/sdk-ui!CriteriaFilterTileProps.arrangement}
@@ -1299,8 +1299,8 @@ const hr = y({
1299
1299
  */
1300
1300
  onEdit: Function
1301
1301
  },
1302
- setup: (e) => S(Rn, e)
1303
- }), To = y({
1302
+ setup: (e) => S($n, e)
1303
+ }), Bo = y({
1304
1304
  props: {
1305
1305
  /**
1306
1306
  * {@inheritDoc @sisense/sdk-ui!RelativeDateFilterTileProps.title}
@@ -1345,8 +1345,8 @@ const hr = y({
1345
1345
  */
1346
1346
  onEdit: Function
1347
1347
  },
1348
- setup: (e) => S($n, e)
1349
- }), Ro = y({
1348
+ setup: (e) => S(In, e)
1349
+ }), Uo = y({
1350
1350
  props: {
1351
1351
  /**
1352
1352
  * {@inheritDoc @sisense/sdk-ui!FilterTileProps.filter}
@@ -1375,8 +1375,40 @@ const hr = y({
1375
1375
  */
1376
1376
  onEdit: Function
1377
1377
  },
1378
- setup: (e) => S(Mn, e)
1379
- }), mr = {
1378
+ setup: (e) => S(_n, e)
1379
+ }), qo = y({
1380
+ props: {
1381
+ /**
1382
+ * {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.filters}
1383
+ */
1384
+ filters: {
1385
+ type: [Array, Object],
1386
+ required: !0
1387
+ },
1388
+ /**
1389
+ * {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.defaultDataSource}
1390
+ */
1391
+ defaultDataSource: [String, Object],
1392
+ /**
1393
+ * {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.dataSources}
1394
+ *
1395
+ * @internal
1396
+ */
1397
+ dataSources: Array,
1398
+ /**
1399
+ * {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.config}
1400
+ */
1401
+ config: Object,
1402
+ /**
1403
+ * {@inheritDoc @sisense/sdk-ui!FiltersPanelProps.onFiltersChange}
1404
+ */
1405
+ onFiltersChange: {
1406
+ type: Function,
1407
+ required: !0
1408
+ }
1409
+ },
1410
+ setup: (e) => S(kn, e)
1411
+ }), xr = {
1380
1412
  type: "logger",
1381
1413
  log(e) {
1382
1414
  this.output("log", e);
@@ -1398,7 +1430,7 @@ class Oe {
1398
1430
  }
1399
1431
  init(t) {
1400
1432
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1401
- this.prefix = n.prefix || "i18next:", this.logger = t || mr, this.options = n, this.debug = n.debug;
1433
+ this.prefix = n.prefix || "i18next:", this.logger = t || xr, this.options = n, this.debug = n.debug;
1402
1434
  }
1403
1435
  log() {
1404
1436
  for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
@@ -1433,8 +1465,8 @@ class Oe {
1433
1465
  return t = t || this.options, t.prefix = t.prefix || this.prefix, new Oe(this.logger, t);
1434
1466
  }
1435
1467
  }
1436
- var $ = new Oe();
1437
- class je {
1468
+ var _ = new Oe();
1469
+ class Le {
1438
1470
  constructor() {
1439
1471
  this.observers = {};
1440
1472
  }
@@ -1469,15 +1501,15 @@ function ae() {
1469
1501
  });
1470
1502
  return n.resolve = e, n.reject = t, n;
1471
1503
  }
1472
- function at(e) {
1504
+ function ct(e) {
1473
1505
  return e == null ? "" : "" + e;
1474
1506
  }
1475
- function yr(e, t, n) {
1507
+ function Cr(e, t, n) {
1476
1508
  e.forEach((r) => {
1477
1509
  t[r] && (n[r] = t[r]);
1478
1510
  });
1479
1511
  }
1480
- function Ge(e, t, n) {
1512
+ function Ze(e, t, n) {
1481
1513
  function r(a) {
1482
1514
  return a && a.indexOf("###") > -1 ? a.replace(/###/g, ".") : a;
1483
1515
  }
@@ -1496,41 +1528,41 @@ function Ge(e, t, n) {
1496
1528
  k: r(i.shift())
1497
1529
  };
1498
1530
  }
1499
- function ot(e, t, n) {
1531
+ function dt(e, t, n) {
1500
1532
  const {
1501
1533
  obj: r,
1502
1534
  k: s
1503
- } = Ge(e, t, Object);
1535
+ } = Ze(e, t, Object);
1504
1536
  r[s] = n;
1505
1537
  }
1506
- function br(e, t, n, r) {
1538
+ function wr(e, t, n, r) {
1507
1539
  const {
1508
1540
  obj: s,
1509
1541
  k: i
1510
- } = Ge(e, t, Object);
1542
+ } = Ze(e, t, Object);
1511
1543
  s[i] = s[i] || [], r && (s[i] = s[i].concat(n)), r || s[i].push(n);
1512
1544
  }
1513
1545
  function ve(e, t) {
1514
1546
  const {
1515
1547
  obj: n,
1516
1548
  k: r
1517
- } = Ge(e, t);
1549
+ } = Ze(e, t);
1518
1550
  if (n)
1519
1551
  return n[r];
1520
1552
  }
1521
- function Sr(e, t, n) {
1553
+ function Dr(e, t, n) {
1522
1554
  const r = ve(e, n);
1523
1555
  return r !== void 0 ? r : ve(t, n);
1524
1556
  }
1525
- function Ht(e, t, n) {
1557
+ function Kt(e, t, n) {
1526
1558
  for (const r in t)
1527
- r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Ht(e[r], t[r], n) : e[r] = t[r]);
1559
+ r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Kt(e[r], t[r], n) : e[r] = t[r]);
1528
1560
  return e;
1529
1561
  }
1530
1562
  function Y(e) {
1531
1563
  return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
1532
1564
  }
1533
- var Or = {
1565
+ var jr = {
1534
1566
  "&": "&amp;",
1535
1567
  "<": "&lt;",
1536
1568
  ">": "&gt;",
@@ -1538,13 +1570,13 @@ var Or = {
1538
1570
  "'": "&#39;",
1539
1571
  "/": "&#x2F;"
1540
1572
  };
1541
- function vr(e) {
1542
- return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) => Or[t]) : e;
1573
+ function Pr(e) {
1574
+ return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) => jr[t]) : e;
1543
1575
  }
1544
- const xr = [" ", ",", "?", "!", ";"];
1545
- function Cr(e, t, n) {
1576
+ const Ar = [" ", ",", "?", "!", ";"];
1577
+ function Fr(e, t, n) {
1546
1578
  t = t || "", n = n || "";
1547
- const r = xr.filter((a) => t.indexOf(a) < 0 && n.indexOf(a) < 0);
1579
+ const r = Ar.filter((a) => t.indexOf(a) < 0 && n.indexOf(a) < 0);
1548
1580
  if (r.length === 0)
1549
1581
  return !0;
1550
1582
  const s = new RegExp(`(${r.map((a) => a === "?" ? "\\?" : a).join("|")})`);
@@ -1590,7 +1622,7 @@ function xe(e, t) {
1590
1622
  function Ce(e) {
1591
1623
  return e && e.indexOf("_") > 0 ? e.replace("_", "-") : e;
1592
1624
  }
1593
- class ut extends je {
1625
+ class ft extends Le {
1594
1626
  constructor(t) {
1595
1627
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
1596
1628
  ns: ["translation"],
@@ -1619,7 +1651,7 @@ class ut extends je {
1619
1651
  };
1620
1652
  const a = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator;
1621
1653
  let o = [t, n];
1622
- r && (o = o.concat(a ? r.split(a) : r)), t.indexOf(".") > -1 && (o = t.split("."), s = n, n = o[1]), this.addNamespaces(n), ot(this.data, o, s), i.silent || this.emit("added", t, n, r, s);
1654
+ r && (o = o.concat(a ? r.split(a) : r)), t.indexOf(".") > -1 && (o = t.split("."), s = n, n = o[1]), this.addNamespaces(n), dt(this.data, o, s), i.silent || this.emit("added", t, n, r, s);
1623
1655
  }
1624
1656
  addResources(t, n, r) {
1625
1657
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -1637,10 +1669,10 @@ class ut extends je {
1637
1669
  }, o = [t, n];
1638
1670
  t.indexOf(".") > -1 && (o = t.split("."), s = r, r = n, n = o[1]), this.addNamespaces(n);
1639
1671
  let u = ve(this.data, o) || {};
1640
- s ? Ht(u, r, i) : u = {
1672
+ s ? Kt(u, r, i) : u = {
1641
1673
  ...u,
1642
1674
  ...r
1643
- }, ot(this.data, o, u), a.silent || this.emit("added", t, n, r);
1675
+ }, dt(this.data, o, u), a.silent || this.emit("added", t, n, r);
1644
1676
  }
1645
1677
  removeResourceBundle(t, n) {
1646
1678
  this.hasResourceBundle(t, n) && delete this.data[t][n], this.removeNamespaces(n), this.emit("removed", t, n);
@@ -1664,7 +1696,7 @@ class ut extends je {
1664
1696
  return this.data;
1665
1697
  }
1666
1698
  }
1667
- var Wt = {
1699
+ var Ht = {
1668
1700
  processors: {},
1669
1701
  addPostProcessor(e) {
1670
1702
  this.processors[e.name] = e;
@@ -1675,11 +1707,11 @@ var Wt = {
1675
1707
  }), t;
1676
1708
  }
1677
1709
  };
1678
- const lt = {};
1679
- class we extends je {
1710
+ const pt = {};
1711
+ class we extends Le {
1680
1712
  constructor(t) {
1681
1713
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1682
- super(), yr(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
1714
+ super(), Cr(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = _.create("translator");
1683
1715
  }
1684
1716
  changeLanguage(t) {
1685
1717
  t && (this.language = t);
@@ -1698,7 +1730,7 @@ class we extends je {
1698
1730
  r === void 0 && (r = ":");
1699
1731
  const s = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
1700
1732
  let i = n.ns || this.options.defaultNS || [];
1701
- const a = r && t.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !Cr(t, r, s);
1733
+ const a = r && t.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !Fr(t, r, s);
1702
1734
  if (a && !o) {
1703
1735
  const u = t.match(this.interpolator.nestingRegexp);
1704
1736
  if (u && u.length > 0)
@@ -1723,17 +1755,17 @@ class we extends je {
1723
1755
  const s = n.returnDetails !== void 0 ? n.returnDetails : this.options.returnDetails, i = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, {
1724
1756
  key: a,
1725
1757
  namespaces: o
1726
- } = this.extractFromKey(t[t.length - 1], n), u = o[o.length - 1], c = n.lng || this.language, f = n.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
1758
+ } = this.extractFromKey(t[t.length - 1], n), u = o[o.length - 1], c = n.lng || this.language, d = n.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
1727
1759
  if (c && c.toLowerCase() === "cimode") {
1728
- if (f) {
1729
- const x = n.nsSeparator || this.options.nsSeparator;
1760
+ if (d) {
1761
+ const C = n.nsSeparator || this.options.nsSeparator;
1730
1762
  return s ? {
1731
- res: `${u}${x}${a}`,
1763
+ res: `${u}${C}${a}`,
1732
1764
  usedKey: a,
1733
1765
  exactUsedKey: a,
1734
1766
  usedLng: c,
1735
1767
  usedNS: u
1736
- } : `${u}${x}${a}`;
1768
+ } : `${u}${C}${a}`;
1737
1769
  }
1738
1770
  return s ? {
1739
1771
  res: a,
@@ -1743,68 +1775,68 @@ class we extends je {
1743
1775
  usedNS: u
1744
1776
  } : a;
1745
1777
  }
1746
- const d = this.resolve(t, n);
1747
- let l = d && d.res;
1748
- const g = d && d.usedKey || a, p = d && d.exactUsedKey || a, m = Object.prototype.toString.apply(l), h = ["[object Number]", "[object Function]", "[object RegExp]"], v = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, w = !this.i18nFormat || this.i18nFormat.handleAsObject;
1749
- if (w && l && (typeof l != "string" && typeof l != "boolean" && typeof l != "number") && h.indexOf(m) < 0 && !(typeof v == "string" && m === "[object Array]")) {
1778
+ const f = this.resolve(t, n);
1779
+ let l = f && f.res;
1780
+ const g = f && f.usedKey || a, p = f && f.exactUsedKey || a, m = Object.prototype.toString.apply(l), h = ["[object Number]", "[object Function]", "[object RegExp]"], x = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, w = !this.i18nFormat || this.i18nFormat.handleAsObject;
1781
+ if (w && l && (typeof l != "string" && typeof l != "boolean" && typeof l != "number") && h.indexOf(m) < 0 && !(typeof x == "string" && m === "[object Array]")) {
1750
1782
  if (!n.returnObjects && !this.options.returnObjects) {
1751
1783
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
1752
- const x = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(g, l, {
1784
+ const C = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(g, l, {
1753
1785
  ...n,
1754
1786
  ns: o
1755
1787
  }) : `key '${a} (${this.language})' returned an object instead of string.`;
1756
- return s ? (d.res = x, d) : x;
1788
+ return s ? (f.res = C, f) : C;
1757
1789
  }
1758
1790
  if (i) {
1759
- const x = m === "[object Array]", A = x ? [] : {}, T = x ? p : g;
1791
+ const C = m === "[object Array]", F = C ? [] : {}, $ = C ? p : g;
1760
1792
  for (const P in l)
1761
1793
  if (Object.prototype.hasOwnProperty.call(l, P)) {
1762
- const ce = `${T}${i}${P}`;
1763
- A[P] = this.translate(ce, {
1794
+ const ce = `${$}${i}${P}`;
1795
+ F[P] = this.translate(ce, {
1764
1796
  ...n,
1765
1797
  joinArrays: !1,
1766
1798
  ns: o
1767
- }), A[P] === ce && (A[P] = l[P]);
1799
+ }), F[P] === ce && (F[P] = l[P]);
1768
1800
  }
1769
- l = A;
1801
+ l = F;
1770
1802
  }
1771
- } else if (w && typeof v == "string" && m === "[object Array]")
1772
- l = l.join(v), l && (l = this.extendTranslation(l, t, n, r));
1803
+ } else if (w && typeof x == "string" && m === "[object Array]")
1804
+ l = l.join(x), l && (l = this.extendTranslation(l, t, n, r));
1773
1805
  else {
1774
- let x = !1, A = !1;
1775
- const T = n.count !== void 0 && typeof n.count != "string", P = we.hasDefaultValue(n), ce = T ? this.pluralResolver.getSuffix(c, n.count, n) : "", un = n.ordinal && T ? this.pluralResolver.getSuffix(c, n.count, {
1806
+ let C = !1, F = !1;
1807
+ const $ = n.count !== void 0 && typeof n.count != "string", P = we.hasDefaultValue(n), ce = $ ? this.pluralResolver.getSuffix(c, n.count, n) : "", ln = n.ordinal && $ ? this.pluralResolver.getSuffix(c, n.count, {
1776
1808
  ordinal: !1
1777
- }) : "", re = n[`defaultValue${ce}`] || n[`defaultValue${un}`] || n.defaultValue;
1778
- !this.isValidLookup(l) && P && (x = !0, l = re), this.isValidLookup(l) || (A = !0, l = a);
1779
- const ln = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && A ? void 0 : l, se = P && re !== l && this.options.updateMissing;
1780
- if (A || x || se) {
1809
+ }) : "", re = n[`defaultValue${ce}`] || n[`defaultValue${ln}`] || n.defaultValue;
1810
+ !this.isValidLookup(l) && P && (C = !0, l = re), this.isValidLookup(l) || (F = !0, l = a);
1811
+ const cn = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && F ? void 0 : l, se = P && re !== l && this.options.updateMissing;
1812
+ if (F || C || se) {
1781
1813
  if (this.logger.log(se ? "updateKey" : "missingKey", c, u, a, se ? re : l), i) {
1782
- const F = this.resolve(a, {
1814
+ const L = this.resolve(a, {
1783
1815
  ...n,
1784
1816
  keySeparator: !1
1785
1817
  });
1786
- F && F.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
1818
+ L && L.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
1787
1819
  }
1788
1820
  let ie = [];
1789
- const fe = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
1790
- if (this.options.saveMissingTo === "fallback" && fe && fe[0])
1791
- for (let F = 0; F < fe.length; F++)
1792
- ie.push(fe[F]);
1821
+ const de = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
1822
+ if (this.options.saveMissingTo === "fallback" && de && de[0])
1823
+ for (let L = 0; L < de.length; L++)
1824
+ ie.push(de[L]);
1793
1825
  else
1794
1826
  this.options.saveMissingTo === "all" ? ie = this.languageUtils.toResolveHierarchy(n.lng || this.language) : ie.push(n.lng || this.language);
1795
- const Xe = (F, Q, et) => {
1796
- const tt = P && et !== l ? et : ln;
1797
- this.options.missingKeyHandler ? this.options.missingKeyHandler(F, u, Q, tt, se, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(F, u, Q, tt, se, n), this.emit("missingKey", F, u, Q, l);
1827
+ const rt = (L, Q, st) => {
1828
+ const it = P && st !== l ? st : cn;
1829
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(L, u, Q, it, se, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(L, u, Q, it, se, n), this.emit("missingKey", L, u, Q, l);
1798
1830
  };
1799
- this.options.saveMissing && (this.options.saveMissingPlurals && T ? ie.forEach((F) => {
1800
- this.pluralResolver.getSuffixes(F, n).forEach((Q) => {
1801
- Xe([F], a + Q, n[`defaultValue${Q}`] || re);
1831
+ this.options.saveMissing && (this.options.saveMissingPlurals && $ ? ie.forEach((L) => {
1832
+ this.pluralResolver.getSuffixes(L, n).forEach((Q) => {
1833
+ rt([L], a + Q, n[`defaultValue${Q}`] || re);
1802
1834
  });
1803
- }) : Xe(ie, a, re));
1835
+ }) : rt(ie, a, re));
1804
1836
  }
1805
- l = this.extendTranslation(l, t, n, d, r), A && l === a && this.options.appendNamespaceToMissingKey && (l = `${u}:${a}`), (A || x) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? l = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}:${a}` : a, x ? l : void 0) : l = this.options.parseMissingKeyHandler(l));
1837
+ l = this.extendTranslation(l, t, n, f, r), F && l === a && this.options.appendNamespaceToMissingKey && (l = `${u}:${a}`), (F || C) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? l = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}:${a}` : a, C ? l : void 0) : l = this.options.parseMissingKeyHandler(l));
1806
1838
  }
1807
- return s ? (d.res = l, d) : l;
1839
+ return s ? (f.res = l, f) : l;
1808
1840
  }
1809
1841
  extendTranslation(t, n, r, s, i) {
1810
1842
  var a = this;
@@ -1824,18 +1856,18 @@ class we extends je {
1824
1856
  }
1825
1857
  });
1826
1858
  const c = typeof t == "string" && (r && r.interpolation && r.interpolation.skipOnVariables !== void 0 ? r.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
1827
- let f;
1859
+ let d;
1828
1860
  if (c) {
1829
1861
  const l = t.match(this.interpolator.nestingRegexp);
1830
- f = l && l.length;
1862
+ d = l && l.length;
1831
1863
  }
1832
- let d = r.replace && typeof r.replace != "string" ? r.replace : r;
1833
- if (this.options.interpolation.defaultVariables && (d = {
1864
+ let f = r.replace && typeof r.replace != "string" ? r.replace : r;
1865
+ if (this.options.interpolation.defaultVariables && (f = {
1834
1866
  ...this.options.interpolation.defaultVariables,
1835
- ...d
1836
- }), t = this.interpolator.interpolate(t, d, r.lng || this.language, r), c) {
1867
+ ...f
1868
+ }), t = this.interpolator.interpolate(t, f, r.lng || this.language, r), c) {
1837
1869
  const l = t.match(this.interpolator.nestingRegexp), g = l && l.length;
1838
- f < g && (r.nest = !1);
1870
+ d < g && (r.nest = !1);
1839
1871
  }
1840
1872
  !r.lng && this.options.compatibilityAPI !== "v1" && s && s.res && (r.lng = s.usedLng), r.nest !== !1 && (t = this.interpolator.nest(t, function() {
1841
1873
  for (var l = arguments.length, g = new Array(l), p = 0; p < l; p++)
@@ -1844,7 +1876,7 @@ class we extends je {
1844
1876
  }, r)), r.interpolation && this.interpolator.reset();
1845
1877
  }
1846
1878
  const o = r.postProcess || this.options.postProcess, u = typeof o == "string" ? [o] : o;
1847
- return t != null && u && u.length && r.applyPostProcessor !== !1 && (t = Wt.handle(u, t, n, this.options && this.options.postProcessPassResolved ? {
1879
+ return t != null && u && u.length && r.applyPostProcessor !== !1 && (t = Ht.handle(u, t, n, this.options && this.options.postProcessPassResolved ? {
1848
1880
  i18nResolved: s,
1849
1881
  ...r
1850
1882
  } : r, this)), t;
@@ -1854,31 +1886,31 @@ class we extends je {
1854
1886
  return typeof t == "string" && (t = [t]), t.forEach((u) => {
1855
1887
  if (this.isValidLookup(r))
1856
1888
  return;
1857
- const c = this.extractFromKey(u, n), f = c.key;
1858
- s = f;
1859
- let d = c.namespaces;
1860
- this.options.fallbackNS && (d = d.concat(this.options.fallbackNS));
1889
+ const c = this.extractFromKey(u, n), d = c.key;
1890
+ s = d;
1891
+ let f = c.namespaces;
1892
+ this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
1861
1893
  const l = n.count !== void 0 && typeof n.count != "string", g = l && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", m = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
1862
- d.forEach((h) => {
1863
- this.isValidLookup(r) || (o = h, !lt[`${m[0]}-${h}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (lt[`${m[0]}-${h}`] = !0, this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((v) => {
1894
+ f.forEach((h) => {
1895
+ this.isValidLookup(r) || (o = h, !pt[`${m[0]}-${h}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (pt[`${m[0]}-${h}`] = !0, this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((x) => {
1864
1896
  if (this.isValidLookup(r))
1865
1897
  return;
1866
- a = v;
1867
- const w = [f];
1898
+ a = x;
1899
+ const w = [d];
1868
1900
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
1869
- this.i18nFormat.addLookupKeys(w, f, v, h, n);
1901
+ this.i18nFormat.addLookupKeys(w, d, x, h, n);
1870
1902
  else {
1871
- let x;
1872
- l && (x = this.pluralResolver.getSuffix(v, n.count, n));
1873
- const A = `${this.options.pluralSeparator}zero`, T = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
1874
- if (l && (w.push(f + x), n.ordinal && x.indexOf(T) === 0 && w.push(f + x.replace(T, this.options.pluralSeparator)), g && w.push(f + A)), p) {
1875
- const P = `${f}${this.options.contextSeparator}${n.context}`;
1876
- w.push(P), l && (w.push(P + x), n.ordinal && x.indexOf(T) === 0 && w.push(P + x.replace(T, this.options.pluralSeparator)), g && w.push(P + A));
1903
+ let C;
1904
+ l && (C = this.pluralResolver.getSuffix(x, n.count, n));
1905
+ const F = `${this.options.pluralSeparator}zero`, $ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
1906
+ if (l && (w.push(d + C), n.ordinal && C.indexOf($) === 0 && w.push(d + C.replace($, this.options.pluralSeparator)), g && w.push(d + F)), p) {
1907
+ const P = `${d}${this.options.contextSeparator}${n.context}`;
1908
+ w.push(P), l && (w.push(P + C), n.ordinal && C.indexOf($) === 0 && w.push(P + C.replace($, this.options.pluralSeparator)), g && w.push(P + F));
1877
1909
  }
1878
1910
  }
1879
1911
  let D;
1880
1912
  for (; D = w.pop(); )
1881
- this.isValidLookup(r) || (i = D, r = this.getResource(v, h, D, n));
1913
+ this.isValidLookup(r) || (i = D, r = this.getResource(x, h, D, n));
1882
1914
  }));
1883
1915
  });
1884
1916
  }), {
@@ -1904,12 +1936,12 @@ class we extends je {
1904
1936
  return !1;
1905
1937
  }
1906
1938
  }
1907
- function Ee(e) {
1939
+ function Me(e) {
1908
1940
  return e.charAt(0).toUpperCase() + e.slice(1);
1909
1941
  }
1910
- class ct {
1942
+ class gt {
1911
1943
  constructor(t) {
1912
- this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
1944
+ this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = _.create("languageUtils");
1913
1945
  }
1914
1946
  getScriptPartFromCode(t) {
1915
1947
  if (t = Ce(t), !t || t.indexOf("-") < 0)
@@ -1927,7 +1959,7 @@ class ct {
1927
1959
  if (typeof t == "string" && t.indexOf("-") > -1) {
1928
1960
  const n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
1929
1961
  let r = t.split("-");
1930
- return this.options.lowerCaseLng ? r = r.map((s) => s.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Ee(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Ee(r[1].toLowerCase())), n.indexOf(r[2].toLowerCase()) > -1 && (r[2] = Ee(r[2].toLowerCase()))), r.join("-");
1962
+ return this.options.lowerCaseLng ? r = r.map((s) => s.toLowerCase()) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Me(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), n.indexOf(r[1].toLowerCase()) > -1 && (r[1] = Me(r[1].toLowerCase())), n.indexOf(r[2].toLowerCase()) > -1 && (r[2] = Me(r[2].toLowerCase()))), r.join("-");
1931
1963
  }
1932
1964
  return this.options.cleanCode || this.options.lowerCaseLng ? t.toLowerCase() : t;
1933
1965
  }
@@ -1976,7 +2008,7 @@ class ct {
1976
2008
  }), s;
1977
2009
  }
1978
2010
  }
1979
- let wr = [{
2011
+ let Lr = [{
1980
2012
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
1981
2013
  nr: [1, 2],
1982
2014
  fc: 1
@@ -2068,7 +2100,7 @@ let wr = [{
2068
2100
  lngs: ["he", "iw"],
2069
2101
  nr: [1, 2, 20, 21],
2070
2102
  fc: 22
2071
- }], Dr = {
2103
+ }], Er = {
2072
2104
  1: function(e) {
2073
2105
  return +(e > 1);
2074
2106
  },
@@ -2136,7 +2168,7 @@ let wr = [{
2136
2168
  return e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3;
2137
2169
  }
2138
2170
  };
2139
- const jr = ["v1", "v2", "v3"], Pr = ["v4"], ft = {
2171
+ const Nr = ["v1", "v2", "v3"], Tr = ["v4"], ht = {
2140
2172
  zero: 0,
2141
2173
  one: 1,
2142
2174
  two: 2,
@@ -2144,21 +2176,21 @@ const jr = ["v1", "v2", "v3"], Pr = ["v4"], ft = {
2144
2176
  many: 4,
2145
2177
  other: 5
2146
2178
  };
2147
- function Ar() {
2179
+ function Rr() {
2148
2180
  const e = {};
2149
- return wr.forEach((t) => {
2181
+ return Lr.forEach((t) => {
2150
2182
  t.lngs.forEach((n) => {
2151
2183
  e[n] = {
2152
2184
  numbers: t.nr,
2153
- plurals: Dr[t.fc]
2185
+ plurals: Er[t.fc]
2154
2186
  };
2155
2187
  });
2156
2188
  }), e;
2157
2189
  }
2158
- class Fr {
2190
+ class Mr {
2159
2191
  constructor(t) {
2160
2192
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2161
- this.languageUtils = t, this.options = n, this.logger = $.create("pluralResolver"), (!this.options.compatibilityJSON || Pr.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Ar();
2193
+ this.languageUtils = t, this.options = n, this.logger = _.create("pluralResolver"), (!this.options.compatibilityJSON || Tr.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Rr();
2162
2194
  }
2163
2195
  addRule(t, n) {
2164
2196
  this.rules[t] = n;
@@ -2187,7 +2219,7 @@ class Fr {
2187
2219
  getSuffixes(t) {
2188
2220
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2189
2221
  const r = this.getRule(t, n);
2190
- return r ? this.shouldUseIntlApi() ? r.resolvedOptions().pluralCategories.sort((s, i) => ft[s] - ft[i]).map((s) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : r.numbers.map((s) => this.getSuffix(t, s, n)) : [];
2222
+ return r ? this.shouldUseIntlApi() ? r.resolvedOptions().pluralCategories.sort((s, i) => ht[s] - ht[i]).map((s) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : r.numbers.map((s) => this.getSuffix(t, s, n)) : [];
2191
2223
  }
2192
2224
  getSuffix(t, n) {
2193
2225
  let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -2202,17 +2234,17 @@ class Fr {
2202
2234
  return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? `_plural_${s.toString()}` : i() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && t.numbers.length === 2 && t.numbers[0] === 1 ? i() : this.options.prepend && r.toString() ? this.options.prepend + r.toString() : r.toString();
2203
2235
  }
2204
2236
  shouldUseIntlApi() {
2205
- return !jr.includes(this.options.compatibilityJSON);
2237
+ return !Nr.includes(this.options.compatibilityJSON);
2206
2238
  }
2207
2239
  }
2208
- function dt(e, t, n) {
2209
- let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i = Sr(e, t, n);
2240
+ function mt(e, t, n) {
2241
+ let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, i = Dr(e, t, n);
2210
2242
  return !i && s && typeof n == "string" && (i = xe(e, n, r), i === void 0 && (i = xe(t, n, r))), i;
2211
2243
  }
2212
- class Lr {
2244
+ class $r {
2213
2245
  constructor() {
2214
2246
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2215
- this.logger = $.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((n) => n), this.init(t);
2247
+ this.logger = _.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((n) => n), this.init(t);
2216
2248
  }
2217
2249
  init() {
2218
2250
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -2220,7 +2252,7 @@ class Lr {
2220
2252
  escapeValue: !0
2221
2253
  });
2222
2254
  const n = t.interpolation;
2223
- this.escape = n.escape !== void 0 ? n.escape : vr, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Y(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Y(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? Y(n.nestingPrefix) : n.nestingPrefixEscaped || Y("$t("), this.nestingSuffix = n.nestingSuffix ? Y(n.nestingSuffix) : n.nestingSuffixEscaped || Y(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
2255
+ this.escape = n.escape !== void 0 ? n.escape : Pr, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Y(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Y(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? Y(n.nestingPrefix) : n.nestingPrefixEscaped || Y("$t("), this.nestingSuffix = n.nestingSuffix ? Y(n.nestingSuffix) : n.nestingSuffixEscaped || Y(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
2224
2256
  }
2225
2257
  reset() {
2226
2258
  this.options && this.init(this.options);
@@ -2239,24 +2271,24 @@ class Lr {
2239
2271
  function c(p) {
2240
2272
  return p.replace(/\$/g, "$$$$");
2241
2273
  }
2242
- const f = (p) => {
2274
+ const d = (p) => {
2243
2275
  if (p.indexOf(this.formatSeparator) < 0) {
2244
- const w = dt(n, u, p, this.options.keySeparator, this.options.ignoreJSONStructure);
2276
+ const w = mt(n, u, p, this.options.keySeparator, this.options.ignoreJSONStructure);
2245
2277
  return this.alwaysFormat ? this.format(w, void 0, r, {
2246
2278
  ...s,
2247
2279
  ...n,
2248
2280
  interpolationkey: p
2249
2281
  }) : w;
2250
2282
  }
2251
- const m = p.split(this.formatSeparator), h = m.shift().trim(), v = m.join(this.formatSeparator).trim();
2252
- return this.format(dt(n, u, h, this.options.keySeparator, this.options.ignoreJSONStructure), v, r, {
2283
+ const m = p.split(this.formatSeparator), h = m.shift().trim(), x = m.join(this.formatSeparator).trim();
2284
+ return this.format(mt(n, u, h, this.options.keySeparator, this.options.ignoreJSONStructure), x, r, {
2253
2285
  ...s,
2254
2286
  ...n,
2255
2287
  interpolationkey: h
2256
2288
  });
2257
2289
  };
2258
2290
  this.resetRegExp();
2259
- const d = s && s.missingInterpolationHandler || this.options.missingInterpolationHandler, l = s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
2291
+ const f = s && s.missingInterpolationHandler || this.options.missingInterpolationHandler, l = s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
2260
2292
  return [{
2261
2293
  regex: this.regexpUnescape,
2262
2294
  safeValue: (p) => c(p)
@@ -2266,10 +2298,10 @@ class Lr {
2266
2298
  }].forEach((p) => {
2267
2299
  for (o = 0; i = p.regex.exec(t); ) {
2268
2300
  const m = i[1].trim();
2269
- if (a = f(m), a === void 0)
2270
- if (typeof d == "function") {
2271
- const v = d(t, i, s);
2272
- a = typeof v == "string" ? v : "";
2301
+ if (a = d(m), a === void 0)
2302
+ if (typeof f == "function") {
2303
+ const x = f(t, i, s);
2304
+ a = typeof x == "string" ? x : "";
2273
2305
  } else if (s && Object.prototype.hasOwnProperty.call(s, m))
2274
2306
  a = "";
2275
2307
  else if (l) {
@@ -2278,7 +2310,7 @@ class Lr {
2278
2310
  } else
2279
2311
  this.logger.warn(`missed to pass in variable ${m} for interpolating ${t}`), a = "";
2280
2312
  else
2281
- typeof a != "string" && !this.useRawValueToEscape && (a = at(a));
2313
+ typeof a != "string" && !this.useRawValueToEscape && (a = ct(a));
2282
2314
  const h = p.safeValue(a);
2283
2315
  if (t = t.replace(i[0], h), l ? (p.regex.lastIndex += a.length, p.regex.lastIndex -= i[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
2284
2316
  break;
@@ -2288,12 +2320,12 @@ class Lr {
2288
2320
  nest(t, n) {
2289
2321
  let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s, i, a;
2290
2322
  function o(u, c) {
2291
- const f = this.nestingOptionsSeparator;
2292
- if (u.indexOf(f) < 0)
2323
+ const d = this.nestingOptionsSeparator;
2324
+ if (u.indexOf(d) < 0)
2293
2325
  return u;
2294
- const d = u.split(new RegExp(`${f}[ ]*{`));
2295
- let l = `{${d[1]}`;
2296
- u = d[0], l = this.interpolate(l, a);
2326
+ const f = u.split(new RegExp(`${d}[ ]*{`));
2327
+ let l = `{${f[1]}`;
2328
+ u = f[0], l = this.interpolate(l, a);
2297
2329
  const g = l.match(/'/g), p = l.match(/"/g);
2298
2330
  (g && g.length % 2 === 0 && !p || p.length % 2 !== 0) && (l = l.replace(/'/g, '"'));
2299
2331
  try {
@@ -2302,7 +2334,7 @@ class Lr {
2302
2334
  ...a
2303
2335
  });
2304
2336
  } catch (m) {
2305
- return this.logger.warn(`failed parsing options string in nesting for key ${u}`, m), `${u}${f}${l}`;
2337
+ return this.logger.warn(`failed parsing options string in nesting for key ${u}`, m), `${u}${d}${l}`;
2306
2338
  }
2307
2339
  return delete a.defaultValue, u;
2308
2340
  }
@@ -2313,12 +2345,12 @@ class Lr {
2313
2345
  }, a = a.replace && typeof a.replace != "string" ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
2314
2346
  let c = !1;
2315
2347
  if (s[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(s[1])) {
2316
- const f = s[1].split(this.formatSeparator).map((d) => d.trim());
2317
- s[1] = f.shift(), u = f, c = !0;
2348
+ const d = s[1].split(this.formatSeparator).map((f) => f.trim());
2349
+ s[1] = d.shift(), u = d, c = !0;
2318
2350
  }
2319
2351
  if (i = n(o.call(this, s[1].trim(), a), a), i && s[0] === t && typeof i != "string")
2320
2352
  return i;
2321
- typeof i != "string" && (i = at(i)), i || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`), i = ""), c && (i = u.reduce((f, d) => this.format(f, d, r.lng, {
2353
+ typeof i != "string" && (i = ct(i)), i || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`), i = ""), c && (i = u.reduce((d, f) => this.format(d, f, r.lng, {
2322
2354
  ...r,
2323
2355
  interpolationkey: s[1].trim()
2324
2356
  }), i.trim())), t = t.replace(s[0], i), this.regexp.lastIndex = 0;
@@ -2326,7 +2358,7 @@ class Lr {
2326
2358
  return t;
2327
2359
  }
2328
2360
  }
2329
- function Er(e) {
2361
+ function Ir(e) {
2330
2362
  let t = e.toLowerCase().trim();
2331
2363
  const n = {};
2332
2364
  if (e.indexOf("(") > -1) {
@@ -2353,10 +2385,10 @@ function Z(e) {
2353
2385
  return o || (o = e(Ce(s), i), t[a] = o), o(r);
2354
2386
  };
2355
2387
  }
2356
- class Nr {
2388
+ class _r {
2357
2389
  constructor() {
2358
2390
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2359
- this.logger = $.create("formatter"), this.options = t, this.formats = {
2391
+ this.logger = _.create("formatter"), this.options = t, this.formats = {
2360
2392
  number: Z((n, r) => {
2361
2393
  const s = new Intl.NumberFormat(n, {
2362
2394
  ...r
@@ -2407,43 +2439,43 @@ class Nr {
2407
2439
  return n.split(this.formatSeparator).reduce((o, u) => {
2408
2440
  const {
2409
2441
  formatName: c,
2410
- formatOptions: f
2411
- } = Er(u);
2442
+ formatOptions: d
2443
+ } = Ir(u);
2412
2444
  if (this.formats[c]) {
2413
- let d = o;
2445
+ let f = o;
2414
2446
  try {
2415
2447
  const l = s && s.formatParams && s.formatParams[s.interpolationkey] || {}, g = l.locale || l.lng || s.locale || s.lng || r;
2416
- d = this.formats[c](o, g, {
2417
- ...f,
2448
+ f = this.formats[c](o, g, {
2449
+ ...d,
2418
2450
  ...s,
2419
2451
  ...l
2420
2452
  });
2421
2453
  } catch (l) {
2422
2454
  this.logger.warn(l);
2423
2455
  }
2424
- return d;
2456
+ return f;
2425
2457
  } else
2426
2458
  this.logger.warn(`there was no format function for ${c}`);
2427
2459
  return o;
2428
2460
  }, t);
2429
2461
  }
2430
2462
  }
2431
- function Tr(e, t) {
2463
+ function kr(e, t) {
2432
2464
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
2433
2465
  }
2434
- class Rr extends je {
2466
+ class Br extends Le {
2435
2467
  constructor(t, n, r) {
2436
2468
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
2437
- super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = s, this.logger = $.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, s.backend, s);
2469
+ super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = s, this.logger = _.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, s.backend, s);
2438
2470
  }
2439
2471
  queueLoad(t, n, r, s) {
2440
2472
  const i = {}, a = {}, o = {}, u = {};
2441
2473
  return t.forEach((c) => {
2442
- let f = !0;
2443
- n.forEach((d) => {
2444
- const l = `${c}|${d}`;
2445
- !r.reload && this.store.hasResourceBundle(c, d) ? this.state[l] = 2 : this.state[l] < 0 || (this.state[l] === 1 ? a[l] === void 0 && (a[l] = !0) : (this.state[l] = 1, f = !1, a[l] === void 0 && (a[l] = !0), i[l] === void 0 && (i[l] = !0), u[d] === void 0 && (u[d] = !0)));
2446
- }), f || (o[c] = !0);
2474
+ let d = !0;
2475
+ n.forEach((f) => {
2476
+ const l = `${c}|${f}`;
2477
+ !r.reload && this.store.hasResourceBundle(c, f) ? this.state[l] = 2 : this.state[l] < 0 || (this.state[l] === 1 ? a[l] === void 0 && (a[l] = !0) : (this.state[l] = 1, d = !1, a[l] === void 0 && (a[l] = !0), i[l] === void 0 && (i[l] = !0), u[f] === void 0 && (u[f] = !0)));
2478
+ }), d || (o[c] = !0);
2447
2479
  }), (Object.keys(i).length || Object.keys(a).length) && this.queue.push({
2448
2480
  pending: a,
2449
2481
  pendingCount: Object.keys(a).length,
@@ -2462,11 +2494,11 @@ class Rr extends je {
2462
2494
  n && this.emit("failedLoading", i, a, n), r && this.store.addResourceBundle(i, a, r), this.state[t] = n ? -1 : 2;
2463
2495
  const o = {};
2464
2496
  this.queue.forEach((u) => {
2465
- br(u.loaded, [i], a), Tr(u, t), n && u.errors.push(n), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((c) => {
2497
+ wr(u.loaded, [i], a), kr(u, t), n && u.errors.push(n), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((c) => {
2466
2498
  o[c] || (o[c] = {});
2467
- const f = u.loaded[c];
2468
- f.length && f.forEach((d) => {
2469
- o[c][d] === void 0 && (o[c][d] = !0);
2499
+ const d = u.loaded[c];
2500
+ d.length && d.forEach((f) => {
2501
+ o[c][f] === void 0 && (o[c][f] = !0);
2470
2502
  });
2471
2503
  }), u.done = !0, u.errors.length ? u.callback(u.errors) : u.callback());
2472
2504
  }), this.emit("loaded", o), this.queue = this.queue.filter((u) => !u.done);
@@ -2487,23 +2519,23 @@ class Rr extends je {
2487
2519
  return;
2488
2520
  }
2489
2521
  this.readingCalls++;
2490
- const o = (c, f) => {
2522
+ const o = (c, d) => {
2491
2523
  if (this.readingCalls--, this.waitingReads.length > 0) {
2492
- const d = this.waitingReads.shift();
2493
- this.read(d.lng, d.ns, d.fcName, d.tried, d.wait, d.callback);
2524
+ const f = this.waitingReads.shift();
2525
+ this.read(f.lng, f.ns, f.fcName, f.tried, f.wait, f.callback);
2494
2526
  }
2495
- if (c && f && s < this.maxRetries) {
2527
+ if (c && d && s < this.maxRetries) {
2496
2528
  setTimeout(() => {
2497
2529
  this.read.call(this, t, n, r, s + 1, i * 2, a);
2498
2530
  }, i);
2499
2531
  return;
2500
2532
  }
2501
- a(c, f);
2533
+ a(c, d);
2502
2534
  }, u = this.backend[r].bind(this.backend);
2503
2535
  if (u.length === 2) {
2504
2536
  try {
2505
2537
  const c = u(t, n);
2506
- c && typeof c.then == "function" ? c.then((f) => o(null, f)).catch(o) : o(null, c);
2538
+ c && typeof c.then == "function" ? c.then((d) => o(null, d)).catch(o) : o(null, c);
2507
2539
  } catch (c) {
2508
2540
  o(c);
2509
2541
  }
@@ -2553,10 +2585,10 @@ class Rr extends je {
2553
2585
  }, c = this.backend.create.bind(this.backend);
2554
2586
  if (c.length < 6)
2555
2587
  try {
2556
- let f;
2557
- c.length === 5 ? f = c(t, n, r, s, u) : f = c(t, n, r, s), f && typeof f.then == "function" ? f.then((d) => o(null, d)).catch(o) : o(null, f);
2558
- } catch (f) {
2559
- o(f);
2588
+ let d;
2589
+ c.length === 5 ? d = c(t, n, r, s, u) : d = c(t, n, r, s), d && typeof d.then == "function" ? d.then((f) => o(null, f)).catch(o) : o(null, d);
2590
+ } catch (d) {
2591
+ o(d);
2560
2592
  }
2561
2593
  else
2562
2594
  c(t, n, r, s, o, u);
@@ -2565,7 +2597,7 @@ class Rr extends je {
2565
2597
  }
2566
2598
  }
2567
2599
  }
2568
- function pt() {
2600
+ function yt() {
2569
2601
  return {
2570
2602
  debug: !1,
2571
2603
  initImmediate: !0,
@@ -2624,22 +2656,22 @@ function pt() {
2624
2656
  }
2625
2657
  };
2626
2658
  }
2627
- function gt(e) {
2659
+ function bt(e) {
2628
2660
  return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
2629
2661
  }
2630
- function de() {
2662
+ function fe() {
2631
2663
  }
2632
- function $r(e) {
2664
+ function Ur(e) {
2633
2665
  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((n) => {
2634
2666
  typeof e[n] == "function" && (e[n] = e[n].bind(e));
2635
2667
  });
2636
2668
  }
2637
- class oe extends je {
2669
+ class oe extends Le {
2638
2670
  constructor() {
2639
2671
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
2640
- if (super(), this.options = gt(t), this.services = {}, this.logger = $, this.modules = {
2672
+ if (super(), this.options = bt(t), this.services = {}, this.logger = _, this.modules = {
2641
2673
  external: []
2642
- }, $r(this), n && !this.isInitialized && !t.isClone) {
2674
+ }, Ur(this), n && !this.isInitialized && !t.isClone) {
2643
2675
  if (!this.options.initImmediate)
2644
2676
  return this.init(t, n), this;
2645
2677
  setTimeout(() => {
@@ -2651,32 +2683,32 @@ class oe extends je {
2651
2683
  var t = this;
2652
2684
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
2653
2685
  typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (typeof n.ns == "string" ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0]));
2654
- const s = pt();
2686
+ const s = yt();
2655
2687
  this.options = {
2656
2688
  ...s,
2657
2689
  ...this.options,
2658
- ...gt(n)
2690
+ ...bt(n)
2659
2691
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
2660
2692
  ...s.interpolation,
2661
2693
  ...this.options.interpolation
2662
2694
  }), n.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = n.keySeparator), n.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = n.nsSeparator);
2663
- function i(f) {
2664
- return f ? typeof f == "function" ? new f() : f : null;
2695
+ function i(d) {
2696
+ return d ? typeof d == "function" ? new d() : d : null;
2665
2697
  }
2666
2698
  if (!this.options.isClone) {
2667
- this.modules.logger ? $.init(i(this.modules.logger), this.options) : $.init(null, this.options);
2668
- let f;
2669
- this.modules.formatter ? f = this.modules.formatter : typeof Intl < "u" && (f = Nr);
2670
- const d = new ct(this.options);
2671
- this.store = new ut(this.options.resources, this.options);
2699
+ this.modules.logger ? _.init(i(this.modules.logger), this.options) : _.init(null, this.options);
2700
+ let d;
2701
+ this.modules.formatter ? d = this.modules.formatter : typeof Intl < "u" && (d = _r);
2702
+ const f = new gt(this.options);
2703
+ this.store = new ft(this.options.resources, this.options);
2672
2704
  const l = this.services;
2673
- l.logger = $, l.resourceStore = this.store, l.languageUtils = d, l.pluralResolver = new Fr(d, {
2705
+ l.logger = _, l.resourceStore = this.store, l.languageUtils = f, l.pluralResolver = new Mr(f, {
2674
2706
  prepend: this.options.pluralSeparator,
2675
2707
  compatibilityJSON: this.options.compatibilityJSON,
2676
2708
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
2677
- }), f && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (l.formatter = i(f), l.formatter.init(l, this.options), this.options.interpolation.format = l.formatter.format.bind(l.formatter)), l.interpolator = new Lr(this.options), l.utils = {
2709
+ }), d && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (l.formatter = i(d), l.formatter.init(l, this.options), this.options.interpolation.format = l.formatter.format.bind(l.formatter)), l.interpolator = new $r(this.options), l.utils = {
2678
2710
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
2679
- }, l.backendConnector = new Rr(i(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(g) {
2711
+ }, l.backendConnector = new Br(i(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(g) {
2680
2712
  for (var p = arguments.length, m = new Array(p > 1 ? p - 1 : 0), h = 1; h < p; h++)
2681
2713
  m[h - 1] = arguments[h];
2682
2714
  t.emit(g, ...m);
@@ -2688,31 +2720,31 @@ class oe extends je {
2688
2720
  g.init && g.init(this);
2689
2721
  });
2690
2722
  }
2691
- if (this.format = this.options.interpolation.format, r || (r = de), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
2692
- const f = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
2693
- f.length > 0 && f[0] !== "dev" && (this.options.lng = f[0]);
2723
+ if (this.format = this.options.interpolation.format, r || (r = fe), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
2724
+ const d = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
2725
+ d.length > 0 && d[0] !== "dev" && (this.options.lng = d[0]);
2694
2726
  }
2695
- !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((f) => {
2696
- this[f] = function() {
2697
- return t.store[f](...arguments);
2727
+ !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((d) => {
2728
+ this[d] = function() {
2729
+ return t.store[d](...arguments);
2698
2730
  };
2699
- }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((f) => {
2700
- this[f] = function() {
2701
- return t.store[f](...arguments), t;
2731
+ }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((d) => {
2732
+ this[d] = function() {
2733
+ return t.store[d](...arguments), t;
2702
2734
  };
2703
2735
  });
2704
2736
  const u = ae(), c = () => {
2705
- const f = (d, l) => {
2706
- this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), u.resolve(l), r(d, l);
2737
+ const d = (f, l) => {
2738
+ this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), u.resolve(l), r(f, l);
2707
2739
  };
2708
2740
  if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized)
2709
- return f(null, this.t.bind(this));
2710
- this.changeLanguage(this.options.lng, f);
2741
+ return d(null, this.t.bind(this));
2742
+ this.changeLanguage(this.options.lng, d);
2711
2743
  };
2712
2744
  return this.options.resources || !this.options.initImmediate ? c() : setTimeout(c, 0), u;
2713
2745
  }
2714
2746
  loadResources(t) {
2715
- let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : de;
2747
+ let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : fe;
2716
2748
  const s = typeof t == "string" ? t : this.language;
2717
2749
  if (typeof t == "function" && (r = t), !this.options.resources || this.options.partialBundledLanguages) {
2718
2750
  if (s && s.toLowerCase() === "cimode")
@@ -2732,7 +2764,7 @@ class oe extends je {
2732
2764
  }
2733
2765
  reloadResources(t, n, r) {
2734
2766
  const s = ae();
2735
- return t || (t = this.languages), n || (n = this.options.ns), r || (r = de), this.services.backendConnector.reload(t, n, (i) => {
2767
+ return t || (t = this.languages), n || (n = this.options.ns), r || (r = fe), this.services.backendConnector.reload(t, n, (i) => {
2736
2768
  s.resolve(), r(i);
2737
2769
  }), s;
2738
2770
  }
@@ -2741,7 +2773,7 @@ class oe extends je {
2741
2773
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
2742
2774
  if (!t.type)
2743
2775
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
2744
- return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && Wt.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
2776
+ return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && Ht.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
2745
2777
  }
2746
2778
  setResolvedLanguage(t) {
2747
2779
  if (!(!t || !this.languages) && !(["cimode", "dev"].indexOf(t) > -1))
@@ -2769,8 +2801,8 @@ class oe extends je {
2769
2801
  }, o = (u) => {
2770
2802
  !t && !u && this.services.languageDetector && (u = []);
2771
2803
  const c = typeof u == "string" ? u : this.services.languageUtils.getBestMatchFromCodes(u);
2772
- c && (this.language || i(c), this.translator.language || this.translator.changeLanguage(c), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(c)), this.loadResources(c, (f) => {
2773
- a(f, c);
2804
+ c && (this.language || i(c), this.translator.language || this.translator.changeLanguage(c), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(c)), this.loadResources(c, (d) => {
2805
+ a(d, c);
2774
2806
  });
2775
2807
  };
2776
2808
  return !t && this.services.languageDetector && !this.services.languageDetector.async ? o(this.services.languageDetector.detect()) : !t && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(o) : this.services.languageDetector.detect(o) : o(t), s;
@@ -2780,9 +2812,9 @@ class oe extends je {
2780
2812
  const i = function(a, o) {
2781
2813
  let u;
2782
2814
  if (typeof o != "object") {
2783
- for (var c = arguments.length, f = new Array(c > 2 ? c - 2 : 0), d = 2; d < c; d++)
2784
- f[d - 2] = arguments[d];
2785
- u = s.options.overloadTranslationOptionHandler([a, o].concat(f));
2815
+ for (var c = arguments.length, d = new Array(c > 2 ? c - 2 : 0), f = 2; f < c; f++)
2816
+ d[f - 2] = arguments[f];
2817
+ u = s.options.overloadTranslationOptionHandler([a, o].concat(d));
2786
2818
  } else
2787
2819
  u = {
2788
2820
  ...o
@@ -2842,7 +2874,7 @@ class oe extends je {
2842
2874
  dir(t) {
2843
2875
  if (t || (t = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !t)
2844
2876
  return "rtl";
2845
- const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services && this.services.languageUtils || new ct(pt());
2877
+ const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services && this.services.languageUtils || new gt(yt());
2846
2878
  return n.indexOf(r.getLanguagePartFromCode(t)) > -1 || t.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
2847
2879
  }
2848
2880
  static createInstance() {
@@ -2850,7 +2882,7 @@ class oe extends je {
2850
2882
  return new oe(t, n);
2851
2883
  }
2852
2884
  cloneInstance() {
2853
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : de;
2885
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : fe;
2854
2886
  const r = t.forkResourceStore;
2855
2887
  r && delete t.forkResourceStore;
2856
2888
  const s = {
@@ -2864,9 +2896,9 @@ class oe extends je {
2864
2896
  ...this.services
2865
2897
  }, i.services.utils = {
2866
2898
  hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
2867
- }, r && (i.store = new ut(this.store.data, s), i.services.resourceStore = i.store), i.translator = new we(i.services, s), i.translator.on("*", function(o) {
2868
- for (var u = arguments.length, c = new Array(u > 1 ? u - 1 : 0), f = 1; f < u; f++)
2869
- c[f - 1] = arguments[f];
2899
+ }, r && (i.store = new ft(this.store.data, s), i.services.resourceStore = i.store), i.translator = new we(i.services, s), i.translator.on("*", function(o) {
2900
+ for (var u = arguments.length, c = new Array(u > 1 ? u - 1 : 0), d = 1; d < u; d++)
2901
+ c[d - 1] = arguments[d];
2870
2902
  i.emit(o, ...c);
2871
2903
  }), i.init(s, n), i.translator.options = s, i.translator.backendConnector.services.utils = {
2872
2904
  hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
@@ -2898,55 +2930,55 @@ j.setDefaultNamespace;
2898
2930
  j.hasLoadedNamespace;
2899
2931
  j.loadNamespaces;
2900
2932
  j.loadLanguages;
2901
- const Mr = {
2933
+ const qr = {
2902
2934
  error: "Error"
2903
- }, Ir = {
2935
+ }, Vr = {
2904
2936
  error: "Помилка"
2905
- }, ht = "common", _r = {
2906
- en: Mr,
2907
- uk: Ir
2908
- }, R = j.createInstance({
2909
- defaultNS: ht,
2910
- resources: Br(_r, ht),
2937
+ }, St = "common", Wr = {
2938
+ en: qr,
2939
+ uk: Vr
2940
+ }, I = j.createInstance({
2941
+ defaultNS: St,
2942
+ resources: Hr(Wr, St),
2911
2943
  lng: "en",
2912
2944
  fallbackLng: "en"
2913
- }), zt = {
2914
- i18nextInstance: R,
2915
- initPromise: R.init().then(() => R)
2945
+ }), Gt = {
2946
+ i18nextInstance: I,
2947
+ initPromise: I.init().then(() => I)
2916
2948
  }, pe = /* @__PURE__ */ new Map();
2917
- pe.set("common", zt);
2918
- const kr = (e) => {
2949
+ pe.set("common", Gt);
2950
+ const Kr = (e) => {
2919
2951
  if (pe.has(e.namespace))
2920
2952
  return pe.get(e.namespace);
2921
2953
  if (e.plugins)
2922
2954
  for (const i of e.plugins)
2923
- R.use(i);
2955
+ I.use(i);
2924
2956
  Object.keys(e.resource).forEach((i) => {
2925
- R.addResourceBundle(i, e.namespace, e.resource[i]);
2957
+ I.addResourceBundle(i, e.namespace, e.resource[i]);
2926
2958
  });
2927
- const t = R.cloneInstance({
2959
+ const t = I.cloneInstance({
2928
2960
  defaultNS: e.namespace
2929
2961
  });
2930
- let n = zt.initPromise.then(() => t);
2962
+ let n = Gt.initPromise.then(() => t);
2931
2963
  t.on("languageChanged", (i) => {
2932
- R.language !== i && R.changeLanguage(i);
2933
- }), R.on("languageChanged", (i) => {
2964
+ I.language !== i && I.changeLanguage(i);
2965
+ }), I.on("languageChanged", (i) => {
2934
2966
  t.language !== i && t.changeLanguage(i);
2935
2967
  });
2936
2968
  const r = e.language || "en";
2937
- R.language !== r && (n = n.then(() => t.changeLanguage(r)).then(() => t));
2969
+ I.language !== r && (n = n.then(() => t.changeLanguage(r)).then(() => t));
2938
2970
  const s = { initPromise: n, i18nextInstance: t };
2939
2971
  return pe.set(e.namespace, s), s;
2940
2972
  };
2941
- function Br(e, t) {
2973
+ function Hr(e, t) {
2942
2974
  return Object.keys(e).reduce((n, r) => (n[r] = {
2943
2975
  [t]: e[r]
2944
2976
  }, n), {});
2945
2977
  }
2946
- function Ur(e) {
2978
+ function Gr(e) {
2947
2979
  return e && e.replace(new RegExp("(?<!\\\\)'", "g"), "\\'");
2948
2980
  }
2949
- const qr = {
2981
+ const zr = {
2950
2982
  errors: {
2951
2983
  measure: {
2952
2984
  unsupportedType: "Unsupported measure type",
@@ -2972,7 +3004,7 @@ const qr = {
2972
3004
  },
2973
3005
  unsupportedDimensionalElement: "Unsupported dimensional element type"
2974
3006
  }
2975
- }, Vr = {
3007
+ }, Jr = {
2976
3008
  errors: {
2977
3009
  measure: {
2978
3010
  unsupportedType: "Непідтримуваний тип measure",
@@ -2998,47 +3030,47 @@ const qr = {
2998
3030
  },
2999
3031
  unsupportedDimensionalElement: "Непідтримуваний тип елемента"
3000
3032
  }
3001
- }, Kr = "sdkData", Hr = {
3002
- en: qr,
3003
- uk: Vr
3033
+ }, Qr = "sdkData", Yr = {
3034
+ en: zr,
3035
+ uk: Jr
3004
3036
  };
3005
- function Wr() {
3006
- return kr({
3007
- resource: Hr,
3037
+ function Zr() {
3038
+ return Kr({
3039
+ resource: Yr,
3008
3040
  language: "en",
3009
- namespace: Kr
3041
+ namespace: Qr
3010
3042
  });
3011
3043
  }
3012
- Wr();
3013
- function zr() {
3044
+ Zr();
3045
+ function Xr() {
3014
3046
  this.__data__ = [], this.size = 0;
3015
3047
  }
3016
- function Gt(e, t) {
3048
+ function zt(e, t) {
3017
3049
  return e === t || e !== e && t !== t;
3018
3050
  }
3019
- function Pe(e, t) {
3051
+ function Ee(e, t) {
3020
3052
  for (var n = e.length; n--; )
3021
- if (Gt(e[n][0], t))
3053
+ if (zt(e[n][0], t))
3022
3054
  return n;
3023
3055
  return -1;
3024
3056
  }
3025
- var Gr = Array.prototype, Jr = Gr.splice;
3026
- function Qr(e) {
3027
- var t = this.__data__, n = Pe(t, e);
3057
+ var es = Array.prototype, ts = es.splice;
3058
+ function ns(e) {
3059
+ var t = this.__data__, n = Ee(t, e);
3028
3060
  if (n < 0)
3029
3061
  return !1;
3030
3062
  var r = t.length - 1;
3031
- return n == r ? t.pop() : Jr.call(t, n, 1), --this.size, !0;
3063
+ return n == r ? t.pop() : ts.call(t, n, 1), --this.size, !0;
3032
3064
  }
3033
- function Yr(e) {
3034
- var t = this.__data__, n = Pe(t, e);
3065
+ function rs(e) {
3066
+ var t = this.__data__, n = Ee(t, e);
3035
3067
  return n < 0 ? void 0 : t[n][1];
3036
3068
  }
3037
- function Zr(e) {
3038
- return Pe(this.__data__, e) > -1;
3069
+ function ss(e) {
3070
+ return Ee(this.__data__, e) > -1;
3039
3071
  }
3040
- function Xr(e, t) {
3041
- var n = this.__data__, r = Pe(n, e);
3072
+ function is(e, t) {
3073
+ var n = this.__data__, r = Ee(n, e);
3042
3074
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
3043
3075
  }
3044
3076
  function k(e) {
@@ -3048,38 +3080,38 @@ function k(e) {
3048
3080
  this.set(r[0], r[1]);
3049
3081
  }
3050
3082
  }
3051
- k.prototype.clear = zr;
3052
- k.prototype.delete = Qr;
3053
- k.prototype.get = Yr;
3054
- k.prototype.has = Zr;
3055
- k.prototype.set = Xr;
3056
- function es() {
3083
+ k.prototype.clear = Xr;
3084
+ k.prototype.delete = ns;
3085
+ k.prototype.get = rs;
3086
+ k.prototype.has = ss;
3087
+ k.prototype.set = is;
3088
+ function as() {
3057
3089
  this.__data__ = new k(), this.size = 0;
3058
3090
  }
3059
- function ts(e) {
3091
+ function os(e) {
3060
3092
  var t = this.__data__, n = t.delete(e);
3061
3093
  return this.size = t.size, n;
3062
3094
  }
3063
- function ns(e) {
3095
+ function us(e) {
3064
3096
  return this.__data__.get(e);
3065
3097
  }
3066
- function rs(e) {
3098
+ function ls(e) {
3067
3099
  return this.__data__.has(e);
3068
3100
  }
3069
- var ss = U["__core-js_shared__"];
3070
- const Ne = ss;
3071
- var mt = function() {
3072
- var e = /[^.]+$/.exec(Ne && Ne.keys && Ne.keys.IE_PROTO || "");
3101
+ var cs = U["__core-js_shared__"];
3102
+ const $e = cs;
3103
+ var Ot = function() {
3104
+ var e = /[^.]+$/.exec($e && $e.keys && $e.keys.IE_PROTO || "");
3073
3105
  return e ? "Symbol(src)_1." + e : "";
3074
3106
  }();
3075
- function is(e) {
3076
- return !!mt && mt in e;
3107
+ function ds(e) {
3108
+ return !!Ot && Ot in e;
3077
3109
  }
3078
- var as = Function.prototype, os = as.toString;
3079
- function G(e) {
3110
+ var fs = Function.prototype, ps = fs.toString;
3111
+ function z(e) {
3080
3112
  if (e != null) {
3081
3113
  try {
3082
- return os.call(e);
3114
+ return ps.call(e);
3083
3115
  } catch {
3084
3116
  }
3085
3117
  try {
@@ -3089,91 +3121,91 @@ function G(e) {
3089
3121
  }
3090
3122
  return "";
3091
3123
  }
3092
- var us = /[\\^$.*+?()[\]{}|]/g, ls = /^\[object .+?Constructor\]$/, cs = Function.prototype, fs = Object.prototype, ds = cs.toString, ps = fs.hasOwnProperty, gs = RegExp(
3093
- "^" + ds.call(ps).replace(us, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3124
+ var gs = /[\\^$.*+?()[\]{}|]/g, hs = /^\[object .+?Constructor\]$/, ms = Function.prototype, ys = Object.prototype, bs = ms.toString, Ss = ys.hasOwnProperty, Os = RegExp(
3125
+ "^" + bs.call(Ss).replace(gs, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3094
3126
  );
3095
- function hs(e) {
3096
- if (!De(e) || is(e))
3127
+ function vs(e) {
3128
+ if (!je(e) || ds(e))
3097
3129
  return !1;
3098
- var t = In(e) ? gs : ls;
3099
- return t.test(G(e));
3130
+ var t = Bn(e) ? Os : hs;
3131
+ return t.test(z(e));
3100
3132
  }
3101
- function ms(e, t) {
3133
+ function xs(e, t) {
3102
3134
  return e == null ? void 0 : e[t];
3103
3135
  }
3104
3136
  function J(e, t) {
3105
- var n = ms(e, t);
3106
- return hs(n) ? n : void 0;
3137
+ var n = xs(e, t);
3138
+ return vs(n) ? n : void 0;
3107
3139
  }
3108
- var ys = J(U, "Map");
3109
- const ue = ys;
3110
- var bs = J(Object, "create");
3111
- const le = bs;
3112
- function Ss() {
3140
+ var Cs = J(U, "Map");
3141
+ const ue = Cs;
3142
+ var ws = J(Object, "create");
3143
+ const le = ws;
3144
+ function Ds() {
3113
3145
  this.__data__ = le ? le(null) : {}, this.size = 0;
3114
3146
  }
3115
- function Os(e) {
3147
+ function js(e) {
3116
3148
  var t = this.has(e) && delete this.__data__[e];
3117
3149
  return this.size -= t ? 1 : 0, t;
3118
3150
  }
3119
- var vs = "__lodash_hash_undefined__", xs = Object.prototype, Cs = xs.hasOwnProperty;
3120
- function ws(e) {
3151
+ var Ps = "__lodash_hash_undefined__", As = Object.prototype, Fs = As.hasOwnProperty;
3152
+ function Ls(e) {
3121
3153
  var t = this.__data__;
3122
3154
  if (le) {
3123
3155
  var n = t[e];
3124
- return n === vs ? void 0 : n;
3156
+ return n === Ps ? void 0 : n;
3125
3157
  }
3126
- return Cs.call(t, e) ? t[e] : void 0;
3158
+ return Fs.call(t, e) ? t[e] : void 0;
3127
3159
  }
3128
- var Ds = Object.prototype, js = Ds.hasOwnProperty;
3129
- function Ps(e) {
3160
+ var Es = Object.prototype, Ns = Es.hasOwnProperty;
3161
+ function Ts(e) {
3130
3162
  var t = this.__data__;
3131
- return le ? t[e] !== void 0 : js.call(t, e);
3163
+ return le ? t[e] !== void 0 : Ns.call(t, e);
3132
3164
  }
3133
- var As = "__lodash_hash_undefined__";
3134
- function Fs(e, t) {
3165
+ var Rs = "__lodash_hash_undefined__";
3166
+ function Ms(e, t) {
3135
3167
  var n = this.__data__;
3136
- return this.size += this.has(e) ? 0 : 1, n[e] = le && t === void 0 ? As : t, this;
3168
+ return this.size += this.has(e) ? 0 : 1, n[e] = le && t === void 0 ? Rs : t, this;
3137
3169
  }
3138
- function z(e) {
3170
+ function G(e) {
3139
3171
  var t = -1, n = e == null ? 0 : e.length;
3140
3172
  for (this.clear(); ++t < n; ) {
3141
3173
  var r = e[t];
3142
3174
  this.set(r[0], r[1]);
3143
3175
  }
3144
3176
  }
3145
- z.prototype.clear = Ss;
3146
- z.prototype.delete = Os;
3147
- z.prototype.get = ws;
3148
- z.prototype.has = Ps;
3149
- z.prototype.set = Fs;
3150
- function Ls() {
3177
+ G.prototype.clear = Ds;
3178
+ G.prototype.delete = js;
3179
+ G.prototype.get = Ls;
3180
+ G.prototype.has = Ts;
3181
+ G.prototype.set = Ms;
3182
+ function $s() {
3151
3183
  this.size = 0, this.__data__ = {
3152
- hash: new z(),
3184
+ hash: new G(),
3153
3185
  map: new (ue || k)(),
3154
- string: new z()
3186
+ string: new G()
3155
3187
  };
3156
3188
  }
3157
- function Es(e) {
3189
+ function Is(e) {
3158
3190
  var t = typeof e;
3159
3191
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
3160
3192
  }
3161
- function Ae(e, t) {
3193
+ function Ne(e, t) {
3162
3194
  var n = e.__data__;
3163
- return Es(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
3195
+ return Is(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
3164
3196
  }
3165
- function Ns(e) {
3166
- var t = Ae(this, e).delete(e);
3197
+ function _s(e) {
3198
+ var t = Ne(this, e).delete(e);
3167
3199
  return this.size -= t ? 1 : 0, t;
3168
3200
  }
3169
- function Ts(e) {
3170
- return Ae(this, e).get(e);
3201
+ function ks(e) {
3202
+ return Ne(this, e).get(e);
3171
3203
  }
3172
- function Rs(e) {
3173
- return Ae(this, e).has(e);
3204
+ function Bs(e) {
3205
+ return Ne(this, e).has(e);
3174
3206
  }
3175
- function $s(e, t) {
3176
- var n = Ae(this, e), r = n.size;
3207
+ function Us(e, t) {
3208
+ var n = Ne(this, e), r = n.size;
3177
3209
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
3178
3210
  }
3179
3211
  function te(e) {
@@ -3183,17 +3215,17 @@ function te(e) {
3183
3215
  this.set(r[0], r[1]);
3184
3216
  }
3185
3217
  }
3186
- te.prototype.clear = Ls;
3187
- te.prototype.delete = Ns;
3188
- te.prototype.get = Ts;
3189
- te.prototype.has = Rs;
3190
- te.prototype.set = $s;
3191
- var Ms = 200;
3192
- function Is(e, t) {
3218
+ te.prototype.clear = $s;
3219
+ te.prototype.delete = _s;
3220
+ te.prototype.get = ks;
3221
+ te.prototype.has = Bs;
3222
+ te.prototype.set = Us;
3223
+ var qs = 200;
3224
+ function Vs(e, t) {
3193
3225
  var n = this.__data__;
3194
3226
  if (n instanceof k) {
3195
3227
  var r = n.__data__;
3196
- if (!ue || r.length < Ms - 1)
3228
+ if (!ue || r.length < qs - 1)
3197
3229
  return r.push([e, t]), this.size = ++n.size, this;
3198
3230
  n = this.__data__ = new te(r);
3199
3231
  }
@@ -3203,38 +3235,38 @@ function ne(e) {
3203
3235
  var t = this.__data__ = new k(e);
3204
3236
  this.size = t.size;
3205
3237
  }
3206
- ne.prototype.clear = es;
3207
- ne.prototype.delete = ts;
3208
- ne.prototype.get = ns;
3209
- ne.prototype.has = rs;
3210
- ne.prototype.set = Is;
3211
- function _s(e, t) {
3238
+ ne.prototype.clear = as;
3239
+ ne.prototype.delete = os;
3240
+ ne.prototype.get = us;
3241
+ ne.prototype.has = ls;
3242
+ ne.prototype.set = Vs;
3243
+ function Ws(e, t) {
3212
3244
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
3213
3245
  ;
3214
3246
  return e;
3215
3247
  }
3216
- var ks = function() {
3248
+ var Ks = function() {
3217
3249
  try {
3218
3250
  var e = J(Object, "defineProperty");
3219
3251
  return e({}, "", {}), e;
3220
3252
  } catch {
3221
3253
  }
3222
3254
  }();
3223
- const yt = ks;
3255
+ const vt = Ks;
3224
3256
  function Jt(e, t, n) {
3225
- t == "__proto__" && yt ? yt(e, t, {
3257
+ t == "__proto__" && vt ? vt(e, t, {
3226
3258
  configurable: !0,
3227
3259
  enumerable: !0,
3228
3260
  value: n,
3229
3261
  writable: !0
3230
3262
  }) : e[t] = n;
3231
3263
  }
3232
- var Bs = Object.prototype, Us = Bs.hasOwnProperty;
3264
+ var Hs = Object.prototype, Gs = Hs.hasOwnProperty;
3233
3265
  function Qt(e, t, n) {
3234
3266
  var r = e[t];
3235
- (!(Us.call(e, t) && Gt(r, n)) || n === void 0 && !(t in e)) && Jt(e, t, n);
3267
+ (!(Gs.call(e, t) && zt(r, n)) || n === void 0 && !(t in e)) && Jt(e, t, n);
3236
3268
  }
3237
- function Fe(e, t, n, r) {
3269
+ function Te(e, t, n, r) {
3238
3270
  var s = !n;
3239
3271
  n || (n = {});
3240
3272
  for (var i = -1, a = t.length; ++i < a; ) {
@@ -3243,45 +3275,45 @@ function Fe(e, t, n, r) {
3243
3275
  }
3244
3276
  return n;
3245
3277
  }
3246
- function qs(e, t) {
3247
- return e && Fe(t, We(t), e);
3278
+ function zs(e, t) {
3279
+ return e && Te(t, Qe(t), e);
3248
3280
  }
3249
- function Vs(e) {
3281
+ function Js(e) {
3250
3282
  var t = [];
3251
3283
  if (e != null)
3252
3284
  for (var n in Object(e))
3253
3285
  t.push(n);
3254
3286
  return t;
3255
3287
  }
3256
- var Ks = Object.prototype, Hs = Ks.hasOwnProperty;
3257
- function Ws(e) {
3258
- if (!De(e))
3259
- return Vs(e);
3260
- var t = Mt(e), n = [];
3288
+ var Qs = Object.prototype, Ys = Qs.hasOwnProperty;
3289
+ function Zs(e) {
3290
+ if (!je(e))
3291
+ return Js(e);
3292
+ var t = kt(e), n = [];
3261
3293
  for (var r in e)
3262
- r == "constructor" && (t || !Hs.call(e, r)) || n.push(r);
3294
+ r == "constructor" && (t || !Ys.call(e, r)) || n.push(r);
3263
3295
  return n;
3264
3296
  }
3265
- function Je(e) {
3266
- return _n(e) ? kn(e, !0) : Ws(e);
3297
+ function Xe(e) {
3298
+ return Un(e) ? qn(e, !0) : Zs(e);
3267
3299
  }
3268
- function zs(e, t) {
3269
- return e && Fe(t, Je(t), e);
3300
+ function Xs(e, t) {
3301
+ return e && Te(t, Xe(t), e);
3270
3302
  }
3271
- var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, bt = Yt && typeof module == "object" && module && !module.nodeType && module, Gs = bt && bt.exports === Yt, St = Gs ? U.Buffer : void 0, Ot = St ? St.allocUnsafe : void 0;
3272
- function Js(e, t) {
3303
+ var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, xt = Yt && typeof module == "object" && module && !module.nodeType && module, ei = xt && xt.exports === Yt, Ct = ei ? U.Buffer : void 0, wt = Ct ? Ct.allocUnsafe : void 0;
3304
+ function ti(e, t) {
3273
3305
  if (t)
3274
3306
  return e.slice();
3275
- var n = e.length, r = Ot ? Ot(n) : new e.constructor(n);
3307
+ var n = e.length, r = wt ? wt(n) : new e.constructor(n);
3276
3308
  return e.copy(r), r;
3277
3309
  }
3278
- function Qs(e, t) {
3310
+ function ni(e, t) {
3279
3311
  var n = -1, r = e.length;
3280
3312
  for (t || (t = Array(r)); ++n < r; )
3281
3313
  t[n] = e[n];
3282
3314
  return t;
3283
3315
  }
3284
- function Ys(e, t) {
3316
+ function ri(e, t) {
3285
3317
  for (var n = -1, r = e == null ? 0 : e.length, s = 0, i = []; ++n < r; ) {
3286
3318
  var a = e[n];
3287
3319
  t(a, n, e) && (i[s++] = a);
@@ -3291,217 +3323,217 @@ function Ys(e, t) {
3291
3323
  function Zt() {
3292
3324
  return [];
3293
3325
  }
3294
- var Zs = Object.prototype, Xs = Zs.propertyIsEnumerable, vt = Object.getOwnPropertySymbols, ei = vt ? function(e) {
3295
- return e == null ? [] : (e = Object(e), Ys(vt(e), function(t) {
3296
- return Xs.call(e, t);
3326
+ var si = Object.prototype, ii = si.propertyIsEnumerable, Dt = Object.getOwnPropertySymbols, ai = Dt ? function(e) {
3327
+ return e == null ? [] : (e = Object(e), ri(Dt(e), function(t) {
3328
+ return ii.call(e, t);
3297
3329
  }));
3298
3330
  } : Zt;
3299
- const Qe = ei;
3300
- function ti(e, t) {
3301
- return Fe(e, Qe(e), t);
3331
+ const et = ai;
3332
+ function oi(e, t) {
3333
+ return Te(e, et(e), t);
3302
3334
  }
3303
3335
  function Xt(e, t) {
3304
3336
  for (var n = -1, r = t.length, s = e.length; ++n < r; )
3305
3337
  e[s + n] = t[n];
3306
3338
  return e;
3307
3339
  }
3308
- var ni = Bn(Object.getPrototypeOf, Object);
3309
- const en = ni;
3310
- var ri = Object.getOwnPropertySymbols, si = ri ? function(e) {
3340
+ var ui = Vn(Object.getPrototypeOf, Object);
3341
+ const en = ui;
3342
+ var li = Object.getOwnPropertySymbols, ci = li ? function(e) {
3311
3343
  for (var t = []; e; )
3312
- Xt(t, Qe(e)), e = en(e);
3344
+ Xt(t, et(e)), e = en(e);
3313
3345
  return t;
3314
3346
  } : Zt;
3315
- const tn = si;
3316
- function ii(e, t) {
3317
- return Fe(e, tn(e), t);
3347
+ const tn = ci;
3348
+ function di(e, t) {
3349
+ return Te(e, tn(e), t);
3318
3350
  }
3319
3351
  function nn(e, t, n) {
3320
3352
  var r = t(e);
3321
- return It(e) ? r : Xt(r, n(e));
3353
+ return Bt(e) ? r : Xt(r, n(e));
3322
3354
  }
3323
- function ai(e) {
3324
- return nn(e, We, Qe);
3355
+ function fi(e) {
3356
+ return nn(e, Qe, et);
3325
3357
  }
3326
- function oi(e) {
3327
- return nn(e, Je, tn);
3358
+ function pi(e) {
3359
+ return nn(e, Xe, tn);
3328
3360
  }
3329
- var ui = J(U, "DataView");
3330
- const Ue = ui;
3331
- var li = J(U, "Promise");
3332
- const qe = li;
3333
- var ci = J(U, "Set");
3334
- const Ve = ci;
3335
- var fi = J(U, "WeakMap");
3336
- const Ke = fi;
3337
- var xt = "[object Map]", di = "[object Object]", Ct = "[object Promise]", wt = "[object Set]", Dt = "[object WeakMap]", jt = "[object DataView]", pi = G(Ue), gi = G(ue), hi = G(qe), mi = G(Ve), yi = G(Ke), H = _t;
3338
- (Ue && H(new Ue(new ArrayBuffer(1))) != jt || ue && H(new ue()) != xt || qe && H(qe.resolve()) != Ct || Ve && H(new Ve()) != wt || Ke && H(new Ke()) != Dt) && (H = function(e) {
3339
- var t = _t(e), n = t == di ? e.constructor : void 0, r = n ? G(n) : "";
3361
+ var gi = J(U, "DataView");
3362
+ const Ke = gi;
3363
+ var hi = J(U, "Promise");
3364
+ const He = hi;
3365
+ var mi = J(U, "Set");
3366
+ const Ge = mi;
3367
+ var yi = J(U, "WeakMap");
3368
+ const ze = yi;
3369
+ var jt = "[object Map]", bi = "[object Object]", Pt = "[object Promise]", At = "[object Set]", Ft = "[object WeakMap]", Lt = "[object DataView]", Si = z(Ke), Oi = z(ue), vi = z(He), xi = z(Ge), Ci = z(ze), K = Ut;
3370
+ (Ke && K(new Ke(new ArrayBuffer(1))) != Lt || ue && K(new ue()) != jt || He && K(He.resolve()) != Pt || Ge && K(new Ge()) != At || ze && K(new ze()) != Ft) && (K = function(e) {
3371
+ var t = Ut(e), n = t == bi ? e.constructor : void 0, r = n ? z(n) : "";
3340
3372
  if (r)
3341
3373
  switch (r) {
3342
- case pi:
3374
+ case Si:
3375
+ return Lt;
3376
+ case Oi:
3343
3377
  return jt;
3344
- case gi:
3345
- return xt;
3346
- case hi:
3347
- return Ct;
3348
- case mi:
3349
- return wt;
3350
- case yi:
3351
- return Dt;
3378
+ case vi:
3379
+ return Pt;
3380
+ case xi:
3381
+ return At;
3382
+ case Ci:
3383
+ return Ft;
3352
3384
  }
3353
3385
  return t;
3354
3386
  });
3355
- const Ye = H;
3356
- var bi = Object.prototype, Si = bi.hasOwnProperty;
3357
- function Oi(e) {
3387
+ const tt = K;
3388
+ var wi = Object.prototype, Di = wi.hasOwnProperty;
3389
+ function ji(e) {
3358
3390
  var t = e.length, n = new e.constructor(t);
3359
- return t && typeof e[0] == "string" && Si.call(e, "index") && (n.index = e.index, n.input = e.input), n;
3391
+ return t && typeof e[0] == "string" && Di.call(e, "index") && (n.index = e.index, n.input = e.input), n;
3360
3392
  }
3361
- var vi = U.Uint8Array;
3362
- const Pt = vi;
3363
- function Ze(e) {
3393
+ var Pi = U.Uint8Array;
3394
+ const Et = Pi;
3395
+ function nt(e) {
3364
3396
  var t = new e.constructor(e.byteLength);
3365
- return new Pt(t).set(new Pt(e)), t;
3397
+ return new Et(t).set(new Et(e)), t;
3366
3398
  }
3367
- function xi(e, t) {
3368
- var n = t ? Ze(e.buffer) : e.buffer;
3399
+ function Ai(e, t) {
3400
+ var n = t ? nt(e.buffer) : e.buffer;
3369
3401
  return new e.constructor(n, e.byteOffset, e.byteLength);
3370
3402
  }
3371
- var Ci = /\w*$/;
3372
- function wi(e) {
3373
- var t = new e.constructor(e.source, Ci.exec(e));
3403
+ var Fi = /\w*$/;
3404
+ function Li(e) {
3405
+ var t = new e.constructor(e.source, Fi.exec(e));
3374
3406
  return t.lastIndex = e.lastIndex, t;
3375
3407
  }
3376
- var At = rt ? rt.prototype : void 0, Ft = At ? At.valueOf : void 0;
3377
- function Di(e) {
3378
- return Ft ? Object(Ft.call(e)) : {};
3408
+ var Nt = ot ? ot.prototype : void 0, Tt = Nt ? Nt.valueOf : void 0;
3409
+ function Ei(e) {
3410
+ return Tt ? Object(Tt.call(e)) : {};
3379
3411
  }
3380
- function ji(e, t) {
3381
- var n = t ? Ze(e.buffer) : e.buffer;
3412
+ function Ni(e, t) {
3413
+ var n = t ? nt(e.buffer) : e.buffer;
3382
3414
  return new e.constructor(n, e.byteOffset, e.length);
3383
3415
  }
3384
- var Pi = "[object Boolean]", Ai = "[object Date]", Fi = "[object Map]", Li = "[object Number]", Ei = "[object RegExp]", Ni = "[object Set]", Ti = "[object String]", Ri = "[object Symbol]", $i = "[object ArrayBuffer]", Mi = "[object DataView]", Ii = "[object Float32Array]", _i = "[object Float64Array]", ki = "[object Int8Array]", Bi = "[object Int16Array]", Ui = "[object Int32Array]", qi = "[object Uint8Array]", Vi = "[object Uint8ClampedArray]", Ki = "[object Uint16Array]", Hi = "[object Uint32Array]";
3385
- function Wi(e, t, n) {
3416
+ var Ti = "[object Boolean]", Ri = "[object Date]", Mi = "[object Map]", $i = "[object Number]", Ii = "[object RegExp]", _i = "[object Set]", ki = "[object String]", Bi = "[object Symbol]", Ui = "[object ArrayBuffer]", qi = "[object DataView]", Vi = "[object Float32Array]", Wi = "[object Float64Array]", Ki = "[object Int8Array]", Hi = "[object Int16Array]", Gi = "[object Int32Array]", zi = "[object Uint8Array]", Ji = "[object Uint8ClampedArray]", Qi = "[object Uint16Array]", Yi = "[object Uint32Array]";
3417
+ function Zi(e, t, n) {
3386
3418
  var r = e.constructor;
3387
3419
  switch (t) {
3388
- case $i:
3389
- return Ze(e);
3390
- case Pi:
3391
- case Ai:
3392
- return new r(+e);
3393
- case Mi:
3394
- return xi(e, n);
3395
- case Ii:
3396
- case _i:
3397
- case ki:
3398
- case Bi:
3399
3420
  case Ui:
3421
+ return nt(e);
3422
+ case Ti:
3423
+ case Ri:
3424
+ return new r(+e);
3400
3425
  case qi:
3426
+ return Ai(e, n);
3401
3427
  case Vi:
3428
+ case Wi:
3402
3429
  case Ki:
3403
3430
  case Hi:
3404
- return ji(e, n);
3405
- case Fi:
3431
+ case Gi:
3432
+ case zi:
3433
+ case Ji:
3434
+ case Qi:
3435
+ case Yi:
3436
+ return Ni(e, n);
3437
+ case Mi:
3406
3438
  return new r();
3407
- case Li:
3408
- case Ti:
3439
+ case $i:
3440
+ case ki:
3409
3441
  return new r(e);
3410
- case Ei:
3411
- return wi(e);
3412
- case Ni:
3442
+ case Ii:
3443
+ return Li(e);
3444
+ case _i:
3413
3445
  return new r();
3414
- case Ri:
3415
- return Di(e);
3446
+ case Bi:
3447
+ return Ei(e);
3416
3448
  }
3417
3449
  }
3418
- var Lt = Object.create, zi = function() {
3450
+ var Rt = Object.create, Xi = function() {
3419
3451
  function e() {
3420
3452
  }
3421
3453
  return function(t) {
3422
- if (!De(t))
3454
+ if (!je(t))
3423
3455
  return {};
3424
- if (Lt)
3425
- return Lt(t);
3456
+ if (Rt)
3457
+ return Rt(t);
3426
3458
  e.prototype = t;
3427
3459
  var n = new e();
3428
3460
  return e.prototype = void 0, n;
3429
3461
  };
3430
3462
  }();
3431
- const Gi = zi;
3432
- function Ji(e) {
3433
- return typeof e.constructor == "function" && !Mt(e) ? Gi(en(e)) : {};
3463
+ const ea = Xi;
3464
+ function ta(e) {
3465
+ return typeof e.constructor == "function" && !kt(e) ? ea(en(e)) : {};
3434
3466
  }
3435
- var Qi = "[object Map]";
3436
- function Yi(e) {
3437
- return kt(e) && Ye(e) == Qi;
3467
+ var na = "[object Map]";
3468
+ function ra(e) {
3469
+ return qt(e) && tt(e) == na;
3438
3470
  }
3439
- var Et = Se && Se.isMap, Zi = Et ? Bt(Et) : Yi;
3440
- const Xi = Zi;
3441
- var ea = "[object Set]";
3442
- function ta(e) {
3443
- return kt(e) && Ye(e) == ea;
3471
+ var Mt = Se && Se.isMap, sa = Mt ? Vt(Mt) : ra;
3472
+ const ia = sa;
3473
+ var aa = "[object Set]";
3474
+ function oa(e) {
3475
+ return qt(e) && tt(e) == aa;
3444
3476
  }
3445
- var Nt = Se && Se.isSet, na = Nt ? Bt(Nt) : ta;
3446
- const ra = na;
3447
- var sa = 1, ia = 2, aa = 4, rn = "[object Arguments]", oa = "[object Array]", ua = "[object Boolean]", la = "[object Date]", ca = "[object Error]", sn = "[object Function]", fa = "[object GeneratorFunction]", da = "[object Map]", pa = "[object Number]", an = "[object Object]", ga = "[object RegExp]", ha = "[object Set]", ma = "[object String]", ya = "[object Symbol]", ba = "[object WeakMap]", Sa = "[object ArrayBuffer]", Oa = "[object DataView]", va = "[object Float32Array]", xa = "[object Float64Array]", Ca = "[object Int8Array]", wa = "[object Int16Array]", Da = "[object Int32Array]", ja = "[object Uint8Array]", Pa = "[object Uint8ClampedArray]", Aa = "[object Uint16Array]", Fa = "[object Uint32Array]", O = {};
3448
- O[rn] = O[oa] = O[Sa] = O[Oa] = O[ua] = O[la] = O[va] = O[xa] = O[Ca] = O[wa] = O[Da] = O[da] = O[pa] = O[an] = O[ga] = O[ha] = O[ma] = O[ya] = O[ja] = O[Pa] = O[Aa] = O[Fa] = !0;
3449
- O[ca] = O[sn] = O[ba] = !1;
3477
+ var $t = Se && Se.isSet, ua = $t ? Vt($t) : oa;
3478
+ const la = ua;
3479
+ var ca = 1, da = 2, fa = 4, rn = "[object Arguments]", pa = "[object Array]", ga = "[object Boolean]", ha = "[object Date]", ma = "[object Error]", sn = "[object Function]", ya = "[object GeneratorFunction]", ba = "[object Map]", Sa = "[object Number]", an = "[object Object]", Oa = "[object RegExp]", va = "[object Set]", xa = "[object String]", Ca = "[object Symbol]", wa = "[object WeakMap]", Da = "[object ArrayBuffer]", ja = "[object DataView]", Pa = "[object Float32Array]", Aa = "[object Float64Array]", Fa = "[object Int8Array]", La = "[object Int16Array]", Ea = "[object Int32Array]", Na = "[object Uint8Array]", Ta = "[object Uint8ClampedArray]", Ra = "[object Uint16Array]", Ma = "[object Uint32Array]", v = {};
3480
+ v[rn] = v[pa] = v[Da] = v[ja] = v[ga] = v[ha] = v[Pa] = v[Aa] = v[Fa] = v[La] = v[Ea] = v[ba] = v[Sa] = v[an] = v[Oa] = v[va] = v[xa] = v[Ca] = v[Na] = v[Ta] = v[Ra] = v[Ma] = !0;
3481
+ v[ma] = v[sn] = v[wa] = !1;
3450
3482
  function ge(e, t, n, r, s, i) {
3451
- var a, o = t & sa, u = t & ia, c = t & aa;
3483
+ var a, o = t & ca, u = t & da, c = t & fa;
3452
3484
  if (n && (a = s ? n(e, r, s, i) : n(e)), a !== void 0)
3453
3485
  return a;
3454
- if (!De(e))
3486
+ if (!je(e))
3455
3487
  return e;
3456
- var f = It(e);
3457
- if (f) {
3458
- if (a = Oi(e), !o)
3459
- return Qs(e, a);
3488
+ var d = Bt(e);
3489
+ if (d) {
3490
+ if (a = ji(e), !o)
3491
+ return ni(e, a);
3460
3492
  } else {
3461
- var d = Ye(e), l = d == sn || d == fa;
3462
- if (Un(e))
3463
- return Js(e, o);
3464
- if (d == an || d == rn || l && !s) {
3465
- if (a = u || l ? {} : Ji(e), !o)
3466
- return u ? ii(e, zs(a, e)) : ti(e, qs(a, e));
3493
+ var f = tt(e), l = f == sn || f == ya;
3494
+ if (Wn(e))
3495
+ return ti(e, o);
3496
+ if (f == an || f == rn || l && !s) {
3497
+ if (a = u || l ? {} : ta(e), !o)
3498
+ return u ? di(e, Xs(a, e)) : oi(e, zs(a, e));
3467
3499
  } else {
3468
- if (!O[d])
3500
+ if (!v[f])
3469
3501
  return s ? e : {};
3470
- a = Wi(e, d, o);
3502
+ a = Zi(e, f, o);
3471
3503
  }
3472
3504
  }
3473
3505
  i || (i = new ne());
3474
3506
  var g = i.get(e);
3475
3507
  if (g)
3476
3508
  return g;
3477
- i.set(e, a), ra(e) ? e.forEach(function(h) {
3509
+ i.set(e, a), la(e) ? e.forEach(function(h) {
3478
3510
  a.add(ge(h, t, n, h, e, i));
3479
- }) : Xi(e) && e.forEach(function(h, v) {
3480
- a.set(v, ge(h, t, n, v, e, i));
3511
+ }) : ia(e) && e.forEach(function(h, x) {
3512
+ a.set(x, ge(h, t, n, x, e, i));
3481
3513
  });
3482
- var p = c ? u ? oi : ai : u ? Je : We, m = f ? void 0 : p(e);
3483
- return _s(m || e, function(h, v) {
3484
- m && (v = h, h = e[v]), Qt(a, v, ge(h, t, n, v, e, i));
3514
+ var p = c ? u ? pi : fi : u ? Xe : Qe, m = d ? void 0 : p(e);
3515
+ return Ws(m || e, function(h, x) {
3516
+ m && (x = h, h = e[x]), Qt(a, x, ge(h, t, n, x, e, i));
3485
3517
  }), a;
3486
3518
  }
3487
- var La = 1, Ea = 4;
3488
- function Na(e) {
3489
- return ge(e, La | Ea);
3519
+ var $a = 1, Ia = 4;
3520
+ function _a(e) {
3521
+ return ge(e, $a | Ia);
3490
3522
  }
3491
- function Ta(e) {
3523
+ function ka(e) {
3492
3524
  return Buffer.from(e).toString("utf8");
3493
3525
  }
3494
- function Ra(e) {
3526
+ function Ba(e) {
3495
3527
  return String.fromCharCode.apply(null, new Uint16Array(e));
3496
3528
  }
3497
- function $a() {
3529
+ function Ua() {
3498
3530
  return "UNSUPPORTED";
3499
3531
  }
3500
3532
  typeof Buffer < "u" && Buffer.from;
3501
- var Te;
3533
+ var Ie;
3502
3534
  (function(e) {
3503
3535
  e[e.None = 0] = "None", e[e.Ascending = 1] = "Ascending", e[e.Descending = 2] = "Descending";
3504
- })(Te = Te || (Te = {}));
3536
+ })(Ie = Ie || (Ie = {}));
3505
3537
  const b = {
3506
3538
  Measure: "measure",
3507
3539
  MeasureTemplate: "measuretemplate",
@@ -3636,43 +3668,43 @@ const b = {
3636
3668
  return !1;
3637
3669
  }
3638
3670
  };
3639
- var Re;
3671
+ var _e;
3640
3672
  (function(e) {
3641
3673
  e.TEXT = "text", e.NUMERIC = "numeric", e.DATETIME = "datetime";
3642
- })(Re = Re || (Re = {}));
3643
- var $e;
3674
+ })(_e = _e || (_e = {}));
3675
+ var ke;
3644
3676
  (function(e) {
3645
3677
  e.ASC = "asc", e.DESC = "desc";
3646
- })($e = $e || ($e = {}));
3647
- var Me;
3678
+ })(ke = ke || (ke = {}));
3679
+ var Be;
3648
3680
  (function(e) {
3649
3681
  e.PRE = "pre", e.POST = "post";
3650
- })(Me = Me || (Me = {}));
3651
- function He(e, t = []) {
3682
+ })(Be = Be || (Be = {}));
3683
+ function Je(e, t = []) {
3652
3684
  try {
3653
- return e == null ? String(e) : typeof e == "string" ? `'${Ur(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) => He(n, t)).join(", ")}]` : typeof e == "object" && e !== null ? "composeCode" in e ? e.composeCode : `{ ${Object.entries(e).filter(([r]) => !t.includes(r)).map(([r, s]) => `${/[^a-zA-Z0-9_$]/.test(r) ? `'${r}'` : r}: ${He(s, t)}`).join(", ")} }` : JSON.stringify(e);
3685
+ return e == null ? String(e) : typeof e == "string" ? `'${Gr(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) => Je(n, t)).join(", ")}]` : typeof e == "object" && e !== null ? "composeCode" in e ? e.composeCode : `{ ${Object.entries(e).filter(([r]) => !t.includes(r)).map(([r, s]) => `${/[^a-zA-Z0-9_$]/.test(r) ? `'${r}'` : r}: ${Je(s, t)}`).join(", ")} }` : JSON.stringify(e);
3654
3686
  } catch (n) {
3655
3687
  return console.error(n, JSON.stringify(e, null, 2)), JSON.stringify(e);
3656
3688
  }
3657
3689
  }
3658
- function Ma(e) {
3690
+ function qa(e) {
3659
3691
  let t = e.length;
3660
3692
  for (; t > 0 && e[t - 1] === void 0; )
3661
3693
  t--;
3662
3694
  return e.slice(0, t);
3663
3695
  }
3664
- function Ia(e, t) {
3696
+ function Va(e, t) {
3665
3697
  return function(n) {
3666
3698
  return function(...r) {
3667
- const s = Ma(r), i = s.length, a = s.map((c) => He(c, ["guid"])).filter((c, f) => !(["", "{ }", "[]", "undefined", "null"].includes(c) && f === i - 1)).join(", "), o = `${e}.${t ?? n.name}(${a})`, u = n(...r);
3699
+ const s = qa(r), i = s.length, a = s.map((c) => Je(c, ["guid"])).filter((c, d) => !(["", "{ }", "[]", "undefined", "null"].includes(c) && d === i - 1)).join(", "), o = `${e}.${t ?? n.name}(${a})`, u = n(...r);
3668
3700
  return u.composeCode = o, u;
3669
3701
  };
3670
3702
  };
3671
3703
  }
3672
- function Tt(e, t) {
3673
- return Ia("filterFactory.logic", t)(e);
3704
+ function It(e, t) {
3705
+ return Va("filterFactory.logic", t)(e);
3674
3706
  }
3675
- const _a = {
3707
+ const on = {
3676
3708
  logicalAttribute: "logicalAttribute",
3677
3709
  members: "members",
3678
3710
  exclude: "exclude",
@@ -3685,32 +3717,35 @@ const _a = {
3685
3717
  cascading: "cascading",
3686
3718
  advanced: "advanced"
3687
3719
  };
3688
- function ka(e) {
3689
- return "filterType" in e && e.filterType === _a.cascading;
3720
+ function Wa(e) {
3721
+ return "filterType" in e && e.filterType === on.members;
3722
+ }
3723
+ function Ka(e) {
3724
+ return "filterType" in e && e.filterType === on.cascading;
3690
3725
  }
3691
- const W = (e) => {
3726
+ const H = (e) => {
3692
3727
  if (Array.isArray(e)) {
3693
3728
  const [t, ...n] = e;
3694
- return n.length === 0 ? W(t) : {
3729
+ return n.length === 0 ? H(t) : {
3695
3730
  operator: "AND",
3696
- left: W(t),
3697
- right: W(n)
3731
+ left: H(t),
3732
+ right: H(n)
3698
3733
  };
3699
3734
  }
3700
3735
  return e;
3701
3736
  };
3702
- var Ie;
3737
+ var Ue;
3703
3738
  (function(e) {
3704
- e.and = Tt((t, n) => ({
3739
+ e.and = It((t, n) => ({
3705
3740
  operator: "AND",
3706
- left: W(t),
3707
- right: W(n)
3708
- }), "and"), e.or = Tt((t, n) => ({
3741
+ left: H(t),
3742
+ right: H(n)
3743
+ }), "and"), e.or = It((t, n) => ({
3709
3744
  operator: "OR",
3710
- left: W(t),
3711
- right: W(n)
3745
+ left: H(t),
3746
+ right: H(n)
3712
3747
  }), "or");
3713
- })(Ie = Ie || (Ie = {}));
3748
+ })(Ue = Ue || (Ue = {}));
3714
3749
  var he;
3715
3750
  (function(e) {
3716
3751
  e.INCLUDE_ALL = "INCLUDE_ALL", e.ADVANCED = "ADVANCED", e.INVALID = "INVALID", e.CONDITION = "CONDITION", e.SPECIFIC_ITEMS = "SPECIFIC_ITEMS";
@@ -3727,11 +3762,11 @@ var be;
3727
3762
  (function(e) {
3728
3763
  e.YEARS = "years", e.QUARTERS = "quarters", e.MONTHS = "months", e.WEEKS = "weeks", e.DAYS = "days", e.HOURS = "hours", e.MINUTES = "minutes";
3729
3764
  })(be = be || (be = {}));
3730
- var _e;
3765
+ var qe;
3731
3766
  (function(e) {
3732
3767
  e.DATE_TIME = "datetime", e.NUMERIC = "numeric", e.TEXT = "text";
3733
- })(_e = _e || (_e = {}));
3734
- const N = Object.assign(Object.assign(Object.assign({}, he), me), ye), Ba = {
3768
+ })(qe = qe || (qe = {}));
3769
+ const N = Object.assign(Object.assign(Object.assign({}, he), me), ye), Ha = {
3735
3770
  [N.INCLUDE_ALL]: {
3736
3771
  all: !0,
3737
3772
  filterType: N.INCLUDE_ALL
@@ -3760,12 +3795,12 @@ const N = Object.assign(Object.assign(Object.assign({}, he), me), ye), Ba = {
3760
3795
  filterType: N.SPECIFIC_ITEMS
3761
3796
  }
3762
3797
  };
3763
- Ba.INCLUDE_ALL, be.YEARS;
3764
- var ke;
3798
+ Ha.INCLUDE_ALL, be.YEARS;
3799
+ var Ve;
3765
3800
  (function(e) {
3766
3801
  e.IS = "members", e.IS_NOT = "exclude", e.IS_WITHIN = "isWithin", e.TOP = "top", e.BOTTOM = "bottom", e.AFTER = "after", e.BEFORE = "before", e.STARTS_WITH = "startsWith", e.DOESNT_START_WITH = "doesntStartWith", e.ENDS_WITH = "endsWith", e.DOESNT_END_WITH = "doesntEndWith", e.CONTAINS = "contains", e.DOESNT_CONTAIN = "doesntContain", e.EQUALS = "equals", e.DOESNT_EQUAL = "doesntEqual", e.IS_EMPTY = "isEmpty", e.IS_NOT_EMPTY = "isNotEmpty", e.GREATER_THAN = "fromNotEqual", e.GREATER_THAN_OR_EQUAL = "from", e.LESS_THAN = "toNotEqual", e.LESS_THAN_OR_EQUAL = "to", e.BETWEEN = "between", e.IS_NOT_BETWEEN = "isNotBetween", e.MULTIPLE_CONDITION = "multipleCondition", e.NONE = "none";
3767
- })(ke = ke || (ke = {}));
3768
- const on = (e) => {
3802
+ })(Ve = Ve || (Ve = {}));
3803
+ const un = (e) => {
3769
3804
  if (!e)
3770
3805
  return { filters: void 0, relations: void 0 };
3771
3806
  if (Array.isArray(e))
@@ -3775,21 +3810,21 @@ const on = (e) => {
3775
3810
  const [o, ...u] = a;
3776
3811
  if (t.add(o), !u.length)
3777
3812
  return r({ instanceid: o.config.guid });
3778
- const c = r(o), f = n(u);
3779
- return { left: c, right: f, operator: "AND" };
3813
+ const c = r(o), d = n(u);
3814
+ return { left: c, right: d, operator: "AND" };
3780
3815
  }
3781
3816
  function r(a) {
3782
- return a && (Ua(a) ? ka(a) ? n(a.filters) : (t.add(a), { instanceid: a.config.guid }) : ("left" in a && (a.left = r(a.left)), "right" in a && (a.right = r(a.right)), "composeCode" in a && delete a.composeCode, a));
3817
+ return a && (Ga(a) ? Ka(a) ? n(a.filters) : (t.add(a), { instanceid: a.config.guid }) : ("left" in a && (a.left = r(a.left)), "right" in a && (a.right = r(a.right)), "composeCode" in a && delete a.composeCode, a));
3783
3818
  }
3784
- const s = Na(e), i = r(s);
3819
+ const s = _a(e), i = r(s);
3785
3820
  return { filters: Array.from(t), relations: i };
3786
3821
  };
3787
- function Ua(e) {
3822
+ function Ga(e) {
3788
3823
  return "config" in e && "guid" in e.config;
3789
3824
  }
3790
3825
  b.TextAttribute, b.NumericAttribute, b.DateLevel;
3791
- const $o = (e) => {
3792
- const [t, n] = q(Ut, {
3826
+ const Vo = (e) => {
3827
+ const [t, n] = q(Wt, {
3793
3828
  isLoading: !0,
3794
3829
  isError: !1,
3795
3830
  isSuccess: !1,
@@ -3797,7 +3832,7 @@ const $o = (e) => {
3797
3832
  error: void 0,
3798
3833
  data: void 0
3799
3834
  }), r = V();
3800
- _("useExecuteQuery");
3835
+ M("useExecuteQuery");
3801
3836
  const s = async (i) => {
3802
3837
  try {
3803
3838
  const {
@@ -3805,45 +3840,45 @@ const $o = (e) => {
3805
3840
  dimensions: o,
3806
3841
  measures: u,
3807
3842
  filters: c,
3808
- highlights: f,
3809
- count: d,
3843
+ highlights: d,
3844
+ count: f,
3810
3845
  offset: l,
3811
3846
  ungroup: g,
3812
3847
  onBeforeQuery: p
3813
- } = C(e), { filters: m, relations: h } = on(c);
3848
+ } = O(e), { filters: m, relations: h } = un(c);
3814
3849
  n({ type: "loading" });
3815
- const v = await qn(
3850
+ const x = await Kn(
3816
3851
  {
3817
3852
  dataSource: a,
3818
3853
  dimensions: o,
3819
3854
  measures: u,
3820
3855
  filters: m,
3821
3856
  filterRelations: h,
3822
- highlights: f,
3823
- count: d,
3857
+ highlights: d,
3858
+ count: f,
3824
3859
  offset: l,
3825
3860
  ungroup: g
3826
3861
  },
3827
3862
  i,
3828
- { onBeforeQuery: ze(p) }
3863
+ { onBeforeQuery: Ye(p) }
3829
3864
  );
3830
- n({ type: "success", data: v });
3865
+ n({ type: "success", data: x });
3831
3866
  } catch (a) {
3832
3867
  n({ type: "error", error: a });
3833
3868
  }
3834
3869
  };
3835
- return M(
3836
- [...I(e), r],
3870
+ return T(
3871
+ [...R(e), r],
3837
3872
  () => {
3838
- const { app: i } = r.value, { enabled: a } = C(e);
3873
+ const { app: i } = r.value, { enabled: a } = O(e);
3839
3874
  !i || !(a === void 0 || a === !0) || s(i);
3840
3875
  },
3841
3876
  { immediate: !0 }
3842
- ), L(t.value);
3843
- }, Mo = (e) => {
3877
+ ), A(t.value);
3878
+ }, Wo = (e) => {
3844
3879
  const t = B(void 0), n = B(void 0);
3845
- _("useExecuteQueryByWidgetId");
3846
- const [r, s] = q(Ut, {
3880
+ M("useExecuteQueryByWidgetId");
3881
+ const [r, s] = q(Wt, {
3847
3882
  isLoading: !0,
3848
3883
  isError: !1,
3849
3884
  isSuccess: !1,
@@ -3853,37 +3888,37 @@ const $o = (e) => {
3853
3888
  }), i = V(), a = async (o) => {
3854
3889
  try {
3855
3890
  s({ type: "loading" });
3856
- const { filters: u, ...c } = C(e), { filters: f } = on(ze(u)), {
3857
- data: d,
3891
+ const { filters: u, ...c } = O(e), { filters: d } = un(Ye(u)), {
3892
+ data: f,
3858
3893
  query: l,
3859
3894
  pivotQuery: g
3860
- } = await Vn({
3895
+ } = await Hn({
3861
3896
  ...c,
3862
- filters: f,
3897
+ filters: d,
3863
3898
  app: o
3864
3899
  });
3865
- s({ type: "success", data: d }), t.value = l, n.value = g;
3900
+ s({ type: "success", data: f }), t.value = l, n.value = g;
3866
3901
  } catch (u) {
3867
3902
  s({ type: "error", error: u });
3868
3903
  }
3869
3904
  };
3870
- return M(
3871
- [...I(e), i],
3905
+ return T(
3906
+ [...R(e), i],
3872
3907
  () => {
3873
- const { app: o } = i.value, { enabled: u } = C(e);
3908
+ const { app: o } = i.value, { enabled: u } = O(e);
3874
3909
  !o || !(u === void 0 || u === !0) || a(o);
3875
3910
  },
3876
3911
  { immediate: !0 }
3877
3912
  ), {
3878
- ...L(r.value),
3913
+ ...A(r.value),
3879
3914
  query: t,
3880
3915
  pivotQuery: n
3881
3916
  };
3882
- }, Io = (e) => {
3883
- _("useExecuteCsvQuery");
3884
- const t = new qt(Kn, [
3885
- Vt()
3886
- ]), [n, r] = Kt({
3917
+ }, Ko = (e) => {
3918
+ M("useExecuteCsvQuery");
3919
+ const t = new Pe(Gn, [
3920
+ Ae()
3921
+ ]), [n, r] = Fe({
3887
3922
  isLoading: !0,
3888
3923
  isError: !1,
3889
3924
  isSuccess: !1,
@@ -3893,13 +3928,61 @@ const $o = (e) => {
3893
3928
  });
3894
3929
  return t.subscribe((s) => {
3895
3930
  r(s);
3896
- }), t.run(C(e)), M([...I(e)], () => {
3897
- t.run(C(e));
3898
- }), Rt(() => {
3931
+ }), t.run(O(e)), T([...R(e)], () => {
3932
+ t.run(O(e));
3933
+ }), De(() => {
3934
+ t.destroy();
3935
+ }), A(n.value);
3936
+ }, Ho = (e) => {
3937
+ M("useExecuteCustomWidgetQuery");
3938
+ const t = new Pe(zn, [
3939
+ Ae()
3940
+ ]), [n, r] = Fe({
3941
+ data: void 0,
3942
+ isLoading: !0,
3943
+ isError: !1,
3944
+ isSuccess: !1,
3945
+ status: "loading",
3946
+ error: void 0
3947
+ });
3948
+ return t.subscribe((s) => {
3949
+ r(s);
3950
+ }), t.run(O(e)), T([...R(e)], () => {
3951
+ t.run(O(e));
3952
+ }), De(() => {
3899
3953
  t.destroy();
3900
- }), L(n.value);
3901
- }, _o = (e) => {
3902
- _("useGetDashboardModel");
3954
+ }), A(n.value);
3955
+ }, Go = (e) => {
3956
+ M("useGetFilterMembers");
3957
+ const { filter: t, parentFilters: n = [] } = O(e), r = {
3958
+ selectedMembers: [],
3959
+ allMembers: [],
3960
+ ...Wa(t) ? {
3961
+ excludeMembers: t.config.excludeMembers,
3962
+ enableMultiSelection: t.config.enableMultiSelection,
3963
+ hasBackgroundFilter: !!t.config.backgroundFilter && n.length === 0
3964
+ } : {
3965
+ excludeMembers: !1,
3966
+ enableMultiSelection: !1,
3967
+ hasBackgroundFilter: !1
3968
+ }
3969
+ }, s = new Pe(Jn, [Ae()]), [i, a] = Fe({
3970
+ isLoading: !0,
3971
+ isError: !1,
3972
+ isSuccess: !1,
3973
+ status: "loading",
3974
+ error: void 0,
3975
+ data: r
3976
+ });
3977
+ return s.subscribe((o) => {
3978
+ a(o);
3979
+ }), s.run(O(e)), T([...R(e)], () => {
3980
+ s.run(O(e));
3981
+ }), De(() => {
3982
+ s.destroy();
3983
+ }), A(i.value);
3984
+ }, zo = (e) => {
3985
+ M("useGetDashboardModel");
3903
3986
  const [t, n] = q(X, {
3904
3987
  isLoading: !0,
3905
3988
  isError: !1,
@@ -3910,27 +3993,27 @@ const $o = (e) => {
3910
3993
  }), r = V(), s = async (a) => {
3911
3994
  try {
3912
3995
  n({ type: "loading" });
3913
- const { dashboardOid: o, includeWidgets: u, includeFilters: c } = C(e), f = await Wn(a.httpClient, o, {
3996
+ const { dashboardOid: o, includeWidgets: u, includeFilters: c } = O(e), d = await Yn(a.httpClient, o, {
3914
3997
  includeWidgets: u,
3915
3998
  includeFilters: c
3916
3999
  });
3917
- n({ type: "success", data: f });
4000
+ n({ type: "success", data: d });
3918
4001
  } catch (o) {
3919
4002
  n({ type: "error", error: o });
3920
4003
  }
3921
4004
  };
3922
- M(
3923
- [...I(e), r],
4005
+ T(
4006
+ [...R(e), r],
3924
4007
  () => {
3925
- const { app: a } = r.value, { enabled: o } = C(e);
4008
+ const { app: a } = r.value, { enabled: o } = O(e);
3926
4009
  !a || !(o === void 0 || o === !0) || s(a);
3927
4010
  },
3928
4011
  { immediate: !0 }
3929
4012
  );
3930
- const i = L(t.value);
3931
- return L(Hn(i));
3932
- }, ko = (e) => {
3933
- _("useGetDashboardModels");
4013
+ const i = A(t.value);
4014
+ return A(Qn(i));
4015
+ }, Jo = (e) => {
4016
+ M("useGetDashboardModels");
3934
4017
  const [t, n] = q(X, {
3935
4018
  isLoading: !0,
3936
4019
  isError: !1,
@@ -3941,24 +4024,24 @@ const $o = (e) => {
3941
4024
  }), r = V(), s = async (a) => {
3942
4025
  try {
3943
4026
  n({ type: "loading" });
3944
- const o = C(e), u = await Gn(a.httpClient, o);
4027
+ const o = O(e), u = await Xn(a.httpClient, o);
3945
4028
  n({ type: "success", data: u });
3946
4029
  } catch (o) {
3947
4030
  n({ type: "error", error: o });
3948
4031
  }
3949
4032
  };
3950
- M(
3951
- [...I(e), r],
4033
+ T(
4034
+ [...R(e), r],
3952
4035
  () => {
3953
- const { app: a } = r.value, { enabled: o } = C(e);
4036
+ const { app: a } = r.value, { enabled: o } = O(e);
3954
4037
  !a || !(o === void 0 || o === !0) || s(a);
3955
4038
  },
3956
4039
  { immediate: !0 }
3957
4040
  );
3958
- const i = L(t.value);
3959
- return L(zn(i));
3960
- }, Bo = (e) => {
3961
- _("useGetSharedFormula");
4041
+ const i = A(t.value);
4042
+ return A(Zn(i));
4043
+ }, Qo = (e) => {
4044
+ M("useGetSharedFormula");
3962
4045
  const [t, n] = q(X, {
3963
4046
  isLoading: !0,
3964
4047
  isError: !1,
@@ -3968,28 +4051,28 @@ const $o = (e) => {
3968
4051
  data: void 0
3969
4052
  }), r = V(), s = (a) => {
3970
4053
  n({ type: "loading" });
3971
- const { dataSource: o, name: u, oid: c } = C(e);
3972
- let f = Promise.resolve(null);
3973
- c ? f = Qn(c, a) : u && o && (f = Yn(u, o, a)), f.then((d) => {
3974
- n({ type: "success", data: d });
3975
- }).catch((d) => {
3976
- n({ type: "error", error: d });
4054
+ const { dataSource: o, name: u, oid: c } = O(e);
4055
+ let d = Promise.resolve(null);
4056
+ c ? d = tr(c, a) : u && o && (d = nr(u, o, a)), d.then((f) => {
4057
+ n({ type: "success", data: f });
4058
+ }).catch((f) => {
4059
+ n({ type: "error", error: f });
3977
4060
  });
3978
4061
  };
3979
- M(
3980
- [...I(e), r],
4062
+ T(
4063
+ [...R(e), r],
3981
4064
  () => {
3982
- const { app: a } = r.value, { enabled: o } = C(e);
4065
+ const { app: a } = r.value, { enabled: o } = O(e);
3983
4066
  !a || !(o === void 0 || o === !0) || s(a);
3984
4067
  },
3985
4068
  { immediate: !0 }
3986
4069
  );
3987
- const i = L(t.value);
3988
- return L(
3989
- Jn(i)
4070
+ const i = A(t.value);
4071
+ return A(
4072
+ er(i)
3990
4073
  );
3991
- }, Uo = (e) => {
3992
- _("useGetWidgetModel");
4074
+ }, Yo = (e) => {
4075
+ M("useGetWidgetModel");
3993
4076
  const [t, n] = q(X, {
3994
4077
  isLoading: !0,
3995
4078
  isError: !1,
@@ -4000,22 +4083,22 @@ const $o = (e) => {
4000
4083
  }), r = V(), s = async (i) => {
4001
4084
  try {
4002
4085
  n({ type: "loading" });
4003
- const { dashboardOid: a, widgetOid: o } = C(e), u = await Zn(i.httpClient, a, o);
4086
+ const { dashboardOid: a, widgetOid: o } = O(e), u = await rr(i.httpClient, a, o);
4004
4087
  n({ type: "success", data: u });
4005
4088
  } catch (a) {
4006
4089
  n({ type: "error", error: a });
4007
4090
  }
4008
4091
  };
4009
- return M(
4010
- [...I(e), r],
4092
+ return T(
4093
+ [...R(e), r],
4011
4094
  () => {
4012
- const { app: i } = r.value, { enabled: a } = C(e);
4095
+ const { app: i } = r.value, { enabled: a } = O(e);
4013
4096
  !i || !(a === void 0 || a === !0) || s(i);
4014
4097
  },
4015
4098
  { immediate: !0 }
4016
- ), L(t.value);
4017
- }, qo = (e) => {
4018
- _("useGetHierarchyModels");
4099
+ ), A(t.value);
4100
+ }, Zo = (e) => {
4101
+ M("useGetHierarchyModels");
4019
4102
  const [t, n] = q(X, {
4020
4103
  isLoading: !0,
4021
4104
  isError: !1,
@@ -4026,21 +4109,21 @@ const $o = (e) => {
4026
4109
  }), r = V(), s = async (i) => {
4027
4110
  try {
4028
4111
  n({ type: "loading" });
4029
- const a = await Xn(i.httpClient, C(e));
4112
+ const a = await sr(i.httpClient, O(e));
4030
4113
  n({ type: "success", data: a });
4031
4114
  } catch (a) {
4032
4115
  n({ type: "error", error: a });
4033
4116
  }
4034
4117
  };
4035
- return M(
4036
- [...I(e), r],
4118
+ return T(
4119
+ [...R(e), r],
4037
4120
  () => {
4038
- const { app: i } = r.value, { enabled: a } = C(e);
4121
+ const { app: i } = r.value, { enabled: a } = O(e);
4039
4122
  !i || !(a === void 0 || a === !0) || s(i);
4040
4123
  },
4041
4124
  { immediate: !0 }
4042
- ), L(t.value);
4043
- }, Vo = (e, t, n) => {
4125
+ ), A(t.value);
4126
+ }, Xo = (e, t, n) => {
4044
4127
  const [r, s] = q(X, {
4045
4128
  isLoading: !0,
4046
4129
  isError: !1,
@@ -4051,46 +4134,89 @@ const $o = (e) => {
4051
4134
  }), i = V(), a = async (o) => {
4052
4135
  try {
4053
4136
  s({ type: "loading" });
4054
- const u = ze(e), c = t ? C(t) : {}, f = n ? C(n) : {}, d = {
4055
- requestConfig: f.requestConfig ? C(f.requestConfig) : {},
4137
+ const u = Ye(e), c = t ? O(t) : {}, d = n ? O(n) : {}, f = {
4138
+ requestConfig: d.requestConfig ? O(d.requestConfig) : {},
4056
4139
  skipTrackingParam: !0
4057
4140
  }, l = await o.call(
4058
4141
  o.url + u,
4059
4142
  c,
4060
- d
4143
+ f
4061
4144
  );
4062
4145
  s({ type: "success", data: l });
4063
4146
  } catch (u) {
4064
4147
  s({ type: "error", error: u });
4065
4148
  }
4066
4149
  };
4067
- return M(
4068
- [...I(e, t, n), i],
4150
+ return T(
4151
+ [...R(e, t, n), i],
4069
4152
  () => {
4070
- const { app: o } = i.value, u = C(n || {}).enabled;
4153
+ const { app: o } = i.value, u = O(n || {}).enabled;
4071
4154
  !o || !(u === void 0 || u === !0) || a(o.httpClient);
4072
4155
  },
4073
4156
  { immediate: !0 }
4074
- ), L(r.value);
4075
- }, Ko = () => er().value, Ho = (e, t = {}) => {
4076
- _("useComposedDashboard");
4077
- const n = new qt(tr, [
4078
- Vt()
4079
- ]), [r, s] = Kt(C(e));
4157
+ ), A(r.value);
4158
+ };
4159
+ function za(e, t) {
4160
+ const n = document.createElement("div");
4161
+ n.style.width = "100%", n.style.height = "100%";
4162
+ const r = dn(e, t);
4163
+ return r.mount(n), {
4164
+ element: n,
4165
+ app: r,
4166
+ destroy: () => {
4167
+ n.remove(), r.unmount();
4168
+ }
4169
+ };
4170
+ }
4171
+ const eu = () => {
4172
+ const e = ir();
4173
+ return {
4174
+ /**
4175
+ * Registers a new custom widget.
4176
+ *
4177
+ * @param customWidgetType - The unique identifier for the custom widget type.
4178
+ * @param customWidget - The custom widget component to register.
4179
+ */
4180
+ registerCustomWidget: (t, n) => {
4181
+ const r = (s) => {
4182
+ const i = za(n, s);
4183
+ return ar(
4184
+ i.element,
4185
+ () => i.destroy()
4186
+ );
4187
+ };
4188
+ e.value.customWidgetsMap.has(t) || e.value.customWidgetsMap.set(
4189
+ t,
4190
+ r
4191
+ );
4192
+ },
4193
+ /**
4194
+ * Checks if a custom widget is registered.
4195
+ *
4196
+ * @param customWidgetType - The type of the custom widget.
4197
+ * @returns True if the custom widget is registered, false otherwise.
4198
+ */
4199
+ hasCustomWidget: (t) => e.value.customWidgetsMap.has(t)
4200
+ };
4201
+ }, tu = (e, t = {}) => {
4202
+ M("useComposedDashboard");
4203
+ const n = new Pe(or, [
4204
+ Ae()
4205
+ ]), [r, s] = Fe(O(e));
4080
4206
  n.subscribe(({ dashboard: o }) => {
4081
4207
  s(o);
4082
- }), n.run(C(e), t), M([...I(e)], () => {
4083
- n.run(C(e), t);
4084
- }), Rt(() => {
4208
+ }), n.run(O(e), t), T([...R(e)], () => {
4209
+ n.run(O(e), t);
4210
+ }), De(() => {
4085
4211
  n.destroy();
4086
4212
  });
4087
- const i = st(n, "setFilters"), a = st(n, "setWidgetsLayout");
4213
+ const i = ut(n, "setFilters"), a = ut(n, "setWidgetsLayout");
4088
4214
  return {
4089
4215
  dashboard: r,
4090
4216
  setFilters: i,
4091
4217
  setWidgetsLayout: a
4092
4218
  };
4093
- }, qa = y({
4219
+ }, Ja = y({
4094
4220
  props: {
4095
4221
  /**
4096
4222
  * {@inheritDoc @sisense/sdk-ui!ContextMenuProps.closeContextMenu}
@@ -4108,8 +4234,8 @@ const $o = (e) => {
4108
4234
  */
4109
4235
  position: Object
4110
4236
  },
4111
- setup: (e, { slots: t }) => $t(nr, e, t, [])
4112
- }), Va = ({
4237
+ setup: (e, { slots: t }) => _t(ur, e, t, [])
4238
+ }), Qa = ({
4113
4239
  drilldownPaths: e,
4114
4240
  initialDimension: t
4115
4241
  }) => {
@@ -4117,42 +4243,42 @@ const $o = (e) => {
4117
4243
  throw new Error(
4118
4244
  "Initial dimension has to be specified to use drilldown with custom components"
4119
4245
  );
4120
- const n = B([]), r = B(), s = B([]), i = B([]), a = Be(() => [
4121
- rr(t),
4246
+ const n = B([]), r = B(), s = B([]), i = B([]), a = We(() => [
4247
+ lr(t),
4122
4248
  ...n.value.map(({ nextDimension: l }) => l)
4123
- ]), o = Be(
4249
+ ]), o = We(
4124
4250
  () => e.value.filter((l) => {
4125
4251
  if (b.isAttribute(l)) {
4126
4252
  const m = l;
4127
4253
  return a.value.every(
4128
- (h) => !it(h, m)
4254
+ (h) => !lt(h, m)
4129
4255
  );
4130
4256
  }
4131
4257
  const p = l;
4132
4258
  return a.value.every(
4133
- (m, h) => it(m, p.levels[h])
4259
+ (m, h) => lt(m, p.levels[h])
4134
4260
  );
4135
4261
  })
4136
4262
  ), u = (l, g, p) => {
4137
- n.value = sr(
4263
+ n.value = cr(
4138
4264
  n.value,
4139
4265
  l,
4140
4266
  g,
4141
4267
  p
4142
- ), d();
4268
+ ), f();
4143
4269
  }, c = (l) => {
4144
- n.value = n.value.slice(0, l), d();
4145
- }, f = () => {
4146
- n.value = [], d();
4270
+ n.value = n.value.slice(0, l), f();
4147
4271
  }, d = () => {
4148
- const l = (p) => p === "drilldown.breadcrumbsAllSuffix" ? "All" : p, g = ir(
4272
+ n.value = [], f();
4273
+ }, f = () => {
4274
+ const l = (p) => p === "drilldown.breadcrumbsAllSuffix" ? "All" : p, g = dr(
4149
4275
  n.value,
4150
4276
  t,
4151
4277
  l
4152
4278
  );
4153
4279
  r.value = g.drilldownDimension, s.value = g.drilldownFilters, i.value = g.drilldownFiltersDisplayValues;
4154
4280
  };
4155
- return d(), {
4281
+ return f(), {
4156
4282
  drilldownSelections: n,
4157
4283
  availableDrilldownPaths: o,
4158
4284
  drilldownDimension: r,
@@ -4160,9 +4286,9 @@ const $o = (e) => {
4160
4286
  drilldownFiltersDisplayValues: i,
4161
4287
  selectDrilldown: u,
4162
4288
  sliceDrilldownSelections: c,
4163
- clearDrilldownSelections: f
4289
+ clearDrilldownSelections: d
4164
4290
  };
4165
- }, Ka = y({
4291
+ }, Ya = y({
4166
4292
  props: {
4167
4293
  /**
4168
4294
  * {@inheritDoc @sisense/sdk-ui!DrilldownWidgetProps.config}
@@ -4198,33 +4324,33 @@ const $o = (e) => {
4198
4324
  },
4199
4325
  setup: () => {
4200
4326
  }
4201
- }), Ha = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, Wa = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, Wo = /* @__PURE__ */ y({
4327
+ }), Za = { style: { display: "flex", "flex-direction": "column", height: "100%" } }, Xa = { style: { "flex-grow": "1", "min-wdith": "0", "min-height": "0" } }, nu = /* @__PURE__ */ y({
4202
4328
  __name: "drilldown-widget",
4203
- props: Ka.props,
4329
+ props: Ya.props,
4204
4330
  setup(e) {
4205
- const t = e, { drilldownPaths: n, initialDimension: r, config: s } = L(t), i = B(null), a = B([]), {
4331
+ const t = e, { drilldownPaths: n, initialDimension: r, config: s } = A(t), i = B(null), a = B([]), {
4206
4332
  drilldownFilters: o,
4207
4333
  // computed
4208
4334
  drilldownDimension: u,
4209
4335
  // computed
4210
4336
  drilldownFiltersDisplayValues: c,
4211
4337
  // computed
4212
- availableDrilldownPaths: f,
4338
+ availableDrilldownPaths: d,
4213
4339
  // computed
4214
- selectDrilldown: d,
4340
+ selectDrilldown: f,
4215
4341
  sliceDrilldownSelections: l,
4216
4342
  clearDrilldownSelections: g
4217
- } = Va({
4343
+ } = Qa({
4218
4344
  drilldownPaths: n,
4219
4345
  initialDimension: r.value
4220
4346
  }), p = (D) => {
4221
- d(a.value, D);
4222
- }, m = Be(() => {
4223
- const D = (x) => x === "drilldown.drillMenuItem" ? "Drill" : x;
4347
+ f(a.value, D);
4348
+ }, m = We(() => {
4349
+ const D = (C) => C === "drilldown.drillMenuItem" ? "Drill" : C;
4224
4350
  return [
4225
- ar(a.value, u.value),
4226
- or(
4227
- f.value,
4351
+ fr(a.value, u.value),
4352
+ pr(
4353
+ d.value,
4228
4354
  u.value,
4229
4355
  p,
4230
4356
  D
@@ -4232,22 +4358,22 @@ const $o = (e) => {
4232
4358
  ];
4233
4359
  }), h = (D) => {
4234
4360
  i.value = D;
4235
- }, v = (D) => {
4361
+ }, x = (D) => {
4236
4362
  a.value = D;
4237
4363
  }, w = () => {
4238
4364
  i.value = null;
4239
4365
  };
4240
- return (D, x) => (cn(), fn("div", Ha, [
4241
- Le(D.$slots, "contextMenu", {
4366
+ return (D, C) => (fn(), pn("div", Za, [
4367
+ Re(D.$slots, "contextMenu", {
4242
4368
  contextMenuProps: { position: i.value, itemSections: m.value, closeContextMenu: w }
4243
4369
  }, () => [
4244
- nt(E(qa), {
4370
+ at(E(Ja), {
4245
4371
  position: i.value,
4246
4372
  itemSections: m.value,
4247
4373
  closeContextMenu: w
4248
4374
  }, null, 8, ["position", "itemSections"])
4249
4375
  ]),
4250
- Le(D.$slots, "breadcrumbs", {
4376
+ Re(D.$slots, "breadcrumbs", {
4251
4377
  drilldownBreadcrumbsProps: {
4252
4378
  clearDrilldownSelections: E(g),
4253
4379
  sliceDrilldownSelections: E(l),
@@ -4255,24 +4381,24 @@ const $o = (e) => {
4255
4381
  drilldownDimension: E(u)
4256
4382
  }
4257
4383
  }, () => [
4258
- nt(E(hr), {
4384
+ at(E(vr), {
4259
4385
  "clear-drilldown-selections": E(g),
4260
4386
  "slice-drilldown-selections": E(l),
4261
4387
  "filters-display-values": E(c),
4262
4388
  "current-dimension": E(u)
4263
4389
  }, null, 8, ["clear-drilldown-selections", "slice-drilldown-selections", "filters-display-values", "current-dimension"])
4264
4390
  ]),
4265
- dn("div", Wa, [
4266
- Le(D.$slots, "chart", {
4391
+ gn("div", Xa, [
4392
+ Re(D.$slots, "chart", {
4267
4393
  drilldownFilters: E(o),
4268
4394
  drilldownDimension: E(u),
4269
- onDataPointsSelected: v,
4395
+ onDataPointsSelected: x,
4270
4396
  onContextMenu: h
4271
4397
  })
4272
4398
  ])
4273
4399
  ]));
4274
4400
  }
4275
- }), zo = y({
4401
+ }), ru = y({
4276
4402
  props: {
4277
4403
  /**
4278
4404
  * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.bottomSlot}
@@ -4407,8 +4533,8 @@ const $o = (e) => {
4407
4533
  */
4408
4534
  onDataReady: Function
4409
4535
  },
4410
- setup: (e) => S(ur, e)
4411
- }), Go = y({
4536
+ setup: (e) => S(gr, e)
4537
+ }), su = y({
4412
4538
  props: {
4413
4539
  /** @internal */
4414
4540
  bottomSlot: Object,
@@ -4519,8 +4645,8 @@ const $o = (e) => {
4519
4645
  */
4520
4646
  onDataReady: Function
4521
4647
  },
4522
- setup: (e) => S(lr, e)
4523
- }), Jo = y({
4648
+ setup: (e) => S(hr, e)
4649
+ }), iu = y({
4524
4650
  props: {
4525
4651
  bottomSlot: Object,
4526
4652
  dataOptions: {
@@ -4535,8 +4661,8 @@ const $o = (e) => {
4535
4661
  topSlot: Object,
4536
4662
  widgetStyleOptions: Object
4537
4663
  },
4538
- setup: (e) => S(cr, e)
4539
- }), Qo = y({
4664
+ setup: (e) => S(mr, e)
4665
+ }), au = y({
4540
4666
  props: {
4541
4667
  /**
4542
4668
  * Unique identifier of the widget
@@ -4563,11 +4689,11 @@ const $o = (e) => {
4563
4689
  */
4564
4690
  chartType: String,
4565
4691
  /**
4566
- * {@inheritDoc @sisense/sdk-ui!PluginWidgetProps.pluginType}
4692
+ * {@inheritDoc @sisense/sdk-ui!CustomWidgetProps.customWidgetType}
4567
4693
  *
4568
4694
  * @category Widget
4569
4695
  */
4570
- pluginType: String,
4696
+ customWidgetType: String,
4571
4697
  /**
4572
4698
  * {@inheritDoc @sisense/sdk-ui!ChartWidgetProps.dataSource}
4573
4699
  *
@@ -4661,8 +4787,8 @@ const $o = (e) => {
4661
4787
  */
4662
4788
  onDataPointsSelected: Function
4663
4789
  },
4664
- setup: (e) => S(fr, e)
4665
- }), Yo = y({
4790
+ setup: (e) => S(yr, e)
4791
+ }), ou = y({
4666
4792
  props: {
4667
4793
  /**
4668
4794
  * {@inheritDoc @sisense/sdk-ui!DashboardByIdProps.dashboardOid}
@@ -4676,8 +4802,8 @@ const $o = (e) => {
4676
4802
  */
4677
4803
  config: Object
4678
4804
  },
4679
- setup: (e) => S(dr, e)
4680
- }), Zo = y({
4805
+ setup: (e) => S(br, e)
4806
+ }), uu = y({
4681
4807
  props: {
4682
4808
  /**
4683
4809
  * {@inheritDoc @sisense/sdk-ui!DashboardProps.title}
@@ -4721,105 +4847,109 @@ const $o = (e) => {
4721
4847
  */
4722
4848
  tabbersOptions: Object
4723
4849
  },
4724
- setup: (e) => S(pr, e)
4850
+ setup: (e) => S(Sr, e)
4725
4851
  });
4726
- function za(e) {
4727
- return gr.toDashboardProps(e);
4852
+ function eo(e) {
4853
+ return Or.toDashboardProps(e);
4728
4854
  }
4729
- const Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4855
+ const lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4730
4856
  __proto__: null,
4731
- toDashboardProps: za
4732
- }, Symbol.toStringTag, { value: "Module" })), Ga = (e, t) => ee.replaceFilters(e, t), Ja = (e, t) => ee.addFilter(e, t), Qa = (e, t) => ee.addFilters(e, t), Ya = (e, t, n) => ee.replaceFilter(
4857
+ toDashboardProps: eo
4858
+ }, Symbol.toStringTag, { value: "Module" })), to = (e, t) => ee.replaceFilters(e, t), no = (e, t) => ee.addFilter(e, t), ro = (e, t) => ee.addFilters(e, t), so = (e, t, n) => ee.replaceFilter(
4733
4859
  e,
4734
4860
  t,
4735
4861
  n
4736
- ), Za = (e, t) => ee.removeFilter(e, t), Xa = (e, t) => ee.removeFilters(e, t), eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4862
+ ), io = (e, t) => ee.removeFilter(e, t), ao = (e, t) => ee.removeFilters(e, t), cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4737
4863
  __proto__: null,
4738
- addFilter: Ja,
4739
- addFilters: Qa,
4740
- removeFilter: Za,
4741
- removeFilters: Xa,
4742
- replaceFilter: Ya,
4743
- replaceFilters: Ga
4744
- }, Symbol.toStringTag, { value: "Module" })), eo = (e) => K.toExecuteQueryParams(e), to = (e) => K.toExecutePivotQueryParams(e);
4745
- function no(e) {
4746
- return K.toChartProps(e);
4864
+ addFilter: no,
4865
+ addFilters: ro,
4866
+ removeFilter: io,
4867
+ removeFilters: ao,
4868
+ replaceFilter: so,
4869
+ replaceFilters: to
4870
+ }, Symbol.toStringTag, { value: "Module" })), oo = (e) => W.toExecuteQueryParams(e), uo = (e) => W.toExecutePivotQueryParams(e);
4871
+ function lo(e) {
4872
+ return W.toChartProps(e);
4747
4873
  }
4748
- function ro(e) {
4749
- return K.toTableProps(e);
4874
+ function co(e) {
4875
+ return W.toTableProps(e);
4750
4876
  }
4751
- function so(e) {
4752
- return K.toPivotTableProps(e);
4877
+ function fo(e) {
4878
+ return W.toPivotTableProps(e);
4753
4879
  }
4754
- function io(e) {
4755
- return K.toChartWidgetProps(e);
4880
+ function po(e) {
4881
+ return W.toChartWidgetProps(e);
4756
4882
  }
4757
- function ao(e) {
4758
- return K.toPivotTableWidgetProps(e);
4883
+ function go(e) {
4884
+ return W.toPivotTableWidgetProps(e);
4759
4885
  }
4760
- function oo(e) {
4761
- return K.toTextWidgetProps(e);
4886
+ function ho(e) {
4887
+ return W.toTextWidgetProps(e);
4762
4888
  }
4763
- const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4889
+ const du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4764
4890
  __proto__: null,
4765
- toChartProps: no,
4766
- toChartWidgetProps: io,
4767
- toExecutePivotQueryParams: to,
4768
- toExecuteQueryParams: eo,
4769
- toPivotTableProps: so,
4770
- toPivotTableWidgetProps: ao,
4771
- toTableProps: ro,
4772
- toTextWidgetProps: oo
4891
+ toChartProps: lo,
4892
+ toChartWidgetProps: po,
4893
+ toExecutePivotQueryParams: uo,
4894
+ toExecuteQueryParams: oo,
4895
+ toPivotTableProps: fo,
4896
+ toPivotTableWidgetProps: go,
4897
+ toTableProps: co,
4898
+ toTextWidgetProps: ho
4773
4899
  }, Symbol.toStringTag, { value: "Module" }));
4774
4900
  export {
4775
- fo as AreaChart,
4776
- Fo as AreaRangeChart,
4777
- Po as AreamapChart,
4778
- po as BarChart,
4779
- jo as BoxplotChart,
4780
- Do as Chart,
4781
- zo as ChartWidget,
4782
- go as ColumnChart,
4783
- qa as ContextMenu,
4784
- No as CriteriaFilterTile,
4785
- Zo as Dashboard,
4786
- Yo as DashboardById,
4787
- Lo as DateRangeFilterTile,
4788
- hr as DrilldownBreadcrumbs,
4789
- Wo as DrilldownWidget,
4790
- Ro as FilterTile,
4791
- ho as FunnelChart,
4792
- wo as IndicatorChart,
4793
- mo as LineChart,
4794
- Eo as MemberFilterTile,
4795
- yo as PieChart,
4796
- Oo as PivotTable,
4797
- su as PluginsProvider,
4798
- Co as PolarChart,
4799
- To as RelativeDateFilterTile,
4800
- bo as ScatterChart,
4801
- Ao as ScattermapChart,
4802
- iu as SisenseContextProvider,
4803
- xo as SunburstChart,
4804
- So as Table,
4805
- Jo as TableWidget,
4806
- au as ThemeProvider,
4807
- vo as TreemapChart,
4808
- Qo as Widget,
4809
- Go as WidgetById,
4810
- ou as boxWhiskerProcessResult,
4811
- eu as dashboardHelpers,
4812
- Xo as dashboardModelTranslator,
4813
- Ho as useComposedDashboard,
4814
- Io as useExecuteCsvQuery,
4815
- $o as useExecuteQuery,
4816
- Mo as useExecuteQueryByWidgetId,
4817
- Vo as useFetch,
4818
- _o as useGetDashboardModel,
4819
- ko as useGetDashboardModels,
4820
- qo as useGetHierarchyModels,
4821
- Bo as useGetSharedFormula,
4822
- Uo as useGetWidgetModel,
4823
- Ko as usePlugins,
4824
- tu as widgetModelTranslator
4901
+ So as AreaChart,
4902
+ $o as AreaRangeChart,
4903
+ Ro as AreamapChart,
4904
+ Oo as BarChart,
4905
+ To as BoxplotChart,
4906
+ No as Chart,
4907
+ ru as ChartWidget,
4908
+ vo as ColumnChart,
4909
+ Ja as ContextMenu,
4910
+ ko as CriteriaFilterTile,
4911
+ gu as CustomWidgetsProvider,
4912
+ uu as Dashboard,
4913
+ ou as DashboardById,
4914
+ Io as DateRangeFilterTile,
4915
+ vr as DrilldownBreadcrumbs,
4916
+ nu as DrilldownWidget,
4917
+ Uo as FilterTile,
4918
+ qo as FiltersPanel,
4919
+ xo as FunnelChart,
4920
+ Eo as IndicatorChart,
4921
+ Co as LineChart,
4922
+ _o as MemberFilterTile,
4923
+ wo as PieChart,
4924
+ Po as PivotTable,
4925
+ Lo as PolarChart,
4926
+ Bo as RelativeDateFilterTile,
4927
+ Do as ScatterChart,
4928
+ Mo as ScattermapChart,
4929
+ hu as SisenseContextProvider,
4930
+ Fo as SunburstChart,
4931
+ jo as Table,
4932
+ iu as TableWidget,
4933
+ mu as ThemeProvider,
4934
+ Ao as TreemapChart,
4935
+ au as Widget,
4936
+ su as WidgetById,
4937
+ yu as boxWhiskerProcessResult,
4938
+ cu as dashboardHelpers,
4939
+ lu as dashboardModelTranslator,
4940
+ bu as extractDimensionsAndMeasures,
4941
+ tu as useComposedDashboard,
4942
+ eu as useCustomWidgets,
4943
+ Ko as useExecuteCsvQuery,
4944
+ Ho as useExecuteCustomWidgetQuery,
4945
+ Vo as useExecuteQuery,
4946
+ Wo as useExecuteQueryByWidgetId,
4947
+ Xo as useFetch,
4948
+ zo as useGetDashboardModel,
4949
+ Jo as useGetDashboardModels,
4950
+ Go as useGetFilterMembers,
4951
+ Zo as useGetHierarchyModels,
4952
+ Qo as useGetSharedFormula,
4953
+ Yo as useGetWidgetModel,
4954
+ du as widgetModelTranslator
4825
4955
  };