aptechka 0.5.19 → 0.5.21

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.
@@ -1,95 +1,95 @@
1
- var fs = (e, i, r) => {
1
+ var Ss = (e, i, r) => {
2
2
  if (!i.has(e))
3
3
  throw TypeError("Cannot " + r);
4
4
  };
5
- var a = (e, i, r) => (fs(e, i, "read from private field"), r ? r.call(e) : i.get(e)), z = (e, i, r) => {
5
+ var a = (e, i, r) => (Ss(e, i, "read from private field"), r ? r.call(e) : i.get(e)), z = (e, i, r) => {
6
6
  if (i.has(e))
7
7
  throw TypeError("Cannot add the same private member more than once");
8
8
  i instanceof WeakSet ? i.add(e) : i.set(e, r);
9
- }, O = (e, i, r, h) => (fs(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r);
9
+ }, O = (e, i, r, h) => (Ss(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r);
10
10
  import { S as gt } from "../Store-Cd-E5W1z.js";
11
- import { D as Hs } from "../Derived-DH-ouLBq.js";
12
- import { i as is } from "../browser-0zX67oeU.js";
13
- import { a as $e, g as Fe } from "../layout-HoBT_Da2.js";
14
- import { c as ys, s as Gs } from "../math-BOBiC4TN.js";
11
+ import { D as qs } from "../Derived-DH-ouLBq.js";
12
+ import { i as hs } from "../browser-0zX67oeU.js";
13
+ import { a as Oe, g as Ae } from "../layout-HoBT_Da2.js";
14
+ import { c as Ps, s as Ns } from "../math-BOBiC4TN.js";
15
15
  import "../path-data-polyfill-DgeDWYeI.js";
16
16
  import "../ticker/index.js";
17
- import { TICK_ORDER as ks, RESIZE_ORDER as rs } from "../order/index.js";
18
- import { D as Ps } from "../Damped-BJgyFENo.js";
19
- import { WheelControls as qs, KeyboardControls as Ns, DragControls as Us, AutoplayControls as Ks } from "../controls/index.js";
20
- import { CustomElement as Ws, define as re } from "../custom-element/index.js";
21
- import { windowResizer as ee } from "../window-resizer/index.js";
22
- import { scrollEntries as Dt } from "../scroll-entries/index.js";
23
- import { e as hs, D as qe, ay as De, p as Zs } from "../tags-BoPv9fDr.js";
24
- import { c as ns } from "../createStylesheet-KMRQhSa-.js";
25
- import { cssUnitParser as ds } from "../css-unit-parser/index.js";
17
+ import { TICK_ORDER as Ws, RESIZE_ORDER as ns } from "../order/index.js";
18
+ import { D as Ms } from "../Damped-BJgyFENo.js";
19
+ import { WheelControls as Us, KeyboardControls as Ks, DragControls as Zs, AutoplayControls as Js } from "../controls/index.js";
20
+ import { CustomElement as Es, define as oe } from "../custom-element/index.js";
21
+ import { windowResizer as he } from "../window-resizer/index.js";
22
+ import { scrollEntries as Rt } from "../scroll-entries/index.js";
23
+ import { e as as, D as Ue, ay as Re, p as Qs } from "../tags-BoPv9fDr.js";
24
+ import { c as os } from "../createStylesheet-KMRQhSa-.js";
25
+ import { cssUnitParser as vs } from "../css-unit-parser/index.js";
26
26
  import { CSSProperty as u } from "../css-property/index.js";
27
- import { d as Js } from "../Viewport-CCDNxaDg.js";
28
- import { elementResizer as Oe } from "../element-resizer/index.js";
29
- import { s as Qs } from "../gestures-D2Fdra_G.js";
30
- import { aptechkaTheme as Ss } from "../theme/index.js";
31
- import { f as Xs } from "../dom-0S_WDL4g.js";
32
- import { d as Ms } from "../function-C10DGppn.js";
33
- var Ys = Object.defineProperty, js = Object.getOwnPropertyDescriptor, ti = (e, i, r, h) => {
34
- for (var n = h > 1 ? void 0 : h ? js(i, r) : i, p = e.length - 1, d; p >= 0; p--)
27
+ import { d as Xs } from "../Viewport-CCDNxaDg.js";
28
+ import { elementResizer as Te } from "../element-resizer/index.js";
29
+ import { s as Ys } from "../gestures-D2Fdra_G.js";
30
+ import { aptechkaTheme as ms } from "../theme/index.js";
31
+ import { f as js } from "../dom-0S_WDL4g.js";
32
+ import { d as xs } from "../function-C10DGppn.js";
33
+ var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, si = (e, i, r, h) => {
34
+ for (var n = h > 1 ? void 0 : h ? ei(i, r) : i, p = e.length - 1, d; p >= 0; p--)
35
35
  (d = e[p]) && (n = (h ? d(i, r, n) : d(n)) || n);
36
- return h && n && Ys(i, r, n), n;
37
- }, as = (e, i, r) => {
36
+ return h && n && ti(i, r, n), n;
37
+ }, ls = (e, i, r) => {
38
38
  if (!i.has(e))
39
39
  throw TypeError("Cannot " + r);
40
- }, t = (e, i, r) => (as(e, i, "read from private field"), r ? r.call(e) : i.get(e)), l = (e, i, r) => {
40
+ }, t = (e, i, r) => (ls(e, i, "read from private field"), r ? r.call(e) : i.get(e)), o = (e, i, r) => {
41
41
  if (i.has(e))
42
42
  throw TypeError("Cannot add the same private member more than once");
43
43
  i instanceof WeakSet ? i.add(e) : i.set(e, r);
44
- }, w = (e, i, r, h) => (as(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r), _ = (e, i, r) => (as(e, i, "access private method"), r), S, A, et, Q, st, bt, wt, K, T, At, Rt, Tt, It, he, nt, Bt, _t, Ht, Gt, g, Ae, c, be, we, M, C, I, X, Vt, pt, F, k, ne, Ct, se, ie, Xt, de, zt, Yt, Re, os, Te, ls, _e, Ne, Ce, Ue, B, He, Ke, Es, ae, ye, ke, Ze, Se, Ie, Je, xs, b, y, Ft, j, St;
45
- class ei {
44
+ }, _ = (e, i, r, h) => (ls(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r), b = (e, i, r) => (ls(e, i, "access private method"), r), S, A, et, Q, st, wt, _t, K, T, It, Bt, Ht, Gt, le, nt, qt, Ct, at, Vt, Nt, Ut, g, Ie, c, Ce, ye, M, C, I, X, Ft, ft, F, k, ce, yt, ne, ae, te, be, Dt, se, Be, cs, He, us, ke, Ke, Pe, Ze, B, qe, Je, Ls, ue, We, Me, Qe, zt, ee, Xe, Vs, w, y, At, j, vt;
45
+ class ii {
46
46
  constructor(i, r) {
47
- z(this, b, void 0);
47
+ z(this, w, void 0);
48
48
  z(this, y, void 0);
49
- z(this, Ft, 0);
49
+ z(this, At, 0);
50
50
  z(this, j, 0);
51
- z(this, St, null);
52
- O(this, b, i), O(this, y, r), Dt.register(a(this, b));
51
+ z(this, vt, null);
52
+ O(this, w, i), O(this, y, r), Rt.register(a(this, w));
53
53
  }
54
54
  get size() {
55
- return a(this, Ft);
55
+ return a(this, At);
56
56
  }
57
57
  get position() {
58
58
  return a(this, j);
59
59
  }
60
60
  destroy() {
61
- Dt.unregister(a(this, b)), a(this, b).style.transform = "", this.mark(null);
61
+ Rt.unregister(a(this, w)), a(this, w).style.transform = "", this.mark(null);
62
62
  }
63
63
  setSize(i) {
64
- i ? (a(this, b).style.setProperty("--size", i + "px"), a(this, y).axisCSSProperty.current === "x" ? (a(this, b).style.width = i + "px", a(this, b).style.height = "") : (a(this, b).style.height = i + "px", a(this, b).style.width = "")) : (a(this, b).style.width = "", a(this, b).style.height = "", a(this, b).style.removeProperty("--size"));
64
+ i ? (a(this, w).style.setProperty("--size", i + "px"), a(this, y).axisCSSProperty.current === "x" ? (a(this, w).style.width = i + "px", a(this, w).style.height = "") : (a(this, w).style.height = i + "px", a(this, w).style.width = "")) : (a(this, w).style.width = "", a(this, w).style.height = "", a(this, w).style.removeProperty("--size"));
65
65
  }
66
66
  resize() {
67
- O(this, Ft, a(this, y).vertical ? a(this, b).offsetHeight : a(this, b).offsetWidth), O(this, j, a(this, y).vertical ? $e(a(this, b)) : Fe(a(this, b))), O(this, j, a(this, j) - a(this, y).contentPosition);
67
+ O(this, At, a(this, y).vertical ? a(this, w).offsetHeight : a(this, w).offsetWidth), O(this, j, a(this, y).vertical ? Oe(a(this, w)) : Ae(a(this, w))), O(this, j, a(this, j) - a(this, y).contentPosition);
68
68
  }
69
69
  transform() {
70
70
  let i = 0;
71
71
  const r = a(this, y).viewportSize * a(this, y).sectionDistanceScaleCSSProperty.current;
72
- a(this, y).infiniteCSSProperty.current && a(this, y).overscroll && a(this, j) + a(this, Ft) < a(this, y).currentScrollValue && (i = a(this, y).distance * -1 - a(this, y).gap), Dt.update(
73
- a(this, b),
72
+ a(this, y).infiniteCSSProperty.current && a(this, y).overscroll && a(this, j) + a(this, At) < a(this, y).currentScrollValue && (i = a(this, y).distance * -1 - a(this, y).gap), Rt.update(
73
+ a(this, w),
74
74
  a(this, y).axisCSSProperty.current,
75
75
  i
76
76
  );
77
- const h = a(this, y).currentScrollValue + i, n = a(this, j) - a(this, y).viewportSize - r, p = a(this, j) + a(this, Ft) + r, d = ys(h, n, p);
78
- a(this, y).vertical ? a(this, b).style.transform = `translate3d(0px, ${d * -1}px, 0px)` : a(this, b).style.transform = `translate3d(${d * -1}px, 0px, 0px)`;
77
+ const h = a(this, y).currentScrollValue + i, n = a(this, j) - a(this, y).viewportSize - r, p = a(this, j) + a(this, At) + r, d = Ps(h, n, p);
78
+ a(this, y).vertical ? a(this, w).style.transform = `translate3d(0px, ${d * -1}px, 0px)` : a(this, w).style.transform = `translate3d(${d * -1}px, 0px, 0px)`;
79
79
  }
80
80
  mark(i) {
81
- a(this, St) !== i && (a(this, St) && a(this, b).classList.remove(a(this, St)), i && a(this, b).classList.add(i), O(this, St, i), a(this, b).dispatchEvent(
81
+ a(this, vt) !== i && (a(this, vt) && a(this, w).classList.remove(a(this, vt)), i && a(this, w).classList.add(i), O(this, vt, i), a(this, w).dispatchEvent(
82
82
  new CustomEvent("sectionsChange", {
83
83
  composed: !0,
84
84
  detail: {
85
- mark: a(this, St)
85
+ mark: a(this, vt)
86
86
  }
87
87
  })
88
88
  ));
89
89
  }
90
90
  }
91
- b = new WeakMap(), y = new WeakMap(), Ft = new WeakMap(), j = new WeakMap(), St = new WeakMap();
92
- const si = ns({
91
+ w = new WeakMap(), y = new WeakMap(), At = new WeakMap(), j = new WeakMap(), vt = new WeakMap();
92
+ const ri = os({
93
93
  ":host": {
94
94
  position: "relative",
95
95
  width: "100%",
@@ -122,38 +122,42 @@ const si = ns({
122
122
  flexShrink: "0"
123
123
  }
124
124
  });
125
- let Be = class extends Ws {
125
+ let Ge = class extends Es {
126
126
  constructor() {
127
- super(), l(this, Xt), l(this, zt), l(this, Re), l(this, Te), l(this, _e), l(this, Ce), l(this, Ke), l(this, ke), l(this, Se), l(this, Je), l(this, S, null), l(this, A, new u(this, "--axis", "y")), l(this, et, new u(this, "--pages", 0, {
127
+ super(), o(this, te), o(this, Dt), o(this, Be), o(this, He), o(this, ke), o(this, Pe), o(this, Je), o(this, Me), o(this, zt), o(this, Xe), o(this, S, null), o(this, A, new u(this, "--axis", "y")), o(this, et, new u(this, "--pages", 0, {
128
128
  validate: (e) => Math.max(0, e - 1)
129
- })), l(this, Q, new u(this, "--split", !1)), l(this, st, new u(this, "--sectional", !1)), l(this, bt, new u(this, "--auto-size", !1)), l(this, wt, new u(
129
+ })), o(this, Q, new u(this, "--split", !1)), o(this, st, new u(this, "--sectional", !1)), o(this, wt, new u(this, "--auto-size", !1)), o(this, _t, new u(
130
130
  this,
131
131
  "--wheel-max-delta",
132
132
  !1
133
- )), l(this, K, new u(
133
+ )), o(this, K, new u(
134
134
  this,
135
135
  "--sections-in-view",
136
136
  1
137
- )), l(this, T, new u(this, "--infinite", !1)), l(this, At, new u(this, "--damping", 20)), l(this, Rt, new u(this, "--mass", 0)), l(this, Tt, new u(this, "--stiffness", 0)), l(this, It, new u(this, "--mouse-drag", !1)), l(this, he, new u(
137
+ )), o(this, T, new u(this, "--infinite", !1)), o(this, It, new u(this, "--damping", 20)), o(this, Bt, new u(this, "--mass", 0)), o(this, Ht, new u(this, "--stiffness", 0)), o(this, Gt, new u(this, "--mouse-drag", !1)), o(this, le, new u(
138
138
  this,
139
139
  "--section-distance-scale",
140
140
  0.5
141
- )), l(this, nt, new u(this, "--autoplay", 0)), l(this, Bt, new u(
141
+ )), o(this, nt, new u(this, "--autoplay", 0)), o(this, qt, new u(
142
142
  this,
143
143
  "--autoplay-pause-duration",
144
144
  0
145
- )), l(this, _t, new u(
145
+ )), o(this, Ct, new u(
146
146
  this,
147
147
  "--autoplay-user-direction",
148
148
  !1
149
- )), l(this, Ht, new u(this, "--disabled", !1)), l(this, Gt, new u(this, "--hibernated", !1)), l(this, g, null), l(this, Ae, null), l(this, c, []), l(this, be, 0), l(this, we, 0), l(this, M, 0), l(this, C, 0), l(this, I, 0), l(this, X, null), l(this, Vt, null), l(this, pt, null), l(this, F, null), l(this, k, new gt(0)), l(this, ne, 0), l(this, Ct, 0), l(this, se, !0), l(this, ie, !0), l(this, B, () => {
149
+ )), o(this, at, new u(this, "--classes", 0)), o(this, Vt, new u(
150
+ this,
151
+ "--current-index-offset",
152
+ 0
153
+ )), o(this, Nt, new u(this, "--disabled", !1)), o(this, Ut, new u(this, "--hibernated", !1)), o(this, g, null), o(this, Ie, null), o(this, c, []), o(this, Ce, 0), o(this, ye, 0), o(this, M, 0), o(this, C, 0), o(this, I, 0), o(this, X, null), o(this, Ft, null), o(this, ft, null), o(this, F, null), o(this, k, new gt(0)), o(this, ce, 0), o(this, yt, 0), o(this, ne, !0), o(this, ae, !0), o(this, B, () => {
150
154
  t(this, S).unlistenAnimationFrame();
151
155
  const e = this.currentScrollValue / t(this, C) || 0, i = t(this, k).current;
152
- if (w(this, be, this.vertical ? $e(this) : Fe(this)), w(this, we, this.vertical ? $e(t(this, g)) : Fe(t(this, g))), w(this, M, this.vertical ? this.offsetHeight : this.offsetWidth), this.vertical ? w(this, I, ds.parse(
156
+ if (_(this, Ce, this.vertical ? Oe(this) : Ae(this)), _(this, ye, this.vertical ? Oe(t(this, g)) : Ae(t(this, g))), _(this, M, this.vertical ? this.offsetHeight : this.offsetWidth), this.vertical ? _(this, I, vs.parse(
153
157
  getComputedStyle(t(this, g)).rowGap
154
- )) : w(this, I, ds.parse(
158
+ )) : _(this, I, vs.parse(
155
159
  getComputedStyle(t(this, g)).columnGap
156
- )), t(this, bt).current && t(this, c).length) {
160
+ )), t(this, wt).current && t(this, c).length) {
157
161
  const r = t(this, K).current, h = (t(this, M) - t(this, I) * (r - 1)) / r;
158
162
  t(this, c).forEach((n) => {
159
163
  n.setSize(h);
@@ -165,20 +169,20 @@ let Be = class extends Ws {
165
169
  if (t(this, c).forEach((r) => {
166
170
  r.resize();
167
171
  }), t(this, et).current) {
168
- w(this, C, t(this, M) * t(this, et).current);
172
+ _(this, C, t(this, M) * t(this, et).current);
169
173
  const r = t(this, C) + t(this, M);
170
174
  this.vertical ? (t(this, g).style.width = r + "px", t(this, g).style.height = "100%") : (t(this, g).style.height = r + "px", t(this, g).style.width = "100%");
171
175
  } else
172
- this.vertical ? (t(this, g).style.width = "100%", t(this, g).style.height = "max-content", w(this, C, t(this, g).offsetHeight - t(this, M))) : (t(this, g).style.width = "max-content", t(this, g).style.height = "100%", w(this, C, t(this, g).offsetWidth - t(this, M)));
176
+ this.vertical ? (t(this, g).style.width = "100%", t(this, g).style.height = "max-content", _(this, C, t(this, g).offsetHeight - t(this, M))) : (t(this, g).style.width = "max-content", t(this, g).style.height = "100%", _(this, C, t(this, g).offsetWidth - t(this, M)));
173
177
  if (!t(this, T).current) {
174
178
  const r = getComputedStyle(this), h = this.vertical ? parseFloat(r.paddingBlockStart) + parseFloat(r.paddingBlockEnd) : parseFloat(r.paddingInlineStart) + parseFloat(r.paddingInlineEnd);
175
- w(this, C, t(this, C) + h), t(this, S).max = t(this, C);
179
+ _(this, C, t(this, C) + h), t(this, S).max = t(this, C);
176
180
  }
177
181
  if (t(this, T).current && t(this, c).length) {
178
182
  const r = t(this, c)[t(this, c).length - 1], h = r.position + r.size - t(this, M), n = t(this, C) - h;
179
- w(this, Ct, r.position + r.size + n);
183
+ _(this, yt, r.position + r.size + n);
180
184
  } else
181
- w(this, Ct, t(this, C));
185
+ _(this, yt, t(this, C));
182
186
  if (t(this, st).current && t(this, c).length) {
183
187
  const r = t(this, c)[i];
184
188
  t(this, S).set(r.position, {
@@ -188,9 +192,9 @@ let Be = class extends Ws {
188
192
  t(this, S).set(e * t(this, C), {
189
193
  equalize: !0
190
194
  });
191
- }), l(this, He, () => {
195
+ }), o(this, qe, () => {
192
196
  const e = this.currentScrollValue;
193
- if (w(this, ne, Math.max(0, e - t(this, C))), t(this, c).length) {
197
+ if (_(this, ce, Math.max(0, e - t(this, C))), t(this, c).length) {
194
198
  let i = 0;
195
199
  for (let r = 0; r < t(this, c).length; r++) {
196
200
  const h = t(this, c)[r];
@@ -199,85 +203,89 @@ let Be = class extends Ws {
199
203
  t(this, k).current = i;
200
204
  } else
201
205
  this.vertical ? t(this, g).style.transform = `translate3d(0px, ${e * -1}px, 0px)` : t(this, g).style.transform = `translate3d(${e * -1}px, 0px, 0px)`;
202
- Dt.update(
206
+ Rt.update(
203
207
  this,
204
208
  t(this, A).current,
205
209
  e
206
210
  );
207
- }), l(this, ae, (e, i) => {
211
+ }), o(this, ue, (e, i) => {
208
212
  t(this, F).pauseAndContinue(
209
- t(this, Bt).current
210
- ), t(this, _t).current && (t(this, F).direction = Math.sign(i) || 1), t(this, ye).call(this, e, i);
211
- }), l(this, ye, (e, i) => {
212
- if (!(e === "drag" && !Js.isMobile && !t(this, It).current))
213
+ t(this, qt).current
214
+ ), t(this, Ct).current && (t(this, F).direction = Math.sign(i) || 1), t(this, We).call(this, e, i);
215
+ }), o(this, We, (e, i) => {
216
+ if (!(e === "drag" && !Xs.isMobile && !t(this, Gt).current))
213
217
  if (t(this, st).current) {
214
218
  const r = Math.sign(i);
215
219
  t(this, c).length ? this.shiftSections(r) : t(this, S).shift(r * t(this, M));
216
220
  } else
217
221
  t(this, S).shift(i);
218
- }), is && (w(this, S, new Ps(0, {
222
+ }), hs && (_(this, S, new Ms(0, {
219
223
  damping: 0.01,
220
224
  min: 0,
221
- order: ks.SCROLL
222
- })), this.openShadow(si), hs(this, {
225
+ order: Ws.SCROLL
226
+ })), this.openShadow(ri), as(this, {
223
227
  tabIndex: 0,
224
228
  children: [
225
- qe({
229
+ Ue({
226
230
  class: "static",
227
- children: [De({ name: "static" })]
231
+ children: [Re({ name: "static" })]
228
232
  }),
229
- qe({
233
+ Ue({
230
234
  class: "content",
231
- children: [De({ ref: (e) => w(this, Ae, e) })],
235
+ children: [Re({ ref: (e) => _(this, Ie, e) })],
232
236
  style: {
233
- flexDirection: new Hs(
237
+ flexDirection: new qs(
234
238
  t(this, A),
235
239
  (e) => e === "x" ? "row" : "column"
236
240
  )
237
241
  },
238
- ref: (e) => w(this, g, e)
242
+ ref: (e) => _(this, g, e)
239
243
  })
240
244
  ]
241
- }), w(this, X, new qs({ element: t(this, g) })), t(this, X).changeEvent.subscribe(
242
- t(this, ae)
243
- ), w(this, Vt, new Ns({
245
+ }), _(this, X, new Us({ element: t(this, g) })), t(this, X).changeEvent.subscribe(
246
+ t(this, ue)
247
+ ), _(this, Ft, new Ks({
244
248
  element: this
245
- })), t(this, Vt).changeEvent.subscribe(
246
- t(this, ae)
247
- ), w(this, pt, new Us({ element: t(this, g) })), t(this, pt).changeEvent.subscribe(t(this, ae)), w(this, F, new Ks()), t(this, F).changeEvent.subscribe(t(this, ye)), t(this, A).subscribe(({ current: e }) => {
248
- t(this, g).style.flexDirection = e === "x" ? "row" : "column", t(this, X).axis = t(this, wt).current ? "max" : e, t(this, Vt).dimension = e === "x" ? "width" : "height", t(this, pt).axis = e, e === "x" ? this.style.touchAction = "pan-y" : e === "y" && (this.style.touchAction = "pan-x"), this.isConnected && t(this, B).call(this);
249
- }), t(this, wt).subscribe((e) => {
249
+ })), t(this, Ft).changeEvent.subscribe(
250
+ t(this, ue)
251
+ ), _(this, ft, new Zs({ element: t(this, g) })), t(this, ft).changeEvent.subscribe(t(this, ue)), _(this, F, new Js()), t(this, F).changeEvent.subscribe(t(this, We)), t(this, A).subscribe(({ current: e }) => {
252
+ t(this, g).style.flexDirection = e === "x" ? "row" : "column", t(this, X).axis = t(this, _t).current ? "max" : e, t(this, Ft).dimension = e === "x" ? "width" : "height", t(this, ft).axis = e, e === "x" ? this.style.touchAction = "pan-y" : e === "y" && (this.style.touchAction = "pan-x"), this.isConnected && t(this, B).call(this);
253
+ }), t(this, _t).subscribe((e) => {
250
254
  t(this, X).axis = e.current ? "max" : t(this, A).current;
251
255
  }), t(this, et).subscribe(() => {
252
256
  this.isConnected && t(this, B).call(this);
253
257
  }), t(this, Q).subscribe(({ current: e }) => {
254
- this.isConnected && (e ? _(this, Xt, de).call(this) : _(this, zt, Yt).call(this));
258
+ this.isConnected && (e ? b(this, te, be).call(this) : b(this, Dt, se).call(this));
255
259
  }), t(this, st).subscribe((e) => {
256
- t(this, X).debounce = e.current, t(this, pt).swipe = e.current, t(this, F).interval = e.current, this.isConnected && (e.current && !e.previous && !t(this, c).length ? _(this, Xt, de).call(this) : !e.current && e.previous && t(this, c).length && _(this, zt, Yt).call(this));
257
- }), t(this, bt).subscribe((e) => {
258
- this.isConnected && (t(this, B).call(this), e.current && !e.previous && !t(this, c).length ? _(this, Xt, de).call(this) : !e.current && e.previous && t(this, c).length && _(this, zt, Yt).call(this));
260
+ t(this, X).debounce = e.current, t(this, ft).swipe = e.current, t(this, F).interval = e.current, this.isConnected && (e.current && !e.previous && !t(this, c).length ? b(this, te, be).call(this) : !e.current && e.previous && t(this, c).length && b(this, Dt, se).call(this));
261
+ }), t(this, wt).subscribe((e) => {
262
+ this.isConnected && (t(this, B).call(this), e.current && !e.previous && !t(this, c).length ? b(this, te, be).call(this) : !e.current && e.previous && t(this, c).length && b(this, Dt, se).call(this));
259
263
  }), t(this, K).subscribe((e) => {
260
- this.isConnected && (t(this, B).call(this), _(this, Se, Ie).call(this));
264
+ this.isConnected && (t(this, B).call(this), b(this, zt, ee).call(this));
261
265
  }), t(this, T).subscribe((e) => {
262
- e.current ? (this.isConnected && (t(this, c).length || (t(this, Q).current = !0)), t(this, c).length && (t(this, S).max = 1 / 0, t(this, S).min = -1 / 0)) : (w(this, ne, 0), t(this, S).max = t(this, C), t(this, S).min = 0);
263
- }), t(this, At).subscribe((e) => {
266
+ e.current ? (this.isConnected && (t(this, c).length || (t(this, Q).current = !0)), t(this, c).length && (t(this, S).max = 1 / 0, t(this, S).min = -1 / 0)) : (_(this, ce, 0), t(this, S).max = t(this, C), t(this, S).min = 0);
267
+ }), t(this, It).subscribe((e) => {
264
268
  t(this, S).damping = e.current;
265
- }), t(this, Rt).subscribe((e) => {
269
+ }), t(this, Bt).subscribe((e) => {
266
270
  t(this, S).mass = e.current;
267
- }), t(this, Tt).subscribe((e) => {
268
- t(this, S).stiffness = e.current;
269
271
  }), t(this, Ht).subscribe((e) => {
270
- e.current && !e.previous ? _(this, Re, os).call(this) : !e.current && e.previous && _(this, Te, ls).call(this);
271
- }), t(this, Gt).subscribe((e) => {
272
- e.current && !e.previous ? _(this, _e, Ne).call(this) : !e.current && e.previous && _(this, Ce, Ue).call(this);
272
+ t(this, S).stiffness = e.current;
273
+ }), t(this, Nt).subscribe((e) => {
274
+ e.current && !e.previous ? b(this, Be, cs).call(this) : !e.current && e.previous && b(this, He, us).call(this);
275
+ }), t(this, Ut).subscribe((e) => {
276
+ e.current && !e.previous ? b(this, ke, Ke).call(this) : !e.current && e.previous && b(this, Pe, Ze).call(this);
273
277
  }), t(this, nt).subscribe((e) => {
274
278
  t(this, F).speed = e.current, e.current && !e.previous ? t(this, F).connect() : !e.current && e.previous && t(this, F).disconnect();
275
- }), t(this, _t).subscribe((e) => {
279
+ }), t(this, Ct).subscribe((e) => {
276
280
  e.current || (t(this, F).direction = 1);
281
+ }), t(this, at).subscribe((e) => {
282
+ this.isConnected && b(this, zt, ee).call(this);
283
+ }), t(this, Vt).subscribe((e) => {
284
+ this.isConnected && t(this, at).current && b(this, zt, ee).call(this);
277
285
  }), t(this, S).isRunning.subscribe((e) => {
278
286
  this.classList.toggle("active", e.current);
279
287
  }), t(this, k).subscribe((e) => {
280
- t(this, c).length && _(this, Se, Ie).call(this);
288
+ t(this, c).length && b(this, zt, ee).call(this);
281
289
  }));
282
290
  }
283
291
  get damped() {
@@ -296,10 +304,10 @@ let Be = class extends Ws {
296
304
  return t(this, st);
297
305
  }
298
306
  get autoSizeCSSProperty() {
299
- return t(this, bt);
307
+ return t(this, wt);
300
308
  }
301
309
  get wheelMaxDeltaCSSProperty() {
302
- return t(this, wt);
310
+ return t(this, _t);
303
311
  }
304
312
  get sectionsInViewCSSProperty() {
305
313
  return t(this, K);
@@ -308,40 +316,46 @@ let Be = class extends Ws {
308
316
  return t(this, T);
309
317
  }
310
318
  get dampingCSSProperty() {
311
- return t(this, At);
319
+ return t(this, It);
312
320
  }
313
321
  get massCSSProperty() {
314
- return t(this, Rt);
322
+ return t(this, Bt);
315
323
  }
316
324
  get stiffnessCSSProperty() {
317
- return t(this, Tt);
325
+ return t(this, Ht);
318
326
  }
319
327
  get mouseDragCSSProperty() {
320
- return t(this, It);
328
+ return t(this, Gt);
321
329
  }
322
330
  get sectionDistanceScaleCSSProperty() {
323
- return t(this, he);
331
+ return t(this, le);
324
332
  }
325
333
  get autoplayCSSProperty() {
326
334
  return t(this, nt);
327
335
  }
328
336
  get autoplayPauseDurationCSSProperty() {
329
- return t(this, Bt);
337
+ return t(this, qt);
330
338
  }
331
339
  get autoplayUserDirectionCSSProperty() {
332
- return t(this, _t);
340
+ return t(this, Ct);
341
+ }
342
+ get classesCSSProperty() {
343
+ return t(this, at);
344
+ }
345
+ get currentIndexOffsetCSSProperty() {
346
+ return t(this, Vt);
333
347
  }
334
348
  get disabledCSSProperty() {
335
- return t(this, Ht);
349
+ return t(this, Nt);
336
350
  }
337
351
  get hibernatedCSSProperty() {
338
- return t(this, Gt);
352
+ return t(this, Ut);
339
353
  }
340
354
  get currentScrollValue() {
341
- return _(this, ke, Ze).call(this, "current");
355
+ return b(this, Me, Qe).call(this, "current");
342
356
  }
343
357
  get targetScrollValue() {
344
- return _(this, ke, Ze).call(this, "target");
358
+ return b(this, Me, Qe).call(this, "target");
345
359
  }
346
360
  get contentElement() {
347
361
  return t(this, g);
@@ -350,10 +364,10 @@ let Be = class extends Ws {
350
364
  return t(this, c);
351
365
  }
352
366
  get position() {
353
- return t(this, be);
367
+ return t(this, Ce);
354
368
  }
355
369
  get contentPosition() {
356
- return t(this, we);
370
+ return t(this, ye);
357
371
  }
358
372
  get viewportSize() {
359
373
  return t(this, M);
@@ -371,13 +385,13 @@ let Be = class extends Ws {
371
385
  return t(this, c).length - t(this, K).current;
372
386
  }
373
387
  get distance() {
374
- return t(this, Ct);
388
+ return t(this, yt);
375
389
  }
376
390
  get infiniteDistance() {
377
- return t(this, T).current ? t(this, Ct) + t(this, I) : t(this, Ct);
391
+ return t(this, T).current ? t(this, yt) + t(this, I) : t(this, yt);
378
392
  }
379
393
  get overscroll() {
380
- return t(this, ne);
394
+ return t(this, ce);
381
395
  }
382
396
  get vertical() {
383
397
  return t(this, A).current === "y";
@@ -416,12 +430,12 @@ let Be = class extends Ws {
416
430
  if (!t(this, c).length)
417
431
  return;
418
432
  const r = t(this, k).current;
419
- _(this, Ke, Es).call(this, e);
433
+ b(this, Je, Ls).call(this, e);
420
434
  const h = t(this, c)[r], n = t(this, c)[t(this, k).current];
421
435
  if (h && n) {
422
436
  let p = 0;
423
- const d = _(this, Je, xs).call(this), Bs = d ? this.targetScrollValue - d.position : 0;
424
- t(this, T).current ? t(this, k).current === 0 && r === t(this, c).length - 1 ? p = t(this, C) + t(this, M) - h.position + t(this, I) : t(this, k).current === t(this, c).length - 1 && r === 0 ? p = n.position - (t(this, C) + t(this, M) + t(this, I)) : p = n.position - h.position : p = n.position - h.position, t(this, S).shift(p - Bs, {
437
+ const d = b(this, Xe, Vs).call(this), Gs = d ? this.targetScrollValue - d.position : 0;
438
+ t(this, T).current ? t(this, k).current === 0 && r === t(this, c).length - 1 ? p = t(this, C) + t(this, M) - h.position + t(this, I) : t(this, k).current === t(this, c).length - 1 && r === 0 ? p = n.position - (t(this, C) + t(this, M) + t(this, I)) : p = n.position - h.position : p = n.position - h.position, t(this, S).shift(p - Gs, {
425
439
  equalize: i === "instant"
426
440
  });
427
441
  }
@@ -435,10 +449,10 @@ let Be = class extends Ws {
435
449
  });
436
450
  }
437
451
  connectedCallback() {
438
- t(this, A).observe(), t(this, et).observe(), t(this, Q).observe(), t(this, st).observe(), t(this, bt).observe(), t(this, wt).observe(), t(this, K).observe(), t(this, T).observe(), t(this, At).observe(), t(this, Rt).observe(), t(this, Tt).observe(), t(this, It).observe(), t(this, he).observe(), t(this, nt).observe(), t(this, nt).observe(), t(this, Bt).observe(), t(this, _t).observe(), t(this, Ht).observe(), t(this, Gt).observe(), _(this, Ce, Ue).call(this);
452
+ t(this, A).observe(), t(this, et).observe(), t(this, Q).observe(), t(this, st).observe(), t(this, wt).observe(), t(this, _t).observe(), t(this, K).observe(), t(this, T).observe(), t(this, It).observe(), t(this, Bt).observe(), t(this, Ht).observe(), t(this, Gt).observe(), t(this, le).observe(), t(this, nt).observe(), t(this, nt).observe(), t(this, qt).observe(), t(this, Ct).observe(), t(this, at).observe(), t(this, Vt).observe(), t(this, Nt).observe(), t(this, Ut).observe(), b(this, Pe, Ze).call(this);
439
453
  }
440
454
  disconnectedCallback() {
441
- t(this, A).unobserve(), t(this, et).unobserve(), t(this, Q).unobserve(), t(this, st).unobserve(), t(this, bt).unobserve(), t(this, wt).unobserve(), t(this, K).unobserve(), t(this, T).unobserve(), t(this, At).unobserve(), t(this, Rt).unobserve(), t(this, Tt).unobserve(), t(this, It).unobserve(), t(this, he).unobserve(), t(this, nt).unobserve(), t(this, Bt).unobserve(), t(this, _t).unobserve(), t(this, Ht).unobserve(), t(this, Gt).unobserve(), _(this, _e, Ne).call(this);
455
+ t(this, A).unobserve(), t(this, et).unobserve(), t(this, Q).unobserve(), t(this, st).unobserve(), t(this, wt).unobserve(), t(this, _t).unobserve(), t(this, K).unobserve(), t(this, T).unobserve(), t(this, It).unobserve(), t(this, Bt).unobserve(), t(this, Ht).unobserve(), t(this, Gt).unobserve(), t(this, le).unobserve(), t(this, nt).unobserve(), t(this, qt).unobserve(), t(this, Ct).unobserve(), t(this, at).unobserve(), t(this, Vt).unobserve(), t(this, Nt).unobserve(), t(this, Ut).unobserve(), b(this, ke, Ke).call(this);
442
456
  }
443
457
  };
444
458
  S = /* @__PURE__ */ new WeakMap();
@@ -446,101 +460,103 @@ A = /* @__PURE__ */ new WeakMap();
446
460
  et = /* @__PURE__ */ new WeakMap();
447
461
  Q = /* @__PURE__ */ new WeakMap();
448
462
  st = /* @__PURE__ */ new WeakMap();
449
- bt = /* @__PURE__ */ new WeakMap();
450
463
  wt = /* @__PURE__ */ new WeakMap();
464
+ _t = /* @__PURE__ */ new WeakMap();
451
465
  K = /* @__PURE__ */ new WeakMap();
452
466
  T = /* @__PURE__ */ new WeakMap();
453
- At = /* @__PURE__ */ new WeakMap();
454
- Rt = /* @__PURE__ */ new WeakMap();
455
- Tt = /* @__PURE__ */ new WeakMap();
456
467
  It = /* @__PURE__ */ new WeakMap();
457
- he = /* @__PURE__ */ new WeakMap();
458
- nt = /* @__PURE__ */ new WeakMap();
459
468
  Bt = /* @__PURE__ */ new WeakMap();
460
- _t = /* @__PURE__ */ new WeakMap();
461
469
  Ht = /* @__PURE__ */ new WeakMap();
462
470
  Gt = /* @__PURE__ */ new WeakMap();
471
+ le = /* @__PURE__ */ new WeakMap();
472
+ nt = /* @__PURE__ */ new WeakMap();
473
+ qt = /* @__PURE__ */ new WeakMap();
474
+ Ct = /* @__PURE__ */ new WeakMap();
475
+ at = /* @__PURE__ */ new WeakMap();
476
+ Vt = /* @__PURE__ */ new WeakMap();
477
+ Nt = /* @__PURE__ */ new WeakMap();
478
+ Ut = /* @__PURE__ */ new WeakMap();
463
479
  g = /* @__PURE__ */ new WeakMap();
464
- Ae = /* @__PURE__ */ new WeakMap();
480
+ Ie = /* @__PURE__ */ new WeakMap();
465
481
  c = /* @__PURE__ */ new WeakMap();
466
- be = /* @__PURE__ */ new WeakMap();
467
- we = /* @__PURE__ */ new WeakMap();
482
+ Ce = /* @__PURE__ */ new WeakMap();
483
+ ye = /* @__PURE__ */ new WeakMap();
468
484
  M = /* @__PURE__ */ new WeakMap();
469
485
  C = /* @__PURE__ */ new WeakMap();
470
486
  I = /* @__PURE__ */ new WeakMap();
471
487
  X = /* @__PURE__ */ new WeakMap();
472
- Vt = /* @__PURE__ */ new WeakMap();
473
- pt = /* @__PURE__ */ new WeakMap();
488
+ Ft = /* @__PURE__ */ new WeakMap();
489
+ ft = /* @__PURE__ */ new WeakMap();
474
490
  F = /* @__PURE__ */ new WeakMap();
475
491
  k = /* @__PURE__ */ new WeakMap();
492
+ ce = /* @__PURE__ */ new WeakMap();
493
+ yt = /* @__PURE__ */ new WeakMap();
476
494
  ne = /* @__PURE__ */ new WeakMap();
477
- Ct = /* @__PURE__ */ new WeakMap();
478
- se = /* @__PURE__ */ new WeakMap();
479
- ie = /* @__PURE__ */ new WeakMap();
480
- Xt = /* @__PURE__ */ new WeakSet();
481
- de = function() {
482
- _(this, zt, Yt).call(this), t(this, Ae).assignedElements().forEach((e) => {
483
- e instanceof HTMLElement && t(this, c).push(new ei(e, this));
495
+ ae = /* @__PURE__ */ new WeakMap();
496
+ te = /* @__PURE__ */ new WeakSet();
497
+ be = function() {
498
+ b(this, Dt, se).call(this), t(this, Ie).assignedElements().forEach((e) => {
499
+ e instanceof HTMLElement && t(this, c).push(new ii(e, this));
484
500
  }), t(this, g).style.transform = "", this.dispatchEvent(
485
501
  new CustomEvent("sectionsChange", {
486
502
  composed: !0
487
503
  })
488
- ), t(this, B).call(this), _(this, Se, Ie).call(this);
504
+ ), t(this, B).call(this), b(this, zt, ee).call(this);
489
505
  };
490
- zt = /* @__PURE__ */ new WeakSet();
491
- Yt = function() {
506
+ Dt = /* @__PURE__ */ new WeakSet();
507
+ se = function() {
492
508
  t(this, c).forEach((e) => {
493
509
  e.destroy();
494
- }), w(this, c, []), t(this, k).current = 0, t(this, S).reset(), this.dispatchEvent(
510
+ }), _(this, c, []), t(this, k).current = 0, t(this, S).reset(), this.dispatchEvent(
495
511
  new CustomEvent("sectionsChange", {
496
512
  composed: !0
497
513
  })
498
514
  );
499
515
  };
500
- Re = /* @__PURE__ */ new WeakSet();
501
- os = function() {
502
- t(this, se) || (w(this, se, !0), t(this, S).unsubscribe(t(this, He)), t(this, S).unlistenAnimationFrame(), t(this, X).disconnect(), t(this, Vt).disconnect(), t(this, pt).disconnect(), t(this, F).disconnect());
516
+ Be = /* @__PURE__ */ new WeakSet();
517
+ cs = function() {
518
+ t(this, ne) || (_(this, ne, !0), t(this, S).unsubscribe(t(this, qe)), t(this, S).unlistenAnimationFrame(), t(this, X).disconnect(), t(this, Ft).disconnect(), t(this, ft).disconnect(), t(this, F).disconnect());
503
519
  };
504
- Te = /* @__PURE__ */ new WeakSet();
505
- ls = function() {
506
- t(this, se) && (w(this, se, !1), t(this, S).subscribe(t(this, He)), t(this, X).connect(), t(this, Vt).connect(), t(this, pt).connect(), t(this, nt).current && t(this, F).connect());
520
+ He = /* @__PURE__ */ new WeakSet();
521
+ us = function() {
522
+ t(this, ne) && (_(this, ne, !1), t(this, S).subscribe(t(this, qe)), t(this, X).connect(), t(this, Ft).connect(), t(this, ft).connect(), t(this, nt).current && t(this, F).connect());
507
523
  };
508
- _e = /* @__PURE__ */ new WeakSet();
509
- Ne = function() {
510
- t(this, ie) || (w(this, ie, !0), ee.unsubscribe(t(this, B)), Oe.unsubscribe(t(this, B)), t(this, S).reset(), _(this, Re, os).call(this), t(this, g).style.transform = "", t(this, Q).current && _(this, zt, Yt).call(this), Dt.unregister(this));
524
+ ke = /* @__PURE__ */ new WeakSet();
525
+ Ke = function() {
526
+ t(this, ae) || (_(this, ae, !0), he.unsubscribe(t(this, B)), Te.unsubscribe(t(this, B)), t(this, S).reset(), b(this, Be, cs).call(this), t(this, g).style.transform = "", t(this, Q).current && b(this, Dt, se).call(this), Rt.unregister(this));
511
527
  };
512
- Ce = /* @__PURE__ */ new WeakSet();
513
- Ue = function() {
514
- t(this, ie) && (w(this, ie, !1), t(this, Q).current && _(this, Xt, de).call(this), Dt.register(this), ee.subscribe(t(this, B), rs.SCROLL), Oe.subscribe(this, t(this, B)), _(this, Te, ls).call(this));
528
+ Pe = /* @__PURE__ */ new WeakSet();
529
+ Ze = function() {
530
+ t(this, ae) && (_(this, ae, !1), t(this, Q).current && b(this, te, be).call(this), Rt.register(this), he.subscribe(t(this, B), ns.SCROLL), Te.subscribe(this, t(this, B)), b(this, He, us).call(this));
515
531
  };
516
532
  B = /* @__PURE__ */ new WeakMap();
517
- He = /* @__PURE__ */ new WeakMap();
518
- Ke = /* @__PURE__ */ new WeakSet();
519
- Es = function(e) {
520
- t(this, T).current ? (t(this, k).current = e % t(this, c).length, t(this, k).current = t(this, k).current < 0 ? t(this, c).length + t(this, k).current : t(this, k).current) : t(this, k).current = ys(e, 0, this.limit);
533
+ qe = /* @__PURE__ */ new WeakMap();
534
+ Je = /* @__PURE__ */ new WeakSet();
535
+ Ls = function(e) {
536
+ t(this, T).current ? (t(this, k).current = e % t(this, c).length, t(this, k).current = t(this, k).current < 0 ? t(this, c).length + t(this, k).current : t(this, k).current) : t(this, k).current = Ps(e, 0, this.limit);
521
537
  };
522
- ae = /* @__PURE__ */ new WeakMap();
523
- ye = /* @__PURE__ */ new WeakMap();
524
- ke = /* @__PURE__ */ new WeakSet();
525
- Ze = function(e = "current") {
538
+ ue = /* @__PURE__ */ new WeakMap();
539
+ We = /* @__PURE__ */ new WeakMap();
540
+ Me = /* @__PURE__ */ new WeakSet();
541
+ Qe = function(e = "current") {
526
542
  if (t(this, T).current && t(this, c).length) {
527
543
  const i = t(this, S)[e] % (t(this, C) + t(this, M) + t(this, I));
528
544
  return i < 0 ? t(this, C) + i + t(this, M) + t(this, I) : i;
529
545
  } else
530
546
  return t(this, S)[e];
531
547
  };
532
- Se = /* @__PURE__ */ new WeakSet();
533
- Ie = function() {
534
- if (t(this, c).length) {
535
- const e = t(this, k).current;
548
+ zt = /* @__PURE__ */ new WeakSet();
549
+ ee = function() {
550
+ if (t(this, at).current && t(this, c).length) {
551
+ const e = t(this, k).current + t(this, Vt).current;
536
552
  e === 0 ? this.classList.add("start") : this.classList.remove("start"), e === this.limit ? this.classList.add("end") : this.classList.remove("end"), t(this, c).forEach((i, r) => {
537
553
  const h = e - this.limit - 1, n = e + t(this, K).current, p = this.sections.length - n;
538
554
  r >= e && r < n || r <= h ? i.mark("current") : r >= n && r < n + p / 2 || r <= h + t(this, K).current ? i.mark("next") : i.mark("previous");
539
555
  });
540
556
  }
541
557
  };
542
- Je = /* @__PURE__ */ new WeakSet();
543
- xs = function() {
558
+ Xe = /* @__PURE__ */ new WeakSet();
559
+ Vs = function() {
544
560
  let e = null, i = 1 / 0;
545
561
  for (let r = 0; r < t(this, c).length; r++) {
546
562
  const h = Math.abs(t(this, c)[r].position - this.targetScrollValue);
@@ -548,41 +564,41 @@ xs = function() {
548
564
  }
549
565
  return e !== null ? t(this, c)[e] : null;
550
566
  };
551
- Be = ti([
552
- re("e-scroll")
553
- ], Be);
554
- var ve;
555
- class Ge extends Ws {
567
+ Ge = si([
568
+ oe("e-scroll")
569
+ ], Ge);
570
+ var ge;
571
+ class Ne extends Es {
556
572
  constructor() {
557
573
  super(...arguments);
558
- z(this, ve, null);
574
+ z(this, ge, null);
559
575
  }
560
576
  get scrollElement() {
561
- return a(this, ve);
577
+ return a(this, ge);
562
578
  }
563
579
  connectedCallback() {
564
- const r = Xs(this, Be);
565
- r instanceof Be ? O(this, ve, r) : console.error(this, "e-scroll not found");
580
+ const r = js(this, Ge);
581
+ r instanceof Ge ? O(this, ge, r) : console.error(this, "e-scroll not found");
566
582
  }
567
583
  }
568
- ve = new WeakMap();
569
- var ii = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, hi = (e, i, r, h) => {
570
- for (var n = h > 1 ? void 0 : h ? ri(i, r) : i, p = e.length - 1, d; p >= 0; p--)
584
+ ge = new WeakMap();
585
+ var hi = Object.defineProperty, ni = Object.getOwnPropertyDescriptor, ai = (e, i, r, h) => {
586
+ for (var n = h > 1 ? void 0 : h ? ni(i, r) : i, p = e.length - 1, d; p >= 0; p--)
571
587
  (d = e[p]) && (n = (h ? d(i, r, n) : d(n)) || n);
572
- return h && n && ii(i, r, n), n;
573
- }, Ls = (e, i, r) => {
588
+ return h && n && hi(i, r, n), n;
589
+ }, zs = (e, i, r) => {
574
590
  if (!i.has(e))
575
591
  throw TypeError("Cannot " + r);
576
- }, f = (e, i, r) => (Ls(e, i, "read from private field"), r ? r.call(e) : i.get(e)), N = (e, i, r) => {
592
+ }, f = (e, i, r) => (zs(e, i, "read from private field"), r ? r.call(e) : i.get(e)), N = (e, i, r) => {
577
593
  if (i.has(e))
578
594
  throw TypeError("Cannot add the same private member more than once");
579
595
  i instanceof WeakSet ? i.add(e) : i.set(e, r);
580
- }, mt = (e, i, r, h) => (Ls(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r), oe, R, it, rt, le, ce, qt, Pe, We, Me;
581
- const ni = ns({
596
+ }, bt = (e, i, r, h) => (zs(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r), pe, R, it, rt, fe, de, Kt, Ee, xe, Le;
597
+ const oi = os({
582
598
  ":host": {
583
599
  display: "inline-block",
584
600
  zIndex: "1",
585
- backgroundColor: Ss.colorLight.var
601
+ backgroundColor: ms.colorLight.var
586
602
  },
587
603
  ':host([axis="y"])': {
588
604
  position: "absolute",
@@ -599,7 +615,7 @@ const ni = ns({
599
615
  height: "1vmin"
600
616
  },
601
617
  ".default-thumb": {
602
- backgroundColor: Ss.colorDark.var,
618
+ backgroundColor: ms.colorDark.var,
603
619
  borderRadius: "1vmin",
604
620
  touchAction: "none"
605
621
  },
@@ -607,20 +623,20 @@ const ni = ns({
607
623
  touchAction: "none"
608
624
  }
609
625
  });
610
- let vs = class extends Ge {
626
+ let bs = class extends Ne {
611
627
  constructor() {
612
- super(), N(this, oe, null), N(this, R, null), N(this, it, !1), N(this, rt, 0), N(this, le, 0), N(this, ce, 0), N(this, qt, () => {
613
- mt(this, it, this.offsetWidth > this.offsetHeight);
628
+ super(), N(this, pe, null), N(this, R, null), N(this, it, !1), N(this, rt, 0), N(this, fe, 0), N(this, de, 0), N(this, Kt, () => {
629
+ bt(this, it, this.offsetWidth > this.offsetHeight);
614
630
  const e = f(this, it) ? this.offsetWidth : this.offsetHeight;
615
- mt(this, rt, e / ((this.scrollElement.scrollSize + this.scrollElement.viewportSize) / e)), mt(this, rt, Math.max(f(this, rt), 30)), f(this, it) ? (f(this, R).style.width = f(this, rt) + "px", f(this, R).style.height = "100%") : (f(this, R).style.width = "100%", f(this, R).style.height = f(this, rt) + "px"), mt(this, le, e - f(this, rt)), this.scrollElement.scrollSize || (this.style.display = "none");
616
- }), N(this, Pe, () => {
617
- mt(this, ce, this.scrollElement.currentProgress * f(this, le)), f(this, it) ? f(this, R).style.transform = `translate3d(${f(this, ce)}px, 0px, 0px)` : f(this, R).style.transform = `translate3d(0px, ${f(this, ce)}px, 0px)`;
618
- }), N(this, We, () => {
631
+ bt(this, rt, e / ((this.scrollElement.scrollSize + this.scrollElement.viewportSize) / e)), bt(this, rt, Math.max(f(this, rt), 30)), f(this, it) ? (f(this, R).style.width = f(this, rt) + "px", f(this, R).style.height = "100%") : (f(this, R).style.width = "100%", f(this, R).style.height = f(this, rt) + "px"), bt(this, fe, e - f(this, rt)), this.scrollElement.scrollSize || (this.style.display = "none");
632
+ }), N(this, Ee, () => {
633
+ bt(this, de, this.scrollElement.currentProgress * f(this, fe)), f(this, it) ? f(this, R).style.transform = `translate3d(${f(this, de)}px, 0px, 0px)` : f(this, R).style.transform = `translate3d(0px, ${f(this, de)}px, 0px)`;
634
+ }), N(this, xe, () => {
619
635
  this.setAttribute("axis", this.scrollElement.axisCSSProperty.current);
620
- }), N(this, Me, (e) => {
621
- document.documentElement.classList.add("grabbing"), Qs(
636
+ }), N(this, Le, (e) => {
637
+ document.documentElement.classList.add("grabbing"), Ys(
622
638
  (h) => {
623
- const n = f(this, it) ? h.x : h.y, p = this.scrollElement.distance / f(this, le), d = (n - r) * p;
639
+ const n = f(this, it) ? h.x : h.y, p = this.scrollElement.distance / f(this, fe), d = (n - r) * p;
624
640
  this.scrollElement.setPosition(i + d);
625
641
  },
626
642
  () => {
@@ -628,13 +644,13 @@ let vs = class extends Ge {
628
644
  }
629
645
  );
630
646
  const i = this.scrollElement.targetScrollValue, r = f(this, it) ? e.x : e.y;
631
- }), is && (this.openShadow(ni), hs(this, {
647
+ }), hs && (this.openShadow(oi), as(this, {
632
648
  slot: "static",
633
649
  "drag-dead-zone": "",
634
650
  children: [
635
- De({
636
- ref: (e) => mt(this, oe, e),
637
- children: qe({ class: "default-thumb" })
651
+ Re({
652
+ ref: (e) => bt(this, pe, e),
653
+ children: Ue({ class: "default-thumb" })
638
654
  })
639
655
  ]
640
656
  }));
@@ -644,203 +660,203 @@ let vs = class extends Ge {
644
660
  }
645
661
  connectedCallback() {
646
662
  super.connectedCallback();
647
- const e = f(this, oe).assignedElements()[0] || f(this, oe).firstElementChild;
648
- mt(this, R, e), f(this, R).addEventListener("pointerdown", f(this, Me)), ee.subscribe(f(this, qt), rs.SCROLL + 1), Oe.subscribe(this, f(this, qt)), this.scrollElement.onScroll(f(this, Pe)), this.scrollElement.axisCSSProperty.subscribe(f(this, We));
663
+ const e = f(this, pe).assignedElements()[0] || f(this, pe).firstElementChild;
664
+ bt(this, R, e), f(this, R).addEventListener("pointerdown", f(this, Le)), he.subscribe(f(this, Kt), ns.SCROLL + 1), Te.subscribe(this, f(this, Kt)), this.scrollElement.onScroll(f(this, Ee)), this.scrollElement.axisCSSProperty.subscribe(f(this, xe));
649
665
  }
650
666
  disconnectedCallback() {
651
- f(this, R).removeEventListener("pointerdown", f(this, Me)), ee.unsubscribe(f(this, qt)), Oe.unsubscribe(f(this, qt)), this.scrollElement.offScroll(f(this, Pe)), this.scrollElement.axisCSSProperty.unsubscribe(f(this, We));
667
+ f(this, R).removeEventListener("pointerdown", f(this, Le)), he.unsubscribe(f(this, Kt)), Te.unsubscribe(f(this, Kt)), this.scrollElement.offScroll(f(this, Ee)), this.scrollElement.axisCSSProperty.unsubscribe(f(this, xe));
652
668
  }
653
669
  };
654
- oe = /* @__PURE__ */ new WeakMap();
670
+ pe = /* @__PURE__ */ new WeakMap();
655
671
  R = /* @__PURE__ */ new WeakMap();
656
672
  it = /* @__PURE__ */ new WeakMap();
657
673
  rt = /* @__PURE__ */ new WeakMap();
658
- le = /* @__PURE__ */ new WeakMap();
659
- ce = /* @__PURE__ */ new WeakMap();
660
- qt = /* @__PURE__ */ new WeakMap();
661
- Pe = /* @__PURE__ */ new WeakMap();
662
- We = /* @__PURE__ */ new WeakMap();
663
- Me = /* @__PURE__ */ new WeakMap();
664
- vs = hi([
665
- re("e-scrollbar")
666
- ], vs);
667
- const ai = ns({
674
+ fe = /* @__PURE__ */ new WeakMap();
675
+ de = /* @__PURE__ */ new WeakMap();
676
+ Kt = /* @__PURE__ */ new WeakMap();
677
+ Ee = /* @__PURE__ */ new WeakMap();
678
+ xe = /* @__PURE__ */ new WeakMap();
679
+ Le = /* @__PURE__ */ new WeakMap();
680
+ bs = ai([
681
+ oe("e-scrollbar")
682
+ ], bs);
683
+ const li = os({
668
684
  button: {
669
685
  all: "inherit"
670
686
  }
671
687
  });
672
- class Vs extends Ge {
688
+ class $s extends Ne {
673
689
  constructor() {
674
- super(), this.openShadow(ai), is && hs(this, {
690
+ super(), this.openShadow(li), hs && as(this, {
675
691
  children: [
676
- Zs({
692
+ Qs({
677
693
  onClick: () => {
678
694
  this.handleClick();
679
695
  },
680
- children: [De()]
696
+ children: [Re()]
681
697
  })
682
698
  ]
683
699
  });
684
700
  }
685
701
  }
686
- var oi = Object.defineProperty, li = Object.getOwnPropertyDescriptor, ci = (e, i, r, h) => {
687
- for (var n = h > 1 ? void 0 : h ? li(i, r) : i, p = e.length - 1, d; p >= 0; p--)
702
+ var ci = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, pi = (e, i, r, h) => {
703
+ for (var n = h > 1 ? void 0 : h ? ui(i, r) : i, p = e.length - 1, d; p >= 0; p--)
688
704
  (d = e[p]) && (n = (h ? d(i, r, n) : d(n)) || n);
689
- return h && n && oi(i, r, n), n;
705
+ return h && n && ci(i, r, n), n;
690
706
  };
691
- let ms = class extends Vs {
707
+ let gs = class extends $s {
692
708
  handleClick() {
693
709
  const e = this.getAttribute("index"), i = this.getAttribute("behaviour");
694
710
  this.scrollElement.scrollToSection(parseInt(e || "0"), i);
695
711
  }
696
712
  };
697
- ms = ci([
698
- re("e-scroll-set-button")
699
- ], ms);
700
- var ui = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, fi = (e, i, r, h) => {
701
- for (var n = h > 1 ? void 0 : h ? pi(i, r) : i, p = e.length - 1, d; p >= 0; p--)
713
+ gs = pi([
714
+ oe("e-scroll-set-button")
715
+ ], gs);
716
+ var fi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, Si = (e, i, r, h) => {
717
+ for (var n = h > 1 ? void 0 : h ? di(i, r) : i, p = e.length - 1, d; p >= 0; p--)
702
718
  (d = e[p]) && (n = (h ? d(i, r, n) : d(n)) || n);
703
- return h && n && ui(i, r, n), n;
719
+ return h && n && fi(i, r, n), n;
704
720
  };
705
- let gs = class extends Vs {
721
+ let ws = class extends $s {
706
722
  handleClick() {
707
723
  const e = this.getAttribute("step"), i = this.getAttribute("behaviour");
708
724
  this.scrollElement.shiftSections(parseInt(e || "1"), i);
709
725
  }
710
726
  };
711
- gs = fi([
712
- re("e-scroll-step-button")
713
- ], gs);
714
- var di = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, vi = (e, i, r, h) => {
715
- for (var n = h > 1 ? void 0 : h ? Si(i, r) : i, p = e.length - 1, d; p >= 0; p--)
727
+ ws = Si([
728
+ oe("e-scroll-step-button")
729
+ ], ws);
730
+ var vi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, bi = (e, i, r, h) => {
731
+ for (var n = h > 1 ? void 0 : h ? mi(i, r) : i, p = e.length - 1, d; p >= 0; p--)
716
732
  (d = e[p]) && (n = (h ? d(i, r, n) : d(n)) || n);
717
- return h && n && di(i, r, n), n;
718
- }, zs = (e, i, r) => {
733
+ return h && n && vi(i, r, n), n;
734
+ }, Fs = (e, i, r) => {
719
735
  if (!i.has(e))
720
736
  throw TypeError("Cannot " + r);
721
- }, Ot = (e, i, r) => (zs(e, i, "read from private field"), r ? r.call(e) : i.get(e)), bs = (e, i, r) => {
737
+ }, Tt = (e, i, r) => (Fs(e, i, "read from private field"), r ? r.call(e) : i.get(e)), _s = (e, i, r) => {
722
738
  if (i.has(e))
723
739
  throw TypeError("Cannot add the same private member more than once");
724
740
  i instanceof WeakSet ? i.add(e) : i.set(e, r);
725
- }, ws = (e, i, r, h) => (zs(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r), yt, ue, tt, vt, jt, me, ge, te;
726
- class mi {
741
+ }, Cs = (e, i, r, h) => (Fs(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r), kt, Se, tt, mt, ie, we, _e, re;
742
+ class gi {
727
743
  constructor(i, r, h) {
728
744
  z(this, tt, void 0);
729
- z(this, vt, void 0);
730
- z(this, jt, void 0);
731
- z(this, me, void 0);
732
- z(this, ge, () => {
733
- a(this, vt).scrollToSection(a(this, jt), a(this, me));
745
+ z(this, mt, void 0);
746
+ z(this, ie, void 0);
747
+ z(this, we, void 0);
748
+ z(this, _e, () => {
749
+ a(this, mt).scrollToSection(a(this, ie), a(this, we));
734
750
  });
735
- z(this, te, () => {
751
+ z(this, re, () => {
736
752
  a(this, tt).classList.toggle(
737
753
  "current",
738
- a(this, vt).counter.current === a(this, jt)
754
+ a(this, mt).counter.current === a(this, ie)
739
755
  );
740
756
  });
741
- O(this, tt, document.createElement("button")), O(this, vt, i), O(this, me, h), O(this, jt, r), a(this, tt).addEventListener("click", a(this, ge)), a(this, vt).counter.subscribe(a(this, te)), a(this, te).call(this);
757
+ O(this, tt, document.createElement("button")), O(this, mt, i), O(this, we, h), O(this, ie, r), a(this, tt).addEventListener("click", a(this, _e)), a(this, mt).counter.subscribe(a(this, re)), a(this, re).call(this);
742
758
  }
743
759
  get element() {
744
760
  return a(this, tt);
745
761
  }
746
762
  destroy() {
747
- a(this, tt).removeEventListener("click", a(this, ge)), a(this, vt).counter.unsubscribe(a(this, te)), a(this, tt).remove();
763
+ a(this, tt).removeEventListener("click", a(this, _e)), a(this, mt).counter.unsubscribe(a(this, re)), a(this, tt).remove();
748
764
  }
749
765
  }
750
- tt = new WeakMap(), vt = new WeakMap(), jt = new WeakMap(), me = new WeakMap(), ge = new WeakMap(), te = new WeakMap();
751
- let _s = class extends Ge {
766
+ tt = new WeakMap(), mt = new WeakMap(), ie = new WeakMap(), we = new WeakMap(), _e = new WeakMap(), re = new WeakMap();
767
+ let ys = class extends Ne {
752
768
  constructor() {
753
- super(...arguments), bs(this, yt, []), bs(this, ue, Ms(() => {
754
- Ot(this, yt).forEach((e) => e.destroy()), ws(this, yt, []);
769
+ super(...arguments), _s(this, kt, []), _s(this, Se, xs(() => {
770
+ Tt(this, kt).forEach((e) => e.destroy()), Cs(this, kt, []);
755
771
  for (let e = 0; e < this.scrollElement.sections.length; e++) {
756
- const i = new mi(
772
+ const i = new gi(
757
773
  this.scrollElement,
758
774
  e,
759
775
  this.getAttribute("behaviour") || "smooth"
760
776
  );
761
- this.appendChild(i.element), Ot(this, yt).push(i);
777
+ this.appendChild(i.element), Tt(this, kt).push(i);
762
778
  }
763
779
  }, 0));
764
780
  }
765
781
  connectedCallback() {
766
782
  super.connectedCallback(), this.scrollElement.addEventListener(
767
783
  "sectionsChange",
768
- Ot(this, ue)
769
- ), Ot(this, ue).call(this);
784
+ Tt(this, Se)
785
+ ), Tt(this, Se).call(this);
770
786
  }
771
787
  disconnectedCallback() {
772
788
  this.scrollElement.removeEventListener(
773
789
  "sectionsChange",
774
- Ot(this, ue)
775
- ), Ot(this, yt).forEach((e) => e.destroy()), ws(this, yt, []);
790
+ Tt(this, Se)
791
+ ), Tt(this, kt).forEach((e) => e.destroy()), Cs(this, kt, []);
776
792
  }
777
793
  };
778
- yt = /* @__PURE__ */ new WeakMap();
779
- ue = /* @__PURE__ */ new WeakMap();
780
- _s = vi([
781
- re("e-scroll-bullet-buttons")
782
- ], _s);
783
- var gi = Object.defineProperty, bi = Object.getOwnPropertyDescriptor, wi = (e, i, r, h) => {
784
- for (var n = h > 1 ? void 0 : h ? bi(i, r) : i, p = e.length - 1, d; p >= 0; p--)
794
+ kt = /* @__PURE__ */ new WeakMap();
795
+ Se = /* @__PURE__ */ new WeakMap();
796
+ ys = bi([
797
+ oe("e-scroll-bullet-buttons")
798
+ ], ys);
799
+ var wi = Object.defineProperty, _i = Object.getOwnPropertyDescriptor, Ci = (e, i, r, h) => {
800
+ for (var n = h > 1 ? void 0 : h ? _i(i, r) : i, p = e.length - 1, d; p >= 0; p--)
785
801
  (d = e[p]) && (n = (h ? d(i, r, n) : d(n)) || n);
786
- return h && n && gi(i, r, n), n;
787
- }, cs = (e, i, r) => {
802
+ return h && n && wi(i, r, n), n;
803
+ }, ps = (e, i, r) => {
788
804
  if (!i.has(e))
789
805
  throw TypeError("Cannot " + r);
790
- }, s = (e, i, r) => (cs(e, i, "read from private field"), r ? r.call(e) : i.get(e)), o = (e, i, r) => {
806
+ }, s = (e, i, r) => (ps(e, i, "read from private field"), r ? r.call(e) : i.get(e)), l = (e, i, r) => {
791
807
  if (i.has(e))
792
808
  throw TypeError("Cannot add the same private member more than once");
793
809
  i instanceof WeakSet ? i.add(e) : i.set(e, r);
794
- }, m = (e, i, r, h) => (cs(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r), W = (e, i, r) => (cs(e, i, "access private method"), r), Nt, Ut, Kt, Zt, kt, Pt, Wt, Mt, D, H, G, q, Lt, x, at, ot, lt, ct, ut, E, J, Z, ft, dt, Y, Ee, v, Jt, Qt, xe, L, Et, $, V, U, pe, $t, P, Qe, $s, Xe, Fs, Ye, Ds, je, Os, ts, As, es, Rs, Le, fe, ht, xt, us, Ts, ps, Is, Ve, ss, ze;
795
- let Cs = class extends Ge {
810
+ }, m = (e, i, r, h) => (ps(e, i, "write to private field"), h ? h.call(e, r) : i.set(e, r), r), W = (e, i, r) => (ps(e, i, "access private method"), r), Zt, Jt, Qt, Xt, Pt, Wt, Mt, Et, D, H, G, q, $t, x, ot, lt, ct, ut, pt, E, J, Z, dt, St, Y, Ve, v, Yt, jt, ze, L, xt, $, V, U, ve, Ot, P, Ye, Ds, je, Os, ts, As, es, Rs, ss, Ts, is, Is, $e, me, ht, Lt, fs, Bs, ds, Hs, Fe, rs, De;
811
+ let ks = class extends Ne {
796
812
  constructor() {
797
- super(), o(this, Qe), o(this, Xe), o(this, Ye), o(this, je), o(this, ts), o(this, es), o(this, ht), o(this, us), o(this, ps), o(this, Ve), o(this, Nt, new u(this, "--damping", 20)), o(this, Ut, new u(this, "--mass", 0)), o(this, Kt, new u(this, "--stiffness", 0)), o(this, Zt, new u(this, "--target", "")), o(this, kt, new u(this, "--disabled", !1)), o(this, Pt, new u(
813
+ super(), l(this, Ye), l(this, je), l(this, ts), l(this, es), l(this, ss), l(this, is), l(this, ht), l(this, fs), l(this, ds), l(this, Fe), l(this, Zt, new u(this, "--damping", 20)), l(this, Jt, new u(this, "--mass", 0)), l(this, Qt, new u(this, "--stiffness", 0)), l(this, Xt, new u(this, "--target", "")), l(this, Pt, new u(this, "--disabled", !1)), l(this, Wt, new u(
798
814
  this,
799
815
  "--distance-offset",
800
816
  0,
801
817
  { rawValueCheck: !1 }
802
- )), o(this, Wt, new u(this, "--start-offset", 0, {
818
+ )), l(this, Mt, new u(this, "--start-offset", 0, {
803
819
  rawValueCheck: !1
804
- })), o(this, Mt, new u(
820
+ })), l(this, Et, new u(
805
821
  this,
806
822
  "--capture-once",
807
823
  !1
808
- )), o(this, D, new u(this, "--captured", "")), o(this, H, new u(this, "--released", "")), o(this, G, new u(
824
+ )), l(this, D, new u(this, "--captured", "")), l(this, H, new u(this, "--released", "")), l(this, G, new u(
809
825
  this,
810
826
  "--captured-from-start",
811
827
  ""
812
- )), o(this, q, new u(
828
+ )), l(this, q, new u(
813
829
  this,
814
830
  "--captured-from-finish",
815
831
  ""
816
- )), o(this, Lt, new u(
832
+ )), l(this, $t, new u(
817
833
  this,
818
834
  "--released-from-start",
819
835
  ""
820
- )), o(this, x, new u(
836
+ )), l(this, x, new u(
821
837
  this,
822
838
  "--released-from-finish",
823
839
  ""
824
- )), o(this, at, new u(this, "--passed-var", "")), o(this, ot, new u(this, "--progress-var", "")), o(this, lt, new u(this, "--distance-var", "")), o(this, ct, new u(this, "--start-var", "")), o(this, ut, new u(this, "--finish-var", "")), o(this, E, new gt(!1)), o(this, J, new gt(!1)), o(this, Z, new gt(!1)), o(this, ft, new gt(!1)), o(this, dt, new gt(!1)), o(this, Y, new gt(!1)), o(this, Ee, []), o(this, v, this), o(this, Jt, 0), o(this, Qt, 0), o(this, xe, 0), o(this, L, new Ps(0, { order: ks.SCROLL - 1, min: 0, max: 1 })), o(this, Et, 0), o(this, $, 0), o(this, V, 0), o(this, U, 0), o(this, pe, !1), o(this, $t, !1), o(this, P, !0), o(this, Le, () => {
825
- s(this, P) || (this.resize(), s(this, fe).call(this));
826
- }), o(this, fe, () => {
827
- !s(this, P) && s(this, pe) && this.tick();
828
- }), o(this, ze, Ms(() => {
829
- const e = Dt.getAll(this).reverse();
840
+ )), l(this, ot, new u(this, "--passed-var", "")), l(this, lt, new u(this, "--progress-var", "")), l(this, ct, new u(this, "--distance-var", "")), l(this, ut, new u(this, "--start-var", "")), l(this, pt, new u(this, "--finish-var", "")), l(this, E, new gt(!1)), l(this, J, new gt(!1)), l(this, Z, new gt(!1)), l(this, dt, new gt(!1)), l(this, St, new gt(!1)), l(this, Y, new gt(!1)), l(this, Ve, []), l(this, v, this), l(this, Yt, 0), l(this, jt, 0), l(this, ze, 0), l(this, L, new Ms(0, { order: Ws.SCROLL - 1, min: 0, max: 1 })), l(this, xt, 0), l(this, $, 0), l(this, V, 0), l(this, U, 0), l(this, ve, !1), l(this, Ot, !1), l(this, P, !0), l(this, $e, () => {
841
+ s(this, P) || (this.resize(), s(this, me).call(this));
842
+ }), l(this, me, () => {
843
+ !s(this, P) && s(this, ve) && this.tick();
844
+ }), l(this, De, xs(() => {
845
+ const e = Rt.getAll(this).reverse();
830
846
  let i = 0;
831
847
  e.forEach((r, h) => {
832
848
  r.element === this.scrollElement && (i = h);
833
- }), m(this, Ee, e.slice(i + 1));
849
+ }), m(this, Ve, e.slice(i + 1));
834
850
  }, 0));
835
851
  }
836
852
  get distanceOffsetCSSProperty() {
837
- return s(this, Pt);
853
+ return s(this, Wt);
838
854
  }
839
855
  get startOffsetCSSProperty() {
840
- return s(this, Wt);
856
+ return s(this, Mt);
841
857
  }
842
858
  get captureOnceCSSProperty() {
843
- return s(this, Mt);
859
+ return s(this, Et);
844
860
  }
845
861
  get capturedCSSProperty() {
846
862
  return s(this, D);
@@ -855,40 +871,40 @@ let Cs = class extends Ge {
855
871
  return s(this, q);
856
872
  }
857
873
  get releasedFromStartCSSProperty() {
858
- return s(this, Lt);
874
+ return s(this, $t);
859
875
  }
860
876
  get releasedFromFinishCSSProperty() {
861
877
  return s(this, x);
862
878
  }
863
879
  get passedVarCSSProperty() {
864
- return s(this, at);
880
+ return s(this, ot);
865
881
  }
866
882
  get progressVarCSSProperty() {
867
- return s(this, ot);
883
+ return s(this, lt);
868
884
  }
869
885
  get distanceVarCSSProperty() {
870
- return s(this, lt);
886
+ return s(this, ct);
871
887
  }
872
888
  get startVarCSSProperty() {
873
- return s(this, ct);
889
+ return s(this, ut);
874
890
  }
875
891
  get finishVarCSSProperty() {
876
- return s(this, ut);
892
+ return s(this, pt);
877
893
  }
878
894
  get disabledCSSProperty() {
879
- return s(this, kt);
895
+ return s(this, Pt);
880
896
  }
881
897
  get dampingCSSProperty() {
882
- return s(this, Nt);
898
+ return s(this, Zt);
883
899
  }
884
900
  get massCSSProperty() {
885
- return s(this, Ut);
901
+ return s(this, Jt);
886
902
  }
887
903
  get stiffnessCSSProperty() {
888
- return s(this, Kt);
904
+ return s(this, Qt);
889
905
  }
890
906
  get targetCSSProperty() {
891
- return s(this, Zt);
907
+ return s(this, Xt);
892
908
  }
893
909
  get isCaptured() {
894
910
  return s(this, E);
@@ -900,25 +916,25 @@ let Cs = class extends Ge {
900
916
  return s(this, Z);
901
917
  }
902
918
  get isReleasedFromStart() {
903
- return s(this, ft);
919
+ return s(this, dt);
904
920
  }
905
921
  get isCapturedFromFinish() {
906
- return s(this, dt);
922
+ return s(this, St);
907
923
  }
908
924
  get isReleasedFromFinish() {
909
925
  return s(this, Y);
910
926
  }
911
927
  get directionPosition() {
912
- return s(this, Jt);
928
+ return s(this, Yt);
913
929
  }
914
930
  get directionSize() {
915
- return s(this, Qt);
931
+ return s(this, jt);
916
932
  }
917
933
  get passed() {
918
934
  return s(this, L);
919
935
  }
920
936
  get progress() {
921
- return s(this, Et);
937
+ return s(this, xt);
922
938
  }
923
939
  get start() {
924
940
  return s(this, $);
@@ -930,86 +946,86 @@ let Cs = class extends Ge {
930
946
  return s(this, V);
931
947
  }
932
948
  get isCapturedOnce() {
933
- return s(this, $t);
949
+ return s(this, Ot);
934
950
  }
935
951
  get isDisabled() {
936
952
  return s(this, P);
937
953
  }
938
954
  resize() {
939
- m(this, Qt, this.scrollElement.vertical ? this.offsetHeight : this.offsetWidth), m(this, Jt, this.scrollElement.vertical ? $e(this, this.scrollElement) : Fe(this, this.scrollElement)), m(this, $, this.getStart()), m(this, V, this.getDistance()), m(this, $, s(this, $) + s(this, Wt).current), m(this, V, s(this, V) + s(this, Pt).current), m(this, U, s(this, $) + s(this, V)), this.scrollElement.currentScrollValue > s(this, U) && !s(this, E).current && !s(this, J).current && (s(this, E).current = !0), this.setVar(s(this, ct).current, s(this, $)), this.setVar(s(this, ut).current, s(this, U)), this.setVar(s(this, lt).current, s(this, V)), s(this, L).max = s(this, V), m(this, pe, !0);
955
+ m(this, jt, this.scrollElement.vertical ? this.offsetHeight : this.offsetWidth), m(this, Yt, this.scrollElement.vertical ? Oe(this, this.scrollElement) : Ae(this, this.scrollElement)), m(this, $, this.getStart()), m(this, V, this.getDistance()), m(this, $, s(this, $) + s(this, Mt).current), m(this, V, s(this, V) + s(this, Wt).current), m(this, U, s(this, $) + s(this, V)), this.scrollElement.currentScrollValue > s(this, U) && !s(this, E).current && !s(this, J).current && (s(this, E).current = !0), this.setVar(s(this, ut).current, s(this, $)), this.setVar(s(this, pt).current, s(this, U)), this.setVar(s(this, ct).current, s(this, V)), s(this, L).max = s(this, V), m(this, ve, !0);
940
956
  }
941
957
  tick() {
942
958
  let e = this.scrollElement.currentScrollValue;
943
- s(this, Ee).forEach((r) => {
959
+ s(this, Ve).forEach((r) => {
944
960
  e += r.value;
945
961
  }), s(this, L).set(e - s(this, $));
946
962
  const i = Math.round(e);
947
- s(this, E).current && (i > s(this, $) ? s(this, Z).current || W(this, Ye, Ds).call(this) : s(this, Z).current && !s(this, ft).current && W(this, ts, As).call(this), i < s(this, U) ? s(this, Y).current && !s(this, dt).current && W(this, je, Os).call(this) : s(this, Z).current && !s(this, Y).current && W(this, es, Rs).call(this)), i > s(this, $) && i < s(this, U) ? s(this, E).current || W(this, Qe, $s).call(this) : s(this, E).current && (s(this, L).set(
948
- Gs(s(this, V) / 2, s(this, L).current, 0, s(this, V))
949
- ), W(this, Xe, Fs).call(this)), s(this, $t) && s(this, Mt).current && (s(this, D).current && s(this, v).classList.add(s(this, D).current), m(this, P, !0));
963
+ s(this, E).current && (i > s(this, $) ? s(this, Z).current || W(this, ts, As).call(this) : s(this, Z).current && !s(this, dt).current && W(this, ss, Ts).call(this), i < s(this, U) ? s(this, Y).current && !s(this, St).current && W(this, es, Rs).call(this) : s(this, Z).current && !s(this, Y).current && W(this, is, Is).call(this)), i > s(this, $) && i < s(this, U) ? s(this, E).current || W(this, Ye, Ds).call(this) : s(this, E).current && (s(this, L).set(
964
+ Ns(s(this, V) / 2, s(this, L).current, 0, s(this, V))
965
+ ), W(this, je, Os).call(this)), s(this, Ot) && s(this, Et).current && (s(this, D).current && s(this, v).classList.add(s(this, D).current), m(this, P, !0));
950
966
  }
951
967
  disable() {
952
- this.style.cssText = "", m(this, Jt, 0), m(this, Qt, 0), s(this, L).reset(), m(this, Et, 0), m(this, $, 0), m(this, V, 0), m(this, U, 0), m(this, pe, !1), s(this, E).current = !1, s(this, J).current = !1, s(this, Z).current = !1, s(this, ft).current = !1, s(this, dt).current = !1, s(this, Y).current = !1, m(this, $t, !1), m(this, P, !0), W(this, Ve, ss).call(this);
968
+ this.style.cssText = "", m(this, Yt, 0), m(this, jt, 0), s(this, L).reset(), m(this, xt, 0), m(this, $, 0), m(this, V, 0), m(this, U, 0), m(this, ve, !1), s(this, E).current = !1, s(this, J).current = !1, s(this, Z).current = !1, s(this, dt).current = !1, s(this, St).current = !1, s(this, Y).current = !1, m(this, Ot, !1), m(this, P, !0), W(this, Fe, rs).call(this);
953
969
  }
954
970
  enable() {
955
971
  m(this, P, !1);
956
972
  }
957
973
  connectedCallback() {
958
- super.connectedCallback(), s(this, Nt).observe(), s(this, Ut).observe(), s(this, Kt).observe(), s(this, Zt).observe(), s(this, kt).observe(), s(this, Pt).observe(), s(this, Wt).observe(), s(this, Mt).observe(), s(this, D).observe(), s(this, H).observe(), s(this, G).observe(), s(this, q).observe(), s(this, Lt).observe(), s(this, x).observe(), s(this, at).observe(), s(this, ot).observe(), s(this, lt).observe(), s(this, ct).observe(), s(this, ut).observe();
974
+ super.connectedCallback(), s(this, Zt).observe(), s(this, Jt).observe(), s(this, Qt).observe(), s(this, Xt).observe(), s(this, Pt).observe(), s(this, Wt).observe(), s(this, Mt).observe(), s(this, Et).observe(), s(this, D).observe(), s(this, H).observe(), s(this, G).observe(), s(this, q).observe(), s(this, $t).observe(), s(this, x).observe(), s(this, ot).observe(), s(this, lt).observe(), s(this, ct).observe(), s(this, ut).observe(), s(this, pt).observe();
959
975
  let e = !1;
960
976
  this.scrollElement.addEventListener(
961
977
  "sectionsChange",
962
- s(this, ze)
963
- ), s(this, ze).call(this), s(this, kt).current || this.enable(), s(this, Nt).subscribe((i) => {
978
+ s(this, De)
979
+ ), s(this, De).call(this), s(this, Pt).current || this.enable(), s(this, Zt).subscribe((i) => {
964
980
  s(this, L).damping = i.current;
965
- }), s(this, Ut).subscribe((i) => {
981
+ }), s(this, Jt).subscribe((i) => {
966
982
  s(this, L).mass = i.current;
967
- }), s(this, Kt).subscribe((i) => {
983
+ }), s(this, Qt).subscribe((i) => {
968
984
  s(this, L).stiffness = i.current;
969
- }), s(this, Zt).subscribe((i) => {
970
- i.previous && W(this, Ve, ss).call(this), i.current ? i.current === "parent" ? m(this, v, this.parentElement || this) : m(this, v, document.querySelector(i.current) || this) : m(this, v, this);
971
- }), s(this, kt).subscribe((i) => {
985
+ }), s(this, Xt).subscribe((i) => {
986
+ i.previous && W(this, Fe, rs).call(this), i.current ? i.current === "parent" ? m(this, v, this.parentElement || this) : m(this, v, document.querySelector(i.current) || this) : m(this, v, this);
987
+ }), s(this, Pt).subscribe((i) => {
972
988
  i.current && !i.previous ? this.disable() : !i.current && i.previous && (this.resize(), this.enable());
973
- }), s(this, Wt).subscribe(() => {
989
+ }), s(this, Mt).subscribe(() => {
974
990
  e && !s(this, P) && this.resize();
975
- }), s(this, Pt).subscribe(() => {
991
+ }), s(this, Wt).subscribe(() => {
976
992
  e && !s(this, P) && this.resize();
977
993
  }), s(this, D).subscribe((i) => {
978
- W(this, ht, xt).call(this, i);
994
+ W(this, ht, Lt).call(this, i);
979
995
  }), s(this, G).subscribe((i) => {
980
- W(this, ht, xt).call(this, i);
996
+ W(this, ht, Lt).call(this, i);
981
997
  }), s(this, q).subscribe((i) => {
982
- W(this, ht, xt).call(this, i);
998
+ W(this, ht, Lt).call(this, i);
983
999
  }), s(this, H).subscribe((i) => {
984
- W(this, ht, xt).call(this, i);
985
- }), s(this, Lt).subscribe((i) => {
986
- W(this, ht, xt).call(this, i);
1000
+ W(this, ht, Lt).call(this, i);
1001
+ }), s(this, $t).subscribe((i) => {
1002
+ W(this, ht, Lt).call(this, i);
987
1003
  }), s(this, x).subscribe((i) => {
988
- W(this, ht, xt).call(this, i);
989
- }), s(this, Mt).subscribe((i) => {
1004
+ W(this, ht, Lt).call(this, i);
1005
+ }), s(this, Et).subscribe((i) => {
990
1006
  s(this, P) || !i.current && i.previous && (this.resize(), this.enable());
991
- }), s(this, at).subscribe((i) => {
992
- s(this, P) || (this.removeVar(i.previous), this.setVar(i.current, this.passed.current));
993
1007
  }), s(this, ot).subscribe((i) => {
994
- s(this, P) || (this.removeVar(i.previous), this.setVar(i.current, s(this, Et)));
995
- }), s(this, ct).subscribe((i) => {
996
- s(this, P) || (this.removeVar(i.previous), this.setVar(i.current, s(this, $)));
1008
+ s(this, P) || (this.removeVar(i.previous), this.setVar(i.current, this.passed.current));
1009
+ }), s(this, lt).subscribe((i) => {
1010
+ s(this, P) || (this.removeVar(i.previous), this.setVar(i.current, s(this, xt)));
997
1011
  }), s(this, ut).subscribe((i) => {
1012
+ s(this, P) || (this.removeVar(i.previous), this.setVar(i.current, s(this, $)));
1013
+ }), s(this, pt).subscribe((i) => {
998
1014
  s(this, P) || (this.removeVar(i.previous), this.setVar(i.current, s(this, U)));
999
- }), s(this, lt).subscribe((i) => {
1015
+ }), s(this, ct).subscribe((i) => {
1000
1016
  s(this, P) || (this.removeVar(i.previous), this.setVar(i.current, s(this, V)));
1001
1017
  }), s(this, L).subscribe((i) => {
1002
- m(this, Et, s(this, L).current / s(this, V) || 0), this.setVar(
1003
- s(this, at).current,
1018
+ m(this, xt, s(this, L).current / s(this, V) || 0), this.setVar(
1019
+ s(this, ot).current,
1004
1020
  s(this, L).current.toFixed(6)
1005
1021
  ), this.setVar(
1006
- s(this, ot).current,
1007
- s(this, Et).toFixed(6)
1022
+ s(this, lt).current,
1023
+ s(this, xt).toFixed(6)
1008
1024
  );
1009
- }), ee.subscribe(s(this, Le), rs.SEGMENT), this.scrollElement.onScroll(s(this, fe)), e = !0;
1025
+ }), he.subscribe(s(this, $e), ns.SEGMENT), this.scrollElement.onScroll(s(this, me)), e = !0;
1010
1026
  }
1011
1027
  disconnectedCallback() {
1012
- ee.unsubscribe(s(this, Le)), this.scrollElement.offScroll(s(this, fe)), s(this, Nt).close(), s(this, Ut).close(), s(this, Kt).close(), s(this, Zt).close(), s(this, kt).close(), s(this, Pt).close(), s(this, Wt).close(), s(this, Mt).close(), s(this, D).close(), s(this, H).close(), s(this, G).close(), s(this, q).close(), s(this, Lt).close(), s(this, x).close(), s(this, at).close(), s(this, ot).close(), s(this, lt).close(), s(this, ct).close(), s(this, ut).close(), s(this, E).close(), s(this, J).close(), s(this, Z).close(), s(this, ft).close(), s(this, dt).close(), s(this, Y).close(), this.disable();
1028
+ he.unsubscribe(s(this, $e)), this.scrollElement.offScroll(s(this, me)), s(this, Zt).close(), s(this, Jt).close(), s(this, Qt).close(), s(this, Xt).close(), s(this, Pt).close(), s(this, Wt).close(), s(this, Mt).close(), s(this, Et).close(), s(this, D).close(), s(this, H).close(), s(this, G).close(), s(this, q).close(), s(this, $t).close(), s(this, x).close(), s(this, ot).close(), s(this, lt).close(), s(this, ct).close(), s(this, ut).close(), s(this, pt).close(), s(this, E).close(), s(this, J).close(), s(this, Z).close(), s(this, dt).close(), s(this, St).close(), s(this, Y).close(), this.disable();
1013
1029
  }
1014
1030
  removeVar(e) {
1015
1031
  e && s(this, v).style.removeProperty(`--${e}`);
@@ -1018,125 +1034,125 @@ let Cs = class extends Ge {
1018
1034
  e && s(this, v).style.setProperty(`--${e}`, i.toString());
1019
1035
  }
1020
1036
  getDistance() {
1021
- return s(this, Qt) + s(this, xe);
1037
+ return s(this, jt) + s(this, ze);
1022
1038
  }
1023
1039
  getStart() {
1024
- return s(this, Jt) - s(this, xe);
1040
+ return s(this, Yt) - s(this, ze);
1025
1041
  }
1026
1042
  };
1027
- Nt = /* @__PURE__ */ new WeakMap();
1028
- Ut = /* @__PURE__ */ new WeakMap();
1029
- Kt = /* @__PURE__ */ new WeakMap();
1030
1043
  Zt = /* @__PURE__ */ new WeakMap();
1031
- kt = /* @__PURE__ */ new WeakMap();
1044
+ Jt = /* @__PURE__ */ new WeakMap();
1045
+ Qt = /* @__PURE__ */ new WeakMap();
1046
+ Xt = /* @__PURE__ */ new WeakMap();
1032
1047
  Pt = /* @__PURE__ */ new WeakMap();
1033
1048
  Wt = /* @__PURE__ */ new WeakMap();
1034
1049
  Mt = /* @__PURE__ */ new WeakMap();
1050
+ Et = /* @__PURE__ */ new WeakMap();
1035
1051
  D = /* @__PURE__ */ new WeakMap();
1036
1052
  H = /* @__PURE__ */ new WeakMap();
1037
1053
  G = /* @__PURE__ */ new WeakMap();
1038
1054
  q = /* @__PURE__ */ new WeakMap();
1039
- Lt = /* @__PURE__ */ new WeakMap();
1055
+ $t = /* @__PURE__ */ new WeakMap();
1040
1056
  x = /* @__PURE__ */ new WeakMap();
1041
- at = /* @__PURE__ */ new WeakMap();
1042
1057
  ot = /* @__PURE__ */ new WeakMap();
1043
1058
  lt = /* @__PURE__ */ new WeakMap();
1044
1059
  ct = /* @__PURE__ */ new WeakMap();
1045
1060
  ut = /* @__PURE__ */ new WeakMap();
1061
+ pt = /* @__PURE__ */ new WeakMap();
1046
1062
  E = /* @__PURE__ */ new WeakMap();
1047
1063
  J = /* @__PURE__ */ new WeakMap();
1048
1064
  Z = /* @__PURE__ */ new WeakMap();
1049
- ft = /* @__PURE__ */ new WeakMap();
1050
1065
  dt = /* @__PURE__ */ new WeakMap();
1066
+ St = /* @__PURE__ */ new WeakMap();
1051
1067
  Y = /* @__PURE__ */ new WeakMap();
1052
- Ee = /* @__PURE__ */ new WeakMap();
1068
+ Ve = /* @__PURE__ */ new WeakMap();
1053
1069
  v = /* @__PURE__ */ new WeakMap();
1054
- Jt = /* @__PURE__ */ new WeakMap();
1055
- Qt = /* @__PURE__ */ new WeakMap();
1056
- xe = /* @__PURE__ */ new WeakMap();
1070
+ Yt = /* @__PURE__ */ new WeakMap();
1071
+ jt = /* @__PURE__ */ new WeakMap();
1072
+ ze = /* @__PURE__ */ new WeakMap();
1057
1073
  L = /* @__PURE__ */ new WeakMap();
1058
- Et = /* @__PURE__ */ new WeakMap();
1074
+ xt = /* @__PURE__ */ new WeakMap();
1059
1075
  $ = /* @__PURE__ */ new WeakMap();
1060
1076
  V = /* @__PURE__ */ new WeakMap();
1061
1077
  U = /* @__PURE__ */ new WeakMap();
1062
- pe = /* @__PURE__ */ new WeakMap();
1063
- $t = /* @__PURE__ */ new WeakMap();
1078
+ ve = /* @__PURE__ */ new WeakMap();
1079
+ Ot = /* @__PURE__ */ new WeakMap();
1064
1080
  P = /* @__PURE__ */ new WeakMap();
1065
- Qe = /* @__PURE__ */ new WeakSet();
1066
- $s = function() {
1067
- s(this, E).current = !0, s(this, J).current = !1, m(this, $t, !0), s(this, H).current && s(this, v).classList.remove(s(this, H).current), s(this, x).current && s(this, v).classList.remove(
1081
+ Ye = /* @__PURE__ */ new WeakSet();
1082
+ Ds = function() {
1083
+ s(this, E).current = !0, s(this, J).current = !1, m(this, Ot, !0), s(this, H).current && s(this, v).classList.remove(s(this, H).current), s(this, x).current && s(this, v).classList.remove(
1068
1084
  s(this, x).current
1069
1085
  ), s(this, x).current && s(this, v).classList.remove(
1070
1086
  s(this, x).current
1071
1087
  ), s(this, D).current && s(this, v).classList.add(s(this, D).current);
1072
1088
  };
1073
- Xe = /* @__PURE__ */ new WeakSet();
1074
- Fs = function() {
1075
- s(this, J).current = !0, s(this, E).current = !1, m(this, $t, !0), s(this, D).current && s(this, v).classList.remove(s(this, D).current), s(this, G).current && s(this, v).classList.remove(
1089
+ je = /* @__PURE__ */ new WeakSet();
1090
+ Os = function() {
1091
+ s(this, J).current = !0, s(this, E).current = !1, m(this, Ot, !0), s(this, D).current && s(this, v).classList.remove(s(this, D).current), s(this, G).current && s(this, v).classList.remove(
1076
1092
  s(this, G).current
1077
1093
  ), s(this, q).current && s(this, v).classList.remove(
1078
1094
  s(this, q).current
1079
1095
  ), s(this, H).current && s(this, v).classList.add(s(this, H).current);
1080
1096
  };
1081
- Ye = /* @__PURE__ */ new WeakSet();
1082
- Ds = function() {
1083
- s(this, E).current = !0, s(this, Z).current = !0, s(this, ft).current = !1, s(this, G).current && s(this, v).classList.add(
1097
+ ts = /* @__PURE__ */ new WeakSet();
1098
+ As = function() {
1099
+ s(this, E).current = !0, s(this, Z).current = !0, s(this, dt).current = !1, s(this, G).current && s(this, v).classList.add(
1084
1100
  s(this, G).current
1085
1101
  );
1086
1102
  };
1087
- je = /* @__PURE__ */ new WeakSet();
1088
- Os = function() {
1089
- s(this, E).current = !0, s(this, dt).current = !0, s(this, Y).current = !1, s(this, q).current && s(this, v).classList.add(
1103
+ es = /* @__PURE__ */ new WeakSet();
1104
+ Rs = function() {
1105
+ s(this, E).current = !0, s(this, St).current = !0, s(this, Y).current = !1, s(this, q).current && s(this, v).classList.add(
1090
1106
  s(this, q).current
1091
1107
  );
1092
1108
  };
1093
- ts = /* @__PURE__ */ new WeakSet();
1094
- As = function() {
1095
- s(this, J).current = !0, s(this, ft).current = !0, s(this, Z).current = !1, s(this, x).current && s(this, v).classList.add(
1109
+ ss = /* @__PURE__ */ new WeakSet();
1110
+ Ts = function() {
1111
+ s(this, J).current = !0, s(this, dt).current = !0, s(this, Z).current = !1, s(this, x).current && s(this, v).classList.add(
1096
1112
  s(this, x).current
1097
1113
  );
1098
1114
  };
1099
- es = /* @__PURE__ */ new WeakSet();
1100
- Rs = function() {
1101
- s(this, J).current = !0, s(this, Y).current = !0, s(this, dt).current = !1, s(this, x).current && s(this, v).classList.add(
1115
+ is = /* @__PURE__ */ new WeakSet();
1116
+ Is = function() {
1117
+ s(this, J).current = !0, s(this, Y).current = !0, s(this, St).current = !1, s(this, x).current && s(this, v).classList.add(
1102
1118
  s(this, x).current
1103
1119
  );
1104
1120
  };
1105
- Le = /* @__PURE__ */ new WeakMap();
1106
- fe = /* @__PURE__ */ new WeakMap();
1121
+ $e = /* @__PURE__ */ new WeakMap();
1122
+ me = /* @__PURE__ */ new WeakMap();
1107
1123
  ht = /* @__PURE__ */ new WeakSet();
1108
- xt = function(e) {
1124
+ Lt = function(e) {
1109
1125
  if (s(this, P)) {
1110
1126
  e.previous && s(this, v).classList.remove(e.previous), e.current && s(this, v).classList.remove(e.current);
1111
1127
  return;
1112
1128
  }
1113
1129
  e.current && s(this, E).current ? (e.previous && s(this, v).classList.remove(e.previous), s(this, v).classList.add(e.current)) : !e.current && e.previous && s(this, v).classList.remove(e.previous);
1114
1130
  };
1115
- us = /* @__PURE__ */ new WeakSet();
1116
- Ts = function(...e) {
1131
+ fs = /* @__PURE__ */ new WeakSet();
1132
+ Bs = function(...e) {
1117
1133
  e.forEach((i) => {
1118
1134
  i && s(this, v).classList.remove(i);
1119
1135
  });
1120
1136
  };
1121
- ps = /* @__PURE__ */ new WeakSet();
1122
- Is = function(...e) {
1137
+ ds = /* @__PURE__ */ new WeakSet();
1138
+ Hs = function(...e) {
1123
1139
  e.forEach((i) => {
1124
1140
  i && s(this, v).style.removeProperty(`--${i}`);
1125
1141
  });
1126
1142
  };
1127
- Ve = /* @__PURE__ */ new WeakSet();
1128
- ss = function() {
1129
- W(this, us, Ts).call(this, s(this, D).current, s(this, G).current, s(this, q).current, s(this, H).current, s(this, Lt).current, s(this, x).current), W(this, ps, Is).call(this, s(this, at).current, s(this, ot).current, s(this, lt).current, s(this, ct).current, s(this, ut).current);
1143
+ Fe = /* @__PURE__ */ new WeakSet();
1144
+ rs = function() {
1145
+ W(this, fs, Bs).call(this, s(this, D).current, s(this, G).current, s(this, q).current, s(this, H).current, s(this, $t).current, s(this, x).current), W(this, ds, Hs).call(this, s(this, ot).current, s(this, lt).current, s(this, ct).current, s(this, ut).current, s(this, pt).current);
1130
1146
  };
1131
- ze = /* @__PURE__ */ new WeakMap();
1132
- Cs = wi([
1133
- re("e-scroll-segment")
1134
- ], Cs);
1147
+ De = /* @__PURE__ */ new WeakMap();
1148
+ ks = Ci([
1149
+ oe("e-scroll-segment")
1150
+ ], ks);
1135
1151
  export {
1136
- _s as ScrollBulletButtonsElement,
1137
- Be as ScrollElement,
1138
- Cs as ScrollSegmentElement,
1139
- ms as ScrollSetButtonElement,
1140
- gs as ScrollStepButtonElement,
1141
- vs as ScrollbarElement
1152
+ ys as ScrollBulletButtonsElement,
1153
+ Ge as ScrollElement,
1154
+ ks as ScrollSegmentElement,
1155
+ gs as ScrollSetButtonElement,
1156
+ ws as ScrollStepButtonElement,
1157
+ bs as ScrollbarElement
1142
1158
  };