@ozdao/prometheus-framework 0.2.197 → 0.2.198

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -1
  2. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +21 -20
  3. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  4. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +629 -622
  5. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -1
  6. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +19 -17
  7. package/dist/node_modules/qrcode/lib/core/byte-data.cjs +1 -1
  8. package/dist/node_modules/qrcode/lib/core/byte-data.js +6 -7
  9. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +1 -1
  10. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +3 -3
  11. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  12. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3356 -3363
  13. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  14. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  15. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +17 -17
  29. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +12 -12
  35. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  41. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +32 -32
  49. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  51. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  61. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  63. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  77. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  87. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  93. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  95. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  99. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  105. package/dist/prometheus-framework.cjs.js +27 -27
  106. package/dist/prometheus-framework.es.js +2528 -2518
  107. package/dist/style.css +1 -1
  108. package/package.json +25 -25
@@ -1,94 +1,94 @@
1
- function xt(t) {
1
+ function Et(t) {
2
2
  return typeof t == "number";
3
3
  }
4
- function yt(t) {
4
+ function bt(t) {
5
5
  return typeof t == "string";
6
6
  }
7
- function Et(t) {
7
+ function It(t) {
8
8
  return typeof t == "boolean";
9
9
  }
10
- function Pt(t) {
10
+ function Nt(t) {
11
11
  return Object.prototype.toString.call(t) === "[object Object]";
12
12
  }
13
- function M(t) {
13
+ function P(t) {
14
14
  return Math.abs(t);
15
15
  }
16
- function Lt(t) {
16
+ function Tt(t) {
17
17
  return Math.sign(t);
18
18
  }
19
- function it(t, n) {
20
- return M(t - n);
19
+ function ut(t, n) {
20
+ return P(t - n);
21
21
  }
22
- function Ut(t, n) {
23
- if (t === 0 || n === 0 || M(t) <= M(n)) return 0;
24
- const r = it(M(t), M(n));
25
- return M(r / t);
22
+ function Xt(t, n) {
23
+ if (t === 0 || n === 0 || P(t) <= P(n)) return 0;
24
+ const r = ut(P(t), P(n));
25
+ return P(r / t);
26
26
  }
27
- function ct(t) {
28
- return ut(t).map(Number);
27
+ function ft(t) {
28
+ return at(t).map(Number);
29
29
  }
30
- function j(t) {
31
- return t[at(t)];
30
+ function H(t) {
31
+ return t[dt(t)];
32
32
  }
33
- function at(t) {
33
+ function dt(t) {
34
34
  return Math.max(0, t.length - 1);
35
35
  }
36
- function It(t, n) {
37
- return n === at(t);
36
+ function vt(t, n) {
37
+ return n === dt(t);
38
38
  }
39
- function Ot(t, n = 0) {
39
+ function Vt(t, n = 0) {
40
40
  return Array.from(Array(t), (r, s) => n + s);
41
41
  }
42
- function ut(t) {
42
+ function at(t) {
43
43
  return Object.keys(t);
44
44
  }
45
- function Ct(t, n) {
46
- return [t, n].reduce((r, s) => (ut(s).forEach((i) => {
47
- const e = r[i], o = s[i], f = Pt(e) && Pt(o);
48
- r[i] = f ? Ct(e, o) : o;
45
+ function zt(t, n) {
46
+ return [t, n].reduce((r, s) => (at(s).forEach((c) => {
47
+ const o = r[c], e = s[c], f = Nt(o) && Nt(e);
48
+ r[c] = f ? zt(o, e) : e;
49
49
  }), r), {});
50
50
  }
51
- function bt(t, n) {
51
+ function Lt(t, n) {
52
52
  return typeof n.MouseEvent < "u" && t instanceof n.MouseEvent;
53
53
  }
54
- function $t(t, n) {
54
+ function Yt(t, n) {
55
55
  const r = {
56
56
  start: s,
57
- center: i,
58
- end: e
57
+ center: c,
58
+ end: o
59
59
  };
60
60
  function s() {
61
61
  return 0;
62
62
  }
63
- function i(c) {
64
- return e(c) / 2;
63
+ function c(i) {
64
+ return o(i) / 2;
65
65
  }
66
- function e(c) {
67
- return n - c;
66
+ function o(i) {
67
+ return n - i;
68
68
  }
69
- function o(c, u) {
70
- return yt(t) ? r[t](c) : t(n, c, u);
69
+ function e(i, u) {
70
+ return bt(t) ? r[t](i) : t(n, i, u);
71
71
  }
72
72
  return {
73
- measure: o
73
+ measure: e
74
74
  };
75
75
  }
76
- function ft() {
76
+ function lt() {
77
77
  let t = [];
78
- function n(i, e, o, f = {
78
+ function n(c, o, e, f = {
79
79
  passive: !0
80
80
  }) {
81
- let c;
82
- if ("addEventListener" in i)
83
- i.addEventListener(e, o, f), c = () => i.removeEventListener(e, o, f);
81
+ let i;
82
+ if ("addEventListener" in c)
83
+ c.addEventListener(o, e, f), i = () => c.removeEventListener(o, e, f);
84
84
  else {
85
- const u = i;
86
- u.addListener(o), c = () => u.removeListener(o);
85
+ const u = c;
86
+ u.addListener(e), i = () => u.removeListener(e);
87
87
  }
88
- return t.push(c), s;
88
+ return t.push(i), s;
89
89
  }
90
90
  function r() {
91
- t = t.filter((i) => i());
91
+ t = t.filter((c) => c());
92
92
  }
93
93
  const s = {
94
94
  add: n,
@@ -96,52 +96,52 @@ function ft() {
96
96
  };
97
97
  return s;
98
98
  }
99
- function Qt(t, n, r, s) {
100
- const i = ft(), e = 1e3 / 60;
101
- let o = null, f = 0, c = 0;
99
+ function _t(t, n, r, s) {
100
+ const c = lt(), o = 1e3 / 60;
101
+ let e = null, f = 0, i = 0;
102
102
  function u() {
103
- i.add(t, "visibilitychange", () => {
103
+ c.add(t, "visibilitychange", () => {
104
104
  t.hidden && d();
105
105
  });
106
106
  }
107
107
  function h() {
108
- x(), i.clear();
108
+ b(), c.clear();
109
109
  }
110
- function l(S) {
111
- if (!c) return;
112
- o || (o = S);
113
- const a = S - o;
114
- for (o = S, f += a; f >= e; )
115
- r(), f -= e;
116
- const g = M(f / e);
117
- s(g), c && n.requestAnimationFrame(l);
110
+ function l(g) {
111
+ if (!i) return;
112
+ e || (e = g);
113
+ const a = g - e;
114
+ for (e = g, f += a; f >= o; )
115
+ r(o), f -= o;
116
+ const S = f / o;
117
+ s(S), i && n.requestAnimationFrame(l);
118
118
  }
119
- function m() {
120
- c || (c = n.requestAnimationFrame(l));
119
+ function p() {
120
+ i || (i = n.requestAnimationFrame(l));
121
121
  }
122
- function x() {
123
- n.cancelAnimationFrame(c), o = null, f = 0, c = 0;
122
+ function b() {
123
+ n.cancelAnimationFrame(i), e = null, f = 0, i = 0;
124
124
  }
125
125
  function d() {
126
- o = null, f = 0;
126
+ e = null, f = 0;
127
127
  }
128
128
  return {
129
129
  init: u,
130
130
  destroy: h,
131
- start: m,
132
- stop: x,
133
- update: r,
131
+ start: p,
132
+ stop: b,
133
+ update: () => r(o),
134
134
  render: s
135
135
  };
136
136
  }
137
- function Kt(t, n) {
138
- const r = n === "rtl", s = t === "y", i = s ? "y" : "x", e = s ? "x" : "y", o = !s && r ? -1 : 1, f = h(), c = l();
137
+ function Jt(t, n) {
138
+ const r = n === "rtl", s = t === "y", c = s ? "y" : "x", o = s ? "x" : "y", e = !s && r ? -1 : 1, f = h(), i = l();
139
139
  function u(d) {
140
140
  const {
141
- height: p,
142
- width: S
141
+ height: m,
142
+ width: g
143
143
  } = d;
144
- return s ? p : S;
144
+ return s ? m : g;
145
145
  }
146
146
  function h() {
147
147
  return s ? "top" : r ? "right" : "left";
@@ -149,31 +149,31 @@ function Kt(t, n) {
149
149
  function l() {
150
150
  return s ? "bottom" : r ? "left" : "right";
151
151
  }
152
- function m(d) {
153
- return d * o;
152
+ function p(d) {
153
+ return d * e;
154
154
  }
155
155
  return {
156
- scroll: i,
157
- cross: e,
156
+ scroll: c,
157
+ cross: o,
158
158
  startEdge: f,
159
- endEdge: c,
159
+ endEdge: i,
160
160
  measureSize: u,
161
- direction: m
161
+ direction: p
162
162
  };
163
163
  }
164
164
  function nt(t = 0, n = 0) {
165
- const r = M(t - n);
165
+ const r = P(t - n);
166
166
  function s(u) {
167
167
  return u < t;
168
168
  }
169
- function i(u) {
169
+ function c(u) {
170
170
  return u > n;
171
171
  }
172
- function e(u) {
173
- return s(u) || i(u);
174
- }
175
172
  function o(u) {
176
- return e(u) ? s(u) ? t : n : u;
173
+ return s(u) || c(u);
174
+ }
175
+ function e(u) {
176
+ return o(u) ? s(u) ? t : n : u;
177
177
  }
178
178
  function f(u) {
179
179
  return r ? u - r * Math.ceil((u - n) / r) : u;
@@ -182,161 +182,161 @@ function nt(t = 0, n = 0) {
182
182
  length: r,
183
183
  max: n,
184
184
  min: t,
185
- constrain: o,
186
- reachedAny: e,
187
- reachedMax: i,
185
+ constrain: e,
186
+ reachedAny: o,
187
+ reachedMax: c,
188
188
  reachedMin: s,
189
189
  removeOffset: f
190
190
  };
191
191
  }
192
- function wt(t, n, r) {
192
+ function Bt(t, n, r) {
193
193
  const {
194
194
  constrain: s
195
- } = nt(0, t), i = t + 1;
196
- let e = o(n);
197
- function o(m) {
198
- return r ? M((i + m) % i) : s(m);
195
+ } = nt(0, t), c = t + 1;
196
+ let o = e(n);
197
+ function e(p) {
198
+ return r ? P((c + p) % c) : s(p);
199
199
  }
200
200
  function f() {
201
- return e;
201
+ return o;
202
202
  }
203
- function c(m) {
204
- return e = o(m), l;
203
+ function i(p) {
204
+ return o = e(p), l;
205
205
  }
206
- function u(m) {
207
- return h().set(f() + m);
206
+ function u(p) {
207
+ return h().set(f() + p);
208
208
  }
209
209
  function h() {
210
- return wt(t, f(), r);
210
+ return Bt(t, f(), r);
211
211
  }
212
212
  const l = {
213
213
  get: f,
214
- set: c,
214
+ set: i,
215
215
  add: u,
216
216
  clone: h
217
217
  };
218
218
  return l;
219
219
  }
220
- function Xt(t, n, r, s, i, e, o, f, c, u, h, l, m, x, d, p, S, a, g) {
220
+ function Zt(t, n, r, s, c, o, e, f, i, u, h, l, p, b, d, m, g, a, S) {
221
221
  const {
222
- cross: b,
223
- direction: L
224
- } = t, v = ["INPUT", "SELECT", "TEXTAREA"], F = {
222
+ cross: x,
223
+ direction: T
224
+ } = t, M = ["INPUT", "SELECT", "TEXTAREA"], v = {
225
225
  passive: !1
226
- }, E = ft(), I = ft(), D = nt(50, 225).constrain(x.measure(20)), A = {
226
+ }, L = lt(), E = lt(), I = nt(50, 225).constrain(b.measure(20)), D = {
227
227
  mouse: 300,
228
228
  touch: 400
229
- }, O = {
229
+ }, F = {
230
230
  mouse: 500,
231
231
  touch: 600
232
232
  }, V = d ? 43 : 25;
233
- let Y = !1, B = 0, U = 0, J = !1, $ = !1, _ = !1, Q = !1;
234
- function Z(y) {
235
- if (!g) return;
236
- function T(w) {
237
- (Et(g) || g(y, w)) && z(w);
233
+ let _ = !1, B = 0, q = 0, W = !1, U = !1, J = !1, $ = !1;
234
+ function tt(y) {
235
+ if (!S) return;
236
+ function A(w) {
237
+ (It(S) || S(y, w)) && z(w);
238
238
  }
239
239
  const C = n;
240
- E.add(C, "dragstart", (w) => w.preventDefault(), F).add(C, "touchmove", () => {
241
- }, F).add(C, "touchend", () => {
242
- }).add(C, "touchstart", T).add(C, "mousedown", T).add(C, "touchcancel", N).add(C, "contextmenu", N).add(C, "click", ot, !0);
240
+ L.add(C, "dragstart", (w) => w.preventDefault(), v).add(C, "touchmove", () => {
241
+ }, v).add(C, "touchend", () => {
242
+ }).add(C, "touchstart", A).add(C, "mousedown", A).add(C, "touchcancel", N).add(C, "contextmenu", N).add(C, "click", ot, !0);
243
243
  }
244
- function K() {
245
- E.clear(), I.clear();
244
+ function Q() {
245
+ L.clear(), E.clear();
246
246
  }
247
247
  function et() {
248
- const y = Q ? r : n;
249
- I.add(y, "touchmove", R, F).add(y, "touchend", N).add(y, "mousemove", R, F).add(y, "mouseup", N);
248
+ const y = $ ? r : n;
249
+ E.add(y, "touchmove", G, v).add(y, "touchend", N).add(y, "mousemove", G, v).add(y, "mouseup", N);
250
250
  }
251
- function X(y) {
252
- const T = y.nodeName || "";
253
- return v.includes(T);
251
+ function K(y) {
252
+ const A = y.nodeName || "";
253
+ return M.includes(A);
254
254
  }
255
- function rt() {
256
- return (d ? O : A)[Q ? "mouse" : "touch"];
255
+ function st() {
256
+ return (d ? F : D)[$ ? "mouse" : "touch"];
257
257
  }
258
- function st(y, T) {
259
- const C = l.add(Lt(y) * -1), w = h.byDistance(y, !d).distance;
260
- return d || M(y) < D ? w : S && T ? w * 0.5 : h.byIndex(C.get(), 0).distance;
258
+ function rt(y, A) {
259
+ const C = l.add(Tt(y) * -1), w = h.byDistance(y, !d).distance;
260
+ return d || P(y) < I ? w : g && A ? w * 0.5 : h.byIndex(C.get(), 0).distance;
261
261
  }
262
262
  function z(y) {
263
- const T = bt(y, s);
264
- Q = T, _ = d && T && !y.buttons && Y, Y = it(i.get(), o.get()) >= 2, !(T && y.button !== 0) && (X(y.target) || (J = !0, e.pointerDown(y), u.useFriction(0).useDuration(0), i.set(o), et(), B = e.readPoint(y), U = e.readPoint(y, b), m.emit("pointerDown")));
263
+ const A = Lt(y, s);
264
+ $ = A, J = d && A && !y.buttons && _, _ = ut(c.get(), e.get()) >= 2, !(A && y.button !== 0) && (K(y.target) || (W = !0, o.pointerDown(y), u.useFriction(0).useDuration(0), c.set(e), et(), B = o.readPoint(y), q = o.readPoint(y, x), p.emit("pointerDown")));
265
265
  }
266
- function R(y) {
267
- if (!bt(y, s) && y.touches.length >= 2) return N(y);
268
- const C = e.readPoint(y), w = e.readPoint(y, b), q = it(C, B), H = it(w, U);
269
- if (!$ && !Q && (!y.cancelable || ($ = q > H, !$)))
266
+ function G(y) {
267
+ if (!Lt(y, s) && y.touches.length >= 2) return N(y);
268
+ const C = o.readPoint(y), w = o.readPoint(y, x), j = ut(C, B), X = ut(w, q);
269
+ if (!U && !$ && (!y.cancelable || (U = j > X, !U)))
270
270
  return N(y);
271
- const G = e.pointerMove(y);
272
- q > p && (_ = !0), u.useFriction(0.3).useDuration(0.75), f.start(), i.add(L(G)), y.preventDefault();
271
+ const R = o.pointerMove(y);
272
+ j > m && (J = !0), u.useFriction(0.3).useDuration(0.75), f.start(), c.add(T(R)), y.preventDefault();
273
273
  }
274
274
  function N(y) {
275
- const C = h.byDistance(0, !1).index !== l.get(), w = e.pointerUp(y) * rt(), q = st(L(w), C), H = Ut(w, q), G = V - 10 * H, W = a + H / 50;
276
- $ = !1, J = !1, I.clear(), u.useDuration(G).useFriction(W), c.distance(q, !d), Q = !1, m.emit("pointerUp");
275
+ const C = h.byDistance(0, !1).index !== l.get(), w = o.pointerUp(y) * st(), j = rt(T(w), C), X = Xt(w, j), R = V - 10 * X, Y = a + X / 50;
276
+ U = !1, W = !1, E.clear(), u.useDuration(R).useFriction(Y), i.distance(j, !d), $ = !1, p.emit("pointerUp");
277
277
  }
278
278
  function ot(y) {
279
- _ && (y.stopPropagation(), y.preventDefault(), _ = !1);
279
+ J && (y.stopPropagation(), y.preventDefault(), J = !1);
280
280
  }
281
281
  function k() {
282
- return J;
282
+ return W;
283
283
  }
284
284
  return {
285
- init: Z,
286
- destroy: K,
285
+ init: tt,
286
+ destroy: Q,
287
287
  pointerDown: k
288
288
  };
289
289
  }
290
- function Yt(t, n) {
291
- let s, i;
292
- function e(l) {
290
+ function Wt(t, n) {
291
+ let s, c;
292
+ function o(l) {
293
293
  return l.timeStamp;
294
294
  }
295
- function o(l, m) {
296
- const d = `client${(m || t.scroll) === "x" ? "X" : "Y"}`;
297
- return (bt(l, n) ? l : l.touches[0])[d];
295
+ function e(l, p) {
296
+ const d = `client${(p || t.scroll) === "x" ? "X" : "Y"}`;
297
+ return (Lt(l, n) ? l : l.touches[0])[d];
298
298
  }
299
299
  function f(l) {
300
- return s = l, i = l, o(l);
300
+ return s = l, c = l, e(l);
301
301
  }
302
- function c(l) {
303
- const m = o(l) - o(i), x = e(l) - e(s) > 170;
304
- return i = l, x && (s = l), m;
302
+ function i(l) {
303
+ const p = e(l) - e(c), b = o(l) - o(s) > 170;
304
+ return c = l, b && (s = l), p;
305
305
  }
306
306
  function u(l) {
307
- if (!s || !i) return 0;
308
- const m = o(i) - o(s), x = e(l) - e(s), d = e(l) - e(i) > 170, p = m / x;
309
- return x && !d && M(p) > 0.1 ? p : 0;
307
+ if (!s || !c) return 0;
308
+ const p = e(c) - e(s), b = o(l) - o(s), d = o(l) - o(c) > 170, m = p / b;
309
+ return b && !d && P(m) > 0.1 ? m : 0;
310
310
  }
311
311
  return {
312
312
  pointerDown: f,
313
- pointerMove: c,
313
+ pointerMove: i,
314
314
  pointerUp: u,
315
- readPoint: o
315
+ readPoint: e
316
316
  };
317
317
  }
318
- function _t() {
318
+ function tn() {
319
319
  function t(r) {
320
320
  const {
321
321
  offsetTop: s,
322
- offsetLeft: i,
323
- offsetWidth: e,
324
- offsetHeight: o
322
+ offsetLeft: c,
323
+ offsetWidth: o,
324
+ offsetHeight: e
325
325
  } = r;
326
326
  return {
327
327
  top: s,
328
- right: i + e,
329
- bottom: s + o,
330
- left: i,
331
- width: e,
332
- height: o
328
+ right: c + o,
329
+ bottom: s + e,
330
+ left: c,
331
+ width: o,
332
+ height: e
333
333
  };
334
334
  }
335
335
  return {
336
336
  measure: t
337
337
  };
338
338
  }
339
- function Jt(t) {
339
+ function nn(t) {
340
340
  function n(s) {
341
341
  return t * (s / 100);
342
342
  }
@@ -344,208 +344,211 @@ function Jt(t) {
344
344
  measure: n
345
345
  };
346
346
  }
347
- function Zt(t, n, r, s, i, e, o) {
348
- let f, c, u = [], h = !1;
349
- function l(p) {
350
- return i.measureSize(o.measure(p));
351
- }
352
- function m(p) {
353
- if (!e) return;
354
- c = l(t), u = s.map(l);
355
- function S(g) {
356
- for (const b of g) {
357
- const L = b.target === t, v = s.indexOf(b.target), F = L ? c : u[v], E = l(L ? t : s[v]);
358
- if (M(E - F) >= 0.5) {
359
- r.requestAnimationFrame(() => {
360
- p.reInit(), n.emit("resize");
361
- });
347
+ function en(t, n, r, s, c, o, e) {
348
+ const f = [t].concat(s);
349
+ let i, u, h = [], l = !1;
350
+ function p(g) {
351
+ return c.measureSize(e.measure(g));
352
+ }
353
+ function b(g) {
354
+ if (!o) return;
355
+ u = p(t), h = s.map(p);
356
+ function a(S) {
357
+ for (const x of S) {
358
+ if (l) return;
359
+ const T = x.target === t, M = s.indexOf(x.target), v = T ? u : h[M], L = p(T ? t : s[M]);
360
+ if (P(L - v) >= 0.5) {
361
+ g.reInit(), n.emit("resize");
362
362
  break;
363
363
  }
364
364
  }
365
365
  }
366
- f = new ResizeObserver((g) => {
367
- h || (Et(e) || e(p, g)) && S(g);
368
- }), [t].concat(s).forEach((g) => f.observe(g));
366
+ i = new ResizeObserver((S) => {
367
+ (It(o) || o(g, S)) && a(S);
368
+ }), r.requestAnimationFrame(() => {
369
+ f.forEach((S) => i.observe(S));
370
+ });
369
371
  }
370
- function x() {
371
- f && f.disconnect(), h = !0;
372
+ function d() {
373
+ l = !0, i && i.disconnect();
372
374
  }
373
375
  return {
374
- init: m,
375
- destroy: x
376
+ init: b,
377
+ destroy: d
376
378
  };
377
379
  }
378
- function Wt(t, n, r, s, i) {
379
- let e = 0, o = 0, f = s, c = i, u = t.get(), h = 0;
380
- function l() {
381
- const v = r.get() - t.get(), F = !f;
382
- let E = 0;
383
- return F ? (e = 0, t.set(r), E = v) : (e += v / f, e *= c, u += e, t.add(e), E = u - h), o = Lt(E), h = u, L;
380
+ function on(t, n, r, s, c, o) {
381
+ let e = 0, f = 0, i = c, u = o, h = t.get(), l = 0;
382
+ function p(v) {
383
+ const L = v / 1e3, E = i * L, I = s.get() - t.get(), D = !i;
384
+ let F = 0;
385
+ return D ? (e = 0, r.set(s), t.set(s), F = I) : (r.set(t), e += I / E, e *= u, h += e, t.add(e * L), F = h - l), f = Tt(F), l = h, M;
384
386
  }
385
- function m() {
386
- const v = r.get() - n.get();
387
- return M(v) < 1e-3;
388
- }
389
- function x() {
390
- return f;
387
+ function b() {
388
+ const v = s.get() - n.get();
389
+ return P(v) < 1e-3;
391
390
  }
392
391
  function d() {
393
- return o;
392
+ return i;
394
393
  }
395
- function p() {
396
- return e;
394
+ function m() {
395
+ return f;
397
396
  }
398
- function S() {
399
- return g(s);
397
+ function g() {
398
+ return e;
400
399
  }
401
400
  function a() {
402
- return b(i);
403
- }
404
- function g(v) {
405
- return f = v, L;
406
- }
407
- function b(v) {
408
- return c = v, L;
409
- }
410
- const L = {
411
- direction: d,
412
- duration: x,
413
- velocity: p,
414
- seek: l,
415
- settled: m,
416
- useBaseFriction: a,
417
- useBaseDuration: S,
418
- useFriction: b,
419
- useDuration: g
401
+ return x(c);
402
+ }
403
+ function S() {
404
+ return T(o);
405
+ }
406
+ function x(v) {
407
+ return i = v, M;
408
+ }
409
+ function T(v) {
410
+ return u = v, M;
411
+ }
412
+ const M = {
413
+ direction: m,
414
+ duration: d,
415
+ velocity: g,
416
+ seek: p,
417
+ settled: b,
418
+ useBaseFriction: S,
419
+ useBaseDuration: a,
420
+ useFriction: T,
421
+ useDuration: x
420
422
  };
421
- return L;
423
+ return M;
422
424
  }
423
- function tn(t, n, r, s, i) {
424
- const e = i.measure(10), o = i.measure(50), f = nt(0.1, 0.99);
425
- let c = !1;
425
+ function sn(t, n, r, s, c) {
426
+ const o = c.measure(10), e = c.measure(50), f = nt(0.1, 0.99);
427
+ let i = !1;
426
428
  function u() {
427
- return !(c || !t.reachedAny(r.get()) || !t.reachedAny(n.get()));
429
+ return !(i || !t.reachedAny(r.get()) || !t.reachedAny(n.get()));
428
430
  }
429
- function h(x) {
431
+ function h(b) {
430
432
  if (!u()) return;
431
- const d = t.reachedMin(n.get()) ? "min" : "max", p = M(t[d] - n.get()), S = r.get() - n.get(), a = f.constrain(p / o);
432
- r.subtract(S * a), !x && M(S) < e && (r.set(t.constrain(r.get())), s.useDuration(25).useBaseFriction());
433
+ const d = t.reachedMin(n.get()) ? "min" : "max", m = P(t[d] - n.get()), g = r.get() - n.get(), a = f.constrain(m / e);
434
+ r.subtract(g * a), !b && P(g) < o && (r.set(t.constrain(r.get())), s.useDuration(25).useBaseFriction());
433
435
  }
434
- function l(x) {
435
- c = !x;
436
+ function l(b) {
437
+ i = !b;
436
438
  }
437
439
  return {
440
+ shouldConstrain: u,
438
441
  constrain: h,
439
442
  toggleActive: l
440
443
  };
441
444
  }
442
- function nn(t, n, r, s, i) {
443
- const e = nt(-n + t, 0), o = l(), f = h(), c = m();
444
- function u(d, p) {
445
- return it(d, p) < 1;
445
+ function rn(t, n, r, s, c) {
446
+ const o = nt(-n + t, 0), e = l(), f = h(), i = p();
447
+ function u(d, m) {
448
+ return ut(d, m) < 1;
446
449
  }
447
450
  function h() {
448
- const d = o[0], p = j(o), S = o.lastIndexOf(d), a = o.indexOf(p) + 1;
449
- return nt(S, a);
451
+ const d = e[0], m = H(e), g = e.lastIndexOf(d), a = e.indexOf(m) + 1;
452
+ return nt(g, a);
450
453
  }
451
454
  function l() {
452
- return r.map((d, p) => {
455
+ return r.map((d, m) => {
453
456
  const {
454
- min: S,
457
+ min: g,
455
458
  max: a
456
- } = e, g = e.constrain(d), b = !p, L = It(r, p);
457
- return b ? a : L || u(S, g) ? S : u(a, g) ? a : g;
459
+ } = o, S = o.constrain(d), x = !m, T = vt(r, m);
460
+ return x ? a : T || u(g, S) ? g : u(a, S) ? a : S;
458
461
  }).map((d) => parseFloat(d.toFixed(3)));
459
462
  }
460
- function m() {
461
- if (n <= t + i) return [e.max];
462
- if (s === "keepSnaps") return o;
463
+ function p() {
464
+ if (n <= t + c) return [o.max];
465
+ if (s === "keepSnaps") return e;
463
466
  const {
464
467
  min: d,
465
- max: p
468
+ max: m
466
469
  } = f;
467
- return o.slice(d, p);
470
+ return e.slice(d, m);
468
471
  }
469
472
  return {
470
- snapsContained: c,
473
+ snapsContained: i,
471
474
  scrollContainLimit: f
472
475
  };
473
476
  }
474
- function en(t, n, r) {
475
- const s = n[0], i = r ? s - t : j(n);
477
+ function cn(t, n, r) {
478
+ const s = n[0], c = r ? s - t : H(n);
476
479
  return {
477
- limit: nt(i, s)
480
+ limit: nt(c, s)
478
481
  };
479
482
  }
480
- function on(t, n, r, s) {
481
- const e = n.min + 0.1, o = n.max + 0.1, {
483
+ function un(t, n, r, s) {
484
+ const o = n.min + 0.1, e = n.max + 0.1, {
482
485
  reachedMin: f,
483
- reachedMax: c
484
- } = nt(e, o);
485
- function u(m) {
486
- return m === 1 ? c(r.get()) : m === -1 ? f(r.get()) : !1;
486
+ reachedMax: i
487
+ } = nt(o, e);
488
+ function u(p) {
489
+ return p === 1 ? i(r.get()) : p === -1 ? f(r.get()) : !1;
487
490
  }
488
- function h(m) {
489
- if (!u(m)) return;
490
- const x = t * (m * -1);
491
- s.forEach((d) => d.add(x));
491
+ function h(p) {
492
+ if (!u(p)) return;
493
+ const b = t * (p * -1);
494
+ s.forEach((d) => d.add(b));
492
495
  }
493
496
  return {
494
497
  loop: h
495
498
  };
496
499
  }
497
- function rn(t) {
500
+ function fn(t) {
498
501
  const {
499
502
  max: n,
500
503
  length: r
501
504
  } = t;
502
- function s(e) {
503
- const o = e - n;
504
- return r ? o / -r : 0;
505
+ function s(o) {
506
+ const e = o - n;
507
+ return r ? e / -r : 0;
505
508
  }
506
509
  return {
507
510
  get: s
508
511
  };
509
512
  }
510
- function sn(t, n, r, s, i) {
513
+ function an(t, n, r, s, c) {
511
514
  const {
512
- startEdge: e,
513
- endEdge: o
515
+ startEdge: o,
516
+ endEdge: e
514
517
  } = t, {
515
518
  groupSlides: f
516
- } = i, c = l().map(n.measure), u = m(), h = x();
519
+ } = c, i = l().map(n.measure), u = p(), h = b();
517
520
  function l() {
518
- return f(s).map((p) => j(p)[o] - p[0][e]).map(M);
521
+ return f(s).map((m) => H(m)[e] - m[0][o]).map(P);
519
522
  }
520
- function m() {
521
- return s.map((p) => r[e] - p[e]).map((p) => -M(p));
523
+ function p() {
524
+ return s.map((m) => r[o] - m[o]).map((m) => -P(m));
522
525
  }
523
- function x() {
524
- return f(u).map((p) => p[0]).map((p, S) => p + c[S]);
526
+ function b() {
527
+ return f(u).map((m) => m[0]).map((m, g) => m + i[g]);
525
528
  }
526
529
  return {
527
530
  snaps: u,
528
531
  snapsAligned: h
529
532
  };
530
533
  }
531
- function cn(t, n, r, s, i, e) {
534
+ function ln(t, n, r, s, c, o) {
532
535
  const {
533
- groupSlides: o
534
- } = i, {
536
+ groupSlides: e
537
+ } = c, {
535
538
  min: f,
536
- max: c
539
+ max: i
537
540
  } = s, u = h();
538
541
  function h() {
539
- const m = o(e), x = !t || n === "keepSnaps";
540
- return r.length === 1 ? [e] : x ? m : m.slice(f, c).map((d, p, S) => {
541
- const a = !p, g = It(S, p);
542
+ const p = e(o), b = !t || n === "keepSnaps";
543
+ return r.length === 1 ? [o] : b ? p : p.slice(f, i).map((d, m, g) => {
544
+ const a = !m, S = vt(g, m);
542
545
  if (a) {
543
- const b = j(S[0]) + 1;
544
- return Ot(b);
546
+ const x = H(g[0]) + 1;
547
+ return Vt(x);
545
548
  }
546
- if (g) {
547
- const b = at(e) - j(S)[0] + 1;
548
- return Ot(b, j(S)[0]);
549
+ if (S) {
550
+ const x = dt(o) - H(g)[0] + 1;
551
+ return Vt(x, H(g)[0]);
549
552
  }
550
553
  return d;
551
554
  });
@@ -554,427 +557,431 @@ function cn(t, n, r, s, i, e) {
554
557
  slideRegistry: u
555
558
  };
556
559
  }
557
- function un(t, n, r, s, i) {
560
+ function dn(t, n, r, s, c) {
558
561
  const {
559
- reachedAny: e,
560
- removeOffset: o,
562
+ reachedAny: o,
563
+ removeOffset: e,
561
564
  constrain: f
562
565
  } = s;
563
- function c(d) {
564
- return d.concat().sort((p, S) => M(p) - M(S))[0];
566
+ function i(d) {
567
+ return d.concat().sort((m, g) => P(m) - P(g))[0];
565
568
  }
566
569
  function u(d) {
567
- const p = t ? o(d) : f(d), S = n.map((g, b) => ({
568
- diff: h(g - p, 0),
569
- index: b
570
- })).sort((g, b) => M(g.diff) - M(b.diff)), {
570
+ const m = t ? e(d) : f(d), g = n.map((S, x) => ({
571
+ diff: h(S - m, 0),
572
+ index: x
573
+ })).sort((S, x) => P(S.diff) - P(x.diff)), {
571
574
  index: a
572
- } = S[0];
575
+ } = g[0];
573
576
  return {
574
577
  index: a,
575
- distance: p
578
+ distance: m
576
579
  };
577
580
  }
578
- function h(d, p) {
579
- const S = [d, d + r, d - r];
581
+ function h(d, m) {
582
+ const g = [d, d + r, d - r];
580
583
  if (!t) return d;
581
- if (!p) return c(S);
582
- const a = S.filter((g) => Lt(g) === p);
583
- return a.length ? c(a) : j(S) - r;
584
+ if (!m) return i(g);
585
+ const a = g.filter((S) => Tt(S) === m);
586
+ return a.length ? i(a) : H(g) - r;
584
587
  }
585
- function l(d, p) {
586
- const S = n[d] - i.get(), a = h(S, p);
588
+ function l(d, m) {
589
+ const g = n[d] - c.get(), a = h(g, m);
587
590
  return {
588
591
  index: d,
589
592
  distance: a
590
593
  };
591
594
  }
592
- function m(d, p) {
593
- const S = i.get() + d, {
595
+ function p(d, m) {
596
+ const g = c.get() + d, {
594
597
  index: a,
595
- distance: g
596
- } = u(S), b = !t && e(S);
597
- if (!p || b) return {
598
+ distance: S
599
+ } = u(g), x = !t && o(g);
600
+ if (!m || x) return {
598
601
  index: a,
599
602
  distance: d
600
603
  };
601
- const L = n[a] - g, v = d + h(L, 0);
604
+ const T = n[a] - S, M = d + h(T, 0);
602
605
  return {
603
606
  index: a,
604
- distance: v
607
+ distance: M
605
608
  };
606
609
  }
607
610
  return {
608
- byDistance: m,
611
+ byDistance: p,
609
612
  byIndex: l,
610
613
  shortcut: h
611
614
  };
612
615
  }
613
- function fn(t, n, r, s, i, e, o) {
616
+ function pn(t, n, r, s, c, o, e) {
614
617
  function f(l) {
615
- const m = l.distance, x = l.index !== n.get();
616
- e.add(m), m && (s.duration() ? t.start() : (t.update(), t.render(1), t.update())), x && (r.set(n.get()), n.set(l.index), o.emit("select"));
618
+ const p = l.distance, b = l.index !== n.get();
619
+ o.add(p), p && (s.duration() ? t.start() : (t.update(), t.render(1), t.update())), b && (r.set(n.get()), n.set(l.index), e.emit("select"));
617
620
  }
618
- function c(l, m) {
619
- const x = i.byDistance(l, m);
620
- f(x);
621
+ function i(l, p) {
622
+ const b = c.byDistance(l, p);
623
+ f(b);
621
624
  }
622
- function u(l, m) {
623
- const x = n.clone().set(l), d = i.byIndex(x.get(), m);
625
+ function u(l, p) {
626
+ const b = n.clone().set(l), d = c.byIndex(b.get(), p);
624
627
  f(d);
625
628
  }
626
629
  return {
627
- distance: c,
630
+ distance: i,
628
631
  index: u
629
632
  };
630
633
  }
631
- function an(t, n, r, s, i, e, o) {
634
+ function mn(t, n, r, s, c, o, e) {
632
635
  let f = 0;
633
- function c() {
634
- e.add(document, "keydown", u, !1), n.forEach(h);
636
+ function i() {
637
+ o.add(document, "keydown", u, !1), n.forEach(h);
635
638
  }
636
- function u(m) {
637
- m.code === "Tab" && (f = (/* @__PURE__ */ new Date()).getTime());
639
+ function u(p) {
640
+ p.code === "Tab" && (f = (/* @__PURE__ */ new Date()).getTime());
638
641
  }
639
- function h(m) {
640
- const x = () => {
642
+ function h(p) {
643
+ const b = () => {
641
644
  if ((/* @__PURE__ */ new Date()).getTime() - f > 10) return;
642
645
  t.scrollLeft = 0;
643
- const S = n.indexOf(m), a = r.findIndex((g) => g.includes(S));
644
- xt(a) && (i.useDuration(0), s.index(a, 0), o.emit("slideFocus"));
646
+ const g = n.indexOf(p), a = r.findIndex((S) => S.includes(g));
647
+ Et(a) && (c.useDuration(0), s.index(a, 0), e.emit("slideFocus"));
645
648
  };
646
- e.add(m, "focus", x, {
649
+ o.add(p, "focus", b, {
647
650
  passive: !0,
648
651
  capture: !0
649
652
  });
650
653
  }
651
654
  return {
652
- init: c
655
+ init: i
653
656
  };
654
657
  }
655
- function dt(t) {
658
+ function ct(t) {
656
659
  let n = t;
657
660
  function r() {
658
661
  return n;
659
662
  }
660
- function s(c) {
661
- n = o(c);
663
+ function s(i) {
664
+ n = e(i);
662
665
  }
663
- function i(c) {
664
- n += o(c);
666
+ function c(i) {
667
+ n += e(i);
665
668
  }
666
- function e(c) {
667
- n -= o(c);
669
+ function o(i) {
670
+ n -= e(i);
668
671
  }
669
- function o(c) {
670
- return xt(c) ? c : c.get();
672
+ function e(i) {
673
+ return Et(i) ? i : i.get();
671
674
  }
672
675
  return {
673
676
  get: r,
674
677
  set: s,
675
- add: i,
676
- subtract: e
678
+ add: c,
679
+ subtract: o
677
680
  };
678
681
  }
679
- function Nt(t, n) {
680
- const r = t.scroll === "x" ? e : o, s = n.style;
681
- let i = !1;
682
- function e(l) {
682
+ function kt(t, n) {
683
+ const r = t.scroll === "x" ? o : e, s = n.style;
684
+ let c = !1;
685
+ function o(l) {
683
686
  return `translate3d(${l}px,0px,0px)`;
684
687
  }
685
- function o(l) {
688
+ function e(l) {
686
689
  return `translate3d(0px,${l}px,0px)`;
687
690
  }
688
691
  function f(l) {
689
- i || (s.transform = r(t.direction(l)));
692
+ c || (s.transform = r(t.direction(l)));
690
693
  }
691
- function c(l) {
692
- i = !l;
694
+ function i(l) {
695
+ c = !l;
693
696
  }
694
697
  function u() {
695
- i || (s.transform = "", n.getAttribute("style") || n.removeAttribute("style"));
698
+ c || (s.transform = "", n.getAttribute("style") || n.removeAttribute("style"));
696
699
  }
697
700
  return {
698
701
  clear: u,
699
702
  to: f,
700
- toggleActive: c
703
+ toggleActive: i
701
704
  };
702
705
  }
703
- function ln(t, n, r, s, i, e, o, f, c) {
704
- const h = ct(i), l = ct(i).reverse(), m = a().concat(g());
705
- function x(E, I) {
706
- return E.reduce((D, A) => D - i[A], I);
707
- }
708
- function d(E, I) {
709
- return E.reduce((D, A) => x(D, I) > 0 ? D.concat([A]) : D, []);
710
- }
711
- function p(E) {
712
- return e.map((I, D) => ({
713
- start: I - s[D] + 0.5 + E,
714
- end: I + n - 0.5 + E
706
+ function gn(t, n, r, s, c, o, e, f, i) {
707
+ const h = ft(c), l = ft(c).reverse(), p = a().concat(S());
708
+ function b(L, E) {
709
+ return L.reduce((I, D) => I - c[D], E);
710
+ }
711
+ function d(L, E) {
712
+ return L.reduce((I, D) => b(I, E) > 0 ? I.concat([D]) : I, []);
713
+ }
714
+ function m(L) {
715
+ return o.map((E, I) => ({
716
+ start: E - s[I] + 0.5 + L,
717
+ end: E + n - 0.5 + L
715
718
  }));
716
719
  }
717
- function S(E, I, D) {
718
- const A = p(I);
719
- return E.map((O) => {
720
- const V = D ? 0 : -r, Y = D ? r : 0, B = D ? "end" : "start", U = A[O][B];
720
+ function g(L, E, I) {
721
+ const D = m(E);
722
+ return L.map((F) => {
723
+ const V = I ? 0 : -r, _ = I ? r : 0, B = I ? "end" : "start", q = D[F][B];
721
724
  return {
722
- index: O,
723
- loopPoint: U,
724
- slideLocation: dt(-1),
725
- translate: Nt(t, c[O]),
726
- target: () => f.get() > U ? V : Y
725
+ index: F,
726
+ loopPoint: q,
727
+ slideLocation: ct(-1),
728
+ translate: kt(t, i[F]),
729
+ target: () => f.get() > q ? V : _
727
730
  };
728
731
  });
729
732
  }
730
733
  function a() {
731
- const E = o[0], I = d(l, E);
732
- return S(I, r, !1);
734
+ const L = e[0], E = d(l, L);
735
+ return g(E, r, !1);
733
736
  }
734
- function g() {
735
- const E = n - o[0] - 1, I = d(h, E);
736
- return S(I, -r, !0);
737
+ function S() {
738
+ const L = n - e[0] - 1, E = d(h, L);
739
+ return g(E, -r, !0);
737
740
  }
738
- function b() {
739
- return m.every(({
740
- index: E
741
+ function x() {
742
+ return p.every(({
743
+ index: L
741
744
  }) => {
742
- const I = h.filter((D) => D !== E);
743
- return x(I, n) <= 0.1;
745
+ const E = h.filter((I) => I !== L);
746
+ return b(E, n) <= 0.1;
744
747
  });
745
748
  }
746
- function L() {
747
- m.forEach((E) => {
749
+ function T() {
750
+ p.forEach((L) => {
748
751
  const {
749
- target: I,
750
- translate: D,
751
- slideLocation: A
752
- } = E, O = I();
753
- O !== A.get() && (D.to(O), A.set(O));
752
+ target: E,
753
+ translate: I,
754
+ slideLocation: D
755
+ } = L, F = E();
756
+ F !== D.get() && (I.to(F), D.set(F));
754
757
  });
755
758
  }
756
- function v() {
757
- m.forEach((E) => E.translate.clear());
759
+ function M() {
760
+ p.forEach((L) => L.translate.clear());
758
761
  }
759
762
  return {
760
- canLoop: b,
761
- clear: v,
762
- loop: L,
763
- loopPoints: m
763
+ canLoop: x,
764
+ clear: M,
765
+ loop: T,
766
+ loopPoints: p
764
767
  };
765
768
  }
766
- function dn(t, n, r) {
767
- let s, i = !1;
768
- function e(c) {
769
+ function hn(t, n, r) {
770
+ let s, c = !1;
771
+ function o(i) {
769
772
  if (!r) return;
770
773
  function u(h) {
771
774
  for (const l of h)
772
775
  if (l.type === "childList") {
773
- c.reInit(), n.emit("slidesChanged");
776
+ i.reInit(), n.emit("slidesChanged");
774
777
  break;
775
778
  }
776
779
  }
777
780
  s = new MutationObserver((h) => {
778
- i || (Et(r) || r(c, h)) && u(h);
781
+ c || (It(r) || r(i, h)) && u(h);
779
782
  }), s.observe(t, {
780
783
  childList: !0
781
784
  });
782
785
  }
783
- function o() {
784
- s && s.disconnect(), i = !0;
786
+ function e() {
787
+ s && s.disconnect(), c = !0;
785
788
  }
786
789
  return {
787
- init: e,
788
- destroy: o
790
+ init: o,
791
+ destroy: e
789
792
  };
790
793
  }
791
- function pn(t, n, r, s) {
792
- const i = {};
793
- let e = null, o = null, f, c = !1;
794
+ function Sn(t, n, r, s) {
795
+ const c = {};
796
+ let o = null, e = null, f, i = !1;
794
797
  function u() {
795
798
  f = new IntersectionObserver((d) => {
796
- c || (d.forEach((p) => {
797
- const S = n.indexOf(p.target);
798
- i[S] = p;
799
- }), e = null, o = null, r.emit("slidesInView"));
799
+ i || (d.forEach((m) => {
800
+ const g = n.indexOf(m.target);
801
+ c[g] = m;
802
+ }), o = null, e = null, r.emit("slidesInView"));
800
803
  }, {
801
804
  root: t.parentElement,
802
805
  threshold: s
803
806
  }), n.forEach((d) => f.observe(d));
804
807
  }
805
808
  function h() {
806
- f && f.disconnect(), c = !0;
809
+ f && f.disconnect(), i = !0;
807
810
  }
808
811
  function l(d) {
809
- return ut(i).reduce((p, S) => {
810
- const a = parseInt(S), {
811
- isIntersecting: g
812
- } = i[a];
813
- return (d && g || !d && !g) && p.push(a), p;
812
+ return at(c).reduce((m, g) => {
813
+ const a = parseInt(g), {
814
+ isIntersecting: S
815
+ } = c[a];
816
+ return (d && S || !d && !S) && m.push(a), m;
814
817
  }, []);
815
818
  }
816
- function m(d = !0) {
817
- if (d && e) return e;
818
- if (!d && o) return o;
819
- const p = l(d);
820
- return d && (e = p), d || (o = p), p;
819
+ function p(d = !0) {
820
+ if (d && o) return o;
821
+ if (!d && e) return e;
822
+ const m = l(d);
823
+ return d && (o = m), d || (e = m), m;
821
824
  }
822
825
  return {
823
826
  init: u,
824
827
  destroy: h,
825
- get: m
828
+ get: p
826
829
  };
827
830
  }
828
- function mn(t, n, r, s, i, e) {
831
+ function yn(t, n, r, s, c, o) {
829
832
  const {
830
- measureSize: o,
833
+ measureSize: e,
831
834
  startEdge: f,
832
- endEdge: c
833
- } = t, u = r[0] && i, h = d(), l = p(), m = r.map(o), x = S();
835
+ endEdge: i
836
+ } = t, u = r[0] && c, h = d(), l = m(), p = r.map(e), b = g();
834
837
  function d() {
835
838
  if (!u) return 0;
836
- const g = r[0];
837
- return M(n[f] - g[f]);
839
+ const S = r[0];
840
+ return P(n[f] - S[f]);
838
841
  }
839
- function p() {
842
+ function m() {
840
843
  if (!u) return 0;
841
- const g = e.getComputedStyle(j(s));
842
- return parseFloat(g.getPropertyValue(`margin-${c}`));
844
+ const S = o.getComputedStyle(H(s));
845
+ return parseFloat(S.getPropertyValue(`margin-${i}`));
843
846
  }
844
- function S() {
845
- return r.map((g, b, L) => {
846
- const v = !b, F = It(L, b);
847
- return v ? m[b] + h : F ? m[b] + l : L[b + 1][f] - g[f];
848
- }).map(M);
847
+ function g() {
848
+ return r.map((S, x, T) => {
849
+ const M = !x, v = vt(T, x);
850
+ return M ? p[x] + h : v ? p[x] + l : T[x + 1][f] - S[f];
851
+ }).map(P);
849
852
  }
850
853
  return {
851
- slideSizes: m,
852
- slideSizesWithGaps: x,
854
+ slideSizes: p,
855
+ slideSizesWithGaps: b,
853
856
  startGap: h,
854
857
  endGap: l
855
858
  };
856
859
  }
857
- function gn(t, n, r, s, i, e, o, f, c) {
860
+ function xn(t, n, r, s, c, o, e, f, i) {
858
861
  const {
859
862
  startEdge: u,
860
863
  endEdge: h,
861
864
  direction: l
862
- } = t, m = xt(r);
863
- function x(a, g) {
864
- return ct(a).filter((b) => b % g === 0).map((b) => a.slice(b, b + g));
865
+ } = t, p = Et(r);
866
+ function b(a, S) {
867
+ return ft(a).filter((x) => x % S === 0).map((x) => a.slice(x, x + S));
865
868
  }
866
869
  function d(a) {
867
- return a.length ? ct(a).reduce((g, b, L) => {
868
- const v = j(g) || 0, F = v === 0, E = b === at(a), I = i[u] - e[v][u], D = i[u] - e[b][h], A = !s && F ? l(o) : 0, O = !s && E ? l(f) : 0, V = M(D - O - (I + A));
869
- return L && V > n + c && g.push(b), E && g.push(a.length), g;
870
- }, []).map((g, b, L) => {
871
- const v = Math.max(L[b - 1] || 0);
872
- return a.slice(v, g);
870
+ return a.length ? ft(a).reduce((S, x, T) => {
871
+ const M = H(S) || 0, v = M === 0, L = x === dt(a), E = c[u] - o[M][u], I = c[u] - o[x][h], D = !s && v ? l(e) : 0, F = !s && L ? l(f) : 0, V = P(I - F - (E + D));
872
+ return T && V > n + i && S.push(x), L && S.push(a.length), S;
873
+ }, []).map((S, x, T) => {
874
+ const M = Math.max(T[x - 1] || 0);
875
+ return a.slice(M, S);
873
876
  }) : [];
874
877
  }
875
- function p(a) {
876
- return m ? x(a, r) : d(a);
878
+ function m(a) {
879
+ return p ? b(a, r) : d(a);
877
880
  }
878
881
  return {
879
- groupSlides: p
882
+ groupSlides: m
880
883
  };
881
884
  }
882
- function hn(t, n, r, s, i, e, o) {
885
+ function bn(t, n, r, s, c, o, e) {
883
886
  const {
884
887
  align: f,
885
- axis: c,
888
+ axis: i,
886
889
  direction: u,
887
890
  startIndex: h,
888
891
  loop: l,
889
- duration: m,
890
- dragFree: x,
892
+ duration: p,
893
+ dragFree: b,
891
894
  dragThreshold: d,
892
- inViewThreshold: p,
893
- slidesToScroll: S,
895
+ inViewThreshold: m,
896
+ slidesToScroll: g,
894
897
  skipSnaps: a,
895
- containScroll: g,
896
- watchResize: b,
897
- watchSlides: L,
898
- watchDrag: v
899
- } = e, F = 2, E = _t(), I = E.measure(n), D = r.map(E.measure), A = Kt(c, u), O = A.measureSize(I), V = Jt(O), Y = $t(f, O), B = !l && !!g, U = l || !!g, {
900
- slideSizes: J,
901
- slideSizesWithGaps: $,
902
- startGap: _,
903
- endGap: Q
904
- } = mn(A, I, D, r, U, i), Z = gn(A, O, S, l, I, D, _, Q, F), {
905
- snaps: K,
898
+ containScroll: S,
899
+ watchResize: x,
900
+ watchSlides: T,
901
+ watchDrag: M
902
+ } = o, v = 2, L = tn(), E = L.measure(n), I = r.map(L.measure), D = Jt(i, u), F = D.measureSize(E), V = nn(F), _ = Yt(f, F), B = !l && !!S, q = l || !!S, {
903
+ slideSizes: W,
904
+ slideSizesWithGaps: U,
905
+ startGap: J,
906
+ endGap: $
907
+ } = yn(D, E, I, r, q, c), tt = xn(D, F, g, l, E, I, J, $, v), {
908
+ snaps: Q,
906
909
  snapsAligned: et
907
- } = sn(A, Y, I, D, Z), X = -j(K) + j($), {
908
- snapsContained: rt,
909
- scrollContainLimit: st
910
- } = nn(O, X, et, g, F), z = B ? rt : et, {
911
- limit: R
912
- } = en(X, z, l), N = wt(at(z), h, l), ot = N.clone(), k = ct(r), P = ({
913
- dragHandler: tt,
914
- scrollBody: ht,
915
- scrollBounds: St,
910
+ } = an(D, _, E, I, tt), K = -H(Q) + H(U), {
911
+ snapsContained: st,
912
+ scrollContainLimit: rt
913
+ } = rn(F, K, et, S, v), z = B ? st : et, {
914
+ limit: G
915
+ } = cn(K, z, l), N = Bt(dt(z), h, l), ot = N.clone(), k = ft(r), O = ({
916
+ dragHandler: Z,
917
+ scrollBody: St,
918
+ scrollBounds: yt,
916
919
  options: {
917
- loop: lt
920
+ loop: pt
918
921
  }
919
- }) => {
920
- lt || St.constrain(tt.pointerDown()), ht.seek();
922
+ }, xt) => {
923
+ pt || yt.constrain(Z.pointerDown()), St.seek(xt);
921
924
  }, y = ({
922
- scrollBody: tt,
923
- translate: ht,
924
- location: St,
925
- offsetLocation: lt,
926
- scrollLooper: kt,
927
- slideLooper: Ht,
928
- dragHandler: Gt,
929
- animation: jt,
930
- eventHandler: At,
925
+ scrollBody: Z,
926
+ translate: St,
927
+ location: yt,
928
+ offsetLocation: pt,
929
+ scrollLooper: xt,
930
+ slideLooper: Rt,
931
+ dragHandler: qt,
932
+ animation: Ut,
933
+ eventHandler: Ft,
934
+ scrollBounds: $t,
931
935
  options: {
932
- loop: Rt
936
+ loop: Pt
933
937
  }
934
- }, qt) => {
935
- const Mt = tt.velocity(), Ft = tt.settled();
936
- Ft && !Gt.pointerDown() && (jt.stop(), At.emit("settle")), Ft || At.emit("scroll"), lt.set(St.get() - Mt + Mt * qt), Rt && (kt.loop(tt.direction()), Ht.loop()), ht.to(lt.get());
937
- }, T = Qt(s, i, () => P(gt), (tt) => y(gt, tt)), C = 0.68, w = z[N.get()], q = dt(w), H = dt(w), G = dt(w), W = Wt(q, H, G, m, C), pt = un(l, z, X, R, G), mt = fn(T, N, ot, W, pt, G, o), vt = rn(R), Tt = ft(), zt = pn(n, r, o, p), {
938
- slideRegistry: Dt
939
- } = cn(B, g, z, st, Z, k), Bt = an(t, r, Dt, mt, W, Tt, o), gt = {
938
+ }, Ot) => {
939
+ const Ct = Z.settled(), Qt = !$t.shouldConstrain(), wt = Pt ? Ct : Ct && Qt;
940
+ wt && !qt.pointerDown() && (Ut.stop(), Ft.emit("settle")), wt || Ft.emit("scroll");
941
+ const Kt = yt.get() * Ot + X.get() * (1 - Ot);
942
+ pt.set(Kt), Pt && (xt.loop(Z.direction()), Rt.loop()), St.to(pt.get());
943
+ }, A = _t(s, c, (Z) => O(ht, Z), (Z) => y(ht, Z)), C = 0.68, w = z[N.get()], j = ct(w), X = ct(w), R = ct(w), Y = ct(w), it = on(j, R, X, Y, p, C), mt = dn(l, z, K, G, Y), gt = pn(A, N, ot, it, mt, Y, e), Dt = fn(G), At = lt(), Gt = Sn(n, r, e, m), {
944
+ slideRegistry: Mt
945
+ } = ln(B, S, z, rt, tt, k), jt = mn(t, r, Mt, gt, it, At, e), ht = {
940
946
  ownerDocument: s,
941
- ownerWindow: i,
942
- eventHandler: o,
943
- containerRect: I,
944
- slideRects: D,
945
- animation: T,
946
- axis: A,
947
- dragHandler: Xt(A, t, s, i, G, Yt(A, i), q, T, mt, W, pt, N, o, V, x, d, a, C, v),
948
- eventStore: Tt,
947
+ ownerWindow: c,
948
+ eventHandler: e,
949
+ containerRect: E,
950
+ slideRects: I,
951
+ animation: A,
952
+ axis: D,
953
+ dragHandler: Zt(D, t, s, c, Y, Wt(D, c), j, A, gt, it, mt, N, e, V, b, d, a, C, M),
954
+ eventStore: At,
949
955
  percentOfView: V,
950
956
  index: N,
951
957
  indexPrevious: ot,
952
- limit: R,
953
- location: q,
954
- offsetLocation: H,
955
- options: e,
956
- resizeHandler: Zt(n, o, i, r, A, b, E),
957
- scrollBody: W,
958
- scrollBounds: tn(R, H, G, W, V),
959
- scrollLooper: on(X, R, H, [q, H, G]),
960
- scrollProgress: vt,
961
- scrollSnapList: z.map(vt.get),
958
+ limit: G,
959
+ location: j,
960
+ offsetLocation: R,
961
+ previousLocation: X,
962
+ options: o,
963
+ resizeHandler: en(n, e, c, r, D, x, L),
964
+ scrollBody: it,
965
+ scrollBounds: sn(G, R, Y, it, V),
966
+ scrollLooper: un(K, G, R, [j, R, X, Y]),
967
+ scrollProgress: Dt,
968
+ scrollSnapList: z.map(Dt.get),
962
969
  scrollSnaps: z,
963
- scrollTarget: pt,
964
- scrollTo: mt,
965
- slideLooper: ln(A, O, X, J, $, K, z, H, r),
966
- slideFocus: Bt,
967
- slidesHandler: dn(n, o, L),
968
- slidesInView: zt,
970
+ scrollTarget: mt,
971
+ scrollTo: gt,
972
+ slideLooper: gn(D, F, K, W, U, Q, z, R, r),
973
+ slideFocus: jt,
974
+ slidesHandler: hn(n, e, T),
975
+ slidesInView: Gt,
969
976
  slideIndexes: k,
970
- slideRegistry: Dt,
971
- slidesToScroll: Z,
972
- target: G,
973
- translate: Nt(A, n)
977
+ slideRegistry: Mt,
978
+ slidesToScroll: tt,
979
+ target: Y,
980
+ translate: kt(D, n)
974
981
  };
975
- return gt;
982
+ return ht;
976
983
  }
977
- function Sn() {
984
+ function Ln() {
978
985
  let t = {}, n;
979
986
  function r(u) {
980
987
  n = u;
@@ -982,28 +989,28 @@ function Sn() {
982
989
  function s(u) {
983
990
  return t[u] || [];
984
991
  }
985
- function i(u) {
986
- return s(u).forEach((h) => h(n, u)), c;
987
- }
988
- function e(u, h) {
989
- return t[u] = s(u).concat([h]), c;
992
+ function c(u) {
993
+ return s(u).forEach((h) => h(n, u)), i;
990
994
  }
991
995
  function o(u, h) {
992
- return t[u] = s(u).filter((l) => l !== h), c;
996
+ return t[u] = s(u).concat([h]), i;
997
+ }
998
+ function e(u, h) {
999
+ return t[u] = s(u).filter((l) => l !== h), i;
993
1000
  }
994
1001
  function f() {
995
1002
  t = {};
996
1003
  }
997
- const c = {
1004
+ const i = {
998
1005
  init: r,
999
- emit: i,
1000
- off: o,
1001
- on: e,
1006
+ emit: c,
1007
+ off: e,
1008
+ on: o,
1002
1009
  clear: f
1003
1010
  };
1004
- return c;
1011
+ return i;
1005
1012
  }
1006
- const yn = {
1013
+ const En = {
1007
1014
  align: "center",
1008
1015
  axis: "x",
1009
1016
  container: null,
@@ -1024,16 +1031,16 @@ const yn = {
1024
1031
  watchResize: !0,
1025
1032
  watchSlides: !0
1026
1033
  };
1027
- function bn(t) {
1028
- function n(e, o) {
1029
- return Ct(e, o || {});
1034
+ function In(t) {
1035
+ function n(o, e) {
1036
+ return zt(o, e || {});
1030
1037
  }
1031
- function r(e) {
1032
- const o = e.breakpoints || {}, f = ut(o).filter((c) => t.matchMedia(c).matches).map((c) => o[c]).reduce((c, u) => n(c, u), {});
1033
- return n(e, f);
1038
+ function r(o) {
1039
+ const e = o.breakpoints || {}, f = at(e).filter((i) => t.matchMedia(i).matches).map((i) => e[i]).reduce((i, u) => n(i, u), {});
1040
+ return n(o, f);
1034
1041
  }
1035
- function s(e) {
1036
- return e.map((o) => ut(o.breakpoints || {})).reduce((o, f) => o.concat(f), []).map(t.matchMedia);
1042
+ function s(o) {
1043
+ return o.map((e) => at(e.breakpoints || {})).reduce((e, f) => e.concat(f), []).map(t.matchMedia);
1037
1044
  }
1038
1045
  return {
1039
1046
  mergeOptions: n,
@@ -1041,146 +1048,146 @@ function bn(t) {
1041
1048
  optionsMediaQueries: s
1042
1049
  };
1043
1050
  }
1044
- function xn(t) {
1051
+ function Tn(t) {
1045
1052
  let n = [];
1046
- function r(e, o) {
1047
- return n = o.filter(({
1053
+ function r(o, e) {
1054
+ return n = e.filter(({
1048
1055
  options: f
1049
- }) => t.optionsAtMedia(f).active !== !1), n.forEach((f) => f.init(e, t)), o.reduce((f, c) => Object.assign(f, {
1050
- [c.name]: c
1056
+ }) => t.optionsAtMedia(f).active !== !1), n.forEach((f) => f.init(o, t)), e.reduce((f, i) => Object.assign(f, {
1057
+ [i.name]: i
1051
1058
  }), {});
1052
1059
  }
1053
1060
  function s() {
1054
- n = n.filter((e) => e.destroy());
1061
+ n = n.filter((o) => o.destroy());
1055
1062
  }
1056
1063
  return {
1057
1064
  init: r,
1058
1065
  destroy: s
1059
1066
  };
1060
1067
  }
1061
- function Vt(t, n, r) {
1062
- const s = t.ownerDocument, i = s.defaultView, e = bn(i), o = xn(e), f = ft(), c = Sn(), {
1068
+ function Ht(t, n, r) {
1069
+ const s = t.ownerDocument, c = s.defaultView, o = In(c), e = Tn(o), f = lt(), i = Ln(), {
1063
1070
  mergeOptions: u,
1064
1071
  optionsAtMedia: h,
1065
1072
  optionsMediaQueries: l
1066
- } = e, {
1067
- on: m,
1068
- off: x,
1073
+ } = o, {
1074
+ on: p,
1075
+ off: b,
1069
1076
  emit: d
1070
- } = c, p = O;
1071
- let S = !1, a, g = u(yn, Vt.globalOptions), b = u(g), L = [], v, F, E;
1072
- function I() {
1077
+ } = i, m = F;
1078
+ let g = !1, a, S = u(En, Ht.globalOptions), x = u(S), T = [], M, v, L;
1079
+ function E() {
1073
1080
  const {
1074
- container: P,
1081
+ container: O,
1075
1082
  slides: y
1076
- } = b;
1077
- F = (yt(P) ? t.querySelector(P) : P) || t.children[0];
1078
- const C = yt(y) ? F.querySelectorAll(y) : y;
1079
- E = [].slice.call(C || F.children);
1080
- }
1081
- function D(P) {
1082
- const y = hn(t, F, E, s, i, P, c);
1083
- if (P.loop && !y.slideLooper.canLoop()) {
1084
- const T = Object.assign({}, P, {
1083
+ } = x;
1084
+ v = (bt(O) ? t.querySelector(O) : O) || t.children[0];
1085
+ const C = bt(y) ? v.querySelectorAll(y) : y;
1086
+ L = [].slice.call(C || v.children);
1087
+ }
1088
+ function I(O) {
1089
+ const y = bn(t, v, L, s, c, O, i);
1090
+ if (O.loop && !y.slideLooper.canLoop()) {
1091
+ const A = Object.assign({}, O, {
1085
1092
  loop: !1
1086
1093
  });
1087
- return D(T);
1094
+ return I(A);
1088
1095
  }
1089
1096
  return y;
1090
1097
  }
1091
- function A(P, y) {
1092
- S || (g = u(g, P), b = h(g), L = y || L, I(), a = D(b), l([g, ...L.map(({
1093
- options: T
1094
- }) => T)]).forEach((T) => f.add(T, "change", O)), b.active && (a.translate.to(a.location.get()), a.animation.init(), a.slidesInView.init(), a.slideFocus.init(), a.eventHandler.init(k), a.resizeHandler.init(k), a.slidesHandler.init(k), a.options.loop && a.slideLooper.loop(), F.offsetParent && E.length && a.dragHandler.init(k), v = o.init(k, L)));
1098
+ function D(O, y) {
1099
+ g || (S = u(S, O), x = h(S), T = y || T, E(), a = I(x), l([S, ...T.map(({
1100
+ options: A
1101
+ }) => A)]).forEach((A) => f.add(A, "change", F)), x.active && (a.translate.to(a.location.get()), a.animation.init(), a.slidesInView.init(), a.slideFocus.init(), a.eventHandler.init(k), a.resizeHandler.init(k), a.slidesHandler.init(k), a.options.loop && a.slideLooper.loop(), v.offsetParent && L.length && a.dragHandler.init(k), M = e.init(k, T)));
1095
1102
  }
1096
- function O(P, y) {
1097
- const T = K();
1098
- V(), A(u({
1099
- startIndex: T
1100
- }, P), y), c.emit("reInit");
1103
+ function F(O, y) {
1104
+ const A = Q();
1105
+ V(), D(u({
1106
+ startIndex: A
1107
+ }, O), y), i.emit("reInit");
1101
1108
  }
1102
1109
  function V() {
1103
- a.dragHandler.destroy(), a.eventStore.clear(), a.translate.clear(), a.slideLooper.clear(), a.resizeHandler.destroy(), a.slidesHandler.destroy(), a.slidesInView.destroy(), a.animation.destroy(), o.destroy(), f.clear();
1110
+ a.dragHandler.destroy(), a.eventStore.clear(), a.translate.clear(), a.slideLooper.clear(), a.resizeHandler.destroy(), a.slidesHandler.destroy(), a.slidesInView.destroy(), a.animation.destroy(), e.destroy(), f.clear();
1104
1111
  }
1105
- function Y() {
1106
- S || (S = !0, f.clear(), V(), c.emit("destroy"), c.clear());
1112
+ function _() {
1113
+ g || (g = !0, f.clear(), V(), i.emit("destroy"), i.clear());
1107
1114
  }
1108
- function B(P, y, T) {
1109
- !b.active || S || (a.scrollBody.useBaseFriction().useDuration(y === !0 ? 0 : b.duration), a.scrollTo.index(P, T || 0));
1115
+ function B(O, y, A) {
1116
+ !x.active || g || (a.scrollBody.useBaseFriction().useDuration(y === !0 ? 0 : x.duration), a.scrollTo.index(O, A || 0));
1110
1117
  }
1111
- function U(P) {
1118
+ function q(O) {
1112
1119
  const y = a.index.add(1).get();
1113
- B(y, P, -1);
1120
+ B(y, O, -1);
1114
1121
  }
1115
- function J(P) {
1122
+ function W(O) {
1116
1123
  const y = a.index.add(-1).get();
1117
- B(y, P, 1);
1124
+ B(y, O, 1);
1118
1125
  }
1119
- function $() {
1120
- return a.index.add(1).get() !== K();
1126
+ function U() {
1127
+ return a.index.add(1).get() !== Q();
1121
1128
  }
1122
- function _() {
1123
- return a.index.add(-1).get() !== K();
1129
+ function J() {
1130
+ return a.index.add(-1).get() !== Q();
1124
1131
  }
1125
- function Q() {
1132
+ function $() {
1126
1133
  return a.scrollSnapList;
1127
1134
  }
1128
- function Z() {
1135
+ function tt() {
1129
1136
  return a.scrollProgress.get(a.location.get());
1130
1137
  }
1131
- function K() {
1138
+ function Q() {
1132
1139
  return a.index.get();
1133
1140
  }
1134
1141
  function et() {
1135
1142
  return a.indexPrevious.get();
1136
1143
  }
1137
- function X() {
1144
+ function K() {
1138
1145
  return a.slidesInView.get();
1139
1146
  }
1140
- function rt() {
1147
+ function st() {
1141
1148
  return a.slidesInView.get(!1);
1142
1149
  }
1143
- function st() {
1144
- return v;
1150
+ function rt() {
1151
+ return M;
1145
1152
  }
1146
1153
  function z() {
1147
1154
  return a;
1148
1155
  }
1149
- function R() {
1156
+ function G() {
1150
1157
  return t;
1151
1158
  }
1152
1159
  function N() {
1153
- return F;
1160
+ return v;
1154
1161
  }
1155
1162
  function ot() {
1156
- return E;
1163
+ return L;
1157
1164
  }
1158
1165
  const k = {
1159
- canScrollNext: $,
1160
- canScrollPrev: _,
1166
+ canScrollNext: U,
1167
+ canScrollPrev: J,
1161
1168
  containerNode: N,
1162
1169
  internalEngine: z,
1163
- destroy: Y,
1164
- off: x,
1165
- on: m,
1170
+ destroy: _,
1171
+ off: b,
1172
+ on: p,
1166
1173
  emit: d,
1167
- plugins: st,
1174
+ plugins: rt,
1168
1175
  previousScrollSnap: et,
1169
- reInit: p,
1170
- rootNode: R,
1171
- scrollNext: U,
1172
- scrollPrev: J,
1173
- scrollProgress: Z,
1174
- scrollSnapList: Q,
1176
+ reInit: m,
1177
+ rootNode: G,
1178
+ scrollNext: q,
1179
+ scrollPrev: W,
1180
+ scrollProgress: tt,
1181
+ scrollSnapList: $,
1175
1182
  scrollTo: B,
1176
- selectedScrollSnap: K,
1183
+ selectedScrollSnap: Q,
1177
1184
  slideNodes: ot,
1178
- slidesInView: X,
1179
- slidesNotInView: rt
1185
+ slidesInView: K,
1186
+ slidesNotInView: st
1180
1187
  };
1181
- return A(n, r), setTimeout(() => c.emit("init"), 0), k;
1188
+ return D(n, r), setTimeout(() => i.emit("init"), 0), k;
1182
1189
  }
1183
- Vt.globalOptions = void 0;
1190
+ Ht.globalOptions = void 0;
1184
1191
  export {
1185
- Vt as default
1192
+ Ht as default
1186
1193
  };