@hybridcore/ui 1.6.7 → 1.6.9

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 (48) hide show
  1. package/dist/AnimatedTheme-BOKdw2Oy.js +7708 -0
  2. package/dist/{AxisRenderer-DTyLLA6c.js → AxisRenderer-lUbezuh7.js} +51 -49
  3. package/dist/{AxisRendererY-C_ItLPNV.js → AxisRendererY-DbSiyb45.js} +3 -3
  4. package/dist/{Bullet-DVczI2TD.js → Bullet-PgoNb3Jv.js} +1 -1
  5. package/dist/{Button-CcsPEIDh.js → Button-XBf4Mwz-.js} +3 -3
  6. package/dist/{CategoryAxis-CwnfaGc8.js → CategoryAxis-B8KQp1pE.js} +3 -3
  7. package/dist/{Circle-Cy5s-pVc.js → Circle-BWRdiMpG.js} +1 -1
  8. package/dist/ColorSet-DDmFoKtZ.js +77 -0
  9. package/dist/{ColumnSeries-CjgdJ2QL.js → ColumnSeries-rgnGm-Bg.js} +4 -4
  10. package/dist/{DataProcessor-CHDO51q4.js → DataProcessor-CvIe9BVn.js} +1 -1
  11. package/dist/{DateAxis-YX3QNIB-.js → DateAxis-zNtbSVjW.js} +8 -7
  12. package/dist/{ColorSet-C7vpNXhM.js → Entity-CCUIdRAr.js} +638 -712
  13. package/dist/{Hierarchy-Bihj0S61.js → Hierarchy-CCvGsF1A.js} +25 -23
  14. package/dist/{Legend-Dp_MKfS4.js → Legend-kbCFjJAW.js} +11 -10
  15. package/dist/{LineSeries-Uiv5o56b.js → LineSeries-BLFvwrLT.js} +13 -12
  16. package/dist/{LinearGradient-DiRq5YcI.js → LinearGradient-C7rnipF7.js} +11 -11
  17. package/dist/{PieSeries-B2fW3z0s.js → PieSeries-3iLRbqFv.js} +34 -32
  18. package/dist/{RoundedRectangle-CWLi2PXn.js → RoundedRectangle-CqMMmPM0.js} +4 -4
  19. package/dist/{Scrollbar-D86MJyr2.js → Scrollbar-BzSBcIUt.js} +4 -4
  20. package/dist/{Slice-B19rbYDZ.js → Slice-CS23iLiS.js} +2 -2
  21. package/dist/{Tick-2bcLyHpF.js → Tick-BADQ8QeT.js} +15 -15
  22. package/dist/Tooltip-A_HlttXp.js +3606 -0
  23. package/dist/{XYCursor-C8WktvKM.js → XYCursor-gHAo40xC.js} +3 -3
  24. package/dist/{ZoomableContainer-DYyqwaMb.js → ZoomableContainer-Brs1wHM1.js} +9 -9
  25. package/dist/components/charts/_common/tooltip.js +73 -0
  26. package/dist/components/charts/_common/utils.js +10 -9
  27. package/dist/components/charts/candlestick/logic.js +181 -156
  28. package/dist/components/charts/column-line-mix/logic.js +80 -77
  29. package/dist/components/charts/donut-chart/logic.js +36 -34
  30. package/dist/components/charts/drill-down-treemap/logic.js +49 -48
  31. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +102 -101
  32. package/dist/components/charts/heatmap/logic.js +33 -32
  33. package/dist/components/charts/highlighting-line-data/logic.js +26 -24
  34. package/dist/components/charts/line/logic.js +123 -174
  35. package/dist/components/charts/logaritmic-scale/logic.js +69 -60
  36. package/dist/components/charts/multiple-value-axes/logic.js +93 -88
  37. package/dist/components/charts/nested-pie/logic.js +3 -3
  38. package/dist/components/charts/packed-circles/logic.js +28 -27
  39. package/dist/components/charts/pie-chart/logic.js +43 -41
  40. package/dist/components/charts/stacked-area-radar/logic.js +124 -121
  41. package/dist/components/charts/stacked-column-chart/logic.js +107 -95
  42. package/dist/components/charts/xy-chart/logic.js +103 -91
  43. package/dist/components/metric-card/MetricChart.js +29 -28
  44. package/dist/components/metric-card/index.js +1 -1
  45. package/dist/components/metric-card/logic.js +74 -67
  46. package/dist/components/metric-card/styled.js +55 -46
  47. package/package.json +1 -1
  48. package/dist/AnimatedTheme-jnasw6rT.js +0 -11305
@@ -1,4 +1,4 @@
1
- function Q(s, e, t, i) {
1
+ function J(i, e, t, s) {
2
2
  function r(n) {
3
3
  return n instanceof t ? n : new t(function(a) {
4
4
  a(n);
@@ -7,14 +7,14 @@ function Q(s, e, t, i) {
7
7
  return new (t || (t = Promise))(function(n, a) {
8
8
  function u(f) {
9
9
  try {
10
- l(i.next(f));
10
+ l(s.next(f));
11
11
  } catch (d) {
12
12
  a(d);
13
13
  }
14
14
  }
15
15
  function o(f) {
16
16
  try {
17
- l(i.throw(f));
17
+ l(s.throw(f));
18
18
  } catch (d) {
19
19
  a(d);
20
20
  }
@@ -22,7 +22,7 @@ function Q(s, e, t, i) {
22
22
  function l(f) {
23
23
  f.done ? n(f.value) : r(f.value).then(u, o);
24
24
  }
25
- l((i = i.apply(s, e || [])).next());
25
+ l((s = s.apply(i, e || [])).next());
26
26
  });
27
27
  }
28
28
  class g {
@@ -91,230 +91,230 @@ class g {
91
91
  interpolate(e, t) {
92
92
  return e + this.value * (t - e);
93
93
  }
94
- static normalize(e, t, i) {
95
- return e instanceof g ? e : t === i ? new g(0) : new g(Math.min(Math.max((e - t) * (1 / (i - t)), 0), 1) * 100);
94
+ static normalize(e, t, s) {
95
+ return e instanceof g ? e : t === s ? new g(0) : new g(Math.min(Math.max((e - t) * (1 / (s - t)), 0), 1) * 100);
96
96
  }
97
97
  }
98
- function R(s) {
99
- return new g(s);
98
+ function I(i) {
99
+ return new g(i);
100
100
  }
101
- R(0);
102
- const Ie = R(100), Le = R(50);
103
- function Fe(s) {
104
- return s instanceof g;
101
+ I(0);
102
+ const Fe = I(100), Re = I(50);
103
+ function Ie(i) {
104
+ return i instanceof g;
105
105
  }
106
- function Y(s) {
107
- return Number(s) !== s;
106
+ function H(i) {
107
+ return Number(i) !== i;
108
108
  }
109
- function X(s) {
110
- return {}.toString.call(s);
109
+ function Q(i) {
110
+ return {}.toString.call(i);
111
111
  }
112
- function k(s) {
113
- if (s != null && !v(s)) {
114
- let e = Number(s);
115
- if (Y(e) && $(s) && s != "" && s.match(/[0-9]+/)) {
116
- const t = s.replace(/[^0-9.\-]+/g, "");
117
- return s === t ? e : k(t);
112
+ function X(i) {
113
+ if (i != null && !v(i)) {
114
+ let e = Number(i);
115
+ if (H(e) && z(i) && i != "" && i.match(/[0-9]+/)) {
116
+ const t = i.replace(/[^0-9.\-]+/g, "");
117
+ return i === t ? e : X(t);
118
118
  }
119
119
  return e;
120
120
  }
121
- return s;
121
+ return i;
122
122
  }
123
- function Re(s) {
124
- if (ee(s))
125
- return new Date(s);
126
- if (v(s))
127
- return new Date(s);
123
+ function Le(i) {
124
+ if (k(i))
125
+ return new Date(i);
126
+ if (v(i))
127
+ return new Date(i);
128
128
  {
129
- let e = Number(s);
130
- return v(e) ? new Date(e) : new Date(s);
129
+ let e = Number(i);
130
+ return v(e) ? new Date(e) : new Date(i);
131
131
  }
132
132
  }
133
- function Me(s) {
134
- if (Y(s))
133
+ function Ce(i) {
134
+ if (H(i))
135
135
  return "NaN";
136
- if (s === 1 / 0)
136
+ if (i === 1 / 0)
137
137
  return "Infinity";
138
- if (s === -1 / 0)
138
+ if (i === -1 / 0)
139
139
  return "-Infinity";
140
- if (s === 0 && 1 / s === -1 / 0)
140
+ if (i === 0 && 1 / i === -1 / 0)
141
141
  return "-0";
142
- let e = s < 0;
143
- s = Math.abs(s);
144
- let t = /^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec("" + s), i = t[1], r = t[2] || "", n;
142
+ let e = i < 0;
143
+ i = Math.abs(i);
144
+ let t = /^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec("" + i), s = t[1], r = t[2] || "", n;
145
145
  if (t[3] === void 0)
146
- n = r === "" ? i : i + "." + r;
146
+ n = r === "" ? s : s + "." + r;
147
147
  else {
148
148
  let a = +t[3];
149
- if (s < 1) {
149
+ if (i < 1) {
150
150
  let u = a - 1;
151
- n = "0." + K("0", u) + i + r;
151
+ n = "0." + M("0", u) + s + r;
152
152
  } else {
153
153
  let u = a - r.length;
154
- u === 0 ? n = i + r : u < 0 ? n = i + r.slice(0, u) + "." + r.slice(u) : n = i + r + K("0", u);
154
+ u === 0 ? n = s + r : u < 0 ? n = s + r.slice(0, u) + "." + r.slice(u) : n = s + r + M("0", u);
155
155
  }
156
156
  }
157
157
  return e ? "-" + n : n;
158
158
  }
159
- function K(s, e) {
160
- return new Array(e + 1).join(s);
159
+ function M(i, e) {
160
+ return new Array(e + 1).join(i);
161
161
  }
162
- function ee(s) {
163
- return X(s) === "[object Date]";
162
+ function k(i) {
163
+ return Q(i) === "[object Date]";
164
164
  }
165
- function $(s) {
166
- return typeof s == "string";
165
+ function z(i) {
166
+ return typeof i == "string";
167
167
  }
168
- function v(s) {
169
- return typeof s == "number" && Number(s) == s;
168
+ function v(i) {
169
+ return typeof i == "number" && Number(i) == i;
170
170
  }
171
- function Ne(s) {
172
- return typeof s == "object" && s !== null;
171
+ function Me(i) {
172
+ return typeof i == "object" && i !== null;
173
173
  }
174
- function Ke(s) {
175
- return Array.isArray(s);
174
+ function Ke(i) {
175
+ return Array.isArray(i);
176
176
  }
177
- const Be = "__§§§__", Ue = "__§§§§__";
178
- function I(s, e) {
179
- const t = s.length;
180
- for (let i = 0; i < t; ++i)
181
- if (s[i] === e)
182
- return i;
177
+ const Ne = "__§§§__", Be = "__§§§§__";
178
+ function F(i, e) {
179
+ const t = i.length;
180
+ for (let s = 0; s < t; ++s)
181
+ if (i[s] === e)
182
+ return s;
183
183
  return -1;
184
184
  }
185
- function te(s, e) {
186
- const t = s.length;
187
- for (let i = 0; i < t; ++i)
188
- if (e(s[i]))
185
+ function ee(i, e) {
186
+ const t = i.length;
187
+ for (let s = 0; s < t; ++s)
188
+ if (e(i[s]))
189
189
  return !0;
190
190
  return !1;
191
191
  }
192
- function He(s, e) {
193
- const t = s.length, i = new Array(t);
192
+ function Ue(i, e) {
193
+ const t = i.length, s = new Array(t);
194
194
  for (let r = 0; r < t; ++r)
195
- i[r] = e(s[r], r);
196
- return i;
195
+ s[r] = e(i[r], r);
196
+ return s;
197
197
  }
198
- function c(s, e) {
199
- const t = s.length;
200
- for (let i = 0; i < t; ++i)
201
- e(s[i], i);
198
+ function h(i, e) {
199
+ const t = i.length;
200
+ for (let s = 0; s < t; ++s)
201
+ e(i[s], s);
202
202
  }
203
- function j(s, e) {
204
- let t = s.length;
203
+ function O(i, e) {
204
+ let t = i.length;
205
205
  for (; t > 0; )
206
- --t, e(s[t], t);
206
+ --t, e(i[t], t);
207
207
  }
208
- function ze(s, e) {
209
- const t = s.length;
210
- for (let i = 0; i < t && e(s[i], i); ++i)
208
+ function He(i, e) {
209
+ const t = i.length;
210
+ for (let s = 0; s < t && e(i[s], s); ++s)
211
211
  ;
212
212
  }
213
- function se(s, e) {
214
- let t = !1, i = 0;
213
+ function te(i, e) {
214
+ let t = !1, s = 0;
215
215
  for (; ; ) {
216
- if (i = s.indexOf(e, i), i === -1)
216
+ if (s = i.indexOf(e, s), s === -1)
217
217
  return t;
218
- t = !0, s.splice(i, 1);
218
+ t = !0, i.splice(s, 1);
219
219
  }
220
220
  }
221
- function P(s, e) {
222
- let t = s.indexOf(e);
223
- return t !== -1 ? (s.splice(t, 1), !0) : !1;
221
+ function P(i, e) {
222
+ let t = i.indexOf(e);
223
+ return t !== -1 ? (i.splice(t, 1), !0) : !1;
224
224
  }
225
- function Ye(s, e, t) {
226
- let i = I(s, e);
227
- i !== -1 && ie(s, i), s.push(e);
225
+ function ze(i, e, t) {
226
+ let s = F(i, e);
227
+ s !== -1 && ie(i, s), i.push(e);
228
228
  }
229
- function $e(s, e) {
230
- s.indexOf(e) === -1 && s.push(e);
229
+ function Ye(i, e) {
230
+ i.indexOf(e) === -1 && i.push(e);
231
231
  }
232
- function We(s) {
233
- const e = s.length, t = new Array(e);
234
- for (let i = 0; i < e; ++i)
235
- t[i] = s[i];
232
+ function $e(i) {
233
+ const e = i.length, t = new Array(e);
234
+ for (let s = 0; s < e; ++s)
235
+ t[s] = i[s];
236
236
  return t;
237
237
  }
238
- function Ze(s, e, t) {
239
- s.splice(e, 0, t);
238
+ function We(i, e, t) {
239
+ i.splice(e, 0, t);
240
240
  }
241
- function ie(s, e) {
242
- s.splice(e, 1);
241
+ function ie(i, e) {
242
+ i.splice(e, 1);
243
243
  }
244
- function W(s, e) {
245
- const t = s.length;
246
- for (let i = 0; i < t; ++i)
247
- if (e(s[i], i))
248
- return i;
244
+ function Y(i, e) {
245
+ const t = i.length;
246
+ for (let s = 0; s < t; ++s)
247
+ if (e(i[s], s))
248
+ return s;
249
249
  return -1;
250
250
  }
251
- function re(s, e) {
252
- let t = s.length;
251
+ function se(i, e) {
252
+ let t = i.length;
253
253
  for (; t > 0; )
254
- if (--t, e(s[t], t))
254
+ if (--t, e(i[t], t))
255
255
  return t;
256
256
  return -1;
257
257
  }
258
- function ne(s, e) {
259
- const t = W(s, e);
258
+ function re(i, e) {
259
+ const t = Y(i, e);
260
260
  if (t !== -1)
261
- return s[t];
261
+ return i[t];
262
262
  }
263
- function ae(s, e) {
264
- const t = re(s, e);
263
+ function ne(i, e) {
264
+ const t = se(i, e);
265
265
  if (t !== -1)
266
- return s[t];
266
+ return i[t];
267
267
  }
268
- function Ge(s, e) {
269
- let t = 0, i = s.length, r = !1;
270
- for (; t < i; ) {
271
- const n = t + i >> 1, a = e(s[n]);
272
- a < 0 ? t = n + 1 : a === 0 ? (r = !0, t = n + 1) : i = n;
268
+ function Ze(i, e) {
269
+ let t = 0, s = i.length, r = !1;
270
+ for (; t < s; ) {
271
+ const n = t + s >> 1, a = e(i[n]);
272
+ a < 0 ? t = n + 1 : a === 0 ? (r = !0, t = n + 1) : s = n;
273
273
  }
274
274
  return {
275
275
  found: r,
276
276
  index: r ? t - 1 : t
277
277
  };
278
278
  }
279
- function ue(s, e) {
280
- let t = 0, i = s.length, r = !1;
281
- for (; t < i; ) {
282
- const n = t + i >> 1, a = e(s[n]);
283
- a < 0 ? t = n + 1 : (a === 0 && (r = !0), i = n);
279
+ function ae(i, e) {
280
+ let t = 0, s = i.length, r = !1;
281
+ for (; t < s; ) {
282
+ const n = t + s >> 1, a = e(i[n]);
283
+ a < 0 ? t = n + 1 : (a === 0 && (r = !0), s = n);
284
284
  }
285
285
  return {
286
286
  found: r,
287
287
  index: t
288
288
  };
289
289
  }
290
- function Ve(s, e) {
291
- let t = s.length;
290
+ function Ge(i, e) {
291
+ let t = i.length;
292
292
  for (; t > 0; )
293
- --t, e(s[t]) || s.splice(t, 1);
293
+ --t, e(i[t]) || i.splice(t, 1);
294
294
  }
295
- function y(s) {
296
- return Object.keys(s);
295
+ function y(i) {
296
+ return Object.keys(i);
297
297
  }
298
- function qe(s, e) {
299
- return y(s).sort(e);
298
+ function Ve(i, e) {
299
+ return y(i).sort(e);
300
300
  }
301
- function Je(s) {
302
- return Object.assign({}, s);
301
+ function qe(i) {
302
+ return Object.assign({}, i);
303
303
  }
304
- function p(s, e) {
305
- y(s).forEach((t) => {
306
- e(t, s[t]);
304
+ function p(i, e) {
305
+ y(i).forEach((t) => {
306
+ e(t, i[t]);
307
307
  });
308
308
  }
309
- function Qe(s, e) {
310
- for (let t in s)
311
- if (oe(s, t) && !e(t, s[t]))
309
+ function Je(i, e) {
310
+ for (let t in i)
311
+ if (ue(i, t) && !e(t, i[t]))
312
312
  break;
313
313
  }
314
- function oe(s, e) {
315
- return {}.hasOwnProperty.call(s, e);
314
+ function ue(i, e) {
315
+ return {}.hasOwnProperty.call(i, e);
316
316
  }
317
- class Z {
317
+ class $ {
318
318
  /**
319
319
  * Constructor.
320
320
  */
@@ -375,7 +375,7 @@ class w {
375
375
  this._disposed || (this._disposed = !0, this._dispose());
376
376
  }
377
377
  }
378
- class Xe extends Z {
378
+ class Qe extends $ {
379
379
  constructor() {
380
380
  super(...arguments), Object.defineProperty(this, "_disposers", {
381
381
  enumerable: !0,
@@ -385,12 +385,12 @@ class Xe extends Z {
385
385
  });
386
386
  }
387
387
  _dispose() {
388
- c(this._disposers, (e) => {
388
+ h(this._disposers, (e) => {
389
389
  e.dispose();
390
390
  });
391
391
  }
392
392
  }
393
- class le extends Z {
393
+ class oe extends $ {
394
394
  constructor(e) {
395
395
  super(), Object.defineProperty(this, "_disposers", {
396
396
  enumerable: !0,
@@ -400,7 +400,7 @@ class le extends Z {
400
400
  }), this._disposers = e;
401
401
  }
402
402
  _dispose() {
403
- c(this._disposers, (e) => {
403
+ h(this._disposers, (e) => {
404
404
  e.dispose();
405
405
  });
406
406
  }
@@ -408,7 +408,7 @@ class le extends Z {
408
408
  return this._disposers;
409
409
  }
410
410
  }
411
- class ke extends w {
411
+ class Xe extends w {
412
412
  constructor() {
413
413
  super(...arguments), Object.defineProperty(this, "_counter", {
414
414
  enumerable: !0,
@@ -428,21 +428,21 @@ class ke extends w {
428
428
  });
429
429
  }
430
430
  }
431
- function et(s) {
432
- s.parentNode && s.parentNode.removeChild(s);
431
+ function ke(i) {
432
+ i.parentNode && i.parentNode.removeChild(i);
433
433
  }
434
- function he(s, e, t, i) {
435
- return s.addEventListener(e, t, i || !1), new w(() => {
436
- s.removeEventListener(e, t, i || !1);
434
+ function le(i, e, t, s) {
435
+ return i.addEventListener(e, t, s || !1), new w(() => {
436
+ i.removeEventListener(e, t, s || !1);
437
437
  });
438
438
  }
439
- function tt(s) {
440
- return he(window, "resize", (e) => {
441
- s();
439
+ function et(i) {
440
+ return le(window, "resize", (e) => {
441
+ i();
442
442
  });
443
443
  }
444
- function x(s) {
445
- switch (s) {
444
+ function j(i) {
445
+ switch (i) {
446
446
  case "touchevents":
447
447
  return window.hasOwnProperty("TouchEvent");
448
448
  case "pointerevents":
@@ -456,26 +456,26 @@ function x(s) {
456
456
  }
457
457
  return !1;
458
458
  }
459
- function st(s) {
460
- return s.pointerId || 0;
459
+ function tt(i) {
460
+ return i.pointerId || 0;
461
461
  }
462
462
  function it() {
463
463
  if (document.activeElement && document.activeElement != document.body)
464
464
  if (document.activeElement.blur)
465
465
  document.activeElement.blur();
466
466
  else {
467
- let s = document.createElement("button");
468
- s.style.position = "fixed", s.style.top = "0px", s.style.left = "-10000px", document.body.appendChild(s), s.focus(), s.blur(), document.body.removeChild(s);
467
+ let i = document.createElement("button");
468
+ i.style.position = "fixed", i.style.top = "0px", i.style.left = "-10000px", document.body.appendChild(i), i.focus(), i.blur(), document.body.removeChild(i);
469
469
  }
470
470
  }
471
- function rt(s) {
472
- s && s.focus();
471
+ function st(i) {
472
+ i && i.focus();
473
473
  }
474
- function nt(s) {
475
- if (x("pointerevents"))
476
- return s;
477
- if (x("touchevents"))
478
- switch (s) {
474
+ function rt(i) {
475
+ if (j("pointerevents"))
476
+ return i;
477
+ if (j("touchevents"))
478
+ switch (i) {
479
479
  case "pointerover":
480
480
  return "touchstart";
481
481
  case "pointerout":
@@ -493,8 +493,8 @@ function nt(s) {
493
493
  case "dblclick":
494
494
  return "dblclick";
495
495
  }
496
- else if (x("mouseevents"))
497
- switch (s) {
496
+ else if (j("mouseevents"))
497
+ switch (i) {
498
498
  case "pointerover":
499
499
  return "mouseover";
500
500
  case "pointerout":
@@ -512,13 +512,13 @@ function nt(s) {
512
512
  case "dblclick":
513
513
  return "dblclick";
514
514
  }
515
- return s;
515
+ return i;
516
516
  }
517
- function at(s) {
518
- if (typeof Touch < "u" && s instanceof Touch)
517
+ function nt(i) {
518
+ if (typeof Touch < "u" && i instanceof Touch)
519
519
  return !0;
520
- if (typeof PointerEvent < "u" && s instanceof PointerEvent && s.pointerType != null)
521
- switch (s.pointerType) {
520
+ if (typeof PointerEvent < "u" && i instanceof PointerEvent && i.pointerType != null)
521
+ switch (i.pointerType) {
522
522
  case "touch":
523
523
  case "pen":
524
524
  case 2:
@@ -527,29 +527,29 @@ function at(s) {
527
527
  case 4:
528
528
  return !1;
529
529
  default:
530
- return !(s instanceof MouseEvent);
530
+ return !(i instanceof MouseEvent);
531
531
  }
532
- else if (s.type != null && s.type.match(/^mouse/))
532
+ else if (i.type != null && i.type.match(/^mouse/))
533
533
  return !1;
534
534
  return !0;
535
535
  }
536
- function ut(s, e, t) {
537
- s.style[e] = t;
536
+ function at(i, e, t) {
537
+ i.style[e] = t;
538
538
  }
539
- function ot(s, e) {
540
- return s.style[e];
539
+ function ut(i, e) {
540
+ return i.style[e];
541
541
  }
542
- function lt(s) {
543
- if (s.composedPath) {
544
- const e = s.composedPath();
542
+ function ot(i) {
543
+ if (i.composedPath) {
544
+ const e = i.composedPath();
545
545
  return e.length === 0 ? null : e[0];
546
546
  } else
547
- return s.target;
547
+ return i.target;
548
548
  }
549
- function ce(s, e) {
549
+ function he(i, e) {
550
550
  let t = e;
551
551
  for (; ; ) {
552
- if (s === t)
552
+ if (i === t)
553
553
  return !0;
554
554
  if (t.parentNode === null) {
555
555
  if (t.host == null)
@@ -559,16 +559,16 @@ function ce(s, e) {
559
559
  t = t.parentNode;
560
560
  }
561
561
  }
562
- function ht(s, e) {
563
- return s.target && ce(e.root.dom, s.target);
562
+ function lt(i, e) {
563
+ return i.target && he(e.root.dom, i.target);
564
564
  }
565
- function ct(s, e) {
566
- e ? s.style.pointerEvents = "auto" : s.style.pointerEvents = "none";
565
+ function ht(i, e) {
566
+ e ? i.style.pointerEvents = "auto" : i.style.pointerEvents = "none";
567
567
  }
568
- function ft(s) {
569
- if (s.key !== void 0)
570
- return s.key;
571
- switch (s.keyCode) {
568
+ function ct(i) {
569
+ if (i.key !== void 0)
570
+ return i.key;
571
+ switch (i.keyCode) {
572
572
  case 9:
573
573
  return "Tab";
574
574
  case 13:
@@ -592,55 +592,55 @@ function ft(s) {
592
592
  case 46:
593
593
  return "Delete";
594
594
  }
595
- return "" + s.keyCode;
595
+ return "" + i.keyCode;
596
596
  }
597
- function fe() {
597
+ function ce() {
598
598
  return /apple/i.test(navigator.vendor) && "ontouchend" in document;
599
599
  }
600
- function dt() {
601
- return fe() ? 1 : void 0;
600
+ function ft() {
601
+ return ce() ? 1 : void 0;
602
602
  }
603
- function pt(s, e) {
604
- return v(s) ? s : s != null && v(s.value) && v(e) ? e * s.value : 0;
603
+ function dt(i, e) {
604
+ return v(i) ? i : i != null && v(i.value) && v(e) ? e * i.value : 0;
605
605
  }
606
- function _t(s) {
607
- let e = ("" + s).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
606
+ function pt(i) {
607
+ let e = ("" + i).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
608
608
  return e ? Math.max(0, (e[1] ? e[1].length : 0) - (e[2] ? +e[2] : 0)) : 0;
609
609
  }
610
- function A(s, e = 0, t = "0") {
611
- return typeof s != "string" && (s = s.toString()), e > s.length ? Array(e - s.length + 1).join(t) + s : s;
610
+ function x(i, e = 0, t = "0") {
611
+ return typeof i != "string" && (i = i.toString()), e > i.length ? Array(e - i.length + 1).join(t) + i : i;
612
612
  }
613
- function de(s) {
614
- return s.replace(/^[\s]*/, "");
613
+ function fe(i) {
614
+ return i.replace(/^[\s]*/, "");
615
615
  }
616
- function pe(s) {
617
- return s.replace(/[\s]*$/, "");
616
+ function de(i) {
617
+ return i.replace(/[\s]*$/, "");
618
618
  }
619
- function B(s) {
620
- return de(pe(s));
619
+ function K(i) {
620
+ return fe(de(i));
621
621
  }
622
- function gt(s, e, t = !1, i = "...") {
623
- if (s.length > e) {
622
+ function _t(i, e, t = !1, s = "...") {
623
+ if (i.length > e) {
624
624
  let r = e - 1;
625
- for (; r >= 0 && s.charAt(r).match(/\w/); )
625
+ for (; r >= 0 && i.charAt(r).match(/\w/); )
626
626
  r--;
627
- return r >= 0 && t == !1 ? s.substring(0, r + 1) + "..." : s.substring(0, e) + i;
627
+ return r >= 0 && t == !1 ? i.substring(0, r + 1) + "..." : i.substring(0, e) + s;
628
628
  } else
629
- return s;
629
+ return i;
630
630
  }
631
- function mt(s) {
632
- return s.replace(/\/(date|number|duration)$/i, "");
631
+ function gt(i) {
632
+ return i.replace(/\/(date|number|duration)$/i, "");
633
633
  }
634
- function bt(s) {
635
- return s && s.replace(/<[^>]*>/g, "");
634
+ function mt(i) {
635
+ return i && i.replace(/<[^>]*>/g, "");
636
636
  }
637
- function vt(s) {
638
- return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
637
+ function bt(i) {
638
+ return i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
639
639
  }
640
- function wt(s) {
640
+ function vt(i) {
641
641
  const e = /[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/, t = /([^اأدذرزو]*[اأدذرزو])/gi;
642
- let i = s.split(/(\s+)/), r = [];
643
- return i.forEach((n) => {
642
+ let s = i.split(/(\s+)/), r = [];
643
+ return s.forEach((n) => {
644
644
  if (n.match(/^\s+$/))
645
645
  (n = " ") && (n = " "), r.push(n);
646
646
  else if (e.test(n)) {
@@ -650,79 +650,79 @@ function wt(s) {
650
650
  r = r.concat([...n]);
651
651
  }), r;
652
652
  }
653
- function yt(s, e = !1) {
654
- const t = new Date(s.getFullYear(), 0, 0), i = s.getTime() - t.getTime() + (t.getTimezoneOffset() - s.getTimezoneOffset()) * 60 * 1e3, r = 1e3 * 60 * 60 * 24;
655
- return Math.floor(i / r);
653
+ function wt(i, e = !1) {
654
+ const t = new Date(i.getFullYear(), 0, 0), s = i.getTime() - t.getTime() + (t.getTimezoneOffset() - i.getTimezoneOffset()) * 60 * 1e3, r = 1e3 * 60 * 60 * 24;
655
+ return Math.floor(s / r);
656
656
  }
657
- function U(s, e = !1) {
658
- const t = new Date(Date.UTC(s.getFullYear(), s.getMonth(), s.getDate())), i = t.getUTCDay() || 7;
659
- t.setUTCDate(t.getUTCDate() + 4 - i);
657
+ function N(i, e = !1) {
658
+ const t = new Date(Date.UTC(i.getFullYear(), i.getMonth(), i.getDate())), s = t.getUTCDay() || 7;
659
+ t.setUTCDate(t.getUTCDate() + 4 - s);
660
660
  const r = new Date(Date.UTC(t.getUTCFullYear(), 0, 1));
661
661
  return Math.ceil(((t.getTime() - r.getTime()) / 864e5 + 1) / 7);
662
662
  }
663
- function Pt(s, e = !1) {
664
- const t = new Date(Date.UTC(s.getFullYear(), s.getMonth(), s.getDate())), i = t.getUTCDay() || 7;
665
- return t.setUTCDate(t.getUTCDate() + 4 - i), new Date(Date.UTC(t.getUTCFullYear(), 0, 1)).getFullYear();
663
+ function yt(i, e = !1) {
664
+ const t = new Date(Date.UTC(i.getFullYear(), i.getMonth(), i.getDate())), s = t.getUTCDay() || 7;
665
+ return t.setUTCDate(t.getUTCDate() + 4 - s), new Date(Date.UTC(t.getUTCFullYear(), 0, 1)).getFullYear();
666
666
  }
667
- function Tt(s, e = !1) {
668
- const t = U(new Date(s.getFullYear(), s.getMonth(), 1), e);
669
- let i = U(s, e);
670
- return i == 1 && (i = 53), i - t + 1;
667
+ function Pt(i, e = !1) {
668
+ const t = N(new Date(i.getFullYear(), i.getMonth(), 1), e);
669
+ let s = N(i, e);
670
+ return s == 1 && (s = 53), s - t + 1;
671
671
  }
672
- function St(s, e, t = 1, i = !1) {
672
+ function Tt(i, e, t = 1, s = !1) {
673
673
  let r = new Date(e, 0, 4, 0, 0, 0, 0);
674
- return i && r.setUTCFullYear(e), s * 7 + t - ((r.getDay() || 7) + 3);
674
+ return s && r.setUTCFullYear(e), i * 7 + t - ((r.getDay() || 7) + 3);
675
675
  }
676
- function Dt(s, e) {
677
- return s > 12 ? s -= 12 : s === 0 && (s = 12), e != null ? s + (e - 1) : s;
676
+ function St(i, e) {
677
+ return i > 12 ? i -= 12 : i === 0 && (i = 12), e != null ? i + (e - 1) : i;
678
678
  }
679
- function Ot(s, e = !1, t = !1, i = !1, r) {
680
- if (i)
679
+ function Dt(i, e = !1, t = !1, s = !1, r) {
680
+ if (s)
681
681
  return e ? "Coordinated Universal Time" : "UTC";
682
682
  if (r) {
683
- const u = s.toLocaleString("en-US", { timeZone: r }), o = s.toLocaleString("en-US", { timeZone: r, timeZoneName: e ? "long" : "short" });
684
- return B(o.substr(u.length));
683
+ const u = i.toLocaleString("en-US", { timeZone: r }), o = i.toLocaleString("en-US", { timeZone: r, timeZoneName: e ? "long" : "short" });
684
+ return K(o.substr(u.length));
685
685
  }
686
- let n = s.toLocaleString("UTC"), a = s.toLocaleString("UTC", { timeZoneName: e ? "long" : "short" }).substr(n.length);
687
- return t === !1 && (a = a.replace(/ (standard|daylight|summer|winter) /i, " ")), B(a);
686
+ let n = i.toLocaleString("UTC"), a = i.toLocaleString("UTC", { timeZoneName: e ? "long" : "short" }).substr(n.length);
687
+ return t === !1 && (a = a.replace(/ (standard|daylight|summer|winter) /i, " ")), K(a);
688
688
  }
689
- function Et(s, e) {
690
- const t = e || new Date(Date.UTC(2012, 0, 1, 0, 0, 0, 0)), i = new Date(t.toLocaleString("en-US", { timeZone: "UTC" }));
691
- return (new Date(t.toLocaleString("en-US", { timeZone: s })).getTime() - i.getTime()) / 6e4 * -1;
689
+ function Et(i, e) {
690
+ const t = e || new Date(Date.UTC(2012, 0, 1, 0, 0, 0, 0)), s = new Date(t.toLocaleString("en-US", { timeZone: "UTC" }));
691
+ return (new Date(t.toLocaleString("en-US", { timeZone: i })).getTime() - s.getTime()) / 6e4 * -1;
692
692
  }
693
- function jt(s) {
694
- return s.charAt(0).toUpperCase() + s.slice(1);
693
+ function Ot(i) {
694
+ return i.charAt(0).toUpperCase() + i.slice(1);
695
695
  }
696
- function G(s) {
697
- let e, t, i, r = s.h, n = s.s, a = s.l;
696
+ function W(i) {
697
+ let e, t, s, r = i.h, n = i.s, a = i.l;
698
698
  if (n == 0)
699
- e = t = i = a;
699
+ e = t = s = a;
700
700
  else {
701
701
  let u = function(d, m, _) {
702
702
  return _ < 0 && (_ += 1), _ > 1 && (_ -= 1), _ < 0.16666666666666666 ? d + (m - d) * 6 * _ : _ < 0.5 ? m : _ < 0.6666666666666666 ? d + (m - d) * (0.6666666666666666 - _) * 6 : d;
703
703
  }, o = a < 0.5 ? a * (1 + n) : a + n - a * n, l = 2 * a - o;
704
- e = u(l, o, r + 1 / 3), t = u(l, o, r), i = u(l, o, r - 1 / 3);
704
+ e = u(l, o, r + 1 / 3), t = u(l, o, r), s = u(l, o, r - 1 / 3);
705
705
  }
706
706
  return {
707
707
  r: Math.round(e * 255),
708
708
  g: Math.round(t * 255),
709
- b: Math.round(i * 255)
709
+ b: Math.round(s * 255)
710
710
  };
711
711
  }
712
- function V(s) {
713
- let e = s.r / 255, t = s.g / 255, i = s.b / 255, r = Math.max(e, t, i), n = Math.min(e, t, i), a = 0, u = 0, o = (r + n) / 2;
712
+ function Z(i) {
713
+ let e = i.r / 255, t = i.g / 255, s = i.b / 255, r = Math.max(e, t, s), n = Math.min(e, t, s), a = 0, u = 0, o = (r + n) / 2;
714
714
  if (r === n)
715
715
  a = u = 0;
716
716
  else {
717
717
  let l = r - n;
718
718
  switch (u = o > 0.5 ? l / (2 - r - n) : l / (r + n), r) {
719
719
  case e:
720
- a = (t - i) / l + (t < i ? 6 : 0);
720
+ a = (t - s) / l + (t < s ? 6 : 0);
721
721
  break;
722
722
  case t:
723
- a = (i - e) / l + 2;
723
+ a = (s - e) / l + 2;
724
724
  break;
725
- case i:
725
+ case s:
726
726
  a = (e - t) / l + 4;
727
727
  break;
728
728
  }
@@ -734,70 +734,70 @@ function V(s) {
734
734
  l: o
735
735
  };
736
736
  }
737
- function _e(s, e) {
738
- return s && {
739
- r: Math.max(0, Math.min(255, s.r + D(s.r, e))),
740
- g: Math.max(0, Math.min(255, s.g + D(s.g, e))),
741
- b: Math.max(0, Math.min(255, s.b + D(s.b, e))),
742
- a: s.a
737
+ function pe(i, e) {
738
+ return i && {
739
+ r: Math.max(0, Math.min(255, i.r + D(i.r, e))),
740
+ g: Math.max(0, Math.min(255, i.g + D(i.g, e))),
741
+ b: Math.max(0, Math.min(255, i.b + D(i.b, e))),
742
+ a: i.a
743
743
  };
744
744
  }
745
- function D(s, e) {
746
- let t = e > 0 ? 255 - s : s;
745
+ function D(i, e) {
746
+ let t = e > 0 ? 255 - i : i;
747
747
  return Math.round(t * e);
748
748
  }
749
- function ge(s, e) {
750
- if (s) {
751
- let t = Math.min(Math.max(s.r, s.g, s.b), 230), i = D(t, e);
749
+ function _e(i, e) {
750
+ if (i) {
751
+ let t = Math.min(Math.max(i.r, i.g, i.b), 230), s = D(t, e);
752
752
  return {
753
- r: Math.max(0, Math.min(255, Math.round(s.r + i))),
754
- g: Math.max(0, Math.min(255, Math.round(s.g + i))),
755
- b: Math.max(0, Math.min(255, Math.round(s.b + i))),
756
- a: s.a
753
+ r: Math.max(0, Math.min(255, Math.round(i.r + s))),
754
+ g: Math.max(0, Math.min(255, Math.round(i.g + s))),
755
+ b: Math.max(0, Math.min(255, Math.round(i.b + s))),
756
+ a: i.a
757
757
  };
758
758
  } else
759
- return s;
759
+ return i;
760
760
  }
761
- function H(s) {
762
- return (s.r * 299 + s.g * 587 + s.b * 114) / 1e3 >= 128;
761
+ function B(i) {
762
+ return (i.r * 299 + i.g * 587 + i.b * 114) / 1e3 >= 128;
763
763
  }
764
- function me(s, e) {
765
- if (s === void 0 || e == 1)
766
- return s;
767
- let t = V(s);
768
- return t.s = e, G(t);
764
+ function ge(i, e) {
765
+ if (i === void 0 || e == 1)
766
+ return i;
767
+ let t = Z(i);
768
+ return t.s = e, W(t);
769
769
  }
770
- function be(s, e = { r: 255, g: 255, b: 255 }, t = { r: 255, g: 255, b: 255 }) {
771
- let i = e, r = t;
772
- return H(t) && (i = t, r = e), H(s) ? r : i;
770
+ function me(i, e = { r: 255, g: 255, b: 255 }, t = { r: 255, g: 255, b: 255 }) {
771
+ let s = e, r = t;
772
+ return B(t) && (s = t, r = e), B(i) ? r : s;
773
773
  }
774
- function xt(s, e) {
775
- return s || (s = []), [...s, ...e].filter((t, i, r) => r.indexOf(t) === i);
774
+ function jt(i, e) {
775
+ return i || (i = []), [...i, ...e].filter((t, s, r) => r.indexOf(t) === s);
776
776
  }
777
- function At(s, e) {
778
- return !(!e || s.left != e.left || s.right != e.right || s.top != e.top || s.bottom != e.bottom);
777
+ function xt(i, e) {
778
+ return !(!e || i.left != e.left || i.right != e.right || i.top != e.top || i.bottom != e.bottom);
779
779
  }
780
- function q(s) {
781
- return s[0] === "#" && (s = s.substr(1)), s.length == 3 && (s = s[0].repeat(2) + s[1].repeat(2) + s[2].repeat(2)), parseInt(s, 16);
780
+ function G(i) {
781
+ return i[0] === "#" && (i = i.substr(1)), i.length == 3 && (i = i[0].repeat(2) + i[1].repeat(2) + i[2].repeat(2)), parseInt(i, 16);
782
782
  }
783
- function ve(s) {
784
- s = s.replace(/[ ]/g, "");
785
- let e = s.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);
783
+ function be(i) {
784
+ i = i.replace(/[ ]/g, "");
785
+ let e = i.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);
786
786
  if (e)
787
787
  e.push("1");
788
- else if (e = s.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i), !e)
788
+ else if (e = i.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i), !e)
789
789
  return 0;
790
790
  let t = "";
791
- for (let i = 1; i <= 3; i++) {
792
- let r = parseInt(e[i]).toString(16);
791
+ for (let s = 1; s <= 3; s++) {
792
+ let r = parseInt(e[s]).toString(16);
793
793
  r.length == 1 && (r = "0" + r), t += r;
794
794
  }
795
- return q(t);
795
+ return G(t);
796
796
  }
797
- function Ct(s) {
798
- return h.fromAny(s);
797
+ function At(i) {
798
+ return c.fromAny(i);
799
799
  }
800
- class h {
800
+ class c {
801
801
  constructor(e) {
802
802
  Object.defineProperty(this, "_hex", {
803
803
  enumerable: !0,
@@ -848,7 +848,7 @@ class h {
848
848
  * @return CSS string
849
849
  */
850
850
  toCSSHex() {
851
- return "#" + A(this.r.toString(16), 2) + A(this.g.toString(16), 2) + A(this.b.toString(16), 2);
851
+ return "#" + x(this.r.toString(16), 2) + x(this.g.toString(16), 2) + x(this.b.toString(16), 2);
852
852
  }
853
853
  /**
854
854
  * Returns color's HSL info.
@@ -856,7 +856,7 @@ class h {
856
856
  * @return HSL info
857
857
  */
858
858
  toHSL(e = 1) {
859
- return V({
859
+ return Z({
860
860
  r: this.r,
861
861
  g: this.g,
862
862
  b: this.b,
@@ -871,11 +871,11 @@ class h {
871
871
  * @param l L value
872
872
  * @return Color object
873
873
  */
874
- static fromHSL(e, t, i) {
875
- const r = G({
874
+ static fromHSL(e, t, s) {
875
+ const r = W({
876
876
  h: e,
877
877
  s: t,
878
- l: i
878
+ l: s
879
879
  });
880
880
  return this.fromRGB(r.r, r.g, r.b);
881
881
  }
@@ -896,7 +896,7 @@ class h {
896
896
  * @return Color
897
897
  */
898
898
  static fromHex(e) {
899
- return new h(e);
899
+ return new c(e);
900
900
  }
901
901
  /**
902
902
  * Converts RGB values to a new [[Color]] object.
@@ -906,8 +906,8 @@ class h {
906
906
  * @param b B value
907
907
  * @return Color
908
908
  */
909
- static fromRGB(e, t, i) {
910
- return new h((i | 0) + (t << 8) + (e << 16));
909
+ static fromRGB(e, t, s) {
910
+ return new c((s | 0) + (t << 8) + (e << 16));
911
911
  }
912
912
  /**
913
913
  * Converts RGB string to a new [[Color]] object.
@@ -923,7 +923,7 @@ class h {
923
923
  * @return Color
924
924
  */
925
925
  static fromString(e) {
926
- return new h(q(e));
926
+ return new c(G(e));
927
927
  }
928
928
  /**
929
929
  * Converts CSS rgba() syntax to a new [[Color]] object.
@@ -939,7 +939,7 @@ class h {
939
939
  * @return {Color} [description]
940
940
  */
941
941
  static fromCSS(e) {
942
- return new h(ve(e));
942
+ return new c(be(e));
943
943
  }
944
944
  /**
945
945
  * Convert to color from virtually anything.
@@ -950,16 +950,16 @@ class h {
950
950
  * @return Color
951
951
  */
952
952
  static fromAny(e) {
953
- if ($(e)) {
953
+ if (z(e)) {
954
954
  if (e[0] == "#")
955
- return h.fromString(e);
955
+ return c.fromString(e);
956
956
  if (e.substr(0, 3) == "rgb")
957
- return h.fromCSS(e);
957
+ return c.fromCSS(e);
958
958
  } else {
959
959
  if (v(e))
960
- return h.fromHex(e);
961
- if (e instanceof h)
962
- return h.fromHex(e.hex);
960
+ return c.fromHex(e);
961
+ if (e instanceof c)
962
+ return c.fromHex(e.hex);
963
963
  }
964
964
  throw new Error("Unknown color syntax: " + e);
965
965
  }
@@ -973,8 +973,8 @@ class h {
973
973
  * @param darkAlternative Dark color
974
974
  * @return Alternative color
975
975
  */
976
- static alternative(e, t, i) {
977
- const r = be({ r: e.r, g: e.g, b: e.b }, t ? { r: t.r, g: t.g, b: t.b } : void 0, i ? { r: i.r, g: i.g, b: i.b } : void 0);
976
+ static alternative(e, t, s) {
977
+ const r = me({ r: e.r, g: e.g, b: e.b }, t ? { r: t.r, g: t.g, b: t.b } : void 0, s ? { r: s.r, g: s.g, b: s.b } : void 0);
978
978
  return this.fromRGB(r.r, r.g, r.b);
979
979
  }
980
980
  /**
@@ -987,12 +987,12 @@ class h {
987
987
  * @param mode Interpolation mode
988
988
  * @return Color
989
989
  */
990
- static interpolate(e, t, i, r = "rgb") {
990
+ static interpolate(e, t, s, r = "rgb") {
991
991
  if (r == "hsl") {
992
- const n = t.toHSL(), a = i.toHSL();
993
- return h.fromHSL(b(e, n.h, a.h), b(e, n.s, a.s), b(e, n.l, a.l));
992
+ const n = t.toHSL(), a = s.toHSL();
993
+ return c.fromHSL(b(e, n.h, a.h), b(e, n.s, a.s), b(e, n.l, a.l));
994
994
  } else
995
- return h.fromRGB(b(e, t.r, i.r), b(e, t.g, i.g), b(e, t.b, i.b));
995
+ return c.fromRGB(b(e, t.r, s.r), b(e, t.g, s.g), b(e, t.b, s.b));
996
996
  }
997
997
  /**
998
998
  * Returns a new [[Color]] lightened by `percent` value.
@@ -1004,8 +1004,8 @@ class h {
1004
1004
  * @return New color
1005
1005
  */
1006
1006
  static lighten(e, t) {
1007
- const i = _e({ r: e.r, g: e.g, b: e.b }, t);
1008
- return h.fromRGB(i.r, i.g, i.b);
1007
+ const s = pe({ r: e.r, g: e.g, b: e.b }, t);
1008
+ return c.fromRGB(s.r, s.g, s.b);
1009
1009
  }
1010
1010
  /**
1011
1011
  * Returns a new [[Color]] brightened by `percent` value.
@@ -1017,8 +1017,8 @@ class h {
1017
1017
  * @return New color
1018
1018
  */
1019
1019
  static brighten(e, t) {
1020
- const i = ge({ r: e.r, g: e.g, b: e.b }, t);
1021
- return h.fromRGB(i.r, i.g, i.b);
1020
+ const s = _e({ r: e.r, g: e.g, b: e.b }, t);
1021
+ return c.fromRGB(s.r, s.g, s.b);
1022
1022
  }
1023
1023
  /**
1024
1024
  * Returns a new [[Color]] saturated by `percent` value.
@@ -1030,11 +1030,11 @@ class h {
1030
1030
  * @return New color
1031
1031
  */
1032
1032
  static saturate(e, t) {
1033
- const i = me({ r: e.r, g: e.g, b: e.b }, t);
1034
- return h.fromRGB(i.r, i.g, i.b);
1033
+ const s = ge({ r: e.r, g: e.g, b: e.b }, t);
1034
+ return c.fromRGB(s.r, s.g, s.b);
1035
1035
  }
1036
1036
  }
1037
- class J {
1037
+ class V {
1038
1038
  /**
1039
1039
  * Constructor
1040
1040
  */
@@ -1088,7 +1088,7 @@ class J {
1088
1088
  const e = this._listeners;
1089
1089
  this._iterating = 1, this._listeners = null, this._disabled = null;
1090
1090
  try {
1091
- c(e, (t) => {
1091
+ h(e, (t) => {
1092
1092
  t.disposer.dispose();
1093
1093
  });
1094
1094
  } finally {
@@ -1110,7 +1110,7 @@ class J {
1110
1110
  * @return Has particular event listeners?
1111
1111
  */
1112
1112
  hasListenersByType(e) {
1113
- return te(this._listeners, (t) => (t.type === null || t.type === e) && !t.killed);
1113
+ return ee(this._listeners, (t) => (t.type === null || t.type === e) && !t.killed);
1114
1114
  }
1115
1115
  /**
1116
1116
  * Enable dispatching of events if they were previously disabled by
@@ -1170,12 +1170,12 @@ class J {
1170
1170
  * @param callback Callback function
1171
1171
  * @param context Callback context
1172
1172
  */
1173
- _removeExistingListener(e, t, i, r) {
1173
+ _removeExistingListener(e, t, s, r) {
1174
1174
  if (this._disposed)
1175
1175
  throw new Error("EventDispatcher is disposed");
1176
1176
  this._eachListener((n) => {
1177
1177
  n.once === e && // TODO is this correct ?
1178
- n.type === t && (i === void 0 || n.callback === i) && n.context === r && n.disposer.dispose();
1178
+ n.type === t && (s === void 0 || n.callback === s) && n.context === r && n.disposer.dispose();
1179
1179
  });
1180
1180
  }
1181
1181
  /**
@@ -1209,9 +1209,9 @@ class J {
1209
1209
  * @param context Callback context
1210
1210
  * @return Has listener?
1211
1211
  */
1212
- has(e, t, i) {
1213
- return W(this._listeners, (n) => n.once !== !0 && // Ignoring "once" listeners
1214
- n.type === e && (t === void 0 || n.callback === t) && n.context === i) !== -1;
1212
+ has(e, t, s) {
1213
+ return Y(this._listeners, (n) => n.once !== !0 && // Ignoring "once" listeners
1214
+ n.type === e && (t === void 0 || n.callback === t) && n.context === s) !== -1;
1215
1215
  }
1216
1216
  /**
1217
1217
  * Checks whether event of the particular type should be dispatched.
@@ -1236,9 +1236,9 @@ class J {
1236
1236
  _eachListener(e) {
1237
1237
  ++this._iterating;
1238
1238
  try {
1239
- c(this._listeners, e);
1239
+ h(this._listeners, e);
1240
1240
  } finally {
1241
- --this._iterating, this._iterating === 0 && this._killed.length !== 0 && (c(this._killed, (t) => {
1241
+ --this._iterating, this._iterating === 0 && this._killed.length !== 0 && (h(this._killed, (t) => {
1242
1242
  this._removeListener(t);
1243
1243
  }), this._killed.length = 0);
1244
1244
  }
@@ -1251,10 +1251,10 @@ class J {
1251
1251
  * @todo automatically add in type and target properties if they are missing
1252
1252
  */
1253
1253
  dispatch(e, t) {
1254
- this._shouldDispatch(e) && this._eachListener((i) => {
1255
- !i.killed && (i.type === null || i.type === e) && (i._debounceDelay ? (i._debounceTimeout && window.clearTimeout(i._debounceTimeout), i._debounceTimeout = window.setTimeout(() => {
1256
- i._debounceTimeout = void 0, i.killed || i.dispatch(e, t);
1257
- }, i._debounceDelay)) : i.dispatch(e, t));
1254
+ this._shouldDispatch(e) && this._eachListener((s) => {
1255
+ !s.killed && (s.type === null || s.type === e) && (s._debounceDelay ? (s._debounceTimeout && window.clearTimeout(s._debounceTimeout), s._debounceTimeout = window.setTimeout(() => {
1256
+ s._debounceTimeout = void 0, s.killed || s.dispatch(e, t);
1257
+ }, s._debounceDelay)) : s.dispatch(e, t));
1258
1258
  });
1259
1259
  }
1260
1260
  /**
@@ -1293,13 +1293,13 @@ class J {
1293
1293
  * @param dispatch
1294
1294
  * @returns An event listener
1295
1295
  */
1296
- _on(e, t, i, r, n, a, u) {
1296
+ _on(e, t, s, r, n, a, u) {
1297
1297
  if (this._disposed)
1298
1298
  throw new Error("EventDispatcher is disposed");
1299
- this._removeExistingListener(e, t, i, r);
1299
+ this._removeExistingListener(e, t, s, r);
1300
1300
  const o = {
1301
1301
  type: t,
1302
- callback: i,
1302
+ callback: s,
1303
1303
  context: r,
1304
1304
  shouldClone: n,
1305
1305
  dispatch: a,
@@ -1320,8 +1320,8 @@ class J {
1320
1320
  * @param shouldClone Whether the listener should be copied when the EventDispatcher is copied
1321
1321
  * @returns A disposable event listener
1322
1322
  */
1323
- onAll(e, t, i = !0) {
1324
- return this._on(!1, null, e, t, i, (r, n) => e.call(t, n)).disposer;
1323
+ onAll(e, t, s = !0) {
1324
+ return this._on(!1, null, e, t, s, (r, n) => e.call(t, n)).disposer;
1325
1325
  }
1326
1326
  /**
1327
1327
  * Creates an event listener to be invoked on a specific event type.
@@ -1346,8 +1346,8 @@ class J {
1346
1346
  * @param shouldClone Whether the listener should be copied when the EventDispatcher is copied
1347
1347
  * @returns A disposable event listener
1348
1348
  */
1349
- on(e, t, i, r = !0) {
1350
- return this._on(!1, e, t, i, r, (n, a) => t.call(i, a)).disposer;
1349
+ on(e, t, s, r = !0) {
1350
+ return this._on(!1, e, t, s, r, (n, a) => t.call(s, a)).disposer;
1351
1351
  }
1352
1352
  /**
1353
1353
  * Creates a debounced event listener to be invoked on a specific event type.
@@ -1375,8 +1375,8 @@ class J {
1375
1375
  * @see {@link https://www.amcharts.com/docs/v5/concepts/events/#Debounced_events} for more info
1376
1376
  * @since 5.14.0
1377
1377
  */
1378
- onDebounced(e, t, i, r, n = !0) {
1379
- return this._on(!1, e, t, r, n, (a, u) => t.call(r, u), i).disposer;
1378
+ onDebounced(e, t, s, r, n = !0) {
1379
+ return this._on(!1, e, t, r, n, (a, u) => t.call(r, u), s).disposer;
1380
1380
  }
1381
1381
  /**
1382
1382
  * Creates an event listener to be invoked on a specific event type once.
@@ -1403,9 +1403,9 @@ class J {
1403
1403
  * @param shouldClone Whether the listener should be copied when the EventDispatcher is copied
1404
1404
  * @returns A disposable event listener
1405
1405
  */
1406
- once(e, t, i, r = !0) {
1407
- const n = this._on(!0, e, t, i, r, (a, u) => {
1408
- n.disposer.dispose(), t.call(i, u);
1406
+ once(e, t, s, r = !0) {
1407
+ const n = this._on(!0, e, t, s, r, (a, u) => {
1408
+ n.disposer.dispose(), t.call(s, u);
1409
1409
  });
1410
1410
  return n.disposer;
1411
1411
  }
@@ -1416,8 +1416,8 @@ class J {
1416
1416
  * @param callback Callback function
1417
1417
  * @param context Callback context
1418
1418
  */
1419
- off(e, t, i) {
1420
- this._removeExistingListener(!1, e, t, i);
1419
+ off(e, t, s) {
1420
+ this._removeExistingListener(!1, e, t, s);
1421
1421
  }
1422
1422
  /**
1423
1423
  * Copies all dispatcher parameters, including listeners, from another event
@@ -1432,52 +1432,52 @@ class J {
1432
1432
  if (e === this)
1433
1433
  throw new Error("Cannot copyFrom the same TargetedEventDispatcher");
1434
1434
  const t = [];
1435
- return c(e._listeners, (i) => {
1436
- !i.killed && i.shouldClone && (i.type === null ? t.push(this.onAll(i.callback, i.context)) : i.once ? t.push(this.once(i.type, i.callback, i.context)) : t.push(this.on(i.type, i.callback, i.context)));
1437
- }), new le(t);
1435
+ return h(e._listeners, (s) => {
1436
+ !s.killed && s.shouldClone && (s.type === null ? t.push(this.onAll(s.callback, s.context)) : s.once ? t.push(this.once(s.type, s.callback, s.context)) : t.push(this.on(s.type, s.callback, s.context)));
1437
+ }), new oe(t);
1438
1438
  }
1439
1439
  }
1440
- function It(s) {
1441
- return Q(this, void 0, void 0, function* () {
1442
- if (s !== void 0) {
1440
+ function Ft(i) {
1441
+ return J(this, void 0, void 0, function* () {
1442
+ if (i !== void 0) {
1443
1443
  const e = [];
1444
- p(s, (t, i) => {
1445
- e.push(i.waitForStop());
1444
+ p(i, (t, s) => {
1445
+ e.push(s.waitForStop());
1446
1446
  }), yield Promise.all(e);
1447
1447
  }
1448
1448
  });
1449
1449
  }
1450
- function b(s, e, t) {
1451
- return e + s * (t - e);
1450
+ function b(i, e, t) {
1451
+ return e + i * (t - e);
1452
1452
  }
1453
- function we(s, e, t) {
1454
- return s >= 1 ? t : e;
1453
+ function ve(i, e, t) {
1454
+ return i >= 1 ? t : e;
1455
1455
  }
1456
- function ye(s, e, t) {
1457
- return new g(b(s, e.percent, t.percent));
1456
+ function we(i, e, t) {
1457
+ return new g(b(i, e.percent, t.percent));
1458
1458
  }
1459
- function Pe(s, e, t) {
1460
- return h.interpolate(s, e, t);
1459
+ function ye(i, e, t) {
1460
+ return c.interpolate(i, e, t);
1461
1461
  }
1462
- function Te(s, e) {
1463
- return typeof s == "number" && typeof e == "number" ? b : s instanceof g && e instanceof g ? ye : s instanceof h && e instanceof h ? Pe : we;
1462
+ function Pe(i, e) {
1463
+ return typeof i == "number" && typeof e == "number" ? b : i instanceof g && e instanceof g ? we : i instanceof c && e instanceof c ? ye : ve;
1464
1464
  }
1465
1465
  var T;
1466
- (function(s) {
1467
- s[s.Stopped = 0] = "Stopped", s[s.Playing = 1] = "Playing", s[s.Paused = 2] = "Paused";
1466
+ (function(i) {
1467
+ i[i.Stopped = 0] = "Stopped", i[i.Playing = 1] = "Playing", i[i.Paused = 2] = "Paused";
1468
1468
  })(T || (T = {}));
1469
- function z(s) {
1470
- return s;
1469
+ function U(i) {
1470
+ return i;
1471
1471
  }
1472
- function Se(s) {
1473
- return s * s * s;
1472
+ function Te(i) {
1473
+ return i * i * i;
1474
1474
  }
1475
- function Lt(s) {
1475
+ function Rt(i) {
1476
1476
  return function(e) {
1477
- return 1 - s(1 - e);
1477
+ return 1 - i(1 - e);
1478
1478
  };
1479
1479
  }
1480
- class De {
1480
+ class Se {
1481
1481
  constructor(e, t) {
1482
1482
  Object.defineProperty(this, "_entity", {
1483
1483
  enumerable: !0,
@@ -1494,13 +1494,13 @@ class De {
1494
1494
  configurable: !0,
1495
1495
  writable: !0,
1496
1496
  value: {}
1497
- }), this._entity = e, this._settings = t, p(t, (i) => {
1498
- this._userSettings[i] = !0;
1497
+ }), this._entity = e, this._settings = t, p(t, (s) => {
1498
+ this._userSettings[s] = !0;
1499
1499
  });
1500
1500
  }
1501
1501
  get(e, t) {
1502
- const i = this._settings[e];
1503
- return i !== void 0 ? i : t;
1502
+ const s = this._settings[e];
1503
+ return s !== void 0 ? s : t;
1504
1504
  }
1505
1505
  /**
1506
1506
  * @ignore
@@ -1553,8 +1553,8 @@ class De {
1553
1553
  const e = {};
1554
1554
  e.stateAnimationEasing = !0, e.stateAnimationDuration = !0;
1555
1555
  const t = this._entity.states.lookup("default");
1556
- this._eachSetting((i, r) => {
1557
- e[i] || (e[i] = !0, this !== t && (i in t._settings || (t._settings[i] = this._entity.get(i))), this._entity.set(i, r));
1556
+ this._eachSetting((s, r) => {
1557
+ e[s] || (e[s] = !0, this !== t && (s in t._settings || (t._settings[s] = this._entity.get(s))), this._entity.set(s, r));
1558
1558
  });
1559
1559
  }
1560
1560
  /**
@@ -1568,13 +1568,13 @@ class De {
1568
1568
  applyAnimate(e) {
1569
1569
  e == null && (e = this._settings.stateAnimationDuration), e == null && (e = this.get("stateAnimationDuration", this._entity.get("stateAnimationDuration", 0)));
1570
1570
  let t = this._settings.stateAnimationEasing;
1571
- t == null && (t = this.get("stateAnimationEasing", this._entity.get("stateAnimationEasing", Se)));
1572
- const i = this._entity.states.lookup("default"), r = {};
1571
+ t == null && (t = this.get("stateAnimationEasing", this._entity.get("stateAnimationEasing", Te)));
1572
+ const s = this._entity.states.lookup("default"), r = {};
1573
1573
  r.stateAnimationEasing = !0, r.stateAnimationDuration = !0;
1574
1574
  const n = {};
1575
1575
  return this._eachSetting((a, u) => {
1576
1576
  if (!r[a]) {
1577
- r[a] = !0, this != i && (a in i._settings || (i._settings[a] = this._entity.get(a)));
1577
+ r[a] = !0, this != s && (a in s._settings || (s._settings[a] = this._entity.get(a)));
1578
1578
  const o = this._entity.animate({
1579
1579
  key: a,
1580
1580
  to: u,
@@ -1586,7 +1586,7 @@ class De {
1586
1586
  }), n;
1587
1587
  }
1588
1588
  }
1589
- class Oe {
1589
+ class De {
1590
1590
  constructor(e) {
1591
1591
  Object.defineProperty(this, "_states", {
1592
1592
  enumerable: !0,
@@ -1619,11 +1619,11 @@ class Oe {
1619
1619
  * @return New State
1620
1620
  */
1621
1621
  create(e, t) {
1622
- const i = this._states[e];
1623
- if (i)
1624
- return i.setAll(t), i;
1622
+ const s = this._states[e];
1623
+ if (s)
1624
+ return s.setAll(t), s;
1625
1625
  {
1626
- const r = new De(this._entity, t);
1626
+ const r = new Se(this._entity, t);
1627
1627
  return this._states[e] = r, r;
1628
1628
  }
1629
1629
  }
@@ -1654,9 +1654,9 @@ class Oe {
1654
1654
  * @return Animations
1655
1655
  */
1656
1656
  applyAnimate(e, t) {
1657
- let i;
1657
+ let s;
1658
1658
  const r = this._states[e];
1659
- return r && (i = r.applyAnimate(t)), this._entity._applyStateAnimated(e, t), i;
1659
+ return r && (s = r.applyAnimate(t)), this._entity._applyStateAnimated(e, t), s;
1660
1660
  }
1661
1661
  }
1662
1662
  class Ee {
@@ -1689,23 +1689,23 @@ class Ee {
1689
1689
  });
1690
1690
  }
1691
1691
  }
1692
- const C = new Ee();
1693
- function L(s, e) {
1694
- return s === e ? 0 : s < e ? -1 : 1;
1692
+ const A = new Ee();
1693
+ function R(i, e) {
1694
+ return i === e ? 0 : i < e ? -1 : 1;
1695
1695
  }
1696
- function je(s, e, t) {
1697
- const i = s.length, r = e.length, n = Math.min(i, r);
1696
+ function Oe(i, e, t) {
1697
+ const s = i.length, r = e.length, n = Math.min(s, r);
1698
1698
  for (let a = 0; a < n; ++a) {
1699
- const u = t(s[a], e[a]);
1699
+ const u = t(i[a], e[a]);
1700
1700
  if (u !== 0)
1701
1701
  return u;
1702
1702
  }
1703
- return L(i, r);
1703
+ return R(s, r);
1704
1704
  }
1705
- function Ft(s, e) {
1706
- return s === e ? 0 : s < e ? -1 : 1;
1705
+ function It(i, e) {
1706
+ return i === e ? 0 : i < e ? -1 : 1;
1707
1707
  }
1708
- class xe {
1708
+ class je {
1709
1709
  constructor(e) {
1710
1710
  Object.defineProperty(this, "_entity", {
1711
1711
  enumerable: !0,
@@ -1730,9 +1730,9 @@ class xe {
1730
1730
  * @see {@link https://www.amcharts.com/docs/v5/concepts/settings/adapters/} for more info
1731
1731
  */
1732
1732
  add(e, t) {
1733
- let i = this._callbacks[e];
1734
- return i === void 0 && (i = this._callbacks[e] = []), i.push(t), this._entity._markDirtyKey(e), new w(() => {
1735
- P(i, t) && this._entity._markDirtyKey(e);
1733
+ let s = this._callbacks[e];
1734
+ return s === void 0 && (s = this._callbacks[e] = []), s.push(t), this._entity._markDirtyKey(e), new w(() => {
1735
+ P(s, t) && this._entity._markDirtyKey(e);
1736
1736
  });
1737
1737
  }
1738
1738
  /**
@@ -1765,16 +1765,16 @@ class xe {
1765
1765
  */
1766
1766
  fold(e, t) {
1767
1767
  if (!this._disabled[e]) {
1768
- const i = this._callbacks[e];
1769
- if (i !== void 0)
1770
- for (let r = 0, n = i.length; r < n; ++r)
1771
- t = i[r](t, this._entity, e);
1768
+ const s = this._callbacks[e];
1769
+ if (s !== void 0)
1770
+ for (let r = 0, n = s.length; r < n; ++r)
1771
+ t = s[r](t, this._entity, e);
1772
1772
  }
1773
1773
  return t;
1774
1774
  }
1775
1775
  }
1776
1776
  class S {
1777
- constructor(e, t, i, r, n, a, u) {
1777
+ constructor(e, t, s, r, n, a, u) {
1778
1778
  Object.defineProperty(this, "_animation", {
1779
1779
  enumerable: !0,
1780
1780
  configurable: !0,
@@ -1834,8 +1834,8 @@ class S {
1834
1834
  enumerable: !0,
1835
1835
  configurable: !0,
1836
1836
  writable: !0,
1837
- value: new J()
1838
- }), this._animation = e, this._from = t, this._to = i, this._duration = r, this._easing = n, this._loops = a, this._interpolate = Te(t, i), this._oldTime = u;
1837
+ value: new V()
1838
+ }), this._animation = e, this._from = t, this._to = s, this._duration = r, this._easing = n, this._loops = a, this._interpolate = Pe(t, s), this._oldTime = u;
1839
1839
  }
1840
1840
  get to() {
1841
1841
  return this._to;
@@ -1869,9 +1869,9 @@ class S {
1869
1869
  if (this._stopped)
1870
1870
  e();
1871
1871
  else {
1872
- const i = () => {
1872
+ const s = () => {
1873
1873
  r.dispose(), e();
1874
- }, r = this.events.on("stopped", i);
1874
+ }, r = this.events.on("stopped", s);
1875
1875
  }
1876
1876
  });
1877
1877
  }
@@ -1888,14 +1888,14 @@ class S {
1888
1888
  return this._interpolate(this._easing(e), this._from, this._to);
1889
1889
  }
1890
1890
  }
1891
- let Ae = 0;
1892
- class Ce {
1891
+ let xe = 0;
1892
+ class Ae {
1893
1893
  constructor(e) {
1894
1894
  Object.defineProperty(this, "uid", {
1895
1895
  enumerable: !0,
1896
1896
  configurable: !0,
1897
1897
  writable: !0,
1898
- value: ++Ae
1898
+ value: ++xe
1899
1899
  }), Object.defineProperty(this, "_settings", {
1900
1900
  enumerable: !0,
1901
1901
  configurable: !0,
@@ -1967,14 +1967,14 @@ class Ce {
1967
1967
  _runAnimation(e) {
1968
1968
  let t = T.Stopped;
1969
1969
  if (!this.isDisposed()) {
1970
- let i = !1, r = !1;
1970
+ let s = !1, r = !1;
1971
1971
  p(this._animatingSettings, (n, a) => {
1972
1972
  if (a.stopped)
1973
1973
  this._stopAnimation(n);
1974
1974
  else if (a.playing) {
1975
1975
  a._run(e);
1976
1976
  const u = a.percentage;
1977
- u >= 1 ? a._checkEnded() ? this.set(n, a._value(1)) : (i = !0, a._reset(e), this._set(n, a._value(1))) : (i = !0, this._set(n, a._value(u)));
1977
+ u >= 1 ? a._checkEnded() ? this.set(n, a._value(1)) : (s = !0, a._reset(e), this._set(n, a._value(1))) : (s = !0, this._set(n, a._value(u)));
1978
1978
  } else
1979
1979
  r = !0;
1980
1980
  }), p(this._animatingPrivateSettings, (n, a) => {
@@ -1983,10 +1983,10 @@ class Ce {
1983
1983
  else if (a.playing) {
1984
1984
  a._run(e);
1985
1985
  const u = a.percentage;
1986
- u >= 1 ? a._checkEnded() ? this.setPrivate(n, a._value(1)) : (i = !0, a._reset(e), this._setPrivate(n, a._value(1))) : (i = !0, this._setPrivate(n, a._value(u)));
1986
+ u >= 1 ? a._checkEnded() ? this.setPrivate(n, a._value(1)) : (s = !0, a._reset(e), this._setPrivate(n, a._value(1))) : (s = !0, this._setPrivate(n, a._value(u)));
1987
1987
  } else
1988
1988
  r = !0;
1989
- }), i ? t = T.Playing : r && (t = T.Paused);
1989
+ }), s ? t = T.Playing : r && (t = T.Paused);
1990
1990
  }
1991
1991
  return t;
1992
1992
  }
@@ -2006,9 +2006,9 @@ class Ce {
2006
2006
  * @return Disposer for event
2007
2007
  */
2008
2008
  on(e, t) {
2009
- let i = this._settingEvents[e];
2010
- return i === void 0 && (i = this._settingEvents[e] = []), i.push(t), new w(() => {
2011
- P(i, t), i.length === 0 && delete this._settingEvents[e];
2009
+ let s = this._settingEvents[e];
2010
+ return s === void 0 && (s = this._settingEvents[e] = []), s.push(t), new w(() => {
2011
+ P(s, t), s.length === 0 && delete this._settingEvents[e];
2012
2012
  });
2013
2013
  }
2014
2014
  /**
@@ -2020,8 +2020,8 @@ class Ce {
2020
2020
  * @since 5.9.2
2021
2021
  */
2022
2022
  off(e, t) {
2023
- let i = this._settingEvents[e];
2024
- i !== void 0 && t !== void 0 ? P(i, t) : delete this._settingEvents[e];
2023
+ let s = this._settingEvents[e];
2024
+ s !== void 0 && t !== void 0 ? P(s, t) : delete this._settingEvents[e];
2025
2025
  }
2026
2026
  /**
2027
2027
  * Sets a callback function to invoke when specific key of private settings
@@ -2033,9 +2033,9 @@ class Ce {
2033
2033
  * @return Disposer for event
2034
2034
  */
2035
2035
  onPrivate(e, t) {
2036
- let i = this._privateSettingEvents[e];
2037
- return i === void 0 && (i = this._privateSettingEvents[e] = []), i.push(t), new w(() => {
2038
- P(i, t), i.length === 0 && delete this._privateSettingEvents[e];
2036
+ let s = this._privateSettingEvents[e];
2037
+ return s === void 0 && (s = this._privateSettingEvents[e] = []), s.push(t), new w(() => {
2038
+ P(s, t), s.length === 0 && delete this._privateSettingEvents[e];
2039
2039
  });
2040
2040
  }
2041
2041
  /**
@@ -2047,15 +2047,15 @@ class Ce {
2047
2047
  * @since 5.9.2
2048
2048
  */
2049
2049
  offPrivate(e, t) {
2050
- let i = this._privateSettingEvents[e];
2051
- i !== void 0 && t !== void 0 ? P(i, t) : delete this._privateSettingEvents[e];
2050
+ let s = this._privateSettingEvents[e];
2051
+ s !== void 0 && t !== void 0 ? P(s, t) : delete this._privateSettingEvents[e];
2052
2052
  }
2053
2053
  /**
2054
2054
  * @ignore
2055
2055
  */
2056
2056
  getRaw(e, t) {
2057
- const i = this._settings[e];
2058
- return i !== void 0 ? i : t;
2057
+ const s = this._settings[e];
2058
+ return s !== void 0 ? s : t;
2059
2059
  }
2060
2060
  /**
2061
2061
  * Returns `true` if the setting exists.
@@ -2071,36 +2071,36 @@ class Ce {
2071
2071
  return this.getRaw(e, t);
2072
2072
  }
2073
2073
  _sendKeyEvent(e, t) {
2074
- const i = this._settingEvents[e];
2075
- i !== void 0 && c(i, (r) => {
2074
+ const s = this._settingEvents[e];
2075
+ s !== void 0 && h(s, (r) => {
2076
2076
  r(t, this, e);
2077
2077
  });
2078
2078
  }
2079
2079
  _sendPrivateKeyEvent(e, t) {
2080
- const i = this._privateSettingEvents[e];
2081
- i !== void 0 && c(i, (r) => {
2080
+ const s = this._privateSettingEvents[e];
2081
+ s !== void 0 && h(s, (r) => {
2082
2082
  r(t, this, e);
2083
2083
  });
2084
2084
  }
2085
2085
  /**
2086
2086
  * @ignore
2087
2087
  */
2088
- _setRaw(e, t, i) {
2089
- this._prevSettings[e] = t, this._sendKeyEvent(e, i);
2088
+ _setRaw(e, t, s) {
2089
+ this._prevSettings[e] = t, this._sendKeyEvent(e, s);
2090
2090
  }
2091
2091
  /**
2092
2092
  * @ignore
2093
2093
  */
2094
2094
  setRaw(e, t) {
2095
- const i = this._settings[e];
2096
- this._settings[e] = t, i !== t && this._setRaw(e, i, t);
2095
+ const s = this._settings[e];
2096
+ this._settings[e] = t, s !== t && this._setRaw(e, s, t);
2097
2097
  }
2098
2098
  /**
2099
2099
  * @ignore
2100
2100
  */
2101
2101
  _set(e, t) {
2102
- const i = this._settings[e];
2103
- this._settings[e] = t, i !== t && (this._setRaw(e, i, t), this._markDirtyKey(e));
2102
+ const s = this._settings[e];
2103
+ this._settings[e] = t, s !== t && (this._setRaw(e, s, t), this._markDirtyKey(e));
2104
2104
  }
2105
2105
  _stopAnimation(e) {
2106
2106
  const t = this._animatingSettings[e];
@@ -2132,7 +2132,7 @@ class Ce {
2132
2132
  * @see {@link https://www.amcharts.com/docs/v5/concepts/settings/} for more info
2133
2133
  */
2134
2134
  removeAll() {
2135
- c(y(this._settings), (e) => {
2135
+ h(y(this._settings), (e) => {
2136
2136
  this.remove(e);
2137
2137
  });
2138
2138
  }
@@ -2142,28 +2142,28 @@ class Ce {
2142
2142
  * @see {@link https://www.amcharts.com/docs/v5/concepts/settings/#Private_settings} for more info
2143
2143
  */
2144
2144
  getPrivate(e, t) {
2145
- const i = this._privateSettings[e];
2146
- return i !== void 0 ? i : t;
2145
+ const s = this._privateSettings[e];
2146
+ return s !== void 0 ? s : t;
2147
2147
  }
2148
2148
  /**
2149
2149
  * @ignore
2150
2150
  */
2151
- _setPrivateRaw(e, t, i) {
2152
- this._prevPrivateSettings[e] = t, this._sendPrivateKeyEvent(e, i);
2151
+ _setPrivateRaw(e, t, s) {
2152
+ this._prevPrivateSettings[e] = t, this._sendPrivateKeyEvent(e, s);
2153
2153
  }
2154
2154
  /**
2155
2155
  * @ignore
2156
2156
  */
2157
2157
  setPrivateRaw(e, t) {
2158
- const i = this._privateSettings[e];
2159
- this._privateSettings[e] = t, i !== t && this._setPrivateRaw(e, i, t);
2158
+ const s = this._privateSettings[e];
2159
+ this._privateSettings[e] = t, s !== t && this._setPrivateRaw(e, s, t);
2160
2160
  }
2161
2161
  /**
2162
2162
  * @ignore
2163
2163
  */
2164
2164
  _setPrivate(e, t) {
2165
- const i = this._privateSettings[e];
2166
- this._privateSettings[e] = t, i !== t && (this._setPrivateRaw(e, i, t), this._markDirtyPrivateKey(e));
2165
+ const s = this._privateSettings[e];
2166
+ this._privateSettings[e] = t, s !== t && (this._setPrivateRaw(e, s, t), this._markDirtyPrivateKey(e));
2167
2167
  }
2168
2168
  _stopAnimationPrivate(e) {
2169
2169
  const t = this._animatingPrivateSettings[e];
@@ -2190,8 +2190,8 @@ class Ce {
2190
2190
  * @param settings Settings
2191
2191
  */
2192
2192
  setAll(e) {
2193
- p(e, (t, i) => {
2194
- this.set(t, i);
2193
+ p(e, (t, s) => {
2194
+ this.set(t, s);
2195
2195
  });
2196
2196
  }
2197
2197
  /**
@@ -2202,34 +2202,34 @@ class Ce {
2202
2202
  * @return Animation object
2203
2203
  */
2204
2204
  animate(e) {
2205
- const t = e.key, i = e.to, r = e.duration || 0, n = e.loops || 1, a = e.from === void 0 ? this.get(t) : e.from, u = e.easing === void 0 ? z : e.easing;
2205
+ const t = e.key, s = e.to, r = e.duration || 0, n = e.loops || 1, a = e.from === void 0 ? this.get(t) : e.from, u = e.easing === void 0 ? U : e.easing;
2206
2206
  if (r === 0)
2207
- this.set(t, i);
2208
- else if (a === void 0 || a === i)
2209
- this.set(t, i);
2207
+ this.set(t, s);
2208
+ else if (a === void 0 || a === s)
2209
+ this.set(t, s);
2210
2210
  else {
2211
2211
  this.set(t, a);
2212
- const l = this._animatingSettings[t] = new S(this, a, i, r, u, n, this._animationTime());
2212
+ const l = this._animatingSettings[t] = new S(this, a, s, r, u, n, this._animationTime());
2213
2213
  return this._startAnimation(), l;
2214
2214
  }
2215
- const o = new S(this, a, i, r, u, n, null);
2215
+ const o = new S(this, a, s, r, u, n, null);
2216
2216
  return o.stop(), o;
2217
2217
  }
2218
2218
  /**
2219
2219
  * @ignore
2220
2220
  */
2221
2221
  animatePrivate(e) {
2222
- const t = e.key, i = e.to, r = e.duration || 0, n = e.loops || 1, a = e.from === void 0 ? this.getPrivate(t) : e.from, u = e.easing === void 0 ? z : e.easing;
2222
+ const t = e.key, s = e.to, r = e.duration || 0, n = e.loops || 1, a = e.from === void 0 ? this.getPrivate(t) : e.from, u = e.easing === void 0 ? U : e.easing;
2223
2223
  if (r === 0)
2224
- this.setPrivate(t, i);
2225
- else if (a === void 0 || a === i)
2226
- this.setPrivate(t, i);
2224
+ this.setPrivate(t, s);
2225
+ else if (a === void 0 || a === s)
2226
+ this.setPrivate(t, s);
2227
2227
  else {
2228
2228
  this.setPrivate(t, a);
2229
- const l = this._animatingPrivateSettings[t] = new S(this, a, i, r, u, n, this._animationTime());
2229
+ const l = this._animatingPrivateSettings[t] = new S(this, a, s, r, u, n, this._animationTime());
2230
2230
  return this._startAnimation(), l;
2231
2231
  }
2232
- const o = new S(this, a, i, r, u, n, null);
2232
+ const o = new S(this, a, s, r, u, n, null);
2233
2233
  return o.stop(), o;
2234
2234
  }
2235
2235
  _dispose() {
@@ -2249,7 +2249,7 @@ class Ce {
2249
2249
  this.enableDispose && !this._disposed && (this._disposed = !0, this._dispose());
2250
2250
  }
2251
2251
  }
2252
- class O extends Ce {
2252
+ class q extends Ae {
2253
2253
  /**
2254
2254
  * IMPORTANT! Do not instantiate this class via `new Class()` syntax.
2255
2255
  *
@@ -2258,7 +2258,7 @@ class O extends Ce {
2258
2258
  * @see {@link https://www.amcharts.com/docs/v5/getting-started/#New_element_syntax} for more info
2259
2259
  * @ignore
2260
2260
  */
2261
- constructor(e, t, i, r = []) {
2261
+ constructor(e, t, s, r = []) {
2262
2262
  if (super(t), Object.defineProperty(this, "_root", {
2263
2263
  enumerable: !0,
2264
2264
  configurable: !0,
@@ -2273,12 +2273,12 @@ class O extends Ce {
2273
2273
  enumerable: !0,
2274
2274
  configurable: !0,
2275
2275
  writable: !0,
2276
- value: new Oe(this)
2276
+ value: new De(this)
2277
2277
  }), Object.defineProperty(this, "adapters", {
2278
2278
  enumerable: !0,
2279
2279
  configurable: !0,
2280
2280
  writable: !0,
2281
- value: new xe(this)
2281
+ value: new je(this)
2282
2282
  }), Object.defineProperty(this, "events", {
2283
2283
  enumerable: !0,
2284
2284
  configurable: !0,
@@ -2339,7 +2339,7 @@ class O extends Ce {
2339
2339
  configurable: !0,
2340
2340
  writable: !0,
2341
2341
  value: {}
2342
- }), !i)
2342
+ }), !s)
2343
2343
  throw new Error("You cannot use `new Class()`, instead use `Class.new()`");
2344
2344
  this._root = e, this._internalTemplates = r, t.id && this._registerId(t.id);
2345
2345
  }
@@ -2352,20 +2352,20 @@ class O extends Ce {
2352
2352
  * @param template Template
2353
2353
  * @return Instantiated object
2354
2354
  */
2355
- static new(e, t, i) {
2355
+ static new(e, t, s) {
2356
2356
  const r = new this(e, t, !0);
2357
- return r._template = i, r._afterNew(), r;
2357
+ return r._template = s, r._afterNew(), r;
2358
2358
  }
2359
- static _new(e, t, i = []) {
2360
- const r = new this(e, t, !0, i);
2359
+ static _new(e, t, s = []) {
2360
+ const r = new this(e, t, !0, s);
2361
2361
  return r._afterNew(), r;
2362
2362
  }
2363
2363
  _afterNew() {
2364
2364
  this._checkDirty();
2365
2365
  let e = !1;
2366
2366
  const t = this._template;
2367
- t && (e = !0, t._setObjectTemplate(this)), c(this._internalTemplates, (i) => {
2368
- e = !0, i._setObjectTemplate(this);
2367
+ t && (e = !0, t._setObjectTemplate(this)), h(this._internalTemplates, (s) => {
2368
+ e = !0, s._setObjectTemplate(this);
2369
2369
  }), e && this._applyTemplates(!1), this.states.create("default", {}), this._setDefaults();
2370
2370
  }
2371
2371
  // This is the same as _afterNew, except it also applies the themes.
@@ -2373,12 +2373,12 @@ class O extends Ce {
2373
2373
  _afterNewApplyThemes() {
2374
2374
  this._checkDirty();
2375
2375
  const e = this._template;
2376
- e && e._setObjectTemplate(this), c(this._internalTemplates, (t) => {
2376
+ e && e._setObjectTemplate(this), h(this._internalTemplates, (t) => {
2377
2377
  t._setObjectTemplate(this);
2378
2378
  }), this.states.create("default", {}), this._setDefaults(), this._applyThemes();
2379
2379
  }
2380
2380
  _createEvents() {
2381
- return new J();
2381
+ return new V();
2382
2382
  }
2383
2383
  /**
2384
2384
  * @ignore
@@ -2395,9 +2395,9 @@ class O extends Ce {
2395
2395
  _setDefaults() {
2396
2396
  }
2397
2397
  _setDefaultFn(e, t) {
2398
- const i = this.get(e);
2399
- if (i)
2400
- return i;
2398
+ const s = this.get(e);
2399
+ if (s)
2400
+ return s;
2401
2401
  {
2402
2402
  const r = t();
2403
2403
  return this.set(e, r), r;
@@ -2444,13 +2444,13 @@ class O extends Ce {
2444
2444
  return this.classNames.indexOf(e) !== -1;
2445
2445
  }
2446
2446
  _pushPropertyDisposer(e, t) {
2447
- let i = this._disposerProperties[e];
2448
- return i === void 0 && (i = this._disposerProperties[e] = []), i.push(t), t;
2447
+ let s = this._disposerProperties[e];
2448
+ return s === void 0 && (s = this._disposerProperties[e] = []), s.push(t), t;
2449
2449
  }
2450
2450
  _disposeProperty(e) {
2451
2451
  const t = this._disposerProperties[e];
2452
- t !== void 0 && (c(t, (i) => {
2453
- i.dispose();
2452
+ t !== void 0 && (h(t, (s) => {
2453
+ s.dispose();
2454
2454
  }), delete this._disposerProperties[e]);
2455
2455
  }
2456
2456
  /**
@@ -2481,8 +2481,8 @@ class O extends Ce {
2481
2481
  _applyStateAnimated(e, t) {
2482
2482
  }
2483
2483
  get(e, t) {
2484
- const i = this.adapters.fold(e, this._settings[e]);
2485
- return i !== void 0 ? i : t;
2484
+ const s = this.adapters.fold(e, this._settings[e]);
2485
+ return s !== void 0 ? s : t;
2486
2486
  }
2487
2487
  /**
2488
2488
  * @ignore
@@ -2545,16 +2545,16 @@ class O extends Ce {
2545
2545
  removePrivate(e) {
2546
2546
  delete this._userPrivateProperties[e], this._removeTemplatePrivateProperty(e);
2547
2547
  }
2548
- _setTemplateProperty(e, t, i) {
2548
+ _setTemplateProperty(e, t, s) {
2549
2549
  if (!this._userProperties[t]) {
2550
2550
  const r = this._findTemplateByKey(t);
2551
- e === r && super.set(t, i);
2551
+ e === r && super.set(t, s);
2552
2552
  }
2553
2553
  }
2554
- _setTemplatePrivateProperty(e, t, i) {
2554
+ _setTemplatePrivateProperty(e, t, s) {
2555
2555
  if (!this._userPrivateProperties[t]) {
2556
2556
  const r = this._findTemplateByPrivateKey(t);
2557
- e === r && super.setPrivate(t, i);
2557
+ e === r && super.setPrivate(t, s);
2558
2558
  }
2559
2559
  }
2560
2560
  _removeTemplateProperty(e) {
@@ -2574,19 +2574,19 @@ class O extends Ce {
2574
2574
  }
2575
2575
  // TODO faster version of this method which is specialized to just 1 key
2576
2576
  _applyStateByKey(e) {
2577
- const t = this.states.create(e, {}), i = {};
2577
+ const t = this.states.create(e, {}), s = {};
2578
2578
  this._eachTemplate((r) => {
2579
2579
  const n = r.states.lookup(e);
2580
- n && n._apply(t, i);
2580
+ n && n._apply(t, s);
2581
2581
  }), p(t._settings, (r) => {
2582
- !i[r] && !t._userSettings[r] && t.remove(r);
2582
+ !s[r] && !t._userSettings[r] && t.remove(r);
2583
2583
  });
2584
2584
  }
2585
2585
  _applyTemplate(e, t) {
2586
- this._templateDisposers.push(e._apply(this, t)), p(e._settings, (i, r) => {
2587
- !t.settings[i] && !this._userProperties[i] && (t.settings[i] = !0, super.set(i, r));
2588
- }), p(e._privateSettings, (i, r) => {
2589
- !t.privateSettings[i] && !this._userPrivateProperties[i] && (t.privateSettings[i] = !0, super.setPrivate(i, r));
2586
+ this._templateDisposers.push(e._apply(this, t)), p(e._settings, (s, r) => {
2587
+ !t.settings[s] && !this._userProperties[s] && (t.settings[s] = !0, super.set(s, r));
2588
+ }), p(e._privateSettings, (s, r) => {
2589
+ !t.privateSettings[s] && !this._userPrivateProperties[s] && (t.privateSettings[s] = !0, super.setPrivate(s, r));
2590
2590
  }), this._runSetup && e.setup && (this._runSetup = !1, e.setup(this));
2591
2591
  }
2592
2592
  /**
@@ -2597,7 +2597,7 @@ class O extends Ce {
2597
2597
  return this._template;
2598
2598
  }
2599
2599
  _eachTemplate(e) {
2600
- this._findStaticTemplate((t) => (e(t), !1)), j(this._internalTemplates, e), c(this._templates, e);
2600
+ this._findStaticTemplate((t) => (e(t), !1)), O(this._internalTemplates, e), h(this._templates, e);
2601
2601
  }
2602
2602
  _applyTemplates(e = !0) {
2603
2603
  e && this._disposeTemplates();
@@ -2606,19 +2606,19 @@ class O extends Ce {
2606
2606
  privateSettings: {},
2607
2607
  states: {}
2608
2608
  };
2609
- this._eachTemplate((i) => {
2610
- this._applyTemplate(i, t);
2611
- }), e && (p(this._settings, (i) => {
2612
- !this._userProperties[i] && !t.settings[i] && super.remove(i);
2613
- }), p(this._privateSettings, (i) => {
2614
- !this._userPrivateProperties[i] && !t.privateSettings[i] && super.removePrivate(i);
2609
+ this._eachTemplate((s) => {
2610
+ this._applyTemplate(s, t);
2611
+ }), e && (p(this._settings, (s) => {
2612
+ !this._userProperties[s] && !t.settings[s] && super.remove(s);
2613
+ }), p(this._privateSettings, (s) => {
2614
+ !this._userPrivateProperties[s] && !t.privateSettings[s] && super.removePrivate(s);
2615
2615
  }));
2616
2616
  }
2617
2617
  _findTemplate(e) {
2618
2618
  const t = this._findStaticTemplate(e);
2619
2619
  if (t === void 0) {
2620
- const i = ae(this._internalTemplates, e);
2621
- return i === void 0 ? ne(this._templates, e) : i;
2620
+ const s = ne(this._internalTemplates, e);
2621
+ return s === void 0 ? re(this._templates, e) : s;
2622
2622
  } else
2623
2623
  return t;
2624
2624
  }
@@ -2629,46 +2629,46 @@ class O extends Ce {
2629
2629
  return this._findTemplate((t) => e in t._privateSettings);
2630
2630
  }
2631
2631
  _disposeTemplates() {
2632
- c(this._templateDisposers, (e) => {
2632
+ h(this._templateDisposers, (e) => {
2633
2633
  e.dispose();
2634
2634
  }), this._templateDisposers.length = 0;
2635
2635
  }
2636
2636
  _removeTemplates() {
2637
- c(this._templates, (e) => {
2637
+ h(this._templates, (e) => {
2638
2638
  e._removeObjectTemplate(this);
2639
2639
  }), this._templates.length = 0;
2640
2640
  }
2641
2641
  _applyThemes(e = !1) {
2642
2642
  let t = !1;
2643
- const i = [];
2643
+ const s = [];
2644
2644
  let r = [];
2645
2645
  const n = /* @__PURE__ */ new Set(), a = this.get("themeTagsSelf");
2646
- return a && c(a, (u) => {
2646
+ return a && h(a, (u) => {
2647
2647
  n.add(u);
2648
2648
  }), this._walkParents((u) => {
2649
- u === this._root._rootContainer && (t = !0), u._defaultThemes.length > 0 && i.push(u._defaultThemes);
2649
+ u === this._root._rootContainer && (t = !0), u._defaultThemes.length > 0 && s.push(u._defaultThemes);
2650
2650
  const o = u.get("themes");
2651
2651
  o && r.push(o);
2652
2652
  const l = u.get("themeTags");
2653
- l && c(l, (f) => {
2653
+ l && h(l, (f) => {
2654
2654
  n.add(f);
2655
2655
  });
2656
- }), r = i.concat(r), this._removeTemplates(), (t || e) && j(this.classNames, (u) => {
2656
+ }), r = s.concat(r), this._removeTemplates(), (t || e) && O(this.classNames, (u) => {
2657
2657
  const o = [];
2658
- c(r, (l) => {
2659
- c(l, (f) => {
2658
+ h(r, (l) => {
2659
+ h(l, (f) => {
2660
2660
  const d = f._lookupRules(u);
2661
- d && j(d, (m) => {
2661
+ d && O(d, (m) => {
2662
2662
  if (m.tags.every((E) => n.has(E))) {
2663
- const E = ue(o, (M) => {
2664
- const N = L(m.tags.length, M.tags.length);
2665
- return N === 0 ? je(m.tags, M.tags, L) : N;
2663
+ const E = ae(o, (L) => {
2664
+ const C = R(m.tags.length, L.tags.length);
2665
+ return C === 0 ? Oe(m.tags, L.tags, R) : C;
2666
2666
  });
2667
2667
  o.splice(E.index, 0, m);
2668
2668
  }
2669
2669
  });
2670
2670
  });
2671
- }), c(o, (l) => {
2671
+ }), h(o, (l) => {
2672
2672
  this._templates.push(l.template), l.template._setObjectTemplate(this);
2673
2673
  });
2674
2674
  }), this._applyTemplates(), (t || e) && (this._runSetup = !1), t || e;
@@ -2680,13 +2680,13 @@ class O extends Ce {
2680
2680
  const e = this.get("id");
2681
2681
  e && this._registerId(e);
2682
2682
  const t = this._prevSettings.id;
2683
- t && (delete this._root.entitiesById[t], delete C.entitiesById[t]);
2683
+ t && (delete this._root.entitiesById[t], delete A.entitiesById[t]);
2684
2684
  }
2685
2685
  }
2686
2686
  _registerId(e) {
2687
2687
  if (this._root.entitiesById[e] && this._root.entitiesById[e] !== this)
2688
2688
  throw new Error('An entity with id "' + e + '" already exists.');
2689
- this._root.entitiesById[e] = this, C.entitiesById[e] = this;
2689
+ this._root.entitiesById[e] = this, A.entitiesById[e] = this;
2690
2690
  }
2691
2691
  _afterChanged() {
2692
2692
  }
@@ -2699,17 +2699,17 @@ class O extends Ce {
2699
2699
  _dispose() {
2700
2700
  super._dispose();
2701
2701
  const e = this._template;
2702
- e && e._removeObjectTemplate(this), c(this._internalTemplates, (i) => {
2703
- i._removeObjectTemplate(this);
2704
- }), this._removeTemplates(), this._disposeTemplates(), this.events.dispose(), this._disposers.forEach((i) => {
2705
- i.dispose();
2706
- }), p(this._disposerProperties, (i, r) => {
2707
- c(r, (n) => {
2702
+ e && e._removeObjectTemplate(this), h(this._internalTemplates, (s) => {
2703
+ s._removeObjectTemplate(this);
2704
+ }), this._removeTemplates(), this._disposeTemplates(), this.events.dispose(), this._disposers.forEach((s) => {
2705
+ s.dispose();
2706
+ }), p(this._disposerProperties, (s, r) => {
2707
+ h(r, (n) => {
2708
2708
  n.dispose();
2709
2709
  });
2710
2710
  });
2711
2711
  const t = this.get("id");
2712
- t && (delete this._root.entitiesById[t], delete C.entitiesById[t]);
2712
+ t && (delete this._root.entitiesById[t], delete A.entitiesById[t]);
2713
2713
  }
2714
2714
  /**
2715
2715
  * Creates and returns a "disposable" timeout.
@@ -2719,10 +2719,10 @@ class O extends Ce {
2719
2719
  * @return Timeout disposer
2720
2720
  */
2721
2721
  setTimeout(e, t) {
2722
- const i = setTimeout(() => {
2722
+ const s = setTimeout(() => {
2723
2723
  this.removeDispose(r), e();
2724
2724
  }, t), r = new w(() => {
2725
- clearTimeout(i);
2725
+ clearTimeout(s);
2726
2726
  });
2727
2727
  return this._disposers.push(r), r;
2728
2728
  }
@@ -2731,7 +2731,7 @@ class O extends Ce {
2731
2731
  */
2732
2732
  removeDispose(e) {
2733
2733
  if (!this.isDisposed()) {
2734
- let t = I(this._disposers, e);
2734
+ let t = F(this._disposers, e);
2735
2735
  t > -1 && this._disposers.splice(t, 1);
2736
2736
  }
2737
2737
  e.dispose();
@@ -2740,7 +2740,7 @@ class O extends Ce {
2740
2740
  * @ignore
2741
2741
  */
2742
2742
  hasTag(e) {
2743
- return I(this.get("themeTags", []), e) !== -1;
2743
+ return F(this.get("themeTags", []), e) !== -1;
2744
2744
  }
2745
2745
  /**
2746
2746
  * @ignore
@@ -2757,11 +2757,11 @@ class O extends Ce {
2757
2757
  removeTag(e) {
2758
2758
  if (this.hasTag(e)) {
2759
2759
  const t = this.get("themeTags", []);
2760
- se(t, e), this.set("themeTags", t);
2760
+ te(t, e), this.set("themeTags", t);
2761
2761
  }
2762
2762
  }
2763
- _t(e, t, ...i) {
2764
- return this._root.language.translate(e, t, ...i);
2763
+ _t(e, t, ...s) {
2764
+ return this._root.language.translate(e, t, ...s);
2765
2765
  }
2766
2766
  /**
2767
2767
  * An instance of [[Root]] object.
@@ -2774,184 +2774,110 @@ class O extends Ce {
2774
2774
  return this._root;
2775
2775
  }
2776
2776
  }
2777
- Object.defineProperty(O, "className", {
2777
+ Object.defineProperty(q, "className", {
2778
2778
  enumerable: !0,
2779
2779
  configurable: !0,
2780
2780
  writable: !0,
2781
2781
  value: "Entity"
2782
2782
  });
2783
- Object.defineProperty(O, "classNames", {
2783
+ Object.defineProperty(q, "classNames", {
2784
2784
  enumerable: !0,
2785
2785
  configurable: !0,
2786
2786
  writable: !0,
2787
2787
  value: ["Entity"]
2788
2788
  });
2789
- class F extends O {
2790
- //protected _currentPass: number = 0;
2791
- _afterNew() {
2792
- super._afterNewApplyThemes(), this._dirty.colors = !1;
2793
- }
2794
- _beforeChanged() {
2795
- this.isDirty("colors") && this.reset();
2796
- }
2797
- /**
2798
- * @ignore
2799
- */
2800
- generateColors() {
2801
- this.setPrivate("currentPass", this.getPrivate("currentPass", 0) + 1);
2802
- const e = this.getPrivate("currentPass"), t = this.get("colors", [this.get("baseColor", h.fromHex(16711680))]);
2803
- this.getPrivate("numColors") || this.setPrivate("numColors", t.length);
2804
- const i = this.getPrivate("numColors"), r = 0, n = this.get("passOptions"), a = this.get("reuse");
2805
- for (let u = r; u < i; u++)
2806
- if (a)
2807
- t.push(t[u]);
2808
- else {
2809
- const o = t[u].toHSL();
2810
- let l = o.h + (n.hue || 0) * e;
2811
- for (; l > 1; )
2812
- l -= 1;
2813
- let f = o.s + (n.saturation || 0) * e;
2814
- f > 1 && (f = 1), f < 0 && (f = 0);
2815
- let d = o.l + (n.lightness || 0) * e;
2816
- for (; d > 1; )
2817
- d -= 1;
2818
- t.push(h.fromHSL(l, f, d));
2819
- }
2820
- }
2821
- /**
2822
- * Returns a [[Color]] at specific index.
2823
- *
2824
- * If there's no color at this index, a new color is generated.
2825
- *
2826
- * @param index Index
2827
- * @return Color
2828
- */
2829
- getIndex(e) {
2830
- const t = this.get("colors", []), i = this.get("saturation");
2831
- return e >= t.length ? (this.generateColors(), this.getIndex(e)) : i != null ? h.saturate(t[e], i) : t[e];
2832
- }
2833
- /**
2834
- * Returns next [[Color]] in the list.
2835
- *
2836
- * If the list is out of colors, new ones are generated dynamically.
2837
- */
2838
- next() {
2839
- let e = this.getPrivate("currentStep", this.get("startIndex", 0));
2840
- return this.setPrivate("currentStep", e + this.get("step", 1)), this.getIndex(e);
2841
- }
2842
- /**
2843
- * Resets counter to the start of the list, so the next call for `next()` will
2844
- * return the first color.
2845
- */
2846
- reset() {
2847
- this.setPrivate("currentStep", this.get("startIndex", 0)), this.setPrivate("currentPass", 0);
2848
- }
2849
- }
2850
- Object.defineProperty(F, "className", {
2851
- enumerable: !0,
2852
- configurable: !0,
2853
- writable: !0,
2854
- value: "ColorSet"
2855
- });
2856
- Object.defineProperty(F, "classNames", {
2857
- enumerable: !0,
2858
- configurable: !0,
2859
- writable: !0,
2860
- value: O.classNames.concat([F.className])
2861
- });
2862
2789
  export {
2863
- Re as $,
2864
- se as A,
2865
- Ye as B,
2866
- F as C,
2867
- Ft as D,
2868
- O as E,
2869
- P as F,
2870
- jt as G,
2871
- _t as H,
2872
- Lt as I,
2873
- Se as J,
2874
- ze as K,
2875
- J as L,
2876
- le as M,
2877
- I as N,
2878
- Ze as O,
2790
+ yt as $,
2791
+ ze as A,
2792
+ It as B,
2793
+ c as C,
2794
+ P as D,
2795
+ q as E,
2796
+ Ot as F,
2797
+ pt as G,
2798
+ Rt as H,
2799
+ Te as I,
2800
+ He as J,
2801
+ et as K,
2802
+ Ge as L,
2803
+ oe as M,
2804
+ z as N,
2805
+ gt as O,
2879
2806
  g as P,
2880
- ie as Q,
2881
- j as R,
2882
- w as S,
2883
- $e as T,
2884
- st as U,
2885
- qe as V,
2886
- ke as W,
2887
- It as X,
2888
- Be as Y,
2889
- B as Z,
2890
- Q as _,
2891
- Le as a,
2892
- ee as a0,
2893
- gt as a1,
2894
- tt as a2,
2895
- Ve as a3,
2896
- $ as a4,
2897
- mt as a5,
2898
- Ue as a6,
2899
- Me as a7,
2900
- Et as a8,
2901
- A as a9,
2902
- T as aA,
2903
- Ce as aB,
2904
- ne as aC,
2905
- ye as aD,
2906
- Ot as aa,
2907
- Dt as ab,
2908
- yt as ac,
2909
- Tt as ad,
2910
- U as ae,
2911
- Pt as af,
2912
- St as ag,
2913
- vt as ah,
2914
- Qe as ai,
2915
- He as aj,
2916
- je as ak,
2917
- Xe as al,
2918
- ut as am,
2919
- nt as an,
2920
- lt as ao,
2921
- wt as ap,
2922
- ot as aq,
2923
- Z as ar,
2924
- ct as as,
2925
- C as at,
2926
- et as au,
2927
- bt as av,
2928
- Fe as aw,
2929
- dt as ax,
2930
- it as ay,
2931
- rt as az,
2932
- Ie as b,
2933
- Ct as c,
2934
- he as d,
2935
- c as e,
2807
+ Ne as Q,
2808
+ Be as R,
2809
+ Ce as S,
2810
+ Et as T,
2811
+ x as U,
2812
+ Dt as V,
2813
+ St as W,
2814
+ wt as X,
2815
+ Pt as Y,
2816
+ N as Z,
2817
+ J as _,
2818
+ Re as a,
2819
+ Tt as a0,
2820
+ bt as a1,
2821
+ Je as a2,
2822
+ Ue as a3,
2823
+ Oe as a4,
2824
+ Qe as a5,
2825
+ w as a6,
2826
+ F as a7,
2827
+ at as a8,
2828
+ Xe as a9,
2829
+ Le as aA,
2830
+ k as aB,
2831
+ _t as aC,
2832
+ rt as aa,
2833
+ ot as ab,
2834
+ Ye as ac,
2835
+ K as ad,
2836
+ vt as ae,
2837
+ ut as af,
2838
+ $ as ag,
2839
+ ht as ah,
2840
+ V as ai,
2841
+ A as aj,
2842
+ ke as ak,
2843
+ mt as al,
2844
+ Ie as am,
2845
+ ft as an,
2846
+ it as ao,
2847
+ st as ap,
2848
+ T as aq,
2849
+ Ae as ar,
2850
+ re as as,
2851
+ we as at,
2852
+ We as au,
2853
+ ie as av,
2854
+ O as aw,
2855
+ tt as ax,
2856
+ Ve as ay,
2857
+ Ft as az,
2858
+ Fe as b,
2859
+ At as c,
2860
+ le as d,
2861
+ h as e,
2936
2862
  v as f,
2937
- ft as g,
2938
- Y as h,
2939
- at as i,
2940
- Ge as j,
2863
+ ct as g,
2864
+ H as h,
2865
+ nt as i,
2866
+ Ze as j,
2941
2867
  y as k,
2942
- Je as l,
2943
- xt as m,
2944
- ue as n,
2945
- L as o,
2946
- R as p,
2868
+ qe as l,
2869
+ jt as m,
2870
+ ae as n,
2871
+ R as o,
2872
+ I as p,
2947
2873
  Ke as q,
2948
2874
  p as r,
2949
- x as s,
2950
- k as t,
2951
- h as u,
2952
- Ne as v,
2953
- ht as w,
2954
- pt as x,
2955
- At as y,
2956
- We as z
2875
+ j as s,
2876
+ X as t,
2877
+ Me as u,
2878
+ lt as v,
2879
+ dt as w,
2880
+ xt as x,
2881
+ $e as y,
2882
+ te as z
2957
2883
  };