aptechka 0.13.0 → 0.14.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 (108) hide show
  1. package/lib/{Animation-seVC6-fS.cjs → Animation-De9aUv3b.cjs} +1 -1
  2. package/lib/{Animation-DF5jPON_.js → Animation-NAGXiFv5.js} +1 -1
  3. package/lib/{Composed-ChlKoJEp.cjs → Composed-C_4slJQ6.cjs} +1 -1
  4. package/lib/{Composed-CoX1ImVk.js → Composed-CfWa-69I.js} +1 -1
  5. package/lib/{Damped-C7WAqKPh.cjs → Damped-DYJ6Z0xo.cjs} +1 -1
  6. package/lib/{Damped-BDO-F13V.js → Damped-DbJKrUIf.js} +1 -1
  7. package/lib/Derived-BIBU-y7Z.cjs +1 -0
  8. package/lib/Derived-Vo_RsJfi.js +23 -0
  9. package/lib/{SourceManager-B8-EMNnd.js → SourceManager-B6wZpXUZ.js} +1 -1
  10. package/lib/{SourceManager-TzU9Rw08.cjs → SourceManager-CfHcGLUa.cjs} +1 -1
  11. package/lib/Store-C46i0nvr.js +137 -0
  12. package/lib/Store-npaZHvX4.cjs +1 -0
  13. package/lib/{Tweened-DSXD0I0k.cjs → Tweened-BkkD9s4n.cjs} +1 -1
  14. package/lib/{Tweened-CHhmfvzo.js → Tweened-DOSHLCZa.js} +1 -1
  15. package/lib/{Viewport-DTlImj28.js → Viewport-B55BvLsV.js} +1 -1
  16. package/lib/{Viewport-BmLTk_6k.cjs → Viewport-Cv4TRGiv.cjs} +1 -1
  17. package/lib/animation/index.cjs +1 -1
  18. package/lib/animation/index.js +3 -3
  19. package/lib/attribute/index.cjs +1 -1
  20. package/lib/attribute/index.js +13 -13
  21. package/lib/canvas/index.cjs +7 -1
  22. package/lib/canvas/index.js +54 -58
  23. package/lib/class-linked-status/index.cjs +1 -1
  24. package/lib/class-linked-status/index.js +1 -1
  25. package/lib/controls/index.cjs +1 -1
  26. package/lib/controls/index.js +3 -3
  27. package/lib/{createStylesheet-DO5t5q-m.js → createStylesheet-C68ja-RS.js} +3 -3
  28. package/lib/{createStylesheet-CaDI99iu.cjs → createStylesheet-Csfmh-MH.cjs} +1 -1
  29. package/lib/css-property/index.cjs +1 -1
  30. package/lib/css-property/index.js +4 -4
  31. package/lib/dev/index.cjs +1 -1
  32. package/lib/dev/index.js +1 -1
  33. package/lib/device/index.cjs +1 -1
  34. package/lib/device/index.js +1 -1
  35. package/lib/{dom-P5QbAASX.js → dom-0S_WDL4g.js} +2 -2
  36. package/lib/element-constructor/index.cjs +1 -1
  37. package/lib/element-constructor/index.js +133 -122
  38. package/lib/element-resizer/index.js +8 -8
  39. package/lib/en3/helpers/index.cjs +1 -1
  40. package/lib/en3/helpers/index.js +4 -4
  41. package/lib/en3/index.js +1 -1
  42. package/lib/en3/loaders/index.js +1 -1
  43. package/lib/en3/misc/index.cjs +1 -1
  44. package/lib/en3/misc/index.js +2 -2
  45. package/lib/en3/utils/index.js +2 -2
  46. package/lib/{en3-x-Ki30MY.js → en3-sK9Z-fp2.js} +1 -1
  47. package/lib/file-BEr-o55N.js +31 -0
  48. package/lib/file-C9BbxzVU.cjs +1 -0
  49. package/lib/image/index.cjs +1 -1
  50. package/lib/image/index.js +1 -1
  51. package/lib/intersector/index.js +7 -7
  52. package/lib/ladder/index.cjs +1 -1
  53. package/lib/ladder/index.js +1 -1
  54. package/lib/layout-box/index.js +14 -14
  55. package/lib/media/index.cjs +1 -1
  56. package/lib/media/index.js +1 -1
  57. package/lib/need_redo_tweaker/index.cjs +18 -0
  58. package/lib/need_redo_tweaker/index.js +1343 -0
  59. package/lib/pointer/index.cjs +1 -1
  60. package/lib/pointer/index.js +3 -3
  61. package/lib/popover/index.cjs +1 -1
  62. package/lib/popover/index.js +60 -62
  63. package/lib/scroll/index.cjs +1 -1
  64. package/lib/scroll/index.js +105 -106
  65. package/lib/scroll-entries/index.js +15 -15
  66. package/lib/sequence/index.cjs +1 -1
  67. package/lib/sequence/index.js +1 -1
  68. package/lib/slicer/index.cjs +5 -5
  69. package/lib/slicer/index.js +55 -86
  70. package/lib/source/index.cjs +1 -1
  71. package/lib/source/index.js +2 -2
  72. package/lib/store/index.cjs +1 -1
  73. package/lib/store/index.js +38 -112
  74. package/lib/{tags-v-OSVkiQ.cjs → tags-6_ETuR75.cjs} +1 -1
  75. package/lib/{tags-4AoxVUe3.js → tags-zft1DGBz.js} +93 -93
  76. package/lib/ticker/index.js +1 -1
  77. package/lib/{traverseMaterials-mGC2_FkG.js → traverseMaterials-BlZbRhgW.js} +1 -1
  78. package/lib/utils/index.cjs +1 -1
  79. package/lib/utils/index.js +56 -57
  80. package/lib/video/index.cjs +1 -1
  81. package/lib/video/index.js +1 -1
  82. package/package.json +7 -55
  83. package/lib/Derived-B-2UXnVE.cjs +0 -1
  84. package/lib/Derived-CDGpSMKu.js +0 -56
  85. package/lib/Store-BnA-dJsE.cjs +0 -1
  86. package/lib/Store-DGtldlBH.js +0 -147
  87. package/lib/accordion/index.cjs +0 -1
  88. package/lib/accordion/index.js +0 -167
  89. package/lib/checkbox/index.cjs +0 -1
  90. package/lib/checkbox/index.js +0 -112
  91. package/lib/createTheme-CHnsCgAr.js +0 -15
  92. package/lib/createTheme-Cfaw9UmV.cjs +0 -1
  93. package/lib/events-BGwqaxVW.cjs +0 -1
  94. package/lib/events-CJTUMSLU.js +0 -20
  95. package/lib/file-EevnUtRj.cjs +0 -1
  96. package/lib/file-lxi_oXJf.js +0 -13
  97. package/lib/index-BhbT9PrL.js +0 -261
  98. package/lib/index-BpsQqM-8.cjs +0 -9
  99. package/lib/modal/index.cjs +0 -1
  100. package/lib/modal/index.js +0 -133
  101. package/lib/select/index.cjs +0 -1
  102. package/lib/select/index.js +0 -7
  103. package/lib/svg-path-data/index.cjs +0 -3
  104. package/lib/svg-path-data/index.js +0 -490
  105. package/lib/theme/index.cjs +0 -1
  106. package/lib/theme/index.js +0 -25
  107. package/lib/tweaker/index.cjs +0 -10
  108. package/lib/tweaker/index.js +0 -992
@@ -1,44 +1,43 @@
1
- var me = Object.defineProperty;
1
+ var Se = Object.defineProperty;
2
2
  var js = Object.getOwnPropertySymbols;
3
- var be = Object.prototype.hasOwnProperty, ge = Object.prototype.propertyIsEnumerable;
3
+ var me = Object.prototype.hasOwnProperty, be = Object.prototype.propertyIsEnumerable;
4
4
  var Qs = (f) => {
5
5
  throw TypeError(f);
6
6
  };
7
- var Js = (f, n, e) => n in f ? me(f, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : f[n] = e, Xs = (f, n) => {
7
+ var Js = (f, n, e) => n in f ? Se(f, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : f[n] = e, Xs = (f, n) => {
8
8
  for (var e in n || (n = {}))
9
- be.call(n, e) && Js(f, e, n[e]);
9
+ me.call(n, e) && Js(f, e, n[e]);
10
10
  if (js)
11
11
  for (var e of js(n))
12
- ge.call(n, e) && Js(f, e, n[e]);
12
+ be.call(n, e) && Js(f, e, n[e]);
13
13
  return f;
14
14
  };
15
15
  var Os = (f, n, e) => n.has(f) || Qs("Cannot " + e);
16
16
  var t = (f, n, e) => (Os(f, n, "read from private field"), e ? e.call(f) : n.get(f)), i = (f, n, e) => n.has(f) ? Qs("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(f) : n.set(f, e), r = (f, n, e, s) => (Os(f, n, "write to private field"), s ? s.call(f, e) : n.set(f, e), e), o = (f, n, e) => (Os(f, n, "access private method"), e);
17
- import { S as Ft } from "../Store-DGtldlBH.js";
18
- import { D as ve } from "../Derived-CDGpSMKu.js";
17
+ import { S as Ft } from "../Store-C46i0nvr.js";
18
+ import { D as ge } from "../Derived-Vo_RsJfi.js";
19
19
  import { i as Ns } from "../browser-0zX67oeU.js";
20
- import { p as ye } from "../easings-BKi40vHz.js";
20
+ import { p as ve } from "../easings-BKi40vHz.js";
21
21
  import { a as ks, g as Ds } from "../layout-HoBT_Da2.js";
22
- import { c as se, s as Ce } from "../math-BOBiC4TN.js";
22
+ import { c as te, s as ye } from "../math-BOBiC4TN.js";
23
23
  import "../ticker/index.js";
24
- import { TICK_ORDER as ee, RESIZE_ORDER as Ks } from "../order/index.js";
25
- import { D as ie } from "../Damped-BDO-F13V.js";
26
- import { T as Pe } from "../Tweened-CHhmfvzo.js";
27
- import { WheelControls as we, KeyboardControls as Ee, DragControls as xe, AutoplayControls as Le } from "../controls/index.js";
24
+ import { TICK_ORDER as se, RESIZE_ORDER as Ks } from "../order/index.js";
25
+ import { D as ee } from "../Damped-DbJKrUIf.js";
26
+ import { T as Ce } from "../Tweened-DOSHLCZa.js";
27
+ import { WheelControls as Pe, KeyboardControls as we, DragControls as Ee, AutoplayControls as xe } from "../controls/index.js";
28
28
  import { windowResizer as fs } from "../window-resizer/index.js";
29
29
  import { scrollEntries as Qt } from "../scroll-entries/index.js";
30
- import { e as _s, D as As, ay as Is, p as Ve } from "../tags-4AoxVUe3.js";
31
- import { c as Zs } from "../createStylesheet-DO5t5q-m.js";
30
+ import { e as _s, d as As, a as Is, b as Le } from "../tags-zft1DGBz.js";
31
+ import { c as Zs } from "../createStylesheet-C68ja-RS.js";
32
32
  import { cssUnitParser as Ys } from "../css-unit-parser/index.js";
33
33
  import { CSSProperty as c } from "../css-property/index.js";
34
- import { d as ze } from "../Viewport-DTlImj28.js";
35
- import { elementResizer as Ms } from "../element-resizer/index.js";
36
- import { s as Fe } from "../gestures-D2Fdra_G.js";
37
- import { aptechkaTheme as te } from "../theme/index.js";
38
- import { f as ke } from "../dom-P5QbAASX.js";
39
- import { d as re } from "../function-C10DGppn.js";
34
+ import { d as Ve } from "../Viewport-B55BvLsV.js";
35
+ import { elementResizer as Rs } from "../element-resizer/index.js";
36
+ import { s as ze } from "../gestures-D2Fdra_G.js";
37
+ import { f as Fe } from "../dom-0S_WDL4g.js";
38
+ import { d as ie } from "../function-C10DGppn.js";
40
39
  var b, ps, C, It, j, ft;
41
- class De {
40
+ class ke {
42
41
  constructor(n, e, s) {
43
42
  i(this, b);
44
43
  i(this, ps);
@@ -74,7 +73,7 @@ class De {
74
73
  t(this, C).axisCSSProperty.current,
75
74
  n
76
75
  );
77
- const s = t(this, C).currentScrollValue + n, h = t(this, j) - t(this, C).viewportSize - e, a = t(this, j) + t(this, It) + e, g = se(s, h, a);
76
+ const s = t(this, C).currentScrollValue + n, h = t(this, j) - t(this, C).viewportSize - e, a = t(this, j) + t(this, It) + e, g = te(s, h, a);
78
77
  t(this, C).vertical ? t(this, b).style.transform = `translate3d(0px, ${g * -1}px, 0px)` : t(this, b).style.transform = `translate3d(${g * -1}px, 0px, 0px)`;
79
78
  }
80
79
  mark(n) {
@@ -92,7 +91,7 @@ class De {
92
91
  }
93
92
  }
94
93
  b = new WeakMap(), ps = new WeakMap(), C = new WeakMap(), It = new WeakMap(), j = new WeakMap(), ft = new WeakMap();
95
- const Ie = Zs({
94
+ const De = Zs({
96
95
  ":host": {
97
96
  position: "relative",
98
97
  width: "100%",
@@ -125,13 +124,13 @@ const Ie = Zs({
125
124
  flexShrink: "0"
126
125
  }
127
126
  });
128
- var d, Mt, k, J, Q, U, X, dt, pt, G, D, Rt, Ot, At, Tt, ts, N, Ht, St, K, mt, Y, bt, $t, Bt, Wt, m, Ss, l, ms, bs, w, v, O, _, gt, tt, V, y, ss, vt, qt, Ut, es, st, u, ds, Yt, Hs, $s, Bs, Ws, A, gs, he, is, vs, qs, kt, Us;
127
+ var d, Rt, k, J, Q, U, X, dt, pt, G, D, Mt, Ot, At, Tt, ts, N, Ht, St, K, mt, Y, bt, $t, Bt, Wt, m, Ss, l, ms, bs, w, v, O, _, gt, tt, V, y, ss, vt, qt, Ut, es, st, u, ds, Yt, Hs, $s, Bs, Ws, A, gs, re, is, vs, qs, kt, Us;
129
128
  class Ts extends HTMLElement {
130
129
  constructor() {
131
130
  super();
132
131
  i(this, u);
133
132
  i(this, d, null);
134
- i(this, Mt, new c(this, "--controls", !0));
133
+ i(this, Rt, new c(this, "--controls", !0));
135
134
  i(this, k, new c(this, "--axis", "y"));
136
135
  i(this, J, new c(this, "--direction", 0));
137
136
  i(this, Q, new c(this, "--pages", 0, {
@@ -151,7 +150,7 @@ class Ts extends HTMLElement {
151
150
  1
152
151
  ));
153
152
  i(this, D, new c(this, "--loop", !1));
154
- i(this, Rt, new c(this, "--damping", 20));
153
+ i(this, Mt, new c(this, "--damping", 20));
155
154
  i(this, Ot, new c(this, "--mass", 0));
156
155
  i(this, At, new c(this, "--stiffness", 0));
157
156
  i(this, Tt, new c(this, "--mouse-drag", !1));
@@ -208,7 +207,7 @@ class Ts extends HTMLElement {
208
207
  i(this, qt, !0);
209
208
  i(this, Ut, !0);
210
209
  i(this, es);
211
- i(this, st, new Pe());
210
+ i(this, st, new Ce());
212
211
  i(this, A, () => {
213
212
  t(this, d).unlistenAnimationFrame();
214
213
  const e = this.currentScrollValue / t(this, v) || 0, s = t(this, y).current;
@@ -270,7 +269,7 @@ class Ts extends HTMLElement {
270
269
  );
271
270
  });
272
271
  i(this, is, (e, s) => {
273
- t(this, Mt).current && (t(this, St).current && (t(this, V).pauseAndContinue(
272
+ t(this, Rt).current && (t(this, St).current && (t(this, V).pauseAndContinue(
274
273
  t(this, Ht).current
275
274
  ), t(this, V).direction = Math.sign(s) || 1), t(this, vs).call(this, e, s));
276
275
  });
@@ -286,21 +285,21 @@ class Ts extends HTMLElement {
286
285
  h && this.scrollToSection(h.index, {
287
286
  tween: {
288
287
  duration: t(this, $t).current,
289
- easing: ye
288
+ easing: ve
290
289
  }
291
290
  });
292
- }, t(this, bt).current))), !(e === "drag" && !ze.isMobile && !t(this, Tt).current))
291
+ }, t(this, bt).current))), !(e === "drag" && !Ve.isMobile && !t(this, Tt).current))
293
292
  if (t(this, X).current) {
294
293
  const h = Math.sign(s);
295
294
  t(this, l).length ? this.shiftSections(h) : t(this, d).shift(h * t(this, w));
296
295
  } else
297
296
  t(this, d).shift(s);
298
297
  });
299
- Ns && (r(this, d, new ie(0, {
298
+ Ns && (r(this, d, new ee(0, {
300
299
  damping: 0.01,
301
300
  min: 0,
302
- order: ee.SCROLL
303
- })), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(Ie), _s(this, {
301
+ order: se.SCROLL
302
+ })), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(De), _s(this, {
304
303
  tabIndex: 0,
305
304
  children: [
306
305
  As({
@@ -311,7 +310,7 @@ class Ts extends HTMLElement {
311
310
  class: "content",
312
311
  children: [Is({ ref: (s) => r(this, Ss, s) })],
313
312
  style: {
314
- flexDirection: new ve(
313
+ flexDirection: new ge(
315
314
  t(this, k),
316
315
  (s) => s === "x" ? "row" : "column"
317
316
  )
@@ -319,13 +318,13 @@ class Ts extends HTMLElement {
319
318
  ref: (s) => r(this, m, s)
320
319
  })
321
320
  ]
322
- }), r(this, _, new we({ element: t(this, m) })), t(this, _).changeEvent.subscribe(
321
+ }), r(this, _, new Pe({ element: t(this, m) })), t(this, _).changeEvent.subscribe(
323
322
  t(this, is)
324
- ), r(this, gt, new Ee({
323
+ ), r(this, gt, new we({
325
324
  element: this
326
325
  })), t(this, gt).changeEvent.subscribe(
327
326
  t(this, is)
328
- ), r(this, tt, new xe({ element: t(this, m) })), t(this, tt).changeEvent.subscribe(t(this, is)), r(this, V, new Le({
327
+ ), r(this, tt, new Ee({ element: t(this, m) })), t(this, tt).changeEvent.subscribe(t(this, is)), r(this, V, new xe({
329
328
  culling: this
330
329
  })), t(this, V).changeEvent.subscribe(t(this, vs)), t(this, k).subscribe(({ current: s }) => {
331
330
  t(this, m).style.flexDirection = s === "x" ? "row" : "column", t(this, _).axis = t(this, pt).current ? "max" : s, t(this, gt).dimension = s === "x" ? "width" : "height", t(this, tt).axis = s, s === "x" ? this.style.touchAction = "pan-y" : s === "y" && (this.style.touchAction = "pan-x"), this.isConnected && t(this, A).call(this);
@@ -343,7 +342,7 @@ class Ts extends HTMLElement {
343
342
  this.isConnected && (t(this, A).call(this), o(this, u, kt).call(this));
344
343
  }), t(this, D).subscribe((s) => {
345
344
  s.current ? (this.isConnected && (t(this, l).length || (t(this, U).current = !0)), t(this, l).length && (t(this, d).max = 1 / 0, t(this, d).min = -1 / 0)) : (r(this, ss, 0), t(this, d).max = t(this, v), t(this, d).min = 0);
346
- }), t(this, Rt).subscribe((s) => {
345
+ }), t(this, Mt).subscribe((s) => {
347
346
  t(this, d).damping = s.current;
348
347
  }), t(this, Ot).subscribe((s) => {
349
348
  t(this, d).mass = s.current;
@@ -375,7 +374,7 @@ class Ts extends HTMLElement {
375
374
  return t(this, d);
376
375
  }
377
376
  get controlsCSSProperty() {
378
- return t(this, Mt);
377
+ return t(this, Rt);
379
378
  }
380
379
  get axisCSSProperty() {
381
380
  return t(this, k);
@@ -405,7 +404,7 @@ class Ts extends HTMLElement {
405
404
  return t(this, D);
406
405
  }
407
406
  get dampingCSSProperty() {
408
- return t(this, Rt);
407
+ return t(this, Mt);
409
408
  }
410
409
  get massCSSProperty() {
411
410
  return t(this, Ot);
@@ -528,12 +527,12 @@ class Ts extends HTMLElement {
528
527
  if (!t(this, l).length)
529
528
  return;
530
529
  const h = t(this, y).current;
531
- o(this, u, he).call(this, e);
530
+ o(this, u, re).call(this, e);
532
531
  const a = t(this, l)[h], g = t(this, l)[t(this, y).current];
533
532
  if (a && g) {
534
- let R = 0;
535
- const Xt = o(this, u, Us).call(this), Se = Xt ? this.targetScrollValue - Xt.position : 0;
536
- t(this, D).current ? t(this, y).current === 0 && h === t(this, l).length - 1 ? R = t(this, v) + t(this, w) - a.position + t(this, O) : t(this, y).current === t(this, l).length - 1 && h === 0 ? R = g.position - (t(this, v) + t(this, w) + t(this, O)) : R = g.position - a.position : R = g.position - a.position, this.shiftPosition(R - Se, s);
533
+ let M = 0;
534
+ const Xt = o(this, u, Us).call(this), pe = Xt ? this.targetScrollValue - Xt.position : 0;
535
+ t(this, D).current ? t(this, y).current === 0 && h === t(this, l).length - 1 ? M = t(this, v) + t(this, w) - a.position + t(this, O) : t(this, y).current === t(this, l).length - 1 && h === 0 ? M = g.position - (t(this, v) + t(this, w) + t(this, O)) : M = g.position - a.position : M = g.position - a.position, this.shiftPosition(M - pe, s);
537
536
  }
538
537
  }
539
538
  shiftSections(e, s) {
@@ -548,15 +547,15 @@ class Ts extends HTMLElement {
548
547
  this.setPosition(t(this, d).target + e, s);
549
548
  }
550
549
  connectedCallback() {
551
- t(this, Mt).observe(), t(this, k).observe(), t(this, J).observe(), t(this, Q).observe(), t(this, U).observe(), t(this, X).observe(), t(this, dt).observe(), t(this, pt).observe(), t(this, G).observe(), t(this, D).observe(), t(this, Rt).observe(), t(this, Ot).observe(), t(this, At).observe(), t(this, Tt).observe(), t(this, ts).observe(), t(this, N).observe(), t(this, N).observe(), t(this, Ht).observe(), t(this, St).observe(), t(this, K).observe(), t(this, mt).observe(), t(this, Y).observe(), t(this, bt).observe(), t(this, $t).observe(), t(this, Bt).observe(), t(this, Wt).observe(), o(this, u, Ws).call(this);
550
+ t(this, Rt).observe(), t(this, k).observe(), t(this, J).observe(), t(this, Q).observe(), t(this, U).observe(), t(this, X).observe(), t(this, dt).observe(), t(this, pt).observe(), t(this, G).observe(), t(this, D).observe(), t(this, Mt).observe(), t(this, Ot).observe(), t(this, At).observe(), t(this, Tt).observe(), t(this, ts).observe(), t(this, N).observe(), t(this, N).observe(), t(this, Ht).observe(), t(this, St).observe(), t(this, K).observe(), t(this, mt).observe(), t(this, Y).observe(), t(this, bt).observe(), t(this, $t).observe(), t(this, Bt).observe(), t(this, Wt).observe(), o(this, u, Ws).call(this);
552
551
  }
553
552
  disconnectedCallback() {
554
- t(this, Mt).unobserve(), t(this, k).unobserve(), t(this, J).unobserve(), t(this, Q).unobserve(), t(this, U).unobserve(), t(this, X).unobserve(), t(this, dt).unobserve(), t(this, pt).unobserve(), t(this, G).unobserve(), t(this, D).unobserve(), t(this, Rt).unobserve(), t(this, Ot).unobserve(), t(this, At).unobserve(), t(this, Tt).unobserve(), t(this, ts).unobserve(), t(this, N).unobserve(), t(this, Ht).unobserve(), t(this, St).unobserve(), t(this, K).unobserve(), t(this, mt).unobserve(), t(this, Y).unobserve(), t(this, bt).unobserve(), t(this, $t).unobserve(), t(this, Bt).unobserve(), t(this, Wt).unobserve(), o(this, u, Bs).call(this);
553
+ t(this, Rt).unobserve(), t(this, k).unobserve(), t(this, J).unobserve(), t(this, Q).unobserve(), t(this, U).unobserve(), t(this, X).unobserve(), t(this, dt).unobserve(), t(this, pt).unobserve(), t(this, G).unobserve(), t(this, D).unobserve(), t(this, Mt).unobserve(), t(this, Ot).unobserve(), t(this, At).unobserve(), t(this, Tt).unobserve(), t(this, ts).unobserve(), t(this, N).unobserve(), t(this, Ht).unobserve(), t(this, St).unobserve(), t(this, K).unobserve(), t(this, mt).unobserve(), t(this, Y).unobserve(), t(this, bt).unobserve(), t(this, $t).unobserve(), t(this, Bt).unobserve(), t(this, Wt).unobserve(), o(this, u, Bs).call(this);
555
554
  }
556
555
  }
557
- d = new WeakMap(), Mt = new WeakMap(), k = new WeakMap(), J = new WeakMap(), Q = new WeakMap(), U = new WeakMap(), X = new WeakMap(), dt = new WeakMap(), pt = new WeakMap(), G = new WeakMap(), D = new WeakMap(), Rt = new WeakMap(), Ot = new WeakMap(), At = new WeakMap(), Tt = new WeakMap(), ts = new WeakMap(), N = new WeakMap(), Ht = new WeakMap(), St = new WeakMap(), K = new WeakMap(), mt = new WeakMap(), Y = new WeakMap(), bt = new WeakMap(), $t = new WeakMap(), Bt = new WeakMap(), Wt = new WeakMap(), m = new WeakMap(), Ss = new WeakMap(), l = new WeakMap(), ms = new WeakMap(), bs = new WeakMap(), w = new WeakMap(), v = new WeakMap(), O = new WeakMap(), _ = new WeakMap(), gt = new WeakMap(), tt = new WeakMap(), V = new WeakMap(), y = new WeakMap(), ss = new WeakMap(), vt = new WeakMap(), qt = new WeakMap(), Ut = new WeakMap(), es = new WeakMap(), st = new WeakMap(), u = new WeakSet(), ds = function() {
556
+ d = new WeakMap(), Rt = new WeakMap(), k = new WeakMap(), J = new WeakMap(), Q = new WeakMap(), U = new WeakMap(), X = new WeakMap(), dt = new WeakMap(), pt = new WeakMap(), G = new WeakMap(), D = new WeakMap(), Mt = new WeakMap(), Ot = new WeakMap(), At = new WeakMap(), Tt = new WeakMap(), ts = new WeakMap(), N = new WeakMap(), Ht = new WeakMap(), St = new WeakMap(), K = new WeakMap(), mt = new WeakMap(), Y = new WeakMap(), bt = new WeakMap(), $t = new WeakMap(), Bt = new WeakMap(), Wt = new WeakMap(), m = new WeakMap(), Ss = new WeakMap(), l = new WeakMap(), ms = new WeakMap(), bs = new WeakMap(), w = new WeakMap(), v = new WeakMap(), O = new WeakMap(), _ = new WeakMap(), gt = new WeakMap(), tt = new WeakMap(), V = new WeakMap(), y = new WeakMap(), ss = new WeakMap(), vt = new WeakMap(), qt = new WeakMap(), Ut = new WeakMap(), es = new WeakMap(), st = new WeakMap(), u = new WeakSet(), ds = function() {
558
557
  o(this, u, Yt).call(this), t(this, Ss).assignedElements().forEach((e, s) => {
559
- e instanceof HTMLElement && t(this, l).push(new De(e, s, this));
558
+ e instanceof HTMLElement && t(this, l).push(new ke(e, s, this));
560
559
  }), t(this, m).style.transform = "", this.dispatchEvent(
561
560
  new CustomEvent("sectionsChange", {
562
561
  composed: !0
@@ -575,11 +574,11 @@ d = new WeakMap(), Mt = new WeakMap(), k = new WeakMap(), J = new WeakMap(), Q =
575
574
  }, $s = function() {
576
575
  t(this, qt) && (r(this, qt, !1), t(this, d).subscribe(t(this, gs)), t(this, _).connect(), t(this, gt).connect(), t(this, tt).connect(), t(this, N).current && t(this, V).connect());
577
576
  }, Bs = function() {
578
- t(this, Ut) || (r(this, Ut, !0), fs.unsubscribe(t(this, A)), Ms.unsubscribe(t(this, A)), t(this, d).reset(), o(this, u, Hs).call(this), t(this, m).style.transform = "", t(this, U).current && o(this, u, Yt).call(this), Qt.unregister(this));
577
+ t(this, Ut) || (r(this, Ut, !0), fs.unsubscribe(t(this, A)), Rs.unsubscribe(t(this, A)), t(this, d).reset(), o(this, u, Hs).call(this), t(this, m).style.transform = "", t(this, U).current && o(this, u, Yt).call(this), Qt.unregister(this));
579
578
  }, Ws = function() {
580
- t(this, Ut) && (r(this, Ut, !1), t(this, U).current && o(this, u, ds).call(this), Qt.register(this), fs.subscribe(t(this, A), Ks.SCROLL), Ms.subscribe(this, t(this, A)), o(this, u, $s).call(this));
581
- }, A = new WeakMap(), gs = new WeakMap(), he = function(e) {
582
- t(this, D).current ? (t(this, y).current = e % t(this, l).length, t(this, y).current = t(this, y).current < 0 ? t(this, l).length + t(this, y).current : t(this, y).current) : t(this, y).current = se(e, 0, this.limit);
579
+ t(this, Ut) && (r(this, Ut, !1), t(this, U).current && o(this, u, ds).call(this), Qt.register(this), fs.subscribe(t(this, A), Ks.SCROLL), Rs.subscribe(this, t(this, A)), o(this, u, $s).call(this));
580
+ }, A = new WeakMap(), gs = new WeakMap(), re = function(e) {
581
+ t(this, D).current ? (t(this, y).current = e % t(this, l).length, t(this, y).current = t(this, y).current < 0 ? t(this, l).length + t(this, y).current : t(this, y).current) : t(this, y).current = te(e, 0, this.limit);
583
582
  }, is = new WeakMap(), vs = new WeakMap(), qs = function(e = "current") {
584
583
  if (t(this, D).current && t(this, l).length) {
585
584
  const s = t(this, d)[e] % (t(this, v) + t(this, w) + t(this, O));
@@ -592,8 +591,8 @@ d = new WeakMap(), Mt = new WeakMap(), k = new WeakMap(), J = new WeakMap(), Q =
592
591
  e === 0 ? this.classList.add("start") : this.classList.remove("start"), e === this.limit ? this.classList.add("end") : this.classList.remove("end");
593
592
  const s = t(this, G).current + t(this, Y).current;
594
593
  t(this, l).forEach((h, a) => {
595
- const g = e - this.limit - 1 + t(this, Y).current, R = e + s, Xt = this.sections.length - R;
596
- a >= e && a < R || a <= g ? h.mark("current") : a >= R && a < R + Xt / 2 || a <= g + s ? h.mark("next") : h.mark("previous");
594
+ const g = e - this.limit - 1 + t(this, Y).current, M = e + s, Xt = this.sections.length - M;
595
+ a >= e && a < M || a <= g ? h.mark("current") : a >= M && a < M + Xt / 2 || a <= g + s ? h.mark("next") : h.mark("previous");
597
596
  });
598
597
  }
599
598
  }, Us = function() {
@@ -606,7 +605,7 @@ d = new WeakMap(), Mt = new WeakMap(), k = new WeakMap(), J = new WeakMap(), Q =
606
605
  };
607
606
  customElements.get("e-scroll") || customElements.define("e-scroll", Ts);
608
607
  var ys;
609
- class Rs extends HTMLElement {
608
+ class Ms extends HTMLElement {
610
609
  constructor() {
611
610
  super(...arguments);
612
611
  i(this, ys, null);
@@ -615,16 +614,16 @@ class Rs extends HTMLElement {
615
614
  return t(this, ys);
616
615
  }
617
616
  connectedCallback() {
618
- const e = ke(this, Ts);
617
+ const e = Fe(this, Ts);
619
618
  e instanceof Ts ? r(this, ys, e) : console.error(this, "e-scroll not found");
620
619
  }
621
620
  }
622
621
  ys = new WeakMap();
623
- const Me = Zs({
622
+ const Ie = Zs({
624
623
  ":host": {
625
624
  display: "inline-block",
626
625
  zIndex: "1",
627
- backgroundColor: te.colorFont.var
626
+ backgroundColor: "#ebebeb"
628
627
  },
629
628
  ':host([axis="y"])': {
630
629
  position: "absolute",
@@ -641,7 +640,7 @@ const Me = Zs({
641
640
  height: "1vmin"
642
641
  },
643
642
  ".default-thumb": {
644
- backgroundColor: te.colorMain.var,
643
+ backgroundColor: "black",
645
644
  borderRadius: "1vmin",
646
645
  touchAction: "none"
647
646
  },
@@ -650,7 +649,7 @@ const Me = Zs({
650
649
  }
651
650
  });
652
651
  var rs, I, et, it, hs, ns, Gt, Cs, Ps, ws;
653
- class Re extends Rs {
652
+ class Re extends Ms {
654
653
  constructor() {
655
654
  super();
656
655
  i(this, rs, null);
@@ -671,9 +670,9 @@ class Re extends Rs {
671
670
  this.setAttribute("axis", this.scrollElement.axisCSSProperty.current);
672
671
  });
673
672
  i(this, ws, (e) => {
674
- document.documentElement.classList.add("grabbing"), Fe(
673
+ document.documentElement.classList.add("grabbing"), ze(
675
674
  (a) => {
676
- const g = t(this, et) ? a.x : a.y, R = this.scrollElement.distance / t(this, hs), Xt = (g - h) * R;
675
+ const g = t(this, et) ? a.x : a.y, M = this.scrollElement.distance / t(this, hs), Xt = (g - h) * M;
677
676
  this.scrollElement.setPosition(s + Xt);
678
677
  },
679
678
  () => {
@@ -682,7 +681,7 @@ class Re extends Rs {
682
681
  );
683
682
  const s = this.scrollElement.targetScrollValue, h = t(this, et) ? e.x : e.y;
684
683
  });
685
- Ns && (this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(Me), _s(this, {
684
+ Ns && (this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(Ie), _s(this, {
686
685
  slot: "static",
687
686
  "drag-dead-zone": "",
688
687
  children: [
@@ -699,24 +698,24 @@ class Re extends Rs {
699
698
  connectedCallback() {
700
699
  super.connectedCallback();
701
700
  const e = t(this, rs).assignedElements()[0] || t(this, rs).firstElementChild;
702
- r(this, I, e), t(this, I).addEventListener("pointerdown", t(this, ws)), fs.subscribe(t(this, Gt), Ks.SCROLL + 1), Ms.subscribe(this, t(this, Gt)), this.scrollElement.onScroll(t(this, Cs)), this.scrollElement.axisCSSProperty.subscribe(t(this, Ps));
701
+ r(this, I, e), t(this, I).addEventListener("pointerdown", t(this, ws)), fs.subscribe(t(this, Gt), Ks.SCROLL + 1), Rs.subscribe(this, t(this, Gt)), this.scrollElement.onScroll(t(this, Cs)), this.scrollElement.axisCSSProperty.subscribe(t(this, Ps));
703
702
  }
704
703
  disconnectedCallback() {
705
- t(this, I).removeEventListener("pointerdown", t(this, ws)), fs.unsubscribe(t(this, Gt)), Ms.unsubscribe(t(this, Gt)), this.scrollElement.offScroll(t(this, Cs)), this.scrollElement.axisCSSProperty.unsubscribe(t(this, Ps));
704
+ t(this, I).removeEventListener("pointerdown", t(this, ws)), fs.unsubscribe(t(this, Gt)), Rs.unsubscribe(t(this, Gt)), this.scrollElement.offScroll(t(this, Cs)), this.scrollElement.axisCSSProperty.unsubscribe(t(this, Ps));
706
705
  }
707
706
  }
708
707
  rs = new WeakMap(), I = new WeakMap(), et = new WeakMap(), it = new WeakMap(), hs = new WeakMap(), ns = new WeakMap(), Gt = new WeakMap(), Cs = new WeakMap(), Ps = new WeakMap(), ws = new WeakMap();
709
708
  customElements.get("e-scrollbar") || customElements.define("e-scrollbar", Re);
710
- const Oe = Zs({
709
+ const Me = Zs({
711
710
  button: {
712
711
  all: "inherit"
713
712
  }
714
713
  });
715
- class ne extends Rs {
714
+ class he extends Ms {
716
715
  constructor() {
717
- super(), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(Oe), Ns && _s(this, {
716
+ super(), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(Me), Ns && _s(this, {
718
717
  children: [
719
- Ve({
718
+ Le({
720
719
  onClick: () => {
721
720
  this.handleClick();
722
721
  },
@@ -726,22 +725,22 @@ class ne extends Rs {
726
725
  });
727
726
  }
728
727
  }
729
- class Ae extends ne {
728
+ class Oe extends he {
730
729
  handleClick() {
731
730
  const n = this.getAttribute("index"), e = this.getAttribute("behaviour");
732
731
  this.scrollElement.scrollToSection(parseInt(n || "0"), { behaviour: e });
733
732
  }
734
733
  }
735
- customElements.get("e-scroll-set-button") || customElements.define("e-scroll-set-button", Ae);
736
- class Te extends ne {
734
+ customElements.get("e-scroll-set-button") || customElements.define("e-scroll-set-button", Oe);
735
+ class Ae extends he {
737
736
  handleClick() {
738
737
  const n = this.getAttribute("step"), e = this.getAttribute("behaviour");
739
738
  this.scrollElement.shiftSections(parseInt(n || "1"), { behaviour: e });
740
739
  }
741
740
  }
742
- customElements.get("e-scroll-step-button") || customElements.define("e-scroll-step-button", Te);
741
+ customElements.get("e-scroll-step-button") || customElements.define("e-scroll-step-button", Ae);
743
742
  var rt, yt, os, Es, xs, cs;
744
- class He {
743
+ class Te {
745
744
  constructor(n, e, s) {
746
745
  i(this, rt);
747
746
  i(this, yt);
@@ -769,14 +768,14 @@ class He {
769
768
  }
770
769
  rt = new WeakMap(), yt = new WeakMap(), os = new WeakMap(), Es = new WeakMap(), xs = new WeakMap(), cs = new WeakMap();
771
770
  var Ct, ls;
772
- class $e extends Rs {
771
+ class He extends Ms {
773
772
  constructor() {
774
773
  super(...arguments);
775
774
  i(this, Ct, []);
776
- i(this, ls, re(() => {
775
+ i(this, ls, ie(() => {
777
776
  t(this, Ct).forEach((e) => e.destroy()), r(this, Ct, []);
778
777
  for (let e = 0; e < this.scrollElement.sections.length; e++) {
779
- const s = new He(
778
+ const s = new Te(
780
779
  this.scrollElement,
781
780
  e,
782
781
  this.getAttribute("behaviour") || "smooth"
@@ -799,9 +798,9 @@ class $e extends Rs {
799
798
  }
800
799
  }
801
800
  Ct = new WeakMap(), ls = new WeakMap();
802
- customElements.get("e-scroll-bullet-buttons") || customElements.define("e-scroll-bullet-buttons", $e);
803
- var Nt, Kt, _t, Zt, Pt, wt, Et, xt, z, T, H, $, Lt, E, ht, nt, ot, ct, lt, x, B, W, ut, at, Z, Ls, p, jt, Jt, Vs, L, Vt, M, F, q, us, zt, P, S, oe, ce, le, ue, ae, fe, zs, as, Dt, de, pe, Gs, Fs;
804
- class Be extends Rs {
801
+ customElements.get("e-scroll-bullet-buttons") || customElements.define("e-scroll-bullet-buttons", He);
802
+ var Nt, Kt, _t, Zt, Pt, wt, Et, xt, z, T, H, $, Lt, E, ht, nt, ot, ct, lt, x, B, W, ut, at, Z, Ls, p, jt, Jt, Vs, L, Vt, R, F, q, us, zt, P, S, ne, oe, ce, le, ue, ae, zs, as, Dt, fe, de, Gs, Fs;
803
+ class $e extends Ms {
805
804
  constructor() {
806
805
  super();
807
806
  i(this, S);
@@ -862,9 +861,9 @@ class Be extends Rs {
862
861
  i(this, jt, 0);
863
862
  i(this, Jt, 0);
864
863
  i(this, Vs, 0);
865
- i(this, L, new ie(0, { order: ee.SCROLL - 1, min: 0, max: 1 }));
864
+ i(this, L, new ee(0, { order: se.SCROLL - 1, min: 0, max: 1 }));
866
865
  i(this, Vt, 0);
867
- i(this, M, 0);
866
+ i(this, R, 0);
868
867
  i(this, F, 0);
869
868
  i(this, q, 0);
870
869
  i(this, us, !1);
@@ -876,7 +875,7 @@ class Be extends Rs {
876
875
  i(this, as, () => {
877
876
  !t(this, P) && t(this, us) && this.tick();
878
877
  });
879
- i(this, Fs, re(() => {
878
+ i(this, Fs, ie(() => {
880
879
  const e = Qt.getAll(this).reverse();
881
880
  let s = 0;
882
881
  e.forEach((h, a) => {
@@ -972,7 +971,7 @@ class Be extends Rs {
972
971
  return t(this, Vt);
973
972
  }
974
973
  get start() {
975
- return t(this, M);
974
+ return t(this, R);
976
975
  }
977
976
  get finish() {
978
977
  return t(this, q);
@@ -987,20 +986,20 @@ class Be extends Rs {
987
986
  return t(this, P);
988
987
  }
989
988
  resize() {
990
- r(this, Jt, this.scrollElement.vertical ? this.offsetHeight : this.offsetWidth), r(this, jt, this.scrollElement.vertical ? ks(this, this.scrollElement) : Ds(this, this.scrollElement)), r(this, M, this.getStart()), r(this, F, this.getDistance()), r(this, M, t(this, M) + t(this, Et).current), r(this, F, t(this, F) + t(this, wt).current), r(this, q, t(this, M) + t(this, F)), this.scrollElement.currentScrollValue > t(this, q) && !t(this, x).current && !t(this, B).current && (t(this, x).current = !0), this.setVar(t(this, ct).current, t(this, M)), this.setVar(t(this, lt).current, t(this, q)), this.setVar(t(this, ot).current, t(this, F)), t(this, L).max = t(this, F), r(this, us, !0);
989
+ r(this, Jt, this.scrollElement.vertical ? this.offsetHeight : this.offsetWidth), r(this, jt, this.scrollElement.vertical ? ks(this, this.scrollElement) : Ds(this, this.scrollElement)), r(this, R, this.getStart()), r(this, F, this.getDistance()), r(this, R, t(this, R) + t(this, Et).current), r(this, F, t(this, F) + t(this, wt).current), r(this, q, t(this, R) + t(this, F)), this.scrollElement.currentScrollValue > t(this, q) && !t(this, x).current && !t(this, B).current && (t(this, x).current = !0), this.setVar(t(this, ct).current, t(this, R)), this.setVar(t(this, lt).current, t(this, q)), this.setVar(t(this, ot).current, t(this, F)), t(this, L).max = t(this, F), r(this, us, !0);
991
990
  }
992
991
  tick() {
993
992
  let e = this.scrollElement.currentScrollValue;
994
993
  t(this, Ls).forEach((h) => {
995
994
  e += h.value;
996
- }), t(this, L).set(e - t(this, M));
995
+ }), t(this, L).set(e - t(this, R));
997
996
  const s = Math.round(e);
998
- t(this, x).current && (s > t(this, M) ? t(this, W).current || o(this, S, le).call(this) : t(this, W).current && !t(this, ut).current && o(this, S, ae).call(this), s < t(this, q) ? t(this, Z).current && !t(this, at).current && o(this, S, ue).call(this) : t(this, W).current && !t(this, Z).current && o(this, S, fe).call(this)), s > t(this, M) && s < t(this, q) ? t(this, x).current || o(this, S, oe).call(this) : t(this, x).current && (t(this, L).set(
999
- Ce(t(this, F) / 2, t(this, L).current, 0, t(this, F))
1000
- ), o(this, S, ce).call(this)), t(this, zt) && t(this, xt).current && (t(this, z).current && t(this, p).classList.add(t(this, z).current), r(this, P, !0));
997
+ t(this, x).current && (s > t(this, R) ? t(this, W).current || o(this, S, ce).call(this) : t(this, W).current && !t(this, ut).current && o(this, S, ue).call(this), s < t(this, q) ? t(this, Z).current && !t(this, at).current && o(this, S, le).call(this) : t(this, W).current && !t(this, Z).current && o(this, S, ae).call(this)), s > t(this, R) && s < t(this, q) ? t(this, x).current || o(this, S, ne).call(this) : t(this, x).current && (t(this, L).set(
998
+ ye(t(this, F) / 2, t(this, L).current, 0, t(this, F))
999
+ ), o(this, S, oe).call(this)), t(this, zt) && t(this, xt).current && (t(this, z).current && t(this, p).classList.add(t(this, z).current), r(this, P, !0));
1001
1000
  }
1002
1001
  disable() {
1003
- this.style.cssText = "", r(this, jt, 0), r(this, Jt, 0), t(this, L).reset(), r(this, Vt, 0), r(this, M, 0), r(this, F, 0), r(this, q, 0), r(this, us, !1), t(this, x).current = !1, t(this, B).current = !1, t(this, W).current = !1, t(this, ut).current = !1, t(this, at).current = !1, t(this, Z).current = !1, r(this, zt, !1), r(this, P, !0), o(this, S, Gs).call(this);
1002
+ this.style.cssText = "", r(this, jt, 0), r(this, Jt, 0), t(this, L).reset(), r(this, Vt, 0), r(this, R, 0), r(this, F, 0), r(this, q, 0), r(this, us, !1), t(this, x).current = !1, t(this, B).current = !1, t(this, W).current = !1, t(this, ut).current = !1, t(this, at).current = !1, t(this, Z).current = !1, r(this, zt, !1), r(this, P, !0), o(this, S, Gs).call(this);
1004
1003
  }
1005
1004
  enable() {
1006
1005
  r(this, P, !1);
@@ -1044,7 +1043,7 @@ class Be extends Rs {
1044
1043
  }), t(this, nt).subscribe((s) => {
1045
1044
  t(this, P) || (this.removeVar(s.previous), this.setVar(s.current, t(this, Vt)));
1046
1045
  }), t(this, ct).subscribe((s) => {
1047
- t(this, P) || (this.removeVar(s.previous), this.setVar(s.current, t(this, M)));
1046
+ t(this, P) || (this.removeVar(s.previous), this.setVar(s.current, t(this, R)));
1048
1047
  }), t(this, lt).subscribe((s) => {
1049
1048
  t(this, P) || (this.removeVar(s.previous), this.setVar(s.current, t(this, q)));
1050
1049
  }), t(this, ot).subscribe((s) => {
@@ -1075,31 +1074,31 @@ class Be extends Rs {
1075
1074
  return t(this, jt) - t(this, Vs);
1076
1075
  }
1077
1076
  }
1078
- Nt = new WeakMap(), Kt = new WeakMap(), _t = new WeakMap(), Zt = new WeakMap(), Pt = new WeakMap(), wt = new WeakMap(), Et = new WeakMap(), xt = new WeakMap(), z = new WeakMap(), T = new WeakMap(), H = new WeakMap(), $ = new WeakMap(), Lt = new WeakMap(), E = new WeakMap(), ht = new WeakMap(), nt = new WeakMap(), ot = new WeakMap(), ct = new WeakMap(), lt = new WeakMap(), x = new WeakMap(), B = new WeakMap(), W = new WeakMap(), ut = new WeakMap(), at = new WeakMap(), Z = new WeakMap(), Ls = new WeakMap(), p = new WeakMap(), jt = new WeakMap(), Jt = new WeakMap(), Vs = new WeakMap(), L = new WeakMap(), Vt = new WeakMap(), M = new WeakMap(), F = new WeakMap(), q = new WeakMap(), us = new WeakMap(), zt = new WeakMap(), P = new WeakMap(), S = new WeakSet(), oe = function() {
1077
+ Nt = new WeakMap(), Kt = new WeakMap(), _t = new WeakMap(), Zt = new WeakMap(), Pt = new WeakMap(), wt = new WeakMap(), Et = new WeakMap(), xt = new WeakMap(), z = new WeakMap(), T = new WeakMap(), H = new WeakMap(), $ = new WeakMap(), Lt = new WeakMap(), E = new WeakMap(), ht = new WeakMap(), nt = new WeakMap(), ot = new WeakMap(), ct = new WeakMap(), lt = new WeakMap(), x = new WeakMap(), B = new WeakMap(), W = new WeakMap(), ut = new WeakMap(), at = new WeakMap(), Z = new WeakMap(), Ls = new WeakMap(), p = new WeakMap(), jt = new WeakMap(), Jt = new WeakMap(), Vs = new WeakMap(), L = new WeakMap(), Vt = new WeakMap(), R = new WeakMap(), F = new WeakMap(), q = new WeakMap(), us = new WeakMap(), zt = new WeakMap(), P = new WeakMap(), S = new WeakSet(), ne = function() {
1079
1078
  t(this, x).current = !0, t(this, B).current = !1, r(this, zt, !0), t(this, T).current && t(this, p).classList.remove(t(this, T).current), t(this, E).current && t(this, p).classList.remove(
1080
1079
  t(this, E).current
1081
1080
  ), t(this, E).current && t(this, p).classList.remove(
1082
1081
  t(this, E).current
1083
1082
  ), t(this, z).current && t(this, p).classList.add(t(this, z).current);
1084
- }, ce = function() {
1083
+ }, oe = function() {
1085
1084
  t(this, B).current = !0, t(this, x).current = !1, r(this, zt, !0), t(this, z).current && t(this, p).classList.remove(t(this, z).current), t(this, H).current && t(this, p).classList.remove(
1086
1085
  t(this, H).current
1087
1086
  ), t(this, $).current && t(this, p).classList.remove(
1088
1087
  t(this, $).current
1089
1088
  ), t(this, T).current && t(this, p).classList.add(t(this, T).current);
1090
- }, le = function() {
1089
+ }, ce = function() {
1091
1090
  t(this, x).current = !0, t(this, W).current = !0, t(this, ut).current = !1, t(this, H).current && t(this, p).classList.add(
1092
1091
  t(this, H).current
1093
1092
  );
1094
- }, ue = function() {
1093
+ }, le = function() {
1095
1094
  t(this, x).current = !0, t(this, at).current = !0, t(this, Z).current = !1, t(this, $).current && t(this, p).classList.add(
1096
1095
  t(this, $).current
1097
1096
  );
1098
- }, ae = function() {
1097
+ }, ue = function() {
1099
1098
  t(this, B).current = !0, t(this, ut).current = !0, t(this, W).current = !1, t(this, E).current && t(this, p).classList.add(
1100
1099
  t(this, E).current
1101
1100
  );
1102
- }, fe = function() {
1101
+ }, ae = function() {
1103
1102
  t(this, B).current = !0, t(this, Z).current = !0, t(this, at).current = !1, t(this, E).current && t(this, p).classList.add(
1104
1103
  t(this, E).current
1105
1104
  );
@@ -1109,23 +1108,23 @@ Nt = new WeakMap(), Kt = new WeakMap(), _t = new WeakMap(), Zt = new WeakMap(),
1109
1108
  return;
1110
1109
  }
1111
1110
  e.current && t(this, x).current ? (e.previous && t(this, p).classList.remove(e.previous), t(this, p).classList.add(e.current)) : !e.current && e.previous && t(this, p).classList.remove(e.previous);
1112
- }, de = function(...e) {
1111
+ }, fe = function(...e) {
1113
1112
  e.forEach((s) => {
1114
1113
  s && t(this, p).classList.remove(s);
1115
1114
  });
1116
- }, pe = function(...e) {
1115
+ }, de = function(...e) {
1117
1116
  e.forEach((s) => {
1118
1117
  s && t(this, p).style.removeProperty(`--${s}`);
1119
1118
  });
1120
1119
  }, Gs = function() {
1121
- o(this, S, de).call(this, t(this, z).current, t(this, H).current, t(this, $).current, t(this, T).current, t(this, Lt).current, t(this, E).current), o(this, S, pe).call(this, t(this, ht).current, t(this, nt).current, t(this, ot).current, t(this, ct).current, t(this, lt).current);
1120
+ o(this, S, fe).call(this, t(this, z).current, t(this, H).current, t(this, $).current, t(this, T).current, t(this, Lt).current, t(this, E).current), o(this, S, de).call(this, t(this, ht).current, t(this, nt).current, t(this, ot).current, t(this, ct).current, t(this, lt).current);
1122
1121
  }, Fs = new WeakMap();
1123
- customElements.get("e-scroll-segment") || customElements.define("e-scroll-segment", Be);
1122
+ customElements.get("e-scroll-segment") || customElements.define("e-scroll-segment", $e);
1124
1123
  export {
1125
- $e as ScrollBulletButtonsElement,
1124
+ He as ScrollBulletButtonsElement,
1126
1125
  Ts as ScrollElement,
1127
- Be as ScrollSegmentElement,
1128
- Ae as ScrollSetButtonElement,
1129
- Te as ScrollStepButtonElement,
1126
+ $e as ScrollSegmentElement,
1127
+ Oe as ScrollSetButtonElement,
1128
+ Ae as ScrollStepButtonElement,
1130
1129
  Re as ScrollbarElement
1131
1130
  };
@@ -1,33 +1,33 @@
1
1
  var f = (s) => {
2
2
  throw TypeError(s);
3
3
  };
4
- var g = (s, t, r) => t.has(s) || f("Cannot " + r);
5
- var e = (s, t, r) => (g(s, t, "read from private field"), r ? r.call(s) : t.get(s)), l = (s, t, r) => t.has(s) ? f("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(s) : t.set(s, r);
6
- import { Notifier as u } from "../notifier/index.js";
7
- import { g as c } from "../dom-P5QbAASX.js";
8
- var h, i, o;
4
+ var u = (s, t, r) => t.has(s) || f("Cannot " + r);
5
+ var e = (s, t, r) => (u(s, t, "read from private field"), r ? r.call(s) : t.get(s)), l = (s, t, r) => t.has(s) ? f("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(s) : t.set(s, r);
6
+ import { Notifier as g } from "../notifier/index.js";
7
+ import { a as c } from "../dom-0S_WDL4g.js";
8
+ var h, i, a;
9
9
  class p {
10
10
  constructor() {
11
11
  l(this, h, /* @__PURE__ */ new Set());
12
12
  l(this, i, /* @__PURE__ */ new WeakMap());
13
- l(this, o, new u());
13
+ l(this, a, new g());
14
14
  }
15
15
  get notifier() {
16
- return e(this, o);
16
+ return e(this, a);
17
17
  }
18
18
  register(t) {
19
19
  e(this, i).set(t, {
20
20
  axis: "y",
21
21
  value: 0,
22
22
  element: t
23
- }), e(this, h).add(t), e(this, o).notify();
23
+ }), e(this, h).add(t), e(this, a).notify();
24
24
  }
25
25
  unregister(t) {
26
- e(this, i).delete(t), e(this, h).delete(t), e(this, o).notify();
26
+ e(this, i).delete(t), e(this, h).delete(t), e(this, a).notify();
27
27
  }
28
- update(t, r, a) {
28
+ update(t, r, o) {
29
29
  const n = e(this, i).get(t);
30
- n.axis = r, n.value = a;
30
+ n.axis = r, n.value = o;
31
31
  }
32
32
  hasEntry(t) {
33
33
  return e(this, i).has(t);
@@ -36,13 +36,13 @@ class p {
36
36
  return e(this, i).get(t);
37
37
  }
38
38
  getAll(t) {
39
- const r = c(t).filter((n) => e(this, h).has(n)), a = [];
39
+ const r = c(t).filter((n) => e(this, h).has(n)), o = [];
40
40
  return r.forEach((n) => {
41
- e(this, i).has(n) && a.push(e(this, i).get(n));
42
- }), a;
41
+ e(this, i).has(n) && o.push(e(this, i).get(n));
42
+ }), o;
43
43
  }
44
44
  }
45
- h = new WeakMap(), i = new WeakMap(), o = new WeakMap();
45
+ h = new WeakMap(), i = new WeakMap(), a = new WeakMap();
46
46
  const w = new p();
47
47
  export {
48
48
  w as scrollEntries